@opexa/portal-sdk 0.0.29 → 0.0.30

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 Ce = Object.defineProperty;
2
- var Te = (n, e, t) => e in n ? Ce(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var m = (n, e, t) => Te(n, typeof e != "symbol" ? e + "" : e, t);
1
+ var _e = Object.defineProperty;
2
+ var Te = (o, e, t) => e in o ? _e(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
+ var d = (o, e, t) => Te(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { ObjectId as b } from "@opexa/object-id";
5
- import { ObjectId as Gt } from "@opexa/object-id";
5
+ import { ObjectId as $t } from "@opexa/object-id";
6
6
  const S = {
7
7
  Account: 8,
8
8
  Deposit: 9,
@@ -13,22 +13,22 @@ const S = {
13
13
  GameSession: 204,
14
14
  MayaSession: 230
15
15
  };
16
- function i(n, ...e) {
16
+ function n(o, ...e) {
17
17
  let t = "";
18
- for (const [a, r] of n.entries()) {
18
+ for (const [a, r] of o.entries()) {
19
19
  const s = e.at(a) ?? "";
20
20
  t = `${t}${r}${s}`;
21
21
  }
22
22
  return t.trim();
23
23
  }
24
- const x = i`
24
+ const x = n`
25
25
  fragment FileFragment on File {
26
26
  id
27
27
  url
28
28
  status
29
29
  dateTimeCreated
30
30
  }
31
- `, ve = i`
31
+ `, ve = n`
32
32
  ${x}
33
33
 
34
34
  query File($id: ObjectId!) {
@@ -38,7 +38,7 @@ const x = i`
38
38
  }
39
39
  }
40
40
  }
41
- `, Ne = i`
41
+ `, Ne = n`
42
42
  mutation UploadPrivateImageFile($input: UploadFileInput!) {
43
43
  uploadPrivateImageFile(input: $input) {
44
44
  ... on FileFormatNotSupportedError {
@@ -52,7 +52,7 @@ const x = i`
52
52
  }
53
53
  }
54
54
  }
55
- `, Me = i`
55
+ `, Me = n`
56
56
  query Wallet {
57
57
  wallet {
58
58
  id
@@ -62,7 +62,7 @@ const x = i`
62
62
  dateTimeLastUpdated
63
63
  }
64
64
  }
65
- `, De = i`
65
+ `, Ie = n`
66
66
  query PointsWallet {
67
67
  pointsWallet {
68
68
  id
@@ -71,7 +71,7 @@ const x = i`
71
71
  dateTimeCreated
72
72
  }
73
73
  }
74
- `, Ie = i`
74
+ `, De = n`
75
75
  mutation PointsToCashConversion($input: PointsToCashConversionInput!) {
76
76
  pointsToCashConversion(input: $input) {
77
77
  ... on InsufficientPointsError {
@@ -79,7 +79,7 @@ const x = i`
79
79
  }
80
80
  }
81
81
  }
82
- `, Re = i`
82
+ `, Re = n`
83
83
  query PointsWalletTransactions(
84
84
  $first: Int
85
85
  $after: Cursor
@@ -107,7 +107,7 @@ const x = i`
107
107
  }
108
108
  }
109
109
  }
110
- `, ye = i`
110
+ `, ye = n`
111
111
  query Games($first: Int, $after: Cursor, $filter: GameFilterInput) {
112
112
  games(first: $first, after: $after, filter: $filter) {
113
113
  edges {
@@ -128,7 +128,7 @@ const x = i`
128
128
  }
129
129
  }
130
130
  }
131
- `, ge = i`
131
+ `, ge = n`
132
132
  query GamesByName($first: Int, $search: String!, $filter: GameFilterInput) {
133
133
  gamesByName(first: $first, search: $search, filter: $filter) {
134
134
  ... on Game {
@@ -139,7 +139,7 @@ const x = i`
139
139
  }
140
140
  }
141
141
  }
142
- `, be = i`
142
+ `, be = n`
143
143
  query GameSession($id: ObjectId!) {
144
144
  node(id: $id) {
145
145
  ... on GameSession {
@@ -151,7 +151,7 @@ const x = i`
151
151
  }
152
152
  }
153
153
  }
154
- `, Se = i`
154
+ `, Se = n`
155
155
  mutation CreateGameSession($input: CreateGameSessionInput!) {
156
156
  createGameSession(input: $input) {
157
157
  ... on GameDoesNotExistError {
@@ -159,11 +159,11 @@ const x = i`
159
159
  }
160
160
  }
161
161
  }
162
- `, Pe = i`
162
+ `, Pe = n`
163
163
  mutation EndGameSession($input: EndGameSessionInput!) {
164
164
  endGameSession(input: $input)
165
165
  }
166
- `, xe = i`
166
+ `, xe = n`
167
167
  mutation EndGameSession($input: EndGameSessionInput!) {
168
168
  endGameSession(input: $input) {
169
169
  ... on GameSessionDoesNotExistError {
@@ -177,7 +177,7 @@ const x = i`
177
177
  }
178
178
  }
179
179
  }
180
- `, Ge = i`
180
+ `, Ge = n`
181
181
  query Announcements($first: Int, $after: Cursor, $filter: AnnouncementFilterInput) {
182
182
  announcements(first: $first, after: $after, filter: $filter) {
183
183
  edges {
@@ -203,7 +203,7 @@ const x = i`
203
203
  }
204
204
  }
205
205
  }
206
- `, We = i`
206
+ `, $e = n`
207
207
  query WithdrawalRecords($first: Int, $after: Cursor, $filter: WithdrawalRecordFilterInput) {
208
208
  member {
209
209
  withdrawalRecords(first: $first, after: $after, filter: $filter) {
@@ -270,7 +270,7 @@ const x = i`
270
270
  }
271
271
  }
272
272
  }
273
- `, $e = i`
273
+ `, We = n`
274
274
  mutation CreateGCashWithdrawal($input: CreateGCashWithdrawalInput!) {
275
275
  createGCashWithdrawal(input: $input) {
276
276
  ... on AccountNotVerifiedError {
@@ -293,7 +293,7 @@ const x = i`
293
293
  }
294
294
  }
295
295
  }
296
- `, Be = i`
296
+ `, Be = n`
297
297
  mutation CreateMayaWithdrawal($input: CreateMayaWithdrawalInput!) {
298
298
  createMayaWithdrawal(input: $input) {
299
299
  ... on AccountNotVerifiedError {
@@ -316,7 +316,7 @@ const x = i`
316
316
  }
317
317
  }
318
318
  }
319
- `, Ue = i`
319
+ `, Ue = n`
320
320
  mutation CreateMayaAppWithdrawal($input: CreateMayaAppWithdrawalInput!) {
321
321
  createMayaAppWithdrawal(input: $input) {
322
322
  ... on AccountNotVerifiedError {
@@ -336,7 +336,7 @@ const x = i`
336
336
  }
337
337
  }
338
338
  }
339
- `, Oe = i`
339
+ `, Oe = n`
340
340
  mutation CreateBankWithdrawal($input: CreateBankWithdrawalInput!) {
341
341
  createBankWithdrawal(input: $input) {
342
342
  ... on MobileNumberNotVerifiedError {
@@ -359,11 +359,11 @@ const x = i`
359
359
  }
360
360
  }
361
361
  }
362
- `, qe = i`
362
+ `, qe = n`
363
363
  query RemainingDailyWithdrawalsCount {
364
364
  remainingDailyWithdrawalsCount
365
365
  }
366
- `, Fe = i`
366
+ `, Fe = n`
367
367
  query DepositRecords($after: Cursor, $first: Int, $filter: DepositRecordFilterInput) {
368
368
  member {
369
369
  depositRecords(after: $after, first: $first, filter: $filter) {
@@ -392,7 +392,7 @@ const x = i`
392
392
  }
393
393
  }
394
394
  }
395
- `, Le = i`
395
+ `, Le = n`
396
396
  mutation CreateGCashDeposit($input: CreateGCashDepositInput!) {
397
397
  createGCashDeposit(input: $input) {
398
398
  ... on DepositPromoMaximumAmountExceededError {
@@ -421,7 +421,7 @@ const x = i`
421
421
  }
422
422
  }
423
423
  }
424
- `, Ve = i`
424
+ `, Ve = n`
425
425
  mutation CreateMayaDeposit($input: CreateMayaDepositInput!) {
426
426
  createMayaDeposit(input: $input) {
427
427
  ... on DepositPromoMaximumAmountExceededError {
@@ -450,7 +450,7 @@ const x = i`
450
450
  }
451
451
  }
452
452
  }
453
- `, Ye = i`
453
+ `, Ye = n`
454
454
  mutation CreateMayaAppDeposit($input: CreateMayaAppDepositInput!) {
455
455
  createMayaAppDeposit(input: $input) {
456
456
  ... on DepositPromoMaximumAmountExceededError {
@@ -479,7 +479,7 @@ const x = i`
479
479
  }
480
480
  }
481
481
  }
482
- `, He = i`
482
+ `, He = n`
483
483
  query Deposit($id: ObjectId!) {
484
484
  node(id: $id) {
485
485
  ... on GCashDeposit {
@@ -511,13 +511,13 @@ const x = i`
511
511
  }
512
512
  }
513
513
  }
514
- `, je = i`
514
+ `, je = n`
515
515
  query DepositsCount {
516
516
  member {
517
517
  depositsCount
518
518
  }
519
519
  }
520
- `, Qe = i`
520
+ `, Qe = n`
521
521
  query BetRecords($first: Int, $after: Cursor, $filter: BetRecordFilterInput) {
522
522
  member {
523
523
  betRecords(first: $first, after: $after, filter: $filter) {
@@ -557,7 +557,7 @@ const x = i`
557
557
  }
558
558
  }
559
559
  }
560
- `, Ke = i`
560
+ `, Ke = n`
561
561
  query LatestBetRecords {
562
562
  latestBetRecords {
563
563
  id
@@ -576,7 +576,7 @@ const x = i`
576
576
  dateTimeCreated
577
577
  }
578
578
  }
579
- `, ze = i`
579
+ `, ze = n`
580
580
  query TransactionRecords($first: Int, $after: Cursor, $filter: TransactionRecordFilter) {
581
581
  member {
582
582
  transactionRecords(first: $first, after: $after, filter: $filter) {
@@ -602,7 +602,7 @@ const x = i`
602
602
  }
603
603
  }
604
604
  }
605
- `, $ = i`
605
+ `, W = n`
606
606
  ${x}
607
607
 
608
608
  fragment PromoFragment on Promo {
@@ -621,23 +621,23 @@ const x = i`
621
621
  dateTimeCreated
622
622
  dateTimeLastUpdated
623
623
  }
624
- `, Je = i`
625
- ${$}
624
+ `, Je = n`
625
+ ${W}
626
626
 
627
627
  query Promos {
628
628
  promos {
629
629
  ...PromoFragment
630
630
  }
631
631
  }
632
- `, Xe = i`
633
- ${$}
632
+ `, Xe = n`
633
+ ${W}
634
634
 
635
635
  query AvailablePromos($filter: PromoFilterInput) {
636
636
  availablePromos(filter: $filter) {
637
637
  ...PromoFragment
638
638
  }
639
639
  }
640
- `, Ee = i`
640
+ `, Ee = n`
641
641
  ${x}
642
642
 
643
643
  fragment CashbackFragment on Cashback {
@@ -653,7 +653,7 @@ const x = i`
653
653
  dateTimeCreated
654
654
  dateTimeLastUpdated
655
655
  }
656
- `, Ze = i`
656
+ `, Ze = n`
657
657
  ${Ee}
658
658
 
659
659
  query Cashbacks {
@@ -661,8 +661,8 @@ const x = i`
661
661
  ...CashbackFragment
662
662
  }
663
663
  }
664
- `, et = i`
665
- ${$}
664
+ `, et = n`
665
+ ${W}
666
666
 
667
667
  query Bonus {
668
668
  bonus {
@@ -690,7 +690,7 @@ const x = i`
690
690
  dateTimeLastUpdated
691
691
  }
692
692
  }
693
- `, tt = i`
693
+ `, tt = n`
694
694
  ${Ee}
695
695
 
696
696
  query CashbackBonuses {
@@ -704,7 +704,7 @@ const x = i`
704
704
  dateTimeLastUpdated
705
705
  }
706
706
  }
707
- `, at = i`
707
+ `, at = n`
708
708
  mutation ClaimCashbackBonus($input: ClaimCashbackBonusInput!) {
709
709
  claimCashbackBonus(input: $input) {
710
710
  ... on CashbackBonusDoesNotExistError {
@@ -712,13 +712,13 @@ const x = i`
712
712
  }
713
713
  }
714
714
  }
715
- `, rt = i`
715
+ `, rt = n`
716
716
  query Member {
717
717
  member {
718
718
  dateTimeLastActive
719
719
  }
720
720
  }
721
- `, nt = i`
721
+ `, ot = n`
722
722
  query MemberAccount {
723
723
  memberAccount: self {
724
724
  ... on MemberAccount {
@@ -742,7 +742,7 @@ const x = i`
742
742
  }
743
743
  }
744
744
  }
745
- `, ot = i`
745
+ `, nt = n`
746
746
  ${x}
747
747
 
748
748
  query MemberVerification {
@@ -766,7 +766,7 @@ const x = i`
766
766
  }
767
767
  }
768
768
  }
769
- `, it = i`
769
+ `, it = n`
770
770
  mutation RegisterMemberAccount(
771
771
  $input: RegisterMemberAccountInput!
772
772
  $referralCode: String
@@ -802,7 +802,7 @@ const x = i`
802
802
  }
803
803
  }
804
804
  }
805
- `, st = i`
805
+ `, st = n`
806
806
  mutation UpdateMemberAccount($input: UpdateMemberAccountInput!) {
807
807
  updateMemberAccount(input: $input) {
808
808
  ... on AccountNameNotAvailableError {
@@ -828,7 +828,7 @@ const x = i`
828
828
  }
829
829
  }
830
830
  }
831
- `, ct = i`
831
+ `, ct = n`
832
832
  mutation ResetPassword($input: ResetPasswordInput!, $verificationCode: String) {
833
833
  resetPassword(input: $input, verificationCode: $verificationCode) {
834
834
  ... on AccountNotFoundError {
@@ -839,11 +839,11 @@ const x = i`
839
839
  }
840
840
  }
841
841
  }
842
- `, mt = i`
842
+ `, dt = n`
843
843
  mutation DeleteMemberAccount($input: DeleteMemberAccountInput!) {
844
844
  deleteMemberAccount(input: $input)
845
845
  }
846
- `, dt = i`
846
+ `, mt = n`
847
847
  mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {
848
848
  verifyMobileNumber(input: $input) {
849
849
  ... on InvalidSMSVerificationCodeError {
@@ -854,7 +854,7 @@ const x = i`
854
854
  }
855
855
  }
856
856
  }
857
- `, ut = i`
857
+ `, ut = n`
858
858
  mutation CreateMemberVerification($input: CreateMemberVerificationInput!) {
859
859
  createMemberVerification(input: $input) {
860
860
  ... on FileDoesNotExistError {
@@ -868,7 +868,7 @@ const x = i`
868
868
  }
869
869
  }
870
870
  }
871
- `, lt = i`
871
+ `, lt = n`
872
872
  mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {
873
873
  updateMemberVerification(input: $input) {
874
874
  ... on FileDoesNotExistError {
@@ -885,7 +885,7 @@ const x = i`
885
885
  }
886
886
  }
887
887
  }
888
- `, pt = i`
888
+ `, pt = n`
889
889
  query ProfileCompletion {
890
890
  profileCompletion {
891
891
  completionPercentage
@@ -896,7 +896,7 @@ const x = i`
896
896
  accountPassword
897
897
  }
898
898
  }
899
- `, ft = i`
899
+ `, ft = n`
900
900
  mutation SendVerificationCode($input: SendVerificationCodeInput!) {
901
901
  sendVerificationCode(input: $input) {
902
902
  ... on InvalidPlatformError {
@@ -907,7 +907,7 @@ const x = i`
907
907
  }
908
908
  }
909
909
  }
910
- `, ht = i`
910
+ `, ht = n`
911
911
  fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
912
912
  minimumAmount
913
913
  maximumAmount
@@ -961,7 +961,7 @@ const x = i`
961
961
  multiplier
962
962
  }
963
963
  }
964
- `, wt = i`
964
+ `, wt = n`
965
965
  query MayaSession($id: ObjectId!) {
966
966
  mayaSession(id: $id) {
967
967
  id
@@ -969,10 +969,33 @@ const x = i`
969
969
  dateTimeCreated
970
970
  }
971
971
  }
972
+ `, yt = n`
973
+ query ActivityRecords($after: Cursor, $first: Int, $filter: ActivityRecordsFilterInput) {
974
+ member {
975
+ activityRecords(after: $after, first: $first, filter: $filter) {
976
+ edges {
977
+ cursor
978
+ node {
979
+ ... on MemberActivity {
980
+ id
981
+ type
982
+ details
983
+ dateTimeCreated
984
+ }
985
+ }
986
+ }
987
+ totalCount
988
+ pageInfo {
989
+ hasNextPage
990
+ endCursor
991
+ }
992
+ }
993
+ }
994
+ }
972
995
  `;
973
- function d(n) {
996
+ function m(o) {
974
997
  return {
975
- name: n,
998
+ name: o,
976
999
  message: {
977
1000
  AccountNameNotAvailableError: "Username is no longer available",
978
1001
  AccountNotFoundError: "Account does not exist",
@@ -1021,17 +1044,17 @@ function d(n) {
1021
1044
  InvalidToken: "Invalid token",
1022
1045
  InvalidTokenOrSecretAnswer: "Invalid token or secret answer",
1023
1046
  SessionExpired: "Session expired"
1024
- }[n]
1047
+ }[o]
1025
1048
  };
1026
1049
  }
1027
- class yt {
1050
+ class gt {
1028
1051
  constructor(e) {
1029
- m(this, "client");
1052
+ d(this, "client");
1030
1053
  this.client = e;
1031
1054
  }
1032
1055
  /** aka `Query.self` */
1033
1056
  async memberAccount() {
1034
- const e = await this.client.request(nt);
1057
+ const e = await this.client.request(ot);
1035
1058
  return e.ok ? {
1036
1059
  ok: !0,
1037
1060
  data: e.data.memberAccount
@@ -1041,7 +1064,7 @@ class yt {
1041
1064
  const t = await this.client.request(it, e);
1042
1065
  return t.ok ? t.data.registerMemberAccount ? {
1043
1066
  ok: !1,
1044
- error: d(t.data.registerMemberAccount.__typename)
1067
+ error: m(t.data.registerMemberAccount.__typename)
1045
1068
  } : {
1046
1069
  ok: !0
1047
1070
  } : t;
@@ -1050,13 +1073,13 @@ class yt {
1050
1073
  const t = await this.client.request(st, e);
1051
1074
  return t.ok ? t.data.updateMemberAccount ? {
1052
1075
  ok: !1,
1053
- error: d(t.data.updateMemberAccount.__typename)
1076
+ error: m(t.data.updateMemberAccount.__typename)
1054
1077
  } : {
1055
1078
  ok: !0
1056
1079
  } : t;
1057
1080
  }
1058
1081
  async deleteMemberAccount(e) {
1059
- const t = await this.client.request(mt, e);
1082
+ const t = await this.client.request(dt, e);
1060
1083
  return t.ok ? t.data.deleteMemberAccount ? {
1061
1084
  ok: !0
1062
1085
  } : {
@@ -1074,7 +1097,7 @@ class yt {
1074
1097
  );
1075
1098
  return t.ok ? t.data.resetPassword ? {
1076
1099
  ok: !1,
1077
- error: d(t.data.resetPassword.__typename)
1100
+ error: m(t.data.resetPassword.__typename)
1078
1101
  } : {
1079
1102
  ok: !0
1080
1103
  } : t;
@@ -1090,16 +1113,16 @@ class yt {
1090
1113
  const t = await this.client.request(ft, e);
1091
1114
  return t.ok ? t.data.sendVerificationCode ? {
1092
1115
  ok: !1,
1093
- error: d(t.data.sendVerificationCode.__typename)
1116
+ error: m(t.data.sendVerificationCode.__typename)
1094
1117
  } : {
1095
1118
  ok: !0
1096
1119
  } : t;
1097
1120
  }
1098
1121
  async verifyMobileNumber(e) {
1099
- const t = await this.client.request(dt, e);
1122
+ const t = await this.client.request(mt, e);
1100
1123
  return t.ok ? t.data.verifyMobileNumber ? {
1101
1124
  ok: !1,
1102
- error: d(t.data.verifyMobileNumber.__typename)
1125
+ error: m(t.data.verifyMobileNumber.__typename)
1103
1126
  } : {
1104
1127
  ok: !0
1105
1128
  } : t;
@@ -1108,7 +1131,7 @@ class yt {
1108
1131
  const t = await this.client.request(ut, e);
1109
1132
  return t.ok ? t.data.createMemberVerification ? {
1110
1133
  ok: !1,
1111
- error: d(t.data.createMemberVerification.__typename)
1134
+ error: m(t.data.createMemberVerification.__typename)
1112
1135
  } : {
1113
1136
  ok: !0
1114
1137
  } : t;
@@ -1117,13 +1140,13 @@ class yt {
1117
1140
  const t = await this.client.request(lt, e);
1118
1141
  return t.ok ? t.data.updateMemberVerification ? {
1119
1142
  ok: !1,
1120
- error: d(t.data.updateMemberVerification.__typename)
1143
+ error: m(t.data.updateMemberVerification.__typename)
1121
1144
  } : {
1122
1145
  ok: !0
1123
1146
  } : t;
1124
1147
  }
1125
1148
  async memberVerification() {
1126
- const e = await this.client.request(ot);
1149
+ const e = await this.client.request(nt);
1127
1150
  return e.ok ? {
1128
1151
  ok: !0,
1129
1152
  data: e.data.memberAccount.verification
@@ -1140,8 +1163,8 @@ class yt {
1140
1163
  } : t;
1141
1164
  }
1142
1165
  }
1143
- function h(n, e) {
1144
- const t = G[n] ? G[n] : G[500];
1166
+ function h(o, e) {
1167
+ const t = G[o] ? G[o] : G[500];
1145
1168
  return {
1146
1169
  name: t.name,
1147
1170
  message: e ?? t.message
@@ -1156,10 +1179,10 @@ const G = {
1156
1179
  429: { name: "HttpTooManyRequests", message: "Too Many Requests" },
1157
1180
  500: { name: "HttpInternalServerError", message: "Internal Server Error" }
1158
1181
  };
1159
- class gt {
1182
+ class bt {
1160
1183
  constructor(e) {
1161
- m(this, "url");
1162
- m(this, "platform");
1184
+ d(this, "url");
1185
+ d(this, "platform");
1163
1186
  this.url = e.url, this.platform = e.platform;
1164
1187
  }
1165
1188
  async createSession(e) {
@@ -1187,7 +1210,7 @@ class gt {
1187
1210
  data: r
1188
1211
  } : r.code === "ACCOUNT_BLACKLISTED" ? {
1189
1212
  ok: !1,
1190
- error: d("AccountBlacklisted")
1213
+ error: m("AccountBlacklisted")
1191
1214
  } : {
1192
1215
  ok: !1,
1193
1216
  error: h(a.status)
@@ -1220,7 +1243,7 @@ class gt {
1220
1243
  data: r
1221
1244
  } : a.status === 401 || a.status === 403 ? {
1222
1245
  ok: !1,
1223
- error: d("InvalidTokenOrSecretAnswer")
1246
+ error: m("InvalidTokenOrSecretAnswer")
1224
1247
  } : {
1225
1248
  ok: !1,
1226
1249
  error: h(a.status)
@@ -1250,10 +1273,10 @@ class gt {
1250
1273
  data: a
1251
1274
  } : a.code === "ACCOUNT_BLACKLISTED" ? {
1252
1275
  ok: !1,
1253
- error: d("AccountBlacklisted")
1276
+ error: m("AccountBlacklisted")
1254
1277
  } : t.status === 403 || t.status === 401 ? {
1255
1278
  ok: !1,
1256
- error: d("InvalidToken")
1279
+ error: m("InvalidToken")
1257
1280
  } : {
1258
1281
  ok: !1,
1259
1282
  error: h(t.status)
@@ -1297,9 +1320,9 @@ class gt {
1297
1320
  }
1298
1321
  }
1299
1322
  }
1300
- class bt {
1323
+ class St {
1301
1324
  constructor(e) {
1302
- m(this, "client");
1325
+ d(this, "client");
1303
1326
  this.client = e;
1304
1327
  }
1305
1328
  async file(e) {
@@ -1313,15 +1336,15 @@ class bt {
1313
1336
  const t = await this.client.upload(Ne, e);
1314
1337
  return t.ok ? t.data.uploadPrivateImageFile ? {
1315
1338
  ok: !1,
1316
- error: d(t.data.uploadPrivateImageFile.__typename)
1339
+ error: m(t.data.uploadPrivateImageFile.__typename)
1317
1340
  } : {
1318
1341
  ok: !0
1319
1342
  } : t;
1320
1343
  }
1321
1344
  }
1322
- class St {
1345
+ class Et {
1323
1346
  constructor(e) {
1324
- m(this, "client");
1347
+ d(this, "client");
1325
1348
  this.client = e;
1326
1349
  }
1327
1350
  async betRecords(e) {
@@ -1337,7 +1360,7 @@ class St {
1337
1360
  }
1338
1361
  async withdrawalRecords(e) {
1339
1362
  const t = await this.client.request(
1340
- We,
1363
+ $e,
1341
1364
  e
1342
1365
  );
1343
1366
  return t.ok ? { ok: t.ok, data: t.data.member.withdrawalRecords } : t;
@@ -1361,10 +1384,17 @@ class St {
1361
1384
  const t = await this.client.request(Re, e);
1362
1385
  return t.ok ? { ok: t.ok, data: t.data.member.pointsWalletTransactions } : t;
1363
1386
  }
1387
+ async activityRecords(e) {
1388
+ const t = await this.client.request(
1389
+ yt,
1390
+ e
1391
+ );
1392
+ return t.ok ? { ok: t.ok, data: t.data.member.activityRecords } : t;
1393
+ }
1364
1394
  }
1365
- class Et {
1395
+ class At {
1366
1396
  constructor(e) {
1367
- m(this, "url");
1397
+ d(this, "url");
1368
1398
  this.url = e.url;
1369
1399
  }
1370
1400
  gameThumbnails(e) {
@@ -1376,7 +1406,7 @@ class Et {
1376
1406
  }
1377
1407
  class Ae {
1378
1408
  constructor(e) {
1379
- m(this, "client");
1409
+ d(this, "client");
1380
1410
  this.client = e;
1381
1411
  }
1382
1412
  async promos() {
@@ -1402,7 +1432,7 @@ class Ae {
1402
1432
  const t = await this.client.request(at, e);
1403
1433
  return t.ok ? t.data.claimCashbackBonus ? {
1404
1434
  ok: !1,
1405
- error: d(t.data.claimCashbackBonus.__typename)
1435
+ error: m(t.data.claimCashbackBonus.__typename)
1406
1436
  } : {
1407
1437
  ok: !0
1408
1438
  } : {
@@ -1429,7 +1459,7 @@ class Ae {
1429
1459
  const t = await this.client.request(Le, e);
1430
1460
  return t.ok ? t.data.createGCashDeposit ? {
1431
1461
  ok: !1,
1432
- error: d(t.data.createGCashDeposit.__typename)
1462
+ error: m(t.data.createGCashDeposit.__typename)
1433
1463
  } : {
1434
1464
  ok: !0
1435
1465
  } : t;
@@ -1438,7 +1468,7 @@ class Ae {
1438
1468
  const t = await this.client.request(Ve, e);
1439
1469
  return t.ok ? t.data.createMayaDeposit ? {
1440
1470
  ok: !1,
1441
- error: d(t.data.createMayaDeposit.__typename)
1471
+ error: m(t.data.createMayaDeposit.__typename)
1442
1472
  } : {
1443
1473
  ok: !0
1444
1474
  } : t;
@@ -1447,16 +1477,16 @@ class Ae {
1447
1477
  const t = await this.client.request(Ye, e);
1448
1478
  return t.ok ? t.data.createMayaAppDeposit ? {
1449
1479
  ok: !1,
1450
- error: d(t.data.createMayaAppDeposit.__typename)
1480
+ error: m(t.data.createMayaAppDeposit.__typename)
1451
1481
  } : {
1452
1482
  ok: !0
1453
1483
  } : t;
1454
1484
  }
1455
1485
  async createGCashWithdrawal(e) {
1456
- const t = await this.client.request($e, e);
1486
+ const t = await this.client.request(We, e);
1457
1487
  return t.ok ? t.data.createGCashWithdrawal ? {
1458
1488
  ok: !1,
1459
- error: d(t.data.createGCashWithdrawal.__typename)
1489
+ error: m(t.data.createGCashWithdrawal.__typename)
1460
1490
  } : {
1461
1491
  ok: !0
1462
1492
  } : t;
@@ -1465,7 +1495,7 @@ class Ae {
1465
1495
  const t = await this.client.request(Be, e);
1466
1496
  return t.ok ? t.data.createMayaWithdrawal ? {
1467
1497
  ok: !1,
1468
- error: d(t.data.createMayaWithdrawal.__typename)
1498
+ error: m(t.data.createMayaWithdrawal.__typename)
1469
1499
  } : {
1470
1500
  ok: !0
1471
1501
  } : t;
@@ -1474,7 +1504,7 @@ class Ae {
1474
1504
  const t = await this.client.request(Ue, e);
1475
1505
  return t.ok ? t.data.createMayaAppWithdrawal ? {
1476
1506
  ok: !1,
1477
- error: d(t.data.createMayaAppWithdrawal.__typename)
1507
+ error: m(t.data.createMayaAppWithdrawal.__typename)
1478
1508
  } : {
1479
1509
  ok: !0
1480
1510
  } : t;
@@ -1483,7 +1513,7 @@ class Ae {
1483
1513
  const t = await this.client.request(Oe, e);
1484
1514
  return t.ok ? t.data.createBankWithdrawal ? {
1485
1515
  ok: !1,
1486
- error: d(t.data.createBankWithdrawal.__typename)
1516
+ error: m(t.data.createBankWithdrawal.__typename)
1487
1517
  } : {
1488
1518
  ok: !0
1489
1519
  } : t;
@@ -1495,14 +1525,14 @@ class Ae {
1495
1525
  return e.ok ? { ok: e.ok, data: e.data.remainingDailyWithdrawalsCount } : e;
1496
1526
  }
1497
1527
  async pointsWallet() {
1498
- const e = await this.client.request(De);
1528
+ const e = await this.client.request(Ie);
1499
1529
  return e.ok ? { ok: e.ok, data: e.data.pointsWallet } : e;
1500
1530
  }
1501
1531
  async pointsToCashConversion(e) {
1502
- const t = await this.client.request(Ie, e);
1532
+ const t = await this.client.request(De, e);
1503
1533
  return t.ok ? t.data.pointsToCashConversion ? {
1504
1534
  ok: !1,
1505
- error: d(t.data.pointsToCashConversion.__typename)
1535
+ error: m(t.data.pointsToCashConversion.__typename)
1506
1536
  } : {
1507
1537
  ok: !0
1508
1538
  } : t;
@@ -1538,7 +1568,7 @@ class Ae {
1538
1568
  const t = await this.client.request(Se, e);
1539
1569
  return t.ok ? t.data.createGameSession ? {
1540
1570
  ok: !1,
1541
- error: d(t.data.createGameSession.__typename)
1571
+ error: m(t.data.createGameSession.__typename)
1542
1572
  } : {
1543
1573
  ok: !0
1544
1574
  } : t;
@@ -1559,11 +1589,11 @@ class Ae {
1559
1589
  } : t;
1560
1590
  }
1561
1591
  }
1562
- class At {
1592
+ class kt {
1563
1593
  constructor(e) {
1564
- m(this, "url");
1565
- m(this, "siteId");
1566
- m(this, "platformId");
1594
+ d(this, "url");
1595
+ d(this, "siteId");
1596
+ d(this, "platformId");
1567
1597
  this.url = e.url, this.siteId = e.site, this.platformId = e.platform;
1568
1598
  }
1569
1599
  async self() {
@@ -1574,16 +1604,16 @@ class At {
1574
1604
  } : e;
1575
1605
  }
1576
1606
  async games(e) {
1577
- var r, s, c, u, l, p, y, f, A, k, _, C, T, v, N, M;
1607
+ var r, s, c, u, l, p, y, f, A, k, C, _, T, v, N, M;
1578
1608
  const t = new URLSearchParams();
1579
- 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 = (r = e == null ? void 0 : e.filter) == null ? void 0 : r.type) != null && s.equal && t.set("filter[type][eq]", e.filter.type.equal), (u = (c = e == null ? void 0 : e.filter) == null ? void 0 : c.type) != null && u.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (p = (l = e == null ? void 0 : e.filter) == null ? void 0 : l.type) != null && p.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (f = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.type) != null && f.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (k = (A = e == null ? void 0 : e.filter) == null ? void 0 : A.provider) != null && k.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (C = (_ = e == null ? void 0 : e.filter) == null ? void 0 : _.provider) != null && C.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (v = (T = e == null ? void 0 : e.filter) == null ? void 0 : T.provider) != null && v.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (M = (N = e == null ? void 0 : e.filter) == null ? void 0 : N.provider) != null && M.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(","));
1609
+ 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 = (r = e == null ? void 0 : e.filter) == null ? void 0 : r.type) != null && s.equal && t.set("filter[type][eq]", e.filter.type.equal), (u = (c = e == null ? void 0 : e.filter) == null ? void 0 : c.type) != null && u.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (p = (l = e == null ? void 0 : e.filter) == null ? void 0 : l.type) != null && p.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (f = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.type) != null && f.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (k = (A = e == null ? void 0 : e.filter) == null ? void 0 : A.provider) != null && k.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (_ = (C = e == null ? void 0 : e.filter) == null ? void 0 : C.provider) != null && _.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (v = (T = e == null ? void 0 : e.filter) == null ? void 0 : T.provider) != null && v.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (M = (N = e == null ? void 0 : e.filter) == null ? void 0 : N.provider) != null && M.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(","));
1580
1610
  const a = await this.getJson("/games", t);
1581
1611
  return a.ok ? {
1582
1612
  ok: !0,
1583
1613
  data: {
1584
- edges: a.data.data.map((D) => ({
1585
- node: D,
1586
- cursor: D.cursor
1614
+ edges: a.data.data.map((I) => ({
1615
+ node: I,
1616
+ cursor: I.cursor
1587
1617
  })),
1588
1618
  totalCount: a.data.totalCount ?? 0,
1589
1619
  pageInfo: {
@@ -1631,9 +1661,9 @@ class At {
1631
1661
  }
1632
1662
  }
1633
1663
  }
1634
- class kt {
1664
+ class Ct {
1635
1665
  constructor(e) {
1636
- m(this, "client");
1666
+ d(this, "client");
1637
1667
  this.client = e;
1638
1668
  }
1639
1669
  /** @deprecated */
@@ -1660,7 +1690,7 @@ class kt {
1660
1690
  const t = await this.client.request(Se, e);
1661
1691
  return t.ok ? t.data.createGameSession ? {
1662
1692
  ok: !1,
1663
- error: d(t.data.createGameSession.__typename)
1693
+ error: m(t.data.createGameSession.__typename)
1664
1694
  } : {
1665
1695
  ok: !0
1666
1696
  } : t;
@@ -1669,7 +1699,7 @@ class kt {
1669
1699
  const t = await this.client.request(xe, e);
1670
1700
  return t.ok ? t.data.endGameSession ? {
1671
1701
  ok: !1,
1672
- error: d(t.data.endGameSession.__typename)
1702
+ error: m(t.data.endGameSession.__typename)
1673
1703
  } : {
1674
1704
  ok: !0
1675
1705
  } : t;
@@ -1677,7 +1707,7 @@ class kt {
1677
1707
  }
1678
1708
  class _t {
1679
1709
  constructor(e) {
1680
- m(this, "client");
1710
+ d(this, "client");
1681
1711
  this.client = e;
1682
1712
  }
1683
1713
  async latestBetRecords() {
@@ -1688,33 +1718,33 @@ class _t {
1688
1718
  } : e;
1689
1719
  }
1690
1720
  }
1691
- function Ct(n, e, t) {
1692
- return n < e ? e : n > t ? t : n;
1721
+ function Tt(o, e, t) {
1722
+ return o < e ? e : o > t ? t : o;
1693
1723
  }
1694
- function W(n) {
1695
- return Object.prototype.toString.call(n) === "[object Object]" && Object(n) === n;
1724
+ function $(o) {
1725
+ return Object.prototype.toString.call(o) === "[object Object]" && Object(o) === o;
1696
1726
  }
1697
- function Tt(n) {
1727
+ function vt(o) {
1698
1728
  const e = [];
1699
1729
  function t(a, r = []) {
1700
1730
  for (const s in a) {
1701
1731
  const c = a[s];
1702
- W(c) ? t(c, [...r, s]) : Array.isArray(c) ? t(vt(c), [...r, s]) : e.push({
1732
+ $(c) ? t(c, [...r, s]) : Array.isArray(c) ? t(Nt(c), [...r, s]) : e.push({
1703
1733
  key: [...r, s],
1704
1734
  value: c
1705
1735
  });
1706
1736
  }
1707
1737
  }
1708
- return t(n), e;
1738
+ return t(o), e;
1709
1739
  }
1710
- function vt(n) {
1711
- return n.reduce((e, t, a) => (e[a] = t, e), {});
1740
+ function Nt(o) {
1741
+ return o.reduce((e, t, a) => (e[a] = t, e), {});
1712
1742
  }
1713
1743
  class E {
1714
1744
  constructor(e, t) {
1715
- m(this, "url");
1716
- m(this, "options");
1717
- m(this, "middlewares");
1745
+ d(this, "url");
1746
+ d(this, "options");
1747
+ d(this, "middlewares");
1718
1748
  var r;
1719
1749
  const a = new Headers((r = t == null ? void 0 : t.fetchOptions) == null ? void 0 : r.headers);
1720
1750
  this.url = e, this.options = { ...t == null ? void 0 : t.fetchOptions, headers: a }, this.middlewares = (t == null ? void 0 : t.middlewares) ?? [];
@@ -1774,7 +1804,7 @@ class E {
1774
1804
  return t;
1775
1805
  }
1776
1806
  createUploadBody(e, t) {
1777
- const a = Tt(t).filter(
1807
+ const a = vt(t).filter(
1778
1808
  (c) => c.value instanceof File || c.value instanceof Blob
1779
1809
  ), r = new FormData();
1780
1810
  r.append(
@@ -1792,13 +1822,13 @@ class E {
1792
1822
  }), r;
1793
1823
  }
1794
1824
  }
1795
- async function g(n) {
1796
- const e = new TextEncoder().encode(n), t = await crypto.subtle.digest("SHA-256", e);
1825
+ async function g(o) {
1826
+ const e = new TextEncoder().encode(o), t = await crypto.subtle.digest("SHA-256", e);
1797
1827
  return Array.from(new Uint8Array(t)).map((s) => s.toString(16).padStart(2, "0")).join("");
1798
1828
  }
1799
1829
  class ke {
1800
1830
  constructor(e) {
1801
- m(this, "enabled");
1831
+ d(this, "enabled");
1802
1832
  this.enabled = (e == null ? void 0 : e.enabled) ?? !0;
1803
1833
  }
1804
1834
  info(e) {
@@ -1814,26 +1844,26 @@ class ke {
1814
1844
  this.enabled && console.log(`\x1B[32m[success] ${e}`);
1815
1845
  }
1816
1846
  }
1817
- function B(n) {
1818
- return new Date(n.getTime());
1847
+ function B(o) {
1848
+ return new Date(o.getTime());
1819
1849
  }
1820
- function I(n, e) {
1821
- const t = B(n);
1850
+ function D(o, e) {
1851
+ const t = B(o);
1822
1852
  return t.setDate(t.getDate() + e), t;
1823
1853
  }
1824
- function R(n, e) {
1825
- const t = B(n);
1854
+ function R(o, e) {
1855
+ const t = B(o);
1826
1856
  return t.setMinutes(t.getMinutes() + e), t;
1827
1857
  }
1828
- function he(n, e) {
1829
- return n.getTime() > e.getTime();
1858
+ function he(o, e) {
1859
+ return o.getTime() > e.getTime();
1830
1860
  }
1831
- function _e(n) {
1861
+ function Ce(o) {
1832
1862
  return new Promise((e) => {
1833
- setTimeout(e, n);
1863
+ setTimeout(e, o);
1834
1864
  });
1835
1865
  }
1836
- function we(n, e) {
1866
+ function we(o, e) {
1837
1867
  const {
1838
1868
  until: t,
1839
1869
  interval: a = 1e3,
@@ -1841,23 +1871,23 @@ function we(n, e) {
1841
1871
  /**/
1842
1872
  } = e;
1843
1873
  async function s(c, u) {
1844
- const l = u ?? r, p = await n(...c);
1845
- return t(p) ? p : l > 1 ? (await _e(a * ((r - l) / 2)), s(c, l - 1)) : p;
1874
+ const l = u ?? r, p = await o(...c);
1875
+ return t(p) ? p : l > 1 ? (await Ce(a * ((r - l) / 2)), s(c, l - 1)) : p;
1846
1876
  }
1847
1877
  return async (...c) => await s(c);
1848
1878
  }
1849
- function P(n, e) {
1850
- const t = B(n);
1879
+ function P(o, e) {
1880
+ const t = B(o);
1851
1881
  return t.setMinutes(t.getMinutes() - e), t;
1852
1882
  }
1853
- class Nt {
1883
+ class Mt {
1854
1884
  constructor(e) {
1855
- m(this, "logger");
1856
- m(this, "storageKey", "session");
1857
- m(this, "authService");
1858
- m(this, "walletService");
1859
- m(this, "_refreshing", !1);
1860
- this.authService = new gt({
1885
+ d(this, "logger");
1886
+ d(this, "storageKey", "session");
1887
+ d(this, "authService");
1888
+ d(this, "walletService");
1889
+ d(this, "_refreshing", !1);
1890
+ this.authService = new bt({
1861
1891
  url: e.authUrl,
1862
1892
  platform: e.platform
1863
1893
  }), this.walletService = new Ae(
@@ -1907,7 +1937,7 @@ class Nt {
1907
1937
  JSON.stringify({
1908
1938
  ...u.data,
1909
1939
  accessTokenExpiresAt: R(l, 8).getTime(),
1910
- refreshTokenExpiresAt: P(I(l, 30), 2).getTime()
1940
+ refreshTokenExpiresAt: P(D(l, 30), 2).getTime()
1911
1941
  })
1912
1942
  ), {
1913
1943
  ok: !0,
@@ -1923,7 +1953,7 @@ class Nt {
1923
1953
  JSON.stringify({
1924
1954
  ...r.data,
1925
1955
  accessTokenExpiresAt: R(s, 8).getTime(),
1926
- refreshTokenExpiresAt: P(I(s, 30), 2).getTime()
1956
+ refreshTokenExpiresAt: P(D(s, 30), 2).getTime()
1927
1957
  })
1928
1958
  ), {
1929
1959
  ok: !0,
@@ -1947,7 +1977,7 @@ class Nt {
1947
1977
  JSON.stringify({
1948
1978
  ...t.data,
1949
1979
  accessTokenExpiresAt: R(a, 8).getTime(),
1950
- refreshTokenExpiresAt: P(I(a, 30), 2).getTime()
1980
+ refreshTokenExpiresAt: P(D(a, 30), 2).getTime()
1951
1981
  })
1952
1982
  ), {
1953
1983
  ok: !0,
@@ -1963,7 +1993,7 @@ class Nt {
1963
1993
  JSON.stringify({
1964
1994
  ...t.data,
1965
1995
  accessTokenExpiresAt: R(a, 8).getTime(),
1966
- refreshTokenExpiresAt: P(I(a, 30), 2).getTime()
1996
+ refreshTokenExpiresAt: P(D(a, 30), 2).getTime()
1967
1997
  })
1968
1998
  ), { ok: !0 };
1969
1999
  } else
@@ -1976,7 +2006,7 @@ class Nt {
1976
2006
  data: null
1977
2007
  };
1978
2008
  if (this.refreshing)
1979
- return await _e(1e3), await this.get();
2009
+ return await Ce(1e3), await this.get();
1980
2010
  const e = window.localStorage.getItem(this.storageKey);
1981
2011
  if (!e)
1982
2012
  return {
@@ -2009,7 +2039,7 @@ class Nt {
2009
2039
  ...t,
2010
2040
  ...c.data,
2011
2041
  accessTokenExpiresAt: R(a, 8).getTime(),
2012
- refreshTokenExpiresAt: P(I(a, 30), 2).getTime()
2042
+ refreshTokenExpiresAt: P(D(a, 30), 2).getTime()
2013
2043
  }, window.localStorage.setItem(this.storageKey, JSON.stringify(t));
2014
2044
  }
2015
2045
  return {
@@ -2049,17 +2079,17 @@ class Nt {
2049
2079
  return typeof window > "u";
2050
2080
  }
2051
2081
  }
2052
- function w(n) {
2082
+ function w(o) {
2053
2083
  const e = {};
2054
- for (const t in n) {
2055
- const a = n[t];
2084
+ for (const t in o) {
2085
+ const a = o[t];
2056
2086
  if (a !== null && a !== void 0) {
2057
- if (W(a)) {
2087
+ if ($(a)) {
2058
2088
  e[t] = w(a);
2059
2089
  continue;
2060
2090
  }
2061
2091
  if (Array.isArray(a)) {
2062
- e[t] = a.map((r) => W(r) ? w(r) : r);
2092
+ e[t] = a.map((r) => $(r) ? w(r) : r);
2063
2093
  continue;
2064
2094
  }
2065
2095
  e[t] = a;
@@ -2067,21 +2097,21 @@ function w(n) {
2067
2097
  }
2068
2098
  return e;
2069
2099
  }
2070
- function o(n, e) {
2071
- if (typeof n == "number" && !Number.isNaN(n))
2072
- return n;
2073
- if (typeof n == "string") {
2074
- const t = Number.parseFloat(n);
2100
+ function i(o, e) {
2101
+ if (typeof o == "number" && !Number.isNaN(o))
2102
+ return o;
2103
+ if (typeof o == "string") {
2104
+ const t = Number.parseFloat(o);
2075
2105
  if (!Number.isNaN(t))
2076
2106
  return t;
2077
2107
  }
2078
2108
  return e;
2079
2109
  }
2080
- class Mt {
2110
+ class It {
2081
2111
  constructor(e) {
2082
- m(this, "staticService");
2112
+ d(this, "staticService");
2083
2113
  const t = (e == null ? void 0 : e.environment) === "development";
2084
- this.staticService = new Et({
2114
+ this.staticService = new At({
2085
2115
  url: t ? "https://static.development.opexa.io" : "https://static.opexa.io"
2086
2116
  });
2087
2117
  }
@@ -2110,7 +2140,8 @@ class Mt {
2110
2140
  cashbackBonus: this.cashbackBonus.bind(this),
2111
2141
  file: this.file.bind(this),
2112
2142
  pointsWallet: this.pointsWallet.bind(this),
2113
- pointsWalletTransaction: this.pointsWalletTransaction.bind(this)
2143
+ pointsWalletTransaction: this.pointsWalletTransaction.bind(this),
2144
+ activityRecord: this.activityRecord.bind(this)
2114
2145
  };
2115
2146
  }
2116
2147
  site(e) {
@@ -2122,10 +2153,10 @@ class Mt {
2122
2153
  return w(t);
2123
2154
  }
2124
2155
  platform(e) {
2125
- var t, a, r, s, c, u, l, p, y, f, A, k, _, C, T, v, N, M, D, U, O, q, F, L, V, Y, H, j, Q, K, z, J, X, Z, ee, te, ae, re, ne, oe, ie, se, ce, me, de, ue, le, pe, fe;
2156
+ var t, a, r, s, c, u, l, p, y, f, A, k, C, _, T, v, N, M, I, U, O, q, F, L, V, Y, H, j, Q, K, z, J, X, Z, ee, te, ae, re, oe, ne, ie, se, ce, de, me, ue, le, pe, fe;
2126
2157
  return {
2127
2158
  paymentSettings: {
2128
- minimumFirstDepositAmount: o(e.minimumFirstDepositAmount),
2159
+ minimumFirstDepositAmount: i(e.minimumFirstDepositAmount),
2129
2160
  restrictWithdrawalsToVerifiedMembers: e.restrictWithdrawalsToVerifiedMembers,
2130
2161
  depositGateway: {
2131
2162
  bank: {
@@ -2133,32 +2164,32 @@ class Mt {
2133
2164
  iosEnabled: ((a = e.bankDepositGatewaySettings) == null ? void 0 : a.iosEnabled) ?? !1,
2134
2165
  webEnabled: ((r = e.bankDepositGatewaySettings) == null ? void 0 : r.webEnabled) ?? !1,
2135
2166
  mobileWebEnabled: ((s = e.bankDepositGatewaySettings) == null ? void 0 : s.mobileWebEnabled) ?? !1,
2136
- minimumAmount: o((c = e.bankDepositGatewaySettings) == null ? void 0 : c.minimumAmount),
2137
- maximumAmount: o((u = e.bankDepositGatewaySettings) == null ? void 0 : u.maximumAmount)
2167
+ minimumAmount: i((c = e.bankDepositGatewaySettings) == null ? void 0 : c.minimumAmount),
2168
+ maximumAmount: i((u = e.bankDepositGatewaySettings) == null ? void 0 : u.maximumAmount)
2138
2169
  },
2139
2170
  gcash: {
2140
2171
  androidEnabled: ((l = e.gcashDepositGatewaySettings) == null ? void 0 : l.androidEnabled) ?? !1,
2141
2172
  iosEnabled: ((p = e.gcashDepositGatewaySettings) == null ? void 0 : p.iosEnabled) ?? !1,
2142
2173
  webEnabled: ((y = e.gcashDepositGatewaySettings) == null ? void 0 : y.webEnabled) ?? !1,
2143
2174
  mobileWebEnabled: ((f = e.gcashDepositGatewaySettings) == null ? void 0 : f.mobileWebEnabled) ?? !1,
2144
- minimumAmount: o((A = e.gcashDepositGatewaySettings) == null ? void 0 : A.minimumAmount),
2145
- maximumAmount: o((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.maximumAmount)
2175
+ minimumAmount: i((A = e.gcashDepositGatewaySettings) == null ? void 0 : A.minimumAmount),
2176
+ maximumAmount: i((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.maximumAmount)
2146
2177
  },
2147
2178
  maya: {
2148
- androidEnabled: ((_ = e.mayaDepositGatewaySettings) == null ? void 0 : _.androidEnabled) ?? !1,
2149
- iosEnabled: ((C = e.mayaDepositGatewaySettings) == null ? void 0 : C.iosEnabled) ?? !1,
2179
+ androidEnabled: ((C = e.mayaDepositGatewaySettings) == null ? void 0 : C.androidEnabled) ?? !1,
2180
+ iosEnabled: ((_ = e.mayaDepositGatewaySettings) == null ? void 0 : _.iosEnabled) ?? !1,
2150
2181
  webEnabled: ((T = e.mayaDepositGatewaySettings) == null ? void 0 : T.webEnabled) ?? !1,
2151
2182
  mobileWebEnabled: ((v = e.mayaDepositGatewaySettings) == null ? void 0 : v.mobileWebEnabled) ?? !1,
2152
- minimumAmount: o((N = e.mayaDepositGatewaySettings) == null ? void 0 : N.minimumAmount),
2153
- maximumAmount: o((M = e.mayaDepositGatewaySettings) == null ? void 0 : M.maximumAmount)
2183
+ minimumAmount: i((N = e.mayaDepositGatewaySettings) == null ? void 0 : N.minimumAmount),
2184
+ maximumAmount: i((M = e.mayaDepositGatewaySettings) == null ? void 0 : M.maximumAmount)
2154
2185
  },
2155
2186
  mayaApp: {
2156
- androidEnabled: ((D = e.mayaAppDepositGatewaySettings) == null ? void 0 : D.androidEnabled) ?? !1,
2187
+ androidEnabled: ((I = e.mayaAppDepositGatewaySettings) == null ? void 0 : I.androidEnabled) ?? !1,
2157
2188
  iosEnabled: ((U = e.mayaAppDepositGatewaySettings) == null ? void 0 : U.iosEnabled) ?? !1,
2158
2189
  webEnabled: ((O = e.mayaAppDepositGatewaySettings) == null ? void 0 : O.webEnabled) ?? !1,
2159
2190
  mobileWebEnabled: ((q = e.mayaAppDepositGatewaySettings) == null ? void 0 : q.mobileWebEnabled) ?? !1,
2160
- minimumAmount: o((F = e.mayaAppDepositGatewaySettings) == null ? void 0 : F.minimumAmount),
2161
- maximumAmount: o((L = e.mayaAppDepositGatewaySettings) == null ? void 0 : L.maximumAmount)
2191
+ minimumAmount: i((F = e.mayaAppDepositGatewaySettings) == null ? void 0 : F.minimumAmount),
2192
+ maximumAmount: i((L = e.mayaAppDepositGatewaySettings) == null ? void 0 : L.maximumAmount)
2162
2193
  }
2163
2194
  },
2164
2195
  withdrawalGateway: {
@@ -2167,16 +2198,16 @@ class Mt {
2167
2198
  iosEnabled: ((Y = e.bankWithdrawalGatewaySettings) == null ? void 0 : Y.iosEnabled) ?? !1,
2168
2199
  webEnabled: ((H = e.bankWithdrawalGatewaySettings) == null ? void 0 : H.webEnabled) ?? !1,
2169
2200
  mobileWebEnabled: ((j = e.bankWithdrawalGatewaySettings) == null ? void 0 : j.mobileWebEnabled) ?? !1,
2170
- minimumAmount: o((Q = e.bankWithdrawalGatewaySettings) == null ? void 0 : Q.minimumAmount),
2171
- maximumAmount: o((K = e.bankWithdrawalGatewaySettings) == null ? void 0 : K.maximumAmount)
2201
+ minimumAmount: i((Q = e.bankWithdrawalGatewaySettings) == null ? void 0 : Q.minimumAmount),
2202
+ maximumAmount: i((K = e.bankWithdrawalGatewaySettings) == null ? void 0 : K.maximumAmount)
2172
2203
  },
2173
2204
  gcash: {
2174
2205
  androidEnabled: ((z = e.gcashWithdrawalGatewaySettings) == null ? void 0 : z.androidEnabled) ?? !1,
2175
2206
  iosEnabled: ((J = e.gcashWithdrawalGatewaySettings) == null ? void 0 : J.iosEnabled) ?? !1,
2176
2207
  webEnabled: ((X = e.gcashWithdrawalGatewaySettings) == null ? void 0 : X.webEnabled) ?? !1,
2177
2208
  mobileWebEnabled: ((Z = e.gcashWithdrawalGatewaySettings) == null ? void 0 : Z.mobileWebEnabled) ?? !1,
2178
- minimumAmount: o((ee = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ee.minimumAmount),
2179
- maximumAmount: o(
2209
+ minimumAmount: i((ee = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ee.minimumAmount),
2210
+ maximumAmount: i(
2180
2211
  (te = e.gcashWithdrawalGatewaySettings) == null ? void 0 : te.maximumAmount,
2181
2212
  1e6
2182
2213
  )
@@ -2184,18 +2215,18 @@ class Mt {
2184
2215
  maya: {
2185
2216
  androidEnabled: ((ae = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ae.androidEnabled) ?? !1,
2186
2217
  iosEnabled: ((re = e.mayaWithdrawalGatewaySettings) == null ? void 0 : re.iosEnabled) ?? !1,
2187
- webEnabled: ((ne = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ne.webEnabled) ?? !1,
2188
- mobileWebEnabled: ((oe = e.mayaWithdrawalGatewaySettings) == null ? void 0 : oe.mobileWebEnabled) ?? !1,
2189
- minimumAmount: o((ie = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ie.minimumAmount),
2190
- maximumAmount: o((se = e.mayaWithdrawalGatewaySettings) == null ? void 0 : se.maximumAmount)
2218
+ webEnabled: ((oe = e.mayaWithdrawalGatewaySettings) == null ? void 0 : oe.webEnabled) ?? !1,
2219
+ mobileWebEnabled: ((ne = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ne.mobileWebEnabled) ?? !1,
2220
+ minimumAmount: i((ie = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ie.minimumAmount),
2221
+ maximumAmount: i((se = e.mayaWithdrawalGatewaySettings) == null ? void 0 : se.maximumAmount)
2191
2222
  },
2192
2223
  mayaApp: {
2193
2224
  androidEnabled: ((ce = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ce.androidEnabled) ?? !1,
2194
- iosEnabled: ((me = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : me.iosEnabled) ?? !1,
2195
- webEnabled: ((de = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : de.webEnabled) ?? !1,
2225
+ iosEnabled: ((de = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : de.iosEnabled) ?? !1,
2226
+ webEnabled: ((me = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : me.webEnabled) ?? !1,
2196
2227
  mobileWebEnabled: ((ue = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ue.mobileWebEnabled) ?? !1,
2197
- minimumAmount: o((le = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : le.minimumAmount),
2198
- maximumAmount: o(
2228
+ minimumAmount: i((le = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : le.minimumAmount),
2229
+ maximumAmount: i(
2199
2230
  (pe = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : pe.maximumAmount,
2200
2231
  1e6
2201
2232
  )
@@ -2203,7 +2234,7 @@ class Mt {
2203
2234
  }
2204
2235
  },
2205
2236
  pointsClubSettings: {
2206
- multiplier: o((fe = e.pointsClubSettings) == null ? void 0 : fe.multiplier, 0)
2237
+ multiplier: i((fe = e.pointsClubSettings) == null ? void 0 : fe.multiplier, 0)
2207
2238
  }
2208
2239
  };
2209
2240
  }
@@ -2233,7 +2264,7 @@ class Mt {
2233
2264
  wallet(e) {
2234
2265
  return {
2235
2266
  id: e.id,
2236
- balance: o(e.balance, 0),
2267
+ balance: i(e.balance, 0),
2237
2268
  currency: e.currency,
2238
2269
  dateTimeCreated: new Date(e.dateTimeCreated),
2239
2270
  dateTimeLastUpdated: new Date(e.dateTimeLastUpdated)
@@ -2259,7 +2290,7 @@ class Mt {
2259
2290
  mobileNumberVerification: e.mobileNumberVerification ?? !1,
2260
2291
  personalInformation: e.personalInformation ?? !1,
2261
2292
  transactionPassword: e.transactionPassword ?? !1,
2262
- completionPercentage: o(e, 0)
2293
+ completionPercentage: i(e, 0)
2263
2294
  };
2264
2295
  }
2265
2296
  announcement(e) {
@@ -2281,9 +2312,9 @@ class Mt {
2281
2312
  type: e.type,
2282
2313
  bank: e.bank,
2283
2314
  status: e.status,
2284
- amount: o(e.amount, 0),
2285
- netAmount: o(e.netAmount, 0),
2286
- fee: o(e.fee, 0),
2315
+ amount: i(e.amount, 0),
2316
+ netAmount: i(e.netAmount, 0),
2317
+ fee: i(e.fee, 0),
2287
2318
  reference: e.reference ?? void 0,
2288
2319
  withdrawalNumber: e.withdrawalNumber,
2289
2320
  recipientMobileNumber: e.recipientMobileNumber ?? void 0,
@@ -2307,9 +2338,9 @@ class Mt {
2307
2338
  id: e.id,
2308
2339
  type: e.type,
2309
2340
  status: e.status,
2310
- amount: o(e.amount, 0),
2311
- fee: o(e.fee, 0),
2312
- netAmount: o(e.netAmount, 0),
2341
+ amount: i(e.amount, 0),
2342
+ fee: i(e.fee, 0),
2343
+ netAmount: i(e.netAmount, 0),
2313
2344
  reference: e.reference ?? void 0,
2314
2345
  depositNumber: e.depositNumber,
2315
2346
  dateTimeCreated: new Date(e.dateTimeCreated),
@@ -2321,13 +2352,13 @@ class Mt {
2321
2352
  var a;
2322
2353
  const t = {
2323
2354
  id: e.id,
2324
- bet: o(e.bet, 0),
2325
- payout: o(e.payout, 0),
2355
+ bet: i(e.bet, 0),
2356
+ payout: i(e.payout, 0),
2326
2357
  status: e.status,
2327
- jackpotContribution: o(e.jackpotContribution, 0),
2328
- jackpotPayout: o(e.jackpotPayout, 0),
2329
- winloss: o(e.winloss),
2330
- validBet: o(e.validBet, 0),
2358
+ jackpotContribution: i(e.jackpotContribution, 0),
2359
+ jackpotPayout: i(e.jackpotPayout, 0),
2360
+ winloss: i(e.winloss),
2361
+ validBet: i(e.validBet, 0),
2331
2362
  vendorRoundId: e.vendorRoundId ?? void 0,
2332
2363
  game: e.game,
2333
2364
  serialCode: e.serialCode,
@@ -2348,9 +2379,9 @@ class Mt {
2348
2379
  id: e.id,
2349
2380
  member: e.member,
2350
2381
  game: e.game,
2351
- bet: o(e.bet, 0),
2352
- payout: o(e.payout, 0),
2353
- validBet: o(e.validBet, 0),
2382
+ bet: i(e.bet, 0),
2383
+ payout: i(e.payout, 0),
2384
+ validBet: i(e.validBet, 0),
2354
2385
  dateTimeSettled: new Date(e.dateTimeSettled),
2355
2386
  dateTimeCreated: new Date(e.dateTimeCreated)
2356
2387
  };
@@ -2359,9 +2390,9 @@ class Mt {
2359
2390
  const t = {
2360
2391
  id: e.id,
2361
2392
  type: e.type,
2362
- amount: o(e.amount, 0),
2393
+ amount: i(e.amount, 0),
2363
2394
  content: e.content ?? void 0,
2364
- currentBalance: o(e.currentBalance, 0),
2395
+ currentBalance: i(e.currentBalance, 0),
2365
2396
  referenceNumber: e.referenceNumber,
2366
2397
  dateTimeCreated: new Date(e.dateTimeCreated)
2367
2398
  };
@@ -2407,8 +2438,8 @@ class Mt {
2407
2438
  status: e.status,
2408
2439
  description: e.description,
2409
2440
  banner: this.file(e.banner),
2410
- maximumBonusAmount: o(e.maximumBonusAmount),
2411
- minimumBonusAmount: o(e.minimumBonusAmount),
2441
+ maximumBonusAmount: i(e.maximumBonusAmount),
2442
+ minimumBonusAmount: i(e.minimumBonusAmount),
2412
2443
  activationEndDateTime: new Date(e.activationEndDateTime),
2413
2444
  activationStartDateTime: new Date(e.activationStartDateTime),
2414
2445
  dateTimeCreated: new Date(e.dateTimeCreated),
@@ -2435,22 +2466,22 @@ class Mt {
2435
2466
  deposit: e.deposit ? {
2436
2467
  type: e.deposit.type,
2437
2468
  status: e.deposit.status,
2438
- fee: o(e.deposit.fee, 0),
2439
- amount: o(e.deposit.amount, 0),
2440
- netAmount: o(e.deposit.netAmount, 0),
2469
+ fee: i(e.deposit.fee, 0),
2470
+ amount: i(e.deposit.amount, 0),
2471
+ netAmount: i(e.deposit.netAmount, 0),
2441
2472
  reference: e.deposit.reference ?? void 0,
2442
2473
  dateTimeCreated: new Date(e.deposit.dateTimeCreated),
2443
2474
  dateTimeLastUpdated: new Date(e.deposit.dateTimeLastUpdated)
2444
2475
  } : void 0,
2445
- balance: o(e.balance, 0),
2446
- amount: o(e.amount, 0),
2476
+ balance: i(e.balance, 0),
2477
+ amount: i(e.amount, 0),
2447
2478
  expiration: new Date(e.expiration),
2448
- turnoverRequirement: o(e.turnoverRequirement, 0),
2449
- currentTurnoverRequirementContribution: o(
2479
+ turnoverRequirement: i(e.turnoverRequirement, 0),
2480
+ currentTurnoverRequirementContribution: i(
2450
2481
  e.currentTurnoverRequirementContribution,
2451
2482
  0
2452
2483
  ),
2453
- currentTurnoverRequirementContributionPercentage: o(
2484
+ currentTurnoverRequirementContributionPercentage: i(
2454
2485
  e.currentTurnoverRequirementContributionPercentage,
2455
2486
  0
2456
2487
  ),
@@ -2462,7 +2493,7 @@ class Mt {
2462
2493
  cashbackBonus(e) {
2463
2494
  return {
2464
2495
  id: e.id,
2465
- balance: o(e.balance, 0),
2496
+ balance: i(e.balance, 0),
2466
2497
  cashback: this.cashback(e.cashback),
2467
2498
  dateTimeCreated: new Date(e.dateTimeCreated),
2468
2499
  dateTimeLastUpdated: new Date(e.dateTimeLastUpdated)
@@ -2480,7 +2511,7 @@ class Mt {
2480
2511
  pointsWallet(e) {
2481
2512
  return {
2482
2513
  id: e.id,
2483
- points: o(e.points, 0),
2514
+ points: i(e.points, 0),
2484
2515
  account: e.account,
2485
2516
  dateTimeCreated: new Date(e.dateTimeCreated)
2486
2517
  };
@@ -2489,31 +2520,39 @@ class Mt {
2489
2520
  return {
2490
2521
  id: e.id,
2491
2522
  type: e.type,
2492
- amount: o(e.amount, 0),
2493
- balance: o(e.balance, 0),
2523
+ amount: i(e.amount, 0),
2524
+ balance: i(e.balance, 0),
2525
+ dateTimeCreated: new Date(e.dateTimeCreated)
2526
+ };
2527
+ }
2528
+ activityRecord(e) {
2529
+ return {
2530
+ id: e.id,
2531
+ type: e.type,
2532
+ details: e.details,
2494
2533
  dateTimeCreated: new Date(e.dateTimeCreated)
2495
2534
  };
2496
2535
  }
2497
2536
  }
2498
- class Rt {
2537
+ class Pt {
2499
2538
  constructor(e) {
2500
- m(this, "gameService");
2501
- m(this, "fileService");
2502
- m(this, "walletService");
2503
- m(this, "reportService");
2504
- m(this, "portalService");
2505
- m(this, "accountService");
2506
- m(this, "cmsPortalService");
2507
- m(this, "sessionManager");
2508
- m(this, "transformer");
2509
- m(this, "logger");
2539
+ d(this, "gameService");
2540
+ d(this, "fileService");
2541
+ d(this, "walletService");
2542
+ d(this, "reportService");
2543
+ d(this, "portalService");
2544
+ d(this, "accountService");
2545
+ d(this, "cmsPortalService");
2546
+ d(this, "sessionManager");
2547
+ d(this, "transformer");
2548
+ d(this, "logger");
2510
2549
  const t = e.environment === "development";
2511
- this.sessionManager = new Nt({
2550
+ this.sessionManager = new Mt({
2512
2551
  authUrl: t ? "https://auth.development.opexa.io" : "https://auth.opexa.io",
2513
2552
  walletUrl: t ? "https://wallet.development.opexa.io/graphql" : "https://wallet.opexa.io/graphql",
2514
2553
  platform: e.platform,
2515
2554
  log: e.log
2516
- }), this.cmsPortalService = new At({
2555
+ }), this.cmsPortalService = new kt({
2517
2556
  url: "https://portal-api.opexacms.io/v1",
2518
2557
  site: e.site,
2519
2558
  platform: e.sitePlatform
@@ -2527,12 +2566,12 @@ class Rt {
2527
2566
  }
2528
2567
  }
2529
2568
  };
2530
- this.gameService = new kt(
2569
+ this.gameService = new Ct(
2531
2570
  new E(
2532
2571
  t ? "https://game.development.opexa.io/graphql" : "https://game.opexa.io/graphql",
2533
2572
  a
2534
2573
  )
2535
- ), this.fileService = new bt(
2574
+ ), this.fileService = new St(
2536
2575
  new E(
2537
2576
  t ? "https://file.development.opexa.io/graphql" : "https://file.opexa.io/graphql",
2538
2577
  a
@@ -2542,12 +2581,12 @@ class Rt {
2542
2581
  t ? "https://wallet.development.opexa.io/graphql" : "https://wallet.opexa.io/graphql",
2543
2582
  a
2544
2583
  )
2545
- ), this.reportService = new St(
2584
+ ), this.reportService = new Et(
2546
2585
  new E(
2547
2586
  t ? "https://report.development.opexa.io/graphql" : "https://report.opexa.io/graphql",
2548
2587
  a
2549
2588
  )
2550
- ), this.accountService = new yt(
2589
+ ), this.accountService = new gt(
2551
2590
  new E(
2552
2591
  t ? "https://account.development.opexa.io/graphql" : "https://account.opexa.io/graphql",
2553
2592
  a
@@ -2557,7 +2596,7 @@ class Rt {
2557
2596
  t ? "https://portal.development.opexa.io/graphql" : "https://portal.opexa.io/graphql",
2558
2597
  a
2559
2598
  )
2560
- ), this.transformer = new Mt(e), this.logger = new ke({
2599
+ ), this.transformer = new It(e), this.logger = new ke({
2561
2600
  enabled: e.log ?? !1
2562
2601
  });
2563
2602
  }
@@ -2673,7 +2712,7 @@ class Rt {
2673
2712
  * ```
2674
2713
  */
2675
2714
  watchSession(e) {
2676
- const t = Ct(e.interval ?? 3e4, 3e4, 6e4);
2715
+ const t = Tt(e.interval ?? 3e4, 3e4, 6e4);
2677
2716
  let a = null;
2678
2717
  const r = () => setTimeout(async () => {
2679
2718
  await this.sessionManager.verify() || await e.onInvalid(), a = r();
@@ -3453,13 +3492,33 @@ class Rt {
3453
3492
  }
3454
3493
  } : t;
3455
3494
  }
3495
+ /**/
3496
+ /*+----------------------------------------+*/
3497
+ /*+ ACTIVITY +*/
3498
+ /*+----------------------------------------+*/
3499
+ /**/
3500
+ async activityRecords(e) {
3501
+ const t = await this.reportService.activityRecords(e);
3502
+ return t.ok ? {
3503
+ ok: !0,
3504
+ data: {
3505
+ activityRecords: t.data.edges.map(({ cursor: a, node: r }) => ({
3506
+ ...this.transformer.transform.activityRecord(r),
3507
+ cursor: a
3508
+ })),
3509
+ totalCount: t.data.totalCount,
3510
+ hasNextPage: t.data.pageInfo.hasNextPage,
3511
+ endCursor: t.data.pageInfo.endCursor ?? void 0
3512
+ }
3513
+ } : t;
3514
+ }
3456
3515
  addAreaCode(e) {
3457
3516
  return e.startsWith("+63") ? e : e.startsWith("63") ? `+${e}` : e.startsWith("0") ? `+63${e.substring(1)}` : `+63${e}`;
3458
3517
  }
3459
3518
  }
3460
3519
  export {
3461
- Gt as ObjectId,
3520
+ $t as ObjectId,
3462
3521
  S as ObjectType,
3463
- Rt as Sdk
3522
+ Pt as Sdk
3464
3523
  };
3465
3524
  //# sourceMappingURL=index.mjs.map