@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
32 lines (31 loc) • 1.57 kB
TypeScript
import { Client as SoapClient, createClientAsync as soapCreateClientAsync, IExOptions as ISoapExOptions } from 'soap';
import { CreateContacts } from './definitions/CreateContacts';
import { CreateContactsResponse } from './definitions/CreateContactsResponse';
import { GetContactsByStatement } from './definitions/GetContactsByStatement';
import { GetContactsByStatementResponse } from './definitions/GetContactsByStatementResponse';
import { UpdateContacts } from './definitions/UpdateContacts';
import { UpdateContactsResponse } from './definitions/UpdateContactsResponse';
import { ContactService } from './services/ContactService';
export interface ContactServiceClient extends SoapClient {
ContactService: ContactService;
createContactsAsync(createContacts: CreateContacts, options?: ISoapExOptions): Promise<[
result: CreateContactsResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getContactsByStatementAsync(getContactsByStatement: GetContactsByStatement, options?: ISoapExOptions): Promise<[
result: GetContactsByStatementResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
updateContactsAsync(updateContacts: UpdateContacts, options?: ISoapExOptions): Promise<[
result: UpdateContactsResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
}
/** Create ContactServiceClient */
export declare function createClientAsync(...args: Parameters<typeof soapCreateClientAsync>): Promise<ContactServiceClient>;