UNPKG

dfp-lib

Version:

This project hosts the Node.JS client library for the SOAP-based DFP API at Google.

17 lines (16 loc) 664 B
import { Contact } from '../soap/contact'; import { ContactPage } from '../soap/contactPage'; import { Statement } from '../soap/statement'; import { DfpService } from '../lib/dfpService'; import { DfpUser } from '../lib/dfpUser'; export declare class ContactService extends DfpService { protected static SERVICE_NAME: string; static ENDPOINT: string; private static CLASS_MAP; constructor(user: DfpUser, options?: { [id: string]: any; }); createContacts(contacts: Contact[]): Promise<Contact[]>; getContactsByStatement(statement: Statement): Promise<ContactPage>; updateContacts(contacts: Contact[]): Promise<Contact[]>; }