@opexa/portal-components 0.0.82 → 0.0.84

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