60p82u21t54k 1.0.12 → 1.0.14
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/60p82u21t54k.cjs.js +1 -1
- package/dist/60p82u21t54k.es.js +58 -25
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/api/general/type.d.ts +7 -1
- package/dist/api/general/type.d.ts.map +1 -1
- package/dist/core/apiRegistration.d.ts.map +1 -1
- package/dist/model/gameList/getGameListResponse.d.ts.map +1 -1
- package/dist/model/getIncentiveData/getGetIncentiveDataResponse.d.ts +3 -3
- package/dist/model/getIncentiveData/getGetIncentiveDataResponse.d.ts.map +1 -1
- package/dist/model/getUserProfile/getGetUserProfileResponse.d.ts.map +1 -1
- package/dist/model/getUserProfile/type.d.ts +1 -0
- package/dist/model/getUserProfile/type.d.ts.map +1 -1
- package/dist/model/submitTacCode/getSubmitTacCodeResponse.d.ts +6 -0
- package/dist/model/submitTacCode/getSubmitTacCodeResponse.d.ts.map +1 -0
- package/dist/model/submitTacCode/index.d.ts +5 -0
- package/dist/model/submitTacCode/index.d.ts.map +1 -0
- package/dist/model/submitTacCode/modifySubmitTacCodeRequest.d.ts +3 -0
- package/dist/model/submitTacCode/modifySubmitTacCodeRequest.d.ts.map +1 -0
- package/dist/model/submitTacCode/modifySubmitTacCodeResponse.d.ts +3 -0
- package/dist/model/submitTacCode/modifySubmitTacCodeResponse.d.ts.map +1 -0
- package/dist/model/submitTacCode/type.d.ts +3 -0
- package/dist/model/submitTacCode/type.d.ts.map +1 -0
- package/dist/model/updateRegister/getUpdateRegisterResponse.d.ts +6 -0
- package/dist/model/updateRegister/getUpdateRegisterResponse.d.ts.map +1 -0
- package/dist/model/updateRegister/index.d.ts +5 -0
- package/dist/model/updateRegister/index.d.ts.map +1 -0
- package/dist/model/updateRegister/modifyUpdateRegisterRequest.d.ts +3 -0
- package/dist/model/updateRegister/modifyUpdateRegisterRequest.d.ts.map +1 -0
- package/dist/model/updateRegister/modifyUpdateRegisterResponse.d.ts +3 -0
- package/dist/model/updateRegister/modifyUpdateRegisterResponse.d.ts.map +1 -0
- package/dist/model/updateRegister/type.d.ts +3 -0
- package/dist/model/updateRegister/type.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -4276,7 +4276,7 @@ const getGameListResponse = (raw) => {
|
|
|
4276
4276
|
name: product.name,
|
|
4277
4277
|
iconUrl: `/image/side_menu/${product.code.toLowerCase()}.png?v=1`,
|
|
4278
4278
|
nextPage: product.nextPage === 1,
|
|
4279
|
-
list:
|
|
4279
|
+
list: product.mdPlatformProducts && ((_a2 = product.mdPlatformProducts) == null ? void 0 : _a2.length) > 0 ? (_b2 = product.mdPlatformProducts) == null ? void 0 : _b2.map((item) => {
|
|
4280
4280
|
return {
|
|
4281
4281
|
gameId: item.id_GameMaster,
|
|
4282
4282
|
platformId: item.id,
|
|
@@ -4294,7 +4294,7 @@ const getGameListResponse = (raw) => {
|
|
|
4294
4294
|
rate: "0.00",
|
|
4295
4295
|
jackpotAmount: ""
|
|
4296
4296
|
};
|
|
4297
|
-
})
|
|
4297
|
+
}) : []
|
|
4298
4298
|
};
|
|
4299
4299
|
})) ?? [],
|
|
4300
4300
|
gameList: {
|
|
@@ -4477,6 +4477,8 @@ var Api = /* @__PURE__ */ ((Api2) => {
|
|
|
4477
4477
|
Api2["isMobileRegistered"] = "isMobileRegistered";
|
|
4478
4478
|
Api2["getActivePlatform"] = "getActivePlatform";
|
|
4479
4479
|
Api2["agMemberTransaction"] = "agMemberTransaction";
|
|
4480
|
+
Api2["submitTacCode"] = "submitTacCode";
|
|
4481
|
+
Api2["updateRegister"] = "updateRegister";
|
|
4480
4482
|
return Api2;
|
|
4481
4483
|
})(Api || {});
|
|
4482
4484
|
const modifyGameListRequest = (requests) => {
|
|
@@ -5072,7 +5074,8 @@ const getGetUserProfileResponse = (raw) => {
|
|
|
5072
5074
|
email: raw.mdUserDetail.email ?? "",
|
|
5073
5075
|
fullName: raw.mdUserDetail.firstname ?? "",
|
|
5074
5076
|
phoneNumber: raw.mdUserDetail.mobileno ?? "",
|
|
5075
|
-
profilePicUrl: raw.mdUserDetail.profile_pic ?? ""
|
|
5077
|
+
profilePicUrl: raw.mdUserDetail.profile_pic ?? "",
|
|
5078
|
+
isPhoneNumVerified: raw.mdUserDetail.isVerify == "1"
|
|
5076
5079
|
};
|
|
5077
5080
|
};
|
|
5078
5081
|
const modifyGetUserProfileRequest = (requests) => {
|
|
@@ -6125,7 +6128,7 @@ const modifyUpcomingMatchesResponse = (result) => {
|
|
|
6125
6128
|
const getDepositResponse = (raw) => {
|
|
6126
6129
|
return {
|
|
6127
6130
|
status: raw.status == 1,
|
|
6128
|
-
message: raw.status == 1 ? raw.message
|
|
6131
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
6129
6132
|
paymentUrl: raw.urlpayment ?? ""
|
|
6130
6133
|
};
|
|
6131
6134
|
};
|
|
@@ -6138,7 +6141,7 @@ const modifyDepositResponse = (result) => {
|
|
|
6138
6141
|
const getApplyVipBonusResponse = (raw) => {
|
|
6139
6142
|
return {
|
|
6140
6143
|
status: raw.status == 1,
|
|
6141
|
-
message: raw.status == 1 ? raw.message
|
|
6144
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
6142
6145
|
flag: raw.flag
|
|
6143
6146
|
};
|
|
6144
6147
|
};
|
|
@@ -6242,7 +6245,7 @@ const modifyWithdrawalGetResponse = (result) => {
|
|
|
6242
6245
|
const getBaseResponse = (raw) => {
|
|
6243
6246
|
return {
|
|
6244
6247
|
status: raw.status == 1,
|
|
6245
|
-
message: raw.status == 1 ? raw.message
|
|
6248
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? ""
|
|
6246
6249
|
};
|
|
6247
6250
|
};
|
|
6248
6251
|
const getWithdrawResponse = (raw) => {
|
|
@@ -6416,7 +6419,7 @@ const getGetEventTokenResponse = (raw) => {
|
|
|
6416
6419
|
var _a;
|
|
6417
6420
|
return {
|
|
6418
6421
|
status: raw.status == 1,
|
|
6419
|
-
message: raw.status == 1 ? raw.message
|
|
6422
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
6420
6423
|
data: ((_a = raw.data) == null ? void 0 : _a.map((item) => {
|
|
6421
6424
|
return {
|
|
6422
6425
|
id: item.id,
|
|
@@ -6434,7 +6437,7 @@ const modifyGetEventTokenResponse = (result) => {
|
|
|
6434
6437
|
const getGetExtraGameResponse = (raw) => {
|
|
6435
6438
|
return {
|
|
6436
6439
|
status: raw.status == 1,
|
|
6437
|
-
message: raw.status == 1 ? raw.message
|
|
6440
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
6438
6441
|
loginId: raw.loginId ?? "",
|
|
6439
6442
|
password: raw.password ?? "",
|
|
6440
6443
|
downloadUrl: raw.download_link ?? ""
|
|
@@ -7013,7 +7016,7 @@ const getGetImageResponse = (raw) => {
|
|
|
7013
7016
|
var _a, _b, _c, _d, _e;
|
|
7014
7017
|
return {
|
|
7015
7018
|
status: raw.status == 1,
|
|
7016
|
-
message: raw.status == 1 ? raw.message
|
|
7019
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7017
7020
|
default: ((_a = raw.data) == null ? void 0 : _a.default) ?? [],
|
|
7018
7021
|
online: ((_b = raw.data) == null ? void 0 : _b.online) ?? [],
|
|
7019
7022
|
mycard: ((_c = raw.data) == null ? void 0 : _c.mycard) ?? [],
|
|
@@ -7254,7 +7257,7 @@ const getApplySignInResponse = (raw) => {
|
|
|
7254
7257
|
var _a;
|
|
7255
7258
|
return {
|
|
7256
7259
|
status: raw.status == 1,
|
|
7257
|
-
message: raw.status == 1 ? raw.message
|
|
7260
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7258
7261
|
dayStreak: ((_a = raw.data) == null ? void 0 : _a.continuousDay) ?? 0
|
|
7259
7262
|
};
|
|
7260
7263
|
};
|
|
@@ -7268,7 +7271,7 @@ const getGetCountryResponse = (raw) => {
|
|
|
7268
7271
|
var _a;
|
|
7269
7272
|
return {
|
|
7270
7273
|
status: raw.status == 1,
|
|
7271
|
-
message: raw.status == 1 ? raw.message
|
|
7274
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7272
7275
|
countryList: ((_a = raw.data) == null ? void 0 : _a.map((item) => {
|
|
7273
7276
|
var _a2, _b;
|
|
7274
7277
|
return {
|
|
@@ -7565,7 +7568,7 @@ const modifySignInRecordResponse = (result) => {
|
|
|
7565
7568
|
const getReferralProfileResponse = (raw) => {
|
|
7566
7569
|
return {
|
|
7567
7570
|
status: raw.status == 1,
|
|
7568
|
-
message: raw.status == 1 ? raw.message
|
|
7571
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7569
7572
|
fullName: raw.fullname,
|
|
7570
7573
|
currentPage: raw.pagination.current_page,
|
|
7571
7574
|
lastPage: raw.pagination.total_page,
|
|
@@ -7618,7 +7621,7 @@ const modifyReferralProfileResponse = (result) => {
|
|
|
7618
7621
|
const getReferralMemberProfileResponse = (raw) => {
|
|
7619
7622
|
return {
|
|
7620
7623
|
status: raw.status == 1,
|
|
7621
|
-
message: raw.status == 1 ? raw.message
|
|
7624
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7622
7625
|
id: raw.id ?? 0,
|
|
7623
7626
|
data: raw.data.map((item) => {
|
|
7624
7627
|
return {
|
|
@@ -7705,7 +7708,7 @@ const getBetReportResponse = (raw) => {
|
|
|
7705
7708
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
7706
7709
|
return {
|
|
7707
7710
|
status: raw.status == 1,
|
|
7708
|
-
message: raw.status == 1 ? raw.message
|
|
7711
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7709
7712
|
data: {
|
|
7710
7713
|
total: ((_a = raw.data) == null ? void 0 : _a.total) ? {
|
|
7711
7714
|
bet: getFormattedAmount(((_b = raw.data) == null ? void 0 : _b.total.bet) ?? 0),
|
|
@@ -7755,7 +7758,7 @@ const getGetTwoFactorAuthenticateResponse = (raw) => {
|
|
|
7755
7758
|
var _a, _b, _c;
|
|
7756
7759
|
return {
|
|
7757
7760
|
status: raw.status == 1,
|
|
7758
|
-
message: raw.status == 1 ? raw.message
|
|
7761
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7759
7762
|
data: {
|
|
7760
7763
|
key: ((_a = raw.data) == null ? void 0 : _a.key) ?? "",
|
|
7761
7764
|
qrcode: ((_b = raw.data) == null ? void 0 : _b.qrcode) ?? "",
|
|
@@ -7773,7 +7776,7 @@ const getGetUserDeviceListResponse = (raw) => {
|
|
|
7773
7776
|
var _a;
|
|
7774
7777
|
return {
|
|
7775
7778
|
status: raw.status == 1,
|
|
7776
|
-
message: raw.status == 1 ? raw.message
|
|
7779
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7777
7780
|
data: ((_a = raw.data) == null ? void 0 : _a.map((item) => {
|
|
7778
7781
|
return {
|
|
7779
7782
|
deviceName: item.device_name,
|
|
@@ -7868,7 +7871,7 @@ const modifyChangeWithdrawalCodeResponse = (result) => {
|
|
|
7868
7871
|
const getCheckRedPacketTokenResponse = (raw) => {
|
|
7869
7872
|
return {
|
|
7870
7873
|
status: raw.status == 1,
|
|
7871
|
-
message: raw.status == 1 ? raw.message
|
|
7874
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7872
7875
|
tokenAmount: raw.token_amount
|
|
7873
7876
|
};
|
|
7874
7877
|
};
|
|
@@ -8055,9 +8058,9 @@ const getGetIncentiveDataResponse = (raw) => {
|
|
|
8055
8058
|
return {
|
|
8056
8059
|
status: raw.status,
|
|
8057
8060
|
message: raw.msg ?? "",
|
|
8058
|
-
turnover: raw.data ? raw.data.turnover : 0,
|
|
8061
|
+
turnover: raw.data ? raw.data.turnover ?? 0 : 0,
|
|
8059
8062
|
percentage: raw.data ? raw.data.percentage ?? 0 : 0,
|
|
8060
|
-
incentive: raw.data ? raw.data.incentive : 0,
|
|
8063
|
+
incentive: raw.data ? raw.data.incentive ?? 0 : 0,
|
|
8061
8064
|
claimable: 0
|
|
8062
8065
|
};
|
|
8063
8066
|
};
|
|
@@ -8257,7 +8260,7 @@ const getGetFavouriteGameResponse = (raw) => {
|
|
|
8257
8260
|
rate: "0.00",
|
|
8258
8261
|
jackpotAmount: ""
|
|
8259
8262
|
};
|
|
8260
|
-
})
|
|
8263
|
+
}) : []
|
|
8261
8264
|
};
|
|
8262
8265
|
};
|
|
8263
8266
|
const modifyGetFavouriteGameRequest = (requests) => {
|
|
@@ -8435,7 +8438,7 @@ const getGetASCMatchCountResponse = (raw) => {
|
|
|
8435
8438
|
var _a, _b, _c;
|
|
8436
8439
|
return {
|
|
8437
8440
|
status: raw.status == 1,
|
|
8438
|
-
message: raw.status == 1 ? raw.message
|
|
8441
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8439
8442
|
data: {
|
|
8440
8443
|
live: ((_a = raw.data) == null ? void 0 : _a.l) ?? 0,
|
|
8441
8444
|
today: ((_b = raw.data) == null ? void 0 : _b.t) ?? 0,
|
|
@@ -8465,7 +8468,7 @@ const modifyUpdateDeviceTokenResponse = (result) => {
|
|
|
8465
8468
|
const getGetCryptoListResponse = (raw) => {
|
|
8466
8469
|
return {
|
|
8467
8470
|
status: raw.status == 1,
|
|
8468
|
-
message: raw.status == 1 ? raw.message
|
|
8471
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8469
8472
|
coinList: raw.data.map((coin) => {
|
|
8470
8473
|
return {
|
|
8471
8474
|
name: coin.coin,
|
|
@@ -8489,7 +8492,7 @@ const modifyGetCryptoListResponse = (result) => {
|
|
|
8489
8492
|
const getGetCryptoAddressResponse = (raw) => {
|
|
8490
8493
|
return {
|
|
8491
8494
|
status: raw.status == 1,
|
|
8492
|
-
message: raw.status == 1 ? raw.message
|
|
8495
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8493
8496
|
address: raw.data ?? ""
|
|
8494
8497
|
};
|
|
8495
8498
|
};
|
|
@@ -8873,7 +8876,7 @@ const getCheckGoldEggValidateResponse = (raw) => {
|
|
|
8873
8876
|
var _a;
|
|
8874
8877
|
return {
|
|
8875
8878
|
status: raw.status == 1,
|
|
8876
|
-
message: raw.status == 1 ? raw.message
|
|
8879
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8877
8880
|
desc: ((_a = raw.data) == null ? void 0 : _a.bottom_description_setting) ?? "",
|
|
8878
8881
|
unfinishGame: raw.checkgame.unfinishgame == 1,
|
|
8879
8882
|
ledgerIndex: raw.checkgame.ledgerindex ?? 0,
|
|
@@ -8898,7 +8901,7 @@ const modifyApplyGoldEggResponse = (result) => {
|
|
|
8898
8901
|
const getCheckGoldEggTokenResponse = (raw) => {
|
|
8899
8902
|
return {
|
|
8900
8903
|
status: raw.status == 1,
|
|
8901
|
-
message: raw.status == 1 ? raw.message
|
|
8904
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8902
8905
|
tokenAmount: raw.token_amount
|
|
8903
8906
|
};
|
|
8904
8907
|
};
|
|
@@ -9126,6 +9129,24 @@ const modifyGetActivePlatformRequest = (requests) => {
|
|
|
9126
9129
|
const modifyGetActivePlatformResponse = (result) => {
|
|
9127
9130
|
return result;
|
|
9128
9131
|
};
|
|
9132
|
+
const getSubmitTacCodeResponse = (raw) => {
|
|
9133
|
+
return getBaseResponse(raw);
|
|
9134
|
+
};
|
|
9135
|
+
const modifySubmitTacCodeRequest = (requests) => {
|
|
9136
|
+
return requests;
|
|
9137
|
+
};
|
|
9138
|
+
const modifySubmitTacCodeResponse = (result) => {
|
|
9139
|
+
return result;
|
|
9140
|
+
};
|
|
9141
|
+
const getUpdateRegisterResponse = (raw) => {
|
|
9142
|
+
return getBaseResponse(raw);
|
|
9143
|
+
};
|
|
9144
|
+
const modifyUpdateRegisterRequest = (requests) => {
|
|
9145
|
+
return requests;
|
|
9146
|
+
};
|
|
9147
|
+
const modifyUpdateRegisterResponse = (result) => {
|
|
9148
|
+
return result;
|
|
9149
|
+
};
|
|
9129
9150
|
const getAgMemberTransactionResponse = (raw) => {
|
|
9130
9151
|
var _a;
|
|
9131
9152
|
if (raw.status == 0) {
|
|
@@ -10097,6 +10118,18 @@ const registerAllApiModels = () => {
|
|
|
10097
10118
|
modifyAgMemberTransactionRequest,
|
|
10098
10119
|
modifyAgMemberTransactionResponse
|
|
10099
10120
|
);
|
|
10121
|
+
apiModelRegistry.register(
|
|
10122
|
+
Api.submitTacCode,
|
|
10123
|
+
getSubmitTacCodeResponse,
|
|
10124
|
+
modifySubmitTacCodeRequest,
|
|
10125
|
+
modifySubmitTacCodeResponse
|
|
10126
|
+
);
|
|
10127
|
+
apiModelRegistry.register(
|
|
10128
|
+
Api.updateRegister,
|
|
10129
|
+
getUpdateRegisterResponse,
|
|
10130
|
+
modifyUpdateRegisterRequest,
|
|
10131
|
+
modifyUpdateRegisterResponse
|
|
10132
|
+
);
|
|
10100
10133
|
} catch (error) {
|
|
10101
10134
|
console.error("❌ Failed to register API models:", error);
|
|
10102
10135
|
}
|