@opexa/portal-sdk 0.0.32 → 0.0.34
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 +9 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +143 -127
- package/dist/index.mjs.map +1 -1
- package/dist/sdk/types.d.ts +2 -1
- package/dist/services/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/sdk/types.d.ts
CHANGED
|
@@ -462,7 +462,7 @@ export interface CreateGameSessionInput {
|
|
|
462
462
|
/**
|
|
463
463
|
* @description id of the game
|
|
464
464
|
*/
|
|
465
|
-
game: string;
|
|
465
|
+
game: `SPORTS:${Extract<GameProvider, 'BTI'>}` | (string & {});
|
|
466
466
|
}
|
|
467
467
|
export type CreateGameSessionError = UnionAlias<Internal.CreateGameSessionError>;
|
|
468
468
|
export type CreateGameSessionReturn = OperationResult<CreateGameSessionError, {
|
|
@@ -934,6 +934,7 @@ export interface Cashback {
|
|
|
934
934
|
description: string;
|
|
935
935
|
activationStartDateTime: Date;
|
|
936
936
|
activationEndDateTime: Date;
|
|
937
|
+
turnoverContributionPercentagePerGameProvider: Partial<Record<GameProvider, number>>;
|
|
937
938
|
dateTimeCreated: Date;
|
|
938
939
|
dateTimeLastUpdated: Date;
|
|
939
940
|
}
|
package/dist/services/types.d.ts
CHANGED
|
@@ -497,6 +497,7 @@ export interface Cashback {
|
|
|
497
497
|
description: Html;
|
|
498
498
|
activationStartDateTime: DateString;
|
|
499
499
|
activationEndDateTime: DateString;
|
|
500
|
+
turnoverContributionPercentagePerGameProvider: Partial<Record<GameProvider, Decimal>>;
|
|
500
501
|
dateTimeCreated: DateString;
|
|
501
502
|
dateTimeLastUpdated: DateString;
|
|
502
503
|
}
|