@opexa/portal-components 0.0.287 → 0.0.289

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 (230) 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/useAuthenticateMutation.js +4 -0
  4. package/dist/client/hooks/useSignInMutation.js +4 -0
  5. package/dist/client/services/index.d.ts +4 -0
  6. package/dist/client/services/index.js +4 -0
  7. package/dist/client/utils/index.d.ts +3 -0
  8. package/dist/client/utils/index.js +3 -0
  9. package/dist/client/utils/recaptcha.d.ts +14 -0
  10. package/dist/client/utils/recaptcha.js +18 -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/LibanganDeposit/LibanganDeposit.js +1 -1
  21. package/dist/components/DepositWithdrawal/Deposit/PisoPayDeposit/PisoPayDeposit.js +1 -1
  22. package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.d.ts +2 -3
  23. package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.js +1 -1
  24. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +2 -2
  25. package/dist/components/DigitainLauncher/DigitianContainter.js +2 -2
  26. package/dist/components/DigitainLauncher/types.d.ts +6 -1
  27. package/dist/components/Disclaimer/DisclaimerV2.js +11 -2
  28. package/dist/components/Empty.d.ts +9 -0
  29. package/dist/components/Empty.js +7 -0
  30. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  31. package/dist/components/Games/GameContext.d.ts +2 -0
  32. package/dist/components/Games/GameContext.js +2 -0
  33. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  34. package/dist/components/InfiniteScroll.d.ts +10 -0
  35. package/dist/components/InfiniteScroll.js +25 -0
  36. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +2 -0
  37. package/dist/components/JackpotCounter/JackpotCounter.client.js +66 -0
  38. package/dist/components/JackpotCounter/JackpotCounter.d.ts +17 -0
  39. package/dist/components/JackpotCounter/JackpotCounter.js +21 -0
  40. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +18 -0
  41. package/dist/components/JackpotCounter/JackpotCounterItem.js +109 -0
  42. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +184 -0
  43. package/dist/components/JackpotCounter/index.d.ts +1 -0
  44. package/dist/components/JackpotCounter/index.js +1 -0
  45. package/dist/components/Jackpots/JackpotDesktop.d.ts +1 -0
  46. package/dist/components/Jackpots/JackpotDesktop.js +45 -0
  47. package/dist/components/Jackpots/JackpotGameProviders.d.ts +5 -0
  48. package/dist/components/Jackpots/JackpotGameProviders.js +41 -0
  49. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +9 -0
  50. package/dist/components/Jackpots/JackpotItemDesktop.js +43 -0
  51. package/dist/components/Jackpots/JackpotItemMobile.d.ts +9 -0
  52. package/dist/components/Jackpots/JackpotItemMobile.js +44 -0
  53. package/dist/components/Jackpots/JackpotMobile.d.ts +1 -0
  54. package/dist/components/Jackpots/JackpotMobile.js +46 -0
  55. package/dist/components/Jackpots/JackpotRules.d.ts +5 -0
  56. package/dist/components/Jackpots/JackpotRules.js +11 -0
  57. package/dist/components/Jackpots/Jackpots.client.d.ts +2 -0
  58. package/dist/components/Jackpots/Jackpots.client.js +29 -0
  59. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  60. package/dist/components/Jackpots/JackpotsContext.d.ts +4 -0
  61. package/dist/components/Jackpots/JackpotsContext.js +3 -0
  62. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  63. package/dist/components/Jackpots/useJackpotData.d.ts +14 -0
  64. package/dist/components/Jackpots/useJackpotData.js +93 -0
  65. package/dist/components/Jackpots/useJackpotItemData.d.ts +20 -0
  66. package/dist/components/Jackpots/useJackpotItemData.js +87 -0
  67. package/dist/components/KYC/AutoOpen.js +8 -3
  68. package/dist/components/KYC/Header.d.ts +1 -0
  69. package/dist/components/KYC/Header.js +8 -0
  70. package/dist/components/KYC/Step1.d.ts +1 -0
  71. package/dist/components/KYC/Step1.js +13 -0
  72. package/dist/components/KYC/Step2.d.ts +1 -0
  73. package/dist/components/KYC/Step2.js +13 -0
  74. package/dist/components/KYC/Step3.d.ts +1 -0
  75. package/dist/components/KYC/Step3.js +13 -0
  76. package/dist/components/KYC/Step4.d.ts +1 -0
  77. package/dist/components/KYC/Step4.js +7 -0
  78. package/dist/components/KYC/utils.js +18 -18
  79. package/dist/components/Messages/Message.js +2 -3
  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/FeatureFlag.js +1 -1
  85. package/dist/components/PortalProvider/PortalProvider.d.ts +1 -5
  86. package/dist/components/PortalProvider/PortalProvider.js +4 -5
  87. package/dist/components/Promo/Promo.client.js +1 -1
  88. package/dist/components/Promo/PromoContent.d.ts +2 -0
  89. package/dist/components/Promo/PromoContent.js +9 -0
  90. package/dist/components/Promos/PromoCarousel.d.ts +2 -0
  91. package/dist/components/Promos/PromoCarousel.js +41 -0
  92. package/dist/components/Promos/PromoGrid.d.ts +2 -0
  93. package/dist/components/Promos/PromoGrid.js +12 -0
  94. package/dist/components/Promos/PromoItem.d.ts +7 -0
  95. package/dist/components/Promos/PromoItem.js +10 -0
  96. package/dist/components/Search/Search.lazy.js +1 -1
  97. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +7 -3
  98. package/dist/components/SignUp/SignUpForm.js +4 -0
  99. package/dist/components/SignUp/SignUpKYC/utils.js +18 -18
  100. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +2 -0
  101. package/dist/components/TournamentCounter/TournamentCounter.client.js +50 -0
  102. package/dist/components/TournamentCounter/TournamentCounter.d.ts +8 -0
  103. package/dist/components/TournamentCounter/TournamentCounter.js +21 -0
  104. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +8 -0
  105. package/dist/components/TournamentCounter/TournamentCounterItem.js +106 -0
  106. package/dist/components/TournamentCounter/index.d.ts +1 -0
  107. package/dist/components/TournamentCounter/index.js +1 -0
  108. package/dist/components/Tournaments/TournamentDesktop.d.ts +1 -0
  109. package/dist/components/Tournaments/TournamentDesktop.js +57 -0
  110. package/dist/components/Tournaments/TournamentGameProviders.d.ts +5 -0
  111. package/dist/components/Tournaments/TournamentGameProviders.js +38 -0
  112. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +7 -0
  113. package/dist/components/Tournaments/TournamentItemDesktop.js +56 -0
  114. package/dist/components/Tournaments/TournamentItemMobile.d.ts +7 -0
  115. package/dist/components/Tournaments/TournamentItemMobile.js +54 -0
  116. package/dist/components/Tournaments/TournamentMobile.d.ts +1 -0
  117. package/dist/components/Tournaments/TournamentMobile.js +55 -0
  118. package/dist/components/Tournaments/TournamentRules.d.ts +5 -0
  119. package/dist/components/Tournaments/TournamentRules.js +11 -0
  120. package/dist/components/Tournaments/Tournaments.client.d.ts +2 -0
  121. package/dist/components/Tournaments/Tournaments.client.js +20 -0
  122. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  123. package/dist/components/Tournaments/TournamentsContext.d.ts +4 -0
  124. package/dist/components/Tournaments/TournamentsContext.js +3 -0
  125. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  126. package/dist/components/Tournaments/useTournamentData.d.ts +10 -0
  127. package/dist/components/Tournaments/useTournamentData.js +72 -0
  128. package/dist/components/Tournaments/useTournamentItemData.d.ts +16 -0
  129. package/dist/components/Tournaments/useTournamentItemData.js +64 -0
  130. package/dist/components/index.d.ts +33 -0
  131. package/dist/components/index.js +33 -0
  132. package/dist/constants/EnvVar.d.ts +2 -1
  133. package/dist/constants/EnvVar.js +6 -0
  134. package/dist/constants/endpoints.d.ts +10 -0
  135. package/dist/constants/endpoints.js +41 -0
  136. package/dist/constants/envVars.d.ts +5 -0
  137. package/dist/constants/envVars.js +28 -0
  138. package/dist/constants/gameProviders.d.ts +76 -0
  139. package/dist/constants/gameProviders.js +361 -0
  140. package/dist/constants/gameTypes.d.ts +3 -0
  141. package/dist/constants/gameTypes.js +64 -0
  142. package/dist/constants/headerKeys.d.ts +2 -0
  143. package/dist/constants/headerKeys.js +2 -0
  144. package/dist/constants/secretQuestions.d.ts +3 -0
  145. package/dist/constants/secretQuestions.js +24 -0
  146. package/dist/constants/storageKeys.d.ts +2 -0
  147. package/dist/constants/storageKeys.js +2 -0
  148. package/dist/handlers/index.d.ts +2 -2
  149. package/dist/icons/index.d.ts +65 -0
  150. package/dist/icons/index.js +65 -0
  151. package/dist/images/hacksaw-gaming.png +0 -0
  152. package/dist/server/services/index.d.ts +4 -0
  153. package/dist/server/services/index.js +4 -0
  154. package/dist/server/utils/index.d.ts +29 -0
  155. package/dist/server/utils/index.js +29 -0
  156. package/dist/services/queries.js +2574 -2574
  157. package/dist/styles/theme.css +701 -697
  158. package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
  159. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
  160. package/dist/ui/Badge/Badge.d.ts +12 -12
  161. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  162. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  163. package/dist/ui/Carousel/Carousel.d.ts +72 -72
  164. package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
  165. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  166. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  167. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  168. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  169. package/dist/ui/Collapsible/Collapsible.d.ts +32 -32
  170. package/dist/ui/Collapsible/collapsible.recipe.d.ts +8 -8
  171. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  172. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  173. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  174. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  175. package/dist/ui/Dialog/Dialog.d.ts +88 -88
  176. package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
  177. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  178. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  179. package/dist/ui/Field/Field.d.ts +21 -21
  180. package/dist/ui/Field/field.recipe.d.ts +3 -3
  181. package/dist/ui/Menu/Menu.d.ts +306 -306
  182. package/dist/ui/Menu/menu.recipe.d.ts +17 -17
  183. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  184. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  185. package/dist/ui/Popover/Popover.d.ts +88 -88
  186. package/dist/ui/Popover/popover.recipe.d.ts +8 -8
  187. package/dist/ui/Presence.d.ts +2 -0
  188. package/dist/ui/Presence.js +7 -0
  189. package/dist/ui/Progress/Progress.d.ts +27 -27
  190. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  191. package/dist/ui/Prose.d.ts +2 -0
  192. package/dist/ui/Prose.js +5 -0
  193. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  194. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  195. package/dist/ui/Select/Select.d.ts +45 -45
  196. package/dist/ui/Select/select.recipe.d.ts +3 -3
  197. package/dist/ui/Table/Table.d.ts +21 -21
  198. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  199. package/dist/ui/Table/table.recipe.d.ts +3 -3
  200. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  201. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  202. package/dist/ui/index.d.ts +26 -0
  203. package/dist/ui/index.js +26 -0
  204. package/dist/utils/createErrorFromCode.d.ts +2 -0
  205. package/dist/utils/createErrorFromCode.js +11 -0
  206. package/dist/utils/index.d.ts +17 -0
  207. package/dist/utils/index.js +17 -0
  208. package/dist/utils/isMobile.d.ts +5 -0
  209. package/dist/utils/isMobile.js +9 -0
  210. package/dist/utils/resizeImageSize.d.ts +0 -1
  211. package/dist/utils/resizeImageSize.js +0 -5
  212. package/package.json +163 -163
  213. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +0 -1
  214. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +0 -198
  215. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +0 -1
  216. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +0 -251
  217. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +0 -10
  218. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +0 -41
  219. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +0 -1
  220. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +0 -429
  221. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +0 -13
  222. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +0 -26
  223. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +0 -7
  224. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +0 -2
  225. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +0 -11
  226. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +0 -20
  227. package/dist/handlers/postTransformIdFrontImage.d.ts +0 -3
  228. package/dist/handlers/postTransformIdFrontImage.js +0 -67
  229. package/dist/handlers/postTransformSelfieImage.d.ts +0 -3
  230. package/dist/handlers/postTransformSelfieImage.js +0 -71
