import { Client as SoapClient, createClientAsync as soapCreateClientAsync, IExOptions as ISoapExOptions, } from 'soap' import { GetCreativeTemplatesByStatement } from './definitions/GetCreativeTemplatesByStatement' import { GetCreativeTemplatesByStatementResponse } from './definitions/GetCreativeTemplatesByStatementResponse' import { CreativeTemplateService } from './services/CreativeTemplateService' export interface CreativeTemplateServiceClient extends SoapClient { CreativeTemplateService: CreativeTemplateService getCreativeTemplatesByStatementAsync( getCreativeTemplatesByStatement: GetCreativeTemplatesByStatement, options?: ISoapExOptions, ): Promise< [ result: GetCreativeTemplatesByStatementResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > } /** Create CreativeTemplateServiceClient */ export function createClientAsync( ...args: Parameters ): Promise { return soapCreateClientAsync(args[0], args[1], args[2]) as any }