gads
Version:
An unofficial JS client library for the SOAP-based DFP Ads API
17 lines (16 loc) • 1.28 kB
TypeScript
import { ApiException } from './apiException';
import { CreateContacts } from './createContacts';
import { CreateContactsResponse } from './createContactsResponse';
import { GetContactsByStatement } from './getContactsByStatement';
import { GetContactsByStatementResponse } from './getContactsByStatementResponse';
import { SoapClient } from '../../soap/soapClient';
import { UpdateContacts } from './updateContacts';
import { UpdateContactsResponse } from './updateContactsResponse';
export interface ContactService extends SoapClient {
createContacts(createContacts: CreateContacts): Promise<CreateContactsResponse>;
createContacts(createContacts: CreateContacts, cb: (err: ApiException, createContactsResponse: CreateContactsResponse) => void): void;
getContactsByStatement(getContactsByStatement: GetContactsByStatement): Promise<GetContactsByStatementResponse>;
getContactsByStatement(getContactsByStatement: GetContactsByStatement, cb: (err: ApiException, getContactsByStatementResponse: GetContactsByStatementResponse) => void): void;
updateContacts(updateContacts: UpdateContacts): Promise<UpdateContactsResponse>;
updateContacts(updateContacts: UpdateContacts, cb: (err: ApiException, updateContactsResponse: UpdateContactsResponse) => void): void;
}