@@ -0,0 +1,5 @@
1
+ export declare const SITE_ID: string;
2
+ export declare const PLATFORM_ID: string;
3
+ export declare const PLATFORM_CODE: string;
4
+ export declare const ENVIRONMENT: "production" | "development";
5
+ export declare const BYPASS_RECAPTCHA: boolean;
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ export const SITE_ID = z
3
+ .string()
4
+ .min(1, 'Environment variable "NEXT_PUBLIC_SITE_ID" must be 1 or more characters')
5
+ .max(32, 'Environment variable "NEXT_PUBLIC_SITE_ID" must not be more than 32 characters')
6
+ .trim()
7
+ .parse(process.env.NEXT_PUBLIC_SITE_ID);
8
+ export const PLATFORM_ID = z
9
+ .string()
10
+ .min(1, 'Environment variable "NEXT_PUBLIC_PLATFORM_ID" must be 1 or more characters')
11
+ .max(32, 'Environment variable "NEXT_PUBLIC_PLATFORM_ID" must not be more than 32 characters')
12
+ .trim()
13
+ .parse(process.env.NEXT_PUBLIC_PLATFORM_ID);
14
+ export const PLATFORM_CODE = z
15
+ .string()
16
+ .min(4, 'Environment variable "NEXT_PUBLIC_PLATFORM_CODE" must be at least 4 characters')
17
+ .max(8, 'Environment variable "NEXT_PUBLIC_PLATFORM_CODE" must not be more than 8 characters')
18
+ .trim()
19
+ .parse(process.env.NEXT_PUBLIC_PLATFORM_CODE);
20
+ export const ENVIRONMENT = z
21
+ .enum(['production', 'development'])
22
+ .catch('development')
23
+ .parse(process.env.NEXT_PUBLIC_ENVIRONMENT);
24
+ export const BYPASS_RECAPTCHA = z
25
+ .any()
26
+ .transform(Boolean)
27
+ .catch(false)
28
+ .parse(process.env.NEXT_PUBLIC_BYPASS_RECAPTCHA);
@@ -0,0 +1,76 @@
1
+ import type { GameProvider, GameProviderData } from '../types';
2
+ export declare const GAME_PROVIDER_DATA: Record<GameProvider, GameProviderData>;
3
+ export declare const GAME_PROVIDERS: [
4
+ 'ALIZE',
5
+ 'BGAMING',
6
+ 'BOOONGO',
7
+ 'EVOPLAY',
8
+ 'BTI',
9
+ 'CQ9',
10
+ 'DARWIN',
11
+ 'DG',
12
+ 'DRBINGO',
13
+ 'E2E',
14
+ 'ETENGJUE',
15
+ 'EVOLUTION',
16
+ 'EVOLUTION_REDTIGER',
17
+ 'EZUGI',
18
+ 'FACHAI',
19
+ 'HABANERO',
20
+ 'HACKSAW',
21
+ 'HOLLYWOODTV',
22
+ 'JDB',
23
+ 'JILI',
24
+ 'JDBGTF',
25
+ 'JOKER',
26
+ 'JDBSPRIBE',
27
+ 'JILI_BINGO',
28
+ 'KINGMAKER',
29
+ 'KINGMIDAS',
30
+ 'MEGA2SPIN',
31
+ 'MICROGAMING',
32
+ 'MEGABALL',
33
+ 'ONEAPI_EVOLUTION',
34
+ 'PGSOFT',
35
+ 'PLAYTECH',
36
+ 'PRAGMATICPLAY',
37
+ 'RELAXGAMING',
38
+ 'RTG',
39
+ 'SABA',
40
+ 'SPINIX',
41
+ 'SPRIBE',
42
+ 'YELLOWBAT',
43
+ 'EVOLUTION_NETENT',
44
+ ];
45
+ export declare const LEGACY_GAME_PROVIDERS: [
46
+ 'JILI',
47
+ 'PGSOFT',
48
+ 'FACHAI',
49
+ 'BTI',
50
+ 'DG',
51
+ 'PLAYTECH',
52
+ 'E2E',
53
+ 'ONEAPI_EVOLUTION',
54
+ 'CQ9',
55
+ 'JDB',
56
+ 'HABANERO',
57
+ 'SPINIX',
58
+ 'JOKER',
59
+ 'HACKSAW',
60
+ 'JDBGTF',
61
+ 'JDBSPRIBE',
62
+ 'MICROGAMING',
63
+ 'RELAXGAMING',
64
+ 'EVOPLAY',
65
+ 'BOOONGO',
66
+ 'BGAMING',
67
+ 'KINGMAKER',
68
+ 'KINGMIDAS',
69
+ 'YELLOWBAT',
70
+ 'ETENGJUE',
71
+ 'SABA',
72
+ 'PRAGMATICPLAY',
73
+ 'SPRIBE',
74
+ 'EZUGI',
75
+ 'ALIZE',
76
+ ];
@@ -0,0 +1,361 @@
1
+ import alize from '../images/game-providers/ALIZE.png';
2
+ import bgaming from '../images/game-providers/BGAMING.png';
3
+ import booongo from '../images/game-providers/BOOOONGO.png';
4
+ import bti from '../images/game-providers/BTI.png';
5
+ import cq9 from '../images/game-providers/CQ9.png';
6
+ import darwin from '../images/game-providers/DARWIN.png';
7
+ import dg from '../images/game-providers/DG.png';
8
+ import drbingo from '../images/game-providers/DRBINGO.png';
9
+ import e2e from '../images/game-providers/E2E.png';
10
+ import evolution from '../images/game-providers/EVOLUTION.png';
11
+ import evolutionNetent from '../images/game-providers/EVOLUTION_NETENT.png';
12
+ import evolutionRedTiger from '../images/game-providers/EVOLUTION_REDTIGER.png';
13
+ import evoplay from '../images/game-providers/EVOPLAY.png';
14
+ import ezugi from '../images/game-providers/EZUGI.png';
15
+ import fachai from '../images/game-providers/FACHAI.png';
16
+ import habanero from '../images/game-providers/HABANERO.png';
17
+ import hacksaw from '../images/game-providers/HACKSAW.png';
18
+ import hollywoodtv from '../images/game-providers/HOLLYWOODTV.png';
19
+ import jdb from '../images/game-providers/JDB.png';
20
+ import jdbGtf from '../images/game-providers/JDB_GTF.png';
21
+ import jdbSpribe from '../images/game-providers/JDB_SPRIBE.png';
22
+ import jili from '../images/game-providers/JILI.png';
23
+ import joker from '../images/game-providers/JOKER.png';
24
+ import kingmaker from '../images/game-providers/KINGMAKER.png';
25
+ import kingmidas from '../images/game-providers/KINGMIDAS.png';
26
+ import mega2spin from '../images/game-providers/MEGA2SPIN.png';
27
+ import megaball from '../images/game-providers/MEGABALL.png';
28
+ import microgaming from '../images/game-providers/MICROGAMING.png';
29
+ import oneapi from '../images/game-providers/ONEAPI.png';
30
+ import pgsoft from '../images/game-providers/PGSOFT.png';
31
+ import playtech from '../images/game-providers/PLAYTECH.png';
32
+ import pragmaticplay from '../images/game-providers/PRAGMATIC_PLAY.png';
33
+ import relaxgaming from '../images/game-providers/RELAX_GAMING.png';
34
+ import rtg from '../images/game-providers/RTG.png';
35
+ import saba from '../images/game-providers/SABA.png';
36
+ import spinix from '../images/game-providers/SPINIX.png';
37
+ import spribe from '../images/game-providers/SPRIBE.png';
38
+ import yellowbat from '../images/game-providers/YELLOWBAT.png';
39
+ export const GAME_PROVIDER_DATA = {
40
+ ALIZE: {
41
+ id: 'ALIZE',
42
+ name: 'Alize',
43
+ slug: 'alize',
44
+ logo: alize,
45
+ },
46
+ BGAMING: {
47
+ id: 'BGAMING',
48
+ name: 'BGaming',
49
+ slug: 'bgaming',
50
+ logo: bgaming,
51
+ },
52
+ BOOONGO: {
53
+ id: 'BOOONGO',
54
+ name: 'Booongo',
55
+ slug: 'booongo',
56
+ logo: booongo,
57
+ },
58
+ EVOPLAY: {
59
+ id: 'EVOPLAY',
60
+ name: 'Evoplay',
61
+ slug: 'evoplay',
62
+ logo: evoplay,
63
+ },
64
+ BTI: {
65
+ id: 'BTI',
66
+ name: 'BTI',
67
+ slug: 'bti',
68
+ logo: bti,
69
+ },
70
+ CQ9: {
71
+ id: 'CQ9',
72
+ name: 'CQ9',
73
+ slug: 'cq9',
74
+ logo: cq9,
75
+ },
76
+ DARWIN: {
77
+ id: 'DARWIN',
78
+ name: 'Darwin',
79
+ slug: 'darwin',
80
+ logo: darwin,
81
+ },
82
+ DG: {
83
+ id: 'DG',
84
+ name: 'DG',
85
+ slug: 'dg',
86
+ logo: dg,
87
+ },
88
+ DRBINGO: {
89
+ id: 'DRBINGO',
90
+ name: 'DrBingo',
91
+ slug: 'drbingo',
92
+ logo: drbingo,
93
+ },
94
+ E2E: {
95
+ id: 'E2E',
96
+ name: 'E2E',
97
+ slug: 'e2e',
98
+ logo: e2e,
99
+ },
100
+ ETENGJUE: {
101
+ id: 'ETENGJUE',
102
+ name: 'Etengjue',
103
+ slug: 'etengjue',
104
+ logo: '',
105
+ },
106
+ EVOLUTION: {
107
+ id: 'EVOLUTION',
108
+ name: 'Evolution',
109
+ slug: 'evolution',
110
+ logo: evolution,
111
+ },
112
+ EVOLUTION_REDTIGER: {
113
+ id: 'EVOLUTION_REDTIGER',
114
+ name: 'Evolution RedTiger',
115
+ slug: 'evolution-redtiger',
116
+ logo: evolutionRedTiger,
117
+ },
118
+ EZUGI: {
119
+ id: 'EZUGI',
120
+ name: 'Ezugi',
121
+ slug: 'ezugi',
122
+ logo: ezugi,
123
+ },
124
+ FACHAI: {
125
+ id: 'FACHAI',
126
+ name: 'Fachai',
127
+ slug: 'fachai',
128
+ logo: fachai,
129
+ },
130
+ HABANERO: {
131
+ id: 'HABANERO',
132
+ name: 'Habanero',
133
+ slug: 'habanero',
134
+ logo: habanero,
135
+ },
136
+ HACKSAW: {
137
+ id: 'HACKSAW',
138
+ name: 'Hacksaw',
139
+ slug: 'hacksaw',
140
+ logo: hacksaw,
141
+ },
142
+ HOLLYWOODTV: {
143
+ id: 'HOLLYWOODTV',
144
+ name: 'HollywoodTV',
145
+ slug: 'hollywoodtv',
146
+ logo: hollywoodtv,
147
+ },
148
+ JDB: {
149
+ id: 'JDB',
150
+ name: 'JDB',
151
+ slug: 'jdb',
152
+ logo: jdb,
153
+ },
154
+ JILI: {
155
+ id: 'JILI',
156
+ name: 'Jili',
157
+ slug: 'jili',
158
+ logo: jili,
159
+ },
160
+ JDBGTF: {
161
+ id: 'JDBGTF',
162
+ name: 'JDB GTF',
163
+ slug: 'jdb-gtf',
164
+ logo: jdbGtf,
165
+ },
166
+ JOKER: {
167
+ id: 'JOKER',
168
+ name: 'Joker',
169
+ slug: 'joker',
170
+ logo: joker,
171
+ },
172
+ JDBSPRIBE: {
173
+ id: 'JDBSPRIBE',
174
+ name: 'JDB Spribe',
175
+ slug: 'jdb-spribe',
176
+ logo: jdbSpribe,
177
+ },
178
+ JILI_BINGO: {
179
+ id: 'JILI_BINGO',
180
+ name: 'Jili Bingo',
181
+ slug: 'jili-bingo',
182
+ logo: jili,
183
+ },
184
+ KINGMAKER: {
185
+ id: 'KINGMAKER',
186
+ name: 'Kingmaker',
187
+ slug: 'kingmaker',
188
+ logo: kingmaker,
189
+ },
190
+ KINGMIDAS: {
191
+ id: 'KINGMIDAS',
192
+ name: 'King Midas',
193
+ slug: 'kingmidas',
194
+ logo: kingmidas,
195
+ },
196
+ MEGA2SPIN: {
197
+ id: 'MEGA2SPIN',
198
+ name: 'Mega2Spin',
199
+ slug: 'mega2spin',
200
+ logo: mega2spin,
201
+ },
202
+ MICROGAMING: {
203
+ id: 'MICROGAMING',
204
+ name: 'Microgaming',
205
+ slug: 'microgaming',
206
+ logo: microgaming,
207
+ },
208
+ MEGABALL: {
209
+ id: 'MEGABALL',
210
+ name: 'MegaBall',
211
+ slug: 'megaball',
212
+ logo: megaball,
213
+ },
214
+ ONEAPI_EVOLUTION: {
215
+ id: 'ONEAPI_EVOLUTION',
216
+ name: 'OneAPI Evolution',
217
+ slug: 'oneapi-evolution',
218
+ logo: oneapi,
219
+ },
220
+ PGSOFT: {
221
+ id: 'PGSOFT',
222
+ name: 'PG',
223
+ slug: 'pgsoft',
224
+ logo: pgsoft,
225
+ },
226
+ PLAYTECH: {
227
+ id: 'PLAYTECH',
228
+ name: 'Playtech',
229
+ slug: 'playtech',
230
+ logo: playtech,
231
+ },
232
+ PRAGMATICPLAY: {
233
+ id: 'PRAGMATICPLAY',
234
+ name: 'Pragmatic Play',
235
+ slug: 'pragmaticplay',
236
+ logo: pragmaticplay,
237
+ },
238
+ RELAXGAMING: {
239
+ id: 'RELAXGAMING',
240
+ name: 'Relax Gaming',
241
+ slug: 'relaxgaming',
242
+ logo: relaxgaming,
243
+ },
244
+ RTG: {
245
+ id: 'RTG',
246
+ name: 'RTG',
247
+ slug: 'rtg',
248
+ logo: rtg,
249
+ },
250
+ SABA: {
251
+ id: 'SABA',
252
+ name: 'SABA',
253
+ slug: 'saba',
254
+ logo: saba,
255
+ },
256
+ SPINIX: {
257
+ id: 'SPINIX',
258
+ name: 'Spinix',
259
+ slug: 'spinix',
260
+ logo: spinix,
261
+ },
262
+ SPRIBE: {
263
+ id: 'SPRIBE',
264
+ name: 'Spribe',
265
+ slug: 'spribe',
266
+ logo: spribe,
267
+ },
268
+ YELLOWBAT: {
269
+ id: 'YELLOWBAT',
270
+ name: 'YellowBat',
271
+ slug: 'yellowbat',
272
+ logo: yellowbat,
273
+ },
274
+
275
+ EVOLUTION_NETENT: {
276
+ id: 'EVOLUTION_NETENT',
277
+ name: 'Evolution Netent',
278
+ slug: 'evolution-netent',
279
+ logo: evolutionNetent,
280
+ },
281
+ DIGITAIN: {
282
+ id: 'DIGITAIN',
283
+ name: 'Digitain',
284
+ slug: 'digitain',
285
+ logo: '',
286
+ },
287
+ };
288
+ export const GAME_PROVIDERS = [
289
+ 'ALIZE',
290
+ 'BGAMING',
291
+ 'BOOONGO',
292
+ 'EVOPLAY',
293
+ 'BTI',
294
+ 'CQ9',
295
+ 'DARWIN',
296
+ 'DG',
297
+ 'DRBINGO',
298
+ 'E2E',
299
+ 'ETENGJUE',
300
+ 'EVOLUTION',
301
+ 'EVOLUTION_REDTIGER',
302
+ 'EZUGI',
303
+ 'FACHAI',
304
+ 'HABANERO',
305
+ 'HACKSAW',
306
+ 'HOLLYWOODTV',
307
+ 'JDB',
308
+ 'JILI',
309
+ 'JDBGTF',
310
+ 'JOKER',
311
+ 'JDBSPRIBE',
312
+ 'JILI_BINGO',
313
+ 'KINGMAKER',
314
+ 'KINGMIDAS',
315
+ 'MEGA2SPIN',
316
+ 'MICROGAMING',
317
+ 'MEGABALL',
318
+ 'ONEAPI_EVOLUTION',
319
+ 'PGSOFT',
320
+ 'PLAYTECH',
321
+ 'PRAGMATICPLAY',
322
+ 'RELAXGAMING',
323
+ 'RTG',
324
+ 'SABA',
325
+ 'SPINIX',
326
+ 'SPRIBE',
327
+ 'YELLOWBAT',
328
+ 'EVOLUTION_NETENT',
329
+ ];
330
+ export const LEGACY_GAME_PROVIDERS = [
331
+ 'JILI',
332
+ 'PGSOFT',
333
+ 'FACHAI',
334
+ 'BTI',
335
+ 'DG',
336
+ 'PLAYTECH',
337
+ 'E2E',
338
+ 'ONEAPI_EVOLUTION',
339
+ 'CQ9',
340
+ 'JDB',
341
+ 'HABANERO',
342
+ 'SPINIX',
343
+ 'JOKER',
344
+ 'HACKSAW',
345
+ 'JDBGTF',
346
+ 'JDBSPRIBE',
347
+ 'MICROGAMING',
348
+ 'RELAXGAMING',
349
+ 'EVOPLAY',
350
+ 'BOOONGO',
351
+ 'BGAMING',
352
+ 'KINGMAKER',
353
+ 'KINGMIDAS',
354
+ 'YELLOWBAT',
355
+ 'ETENGJUE',
356
+ 'SABA',
357
+ 'PRAGMATICPLAY',
358
+ 'SPRIBE',
359
+ 'EZUGI',
360
+ 'ALIZE',
361
+ ];
@@ -0,0 +1,3 @@
1
+ import type { GameType, GameTypeData } from '../types';
2
+ export declare const GAME_TYPE_DATA: Record<GameType, GameTypeData>;
3
+ export declare const GAME_TYPES: ["ARCADE", "BINGO", "FISHING", "GAMES", "LIVE", "NUMERICAL", "SLOTS", "SPECIALTY", "SPORTS", "TABLE"];
@@ -0,0 +1,64 @@
1
+ export const GAME_TYPE_DATA = {
2
+ ARCADE: {
3
+ id: 'ARCADE',
4
+ name: 'Arcade',
5
+ slug: 'arcade',
6
+ },
7
+ BINGO: {
8
+ id: 'BINGO',
9
+ name: 'Bingo',
10
+ slug: 'bingo',
11
+ },
12
+ FISHING: {
13
+ id: 'FISHING',
14
+ name: 'Fishing',
15
+ slug: 'fishing',
16
+ },
17
+ GAMES: {
18
+ id: 'GAMES',
19
+ name: 'Games',
20
+ slug: 'games',
21
+ },
22
+ LIVE: {
23
+ id: 'LIVE',
24
+ name: 'Live',
25
+ slug: 'live',
26
+ },
27
+ NUMERICAL: {
28
+ id: 'NUMERICAL',
29
+ name: 'Numerical',
30
+ slug: 'numerical',
31
+ },
32
+ SLOTS: {
33
+ id: 'SLOTS',
34
+ name: 'Slots',
35
+ slug: 'slots',
36
+ },
37
+ SPECIALTY: {
38
+ id: 'SPECIALTY',
39
+ name: 'Specialty',
40
+ slug: 'specialty',
41
+ },
42
+ SPORTS: {
43
+ id: 'SPORTS',
44
+ name: 'Sports',
45
+ slug: 'sports',
46
+ },
47
+ TABLE: {
48
+ id: 'TABLE',
49
+ name: 'Table',
50
+ slug: 'table',
51
+ },
52
+ };
53
+ export const GAME_TYPES = [
54
+ 'ARCADE',
55
+ 'BINGO',
56
+ 'FISHING',
57
+ 'GAMES',
58
+ 'LIVE',
59
+ 'NUMERICAL',
60
+ 'SLOTS',
61
+ 'SPECIALTY',
62
+ 'SPORTS',
63
+ 'TABLE',
64
+ ];
@@ -0,0 +1,2 @@
1
+ export declare const RECAPTCHA_HEADER_KEY: string;
2
+ export declare const TEST_PASS_HEADER_KEY: string;
@@ -0,0 +1,2 @@
1
+ export const RECAPTCHA_HEADER_KEY = 'Google-Recaptcha-Response';
2
+ export const TEST_PASS_HEADER_KEY = 'Test-Pass';
@@ -0,0 +1,3 @@
1
+ import type { SecretQuestion } from '../types';
2
+ export declare const SECRET_QUESTIONS: ["BEST_CHILDHOOD_FRIEND", "BIRTH_PLACE", "FAVORITE_BOOK", "FAVORITE_MOVIE", "FAVORITE_TEACHER", "FIRST_CAR", "FIRST_PET", "FIRST_SCHOOL", "MOTHERS_MAIDEN_NAME", "PARENTS_MET_CITY"];
3
+ export declare const SECRET_QUESTIONS_MAP: Record<SecretQuestion, string>;
@@ -0,0 +1,24 @@
1
+ export const SECRET_QUESTIONS = [
2
+ 'BEST_CHILDHOOD_FRIEND',
3
+ 'BIRTH_PLACE',
4
+ 'FAVORITE_BOOK',
5
+ 'FAVORITE_MOVIE',
6
+ 'FAVORITE_TEACHER',
7
+ 'FIRST_CAR',
8
+ 'FIRST_PET',
9
+ 'FIRST_SCHOOL',
10
+ 'MOTHERS_MAIDEN_NAME',
11
+ 'PARENTS_MET_CITY',
12
+ ];
13
+ export const SECRET_QUESTIONS_MAP = {
14
+ BEST_CHILDHOOD_FRIEND: 'What was the name of your best childhood friend?',
15
+ BIRTH_PLACE: 'What city were you born in?',
16
+ FAVORITE_BOOK: 'What is your favorite book?',
17
+ FAVORITE_MOVIE: 'What is your favorite movie?',
18
+ FAVORITE_TEACHER: 'Who was your favorite teacher in school?',
19
+ FIRST_CAR: 'What was the make and model of your first car?',
20
+ FIRST_PET: 'What was the name of your first pet?',
21
+ FIRST_SCHOOL: 'What was the name of your first school?',
22
+ MOTHERS_MAIDEN_NAME: "What is your mother's maiden name?",
23
+ PARENTS_MET_CITY: 'In what city did your parents meet?',
24
+ };
@@ -0,0 +1,2 @@
1
+ export declare const ACCESS_TOKEN_COOKIE_NAME: string;
2
+ export declare const REFRESH_TOKEN_COOKIE_NAME: string;
@@ -0,0 +1,2 @@
1
+ export const ACCESS_TOKEN_COOKIE_NAME = 'WebPortalAuthAccessToken';
2
+ export const REFRESH_TOKEN_COOKIE_NAME = 'WebPortalAuthRefreshToken';
@@ -18,14 +18,14 @@ export declare const GET: (req: NextRequest, { params }: Context) => Promise<Nex
18
18
  __error?: unknown;
