UNPKG

@graphql-mesh/soap

Version:
22 lines (21 loc) 643 B
import soap from 'soap'; /** * Type for the soap-client from node-soap. */ export declare type NodeSoapClient = any | soap.Client; export declare type NodeSoapWsdl = any | soap.WSDL; /** * Creation options for a node-soap client. */ export declare type NodeSoapOptions = { options?: soap.IOptions; /** * For convenience: * If set, the security of the created node-soap client will be set to basic-auth with the given options. */ basicAuth?: { username: string; password: string; }; }; export declare function createSoapClient(url: string, options?: NodeSoapOptions): Promise<NodeSoapClient>;