ggez-banking-sdk
Version:
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
27 lines (26 loc) • 802 B
TypeScript
import { PromotionType, PromotionVisibility, PromotionStatus, PromotionGames } from "../../constant";
import type { Amount, LotteryPrize } from ".";
import { BaseResult } from "../..";
type PromotionDetails = BaseResult & {
id: number;
code: string;
name: string;
localeName: string;
type: PromotionType;
referralCode?: string;
visibility: PromotionVisibility;
status: PromotionStatus;
startDate: string;
endDate: string;
allowedParticipants: number;
claimedParticipants: number;
totalPromotionAmount: Amount;
minPrize: number;
maxPrize: number;
promotionPrizes: Amount[];
claimedAmounts: number;
enabledGames: PromotionGames[];
enableLottery: boolean;
lotteryPrizes?: LotteryPrize[];
};
export type { PromotionDetails };