@opexa/portal-sdk 0.0.164 → 0.0.166

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
@@ -2,7 +2,7 @@ var Ke = Object.defineProperty;
2
2
  var ze = (o, e, t) => e in o ? Ke(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var d = (o, e, t) => ze(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { ObjectId as Q } from "@opexa/object-id";
5
- import { ObjectId as Fr } from "@opexa/object-id";
5
+ import { ObjectId as Hr } from "@opexa/object-id";
6
6
  const Y = {
7
7
  Account: 8,
8
8
  Deposit: 9,
@@ -12,7 +12,7 @@ const Y = {
12
12
  Game: 203,
13
13
  GameSession: 204,
14
14
  MayaSession: 230
15
- }, C = "google-recaptcha-response";
15
+ }, S = "google-recaptcha-response";
16
16
  function i(o, ...e) {
17
17
  let t = "";
18
18
  for (const [r, a] of o.entries()) {
@@ -626,6 +626,10 @@ const Me = i`
626
626
  depositsCount
627
627
  }
628
628
  }
629
+ `, Ct = i`
630
+ mutation TouchGCashDeposit($input: TouchGCashDepositInput!) {
631
+ touchGCashDeposit(input: $input)
632
+ }
629
633
  `, St = i`
630
634
  query BetRecords($first: Int, $after: Cursor, $filter: BetRecordFilterInput) {
631
635
  member {
@@ -664,7 +668,7 @@ const Me = i`
664
668
  }
665
669
  }
666
670
  }
667
- `, Ct = i`
671
+ `, bt = i`
668
672
  query LatestBetRecords {
669
673
  latestBetRecords {
670
674
  id
@@ -728,7 +732,7 @@ const Me = i`
728
732
  dateTimeCreated
729
733
  dateTimeLastUpdated
730
734
  }
731
- `, bt = i`
735
+ `, Tt = i`
732
736
  ${Ne}
733
737
 
734
738
  query Promos {
@@ -736,7 +740,7 @@ const Me = i`
736
740
  ...PromoFragment
737
741
  }
738
742
  }
739
- `, Tt = i`
743
+ `, _t = i`
740
744
  ${Ne}
741
745
 
742
746
  query AvailablePromos($filter: PromoFilterInput) {
@@ -744,7 +748,7 @@ const Me = i`
744
748
  ...PromoFragment
745
749
  }
746
750
  }
747
- `, _t = i`
751
+ `, Dt = i`
748
752
  fragment SpotBonusFragment on SpotBonusPromo {
749
753
  id
750
754
  name
@@ -785,7 +789,7 @@ const Me = i`
785
789
  maximumBonusesCountLimit
786
790
  }
787
791
  `, Rt = i`
788
- ${_t}
792
+ ${Dt}
789
793
 
790
794
  query PromoByCode($code: String!) {
791
795
  promoByCode(code: $code) {
@@ -811,7 +815,7 @@ const Me = i`
811
815
  dateTimeCreated
812
816
  dateTimeLastUpdated
813
817
  }
814
- `, Dt = i`
818
+ `, It = i`
815
819
  ${Ve}
816
820
 
817
821
  query Cashbacks {
@@ -819,7 +823,7 @@ const Me = i`
819
823
  ...CashbackFragment
820
824
  }
821
825
  }
822
- `, It = i`
826
+ `, Mt = i`
823
827
  ${Ne}
824
828
 
825
829
  query Bonus {
@@ -848,7 +852,7 @@ const Me = i`
848
852
  dateTimeLastUpdated
849
853
  }
850
854
  }
851
- `, Mt = i`
855
+ `, Nt = i`
852
856
  ${Ne}
853
857
 
854
858
  query Bonuses {
@@ -877,7 +881,7 @@ const Me = i`
877
881
  dateTimeLastUpdated
878
882
  }
879
883
  }
880
- `, Nt = i`
884
+ `, Pt = i`
881
885
  ${Ve}
882
886
 
883
887
  query CashbackBonuses {
@@ -892,7 +896,7 @@ const Me = i`
892
896
  dateTimeLastUpdated
893
897
  }
894
898
  }
895
- `, Pt = i`
899
+ `, Gt = i`
896
900
  mutation ClaimCashbackBonus($input: ClaimCashbackBonusInput!) {
897
901
  claimCashbackBonus(input: $input) {
898
902
  ... on CashbackBonusDoesNotExistError {
@@ -908,7 +912,7 @@ i`
908
912
  }
909
913
  }
910
914
  `;
911
- const Gt = i`
915
+ const vt = i`
912
916
  query MemberAccount {
913
917
  memberAccount: self {
914
918
  ... on MemberAccount {
@@ -932,7 +936,7 @@ const Gt = i`
932
936
  }
933
937
  }
934
938
  }
935
- `, vt = i`
939
+ `, Bt = i`
936
940
  ${Me}
937
941
 
938
942
  query MemberVerification {
@@ -957,7 +961,7 @@ const Gt = i`
957
961
  }
958
962
  }
959
963
  }
960
- `, Bt = i`
964
+ `, Ot = i`
961
965
  mutation RegisterMemberAccount(
962
966
  $input: RegisterMemberAccountInput!
963
967
  $referralCode: String
@@ -996,7 +1000,7 @@ const Gt = i`
996
1000
  }
997
1001
  }
998
1002
  }
999
- `, Ot = i`
1003
+ `, xt = i`
1000
1004
  mutation RegisterMemberAccountViaMobile(
1001
1005
  $input: RegisterMemberAccountViaMobileInput!
1002
1006
  $referralCode: String
@@ -1026,7 +1030,7 @@ const Gt = i`
1026
1030
  }
1027
1031
  }
1028
1032
  }
1029
- `, xt = i`
1033
+ `, Wt = i`
1030
1034
  mutation RegisterMemberAccount(
1031
1035
  $input: RegisterMemberAccountInput_next!
1032
1036
  $reCAPTCHAResponse: String
@@ -1058,7 +1062,7 @@ const Gt = i`
1058
1062
  }
1059
1063
  }
1060
1064
  }
1061
- `, Wt = i`
1065
+ `, qt = i`
1062
1066
  mutation RegisterMayaMemberAccount($input: RegisterMayaMemberAccountInput!) {
1063
1067
  registerMayaMemberAccount(input: $input) {
1064
1068
  ... on AccountNameNotAvailableError {
@@ -1066,7 +1070,7 @@ const Gt = i`
1066
1070
  }
1067
1071
  }
1068
1072
  }
1069
- `, qt = i`
1073
+ `, Ut = i`
1070
1074
  mutation UpdateMemberAccount($input: UpdateMemberAccountInput!) {
1071
1075
  updateMemberAccount(input: $input) {
1072
1076
  ... on AccountNameNotAvailableError {
@@ -1092,7 +1096,7 @@ const Gt = i`
1092
1096
  }
1093
1097
  }
1094
1098
  }
1095
- `, Ut = i`
1099
+ `, $t = i`
1096
1100
  mutation ResetPassword($input: ResetPasswordInput!, $verificationCode: String) {
1097
1101
  resetPassword(input: $input, verificationCode: $verificationCode) {
1098
1102
  ... on AccountNotFoundError {
@@ -1103,11 +1107,11 @@ const Gt = i`
1103
1107
  }
1104
1108
  }
1105
1109
  }
1106
- `, $t = i`
1110
+ `, Lt = i`
1107
1111
  mutation DeleteMemberAccount($input: DeleteMemberAccountInput!) {
1108
1112
  deleteMemberAccount(input: $input)
1109
1113
  }
1110
- `, Lt = i`
1114
+ `, Ft = i`
1111
1115
  mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {
1112
1116
  verifyMobileNumber(input: $input) {
1113
1117
  ... on InvalidSMSVerificationCodeError {
@@ -1118,7 +1122,7 @@ const Gt = i`
1118
1122
  }
1119
1123
  }
1120
1124
  }
1121
- `, Ft = i`
1125
+ `, Ht = i`
1122
1126
  mutation CreateMemberVerification($input: CreateMemberVerificationInput!) {
1123
1127
  createMemberVerification(input: $input) {
1124
1128
  ... on FileDoesNotExistError {
@@ -1132,7 +1136,7 @@ const Gt = i`
1132
1136
  }
1133
1137
  }
1134
1138
  }
1135
- `, Ht = i`
1139
+ `, Vt = i`
1136
1140
  mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {
1137
1141
  updateMemberVerification(input: $input) {
1138
1142
  ... on FileDoesNotExistError {
@@ -1149,7 +1153,7 @@ const Gt = i`
1149
1153
  }
1150
1154
  }
1151
1155
  }