19
19
  } | {
20
20
  ok: true;
21
- data: import("../types").Session;
21
+ data: Record<string, unknown>;
22
22
  }> | NextResponse<{
23
23
  ok: false;
24
24
  message: string;
25
25
  __error?: unknown;
26
26
  } | {
27
27
  ok: true;
28
- data: Record<string, unknown>;
28
+ data: import("../types").Session;
29
29
  }>>;
30
30
  export declare const DELETE: (req: NextRequest, { params }: Context) => Promise<NextResponse<{
31
31
  ok: true;
@@ -0,0 +1,65 @@
1
+ export * from './AlertCircleIcon';
2
+ export * from './AlertTriangle';
3
+ export * from './Announcement01Icon';
4
+ export * from './ArrowLeftIcon';
5
+ export * from './ArrowNarrowDownIcon';
6
+ export * from './ArrowNarrowUpIcon';
7
+ export * from './ArrowNarrowUpRightIcon';
8
+ export * from './ArrowRightIcon';
9
+ export * from './Award01Icon';
10
+ export * from './Award02Icon';
11
+ export * from './BankIcon';
12
+ export * from './Bell01Icon';
13
+ export * from './BellRingIcon';
14
+ export * from './CalendarIcon';
15
+ export * from './Camera01Icon';
16
+ export * from './CheckCircleBrokenIcon';
17
+ export * from './CheckCircleIcon';
18
+ export * from './CheckIcon';
19
+ export * from './CheckVerified02Icon';
20
+ export * from './ChevronDownIcon';
21
+ export * from './ChevronLeftIcon';
22
+ export * from './ChevronRightIcon';
23
+ export * from './ChevronUpIcon';
24
+ export * from './ClockStopWatchIcon';
25
+ export * from './CoinsHandIcon';
26
+ export * from './CoinsStacked02Icon';
27
+ export * from './CoinsSwap02Icon';
28
+ export * from './CreditCard02Icon';
29
+ export * from './CreditCardCheckIcon';
30
+ export * from './Diamond01Icon';
31
+ export * from './Expand03Icon';
32
+ export * from './EyeIcon';
33
+ export * from './EyeOffIcon';
34
+ export * from './FacebookIcon';
35
+ export * from './FaceIdIcon';
36
+ export * from './File02Icon';
37
+ export * from './FileCheck02Icon';
38
+ export * from './FileSearch02Icon';
39
+ export * from './FileX02Icon';
40
+ export * from './GamingPad01Icon';
41
+ export * from './Gift01Icon';
42
+ export * from './Globe05Icon';
43
+ export * from './GoogleIcon';
44
+ export * from './HelpCircleIcon';
45
+ export * from './InfoCircleIcon';
46
+ export * from './Lock01Icon';
47
+ export * from './Logout01Icon';
48
+ export * from './MarkerPin06Icon';
49
+ export * from './Menu01Icon';
50
+ export * from './Menu03Icon';
51
+ export * from './PiggyBank02Icon';
52
+ export * from './QrCode02Icon';
53
+ export * from './SearchLgIcon';
54
+ export * from './SearchRefractionIcon';
55
+ export * from './Settings02Icon';
56
+ export * from './SpinnerIcon';
57
+ export * from './Star01Icon';
58
+ export * from './StarIcon';
59
+ export * from './StopWatchIcon';
60
+ export * from './Target04Icon';
61
+ export * from './Trophy01Icon';
62
+ export * from './UploadCloud02Icon';
63
+ export * from './User01Icon';
64
+ export * from './Wallet02Icon';
65
+ export * from './XIcon';