UNPKG

@dgac/nmb2b-client

Version:

EUROCONTROL Network Manager B2B SOAP client

20 lines (18 loc) 830 B
import { prepareSerializer } from "../utils/transformers/serializer.js"; import "../utils/transformers/index.js"; import { instrument } from "../utils/instrumentation/index.js"; import { injectSendTime, responseStatusHandler } from "../utils/internals.js"; //#region src/Flow/retrieveOTMVPlan.ts function prepareRetrieveOTMVPlan(client) { const schema = client.describe().TacticalUpdatesService.TacticalUpdatesPort.retrieveOTMVPlan.input; const serializer = prepareSerializer(schema); return instrument({ service: "Flow", query: "retrieveOTMVPlan" })((values, options) => new Promise((resolve, reject) => { client.retrieveOTMVPlan(serializer(injectSendTime(values)), options, responseStatusHandler(resolve, reject)); })); } //#endregion export { prepareRetrieveOTMVPlan }; //# sourceMappingURL=retrieveOTMVPlan.js.map