@opexa/portal-sdk 0.0.148 → 0.0.149

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.mjs CHANGED
@@ -1,8 +1,8 @@
1
- var Ye = Object.defineProperty;
2
- var Qe = (o, e, t) => e in o ? Ye(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
- var d = (o, e, t) => Qe(o, typeof e != "symbol" ? e + "" : e, t);
1
+ var Qe = Object.defineProperty;
2
+ var je = (o, e, t) => e in o ? Qe(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
+ var d = (o, e, t) => je(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { ObjectId as Y } from "@opexa/object-id";
5
- import { ObjectId as Or } from "@opexa/object-id";
5
+ import { ObjectId as xr } from "@opexa/object-id";
6
6
  const Q = {
7
7
  Account: 8,
8
8
  Deposit: 9,
@@ -28,7 +28,7 @@ const Me = i`
28
28
  status
29
29
  dateTimeCreated
30
30
  }
31
- `, je = i`
31
+ `, Ke = i`
32
32
  ${Me}
33
33
 
34
34
  query File($id: ObjectId!) {
@@ -38,7 +38,7 @@ const Me = i`
38
38
  }
39
39
  }
40
40
  }
41
- `, Ke = i`
41
+ `, ze = i`
42
42
  mutation UploadPrivateImageFile($input: UploadFileInput!) {
43
43
  uploadPrivateImageFile(input: $input) {
44
44
  ... on FileFormatNotSupportedError {
@@ -52,7 +52,7 @@ const Me = i`
52
52
  }
53
53
  }
54
54
  }
55
- `, ze = i`
55
+ `, Je = i`
56
56
  query Wallet {
57
57
  wallet {
58
58
  id
@@ -62,7 +62,7 @@ const Me = i`
62
62
  dateTimeLastUpdated
63
63
  }
64
64
  }
65
- `, Je = i`
65
+ `, Xe = i`
66
66
  query PointsWallet {
67
67
  pointsWallet {
68
68
  id
@@ -71,7 +71,7 @@ const Me = i`
71
71
  dateTimeCreated
72
72
  }
73
73
  }
74
- `, Xe = i`
74
+ `, Ze = i`
75
75
  mutation RedeemPointsToCash($input: RedeemPointsToCashInput!) {
76
76
  redeemPointsToCash(input: $input) {
77
77
  ... on InsufficientPointsError {
@@ -79,7 +79,7 @@ const Me = i`
79
79
  }
80
80
  }
81
81
  }
82
- `, Ze = i`
82
+ `, et = i`
83
83
  query PointsWalletTransactions(
84
84
  $first: Int
85
85
  $after: Cursor
@@ -107,7 +107,7 @@ const Me = i`
107
107
  }
108
108
  }
109
109
  }
110
- `, Ue = {
110
+ `, $e = {
111
111
  current: i`
112
112
  query GameSession($id: ObjectId!) {
113
113
  node(id: $id) {
@@ -138,7 +138,7 @@ const Me = i`
138
138
  }
139
139
  }
140
140
  `
141
- }, $e = i`
141
+ }, Le = i`
142
142
  mutation CreateGameSession($input: CreateGameSessionInput!) {
143
143
  createGameSession(input: $input) {
144
144
  ... on GameDoesNotExistError {
@@ -146,7 +146,7 @@ const Me = i`
146
146
  }
147
147
  }
148
148
  }
149
- `, Le = {
149
+ `, Fe = {
150
150
  current: i`
151
151
  mutation EndGameSession($input: EndGameSessionInput!) {
152
152
  endGameSession(input: $input)
@@ -167,13 +167,13 @@ const Me = i`
167
167
  }
168
168
  }
169
169
  `
170
- }, et = i`
170
+ }, tt = i`
171
171
  query RecommendedGames {
172
172
  recommendedGames {
173
173
  id
174
174
  }
175
175
  }
176
- `, tt = i`
176
+ `, rt = i`
177
177
  query Announcements($first: Int, $after: Cursor, $filter: AnnouncementFilterInput) {
178
178
  announcements(first: $first, after: $after, filter: $filter) {
179
179
  edges {
@@ -199,7 +199,7 @@ const Me = i`
199
199
  }
200
200
  }
201
201
  }
202
- `, rt = i`
202
+ `, at = i`
203
203
  query WithdrawalRecords($first: Int, $after: Cursor, $filter: WithdrawalRecordFilterInput) {
204
204
  member {
205
205
  withdrawalRecords(first: $first, after: $after, filter: $filter) {
@@ -283,7 +283,7 @@ const Me = i`
283
283
  }
284
284
  }
285
285
  }
286
- `, at = i`
286
+ `, nt = i`
287
287
  mutation CreateGCashWithdrawal($input: CreateGCashWithdrawalInput!) {
288
288
  createGCashWithdrawal(input: $input) {
289
289
  ... on AccountNotVerifiedError {
@@ -309,7 +309,7 @@ const Me = i`
309
309
  }
310
310
  }
311
311
  }
312
- `, nt = i`
312
+ `, ot = i`
313
313
  mutation CreateMayaWithdrawal($input: CreateMayaWithdrawalInput!) {
314
314
  createMayaWithdrawal(input: $input) {
315
315
  ... on AccountNotVerifiedError {
@@ -332,7 +332,7 @@ const Me = i`
332
332
  }
333
333
  }
334
334
  }
335
- `, ot = i`
335
+ `, it = i`
336
336
  mutation CreateMayaAppWithdrawal($input: CreateMayaAppWithdrawalInput!) {
337
337
  createMayaAppWithdrawal(input: $input) {
338
338
  ... on AccountNotVerifiedError {
@@ -352,7 +352,7 @@ const Me = i`
352
352
  }
353
353
  }
354
354
  }
355
- `, it = i`
355
+ `, st = i`
356
356
  mutation CreateBankWithdrawal($input: CreateBankWithdrawalInput!) {
357
357
  createBankWithdrawal(input: $input) {
358
358
  ... on MobileNumberNotVerifiedError {
@@ -360,7 +360,7 @@ const Me = i`
360
360
  }
361
361
  }
362
362
  }
363
- `, st = i`
363
+ `, mt = i`
364
364
  mutation CreateAIOInstapayWithdrawal($input: CreateAIOInstapayWithdrawalInput!) {
365
365
  createAIOInstapayWithdrawal(input: $input) {
366
366
  ... on AccountNotVerifiedError {
@@ -380,7 +380,7 @@ const Me = i`
380
380
  }
381
381
  }
382
382
  }
383
- `, mt = i`
383
+ `, ct = i`
384
384
  query InstapayBankList {
385
385
  instapayBankList {
386
386
  id
@@ -392,7 +392,7 @@ const Me = i`
392
392
  query RemainingDailyWithdrawalsCount {
393
393
  remainingDailyWithdrawalsCount
394
394
  }
395
- `, ct = i`
395
+ `, dt = i`
396
396
  query DepositRecords($after: Cursor, $first: Int, $filter: DepositRecordFilterInput) {
397
397
  member {
398
398
  depositRecords(after: $after, first: $first, filter: $filter) {
@@ -421,7 +421,7 @@ const Me = i`
421
421
  }
422
422
  }
423
423
  }
424
- `, dt = i`
424
+ `, lt = i`
425
425
  mutation CreateGCashDeposit($input: CreateGCashDepositInput!) {
426
426
  createGCashDeposit(input: $input) {
427
427
  ... on DepositPromoMaximumAmountExceededError {
@@ -453,7 +453,7 @@ const Me = i`
453
453
  }
454
454
  }
455
455
  }
456
- `, lt = i`
456
+ `, pt = i`
457
457
  mutation CreateMayaDeposit($input: CreateMayaDepositInput!) {
458
458
  createMayaDeposit(input: $input) {
459
459
  ... on DepositPromoMaximumAmountExceededError {
@@ -482,7 +482,7 @@ const Me = i`
482
482
  }
483
483
  }
484
484
  }
485
- `, pt = i`
485
+ `, ft = i`
486
486
  mutation CreateMayaAppDeposit($input: CreateMayaAppDepositInput!) {
487
487
  createMayaAppDeposit(input: $input) {
488
488
  ... on DepositPromoMaximumAmountExceededError {
@@ -511,7 +511,7 @@ const Me = i`
511
511
  }
512
512
  }
513
513
  }
514
- `, ft = i`
514
+ `, wt = i`
515
515
  mutation CreateAIOQRPHDeposit($input: CreateAIOQRPHDepositInput!) {
516
516
  createAIOQRPHDeposit(input: $input) {
517
517
  ... on DepositPromoMaximumAmountExceededError {
@@ -543,7 +543,7 @@ const Me = i`
543
543
  }
544
544
  }
545
545
  }
546
- `, wt = i`
546
+ `, yt = i`
547
547
  mutation CreateAIOOnlineBankDeposit($input: CreateAIOOnlineBankDepositInput!) {
548
548
  createAIOOnlineBankDeposit(input: $input) {
549
549
  ... on DepositPromoMaximumAmountExceededError {
@@ -572,7 +572,7 @@ const Me = i`
572
572
  }
573
573
  }
574
574
  }
575
- `, yt = i`
575
+ `, ht = i`
576
576
  query Deposit($id: ObjectId!) {
577
577
  node(id: $id) {
578
578
  ... on GCashDeposit {
@@ -616,13 +616,13 @@ const Me = i`
616
616
  }
617
617
  }
618
618
  }
619
- `, ht = i`
619
+ `, gt = i`
620
620
  query DepositsCount {
621
621
  member {
622
622
  depositsCount
623
623
  }
624
624
  }
625
- `, gt = i`
625
+ `, At = i`
626
626
  query BetRecords($first: Int, $after: Cursor, $filter: BetRecordFilterInput) {
627
627
  member {
628
628
  betRecords(first: $first, after: $after, filter: $filter) {
@@ -660,7 +660,7 @@ const Me = i`
660
660
  }
661
661
  }
662
662
  }
663
- `, At = i`
663
+ `, Et = i`
664
664
  query LatestBetRecords {
665
665
  latestBetRecords {
666
666
  id
@@ -677,7 +677,7 @@ const Me = i`
677
677
  dateTimeCreated
678
678
  }
679
679
  }
680
- `, Et = i`
680
+ `, St = i`
681
681
  query TransactionRecords($first: Int, $after: Cursor, $filter: TransactionRecordFilter) {
682
682
  member {
683
683
  transactionRecords(first: $first, after: $after, filter: $filter) {
@@ -724,7 +724,7 @@ const Me = i`
724
724
  dateTimeCreated
725
725
  dateTimeLastUpdated
726
726
  }
727
- `, St = i`
727
+ `, Ct = i`
728
728
  ${Ie}
729
729
 
730
730
  query Promos {
@@ -732,7 +732,7 @@ const Me = i`
732
732
  ...PromoFragment
733
733
  }
734
734
  }
735
- `, Ct = i`
735
+ `, bt = i`
736
736
  ${Ie}
737
737
 
738
738
  query AvailablePromos($filter: PromoFilterInput) {
@@ -740,7 +740,7 @@ const Me = i`
740
740
  ...PromoFragment
741
741
  }
742
742
  }
743
- `, bt = i`
743
+ `, kt = i`
744
744
  fragment SpotBonusFragment on SpotBonusPromo {
745
745
  id
746
746
  name
@@ -780,15 +780,15 @@ const Me = i`
780
780
  code
781
781
  maximumBonusesCountLimit
782
782
  }
783
- `, kt = i`
784
- ${bt}
783
+ `, Tt = i`
784
+ ${kt}
785
785
 
786
786
  query PromoByCode($code: String!) {
787
787
  promoByCode(code: $code) {
788
788
  ...SpotBonusFragment
789
789
  }
790
790
  }
791
- `, Fe = i`
791
+ `, He = i`
792
792
  ${Me}
793
793
 
794
794
  fragment CashbackFragment on Cashback {
@@ -807,15 +807,15 @@ const Me = i`
807
807
  dateTimeCreated
808
808
  dateTimeLastUpdated
809
809
  }
810
- `, Tt = i`
811
- ${Fe}
810
+ `, _t = i`
811
+ ${He}
812
812
 
813
813
  query Cashbacks {
814
814
  cashbacks {
815
815
  ...CashbackFragment
816
816
  }
817
817
  }
818
- `, _t = i`
818
+ `, Rt = i`
819
819
  ${Ie}
820
820
 
821
821
  query Bonus {
@@ -844,7 +844,7 @@ const Me = i`
844
844
  dateTimeLastUpdated
845
845
  }
846
846
  }
847
- `, Rt = i`
847
+ `, Dt = i`
848
848
  ${Ie}
849
849
 
850
850
  query Bonuses {
@@ -873,8 +873,8 @@ const Me = i`
873
873
  dateTimeLastUpdated
874
874
  }
875
875
  }
876
- `, Dt = i`
877
- ${Fe}
876
+ `, Mt = i`
877
+ ${He}
878
878
 
879
879
  query CashbackBonuses {
880
880
  cashbackBonuses {
@@ -888,7 +888,7 @@ const Me = i`
888
888
  dateTimeLastUpdated
889
889
  }
890
890
  }
891
- `, Mt = i`
891
+ `, It = i`
892
892
  mutation ClaimCashbackBonus($input: ClaimCashbackBonusInput!) {
893
893
  claimCashbackBonus(input: $input) {
894
894
  ... on CashbackBonusDoesNotExistError {
@@ -904,7 +904,7 @@ i`
904
904
  }
905
905
  }
906
906
  `;
907
- const It = i`
907
+ const Nt = i`
908
908
  query MemberAccount {
909
909
  memberAccount: self {
910
910
  ... on MemberAccount {
@@ -928,7 +928,7 @@ const It = i`
928
928
  }
929
929
  }
930
930
  }
931
- `, Nt = i`
931
+ `, Pt = i`
932
932
  ${Me}
933
933
 
934
934
  query MemberVerification {
@@ -953,7 +953,7 @@ const It = i`
953
953
  }
954
954
  }
955
955
  }
956
- `, Pt = i`
956
+ `, Gt = i`
957
957
  mutation RegisterMemberAccount(
958
958
  $input: RegisterMemberAccountInput!
959
959
  $referralCode: String
@@ -992,7 +992,7 @@ const It = i`
992
992
  }
993
993
  }
994
994
  }
995
- `, Gt = i`
995
+ `, vt = i`
996
996
  mutation RegisterMemberAccountViaMobile(
997
997
  $input: RegisterMemberAccountViaMobileInput!
998
998
  $referralCode: String
@@ -1022,7 +1022,7 @@ const It = i`
1022
1022
  }
1023
1023
  }
1024
1024
  }
1025
- `, vt = i`
1025
+ `, Bt = i`
1026
1026
  mutation RegisterMemberAccount(
1027
1027
  $input: RegisterMemberAccountInput_next!
1028
1028
  $reCAPTCHAResponse: String
@@ -1054,7 +1054,7 @@ const It = i`
1054
1054
  }
1055
1055
  }
1056
1056
  }
1057
- `, Bt = i`
1057
+ `, Ot = i`
1058
1058
  mutation RegisterMayaMemberAccount($input: RegisterMayaMemberAccountInput!) {
1059
1059
  registerMayaMemberAccount(input: $input) {
1060
1060
  ... on AccountNameNotAvailableError {
@@ -1062,7 +1062,7 @@ const It = i`
1062
1062
  }
1063
1063
  }
1064
1064
  }
1065
- `, Ot = i`
1065
+ `, xt = i`
1066
1066
  mutation UpdateMemberAccount($input: UpdateMemberAccountInput!) {
1067
1067
  updateMemberAccount(input: $input) {
1068
1068
  ... on AccountNameNotAvailableError {
@@ -1088,7 +1088,7 @@ const It = i`
1088
1088
  }
1089
1089
  }
1090
1090
  }
1091
- `, xt = i`
1091
+ `, Wt = i`
1092
1092
  mutation ResetPassword($input: ResetPasswordInput!, $verificationCode: String) {
1093
1093
  resetPassword(input: $input, verificationCode: $verificationCode) {
1094
1094
  ... on AccountNotFoundError {
@@ -1099,11 +1099,11 @@ const It = i`
1099
1099
  }
1100
1100
  }
1101
1101
  }
1102
- `, Wt = i`
1102
+ `, qt = i`
1103
1103
  mutation DeleteMemberAccount($input: DeleteMemberAccountInput!) {
1104
1104
  deleteMemberAccount(input: $input)
1105
1105
  }
1106
- `, qt = i`
1106
+ `, Ut = i`
1107
1107
  mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {
1108
1108
  verifyMobileNumber(input: $input) {
1109
1109
  ... on InvalidSMSVerificationCodeError {
@@ -1114,7 +1114,7 @@ const It = i`
1114
1114
  }
1115
1115
  }
1116
1116
  }
1117
- `, Ut = i`
1117
+ `, $t = i`
1118
1118
  mutation CreateMemberVerification($input: CreateMemberVerificationInput!) {
1119
1119
  createMemberVerification(input: $input) {
1120
1120
  ... on FileDoesNotExistError {
@@ -1128,7 +1128,7 @@ const It = i`
1128
1128
  }
1129
1129
  }
1130
1130
  }
1131
- `, $t = i`
1131
+ `, Lt = i`
1132
1132
  mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {
1133
1133
  updateMemberVerification(input: $input) {
1134
1134
  ... on FileDoesNotExistError {
@@ -1145,7 +1145,7 @@ const It = i`
1145
1145
  }
1146
1146
  }
1147
1147
  }
1148
- `, Lt = i`
1148
+ `, Ft = i`
1149
1149
  query ProfileCompletion {
1150
1150
  profileCompletion {
1151
1151
  completionPercentage
@@ -1156,7 +1156,7 @@ const It = i`
1156
1156
  accountPassword
1157
1157
  }
1158
1158
  }
1159
- `, Ft = i`
1159
+ `, Ht = i`
1160
1160
  mutation SendVerificationCode($input: SendVerificationCodeInput!) {
1161
1161
  sendVerificationCode(input: $input) {
1162
1162
  ... on InvalidPlatformError {
@@ -1167,7 +1167,7 @@ const It = i`
1167
1167
  }
1168
1168
  }
1169
1169
  }
1170
- `, Ht = i`
1170
+ `, Vt = i`
1171
1171
  fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
1172
1172
  minimumAmount
1173
1173
  maximumAmount
@@ -1232,12 +1232,12 @@ const It = i`
1232
1232
  multiplier
1233
1233
  }
1234
1234
  }
1235
- `, Vt = i`
1235
+ `, Yt = i`
1236
1236
  query Platform {
1237
1237
  timezone
1238
1238
  currency
1239
1239
  }
1240
- `, Yt = i`
1240
+ `, Qt = i`
1241
1241
  fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
1242
1242
  minimumAmount
1243
1243
  maximumAmount
@@ -1297,7 +1297,7 @@ const It = i`
1297
1297
  ...WithdrawalGatewaySettingsCoreData
1298
1298
  }
1299
1299
  }
