import { EventVM } from './eventVM'; import { PromotionMemberVM } from './promotionMemberVM'; import { PromotionStatsVM } from './promotionStatsVM'; import { TicketReleaseVM } from './ticketReleaseVM'; export interface PromotionVM { id?: number; name: string; event_id?: number; event?: EventVM; promotion_code?: string; discount_type: PromotionVM.DiscountTypeEnum; discount_amount: number; fee_type: PromotionVM.FeeTypeEnum; fee_amount: number; promotion_type: PromotionVM.PromotionTypeEnum; apply_per: PromotionVM.ApplyPerEnum; max_qty?: number; qty_per_customer?: number; release_id?: string; active?: boolean; sales_count?: number; statistics?: PromotionStatsVM; member_count: number; payout_amount?: number; sales_value?: number; promotionMembers?: Array; ticketRelease?: TicketReleaseVM; can_update?: boolean; can_delete?: boolean; } export declare namespace PromotionVM { type DiscountTypeEnum = 1 | 2; const DiscountTypeEnum: { NUMBER_1: DiscountTypeEnum; NUMBER_2: DiscountTypeEnum; }; type FeeTypeEnum = 1 | 2; const FeeTypeEnum: { NUMBER_1: DiscountTypeEnum; NUMBER_2: DiscountTypeEnum; }; type PromotionTypeEnum = 0 | 1 | 2; const PromotionTypeEnum: { NUMBER_0: PromotionTypeEnum; NUMBER_1: PromotionTypeEnum; NUMBER_2: PromotionTypeEnum; }; type ApplyPerEnum = 1 | 2; const ApplyPerEnum: { NUMBER_1: DiscountTypeEnum; NUMBER_2: DiscountTypeEnum; }; }