import { Client as SoapClient, createClientAsync as soapCreateClientAsync, IExOptions as ISoapExOptions, } from 'soap' import { CreateAdRules } from './definitions/CreateAdRules' import { CreateAdRulesResponse } from './definitions/CreateAdRulesResponse' import { CreateAdSpots } from './definitions/CreateAdSpots' import { CreateAdSpotsResponse } from './definitions/CreateAdSpotsResponse' import { CreateBreakTemplates } from './definitions/CreateBreakTemplates' import { CreateBreakTemplatesResponse } from './definitions/CreateBreakTemplatesResponse' import { GetAdRulesByStatement } from './definitions/GetAdRulesByStatement' import { GetAdRulesByStatementResponse } from './definitions/GetAdRulesByStatementResponse' import { GetAdSpotsByStatement } from './definitions/GetAdSpotsByStatement' import { GetAdSpotsByStatementResponse } from './definitions/GetAdSpotsByStatementResponse' import { GetBreakTemplatesByStatement } from './definitions/GetBreakTemplatesByStatement' import { GetBreakTemplatesByStatementResponse } from './definitions/GetBreakTemplatesByStatementResponse' import { PerformAdRuleAction } from './definitions/PerformAdRuleAction' import { PerformAdRuleActionResponse } from './definitions/PerformAdRuleActionResponse' import { UpdateAdRules } from './definitions/UpdateAdRules' import { UpdateAdRulesResponse } from './definitions/UpdateAdRulesResponse' import { UpdateAdSpots } from './definitions/UpdateAdSpots' import { UpdateAdSpotsResponse } from './definitions/UpdateAdSpotsResponse' import { UpdateBreakTemplates } from './definitions/UpdateBreakTemplates' import { UpdateBreakTemplatesResponse } from './definitions/UpdateBreakTemplatesResponse' import { AdRuleService } from './services/AdRuleService' export interface AdRuleServiceClient extends SoapClient { AdRuleService: AdRuleService createAdRulesAsync( createAdRules: CreateAdRules, options?: ISoapExOptions, ): Promise< [ result: CreateAdRulesResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > createAdSpotsAsync( createAdSpots: CreateAdSpots, options?: ISoapExOptions, ): Promise< [ result: CreateAdSpotsResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > createBreakTemplatesAsync( createBreakTemplates: CreateBreakTemplates, options?: ISoapExOptions, ): Promise< [ result: CreateBreakTemplatesResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > getAdRulesByStatementAsync( getAdRulesByStatement: GetAdRulesByStatement, options?: ISoapExOptions, ): Promise< [ result: GetAdRulesByStatementResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > getAdSpotsByStatementAsync( getAdSpotsByStatement: GetAdSpotsByStatement, options?: ISoapExOptions, ): Promise< [ result: GetAdSpotsByStatementResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > getBreakTemplatesByStatementAsync( getBreakTemplatesByStatement: GetBreakTemplatesByStatement, options?: ISoapExOptions, ): Promise< [ result: GetBreakTemplatesByStatementResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > performAdRuleActionAsync( performAdRuleAction: PerformAdRuleAction, options?: ISoapExOptions, ): Promise< [ result: PerformAdRuleActionResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > updateAdRulesAsync( updateAdRules: UpdateAdRules, options?: ISoapExOptions, ): Promise< [ result: UpdateAdRulesResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > updateAdSpotsAsync( updateAdSpots: UpdateAdSpots, options?: ISoapExOptions, ): Promise< [ result: UpdateAdSpotsResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > updateBreakTemplatesAsync( updateBreakTemplates: UpdateBreakTemplates, options?: ISoapExOptions, ): Promise< [ result: UpdateBreakTemplatesResponse, rawResponse: any, soapHeader: any, rawRequest: any, ] > } /** Create AdRuleServiceClient */ export function createClientAsync( ...args: Parameters ): Promise { return soapCreateClientAsync(args[0], args[1], args[2]) as any }