import { SoapService, AdwordsOperartionService } from '../../core'; import { ISelector, IPaging } from '../../../types/adwords'; import { IBudget } from './Budget'; import { IBudgetOperation } from './BudgetOperation'; import { IBudgetPage } from './BudgetPage'; import { IBudgetReturnValue } from './BudgetReturnValue'; interface IBudgetServiceOpts { soapService: SoapService; } declare class BudgetService extends AdwordsOperartionService { /** * Budget amounts need to be in units. 1,000,000 units = $1.00 / ¥1.00 / ... * Based on the selected settlement currency * * @static * @memberof BudgetService */ static readonly UNIT: number; /** * https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201809-BudgetService * * @private * @static * @type {string[]} * @memberof BudgetService */ private static readonly selectorFields; private soapService; constructor(options: IBudgetServiceOpts); getAll(): Promise; getByPage(paging: IPaging): Promise; getById(id: string): Promise; getByIds(ids: string[]): Promise; add(budget: IBudget): Promise; update(budget: IBudget): Promise; remove(budgetIds: string[]): Promise; protected get(serviceSelector: ServiceSelector): Promise; protected mutate(operations: Operation[]): Promise; } export { BudgetService }; export * from './ApiError'; export * from './Budget'; export * from './BudgetOperation'; export * from './BudgetPage'; export * from './BudgetReturnValue'; export * from './FieldPathElement'; export * from './Money'; export * from './abstract/ComparableValue'; export * from './abstract/ListReturnValue'; export * from './abstract/Page'; export * from './enum/Budget';