@opexa/portal-components 0.0.124 → 0.0.126

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