@opexa/portal-sdk 0.0.95 → 0.0.97
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/README.md +1622 -1622
- package/dist/index.js +127 -57
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +395 -286
- package/dist/index.mjs.map +1 -1
- package/dist/sdk/types.d.ts +47 -95
- package/dist/services/queries.d.ts +2 -0
- package/dist/services/types.d.ts +26 -1
- package/dist/services/wallet.service.d.ts +3 -1
- package/package.json +81 -81
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _e = Object.defineProperty;
|
|
2
2
|
var Te = (n, e, t) => e in n ? _e(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var c = (n, e, t) => Te(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { ObjectId as
|
|
5
|
-
import { ObjectId as
|
|
6
|
-
const
|
|
4
|
+
import { ObjectId as O } from "@opexa/object-id";
|
|
5
|
+
import { ObjectId as ar } from "@opexa/object-id";
|
|
6
|
+
const $ = {
|
|
7
7
|
Account: 8,
|
|
8
8
|
Deposit: 9,
|
|
9
9
|
Withdrawal: 14,
|
|
@@ -13,7 +13,7 @@ const U = {
|
|
|
13
13
|
GameSession: 204,
|
|
14
14
|
MayaSession: 230
|
|
15
15
|
};
|
|
16
|
-
function
|
|
16
|
+
function i(n, ...e) {
|
|
17
17
|
let t = "";
|
|
18
18
|
for (const [r, a] of n.entries()) {
|
|
19
19
|
const s = e.at(r) ?? "";
|
|
@@ -21,15 +21,15 @@ function o(n, ...e) {
|
|
|
21
21
|
}
|
|
22
22
|
return t.trim();
|
|
23
23
|
}
|
|
24
|
-
const
|
|
24
|
+
const ue = i`
|
|
25
25
|
fragment FileFragment on File {
|
|
26
26
|
id
|
|
27
27
|
url
|
|
28
28
|
status
|
|
29
29
|
dateTimeCreated
|
|
30
30
|
}
|
|
31
|
-
`, Me =
|
|
32
|
-
${
|
|
31
|
+
`, Me = i`
|
|
32
|
+
${ue}
|
|
33
33
|
|
|
34
34
|
query File($id: ObjectId!) {
|
|
35
35
|
node(id: $id) {
|
|
@@ -38,7 +38,7 @@ const de = o`
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
`, ve =
|
|
41
|
+
`, ve = i`
|
|
42
42
|
mutation UploadPrivateImageFile($input: UploadFileInput!) {
|
|
43
43
|
uploadPrivateImageFile(input: $input) {
|
|
44
44
|
... on FileFormatNotSupportedError {
|
|
@@ -52,7 +52,7 @@ const de = o`
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
`, Re =
|
|
55
|
+
`, Re = i`
|
|
56
56
|
query Wallet {
|
|
57
57
|
wallet {
|
|
58
58
|
id
|
|
@@ -62,7 +62,7 @@ const de = o`
|
|
|
62
62
|
dateTimeLastUpdated
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
`, Ne =
|
|
65
|
+
`, Ne = i`
|
|
66
66
|
query PointsWallet {
|
|
67
67
|
pointsWallet {
|
|
68
68
|
id
|
|
@@ -71,7 +71,7 @@ const de = o`
|
|
|
71
71
|
dateTimeCreated
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
`, De =
|
|
74
|
+
`, De = i`
|
|
75
75
|
mutation RedeemPointsToCash($input: RedeemPointsToCashInput!) {
|
|
76
76
|
redeemPointsToCash(input: $input) {
|
|
77
77
|
... on InsufficientPointsError {
|
|
@@ -79,7 +79,7 @@ const de = o`
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
`, Ie =
|
|
82
|
+
`, Ie = i`
|
|
83
83
|
query PointsWalletTransactions(
|
|
84
84
|
$first: Int
|
|
85
85
|
$after: Cursor
|
|
@@ -108,7 +108,7 @@ const de = o`
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
`, be = {
|
|
111
|
-
current:
|
|
111
|
+
current: i`
|
|
112
112
|
query GameSession($id: ObjectId!) {
|
|
113
113
|
node(id: $id) {
|
|
114
114
|
... on GameSession {
|
|
@@ -122,7 +122,7 @@ const de = o`
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
`,
|
|
125
|
-
legacy:
|
|
125
|
+
legacy: i`
|
|
126
126
|
query GameSession($id: ObjectId!) {
|
|
127
127
|
node(id: $id) {
|
|
128
128
|
... on GameSession {
|
|
@@ -138,7 +138,7 @@ const de = o`
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
`
|
|
141
|
-
}, Ee =
|
|
141
|
+
}, Ee = i`
|
|
142
142
|
mutation CreateGameSession($input: CreateGameSessionInput!) {
|
|
143
143
|
createGameSession(input: $input) {
|
|
144
144
|
... on GameDoesNotExistError {
|
|
@@ -146,13 +146,13 @@ const de = o`
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
150
|
-
current:
|
|
149
|
+
`, Ae = {
|
|
150
|
+
current: i`
|
|
151
151
|
mutation EndGameSession($input: EndGameSessionInput!) {
|
|
152
152
|
endGameSession(input: $input)
|
|
153
153
|
}
|
|
154
154
|
`,
|
|
155
|
-
legacy:
|
|
155
|
+
legacy: i`
|
|
156
156
|
mutation EndGameSession($input: EndGameSessionInput!) {
|
|
157
157
|
endGameSession(input: $input) {
|
|
158
158
|
... on GameSessionDoesNotExistError {
|
|
@@ -167,7 +167,7 @@ const de = o`
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
`
|
|
170
|
-
}, Ge =
|
|
170
|
+
}, Ge = i`
|
|
171
171
|
query Announcements($first: Int, $after: Cursor, $filter: AnnouncementFilterInput) {
|
|
172
172
|
announcements(first: $first, after: $after, filter: $filter) {
|
|
173
173
|
edges {
|
|
@@ -193,7 +193,7 @@ const de = o`
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
`, Pe =
|
|
196
|
+
`, Pe = i`
|
|
197
197
|
query WithdrawalRecords($first: Int, $after: Cursor, $filter: WithdrawalRecordFilterInput) {
|
|
198
198
|
member {
|
|
199
199
|
withdrawalRecords(first: $first, after: $after, filter: $filter) {
|
|
@@ -260,7 +260,7 @@ const de = o`
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
`,
|
|
263
|
+
`, xe = i`
|
|
264
264
|
mutation CreateGCashWithdrawal($input: CreateGCashWithdrawalInput!) {
|
|
265
265
|
createGCashWithdrawal(input: $input) {
|
|
266
266
|
... on AccountNotVerifiedError {
|
|
@@ -283,7 +283,7 @@ const de = o`
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
`,
|
|
286
|
+
`, We = i`
|
|
287
287
|
mutation CreateMayaWithdrawal($input: CreateMayaWithdrawalInput!) {
|
|
288
288
|
createMayaWithdrawal(input: $input) {
|
|
289
289
|
... on AccountNotVerifiedError {
|
|
@@ -306,7 +306,7 @@ const de = o`
|
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
`,
|
|
309
|
+
`, Oe = i`
|
|
310
310
|
mutation CreateMayaAppWithdrawal($input: CreateMayaAppWithdrawalInput!) {
|
|
311
311
|
createMayaAppWithdrawal(input: $input) {
|
|
312
312
|
... on AccountNotVerifiedError {
|
|
@@ -326,7 +326,7 @@ const de = o`
|
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
`,
|
|
329
|
+
`, $e = i`
|
|
330
330
|
mutation CreateBankWithdrawal($input: CreateBankWithdrawalInput!) {
|
|
331
331
|
createBankWithdrawal(input: $input) {
|
|
332
332
|
... on MobileNumberNotVerifiedError {
|
|
@@ -349,11 +349,11 @@ const de = o`
|
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
`,
|
|
352
|
+
`, Ue = i`
|
|
353
353
|
query RemainingDailyWithdrawalsCount {
|
|
354
354
|
remainingDailyWithdrawalsCount
|
|
355
355
|
}
|
|
356
|
-
`, Be =
|
|
356
|
+
`, Be = i`
|
|
357
357
|
query DepositRecords($after: Cursor, $first: Int, $filter: DepositRecordFilterInput) {
|
|
358
358
|
member {
|
|
359
359
|
depositRecords(after: $after, first: $first, filter: $filter) {
|
|
@@ -382,7 +382,7 @@ const de = o`
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
`, qe =
|
|
385
|
+
`, qe = i`
|
|
386
386
|
mutation CreateGCashDeposit($input: CreateGCashDepositInput!) {
|
|
387
387
|
createGCashDeposit(input: $input) {
|
|
388
388
|
... on DepositPromoMaximumAmountExceededError {
|
|
@@ -411,7 +411,7 @@ const de = o`
|
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
`, Fe =
|
|
414
|
+
`, Fe = i`
|
|
415
415
|
mutation CreateMayaDeposit($input: CreateMayaDepositInput!) {
|
|
416
416
|
createMayaDeposit(input: $input) {
|
|
417
417
|
... on DepositPromoMaximumAmountExceededError {
|
|
@@ -440,7 +440,7 @@ const de = o`
|
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
`, Le =
|
|
443
|
+
`, Le = i`
|
|
444
444
|
mutation CreateMayaAppDeposit($input: CreateMayaAppDepositInput!) {
|
|
445
445
|
createMayaAppDeposit(input: $input) {
|
|
446
446
|
... on DepositPromoMaximumAmountExceededError {
|
|
@@ -469,7 +469,65 @@ const de = o`
|
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
`, Ve =
|
|
472
|
+
`, Ve = i`
|
|
473
|
+
mutation CreateAIOQRPHDeposit($input: CreateAIOQRPHDepositInput!) {
|
|
474
|
+
createAIOQRPHDeposit(input: $input) {
|
|
475
|
+
... on DepositPromoMaximumAmountExceededError {
|
|
476
|
+
__typename
|
|
477
|
+
}
|
|
478
|
+
... on DepositPromoMinimumAmountNotMetError {
|
|
479
|
+
__typename
|
|
480
|
+
}
|
|
481
|
+
... on HasActiveBonusError {
|
|
482
|
+
__typename
|
|
483
|
+
}
|
|
484
|
+
... on MaximumDepositAmountExceededError {
|
|
485
|
+
__typename
|
|
486
|
+
}
|
|
487
|
+
... on MinimumDepositAmountNotMetError {
|
|
488
|
+
__typename
|
|
489
|
+
}
|
|
490
|
+
... on MinimumFirstDepositAmountNotMetError {
|
|
491
|
+
__typename
|
|
492
|
+
}
|
|
493
|
+
... on PromoNotEnabledError {
|
|
494
|
+
__typename
|
|
495
|
+
}
|
|
496
|
+
... on WalletDoesNotExistError {
|
|
497
|
+
__typename
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
`, He = i`
|
|
502
|
+
mutation CreateAIOOnlineBankDeposit($input: CreateAIOOnlineBankDepositInput!) {
|
|
503
|
+
createAIOOnlineBankDeposit(input: $input) {
|
|
504
|
+
... on DepositPromoMaximumAmountExceededError {
|
|
505
|
+
__typename
|
|
506
|
+
}
|
|
507
|
+
... on DepositPromoMinimumAmountNotMetError {
|
|
508
|
+
__typename
|
|
509
|
+
}
|
|
510
|
+
... on HasActiveBonusError {
|
|
511
|
+
__typename
|
|
512
|
+
}
|
|
513
|
+
... on MaximumDepositAmountExceededError {
|
|
514
|
+
__typename
|
|
515
|
+
}
|
|
516
|
+
... on MinimumDepositAmountNotMetError {
|
|
517
|
+
__typename
|
|
518
|
+
}
|
|
519
|
+
... on MinimumFirstDepositAmountNotMetError {
|
|
520
|
+
__typename
|
|
521
|
+
}
|
|
522
|
+
... on PromoNotEnabledError {
|
|
523
|
+
__typename
|
|
524
|
+
}
|
|
525
|
+
... on WalletDoesNotExistError {
|
|
526
|
+
__typename
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
`, Ye = i`
|
|
473
531
|
query Deposit($id: ObjectId!) {
|
|
474
532
|
node(id: $id) {
|
|
475
533
|
... on GCashDeposit {
|
|
@@ -499,15 +557,27 @@ const de = o`
|
|
|
499
557
|
type
|
|
500
558
|
status
|
|
501
559
|
}
|
|
560
|
+
... on QRPHDeposit {
|
|
561
|
+
id
|
|
562
|
+
type
|
|
563
|
+
status
|
|
564
|
+
qrCode
|
|
565
|
+
}
|
|
566
|
+
... on OnlineBankDeposit {
|
|
567
|
+
id
|
|
568
|
+
type
|
|
569
|
+
status
|
|
570
|
+
vca
|
|
571
|
+
}
|
|
502
572
|
}
|
|
503
573
|
}
|
|
504
|
-
`,
|
|
574
|
+
`, Qe = i`
|
|
505
575
|
query DepositsCount {
|
|
506
576
|
member {
|
|
507
577
|
depositsCount
|
|
508
578
|
}
|
|
509
579
|
}
|
|
510
|
-
`,
|
|
580
|
+
`, je = i`
|
|
511
581
|
query BetRecords($first: Int, $after: Cursor, $filter: BetRecordFilterInput) {
|
|
512
582
|
member {
|
|
513
583
|
betRecords(first: $first, after: $after, filter: $filter) {
|
|
@@ -548,7 +618,7 @@ const de = o`
|
|
|
548
618
|
}
|
|
549
619
|
}
|
|
550
620
|
}
|
|
551
|
-
`,
|
|
621
|
+
`, Ke = i`
|
|
552
622
|
query LatestBetRecords {
|
|
553
623
|
latestBetRecords {
|
|
554
624
|
id
|
|
@@ -568,7 +638,7 @@ const de = o`
|
|
|
568
638
|
dateTimeCreated
|
|
569
639
|
}
|
|
570
640
|
}
|
|
571
|
-
`,
|
|
641
|
+
`, ze = i`
|
|
572
642
|
query TransactionRecords($first: Int, $after: Cursor, $filter: TransactionRecordFilter) {
|
|
573
643
|
member {
|
|
574
644
|
transactionRecords(first: $first, after: $after, filter: $filter) {
|
|
@@ -594,8 +664,8 @@ const de = o`
|
|
|
594
664
|
}
|
|
595
665
|
}
|
|
596
666
|
}
|
|
597
|
-
`, fe =
|
|
598
|
-
${
|
|
667
|
+
`, fe = i`
|
|
668
|
+
${ue}
|
|
599
669
|
|
|
600
670
|
fragment PromoFragment on Promo {
|
|
601
671
|
id
|
|
@@ -613,7 +683,7 @@ const de = o`
|
|
|
613
683
|
dateTimeCreated
|
|
614
684
|
dateTimeLastUpdated
|
|
615
685
|
}
|
|
616
|
-
`,
|
|
686
|
+
`, Je = i`
|
|
617
687
|
${fe}
|
|
618
688
|
|
|
619
689
|
query Promos {
|
|
@@ -621,7 +691,7 @@ const de = o`
|
|
|
621
691
|
...PromoFragment
|
|
622
692
|
}
|
|
623
693
|
}
|
|
624
|
-
`,
|
|
694
|
+
`, Xe = i`
|
|
625
695
|
${fe}
|
|
626
696
|
|
|
627
697
|
query AvailablePromos($filter: PromoFilterInput) {
|
|
@@ -629,8 +699,8 @@ const de = o`
|
|
|
629
699
|
...PromoFragment
|
|
630
700
|
}
|
|
631
701
|
}
|
|
632
|
-
`,
|
|
633
|
-
${
|
|
702
|
+
`, Se = i`
|
|
703
|
+
${ue}
|
|
634
704
|
|
|
635
705
|
fragment CashbackFragment on Cashback {
|
|
636
706
|
id
|
|
@@ -648,15 +718,15 @@ const de = o`
|
|
|
648
718
|
dateTimeCreated
|
|
649
719
|
dateTimeLastUpdated
|
|
650
720
|
}
|
|
651
|
-
`,
|
|
652
|
-
${
|
|
721
|
+
`, Ze = i`
|
|
722
|
+
${Se}
|
|
653
723
|
|
|
654
724
|
query Cashbacks {
|
|
655
725
|
cashbacks {
|
|
656
726
|
...CashbackFragment
|
|
657
727
|
}
|
|
658
728
|
}
|
|
659
|
-
`,
|
|
729
|
+
`, et = i`
|
|
660
730
|
${fe}
|
|
661
731
|
|
|
662
732
|
query Bonus {
|
|
@@ -685,8 +755,8 @@ const de = o`
|
|
|
685
755
|
dateTimeLastUpdated
|
|
686
756
|
}
|
|
687
757
|
}
|
|
688
|
-
`,
|
|
689
|
-
${
|
|
758
|
+
`, tt = i`
|
|
759
|
+
${Se}
|
|
690
760
|
|
|
691
761
|
query CashbackBonuses {
|
|
692
762
|
cashbackBonuses {
|
|
@@ -700,7 +770,7 @@ const de = o`
|
|
|
700
770
|
dateTimeLastUpdated
|
|
701
771
|
}
|
|
702
772
|
}
|
|
703
|
-
`,
|
|
773
|
+
`, rt = i`
|
|
704
774
|
mutation ClaimCashbackBonus($input: ClaimCashbackBonusInput!) {
|
|
705
775
|
claimCashbackBonus(input: $input) {
|
|
706
776
|
... on CashbackBonusDoesNotExistError {
|
|
@@ -709,14 +779,14 @@ const de = o`
|
|
|
709
779
|
}
|
|
710
780
|
}
|
|
711
781
|
`;
|
|
712
|
-
|
|
782
|
+
i`
|
|
713
783
|
query Member {
|
|
714
784
|
member {
|
|
715
785
|
dateTimeLastActive
|
|
716
786
|
}
|
|
717
787
|
}
|
|
718
788
|
`;
|
|
719
|
-
const
|
|
789
|
+
const at = i`
|
|
720
790
|
query MemberAccount {
|
|
721
791
|
memberAccount: self {
|
|
722
792
|
... on MemberAccount {
|
|
@@ -740,8 +810,8 @@ const tt = o`
|
|
|
740
810
|
}
|
|
741
811
|
}
|
|
742
812
|
}
|
|
743
|
-
`,
|
|
744
|
-
${
|
|
813
|
+
`, nt = i`
|
|
814
|
+
${ue}
|
|
745
815
|
|
|
746
816
|
query MemberVerification {
|
|
747
817
|
memberAccount: self {
|
|
@@ -765,7 +835,7 @@ const tt = o`
|
|
|
765
835
|
}
|
|
766
836
|
}
|
|
767
837
|
}
|
|
768
|
-
`,
|
|
838
|
+
`, ot = i`
|
|
769
839
|
mutation RegisterMemberAccount(
|
|
770
840
|
$input: RegisterMemberAccountInput!
|
|
771
841
|
$referralCode: String
|
|
@@ -801,7 +871,7 @@ const tt = o`
|
|
|
801
871
|
}
|
|
802
872
|
}
|
|
803
873
|
}
|
|
804
|
-
`,
|
|
874
|
+
`, it = i`
|
|
805
875
|
mutation RegisterMemberAccountViaMobile(
|
|
806
876
|
$input: RegisterMemberAccountViaMobileInput!
|
|
807
877
|
$referralCode: String
|
|
@@ -828,7 +898,7 @@ const tt = o`
|
|
|
828
898
|
}
|
|
829
899
|
}
|
|
830
900
|
}
|
|
831
|
-
`,
|
|
901
|
+
`, st = i`
|
|
832
902
|
mutation RegisterMemberAccount(
|
|
833
903
|
$input: RegisterMemberAccountInput_next!
|
|
834
904
|
$reCAPTCHAResponse: String
|
|
@@ -860,7 +930,7 @@ const tt = o`
|
|
|
860
930
|
}
|
|
861
931
|
}
|
|
862
932
|
}
|
|
863
|
-
`,
|
|
933
|
+
`, mt = i`
|
|
864
934
|
mutation RegisterMayaMemberAccount($input: RegisterMayaMemberAccountInput!) {
|
|
865
935
|
registerMayaMemberAccount(input: $input) {
|
|
866
936
|
... on AccountNameNotAvailableError {
|
|
@@ -868,7 +938,7 @@ const tt = o`
|
|
|
868
938
|
}
|
|
869
939
|
}
|
|
870
940
|
}
|
|
871
|
-
`,
|
|
941
|
+
`, ct = i`
|
|
872
942
|
mutation UpdateMemberAccount($input: UpdateMemberAccountInput!) {
|
|
873
943
|
updateMemberAccount(input: $input) {
|
|
874
944
|
... on AccountNameNotAvailableError {
|
|
@@ -894,7 +964,7 @@ const tt = o`
|
|
|
894
964
|
}
|
|
895
965
|
}
|
|
896
966
|
}
|
|
897
|
-
`,
|
|
967
|
+
`, ut = i`
|
|
898
968
|
mutation ResetPassword($input: ResetPasswordInput!, $verificationCode: String) {
|
|
899
969
|
resetPassword(input: $input, verificationCode: $verificationCode) {
|
|
900
970
|
... on AccountNotFoundError {
|
|
@@ -905,11 +975,11 @@ const tt = o`
|
|
|
905
975
|
}
|
|
906
976
|
}
|
|
907
977
|
}
|
|
908
|
-
`,
|
|
978
|
+
`, dt = i`
|
|
909
979
|
mutation DeleteMemberAccount($input: DeleteMemberAccountInput!) {
|
|
910
980
|
deleteMemberAccount(input: $input)
|
|
911
981
|
}
|
|
912
|
-
`,
|
|
982
|
+
`, lt = i`
|
|
913
983
|
mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {
|
|
914
984
|
verifyMobileNumber(input: $input) {
|
|
915
985
|
... on InvalidSMSVerificationCodeError {
|
|
@@ -920,7 +990,7 @@ const tt = o`
|
|
|
920
990
|
}
|
|
921
991
|
}
|
|
922
992
|
}
|
|
923
|
-
`,
|
|
993
|
+
`, pt = i`
|
|
924
994
|
mutation CreateMemberVerification($input: CreateMemberVerificationInput!) {
|
|
925
995
|
createMemberVerification(input: $input) {
|
|
926
996
|
... on FileDoesNotExistError {
|
|
@@ -934,7 +1004,7 @@ const tt = o`
|
|
|
934
1004
|
}
|
|
935
1005
|
}
|
|
936
1006
|
}
|
|
937
|
-
`,
|
|
1007
|
+
`, ft = i`
|
|
938
1008
|
mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {
|
|
939
1009
|
updateMemberVerification(input: $input) {
|
|
940
1010
|
... on FileDoesNotExistError {
|
|
@@ -951,7 +1021,7 @@ const tt = o`
|
|
|
951
1021
|
}
|
|
952
1022
|
}
|
|
953
1023
|
}
|
|
954
|
-
`,
|
|
1024
|
+
`, ht = i`
|
|
955
1025
|
query ProfileCompletion {
|
|
956
1026
|
profileCompletion {
|
|
957
1027
|
completionPercentage
|
|
@@ -962,7 +1032,7 @@ const tt = o`
|
|
|
962
1032
|
accountPassword
|
|
963
1033
|
}
|
|
964
1034
|
}
|
|
965
|
-
`,
|
|
1035
|
+
`, wt = i`
|
|
966
1036
|
mutation SendVerificationCode($input: SendVerificationCodeInput!) {
|
|
967
1037
|
sendVerificationCode(input: $input) {
|
|
968
1038
|
... on InvalidPlatformError {
|
|
@@ -973,7 +1043,7 @@ const tt = o`
|
|
|
973
1043
|
}
|
|
974
1044
|
}
|
|
975
1045
|
}
|
|
976
|
-
`,
|
|
1046
|
+
`, yt = i`
|
|
977
1047
|
fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
|
|
978
1048
|
minimumAmount
|
|
979
1049
|
maximumAmount
|
|
@@ -1029,12 +1099,12 @@ const tt = o`
|
|
|
1029
1099
|
multiplier
|
|
1030
1100
|
}
|
|
1031
1101
|
}
|
|
1032
|
-
`,
|
|
1102
|
+
`, gt = i`
|
|
1033
1103
|
query Platform {
|
|
1034
1104
|
timezone
|
|
1035
1105
|
currency
|
|
1036
1106
|
}
|
|
1037
|
-
`,
|
|
1107
|
+
`, bt = i`
|
|
1038
1108
|
fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
|
|
1039
1109
|
minimumAmount
|
|
1040
1110
|
maximumAmount
|
|
@@ -1085,7 +1155,7 @@ const tt = o`
|
|
|
1085
1155
|
...WithdrawalGatewaySettingsCoreData
|
|
1086
1156
|
}
|
|
1087
1157
|
}
|
|
1088
|
-
`,
|
|
1158
|
+
`, Et = i`
|
|
1089
1159
|
query MayaSession($id: ObjectId!) {
|
|
1090
1160
|
mayaSession(id: $id) {
|
|
1091
1161
|
id
|
|
@@ -1093,11 +1163,11 @@ const tt = o`
|
|
|
1093
1163
|
dateTimeCreated
|
|
1094
1164
|
}
|
|
1095
1165
|
}
|
|
1096
|
-
`,
|
|
1166
|
+
`, At = i`
|
|
1097
1167
|
mutation ValidateMayaSession {
|
|
1098
1168
|
validateMayaSession: validMayaSession
|
|
1099
1169
|
}
|
|
1100
|
-
`,
|
|
1170
|
+
`, St = i`
|
|
1101
1171
|
query ActivityRecords($after: Cursor, $first: Int, $filter: ActivityRecordsFilterInput) {
|
|
1102
1172
|
member {
|
|
1103
1173
|
activityRecords(after: $after, first: $first, filter: $filter) {
|
|
@@ -1122,11 +1192,11 @@ const tt = o`
|
|
|
1122
1192
|
}
|
|
1123
1193
|
}
|
|
1124
1194
|
}
|
|
1125
|
-
`,
|
|
1195
|
+
`, kt = i`
|
|
1126
1196
|
query ReferralCode {
|
|
1127
1197
|
referralCode
|
|
1128
1198
|
}
|
|
1129
|
-
`,
|
|
1199
|
+
`, Ct = i`
|
|
1130
1200
|
mutation UpdateReferralCode($input: UpdateReferralCodeInput!) {
|
|
1131
1201
|
updateReferralCode(input: $input) {
|
|
1132
1202
|
... on ReferralCodeNotAvailableError {
|
|
@@ -1134,7 +1204,7 @@ const tt = o`
|
|
|
1134
1204
|
}
|
|
1135
1205
|
}
|
|
1136
1206
|
}
|
|
1137
|
-
`, he =
|
|
1207
|
+
`, he = i`
|
|
1138
1208
|
fragment ReferralFragment on Referral {
|
|
1139
1209
|
id
|
|
1140
1210
|
upline {
|
|
@@ -1152,7 +1222,7 @@ const tt = o`
|
|
|
1152
1222
|
commission
|
|
1153
1223
|
dateTimeCreated
|
|
1154
1224
|
}
|
|
1155
|
-
`,
|
|
1225
|
+
`, _t = i`
|
|
1156
1226
|
query Referrals($first: Int, $after: Cursor, $filter: ReferralFilterInput) {
|
|
1157
1227
|
member {
|
|
1158
1228
|
referrals(first: $first, after: $after, filter: $filter) {
|
|
@@ -1174,7 +1244,7 @@ const tt = o`
|
|
|
1174
1244
|
}
|
|
1175
1245
|
|
|
1176
1246
|
${he}
|
|
1177
|
-
`,
|
|
1247
|
+
`, Tt = i`
|
|
1178
1248
|
query UplinesByName($search: String!, $first: Int) {
|
|
1179
1249
|
uplinesByName(search: $search, first: $first) {
|
|
1180
1250
|
...ReferralFragment
|
|
@@ -1182,7 +1252,7 @@ const tt = o`
|
|
|
1182
1252
|
}
|
|
1183
1253
|
|
|
1184
1254
|
${he}
|
|
1185
|
-
`,
|
|
1255
|
+
`, Mt = i`
|
|
1186
1256
|
query DownlinesByName($search: String!, $first: Int) {
|
|
1187
1257
|
downlinesByName(search: $search, first: $first) {
|
|
1188
1258
|
...ReferralFragment
|
|
@@ -1190,7 +1260,7 @@ const tt = o`
|
|
|
1190
1260
|
}
|
|
1191
1261
|
|
|
1192
1262
|
${he}
|
|
1193
|
-
`,
|
|
1263
|
+
`, vt = i`
|
|
1194
1264
|
query ReferralCommission {
|
|
1195
1265
|
member {
|
|
1196
1266
|
referralCommission {
|
|
@@ -1209,13 +1279,13 @@ const tt = o`
|
|
|
1209
1279
|
}
|
|
1210
1280
|
}
|
|
1211
1281
|
}
|
|
1212
|
-
`,
|
|
1282
|
+
`, Rt = i`
|
|
1213
1283
|
query PointsClubSettings {
|
|
1214
1284
|
pointsClubSettings {
|
|
1215
1285
|
multiplier
|
|
1216
1286
|
}
|
|
1217
1287
|
}
|
|
1218
|
-
`,
|
|
1288
|
+
`, Nt = i`
|
|
1219
1289
|
query Messages($first: Int, $after: Cursor, $filter: MessageFilterInput) {
|
|
1220
1290
|
messages(first: $first, after: $after, filter: $filter) {
|
|
1221
1291
|
edges {
|
|
@@ -1243,17 +1313,17 @@ const tt = o`
|
|
|
1243
1313
|
}
|
|
1244
1314
|
}
|
|
1245
1315
|
}
|
|
1246
|
-
`,
|
|
1316
|
+
`, Dt = i`
|
|
1247
1317
|
query UnreadMessagesCount($filter: MessageFilterInput) {
|
|
1248
1318
|
messages(filter: $filter) {
|
|
1249
1319
|
totalCount
|
|
1250
1320
|
}
|
|
1251
1321
|
}
|
|
1252
|
-
`,
|
|
1322
|
+
`, It = i`
|
|
1253
1323
|
mutation MarkMessageAsRead($id: ObjectId!) {
|
|
1254
1324
|
markMessageAsRead(id: $id)
|
|
1255
1325
|
}
|
|
1256
|
-
`,
|
|
1326
|
+
`, Gt = i`
|
|
1257
1327
|
mutation MarkAllMessageAsRead {
|
|
1258
1328
|
markAllMessageAsRead
|
|
1259
1329
|
}
|
|
@@ -1313,21 +1383,21 @@ function u(n) {
|
|
|
1313
1383
|
}[n]
|
|
1314
1384
|
};
|
|
1315
1385
|
}
|
|
1316
|
-
class
|
|
1386
|
+
class Pt {
|
|
1317
1387
|
constructor(e) {
|
|
1318
1388
|
c(this, "client");
|
|
1319
1389
|
this.client = e;
|
|
1320
1390
|
}
|
|
1321
1391
|
/** aka `Query.self` */
|
|
1322
1392
|
async memberAccount() {
|
|
1323
|
-
const e = await this.client.request(
|
|
1393
|
+
const e = await this.client.request(at);
|
|
1324
1394
|
return e.ok ? {
|
|
1325
1395
|
ok: !0,
|
|
1326
1396
|
data: e.data.memberAccount
|
|
1327
1397
|
} : e;
|
|
1328
1398
|
}
|
|
1329
1399
|
async registerMemberAccount(e) {
|
|
1330
|
-
const t = await this.client.request(
|
|
1400
|
+
const t = await this.client.request(ot, e);
|
|
1331
1401
|
return t.ok ? t.data.registerMemberAccount ? {
|
|
1332
1402
|
ok: !1,
|
|
1333
1403
|
error: u(t.data.registerMemberAccount.__typename)
|
|
@@ -1336,7 +1406,7 @@ class It {
|
|
|
1336
1406
|
} : t;
|
|
1337
1407
|
}
|
|
1338
1408
|
async registerMemberAccountViaMobile(e) {
|
|
1339
|
-
const t = await this.client.request(
|
|
1409
|
+
const t = await this.client.request(it, e);
|
|
1340
1410
|
return t.ok ? t.data.registerMemberAccountViaMobile ? {
|
|
1341
1411
|
ok: !1,
|
|
1342
1412
|
error: u(t.data.registerMemberAccountViaMobile.__typename)
|
|
@@ -1345,7 +1415,7 @@ class It {
|
|
|
1345
1415
|
} : t;
|
|
1346
1416
|
}
|
|
1347
1417
|
async registerMemberAccount__next(e) {
|
|
1348
|
-
const t = await this.client.request(
|
|
1418
|
+
const t = await this.client.request(st, e);
|
|
1349
1419
|
return t.ok ? t.data.registerMemberAccount ? {
|
|
1350
1420
|
ok: !1,
|
|
1351
1421
|
error: u(t.data.registerMemberAccount.__typename)
|
|
@@ -1354,7 +1424,7 @@ class It {
|
|
|
1354
1424
|
} : t;
|
|
1355
1425
|
}
|
|
1356
1426
|
async updateMemberAccount(e) {
|
|
1357
|
-
const t = await this.client.request(
|
|
1427
|
+
const t = await this.client.request(ct, e);
|
|
1358
1428
|
return t.ok ? t.data.updateMemberAccount ? {
|
|
1359
1429
|
ok: !1,
|
|
1360
1430
|
error: u(t.data.updateMemberAccount.__typename)
|
|
@@ -1363,7 +1433,7 @@ class It {
|
|
|
1363
1433
|
} : t;
|
|
1364
1434
|
}
|
|
1365
1435
|
async deleteMemberAccount(e) {
|
|
1366
|
-
const t = await this.client.request(
|
|
1436
|
+
const t = await this.client.request(dt, e);
|
|
1367
1437
|
return t.ok ? t.data.deleteMemberAccount ? {
|
|
1368
1438
|
ok: !0
|
|
1369
1439
|
} : {
|
|
@@ -1376,7 +1446,7 @@ class It {
|
|
|
1376
1446
|
}
|
|
1377
1447
|
async resetPassword(e) {
|
|
1378
1448
|
const t = await this.client.request(
|
|
1379
|
-
|
|
1449
|
+
ut,
|
|
1380
1450
|
e
|
|
1381
1451
|
);
|
|
1382
1452
|
return t.ok ? t.data.resetPassword ? {
|
|
@@ -1387,16 +1457,16 @@ class It {
|
|
|
1387
1457
|
} : t;
|
|
1388
1458
|
}
|
|
1389
1459
|
async profileCompletion() {
|
|
1390
|
-
const e = await this.client.request(
|
|
1460
|
+
const e = await this.client.request(ht);
|
|
1391
1461
|
return e.ok ? { ok: !0, data: e.data.profileCompletion } : e;
|
|
1392
1462
|
}
|
|
1393
1463
|
/** @deprecated */
|
|
1394
1464
|
async platform() {
|
|
1395
|
-
return await this.client.request(
|
|
1465
|
+
return await this.client.request(yt);
|
|
1396
1466
|
}
|
|
1397
1467
|
/** @deprecated */
|
|
1398
1468
|
async sendVerificationCode(e) {
|
|
1399
|
-
const t = await this.client.request(
|
|
1469
|
+
const t = await this.client.request(wt, e);
|
|
1400
1470
|
return t.ok ? t.data.sendVerificationCode ? {
|
|
1401
1471
|
ok: !1,
|
|
1402
1472
|
error: u(t.data.sendVerificationCode.__typename)
|
|
@@ -1405,10 +1475,10 @@ class It {
|
|
|
1405
1475
|
} : t;
|
|
1406
1476
|
}
|
|
1407
1477
|
async paymentSettings() {
|
|
1408
|
-
return await this.client.request(
|
|
1478
|
+
return await this.client.request(bt);
|
|
1409
1479
|
}
|
|
1410
1480
|
async verifyMobileNumber(e) {
|
|
1411
|
-
const t = await this.client.request(
|
|
1481
|
+
const t = await this.client.request(lt, e);
|
|
1412
1482
|
return t.ok ? t.data.verifyMobileNumber ? {
|
|
1413
1483
|
ok: !1,
|
|
1414
1484
|
error: u(t.data.verifyMobileNumber.__typename)
|
|
@@ -1417,7 +1487,7 @@ class It {
|
|
|
1417
1487
|
} : t;
|
|
1418
1488
|
}
|
|
1419
1489
|
async createMemberVerification(e) {
|
|
1420
|
-
const t = await this.client.request(
|
|
1490
|
+
const t = await this.client.request(pt, e);
|
|
1421
1491
|
return t.ok ? t.data.createMemberVerification ? {
|
|
1422
1492
|
ok: !1,
|
|
1423
1493
|
error: u(t.data.createMemberVerification.__typename)
|
|
@@ -1426,7 +1496,7 @@ class It {
|
|
|
1426
1496
|
} : t;
|
|
1427
1497
|
}
|
|
1428
1498
|
async updateMemberVerification(e) {
|
|
1429
|
-
const t = await this.client.request(
|
|
1499
|
+
const t = await this.client.request(ft, e);
|
|
1430
1500
|
return t.ok ? t.data.updateMemberVerification ? {
|
|
1431
1501
|
ok: !1,
|
|
1432
1502
|
error: u(t.data.updateMemberVerification.__typename)
|
|
@@ -1435,7 +1505,7 @@ class It {
|
|
|
1435
1505
|
} : t;
|
|
1436
1506
|
}
|
|
1437
1507
|
async memberVerification() {
|
|
1438
|
-
const e = await this.client.request(
|
|
1508
|
+
const e = await this.client.request(nt);
|
|
1439
1509
|
return e.ok ? {
|
|
1440
1510
|
ok: !0,
|
|
1441
1511
|
data: e.data.memberAccount.verification
|
|
@@ -1452,7 +1522,7 @@ class It {
|
|
|
1452
1522
|
} : t;
|
|
1453
1523
|
}
|
|
1454
1524
|
async registerMayaMemberAccount(e) {
|
|
1455
|
-
const t = await this.client.request(
|
|
1525
|
+
const t = await this.client.request(mt, e);
|
|
1456
1526
|
return t.ok ? t.data.registerMayaMemberAccount ? {
|
|
1457
1527
|
ok: !1,
|
|
1458
1528
|
error: u(t.data.registerMayaMemberAccount.__typename)
|
|
@@ -1461,14 +1531,14 @@ class It {
|
|
|
1461
1531
|
} : t;
|
|
1462
1532
|
}
|
|
1463
1533
|
async referralCode() {
|
|
1464
|
-
const e = await this.client.request(
|
|
1534
|
+
const e = await this.client.request(kt);
|
|
1465
1535
|
return e.ok ? {
|
|
1466
1536
|
ok: !0,
|
|
1467
1537
|
data: e.data.referralCode
|
|
1468
1538
|
} : e;
|
|
1469
1539
|
}
|
|
1470
1540
|
async updateReferralCode(e) {
|
|
1471
|
-
const t = await this.client.request(
|
|
1541
|
+
const t = await this.client.request(Ct, e);
|
|
1472
1542
|
return t.ok ? t.data.updateReferralCode ? {
|
|
1473
1543
|
ok: !1,
|
|
1474
1544
|
error: u(t.data.updateReferralCode.__typename)
|
|
@@ -1477,18 +1547,18 @@ class It {
|
|
|
1477
1547
|
} : t;
|
|
1478
1548
|
}
|
|
1479
1549
|
async pointsClubSettings() {
|
|
1480
|
-
const e = await this.client.request(
|
|
1550
|
+
const e = await this.client.request(Rt);
|
|
1481
1551
|
return e.ok ? { ok: !0, data: e.data.pointsClubSettings } : e;
|
|
1482
1552
|
}
|
|
1483
1553
|
}
|
|
1484
1554
|
function w(n, e) {
|
|
1485
|
-
const t =
|
|
1555
|
+
const t = de[n] ? de[n] : de[500];
|
|
1486
1556
|
return {
|
|
1487
1557
|
name: t.name,
|
|
1488
1558
|
message: e ?? t.message
|
|
1489
1559
|
};
|
|
1490
1560
|
}
|
|
1491
|
-
const
|
|
1561
|
+
const de = {
|
|
1492
1562
|
400: { name: "HttpBadRequest", message: "Bad Request" },
|
|
1493
1563
|
401: { name: "HttpUnauthorized", message: "Unauthorized" },
|
|
1494
1564
|
403: { name: "HttpForbidden", message: "Forbidden" },
|
|
@@ -1497,7 +1567,7 @@ const ue = {
|
|
|
1497
1567
|
429: { name: "HttpTooManyRequests", message: "Too Many Requests" },
|
|
1498
1568
|
500: { name: "HttpInternalServerError", message: "Internal Server Error" }
|
|
1499
1569
|
};
|
|
1500
|
-
class
|
|
1570
|
+
class xt {
|
|
1501
1571
|
constructor(e) {
|
|
1502
1572
|
c(this, "url");
|
|
1503
1573
|
c(this, "platform");
|
|
@@ -1666,7 +1736,7 @@ class Gt {
|
|
|
1666
1736
|
}
|
|
1667
1737
|
}
|
|
1668
1738
|
}
|
|
1669
|
-
class
|
|
1739
|
+
class Wt {
|
|
1670
1740
|
constructor(e) {
|
|
1671
1741
|
c(this, "url");
|
|
1672
1742
|
c(this, "siteId");
|
|
@@ -1681,12 +1751,12 @@ class Pt {
|
|
|
1681
1751
|
} : e;
|
|
1682
1752
|
}
|
|
1683
1753
|
async games(e) {
|
|
1684
|
-
var a, s, m, d, p, f, h, l, k, C, _, T, M, v, y, R, N,
|
|
1754
|
+
var a, s, m, d, p, f, h, l, k, C, _, T, M, v, y, R, N, A, D, I, G, P, S, x;
|
|
1685
1755
|
const t = new URLSearchParams();
|
|
1686
|
-
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), (d = (m = e == null ? void 0 : e.filter) == null ? void 0 : m.type) != null && d.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (f = (p = e == null ? void 0 : e.filter) == null ? void 0 : p.type) != null && f.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (l = (h = e == null ? void 0 : e.filter) == null ? void 0 : h.type) != null && l.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (C = (k = e == null ? void 0 : e.filter) == null ? void 0 : k.provider) != null && C.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (T = (_ = e == null ? void 0 : e.filter) == null ? void 0 : _.provider) != null && T.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (v = (M = e == null ? void 0 : e.filter) == null ? void 0 : M.provider) != null && v.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (R = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && R.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (
|
|
1756
|
+
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), (d = (m = e == null ? void 0 : e.filter) == null ? void 0 : m.type) != null && d.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (f = (p = e == null ? void 0 : e.filter) == null ? void 0 : p.type) != null && f.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (l = (h = e == null ? void 0 : e.filter) == null ? void 0 : h.type) != null && l.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (C = (k = e == null ? void 0 : e.filter) == null ? void 0 : k.provider) != null && C.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (T = (_ = e == null ? void 0 : e.filter) == null ? void 0 : _.provider) != null && T.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (v = (M = e == null ? void 0 : e.filter) == null ? void 0 : M.provider) != null && v.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (R = (y = e == null ? void 0 : e.filter) == null ? void 0 : y.provider) != null && R.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (N = e == null ? void 0 : e.filter) == null ? void 0 : N.tags) != null && A.equal && t.set("filter[tags][eq]", e.filter.tags.equal.toLowerCase()), (I = (D = e == null ? void 0 : e.filter) == null ? void 0 : D.tags) != null && I.notEqual && t.set("filter[tags][neq]", e.filter.tags.notEqual.toLowerCase()), (P = (G = e == null ? void 0 : e.filter) == null ? void 0 : G.tags) != null && P.in && t.set(
|
|
1687
1757
|
"filter[tags][in]",
|
|
1688
1758
|
e.filter.tags.in.map((E) => E.toLowerCase()).join(",")
|
|
1689
|
-
), (
|
|
1759
|
+
), (x = (S = e == null ? void 0 : e.filter) == null ? void 0 : S.tags) != null && x.notIn && t.set(
|
|
1690
1760
|
"filter[tags][nin]",
|
|
1691
1761
|
e.filter.tags.notIn.map((E) => E.toLowerCase()).join(",")
|
|
1692
1762
|
);
|
|
@@ -1744,7 +1814,7 @@ class Pt {
|
|
|
1744
1814
|
}
|
|
1745
1815
|
}
|
|
1746
1816
|
}
|
|
1747
|
-
class
|
|
1817
|
+
class Ot {
|
|
1748
1818
|
constructor(e) {
|
|
1749
1819
|
c(this, "client");
|
|
1750
1820
|
this.client = e;
|
|
@@ -1766,7 +1836,7 @@ class Wt {
|
|
|
1766
1836
|
} : t;
|
|
1767
1837
|
}
|
|
1768
1838
|
}
|
|
1769
|
-
class
|
|
1839
|
+
class $t {
|
|
1770
1840
|
constructor(e) {
|
|
1771
1841
|
c(this, "client");
|
|
1772
1842
|
this.client = e;
|
|
@@ -1791,7 +1861,7 @@ class xt {
|
|
|
1791
1861
|
} : t;
|
|
1792
1862
|
}
|
|
1793
1863
|
async endGameSession(e) {
|
|
1794
|
-
const t = await this.client.request(
|
|
1864
|
+
const t = await this.client.request(Ae.legacy, e);
|
|
1795
1865
|
return t.ok ? t.data.endGameSession ? {
|
|
1796
1866
|
ok: !1,
|
|
1797
1867
|
error: {
|
|
@@ -1803,40 +1873,40 @@ class xt {
|
|
|
1803
1873
|
} : t;
|
|
1804
1874
|
}
|
|
1805
1875
|
}
|
|
1806
|
-
class
|
|
1876
|
+
class Ut {
|
|
1807
1877
|
constructor(e) {
|
|
1808
1878
|
c(this, "client");
|
|
1809
1879
|
this.client = e;
|
|
1810
1880
|
}
|
|
1811
1881
|
async latestBetRecords() {
|
|
1812
|
-
const e = await this.client.request(
|
|
1882
|
+
const e = await this.client.request(Ke);
|
|
1813
1883
|
return e.ok ? {
|
|
1814
1884
|
ok: !0,
|
|
1815
1885
|
data: e.data.latestBetRecords
|
|
1816
1886
|
} : e;
|
|
1817
1887
|
}
|
|
1818
1888
|
async platform() {
|
|
1819
|
-
const e = await this.client.request(
|
|
1889
|
+
const e = await this.client.request(gt);
|
|
1820
1890
|
return e.ok ? {
|
|
1821
1891
|
ok: !0,
|
|
1822
1892
|
data: e.data
|
|
1823
1893
|
} : e;
|
|
1824
1894
|
}
|
|
1825
1895
|
}
|
|
1826
|
-
class
|
|
1896
|
+
class Bt {
|
|
1827
1897
|
constructor(e) {
|
|
1828
1898
|
c(this, "client");
|
|
1829
1899
|
this.client = e;
|
|
1830
1900
|
}
|
|
1831
1901
|
async betRecords(e) {
|
|
1832
1902
|
const t = await this.client.request(
|
|
1833
|
-
|
|
1903
|
+
je,
|
|
1834
1904
|
e
|
|
1835
1905
|
);
|
|
1836
1906
|
return t.ok ? { ok: t.ok, data: t.data.member.betRecords } : t;
|
|
1837
1907
|
}
|
|
1838
1908
|
async transactionRecords(e) {
|
|
1839
|
-
const t = await this.client.request(
|
|
1909
|
+
const t = await this.client.request(ze, e);
|
|
1840
1910
|
return t.ok ? { ok: t.ok, data: t.data.member.transactionRecords } : t;
|
|
1841
1911
|
}
|
|
1842
1912
|
async withdrawalRecords(e) {
|
|
@@ -1854,7 +1924,7 @@ class Ut {
|
|
|
1854
1924
|
return t.ok ? { ok: t.ok, data: t.data.member.depositRecords } : t;
|
|
1855
1925
|
}
|
|
1856
1926
|
async depositsCount() {
|
|
1857
|
-
const e = await this.client.request(
|
|
1927
|
+
const e = await this.client.request(Qe);
|
|
1858
1928
|
return e.ok ? { ok: e.ok, data: e.data.member.depositsCount } : e;
|
|
1859
1929
|
}
|
|
1860
1930
|
async pointsWalletTransactions(e) {
|
|
@@ -1863,38 +1933,38 @@ class Ut {
|
|
|
1863
1933
|
}
|
|
1864
1934
|
async activityRecords(e) {
|
|
1865
1935
|
const t = await this.client.request(
|
|
1866
|
-
|
|
1936
|
+
St,
|
|
1867
1937
|
e
|
|
1868
1938
|
);
|
|
1869
1939
|
return t.ok ? { ok: t.ok, data: t.data.member.activityRecords } : t;
|
|
1870
1940
|
}
|
|
1871
1941
|
async referrals(e) {
|
|
1872
1942
|
const t = await this.client.request(
|
|
1873
|
-
|
|
1943
|
+
_t,
|
|
1874
1944
|
e
|
|
1875
1945
|
);
|
|
1876
1946
|
return t.ok ? { ok: t.ok, data: t.data.member.referrals } : t;
|
|
1877
1947
|
}
|
|
1878
1948
|
async referralCommission() {
|
|
1879
|
-
const e = await this.client.request(
|
|
1949
|
+
const e = await this.client.request(vt);
|
|
1880
1950
|
return e.ok ? { ok: e.ok, data: e.data.member.referralCommission } : e;
|
|
1881
1951
|
}
|
|
1882
1952
|
async uplinesByName(e) {
|
|
1883
1953
|
const t = await this.client.request(
|
|
1884
|
-
|
|
1954
|
+
Tt,
|
|
1885
1955
|
e
|
|
1886
1956
|
);
|
|
1887
1957
|
return t.ok ? { ok: t.ok, data: t.data.uplinesByName } : t;
|
|
1888
1958
|
}
|
|
1889
1959
|
async downlinesByName(e) {
|
|
1890
1960
|
const t = await this.client.request(
|
|
1891
|
-
|
|
1961
|
+
Mt,
|
|
1892
1962
|
e
|
|
1893
1963
|
);
|
|
1894
1964
|
return t.ok ? { ok: t.ok, data: t.data.downlinesByName } : t;
|
|
1895
1965
|
}
|
|
1896
1966
|
}
|
|
1897
|
-
class
|
|
1967
|
+
class qt {
|
|
1898
1968
|
constructor(e) {
|
|
1899
1969
|
c(this, "url");
|
|
1900
1970
|
this.url = e.url;
|
|
@@ -1906,21 +1976,21 @@ class Ot {
|
|
|
1906
1976
|
];
|
|
1907
1977
|
}
|
|
1908
1978
|
}
|
|
1909
|
-
class
|
|
1979
|
+
class Ft {
|
|
1910
1980
|
constructor(e) {
|
|
1911
1981
|
c(this, "client");
|
|
1912
1982
|
this.client = e;
|
|
1913
1983
|
}
|
|
1914
1984
|
async messages(e) {
|
|
1915
1985
|
const t = await this.client.request(
|
|
1916
|
-
|
|
1986
|
+
Nt,
|
|
1917
1987
|
e
|
|
1918
1988
|
);
|
|
1919
1989
|
return t.ok ? { ok: t.ok, data: t.data.messages } : t;
|
|
1920
1990
|
}
|
|
1921
1991
|
async unreadMessagesCount(e) {
|
|
1922
1992
|
const t = await this.client.request(
|
|
1923
|
-
|
|
1993
|
+
Dt,
|
|
1924
1994
|
{
|
|
1925
1995
|
...e,
|
|
1926
1996
|
filter: {
|
|
@@ -1934,7 +2004,7 @@ class Bt {
|
|
|
1934
2004
|
return t.ok ? { ok: t.ok, data: t.data.messages.totalCount } : t;
|
|
1935
2005
|
}
|
|
1936
2006
|
async markMessageAsRead(e) {
|
|
1937
|
-
const t = await this.client.request(
|
|
2007
|
+
const t = await this.client.request(It, e);
|
|
1938
2008
|
return t.ok ? t.data.markMessageAsRead ? {
|
|
1939
2009
|
ok: !0
|
|
1940
2010
|
} : {
|
|
@@ -1947,7 +2017,7 @@ class Bt {
|
|
|
1947
2017
|
}
|
|
1948
2018
|
async markAllMessageAsRead() {
|
|
1949
2019
|
const e = await this.client.request(
|
|
1950
|
-
|
|
2020
|
+
Gt
|
|
1951
2021
|
);
|
|
1952
2022
|
return e.ok ? e.data.markAllMessageAsRead ? {
|
|
1953
2023
|
ok: !0
|
|
@@ -1960,32 +2030,32 @@ class Bt {
|
|
|
1960
2030
|
} : e;
|
|
1961
2031
|
}
|
|
1962
2032
|
}
|
|
1963
|
-
class
|
|
2033
|
+
class Lt {
|
|
1964
2034
|
constructor(e) {
|
|
1965
2035
|
c(this, "client");
|
|
1966
2036
|
this.client = e;
|
|
1967
2037
|
}
|
|
1968
2038
|
async promos() {
|
|
1969
|
-
const e = await this.client.request(
|
|
2039
|
+
const e = await this.client.request(Je);
|
|
1970
2040
|
return e.ok ? { ok: e.ok, data: e.data.promos } : e;
|
|
1971
2041
|
}
|
|
1972
2042
|
async cashbacks() {
|
|
1973
|
-
const e = await this.client.request(
|
|
2043
|
+
const e = await this.client.request(Ze);
|
|
1974
2044
|
return e.ok ? { ok: e.ok, data: e.data.cashbacks } : e;
|
|
1975
2045
|
}
|
|
1976
2046
|
async availablePromos(e) {
|
|
1977
2047
|
const t = await this.client.request(
|
|
1978
|
-
|
|
2048
|
+
Xe,
|
|
1979
2049
|
e
|
|
1980
2050
|
);
|
|
1981
2051
|
return t.ok ? { ok: t.ok, data: t.data.availablePromos } : t;
|
|
1982
2052
|
}
|
|
1983
2053
|
async cashbackBonuses() {
|
|
1984
|
-
const e = await this.client.request(
|
|
2054
|
+
const e = await this.client.request(tt);
|
|
1985
2055
|
return e.ok ? { ok: e.ok, data: e.data.cashbackBonuses } : e;
|
|
1986
2056
|
}
|
|
1987
2057
|
async claimCashbackBonus(e) {
|
|
1988
|
-
const t = await this.client.request(
|
|
2058
|
+
const t = await this.client.request(rt, e);
|
|
1989
2059
|
return t.ok ? t.data.claimCashbackBonus ? {
|
|
1990
2060
|
ok: !1,
|
|
1991
2061
|
error: u(t.data.claimCashbackBonus.__typename)
|
|
@@ -1997,7 +2067,7 @@ class qt {
|
|
|
1997
2067
|
};
|
|
1998
2068
|
}
|
|
1999
2069
|
async bonus() {
|
|
2000
|
-
const e = await this.client.request(
|
|
2070
|
+
const e = await this.client.request(et);
|
|
2001
2071
|
return e.ok ? { ok: e.ok, data: e.data.bonus } : e;
|
|
2002
2072
|
}
|
|
2003
2073
|
async wallet() {
|
|
@@ -2006,7 +2076,7 @@ class qt {
|
|
|
2006
2076
|
}
|
|
2007
2077
|
async deposit(e) {
|
|
2008
2078
|
const t = await this.client.request(
|
|
2009
|
-
|
|
2079
|
+
Ye,
|
|
2010
2080
|
e
|
|
2011
2081
|
);
|
|
2012
2082
|
return t.ok ? { ok: t.ok, data: t.data.node } : t;
|
|
@@ -2029,6 +2099,24 @@ class qt {
|
|
|
2029
2099
|
ok: !0
|
|
2030
2100
|
} : t;
|
|
2031
2101
|
}
|
|
2102
|
+
async createAIOQRPHDeposit(e) {
|
|
2103
|
+
const t = await this.client.request(Ve, e);
|
|
2104
|
+
return t.ok ? t.data.createAIOQRPHDeposit ? {
|
|
2105
|
+
ok: !1,
|
|
2106
|
+
error: u(t.data.createAIOQRPHDeposit.__typename)
|
|
2107
|
+
} : {
|
|
2108
|
+
ok: !0
|
|
2109
|
+
} : t;
|
|
2110
|
+
}
|
|
2111
|
+
async createAIOOnlineBankDeposit(e) {
|
|
2112
|
+
const t = await this.client.request(He, e);
|
|
2113
|
+
return t.ok ? t.data.createAIOOnlineBankDeposit ? {
|
|
2114
|
+
ok: !1,
|
|
2115
|
+
error: u(t.data.createAIOOnlineBankDeposit.__typename)
|
|
2116
|
+
} : {
|
|
2117
|
+
ok: !0
|
|
2118
|
+
} : t;
|
|
2119
|
+
}
|
|
2032
2120
|
async createMayaAppDeposit(e) {
|
|
2033
2121
|
const t = await this.client.request(Le, e);
|
|
2034
2122
|
return t.ok ? t.data.createMayaAppDeposit ? {
|
|
@@ -2039,7 +2127,7 @@ class qt {
|
|
|
2039
2127
|
} : t;
|
|
2040
2128
|
}
|
|
2041
2129
|
async createGCashWithdrawal(e) {
|
|
2042
|
-
const t = await this.client.request(
|
|
2130
|
+
const t = await this.client.request(xe, e);
|
|
2043
2131
|
return t.ok ? t.data.createGCashWithdrawal ? {
|
|
2044
2132
|
ok: !1,
|
|
2045
2133
|
error: u(t.data.createGCashWithdrawal.__typename)
|
|
@@ -2048,7 +2136,7 @@ class qt {
|
|
|
2048
2136
|
} : t;
|
|
2049
2137
|
}
|
|
2050
2138
|
async createMayaWithdrawal(e) {
|
|
2051
|
-
const t = await this.client.request(
|
|
2139
|
+
const t = await this.client.request(We, e);
|
|
2052
2140
|
return t.ok ? t.data.createMayaWithdrawal ? {
|
|
2053
2141
|
ok: !1,
|
|
2054
2142
|
error: u(t.data.createMayaWithdrawal.__typename)
|
|
@@ -2057,7 +2145,7 @@ class qt {
|
|
|
2057
2145
|
} : t;
|
|
2058
2146
|
}
|
|
2059
2147
|
async createMayaAppWithdrawal(e) {
|
|
2060
|
-
const t = await this.client.request(
|
|
2148
|
+
const t = await this.client.request(Oe, e);
|
|
2061
2149
|
return t.ok ? t.data.createMayaAppWithdrawal ? {
|
|
2062
2150
|
ok: !1,
|
|
2063
2151
|
error: u(t.data.createMayaAppWithdrawal.__typename)
|
|
@@ -2066,7 +2154,7 @@ class qt {
|
|
|
2066
2154
|
} : t;
|
|
2067
2155
|
}
|
|
2068
2156
|
async createBankWithdrawal(e) {
|
|
2069
|
-
const t = await this.client.request(
|
|
2157
|
+
const t = await this.client.request($e, e);
|
|
2070
2158
|
return t.ok ? t.data.createBankWithdrawal ? {
|
|
2071
2159
|
ok: !1,
|
|
2072
2160
|
error: u(t.data.createBankWithdrawal.__typename)
|
|
@@ -2076,7 +2164,7 @@ class qt {
|
|
|
2076
2164
|
}
|
|
2077
2165
|
async remainingDailyWithdrawalsCount() {
|
|
2078
2166
|
const e = await this.client.request(
|
|
2079
|
-
|
|
2167
|
+
Ue
|
|
2080
2168
|
);
|
|
2081
2169
|
return e.ok ? { ok: e.ok, data: e.data.remainingDailyWithdrawalsCount } : e;
|
|
2082
2170
|
}
|
|
@@ -2095,7 +2183,7 @@ class qt {
|
|
|
2095
2183
|
}
|
|
2096
2184
|
async mayaSession(e) {
|
|
2097
2185
|
const t = await this.client.request(
|
|
2098
|
-
|
|
2186
|
+
Et,
|
|
2099
2187
|
e
|
|
2100
2188
|
);
|
|
2101
2189
|
return t.ok ? { ok: t.ok, data: t.data.mayaSession } : t;
|
|
@@ -2118,7 +2206,7 @@ class qt {
|
|
|
2118
2206
|
}
|
|
2119
2207
|
async endGameSession(e) {
|
|
2120
2208
|
const t = await this.client.request(
|
|
2121
|
-
|
|
2209
|
+
Ae.current,
|
|
2122
2210
|
e
|
|
2123
2211
|
);
|
|
2124
2212
|
return t.ok ? t.data.endGameSession ? {
|
|
@@ -2133,7 +2221,7 @@ class qt {
|
|
|
2133
2221
|
}
|
|
2134
2222
|
async validateMayaSession() {
|
|
2135
2223
|
const e = await this.client.request(
|
|
2136
|
-
|
|
2224
|
+
At
|
|
2137
2225
|
);
|
|
2138
2226
|
return e.ok ? e.data.validateMayaSession ? {
|
|
2139
2227
|
ok: !0
|
|
@@ -2156,7 +2244,7 @@ function B(n, e) {
|
|
|
2156
2244
|
function le(n, e) {
|
|
2157
2245
|
return n.getTime() > e.getTime();
|
|
2158
2246
|
}
|
|
2159
|
-
class
|
|
2247
|
+
class Vt {
|
|
2160
2248
|
constructor(e) {
|
|
2161
2249
|
c(this, "config");
|
|
2162
2250
|
c(this, "cache");
|
|
@@ -2177,18 +2265,18 @@ class Ft {
|
|
|
2177
2265
|
return !t || le(/* @__PURE__ */ new Date(), t.validUntil) ? null : t.value;
|
|
2178
2266
|
}
|
|
2179
2267
|
}
|
|
2180
|
-
function
|
|
2268
|
+
function Ht(n, e, t) {
|
|
2181
2269
|
return n < e ? e : n > t ? t : n;
|
|
2182
2270
|
}
|
|
2183
2271
|
function pe(n) {
|
|
2184
2272
|
return Object.prototype.toString.call(n) === "[object Object]" && Object(n) === n;
|
|
2185
2273
|
}
|
|
2186
|
-
function
|
|
2274
|
+
function Yt(n) {
|
|
2187
2275
|
const e = [];
|
|
2188
2276
|
function t(r, a = []) {
|
|
2189
2277
|
for (const s in r) {
|
|
2190
2278
|
const m = r[s];
|
|
2191
|
-
pe(m) ? t(m, [...a, s]) : Array.isArray(m) ? t(
|
|
2279
|
+
pe(m) ? t(m, [...a, s]) : Array.isArray(m) ? t(Qt(m), [...a, s]) : e.push({
|
|
2192
2280
|
key: [...a, s],
|
|
2193
2281
|
value: m
|
|
2194
2282
|
});
|
|
@@ -2196,10 +2284,10 @@ function Vt(n) {
|
|
|
2196
2284
|
}
|
|
2197
2285
|
return t(n), e;
|
|
2198
2286
|
}
|
|
2199
|
-
function
|
|
2287
|
+
function Qt(n) {
|
|
2200
2288
|
return n.reduce((e, t, r) => (e[r] = t, e), {});
|
|
2201
2289
|
}
|
|
2202
|
-
class
|
|
2290
|
+
class U {
|
|
2203
2291
|
constructor(e, t) {
|
|
2204
2292
|
c(this, "url");
|
|
2205
2293
|
c(this, "options");
|
|
@@ -2263,7 +2351,7 @@ class O {
|
|
|
2263
2351
|
return t;
|
|
2264
2352
|
}
|
|
2265
2353
|
createUploadBody(e, t) {
|
|
2266
|
-
const r =
|
|
2354
|
+
const r = Yt(t).filter(
|
|
2267
2355
|
(m) => m.value instanceof File || m.value instanceof Blob
|
|
2268
2356
|
), a = new FormData();
|
|
2269
2357
|
a.append(
|
|
@@ -2281,14 +2369,14 @@ class O {
|
|
|
2281
2369
|
}), a;
|
|
2282
2370
|
}
|
|
2283
2371
|
}
|
|
2284
|
-
function
|
|
2372
|
+
function jt(n) {
|
|
2285
2373
|
return n === "INR" ? "en-IN" : n === "MYR" ? "en-MY" : n === "IDR" ? "en-ID" : n === "USD" ? "en-US" : "en-PH";
|
|
2286
2374
|
}
|
|
2287
|
-
function
|
|
2375
|
+
function Kt(n) {
|
|
2288
2376
|
return n === "en-IN" ? "+91" : n === "en-MY" ? "+60" : n === "en-ID" ? "+62" : n === "en-US" ? "+1" : "+63";
|
|
2289
2377
|
}
|
|
2290
|
-
function
|
|
2291
|
-
const t =
|
|
2378
|
+
function W(n, e) {
|
|
2379
|
+
const t = Kt(e);
|
|
2292
2380
|
return n.startsWith(t) ? n : n.startsWith(t.substring(1)) ? `+${n}` : n.startsWith("0") ? `${t}${n.substring(1)}` : `${t}${n}`;
|
|
2293
2381
|
}
|
|
2294
2382
|
async function g(n) {
|
|
@@ -2339,7 +2427,7 @@ function F(n, e) {
|
|
|
2339
2427
|
const t = we(n);
|
|
2340
2428
|
return t.setMinutes(t.getMinutes() - e), t;
|
|
2341
2429
|
}
|
|
2342
|
-
class
|
|
2430
|
+
class zt {
|
|
2343
2431
|
constructor(e) {
|
|
2344
2432
|
c(this, "logger");
|
|
2345
2433
|
c(this, "storageKey", "session");
|
|
@@ -2574,7 +2662,7 @@ function b(n) {
|
|
|
2574
2662
|
}
|
|
2575
2663
|
return e;
|
|
2576
2664
|
}
|
|
2577
|
-
function
|
|
2665
|
+
function o(n, e) {
|
|
2578
2666
|
if (typeof n == "number" && !Number.isNaN(n))
|
|
2579
2667
|
return n;
|
|
2580
2668
|
if (typeof n == "string") {
|
|
@@ -2584,11 +2672,11 @@ function i(n, e) {
|
|
|
2584
2672
|
}
|
|
2585
2673
|
return e;
|
|
2586
2674
|
}
|
|
2587
|
-
class
|
|
2675
|
+
class Jt {
|
|
2588
2676
|
constructor(e) {
|
|
2589
2677
|
c(this, "staticService");
|
|
2590
2678
|
const t = (e == null ? void 0 : e.environment) === "development";
|
|
2591
|
-
this.staticService = new
|
|
2679
|
+
this.staticService = new qt({
|
|
2592
2680
|
url: t ? "https://static.development.opexa.io" : "https://static.opexa.io"
|
|
2593
2681
|
});
|
|
2594
2682
|
}
|
|
@@ -2636,12 +2724,12 @@ class Kt {
|
|
|
2636
2724
|
}
|
|
2637
2725
|
/** @deprecated */
|
|
2638
2726
|
platform(e) {
|
|
2639
|
-
var t, r, a, s, m, d, p, f, h, l, k, C, _, T, M, v, y, R, N,
|
|
2727
|
+
var t, r, a, s, m, d, p, f, h, l, k, C, _, T, M, v, y, R, N, A, D, I, G, P, S, x, E, L, V, H, Y, Q, j, K, z, J, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ce, ye;
|
|
2640
2728
|
return {
|
|
2641
2729
|
timezone: e.timezone,
|
|
2642
2730
|
currency: e.currency,
|
|
2643
2731
|
paymentSettings: {
|
|
2644
|
-
minimumFirstDepositAmount:
|
|
2732
|
+
minimumFirstDepositAmount: o(e.minimumFirstDepositAmount),
|
|
2645
2733
|
restrictWithdrawalsToVerifiedMembers: e.restrictWithdrawalsToVerifiedMembers,
|
|
2646
2734
|
depositGateway: {
|
|
2647
2735
|
bank: {
|
|
@@ -2649,50 +2737,50 @@ class Kt {
|
|
|
2649
2737
|
iosEnabled: ((r = e.bankDepositGatewaySettings) == null ? void 0 : r.iosEnabled) ?? !1,
|
|
2650
2738
|
webEnabled: ((a = e.bankDepositGatewaySettings) == null ? void 0 : a.webEnabled) ?? !1,
|
|
2651
2739
|
mobileWebEnabled: ((s = e.bankDepositGatewaySettings) == null ? void 0 : s.mobileWebEnabled) ?? !1,
|
|
2652
|
-
minimumAmount:
|
|
2653
|
-
maximumAmount:
|
|
2740
|
+
minimumAmount: o((m = e.bankDepositGatewaySettings) == null ? void 0 : m.minimumAmount),
|
|
2741
|
+
maximumAmount: o((d = e.bankDepositGatewaySettings) == null ? void 0 : d.maximumAmount)
|
|
2654
2742
|
},
|
|
2655
2743
|
gcash: {
|
|
2656
2744
|
androidEnabled: ((p = e.gcashDepositGatewaySettings) == null ? void 0 : p.androidEnabled) ?? !1,
|
|
2657
2745
|
iosEnabled: ((f = e.gcashDepositGatewaySettings) == null ? void 0 : f.iosEnabled) ?? !1,
|
|
2658
2746
|
webEnabled: ((h = e.gcashDepositGatewaySettings) == null ? void 0 : h.webEnabled) ?? !1,
|
|
2659
2747
|
mobileWebEnabled: ((l = e.gcashDepositGatewaySettings) == null ? void 0 : l.mobileWebEnabled) ?? !1,
|
|
2660
|
-
minimumAmount:
|
|
2661
|
-
maximumAmount:
|
|
2748
|
+
minimumAmount: o((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.minimumAmount),
|
|
2749
|
+
maximumAmount: o((C = e.gcashDepositGatewaySettings) == null ? void 0 : C.maximumAmount)
|
|
2662
2750
|
},
|
|
2663
2751
|
maya: {
|
|
2664
2752
|
androidEnabled: ((_ = e.mayaDepositGatewaySettings) == null ? void 0 : _.androidEnabled) ?? !1,
|
|
2665
2753
|
iosEnabled: ((T = e.mayaDepositGatewaySettings) == null ? void 0 : T.iosEnabled) ?? !1,
|
|
2666
2754
|
webEnabled: ((M = e.mayaDepositGatewaySettings) == null ? void 0 : M.webEnabled) ?? !1,
|
|
2667
2755
|
mobileWebEnabled: ((v = e.mayaDepositGatewaySettings) == null ? void 0 : v.mobileWebEnabled) ?? !1,
|
|
2668
|
-
minimumAmount:
|
|
2669
|
-
maximumAmount:
|
|
2756
|
+
minimumAmount: o((y = e.mayaDepositGatewaySettings) == null ? void 0 : y.minimumAmount),
|
|
2757
|
+
maximumAmount: o((R = e.mayaDepositGatewaySettings) == null ? void 0 : R.maximumAmount)
|
|
2670
2758
|
},
|
|
2671
2759
|
mayaApp: {
|
|
2672
2760
|
androidEnabled: ((N = e.mayaAppDepositGatewaySettings) == null ? void 0 : N.androidEnabled) ?? !1,
|
|
2673
|
-
iosEnabled: ((
|
|
2761
|
+
iosEnabled: ((A = e.mayaAppDepositGatewaySettings) == null ? void 0 : A.iosEnabled) ?? !1,
|
|
2674
2762
|
webEnabled: ((D = e.mayaAppDepositGatewaySettings) == null ? void 0 : D.webEnabled) ?? !1,
|
|
2675
2763
|
mobileWebEnabled: ((I = e.mayaAppDepositGatewaySettings) == null ? void 0 : I.mobileWebEnabled) ?? !1,
|
|
2676
|
-
minimumAmount:
|
|
2677
|
-
maximumAmount:
|
|
2764
|
+
minimumAmount: o((G = e.mayaAppDepositGatewaySettings) == null ? void 0 : G.minimumAmount),
|
|
2765
|
+
maximumAmount: o((P = e.mayaAppDepositGatewaySettings) == null ? void 0 : P.maximumAmount)
|
|
2678
2766
|
}
|
|
2679
2767
|
},
|
|
2680
2768
|
withdrawalGateway: {
|
|
2681
2769
|
bank: {
|
|
2682
|
-
androidEnabled: ((
|
|
2683
|
-
iosEnabled: ((
|
|
2770
|
+
androidEnabled: ((S = e.bankWithdrawalGatewaySettings) == null ? void 0 : S.androidEnabled) ?? !1,
|
|
2771
|
+
iosEnabled: ((x = e.bankWithdrawalGatewaySettings) == null ? void 0 : x.iosEnabled) ?? !1,
|
|
2684
2772
|
webEnabled: ((E = e.bankWithdrawalGatewaySettings) == null ? void 0 : E.webEnabled) ?? !1,
|
|
2685
2773
|
mobileWebEnabled: ((L = e.bankWithdrawalGatewaySettings) == null ? void 0 : L.mobileWebEnabled) ?? !1,
|
|
2686
|
-
minimumAmount:
|
|
2687
|
-
maximumAmount:
|
|
2774
|
+
minimumAmount: o((V = e.bankWithdrawalGatewaySettings) == null ? void 0 : V.minimumAmount),
|
|
2775
|
+
maximumAmount: o((H = e.bankWithdrawalGatewaySettings) == null ? void 0 : H.maximumAmount)
|
|
2688
2776
|
},
|
|
2689
2777
|
gcash: {
|
|
2690
2778
|
androidEnabled: ((Y = e.gcashWithdrawalGatewaySettings) == null ? void 0 : Y.androidEnabled) ?? !1,
|
|
2691
|
-
iosEnabled: ((
|
|
2692
|
-
webEnabled: ((
|
|
2779
|
+
iosEnabled: ((Q = e.gcashWithdrawalGatewaySettings) == null ? void 0 : Q.iosEnabled) ?? !1,
|
|
2780
|
+
webEnabled: ((j = e.gcashWithdrawalGatewaySettings) == null ? void 0 : j.webEnabled) ?? !1,
|
|
2693
2781
|
mobileWebEnabled: ((K = e.gcashWithdrawalGatewaySettings) == null ? void 0 : K.mobileWebEnabled) ?? !1,
|
|
2694
|
-
minimumAmount:
|
|
2695
|
-
maximumAmount:
|
|
2782
|
+
minimumAmount: o((z = e.gcashWithdrawalGatewaySettings) == null ? void 0 : z.minimumAmount),
|
|
2783
|
+
maximumAmount: o(
|
|
2696
2784
|
(J = e.gcashWithdrawalGatewaySettings) == null ? void 0 : J.maximumAmount,
|
|
2697
2785
|
1e6
|
|
2698
2786
|
)
|
|
@@ -2702,16 +2790,16 @@ class Kt {
|
|
|
2702
2790
|
iosEnabled: ((Z = e.mayaWithdrawalGatewaySettings) == null ? void 0 : Z.iosEnabled) ?? !1,
|
|
2703
2791
|
webEnabled: ((ee = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ee.webEnabled) ?? !1,
|
|
2704
2792
|
mobileWebEnabled: ((te = e.mayaWithdrawalGatewaySettings) == null ? void 0 : te.mobileWebEnabled) ?? !1,
|
|
2705
|
-
minimumAmount:
|
|
2706
|
-
maximumAmount:
|
|
2793
|
+
minimumAmount: o((re = e.mayaWithdrawalGatewaySettings) == null ? void 0 : re.minimumAmount),
|
|
2794
|
+
maximumAmount: o((ae = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ae.maximumAmount)
|
|
2707
2795
|
},
|
|
2708
2796
|
mayaApp: {
|
|
2709
2797
|
androidEnabled: ((ne = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ne.androidEnabled) ?? !1,
|
|
2710
|
-
iosEnabled: ((
|
|
2711
|
-
webEnabled: ((
|
|
2798
|
+
iosEnabled: ((oe = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : oe.iosEnabled) ?? !1,
|
|
2799
|
+
webEnabled: ((ie = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ie.webEnabled) ?? !1,
|
|
2712
2800
|
mobileWebEnabled: ((se = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : se.mobileWebEnabled) ?? !1,
|
|
2713
|
-
minimumAmount:
|
|
2714
|
-
maximumAmount:
|
|
2801
|
+
minimumAmount: o((me = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : me.minimumAmount),
|
|
2802
|
+
maximumAmount: o(
|
|
2715
2803
|
(ce = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ce.maximumAmount,
|
|
2716
2804
|
1e6
|
|
2717
2805
|
)
|
|
@@ -2719,7 +2807,7 @@ class Kt {
|
|
|
2719
2807
|
}
|
|
2720
2808
|
},
|
|
2721
2809
|
pointsClubSettings: {
|
|
2722
|
-
multiplier:
|
|
2810
|
+
multiplier: o((ye = e.pointsClubSettings) == null ? void 0 : ye.multiplier, 0)
|
|
2723
2811
|
}
|
|
2724
2812
|
};
|
|
2725
2813
|
}
|
|
@@ -2727,18 +2815,18 @@ class Kt {
|
|
|
2727
2815
|
return {
|
|
2728
2816
|
currency: e.currency,
|
|
2729
2817
|
timezone: e.timezone,
|
|
2730
|
-
locale:
|
|
2818
|
+
locale: jt(e.currency)
|
|
2731
2819
|
};
|
|
2732
2820
|
}
|
|
2733
2821
|
pointsClubSettings(e) {
|
|
2734
2822
|
return {
|
|
2735
|
-
multiplier:
|
|
2823
|
+
multiplier: o(e.multiplier, 0)
|
|
2736
2824
|
};
|
|
2737
2825
|
}
|
|
2738
2826
|
paymentSettings(e) {
|
|
2739
|
-
var t, r, a, s, m, d, p, f, h, l, k, C, _, T, M, v, y, R, N,
|
|
2827
|
+
var t, r, a, s, m, d, p, f, h, l, k, C, _, T, M, v, y, R, N, A, D, I, G, P, S, x, E, L, V, H, Y, Q, j, K, z, J, X, Z, ee, te, re, ae, ne, oe, ie, se, me, ce;
|
|
2740
2828
|
return {
|
|
2741
|
-
minimumFirstDepositAmount:
|
|
2829
|
+
minimumFirstDepositAmount: o(e.minimumFirstDepositAmount),
|
|
2742
2830
|
restrictWithdrawalsToVerifiedMembers: e.restrictWithdrawalsToVerifiedMembers,
|
|
2743
2831
|
depositGateway: {
|
|
2744
2832
|
bank: {
|
|
@@ -2746,66 +2834,66 @@ class Kt {
|
|
|
2746
2834
|
iosEnabled: ((r = e.bankDepositGatewaySettings) == null ? void 0 : r.iosEnabled) ?? !1,
|
|
2747
2835
|
webEnabled: ((a = e.bankDepositGatewaySettings) == null ? void 0 : a.webEnabled) ?? !1,
|
|
2748
2836
|
mobileWebEnabled: ((s = e.bankDepositGatewaySettings) == null ? void 0 : s.mobileWebEnabled) ?? !1,
|
|
2749
|
-
minimumAmount:
|
|
2750
|
-
maximumAmount:
|
|
2837
|
+
minimumAmount: o((m = e.bankDepositGatewaySettings) == null ? void 0 : m.minimumAmount),
|
|
2838
|
+
maximumAmount: o((d = e.bankDepositGatewaySettings) == null ? void 0 : d.maximumAmount)
|
|
2751
2839
|
},
|
|
2752
2840
|
gcash: {
|
|
2753
2841
|
androidEnabled: ((p = e.gcashDepositGatewaySettings) == null ? void 0 : p.androidEnabled) ?? !1,
|
|
2754
2842
|
iosEnabled: ((f = e.gcashDepositGatewaySettings) == null ? void 0 : f.iosEnabled) ?? !1,
|
|
2755
2843
|
webEnabled: ((h = e.gcashDepositGatewaySettings) == null ? void 0 : h.webEnabled) ?? !1,
|
|
2756
2844
|
mobileWebEnabled: ((l = e.gcashDepositGatewaySettings) == null ? void 0 : l.mobileWebEnabled) ?? !1,
|
|
2757
|
-
minimumAmount:
|
|
2758
|
-
maximumAmount:
|
|
2845
|
+
minimumAmount: o((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.minimumAmount),
|
|
2846
|
+
maximumAmount: o((C = e.gcashDepositGatewaySettings) == null ? void 0 : C.maximumAmount)
|
|
2759
2847
|
},
|
|
2760
2848
|
maya: {
|
|
2761
2849
|
androidEnabled: ((_ = e.mayaDepositGatewaySettings) == null ? void 0 : _.androidEnabled) ?? !1,
|
|
2762
2850
|
iosEnabled: ((T = e.mayaDepositGatewaySettings) == null ? void 0 : T.iosEnabled) ?? !1,
|
|
2763
2851
|
webEnabled: ((M = e.mayaDepositGatewaySettings) == null ? void 0 : M.webEnabled) ?? !1,
|
|
2764
2852
|
mobileWebEnabled: ((v = e.mayaDepositGatewaySettings) == null ? void 0 : v.mobileWebEnabled) ?? !1,
|
|
2765
|
-
minimumAmount:
|
|
2766
|
-
maximumAmount:
|
|
2853
|
+
minimumAmount: o((y = e.mayaDepositGatewaySettings) == null ? void 0 : y.minimumAmount),
|
|
2854
|
+
maximumAmount: o((R = e.mayaDepositGatewaySettings) == null ? void 0 : R.maximumAmount)
|
|
2767
2855
|
},
|
|
2768
2856
|
mayaApp: {
|
|
2769
2857
|
androidEnabled: ((N = e.mayaAppDepositGatewaySettings) == null ? void 0 : N.androidEnabled) ?? !1,
|
|
2770
|
-
iosEnabled: ((
|
|
2858
|
+
iosEnabled: ((A = e.mayaAppDepositGatewaySettings) == null ? void 0 : A.iosEnabled) ?? !1,
|
|
2771
2859
|
webEnabled: ((D = e.mayaAppDepositGatewaySettings) == null ? void 0 : D.webEnabled) ?? !1,
|
|
2772
2860
|
mobileWebEnabled: ((I = e.mayaAppDepositGatewaySettings) == null ? void 0 : I.mobileWebEnabled) ?? !1,
|
|
2773
|
-
minimumAmount:
|
|
2774
|
-
maximumAmount:
|
|
2861
|
+
minimumAmount: o((G = e.mayaAppDepositGatewaySettings) == null ? void 0 : G.minimumAmount),
|
|
2862
|
+
maximumAmount: o((P = e.mayaAppDepositGatewaySettings) == null ? void 0 : P.maximumAmount)
|
|
2775
2863
|
}
|
|
2776
2864
|
},
|
|
2777
2865
|
withdrawalGateway: {
|
|
2778
2866
|
bank: {
|
|
2779
|
-
androidEnabled: ((
|
|
2780
|
-
iosEnabled: ((
|
|
2867
|
+
androidEnabled: ((S = e.bankWithdrawalGatewaySettings) == null ? void 0 : S.androidEnabled) ?? !1,
|
|
2868
|
+
iosEnabled: ((x = e.bankWithdrawalGatewaySettings) == null ? void 0 : x.iosEnabled) ?? !1,
|
|
2781
2869
|
webEnabled: ((E = e.bankWithdrawalGatewaySettings) == null ? void 0 : E.webEnabled) ?? !1,
|
|
2782
2870
|
mobileWebEnabled: ((L = e.bankWithdrawalGatewaySettings) == null ? void 0 : L.mobileWebEnabled) ?? !1,
|
|
2783
|
-
minimumAmount:
|
|
2784
|
-
maximumAmount:
|
|
2871
|
+
minimumAmount: o((V = e.bankWithdrawalGatewaySettings) == null ? void 0 : V.minimumAmount),
|
|
2872
|
+
maximumAmount: o((H = e.bankWithdrawalGatewaySettings) == null ? void 0 : H.maximumAmount)
|
|
2785
2873
|
},
|
|
2786
2874
|
gcash: {
|
|
2787
2875
|
androidEnabled: ((Y = e.gcashWithdrawalGatewaySettings) == null ? void 0 : Y.androidEnabled) ?? !1,
|
|
2788
|
-
iosEnabled: ((
|
|
2789
|
-
webEnabled: ((
|
|
2876
|
+
iosEnabled: ((Q = e.gcashWithdrawalGatewaySettings) == null ? void 0 : Q.iosEnabled) ?? !1,
|
|
2877
|
+
webEnabled: ((j = e.gcashWithdrawalGatewaySettings) == null ? void 0 : j.webEnabled) ?? !1,
|
|
2790
2878
|
mobileWebEnabled: ((K = e.gcashWithdrawalGatewaySettings) == null ? void 0 : K.mobileWebEnabled) ?? !1,
|
|
2791
|
-
minimumAmount:
|
|
2792
|
-
maximumAmount:
|
|
2879
|
+
minimumAmount: o((z = e.gcashWithdrawalGatewaySettings) == null ? void 0 : z.minimumAmount),
|
|
2880
|
+
maximumAmount: o((J = e.gcashWithdrawalGatewaySettings) == null ? void 0 : J.maximumAmount, 1e6)
|
|
2793
2881
|
},
|
|
2794
2882
|
maya: {
|
|
2795
2883
|
androidEnabled: ((X = e.mayaWithdrawalGatewaySettings) == null ? void 0 : X.androidEnabled) ?? !1,
|
|
2796
2884
|
iosEnabled: ((Z = e.mayaWithdrawalGatewaySettings) == null ? void 0 : Z.iosEnabled) ?? !1,
|
|
2797
2885
|
webEnabled: ((ee = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ee.webEnabled) ?? !1,
|
|
2798
2886
|
mobileWebEnabled: ((te = e.mayaWithdrawalGatewaySettings) == null ? void 0 : te.mobileWebEnabled) ?? !1,
|
|
2799
|
-
minimumAmount:
|
|
2800
|
-
maximumAmount:
|
|
2887
|
+
minimumAmount: o((re = e.mayaWithdrawalGatewaySettings) == null ? void 0 : re.minimumAmount),
|
|
2888
|
+
maximumAmount: o((ae = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ae.maximumAmount)
|
|
2801
2889
|
},
|
|
2802
2890
|
mayaApp: {
|
|
2803
2891
|
androidEnabled: ((ne = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ne.androidEnabled) ?? !1,
|
|
2804
|
-
iosEnabled: ((
|
|
2805
|
-
webEnabled: ((
|
|
2892
|
+
iosEnabled: ((oe = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : oe.iosEnabled) ?? !1,
|
|
2893
|
+
webEnabled: ((ie = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ie.webEnabled) ?? !1,
|
|
2806
2894
|
mobileWebEnabled: ((se = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : se.mobileWebEnabled) ?? !1,
|
|
2807
|
-
minimumAmount:
|
|
2808
|
-
maximumAmount:
|
|
2895
|
+
minimumAmount: o((me = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : me.minimumAmount),
|
|
2896
|
+
maximumAmount: o(
|
|
2809
2897
|
(ce = e.mayaAppWithdrawalGatewaySettings) == null ? void 0 : ce.maximumAmount,
|
|
2810
2898
|
1e6
|
|
2811
2899
|
)
|
|
@@ -2838,7 +2926,7 @@ class Kt {
|
|
|
2838
2926
|
wallet(e) {
|
|
2839
2927
|
return {
|
|
2840
2928
|
id: e.id,
|
|
2841
|
-
balance:
|
|
2929
|
+
balance: o(e.balance, 0),
|
|
2842
2930
|
currency: e.currency,
|
|
2843
2931
|
dateTimeCreated: new Date(e.dateTimeCreated),
|
|
2844
2932
|
dateTimeLastUpdated: new Date(e.dateTimeLastUpdated)
|
|
@@ -2865,7 +2953,7 @@ class Kt {
|
|
|
2865
2953
|
mobileNumberVerification: e.mobileNumberVerification ?? !1,
|
|
2866
2954
|
personalInformation: e.personalInformation ?? !1,
|
|
2867
2955
|
transactionPassword: e.transactionPassword ?? !1,
|
|
2868
|
-
completionPercentage:
|
|
2956
|
+
completionPercentage: o(e.completionPercentage, 0)
|
|
2869
2957
|
};
|
|
2870
2958
|
}
|
|
2871
2959
|
announcement(e) {
|
|
@@ -2887,9 +2975,9 @@ class Kt {
|
|
|
2887
2975
|
type: e.type,
|
|
2888
2976
|
bank: e.bank,
|
|
2889
2977
|
status: e.status,
|
|
2890
|
-
amount:
|
|
2891
|
-
netAmount:
|
|
2892
|
-
fee:
|
|
2978
|
+
amount: o(e.amount, 0),
|
|
2979
|
+
netAmount: o(e.netAmount, 0),
|
|
2980
|
+
fee: o(e.fee, 0),
|
|
2893
2981
|
reference: e.reference ?? void 0,
|
|
2894
2982
|
withdrawalNumber: e.withdrawalNumber,
|
|
2895
2983
|
recipientMobileNumber: e.recipientMobileNumber ?? void 0,
|
|
@@ -2913,9 +3001,9 @@ class Kt {
|
|
|
2913
3001
|
id: e.id,
|
|
2914
3002
|
type: e.type,
|
|
2915
3003
|
status: e.status,
|
|
2916
|
-
amount:
|
|
2917
|
-
fee:
|
|
2918
|
-
netAmount:
|
|
3004
|
+
amount: o(e.amount, 0),
|
|
3005
|
+
fee: o(e.fee, 0),
|
|
3006
|
+
netAmount: o(e.netAmount, 0),
|
|
2919
3007
|
reference: e.reference ?? void 0,
|
|
2920
3008
|
depositNumber: e.depositNumber,
|
|
2921
3009
|
dateTimeCreated: new Date(e.dateTimeCreated),
|
|
@@ -2927,13 +3015,13 @@ class Kt {
|
|
|
2927
3015
|
var r;
|
|
2928
3016
|
const t = {
|
|
2929
3017
|
id: e.id,
|
|
2930
|
-
bet:
|
|
2931
|
-
payout:
|
|
3018
|
+
bet: o(e.bet, 0),
|
|
3019
|
+
payout: o(e.payout, 0),
|
|
2932
3020
|
status: e.status,
|
|
2933
|
-
jackpotContribution:
|
|
2934
|
-
jackpotPayout:
|
|
2935
|
-
winloss:
|
|
2936
|
-
validBet:
|
|
3021
|
+
jackpotContribution: o(e.jackpotContribution, 0),
|
|
3022
|
+
jackpotPayout: o(e.jackpotPayout, 0),
|
|
3023
|
+
winloss: o(e.winloss),
|
|
3024
|
+
validBet: o(e.validBet, 0),
|
|
2937
3025
|
vendorRoundId: e.vendorRoundId ?? void 0,
|
|
2938
3026
|
game: {
|
|
2939
3027
|
name: e.game.name,
|
|
@@ -2964,9 +3052,9 @@ class Kt {
|
|
|
2964
3052
|
images: this.staticService.gameThumbnails(e.game),
|
|
2965
3053
|
provider: e.game.provider
|
|
2966
3054
|
},
|
|
2967
|
-
bet:
|
|
2968
|
-
payout:
|
|
2969
|
-
validBet:
|
|
3055
|
+
bet: o(e.bet, 0),
|
|
3056
|
+
payout: o(e.payout, 0),
|
|
3057
|
+
validBet: o(e.validBet, 0),
|
|
2970
3058
|
dateTimeSettled: new Date(e.dateTimeSettled),
|
|
2971
3059
|
dateTimeCreated: new Date(e.dateTimeCreated)
|
|
2972
3060
|
};
|
|
@@ -2975,9 +3063,9 @@ class Kt {
|
|
|
2975
3063
|
const t = {
|
|
2976
3064
|
id: e.id,
|
|
2977
3065
|
type: e.type,
|
|
2978
|
-
amount:
|
|
3066
|
+
amount: o(e.amount, 0),
|
|
2979
3067
|
content: e.content ?? void 0,
|
|
2980
|
-
currentBalance:
|
|
3068
|
+
currentBalance: o(e.currentBalance, 0),
|
|
2981
3069
|
referenceNumber: e.referenceNumber,
|
|
2982
3070
|
dateTimeCreated: new Date(e.dateTimeCreated)
|
|
2983
3071
|
};
|
|
@@ -3012,8 +3100,8 @@ class Kt {
|
|
|
3012
3100
|
status: e.status,
|
|
3013
3101
|
description: e.description,
|
|
3014
3102
|
banner: this.file(e.banner),
|
|
3015
|
-
maximumBonusAmount:
|
|
3016
|
-
minimumBonusAmount:
|
|
3103
|
+
maximumBonusAmount: o(e.maximumBonusAmount),
|
|
3104
|
+
minimumBonusAmount: o(e.minimumBonusAmount),
|
|
3017
3105
|
activationEndDateTime: new Date(e.activationEndDateTime),
|
|
3018
3106
|
activationStartDateTime: new Date(e.activationStartDateTime),
|
|
3019
3107
|
dateTimeCreated: new Date(e.dateTimeCreated),
|
|
@@ -3026,8 +3114,8 @@ class Kt {
|
|
|
3026
3114
|
name: e.name,
|
|
3027
3115
|
description: e.description,
|
|
3028
3116
|
status: e.status,
|
|
3029
|
-
minimumCashback:
|
|
3030
|
-
maximumMonthlyCashback:
|
|
3117
|
+
minimumCashback: o(e.minimumCashback, 0),
|
|
3118
|
+
maximumMonthlyCashback: o(e.maximumMonthlyCashback),
|
|
3031
3119
|
banner: this.file(e.banner),
|
|
3032
3120
|
activationEndDateTime: new Date(e.activationEndDateTime),
|
|
3033
3121
|
activationStartDateTime: new Date(e.activationStartDateTime),
|
|
@@ -3035,7 +3123,7 @@ class Kt {
|
|
|
3035
3123
|
dateTimeLastUpdated: new Date(e.dateTimeLastUpdated),
|
|
3036
3124
|
turnoverContributionPercentagePerGameProvider: Object.entries(
|
|
3037
3125
|
e.turnoverContributionPercentagePerGameProvider
|
|
3038
|
-
).reduce((r, [a, s]) => (r[a] =
|
|
3126
|
+
).reduce((r, [a, s]) => (r[a] = o(s, 0), r), {})
|
|
3039
3127
|
};
|
|
3040
3128
|
}
|
|
3041
3129
|
bonus(e) {
|
|
@@ -3045,22 +3133,22 @@ class Kt {
|
|
|
3045
3133
|
deposit: e.deposit ? {
|
|
3046
3134
|
type: e.deposit.type,
|
|
3047
3135
|
status: e.deposit.status,
|
|
3048
|
-
fee:
|
|
3049
|
-
amount:
|
|
3050
|
-
netAmount:
|
|
3136
|
+
fee: o(e.deposit.fee, 0),
|
|
3137
|
+
amount: o(e.deposit.amount, 0),
|
|
3138
|
+
netAmount: o(e.deposit.netAmount, 0),
|
|
3051
3139
|
reference: e.deposit.reference ?? void 0,
|
|
3052
3140
|
dateTimeCreated: new Date(e.deposit.dateTimeCreated),
|
|
3053
3141
|
dateTimeLastUpdated: new Date(e.deposit.dateTimeLastUpdated)
|
|
3054
3142
|
} : void 0,
|
|
3055
|
-
balance:
|
|
3056
|
-
amount:
|
|
3143
|
+
balance: o(e.balance, 0),
|
|
3144
|
+
amount: o(e.amount, 0),
|
|
3057
3145
|
expiration: new Date(e.expiration),
|
|
3058
|
-
turnoverRequirement:
|
|
3059
|
-
currentTurnoverRequirementContribution:
|
|
3146
|
+
turnoverRequirement: o(e.turnoverRequirement, 0),
|
|
3147
|
+
currentTurnoverRequirementContribution: o(
|
|
3060
3148
|
e.currentTurnoverRequirementContribution,
|
|
3061
3149
|
0
|
|
3062
3150
|
),
|
|
3063
|
-
currentTurnoverRequirementContributionPercentage:
|
|
3151
|
+
currentTurnoverRequirementContributionPercentage: o(
|
|
3064
3152
|
e.currentTurnoverRequirementContributionPercentage,
|
|
3065
3153
|
0
|
|
3066
3154
|
),
|
|
@@ -3072,8 +3160,8 @@ class Kt {
|
|
|
3072
3160
|
cashbackBonus(e) {
|
|
3073
3161
|
return {
|
|
3074
3162
|
id: e.id,
|
|
3075
|
-
total:
|
|
3076
|
-
balance:
|
|
3163
|
+
total: o(e.total, 0),
|
|
3164
|
+
balance: o(e.balance, 0),
|
|
3077
3165
|
cashback: this.cashback(e.cashback),
|
|
3078
3166
|
dateTimeCreated: new Date(e.dateTimeCreated),
|
|
3079
3167
|
dateTimeLastUpdated: new Date(e.dateTimeLastUpdated)
|
|
@@ -3091,7 +3179,7 @@ class Kt {
|
|
|
3091
3179
|
pointsWallet(e) {
|
|
3092
3180
|
return {
|
|
3093
3181
|
id: e.id,
|
|
3094
|
-
points:
|
|
3182
|
+
points: o(e.points, 0),
|
|
3095
3183
|
account: e.account,
|
|
3096
3184
|
dateTimeCreated: new Date(e.dateTimeCreated)
|
|
3097
3185
|
};
|
|
@@ -3100,8 +3188,8 @@ class Kt {
|
|
|
3100
3188
|
return {
|
|
3101
3189
|
id: e.id,
|
|
3102
3190
|
type: e.type,
|
|
3103
|
-
amount:
|
|
3104
|
-
balance:
|
|
3191
|
+
amount: o(e.amount, 0),
|
|
3192
|
+
balance: o(e.balance, 0),
|
|
3105
3193
|
dateTimeCreated: new Date(e.dateTimeCreated)
|
|
3106
3194
|
};
|
|
3107
3195
|
}
|
|
@@ -3109,7 +3197,7 @@ class Kt {
|
|
|
3109
3197
|
const t = {
|
|
3110
3198
|
id: e.id,
|
|
3111
3199
|
type: e.type,
|
|
3112
|
-
amount: e.amount ?
|
|
3200
|
+
amount: e.amount ? o(e.amount, 0) : void 0,
|
|
3113
3201
|
domain: e.domain ?? void 0,
|
|
3114
3202
|
details: e.details,
|
|
3115
3203
|
dateTimeCreated: new Date(e.dateTimeCreated)
|
|
@@ -3122,18 +3210,18 @@ class Kt {
|
|
|
3122
3210
|
level: e.level,
|
|
3123
3211
|
upline: e.upline,
|
|
3124
3212
|
downline: e.downline,
|
|
3125
|
-
turnover:
|
|
3126
|
-
commission:
|
|
3213
|
+
turnover: o(e.turnover, 0),
|
|
3214
|
+
commission: o(e.commission, 0),
|
|
3127
3215
|
dateTimeCreated: new Date(e.dateTimeCreated)
|
|
3128
3216
|
};
|
|
3129
3217
|
}
|
|
3130
3218
|
referralCommission(e) {
|
|
3131
3219
|
return {
|
|
3132
3220
|
id: e.id,
|
|
3133
|
-
commission:
|
|
3134
|
-
level1Commission:
|
|
3135
|
-
level2Commission:
|
|
3136
|
-
level3Commission:
|
|
3221
|
+
commission: o(e.commission, 0),
|
|
3222
|
+
level1Commission: o(e.level1Commission, 0),
|
|
3223
|
+
level2Commission: o(e.level2Commission, 0),
|
|
3224
|
+
level3Commission: o(e.level3Commission, 0),
|
|
3137
3225
|
referralsCount: e.referralsCount,
|
|
3138
3226
|
level1ReferralsCount: e.level1ReferralsCount,
|
|
3139
3227
|
level2ReferralsCount: e.level2ReferralsCount,
|
|
@@ -3156,7 +3244,7 @@ class Kt {
|
|
|
3156
3244
|
};
|
|
3157
3245
|
}
|
|
3158
3246
|
}
|
|
3159
|
-
class
|
|
3247
|
+
class er {
|
|
3160
3248
|
constructor(e) {
|
|
3161
3249
|
c(this, "cmsPortalService");
|
|
3162
3250
|
c(this, "authService");
|
|
@@ -3179,12 +3267,12 @@ class Xt {
|
|
|
3179
3267
|
environment: s,
|
|
3180
3268
|
logs: m
|
|
3181
3269
|
} = e, d = s === "production";
|
|
3182
|
-
this.transformer = new
|
|
3270
|
+
this.transformer = new Jt({
|
|
3183
3271
|
environment: s
|
|
3184
3272
|
}), this.logger = new ke({
|
|
3185
3273
|
enabled: m ?? !1
|
|
3186
3274
|
});
|
|
3187
|
-
const p = d ? "https://auth.opexa.io" : "https://auth.development.opexa.io", f = d ? "https://wallet.opexa.io/graphql" : "https://wallet.development.opexa.io/graphql", h = d ? "https://report.opexa.io/graphql" : "https://report.development.opexa.io/graphql", l = d ? "https://account.opexa.io/graphql" : "https://account.development.opexa.io/graphql", k = d ? "https://portal.opexa.io/graphql" : "https://portal.development.opexa.io/graphql", C = d ? "https://file.opexa.io/graphql" : "https://file.development.opexa.io/graphql", _ = d ? "https://game.opexa.io/graphql" : "https://game.development.opexa.io/graphql", T = d ? "https://trigger.opexa.io/graphql" : "https://trigger.development.opexa.io/graphql", M = "https://portal-api.opexacms.io/v1", v = new
|
|
3275
|
+
const p = d ? "https://auth.opexa.io" : "https://auth.development.opexa.io", f = d ? "https://wallet.opexa.io/graphql" : "https://wallet.development.opexa.io/graphql", h = d ? "https://report.opexa.io/graphql" : "https://report.development.opexa.io/graphql", l = d ? "https://account.opexa.io/graphql" : "https://account.development.opexa.io/graphql", k = d ? "https://portal.opexa.io/graphql" : "https://portal.development.opexa.io/graphql", C = d ? "https://file.opexa.io/graphql" : "https://file.development.opexa.io/graphql", _ = d ? "https://game.opexa.io/graphql" : "https://game.development.opexa.io/graphql", T = d ? "https://trigger.opexa.io/graphql" : "https://trigger.development.opexa.io/graphql", M = "https://portal-api.opexacms.io/v1", v = new Wt({
|
|
3188
3276
|
url: M,
|
|
3189
3277
|
site: t,
|
|
3190
3278
|
platform: r
|
|
@@ -3196,15 +3284,15 @@ class Xt {
|
|
|
3196
3284
|
"Platform-Code": a
|
|
3197
3285
|
}
|
|
3198
3286
|
}
|
|
3199
|
-
}, R = new
|
|
3287
|
+
}, R = new $t(new U(_, y)), N = new Ot(new U(C, y)), A = new Lt(new U(f, y)), D = new Pt(new U(l, y)), I = new Bt(new U(h, y)), G = new Ut(new U(k, y)), P = new Ft(new U(T, y)), S = new xt({
|
|
3200
3288
|
url: p,
|
|
3201
3289
|
platform: a
|
|
3202
|
-
}),
|
|
3290
|
+
}), x = new zt({
|
|
3203
3291
|
logs: m,
|
|
3204
|
-
authService:
|
|
3205
|
-
walletService:
|
|
3292
|
+
authService: S,
|
|
3293
|
+
walletService: A
|
|
3206
3294
|
});
|
|
3207
|
-
this.authService =
|
|
3295
|
+
this.authService = S, this.gameService = R, this.fileService = N, this.walletService = A, this.accountService = D, this.reportService = I, this.portalService = G, this.triggerService = P, this.sessionManager = x, this.cmsPortalService = v, this.cache = new Vt();
|
|
3208
3296
|
}
|
|
3209
3297
|
get authMiddleware() {
|
|
3210
3298
|
return async (e) => {
|
|
@@ -3252,7 +3340,7 @@ class Xt {
|
|
|
3252
3340
|
case "MOBILE_NUMBER": {
|
|
3253
3341
|
const t = await this.sessionManager.create({
|
|
3254
3342
|
type: "MOBILE_NUMBER",
|
|
3255
|
-
mobileNumber:
|
|
3343
|
+
mobileNumber: W(e.mobileNumber, await this.locale),
|
|
3256
3344
|
verificationCode: e.verificationCode
|
|
3257
3345
|
});
|
|
3258
3346
|
return t.ok ? { ok: !0 } : t;
|
|
@@ -3285,7 +3373,7 @@ class Xt {
|
|
|
3285
3373
|
await this.sessionManager.destroy();
|
|
3286
3374
|
}
|
|
3287
3375
|
watchSession(e) {
|
|
3288
|
-
const t =
|
|
3376
|
+
const t = Ht(e.interval ?? 3e4, 3e4, 6e4);
|
|
3289
3377
|
let r = null;
|
|
3290
3378
|
const a = () => setTimeout(async () => {
|
|
3291
3379
|
await this.sessionManager.verify() || await e.onInvalid(), r = a();
|
|
@@ -3362,7 +3450,7 @@ class Xt {
|
|
|
3362
3450
|
* @deprecated use `createAccount__next`
|
|
3363
3451
|
*/
|
|
3364
3452
|
async createAccount(e) {
|
|
3365
|
-
const t = e.id ??
|
|
3453
|
+
const t = e.id ?? O.generate($.Account).toString(), r = await this.accountService.registerMemberAccount({
|
|
3366
3454
|
input: {
|
|
3367
3455
|
id: t,
|
|
3368
3456
|
btag: e.btag,
|
|
@@ -3370,7 +3458,7 @@ class Xt {
|
|
|
3370
3458
|
domain: e.domain,
|
|
3371
3459
|
birthDay: typeof e.dateOfBirth == "string" ? e.dateOfBirth : e.dateOfBirth.toISOString(),
|
|
3372
3460
|
password: await g(e.password),
|
|
3373
|
-
mobileNumber:
|
|
3461
|
+
mobileNumber: W(e.mobileNumber, await this.locale)
|
|
3374
3462
|
},
|
|
3375
3463
|
referralCode: e.referralCode,
|
|
3376
3464
|
verificationCode: e.verificationCode,
|
|
@@ -3379,12 +3467,12 @@ class Xt {
|
|
|
3379
3467
|
return r.ok ? { ok: !0, data: { id: t } } : r;
|
|
3380
3468
|
}
|
|
3381
3469
|
async createAccount__next(e) {
|
|
3382
|
-
const t = e.id ??
|
|
3470
|
+
const t = e.id ?? O.generate($.Account).toString();
|
|
3383
3471
|
if (e.type === "MOBILE_NUMBER") {
|
|
3384
3472
|
const a = await this.accountService.registerMemberAccountViaMobile({
|
|
3385
3473
|
input: {
|
|
3386
3474
|
id: t,
|
|
3387
|
-
mobileNumber:
|
|
3475
|
+
mobileNumber: W(e.mobileNumber, await this.locale)
|
|
3388
3476
|
},
|
|
3389
3477
|
referralCode: e.referralCode,
|
|
3390
3478
|
reCAPTCHAResponse: e.reCAPTCHAResponse,
|
|
@@ -3397,7 +3485,7 @@ class Xt {
|
|
|
3397
3485
|
id: t,
|
|
3398
3486
|
name: e.name,
|
|
3399
3487
|
password: await g(e.password),
|
|
3400
|
-
mobileNumber: e.mobileNumber ?
|
|
3488
|
+
mobileNumber: e.mobileNumber ? W(e.mobileNumber, await this.locale) : void 0
|
|
3401
3489
|
},
|
|
3402
3490
|
reCAPTCHAResponse: e.reCAPTCHAResponse
|
|
3403
3491
|
});
|
|
@@ -3421,7 +3509,7 @@ class Xt {
|
|
|
3421
3509
|
password: t.password ? await g(t.password) : void 0,
|
|
3422
3510
|
transactionPassword: t.transactionPassword ? await g(t.transactionPassword) : void 0,
|
|
3423
3511
|
...t.mobileNumber && {
|
|
3424
|
-
mobileNumber:
|
|
3512
|
+
mobileNumber: W(t.mobileNumber, await this.locale)
|
|
3425
3513
|
},
|
|
3426
3514
|
secretAnswer: t.secretAnswer ? await g(t.secretAnswer) : void 0
|
|
3427
3515
|
}
|
|
@@ -3443,7 +3531,7 @@ class Xt {
|
|
|
3443
3531
|
} : e;
|
|
3444
3532
|
}
|
|
3445
3533
|
async submitVerificationDetails(e) {
|
|
3446
|
-
const t = e.id ??
|
|
3534
|
+
const t = e.id ?? O.generate($.Verification).toString(), r = await this.accountService.createMemberVerification({
|
|
3447
3535
|
input: {
|
|
3448
3536
|
id: t,
|
|
3449
3537
|
...e
|
|
@@ -3464,7 +3552,7 @@ class Xt {
|
|
|
3464
3552
|
async resetPassword(e) {
|
|
3465
3553
|
return await this.accountService.resetPassword({
|
|
3466
3554
|
input: {
|
|
3467
|
-
mobileNumber:
|
|
3555
|
+
mobileNumber: W(e.mobileNumber, await this.locale),
|
|
3468
3556
|
newPassword: await g(e.newPassword)
|
|
3469
3557
|
},
|
|
3470
3558
|
verificationCode: e.verificationCode
|
|
@@ -3491,7 +3579,7 @@ class Xt {
|
|
|
3491
3579
|
return await this.accountService.sendVerificationCode({
|
|
3492
3580
|
input: {
|
|
3493
3581
|
channel: "SMS",
|
|
3494
|
-
recipient:
|
|
3582
|
+
recipient: W(e, await this.locale)
|
|
3495
3583
|
}
|
|
3496
3584
|
});
|
|
3497
3585
|
}
|
|
@@ -3499,7 +3587,7 @@ class Xt {
|
|
|
3499
3587
|
if (e.type === "SMS")
|
|
3500
3588
|
return this.authService.sendVerificationCode({
|
|
3501
3589
|
channel: "SMS",
|
|
3502
|
-
recipient:
|
|
3590
|
+
recipient: W(e.mobileNumber, await this.locale),
|
|
3503
3591
|
...e.strict && {
|
|
3504
3592
|
verificationType: "MEMBER"
|
|
3505
3593
|
}
|
|
@@ -3522,6 +3610,7 @@ class Xt {
|
|
|
3522
3610
|
const t = await this.accountService.announcements({
|
|
3523
3611
|
...e,
|
|
3524
3612
|
filter: {
|
|
3613
|
+
...e == null ? void 0 : e.filter,
|
|
3525
3614
|
visibility: {
|
|
3526
3615
|
in: ["MEMBER", "GLOBAL"]
|
|
3527
3616
|
}
|
|
@@ -3546,7 +3635,7 @@ class Xt {
|
|
|
3546
3635
|
/*+----------------------------------------+*/
|
|
3547
3636
|
/**/
|
|
3548
3637
|
async createWithdrawal(e) {
|
|
3549
|
-
const t = e.id ??
|
|
3638
|
+
const t = e.id ?? O.generate($.Withdrawal).toString();
|
|
3550
3639
|
if (e.type === "BANK") {
|
|
3551
3640
|
const r = await this.walletService.createBankWithdrawal({
|
|
3552
3641
|
input: {
|
|
@@ -3563,7 +3652,7 @@ class Xt {
|
|
|
3563
3652
|
id: t,
|
|
3564
3653
|
amount: e.amount.toString(),
|
|
3565
3654
|
transactionPassword: await g(e.transactionPassword),
|
|
3566
|
-
recipientMobileNumber:
|
|
3655
|
+
recipientMobileNumber: W(e.recipientMobileNumber, await this.locale)
|
|
3567
3656
|
}
|
|
3568
3657
|
});
|
|
3569
3658
|
if (!r.ok) return r;
|
|
@@ -3574,7 +3663,7 @@ class Xt {
|
|
|
3574
3663
|
id: t,
|
|
3575
3664
|
amount: e.amount.toString(),
|
|
3576
3665
|
transactionPassword: await g(e.transactionPassword),
|
|
3577
|
-
recipientMobileNumber:
|
|
3666
|
+
recipientMobileNumber: W(e.recipientMobileNumber, await this.locale)
|
|
3578
3667
|
}
|
|
3579
3668
|
});
|
|
3580
3669
|
if (!r.ok) return r;
|
|
@@ -3615,7 +3704,7 @@ class Xt {
|
|
|
3615
3704
|
/*+----------------------------------------+*/
|
|
3616
3705
|
/**/
|
|
3617
3706
|
async createDeposit(e) {
|
|
3618
|
-
const t = e.id ??
|
|
3707
|
+
const t = e.id ?? O.generate($.Deposit).toString();
|
|
3619
3708
|
if (e.type === "MAYA") {
|
|
3620
3709
|
const r = await this.walletService.createMayaDeposit({
|
|
3621
3710
|
input: {
|
|
@@ -3646,6 +3735,26 @@ class Xt {
|
|
|
3646
3735
|
});
|
|
3647
3736
|
if (!r.ok) return r;
|
|
3648
3737
|
}
|
|
3738
|
+
if (e.type === "AIO_ONLINE_BANK") {
|
|
3739
|
+
const r = await this.walletService.createAIOOnlineBankDeposit({
|
|
3740
|
+
input: {
|
|
3741
|
+
id: t,
|
|
3742
|
+
amount: e.amount.toString(),
|
|
3743
|
+
promo: e.promo
|
|
3744
|
+
}
|
|
3745
|
+
});
|
|
3746
|
+
if (!r.ok) return r;
|
|
3747
|
+
}
|
|
3748
|
+
if (e.type === "AIO_QRPH") {
|
|
3749
|
+
const r = await this.walletService.createAIOQRPHDeposit({
|
|
3750
|
+
input: {
|
|
3751
|
+
id: t,
|
|
3752
|
+
amount: e.amount.toString(),
|
|
3753
|
+
promo: e.promo
|
|
3754
|
+
}
|
|
3755
|
+
});
|
|
3756
|
+
if (!r.ok) return r;
|
|
3757
|
+
}
|
|
3649
3758
|
return { ok: !0, data: { id: t } };
|
|
3650
3759
|
}
|
|
3651
3760
|
async deposit(e) {
|
|
@@ -3829,9 +3938,9 @@ class Xt {
|
|
|
3829
3938
|
} : r;
|
|
3830
3939
|
}
|
|
3831
3940
|
async createGameSession(e) {
|
|
3832
|
-
const t = e.id ??
|
|
3941
|
+
const t = e.id ?? O.generate($.GameSession).toString();
|
|
3833
3942
|
if (e.game.startsWith("SPORTS:")) {
|
|
3834
|
-
const f = await
|
|
3943
|
+
const f = await O.generateFromKey($.Game, e.game).then(
|
|
3835
3944
|
(l) => l.toString()
|
|
3836
3945
|
), h = await this.gameService.createGameSession({
|
|
3837
3946
|
input: {
|
|
@@ -3879,7 +3988,7 @@ class Xt {
|
|
|
3879
3988
|
} : t;
|
|
3880
3989
|
}
|
|
3881
3990
|
async uploadImageFile(e) {
|
|
3882
|
-
const t = e.id ??
|
|
3991
|
+
const t = e.id ?? O.generate($.File).toString(), r = await this.fileService.uploadPrivateImageFile({
|
|
3883
3992
|
input: {
|
|
3884
3993
|
id: t,
|
|
3885
3994
|
file: e.file
|
|
@@ -4030,8 +4139,8 @@ class Xt {
|
|
|
4030
4139
|
}
|
|
4031
4140
|
}
|
|
4032
4141
|
export {
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4142
|
+
ar as ObjectId,
|
|
4143
|
+
$ as ObjectType,
|
|
4144
|
+
er as Sdk
|
|
4036
4145
|
};
|
|
4037
4146
|
//# sourceMappingURL=index.mjs.map
|