@opexa/portal-sdk 0.0.62 → 0.0.64

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.
@@ -28,7 +28,7 @@ export interface NameAndPasswordSignInInput {
28
28
  export interface MobileNumberSignInInput {
29
29
  type: 'MOBILE_NUMBER';
30
30
  mobileNumber: string;
31
- verificationCode: string;
31
+ authenticationCode: string;
32
32
  }
33
33
  export interface MayaSignInInput {
34
34
  type: 'MAYA';
@@ -754,24 +754,7 @@ export interface CreateMayaAppDepositInput {
754
754
  */
755
755
  promo?: string;
756
756
  }
757
- export interface CreateMayaAppDepositInput__Next {
758
- /**
759
- * @example
760
- * ```ts
761
- * import { ObjectId, ObjectType } from '@opexa/portal-sdk';
762
- *
763
- * const id = ObjectId.generate(ObjectType.Deposit).toString()
764
- * ```
765
- */
766
- id?: string;
767
- type: 'MAYA_APP [NEXT]';
768
- amount: number;
769
- /**
770
- * @description id of the promo
771
- */
772
- promo?: string;
773
- }
774
- export type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateMayaAppDepositInput__Next;
757
+ export type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput;
775
758
  export type CreateDepositError = UnionAlias<Internal.CreateDepositError>;
776
759
  export type CreateDepositReturn = OperationResult<CreateDepositError, {
777
760
  id: string;
@@ -926,27 +909,7 @@ export interface CreateMayaAppWithdrawalInput {
926
909
  */
927
910
  transactionPassword: string;
928
911
  }
929
- export interface CreateMayaAppWithdrawalInput__Next {
930
- /**
931
- * @example
932
- * ```ts
933
- * import { ObjectId, ObjectType } from '@opexa/portal-sdk';
934
- *
935
- * const id = ObjectId.generate(ObjectType.Withdrawal).toString()
936
- * ```
937
- */
938
- id?: string;
939
- type: 'MAYA_APP [NEXT]';
940
- amount: number;
941
- /**
942
- * @validation
943
- * - _min_: `8`
944
- * - _max_: `30`
945
- * - _pattern_: `/^[a-z0-9]{8,30}$/`
946
- */
947
- transactionPassword: string;
948
- }
949
- export type CreateWithdrawalInput = CreateBankWithdrawalInput | CreateGCashWithdrawalInput | CreateMayaWithdrawalInput | CreateMayaAppWithdrawalInput | CreateMayaAppWithdrawalInput__Next;
912
+ export type CreateWithdrawalInput = CreateBankWithdrawalInput | CreateGCashWithdrawalInput | CreateMayaWithdrawalInput | CreateMayaAppWithdrawalInput;
950
913
  export type CreateWithdrawalError = UnionAlias<Internal.CreateWithdrawalError>;
951
914
  export type CreateWithdrawalReturn = OperationResult<CreateWithdrawalError, {
952
915
  id: string;
@@ -18,14 +18,12 @@ export declare const WITHDRAWAL_RECORDS_QUERY: string;
18
18
  export declare const CREATE_GCASH_WITHDRAWAL_MUTATION: string;
19
19
  export declare const CREATE_MAYA_WITHDRAWAL_MUTATION: string;
20
20
  export declare const CREATE_MAYA_APP_WITHDRAWAL_MUTATION: string;
21
- export declare const CREATE_MAYA_APP_WITHDRAWAL_MUTATION__NEXT: string;
22
21
  export declare const CREATE_BANK_WITHDRAWAL_MUTATION: string;
23
22
  export declare const REMAINING_DAILY_WITHDRAWALS_COUNT_QUERY: string;
24
23
  export declare const DEPOSIT_RECORDS_QUERY: string;
25
24
  export declare const CREATE_GCASH_DEPOSIT_MUTATION: string;
26
25
  export declare const CREATE_MAYA_DEPOSIT_MUTATION: string;
27
26
  export declare const CREATE_MAYA_APP_DEPOSIT_MUTATION: string;
28
- export declare const CREATE_MAYA_APP_DEPOSIT_MUTATION__NEXT: string;
29
27
  export declare const DEPOSIT_QUERY: string;
30
28
  export declare const DEPOSITS_COUNT_QUERY: string;
31
29
  export declare const BET_RECORDS_QUERY: string;
@@ -866,19 +866,19 @@ export type CreateSessionInput = {
866
866
  name: string;
867
867
  password: string;
868
868
  mobileNumber?: never;
869
- verificationCode?: never;
869
+ authenticationCode?: never;
870
870
  sessionId?: never;
871
871
  } | {
872
872
  name?: never;
873
873
  password?: never;
874
874
  mobileNumber: string;
875
- verificationCode: string;
875
+ authenticationCode: string;
876
876
  sessionId?: never;
877
877
  } | {
878
878
  name?: never;
879
879
  password?: never;
880
880
  mobileNumber?: never;
881
- verificationCode?: never;
881
+ authenticationCode?: never;
882
882
  sessionId: string;
883
883
  };
884
884
  export type Authenticator = {
@@ -16,11 +16,9 @@ export declare class WalletService {
16
16
  createGCashDeposit(variables: CreateGCashDepositMutationVariables): Promise<OperationResult<CreateDepositError>>;
17
17
  createMayaDeposit(variables: CreateMayaDepositMutationVariables): Promise<OperationResult<CreateDepositError>>;
18
18
  createMayaAppDeposit(variables: CreateMayaAppDepositMutationVariables): Promise<OperationResult<CreateDepositError>>;
19
- createMayaAppDeposit__next(variables: CreateMayaAppDepositMutationVariables): Promise<OperationResult<CreateDepositError>>;
20
19
  createGCashWithdrawal(variables: CreateGCashWithdrawalMutationVariables): Promise<OperationResult<CreateWithdrawalError>>;
21
20
  createMayaWithdrawal(variables: CreateMayaWithdrawalMutationVariables): Promise<OperationResult<CreateWithdrawalError>>;
22
21
  createMayaAppWithdrawal(variables: CreateMayaAppWithdrawalMutationVariables): Promise<OperationResult<CreateWithdrawalError>>;
23
- createMayaAppWithdrawal__next(variables: CreateMayaAppWithdrawalMutationVariables): Promise<OperationResult<CreateWithdrawalError>>;
24
22
  createBankWithdrawal(variables: CreateBankWithdrawalMutationVariables): Promise<OperationResult<CreateWithdrawalError>>;
25
23
  remainingDailyWithdrawalsCount(): Promise<OperationResult<never, number>>;
26
24
  pointsWallet(): Promise<OperationResult<never, PointsWallet | null | undefined>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opexa/portal-sdk",
3
3
  "type": "module",
4
- "version": "0.0.62",
4
+ "version": "0.0.64",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "typings": "dist/index.d.ts",