1152
- `, Vt = i`
1156
+ `, Qt = i`
1153
1157
  query ProfileCompletion {
1154
1158
  profileCompletion {
1155
1159
  completionPercentage
@@ -1160,7 +1164,7 @@ const Gt = i`
1160
1164
  accountPassword
1161
1165
  }
1162
1166
  }
1163
- `, Qt = i`
1167
+ `, Yt = i`
1164
1168
  mutation SendVerificationCode($input: SendVerificationCodeInput!) {
1165
1169
  sendVerificationCode(input: $input) {
1166
1170
  ... on InvalidPlatformError {
@@ -1171,7 +1175,7 @@ const Gt = i`
1171
1175
  }
1172
1176
  }
1173
1177
  }
1174
- `, Yt = i`
1178
+ `, jt = i`
1175
1179
  fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
1176
1180
  minimumAmount
1177
1181
  maximumAmount
@@ -1236,12 +1240,12 @@ const Gt = i`
1236
1240
  multiplier
1237
1241
  }
1238
1242
  }
1239
- `, jt = i`
1243
+ `, Kt = i`
1240
1244
  query Platform {
1241
1245
  timezone
1242
1246
  currency
1243
1247
  }
1244
- `, Kt = i`
1248
+ `, zt = i`
1245
1249
  fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
1246
1250
  minimumAmount
1247
1251
  maximumAmount
@@ -1301,7 +1305,7 @@ const Gt = i`
1301
1305
  ...WithdrawalGatewaySettingsCoreData
1302
1306
  }
1303
1307
  }
1304
- `, zt = i`
1308
+ `, Jt = i`
1305
1309
  query MayaSession($id: ObjectId!) {
1306
1310
  mayaSession(id: $id) {
1307
1311
  id
@@ -1309,11 +1313,11 @@ const Gt = i`
1309
1313
  dateTimeCreated
1310
1314
  }
1311
1315
  }
1312
- `, Jt = i`
1316
+ `, Xt = i`
1313
1317
  mutation ValidateMayaSession {
1314
1318
  validateMayaSession: validMayaSession
1315
1319
  }
1316
- `, Xt = i`
1320
+ `, Zt = i`
1317
1321
  query ActivityRecords($after: Cursor, $first: Int, $filter: ActivityRecordsFilterInput) {
1318
1322
  member {
1319
1323
  activityRecords(after: $after, first: $first, filter: $filter) {
@@ -1338,11 +1342,11 @@ const Gt = i`
1338
1342
  }
1339
1343
  }
1340
1344
  }
1341
- `, Zt = i`
1345
+ `, er = i`
1342
1346
  query ReferralCode {
1343
1347
  referralCode
1344
1348
  }
1345
- `, er = i`
1349
+ `, tr = i`
1346
1350
  mutation UpdateReferralCode($input: UpdateReferralCodeInput!) {
1347
1351
  updateReferralCode(input: $input) {
1348
1352
  ... on ReferralCodeNotAvailableError {
@@ -1368,7 +1372,7 @@ const Gt = i`
1368
1372
  commission
1369
1373
  dateTimeCreated
1370
1374
  }
1371
- `, tr = i`
1375
+ `, rr = i`
1372
1376
  query Referrals($first: Int, $after: Cursor, $filter: ReferralFilterInput) {
1373
1377
  member {
1374
1378
  referrals(first: $first, after: $after, filter: $filter) {
@@ -1390,7 +1394,7 @@ const Gt = i`
1390
1394
  }
1391
1395
 
1392
1396
  ${Be}
1393
- `, rr = i`
1397
+ `, ar = i`
1394
1398
  query UplinesByName($search: String!, $first: Int) {
1395
1399
  uplinesByName(search: $search, first: $first) {
1396
1400
  ...ReferralFragment
@@ -1398,7 +1402,7 @@ const Gt = i`
1398
1402
  }
1399
1403
 
1400
1404
  ${Be}
1401
- `, ar = i`
1405
+ `, nr = i`
1402
1406
  query DownlinesByName($search: String!, $first: Int) {
1403
1407
  downlinesByName(search: $search, first: $first) {
1404
1408
  ...ReferralFragment
@@ -1406,7 +1410,7 @@ const Gt = i`
1406
1410
  }
1407
1411
 
1408
1412
  ${Be}
1409
- `, nr = i`
1413
+ `, or = i`
1410
1414
  query ReferralCommission {
1411
1415
  member {
1412
1416
  referralCommission {
@@ -1425,13 +1429,13 @@ const Gt = i`
1425
1429
  }
1426
1430
  }
1427
1431
  }
1428
- `, or = i`
1432
+ `, ir = i`
1429
1433
  query PointsClubSettings {
1430
1434
  pointsClubSettings {
1431
1435
  multiplier
1432
1436
  }
1433
1437
  }
1434
- `, ir = i`
1438
+ `, sr = i`
1435
1439
  query Messages($first: Int, $after: Cursor, $filter: MessageFilterInput) {
1436
1440
  messages(first: $first, after: $after, filter: $filter) {
1437
1441
  edges {
@@ -1461,21 +1465,21 @@ const Gt = i`
1461
1465
  }
1462
1466
  }
1463
1467
  }
1464
- `, sr = i`
1468
+ `, mr = i`
1465
1469
  query UnreadMessagesCount($filter: MessageFilterInput) {
1466
1470
  messages(filter: $filter) {
1467
1471
  totalCount
1468
1472
  }
1469
1473
  }
1470
- `, mr = i`
1474
+ `, ur = i`
1471
1475
  mutation MarkMessageAsRead($id: ObjectId!) {
1472
1476
  markMessageAsRead(id: $id)
1473
1477
  }
1474
- `, ur = i`
1478
+ `, cr = i`
1475
1479
  mutation MarkAllMessageAsRead {
1476
1480
  markAllMessageAsRead
1477
1481
  }
1478
- `, cr = i`
1482
+ `, dr = i`
1479
1483
  mutation ClaimReward($id: ObjectId!) {
1480
1484
  claimReward(id: $id) {
1481
1485
  ... on RewardAlreadyClaimedError {
@@ -1486,7 +1490,7 @@ const Gt = i`
1486
1490
  }
1487
1491
  }
1488
1492
  }
1489
- `, dr = i`
1493
+ `, lr = i`
1490
1494
  mutation ClaimSpotBonus($code: String!) {
1491
1495
  claimSpotBonus(code: $code) {
1492
1496
  ... on InvalidPromoCodeError {
@@ -1500,19 +1504,19 @@ const Gt = i`
1500
1504
  }
1501
1505
  }
1502
1506
  }
1503
- `, lr = i`
1507
+ `, pr = i`
1504
1508
  query OnboardingStatus {
1505
1509
  onboardingStatus
1506
1510
  }
1507
- `, pr = i`
1511
+ `, fr = i`
1508
1512
  mutation CompleteOnboarding($input: CompleteOnboardingInput!) {
1509
1513
  completeOnboarding(input: $input)
1510
1514
  }
1511
- `, fr = i`
1515
+ `, hr = i`
1512
1516
  mutation SkipOnboarding {
1513
1517
  skipOnboarding
1514
1518
  }
1515
- `, hr = i`
1519
+ `, yr = i`
1516
1520
  fragment QuestProgramFragment on QuestProgram {
1517
1521
  status
1518
1522
  type
@@ -1531,8 +1535,8 @@ const Gt = i`
1531
1535
  name
1532
1536
  }
1533
1537
  }
1534
- `, yr = i`
1535
- ${hr}
1538
+ `, wr = i`
1539
+ ${yr}
1536
1540
  fragment DailyCheckinQuestFragment on DailyCheckInQuest {
1537
1541
  id
1538
1542
  name
@@ -1567,7 +1571,7 @@ const Gt = i`
1567
1571
  startDateTime
1568
1572
  checkInStreak
1569
1573
  }
1570
- `, wr = i`
1574
+ `, gr = i`
1571
1575
  fragment WageringQuestFragment on WageringQuest {
1572
1576
  bonus
1573
1577
  id
@@ -1601,9 +1605,9 @@ const Gt = i`
1601
1605
  dateTimeCreated
1602
1606
  bonusAwarded
1603
1607
  }
1604
- `, gr = i`
1608
+ `, Ar = i`
1609
+ ${gr}
1605
1610
  ${wr}
1606
- ${yr}
1607
1611
 
1608
1612
  query AvailableQuests {
1609
1613
  availableQuests {
@@ -1615,7 +1619,7 @@ const Gt = i`
1615
1619
  }
1616
1620
  }
1617
1621
  }
1618
- `, Ar = i`
1622
+ `, Er = i`
1619
1623
  mutation checkInDailyCheckInQuest($input: CheckInDailyCheckInQuestInput!) {
1620
1624
  checkInDailyCheckInQuest(input: $input)
1621
1625
  }
@@ -1683,24 +1687,24 @@ function l(o) {
1683
1687
  }[o]
1684
1688
  };
