UNPKG

dfp-lib

Version:

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

20 lines (19 loc) 905 B
import { DfpService } from '../lib/dfpService'; import { BaseRateAction } from '../soap/baseRateAction'; import { BaseRate } from '../soap/baseRate'; import { BaseRatePage } from '../soap/baseRatePage'; import { Statement } from '../soap/statement'; import { UpdateResult } from '../soap/updateResult'; import { DfpUser } from '../lib/dfpUser'; export declare class BaseRateService extends DfpService { protected static SERVICE_NAME: string; static ENDPOINT: string; private static CLASS_MAP; constructor(user: DfpUser, options?: { [id: string]: any; }); createBaseRates(baseRates: BaseRate[]): Promise<BaseRate[]>; getBaseRatesByStatement(filterStatement: Statement): Promise<BaseRatePage>; performBaseRateAction(baseRateAction: BaseRateAction, filterStatement: Statement): Promise<UpdateResult>; updateBaseRates(baseRates: BaseRate[]): Promise<BaseRate[]>; }