Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LoyaltiesCreateCampaignResponse

Hierarchy

  • LoyaltiesCreateCampaignResponse

Index

Properties

active

active: boolean

Optional activity_duration_after_publishing

activity_duration_after_publishing: string

Optional auto_join

auto_join: boolean

Optional campaign_type

campaign_type: "LOYALTY_PROGRAM"

Optional category

category: string

created_at

created_at: string

Optional description

description: string

Optional expiration_date

expiration_date: string

id

id: string

Optional join_once

join_once: boolean

Optional metadata

metadata: Record<string, any>

name

name: string

object

object: "campaign"

Optional protected

protected: boolean

Optional referral_program

referral_program: boolean

Optional start_date

start_date: string

type

type: "AUTO_UPDATE" | "STATIC"

Optional use_voucher_metadata_schema

use_voucher_metadata_schema: boolean

Optional validation_rules_assignments

validation_rules_assignments: { data?: ValidationRulesCreateAssignmentResponse[]; data_ref: "data"; object: "list"; total: number }

Type declaration

Optional validity_day_of_week

validity_day_of_week: number[]

Optional validity_timeframe

validity_timeframe: { duration?: string; interval?: string }

Type declaration

  • Optional duration?: string
  • Optional interval?: string

Optional voucher

voucher: LoyaltiesVoucher

Optional vouchers_count

vouchers_count: number

vouchers_generation_status

vouchers_generation_status: "DONE" | "IN_PROGRESS" | "FAILED" | "DRAFT"