@opexa/portal-components 0.0.1026 → 0.0.1028

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 (67) hide show
  1. package/dist/components/Bonuses/Bonuses.client.js +8 -3
  2. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
  3. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
  4. package/dist/components/KYC/KYCReview.js +2 -5
  5. package/dist/components/shared/SelfieImageField/useSelfieImageField.js +8 -1
  6. package/dist/schemas/forgotPasswordSchema.d.ts +4 -4
  7. package/dist/services/queries.d.ts +7 -7
  8. package/dist/services/queries.js +1 -0
  9. package/dist/types/index.d.ts +1 -0
  10. package/dist/ui/AlertDialog/AlertDialog.d.ts +220 -220
  11. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +20 -20
  12. package/dist/ui/Avatar/Avatar.d.ts +9 -9
  13. package/dist/ui/Avatar/avatar.recipe.d.ts +3 -3
  14. package/dist/ui/Carousel/Carousel.d.ts +72 -72
  15. package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
  16. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  17. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  18. package/dist/ui/Collapsible/Collapsible.d.ts +32 -32
  19. package/dist/ui/Collapsible/collapsible.recipe.d.ts +8 -8
  20. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  21. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  22. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  23. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  24. package/dist/ui/Dialog/Dialog.d.ts +33 -33
  25. package/dist/ui/Dialog/dialog.recipe.d.ts +3 -3
  26. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  27. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  28. package/dist/ui/Field/Field.d.ts +21 -21
  29. package/dist/ui/Field/field.recipe.d.ts +3 -3
  30. package/dist/ui/Menu/Menu.d.ts +360 -360
  31. package/dist/ui/Menu/menu.recipe.d.ts +20 -20
  32. package/dist/ui/NumberInput/NumberInput.d.ts +24 -24
  33. package/dist/ui/NumberInput/numberInput.recipe.d.ts +3 -3
  34. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  35. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  36. package/dist/ui/PinInput/PinInput.d.ts +12 -12
  37. package/dist/ui/PinInput/pinInput.recipe.d.ts +3 -3
  38. package/dist/ui/Popover/Popover.d.ts +220 -220
  39. package/dist/ui/Popover/popover.recipe.d.ts +20 -20
  40. package/dist/ui/Progress/Progress.d.ts +27 -27
  41. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  42. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  43. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  44. package/dist/ui/Select/Select.d.ts +45 -45
  45. package/dist/ui/Select/select.recipe.d.ts +3 -3
  46. package/dist/ui/Table/Table.d.ts +21 -21
  47. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  48. package/dist/ui/Table/table.recipe.d.ts +3 -3
  49. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  50. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  51. package/dist/ui/Tooltip/Tooltip.d.ts +48 -48
  52. package/dist/ui/Tooltip/tooltip.recipe.d.ts +8 -8
  53. package/dist/utils/isIOS.d.ts +5 -0
  54. package/dist/utils/isIOS.js +26 -0
  55. package/package.json +1 -1
  56. package/dist/client/hooks/useVerifyMobileNumber.d.ts +0 -3
  57. package/dist/client/hooks/useVerifyMobileNumber.js +0 -20
  58. package/dist/components/DepositWithdrawal/Deposit/AurixPayPayMayaDeposit/AurixPayGrabPayDeposit.d.ts +0 -1
  59. package/dist/components/DepositWithdrawal/Deposit/AurixPayPayMayaDeposit/AurixPayGrabPayDeposit.js +0 -241
  60. package/dist/components/SingleSignOn/SingleSignOn.d.ts +0 -4
  61. package/dist/components/SingleSignOn/SingleSignOn.js +0 -185
  62. package/dist/components/SingleSignOn/index.d.ts +0 -1
  63. package/dist/components/SingleSignOn/index.js +0 -1
  64. package/dist/lib/components/UpdateMobilePhoneNumber/UpdateMobilePhoneNumber.d.ts +0 -1
  65. package/dist/lib/components/UpdateMobilePhoneNumber/UpdateMobilePhoneNumber.js +0 -152
  66. package/dist/lib/components/UpdateMobilePhoneNumber/index.d.ts +0 -1
  67. package/dist/lib/components/UpdateMobilePhoneNumber/index.js +0 -1
