export interface IJoliCoin { balance: number; enableAutoDeduct: boolean; } export interface IGem { balance: number; enableAutoDeduct: boolean; } export type IUnlockOptionType = 'JOLI_COIN' | 'ADS' | 'JOLI_GEM' | 'SUBSCRIPTION'; interface IJoliCoinChoice { joliCoinQuantity: number; } interface IGemChoice { joliGemQuantity: number; } export interface IUnlockOption { type: IUnlockOptionType; joliCoinChoices: IJoliCoinChoice[]; joliGemChoice: IGemChoice | null; } export interface IJolicoinRewardOption { code: 'SUCCESS' | 'ERROR' | 'PARAMETER_ERROR' | 'EPISODE_LOCK_JUMP'; message: string; data: { unlockOptions?: IUnlockOption[]; }; extra: { joliCoin: IJoliCoin; joliGem?: IGem; }; } export {};