UNPKG

soap-graphql

Version:

Create a GraphQL schema from a WSDL-defined SOAP endpoint.

18 lines (17 loc) 450 B
import { SoapOperation } from './soap-endpoint'; import { GraphQLResolveInfo } from 'graphql'; export declare type SoapCallInput = { operation: SoapOperation; graphqlSource: any; graphqlArgs: { [argName: string]: any; }; graphqlContext: any; graphqlInfo: GraphQLResolveInfo; }; export interface SoapCaller { /** * Executes a SOAP call. */ call(input: SoapCallInput): Promise<any>; }