@opexa/portal-components 0.0.185 → 0.0.186

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