@opexa/portal-sdk 0.0.16 → 0.0.18
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/README.md +6 -6
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +67 -67
- package/dist/index.mjs.map +1 -1
- package/dist/sdk/types.d.ts +2 -2
- package/dist/services/withdrawal.d.ts +1 -1
- package/package.json +1 -1
package/dist/sdk/types.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ type WithCursor<T> = T & {
|
|
|
6
6
|
type PaginatedQueryResult<K extends string, T> = Record<K, Array<WithCursor<T>>> & ({
|
|
7
7
|
totalCount: number;
|
|
8
8
|
hasNextPage: false;
|
|
9
|
-
|
|
9
|
+
endCursor?: never;
|
|
10
10
|
} | {
|
|
11
11
|
totalCount: number;
|
|
12
12
|
hasNextPage: true;
|
|
13
|
-
|
|
13
|
+
endCursor: string;
|
|
14
14
|
});
|
|
15
15
|
export interface SecurityQuestionAuthenticator extends Internal.Authenticator__SecurityQuestion {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DateFilterField, DateString, Decimal, EnumFilterField, PaginatedQuery, StringFilterField } from './types';
|
|
2
2
|
|
|
3
3
|
export type Bank = 'AUBKPHMM' | 'MBTCPHMM' | 'BNORPHMM' | 'MKRUPHM1';
|
|
4
|
-
export type WithdrawalRecordStatus = 'PENDING' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED';
|
|
4
|
+
export type WithdrawalRecordStatus = 'PENDING' | 'ACCEPTED' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED';
|
|
5
5
|
export type WithdrawalRecordType = 'MANUAL' | 'BANK' | 'GCASH' | 'MAYA_APP';
|
|
6
6
|
interface Common {
|
|
7
7
|
id: string;
|