Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Campaigns

Index

Constructors

constructor

Properties

qualifications

qualifications: CampaignsQualifications

Methods

addCertainVoucher

  • addCertainVoucher(name: string, code: string, body?: Pick<Partial<VouchersImport>, "category" | "metadata" | "redemption" | "additional_info">): Promise<Pick<VouchersResponse, "object" | "created_at" | "active" | "type" | "category" | "start_date" | "expiration_date" | "metadata" | "redemption" | "additional_info" | "code" | "campaign" | "discount" | "gift" | "publish" | "assets">>

addVoucher

  • addVoucher(name: string, body?: Pick<Partial<VouchersImport>, "category" | "metadata" | "code_config" | "redemption" | "additional_info">, params?: CampaignsAddVoucherParams): Promise<{} | Pick<VouchersResponse, "object" | "created_at" | "active" | "type" | "category" | "start_date" | "expiration_date" | "metadata" | "redemption" | "additional_info" | "code" | "campaign" | "discount" | "gift" | "publish" | "assets">>

create

delete

disable

  • disable(campaignId: string): Promise<{}>

enable

  • enable(campaignId: string): Promise<{}>

get

importVouchers

importVouchersCSV

  • importVouchersCSV(campaignId: string, filePath: string): Promise<AsyncActionCreateResponse>

list

update