@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
40 lines (39 loc) • 2.21 kB
TypeScript
import { Client as SoapClient, createClientAsync as soapCreateClientAsync, IExOptions as ISoapExOptions } from 'soap';
import { CreateContentBundles } from './definitions/CreateContentBundles';
import { CreateContentBundlesResponse } from './definitions/CreateContentBundlesResponse';
import { GetContentBundlesByStatement } from './definitions/GetContentBundlesByStatement';
import { GetContentBundlesByStatementResponse } from './definitions/GetContentBundlesByStatementResponse';
import { PerformContentBundleAction } from './definitions/PerformContentBundleAction';
import { PerformContentBundleActionResponse } from './definitions/PerformContentBundleActionResponse';
import { UpdateContentBundles } from './definitions/UpdateContentBundles';
import { UpdateContentBundlesResponse } from './definitions/UpdateContentBundlesResponse';
import { ContentBundleService } from './services/ContentBundleService';
export interface ContentBundleServiceClient extends SoapClient {
ContentBundleService: ContentBundleService;
createContentBundlesAsync(createContentBundles: CreateContentBundles, options?: ISoapExOptions): Promise<[
result: CreateContentBundlesResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getContentBundlesByStatementAsync(getContentBundlesByStatement: GetContentBundlesByStatement, options?: ISoapExOptions): Promise<[
result: GetContentBundlesByStatementResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
performContentBundleActionAsync(performContentBundleAction: PerformContentBundleAction, options?: ISoapExOptions): Promise<[
result: PerformContentBundleActionResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
updateContentBundlesAsync(updateContentBundles: UpdateContentBundles, options?: ISoapExOptions): Promise<[
result: UpdateContentBundlesResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
}
/** Create ContentBundleServiceClient */
export declare function createClientAsync(...args: Parameters<typeof soapCreateClientAsync>): Promise<ContentBundleServiceClient>;