@dgac/nmb2b-client
Version:
EUROCONTROL Network Manager B2B SOAP client
20 lines (18 loc) • 839 B
JavaScript
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/GeneralInformation/queryNMB2BWSDLs.ts
function prepareQueryNMB2BWSDLs(client) {
const schema = client.describe().NMB2BInfoService.NMB2BInfoPort.queryNMB2BWSDLs.input;
const serializer = prepareSerializer(schema);
return instrument({
service: "GeneralInformation",
query: "queryNMB2BWSDLs"
})((values, options) => new Promise((resolve, reject) => {
client.queryNMB2BWSDLs(serializer(injectSendTime(values)), options, responseStatusHandler(resolve, reject));
}));
}
//#endregion
export { prepareQueryNMB2BWSDLs };
//# sourceMappingURL=queryNMB2BWSDLs.js.map