@opexa/portal-components 0.0.284 → 0.0.286

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.
Files changed (67) hide show
  1. package/dist/client/hooks/useCreateVentajaWithdrawalMutation.d.ts +7 -2
  2. package/dist/client/hooks/useCreateVentajaWithdrawalMutation.js +3 -2
  3. package/dist/components/Banner/Banner.d.ts +12 -3
  4. package/dist/components/Banner/Banner.js +48 -7
  5. package/dist/components/Bonuses/Bonuses.client.js +2 -1
  6. package/dist/components/DepositWithdrawal/Withdrawal/VentajaWithdrawal/VentajaWithdrawal.js +5 -3
  7. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  8. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  9. package/dist/components/Search/Search.lazy.js +1 -1
  10. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  11. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  12. package/dist/next.config.js +0 -1
  13. package/dist/services/queries.js +2574 -2574
  14. package/dist/services/wallet.d.ts +3 -2
  15. package/dist/services/wallet.js +2 -2
  16. package/dist/styles/theme.css +697 -697
  17. package/package.json +163 -163
  18. package/dist/components/Disclaimer/ResponsibleGaming.d.ts +0 -10
  19. package/dist/components/Disclaimer/ResponsibleGaming.js +0 -13
  20. package/dist/components/Disclaimer/TermsOfUse.d.ts +0 -11
  21. package/dist/components/Disclaimer/TermsOfUse.js +0 -13
  22. package/dist/components/KYC/CaptureIdDocument.d.ts +0 -1
  23. package/dist/components/KYC/CaptureIdDocument.js +0 -219
  24. package/dist/components/KYC/CaptureSelfie.d.ts +0 -1
  25. package/dist/components/KYC/CaptureSelfie.js +0 -285
  26. package/dist/components/KYC/DisplayImage.d.ts +0 -5
  27. package/dist/components/KYC/DisplayImage.js +0 -8
  28. package/dist/components/KYC/FileUpload.d.ts +0 -10
  29. package/dist/components/KYC/FileUpload.js +0 -72
  30. package/dist/components/KYC/NoCameraError.d.ts +0 -7
  31. package/dist/components/KYC/NoCameraError.js +0 -6
  32. package/dist/components/KYC/PersonOverlayDesktop.d.ts +0 -7
  33. package/dist/components/KYC/PersonOverlayDesktop.js +0 -9
  34. package/dist/components/KYC/utils.d.ts +0 -9
  35. package/dist/components/KYC/utils.js +0 -79
  36. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +0 -17
  37. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +0 -18
  38. package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +0 -6
  39. package/dist/components/SignUp/SignUpDefault/SignUpContext.js +0 -2
  40. package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +0 -1
  41. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +0 -310
  42. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +0 -1
  43. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +0 -198
  44. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +0 -1
  45. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +0 -251
  46. package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +0 -10
  47. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +0 -42
  48. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +0 -7
  49. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +0 -9
  50. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +0 -1
  51. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +0 -464
  52. package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +0 -11
  53. package/dist/components/SignUp/SignUpKYC/useImageUploader.js +0 -20
  54. package/dist/components/SignUp/SignUpKYC/utils.d.ts +0 -9
  55. package/dist/components/SignUp/SignUpKYC/utils.js +0 -79
  56. package/dist/handlers/postTransformIdFrontImage.d.ts +0 -3
  57. package/dist/handlers/postTransformIdFrontImage.js +0 -82
  58. package/dist/handlers/postTransformSelfieImage.d.ts +0 -3
  59. package/dist/handlers/postTransformSelfieImage.js +0 -82
  60. package/dist/utils/gamesAvailable3pmTo3am.d.ts +0 -1
  61. package/dist/utils/gamesAvailable3pmTo3am.js +0 -1
  62. package/dist/utils/getGameName.d.ts +0 -1
  63. package/dist/utils/getGameName.js +0 -6
  64. package/dist/utils/getPercentage.d.ts +0 -1
  65. package/dist/utils/getPercentage.js +0 -6
  66. package/dist/utils/isBetween3amAnd3pm.d.ts +0 -1
  67. package/dist/utils/isBetween3amAnd3pm.js +0 -5
