@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
48 lines (47 loc) • 2.53 kB
TypeScript
import { Client as SoapClient, createClientAsync as soapCreateClientAsync, IExOptions as ISoapExOptions } from 'soap';
import { CreateProposals } from './definitions/CreateProposals';
import { CreateProposalsResponse } from './definitions/CreateProposalsResponse';
import { GetMarketplaceCommentsByStatement } from './definitions/GetMarketplaceCommentsByStatement';
import { GetMarketplaceCommentsByStatementResponse } from './definitions/GetMarketplaceCommentsByStatementResponse';
import { GetProposalsByStatement } from './definitions/GetProposalsByStatement';
import { GetProposalsByStatementResponse } from './definitions/GetProposalsByStatementResponse';
import { PerformProposalAction } from './definitions/PerformProposalAction';
import { PerformProposalActionResponse } from './definitions/PerformProposalActionResponse';
import { UpdateProposals } from './definitions/UpdateProposals';
import { UpdateProposalsResponse } from './definitions/UpdateProposalsResponse';
import { ProposalService } from './services/ProposalService';
export interface ProposalServiceClient extends SoapClient {
ProposalService: ProposalService;
createProposalsAsync(createProposals: CreateProposals, options?: ISoapExOptions): Promise<[
result: CreateProposalsResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getMarketplaceCommentsByStatementAsync(getMarketplaceCommentsByStatement: GetMarketplaceCommentsByStatement, options?: ISoapExOptions): Promise<[
result: GetMarketplaceCommentsByStatementResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getProposalsByStatementAsync(getProposalsByStatement: GetProposalsByStatement, options?: ISoapExOptions): Promise<[
result: GetProposalsByStatementResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
performProposalActionAsync(performProposalAction: PerformProposalAction, options?: ISoapExOptions): Promise<[
result: PerformProposalActionResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
updateProposalsAsync(updateProposals: UpdateProposals, options?: ISoapExOptions): Promise<[
result: UpdateProposalsResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
}
/** Create ProposalServiceClient */
export declare function createClientAsync(...args: Parameters<typeof soapCreateClientAsync>): Promise<ProposalServiceClient>;