1685
1689
  }
1686
- class Er {
1690
+ class Cr {
1687
1691
  constructor(e) {
1688
1692
  d(this, "client");
1689
1693
  this.client = e;
1690
1694
  }
1691
1695
  /** aka `Query.self` */
1692
1696
  async memberAccount() {
1693
- const e = await this.client.request(Gt);
1697
+ const e = await this.client.request(vt);
1694
1698
  return e.ok ? {
1695
1699
  ok: !0,
1696
1700
  data: e.data.memberAccount
1697
1701
  } : e;
1698
1702
  }
1699
1703
  async registerMemberAccount(e) {
1700
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(Bt, r, {
1704
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(Ot, r, {
1701
1705
  headers: {
1702
1706
  ...t && {
1703
- [C]: t
1707
+ [S]: t
1704
1708
  }
1705
1709
  }
1706
1710
  });
@@ -1712,10 +1716,10 @@ class Er {
1712
1716
  } : a;
1713
1717
  }
1714
1718
  async registerMemberAccountViaMobile(e) {
1715
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(Ot, r, {
1719
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(xt, r, {
1716
1720
  headers: {
1717
1721
  ...t && {
1718
- [C]: t
1722
+ [S]: t
1719
1723
  }
1720
1724
  }
1721
1725
  });
@@ -1727,10 +1731,10 @@ class Er {
1727
1731
  } : a;
1728
1732
  }
1729
1733
  async registerMemberAccount__next(e) {
1730
- const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(xt, r, {
1734
+ const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(Wt, r, {
1731
1735
  headers: {
1732
1736
  ...t && {
1733
- [C]: t
1737
+ [S]: t
1734
1738
  }
1735
1739
  }
1736
1740
  });
@@ -1742,7 +1746,7 @@ class Er {
1742
1746
  } : a;
1743
1747
  }
1744
1748
  async updateMemberAccount(e) {
1745
- const t = await this.client.request(qt, e);
1749
+ const t = await this.client.request(Ut, e);
1746
1750
  return t.ok ? t.data.updateMemberAccount ? {
1747
1751
  ok: !1,
1748
1752
  error: l(t.data.updateMemberAccount.__typename)
@@ -1751,7 +1755,7 @@ class Er {
1751
1755
  } : t;
1752
1756
  }
1753
1757
  async deleteMemberAccount(e) {
1754
- const t = await this.client.request($t, e);
1758
+ const t = await this.client.request(Lt, e);
1755
1759
  return t.ok ? t.data.deleteMemberAccount ? {
1756
1760
  ok: !0
1757
1761
  } : {
@@ -1764,7 +1768,7 @@ class Er {
1764
1768
  }
1765
1769
  async resetPassword(e) {
1766
1770
  const t = await this.client.request(
1767
- Ut,
1771
+ $t,
1768
1772
  e
1769
1773
  );
1770
1774
  return t.ok ? t.data.resetPassword ? {
@@ -1775,16 +1779,16 @@ class Er {
1775
1779
  } : t;
1776
1780
  }
1777
1781
  async profileCompletion() {
1778
- const e = await this.client.request(Vt);
1782
+ const e = await this.client.request(Qt);
1779
1783
  return e.ok ? { ok: !0, data: e.data.profileCompletion } : e;
1780
1784
  }
1781
1785
  /** @deprecated */
1782
1786
  async platform() {
1783
- return await this.client.request(Yt);
1787
+ return await this.client.request(jt);
1784
1788
  }
1785
1789
  /** @deprecated */
1786
1790
  async sendVerificationCode(e) {
1787
- const t = await this.client.request(Qt, e);
1791
+ const t = await this.client.request(Yt, e);
1788
1792
  return t.ok ? t.data.sendVerificationCode ? {
1789
1793
  ok: !1,
1790
1794
  error: l(t.data.sendVerificationCode.__typename)
@@ -1793,10 +1797,10 @@ class Er {
1793
1797
  } : t;
1794
1798
  }
1795
1799
  async paymentSettings() {
1796
- return await this.client.request(Kt);
1800
+ return await this.client.request(zt);
1797
1801
  }
1798
1802
  async verifyMobileNumber(e) {
1799
- const t = await this.client.request(Lt, e);
1803
+ const t = await this.client.request(Ft, e);
1800
1804
  return t.ok ? t.data.verifyMobileNumber ? {
1801
1805
  ok: !1,
1802
1806
  error: l(t.data.verifyMobileNumber.__typename)
@@ -1805,7 +1809,7 @@ class Er {
1805
1809
  } : t;
1806
1810
  }
1807
1811
  async createMemberVerification(e) {
1808
- const t = await this.client.request(Ft, e);
1812
+ const t = await this.client.request(Ht, e);
1809
1813
  return t.ok ? t.data.createMemberVerification ? {
1810
1814
  ok: !1,
1811
1815
  error: l(t.data.createMemberVerification.__typename)
@@ -1814,7 +1818,7 @@ class Er {
1814
1818
  } : t;
1815
1819
  }
1816
1820
  async updateMemberVerification(e) {
1817
- const t = await this.client.request(Ht, e);
1821
+ const t = await this.client.request(Vt, e);
1818
1822
  return t.ok ? t.data.updateMemberVerification ? {
1819
1823
  ok: !1,
1820
1824
  error: l(t.data.updateMemberVerification.__typename)
@@ -1823,7 +1827,7 @@ class Er {
1823
1827
  } : t;
1824
1828
  }
1825
1829
  async memberVerification() {
1826
- const e = await this.client.request(vt);
1830
+ const e = await this.client.request(Bt);
1827
1831
  return e.ok ? {
1828
1832
  ok: !0,
1829
1833
  data: e.data.memberAccount.verification
@@ -1840,7 +1844,7 @@ class Er {
1840
1844
  } : t;
1841
1845
  }
1842
1846
  async registerMayaMemberAccount(e) {
1843
- const t = await this.client.request(Wt, e);
1847
+ const t = await this.client.request(qt, e);
1844
1848
  return t.ok ? t.data.registerMayaMemberAccount ? {
1845
1849
  ok: !1,
1846
1850
  error: l(t.data.registerMayaMemberAccount.__typename)
@@ -1849,14 +1853,14 @@ class Er {
1849
1853
  } : t;
1850
1854
  }
1851
1855
  async referralCode() {
1852
- const e = await this.client.request(Zt);
1856
+ const e = await this.client.request(er);
1853
1857
  return e.ok ? {
1854
1858
  ok: !0,
1855
1859
  data: e.data.referralCode
1856
1860
  } : e;
1857
1861
  }
1858
1862
  async updateReferralCode(e) {
1859
- const t = await this.client.request(er, e);
1863
+ const t = await this.client.request(tr, e);
1860
1864
  return t.ok ? t.data.updateReferralCode ? {
1861
1865
  ok: !1,
1862
1866
  error: l(t.data.updateReferralCode.__typename)
@@ -1865,7 +1869,7 @@ class Er {
1865
1869
  } : t;
1866
1870
  }
1867
1871
  async pointsClubSettings() {
1868
- const e = await this.client.request(or);
1872
+ const e = await this.client.request(ir);
1869
1873
  return e.ok ? { ok: !0, data: e.data.pointsClubSettings } : e;
1870
1874
  }
1871
1875
  }
@@ -1905,7 +1909,7 @@ class Sr {
1905
1909
  const r = `${e.mobileNumber}:${e.verificationCode}`, a = Buffer.from(r).toString("base64");
1906
1910
  console.log(`MobileNumberOTP ${a}`), t.set("Authorization", `MobileNumberOTP ${a}`);
1907
1911
  }
1908
- e.type === "MAYA" && t.set("Authorization", `MayaSession ${e.sessionId}`), e.type === "SOCIALS" && t.set("Authorization", `Token ${e.token}`), e.type === "CABINET" && t.set("Authorization", `OPEXA-CABINET-TOKEN ${e.token}`), e.reCAPTCHAResponse && t.set(C, e.reCAPTCHAResponse);
1912
+ e.type === "MAYA" && t.set("Authorization", `MayaSession ${e.sessionId}`), e.type === "SOCIALS" && t.set("Authorization", `Token ${e.token}`), e.type === "CABINET" && t.set("Authorization", `OPEXA-CABINET-TOKEN ${e.token}`), e.reCAPTCHAResponse && t.set(S, e.reCAPTCHAResponse);
1909
1913
  try {
1910
1914
  const r = await fetch(`${this.url}/sessions`, {
1911
1915
  method: "POST",
@@ -2063,7 +2067,7 @@ class Sr {
2063
2067
  }
2064
2068
  }
2065
2069
  }
2066
- class Cr {
2070
+ class br {
2067
2071
  constructor(e) {
2068
2072
  d(this, "url");
2069
2073
  d(this, "siteId");
@@ -2078,9 +2082,9 @@ class Cr {
2078
2082
  } : e;
2079
2083
  }
2080
2084
  async games(e) {
2081
- var a, s, m, u, c, p, h, f, k, b, T, _, R, D, y, I, M, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H;
2085
+ var a, s, m, u, c, p, h, f, b, k, T, _, D, R, y, I, M, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H;
2082
2086
  const t = new URLSearchParams();
2083
- 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), (s = (a = e == null ? void 0 : e.filter) == null ? void 0 : a.type) != null && s.equal && t.set("filter[type][eq]", e.filter.type.equal), (u = (m = e == null ? void 0 : e.filter) == null ? void 0 : m.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 = (h = e == null ? void 0 : e.filter) == null ? void 0 : h.type) != null && f.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (b = (k = e == null ? void 0 : e.filter) == null ? void 0 : k.provider) != null && b.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(",")), (I = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && I.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (M = e == null ? void 0 : e.filter) == null ? void 0 : M.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(
2087
+ 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), (s = (a = e == null ? void 0 : e.filter) == null ? void 0 : a.type) != null && s.equal && t.set("filter[type][eq]", e.filter.type.equal), (u = (m = e == null ? void 0 : e.filter) == null ? void 0 : m.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 = (h = e == null ? void 0 : e.filter) == null ? void 0 : h.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), (R = (D = e == null ? void 0 : e.filter) == null ? void 0 : D.provider) != null && R.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (I = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && I.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (M = e == null ? void 0 : e.filter) == null ? void 0 : M.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(
2084
2088
  "filter[tags][in]",
2085
2089
  e.filter.tags.in.map((w) => w.toLowerCase()).join(",")
2086
2090
  ), (B = (E = e == null ? void 0 : e.filter) == null ? void 0 : E.tags) != null && B.notIn && t.set(
@@ -2104,9 +2108,9 @@ class Cr {
2104
2108
  } : r;
2105
2109
  }
2106
2110
  async games__next(e) {
2107
- var a, s, m, u, c, p, h, f, k, b, T, _, R, D, y, I, M, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H;
2111
+ var a, s, m, u, c, p, h, f, b, k, T, _, D, R, y, I, M, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H;
2108
2112
  const t = new URLSearchParams();
2109
- 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), (s = (a = e == null ? void 0 : e.filter) == null ? void 0 : a.type) != null && s.equal && t.set("filter[type][eq]", e.filter.type.equal), (u = (m = e == null ? void 0 : e.filter) == null ? void 0 : m.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 = (h = e == null ? void 0 : e.filter) == null ? void 0 : h.type) != null && f.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (b = (k = e == null ? void 0 : e.filter) == null ? void 0 : k.provider) != null && b.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(",")), (I = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && I.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (M = e == null ? void 0 : e.filter) == null ? void 0 : M.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(
2113
+ 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), (s = (a = e == null ? void 0 : e.filter) == null ? void 0 : a.type) != null && s.equal && t.set("filter[type][eq]", e.filter.type.equal), (u = (m = e == null ? void 0 : e.filter) == null ? void 0 : m.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 = (h = e == null ? void 0 : e.filter) == null ? void 0 : h.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), (R = (D = e == null ? void 0 : e.filter) == null ? void 0 : D.provider) != null && R.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (I = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && I.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (M = e == null ? void 0 : e.filter) == null ? void 0 : M.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(
2110
2114
  "filter[tags][in]",
2111
2115
  e.filter.tags.in.map((w) => w.toLowerCase()).join(",")
2112
2116
  ), (B = (E = e == null ? void 0 : e.filter) == null ? void 0 : E.tags) != null && B.notIn && t.set(
@@ -2189,7 +2193,7 @@ class kr {
2189
2193
  } : t;
2190
2194
  }
2191
2195
  }
2192
- class br {
2196
+ class Tr {
2193
2197
  constructor(e) {
2194
2198
  d(this, "client");
2195
2199
  this.client = e;
@@ -2226,20 +2230,20 @@ class br {
2226
2230
  } : t;
2227
2231
  }
2228
2232
  }
2229
- class Tr {
2233
+ class _r {
2230
2234
  constructor(e) {
2231
2235
  d(this, "client");
2232
2236
  this.client = e;
2233
2237
  }
2234
2238
  async latestBetRecords() {
2235
- const e = await this.client.request(Ct);
2239
+ const e = await this.client.request(bt);
2236
2240
  return e.ok ? {
2237
2241
  ok: !0,
2238
2242
  data: e.data.latestBetRecords
2239
2243
  } : e;
2240
2244
  }
2241
2245
  async platform() {
2242
- const e = await this.client.request(jt);
2246
+ const e = await this.client.request(Kt);
2243
2247
  return e.ok ? {
2244
2248
  ok: !0,
2245
2249
  data: e.data
@@ -2253,11 +2257,11 @@ class Tr {
2253
2257
  } : e;
2254
2258
  }
2255
2259
  async onboardingStatus() {
2256
- const e = await this.client.request(lr);
2260
+ const e = await this.client.request(pr);
2257
2261
  return e.ok ? { ok: e.ok, data: e.data.onboardingStatus ?? [] } : e;
2258
2262
  }
2259
2263
  async completeOnboarding(e) {
2260
- const t = await this.client.request(pr, e);
2264
+ const t = await this.client.request(fr, e);
2261
2265
  return t.ok ? t.data.completeOnboarding ? {
2262
2266
  ok: !0
2263
2267
  } : {
@@ -2269,7 +2273,7 @@ class Tr {
2269
2273
  } : t;
2270
2274
  }
2271
2275
  async skipOnboarding() {
2272
- const e = await this.client.request(fr);
2276
+ const e = await this.client.request(hr);
2273
2277
  return e.ok ? e.data.skipOnboarding ? {
2274
2278
  ok: !0
2275
2279
  } : {
@@ -2281,7 +2285,7 @@ class Tr {
2281
2285
  } : e;
2282
2286
  }
2283
2287
  }
2284
- class _r {
2288
+ class Dr {
2285
2289
  constructor(e) {
2286
2290
  d(this, "client");
2287
2291
  this.client = e;
@@ -2321,32 +2325,32 @@ class _r {
2321
2325
  }
2322
2326
  async activityRecords(e) {
2323
2327
  const t = await this.client.request(
2324
- Xt,
2328
+ Zt,
2325
2329
  e
2326
2330
  );
2327
2331
  return t.ok ? { ok: t.ok, data: t.data.member.activityRecords } : t;
2328
2332
  }
2329
2333
  async referrals(e) {
2330
2334
  const t = await this.client.request(
2331
- tr,
2335
+ rr,
2332
2336
  e
2333
2337
  );
2334
2338
  return t.ok ? { ok: t.ok, data: t.data.member.referrals } : t;
2335
2339
  }
2336
2340
  async referralCommission() {
2337
- const e = await this.client.request(nr);
2341
+ const e = await this.client.request(or);
2338
2342
  return e.ok ? { ok: e.ok, data: e.data.member.referralCommission } : e;
2339
2343
  }
2340
2344
  async uplinesByName(e) {
2341
2345
  const t = await this.client.request(
2342
- rr,
2346
+ ar,
2343
2347
  e
2344
2348
  );
2345
2349
  return t.ok ? { ok: t.ok, data: t.data.uplinesByName } : t;
2346
2350
  }
2347
2351
  async downlinesByName(e) {
2348
2352
  const t = await this.client.request(
2349
- ar,
2353
+ nr,
2350
2354
  e
2351
2355
  );
2352
2356
  return t.ok ? { ok: t.ok, data: t.data.downlinesByName } : t;
@@ -2366,14 +2370,14 @@ class Rr {
2366
2370
  }
2367
2371
  async messages(e) {
2368
2372
  const t = await this.client.request(
2369
- ir,
2373
+ sr,
2370
2374
  e
2371
2375
  );
2372
2376
  return t.ok ? { ok: t.ok, data: t.data.messages } : t;
2373
2377
  }
2374
2378
  async unreadMessagesCount(e) {
2375
2379
  const t = await this.client.request(
2376
- sr,
2380
+ mr,
2377
2381
  {
2378
2382
  ...e,
2379
2383
  filter: {
@@ -2387,7 +2391,7 @@ class Rr {
2387
2391
  return t.ok ? { ok: t.ok, data: t.data.messages.totalCount } : t;
2388
2392
  }
2389
2393
  async markMessageAsRead(e) {
2390
- const t = await this.client.request(mr, e);
2394
+ const t = await this.client.request(ur, e);
2391
2395
  return t.ok ? t.data.markMessageAsRead ? {
2392
2396
  ok: !0
2393
2397
  } : {
@@ -2400,7 +2404,7 @@ class Rr {
2400
2404
  }
2401
2405
  async markAllMessageAsRead() {
2402
2406
  const e = await this.client.request(
2403
- ur
2407
+ cr
2404
2408
  );
2405
2409
  return e.ok ? e.data.markAllMessageAsRead ? {
2406
2410
  ok: !0
@@ -2414,7 +2418,7 @@ class Rr {
2414
2418
  }
2415
2419
  async claimReward(e) {
2416
2420
  const t = await this.client.request(
2417
- cr,
2421
+ dr,
2418
2422
  e
2419
2423
  );
2420
2424
  return t.ok ? t.data.claimReward ? {
@@ -2425,7 +2429,7 @@ class Rr {
2425
2429
  } : t;
2426
2430
  }
2427
2431
  async availableQuests() {
2428
- const e = await this.client.request(gr);
2432
+ const e = await this.client.request(Ar);
2429
2433
  return e.ok ? {
2430
2434
  ok: !0,
2431
2435
  data: e.data.availableQuests
@@ -2433,7 +2437,7 @@ class Rr {
2433
2437
  }
2434
2438
  async checkInDailyQuest(e) {
2435
2439
  const t = await this.client.request(
2436
- Ar,
2440
+ Er,
2437
2441
  e
2438
2442
  );
2439
2443
  return t.ok ? {
@@ -2442,32 +2446,32 @@ class Rr {
2442
2446
  } : t;
2443
2447
  }
2444
2448
  }
2445
- class Dr {
2449
+ class Ir {
2446
2450
  constructor(e) {
2447
2451
  d(this, "client");
2448
2452
  this.client = e;
2449
2453
  }
2450
2454
  async promos() {
2451
- const e = await this.client.request(bt);
2455
+ const e = await this.client.request(Tt);
2452
2456
  return e.ok ? { ok: e.ok, data: e.data.promos } : e;
2453
2457
  }
2454
2458
  async cashbacks() {
2455
- const e = await this.client.request(Dt);
2459
+ const e = await this.client.request(It);
2456
2460
  return e.ok ? { ok: e.ok, data: e.data.cashbacks } : e;
2457
2461
  }
2458
2462
  async availablePromos(e) {
2459
2463
  const t = await this.client.request(
2460
- Tt,
2464
+ _t,
2461
2465
  e
2462
2466
  );
2463
2467
  return t.ok ? { ok: t.ok, data: t.data.availablePromos } : t;
2464
2468
  }
2465
2469
  async cashbackBonuses() {
2466
- const e = await this.client.request(Nt);
2470
+ const e = await this.client.request(Pt);
2467
2471
  return e.ok ? { ok: e.ok, data: e.data.cashbackBonuses } : e;
2468
2472
  }
2469
2473
  async claimCashbackBonus(e) {
2470
- const t = await this.client.request(Pt, e);
2474
+ const t = await this.client.request(Gt, e);
2471
2475
  return t.ok ? t.data.claimCashbackBonus ? {
2472
2476
  ok: !1,
2473
2477
  error: l(t.data.claimCashbackBonus.__typename)
@@ -2479,7 +2483,7 @@ class Dr {
2479
2483
  };
2480
2484
  }
2481
2485
  async bonus() {
2482
- const e = await this.client.request(It);
2486
+ const e = await this.client.request(Mt);
2483
2487
  return e.ok ? { ok: e.ok, data: e.data.bonus } : e;
2484
2488
  }
2485
2489
  async wallet() {
@@ -2497,7 +2501,7 @@ class Dr {
2497
2501
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(ft, r, {
2498
2502
  headers: {
2499
2503
  ...t && {
2500
- [C]: t
2504
+ [S]: t
2501
2505
  }
2502
2506
  }
2503
2507
  });
@@ -2512,7 +2516,7 @@ class Dr {
2512
2516
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(ht, r, {
2513
2517
  headers: {
2514
2518
  ...t && {
2515
- [C]: t
2519
+ [S]: t
2516
2520
  }
2517
2521
  }
2518
2522
  });
@@ -2527,7 +2531,7 @@ class Dr {
2527
2531
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(wt, r, {
2528
2532
  headers: {
2529
2533
  ...t && {
2530
- [C]: t
2534
+ [S]: t
2531
2535
  }
2532
2536
  }
2533
2537
  });
@@ -2542,7 +2546,7 @@ class Dr {
2542
2546
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(gt, r, {
2543
2547
  headers: {
2544
2548
  ...t && {
2545
- [C]: t
2549
+ [S]: t
2546
2550
  }
2547
2551
  }
2548
2552
  });
@@ -2557,7 +2561,7 @@ class Dr {
2557
2561
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(yt, r, {
2558
2562
  headers: {
2559
2563
  ...t && {
2560
- [C]: t
2564
+ [S]: t
2561
2565
  }
2562
2566
  }
2563
2567
  });
@@ -2572,7 +2576,7 @@ class Dr {
2572
2576
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(it, r, {
2573
2577
  headers: {
2574
2578
  ...t && {
2575
- [C]: t
2579
+ [S]: t
2576
2580
  }
2577
2581
  }
2578
2582
  });
@@ -2587,7 +2591,7 @@ class Dr {
2587
2591
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(st, r, {
2588
2592
  headers: {
2589
2593
  ...t && {
2590
- [C]: t
2594
+ [S]: t
2591
2595
  }
2592
2596
  }
2593
2597
  });
@@ -2602,7 +2606,7 @@ class Dr {
2602
2606
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(mt, r, {
2603
2607
  headers: {
2604
2608
  ...t && {
2605
- [C]: t
2609
+ [S]: t
2606
2610
  }
2607
2611
  }
2608
2612
  });
@@ -2617,7 +2621,7 @@ class Dr {
2617
2621
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(ut, r, {
2618
2622
  headers: {
2619
2623
  ...t && {
2620
- [C]: t
2624
+ [S]: t
2621
2625
  }
2622
2626
  }
2623
2627
  });
@@ -2632,7 +2636,7 @@ class Dr {
2632
2636
  const { reCAPTCHAResponse: t, ...r } = e, a = await this.client.request(ct, r, {
2633
2637
  headers: {
2634
2638
  ...t && {
2635
- [C]: t
2639
+ [S]: t
2636
2640
  }
2637
2641
  }
2638
2642
  });
@@ -2668,7 +2672,7 @@ class Dr {
2668
2672
  }
2669
2673
  async mayaSession(e) {
2670
2674
  const t = await this.client.request(
2671
- zt,
2675
+ Jt,
2672
2676
  e
2673
2677
  );
2674
2678
  return t.ok ? { ok: t.ok, data: t.data.mayaSession } : t;
@@ -2706,7 +2710,7 @@ class Dr {
2706
2710
  }
2707
2711
  async validateMayaSession() {
2708
2712
  const e = await this.client.request(
2709
- Jt
2713
+ Xt
2710
2714
  );
2711
2715
  return e.ok ? e.data.validateMayaSession ? {
2712
2716
  ok: !0
@@ -2719,12 +2723,12 @@ class Dr {
2719
2723
  } : e;
2720
2724
  }
2721
2725
  async bonuses() {
2722
- const e = await this.client.request(Mt);
2726
+ const e = await this.client.request(Nt);
2723
2727
  return e.ok ? { ok: e.ok, data: e.data.bonuses ?? [] } : e;
2724
2728
  }
2725
2729
  async claimSpotBonus(e) {
2726
2730
  const t = await this.client.request(
2727
- dr,
2731
+ lr,
2728
2732
  e
2729
2733
  );
2730
2734
  return t.ok ? t.data.claimSpotBonus ? {
@@ -2737,6 +2741,18 @@ class Dr {
2737
2741
  error: t.error
2738
2742
  };
2739
2743
  }
2744
+ async touchGCashDeposit(e) {
2745
+ const t = await this.client.request(Ct, e);
2746
+ return t.ok ? t.data.touchGCashDeposit ? {
2747
+ ok: !0
2748
+ } : {
2749
+ ok: !1,
2750
+ error: {
2751
+ name: "UnknownError",
2752
+ message: "Something went wrong."
2753
+ }
2754
+ } : t;
2755
+ }
2740
2756
  }
2741
2757
  function Oe(o) {
2742
2758
  return new Date(o.getTime());
@@ -2748,7 +2764,7 @@ function j(o, e) {
2748
2764
  function Ge(o, e) {
2749
2765
  return o.getTime() > e.getTime();
2750
2766
  }
2751
- class Ir {
2767
+ class Mr {
2752
2768
  constructor(e) {
2753
2769
  d(this, "config");
2754
2770
  d(this, "cache");
@@ -2769,18 +2785,18 @@ class Ir {
2769
2785
  return !t || Ge(/* @__PURE__ */ new Date(), t.validUntil) ? null : t.value;
2770
2786
  }
2771
2787
  }
2772
- function Mr(o, e, t) {
2788
+ function Nr(o, e, t) {
2773
2789
  return o < e ? e : o > t ? t : o;
2774
2790
  }
2775
2791
  function ve(o) {
2776
2792
  return Object.prototype.toString.call(o) === "[object Object]" && Object(o) === o;
2777
2793
  }
2778
- function Nr(o) {
2794
+ function Pr(o) {
2779
2795
  const e = [];
2780
2796
  function t(r, a = []) {
2781
2797
  for (const s in r) {
2782
2798
  const m = r[s];
2783
- ve(m) ? t(m, [...a, s]) : Array.isArray(m) ? t(Pr(m), [...a, s]) : e.push({
2799
+ ve(m) ? t(m, [...a, s]) : Array.isArray(m) ? t(Gr(m), [...a, s]) : e.push({
2784
2800
  key: [...a, s],
2785
2801
  value: m
2786
2802
  });
@@ -2788,7 +2804,7 @@ function Nr(o) {
2788
2804
  }
2789
2805
  return t(o), e;
2790
2806
  }
2791
- function Pr(o) {
2807
+ function Gr(o) {
2792
2808
  return o.reduce((e, t, r) => (e[r] = t, e), {});
2793
2809
  }
2794
2810
  class K {
@@ -2862,7 +2878,7 @@ class K {
2862
2878
  return t;
2863
2879
  }
2864
2880
  createUploadBody(e, t) {
2865
- const r = Nr(t).filter(
2881
+ const r = Pr(t).filter(
2866
2882
  (m) => m.value instanceof File || m.value instanceof Blob
2867
2883
  ), a = new FormData();
2868
2884
  a.append(
@@ -2890,26 +2906,26 @@ function qe(o, e) {
2890
2906
  return o ? e ? {
2891
2907
  ...o,
2892
2908
  ...e,
2893
- headers: Gr(o.headers, e.headers)
2909
+ headers: vr(o.headers, e.headers)
2894
2910
  } : o ?? {} : e ?? {};
2895
2911
  }
2896
- function Gr(o, e) {
2912
+ function vr(o, e) {
2897
2913
  if (!o) return e;
2898
2914
  if (!e) return o;
2899
2915
  const t = new Headers();
2900
2916
  return new Headers(o).forEach((r, a) => t.append(a, r)), new Headers(e).forEach((r, a) => t.append(a, r)), t;
2901
2917
  }
2902
- function vr(o) {
2918
+ function Br(o) {
2903
2919
  return o === "INR" ? "en-IN" : o === "MYR" ? "en-MY" : o === "IDR" ? "en-ID" : o === "USD" ? "en-US" : "en-PH";
2904
2920
  }
2905
- function Br(o) {
2921
+ function Or(o) {
2906
2922
  return o === "en-IN" ? "+91" : o === "en-MY" ? "+60" : o === "en-ID" ? "+62" : o === "en-US" ? "+1" : "+63";
2907
2923
  }
2908
2924
  function V(o, e) {
2909
- const t = Br(e);
2925
+ const t = Or(e);
2910
2926
  return o.startsWith(t) ? o : o.startsWith(t.substring(1)) ? `+${o}` : o.startsWith("0") ? `${t}${o.substring(1)}` : `${t}${o}`;
2911
2927
  }
2912
- async function S(o) {
2928
+ async function C(o) {
2913
2929
  const e = new TextEncoder().encode(o), t = await crypto.subtle.digest("SHA-256", e);
2914
2930
  return Array.from(new Uint8Array(t)).map((s) => s.toString(16).padStart(2, "0")).join("");
2915
2931
  }
@@ -2968,7 +2984,7 @@ function J(o, e) {
2968
2984
  const t = Oe(o);
2969
2985
  return t.setMinutes(t.getMinutes() - e), t;
2970
2986
  }
2971
- class Or {
2987
+ class xr {
2972
2988
  constructor(e) {
2973
2989
  d(this, "logger");
2974
2990
  d(this, "storageKey", "session");
@@ -3241,7 +3257,7 @@ function n(o, e) {
3241
3257
  }
3242
3258
  return e;
3243
3259
  }
3244
- class xr {
3260
+ class Wr {
3245
3261
  get transform() {
3246
3262
  return {
3247
3263
  site: this.site.bind(this),
@@ -3289,7 +3305,7 @@ class xr {
3289
3305
  }
3290
3306
  /** @deprecated */
3291
3307
  platform(e) {
3292
- var t, r, a, s, m, u, c, p, h, f, k, b, T, _, R, D, y, I, M, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H, w, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ue, ce, de, le, pe, fe, he, ye, we, ge, Ae, Ee, Se, Ce, ke, be, Te, _e, Re, De, xe;
3308
+ var t, r, a, s, m, u, c, p, h, f, b, k, T, _, D, R, y, I, M, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H, w, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ue, ce, de, le, pe, fe, he, ye, we, ge, Ae, Ee, Ce, Se, be, ke, Te, _e, De, Re, xe;
3293
3309
  return {
3294
3310
  timezone: e.timezone,
3295
3311
  currency: e.currency,
@@ -3310,14 +3326,14 @@ class xr {
3310
3326
  iosEnabled: ((p = e.gcashDepositGatewaySettings) == null ? void 0 : p.iosEnabled) ?? !1,
3311
3327
  webEnabled: ((h = e.gcashDepositGatewaySettings) == null ? void 0 : h.webEnabled) ?? !1,
3312
3328
  mobileWebEnabled: ((f = e.gcashDepositGatewaySettings) == null ? void 0 : f.mobileWebEnabled) ?? !1,
3313
- minimumAmount: n((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.minimumAmount),
3314
- maximumAmount: n((b = e.gcashDepositGatewaySettings) == null ? void 0 : b.maximumAmount)
3329
+ minimumAmount: n((b = e.gcashDepositGatewaySettings) == null ? void 0 : b.minimumAmount),
3330
+ maximumAmount: n((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.maximumAmount)
3315
3331
  },
3316
3332
  maya: {
3317
3333
  androidEnabled: ((T = e.mayaDepositGatewaySettings) == null ? void 0 : T.androidEnabled) ?? !1,
3318
3334
  iosEnabled: ((_ = e.mayaDepositGatewaySettings) == null ? void 0 : _.iosEnabled) ?? !1,
3319
- webEnabled: ((R = e.mayaDepositGatewaySettings) == null ? void 0 : R.webEnabled) ?? !1,
3320
- mobileWebEnabled: ((D = e.mayaDepositGatewaySettings) == null ? void 0 : D.mobileWebEnabled) ?? !1,
3335
+ webEnabled: ((D = e.mayaDepositGatewaySettings) == null ? void 0 : D.webEnabled) ?? !1,
3336
+ mobileWebEnabled: ((R = e.mayaDepositGatewaySettings) == null ? void 0 : R.mobileWebEnabled) ?? !1,
3321
3337
  minimumAmount: n((y = e.mayaDepositGatewaySettings) == null ? void 0 : y.minimumAmount),
3322
3338
  maximumAmount: n((I = e.mayaDepositGatewaySettings) == null ? void 0 : I.maximumAmount)
3323
3339
  },
@@ -3379,20 +3395,20 @@ class xr {
3379
3395
  iosEnabled: ((ge = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ge.iosEnabled) ?? !1,
3380
3396
  webEnabled: ((Ae = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Ae.webEnabled) ?? !1,
3381
3397
  mobileWebEnabled: ((Ee = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Ee.mobileWebEnabled) ?? !1,
3382
- minimumAmount: n((Se = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Se.minimumAmount),
3398
+ minimumAmount: n((Ce = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Ce.minimumAmount),
3383
3399
  maximumAmount: n(
3384
- (Ce = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Ce.maximumAmount,
3400
+ (Se = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Se.maximumAmount,
3385
3401
  1e6
3386
3402
  )
3387
3403
  },
3388
3404
  instapay: {
3389
- androidEnabled: ((ke = e.instapayWithdrawalGatewaySettings) == null ? void 0 : ke.androidEnabled) ?? !1,
3390
- iosEnabled: ((be = e.instapayWithdrawalGatewaySettings) == null ? void 0 : be.iosEnabled) ?? !1,
3405
+ androidEnabled: ((be = e.instapayWithdrawalGatewaySettings) == null ? void 0 : be.androidEnabled) ?? !1,
3406
+ iosEnabled: ((ke = e.instapayWithdrawalGatewaySettings) == null ? void 0 : ke.iosEnabled) ?? !1,
3391
3407
  webEnabled: ((Te = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Te.webEnabled) ?? !1,
3392
3408
  mobileWebEnabled: ((_e = e.instapayWithdrawalGatewaySettings) == null ? void 0 : _e.mobileWebEnabled) ?? !1,
3393
- minimumAmount: n((Re = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Re.minimumAmount),
3409
+ minimumAmount: n((De = e.instapayWithdrawalGatewaySettings) == null ? void 0 : De.minimumAmount),
3394
3410
  maximumAmount: n(
3395
- (De = e.instapayWithdrawalGatewaySettings) == null ? void 0 : De.maximumAmount,
3411
+ (Re = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Re.maximumAmount,
3396
3412
  1e6
3397
3413
  )
3398
3414
  }
@@ -3407,7 +3423,7 @@ class xr {
3407
3423
  return {
3408
3424
  currency: e.currency,
3409
3425
  timezone: e.timezone,
3410
- locale: vr(e.currency)
3426
+ locale: Br(e.currency)
3411
3427
  };
3412
3428
  }
3413
3429
  pointsClubSettings(e) {
@@ -3416,7 +3432,7 @@ class xr {
3416
3432
  };
3417
3433
  }
3418
3434
  paymentSettings(e) {
3419
- var t, r, a, s, m, u, c, p, h, f, k, b, T, _, R, D, y, I, M, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H, w, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ue, ce, de, le, pe, fe, he, ye, we, ge, Ae, Ee, Se, Ce, ke, be, Te, _e, Re, De;
3435
+ var t, r, a, s, m, u, c, p, h, f, b, k, T, _, D, R, y, I, M, A, N, P, G, v, E, B, x, W, q, U, $, L, F, H, w, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ue, ce, de, le, pe, fe, he, ye, we, ge, Ae, Ee, Ce, Se, be, ke, Te, _e, De, Re;
3420
3436
  return {
3421
3437
  minimumFirstDepositAmount: n(e.minimumFirstDepositAmount),
3422
3438
  restrictWithdrawalsToVerifiedMembers: e.restrictWithdrawalsToVerifiedMembers,
@@ -3434,14 +3450,14 @@ class xr {
3434
3450
  iosEnabled: ((p = e.gcashDepositGatewaySettings) == null ? void 0 : p.iosEnabled) ?? !1,
3435
3451
  webEnabled: ((h = e.gcashDepositGatewaySettings) == null ? void 0 : h.webEnabled) ?? !1,
3436
3452
  mobileWebEnabled: ((f = e.gcashDepositGatewaySettings) == null ? void 0 : f.mobileWebEnabled) ?? !1,
3437
- minimumAmount: n((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.minimumAmount),
3438
- maximumAmount: n((b = e.gcashDepositGatewaySettings) == null ? void 0 : b.maximumAmount)
3453
+ minimumAmount: n((b = e.gcashDepositGatewaySettings) == null ? void 0 : b.minimumAmount),
3454
+ maximumAmount: n((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.maximumAmount)
3439
3455
  },
3440
3456
  maya: {
3441
3457
  androidEnabled: ((T = e.mayaDepositGatewaySettings) == null ? void 0 : T.androidEnabled) ?? !1,
3442
3458
  iosEnabled: ((_ = e.mayaDepositGatewaySettings) == null ? void 0 : _.iosEnabled) ?? !1,
3443
- webEnabled: ((R = e.mayaDepositGatewaySettings) == null ? void 0 : R.webEnabled) ?? !1,
3444
- mobileWebEnabled: ((D = e.mayaDepositGatewaySettings) == null ? void 0 : D.mobileWebEnabled) ?? !1,
3459
+ webEnabled: ((D = e.mayaDepositGatewaySettings) == null ? void 0 : D.webEnabled) ?? !1,
3460
+ mobileWebEnabled: ((R = e.mayaDepositGatewaySettings) == null ? void 0 : R.mobileWebEnabled) ?? !1,
3445
3461
  minimumAmount: n((y = e.mayaDepositGatewaySettings) == null ? void 0 : y.minimumAmount),
3446
3462
  maximumAmount: n((I = e.mayaDepositGatewaySettings) == null ? void 0 : I.maximumAmount)
3447
3463
  },
@@ -3500,20 +3516,20 @@ class xr {
3500
3516
  iosEnabled: ((ge = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ge.iosEnabled) ?? !1,
3501
3517
  webEnabled: ((Ae = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Ae.webEnabled) ?? !1,
3502
3518
  mobileWebEnabled: ((Ee = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Ee.mobileWebEnabled) ?? !1,
3503
- minimumAmount: n((Se = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Se.minimumAmount),
3519
+ minimumAmount: n((Ce = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Ce.minimumAmount),
3504
3520
  maximumAmount: n(
3505
- (Ce = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Ce.maximumAmount,
3521
+ (Se = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : Se.maximumAmount,
3506
3522
  1e6
3507
3523
  )
3508
3524
  },
3509
3525
  instapay: {
3510
- androidEnabled: ((ke = e.instapayWithdrawalGatewaySettings) == null ? void 0 : ke.androidEnabled) ?? !1,
3511
- iosEnabled: ((be = e.instapayWithdrawalGatewaySettings) == null ? void 0 : be.iosEnabled) ?? !1,
3526
+ androidEnabled: ((be = e.instapayWithdrawalGatewaySettings) == null ? void 0 : be.androidEnabled) ?? !1,
3527
+ iosEnabled: ((ke = e.instapayWithdrawalGatewaySettings) == null ? void 0 : ke.iosEnabled) ?? !1,
3512
3528
  webEnabled: ((Te = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Te.webEnabled) ?? !1,
3513
3529
  mobileWebEnabled: ((_e = e.instapayWithdrawalGatewaySettings) == null ? void 0 : _e.mobileWebEnabled) ?? !1,
3514
- minimumAmount: n((Re = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Re.minimumAmount),
3530
+ minimumAmount: n((De = e.instapayWithdrawalGatewaySettings) == null ? void 0 : De.minimumAmount),
3515
3531
  maximumAmount: n(
3516
- (De = e.instapayWithdrawalGatewaySettings) == null ? void 0 : De.maximumAmount,
3532
+ (Re = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Re.maximumAmount,
3517
3533
  1e6
3518
3534
  )
3519
3535
  }
@@ -3921,7 +3937,28 @@ class xr {
3921
3937
  name: e.program.name,
3922
3938
  description: e.program.description,
3923
3939
  totalBonus: n(e.program.totalBonus, 0),
3924
- status: e.program.status
3940
+ status: e.program.status,
3941
+ activationDate: new Date(e.program.activationDate),
3942
+ bonusTurnoverRequirementMultiplier: n(
3943
+ e.program.bonusTurnoverRequirementMultiplier,
3944
+ 0
3945
+ ),
3946
+ completedQuestsCount: n(e.program.completedQuestsCount, 0),
3947
+ failedQuestsCount: n(e.program.failedQuestsCount, 0),
3948
+ maximumQuestsPerMember: n(e.program.failedQuestsCount, 0),
3949
+ questsCount: n(e.program.questsCount, 0),
3950
+ memberGroups: e.program.memberGroups,
3951
+ promo: e.program.promo,
3952
+ ...e.program.type === "DAILY_CHECKIN" && {
3953
+ seventhDayBonusAmount: n(e.program.seventhDayBonusAmount, 0),
3954
+ sixthDayBonusAmount: n(e.program.sixthDayBonusAmount, 0),
3955
+ thirdDayBonusAmount: n(e.program.thirdDayBonusAmount, 0)
3956
+ },
3957
+ ...e.program.type === "WAGERING" && {
3958
+ targetTurnover: n(e.program.targetTurnover, 0),
3959
+ daysToClear: n(e.program.daysToClear, 0),
3960
+ bonusAmount: n(e.program.bonusAmount, 0)
3961
+ }
3925
3962
  },
3926
3963
  progressPercentage: n(e.progressPercentage, 0),
3927
3964
  turnover: n(e.turnover, 0),
@@ -3934,7 +3971,7 @@ class xr {
3934
3971
  };
3935
3972
  }
3936
3973
  }
3937
- class Ur {
3974
+ class $r {
3938
3975
  constructor(e) {
3939
3976
  d(this, "cmsPortalService");
3940
3977
  d(this, "authService");
@@ -3957,11 +3994,11 @@ class Ur {
3957
3994
  environment: s,
3958
3995
  logs: m
3959
3996
  } = e, u = s === "production";
3960
- this.transformer = new xr(), this.logger = new Qe({
3997
+ this.transformer = new Wr(), this.logger = new Qe({
3961
3998
  enabled: m ?? !1
3962
3999
  });
3963
- 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", h = 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", k = u ? "https://portal.opexa.io/graphql" : "https://portal.development.opexa.io/graphql", b = 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 Cr({
3964
- url: R,
4000
+ 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", h = 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", D = "https://portal-api.opexacms.io", R = new br({
4001
+ url: D,
3965
4002
  site: t,
3966
4003
  platform: r
3967
4004
  }), y = {
@@ -3972,7 +4009,7 @@ class Ur {
3972
4009
  "Platform-Code": a
3973
4010
  }
3974
4011
  }
3975
- }, I = new br(new K(T, y)), M = new kr(new K(b, y)), A = new Dr(new K(p, y)), N = new Er(new K(f, y)), P = new _r(new K(h, y)), G = new Tr(new K(k, y)), v = new Rr(new K(_, y)), E = new Sr({
4012
+ }, I = new Tr(new K(T, y)), M = new kr(new K(k, y)), A = new Ir(new K(p, y)), N = new Cr(new K(f, y)), P = new Dr(new K(h, y)), G = new _r(new K(b, y)), v = new Rr(new K(_, y)), E = new Sr({
3976
4013
  url: c,
3977
4014
  fetchOptions: {
3978
4015
  headers: {
@@ -3983,12 +4020,12 @@ class Ur {
3983
4020
  }
3984
4021
  }
3985
4022
  }
3986
- }), B = new Or({
4023
+ }), B = new xr({
3987
4024
  logs: m,
3988
4025
  authService: E,
3989
4026
  walletService: A
3990
4027
  });
3991
- this.authService = E, this.gameService = I, this.fileService = M, this.walletService = A, this.accountService = N, this.reportService = P, this.portalService = G, this.triggerService = v, this.sessionManager = B, this.cmsPortalService = D, this.cache = new Ir();
4028
+ this.authService = E, this.gameService = I, this.fileService = M, this.walletService = A, this.accountService = N, this.reportService = P, this.portalService = G, this.triggerService = v, this.sessionManager = B, this.cmsPortalService = R, this.cache = new Mr();
3992
4029
  }
3993
4030
  get authMiddleware() {
3994
4031
  return async (e) => {
@@ -4011,7 +4048,7 @@ class Ur {
4011
4048
  case "NAME_AND_PASSWORD": {
4012
4049
  const t = await this.sessionManager.create({
4013
4050
  ...e,
4014
- password: await S(e.password)
4051
+ password: await C(e.password)
4015
4052
  });
4016
4053
  return t.ok ? t.data ? {
4017
4054
  ok: !0,
@@ -4062,7 +4099,7 @@ class Ur {
4062
4099
  return await this.sessionManager.createFromAuthenticator({
4063
4100
  type: "SECURITY_QUESTION",
4064
4101
  token: e.token,
4065
- secretAnswer: await S(e.secretAnswer)
4102
+ secretAnswer: await C(e.secretAnswer)
4066
4103
  });
4067
4104
  default:
4068
4105
  return {
@@ -4078,7 +4115,7 @@ class Ur {
4078
4115
  await this.sessionManager.destroy();
4079
4116
  }
4080
4117
  watchSession(e) {
4081
- const t = Mr(e.interval ?? 3e4, 3e4, 6e4);
4118
+ const t = Nr(e.interval ?? 3e4, 3e4, 6e4);
4082
4119
  let r = null;
4083
4120
  const a = () => setTimeout(async () => {
4084
4121
  await this.sessionManager.verify() || await e.onInvalid(), r = a();
@@ -4162,7 +4199,7 @@ class Ur {
4162
4199
  name: e.name,
4163
4200
  domain: e.domain,
4164
4201
  birthDay: typeof e.dateOfBirth == "string" ? e.dateOfBirth : this.formatYmd(e.dateOfBirth),
4165
- password: await S(e.password),
4202
+ password: await C(e.password),
4166
4203
  mobileNumber: V(e.mobileNumber, await this.locale)
4167
4204
  },
4168
4205
  referralCode: e.referralCode,
@@ -4193,7 +4230,7 @@ class Ur {
4193
4230
  name: e.name,
4194
4231
  btag: e.btag,
4195
4232
  domain: e.domain,
4196
- password: await S(e.password),
4233
+ password: await C(e.password),
4197
4234
  mobileNumber: e.mobileNumber ? V(e.mobileNumber, await this.locale) : void 0
4198
4235
  },
4199
4236
  reCAPTCHAResponse: e.reCAPTCHAResponse
@@ -4204,7 +4241,7 @@ class Ur {
4204
4241
  return await this.accountService.registerMayaMemberAccount({
4205
4242
  input: {
4206
4243
  name: e.name,
4207
- password: await S(e.password),
4244
+ password: await C(e.password),
4208
4245
  domain: e.domain
4209
4246
  }
4210
4247
  });
@@ -4224,10 +4261,10 @@ class Ur {
4224
4261
  id: e,
4225
4262
  data: {
4226
4263
  ...c,
4227
- password: r ? await S(r) : void 0,
4228
- transactionPassword: u ? await S(u) : void 0,
4264
+ password: r ? await C(r) : void 0,
4265
+ transactionPassword: u ? await C(u) : void 0,
4229
4266
  mobileNumber: s ? V(s, await this.locale) : void 0,
4230
- secretAnswer: m ? await S(m) : void 0,
4267
+ secretAnswer: m ? await C(m) : void 0,
4231
4268
  birthDay: a ? typeof a == "string" ? a : this.formatYmd(a) : void 0
4232
4269
  }
4233
4270
  }
@@ -4270,7 +4307,7 @@ class Ur {
4270
4307
  return await this.accountService.resetPassword({
4271
4308
  input: {
4272
4309
  mobileNumber: V(e.mobileNumber, await this.locale),
4273
- newPassword: await S(e.newPassword)
4310
+ newPassword: await C(e.newPassword)
4274
4311
  },
4275
4312
  verificationCode: e.verificationCode
4276
4313
  });
@@ -4358,7 +4395,7 @@ class Ur {
4358
4395
  input: {
4359
4396
  id: t,
4360
4397
  amount: e.amount.toString(),
4361
- transactionPassword: await S(e.transactionPassword)
4398
+ transactionPassword: await C(e.transactionPassword)
4362
4399
  },
4363
4400
  reCAPTCHAResponse: e.reCAPTCHAResponse
4364
4401
  });
@@ -4369,7 +4406,7 @@ class Ur {
4369
4406
  input: {
4370
4407
  id: t,
4371
4408
  amount: e.amount.toString(),
4372
- transactionPassword: await S(e.transactionPassword),
4409
+ transactionPassword: await C(e.transactionPassword),
4373
4410
  recipientMobileNumber: V(e.recipientMobileNumber, await this.locale)
4374
4411
  },
4375
4412
  reCAPTCHAResponse: e.reCAPTCHAResponse
@@ -4381,7 +4418,7 @@ class Ur {
4381
4418
  input: {
4382
4419
  id: t,
4383
4420
  amount: e.amount.toString(),
4384
- transactionPassword: await S(e.transactionPassword),
4421
+ transactionPassword: await C(e.transactionPassword),
4385
4422
  recipientMobileNumber: V(e.recipientMobileNumber, await this.locale)
4386
4423
  },
4387
4424
  reCAPTCHAResponse: e.reCAPTCHAResponse
@@ -4393,7 +4430,7 @@ class Ur {
4393
4430
  input: {
4394
4431
  id: t,
4395
4432
  amount: e.amount.toString(),
4396
- transactionPassword: await S(e.transactionPassword)
4433
+ transactionPassword: await C(e.transactionPassword)
4397
4434
  },
4398
4435
  reCAPTCHAResponse: e.reCAPTCHAResponse
4399
4436
  });
@@ -4406,7 +4443,7 @@ class Ur {
4406
4443
  amount: e.amount.toString(),
4407
4444
  bankCode: e.bankCode,
4408
4445
  accountNumber: e.accountNumber,
4409
- transactionPassword: await S(e.transactionPassword)
4446
+ transactionPassword: await C(e.transactionPassword)
4410
4447
  },
4411
4448
  reCAPTCHAResponse: e.reCAPTCHAResponse
4412
4449
  });
@@ -4528,6 +4565,14 @@ class Ur {
4528
4565
  async depositsCount() {
4529
4566
  return await this.reportService.depositsCount();
4530
4567
  }
4568
+ async touchDeposit(e) {
4569
+ switch (e.type) {
4570
+ case "GCASH":
4571
+ return await this.walletService.touchGCashDeposit({ input: { id: e.id } });
4572
+ default:
4573
+ throw new Error(`Unsupported input type: '${e.type}'`);
4574
+ }
4575
+ }
4531
4576
  /**/
4532
4577
  /*+----------------------------------------+*/
4533
4578
  /*+ BET +*/
@@ -5055,8 +5100,8 @@ class Ur {
5055
5100
  }
5056
5101
  }
5057
5102
  export {
5058
- Fr as ObjectId,
5103
+ Hr as ObjectId,
5059
5104
  Y as ObjectType,
5060
- Ur as Sdk
5105
+ $r as Sdk
5061
5106
  };
5062
5107
  //# sourceMappingURL=index.mjs.map