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