UNPKG

dfp-lib

Version:

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

20 lines (19 loc) 985 B
import { ExchangeRate } from '../soap/exchangeRate'; import { UpdateResult } from '../soap/updateResult'; import { ExchangeRateAction } from '../soap/exchangeRateAction'; import { Statement } from '../soap/statement'; import { ExchangeRatePage } from '../soap/exchangeRatePage'; import { DfpService } from '../lib/dfpService'; import { DfpUser } from '../lib/dfpUser'; export declare class ExchangeRateService extends DfpService { protected static SERVICE_NAME: string; static ENDPOINT: string; private static CLASS_MAP; constructor(user: DfpUser, options?: { [id: string]: any; }); createExchangeRates(exchangeRates: ExchangeRate[]): Promise<ExchangeRate[]>; getExchangeRatesByStatement(filterStatement: Statement): Promise<ExchangeRatePage>; performExchangeRateAction(exchangeRateAction: ExchangeRateAction, filterStatement: Statement): Promise<UpdateResult>; updateExchangeRates(exchangeRates: ExchangeRate[]): Promise<ExchangeRate[]>; }