UNPKG

@dgac/nmb2b-client

Version:

EUROCONTROL Network Manager B2B SOAP client

1 lines 959 B
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/GeneralInformation/index.ts"],"sourcesContent":["import type { Config } from '../config.js';\nimport {\n createSoapService,\n type SoapService,\n} from '../utils/soap-query-definition.js';\n\nimport { queryNMB2BWSDLs } from './queryNMB2BWSDLs.js';\nimport { retrieveUserInformation } from './retrieveUserinformation.js';\n\nconst queryDefinitions = {\n queryNMB2BWSDLs,\n retrieveUserInformation,\n};\n\nexport type GeneralInformationService = SoapService<typeof queryDefinitions>;\n\nexport async function getGeneralInformationClient(\n config: Config,\n): Promise<GeneralInformationService> {\n const service = await createSoapService({\n serviceName: 'GeneralinformationServices',\n config,\n queryDefinitions,\n });\n\n return service;\n}\n"],"mappings":";;;;;AASA,MAAM,mBAAmB;CACvB;CACA;CACD;AAID,eAAsB,4BACpB,QACoC;AAOpC,QANgB,MAAM,kBAAkB;EACtC,aAAa;EACb;EACA;EACD,CAAC"}