1300
- `, Qt = i`
1300
+ `, jt = i`
1301
1301
  query MayaSession($id: ObjectId!) {
1302
1302
  mayaSession(id: $id) {
1303
1303
  id
@@ -1305,11 +1305,11 @@ const It = i`
1305
1305
  dateTimeCreated
1306
1306
  }
1307
1307
  }
1308
- `, jt = i`
1308
+ `, Kt = i`
1309
1309
  mutation ValidateMayaSession {
1310
1310
  validateMayaSession: validMayaSession
1311
1311
  }
1312
- `, Kt = i`
1312
+ `, zt = i`
1313
1313
  query ActivityRecords($after: Cursor, $first: Int, $filter: ActivityRecordsFilterInput) {
1314
1314
  member {
1315
1315
  activityRecords(after: $after, first: $first, filter: $filter) {
@@ -1334,11 +1334,11 @@ const It = i`
1334
1334
  }
1335
1335
  }
1336
1336
  }
1337
- `, zt = i`
1337
+ `, Jt = i`
1338
1338
  query ReferralCode {
1339
1339
  referralCode
1340
1340
  }
1341
- `, Jt = i`
1341
+ `, Xt = i`
1342
1342
  mutation UpdateReferralCode($input: UpdateReferralCodeInput!) {
1343
1343
  updateReferralCode(input: $input) {
1344
1344
  ... on ReferralCodeNotAvailableError {
@@ -1364,7 +1364,7 @@ const It = i`
1364
1364
  commission
1365
1365
  dateTimeCreated
1366
1366
  }
1367
- `, Xt = i`
1367
+ `, Zt = i`
1368
1368
  query Referrals($first: Int, $after: Cursor, $filter: ReferralFilterInput) {
1369
1369
  member {
1370
1370
  referrals(first: $first, after: $after, filter: $filter) {
@@ -1386,7 +1386,7 @@ const It = i`
1386
1386
  }
1387
1387
 
1388
1388
  ${ve}
1389
- `, Zt = i`
1389
+ `, er = i`
1390
1390
  query UplinesByName($search: String!, $first: Int) {
1391
1391
  uplinesByName(search: $search, first: $first) {
1392
1392
  ...ReferralFragment
@@ -1394,7 +1394,7 @@ const It = i`
1394
1394
  }
1395
1395
 
1396
1396
  ${ve}
1397
- `, er = i`
1397
+ `, tr = i`
1398
1398
  query DownlinesByName($search: String!, $first: Int) {
1399
1399
  downlinesByName(search: $search, first: $first) {
1400
1400
  ...ReferralFragment
@@ -1402,7 +1402,7 @@ const It = i`
1402
1402
  }
1403
1403
 
1404
1404
  ${ve}
1405
- `, tr = i`
1405
+ `, rr = i`
1406
1406
  query ReferralCommission {
1407
1407
  member {
1408
1408
  referralCommission {
@@ -1421,13 +1421,13 @@ const It = i`
1421
1421
  }
1422
1422
  }
1423
1423
  }
1424
- `, rr = i`
1424
+ `, ar = i`
1425
1425
  query PointsClubSettings {
1426
1426
  pointsClubSettings {
1427
1427
  multiplier
1428
1428
  }
1429
1429
  }
1430
- `, ar = i`
1430
+ `, nr = i`
1431
1431
  query Messages($first: Int, $after: Cursor, $filter: MessageFilterInput) {
1432
1432
  messages(first: $first, after: $after, filter: $filter) {
1433
1433
  edges {
@@ -1457,21 +1457,21 @@ const It = i`
1457
1457
  }
1458
1458
  }
1459
1459
  }
1460
- `, nr = i`
1460
+ `, or = i`
1461
1461
  query UnreadMessagesCount($filter: MessageFilterInput) {
1462
1462
  messages(filter: $filter) {
1463
1463
  totalCount
1464
1464
  }
1465
1465
  }
1466
- `, or = i`
1466
+ `, ir = i`
1467
1467
  mutation MarkMessageAsRead($id: ObjectId!) {
1468
1468
  markMessageAsRead(id: $id)
1469
1469
  }
1470
- `, ir = i`
1470
+ `, sr = i`
1471
1471
  mutation MarkAllMessageAsRead {
1472
1472
  markAllMessageAsRead
1473
1473
  }
1474
- `, sr = i`
1474
+ `, mr = i`
1475
1475
  mutation ClaimReward($id: ObjectId!) {
1476
1476
  claimReward(id: $id) {
1477
1477
  ... on RewardAlreadyClaimedError {
@@ -1482,7 +1482,7 @@ const It = i`
1482
1482
  }
1483
1483
  }
1484
1484
  }
1485
- `, mr = i`
1485
+ `, cr = i`
1486
1486
  mutation ClaimSpotBonus($code: String!) {
1487
1487
  claimSpotBonus(code: $code) {
1488
1488
  ... on InvalidPromoCodeError {
@@ -1500,15 +1500,15 @@ const It = i`
1500
1500
  query OnboardingStatus {
1501
1501
  onboardingStatus
1502
1502
  }
1503
- `, cr = i`
1503
+ `, dr = i`
1504
1504
  mutation CompleteOnboarding($input: CompleteOnboardingInput!) {
1505
1505
  completeOnboarding(input: $input)
1506
1506
  }
1507
- `, dr = i`
1507
+ `, lr = i`
1508
1508
  mutation SkipOnboarding {
1509
1509
  skipOnboarding
1510
1510
  }
1511
- `, lr = i`
1511
+ `, pr = i`
1512
1512
  query AvailableQuests {
1513
1513
  availableQuests {
1514
1514
  id
@@ -1592,21 +1592,21 @@ function l(o) {
1592
1592
  }[o]
1593
1593
  };
1594
1594
  }
1595
- class pr {
1595
+ class fr {
1596
1596
  constructor(e) {
1597
1597
  d(this, "client");
1598
1598
  this.client = e;
1599
1599
  }
1600
1600
  /** aka `Query.self` */
1601
1601
  async memberAccount() {
1602
- const e = await this.client.request(It);
1602
+ const e = await this.client.request(Nt);
1603
1603
  return e.ok ? {
1604
1604
  ok: !0,
1605
1605
  data: e.data.memberAccount
1606
1606
  } : e;
1607
1607
  }
1608
1608
  async registerMemberAccount(e) {
1609
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(Pt, r, {
1609
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(Gt, r, {
1610
1610
  headers: {
1611
1611
  ...t && {
1612
1612
  [C]: t
@@ -1621,7 +1621,7 @@ class pr {
1621
1621
  } : a;
1622
1622
  }
1623
1623
  async registerMemberAccountViaMobile(e) {
1624
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(Gt, r, {
1624
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(vt, r, {
1625
1625
  headers: {
1626
1626
  ...t && {
1627
1627
  [C]: t
@@ -1636,7 +1636,7 @@ class pr {
1636
1636
  } : a;
1637
1637
  }
1638
1638
  async registerMemberAccount__next(e) {
1639
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(vt, r, {
1639
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(Bt, r, {
1640
1640
  headers: {
1641
1641
  ...t && {
1642
1642
  [C]: t
@@ -1651,7 +1651,7 @@ class pr {
1651
1651
  } : a;
1652
1652
  }
1653
1653
  async updateMemberAccount(e) {
1654
- const t = await this.client.request(Ot, e);
1654
+ const t = await this.client.request(xt, e);
1655
1655
  return t.ok ? t.data.updateMemberAccount ? {
1656
1656
  ok: !1,
1657
1657
  error: l(t.data.updateMemberAccount.__typename)
@@ -1660,7 +1660,7 @@ class pr {
1660
1660
  } : t;
1661
1661
  }
1662
1662
  async deleteMemberAccount(e) {
1663
- const t = await this.client.request(Wt, e);
1663
+ const t = await this.client.request(qt, e);
1664
1664
  return t.ok ? t.data.deleteMemberAccount ? {
1665
1665
  ok: !0
1666
1666
  } : {
@@ -1673,7 +1673,7 @@ class pr {
1673
1673
  }
1674
1674
  async resetPassword(e) {
1675
1675
  const t = await this.client.request(
1676
- xt,
1676
+ Wt,
1677
1677
  e
1678
1678
  );
1679
1679
  return t.ok ? t.data.resetPassword ? {
@@ -1684,16 +1684,16 @@ class pr {
1684
1684
  } : t;
1685
1685
  }
1686
1686
  async profileCompletion() {
1687
- const e = await this.client.request(Lt);
1687
+ const e = await this.client.request(Ft);
1688
1688
  return e.ok ? { ok: !0, data: e.data.profileCompletion } : e;
1689
1689
  }
1690
1690
  /** @deprecated */
1691
1691
  async platform() {
1692
- return await this.client.request(Ht);
1692
+ return await this.client.request(Vt);
1693
1693
  }
1694
1694
  /** @deprecated */
1695
1695
  async sendVerificationCode(e) {
1696
- const t = await this.client.request(Ft, e);
1696
+ const t = await this.client.request(Ht, e);
1697
1697
  return t.ok ? t.data.sendVerificationCode ? {
1698
1698
  ok: !1,
1699
1699
  error: l(t.data.sendVerificationCode.__typename)
@@ -1702,10 +1702,10 @@ class pr {
1702
1702
  } : t;
1703
1703
  }
1704
1704
  async paymentSettings() {
1705
- return await this.client.request(Yt);
1705
+ return await this.client.request(Qt);
1706
1706
  }
1707
1707
  async verifyMobileNumber(e) {
1708
- const t = await this.client.request(qt, e);
1708
+ const t = await this.client.request(Ut, e);
1709
1709
  return t.ok ? t.data.verifyMobileNumber ? {
1710
1710
  ok: !1,
1711
1711
  error: l(t.data.verifyMobileNumber.__typename)
@@ -1714,7 +1714,7 @@ class pr {
1714
1714
  } : t;
1715
1715
  }
1716
1716
  async createMemberVerification(e) {
1717
- const t = await this.client.request(Ut, e);
1717
+ const t = await this.client.request($t, e);
1718
1718
  return t.ok ? t.data.createMemberVerification ? {
1719
1719
  ok: !1,
1720
1720
  error: l(t.data.createMemberVerification.__typename)
@@ -1723,7 +1723,7 @@ class pr {
1723
1723
  } : t;
1724
1724
  }
1725
1725
  async updateMemberVerification(e) {
1726
- const t = await this.client.request($t, e);
1726
+ const t = await this.client.request(Lt, e);
1727
1727
  return t.ok ? t.data.updateMemberVerification ? {
1728
1728
  ok: !1,
1729
1729
  error: l(t.data.updateMemberVerification.__typename)
@@ -1732,7 +1732,7 @@ class pr {
1732
1732
  } : t;
1733
1733
  }
1734
1734
  async memberVerification() {
1735
- const e = await this.client.request(Nt);
1735
+ const e = await this.client.request(Pt);
1736
1736
  return e.ok ? {
1737
1737
  ok: !0,
1738
1738
  data: e.data.memberAccount.verification
@@ -1740,7 +1740,7 @@ class pr {
1740
1740
  }
1741
1741
  async announcements(e) {
1742
1742
  const t = await this.client.request(
1743
- tt,
1743
+ rt,
1744
1744
  e
1745
1745
  );
1746
1746
  return t.ok ? {
@@ -1749,7 +1749,7 @@ class pr {
1749
1749
  } : t;
1750
1750
  }
1751
1751
  async registerMayaMemberAccount(e) {
1752
- const t = await this.client.request(Bt, e);
1752
+ const t = await this.client.request(Ot, e);
1753
1753
  return t.ok ? t.data.registerMayaMemberAccount ? {
1754
1754
  ok: !1,
1755
1755
  error: l(t.data.registerMayaMemberAccount.__typename)
@@ -1758,14 +1758,14 @@ class pr {
1758
1758
  } : t;
1759
1759
  }
1760
1760
  async referralCode() {
1761
- const e = await this.client.request(zt);
1761
+ const e = await this.client.request(Jt);
1762
1762
  return e.ok ? {
1763
1763
  ok: !0,
1764
1764
  data: e.data.referralCode
1765
1765
  } : e;
1766
1766
  }
1767
1767
  async updateReferralCode(e) {
1768
- const t = await this.client.request(Jt, e);
1768
+ const t = await this.client.request(Xt, e);
1769
1769
  return t.ok ? t.data.updateReferralCode ? {
1770
1770
  ok: !1,
1771
1771
  error: l(t.data.updateReferralCode.__typename)
@@ -1774,7 +1774,7 @@ class pr {
1774
1774
  } : t;
1775
1775
  }
1776
1776
  async pointsClubSettings() {
1777
- const e = await this.client.request(rr);
1777
+ const e = await this.client.request(ar);
1778
1778
  return e.ok ? { ok: !0, data: e.data.pointsClubSettings } : e;
1779
1779
  }
1780
1780
  }
@@ -1794,7 +1794,7 @@ const Ne = {
1794
1794
  429: { name: "HttpTooManyRequests", message: "Too Many Requests" },
1795
1795
  500: { name: "HttpInternalServerError", message: "Internal Server Error" }
1796
1796
  };
1797
- class fr {
1797
+ class wr {
1798
1798
  constructor(e) {
1799
1799
  d(this, "url");
1800
1800
  d(this, "options");
@@ -1972,7 +1972,7 @@ class fr {
1972
1972
  }
1973
1973
  }
1974
1974
  }
1975
- class wr {
1975
+ class yr {
1976
1976
  constructor(e) {
1977
1977
  d(this, "url");
1978
1978
  d(this, "siteId");
@@ -1987,9 +1987,9 @@ class wr {
1987
1987
  } : e;
1988
1988
  }
1989
1989
  async games(e) {
1990
- var a, m, s, u, c, p, w, f, b, k, T, _, R, D, y, M, I, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H;
1990
+ var a, m, s, c, u, p, w, f, b, k, T, _, R, D, y, M, I, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H;
1991
1991
  const t = new URLSearchParams();
1992
- e != null && e.first && t.set("first", e.first.toString()), e != null && e.after && t.set("after", e.after), e != null && e.search && t.set("search", e.search), (m = (a = e == null ? void 0 : e.filter) == null ? void 0 : a.type) != null && m.equal && t.set("filter[type][eq]", e.filter.type.equal), (u = (s = e == null ? void 0 : e.filter) == null ? void 0 : s.type) != null && u.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (p = (c = e == null ? void 0 : e.filter) == null ? void 0 : c.type) != null && p.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (f = (w = e == null ? void 0 : e.filter) == null ? void 0 : w.type) != null && f.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (k = (b = e == null ? void 0 : e.filter) == null ? void 0 : b.provider) != null && k.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (_ = (T = e == null ? void 0 : e.filter) == null ? void 0 : T.provider) != null && _.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (D = (R = e == null ? void 0 : e.filter) == null ? void 0 : R.provider) != null && D.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (M = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && M.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (I = e == null ? void 0 : e.filter) == null ? void 0 : I.tags) != null && A.equal && t.set("filter[tags][eq]", e.filter.tags.equal.toLowerCase()), (P = (N = e == null ? void 0 : e.filter) == null ? void 0 : N.tags) != null && P.notEqual && t.set("filter[tags][neq]", e.filter.tags.notEqual.toLowerCase()), (v = (G = e == null ? void 0 : e.filter) == null ? void 0 : G.tags) != null && v.in && t.set(
1992
+ e != null && e.first && t.set("first", e.first.toString()), e != null && e.after && t.set("after", e.after), e != null && e.search && t.set("search", e.search), (m = (a = e == null ? void 0 : e.filter) == null ? void 0 : a.type) != null && m.equal && t.set("filter[type][eq]", e.filter.type.equal), (c = (s = e == null ? void 0 : e.filter) == null ? void 0 : s.type) != null && c.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (p = (u = e == null ? void 0 : e.filter) == null ? void 0 : u.type) != null && p.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (f = (w = e == null ? void 0 : e.filter) == null ? void 0 : w.type) != null && f.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (k = (b = e == null ? void 0 : e.filter) == null ? void 0 : b.provider) != null && k.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (_ = (T = e == null ? void 0 : e.filter) == null ? void 0 : T.provider) != null && _.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (D = (R = e == null ? void 0 : e.filter) == null ? void 0 : R.provider) != null && D.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (M = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && M.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (I = e == null ? void 0 : e.filter) == null ? void 0 : I.tags) != null && A.equal && t.set("filter[tags][eq]", e.filter.tags.equal.toLowerCase()), (P = (N = e == null ? void 0 : e.filter) == null ? void 0 : N.tags) != null && P.notEqual && t.set("filter[tags][neq]", e.filter.tags.notEqual.toLowerCase()), (v = (G = e == null ? void 0 : e.filter) == null ? void 0 : G.tags) != null && v.in && t.set(
1993
1993
  "filter[tags][in]",
1994
1994
  e.filter.tags.in.map((h) => h.toLowerCase()).join(",")
1995
1995
  ), (B = (E = e == null ? void 0 : e.filter) == null ? void 0 : E.tags) != null && B.notIn && t.set(
@@ -2013,9 +2013,9 @@ class wr {
2013
2013
  } : r;
2014
2014
  }
2015
2015
  async games__next(e) {
2016
- var a, m, s, u, c, p, w, f, b, k, T, _, R, D, y, M, I, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H;
2016
+ var a, m, s, c, u, p, w, f, b, k, T, _, R, D, y, M, I, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H;
2017
2017
  const t = new URLSearchParams();
2018
- e != null && e.first && t.set("first", e.first.toString()), e != null && e.after && t.set("after", e.after), e != null && e.search && t.set("search", e.search), (m = (a = e == null ? void 0 : e.filter) == null ? void 0 : a.type) != null && m.equal && t.set("filter[type][eq]", e.filter.type.equal), (u = (s = e == null ? void 0 : e.filter) == null ? void 0 : s.type) != null && u.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (p = (c = e == null ? void 0 : e.filter) == null ? void 0 : c.type) != null && p.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (f = (w = e == null ? void 0 : e.filter) == null ? void 0 : w.type) != null && f.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (k = (b = e == null ? void 0 : e.filter) == null ? void 0 : b.provider) != null && k.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (_ = (T = e == null ? void 0 : e.filter) == null ? void 0 : T.provider) != null && _.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (D = (R = e == null ? void 0 : e.filter) == null ? void 0 : R.provider) != null && D.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (M = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && M.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (I = e == null ? void 0 : e.filter) == null ? void 0 : I.tags) != null && A.equal && t.set("filter[tags][eq]", e.filter.tags.equal.toLowerCase()), (P = (N = e == null ? void 0 : e.filter) == null ? void 0 : N.tags) != null && P.notEqual && t.set("filter[tags][neq]", e.filter.tags.notEqual.toLowerCase()), (v = (G = e == null ? void 0 : e.filter) == null ? void 0 : G.tags) != null && v.in && t.set(
2018
+ e != null && e.first && t.set("first", e.first.toString()), e != null && e.after && t.set("after", e.after), e != null && e.search && t.set("search", e.search), (m = (a = e == null ? void 0 : e.filter) == null ? void 0 : a.type) != null && m.equal && t.set("filter[type][eq]", e.filter.type.equal), (c = (s = e == null ? void 0 : e.filter) == null ? void 0 : s.type) != null && c.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (p = (u = e == null ? void 0 : e.filter) == null ? void 0 : u.type) != null && p.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (f = (w = e == null ? void 0 : e.filter) == null ? void 0 : w.type) != null && f.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (k = (b = e == null ? void 0 : e.filter) == null ? void 0 : b.provider) != null && k.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (_ = (T = e == null ? void 0 : e.filter) == null ? void 0 : T.provider) != null && _.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (D = (R = e == null ? void 0 : e.filter) == null ? void 0 : R.provider) != null && D.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (M = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && M.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (I = e == null ? void 0 : e.filter) == null ? void 0 : I.tags) != null && A.equal && t.set("filter[tags][eq]", e.filter.tags.equal.toLowerCase()), (P = (N = e == null ? void 0 : e.filter) == null ? void 0 : N.tags) != null && P.notEqual && t.set("filter[tags][neq]", e.filter.tags.notEqual.toLowerCase()), (v = (G = e == null ? void 0 : e.filter) == null ? void 0 : G.tags) != null && v.in && t.set(
2019
2019
  "filter[tags][in]",
2020
2020
  e.filter.tags.in.map((h) => h.toLowerCase()).join(",")
2021
2021
  ), (B = (E = e == null ? void 0 : e.filter) == null ? void 0 : E.tags) != null && B.notIn && t.set(
@@ -2076,20 +2076,20 @@ class wr {
2076
2076
  }
2077
2077
  }
2078
2078
  }
2079
- class yr {
2079
+ class hr {
2080
2080
  constructor(e) {
2081
2081
  d(this, "client");
2082
2082
  this.client = e;
2083
2083
  }
2084
2084
  async file(e) {
2085
- const t = await this.client.request(je, e);
2085
+ const t = await this.client.request(Ke, e);
2086
2086
  return t.ok ? {
2087
2087
  ok: !0,
2088
2088
  data: t.data.node
2089
2089
  } : t;
2090
2090
  }
2091
2091
  async uploadPrivateImageFile(e) {
2092
- const t = await this.client.upload(Ke, e);
2092
+ const t = await this.client.upload(ze, e);
2093
2093
  return t.ok ? t.data.uploadPrivateImageFile ? {
2094
2094
  ok: !1,
2095
2095
  error: l(t.data.uploadPrivateImageFile.__typename)
@@ -2098,14 +2098,14 @@ class yr {
2098
2098
  } : t;
2099
2099
  }
2100
2100
  }
2101
- class hr {
2101
+ class gr {
2102
2102
  constructor(e) {
2103
2103
  d(this, "client");
2104
2104
  this.client = e;
2105
2105
  }
2106
2106
  async gameSession(e) {
2107
2107
  const t = await this.client.request(
2108
- Ue.legacy,
2108
+ $e.legacy,
2109
2109
  e
2110
2110
  );
2111
2111
  return t.ok ? {
@@ -2114,7 +2114,7 @@ class hr {
2114
2114
  } : t;
2115
2115
  }
2116
2116
  async createGameSession(e) {
2117
- const t = await this.client.request($e, e);
2117
+ const t = await this.client.request(Le, e);
2118
2118
  return t.ok ? t.data.createGameSession ? {
2119
2119
  ok: !1,
2120
2120
  error: l(t.data.createGameSession.__typename)
@@ -2123,7 +2123,7 @@ class hr {
2123
2123
  } : t;
2124
2124
  }
2125
2125
  async endGameSession(e) {
2126
- const t = await this.client.request(Le.legacy, e);
2126
+ const t = await this.client.request(Fe.legacy, e);
2127
2127
  return t.ok ? t.data.endGameSession ? {
2128
2128
  ok: !1,
2129
2129
  error: {
@@ -2135,27 +2135,27 @@ class hr {
2135
2135
  } : t;
2136
2136
  }
2137
2137
  }
2138
- class gr {
2138
+ class Ar {
2139
2139
  constructor(e) {
2140
2140
  d(this, "client");
2141
2141
  this.client = e;
2142
2142
  }
2143
2143
  async latestBetRecords() {
2144
- const e = await this.client.request(At);
2144
+ const e = await this.client.request(Et);
2145
2145
  return e.ok ? {
2146
2146
  ok: !0,
2147
2147
  data: e.data.latestBetRecords
2148
2148
  } : e;
2149
2149
  }
2150
2150
  async platform() {
2151
- const e = await this.client.request(Vt);
2151
+ const e = await this.client.request(Yt);
2152
2152
  return e.ok ? {
2153
2153
  ok: !0,
2154
2154
  data: e.data
2155
2155
  } : e;
2156
2156
  }
2157
2157
  async recommendedGames() {
2158
- const e = await this.client.request(et);
2158
+ const e = await this.client.request(tt);
2159
2159
  return e.ok ? {
2160
2160
  ok: !0,
2161
2161
  data: e.data.recommendedGames
@@ -2166,7 +2166,7 @@ class gr {
2166
2166
  return e.ok ? { ok: e.ok, data: e.data.onboardingStatus ?? [] } : e;
2167
2167
  }
2168
2168
  async completeOnboarding(e) {
2169
- const t = await this.client.request(cr, e);
2169
+ const t = await this.client.request(dr, e);
2170
2170
  return t.ok ? t.data.completeOnboarding ? {
2171
2171
  ok: !0
2172
2172
  } : {
@@ -2178,7 +2178,7 @@ class gr {
2178
2178
  } : t;
2179
2179
  }
2180
2180
  async skipOnboarding() {
2181
- const e = await this.client.request(dr);
2181
+ const e = await this.client.request(lr);
2182
2182
  return e.ok ? e.data.skipOnboarding ? {
2183
2183
  ok: !0
2184
2184
  } : {
@@ -2190,99 +2190,99 @@ class gr {
2190
2190
  } : e;
2191
2191
  }
2192
2192
  }
2193
- class Ar {
2193
+ class Er {
2194
2194
  constructor(e) {
2195
2195
  d(this, "client");
2196
2196
  this.client = e;
2197
2197
  }
2198
2198
  async betRecords(e) {
2199
2199
  const t = await this.client.request(
2200
- gt,
2200
+ At,
2201
2201
  e
2202
2202
  );
2203
2203
  return t.ok ? { ok: t.ok, data: t.data.member.betRecords } : t;
2204
2204
  }
2205
2205
  async transactionRecords(e) {
2206
- const t = await this.client.request(Et, e);
2206
+ const t = await this.client.request(St, e);
2207
2207
  return t.ok ? { ok: t.ok, data: t.data.member.transactionRecords } : t;
2208
2208
  }
2209
2209
  async withdrawalRecords(e) {
2210
2210
  const t = await this.client.request(
2211
- rt,
2211
+ at,
2212
2212
  e
2213
2213
  );
2214
2214
  return t.ok ? { ok: t.ok, data: t.data.member.withdrawalRecords } : t;
2215
2215
  }
2216
2216
  async depositRecords(e) {
2217
2217
  const t = await this.client.request(
2218
- ct,
2218
+ dt,
2219
2219
  e
2220
2220
  );
2221
2221
  return t.ok ? { ok: t.ok, data: t.data.member.depositRecords } : t;
2222
2222
  }
2223
2223
  async depositsCount() {
2224
- const e = await this.client.request(ht);
2224
+ const e = await this.client.request(gt);
2225
2225
  return e.ok ? { ok: e.ok, data: e.data.member.depositsCount } : e;
2226
2226
  }
2227
2227
  async pointsWalletTransactions(e) {
2228
- const t = await this.client.request(Ze, e);
2228
+ const t = await this.client.request(et, e);
2229
2229
  return t.ok ? { ok: t.ok, data: t.data.member.pointsWalletTransactions } : t;
2230
2230
  }
2231
2231
  async activityRecords(e) {
2232
2232
  const t = await this.client.request(
2233
- Kt,
2233
+ zt,
2234
2234
  e
2235
2235
  );
2236
2236
  return t.ok ? { ok: t.ok, data: t.data.member.activityRecords } : t;
2237
2237
  }
2238
2238
  async referrals(e) {
2239
2239
  const t = await this.client.request(
2240
- Xt,
2240
+ Zt,
2241
2241
  e
2242
2242
  );
2243
2243
  return t.ok ? { ok: t.ok, data: t.data.member.referrals } : t;
2244
2244
  }
2245
2245
  async referralCommission() {
2246
- const e = await this.client.request(tr);
2246
+ const e = await this.client.request(rr);
2247
2247
  return e.ok ? { ok: e.ok, data: e.data.member.referralCommission } : e;
2248
2248
  }
2249
2249
  async uplinesByName(e) {
2250
2250
  const t = await this.client.request(
2251
- Zt,
2251
+ er,
2252
2252
  e
2253
2253
  );
2254
2254
  return t.ok ? { ok: t.ok, data: t.data.uplinesByName } : t;
2255
2255
  }
2256
2256
  async downlinesByName(e) {
2257
2257
  const t = await this.client.request(
2258
- er,
2258
+ tr,
2259
2259
  e
2260
2260
  );
2261
2261
  return t.ok ? { ok: t.ok, data: t.data.downlinesByName } : t;
2262
2262
  }
2263
2263
  async promoByCode(e) {
2264
2264
  const t = await this.client.request(
2265
- kt,
2265
+ Tt,
2266
2266
  e
2267
2267
  );
2268
2268
  return t.ok ? { ok: t.ok, data: t.data.promoByCode } : t;
2269
2269
  }
2270
2270
  }
2271
- class Er {
2271
+ class Sr {
2272
2272
  constructor(e) {
2273
2273
  d(this, "client");
2274
2274
  this.client = e;
2275
2275
  }
2276
2276
  async messages(e) {
2277
2277
  const t = await this.client.request(
2278
- ar,
2278
+ nr,
2279
2279
  e
2280
2280
  );
2281
2281
  return t.ok ? { ok: t.ok, data: t.data.messages } : t;
2282
2282
  }
2283
2283
  async unreadMessagesCount(e) {
2284
2284
  const t = await this.client.request(
2285
- nr,
2285
+ or,
2286
2286
  {
2287
2287
  ...e,
2288
2288
  filter: {
@@ -2296,7 +2296,7 @@ class Er {
2296
2296
  return t.ok ? { ok: t.ok, data: t.data.messages.totalCount } : t;
2297
2297
  }
2298
2298
  async markMessageAsRead(e) {
2299
- const t = await this.client.request(or, e);
2299
+ const t = await this.client.request(ir, e);
2300
2300
  return t.ok ? t.data.markMessageAsRead ? {
2301
2301
  ok: !0
2302
2302
  } : {
@@ -2309,7 +2309,7 @@ class Er {
2309
2309
  }
2310
2310
  async markAllMessageAsRead() {
2311
2311
  const e = await this.client.request(
2312
- ir
2312
+ sr
2313
2313
  );
2314
2314
  return e.ok ? e.data.markAllMessageAsRead ? {
2315
2315
  ok: !0
@@ -2323,7 +2323,7 @@ class Er {
2323
2323
  }
2324
2324
  async claimReward(e) {
2325
2325
  const t = await this.client.request(
2326
- sr,
2326
+ mr,
2327
2327
  e
2328
2328
  );
2329
2329
  return t.ok ? t.data.claimReward ? {
@@ -2334,39 +2334,39 @@ class Er {
2334
2334
  } : t;
2335
2335
  }
2336
2336
  async availableQuests() {
2337
- const e = await this.client.request(lr);
2337
+ const e = await this.client.request(pr);
2338
2338
  return e.ok ? {
2339
2339
  ok: !0,
2340
2340
  data: e.data.availableQuests
2341
2341
  } : e;
2342
2342
  }
2343
2343
  }
2344
- class Sr {
2344
+ class Cr {
2345
2345
  constructor(e) {
2346
2346
  d(this, "client");
2347
2347
  this.client = e;
2348
2348
  }
2349
2349
  async promos() {
2350
- const e = await this.client.request(St);
2350
+ const e = await this.client.request(Ct);
2351
2351
  return e.ok ? { ok: e.ok, data: e.data.promos } : e;
2352
2352
  }
2353
2353
  async cashbacks() {
2354
- const e = await this.client.request(Tt);
2354
+ const e = await this.client.request(_t);
2355
2355
  return e.ok ? { ok: e.ok, data: e.data.cashbacks } : e;
2356
2356
  }
2357
2357
  async availablePromos(e) {
2358
2358
  const t = await this.client.request(
2359
- Ct,
2359
+ bt,
2360
2360
  e
2361
2361
  );
2362
2362
  return t.ok ? { ok: t.ok, data: t.data.availablePromos } : t;
2363
2363
  }
2364
2364
  async cashbackBonuses() {
2365
- const e = await this.client.request(Dt);
2365
+ const e = await this.client.request(Mt);
2366
2366
  return e.ok ? { ok: e.ok, data: e.data.cashbackBonuses } : e;
2367
2367
  }
2368
2368
  async claimCashbackBonus(e) {
2369
- const t = await this.client.request(Mt, e);
2369
+ const t = await this.client.request(It, e);
2370
2370
  return t.ok ? t.data.claimCashbackBonus ? {
2371
2371
  ok: !1,
2372
2372
  error: l(t.data.claimCashbackBonus.__typename)
@@ -2378,22 +2378,22 @@ class Sr {
2378
2378
  };
2379
2379
  }
2380
2380
  async bonus() {
2381
- const e = await this.client.request(_t);
2381
+ const e = await this.client.request(Rt);
2382
2382
  return e.ok ? { ok: e.ok, data: e.data.bonus } : e;
2383
2383
  }
2384
2384
  async wallet() {
2385
- const e = await this.client.request(ze);
2385
+ const e = await this.client.request(Je);
2386
2386
  return e.ok ? { ok: e.ok, data: e.data.wallet } : e;
2387
2387
  }
2388
2388
  async deposit(e) {
2389
2389
  const t = await this.client.request(
2390
- yt,
2390
+ ht,
2391
2391
  e
2392
2392
  );
2393
2393
  return t.ok ? { ok: t.ok, data: t.data.node } : t;
2394
2394
  }
2395
2395
  async createGCashDeposit(e) {
2396
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(dt, r, {
2396
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(lt, r, {
2397
2397
  headers: {
2398
2398
  ...t && {
2399
2399
  [C]: t
@@ -2408,7 +2408,7 @@ class Sr {
2408
2408
  } : a;
2409
2409
  }
2410
2410
  async createMayaDeposit(e) {
2411
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(lt, r, {
2411
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(pt, r, {
2412
2412
  headers: {
2413
2413
  ...t && {
2414
2414
  [C]: t
@@ -2423,7 +2423,7 @@ class Sr {
2423
2423
  } : a;
2424
2424
  }
2425
2425
  async createAIOQRPHDeposit(e) {
2426
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(ft, r, {
2426
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(wt, r, {
2427
2427
  headers: {
2428
2428
  ...t && {
2429
2429
  [C]: t
@@ -2438,7 +2438,7 @@ class Sr {
2438
2438
  } : a;
2439
2439
  }
2440
2440
  async createAIOOnlineBankDeposit(e) {
2441
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(wt, r, {
2441
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(yt, r, {
2442
2442
  headers: {
2443
2443
  ...t && {
2444
2444
  [C]: t
@@ -2453,7 +2453,7 @@ class Sr {
2453
2453
  } : a;
2454
2454
  }
2455
2455
  async createMayaAppDeposit(e) {
2456
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(pt, r, {
2456
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(ft, r, {
2457
2457
  headers: {
2458
2458
  ...t && {
2459
2459
  [C]: t
@@ -2468,7 +2468,7 @@ class Sr {
2468
2468
  } : a;
2469
2469
  }
2470
2470
  async createGCashWithdrawal(e) {
2471
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(at, r, {
2471
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(nt, r, {
2472
2472
  headers: {
2473
2473
  ...t && {
2474
2474
  [C]: t
@@ -2483,7 +2483,7 @@ class Sr {
2483
2483
  } : a;
2484
2484
  }
2485
2485
  async createMayaWithdrawal(e) {
2486
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(nt, r, {
2486
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(ot, r, {
2487
2487
  headers: {
2488
2488
  ...t && {
2489
2489
  [C]: t
@@ -2498,7 +2498,7 @@ class Sr {
2498
2498
  } : a;
2499
2499
  }
2500
2500
  async createMayaAppWithdrawal(e) {
2501
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(ot, r, {
2501
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(it, r, {
2502
2502
  headers: {
2503
2503
  ...t && {
2504
2504
  [C]: t
@@ -2513,7 +2513,7 @@ class Sr {
2513
2513
  } : a;
2514
2514
  }
2515
2515
  async createBankWithdrawal(e) {
2516
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(it, r, {
2516
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(st, r, {
2517
2517
  headers: {
2518
2518
  ...t && {
2519
2519
  [C]: t
@@ -2528,7 +2528,7 @@ class Sr {
2528
2528
  } : a;
2529
2529
  }
2530
2530
  async createAIOInstapayWithdrawal(e) {
2531
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(st, r, {
2531
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(mt, r, {
2532
2532
  headers: {
2533
2533
  ...t && {
2534
2534
  [C]: t
@@ -2543,7 +2543,7 @@ class Sr {
2543
2543
  } : a;
2544
2544
  }
2545
2545
  async instapayBankList() {
2546
- const e = await this.client.request(mt);
2546
+ const e = await this.client.request(ct);
2547
2547
  return e.ok ? { ok: e.ok, data: e.data.instapayBankList } : e;
2548
2548
  }
2549
2549
  async remainingDailyWithdrawalsCount() {
@@ -2553,11 +2553,11 @@ class Sr {
2553
2553
  return e.ok ? { ok: e.ok, data: e.data.remainingDailyWithdrawalsCount } : e;
2554
2554
  }
2555
2555
  async pointsWallet() {
2556
- const e = await this.client.request(Je);
2556
+ const e = await this.client.request(Xe);
2557
2557
  return e.ok ? { ok: e.ok, data: e.data.pointsWallet } : e;
2558
2558
  }
2559
2559
  async redeemPointsToCash(e) {
2560
- const t = await this.client.request(Xe, e);
2560
+ const t = await this.client.request(Ze, e);
2561
2561
  return t.ok ? t.data.redeemPointsToCash ? {
2562
2562
  ok: !1,
2563
2563
  error: l(t.data.redeemPointsToCash.__typename)
@@ -2567,20 +2567,20 @@ class Sr {
2567
2567
  }
2568
2568
  async mayaSession(e) {
2569
2569
  const t = await this.client.request(
2570
- Qt,
2570
+ jt,
2571
2571
  e
2572
2572
  );
2573
2573
  return t.ok ? { ok: t.ok, data: t.data.mayaSession } : t;
2574
2574
  }
2575
2575
  async gameSession(e) {
2576
2576
  const t = await this.client.request(
2577
- Ue.current,
2577
+ $e.current,
2578
2578
  e
2579
2579
  );
2580
2580
  return t.ok ? { ok: !0, data: t.data.node } : t;
2581
2581
  }
2582
2582
  async createGameSession(e) {
2583
- const t = await this.client.request($e, e);
2583
+ const t = await this.client.request(Le, e);
2584
2584
  return t.ok ? t.data.createGameSession ? {
2585
2585
  ok: !1,
2586
2586
  error: l(t.data.createGameSession.__typename)
@@ -2590,7 +2590,7 @@ class Sr {
2590
2590
  }
2591
2591
  async endGameSession(e) {
2592
2592
  const t = await this.client.request(
2593
- Le.current,
2593
+ Fe.current,
2594
2594
  e
2595
2595
  );
2596
2596
  return t.ok ? t.data.endGameSession ? {
@@ -2605,7 +2605,7 @@ class Sr {
2605
2605
  }
2606
2606
  async validateMayaSession() {
2607
2607
  const e = await this.client.request(
2608
- jt
2608
+ Kt
2609
2609
  );
2610
2610
  return e.ok ? e.data.validateMayaSession ? {
2611
2611
  ok: !0
@@ -2618,12 +2618,12 @@ class Sr {
2618
2618
  } : e;
2619
2619
  }
2620
2620
  async bonuses() {
2621
- const e = await this.client.request(Rt);
2621
+ const e = await this.client.request(Dt);
2622
2622
  return e.ok ? { ok: e.ok, data: e.data.bonuses ?? [] } : e;
2623
2623
  }
2624
2624
  async claimSpotBonus(e) {
2625
2625
  const t = await this.client.request(
2626
- mr,
2626
+ cr,
2627
2627
  e
2628
2628
  );
2629
2629
  return t.ok ? t.data.claimSpotBonus ? {
@@ -2647,7 +2647,7 @@ function j(o, e) {
2647
2647
  function Pe(o, e) {
2648
2648
  return o.getTime() > e.getTime();
2649
2649
  }
2650
- class Cr {
2650
+ class br {
2651
2651
  constructor(e) {
2652
2652
  d(this, "config");
2653
2653
  d(this, "cache");
@@ -2668,18 +2668,18 @@ class Cr {
2668
2668
  return !t || Pe(/* @__PURE__ */ new Date(), t.validUntil) ? null : t.value;
2669
2669
  }
2670
2670
  }
2671
- function br(o, e, t) {
2671
+ function kr(o, e, t) {
2672
2672
  return o < e ? e : o > t ? t : o;
2673
2673
  }
2674
2674
  function Ge(o) {
2675
2675
  return Object.prototype.toString.call(o) === "[object Object]" && Object(o) === o;
2676
2676
  }
2677
- function kr(o) {
2677
+ function Tr(o) {
2678
2678
  const e = [];
2679
2679
  function t(r, a = []) {
2680
2680
  for (const m in r) {
2681
2681
  const s = r[m];
2682
- Ge(s) ? t(s, [...a, m]) : Array.isArray(s) ? t(Tr(s), [...a, m]) : e.push({
2682
+ Ge(s) ? t(s, [...a, m]) : Array.isArray(s) ? t(_r(s), [...a, m]) : e.push({
2683
2683
  key: [...a, m],
2684
2684
  value: s
2685
2685
  });
@@ -2687,7 +2687,7 @@ function kr(o) {
2687
2687
  }
2688
2688
  return t(o), e;
2689
2689
  }
2690
- function Tr(o) {
2690
+ function _r(o) {
2691
2691
  return o.reduce((e, t, r) => (e[r] = t, e), {});
2692
2692
  }
2693
2693
  class K {
@@ -2705,10 +2705,10 @@ class K {
2705
2705
  variables: t
2706
2706
  }), s = new Headers(a.headers);
2707
2707
  s.set("Content-Type", "application/json"), s.set("Accept", "application/json");
2708
- const u = new URL(this.url), c = xe(e);
2709
- c && u.searchParams.set(`_${c.type}`, c.name);
2708
+ const c = new URL(this.url), u = xe(e);
2709
+ u && c.searchParams.set(`_${u.type}`, u.name);
2710
2710
  const p = await this.runMiddlewares(
2711
- new Request(u, {
2711
+ new Request(c, {
2712
2712
  ...a,
2713
2713
  body: m,
2714
2714
  headers: s,
@@ -2721,10 +2721,10 @@ class K {
2721
2721
  async upload(e, t, r) {
2722
2722
  const a = We(this.options, r), m = this.createUploadBody(e, t), s = new Headers(a.headers);
2723
2723
  s.delete("Content-Type");
2724
- const u = new URL(this.url), c = xe(e);
2725
- c && u.searchParams.set(`_${c.type}`, c.name);
2724
+ const c = new URL(this.url), u = xe(e);
2725
+ u && c.searchParams.set(`_${u.type}`, u.name);
2726
2726
  const p = await this.runMiddlewares(
2727
- new Request(u, {
2727
+ new Request(c, {
2728
2728
  ...a,
2729
2729
  body: m,
2730
2730
  headers: s,
@@ -2734,13 +2734,13 @@ class K {
2734
2734
  return await this.exec(p);
2735
2735
  }
2736
2736
  async exec(e) {
2737
- var t, r, a, m, s, u;
2737
+ var t, r, a, m, s, c;
2738
2738
  try {
2739
- const c = await fetch(e);
2740
- if (!c.ok)
2741
- return { ok: !1, error: g(c.status) };
2742
- const p = await c.json(), w = p.data, f = (t = p.errors) == null ? void 0 : t.at(0);
2743
- return f ? ((r = f.extensions) == null ? void 0 : r.code) === "FORBIDDEN" || ((a = f.extensions) == null ? void 0 : a.code) === "ACCESS_TOKEN_EXPIRED" ? { ok: !1, error: g(403, f.message) } : ((m = f.extensions) == null ? void 0 : m.code) === "UNAUTHORIZED" ? { ok: !1, error: g(401, f.message) } : ((s = f.extensions) == null ? void 0 : s.code) === "BAD_USER_INPUT" || ((u = f.extensions) == null ? void 0 : u.code) === "BAD_REQUEST" ? { ok: !1, error: g(400, f.message) } : {
2739
+ const u = await fetch(e);
2740
+ if (!u.ok)
2741
+ return { ok: !1, error: g(u.status) };
2742
+ const p = await u.json(), w = p.data, f = (t = p.errors) == null ? void 0 : t.at(0);
2743
+ return f ? ((r = f.extensions) == null ? void 0 : r.code) === "FORBIDDEN" || ((a = f.extensions) == null ? void 0 : a.code) === "ACCESS_TOKEN_EXPIRED" ? { ok: !1, error: g(403, f.message) } : ((m = f.extensions) == null ? void 0 : m.code) === "UNAUTHORIZED" ? { ok: !1, error: g(401, f.message) } : ((s = f.extensions) == null ? void 0 : s.code) === "BAD_USER_INPUT" || ((c = f.extensions) == null ? void 0 : c.code) === "BAD_REQUEST" ? { ok: !1, error: g(400, f.message) } : {
2744
2744
  ok: !1,
2745
2745
  error: g(500, f.message)
2746
2746
  } : {
@@ -2761,7 +2761,7 @@ class K {
2761
2761
  return t;
2762
2762
  }
2763
2763
  createUploadBody(e, t) {
2764
- const r = kr(t).filter(
2764
+ const r = Tr(t).filter(
2765
2765
  (s) => s.value instanceof File || s.value instanceof Blob
2766
2766
  ), a = new FormData();
2767
2767
  a.append(
@@ -2772,10 +2772,10 @@ class K {
2772
2772
  })
2773
2773
  );
2774
2774
  const m = {};
2775
- return r.forEach((s, u) => {
2776
- m[u.toString()] = [`variables.${s.key.join(".")}`];
2777
- }), a.append("map", JSON.stringify(m)), r.forEach((s, u) => {
2778
- a.append(u.toString(), s.value);
2775
+ return r.forEach((s, c) => {
2776
+ m[c.toString()] = [`variables.${s.key.join(".")}`];
2777
+ }), a.append("map", JSON.stringify(m)), r.forEach((s, c) => {
2778
+ a.append(c.toString(), s.value);
2779
2779
  }), a;
2780
2780
  }
2781
2781
  }
@@ -2789,30 +2789,41 @@ function We(o, e) {
2789
2789
  return o ? e ? {
2790
2790
  ...o,
2791
2791
  ...e,
2792
- headers: _r(o.headers, e.headers)
2792
+ headers: Rr(o.headers, e.headers)
2793
2793
  } : o ?? {} : e ?? {};
2794
2794
  }
2795
- function _r(o, e) {
2795
+ function Rr(o, e) {
2796
2796
  if (!o) return e;
2797
2797
  if (!e) return o;
2798
2798
  const t = new Headers();
2799
2799
  return new Headers(o).forEach((r, a) => t.append(a, r)), new Headers(e).forEach((r, a) => t.append(a, r)), t;
2800
2800
  }
2801
- function Rr(o) {
2801
+ function Dr(o) {
2802
2802
  return o === "INR" ? "en-IN" : o === "MYR" ? "en-MY" : o === "IDR" ? "en-ID" : o === "USD" ? "en-US" : "en-PH";
2803
2803
  }
2804
- function Dr(o) {
2804
+ function Mr(o) {
2805
2805
  return o === "en-IN" ? "+91" : o === "en-MY" ? "+60" : o === "en-ID" ? "+62" : o === "en-US" ? "+1" : "+63";
2806
2806
  }
2807
2807
  function V(o, e) {
2808
- const t = Dr(e);
2808
+ const t = Mr(e);
2809
2809
  return o.startsWith(t) ? o : o.startsWith(t.substring(1)) ? `+${o}` : o.startsWith("0") ? `${t}${o.substring(1)}` : `${t}${o}`;
2810
2810
  }
2811
2811
  async function S(o) {
2812
2812
  const e = new TextEncoder().encode(o), t = await crypto.subtle.digest("SHA-256", e);
2813
2813
  return Array.from(new Uint8Array(t)).map((m) => m.toString(16).padStart(2, "0")).join("");
2814
2814
  }
2815
- class He {
2815
+ const qe = [
2816
+ /**/
2817
+ "RTG",
2818
+ "DARWIN",
2819
+ "DRBINGO",
2820
+ "MEGABALL",
2821
+ "EVOLUTION",
2822
+ "EVOLUTION_NETENT",
2823
+ "EVOLUTION_REDTIGER",
2824
+ "HOLLYWOODTV"
2825
+ ];
2826
+ class Ve {
2816
2827
  constructor(e) {
2817
2828
  d(this, "enabled");
2818
2829
  this.enabled = (e == null ? void 0 : e.enabled) ?? !0;
@@ -2834,21 +2845,21 @@ function z(o, e) {
2834
2845
  const t = Be(o);
2835
2846
  return t.setDate(t.getDate() + e), t;
2836
2847
  }
2837
- function Ve(o) {
2848
+ function Ye(o) {
2838
2849
  return new Promise((e) => {
2839
2850
  setTimeout(e, o);
2840
2851
  });
2841
2852
  }
2842
- function qe(o, e) {
2853
+ function Ue(o, e) {
2843
2854
  const {
2844
2855
  until: t,
2845
2856
  interval: r = 1e3,
2846
2857
  maxAttempt: a = 3
2847
2858
  /**/
2848
2859
  } = e;
2849
- async function m(s, u) {
2850
- const c = u ?? a, p = await o(...s);
2851
- return t(p) ? p : c > 1 ? (await Ve(r * ((a - c) / 2)), m(s, c - 1)) : p;
2860
+ async function m(s, c) {
2861
+ const u = c ?? a, p = await o(...s);
2862
+ return t(p) ? p : u > 1 ? (await Ye(r * ((a - u) / 2)), m(s, u - 1)) : p;
2852
2863
  }
2853
2864
  return async (...s) => await m(s);
2854
2865
  }
@@ -2856,14 +2867,14 @@ function J(o, e) {
2856
2867
  const t = Be(o);
2857
2868
  return t.setMinutes(t.getMinutes() - e), t;
2858
2869
  }
2859
- class Mr {
2870
+ class Ir {
2860
2871
  constructor(e) {
2861
2872
  d(this, "logger");
2862
2873
  d(this, "storageKey", "session");
2863
2874
  d(this, "authService");
2864
2875
  d(this, "walletService");
2865
2876
  d(this, "_refreshing", !1);
2866
- this.authService = e.authService, this.walletService = e.walletService, this.logger = new He({
2877
+ this.authService = e.authService, this.walletService = e.walletService, this.logger = new Ve({
2867
2878
  enabled: e.logs ?? !1
2868
2879
  });
2869
2880
  }
@@ -2884,7 +2895,7 @@ class Mr {
2884
2895
  }
2885
2896
  };
2886
2897
  if (e.type === "MAYA") {
2887
- const s = await qe(() => this.walletService.mayaSession({ id: e.sessionId }), {
2898
+ const s = await Ue(() => this.walletService.mayaSession({ id: e.sessionId }), {
2888
2899
  until: (w) => {
2889
2900
  var f;
2890
2901
  return w.ok && ((f = w.data) == null ? void 0 : f.member) != null;
@@ -2901,17 +2912,17 @@ class Mr {
2901
2912
  message: "Forbidden"
2902
2913
  }
2903
2914
  };
2904
- const c = await qe(() => this.authService.createSession(e), {
2915
+ const u = await Ue(() => this.authService.createSession(e), {
2905
2916
  until: (w) => w.ok,
2906
2917
  interval: 1e3,
2907
2918
  maxAttempt: 5
2908
2919
  })();
2909
- if (!c.ok) return c;
2920
+ if (!u.ok) return u;
2910
2921
  const p = /* @__PURE__ */ new Date();
2911
2922
  return window.localStorage.setItem(
2912
2923
  this.storageKey,
2913
2924
  JSON.stringify({
2914
- ...c.data,
2925
+ ...u.data,
2915
2926
  accessTokenExpiresAt: j(p, 8).getTime(),
2916
2927
  refreshTokenExpiresAt: J(z(p, 30), 2).getTime()
2917
2928
  })
@@ -3021,7 +3032,7 @@ class Mr {
3021
3032
  data: null
3022
3033
  };
3023
3034
  if (this.refreshing)
3024
- return await Ve(1e3), await this.get();
3035
+ return await Ye(1e3), await this.get();
3025
3036
  const e = window.localStorage.getItem(this.storageKey);
3026
3037
  if (!e)
3027
3038
  return {
@@ -3122,7 +3133,7 @@ function n(o, e) {
3122
3133
  }
3123
3134
  return e;
3124
3135
  }
3125
- class Ir {
3136
+ class Nr {
3126
3137
  get transform() {
3127
3138
  return {
3128
3139
  site: this.site.bind(this),
@@ -3170,7 +3181,7 @@ class Ir {
3170
3181
  }
3171
3182
  /** @deprecated */
3172
3183
  platform(e) {
3173
- var t, r, a, m, s, u, c, p, w, f, b, k, T, _, R, D, y, M, I, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H, h, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ue, ce, de, le, pe, fe, we, ye, he, ge, Ae, Ee, Se, Ce, be, ke, Te, _e, Re, De, Oe;
3184
+ var t, r, a, m, s, c, u, p, w, f, b, k, T, _, R, D, y, M, I, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H, h, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ce, ue, de, le, pe, fe, we, ye, he, ge, Ae, Ee, Se, Ce, be, ke, Te, _e, Re, De, Oe;
3174
3185
  return {
3175
3186
  timezone: e.timezone,
3176
3187
  currency: e.currency,
@@ -3184,10 +3195,10 @@ class Ir {
3184
3195
  webEnabled: ((a = e.bankDepositGatewaySettings) == null ? void 0 : a.webEnabled) ?? !1,
3185
3196
  mobileWebEnabled: ((m = e.bankDepositGatewaySettings) == null ? void 0 : m.mobileWebEnabled) ?? !1,
3186
3197
  minimumAmount: n((s = e.bankDepositGatewaySettings) == null ? void 0 : s.minimumAmount),
3187
- maximumAmount: n((u = e.bankDepositGatewaySettings) == null ? void 0 : u.maximumAmount)
3198
+ maximumAmount: n((c = e.bankDepositGatewaySettings) == null ? void 0 : c.maximumAmount)
3188
3199
  },
3189
3200
  gcash: {
3190
- androidEnabled: ((c = e.gcashDepositGatewaySettings) == null ? void 0 : c.androidEnabled) ?? !1,
3201
+ androidEnabled: ((u = e.gcashDepositGatewaySettings) == null ? void 0 : u.androidEnabled) ?? !1,
3191
3202
  iosEnabled: ((p = e.gcashDepositGatewaySettings) == null ? void 0 : p.iosEnabled) ?? !1,
3192
3203
  webEnabled: ((w = e.gcashDepositGatewaySettings) == null ? void 0 : w.webEnabled) ?? !1,
3193
3204
  mobileWebEnabled: ((f = e.gcashDepositGatewaySettings) == null ? void 0 : f.mobileWebEnabled) ?? !1,
@@ -3241,9 +3252,9 @@ class Ir {
3241
3252
  iosEnabled: ((ie = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ie.iosEnabled) ?? !1,
3242
3253
  webEnabled: ((se = e.gcashWithdrawalGatewaySettings) == null ? void 0 : se.webEnabled) ?? !1,
3243
3254
  mobileWebEnabled: ((me = e.gcashWithdrawalGatewaySettings) == null ? void 0 : me.mobileWebEnabled) ?? !1,
3244
- minimumAmount: n((ue = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ue.minimumAmount),
3255
+ minimumAmount: n((ce = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ce.minimumAmount),
3245
3256
  maximumAmount: n(
3246
- (ce = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ce.maximumAmount,
3257
+ (ue = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ue.maximumAmount,
3247
3258
  1e6
3248
3259
  )
3249
3260
  },
@@ -3288,7 +3299,7 @@ class Ir {
3288
3299
  return {
3289
3300
  currency: e.currency,
3290
3301
  timezone: e.timezone,
3291
- locale: Rr(e.currency)
3302
+ locale: Dr(e.currency)
3292
3303
  };
3293
3304
  }
3294
3305
  pointsClubSettings(e) {
@@ -3297,7 +3308,7 @@ class Ir {
3297
3308
  };
3298
3309
  }
3299
3310
  paymentSettings(e) {
3300
- var t, r, a, m, s, u, c, p, w, f, b, k, T, _, R, D, y, M, I, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H, h, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ue, ce, de, le, pe, fe, we, ye, he, ge, Ae, Ee, Se, Ce, be, ke, Te, _e, Re, De;
3311
+ var t, r, a, m, s, c, u, p, w, f, b, k, T, _, R, D, y, M, I, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H, h, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ce, ue, de, le, pe, fe, we, ye, he, ge, Ae, Ee, Se, Ce, be, ke, Te, _e, Re, De;
3301
3312
  return {
3302
3313
  minimumFirstDepositAmount: n(e.minimumFirstDepositAmount),
3303
3314
  restrictWithdrawalsToVerifiedMembers: e.restrictWithdrawalsToVerifiedMembers,
@@ -3308,10 +3319,10 @@ class Ir {
3308
3319
  webEnabled: ((a = e.bankDepositGatewaySettings) == null ? void 0 : a.webEnabled) ?? !1,
3309
3320
  mobileWebEnabled: ((m = e.bankDepositGatewaySettings) == null ? void 0 : m.mobileWebEnabled) ?? !1,
3310
3321
  minimumAmount: n((s = e.bankDepositGatewaySettings) == null ? void 0 : s.minimumAmount),
3311
- maximumAmount: n((u = e.bankDepositGatewaySettings) == null ? void 0 : u.maximumAmount)
3322
+ maximumAmount: n((c = e.bankDepositGatewaySettings) == null ? void 0 : c.maximumAmount)
3312
3323
  },
3313
3324
  gcash: {
3314
- androidEnabled: ((c = e.gcashDepositGatewaySettings) == null ? void 0 : c.androidEnabled) ?? !1,
3325
+ androidEnabled: ((u = e.gcashDepositGatewaySettings) == null ? void 0 : u.androidEnabled) ?? !1,
3315
3326
  iosEnabled: ((p = e.gcashDepositGatewaySettings) == null ? void 0 : p.iosEnabled) ?? !1,
3316
3327
  webEnabled: ((w = e.gcashDepositGatewaySettings) == null ? void 0 : w.webEnabled) ?? !1,
3317
3328
  mobileWebEnabled: ((f = e.gcashDepositGatewaySettings) == null ? void 0 : f.mobileWebEnabled) ?? !1,
@@ -3365,8 +3376,8 @@ class Ir {
3365
3376
  iosEnabled: ((ie = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ie.iosEnabled) ?? !1,
3366
3377
  webEnabled: ((se = e.gcashWithdrawalGatewaySettings) == null ? void 0 : se.webEnabled) ?? !1,
3367
3378
  mobileWebEnabled: ((me = e.gcashWithdrawalGatewaySettings) == null ? void 0 : me.mobileWebEnabled) ?? !1,
3368
- minimumAmount: n((ue = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ue.minimumAmount),
3369
- maximumAmount: n((ce = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ce.maximumAmount, 1e6)
3379
+ minimumAmount: n((ce = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ce.minimumAmount),
3380
+ maximumAmount: n((ue = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ue.maximumAmount, 1e6)
3370
3381
  },
3371
3382
  maya: {
3372
3383
  androidEnabled: ((de = e.mayaWithdrawalGatewaySettings) == null ? void 0 : de.androidEnabled) ?? !1,
@@ -3807,7 +3818,7 @@ class Ir {
3807
3818
  };
3808
3819
  }
3809
3820
  }
3810
- class Gr {
3821
+ class vr {
3811
3822
  constructor(e) {
3812
3823
  d(this, "cmsPortalService");
3813
3824
  d(this, "authService");
@@ -3829,11 +3840,11 @@ class Gr {
3829
3840
  platform: a,
3830
3841
  environment: m,
3831
3842
  logs: s
3832
- } = e, u = m === "production";
3833
- this.transformer = new Ir(), this.logger = new He({
3843
+ } = e, c = m === "production";
3844
+ this.transformer = new Nr(), this.logger = new Ve({
3834
3845
  enabled: s ?? !1
3835
3846
  });
3836
- const c = u ? "https://auth.opexa.io" : "https://auth.development.opexa.io", p = u ? "https://wallet.opexa.io/graphql" : "https://wallet.development.opexa.io/graphql", w = u ? "https://report.opexa.io/graphql" : "https://report.development.opexa.io/graphql", f = u ? "https://account.opexa.io/graphql" : "https://account.development.opexa.io/graphql", b = u ? "https://portal.opexa.io/graphql" : "https://portal.development.opexa.io/graphql", k = u ? "https://file.opexa.io/graphql" : "https://file.development.opexa.io/graphql", T = u ? "https://game.opexa.io/graphql" : "https://game.development.opexa.io/graphql", _ = u ? "https://trigger.opexa.io/graphql" : "https://trigger.development.opexa.io/graphql", R = "https://portal-api.opexacms.io", D = new wr({
3847
+ const u = c ? "https://auth.opexa.io" : "https://auth.development.opexa.io", p = c ? "https://wallet.opexa.io/graphql" : "https://wallet.development.opexa.io/graphql", w = c ? "https://report.opexa.io/graphql" : "https://report.development.opexa.io/graphql", f = c ? "https://account.opexa.io/graphql" : "https://account.development.opexa.io/graphql", b = c ? "https://portal.opexa.io/graphql" : "https://portal.development.opexa.io/graphql", k = c ? "https://file.opexa.io/graphql" : "https://file.development.opexa.io/graphql", T = c ? "https://game.opexa.io/graphql" : "https://game.development.opexa.io/graphql", _ = c ? "https://trigger.opexa.io/graphql" : "https://trigger.development.opexa.io/graphql", R = "https://portal-api.opexacms.io", D = new yr({
3837
3848
  url: R,
3838
3849
  site: t,
3839
3850
  platform: r
@@ -3845,23 +3856,23 @@ class Gr {
3845
3856
  "Platform-Code": a
3846
3857
  }
3847
3858
  }
3848
- }, M = new hr(new K(T, y)), I = new yr(new K(k, y)), A = new Sr(new K(p, y)), N = new pr(new K(f, y)), P = new Ar(new K(w, y)), G = new gr(new K(b, y)), v = new Er(new K(_, y)), E = new fr({
3849
- url: c,
3859
+ }, M = new gr(new K(T, y)), I = new hr(new K(k, y)), A = new Cr(new K(p, y)), N = new fr(new K(f, y)), P = new Er(new K(w, y)), G = new Ar(new K(b, y)), v = new Sr(new K(_, y)), E = new wr({
3860
+ url: u,
3850
3861
  fetchOptions: {
3851
3862
  headers: {
3852
3863
  Role: "MEMBER",
3853
3864
  "Platform-Code": a,
3854
- ...!u && {
3865
+ ...!c && {
3855
3866
  "Test-Pass": ""
3856
3867
  }
3857
3868
  }
3858
3869
  }
3859
- }), B = new Mr({
3870
+ }), B = new Ir({
3860
3871
  logs: s,
3861
3872
  authService: E,
3862
3873
  walletService: A
3863
3874
  });
3864
- this.authService = E, this.gameService = M, this.fileService = I, this.walletService = A, this.accountService = N, this.reportService = P, this.portalService = G, this.triggerService = v, this.sessionManager = B, this.cmsPortalService = D, this.cache = new Cr();
3875
+ this.authService = E, this.gameService = M, this.fileService = I, this.walletService = A, this.accountService = N, this.reportService = P, this.portalService = G, this.triggerService = v, this.sessionManager = B, this.cmsPortalService = D, this.cache = new br();
3865
3876
  }
3866
3877
  get authMiddleware() {
3867
3878
  return async (e) => {
@@ -3951,7 +3962,7 @@ class Gr {
3951
3962
  await this.sessionManager.destroy();
3952
3963
  }
3953
3964
  watchSession(e) {
3954
- const t = br(e.interval ?? 3e4, 3e4, 6e4);
3965
+ const t = kr(e.interval ?? 3e4, 3e4, 6e4);
3955
3966
  let r = null;
3956
3967
  const a = () => setTimeout(async () => {
3957
3968
  await this.sessionManager.verify() || await e.onInvalid(), r = a();
@@ -4089,16 +4100,16 @@ class Gr {
4089
4100
  dateOfBirth: a,
4090
4101
  mobileNumber: m,
4091
4102
  secretAnswer: s,
4092
- transactionPassword: u,
4093
- ...c
4103
+ transactionPassword: c,
4104
+ ...u
4094
4105
  } = t;
4095
4106
  return await this.accountService.updateMemberAccount({
4096
4107
  input: {
4097
4108
  id: e,
4098
4109
  data: {
4099
- ...c,
4110
+ ...u,
4100
4111
  password: r ? await S(r) : void 0,
4101
- transactionPassword: u ? await S(u) : void 0,
4112
+ transactionPassword: c ? await S(c) : void 0,
4102
4113
  mobileNumber: m ? V(m, await this.locale) : void 0,
4103
4114
  secretAnswer: s ? await S(s) : void 0,
4104
4115
  birthDay: a ? typeof a == "string" ? a : this.formatYmd(a) : void 0
@@ -4455,12 +4466,12 @@ class Gr {
4455
4466
  ok: !0,
4456
4467
  data: {
4457
4468
  betRecords: t.data.edges.map(({ cursor: m, node: s }) => {
4458
- var c;
4459
- const u = (c = a.data.edges.find((p) => s.game.id === p.node.reference)) == null ? void 0 : c.node;
4469
+ var u;
4470
+ const c = (u = a.data.edges.find((p) => s.game.id === p.node.reference)) == null ? void 0 : u.node;
4460
4471
  return {
4461
4472
  ...this.transformer.transform.betRecord({
4462
4473
  ...s,
4463
- game: u
4474
+ game: c
4464
4475
  }),
4465
4476
  cursor: m
4466
4477
  };
@@ -4491,7 +4502,7 @@ class Gr {
4491
4502
  ok: !0,
4492
4503
  data: e.data.map((a) => {
4493
4504
  var s;
4494
- const m = (s = r.data.edges.find((u) => u.node.reference === a.game.id)) == null ? void 0 : s.node;
4505
+ const m = (s = r.data.edges.find((c) => c.node.reference === a.game.id)) == null ? void 0 : s.node;
4495
4506
  return this.transformer.transform.latestBetRecord({
4496
4507
  ...a,
4497
4508
  game: m
@@ -4667,16 +4678,20 @@ class Gr {
4667
4678
  }
4668
4679
  async createGameSession(e) {
4669
4680
  const t = e.id ?? Y.generate(Q.GameSession).toString();
4681
+ if (e.provider) {
4682
+ const u = qe.includes(e.provider) ? await this.walletService.createGameSession({ input: { id: t, game: e.reference } }) : await this.gameService.createGameSession({ input: { id: t, game: e.reference } });
4683
+ return u.ok ? { ok: !0, data: { id: t } } : u;
4684
+ }
4670
4685
  if (e.game.startsWith("SPORTS:")) {
4671
- const p = await Y.generateFromKey(Q.Game, e.game).then(
4672
- (f) => f.toString()
4673
- ), w = await this.gameService.createGameSession({
4686
+ const u = await Y.generateFromKey(Q.Game, e.game).then(
4687
+ (w) => w.toString()
4688
+ ), p = await this.gameService.createGameSession({
4674
4689
  input: {
4675
4690
  id: t,
4676
- game: p
4691
+ game: u
4677
4692
  }
4678
4693
  });
4679
- return w.ok ? { ok: !0, data: { id: t } } : w;
4694
+ return p.ok ? { ok: !0, data: { id: t } } : p;
4680
4695
  }
4681
4696
  const a = await this.game(e.game);
4682
4697
  if (!a.data)
@@ -4687,17 +4702,7 @@ class Gr {
4687
4702
  message: "Game does not exist"
4688
4703
  }
4689
4704
  };
4690
- const { provider: m, reference: s } = a.data, c = [
4691
- /**/
4692
- "RTG",
4693
- "DARWIN",
4694
- "DRBINGO",
4695
- "MEGABALL",
4696
- "EVOLUTION",
4697
- "EVOLUTION_NETENT",
4698
- "EVOLUTION_REDTIGER",
4699
- "HOLLYWOODTV"
4700
- ].includes(m) ? await this.walletService.createGameSession({ input: { id: t, game: s } }) : await this.gameService.createGameSession({ input: { id: t, game: s } });
4705
+ const { provider: m, reference: s } = a.data, c = qe.includes(m) ? await this.walletService.createGameSession({ input: { id: t, game: s } }) : await this.gameService.createGameSession({ input: { id: t, game: s } });
4701
4706
  return c.ok ? { ok: !0, data: { id: t } } : c;
4702
4707
  }
4703
4708
  async endGameSession(e) {
@@ -4917,8 +4922,8 @@ class Gr {
4917
4922
  }
4918
4923
  }
4919
4924
  export {
4920
- Or as ObjectId,
4925
+ xr as ObjectId,
4921
4926
  Q as ObjectType,
4922
- Gr as Sdk
4927
+ vr as Sdk
4923
4928
  };
4924
4929
  //# sourceMappingURL=index.mjs.map