@omnigraph/soap
Version:
21 lines (20 loc) • 692 B
text/typescript
import type { X2jOptions } from 'fast-xml-parser';
export interface SoapAnnotations {
subgraph: string;
elementName: string;
bindingNamespace: string;
endpoint: string;
soapNamespace: string;
bodyAlias?: string;
soapAction?: string;
soapHeaders?: {
alias?: string;
namespace: string;
headers: unknown;
};
/** Names of GraphQL args that map to soap:Header parts (detected from WSDL binding). */
headerArgNames?: string[];
/** JSON-serialised map of GraphQL arg name → XSD namespace URI for each message part. */
argNamespaces?: Record<string, string>;
}
export declare const PARSE_XML_OPTIONS: Partial<X2jOptions>;