@opexa/portal-sdk 0.0.84 → 0.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +288 -290
- package/dist/index.mjs.map +1 -1
- package/dist/sdk/types.d.ts +4 -1
- package/dist/services/types.d.ts +4 -1
- package/package.json +1 -1
package/dist/sdk/types.d.ts
CHANGED
|
@@ -302,7 +302,7 @@ export type GameSession = {
|
|
|
302
302
|
export type GameSessionReturn = OperationResult<never, GameSession | null>;
|
|
303
303
|
export interface CreateGameSessionInput {
|
|
304
304
|
id?: string;
|
|
305
|
-
game: `SPORTS:${Extract<GameProvider, 'BTI'>}` | (string & {});
|
|
305
|
+
game: `SPORTS:${Extract<GameProvider, 'BTI' | 'SABA'>}` | (string & {});
|
|
306
306
|
}
|
|
307
307
|
export type CreateGameSessionError = UnionAlias<Internal.CreateGameSessionError>;
|
|
308
308
|
export type CreateGameSessionReturn = OperationResult<CreateGameSessionError, {
|
|
@@ -663,6 +663,8 @@ export interface Cashback {
|
|
|
663
663
|
status: CashbackStatus;
|
|
664
664
|
/** @format html */
|
|
665
665
|
description: string;
|
|
666
|
+
minimumCashback: number;
|
|
667
|
+
maximumMonthlyCashback?: number;
|
|
666
668
|
activationStartDateTime: Date;
|
|
667
669
|
activationEndDateTime: Date;
|
|
668
670
|
turnoverContributionPercentagePerGameProvider: Partial<Record<GameProvider, number>>;
|
|
@@ -686,6 +688,7 @@ export interface Bonus {
|
|
|
686
688
|
export type BonusReturn = OperationResult<never, Bonus | null>;
|
|
687
689
|
export interface CashbackBonus {
|
|
688
690
|
id: string;
|
|
691
|
+
total: number;
|
|
689
692
|
balance: number;
|
|
690
693
|
cashback: Cashback;
|
|
691
694
|
dateTimeCreated: Date;
|
package/dist/services/types.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ export interface AnnouncementsQueryVariables {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
export type GameType = 'SLOTS' | 'SPORTS' | 'FISHING' | 'BINGO' | 'LIVE' | 'GAMES' | 'TABLE' | 'SPECIALTY';
|
|
118
|
-
export type GameProvider = 'JILI' | 'PGSOFT' | 'FACHAI' | 'BTI' | 'DG' | 'PLAYTECH' | 'E2E' | 'EVOLUTION' | 'EVOLUTION_NETENT' | 'EVOLUTION_REDTIGER' | 'MEGABALL' | 'DARWIN' | 'RTG' | 'DRBINGO' | 'HOLLYWOODTV' | 'CQ9' | 'JDB' | 'HABANERO' | 'SPINIX' | 'JOKER' | 'HACKSAW' | 'EVOLUTIONNETENT' | 'JDBGTF' | 'JDBSPRIBE' | 'MICROGAMING' | 'RELAXGAMING' | 'EVOPLAY' | 'BOOONGO' | 'BGAMING' | 'KINGMAKER' | 'KINGMIDAS' | 'YELLOWBAT';
|
|
118
|
+
export type GameProvider = 'JILI' | 'PGSOFT' | 'FACHAI' | 'BTI' | 'DG' | 'PLAYTECH' | 'E2E' | 'EVOLUTION' | 'EVOLUTION_NETENT' | 'EVOLUTION_REDTIGER' | 'MEGABALL' | 'DARWIN' | 'RTG' | 'DRBINGO' | 'HOLLYWOODTV' | 'CQ9' | 'JDB' | 'HABANERO' | 'SPINIX' | 'JOKER' | 'HACKSAW' | 'EVOLUTIONNETENT' | 'JDBGTF' | 'JDBSPRIBE' | 'MICROGAMING' | 'RELAXGAMING' | 'EVOPLAY' | 'BOOONGO' | 'BGAMING' | 'KINGMAKER' | 'KINGMIDAS' | 'YELLOWBAT' | 'SABA';
|
|
119
119
|
export type GameStatus = 'ACTIVE' | 'INACTIVE';
|
|
120
120
|
export type GameTag = 'HOT' | 'hot' | 'NEW' | 'new' | 'TOP' | 'top' | 'POPULAR' | 'popular' | (string & {});
|
|
121
121
|
export interface Game {
|
|
@@ -479,6 +479,8 @@ export interface Cashback {
|
|
|
479
479
|
name: string;
|
|
480
480
|
banner: File;
|
|
481
481
|
status: CashbackStatus;
|
|
482
|
+
minimumCashback: Decimal;
|
|
483
|
+
maximumMonthlyCashback?: Decimal | null;
|
|
482
484
|
description: Html;
|
|
483
485
|
activationStartDateTime: DateString;
|
|
484
486
|
activationEndDateTime: DateString;
|
|
@@ -508,6 +510,7 @@ export interface BonusQuery {
|
|
|
508
510
|
export interface CashbackBonus {
|
|
509
511
|
id: string;
|
|
510
512
|
balance: Decimal;
|
|
513
|
+
total: string;
|
|
511
514
|
cashback: Cashback;
|
|
512
515
|
dateTimeCreated: DateString;
|
|
513
516
|
dateTimeLastUpdated: DateString;
|