@dgac/nmb2b-client
Version:
EUROCONTROL Network Manager B2B SOAP client
37 lines (34 loc) • 1.66 kB
TypeScript
import { S as Security, B as B2BFlavour } from './config-BhsTjLDM.js';
import { AirspaceService } from './Airspace/index.js';
import { FlightService } from './Flight/index.js';
import { FlowService } from './Flow/index.js';
import { GeneralInformationService } from './GeneralInformation/index.js';
export { N as NMB2BError } from './NMB2BError-D-cK-Ofr.js';
import { S as SoapDeserializer } from './types-B66r3qfk.js';
import 'soap';
import './ServiceInterface-DLAjmTrh.js';
import './Airspace/types.js';
import './types-CHvU3kv-.js';
import './GeneralInformation/types.js';
import 'type-fest';
type SafeB2BDeserializedResponse<TResponsePart> = SoapDeserializer<TResponsePart>;
interface B2BClient {
Airspace: AirspaceService;
Flight: FlightService;
Flow: FlowService;
GeneralInformation: GeneralInformationService;
}
interface InputOptions {
security: Security;
flavour?: B2BFlavour;
XSD_PATH?: string;
endpoint?: string;
xsdEndpoint?: string;
ignoreWSDLCache?: boolean;
}
declare function makeB2BClient(args: InputOptions): Promise<B2BClient>;
declare function makeAirspaceClient(args: InputOptions): Promise<AirspaceService>;
declare function makeFlightClient(args: InputOptions): Promise<FlightService>;
declare function makeFlowClient(args: InputOptions): Promise<FlowService>;
declare function makeGeneralInformationClient(args: InputOptions): Promise<GeneralInformationService>;
export { AirspaceService, type B2BClient, FlightService, FlowService, GeneralInformationService, type SafeB2BDeserializedResponse, makeAirspaceClient, makeB2BClient, makeFlightClient, makeFlowClient, makeGeneralInformationClient };