UNPKG

@graphql-mesh/soap

Version:
19 lines (18 loc) 945 B
import { SoapOperation } from '../soap2graphql/soap-endpoint'; import { SoapCaller, SoapCallInput } from '../soap2graphql/soap-caller'; import { NodeSoapClient } from './node-soap'; import { LazyLoggerMessage, Logger } from '@graphql-mesh/types'; /** * Default implementation of SoapCaller for node-soap. */ export declare class NodeSoapCaller implements SoapCaller { protected soapClient: NodeSoapClient; protected logger: Logger; constructor(soapClient: NodeSoapClient, logger: Logger); call(input: SoapCallInput): Promise<any>; protected requestFunctionForOperation(operation: SoapOperation): (requestMessage: any, callback: (err: any, res: any) => void) => void; protected createSoapRequestMessage(input: SoapCallInput): Promise<any>; protected deepCopy(obj: any): any; protected createGraphqlResult(input: SoapCallInput, result: any): Promise<any>; protected debug(message: LazyLoggerMessage): void; }