import type { RailDeckDirectIntegrationClient } from '@raildeck/frontend-sdk/direct-integration'; // Fixture values illustrate the source contract. Use reviewed development records. // Importing this module performs no requests. Every mutation requires an explicit call. /** * Calls operatingPolicy.previewLocomotive with retained, non-production fixture values. * @param client - Configured source client; use an isolated development environment. * @returns The SDK result; failures propagate without automatic retry. */ export async function exampleOperatingPolicyPreviewLocomotive(client: RailDeckDirectIntegrationClient) { return client.operatingPolicy.previewLocomotive( "account 1", "layout 1", "loco 1", { "trainFormationId": "formation 1", "requestedSpeedPercent": 75, "requestedDirection": "forward" } ); }