@@ -71,7 +71,12 @@ function Bonus(props) {
71
71
  const bonus = props.data;
72
72
  const promo = bonus.promo;
73
73
  const localeInfo = useLocaleInfo();
74
- const remainingTime = useRemainingTime(bonus.expiration);
74
+ const targetDate = useMemo(() => {
75
+ const date = new Date(bonus.dateTimeCreated);
76
+ date.setDate(date.getDate() + bonus.promo.daysToClear);
77
+ return date;
78
+ }, [bonus.dateTimeCreated, bonus.promo.daysToClear]);
79
+ const remainingTime = useRemainingTime(targetDate);
75
80
  const currentTurnoverRequirementContributionPercentage = parseDecimal(bonus.currentTurnoverRequirementContributionPercentage, 0);
76
81
  const turnoverRequirement = parseDecimal(bonus.turnoverRequirement, 0);
77
82
  return (_jsxs("div", { className: "flex flex-col overflow-hidden rounded-2xl border border-border-primary bg-bg-tertiary", children: [_jsxs("div", { className: "relative", children: [promo.banner?.url ? (_jsx(Image, { src: promo.banner.url, alt: "", width: 400, height: 200, className: "h-[11.25rem] w-full object-cover" })) : (_jsx("div", { style: {
@@ -114,7 +119,7 @@ function CashbackBonus(props) {
114
119
  belowMinimumCashbackThreshold;
115
120
  return (_jsxs("div", { className: "flex flex-col overflow-hidden rounded-2xl border border-border-primary bg-bg-tertiary", children: [cashback.banner?.url ? (_jsx(Image, { src: cashback.banner.url, alt: "", width: 400, height: 200, className: "h-[11.25rem] w-full object-cover" })) : (_jsx("div", { style: {
116
121
  background: 'radial-gradient(75.21% 75.21% at 50% 50%, rgba(249, 163, 8, 0.3) 0%, rgba(0, 0, 0, 0) 100%), var(--color-bg-primary-alt)',
117
- }, children: _jsx(Image, { src: moneyOnHand, alt: "", className: "mx-auto h-[11.25rem] w-auto shrink-0 object-cover", draggable: false, width: 600, height: 600 }) })), _jsxs("div", { className: "flex grow flex-col px-xl py-3xl", children: [_jsx("p", { className: "line-clamp-1 text-center font-semibold text-xl", children: cashback.name }), _jsx("h2", { className: 'mt-2 text-center font-semibold text-3xl', children: formatNumber(currentAccumulatedCashbackAmount, {
122
+ }, children: _jsx(Image, { src: moneyOnHand, alt: "", className: "mx-auto h-[11.25rem] w-auto shrink-0 object-cover", draggable: false, width: 600, height: 600 }) })), _jsxs("div", { className: "flex grow flex-col px-xl py-3xl", children: [_jsx("p", { className: "line-clamp-1 text-center font-semibold text-xl", children: cashback.name }), _jsx("h2", { className: "mt-2 text-center font-semibold text-3xl", children: formatNumber(currentAccumulatedCashbackAmount, {
118
123
  currency: localeInfo.currency.code,
119
124
  minDecimalPlaces: 2,
120
125
  }) }), _jsx("div", { className: "mt-2 line-clamp-1 text-center text-sm text-text-secondary-700", dangerouslySetInnerHTML: {
@@ -139,5 +144,5 @@ function SpotBonus() {
139
144
  }, className: "mt-6", children: "Enter Promo Code" })] })] }));
140
145
  }
141
146
  function BonusesEmptyState({ heading }) {
142
- return (_jsxs("div", { className: "col-span-full mt-11 flex w-full flex-col items-center justify-center lg:col-span-3", children: [_jsx(Image, { width: 151, height: 107, src: moneyOnHand, alt: "Money on hand", className: 'size-full h-auto w-[151px] mix-blend-luminosity' }), _jsxs("div", { className: "mt-4 font-semibold text-base text-text-primary-900", children: ["No ", heading, " Rewards"] }), _jsxs("div", { className: "mt-1 text-center text-sm text-text-tertiary-600", children: ["No ", heading, " Rewards are running at the moment. ", _jsx("br", {}), "Please check back later!"] })] }));
147
+ return (_jsxs("div", { className: "col-span-full mt-11 flex w-full flex-col items-center justify-center lg:col-span-3", children: [_jsx(Image, { width: 151, height: 107, src: moneyOnHand, alt: "Money on hand", className: "size-full h-auto w-[151px] mix-blend-luminosity" }), _jsxs("div", { className: "mt-4 font-semibold text-base text-text-primary-900", children: ["No ", heading, " Rewards"] }), _jsxs("div", { className: "mt-1 text-center text-sm text-text-tertiary-600", children: ["No ", heading, " Rewards are running at the moment. ", _jsx("br", {}), "Please check back later!"] })] }));
143
148
  }
@@ -1,7 +1,7 @@
1
1
  export declare const OnlineBankDepositContext: (props: {
2
2
  value: {
3
3
  view: "form" | "vca";
4
- status: "failed" | "waiting" | "processing" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
4
+ status: "waiting" | "failed" | "processing" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
5
5
  verify: () => void;
6
6
  reset: () => void;
7
7
  deposit: import("../../../../types").Deposit | null;
@@ -14,7 +14,7 @@ export declare const OnlineBankDepositContext: (props: {
14
14
  children?: import("react").ReactNode | undefined;
15
15
  }) => React.ReactNode, useOnlineBankDepositContext: () => {
16
16
  view: "form" | "vca";
17
- status: "failed" | "waiting" | "processing" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
17
+ status: "waiting" | "failed" | "processing" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
18
18
  verify: () => void;
19
19
  reset: () => void;
20
20
  deposit: import("../../../../types").Deposit | null;
@@ -2,7 +2,7 @@ import type { Deposit } from '../../../../types';
2
2
  export type UseOnlineBankDepositReturn = ReturnType<typeof useOnlineBankDeposit>;
3
3
  export declare function useOnlineBankDeposit(): {
4
4
  view: "form" | "vca";
5
- status: "failed" | "waiting" | "processing" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
5
+ status: "waiting" | "failed" | "processing" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
6
6
  verify: () => void;
7
7
  reset: () => void;
8
8
  deposit: Deposit | null;
@@ -3,7 +3,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import Image from 'next/image';
4
4
  import { useState } from 'react';
5
5
  import { useShallow } from 'zustand/shallow';
6
- import { useFeatureFlag } from '../../client/hooks/useFeatureFlag.js';
7
6
  import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
8
7
  import { getSession } from '../../client/services/getSession.js';
9
8
  import { toaster } from '../../client/utils/toaster.js';
@@ -16,9 +15,7 @@ import { Portal } from '../../ui/Portal/index.js';
16
15
  export function KYCReview() {
17
16
  const { kycReview } = useGlobalStore(useShallow((s) => ({ kycReview: s.kycReview })));
18
17
  const [isLoading, setIsLoading] = useState(false);
19
- const featureFlag = useFeatureFlag();
20
- const isDialogOpen = kycReview.open && featureFlag.enabled;
21
- return (_jsx(Dialog.Root, { open: isDialogOpen, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { className: "flex items-center", children: _jsxs(Dialog.Content, { className: "flex w-[375px] flex-col items-center justify-between space-y-4 rounded-lg bg-[#232443] p-6 text-center", children: [_jsxs("div", { className: "flex flex-col items-center", children: [_jsx("div", { className: "mb-4 h-7 w-7 animate-spin rounded-full border-4 border-[#101730] border-t-[#F05027]" }), _jsx("div", { className: "font-semibold text-[#F5F5F6] text-lg", children: "Thanks for your submission." }), _jsxs("div", { className: "mt-1 text-[#CECFD2] text-sm", children: ["We\u2019re now ", '', _jsxs("span", { className: "text-[#F96B47]", children: ["reviewing your KYC information ", ''] }), "and will notify you once the verification is complete."] }), _jsx("div", { className: "mt-6 text-[#CECFD2] text-sm", children: "In the meantime, you can watch your favorite series on CinePop!" })] }), _jsxs("div", { className: "pt-3", children: [_jsx(Image, { src: cinePopLogo, alt: "cine poplogo", width: 151, height: 24, className: "mx-auto mb-2 h-auto w-[151px]" }), _jsxs("div", { className: "flex gap-2", children: [_jsx(Image, { src: secretConfessionsLogo, alt: "secret confessions logo", width: 104, height: 53, className: "h-auto w-[104px]" }), _jsx(Image, { src: dearUtolLogo, alt: "dear utol logo", width: 105, height: 53, className: "h-auto w-[105px]" }), _jsx(Image, { src: mariasDiary, alt: "maria's diary logo", width: 104, height: 53, className: "h-auto w-[104px]" })] })] }), _jsx("button", { disabled: isLoading, type: "button", className: "h-[44px] w-full rounded-md font-semibold", style: {
18
+ return (_jsx(Dialog.Root, { open: kycReview.open, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { className: "flex items-center", children: _jsxs(Dialog.Content, { className: "flex w-[375px] flex-col items-center justify-between space-y-4 rounded-lg bg-[#232443] p-6 text-center", children: [_jsxs("div", { className: "flex flex-col items-center", children: [_jsx("div", { className: "mb-4 h-7 w-7 animate-spin rounded-full border-4 border-[#101730] border-t-[#F05027]" }), _jsx("div", { className: "font-semibold text-[#F5F5F6] text-lg", children: "Thanks for your submission." }), _jsxs("div", { className: "mt-1 text-[#CECFD2] text-sm", children: ["We\u2019re now ", '', _jsxs("span", { className: "text-[#F96B47]", children: ["reviewing your KYC information ", ''] }), "and will notify you once the verification is complete."] }), _jsx("div", { className: "mt-6 text-[#CECFD2] text-sm", children: "In the meantime, you can watch your favorite series on CinePop!" })] }), _jsxs("div", { className: "pt-3", children: [_jsx(Image, { src: cinePopLogo, alt: "cine poplogo", width: 151, height: 24, className: "mx-auto mb-2 h-auto w-[151px]" }), _jsxs("div", { className: "flex gap-2", children: [_jsx(Image, { src: secretConfessionsLogo, alt: "secret confessions logo", width: 104, height: 53, className: "h-auto w-[104px]" }), _jsx(Image, { src: dearUtolLogo, alt: "dear utol logo", width: 105, height: 53, className: "h-auto w-[105px]" }), _jsx(Image, { src: mariasDiary, alt: "maria's diary logo", width: 104, height: 53, className: "h-auto w-[104px]" })] })] }), _jsx("button", { disabled: isLoading, type: "button", className: "h-[44px] w-full rounded-md font-semibold", style: {
22
19
  background: 'linear-gradient(90deg, #9333E8 0%, #D92778 100%)',
23
20
  }, onClick: async () => {
24
21
  const session = await getSession();
@@ -32,7 +29,7 @@ export function KYCReview() {
32
29
  'Content-Type': 'application/json',
33
30
  },
34
31
  });
35
- const data = (await response.json());
32
+ const data = await response.json();
36
33
  window.open(data.data.redirectionUrl, '_blank');
37
34
  }
38
35
  catch {
@@ -9,6 +9,7 @@ import { useDisclosure } from '../../../client/hooks/useDisclosure.js';
9
9
  import { useFileQuery } from '../../../client/hooks/useFileQuery.js';
10
10
  import { useUploadPrivateImageFileMutation } from '../../../client/hooks/useUploadPrivateImageFileMutation.js';
11
11
  import { toaster } from '../../../client/utils/toaster.js';
12
+ import { isIPhone13Series } from '../../../utils/isIOS.js';
12
13
  export function useSelfieImageField(props) {
13
14
  const field = useFieldContext();
14
15
  const [value, setValue] = useControllableState({
@@ -115,6 +116,7 @@ export function useSelfieImageField(props) {
115
116
  });
116
117
  const [faceFound, setFaceFound] = useState(false);
117
118
  const [detectorReady, setDetectorReady] = useState(false);
119
+ const isIos = isIPhone13Series();
118
120
  // Preload detector when disclosure opens
119
121
  useEffect(() => {
120
122
  if (disclosure.open) {
@@ -123,7 +125,7 @@ export function useSelfieImageField(props) {
123
125
  .then(() => setDetectorReady(true))
124
126
  .catch((e) => {
125
127
  console.error('Failed to load face detector:', e);
126
- setDetectorReady(false);
128
+ setDetectorReady(true);
127
129
  });
128
130
  }
129
131
  }, [disclosure.open]);
@@ -133,6 +135,11 @@ export function useSelfieImageField(props) {
133
135
  setFaceFound(false);
134
136
  }, [camera.loading, camera.data]);
135
137
  useInterval(async () => {
138
+ if (isIos) {
139
+ setFaceFound(true);
140
+ setDetectorReady(true);
141
+ return;
142
+ }
136
143
  if (!camera.videoRef.current || !guideRef.current) {
137
144
  return setFaceFound(false);
138
145
  }
@@ -9,23 +9,23 @@ export declare const createForgotPasswordSchema: (mobileNumberParser: MobileNumb
9
9
  verificationCode: z.ZodEffects<z.ZodString, string, string>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  password: string;
12
- mobileNumber: string;
13
12
  verificationCode: string;
13
+ mobileNumber: string;
14
14
  confirmPassword: string;
15
15
  }, {
16
16
  password: string;
17
- mobileNumber: string;
18
17
  verificationCode: string;
18
+ mobileNumber: string;
19
19
  confirmPassword: string;
20
20
  }>, {
21
21
  password: string;
22
- mobileNumber: string;
23
22
  verificationCode: string;
23
+ mobileNumber: string;
24
24
  confirmPassword: string;
25
25
  }, {
26
26
  password: string;
27
- mobileNumber: string;
28
27
  verificationCode: string;
28
+ mobileNumber: string;
29
29
  confirmPassword: string;
30
30
  }>;
31
31
  export type ForgotPasswordSchema = z.infer<ReturnType<typeof createForgotPasswordSchema>>;
@@ -55,20 +55,20 @@ export declare const TOUCH_GCASH_DEPOSIT = "\n mutation TouchGCashDeposit($inpu
55
55
  export declare const TOUCH_QRPH_DEPOSIT = "\n mutation TouchQRPHDeposit($input: TouchQRPHDepositInput!) {\n touchQRPHDeposit(input: $input)\n }\n";
56
56
  export declare const BET_RECORDS = "\n query BetRecords($first: Int, $after: Cursor, $filter: BetRecordFilterInput) {\n member {\n betRecords(first: $first, after: $after, filter: $filter) {\n totalCount\n edges {\n cursor\n node {\n ... on BetRecord {\n id\n serialCode\n game {\n id\n name\n type\n provider\n }\n bet\n payout\n winloss\n jackpotPayout\n jackpotContribution\n status\n dateTimeCreated\n dateTimeSettled\n dateTimeLastUpdated\n odds\n metadata\n vendorRoundId\n betContent\n contestName\n externalCategory\n }\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n }\n";
57
57
  export declare const TRANSACTION_RECORDS = "\n query TransactionRecords(\n $first: Int\n $after: Cursor\n $filter: TransactionRecordFilter\n ) {\n member {\n transactionRecords(first: $first, after: $after, filter: $filter) {\n edges {\n cursor\n node {\n ... on TransactionRecord {\n id\n type\n amount\n content\n currentBalance\n currentBonusBalance\n referenceNumber\n dateTimeCreated\n }\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n }\n";
58
- export declare const PROMO_FRAGMENT = "\n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n";
59
- export declare const PROMOS = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Promos {\n promos {\n ...PromoFragment\n }\n }\n";
60
- export declare const AVAILABLE_PROMOS = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query AvailablePromos($filter: PromoFilterInput) {\n availablePromos(filter: $filter) {\n ...PromoFragment\n }\n }\n";
61
- export declare const PROMO = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Promo($id: ObjectId!) {\n node(id: $id) {\n ... on Promo {\n ...PromoFragment\n }\n }\n }\n";
58
+ export declare const PROMO_FRAGMENT = "\n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n daysToClear\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n";
59
+ export declare const PROMOS = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n daysToClear\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Promos {\n promos {\n ...PromoFragment\n }\n }\n";
60
+ export declare const AVAILABLE_PROMOS = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n daysToClear\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query AvailablePromos($filter: PromoFilterInput) {\n availablePromos(filter: $filter) {\n ...PromoFragment\n }\n }\n";
61
+ export declare const PROMO = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n daysToClear\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Promo($id: ObjectId!) {\n node(id: $id) {\n ... on Promo {\n ...PromoFragment\n }\n }\n }\n";
62
62
  export declare const SPOT_BONUS_FRAGMENT = "\n fragment SpotBonusFragment on SpotBonusPromo {\n id\n name\n type\n status\n daysToClear\n zeroOutThreshold\n turnoverRequirementMultiplier\n turnoverRequirementType\n minimumTicketOddFactorPerSportsGameProvider\n turnoverRequirementContributionPercentagePerGameProvider\n bonusAmount\n enabledGameProviders\n activationStartDateTime\n activationEndDateTime\n banner {\n id\n url\n }\n description\n dateTimeCreated\n dateTimeLastUpdated\n dateTimeClosed\n totalBonus\n totalDeposit\n totalBonusBalance\n totalBet\n totalBonusCashedOut\n bonusesCount\n closedBonusesCount\n closedBonusesCountPercentage\n activeBonusesCount\n clearedBonusesCount\n zeroedOutBonusesCount\n cancelledBonusesCount\n expiredBonusesCount\n code\n maximumBonusesCountLimit\n }\n";
63
63
  export declare const PROMO_BY_CODE = "\n \n fragment SpotBonusFragment on SpotBonusPromo {\n id\n name\n type\n status\n daysToClear\n zeroOutThreshold\n turnoverRequirementMultiplier\n turnoverRequirementType\n minimumTicketOddFactorPerSportsGameProvider\n turnoverRequirementContributionPercentagePerGameProvider\n bonusAmount\n enabledGameProviders\n activationStartDateTime\n activationEndDateTime\n banner {\n id\n url\n }\n description\n dateTimeCreated\n dateTimeLastUpdated\n dateTimeClosed\n totalBonus\n totalDeposit\n totalBonusBalance\n totalBet\n totalBonusCashedOut\n bonusesCount\n closedBonusesCount\n closedBonusesCountPercentage\n activeBonusesCount\n clearedBonusesCount\n zeroedOutBonusesCount\n cancelledBonusesCount\n expiredBonusesCount\n code\n maximumBonusesCountLimit\n }\n\n\n query PromoByCode($code: String!) {\n promoByCode(code: $code) {\n ...SpotBonusFragment\n }\n }\n";
64
64
  export declare const CASHBACK_FRAGMENT = "\n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment CashbackFragment on Cashback {\n id\n name\n banner {\n ...FileFragment\n }\n minimumCashback\n maximumMonthlyCashback\n status\n description\n activationStartDateTime\n activationEndDateTime\n turnoverContributionPercentagePerGameProvider\n dateTimeCreated\n dateTimeLastUpdated\n }\n";
65
65
  export declare const CASHBACKS = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment CashbackFragment on Cashback {\n id\n name\n banner {\n ...FileFragment\n }\n minimumCashback\n maximumMonthlyCashback\n status\n description\n activationStartDateTime\n activationEndDateTime\n turnoverContributionPercentagePerGameProvider\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Cashbacks {\n cashbacks {\n ...CashbackFragment\n }\n }\n";
66
66
  export declare const CASHBACK = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment CashbackFragment on Cashback {\n id\n name\n banner {\n ...FileFragment\n }\n minimumCashback\n maximumMonthlyCashback\n status\n description\n activationStartDateTime\n activationEndDateTime\n turnoverContributionPercentagePerGameProvider\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Cashback($id: ObjectId!) {\n node(id: $id) {\n ... on Cashback {\n ...CashbackFragment\n }\n }\n }\n";
67
- export declare const BONUS_FRAGMENT = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n fragment BonusFragment on Bonus {\n id\n promo {\n ...PromoFragment\n }\n deposit {\n type\n amount\n netAmount\n fee\n status\n reference\n dateTimeCreated\n dateTimeLastUpdated\n }\n amount\n balance\n turnoverRequirement\n currentTurnoverRequirementContribution\n currentTurnoverRequirementContributionPercentage\n turnoverRequirementContributionPercentagePerGameProvider\n enabledGameProviders\n expiration\n dateTimeCreated\n dateTimeLastUpdated\n }\n";
68
- export declare const BONUSES = "\n \n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n fragment BonusFragment on Bonus {\n id\n promo {\n ...PromoFragment\n }\n deposit {\n type\n amount\n netAmount\n fee\n status\n reference\n dateTimeCreated\n dateTimeLastUpdated\n }\n amount\n balance\n turnoverRequirement\n currentTurnoverRequirementContribution\n currentTurnoverRequirementContributionPercentage\n turnoverRequirementContributionPercentagePerGameProvider\n enabledGameProviders\n expiration\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Bonuses($filter: BonusFilterInput) {\n bonuses(filter: $filter) {\n ...BonusFragment\n }\n }\n";
67
+ export declare const BONUS_FRAGMENT = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n daysToClear\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n fragment BonusFragment on Bonus {\n id\n promo {\n ...PromoFragment\n }\n deposit {\n type\n amount\n netAmount\n fee\n status\n reference\n dateTimeCreated\n dateTimeLastUpdated\n }\n amount\n balance\n turnoverRequirement\n currentTurnoverRequirementContribution\n currentTurnoverRequirementContributionPercentage\n turnoverRequirementContributionPercentagePerGameProvider\n enabledGameProviders\n expiration\n dateTimeCreated\n dateTimeLastUpdated\n }\n";
68
+ export declare const BONUSES = "\n \n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n daysToClear\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n fragment BonusFragment on Bonus {\n id\n promo {\n ...PromoFragment\n }\n deposit {\n type\n amount\n netAmount\n fee\n status\n reference\n dateTimeCreated\n dateTimeLastUpdated\n }\n amount\n balance\n turnoverRequirement\n currentTurnoverRequirementContribution\n currentTurnoverRequirementContributionPercentage\n turnoverRequirementContributionPercentagePerGameProvider\n enabledGameProviders\n expiration\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Bonuses($filter: BonusFilterInput) {\n bonuses(filter: $filter) {\n ...BonusFragment\n }\n }\n";
69
69
  export declare const BONUS_IDS = "\n query BonusIds {\n bonuses {\n id\n }\n }\n";
70
70
  export declare const BONUS_BALANCES = "\n query BonusesBalance {\n bonuses {\n balance\n }\n }\n";
71
- export declare const BONUS = "\n \n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n fragment BonusFragment on Bonus {\n id\n promo {\n ...PromoFragment\n }\n deposit {\n type\n amount\n netAmount\n fee\n status\n reference\n dateTimeCreated\n dateTimeLastUpdated\n }\n amount\n balance\n turnoverRequirement\n currentTurnoverRequirementContribution\n currentTurnoverRequirementContributionPercentage\n turnoverRequirementContributionPercentagePerGameProvider\n enabledGameProviders\n expiration\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Bonus($id: ObjectId!) {\n node(id: $id) {\n ... on Bonus {\n ...BonusFragment\n }\n }\n }\n";
71
+ export declare const BONUS = "\n \n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment PromoFragment on Promo {\n id\n type\n name\n banner {\n ...FileFragment\n }\n status\n daysToClear\n description\n maximumBonusAmount\n minimumBonusAmount\n maximumDepositAmount\n minimumDepositAmount\n activationStartDateTime\n turnoverRequirementContributionPercentagePerGameProvider\n activationEndDateTime\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n fragment BonusFragment on Bonus {\n id\n promo {\n ...PromoFragment\n }\n deposit {\n type\n amount\n netAmount\n fee\n status\n reference\n dateTimeCreated\n dateTimeLastUpdated\n }\n amount\n balance\n turnoverRequirement\n currentTurnoverRequirementContribution\n currentTurnoverRequirementContributionPercentage\n turnoverRequirementContributionPercentagePerGameProvider\n enabledGameProviders\n expiration\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query Bonus($id: ObjectId!) {\n node(id: $id) {\n ... on Bonus {\n ...BonusFragment\n }\n }\n }\n";
72
72
  export declare const CASHBACK_BONUS_FRAGMENT = "\n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment CashbackFragment on Cashback {\n id\n name\n banner {\n ...FileFragment\n }\n minimumCashback\n maximumMonthlyCashback\n status\n description\n activationStartDateTime\n activationEndDateTime\n turnoverContributionPercentagePerGameProvider\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n fragment CashbackBonusFragment on CashbackBonus {\n id\n balance\n total\n cashback {\n ...CashbackFragment\n }\n dateTimeCreated\n dateTimeLastUpdated\n }\n";
73
73
  export declare const CASHBACK_BONUSES = "\n \n \n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n fragment CashbackFragment on Cashback {\n id\n name\n banner {\n ...FileFragment\n }\n minimumCashback\n maximumMonthlyCashback\n status\n description\n activationStartDateTime\n activationEndDateTime\n turnoverContributionPercentagePerGameProvider\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n fragment CashbackBonusFragment on CashbackBonus {\n id\n balance\n total\n cashback {\n ...CashbackFragment\n }\n dateTimeCreated\n dateTimeLastUpdated\n }\n\n\n query CashbackBonuses {\n cashbackBonuses {\n ...CashbackBonusFragment\n }\n }\n";
74
74
  export declare const CASHBACK_BONUS_IDS = "\n query CashbackBonusIds {\n cashbackBonuses {\n id\n }\n }\n";
@@ -1856,6 +1856,7 @@ export const PROMO_FRAGMENT = /* GraphQL */ `
1856
1856
  ...FileFragment
1857
1857
  }
1858
1858
  status
1859
+ daysToClear
1859
1860
  description
1860
1861
  maximumBonusAmount
1861
1862
  minimumBonusAmount
@@ -318,6 +318,7 @@ export interface Promo {
318
318
  name: string;
319
319
  banner: File;
320
320
  status: PromoStatus;
321
+ daysToClear: number;
321
322
  description: string;
322
323
  minimumBonusAmount?: string | null;
323
324
  maximumBonusAmount?: string | null;