/// import http from 'http'; import { DynamicVoucher } from '../model/dynamicVoucher'; import { ReachPerformanceStats } from '../model/reachPerformanceStats'; import { WTDynamicVoucher } from '../model/wTDynamicVoucher'; import { WTDynamicVoucherCreateParams } from '../model/wTDynamicVoucherCreateParams'; import { WTDynamicVoucherRedemption } from '../model/wTDynamicVoucherRedemption'; import { WTDynamicVoucherUpdateParams } from '../model/wTDynamicVoucherUpdateParams'; import { Authentication, Interceptor } from '../model/models'; import { ApiKeyAuth } from '../model/models'; export declare enum DynamicVouchersApiApiKeys { api_key = 0 } export declare class DynamicVouchersApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { 'default': Authentication; 'api_key': ApiKeyAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); useQuerystring: boolean; basePath: string; defaultHeaders: any; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: DynamicVouchersApiApiKeys, value: string): void; addInterceptor(interceptor: Interceptor): void; archiveDynamicVoucherCampaign(campaignID: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DynamicVoucher; }>; createDynamicVoucher(wTDynamicVoucherCreateParams: WTDynamicVoucherCreateParams, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: WTDynamicVoucher; }>; fetchAllDynamicVouchers(isArchiveIncluded?: boolean, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Array; }>; fetchDynamicVoucherById(id: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: WTDynamicVoucher; }>; fetchDynamicVoucherRedemptions(id: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Array; }>; fetchReachStatsOfAllDynamicVouchers(broadcastScheduledStartAt?: Date, broadcastScheduledEndAt?: Date, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ReachPerformanceStats; }>; fetchReachStatsOfIndividualDynamicVoucher(dynamicVoucherID: any, broadcastScheduledStartAt?: Date, broadcastScheduledEndAt?: Date, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ReachPerformanceStats; }>; restoreDynamicVoucherCampaign(campaignID: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DynamicVoucher; }>; saveDynamicVoucher(id: any, wTDynamicVoucherUpdateParams: WTDynamicVoucherUpdateParams, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: WTDynamicVoucher; }>; }