@opexa/portal-components 0.0.141 → 0.0.142

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