@@ -1,2579 +1,2579 @@
1
- export const FILE_FRAGMENT = /* GraphQL */ `
2
- fragment FileFragment on File {
3
- id
4
- url
5
- status
6
- }
7
- `;
8
- export const FILE = /* GraphQL */ `
9
- ${FILE_FRAGMENT}
10
-
11
- query File($id: ObjectId!) {
12
- node(id: $id) {
13
- ... on File {
14
- ...FileFragment
15
- }
16
- }
17
- }
18
- `;
19
- export const UPLOAD_FILE = /* GraphQL */ `
20
- mutation UploadFile($input: UploadFileInput!) {
21
- uploadFile(input: $input) {
22
- ... on FileFormatNotSupportedError {
23
- name: __typename
24
- message
25
- }
26
- ... on FileNameTooLongError {
27
- name: __typename
28
- message
29
- }
30
- ... on FileSizeTooBigError {
31
- name: __typename
32
- message
33
- }
34
- }
35
- }
36
- `;
37
- export const UPLOAD_IMAGE_FILE = /* GraphQL */ `
38
- mutation UploadImageFile($input: UploadFileInput!) {
39
- uploadImageFile(input: $input) {
40
- ... on FileFormatNotSupportedError {
41
- name: __typename
42
- message
43
- }
44
- ... on FileNameTooLongError {
45
- name: __typename
46
- message
47
- }
48
- ... on FileSizeTooBigError {
49
- name: __typename
50
- message
51
- }
52
- }
53
- }
54
- `;
55
- export const UPLOAD_PRIVATE_IMAGE_FILE = /* GraphQL */ `
56
- mutation UploadPrivateImageFile($input: UploadFileInput!) {
57
- uploadPrivateImageFile(input: $input) {
58
- ... on FileFormatNotSupportedError {
59
- name: __typename
60
- message
61
- }
62
- ... on FileNameTooLongError {
63
- name: __typename
64
- message
65
- }
66
- ... on FileSizeTooBigError {
67
- name: __typename
68
- message
69
- }
70
- }
71
- }
72
- `;
73
- export const WALLET = /* GraphQL */ `
74
- query Wallet {
75
- wallet {
76
- balance
77
- }
78
- }
79
- `;
80
- export const POINTS_WALLET = /* GraphQL */ `
81
- query PointsWallet {
82
- pointsWallet {
83
- id
84
- points
85
- account
86
- dateTimeCreated
87
- }
88
- }
89
- `;
90
- export const REDEEM_POINTS_TO_CASH = /* GraphQL */ `
91
- mutation RedeemPointsToCash($input: RedeemPointsToCashInput!) {
92
- redeemPointsToCash(input: $input) {
93
- ... on InsufficientPointsError {
94
- name: __typename
95
- message
96
- }
97
- ... on PointsNotDivisibleBy100Error {
98
- name: __typename
99
- message
100
- }
101
- }
102
- }
103
- `;
104
- export const POINTS_WALLET_TRANSACTIONS = /* GraphQL */ `
105
- query PointsWalletTransactions(
106
- $first: Int
107
- $after: Cursor
108
- $filter: MemberPointsWalletTransactionFilterInput
109
- ) {
110
- member {
111
- pointsWalletTransactions(first: $first, after: $after, filter: $filter) {
112
- edges {
113
- cursor
114
- node {
115
- ... on PointsWalletTransaction {
116
- id
117
- type
118
- amount
119
- balance
120
- dateTimeCreated
121
- }
122
- }
123
- }
124
- totalCount
125
- pageInfo {
126
- hasNextPage
127
- endCursor
128
- }
129
- }
130
- }
131
- }
132
- `;
133
- export const GAME_SESSION = /* GraphQL */ `
134
- query GameSession($id: ObjectId!) {
135
- node(id: $id) {
136
- ... on GameSession {
137
- id
138
- game
139
- status
140
- launchUrl
141
- launchOptions
142
- }
143
- }
144
- }
145
- `;
146
- export const GAME_SESSION__LEGACY = /* GraphQL */ `
147
- query GameSession($id: ObjectId!) {
148
- node(id: $id) {
149
- ... on GameSession {
150
- id
151
- game {
152
- id
153
- }
154
- status
155
- launchUrl
156
- dateTimeCreated
157
- dateTimeLastUpdated
158
- }
159
- }
160
- }
161
- `;
162
- export const CREATE_GAME_SESSION = /* GraphQL */ `
163
- mutation CreateGameSession($input: CreateGameSessionInput!) {
164
- createGameSession(input: $input) {
165
- ... on GameDoesNotExistError {
166
- name: __typename
167
- message
168
- }
169
- }
170
- }
171
- `;
172
- export const END_GAME_SESSION = /* GraphQL */ `
173
- mutation EndGameSession($input: EndGameSessionInput!) {
174
- endGameSession(input: $input)
175
- }
176
- `;
177
- export const END_GAME_SESSION__LEGACY = /* GraphQL */ `
178
- mutation EndGameSession($input: EndGameSessionInput!) {
179
- endGameSession(input: $input) {
180
- ... on GameSessionDoesNotExistError {
181
- name: __typename
182
- message
183
- }
184
- ... on GameSessionAlreadyClosedError {
185
- name: __typename
186
- message
187
- }
188
- ... on GameProviderError {
189
- name: __typename
190
- message
191
- }
192
- }
193
- }
194
- `;
195
- export const RECOMMENDED_GAMES = /* GraphQL */ `
196
- query RecommendedGames {
197
- recommendedGames {
198
- id
199
- name
200
- type
201
- provider
202
- }
203
- }
204
- `;
205
- export const ANNOUNCEMENTS = /* GraphQL */ `
206
- query Announcements(
207
- $first: Int
208
- $after: Cursor
209
- $filter: AnnouncementFilterInput
210
- ) {
211
- announcements(first: $first, after: $after, filter: $filter) {
212
- edges {
213
- cursor
214
- node {
215
- ... on Announcement {
216
- id
217
- type
218
- title
219
- status
220
- message
221
- activationStartDateTime
222
- activationEndDateTime
223
- dateTimeCreated
224
- dateTimeLastUpdated
225
- }
226
- }
227
- }
228
- totalCount
229
- pageInfo {
230
- hasNextPage
231
- endCursor
232
- }
233
- }
234
- }
235
- `;
236
- export const WITHDRAWAL_RECORDS = /* GraphQL */ `
237
- query WithdrawalRecords(
238
- $first: Int
239
- $after: Cursor
240
- $filter: WithdrawalRecordFilterInput
241
- ) {
242
- member {
243
- withdrawalRecords(first: $first, after: $after, filter: $filter) {
244
- edges {
245
- cursor
246
- node {
247
- ... on BankWithdrawalRecord {
248
- id
249
- type
250
- bank
251
- fee
252
- netAmount
253
- reference
254
- amount
255
- status
256
- error
257
- withdrawalNumber
258
- dateTimeCreated
259
- dateTimeLastUpdated
260
- }
261
- ... on GCashWithdrawalRecord {
262
- id
263
- type
264
- fee
265
- netAmount
266
- reference
267
- amount
268
- status
269
- error
270
- withdrawalNumber
271
- recipientMobileNumber
272
- dateTimeCreated
273
- dateTimeLastUpdated
274
- }
275
- ... on ManualWithdrawalRecord {
276
- id
277
- type
278
- fee
279
- netAmount
280
- reference
281
- amount
282
- status
283
- error
284
- withdrawalNumber
285
- dateTimeCreated
286
- dateTimeLastUpdated
287
- }
288
- ... on MayaAppWithdrawalRecord {
289
- id
290
- type
291
- fee
292
- netAmount
293
- reference
294
- amount
295
- status
296
- error
297
- withdrawalNumber
298
- dateTimeCreated
299
- dateTimeLastUpdated
300
- }
301
- ... on InstapayWithdrawalRecord {
302
- id
303
- type
304
- fee
305
- netAmount
306
- bankName
307
- reference
308
- amount
309
- status
310
- error
311
- withdrawalNumber
312
- dateTimeCreated
313
- dateTimeLastUpdated
314
- }
315
- ... on ManualUPIWithdrawalRecord {
316
- id
317
- type
318
- fee
319
- netAmount
320
- reference
321
- amount
322
- status
323
- error
324
- withdrawalNumber
325
- dateTimeCreated
326
- dateTimeLastUpdated
327
- }
328
- ... on ManualBankWithdrawalRecord {
329
- id
330
- type
331
- fee
332
- netAmount
333
- reference
334
- amount
335
- status
336
- error
337
- withdrawalNumber
338
- dateTimeCreated
339
- dateTimeLastUpdated
340
- }
341
- }
342
- }
343
- totalCount
344
- pageInfo {
345
- hasNextPage
346
- endCursor
347
- }
348
- }
349
- }
350
- }
351
- `;
352
- export const CREATE_GCASH_WITHDRAWAL = /* GraphQL */ `
353
- mutation CreateGCashWithdrawal($input: CreateGCashWithdrawalInput!) {
354
- createGCashWithdrawal(input: $input) {
355
- ... on AccountNotVerifiedError {
356
- name: __typename
357
- message
358
- }
359
- ... on InvalidTransactionPasswordError {
360
- name: __typename
361
- message
362
- }
363
- ... on InvalidWithdrawalAmountError {
364
- name: __typename
365
- message
366
- }
367
- ... on MobileNumberNotVerifiedError {
368
- name: __typename
369
- message
370
- }
371
- ... on NotEnoughBalanceError {
372
- name: __typename
373
- message
374
- }
375
- ... on WithdrawalDailyLimitExceededError {
376
- name: __typename
377
- message
378
- }
379
- ... on ReCAPTCHAVerificationFailedError {
380
- name: __typename
381
- message
382
- }
383
- ... on WalletDoesNotExistError {
384
- name: __typename
385
- message
386
- }
387
- ... on TransactionPasswordNotSetError {
388
- name: __typename
389
- message
390
- }
391
- }
392
- }
393
- `;
394
- export const CREATE_MAYA_WITHDRAWAL = /* GraphQL */ `
395
- mutation CreateMayaWithdrawal($input: CreateMayaWithdrawalInput!) {
396
- createMayaWithdrawal(input: $input) {
397
- ... on AccountNotVerifiedError {
398
- name: __typename
399
- message
400
- }
401
- ... on InvalidTransactionPasswordError {
402
- name: __typename
403
- message
404
- }
405
- ... on InvalidWithdrawalAmountError {
406
- name: __typename
407
- message
408
- }
409
- ... on MobileNumberNotVerifiedError {
410
- name: __typename
411
- message
412
- }
413
- ... on NotEnoughBalanceError {
414
- name: __typename
415
- message
416
- }
417
- ... on WithdrawalDailyLimitExceededError {
418
- name: __typename
419
- message
420
- }
421
- }
422
- }
423
- `;
424
- export const CREATE_MAYA_APP_WITHDRAWAL = /* GraphQL */ `
425
- mutation CreateMayaAppWithdrawal($input: CreateMayaAppWithdrawalInput!) {
426
- createMayaAppWithdrawal(input: $input) {
427
- ... on AccountNotVerifiedError {
428
- name: __typename
429
- message
430
- }
431
- ... on InvalidTransactionPasswordError {
432
- name: __typename
433
- message
434
- }
435
- ... on InvalidWithdrawalAmountError {
436
- name: __typename
437
- message
438
- }
439
- ... on NotEnoughBalanceError {
440
- name: __typename
441
- message
442
- }
443
- ... on WithdrawalDailyLimitExceededError {
444
- name: __typename
445
- message
446
- }
447
- ... on WalletDoesNotExistError {
448
- name: __typename
449
- message
450
- }
451
- ... on TransactionPasswordNotSetError {
452
- name: __typename
453
- message
454
- }
455
- }
456
- }
457
- `;
458
- export const CREATE_BANK_WITHDRAWAL = /* GraphQL */ `
459
- mutation CreateBankWithdrawal($input: CreateBankWithdrawalInput!) {
460
- createBankWithdrawal(input: $input) {
461
- ... on MobileNumberNotVerifiedError {
462
- name: __typename
463
- message
464
- }
465
- }
466
- }
467
- `;
468
- export const CREATE_AIO_INSTAPAY_WITHDRAWAL = /* GraphQL */ `
469
- mutation CreateAIOInstapayWithdrawal(
470
- $input: CreateAIOInstapayWithdrawalInput!
471
- ) {
472
- createAIOInstapayWithdrawal(input: $input) {
473
- ... on AccountNotVerifiedError {
474
- name: __typename
475
- message
476
- }
477
- ... on InvalidWithdrawalAmountError {
478
- name: __typename
479
- message
480
- }
481
- ... on WithdrawalDailyLimitExceededError {
482
- name: __typename
483
- message
484
- }
485
- ... on InvalidTransactionPasswordError {
486
- name: __typename
487
- message
488
- }
489
- ... on NotEnoughBalanceError {
490
- name: __typename
491
- message
492
- }
493
- ... on WalletDoesNotExistError {
494
- name: __typename
495
- message
496
- }
497
- ... on TransactionPasswordNotSetError {
498
- name: __typename
499
- message
500
- }
501
- }
502
- }
503
- `;
504
- export const CREATE_VENTAJA_WITHDRAWAL = /* GraphQL */ `
505
- mutation CreateVentajaDisbursementWithdrawal(
506
- $input: CreateVentajaDisbursementWithdrawalInput!
507
- $transactionPassword: String!
508
- ) {
509
- createVentajaDisbursementWithdrawal(
510
- input: $input
511
- transactionPassword: $transactionPassword
512
- ) {
513
- ... on AccountNotVerifiedError {
514
- name: __typename
515
- message
516
- }
517
- ... on InvalidWithdrawalAmountError {
518
- name: __typename
519
- message
520
- }
521
- ... on WithdrawalDailyLimitExceededError {
522
- name: __typename
523
- message
524
- }
525
- ... on NotEnoughBalanceError {
526
- name: __typename
527
- message
528
- }
529
- ... on WalletDoesNotExistError {
530
- name: __typename
531
- message
532
- }
533
- }
534
- }
535
- `;
536
- export const CREATE_PISO_PAY_WITHDRAWAL = /* GraphQL */ `
537
- mutation CreatePisopayWithdrawal(
538
- $input: CreatePisoPayRemittanceWithdrawalInput!
539
- $transactionPassword: String!
540
- ) {
541
- createPisoPayRemittanceWithdrawal(
542
- input: $input
543
- transactionPassword: $transactionPassword
544
- ) {
545
- ... on AccountNotVerifiedError {
546
- name: __typename
547
- message
548
- }
549
- ... on InvalidWithdrawalAmountError {
550
- name: __typename
551
- message
552
- }
553
- ... on WithdrawalDailyLimitExceededError {
554
- name: __typename
555
- message
556
- }
557
- ... on InvalidTransactionPasswordError {
558
- name: __typename
559
- message
560
- }
561
- ... on NotEnoughBalanceError {
562
- name: __typename
563
- message
564
- }
565
- ... on WalletDoesNotExistError {
566
- name: __typename
567
- message
568
- }
569
- ... on TransactionPasswordNotSetError {
570
- name: __typename
571
- message
572
- }
573
- }
574
- }
575
- `;
576
- export const CREATE_MANUAL_UPI_WITHDRAWAL = /* GraphQL */ `
577
- mutation CreateManualUPIWithdrawal($input: CreateManualUPIWithdrawalInput!) {
578
- createManualUPIWithdrawal(input: $input) {
579
- ... on AccountNotVerifiedError {
580
- name: __typename
581
- message
582
- }
583
- ... on InvalidWithdrawalAmountError {
584
- name: __typename
585
- message
586
- }
587
- ... on WithdrawalDailyLimitExceededError {
588
- name: __typename
589
- message
590
- }
591
- ... on NotEnoughBalanceError {
592
- name: __typename
593
- message
594
- }
595
- ... on WalletDoesNotExistError {
596
- name: __typename
597
- message
598
- }
599
- }
600
- }
601
- `;
602
- export const CREATE_MANUAL_BANK_WITHDRAWAL = /* GraphQL */ `
603
- mutation CreateManualBankWithdrawal(
604
- $input: CreateManualBankWithdrawalInput!
605
- ) {
606
- createManualBankWithdrawal(input: $input) {
607
- ... on AccountNotVerifiedError {
608
- name: __typename
609
- message
610
- }
611
- ... on InvalidWithdrawalAmountError {
612
- name: __typename
613
- message
614
- }
615
- ... on WithdrawalDailyLimitExceededError {
616
- name: __typename
617
- message
618
- }
619
- ... on NotEnoughBalanceError {
620
- name: __typename
621
- message
622
- }
623
- ... on WalletDoesNotExistError {
624
- name: __typename
625
- message
626
- }
627
- }
628
- }
629
- `;
630
- export const INSTAPAY_BANK_LIST = /* GraphQL */ `
631
- query InstapayBankList {
632
- instapayBankList {
633
- id
634
- code
635
- name
636
- }
637
- }
638
- `;
639
- export const REMAINING_DAILY_WITHDRAWALS_COUNT = /* GraphQL */ `
640
- query RemainingDailyWithdrawalsCount {
641
- remainingDailyWithdrawalsCount
642
- }
643
- `;
644
- export const DEPOSIT_RECORDS = /* GraphQL */ `
645
- query DepositRecords(
646
- $after: Cursor
647
- $first: Int
648
- $filter: DepositRecordFilterInput
649
- ) {
650
- member {
651
- depositRecords(after: $after, first: $first, filter: $filter) {
652
- edges {
653
- cursor
654
- node {
655
- ... on DepositRecord {
656
- id
657
- type
658
- amount
659
- netAmount
660
- fee
661
- status
662
- deposit
663
- reference
664
- depositNumber
665
- dateTimeCreated
666
- dateTimeLastUpdated
667
- }
668
- }
669
- }
670
- totalCount
671
- pageInfo {
672
- hasNextPage
673
- endCursor
674
- }
675
- }
676
- }
677
- }
678
- `;
679
- export const CREATE_GCASH_DEPOSIT = /* GraphQL */ `
680
- mutation CreateGCashDeposit($input: CreateGCashDepositInput!) {
681
- createGCashDeposit(input: $input) {
682
- ... on DepositPromoMaximumAmountExceededError {
683
- name: __typename
684
- message
685
- }
686
- ... on DepositPromoMinimumAmountNotMetError {
687
- name: __typename
688
- message
689
- }
690
- ... on MaximumDepositAmountExceededError {
691
- name: __typename
692
- message
693
- }
694
- ... on MinimumDepositAmountNotMetError {
695
- name: __typename
696
- message
697
- }
698
- ... on MinimumFirstDepositAmountNotMetError {
699
- name: __typename
700
- message
701
- }
702
- ... on PromoNotEnabledError {
703
- name: __typename
704
- message
705
- }
706
- ... on WalletDoesNotExistError {
707
- name: __typename
708
- message
709
- }
710
- ... on ReCAPTCHAVerificationFailedError {
711
- name: __typename
712
- message
713
- }
714
- }
715
- }
716
- `;
717
- export const CREATE_GCASH_DIRECT_WEBPAY_DEPOSIT = /* GraphQL */ `
718
- mutation CreateGCashDirectWebpayDeposit(
719
- $input: CreateGCashDirectWebpayDepositInput!
720
- ) {
721
- createGCashDirectWebpayDeposit(input: $input) {
722
- ... on DepositPromoMaximumAmountExceededError {
723
- name: __typename
724
- message
725
- }
726
- ... on DepositPromoMinimumAmountNotMetError {
727
- name: __typename
728
- message
729
- }
730
- ... on MaximumDepositAmountExceededError {
731
- name: __typename
732
- message
733
- }
734
- ... on MinimumDepositAmountNotMetError {
735
- name: __typename
736
- message
737
- }
738
- ... on MinimumFirstDepositAmountNotMetError {
739
- name: __typename
740
- message
741
- }
742
- ... on PromoNotEnabledError {
743
- name: __typename
744
- message
745
- }
746
- ... on WalletDoesNotExistError {
747
- name: __typename
748
- message
749
- }
750
- }
751
- }
752
- `;
753
- export const CREATE_LIBANGAN_DEPOSIT = /* GraphQL */ `
754
- mutation CreateLibanganPayInDeposit(
755
- $input: CreateLibanganPayInDepositInput!
756
- ) {
757
- createLibanganPayInDeposit(input: $input) {
758
- ... on DepositPromoMaximumAmountExceededError {
759
- name: __typename
760
- message
761
- }
762
- ... on DepositPromoMinimumAmountNotMetError {
763
- name: __typename
764
- message
765
- }
766
- ... on MaximumDepositAmountExceededError {
767
- name: __typename
768
- message
769
- }
770
- ... on MinimumDepositAmountNotMetError {
771
- name: __typename
772
- message
773
- }
774
- ... on MinimumFirstDepositAmountNotMetError {
775
- name: __typename
776
- message
777
- }
778
- ... on PromoNotEnabledError {
779
- name: __typename
780
- message
781
- }
782
- ... on WalletDoesNotExistError {
783
- name: __typename
784
- message
785
- }
786
- }
787
- }
788
- `;
789
- export const CREATE_PISO_PAY_DEPOSIT = /* GraphQL */ `
790
- mutation CreatePisoPayDeposit($input: CreatePisoPayCheckoutDepositInput!) {
791
- createPisoPayCheckoutDeposit(input: $input) {
792
- ... on WalletDoesNotExistError {
793
- name: __typename
794
- message
795
- }
796
- ... on DepositPromoMinimumAmountNotMetError {
797
- name: __typename
798
- message
799
- }
800
- ... on DepositPromoMaximumAmountExceededError {
801
- name: __typename
802
- message
803
- }
804
- ... on MinimumFirstDepositAmountNotMetError {
805
- name: __typename
806
- message
807
- }
808
- ... on MinimumDepositAmountNotMetError {
809
- name: __typename
810
- message
811
- }
812
- ... on MaximumDepositAmountExceededError {
813
- name: __typename
814
- message
815
- }
816
- ... on PromoNotEnabledError {
817
- name: __typename
818
- message
819
- }
820
- }
821
- }
822
- `;
823
- export const CREATE_MAYA_DEPOSIT = /* GraphQL */ `
824
- mutation CreateMayaDeposit($input: CreateMayaDepositInput!) {
825
- createMayaDeposit(input: $input) {
826
- ... on DepositPromoMaximumAmountExceededError {
827
- name: __typename
828
- message
829
- }
830
- ... on DepositPromoMinimumAmountNotMetError {
831
- name: __typename
832
- message
833
- }
834
- ... on MaximumDepositAmountExceededError {
835
- name: __typename
836
- message
837
- }
838
- ... on MinimumDepositAmountNotMetError {
839
- name: __typename
840
- message
841
- }
842
- ... on MinimumFirstDepositAmountNotMetError {
843
- name: __typename
844
- message
845
- }
846
- ... on PromoNotEnabledError {
847
- name: __typename
848
- message
849
- }
850
- ... on WalletDoesNotExistError {
851
- name: __typename
852
- message
853
- }
854
- }
855
- }
856
- `;
857
- export const CREATE_MAYA_APP_DEPOSIT = /* GraphQL */ `
858
- mutation CreateMayaAppDeposit($input: CreateMayaAppDepositInput!) {
859
- createMayaAppDeposit(input: $input) {
860
- ... on DepositPromoMaximumAmountExceededError {
861
- name: __typename
862
- message
863
- }
864
- ... on DepositPromoMinimumAmountNotMetError {
865
- name: __typename
866
- message
867
- }
868
- ... on MaximumDepositAmountExceededError {
869
- name: __typename
870
- message
871
- }
872
- ... on MinimumDepositAmountNotMetError {
873
- name: __typename
874
- message
875
- }
876
- ... on MinimumFirstDepositAmountNotMetError {
877
- name: __typename
878
- message
879
- }
880
- ... on PromoNotEnabledError {
881
- name: __typename
882
- message
883
- }
884
- ... on WalletDoesNotExistError {
885
- name: __typename
886
- message
887
- }
888
- }
889
- }
890
- `;
891
- export const CREATE_AIO_QRPH_DEPOSIT = /* GraphQL */ `
892
- mutation CreateAIOQRPHDeposit($input: CreateAIOQRPHDepositInput!) {
893
- createAIOQRPHDeposit(input: $input) {
894
- ... on DepositPromoMaximumAmountExceededError {
895
- name: __typename
896
- message
897
- }
898
- ... on DepositPromoMinimumAmountNotMetError {
899
- name: __typename
900
- message
901
- }
902
- ... on MaximumDepositAmountExceededError {
903
- name: __typename
904
- message
905
- }
906
- ... on MinimumDepositAmountNotMetError {
907
- name: __typename
908
- message
909
- }
910
- ... on MinimumFirstDepositAmountNotMetError {
911
- name: __typename
912
- message
913
- }
914
- ... on PromoNotEnabledError {
915
- name: __typename
916
- message
917
- }
918
- ... on WalletDoesNotExistError {
919
- name: __typename
920
- message
921
- }
922
- ... on ReCAPTCHAVerificationFailedError {
923
- name: __typename
924
- message
925
- }
926
- }
927
- }
928
- `;
929
- export const CREATE_AIO_ONLINE_BANK_DEPOSIT = /* GraphQL */ `
930
- mutation CreateAIOOnlineBankDeposit(
931
- $input: CreateAIOOnlineBankDepositInput!
932
- ) {
933
- createAIOOnlineBankDeposit(input: $input) {
934
- ... on DepositPromoMaximumAmountExceededError {
935
- name: __typename
936
- message
937
- }
938
- ... on DepositPromoMinimumAmountNotMetError {
939
- name: __typename
940
- message
941
- }
942
- ... on MaximumDepositAmountExceededError {
943
- name: __typename
944
- message
945
- }
946
- ... on MinimumDepositAmountNotMetError {
947
- name: __typename
948
- message
949
- }
950
- ... on MinimumFirstDepositAmountNotMetError {
951
- name: __typename
952
- message
953
- }
954
- ... on PromoNotEnabledError {
955
- name: __typename
956
- message
957
- }
958
- ... on WalletDoesNotExistError {
959
- name: __typename
960
- message
961
- }
962
- }
963
- }
964
- `;
965
- export const CREATE_MANUAL_BANK_DEPOSIT = /* GraphQL */ `
966
- mutation CreateManualBankDeposit($input: CreateManualBankDepositInput!) {
967
- createManualBankDeposit(input: $input) {
968
- ... on WalletDoesNotExistError {
969
- name: __typename
970
- message
971
- }
972
- ... on MinimumFirstDepositAmountNotMetError {
973
- name: __typename
974
- message
975
- }
976
- ... on MinimumDepositAmountNotMetError {
977
- name: __typename
978
- message
979
- }
980
- ... on PromoNotEnabledError {
981
- name: __typename
982
- message
983
- }
984
- ... on DepositPromoMinimumAmountNotMetError {
985
- name: __typename
986
- message
987
- }
988
- ... on DepositPromoMaximumAmountExceededError {
989
- name: __typename
990
- message
991
- }
992
- ... on MaximumDepositAmountExceededError {
993
- name: __typename
994
- message
995
- }
996
- ... on FileDoesNotExistError {
997
- name: __typename
998
- message
999
- }
1000
- ... on FileNotReadyError {
1001
- name: __typename
1002
- message
1003
- }
1004
- }
1005
- }
1006
- `;
1007
- export const CREATE_MANUAL_UPI_DEPOSIT = /* GraphQL */ `
1008
- mutation CreateManualUPIDeposit($input: CreateManualUPIDepositInput!) {
1009
- createManualUPIDeposit(input: $input) {
1010
- ... on DepositPromoMaximumAmountExceededError {
1011
- name: __typename
1012
- message
1013
- }
1014
- ... on DepositPromoMinimumAmountNotMetError {
1015
- name: __typename
1016
- message
1017
- }
1018
- ... on MaximumDepositAmountExceededError {
1019
- name: __typename
1020
- message
1021
- }
1022
- ... on MinimumDepositAmountNotMetError {
1023
- name: __typename
1024
- message
1025
- }
1026
- ... on MinimumFirstDepositAmountNotMetError {
1027
- name: __typename
1028
- message
1029
- }
1030
- ... on PromoNotEnabledError {
1031
- name: __typename
1032
- message
1033
- }
1034
- ... on WalletDoesNotExistError {
1035
- name: __typename
1036
- message
1037
- }
1038
- ... on UPIReferenceNotAvailableError {
1039
- name: __typename
1040
- message
1041
- }
1042
- }
1043
- }
1044
- `;
1045
- export const DEPOSIT = /* GraphQL */ `
1046
- query Deposit($id: ObjectId!) {
1047
- node(id: $id) {
1048
- ... on GCashDeposit {
1049
- id
1050
- type
1051
- status
1052
- checkoutUrl
1053
- error
1054
- }
1055
- ... on MayaDeposit {
1056
- id
1057
- type
1058
- status
1059
- checkoutUrl
1060
- }
1061
- ... on MayaAppDeposit {
1062
- id
1063
- type
1064
- status
1065
- error
1066
- }
1067
- ... on BankDeposit {
1068
- id
1069
- type
1070
- status
1071
- error
1072
- }
1073
- ... on ManualDeposit {
1074
- id
1075
- type
1076
- status
1077
- error
1078
- }
1079
- ... on QRPHDeposit {
1080
- id
1081
- type
1082
- status
1083
- qrCode
1084
- error
1085
- }
1086
- ... on OnlineBankDeposit {
1087
- id
1088
- type
1089
- status
1090
- vca
1091
- error
1092
- }
1093
- ... on GCashDirectWebpayDeposit {
1094
- id
1095
- type
1096
- status
1097
- checkoutUrl
1098
- error
1099
- }
1100
- ... on LibanganPayInDeposit {
1101
- id
1102
- type
1103
- status
1104
- checkoutUrl
1105
- error
1106
- }
1107
- ... on PisoPayCheckoutDeposit {
1108
- id
1109
- type
1110
- status
1111
- checkoutUrl
1112
- error
1113
- }
1114
- }
1115
- }
1116
- `;
1117
- export const DEPOSITS_COUNT = /* GraphQL */ `
1118
- query DepositsCount {
1119
- member {
1120
- depositsCount
1121
- }
1122
- }
1123
- `;
1124
- export const TOUCH_GCASH_DEPOSIT = /* GraphQL */ `
1125
- mutation TouchGCashDeposit($input: TouchGCashDepositInput!) {
1126
- touchGCashDeposit(input: $input)
1127
- }
1128
- `;
1129
- export const TOUCH_QRPH_DEPOSIT = /* GraphQL */ `
1130
- mutation TouchQRPHDeposit($input: TouchQRPHDepositInput!) {
1131
- touchQRPHDeposit(input: $input)
1132
- }
1133
- `;
1134
- export const BET_RECORDS = /* GraphQL */ `
1135
- query BetRecords($first: Int, $after: Cursor, $filter: BetRecordFilterInput) {
1136
- member {
1137
- betRecords(first: $first, after: $after, filter: $filter) {
1138
- totalCount
1139
- edges {
1140
- cursor
1141
- node {
1142
- ... on BetRecord {
1143
- id
1144
- serialCode
1145
- game {
1146
- id
1147
- name
1148
- type
1149
- provider
1150
- }
1151
- bet
1152
- payout
1153
- winloss
1154
- jackpotPayout
1155
- jackpotContribution
1156
- status
1157
- dateTimeCreated
1158
- dateTimeSettled
1159
- dateTimeLastUpdated
1160
- metadata
1161
- vendorRoundId
1162
- betContent
1163
- contestName
1164
- externalCategory
1165
- }
1166
- }
1167
- }
1168
- pageInfo {
1169
- hasNextPage
1170
- endCursor
1171
- }
1172
- }
1173
- }
1174
- }
1175
- `;
1176
- export const TRANSACTION_RECORDS = /* GraphQL */ `
1177
- query TransactionRecords(
1178
- $first: Int
1179
- $after: Cursor
1180
- $filter: TransactionRecordFilter
1181
- ) {
1182
- member {
1183
- transactionRecords(first: $first, after: $after, filter: $filter) {
1184
- edges {
1185
- cursor
1186
- node {
1187
- ... on TransactionRecord {
1188
- id
1189
- type
1190
- amount
1191
- content
1192
- currentBalance
1193
- currentBonusBalance
1194
- referenceNumber
1195
- dateTimeCreated
1196
- }
1197
- }
1198
- }
1199
- totalCount
1200
- pageInfo {
1201
- hasNextPage
1202
- endCursor
1203
- }
1204
- }
1205
- }
1206
- }
1207
- `;
1208
- export const PROMO_FRAGMENT = /* GraphQL */ `
1209
- ${FILE_FRAGMENT}
1210
-
1211
- fragment PromoFragment on Promo {
1212
- id
1213
- type
1214
- name
1215
- banner {
1216
- ...FileFragment
1217
- }
1218
- status
1219
- description
1220
- maximumBonusAmount
1221
- minimumBonusAmount
1222
- maximumDepositAmount
1223
- minimumDepositAmount
1224
- activationStartDateTime
1225
- turnoverRequirementContributionPercentagePerGameProvider
1226
- activationEndDateTime
1227
- dateTimeCreated
1228
- dateTimeLastUpdated
1229
- }
1230
- `;
1231
- export const PROMOS = /* GraphQL */ `
1232
- ${PROMO_FRAGMENT}
1233
-
1234
- query Promos {
1235
- promos {
1236
- ...PromoFragment
1237
- }
1238
- }
1239
- `;
1240
- export const AVAILABLE_PROMOS = /* GraphQL */ `
1241
- ${PROMO_FRAGMENT}
1242
-
1243
- query AvailablePromos($filter: PromoFilterInput) {
1244
- availablePromos(filter: $filter) {
1245
- ...PromoFragment
1246
- }
1247
- }
1248
- `;
1249
- export const PROMO = /* GraphQL */ `
1250
- ${PROMO_FRAGMENT}
1251
-
1252
- query Promo($id: ObjectId!) {
1253
- node(id: $id) {
1254
- ... on Promo {
1255
- ...PromoFragment
1256
- }
1257
- }
1258
- }
1259
- `;
1260
- export const SPOT_BONUS_FRAGMENT = /* GraphQL */ `
1261
- fragment SpotBonusFragment on SpotBonusPromo {
1262
- id
1263
- name
1264
- type
1265
- status
1266
- daysToClear
1267
- zeroOutThreshold
1268
- turnoverRequirementMultiplier
1269
- turnoverRequirementType
1270
- minimumTicketOddFactorPerSportsGameProvider
1271
- turnoverRequirementContributionPercentagePerGameProvider
1272
- bonusAmount
1273
- enabledGameProviders
1274
- activationStartDateTime
1275
- activationEndDateTime
1276
- banner {
1277
- id
1278
- url
1279
- }
1280
- description
1281
- dateTimeCreated
1282
- dateTimeLastUpdated
1283
- dateTimeClosed
1284
- totalBonus
1285
- totalDeposit
1286
- totalBonusBalance
1287
- totalBet
1288
- totalBonusCashedOut
1289
- bonusesCount
1290
- closedBonusesCount
1291
- closedBonusesCountPercentage
1292
- activeBonusesCount
1293
- clearedBonusesCount
1294
- zeroedOutBonusesCount
1295
- cancelledBonusesCount
1296
- expiredBonusesCount
1297
- code
1298
- maximumBonusesCountLimit
1299
- }
1300
- `;
1301
- export const PROMO_BY_CODE = /* GraphQL */ `
1302
- ${SPOT_BONUS_FRAGMENT}
1303
-
1304
- query PromoByCode($code: String!) {
1305
- promoByCode(code: $code) {
1306
- ...SpotBonusFragment
1307
- }
1308
- }
1309
- `;
1310
- export const CASHBACK_FRAGMENT = /* GraphQL */ `
1311
- ${FILE_FRAGMENT}
1312
-
1313
- fragment CashbackFragment on Cashback {
1314
- id
1315
- name
1316
- banner {
1317
- ...FileFragment
1318
- }
1319
- minimumCashback
1320
- maximumMonthlyCashback
1321
- status
1322
- description
1323
- activationStartDateTime
1324
- activationEndDateTime
1325
- turnoverContributionPercentagePerGameProvider
1326
- dateTimeCreated
1327
- dateTimeLastUpdated
1328
- }
1329
- `;
1330
- export const CASHBACKS = /* GraphQL */ `
1331
- ${CASHBACK_FRAGMENT}
1332
-
1333
- query Cashbacks {
1334
- cashbacks {
1335
- ...CashbackFragment
1336
- }
1337
- }
1338
- `;
1339
- export const CASHBACK = /* GraphQL */ `
1340
- ${CASHBACK_FRAGMENT}
1341
-
1342
- query Cashback($id: ObjectId!) {
1343
- node(id: $id) {
1344
- ... on Cashback {
1345
- ...CashbackFragment
1346
- }
1347
- }
1348
- }
1349
- `;
1350
- export const BONUS_FRAGMENT = /* GraphQL */ `
1351
- ${PROMO_FRAGMENT}
1352
-
1353
- fragment BonusFragment on Bonus {
1354
- id
1355
- promo {
1356
- ...PromoFragment
1357
- }
1358
- deposit {
1359
- type
1360
- amount
1361
- netAmount
1362
- fee
1363
- status
1364
- reference
1365
- dateTimeCreated
1366
- dateTimeLastUpdated
1367
- }
1368
- amount
1369
- balance
1370
- turnoverRequirement
1371
- currentTurnoverRequirementContribution
1372
- currentTurnoverRequirementContributionPercentage
1373
- turnoverRequirementContributionPercentagePerGameProvider
1374
- enabledGameProviders
1375
- expiration
1376
- dateTimeCreated
1377
- dateTimeLastUpdated
1378
- }
1379
- `;
1380
- export const BONUSES = /* GraphQL */ `
1381
- ${BONUS_FRAGMENT}
1382
-
1383
- query Bonuses($filter: BonusFilterInput) {
1384
- bonuses(filter: $filter) {
1385
- ...BonusFragment
1386
- }
1387
- }
1388
- `;
1389
- export const BONUS_IDS = /* GraphQL */ `
1390
- query BonusIds {
1391
- bonuses {
1392
- id
1393
- }
1394
- }
1395
- `;
1396
- export const BONUS_BALANCES = /* GraphQL */ `
1397
- query BonusesBalance {
1398
- bonuses {
1399
- balance
1400
- }
1401
- }
1402
- `;
1403
- export const BONUS = /* GraphQL */ `
1404
- ${BONUS_FRAGMENT}
1405
-
1406
- query Bonus($id: ObjectId!) {
1407
- node(id: $id) {
1408
- ... on Bonus {
1409
- ...BonusFragment
1410
- }
1411
- }
1412
- }
1413
- `;
1414
- export const CASHBACK_BONUS_FRAGMENT = /* GraphQL */ `
1415
- ${CASHBACK_FRAGMENT}
1416
-
1417
- fragment CashbackBonusFragment on CashbackBonus {
1418
- id
1419
- balance
1420
- total
1421
- cashback {
1422
- ...CashbackFragment
1423
- }
1424
- dateTimeCreated
1425
- dateTimeLastUpdated
1426
- }
1427
- `;
1428
- export const CASHBACK_BONUSES = /* GraphQL */ `
1429
- ${CASHBACK_BONUS_FRAGMENT}
1430
-
1431
- query CashbackBonuses {
1432
- cashbackBonuses {
1433
- ...CashbackBonusFragment
1434
- }
1435
- }
1436
- `;
1437
- export const CASHBACK_BONUS_IDS = /* GraphQL */ `
1438
- query CashbackBonusIds {
1439
- cashbackBonuses {
1440
- id
1441
- }
1442
- }
1443
- `;
1444
- export const CASHBACK_BONUS = /* GraphQL */ `
1445
- ${CASHBACK_BONUS_FRAGMENT}
1446
-
1447
- query CashbackBonus($id: ObjectId!) {
1448
- node(id: $id) {
1449
- ... on CashbackBonus {
1450
- ...CashbackBonusFragment
1451
- }
1452
- }
1453
- }
1454
- `;
1455
- export const CLAIM_CASHBACK_BONUS = /* GraphQL */ `
1456
- mutation ClaimCashbackBonus($input: ClaimCashbackBonusInput!) {
1457
- claimCashbackBonus(input: $input) {
1458
- ... on CashbackBonusDoesNotExistError {
1459
- name: __typename
1460
- message
1461
- }
1462
- }
1463
- }
1464
- `;
1465
- export const MEMBER = /* GraphQL */ `
1466
- query Member {
1467
- member {
1468
- dateTimeLastActive
1469
- }
1470
- }
1
+ export const FILE_FRAGMENT = /* GraphQL */ `
2
+ fragment FileFragment on File {
3
+ id
4
+ url
5
+ status
6
+ }
7
+ `;
8
+ export const FILE = /* GraphQL */ `
9
+ ${FILE_FRAGMENT}
10
+
11
+ query File($id: ObjectId!) {
12
+ node(id: $id) {
13
+ ... on File {
14
+ ...FileFragment
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ export const UPLOAD_FILE = /* GraphQL */ `
20
+ mutation UploadFile($input: UploadFileInput!) {
21
+ uploadFile(input: $input) {
22
+ ... on FileFormatNotSupportedError {
23
+ name: __typename
24
+ message
25
+ }
26
+ ... on FileNameTooLongError {
27
+ name: __typename
28
+ message
29
+ }
30
+ ... on FileSizeTooBigError {
31
+ name: __typename
32
+ message
33
+ }
34
+ }
35
+ }
36
+ `;
37
+ export const UPLOAD_IMAGE_FILE = /* GraphQL */ `
38
+ mutation UploadImageFile($input: UploadFileInput!) {
39
+ uploadImageFile(input: $input) {
40
+ ... on FileFormatNotSupportedError {
41
+ name: __typename
42
+ message
43
+ }
44
+ ... on FileNameTooLongError {
45
+ name: __typename
46
+ message
47
+ }
48
+ ... on FileSizeTooBigError {
49
+ name: __typename
50
+ message
51
+ }
52
+ }
53
+ }
54
+ `;
55
+ export const UPLOAD_PRIVATE_IMAGE_FILE = /* GraphQL */ `
56
+ mutation UploadPrivateImageFile($input: UploadFileInput!) {
57
+ uploadPrivateImageFile(input: $input) {
58
+ ... on FileFormatNotSupportedError {
59
+ name: __typename
60
+ message
61
+ }
62
+ ... on FileNameTooLongError {
63
+ name: __typename
64
+ message
65
+ }
66
+ ... on FileSizeTooBigError {
67
+ name: __typename
68
+ message
69
+ }
70
+ }
71
+ }
72
+ `;
73
+ export const WALLET = /* GraphQL */ `
74
+ query Wallet {
75
+ wallet {
76
+ balance
77
+ }
78
+ }
79
+ `;
80
+ export const POINTS_WALLET = /* GraphQL */ `
81
+ query PointsWallet {
82
+ pointsWallet {
83
+ id
84
+ points
85
+ account
86
+ dateTimeCreated
87
+ }
88
+ }
89
+ `;
90
+ export const REDEEM_POINTS_TO_CASH = /* GraphQL */ `
91
+ mutation RedeemPointsToCash($input: RedeemPointsToCashInput!) {
92
+ redeemPointsToCash(input: $input) {
93
+ ... on InsufficientPointsError {
94
+ name: __typename
95
+ message
96
+ }
97
+ ... on PointsNotDivisibleBy100Error {
98
+ name: __typename
99
+ message
100
+ }
101
+ }
102
+ }
103
+ `;
104
+ export const POINTS_WALLET_TRANSACTIONS = /* GraphQL */ `
105
+ query PointsWalletTransactions(
106
+ $first: Int
107
+ $after: Cursor
108
+ $filter: MemberPointsWalletTransactionFilterInput
109
+ ) {
110
+ member {
111
+ pointsWalletTransactions(first: $first, after: $after, filter: $filter) {
112
+ edges {
113
+ cursor
114
+ node {
115
+ ... on PointsWalletTransaction {
116
+ id
117
+ type
118
+ amount
119
+ balance
120
+ dateTimeCreated
121
+ }
122
+ }
123
+ }
124
+ totalCount
125
+ pageInfo {
126
+ hasNextPage
127
+ endCursor
128
+ }
129
+ }
130
+ }
131
+ }
132
+ `;
133
+ export const GAME_SESSION = /* GraphQL */ `
134
+ query GameSession($id: ObjectId!) {
135
+ node(id: $id) {
136
+ ... on GameSession {
137
+ id
138
+ game
139
+ status
140
+ launchUrl
141
+ launchOptions
142
+ }
143
+ }
144
+ }
145
+ `;
146
+ export const GAME_SESSION__LEGACY = /* GraphQL */ `
147
+ query GameSession($id: ObjectId!) {
148
+ node(id: $id) {
149
+ ... on GameSession {
150
+ id
151
+ game {
152
+ id
153
+ }
154
+ status
155
+ launchUrl
156
+ dateTimeCreated
157
+ dateTimeLastUpdated
158
+ }
159
+ }
160
+ }
161
+ `;
162
+ export const CREATE_GAME_SESSION = /* GraphQL */ `
163
+ mutation CreateGameSession($input: CreateGameSessionInput!) {
164
+ createGameSession(input: $input) {
165
+ ... on GameDoesNotExistError {
166
+ name: __typename
167
+ message
168
+ }
169
+ }
170
+ }
171
+ `;
172
+ export const END_GAME_SESSION = /* GraphQL */ `
173
+ mutation EndGameSession($input: EndGameSessionInput!) {
174
+ endGameSession(input: $input)
175
+ }
176
+ `;
177
+ export const END_GAME_SESSION__LEGACY = /* GraphQL */ `
178
+ mutation EndGameSession($input: EndGameSessionInput!) {
179
+ endGameSession(input: $input) {
180
+ ... on GameSessionDoesNotExistError {
181
+ name: __typename
182
+ message
183
+ }
184
+ ... on GameSessionAlreadyClosedError {
185
+ name: __typename
186
+ message
187
+ }
188
+ ... on GameProviderError {
189
+ name: __typename
190
+ message
191
+ }
192
+ }
193
+ }
194
+ `;
195
+ export const RECOMMENDED_GAMES = /* GraphQL */ `
196
+ query RecommendedGames {
197
+ recommendedGames {
198
+ id
199
+ name
200
+ type
201
+ provider
202
+ }
203
+ }
204
+ `;
205
+ export const ANNOUNCEMENTS = /* GraphQL */ `
206
+ query Announcements(
207
+ $first: Int
208
+ $after: Cursor
209
+ $filter: AnnouncementFilterInput
210
+ ) {
211
+ announcements(first: $first, after: $after, filter: $filter) {
212
+ edges {
213
+ cursor
214
+ node {
215
+ ... on Announcement {
216
+ id
217
+ type
218
+ title
219
+ status
220
+ message
221
+ activationStartDateTime
222
+ activationEndDateTime
223
+ dateTimeCreated
224
+ dateTimeLastUpdated
225
+ }
226
+ }
227
+ }
228
+ totalCount
229
+ pageInfo {
230
+ hasNextPage
231
+ endCursor
232
+ }
233
+ }
234
+ }
235
+ `;
236
+ export const WITHDRAWAL_RECORDS = /* GraphQL */ `
237
+ query WithdrawalRecords(
238
+ $first: Int
239
+ $after: Cursor
240
+ $filter: WithdrawalRecordFilterInput
241
+ ) {
242
+ member {
243
+ withdrawalRecords(first: $first, after: $after, filter: $filter) {
244
+ edges {
245
+ cursor
246
+ node {
247
+ ... on BankWithdrawalRecord {
248
+ id
249
+ type
250
+ bank
251
+ fee
252
+ netAmount
253
+ reference
254
+ amount
255
+ status
256
+ error
257
+ withdrawalNumber
258
+ dateTimeCreated
259
+ dateTimeLastUpdated
260
+ }
261
+ ... on GCashWithdrawalRecord {
262
+ id
263
+ type
264
+ fee
265
+ netAmount
266
+ reference
267
+ amount
268
+ status
269
+ error
270
+ withdrawalNumber
271
+ recipientMobileNumber
272
+ dateTimeCreated
273
+ dateTimeLastUpdated
274
+ }
275
+ ... on ManualWithdrawalRecord {
276
+ id
277
+ type
278
+ fee
279
+ netAmount
280
+ reference
281
+ amount
282
+ status
283
+ error
284
+ withdrawalNumber
285
+ dateTimeCreated
286
+ dateTimeLastUpdated
287
+ }
288
+ ... on MayaAppWithdrawalRecord {
289
+ id
290
+ type
291
+ fee
292
+ netAmount
293
+ reference
294
+ amount
295
+ status
296
+ error
297
+ withdrawalNumber
298
+ dateTimeCreated
299
+ dateTimeLastUpdated
300
+ }
301
+ ... on InstapayWithdrawalRecord {
302
+ id
303
+ type
304
+ fee
305
+ netAmount
306
+ bankName
307
+ reference
308
+ amount
309
+ status
310
+ error
311
+ withdrawalNumber
312
+ dateTimeCreated
313
+ dateTimeLastUpdated
314
+ }
315
+ ... on ManualUPIWithdrawalRecord {
316
+ id
317
+ type
318
+ fee
319
+ netAmount
320
+ reference
321
+ amount
322
+ status
323
+ error
324
+ withdrawalNumber
325
+ dateTimeCreated
326
+ dateTimeLastUpdated
327
+ }
328
+ ... on ManualBankWithdrawalRecord {
329
+ id
330
+ type
331
+ fee
332
+ netAmount
333
+ reference
334
+ amount
335
+ status
336
+ error
337
+ withdrawalNumber
338
+ dateTimeCreated
339
+ dateTimeLastUpdated
340
+ }
341
+ }
342
+ }
343
+ totalCount
344
+ pageInfo {
345
+ hasNextPage
346
+ endCursor
347
+ }
348
+ }
349
+ }
350
+ }
351
+ `;
352
+ export const CREATE_GCASH_WITHDRAWAL = /* GraphQL */ `
353
+ mutation CreateGCashWithdrawal($input: CreateGCashWithdrawalInput!) {
354
+ createGCashWithdrawal(input: $input) {
355
+ ... on AccountNotVerifiedError {
356
+ name: __typename
357
+ message
358
+ }
359
+ ... on InvalidTransactionPasswordError {
360
+ name: __typename
361
+ message
362
+ }
363
+ ... on InvalidWithdrawalAmountError {
364
+ name: __typename
365
+ message
366
+ }
367
+ ... on MobileNumberNotVerifiedError {
368
+ name: __typename
369
+ message
370
+ }
371
+ ... on NotEnoughBalanceError {
372
+ name: __typename
373
+ message
374
+ }
375
+ ... on WithdrawalDailyLimitExceededError {
376
+ name: __typename
377
+ message
378
+ }
379
+ ... on ReCAPTCHAVerificationFailedError {
380
+ name: __typename
381
+ message
382
+ }
383
+ ... on WalletDoesNotExistError {
384
+ name: __typename
385
+ message
386
+ }
387
+ ... on TransactionPasswordNotSetError {
388
+ name: __typename
389
+ message
390
+ }
391
+ }
392
+ }
393
+ `;
394
+ export const CREATE_MAYA_WITHDRAWAL = /* GraphQL */ `
395
+ mutation CreateMayaWithdrawal($input: CreateMayaWithdrawalInput!) {
396
+ createMayaWithdrawal(input: $input) {
397
+ ... on AccountNotVerifiedError {
398
+ name: __typename
399
+ message
400
+ }
401
+ ... on InvalidTransactionPasswordError {
402
+ name: __typename
403
+ message
404
+ }
405
+ ... on InvalidWithdrawalAmountError {
406
+ name: __typename
407
+ message
408
+ }
409
+ ... on MobileNumberNotVerifiedError {
410
+ name: __typename
411
+ message
412
+ }
413
+ ... on NotEnoughBalanceError {
414
+ name: __typename
415
+ message
416
+ }
417
+ ... on WithdrawalDailyLimitExceededError {
418
+ name: __typename
419
+ message
420
+ }
421
+ }
422
+ }
423
+ `;
424
+ export const CREATE_MAYA_APP_WITHDRAWAL = /* GraphQL */ `
425
+ mutation CreateMayaAppWithdrawal($input: CreateMayaAppWithdrawalInput!) {
426
+ createMayaAppWithdrawal(input: $input) {
427
+ ... on AccountNotVerifiedError {
428
+ name: __typename
429
+ message
430
+ }
431
+ ... on InvalidTransactionPasswordError {
432
+ name: __typename
433
+ message
434
+ }
435
+ ... on InvalidWithdrawalAmountError {
436
+ name: __typename
437
+ message
438
+ }
439
+ ... on NotEnoughBalanceError {
440
+ name: __typename
441
+ message
442
+ }
443
+ ... on WithdrawalDailyLimitExceededError {
444
+ name: __typename
445
+ message
446
+ }
447
+ ... on WalletDoesNotExistError {
448
+ name: __typename
449
+ message
450
+ }
451
+ ... on TransactionPasswordNotSetError {
452
+ name: __typename
453
+ message
454
+ }
455
+ }
456
+ }
457
+ `;
458
+ export const CREATE_BANK_WITHDRAWAL = /* GraphQL */ `
459
+ mutation CreateBankWithdrawal($input: CreateBankWithdrawalInput!) {
460
+ createBankWithdrawal(input: $input) {
461
+ ... on MobileNumberNotVerifiedError {
462
+ name: __typename
463
+ message
464
+ }
465
+ }
466
+ }
467
+ `;
468
+ export const CREATE_AIO_INSTAPAY_WITHDRAWAL = /* GraphQL */ `
469
+ mutation CreateAIOInstapayWithdrawal(
470
+ $input: CreateAIOInstapayWithdrawalInput!
471
+ ) {
472
+ createAIOInstapayWithdrawal(input: $input) {
473
+ ... on AccountNotVerifiedError {
474
+ name: __typename
475
+ message
476
+ }
477
+ ... on InvalidWithdrawalAmountError {
478
+ name: __typename
479
+ message
480
+ }
481
+ ... on WithdrawalDailyLimitExceededError {
482
+ name: __typename
483
+ message
484
+ }
485
+ ... on InvalidTransactionPasswordError {
486
+ name: __typename
487
+ message
488
+ }
489
+ ... on NotEnoughBalanceError {
490
+ name: __typename
491
+ message
492
+ }
493
+ ... on WalletDoesNotExistError {
494
+ name: __typename
495
+ message
496
+ }
497
+ ... on TransactionPasswordNotSetError {
498
+ name: __typename
499
+ message
500
+ }
501
+ }
502
+ }
503
+ `;
504
+ export const CREATE_VENTAJA_WITHDRAWAL = /* GraphQL */ `
505
+ mutation CreateVentajaDisbursementWithdrawal(
506
+ $input: CreateVentajaDisbursementWithdrawalInput!
507
+ $transactionPassword: String!
508
+ ) {
509
+ createVentajaDisbursementWithdrawal(
510
+ input: $input
511
+ transactionPassword: $transactionPassword
512
+ ) {
513
+ ... on AccountNotVerifiedError {
514
+ name: __typename
515
+ message
516
+ }
517
+ ... on InvalidWithdrawalAmountError {
518
+ name: __typename
519
+ message
520
+ }
521
+ ... on WithdrawalDailyLimitExceededError {
522
+ name: __typename
523
+ message
524
+ }
525
+ ... on NotEnoughBalanceError {
526
+ name: __typename
527
+ message
528
+ }
529
+ ... on WalletDoesNotExistError {
530
+ name: __typename
531
+ message
532
+ }
533
+ }
534
+ }
535
+ `;
536
+ export const CREATE_PISO_PAY_WITHDRAWAL = /* GraphQL */ `
537
+ mutation CreatePisopayWithdrawal(
538
+ $input: CreatePisoPayRemittanceWithdrawalInput!
539
+ $transactionPassword: String!
540
+ ) {
541
+ createPisoPayRemittanceWithdrawal(
542
+ input: $input
543
+ transactionPassword: $transactionPassword
544
+ ) {
545
+ ... on AccountNotVerifiedError {
546
+ name: __typename
547
+ message
548
+ }
549
+ ... on InvalidWithdrawalAmountError {
550
+ name: __typename
551
+ message
552
+ }
553
+ ... on WithdrawalDailyLimitExceededError {
554
+ name: __typename
555
+ message
556
+ }
557
+ ... on InvalidTransactionPasswordError {
558
+ name: __typename
559
+ message
560
+ }
561
+ ... on NotEnoughBalanceError {
562
+ name: __typename
563
+ message
564
+ }
565
+ ... on WalletDoesNotExistError {
566
+ name: __typename
567
+ message
568
+ }
569
+ ... on TransactionPasswordNotSetError {
570
+ name: __typename
571
+ message
572
+ }
573
+ }
574
+ }
575
+ `;
576
+ export const CREATE_MANUAL_UPI_WITHDRAWAL = /* GraphQL */ `
577
+ mutation CreateManualUPIWithdrawal($input: CreateManualUPIWithdrawalInput!) {
578
+ createManualUPIWithdrawal(input: $input) {
579
+ ... on AccountNotVerifiedError {
580
+ name: __typename
581
+ message
582
+ }
583
+ ... on InvalidWithdrawalAmountError {
584
+ name: __typename
585
+ message
586
+ }
587
+ ... on WithdrawalDailyLimitExceededError {
588
+ name: __typename
589
+ message
590
+ }
591
+ ... on NotEnoughBalanceError {
592
+ name: __typename
593
+ message
594
+ }
595
+ ... on WalletDoesNotExistError {
596
+ name: __typename
597
+ message
598
+ }
599
+ }
600
+ }
601
+ `;
602
+ export const CREATE_MANUAL_BANK_WITHDRAWAL = /* GraphQL */ `
603
+ mutation CreateManualBankWithdrawal(
604
+ $input: CreateManualBankWithdrawalInput!
605
+ ) {
606
+ createManualBankWithdrawal(input: $input) {
607
+ ... on AccountNotVerifiedError {
608
+ name: __typename
609
+ message
610
+ }
611
+ ... on InvalidWithdrawalAmountError {
612
+ name: __typename
613
+ message
614
+ }
615
+ ... on WithdrawalDailyLimitExceededError {
616
+ name: __typename
617
+ message
618
+ }
619
+ ... on NotEnoughBalanceError {
620
+ name: __typename
621
+ message
622
+ }
623
+ ... on WalletDoesNotExistError {
624
+ name: __typename
625
+ message
626
+ }
627
+ }
628
+ }
629
+ `;
630
+ export const INSTAPAY_BANK_LIST = /* GraphQL */ `
631
+ query InstapayBankList {
632
+ instapayBankList {
633
+ id
634
+ code
635
+ name
636
+ }
637
+ }
638
+ `;
639
+ export const REMAINING_DAILY_WITHDRAWALS_COUNT = /* GraphQL */ `
640
+ query RemainingDailyWithdrawalsCount {
641
+ remainingDailyWithdrawalsCount
642
+ }
643
+ `;
644
+ export const DEPOSIT_RECORDS = /* GraphQL */ `
645
+ query DepositRecords(
646
+ $after: Cursor
647
+ $first: Int
648
+ $filter: DepositRecordFilterInput
649
+ ) {
650
+ member {
651
+ depositRecords(after: $after, first: $first, filter: $filter) {
652
+ edges {
653
+ cursor
654
+ node {
655
+ ... on DepositRecord {
656
+ id
657
+ type
658
+ amount
659
+ netAmount
660
+ fee
661
+ status
662
+ deposit
663
+ reference
664
+ depositNumber
665
+ dateTimeCreated
666
+ dateTimeLastUpdated
667
+ }
668
+ }
669
+ }
670
+ totalCount
671
+ pageInfo {
672
+ hasNextPage
673
+ endCursor
674
+ }
675
+ }
676
+ }
677
+ }
678
+ `;
679
+ export const CREATE_GCASH_DEPOSIT = /* GraphQL */ `
680
+ mutation CreateGCashDeposit($input: CreateGCashDepositInput!) {
681
+ createGCashDeposit(input: $input) {
682
+ ... on DepositPromoMaximumAmountExceededError {
683
+ name: __typename
684
+ message
685
+ }
686
+ ... on DepositPromoMinimumAmountNotMetError {
687
+ name: __typename
688
+ message
689
+ }
690
+ ... on MaximumDepositAmountExceededError {
691
+ name: __typename
692
+ message
693
+ }
694
+ ... on MinimumDepositAmountNotMetError {
695
+ name: __typename
696
+ message
697
+ }
698
+ ... on MinimumFirstDepositAmountNotMetError {
699
+ name: __typename
700
+ message
701
+ }
702
+ ... on PromoNotEnabledError {
703
+ name: __typename
704
+ message
705
+ }
706
+ ... on WalletDoesNotExistError {
707
+ name: __typename
708
+ message
709
+ }
710
+ ... on ReCAPTCHAVerificationFailedError {
711
+ name: __typename
712
+ message
713
+ }
714
+ }
715
+ }
716
+ `;
717
+ export const CREATE_GCASH_DIRECT_WEBPAY_DEPOSIT = /* GraphQL */ `
718
+ mutation CreateGCashDirectWebpayDeposit(
719
+ $input: CreateGCashDirectWebpayDepositInput!
720
+ ) {
721
+ createGCashDirectWebpayDeposit(input: $input) {
722
+ ... on DepositPromoMaximumAmountExceededError {
723
+ name: __typename
724
+ message
725
+ }
726
+ ... on DepositPromoMinimumAmountNotMetError {
727
+ name: __typename
728
+ message
729
+ }
730
+ ... on MaximumDepositAmountExceededError {
731
+ name: __typename
732
+ message
733
+ }
734
+ ... on MinimumDepositAmountNotMetError {
735
+ name: __typename
736
+ message
737
+ }
738
+ ... on MinimumFirstDepositAmountNotMetError {
739
+ name: __typename
740
+ message
741
+ }
742
+ ... on PromoNotEnabledError {
743
+ name: __typename
744
+ message
745
+ }
746
+ ... on WalletDoesNotExistError {
747
+ name: __typename
748
+ message
749
+ }
750
+ }
751
+ }
752
+ `;
753
+ export const CREATE_LIBANGAN_DEPOSIT = /* GraphQL */ `
754
+ mutation CreateLibanganPayInDeposit(
755
+ $input: CreateLibanganPayInDepositInput!
756
+ ) {
757
+ createLibanganPayInDeposit(input: $input) {
758
+ ... on DepositPromoMaximumAmountExceededError {
759
+ name: __typename
760
+ message
761
+ }
762
+ ... on DepositPromoMinimumAmountNotMetError {
763
+ name: __typename
764
+ message
765
+ }
766
+ ... on MaximumDepositAmountExceededError {
767
+ name: __typename
768
+ message
769
+ }
770
+ ... on MinimumDepositAmountNotMetError {
771
+ name: __typename
772
+ message
773
+ }
774
+ ... on MinimumFirstDepositAmountNotMetError {
775
+ name: __typename
776
+ message
777
+ }
778
+ ... on PromoNotEnabledError {
779
+ name: __typename
780
+ message
781
+ }
782
+ ... on WalletDoesNotExistError {
783
+ name: __typename
784
+ message
785
+ }
786
+ }
787
+ }
788
+ `;
789
+ export const CREATE_PISO_PAY_DEPOSIT = /* GraphQL */ `
790
+ mutation CreatePisoPayDeposit($input: CreatePisoPayCheckoutDepositInput!) {
791
+ createPisoPayCheckoutDeposit(input: $input) {
792
+ ... on WalletDoesNotExistError {
793
+ name: __typename
794
+ message
795
+ }
796
+ ... on DepositPromoMinimumAmountNotMetError {
797
+ name: __typename
798
+ message
799
+ }
800
+ ... on DepositPromoMaximumAmountExceededError {
801
+ name: __typename
802
+ message
803
+ }
804
+ ... on MinimumFirstDepositAmountNotMetError {
805
+ name: __typename
806
+ message
807
+ }
808
+ ... on MinimumDepositAmountNotMetError {
809
+ name: __typename
810
+ message
811
+ }
812
+ ... on MaximumDepositAmountExceededError {
813
+ name: __typename
814
+ message
815
+ }
816
+ ... on PromoNotEnabledError {
817
+ name: __typename
818
+ message
819
+ }
820
+ }
821
+ }
822
+ `;
823
+ export const CREATE_MAYA_DEPOSIT = /* GraphQL */ `
824
+ mutation CreateMayaDeposit($input: CreateMayaDepositInput!) {
825
+ createMayaDeposit(input: $input) {
826
+ ... on DepositPromoMaximumAmountExceededError {
827
+ name: __typename
828
+ message
829
+ }
830
+ ... on DepositPromoMinimumAmountNotMetError {
831
+ name: __typename
832
+ message
833
+ }
834
+ ... on MaximumDepositAmountExceededError {
835
+ name: __typename
836
+ message
837
+ }
838
+ ... on MinimumDepositAmountNotMetError {
839
+ name: __typename
840
+ message
841
+ }
842
+ ... on MinimumFirstDepositAmountNotMetError {
843
+ name: __typename
844
+ message
845
+ }
846
+ ... on PromoNotEnabledError {
847
+ name: __typename
848
+ message
849
+ }
850
+ ... on WalletDoesNotExistError {
851
+ name: __typename
852
+ message
853
+ }
854
+ }
855
+ }
856
+ `;
857
+ export const CREATE_MAYA_APP_DEPOSIT = /* GraphQL */ `
858
+ mutation CreateMayaAppDeposit($input: CreateMayaAppDepositInput!) {
859
+ createMayaAppDeposit(input: $input) {
860
+ ... on DepositPromoMaximumAmountExceededError {
861
+ name: __typename
862
+ message
863
+ }
864
+ ... on DepositPromoMinimumAmountNotMetError {
865
+ name: __typename
866
+ message
867
+ }
868
+ ... on MaximumDepositAmountExceededError {
869
+ name: __typename
870
+ message
871
+ }
872
+ ... on MinimumDepositAmountNotMetError {
873
+ name: __typename
874
+ message
875
+ }
876
+ ... on MinimumFirstDepositAmountNotMetError {
877
+ name: __typename
878
+ message
879
+ }
880
+ ... on PromoNotEnabledError {
881
+ name: __typename
882
+ message
883
+ }
884
+ ... on WalletDoesNotExistError {
885
+ name: __typename
886
+ message
887
+ }
888
+ }
889
+ }
890
+ `;
891
+ export const CREATE_AIO_QRPH_DEPOSIT = /* GraphQL */ `
892
+ mutation CreateAIOQRPHDeposit($input: CreateAIOQRPHDepositInput!) {
893
+ createAIOQRPHDeposit(input: $input) {
894
+ ... on DepositPromoMaximumAmountExceededError {
895
+ name: __typename
896
+ message
897
+ }
898
+ ... on DepositPromoMinimumAmountNotMetError {
899
+ name: __typename
900
+ message
901
+ }
902
+ ... on MaximumDepositAmountExceededError {
903
+ name: __typename
904
+ message
905
+ }
906
+ ... on MinimumDepositAmountNotMetError {
907
+ name: __typename
908
+ message
909
+ }
910
+ ... on MinimumFirstDepositAmountNotMetError {
911
+ name: __typename
912
+ message
913
+ }
914
+ ... on PromoNotEnabledError {
915
+ name: __typename
916
+ message
917
+ }
918
+ ... on WalletDoesNotExistError {
919
+ name: __typename
920
+ message
921
+ }
922
+ ... on ReCAPTCHAVerificationFailedError {
923
+ name: __typename
924
+ message
925
+ }
926
+ }
927
+ }
928
+ `;
929
+ export const CREATE_AIO_ONLINE_BANK_DEPOSIT = /* GraphQL */ `
930
+ mutation CreateAIOOnlineBankDeposit(
931
+ $input: CreateAIOOnlineBankDepositInput!
932
+ ) {
933
+ createAIOOnlineBankDeposit(input: $input) {
934
+ ... on DepositPromoMaximumAmountExceededError {
935
+ name: __typename
936
+ message
937
+ }
938
+ ... on DepositPromoMinimumAmountNotMetError {
939
+ name: __typename
940
+ message
941
+ }
942
+ ... on MaximumDepositAmountExceededError {
943
+ name: __typename
944
+ message
945
+ }
946
+ ... on MinimumDepositAmountNotMetError {
947
+ name: __typename
948
+ message
949
+ }
950
+ ... on MinimumFirstDepositAmountNotMetError {
951
+ name: __typename
952
+ message
953
+ }
954
+ ... on PromoNotEnabledError {
955
+ name: __typename
956
+ message
957
+ }
958
+ ... on WalletDoesNotExistError {
959
+ name: __typename
960
+ message
961
+ }
962
+ }
963
+ }
964
+ `;
965
+ export const CREATE_MANUAL_BANK_DEPOSIT = /* GraphQL */ `
966
+ mutation CreateManualBankDeposit($input: CreateManualBankDepositInput!) {
967
+ createManualBankDeposit(input: $input) {
968
+ ... on WalletDoesNotExistError {
969
+ name: __typename
970
+ message
971
+ }
972
+ ... on MinimumFirstDepositAmountNotMetError {
973
+ name: __typename
974
+ message
975
+ }
976
+ ... on MinimumDepositAmountNotMetError {
977
+ name: __typename
978
+ message
979
+ }
980
+ ... on PromoNotEnabledError {
981
+ name: __typename
982
+ message
983
+ }
984
+ ... on DepositPromoMinimumAmountNotMetError {
985
+ name: __typename
986
+ message
987
+ }
988
+ ... on DepositPromoMaximumAmountExceededError {
989
+ name: __typename
990
+ message
991
+ }
992
+ ... on MaximumDepositAmountExceededError {
993
+ name: __typename
994
+ message
995
+ }
996
+ ... on FileDoesNotExistError {
997
+ name: __typename
998
+ message
999
+ }
1000
+ ... on FileNotReadyError {
1001
+ name: __typename
1002
+ message
1003
+ }
1004
+ }
1005
+ }
1006
+ `;
1007
+ export const CREATE_MANUAL_UPI_DEPOSIT = /* GraphQL */ `
1008
+ mutation CreateManualUPIDeposit($input: CreateManualUPIDepositInput!) {
1009
+ createManualUPIDeposit(input: $input) {
1010
+ ... on DepositPromoMaximumAmountExceededError {
1011
+ name: __typename
1012
+ message
1013
+ }
1014
+ ... on DepositPromoMinimumAmountNotMetError {
1015
+ name: __typename
1016
+ message
1017
+ }
1018
+ ... on MaximumDepositAmountExceededError {
1019
+ name: __typename
1020
+ message
1021
+ }
1022
+ ... on MinimumDepositAmountNotMetError {
1023
+ name: __typename
1024
+ message
1025
+ }
1026
+ ... on MinimumFirstDepositAmountNotMetError {
1027
+ name: __typename
1028
+ message
1029
+ }
1030
+ ... on PromoNotEnabledError {
1031
+ name: __typename
1032
+ message
1033
+ }
1034
+ ... on WalletDoesNotExistError {
1035
+ name: __typename
1036
+ message
1037
+ }
1038
+ ... on UPIReferenceNotAvailableError {
1039
+ name: __typename
1040
+ message
1041
+ }
1042
+ }
1043
+ }
1044
+ `;
1045
+ export const DEPOSIT = /* GraphQL */ `
1046
+ query Deposit($id: ObjectId!) {
1047
+ node(id: $id) {
1048
+ ... on GCashDeposit {
1049
+ id
1050
+ type
1051
+ status
1052
+ checkoutUrl
1053
+ error
1054
+ }
1055
+ ... on MayaDeposit {
1056
+ id
1057
+ type
1058
+ status
1059
+ checkoutUrl
1060
+ }
1061
+ ... on MayaAppDeposit {
1062
+ id
1063
+ type
1064
+ status
1065
+ error
1066
+ }
1067
+ ... on BankDeposit {
1068
+ id
1069
+ type
1070
+ status
1071
+ error
1072
+ }
1073
+ ... on ManualDeposit {
1074
+ id
1075
+ type
1076
+ status
1077
+ error
1078
+ }
1079
+ ... on QRPHDeposit {
1080
+ id
1081
+ type
1082
+ status
1083
+ qrCode
1084
+ error
1085
+ }
1086
+ ... on OnlineBankDeposit {
1087
+ id
1088
+ type
1089
+ status
1090
+ vca
1091
+ error
1092
+ }
1093
+ ... on GCashDirectWebpayDeposit {
1094
+ id
1095
+ type
1096
+ status
1097
+ checkoutUrl
1098
+ error
1099
+ }
1100
+ ... on LibanganPayInDeposit {
1101
+ id
1102
+ type
1103
+ status
1104
+ checkoutUrl
1105
+ error
1106
+ }
1107
+ ... on PisoPayCheckoutDeposit {
1108
+ id
1109
+ type
1110
+ status
1111
+ checkoutUrl
1112
+ error
1113
+ }
1114
+ }
1115
+ }
1116
+ `;
1117
+ export const DEPOSITS_COUNT = /* GraphQL */ `
1118
+ query DepositsCount {
1119
+ member {
1120
+ depositsCount
1121
+ }
1122
+ }
1123
+ `;
1124
+ export const TOUCH_GCASH_DEPOSIT = /* GraphQL */ `
1125
+ mutation TouchGCashDeposit($input: TouchGCashDepositInput!) {
1126
+ touchGCashDeposit(input: $input)
1127
+ }
1128
+ `;
1129
+ export const TOUCH_QRPH_DEPOSIT = /* GraphQL */ `
1130
+ mutation TouchQRPHDeposit($input: TouchQRPHDepositInput!) {
1131
+ touchQRPHDeposit(input: $input)
1132
+ }
1133
+ `;
1134
+ export const BET_RECORDS = /* GraphQL */ `
1135
+ query BetRecords($first: Int, $after: Cursor, $filter: BetRecordFilterInput) {
1136
+ member {
1137
+ betRecords(first: $first, after: $after, filter: $filter) {
1138
+ totalCount
1139
+ edges {
1140
+ cursor
1141
+ node {
1142
+ ... on BetRecord {
1143
+ id
1144
+ serialCode
1145
+ game {
1146
+ id
1147
+ name
1148
+ type
1149
+ provider
1150
+ }
1151
+ bet
1152
+ payout
1153
+ winloss
1154
+ jackpotPayout
1155
+ jackpotContribution
1156
+ status
1157
+ dateTimeCreated
1158
+ dateTimeSettled
1159
+ dateTimeLastUpdated
1160
+ metadata
1161
+ vendorRoundId
1162
+ betContent
1163
+ contestName
1164
+ externalCategory
1165
+ }
1166
+ }
1167
+ }
1168
+ pageInfo {
1169
+ hasNextPage
1170
+ endCursor
1171
+ }
1172
+ }
1173
+ }
1174
+ }
1175
+ `;
1176
+ export const TRANSACTION_RECORDS = /* GraphQL */ `
1177
+ query TransactionRecords(
1178
+ $first: Int
1179
+ $after: Cursor
1180
+ $filter: TransactionRecordFilter
1181
+ ) {
1182
+ member {
1183
+ transactionRecords(first: $first, after: $after, filter: $filter) {
1184
+ edges {
1185
+ cursor
1186
+ node {
1187
+ ... on TransactionRecord {
1188
+ id
1189
+ type
1190
+ amount
1191
+ content
1192
+ currentBalance
1193
+ currentBonusBalance
1194
+ referenceNumber
1195
+ dateTimeCreated
1196
+ }
1197
+ }
1198
+ }
1199
+ totalCount
1200
+ pageInfo {
1201
+ hasNextPage
1202
+ endCursor
1203
+ }
1204
+ }
1205
+ }
1206
+ }
1207
+ `;
1208
+ export const PROMO_FRAGMENT = /* GraphQL */ `
1209
+ ${FILE_FRAGMENT}
1210
+
1211
+ fragment PromoFragment on Promo {
1212
+ id
1213
+ type
1214
+ name
1215
+ banner {
1216
+ ...FileFragment
1217
+ }
1218
+ status
1219
+ description
1220
+ maximumBonusAmount
1221
+ minimumBonusAmount
1222
+ maximumDepositAmount
1223
+ minimumDepositAmount
1224
+ activationStartDateTime
1225
+ turnoverRequirementContributionPercentagePerGameProvider
1226
+ activationEndDateTime
1227
+ dateTimeCreated
1228
+ dateTimeLastUpdated
1229
+ }
1230
+ `;
1231
+ export const PROMOS = /* GraphQL */ `
1232
+ ${PROMO_FRAGMENT}
1233
+
1234
+ query Promos {
1235
+ promos {
1236
+ ...PromoFragment
1237
+ }
1238
+ }
1239
+ `;
1240
+ export const AVAILABLE_PROMOS = /* GraphQL */ `
1241
+ ${PROMO_FRAGMENT}
1242
+
1243
+ query AvailablePromos($filter: PromoFilterInput) {
1244
+ availablePromos(filter: $filter) {
1245
+ ...PromoFragment
1246
+ }
1247
+ }
1248
+ `;
1249
+ export const PROMO = /* GraphQL */ `
1250
+ ${PROMO_FRAGMENT}
1251
+
1252
+ query Promo($id: ObjectId!) {
1253
+ node(id: $id) {
1254
+ ... on Promo {
1255
+ ...PromoFragment
1256
+ }
1257
+ }
1258
+ }
1259
+ `;
1260
+ export const SPOT_BONUS_FRAGMENT = /* GraphQL */ `
1261
+ fragment SpotBonusFragment on SpotBonusPromo {
1262
+ id
1263
+ name
1264
+ type
1265
+ status
1266
+ daysToClear
1267
+ zeroOutThreshold
1268
+ turnoverRequirementMultiplier
1269
+ turnoverRequirementType
1270
+ minimumTicketOddFactorPerSportsGameProvider
1271
+ turnoverRequirementContributionPercentagePerGameProvider
1272
+ bonusAmount
1273
+ enabledGameProviders
1274
+ activationStartDateTime
1275
+ activationEndDateTime
1276
+ banner {
1277
+ id
1278
+ url
1279
+ }
1280
+ description
1281
+ dateTimeCreated
1282
+ dateTimeLastUpdated
1283
+ dateTimeClosed
1284
+ totalBonus
1285
+ totalDeposit
1286
+ totalBonusBalance
1287
+ totalBet
1288
+ totalBonusCashedOut
1289
+ bonusesCount
1290
+ closedBonusesCount
1291
+ closedBonusesCountPercentage
1292
+ activeBonusesCount
1293
+ clearedBonusesCount
1294
+ zeroedOutBonusesCount
1295
+ cancelledBonusesCount
1296
+ expiredBonusesCount
1297
+ code
1298
+ maximumBonusesCountLimit
1299
+ }
1300
+ `;
1301
+ export const PROMO_BY_CODE = /* GraphQL */ `
1302
+ ${SPOT_BONUS_FRAGMENT}
1303
+
1304
+ query PromoByCode($code: String!) {
1305
+ promoByCode(code: $code) {
1306
+ ...SpotBonusFragment
1307
+ }
1308
+ }
1309
+ `;
1310
+ export const CASHBACK_FRAGMENT = /* GraphQL */ `
1311
+ ${FILE_FRAGMENT}
1312
+
1313
+ fragment CashbackFragment on Cashback {
1314
+ id
1315
+ name
1316
+ banner {
1317
+ ...FileFragment
1318
+ }
1319
+ minimumCashback
1320
+ maximumMonthlyCashback
1321
+ status
1322
+ description
1323
+ activationStartDateTime
1324
+ activationEndDateTime
1325
+ turnoverContributionPercentagePerGameProvider
1326
+ dateTimeCreated
1327
+ dateTimeLastUpdated
1328
+ }
1329
+ `;
1330
+ export const CASHBACKS = /* GraphQL */ `
1331
+ ${CASHBACK_FRAGMENT}
1332
+
1333
+ query Cashbacks {
1334
+ cashbacks {
1335
+ ...CashbackFragment
1336
+ }
1337
+ }
1338
+ `;
1339
+ export const CASHBACK = /* GraphQL */ `
1340
+ ${CASHBACK_FRAGMENT}
1341
+
1342
+ query Cashback($id: ObjectId!) {
1343
+ node(id: $id) {
1344
+ ... on Cashback {
1345
+ ...CashbackFragment
1346
+ }
1347
+ }
1348
+ }
1349
+ `;
1350
+ export const BONUS_FRAGMENT = /* GraphQL */ `
1351
+ ${PROMO_FRAGMENT}
1352
+
1353
+ fragment BonusFragment on Bonus {
1354
+ id
1355
+ promo {
1356
+ ...PromoFragment
1357
+ }
1358
+ deposit {
1359
+ type
1360
+ amount
1361
+ netAmount
1362
+ fee
1363
+ status
1364
+ reference
1365
+ dateTimeCreated
1366
+ dateTimeLastUpdated
1367
+ }
1368
+ amount
1369
+ balance
1370
+ turnoverRequirement
1371
+ currentTurnoverRequirementContribution
1372
+ currentTurnoverRequirementContributionPercentage
1373
+ turnoverRequirementContributionPercentagePerGameProvider
1374
+ enabledGameProviders
1375
+ expiration
1376
+ dateTimeCreated
1377
+ dateTimeLastUpdated
1378
+ }
1379
+ `;
1380
+ export const BONUSES = /* GraphQL */ `
1381
+ ${BONUS_FRAGMENT}
1382
+
1383
+ query Bonuses($filter: BonusFilterInput) {
1384
+ bonuses(filter: $filter) {
1385
+ ...BonusFragment
1386
+ }
1387
+ }
1388
+ `;
1389
+ export const BONUS_IDS = /* GraphQL */ `
1390
+ query BonusIds {
1391
+ bonuses {
1392
+ id
1393
+ }
1394
+ }
1395
+ `;
1396
+ export const BONUS_BALANCES = /* GraphQL */ `
1397
+ query BonusesBalance {
1398
+ bonuses {
1399
+ balance
1400
+ }
1401
+ }
1402
+ `;
1403
+ export const BONUS = /* GraphQL */ `
1404
+ ${BONUS_FRAGMENT}
1405
+
1406
+ query Bonus($id: ObjectId!) {
1407
+ node(id: $id) {
1408
+ ... on Bonus {
1409
+ ...BonusFragment
1410
+ }
1411
+ }
1412
+ }
1413
+ `;
1414
+ export const CASHBACK_BONUS_FRAGMENT = /* GraphQL */ `
1415
+ ${CASHBACK_FRAGMENT}
1416
+
1417
+ fragment CashbackBonusFragment on CashbackBonus {
1418
+ id
1419
+ balance
1420
+ total
1421
+ cashback {
1422
+ ...CashbackFragment
1423
+ }
1424
+ dateTimeCreated
1425
+ dateTimeLastUpdated
1426
+ }
1427
+ `;
1428
+ export const CASHBACK_BONUSES = /* GraphQL */ `
1429
+ ${CASHBACK_BONUS_FRAGMENT}
1430
+
1431
+ query CashbackBonuses {
1432
+ cashbackBonuses {
1433
+ ...CashbackBonusFragment
1434
+ }
1435
+ }
1436
+ `;
1437
+ export const CASHBACK_BONUS_IDS = /* GraphQL */ `
1438
+ query CashbackBonusIds {
1439
+ cashbackBonuses {
1440
+ id
1441
+ }
1442
+ }
1443
+ `;
1444
+ export const CASHBACK_BONUS = /* GraphQL */ `
1445
+ ${CASHBACK_BONUS_FRAGMENT}
1446
+
1447
+ query CashbackBonus($id: ObjectId!) {
1448
+ node(id: $id) {
1449
+ ... on CashbackBonus {
1450
+ ...CashbackBonusFragment
1451
+ }
1452
+ }
1453
+ }
1454
+ `;
1455
+ export const CLAIM_CASHBACK_BONUS = /* GraphQL */ `
1456
+ mutation ClaimCashbackBonus($input: ClaimCashbackBonusInput!) {
1457
+ claimCashbackBonus(input: $input) {
1458
+ ... on CashbackBonusDoesNotExistError {
1459
+ name: __typename
1460
+ message
1461
+ }
1462
+ }
1463
+ }
1464
+ `;
1465
+ export const MEMBER = /* GraphQL */ `
1466
+ query Member {
1467
+ member {
1468
+ dateTimeLastActive
1469
+ }
1470
+ }
1471
1471
  `;
1472
1472
  /**
1473
1473
  * _aka_ `Query.self`
1474
1474
  */
1475
- export const MEMBER_ACCOUNT = /* GraphQL */ `
1476
- query MemberAccount {
1477
- memberAccount: self {
1478
- ... on MemberAccount {
1479
- id
1480
- name
1481
- status
1482
- realName
1483
- emailAddress
1484
- mobileNumber
1485
- birthDay
1486
- verified
1487
- verificationStatus
1488
- nickName
1489
- validId
1490
- mobileNumberVerified
1491
- mobileNumberVerificationRequired
1492
- transactionPassword
1493
- secretAnswerSubmitted
1494
- dateTimeCreated
1495
- dateTimeLastUpdated
1496
- }
1497
- }
1498
- }
1499
- `;
1500
- export const MEMBER_VERIFICATION = /* GraphQL */ `
1501
- ${FILE_FRAGMENT}
1502
-
1503
- query MemberVerification {
1504
- memberAccount: self {
1505
- ... on MemberAccount {
1506
- verification {
1507
- id
1508
- status
1509
- address
1510
- permanentAddress
1511
- sourceOfIncome
1512
- natureOfWork
1513
- nationality
1514
- placeOfBirth
1515
- idFrontImage {
1516
- ...FileFragment
1517
- }
1518
- selfieImage {
1519
- ...FileFragment
1520
- }
1521
- }
1522
- }
1523
- }
1524
- }
1525
- `;
1526
- export const REGISTER_MEMBER_ACCOUNT = /* GraphQL */ `
1527
- mutation RegisterMemberAccount(
1528
- $input: RegisterMemberAccountInput!
1529
- $referralCode: String
1530
- $verificationCode: String
1531
- $reCAPTCHAResponse: String
1532
- ) {
1533
- registerMemberAccount(
1534
- input: $input
1535
- referralCode: $referralCode
1536
- verificationCode: $verificationCode
1537
- reCAPTCHAResponse: $reCAPTCHAResponse
1538
- ) {
1539
- ... on AccountNameNotAvailableError {
1540
- name: __typename
1541
- message
1542
- }
1543
- ... on InvalidPlatformError {
1544
- name: __typename
1545
- message
1546
- }
1547
- ... on InvalidPlatformError {
1548
- name: __typename
1549
- message
1550
- }
1551
- ... on InvalidReCAPTCHAResponseError {
1552
- name: __typename
1553
- message
1554
- }
1555
- ... on InvalidSMSVerificationCodeError {
1556
- name: __typename
1557
- message
1558
- }
1559
- ... on MinimumAgeRequirementError {
1560
- name: __typename
1561
- message
1562
- }
1563
- ... on MobileNumberNotAvailableError {
1564
- name: __typename
1565
- message
1566
- }
1567
- ... on ReCAPTCHAVerificationFailedError {
1568
- name: __typename
1569
- message
1570
- }
1571
- }
1572
- }
1573
- `;
1574
- export const REGISTER_MEMBER_ACCOUNT_BY_NAME = /* GraphQL */ `
1575
- mutation RegisterMemberAccountByName(
1576
- $input: RegisterMemberAccountByNameInput!
1577
- $reCAPTCHAResponse: String!
1578
- ) {
1579
- registerMemberAccountByName(
1580
- input: $input
1581
- reCAPTCHAResponse: $reCAPTCHAResponse
1582
- ) {
1583
- ... on AccountNameNotAvailableError {
1584
- name: __typename
1585
- message
1586
- }
1587
- ... on InvalidPlatformError {
1588
- name: __typename
1589
- message
1590
- }
1591
- ... on InvalidReCAPTCHAResponseError {
1592
- name: __typename
1593
- message
1594
- }
1595
- }
1596
- }
1597
- `;
1598
- export const REGISTER_MEMBER_ACCOUNT_VIA_MOBILE = /* GraphQL */ `
1599
- mutation RegisterMemberAccountViaMobile(
1600
- $input: RegisterMemberAccountViaMobileInput!
1601
- $referralCode: String
1602
- $reCAPTCHAResponse: String
1603
- $verificationCode: String
1604
- ) {
1605
- registerMemberAccountViaMobile(
1606
- input: $input
1607
- referralCode: $referralCode
1608
- verificationCode: $verificationCode
1609
- reCAPTCHAResponse: $reCAPTCHAResponse
1610
- ) {
1611
- ... on InvalidPlatformError {
1612
- name: __typename
1613
- message
1614
- }
1615
- ... on InvalidReCAPTCHAResponseError {
1616
- name: __typename
1617
- message
1618
- }
1619
- ... on InvalidSMSVerificationCodeError {
1620
- name: __typename
1621
- message
1622
- }
1623
- ... on MobileNumberNotAvailableError {
1624
- name: __typename
1625
- message
1626
- }
1627
- ... on ReCAPTCHAVerificationFailedError {
1628
- name: __typename
1629
- message
1630
- }
1631
- }
1632
- }
1633
- `;
1634
- export const REGISTER_MEMBER_ACCOUNT__NEXT = /* GraphQL */ `
1635
- mutation RegisterMemberAccount(
1636
- $input: RegisterMemberAccountInput_next!
1637
- $reCAPTCHAResponse: String
1638
- ) {
1639
- registerMemberAccount: registerMemberAccount_next(
1640
- input: $input
1641
- reCAPTCHAResponse: $reCAPTCHAResponse
1642
- ) {
1643
- ... on AccountNameNotAvailableError {
1644
- name: __typename
1645
- message
1646
- }
1647
- ... on InvalidPlatformError {
1648
- name: __typename
1649
- message
1650
- }
1651
- ... on InvalidReCAPTCHAResponseError {
1652
- name: __typename
1653
- message
1654
- }
1655
- ... on InvalidSMSVerificationCodeError {
1656
- name: __typename
1657
- message
1658
- }
1659
- ... on MinimumAgeRequirementError {
1660
- name: __typename
1661
- message
1662
- }
1663
- ... on MobileNumberNotAvailableError {
1664
- name: __typename
1665
- message
1666
- }
1667
- ... on ReCAPTCHAVerificationFailedError {
1668
- name: __typename
1669
- message
1670
- }
1671
- }
1672
- }
1673
- `;
1674
- export const REGISTER_MAYA_MEMBER_ACCOUNT = /* GraphQL */ `
1675
- mutation RegisterMayaMemberAccount($input: RegisterMayaMemberAccountInput!) {
1676
- registerMayaMemberAccount(input: $input) {
1677
- ... on AccountNameNotAvailableError {
1678
- name: __typename
1679
- message
1680
- }
1681
- }
1682
- }
1683
- `;
1684
- export const UPDATE_MEMBER_ACCOUNT = /* GraphQL */ `
1685
- mutation UpdateMemberAccount($input: UpdateMemberAccountInput!) {
1686
- updateMemberAccount(input: $input) {
1687
- ... on AccountNameNotAvailableError {
1688
- name: __typename
1689
- message
1690
- }
1691
- ... on EmailAddressNotAvailableError {
1692
- name: __typename
1693
- message
1694
- }
1695
- ... on InvalidTransactionPasswordError {
1696
- name: __typename
1697
- message
1698
- }
1699
- ... on MobileNumberNotAvailableError {
1700
- name: __typename
1701
- message
1702
- }
1703
- ... on NickNameNotAvailableError {
1704
- name: __typename
1705
- message
1706
- }
1707
- ... on RealNameAlreadySetError {
1708
- name: __typename
1709
- message
1710
- }
1711
- ... on ValidIdAlreadySetError {
1712
- name: __typename
1713
- message
1714
- }
1715
- }
1716
- }
1717
- `;
1718
- export const RESET_PASSWORD = /* GraphQL */ `
1719
- mutation ResetPassword(
1720
- $input: ResetPasswordInput!
1721
- $verificationCode: String
1722
- ) {
1723
- resetPassword(input: $input, verificationCode: $verificationCode) {
1724
- ... on AccountNotFoundError {
1725
- name: __typename
1726
- message
1727
- }
1728
- ... on InvalidVerificationCodeError {
1729
- name: __typename
1730
- message
1731
- }
1732
- }
1733
- }
1734
- `;
1735
- export const DELETE_MEMBER_ACCOUNT = /* GraphQL */ `
1736
- mutation DeleteMemberAccount($input: DeleteMemberAccountInput!) {
1737
- deleteMemberAccount(input: $input)
1738
- }
1739
- `;
1740
- export const VERIFY_MOBILE_NUMBER = /* GraphQL */ `
1741
- mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {
1742
- verifyMobileNumber(input: $input) {
1743
- ... on InvalidSMSVerificationCodeError {
1744
- name: __typename
1745
- message
1746
- }
1747
- ... on MobileNumberAlreadyVerifiedError {
1748
- name: __typename
1749
- message
1750
- }
1751
- }
1752
- }
1753
- `;
1754
- export const CREATE_MEMBER_VERIFICATION = /* GraphQL */ `
1755
- mutation CreateMemberVerification($input: CreateMemberVerificationInput!) {
1756
- createMemberVerification(input: $input) {
1757
- ... on FileDoesNotExistError {
1758
- name: __typename
1759
- message
1760
- }
1761
- ... on FileNotReadyError {
1762
- name: __typename
1763
- message
1764
- }
1765
- ... on MemberVerificationAlreadyExistsError {
1766
- name: __typename
1767
- message
1768
- }
1769
- }
1770
- }
1771
- `;
1772
- export const CREATE_MEMBER_VERIFICATION__NEXT = /* GraphQL */ `
1773
- mutation CreateMemberVerification(
1774
- $input: CreateMemberVerificationInput_next!
1775
- ) {
1776
- createMemberVerification: createMemberVerification_next(input: $input) {
1777
- ... on FileDoesNotExistError {
1778
- name: __typename
1779
- message
1780
- }
1781
- ... on FileNotReadyError {
1782
- name: __typename
1783
- message
1784
- }
1785
- ... on MemberVerificationAlreadyExistsError {
1786
- name: __typename
1787
- message
1788
- }
1789
- }
1790
- }
1791
- `;
1792
- export const UPDATE_MEMBER_VERIFICATION = /* GraphQL */ `
1793
- mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {
1794
- updateMemberVerification(input: $input) {
1795
- ... on FileDoesNotExistError {
1796
- name: __typename
1797
- message
1798
- }
1799
- ... on FileNotReadyError {
1800
- name: __typename
1801
- message
1802
- }
1803
- ... on MemberVerificationAlreadyApprovedError {
1804
- name: __typename
1805
- message
1806
- }
1807
- ... on MemberVerificationDoesNotExistError {
1808
- name: __typename
1809
- message
1810
- }
1811
- }
1812
- }
1813
- `;
1814
- export const APPROVE_MEMBER_VERIFICATION__NEXT = /* GraphQL */ `
1815
- mutation SubmitMemberVerification($input: ApproveMemberVerificationInput!) {
1816
- submitMemberVerification(input: $input) {
1817
- ... on VerificationDataIncompleteError {
1818
- __typename
1819
- }
1820
- ... on MemberVerificationDoesNotExistError {
1821
- __typename
1822
- }
1823
- ... on MemberVerificationAlreadyApprovedError {
1824
- __typename
1825
- }
1826
- }
1827
- }
1828
- `;
1829
- export const UPDATE_MEMBER_VERIFICATION__NEXT = /* GraphQL */ `
1830
- mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {
1831
- updateMemberVerification: updateMemberVerification_next(input: $input) {
1832
- ... on FileDoesNotExistError {
1833
- __typename
1834
- }
1835
- ... on FileNotReadyError {
1836
- __typename
1837
- }
1838
- ... on MemberVerificationAlreadyApprovedError {
1839
- __typename
1840
- }
1841
- ... on MemberVerificationDoesNotExistError {
1842
- __typename
1843
- }
1844
- }
1845
- }
1846
- `;
1847
- export const PROFILE_COMPLETION = /* GraphQL */ `
1848
- query ProfileCompletion {
1849
- profileCompletion {
1850
- completionPercentage
1851
- personalInformation
1852
- accountVerification
1853
- mobileNumberVerification
1854
- transactionPassword
1855
- accountPassword
1856
- }
1857
- }
1858
- `;
1859
- export const REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER = /* GraphQL */ `
1860
- mutation RegisterMemberAccountByMobileNumber(
1861
- $input: RegisterMemberAccountByMobileNumberInput!
1862
- $mobileNumberVerificationCode: String!
1863
- ) {
1864
- registerMemberAccountByMobileNumber(
1865
- input: $input
1866
- mobileNumberVerificationCode: $mobileNumberVerificationCode
1867
- ) {
1868
- ... on MobileNumberNotAvailableError {
1869
- name: __typename
1870
- message
1871
- }
1872
- ... on InvalidSMSVerificationCodeError {
1873
- name: __typename
1874
- message
1875
- }
1876
- ... on InvalidPlatformError {
1877
- name: __typename
1878
- message
1879
- }
1880
- }
1881
- }
1882
- `;
1883
- export const PLATFORM = /* GraphQL */ `
1884
- query Platform {
1885
- timezone
1886
- currency
1887
- }
1888
- `;
1889
- export const PAYMENT_SETTINGS = /* GraphQL */ `
1890
- fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
1891
- minimumAmount
1892
- maximumAmount
1893
- webEnabled
1894
- mobileWebEnabled
1895
- androidEnabled
1896
- iosEnabled
1897
- bankAccountName
1898
- bankAccountNumber
1899
- bankIFSCCode
1900
- upiId
1901
- upiQRCode {
1902
- id
1903
- url
1904
- }
1905
- }
1906
-
1907
- fragment WithdrawalGatewaySettingsCoreData on WithdrawalGatewaySettings {
1908
- minimumAmount
1909
- maximumAmount
1910
- webEnabled
1911
- mobileWebEnabled
1912
- androidEnabled
1913
- iosEnabled
1914
- }
1915
-
1916
- query PaymentSettings {
1917
- minimumFirstDepositAmount
1918
- restrictWithdrawalsToVerifiedMembers
1919
- bankDepositGatewaySettings: depositGatewaySettings(gateway: BANK) {
1920
- ...DepositGatewaySettingsCoreData
1921
- }
1922
- libanganDepositGatewaySettings: depositGatewaySettings(
1923
- gateway: LIBANGAN_PAY_IN
1924
- ) {
1925
- ...DepositGatewaySettingsCoreData
1926
- }
1927
- gcashDepositGatewaySettings: depositGatewaySettings(gateway: GCASH) {
1928
- ...DepositGatewaySettingsCoreData
1929
- }
1930
- mayaDepositGatewaySettings: depositGatewaySettings(gateway: MAYA) {
1931
- ...DepositGatewaySettingsCoreData
1932
- }
1933
- mayaAppDepositGatewaySettings: depositGatewaySettings(gateway: MAYA_APP) {
1934
- ...DepositGatewaySettingsCoreData
1935
- }
1936
- onlineBankDepositGatewaySettings: depositGatewaySettings(
1937
- gateway: ONLINE_BANK
1938
- ) {
1939
- ...DepositGatewaySettingsCoreData
1940
- }
1941
- qrphDepositGatewaySettings: depositGatewaySettings(gateway: QR_PH) {
1942
- ...DepositGatewaySettingsCoreData
1943
- }
1944
- manualBankDepositGatewaySettings: depositGatewaySettings(
1945
- gateway: MANUAL_BANK
1946
- ) {
1947
- ...DepositGatewaySettingsCoreData
1948
- }
1949
- manualUPIDepositGatewaySettings: depositGatewaySettings(
1950
- gateway: MANUAL_UPI
1951
- ) {
1952
- ...DepositGatewaySettingsCoreData
1953
- }
1954
- pisoPayDepositGatewaySettings: depositGatewaySettings(
1955
- gateway: PISO_PAY_CHECKOUT
1956
- ) {
1957
- ...DepositGatewaySettingsCoreData
1958
- }
1959
- bankWithdrawalGatewaySettings: withdrawalGatewaySettings(gateway: BANK) {
1960
- ...WithdrawalGatewaySettingsCoreData
1961
- }
1962
- gcashWithdrawalGatewaySettings: withdrawalGatewaySettings(gateway: GCASH) {
1963
- ...WithdrawalGatewaySettingsCoreData
1964
- }
1965
- mayaWithdrawalGatewaySettings: withdrawalGatewaySettings(gateway: MAYA) {
1966
- ...WithdrawalGatewaySettingsCoreData
1967
- }
1968
- mayaAppWithdrawalGatewaySettings: withdrawalGatewaySettings(
1969
- gateway: MAYA_APP
1970
- ) {
1971
- ...WithdrawalGatewaySettingsCoreData
1972
- }
1973
- instapayWithdrawalGatewaySettings: withdrawalGatewaySettings(
1974
- gateway: INSTAPAY
1975
- ) {
1976
- ...WithdrawalGatewaySettingsCoreData
1977
- }
1978
- manualBankWithdrawalGatewaySettings: withdrawalGatewaySettings(
1979
- gateway: MANUAL_BANK
1980
- ) {
1981
- ...WithdrawalGatewaySettingsCoreData
1982
- }
1983
- manualUPIWithdrawalGatewaySettings: withdrawalGatewaySettings(
1984
- gateway: MANUAL_UPI
1985
- ) {
1986
- ...WithdrawalGatewaySettingsCoreData
1987
- }
1988
- ventajaWithdrawalGatewaySettings: withdrawalGatewaySettings(
1989
- gateway: VENTAJA_DISBURSEMENT
1990
- ) {
1991
- ...WithdrawalGatewaySettingsCoreData
1992
- }
1993
- pisoPayWithdrawalGatewaySettings: withdrawalGatewaySettings(
1994
- gateway: PISO_PAY_REMITTANCE
1995
- ) {
1996
- ...WithdrawalGatewaySettingsCoreData
1997
- }
1998
- }
1999
- `;
2000
- export const MAYA_SESSION = /* GraphQL */ `
2001
- query MayaSession($id: ObjectId!) {
2002
- mayaSession(id: $id) {
2003
- id
2004
- member
2005
- dateTimeCreated
2006
- }
2007
- }
2008
- `;
2009
- export const VALIDATE_MAYA_SESSION = /* GraphQL */ `
2010
- mutation ValidateMayaSession {
2011
- validateMayaSession: validMayaSession
2012
- }
2013
- `;
2014
- export const ACTIVITY_RECORDS = /* GraphQL */ `
2015
- query ActivityRecords(
2016
- $after: Cursor
2017
- $first: Int
2018
- $filter: ActivityRecordsFilterInput
2019
- ) {
2020
- member {
2021
- activityRecords(after: $after, first: $first, filter: $filter) {
2022
- edges {
2023
- cursor
2024
- node {
2025
- ... on MemberActivity {
2026
- id
2027
- type
2028
- amount
2029
- details
2030
- dateTimeCreated
2031
- }
2032
- }
2033
- }
2034
- totalCount
2035
- pageInfo {
2036
- hasNextPage
2037
- endCursor
2038
- }
2039
- }
2040
- }
2041
- }
2042
- `;
2043
- export const REFERRAL_CODE = /* GraphQL */ `
2044
- query ReferralCode {
2045
- referralCode
2046
- }
2047
- `;
2048
- export const UPDATE_REFERRAL_CODE = /* GraphQL */ `
2049
- mutation UpdateReferralCode($input: UpdateReferralCodeInput!) {
2050
- updateReferralCode(input: $input) {
2051
- ... on ReferralCodeNotAvailableError {
2052
- name: __typename
2053
- message
2054
- }
2055
- }
2056
- }
2057
- `;
2058
- export const REFERRAL_FRAGMENT = /* GraphQL */ `
2059
- fragment ReferralFragment on Referral {
2060
- id
2061
- upline {
2062
- id
2063
- name
2064
- realName
2065
- }
2066
- downline {
2067
- id
2068
- name
2069
- realName
2070
- }
2071
- level
2072
- turnover
2073
- commission
2074
- dateTimeCreated
2075
- }
2076
- `;
2077
- export const REFERRALS = /* GraphQL */ `
2078
- query Referrals($first: Int, $after: Cursor, $filter: ReferralFilterInput) {
2079
- member {
2080
- referrals(first: $first, after: $after, filter: $filter) {
2081
- edges {
2082
- cursor
2083
- node {
2084
- ... on Referral {
2085
- ...ReferralFragment
2086
- }
2087
- }
2088
- }
2089
- totalCount
2090
- pageInfo {
2091
- hasNextPage
2092
- endCursor
2093
- }
2094
- }
2095
- }
2096
- }
2097
-
2098
- ${REFERRAL_FRAGMENT}
2099
- `;
2100
- export const UPLINES_BY_NAME = /* GraphQL */ `
2101
- query UplinesByName($search: String!, $first: Int) {
2102
- uplinesByName(search: $search, first: $first) {
2103
- ...ReferralFragment
2104
- }
2105
- }
2106
-
2107
- ${REFERRAL_FRAGMENT}
2108
- `;
2109
- export const DOWNLINES_BY_NAME = /* GraphQL */ `
2110
- query DownlinesByName($search: String!, $first: Int) {
2111
- downlinesByName(search: $search, first: $first) {
2112
- ...ReferralFragment
2113
- }
2114
- }
2115
-
2116
- ${REFERRAL_FRAGMENT}
2117
- `;
2118
- export const REFERRAL_COMMISSION = /* GraphQL */ `
2119
- query ReferralCommission {
2120
- member {
2121
- referralCommission {
2122
- id
2123
- commission
2124
- dateTimeCreated
2125
- dateTimeLastUpdated
2126
- level1Commission
2127
- level1ReferralsCount
2128
- level2Commission
2129
- level2ReferralsCount
2130
- level3Commission
2131
- level3ReferralsCount
2132
- referralCode
2133
- referralsCount
2134
- }
2135
- }
2136
- }
2137
- `;
2138
- export const POINTS_CLUB_SETTINGS = /* GraphQL */ `
2139
- query PointsClubSettings {
2140
- pointsClubSettings {
2141
- multiplier
2142
- }
2143
- }
2144
- `;
2145
- export const MESSAGES = /* GraphQL */ `
2146
- query Messages($first: Int, $after: Cursor, $filter: MessageFilterInput) {
2147
- messages(first: $first, after: $after, filter: $filter) {
2148
- edges {
2149
- cursor
2150
- node {
2151
- ... on Message {
2152
- id
2153
- icon
2154
- image
2155
- title
2156
- content
2157
- popup
2158
- actions {
2159
- name
2160
- url
2161
- }
2162
- markedAsRead
2163
- dateTimeCreated
2164
- type
2165
- metadata {
2166
- ... on TournamentPayoutMessageMetadata {
2167
- tournament {
2168
- id
2169
- name
2170
- }
2171
- payout {
2172
- id
2173
- amount
2174
- }
2175
- }
2176
- }
2177
- }
2178
- }
2179
- }
2180
- totalCount
2181
- pageInfo {
2182
- hasNextPage
2183
- endCursor
2184
- }
2185
- }
2186
- }
2187
- `;
2188
- export const UNREAD_MESSAGES_COUNT = /* GraphQL */ `
2189
- query UnreadMessagesCount($filter: MessageFilterInput) {
2190
- messages(filter: $filter) {
2191
- totalCount
2192
- }
2193
- }
2194
- `;
2195
- export const MARK_MESSAGE_AS_READ = /* GraphQL */ `
2196
- mutation MarkMessageAsRead($id: ObjectId!) {
2197
- markMessageAsRead(id: $id)
2198
- }
2199
- `;
2200
- export const MARK_ALL_MESSAGES_AS_READ = /* GraphQL */ `
2201
- mutation MarkAllMessagesAsRead {
2202
- markAllMessagesAsRead
2203
- }
2204
- `;
2205
- export const CLAIM_REWARD = /* GraphQL */ `
2206
- mutation ClaimReward($id: ObjectId!) {
2207
- claimReward(id: $id) {
2208
- ... on RewardAlreadyClaimedError {
2209
- name: __typename
2210
- message
2211
- }
2212
- ... on RewardAlreadyExpiredError {
2213
- name: __typename
2214
- message
2215
- }
2216
- }
2217
- }
2218
- `;
2219
- export const CLAIM_SPOT_BONUS = /* GraphQL */ `
2220
- mutation ClaimSpotBonus($code: String!) {
2221
- claimSpotBonus(code: $code) {
2222
- ... on InvalidPromoCodeError {
2223
- name: __typename
2224
- message
2225
- }
2226
- ... on MaximumBonusesCountLimitExceededError {
2227
- name: __typename
2228
- message
2229
- }
2230
- ... on SpotBonusAlreadyClaimedError {
2231
- name: __typename
2232
- message
2233
- }
2234
- }
2235
- }
2236
- `;
2237
- export const ONBOARDING_STATUS = /* GraphQL */ `
2238
- query OnboardingStatus {
2239
- onboardingStatus
2240
- }
2241
- `;
2242
- export const COMPLETE_ONBOARDING = /* GraphQL */ `
2243
- mutation CompleteOnboarding($input: CompleteOnboardingInput!) {
2244
- completeOnboarding(input: $input)
2245
- }
2246
- `;
2247
- export const SKIP_ONBOARDING = /* GraphQL */ `
2248
- mutation SkipOnboarding {
2249
- skipOnboarding
2250
- }
2251
- `;
2252
- export const QUEST_PROGRAM_FRAGMENT = /* GraphQL */ `
2253
- fragment QuestProgramFragment on QuestProgram {
2254
- status
2255
- type
2256
- name
2257
- description
2258
- }
2259
- `;
2260
- export const DAILY_CHECKIN_FRAGMENT = /* GraphQL */ `
2261
- ${QUEST_PROGRAM_FRAGMENT}
2262
- fragment DailyCheckinQuestFragment on DailyCheckInQuest {
2263
- id
2264
- name
2265
- description
2266
- type
2267
- program {
2268
- ...QuestProgramFragment
2269
- }
2270
-
2271
- status
2272
- progressPercentage
2273
- turnover
2274
- endDateTime
2275
- dateTimeCreated
2276
- lastCheckInDate
2277
- startDateTime
2278
- checkInStreak
2279
-
2280
- thirdDayBonusAmount
2281
- seventhDayBonusAmount
2282
- sixthDayBonusAmount
2283
- }
2284
- `;
2285
- export const WAGERING_FRAGMENT = /* GraphQL */ `
2286
- fragment WageringQuestFragment on WageringQuest {
2287
- bonus
2288
- id
2289
- name
2290
- type
2291
- description
2292
- program {
2293
- ...QuestProgramFragment
2294
- }
2295
-
2296
- status
2297
- progressPercentage
2298
- turnover
2299
- targetTurnover
2300
- endDateTime
2301
- dateTimeCreated
2302
- }
2303
- `;
2304
- export const ONBOARDING_QUEST_FRAGMENT = /* GraphQL */ `
2305
- fragment OnboardingQuestFragment on OnboardingQuest {
2306
- id
2307
- name
2308
- description
2309
- program {
2310
- ...QuestProgramFragment
2311
- }
2312
-
2313
- status
2314
- type
2315
- progressPercentage
2316
- bonus
2317
- endDateTime
2318
- dateTimeCreated
2319
- firstDepositCompleted
2320
- accountVerificationCompleted
2321
- }
2322
- `;
2323
- export const AVAILABLE_QUESTS = /* GraphQL */ `
2324
- ${WAGERING_FRAGMENT}
2325
- ${DAILY_CHECKIN_FRAGMENT}
2326
- ${ONBOARDING_QUEST_FRAGMENT}
2327
-
2328
- query AvailableQuests {
2329
- availableQuests {
2330
- ... on Quest {
2331
- ... on WageringQuest {
2332
- ...WageringQuestFragment
2333
- }
2334
- ... on DailyCheckInQuest {
2335
- ...DailyCheckinQuestFragment
2336
- }
2337
- ... on OnboardingQuest {
2338
- ...OnboardingQuestFragment
2339
- }
2340
- }
2341
- }
2342
- }
2343
- `;
2344
- export const AVAILABLE_QUEST_IDS = /* GraphQL */ `
2345
- query AvailableQuestIds {
2346
- availableQuests {
2347
- ... on Node {
2348
- id
2349
- }
2350
- }
2351
- }
2352
- `;
2353
- export const CHECK_IN_DAILY_QUEST = /* GraphQL */ `
2354
- mutation checkInDailyCheckInQuest($input: CheckInDailyCheckInQuestInput!) {
2355
- checkInDailyCheckInQuest(input: $input)
2356
- }
2357
- `;
2358
- export const TOP_WINS = /* GraphQL */ `
2359
- query TopWins($first: Int) {
2360
- topWins(first: $first) {
2361
- id
2362
- game {
2363
- id
2364
- name
2365
- type
2366
- provider
2367
- }
2368
- member {
2369
- id
2370
- name
2371
- }
2372
- multiplier
2373
- payout
2374
- }
2375
- }
2376
- `;
2377
- export const JACKPOTS = /* GraphQL */ `
2378
- query Jackpots(
2379
- $first: Int
2380
- $after: Cursor
2381
- $sort: JackpotSortInput
2382
- $filter: JackpotFilterInput
2383
- ) {
2384
- jackpots(first: $first, after: $after, sort: $sort, filter: $filter) {
2385
- totalCount
2386
- pageInfo {
2387
- hasNextPage
2388
- endCursor
2389
- }
2390
- edges {
2391
- node {
2392
- ... on Jackpot {
2393
- id
2394
- name
2395
- description
2396
- pool
2397
- status
2398
- minimumJackpotPoolDrawingLimit
2399
- maximumJackpotPoolLimit
2400
- drawing
2401
- minimumMultiplier
2402
- minimumBet
2403
- jackpotPayoutPercentage
2404
- jackpotTurnoverContributionPercentagePerGameProvider
2405
- totalPayout
2406
- }
2407
- }
2408
- }
2409
- }
2410
- }
2411
- `;
2412
- export const JACKPOTS_COUNT = /* GraphQL */ `
2413
- query JackpotsCount($filter: JackpotFilterInput) {
2414
- jackpots(filter: $filter) {
2415
- totalCount
2416
- }
2417
- }
2418
- `;
2419
- export const JACKPOT_PAYOUTS = /* GraphQL */ `
2420
- query JackpotPayouts(
2421
- $first: Int
2422
- $after: Cursor
2423
- $sort: JackpotPayoutSortInput
2424
- $filter: JackpotPayoutFilterInput
2425
- ) {
2426
- jackpotPayouts(first: $first, after: $after, sort: $sort, filter: $filter) {
2427
- totalCount
2428
- pageInfo {
2429
- hasNextPage
2430
- endCursor
2431
- }
2432
- edges {
2433
- node {
2434
- ... on JackpotPayout {
2435
- id
2436
- member {
2437
- id
2438
- name
2439
- }
2440
- serialCode
2441
- jackpot {
2442
- id
2443
- name
2444
- }
2445
- multiplier
2446
- bet
2447
- amount
2448
- dateTimeCreated
2449
- game {
2450
- provider
2451
- }
2452
- }
2453
- }
2454
- }
2455
- }
2456
- }
2457
- `;
2458
- export const REGISTER_FCM_DEVICE = /* GraphQL */ `
2459
- mutation RegisterFCMDevice($input: RegisterFCMDeviceInput!) {
2460
- registerFCMDevice(input: $input)
2461
- }
2462
- `;
2463
- export const UNREGISTER_FCM_DEVICE = /* GraphQL */ `
2464
- mutation UnregisterFCMDevice($input: UnregisterFCMDeviceInput!) {
2465
- unregisterFCMDevice(input: $input)
2466
- }
2467
- `;
2468
- export const MARK_GAME_AS_FAVORITE = /* GraphQL */ `
2469
- mutation MarkGameAsFavorite($input: MarkGameAsFavoriteInput!) {
2470
- markGameAsFavorite(input: $input)
2471
- }
2472
- `;
2473
- export const UNMARK_GAME_AS_FAVORITE = /* GraphQL */ `
2474
- mutation UnmarkGameAsFavorite($input: UnmarkGameAsFavoriteInput!) {
2475
- unmarkGameAsFavorite(input: $input)
2476
- }
2477
- `;
2478
- export const FAVORITE_GAMES = /* GraphQL */ `
2479
- query FavoriteGames {
2480
- favoriteGames {
2481
- ... on Game {
2482
- id
2483
- name
2484
- type
2485
- provider
2486
- }
2487
- }
2488
- }
2489
- `;
2490
- export const GOOGLE_CLIENT_ID = /* GraphQL */ `
2491
- query GoogleClientId {
2492
- googleClientId
2493
- }
2494
- `;
2495
- export const TOURNAMENTS = /* GraphQL */ `
2496
- query Tournaments(
2497
- $first: Int
2498
- $after: Cursor
2499
- $filter: TournamentFilterInput
2500
- ) {
2501
- tournaments(first: $first, after: $after, filter: $filter) {
2502
- totalCount
2503
- pageInfo {
2504
- hasNextPage
2505
- endCursor
2506
- }
2507
- edges {
2508
- node {
2509
- ... on MultiplierTournament {
2510
- id
2511
- type
2512
- name
2513
- winnersCount
2514
- status
2515
- description
2516
- activationStartDateTime
2517
- activationEndDateTime
2518
- topPayouts {
2519
- id
2520
- multiplier
2521
- amount
2522
- member {
2523
- id
2524
- name
2525
- }
2526
- }
2527
- currentLeaderboard {
2528
- totalCount
2529
- edges {
2530
- node {
2531
- ... on TournamentLeaderboard {
2532
- id
2533
- username
2534
- multiplier
2535
- dateTimeCreated
2536
- }
2537
- }
2538
- }
2539
- }
2540
- previousLeaderboard {
2541
- totalCount
2542
- edges {
2543
- node {
2544
- ... on TournamentLeaderboard {
2545
- id
2546
- username
2547
- multiplier
2548
- dateTimeCreated
2549
- }
2550
- }
2551
- }
2552
- }
2553
- enabledGameProviders
2554
- frequency
2555
- mode
2556
- mobileBanner {
2557
- id
2558
- url
2559
- mimeType
2560
- }
2561
- webBanner {
2562
- id
2563
- url
2564
- mimeType
2565
- }
2566
- rewardSettings
2567
- }
2568
- }
2569
- }
2570
- }
2571
- }
2572
- `;
2573
- export const TOURNAMENTS_COUNT = /* GraphQL */ `
2574
- query TournamentsCount($filter: TournamentFilterInput) {
2575
- tournaments(filter: $filter) {
2576
- totalCount
2577
- }
2578
- }
1475
+ export const MEMBER_ACCOUNT = /* GraphQL */ `
1476
+ query MemberAccount {
1477
+ memberAccount: self {
1478
+ ... on MemberAccount {
1479
+ id
1480
+ name
1481
+ status
1482
+ realName
1483
+ emailAddress
1484
+ mobileNumber
1485
+ birthDay
1486
+ verified
1487
+ verificationStatus
1488
+ nickName
1489
+ validId
1490
+ mobileNumberVerified
1491
+ mobileNumberVerificationRequired
1492
+ transactionPassword
1493
+ secretAnswerSubmitted
1494
+ dateTimeCreated
1495
+ dateTimeLastUpdated
1496
+ }
1497
+ }
1498
+ }
1499
+ `;
1500
+ export const MEMBER_VERIFICATION = /* GraphQL */ `
1501
+ ${FILE_FRAGMENT}
1502
+
1503
+ query MemberVerification {
1504
+ memberAccount: self {
1505
+ ... on MemberAccount {
1506
+ verification {
1507
+ id
1508
+ status
1509
+ address
1510
+ permanentAddress
1511
+ sourceOfIncome
1512
+ natureOfWork
1513
+ nationality
1514
+ placeOfBirth
1515
+ idFrontImage {
1516
+ ...FileFragment
1517
+ }
1518
+ selfieImage {
1519
+ ...FileFragment
1520
+ }
1521
+ }
1522
+ }
1523
+ }
1524
+ }
1525
+ `;
1526
+ export const REGISTER_MEMBER_ACCOUNT = /* GraphQL */ `
1527
+ mutation RegisterMemberAccount(
1528
+ $input: RegisterMemberAccountInput!
1529
+ $referralCode: String
1530
+ $verificationCode: String
1531
+ $reCAPTCHAResponse: String
1532
+ ) {
1533
+ registerMemberAccount(
1534
+ input: $input
1535
+ referralCode: $referralCode
1536
+ verificationCode: $verificationCode
1537
+ reCAPTCHAResponse: $reCAPTCHAResponse
1538
+ ) {
1539
+ ... on AccountNameNotAvailableError {
1540
+ name: __typename
1541
+ message
1542
+ }
1543
+ ... on InvalidPlatformError {
1544
+ name: __typename
1545
+ message
1546
+ }
1547
+ ... on InvalidPlatformError {
1548
+ name: __typename
1549
+ message
1550
+ }
1551
+ ... on InvalidReCAPTCHAResponseError {
1552
+ name: __typename
1553
+ message
1554
+ }
1555
+ ... on InvalidSMSVerificationCodeError {
1556
+ name: __typename
1557
+ message
1558
+ }
1559
+ ... on MinimumAgeRequirementError {
1560
+ name: __typename
1561
+ message
1562
+ }
1563
+ ... on MobileNumberNotAvailableError {
1564
+ name: __typename
1565
+ message
1566
+ }
1567
+ ... on ReCAPTCHAVerificationFailedError {
1568
+ name: __typename
1569
+ message
1570
+ }
1571
+ }
1572
+ }
1573
+ `;
1574
+ export const REGISTER_MEMBER_ACCOUNT_BY_NAME = /* GraphQL */ `
1575
+ mutation RegisterMemberAccountByName(
1576
+ $input: RegisterMemberAccountByNameInput!
1577
+ $reCAPTCHAResponse: String!
1578
+ ) {
1579
+ registerMemberAccountByName(
1580
+ input: $input
1581
+ reCAPTCHAResponse: $reCAPTCHAResponse
1582
+ ) {
1583
+ ... on AccountNameNotAvailableError {
1584
+ name: __typename
1585
+ message
1586
+ }
1587
+ ... on InvalidPlatformError {
1588
+ name: __typename
1589
+ message
1590
+ }
1591
+ ... on InvalidReCAPTCHAResponseError {
1592
+ name: __typename
1593
+ message
1594
+ }
1595
+ }
1596
+ }
1597
+ `;
1598
+ export const REGISTER_MEMBER_ACCOUNT_VIA_MOBILE = /* GraphQL */ `
1599
+ mutation RegisterMemberAccountViaMobile(
1600
+ $input: RegisterMemberAccountViaMobileInput!
1601
+ $referralCode: String
1602
+ $reCAPTCHAResponse: String
1603
+ $verificationCode: String
1604
+ ) {
1605
+ registerMemberAccountViaMobile(
1606
+ input: $input
1607
+ referralCode: $referralCode
1608
+ verificationCode: $verificationCode
1609
+ reCAPTCHAResponse: $reCAPTCHAResponse
1610
+ ) {
1611
+ ... on InvalidPlatformError {
1612
+ name: __typename
1613
+ message
1614
+ }
1615
+ ... on InvalidReCAPTCHAResponseError {
1616
+ name: __typename
1617
+ message
1618
+ }
1619
+ ... on InvalidSMSVerificationCodeError {
1620
+ name: __typename
1621
+ message
1622
+ }
1623
+ ... on MobileNumberNotAvailableError {
1624
+ name: __typename
1625
+ message
1626
+ }
1627
+ ... on ReCAPTCHAVerificationFailedError {
1628
+ name: __typename
1629
+ message
1630
+ }
1631
+ }
1632
+ }
1633
+ `;
1634
+ export const REGISTER_MEMBER_ACCOUNT__NEXT = /* GraphQL */ `
1635
+ mutation RegisterMemberAccount(
1636
+ $input: RegisterMemberAccountInput_next!
1637
+ $reCAPTCHAResponse: String
1638
+ ) {
1639
+ registerMemberAccount: registerMemberAccount_next(
1640
+ input: $input
1641
+ reCAPTCHAResponse: $reCAPTCHAResponse
1642
+ ) {
1643
+ ... on AccountNameNotAvailableError {
1644
+ name: __typename
1645
+ message
1646
+ }
1647
+ ... on InvalidPlatformError {
1648
+ name: __typename
1649
+ message
1650
+ }
1651
+ ... on InvalidReCAPTCHAResponseError {
1652
+ name: __typename
1653
+ message
1654
+ }
1655
+ ... on InvalidSMSVerificationCodeError {
1656
+ name: __typename
1657
+ message
1658
+ }
1659
+ ... on MinimumAgeRequirementError {
1660
+ name: __typename
1661
+ message
1662
+ }
1663
+ ... on MobileNumberNotAvailableError {
1664
+ name: __typename
1665
+ message
1666
+ }
1667
+ ... on ReCAPTCHAVerificationFailedError {
1668
+ name: __typename
1669
+ message
1670
+ }
1671
+ }
1672
+ }
1673
+ `;
1674
+ export const REGISTER_MAYA_MEMBER_ACCOUNT = /* GraphQL */ `
1675
+ mutation RegisterMayaMemberAccount($input: RegisterMayaMemberAccountInput!) {
1676
+ registerMayaMemberAccount(input: $input) {
1677
+ ... on AccountNameNotAvailableError {
1678
+ name: __typename
1679
+ message
1680
+ }
1681
+ }
1682
+ }
1683
+ `;
1684
+ export const UPDATE_MEMBER_ACCOUNT = /* GraphQL */ `
1685
+ mutation UpdateMemberAccount($input: UpdateMemberAccountInput!) {
1686
+ updateMemberAccount(input: $input) {
1687
+ ... on AccountNameNotAvailableError {
1688
+ name: __typename
1689
+ message
1690
+ }
1691
+ ... on EmailAddressNotAvailableError {
1692
+ name: __typename
1693
+ message
1694
+ }
1695
+ ... on InvalidTransactionPasswordError {
1696
+ name: __typename
1697
+ message
1698
+ }
1699
+ ... on MobileNumberNotAvailableError {
1700
+ name: __typename
1701
+ message
1702
+ }
1703
+ ... on NickNameNotAvailableError {
1704
+ name: __typename
1705
+ message
1706
+ }
1707
+ ... on RealNameAlreadySetError {
1708
+ name: __typename
1709
+ message
1710
+ }
1711
+ ... on ValidIdAlreadySetError {
1712
+ name: __typename
1713
+ message
1714
+ }
1715
+ }
1716
+ }
1717
+ `;
1718
+ export const RESET_PASSWORD = /* GraphQL */ `
1719
+ mutation ResetPassword(
1720
+ $input: ResetPasswordInput!
1721
+ $verificationCode: String
1722
+ ) {
1723
+ resetPassword(input: $input, verificationCode: $verificationCode) {
1724
+ ... on AccountNotFoundError {
1725
+ name: __typename
1726
+ message
1727
+ }
1728
+ ... on InvalidVerificationCodeError {
1729
+ name: __typename
1730
+ message
1731
+ }
1732
+ }
1733
+ }
1734
+ `;
1735
+ export const DELETE_MEMBER_ACCOUNT = /* GraphQL */ `
1736
+ mutation DeleteMemberAccount($input: DeleteMemberAccountInput!) {
1737
+ deleteMemberAccount(input: $input)
1738
+ }
1739
+ `;
1740
+ export const VERIFY_MOBILE_NUMBER = /* GraphQL */ `
1741
+ mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {
1742
+ verifyMobileNumber(input: $input) {
1743
+ ... on InvalidSMSVerificationCodeError {
1744
+ name: __typename
1745
+ message
1746
+ }
1747
+ ... on MobileNumberAlreadyVerifiedError {
1748
+ name: __typename
1749
+ message
1750
+ }
1751
+ }
1752
+ }
1753
+ `;
1754
+ export const CREATE_MEMBER_VERIFICATION = /* GraphQL */ `
1755
+ mutation CreateMemberVerification($input: CreateMemberVerificationInput!) {
1756
+ createMemberVerification(input: $input) {
1757
+ ... on FileDoesNotExistError {
1758
+ name: __typename
1759
+ message
1760
+ }
1761
+ ... on FileNotReadyError {
1762
+ name: __typename
1763
+ message
1764
+ }
1765
+ ... on MemberVerificationAlreadyExistsError {
1766
+ name: __typename
1767
+ message
1768
+ }
1769
+ }
1770
+ }
1771
+ `;
1772
+ export const CREATE_MEMBER_VERIFICATION__NEXT = /* GraphQL */ `
1773
+ mutation CreateMemberVerification(
1774
+ $input: CreateMemberVerificationInput_next!
1775
+ ) {
1776
+ createMemberVerification: createMemberVerification_next(input: $input) {
1777
+ ... on FileDoesNotExistError {
1778
+ name: __typename
1779
+ message
1780
+ }
1781
+ ... on FileNotReadyError {
1782
+ name: __typename
1783
+ message
1784
+ }
1785
+ ... on MemberVerificationAlreadyExistsError {
1786
+ name: __typename
1787
+ message
1788
+ }
1789
+ }
1790
+ }
1791
+ `;
1792
+ export const UPDATE_MEMBER_VERIFICATION = /* GraphQL */ `
1793
+ mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {
1794
+ updateMemberVerification(input: $input) {
1795
+ ... on FileDoesNotExistError {
1796
+ name: __typename
1797
+ message
1798
+ }
1799
+ ... on FileNotReadyError {
1800
+ name: __typename
1801
+ message
1802
+ }
1803
+ ... on MemberVerificationAlreadyApprovedError {
1804
+ name: __typename
1805
+ message
1806
+ }
1807
+ ... on MemberVerificationDoesNotExistError {
1808
+ name: __typename
1809
+ message
1810
+ }
1811
+ }
1812
+ }
1813
+ `;
1814
+ export const APPROVE_MEMBER_VERIFICATION__NEXT = /* GraphQL */ `
1815
+ mutation SubmitMemberVerification($input: ApproveMemberVerificationInput!) {
1816
+ submitMemberVerification(input: $input) {
1817
+ ... on VerificationDataIncompleteError {
1818
+ __typename
1819
+ }
1820
+ ... on MemberVerificationDoesNotExistError {
1821
+ __typename
1822
+ }
1823
+ ... on MemberVerificationAlreadyApprovedError {
1824
+ __typename
1825
+ }
1826
+ }
1827
+ }
1828
+ `;
1829
+ export const UPDATE_MEMBER_VERIFICATION__NEXT = /* GraphQL */ `
1830
+ mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {
1831
+ updateMemberVerification: updateMemberVerification_next(input: $input) {
1832
+ ... on FileDoesNotExistError {
1833
+ __typename
1834
+ }
1835
+ ... on FileNotReadyError {
1836
+ __typename
1837
+ }
1838
+ ... on MemberVerificationAlreadyApprovedError {
1839
+ __typename
1840
+ }
1841
+ ... on MemberVerificationDoesNotExistError {
1842
+ __typename
1843
+ }
1844
+ }
1845
+ }
1846
+ `;
1847
+ export const PROFILE_COMPLETION = /* GraphQL */ `
1848
+ query ProfileCompletion {
1849
+ profileCompletion {
1850
+ completionPercentage
1851
+ personalInformation
1852
+ accountVerification
1853
+ mobileNumberVerification
1854
+ transactionPassword
1855
+ accountPassword
1856
+ }
1857
+ }
1858
+ `;
1859
+ export const REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER = /* GraphQL */ `
1860
+ mutation RegisterMemberAccountByMobileNumber(
1861
+ $input: RegisterMemberAccountByMobileNumberInput!
1862
+ $mobileNumberVerificationCode: String!
1863
+ ) {
1864
+ registerMemberAccountByMobileNumber(
1865
+ input: $input
1866
+ mobileNumberVerificationCode: $mobileNumberVerificationCode
1867
+ ) {
1868
+ ... on MobileNumberNotAvailableError {
1869
+ name: __typename
1870
+ message
1871
+ }
1872
+ ... on InvalidSMSVerificationCodeError {
1873
+ name: __typename
1874
+ message
1875
+ }
1876
+ ... on InvalidPlatformError {
1877
+ name: __typename
1878
+ message
1879
+ }
1880
+ }
1881
+ }
1882
+ `;
1883
+ export const PLATFORM = /* GraphQL */ `
1884
+ query Platform {
1885
+ timezone
1886
+ currency
1887
+ }
1888
+ `;
1889
+ export const PAYMENT_SETTINGS = /* GraphQL */ `
1890
+ fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
1891
+ minimumAmount
1892
+ maximumAmount
1893
+ webEnabled
1894
+ mobileWebEnabled
1895
+ androidEnabled
1896
+ iosEnabled
1897
+ bankAccountName
1898
+ bankAccountNumber
1899
+ bankIFSCCode
1900
+ upiId
1901
+ upiQRCode {
1902
+ id
1903
+ url
1904
+ }
1905
+ }
1906
+
1907
+ fragment WithdrawalGatewaySettingsCoreData on WithdrawalGatewaySettings {
1908
+ minimumAmount
1909
+ maximumAmount
1910
+ webEnabled
1911
+ mobileWebEnabled
1912
+ androidEnabled
1913
+ iosEnabled
1914
+ }
1915
+
1916
+ query PaymentSettings {
1917
+ minimumFirstDepositAmount
1918
+ restrictWithdrawalsToVerifiedMembers
1919
+ bankDepositGatewaySettings: depositGatewaySettings(gateway: BANK) {
1920
+ ...DepositGatewaySettingsCoreData
1921
+ }
1922
+ libanganDepositGatewaySettings: depositGatewaySettings(
1923
+ gateway: LIBANGAN_PAY_IN
1924
+ ) {
1925
+ ...DepositGatewaySettingsCoreData
1926
+ }
1927
+ gcashDepositGatewaySettings: depositGatewaySettings(gateway: GCASH) {
1928
+ ...DepositGatewaySettingsCoreData
1929
+ }
1930
+ mayaDepositGatewaySettings: depositGatewaySettings(gateway: MAYA) {
1931
+ ...DepositGatewaySettingsCoreData
1932
+ }
1933
+ mayaAppDepositGatewaySettings: depositGatewaySettings(gateway: MAYA_APP) {
1934
+ ...DepositGatewaySettingsCoreData
1935
+ }
1936
+ onlineBankDepositGatewaySettings: depositGatewaySettings(
1937
+ gateway: ONLINE_BANK
1938
+ ) {
1939
+ ...DepositGatewaySettingsCoreData
1940
+ }
1941
+ qrphDepositGatewaySettings: depositGatewaySettings(gateway: QR_PH) {
1942
+ ...DepositGatewaySettingsCoreData
1943
+ }
1944
+ manualBankDepositGatewaySettings: depositGatewaySettings(
1945
+ gateway: MANUAL_BANK
1946
+ ) {
1947
+ ...DepositGatewaySettingsCoreData
1948
+ }
1949
+ manualUPIDepositGatewaySettings: depositGatewaySettings(
1950
+ gateway: MANUAL_UPI
1951
+ ) {
1952
+ ...DepositGatewaySettingsCoreData
1953
+ }
1954
+ pisoPayDepositGatewaySettings: depositGatewaySettings(
1955
+ gateway: PISO_PAY_CHECKOUT
1956
+ ) {
1957
+ ...DepositGatewaySettingsCoreData
1958
+ }
1959
+ bankWithdrawalGatewaySettings: withdrawalGatewaySettings(gateway: BANK) {
1960
+ ...WithdrawalGatewaySettingsCoreData
1961
+ }
1962
+ gcashWithdrawalGatewaySettings: withdrawalGatewaySettings(gateway: GCASH) {
1963
+ ...WithdrawalGatewaySettingsCoreData
1964
+ }
1965
+ mayaWithdrawalGatewaySettings: withdrawalGatewaySettings(gateway: MAYA) {
1966
+ ...WithdrawalGatewaySettingsCoreData
1967
+ }
1968
+ mayaAppWithdrawalGatewaySettings: withdrawalGatewaySettings(
1969
+ gateway: MAYA_APP
1970
+ ) {
1971
+ ...WithdrawalGatewaySettingsCoreData
1972
+ }
1973
+ instapayWithdrawalGatewaySettings: withdrawalGatewaySettings(
1974
+ gateway: INSTAPAY
1975
+ ) {
1976
+ ...WithdrawalGatewaySettingsCoreData
1977
+ }
1978
+ manualBankWithdrawalGatewaySettings: withdrawalGatewaySettings(
1979
+ gateway: MANUAL_BANK
1980
+ ) {
1981
+ ...WithdrawalGatewaySettingsCoreData
1982
+ }
1983
+ manualUPIWithdrawalGatewaySettings: withdrawalGatewaySettings(
1984
+ gateway: MANUAL_UPI
1985
+ ) {
1986
+ ...WithdrawalGatewaySettingsCoreData
1987
+ }
1988
+ ventajaWithdrawalGatewaySettings: withdrawalGatewaySettings(
1989
+ gateway: VENTAJA_DISBURSEMENT
1990
+ ) {
1991
+ ...WithdrawalGatewaySettingsCoreData
1992
+ }
1993
+ pisoPayWithdrawalGatewaySettings: withdrawalGatewaySettings(
1994
+ gateway: PISO_PAY_REMITTANCE
1995
+ ) {
1996
+ ...WithdrawalGatewaySettingsCoreData
1997
+ }
1998
+ }
1999
+ `;
2000
+ export const MAYA_SESSION = /* GraphQL */ `
2001
+ query MayaSession($id: ObjectId!) {
2002
+ mayaSession(id: $id) {
2003
+ id
2004
+ member
2005
+ dateTimeCreated
2006
+ }
2007
+ }
2008
+ `;
2009
+ export const VALIDATE_MAYA_SESSION = /* GraphQL */ `
2010
+ mutation ValidateMayaSession {
2011
+ validateMayaSession: validMayaSession
2012
+ }
2013
+ `;
2014
+ export const ACTIVITY_RECORDS = /* GraphQL */ `
2015
+ query ActivityRecords(
2016
+ $after: Cursor
2017
+ $first: Int
2018
+ $filter: ActivityRecordsFilterInput
2019
+ ) {
2020
+ member {
2021
+ activityRecords(after: $after, first: $first, filter: $filter) {
2022
+ edges {
2023
+ cursor
2024
+ node {
2025
+ ... on MemberActivity {
2026
+ id
2027
+ type
2028
+ amount
2029
+ details
2030
+ dateTimeCreated
2031
+ }
2032
+ }
2033
+ }
2034
+ totalCount
2035
+ pageInfo {
2036
+ hasNextPage
2037
+ endCursor
2038
+ }
2039
+ }
2040
+ }
2041
+ }
2042
+ `;
2043
+ export const REFERRAL_CODE = /* GraphQL */ `
2044
+ query ReferralCode {
2045
+ referralCode
2046
+ }
2047
+ `;
2048
+ export const UPDATE_REFERRAL_CODE = /* GraphQL */ `
2049
+ mutation UpdateReferralCode($input: UpdateReferralCodeInput!) {
2050
+ updateReferralCode(input: $input) {
2051
+ ... on ReferralCodeNotAvailableError {
2052
+ name: __typename
2053
+ message
2054
+ }
2055
+ }
2056
+ }
2057
+ `;
2058
+ export const REFERRAL_FRAGMENT = /* GraphQL */ `
2059
+ fragment ReferralFragment on Referral {
2060
+ id
2061
+ upline {
2062
+ id
2063
+ name
2064
+ realName
2065
+ }
2066
+ downline {
2067
+ id
2068
+ name
2069
+ realName
2070
+ }
2071
+ level
2072
+ turnover
2073
+ commission
2074
+ dateTimeCreated
2075
+ }
2076
+ `;
2077
+ export const REFERRALS = /* GraphQL */ `
2078
+ query Referrals($first: Int, $after: Cursor, $filter: ReferralFilterInput) {
2079
+ member {
2080
+ referrals(first: $first, after: $after, filter: $filter) {
2081
+ edges {
2082
+ cursor
2083
+ node {
2084
+ ... on Referral {
2085
+ ...ReferralFragment
2086
+ }
2087
+ }
2088
+ }
2089
+ totalCount
2090
+ pageInfo {
2091
+ hasNextPage
2092
+ endCursor
2093
+ }
2094
+ }
2095
+ }
2096
+ }
2097
+
2098
+ ${REFERRAL_FRAGMENT}
2099
+ `;
2100
+ export const UPLINES_BY_NAME = /* GraphQL */ `
2101
+ query UplinesByName($search: String!, $first: Int) {
2102
+ uplinesByName(search: $search, first: $first) {
2103
+ ...ReferralFragment
2104
+ }
2105
+ }
2106
+
2107
+ ${REFERRAL_FRAGMENT}
2108
+ `;
2109
+ export const DOWNLINES_BY_NAME = /* GraphQL */ `
2110
+ query DownlinesByName($search: String!, $first: Int) {
2111
+ downlinesByName(search: $search, first: $first) {
2112
+ ...ReferralFragment
2113
+ }
2114
+ }
2115
+
2116
+ ${REFERRAL_FRAGMENT}
2117
+ `;
2118
+ export const REFERRAL_COMMISSION = /* GraphQL */ `
2119
+ query ReferralCommission {
2120
+ member {
2121
+ referralCommission {
2122
+ id
2123
+ commission
2124
+ dateTimeCreated
2125
+ dateTimeLastUpdated
2126
+ level1Commission
2127
+ level1ReferralsCount
2128
+ level2Commission
2129
+ level2ReferralsCount
2130
+ level3Commission
2131
+ level3ReferralsCount
2132
+ referralCode
2133
+ referralsCount
2134
+ }
2135
+ }
2136
+ }
2137
+ `;
2138
+ export const POINTS_CLUB_SETTINGS = /* GraphQL */ `
2139
+ query PointsClubSettings {
2140
+ pointsClubSettings {
2141
+ multiplier
2142
+ }
2143
+ }
2144
+ `;
2145
+ export const MESSAGES = /* GraphQL */ `
2146
+ query Messages($first: Int, $after: Cursor, $filter: MessageFilterInput) {
2147
+ messages(first: $first, after: $after, filter: $filter) {
2148
+ edges {
2149
+ cursor
2150
+ node {
2151
+ ... on Message {
2152
+ id
2153
+ icon
2154
+ image
2155
+ title
2156
+ content
2157
+ popup
2158
+ actions {
2159
+ name
2160
+ url
2161
+ }
2162
+ markedAsRead
2163
+ dateTimeCreated
2164
+ type
2165
+ metadata {
2166
+ ... on TournamentPayoutMessageMetadata {
2167
+ tournament {
2168
+ id
2169
+ name
2170
+ }
2171
+ payout {
2172
+ id
2173
+ amount
2174
+ }
2175
+ }
2176
+ }
2177
+ }
2178
+ }
2179
+ }
2180
+ totalCount
2181
+ pageInfo {
2182
+ hasNextPage
2183
+ endCursor
2184
+ }
2185
+ }
2186
+ }
2187
+ `;
2188
+ export const UNREAD_MESSAGES_COUNT = /* GraphQL */ `
2189
+ query UnreadMessagesCount($filter: MessageFilterInput) {
2190
+ messages(filter: $filter) {
2191
+ totalCount
2192
+ }
2193
+ }
2194
+ `;
2195
+ export const MARK_MESSAGE_AS_READ = /* GraphQL */ `
2196
+ mutation MarkMessageAsRead($id: ObjectId!) {
2197
+ markMessageAsRead(id: $id)
2198
+ }
2199
+ `;
2200
+ export const MARK_ALL_MESSAGES_AS_READ = /* GraphQL */ `
2201
+ mutation MarkAllMessagesAsRead {
2202
+ markAllMessagesAsRead
2203
+ }
2204
+ `;
2205
+ export const CLAIM_REWARD = /* GraphQL */ `
2206
+ mutation ClaimReward($id: ObjectId!) {
2207
+ claimReward(id: $id) {
2208
+ ... on RewardAlreadyClaimedError {
2209
+ name: __typename
2210
+ message
2211
+ }
2212
+ ... on RewardAlreadyExpiredError {
2213
+ name: __typename
2214
+ message
2215
+ }
2216
+ }
2217
+ }
2218
+ `;
2219
+ export const CLAIM_SPOT_BONUS = /* GraphQL */ `
2220
+ mutation ClaimSpotBonus($code: String!) {
2221
+ claimSpotBonus(code: $code) {
2222
+ ... on InvalidPromoCodeError {
2223
+ name: __typename
2224
+ message
2225
+ }
2226
+ ... on MaximumBonusesCountLimitExceededError {
2227
+ name: __typename
2228
+ message
2229
+ }
2230
+ ... on SpotBonusAlreadyClaimedError {
2231
+ name: __typename
2232
+ message
2233
+ }
2234
+ }
2235
+ }
2236
+ `;
2237
+ export const ONBOARDING_STATUS = /* GraphQL */ `
2238
+ query OnboardingStatus {
2239
+ onboardingStatus
2240
+ }
2241
+ `;
2242
+ export const COMPLETE_ONBOARDING = /* GraphQL */ `
2243
+ mutation CompleteOnboarding($input: CompleteOnboardingInput!) {
2244
+ completeOnboarding(input: $input)
2245
+ }
2246
+ `;
2247
+ export const SKIP_ONBOARDING = /* GraphQL */ `
2248
+ mutation SkipOnboarding {
2249
+ skipOnboarding
2250
+ }
2251
+ `;
2252
+ export const QUEST_PROGRAM_FRAGMENT = /* GraphQL */ `
2253
+ fragment QuestProgramFragment on QuestProgram {
2254
+ status
2255
+ type
2256
+ name
2257
+ description
2258
+ }
2259
+ `;
2260
+ export const DAILY_CHECKIN_FRAGMENT = /* GraphQL */ `
2261
+ ${QUEST_PROGRAM_FRAGMENT}
2262
+ fragment DailyCheckinQuestFragment on DailyCheckInQuest {
2263
+ id
2264
+ name
2265
+ description
2266
+ type
2267
+ program {
2268
+ ...QuestProgramFragment
2269
+ }
2270
+
2271
+ status
2272
+ progressPercentage
2273
+ turnover
2274
+ endDateTime
2275
+ dateTimeCreated
2276
+ lastCheckInDate
2277
+ startDateTime
2278
+ checkInStreak
2279
+
2280
+ thirdDayBonusAmount
2281
+ seventhDayBonusAmount
2282
+ sixthDayBonusAmount
2283
+ }
2284
+ `;
2285
+ export const WAGERING_FRAGMENT = /* GraphQL */ `
2286
+ fragment WageringQuestFragment on WageringQuest {
2287
+ bonus
2288
+ id
2289
+ name
2290
+ type
2291
+ description
2292
+ program {
2293
+ ...QuestProgramFragment
2294
+ }
2295
+
2296
+ status
2297
+ progressPercentage
2298
+ turnover
2299
+ targetTurnover
2300
+ endDateTime
2301
+ dateTimeCreated
2302
+ }
2303
+ `;
2304
+ export const ONBOARDING_QUEST_FRAGMENT = /* GraphQL */ `
2305
+ fragment OnboardingQuestFragment on OnboardingQuest {
2306
+ id
2307
+ name
2308
+ description
2309
+ program {
2310
+ ...QuestProgramFragment
2311
+ }
2312
+
2313
+ status
2314
+ type
2315
+ progressPercentage
2316
+ bonus
2317
+ endDateTime
2318
+ dateTimeCreated
2319
+ firstDepositCompleted
2320
+ accountVerificationCompleted
2321
+ }
2322
+ `;
2323
+ export const AVAILABLE_QUESTS = /* GraphQL */ `
2324
+ ${WAGERING_FRAGMENT}
2325
+ ${DAILY_CHECKIN_FRAGMENT}
2326
+ ${ONBOARDING_QUEST_FRAGMENT}
2327
+
2328
+ query AvailableQuests {
2329
+ availableQuests {
2330
+ ... on Quest {
2331
+ ... on WageringQuest {
2332
+ ...WageringQuestFragment
2333
+ }
2334
+ ... on DailyCheckInQuest {
2335
+ ...DailyCheckinQuestFragment
2336
+ }
2337
+ ... on OnboardingQuest {
2338
+ ...OnboardingQuestFragment
2339
+ }
2340
+ }
2341
+ }
2342
+ }
2343
+ `;
2344
+ export const AVAILABLE_QUEST_IDS = /* GraphQL */ `
2345
+ query AvailableQuestIds {
2346
+ availableQuests {
2347
+ ... on Node {
2348
+ id
2349
+ }
2350
+ }
2351
+ }
2352
+ `;
2353
+ export const CHECK_IN_DAILY_QUEST = /* GraphQL */ `
2354
+ mutation checkInDailyCheckInQuest($input: CheckInDailyCheckInQuestInput!) {
2355
+ checkInDailyCheckInQuest(input: $input)
2356
+ }
2357
+ `;
2358
+ export const TOP_WINS = /* GraphQL */ `
2359
+ query TopWins($first: Int) {
2360
+ topWins(first: $first) {
2361
+ id
2362
+ game {
2363
+ id
2364
+ name
2365
+ type
2366
+ provider
2367
+ }
2368
+ member {
2369
+ id
2370
+ name
2371
+ }
2372
+ multiplier
2373
+ payout
2374
+ }
2375
+ }
2376
+ `;
2377
+ export const JACKPOTS = /* GraphQL */ `
2378
+ query Jackpots(
2379
+ $first: Int
2380
+ $after: Cursor
2381
+ $sort: JackpotSortInput
2382
+ $filter: JackpotFilterInput
2383
+ ) {
2384
+ jackpots(first: $first, after: $after, sort: $sort, filter: $filter) {
2385
+ totalCount
2386
+ pageInfo {
2387
+ hasNextPage
2388
+ endCursor
2389
+ }
2390
+ edges {
2391
+ node {
2392
+ ... on Jackpot {
2393
+ id
2394
+ name
2395
+ description
2396
+ pool
2397
+ status
2398
+ minimumJackpotPoolDrawingLimit
2399
+ maximumJackpotPoolLimit
2400
+ drawing
2401
+ minimumMultiplier
2402
+ minimumBet
2403
+ jackpotPayoutPercentage
2404
+ jackpotTurnoverContributionPercentagePerGameProvider
2405
+ totalPayout
2406
+ }
2407
+ }
2408
+ }
2409
+ }
2410
+ }
2411
+ `;
2412
+ export const JACKPOTS_COUNT = /* GraphQL */ `
2413
+ query JackpotsCount($filter: JackpotFilterInput) {
2414
+ jackpots(filter: $filter) {
2415
+ totalCount
2416
+ }
2417
+ }
2418
+ `;
2419
+ export const JACKPOT_PAYOUTS = /* GraphQL */ `
2420
+ query JackpotPayouts(
2421
+ $first: Int
2422
+ $after: Cursor
2423
+ $sort: JackpotPayoutSortInput
2424
+ $filter: JackpotPayoutFilterInput
2425
+ ) {
2426
+ jackpotPayouts(first: $first, after: $after, sort: $sort, filter: $filter) {
2427
+ totalCount
2428
+ pageInfo {
2429
+ hasNextPage
2430
+ endCursor
2431
+ }
2432
+ edges {
2433
+ node {
2434
+ ... on JackpotPayout {
2435
+ id
2436
+ member {
2437
+ id
2438
+ name
2439
+ }
2440
+ serialCode
2441
+ jackpot {
2442
+ id
2443
+ name
2444
+ }
2445
+ multiplier
2446
+ bet
2447
+ amount
2448
+ dateTimeCreated
2449
+ game {
2450
+ provider
2451
+ }
2452
+ }
2453
+ }
2454
+ }
2455
+ }
2456
+ }
2457
+ `;
2458
+ export const REGISTER_FCM_DEVICE = /* GraphQL */ `
2459
+ mutation RegisterFCMDevice($input: RegisterFCMDeviceInput!) {
2460
+ registerFCMDevice(input: $input)
2461
+ }
2462
+ `;
2463
+ export const UNREGISTER_FCM_DEVICE = /* GraphQL */ `
2464
+ mutation UnregisterFCMDevice($input: UnregisterFCMDeviceInput!) {
2465
+ unregisterFCMDevice(input: $input)
2466
+ }
2467
+ `;
2468
+ export const MARK_GAME_AS_FAVORITE = /* GraphQL */ `
2469
+ mutation MarkGameAsFavorite($input: MarkGameAsFavoriteInput!) {
2470
+ markGameAsFavorite(input: $input)
2471
+ }
2472
+ `;
2473
+ export const UNMARK_GAME_AS_FAVORITE = /* GraphQL */ `
2474
+ mutation UnmarkGameAsFavorite($input: UnmarkGameAsFavoriteInput!) {
2475
+ unmarkGameAsFavorite(input: $input)
2476
+ }
2477
+ `;
2478
+ export const FAVORITE_GAMES = /* GraphQL */ `
2479
+ query FavoriteGames {
2480
+ favoriteGames {
2481
+ ... on Game {
2482
+ id
2483
+ name
2484
+ type
2485
+ provider
2486
+ }
2487
+ }
2488
+ }
2489
+ `;
2490
+ export const GOOGLE_CLIENT_ID = /* GraphQL */ `
2491
+ query GoogleClientId {
2492
+ googleClientId
2493
+ }
2494
+ `;
2495
+ export const TOURNAMENTS = /* GraphQL */ `
2496
+ query Tournaments(
2497
+ $first: Int
2498
+ $after: Cursor
2499
+ $filter: TournamentFilterInput
2500
+ ) {
2501
+ tournaments(first: $first, after: $after, filter: $filter) {
2502
+ totalCount
2503
+ pageInfo {
2504
+ hasNextPage
2505
+ endCursor
2506
+ }
2507
+ edges {
2508
+ node {
2509
+ ... on MultiplierTournament {
2510
+ id
2511
+ type
2512
+ name
2513
+ winnersCount
2514
+ status
2515
+ description
2516
+ activationStartDateTime
2517
+ activationEndDateTime
2518
+ topPayouts {
2519
+ id
2520
+ multiplier
2521
+ amount
2522
+ member {
2523
+ id
2524
+ name
2525
+ }
2526
+ }
2527
+ currentLeaderboard {
2528
+ totalCount
2529
+ edges {
2530
+ node {
2531
+ ... on TournamentLeaderboard {
2532
+ id
2533
+ username
2534
+ multiplier
2535
+ dateTimeCreated
2536
+ }
2537
+ }
2538
+ }
2539
+ }
2540
+ previousLeaderboard {
2541
+ totalCount
2542
+ edges {
2543
+ node {
2544
+ ... on TournamentLeaderboard {
2545
+ id
2546
+ username
2547
+ multiplier
2548
+ dateTimeCreated
2549
+ }
2550
+ }
2551
+ }
2552
+ }
2553
+ enabledGameProviders
2554
+ frequency
2555
+ mode
2556
+ mobileBanner {
2557
+ id
2558
+ url
2559
+ mimeType
2560
+ }
2561
+ webBanner {
2562
+ id
2563
+ url
2564
+ mimeType
2565
+ }
2566
+ rewardSettings
2567
+ }
2568
+ }
2569
+ }
2570
+ }
2571
+ }
2572
+ `;
2573
+ export const TOURNAMENTS_COUNT = /* GraphQL */ `
2574
+ query TournamentsCount($filter: TournamentFilterInput) {
2575
+ tournaments(filter: $filter) {
2576
+ totalCount
2577
+ }
2578
+ }
2579
2579
  `;