@dgac/nmb2b-client
Version:
EUROCONTROL Network Manager B2B SOAP client
30 lines (29 loc) • 1.36 kB
TypeScript
import { Security } from "./security.js";
import { B2BFlavour } from "./constants.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";
//#region src/createB2BClient.d.ts
interface B2BClient {
Airspace: AirspaceService;
Flight: FlightService;
Flow: FlowService;
GeneralInformation: GeneralInformationService;
}
interface CreateB2BClientOptions {
security: Security;
flavour?: B2BFlavour;
XSD_PATH?: string;
endpoint?: string;
xsdEndpoint?: string;
ignoreWSDLCache?: boolean;
}
declare function createB2BClient(args: CreateB2BClientOptions): Promise<B2BClient>;
declare function createAirspaceClient(args: CreateB2BClientOptions): Promise<AirspaceService>;
declare function createFlightClient(args: CreateB2BClientOptions): Promise<FlightService>;
declare function createFlowClient(args: CreateB2BClientOptions): Promise<FlowService>;
declare function createGeneralInformationClient(args: CreateB2BClientOptions): Promise<GeneralInformationService>;
//#endregion
export { B2BClient, CreateB2BClientOptions, createAirspaceClient, createB2BClient, createFlightClient, createFlowClient, createGeneralInformationClient };
//# sourceMappingURL=createB2BClient.d.ts.map