@opexa/portal-sdk 0.0.18 → 0.0.20

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.
@@ -646,6 +646,8 @@ interface WithdrawalRecordCommonProps {
646
646
  }
647
647
  export interface ManualWithdrawalRecord extends WithdrawalRecordCommonProps {
648
648
  type: 'MANUAL';
649
+ bank?: never;
650
+ recipientMobileNumber?: never;
649
651
  }
650
652
  /**
651
653
  * - `AUBKPHMM` - ASIA UNITED BANK
@@ -657,14 +659,17 @@ export type Bank = Internal.Bank;
657
659
  export interface BankWithdrawalRecord extends WithdrawalRecordCommonProps {
658
660
  type: 'BANK';
659
661
  bank: Bank;
662
+ recipientMobileNumber?: never;
660
663
  }
661
664
  export interface GCashWithdrawalRecord extends WithdrawalRecordCommonProps {
662
665
  type: 'GCASH';
666
+ bank?: never;
663
667
  recipientMobileNumber: string;
664
668
  }
665
669
  export interface MayaWithdrawalRecord extends WithdrawalRecordCommonProps {
666
- type: 'MAYA';
667
- recipientMobileNumber: string;
670
+ type: 'MAYA_APP';
671
+ bank?: never;
672
+ recipientMobileNumber?: never;
668
673
  }
669
674
  export type WithdrawalRecord = ManualWithdrawalRecord | BankWithdrawalRecord | GCashWithdrawalRecord | MayaWithdrawalRecord;
670
675
  export interface WithdrawalRecordsInput extends Internal.WithdrawalRecordsQueryVariables {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opexa/portal-sdk",
3
3
  "type": "module",
4
- "version": "0.0.18",
4
+ "version": "0.0.20",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "typings": "dist/index.d.ts",