@opexa/portal-components 0.0.192 → 0.0.194

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