@opexa/portal-sdk 0.0.166 → 0.0.168
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 +17 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -6
- package/dist/index.mjs.map +1 -1
- package/dist/sdk/types.d.ts +6 -1
- package/dist/services/types.d.ts +7 -2
- package/package.json +1 -1
package/dist/sdk/types.d.ts
CHANGED
|
@@ -937,7 +937,6 @@ export interface Quest {
|
|
|
937
937
|
progressPercentage: number;
|
|
938
938
|
turnover: number;
|
|
939
939
|
type: QuestType;
|
|
940
|
-
targetTurnover?: number;
|
|
941
940
|
bonus: number;
|
|
942
941
|
endDateTime: Date;
|
|
943
942
|
dateTimeCreated: Date;
|
|
@@ -949,6 +948,12 @@ export interface Quest {
|
|
|
949
948
|
name: string;
|
|
950
949
|
status: MemberStatus;
|
|
951
950
|
}[];
|
|
951
|
+
thirdDayBonusAmount?: number;
|
|
952
|
+
sixthDayBonusAmount?: number;
|
|
953
|
+
seventhDayBonusAmount?: number;
|
|
954
|
+
targetTurnover?: number;
|
|
955
|
+
daysToClear?: number;
|
|
956
|
+
bonusAmount?: number;
|
|
952
957
|
}
|
|
953
958
|
export type AvailableQuestsReturn = OperationResult<never, Quest[]>;
|
|
954
959
|
export type CheckInDailyQuestReturn = OperationResult<never, boolean>;
|
package/dist/services/types.d.ts
CHANGED
|
@@ -419,7 +419,7 @@ export interface TouchGCashDepositMutationVariables {
|
|
|
419
419
|
}
|
|
420
420
|
export type Bank = 'AUBKPHMM' | 'MBTCPHMM' | 'BNORPHMM' | 'MKRUPHM1';
|
|
421
421
|
export type WithdrawalType = 'MANUAL' | 'BANK' | 'GCASH' | 'MAYA_APP' | 'INSTAPAY';
|
|
422
|
-
export type WithdrawalStatus = 'PENDING' | 'ACCEPTED' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED';
|
|
422
|
+
export type WithdrawalStatus = 'PENDING' | 'ACCEPTED' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED' | 'FAILED';
|
|
423
423
|
export type WithdrawalError = 'WITHDRAWAL_CREATION_REQUEST_FAILED' | 'WITHDRAWAL_EXECUTION_REQUEST_FAILED' | 'REQUEST_SESSION_EXPIRED' | 'REQUEST_TIMEOUT' | 'SYSTEM_CANCELLATION' | 'UNEXPECTED_ERROR' | 'DAILY_PURCHASE_OR_DEPOSIT_LIMIT_EXCEEDED' | 'WITHDRAWAL_ACCOUNT_EMPTY' | 'FAILED_TO_PROCESS_PAYMENT';
|
|
424
424
|
export interface WithdrawalRecord {
|
|
425
425
|
id: string;
|
|
@@ -1439,7 +1439,6 @@ export interface Quest {
|
|
|
1439
1439
|
status: QuestStatus;
|
|
1440
1440
|
progressPercentage: Decimal;
|
|
1441
1441
|
turnover: Decimal;
|
|
1442
|
-
targetTurnover?: Decimal;
|
|
1443
1442
|
type: QuestType;
|
|
1444
1443
|
bonus: Decimal;
|
|
1445
1444
|
endDateTime: DateString;
|
|
@@ -1452,6 +1451,12 @@ export interface Quest {
|
|
|
1452
1451
|
name: string;
|
|
1453
1452
|
status: MemberStatus;
|
|
1454
1453
|
}[];
|
|
1454
|
+
thirdDayBonusAmount?: Decimal;
|
|
1455
|
+
sixthDayBonusAmount?: Decimal;
|
|
1456
|
+
seventhDayBonusAmount?: Decimal;
|
|
1457
|
+
targetTurnover?: Decimal;
|
|
1458
|
+
daysToClear?: Decimal;
|
|
1459
|
+
bonusAmount?: Decimal;
|
|
1455
1460
|
}
|
|
1456
1461
|
export interface AvailableQuestsQuery {
|
|
1457
1462
|
availableQuests: Quest[];
|