@opexa/portal-sdk 0.0.83 → 0.0.85

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.
@@ -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;
@@ -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;
@@ -761,7 +764,7 @@ export interface SendVerificationCodeMutationVariables {
761
764
  recipient: string;
762
765
  };
763
766
  }
764
- export type SendVerificationCodeError__Next = 'NotReadyToSendVerficationCodeError' | 'AccountNotFound';
767
+ export type SendVerificationCodeError__Next = 'NotReadyToSendVerficationCodeError' | 'RateLimitExceededError' | 'AccountNotFoundError';
765
768
  export interface SendVerificationCodeInput__Next {
766
769
  channel: 'SMS' | 'EMAIL';
767
770
  recipient: string;
@@ -905,8 +908,8 @@ export type CreateSessionMutation = {
905
908
  refreshToken?: never;
906
909
  authenticator: Authenticator;
907
910
  };
908
- export type CreateSessionError = 'AccountNotFound' | 'AccountBlacklisted';
909
- export type RefreshSessionError = 'InvalidToken' | 'AccountBlacklisted' | 'SessionExpired';
911
+ export type CreateSessionError = 'AccountNotFoundError' | 'AccountBlacklistedError';
912
+ export type RefreshSessionError = 'InvalidTokenError' | 'AccountBlacklistedError' | 'SessionExpiredError';
910
913
  export interface RefreshSessionMutation {
911
914
  accessToken: string;
912
915
  refreshToken: string;
@@ -917,7 +920,7 @@ export interface SecurityQuestionAuthenticateInput {
917
920
  secretAnswer: string;
918
921
  }
919
922
  export type AuthenticateInput = SecurityQuestionAuthenticateInput;
920
- export type AuthenticateError = 'InvalidTokenOrSecretAnswer';
923
+ export type AuthenticateError = 'InvalidTokenOrSecretAnswerError';
921
924
  export interface AuthenticateMutation {
922
925
  session: Session;
923
926
  accessToken: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opexa/portal-sdk",
3
3
  "type": "module",
4
- "version": "0.0.83",
4
+ "version": "0.0.85",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "typings": "dist/index.d.ts",