@timardex/cluemart-shared 1.7.29 → 1.7.31

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/{ad-DaMV_FdN.d.mts → ad-BsAes_WS.d.mts} +2 -2
  2. package/dist/{ad-CQrQILqt.d.ts → ad-FrGeJoW6.d.ts} +2 -2
  3. package/dist/{affiliate-BjNe7vrz.d.ts → affiliate-2h_y0IL4.d.ts} +2 -2
  4. package/dist/{affiliate-CRzUWMPv.d.mts → affiliate-KR-MNBCC.d.mts} +2 -2
  5. package/dist/auth/index.cjs +26 -4
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +3 -3
  8. package/dist/auth/index.d.ts +3 -3
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-PACEDU64.mjs → chunk-3UYXNSNB.mjs} +4 -4
  11. package/dist/{chunk-PACEDU64.mjs.map → chunk-3UYXNSNB.mjs.map} +1 -1
  12. package/dist/{chunk-2KVUR42L.mjs → chunk-BGTWSB5L.mjs} +2 -2
  13. package/dist/{chunk-BIJ5NDXW.mjs → chunk-FSS2CZPR.mjs} +16 -6
  14. package/dist/chunk-FSS2CZPR.mjs.map +1 -0
  15. package/dist/{chunk-PFY3LS6P.mjs → chunk-P2HBORDW.mjs} +27 -5
  16. package/dist/chunk-P2HBORDW.mjs.map +1 -0
  17. package/dist/{chunk-7TL4ZSUO.mjs → chunk-UV5GH6NI.mjs} +10 -2
  18. package/dist/chunk-UV5GH6NI.mjs.map +1 -0
  19. package/dist/{contactUs-BCkSecPW.d.ts → contactUs-CQqOcQk_.d.ts} +1 -1
  20. package/dist/{contactUs-ryrB_j4c.d.mts → contactUs-DOI78kmJ.d.mts} +1 -1
  21. package/dist/formFields/index.cjs +16 -6
  22. package/dist/formFields/index.cjs.map +1 -1
  23. package/dist/formFields/index.d.mts +3 -3
  24. package/dist/formFields/index.d.ts +3 -3
  25. package/dist/formFields/index.mjs +5 -5
  26. package/dist/{global-Ch11tfC6.d.mts → global-C7xIDkiQ.d.mts} +21 -4
  27. package/dist/{global-CF8hwvkc.d.ts → global-D-034Xws.d.ts} +21 -4
  28. package/dist/graphql/index.cjs +26 -4
  29. package/dist/graphql/index.cjs.map +1 -1
  30. package/dist/graphql/index.d.mts +5 -5
  31. package/dist/graphql/index.d.ts +5 -5
  32. package/dist/graphql/index.mjs +2 -2
  33. package/dist/hooks/index.cjs +56 -17
  34. package/dist/hooks/index.cjs.map +1 -1
  35. package/dist/hooks/index.d.mts +5 -5
  36. package/dist/hooks/index.d.ts +5 -5
  37. package/dist/hooks/index.mjs +35 -18
  38. package/dist/hooks/index.mjs.map +1 -1
  39. package/dist/index.cjs +53 -12
  40. package/dist/index.cjs.map +1 -1
  41. package/dist/index.d.mts +23 -6
  42. package/dist/index.d.ts +23 -6
  43. package/dist/index.mjs +51 -11
  44. package/dist/index.mjs.map +1 -1
  45. package/dist/map/index.d.mts +1 -1
  46. package/dist/map/index.d.ts +1 -1
  47. package/dist/{resourceActivities-isol6rr_.d.mts → resourceActivities-CoCW9VLu.d.mts} +1 -1
  48. package/dist/{resourceActivities-2SjrHpuU.d.ts → resourceActivities-DMEtduFL.d.ts} +1 -1
  49. package/dist/sharing/index.d.mts +1 -1
  50. package/dist/sharing/index.d.ts +1 -1
  51. package/dist/types/index.cjs +9 -0
  52. package/dist/types/index.cjs.map +1 -1
  53. package/dist/types/index.d.mts +7 -7
  54. package/dist/types/index.d.ts +7 -7
  55. package/dist/types/index.mjs +3 -1
  56. package/dist/{user-CFVqH8Xk.d.mts → user-0qKK4juO.d.mts} +1 -1
  57. package/dist/{user-BdvV_3eW.d.ts → user-Bynr8XGA.d.ts} +1 -1
  58. package/dist/utils/index.cjs +2 -2
  59. package/dist/utils/index.cjs.map +1 -1
  60. package/dist/utils/index.d.mts +4 -4
  61. package/dist/utils/index.d.ts +4 -4
  62. package/dist/utils/index.mjs +2 -2
  63. package/package.json +1 -1
  64. package/dist/chunk-7TL4ZSUO.mjs.map +0 -1
  65. package/dist/chunk-BIJ5NDXW.mjs.map +0 -1
  66. package/dist/chunk-PFY3LS6P.mjs.map +0 -1
  67. /package/dist/{chunk-2KVUR42L.mjs.map → chunk-BGTWSB5L.mjs.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-Ch11tfC6.mjs';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-C7xIDkiQ.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -8,7 +8,7 @@ declare const vendorStartDateFields: FormDateField[];
8
8
  declare const vendorEndDateFields: FormDateField[];
9
9
  declare const vendorAvailability: FormField[];
10
10
  declare const vendorLocationDescription: FormField;
11
- declare const vendorMenuFields: FormField[];
11
+ declare const vendorProductFields: FormField[];
12
12
  declare const productLabelGroups: {
13
13
  category: string;
14
14
  items: {
@@ -82,4 +82,4 @@ declare const bankAccountDetailsFields: FormField[];
82
82
 
83
83
  declare const partnerBasicInfoFields: FormField[];
84
84
 
85
- export { availableCategories, availableTagTypes, bankAccountDetailsFields, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
85
+ export { availableCategories, availableTagTypes, bankAccountDetailsFields, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorProductFields, vendorStallSize, vendorStartDateFields, vendorTable };
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-CF8hwvkc.js';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-D-034Xws.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -8,7 +8,7 @@ declare const vendorStartDateFields: FormDateField[];
8
8
  declare const vendorEndDateFields: FormDateField[];
9
9
  declare const vendorAvailability: FormField[];
10
10
  declare const vendorLocationDescription: FormField;
11
- declare const vendorMenuFields: FormField[];
11
+ declare const vendorProductFields: FormField[];
12
12
  declare const productLabelGroups: {
13
13
  category: string;
14
14
  items: {
@@ -82,4 +82,4 @@ declare const bankAccountDetailsFields: FormField[];
82
82
 
83
83
  declare const partnerBasicInfoFields: FormField[];
84
84
 
85
- export { availableCategories, availableTagTypes, bankAccountDetailsFields, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
85
+ export { availableCategories, availableTagTypes, bankAccountDetailsFields, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorProductFields, vendorStallSize, vendorStartDateFields, vendorTable };
@@ -35,20 +35,20 @@ import {
35
35
  vendorFullAddress,
36
36
  vendorGazebo,
37
37
  vendorLocationDescription,
38
- vendorMenuFields,
39
38
  vendorPackaging,
40
39
  vendorPriceRange,
41
40
  vendorProducedIn,
41
+ vendorProductFields,
42
42
  vendorStallSize,
43
43
  vendorStartDateFields,
44
44
  vendorTable
45
- } from "../chunk-BIJ5NDXW.mjs";
45
+ } from "../chunk-FSS2CZPR.mjs";
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-PACEDU64.mjs";
49
+ } from "../chunk-3UYXNSNB.mjs";
50
50
  import "../chunk-SD42WIMV.mjs";
51
- import "../chunk-7TL4ZSUO.mjs";
51
+ import "../chunk-UV5GH6NI.mjs";
52
52
  import "../chunk-RAYUJODN.mjs";
53
53
  import "../chunk-DQ7ZHIXW.mjs";
54
54
  import "../chunk-X3OLM35T.mjs";
@@ -91,10 +91,10 @@ export {
91
91
  vendorFullAddress,
92
92
  vendorGazebo,
93
93
  vendorLocationDescription,
94
- vendorMenuFields,
95
94
  vendorPackaging,
96
95
  vendorPriceRange,
97
96
  vendorProducedIn,
97
+ vendorProductFields,
98
98
  vendorStallSize,
99
99
  vendorStartDateFields,
100
100
  vendorTable
@@ -387,16 +387,32 @@ type ProductCoupon = {
387
387
  couponDocumentId: string;
388
388
  couponId: string;
389
389
  };
390
- type CouponTypeOption = {
390
+ declare enum EnumCouponQualificationType {
391
+ PURCHASE = "PURCHASE",
392
+ MARKET_VISIT = "MARKET_VISIT"
393
+ }
394
+ type CouponPurchaseOption = {
391
395
  buy: number;
392
396
  get: number;
397
+ type: EnumCouponQualificationType.PURCHASE;
393
398
  unit: string;
394
399
  };
400
+ type CouponMarketVisitOption = {
401
+ type: EnumCouponQualificationType.MARKET_VISIT;
402
+ visits: number;
403
+ };
404
+ type CouponOption = CouponPurchaseOption | CouponMarketVisitOption;
405
+ type CouponReward = {
406
+ productId: string;
407
+ quantity: number;
408
+ unit: string;
409
+ vendorId: string;
410
+ };
395
411
  type CouponDefaultsFormData = {
396
412
  couponDescription: string;
397
- couponOption: CouponTypeOption;
413
+ couponOption: CouponOption;
414
+ couponRewards?: CouponReward[];
398
415
  endDate: Date;
399
- participantProductId: string;
400
416
  startDate: Date;
401
417
  };
402
418
  type CreateCouponFormData = CreateFormData<CouponDefaultsFormData>;
@@ -442,6 +458,7 @@ type VendorProductList = {
442
458
  description?: string | null;
443
459
  name: string;
444
460
  price: number;
461
+ priceMax?: number | null;
445
462
  priceUnit: string;
446
463
  productGroups?: string[] | null;
447
464
  updatedAt?: Date | null;
@@ -758,4 +775,4 @@ interface UseGetResourcesByRegionOptions {
758
775
  offset?: number;
759
776
  }
760
777
 
761
- export { type DailyClueGameData as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponParticipantUserType as W, type CouponTypeOption as X, type CreateCouponDefaults as Y, type CreateFormData as Z, type DailyClueBaseGame as _, type FormDateField as a, type DateTimeType as a0, type DateTimeWithPriceType as a1, type DeviceInfo as a2, EnumGameStatus as a3, EnumGameType as a4, EnumPostContentType as a5, type EventStatusType as a6, type GameDate as a7, type GameHistory as a8, type GamePlacement as a9, type PuzzleQuestion as aA, type RelatedPostType as aB, type RelationDate as aC, type RelationInputType as aD, type ResourceContactDetailsType as aE, type ResourceDetails as aF, type ResourceImageType as aG, type SocialMediaType as aH, type SocialShareResourceType as aI, type Subcategory as aJ, type SubcategoryItems as aK, type TermsAgreement as aL, type UnregisteredVendorInvitationType as aM, type VendorAttributes as aN, type VendorCalendarData as aO, type VendorProductList as aP, gameScreenIdentifierList as aQ, gameTypeToDisplayName as aR, type GamePlacementClue as aa, type GameType as ab, type GeocodeLocation as ac, type GlobalGameData as ad, type ImageObjectType as ae, type LocationGeoType as af, type Nullable as ag, type OwnerType as ah, PROMO_CODE_PREFIX as ai, type PaymentInfoType as aj, type PostContentData as ak, type PostContentFormData as al, type PostContentGame as am, type PostContentImage as an, type PostContentList as ao, type PostContentTextarea as ap, type PostContentType as aq, type PostContentVideo as ar, type PostFileInput as as, type PostResource as at, type ProductCoupon as au, type PromoCodeType as av, type PuzzleAnswer as aw, type PuzzleAnsweredQuestion as ax, type PuzzleBaseGame as ay, type PuzzleGameData as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, EnumPostType as m, type GameLeaderboard as n, type CouponType as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
778
+ export { type CreateCouponDefaults as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponMarketVisitOption as W, type CouponOption as X, type CouponParticipantUserType as Y, type CouponPurchaseOption as Z, type CouponReward as _, type FormDateField as a, type CreateFormData as a0, type DailyClueBaseGame as a1, type DailyClueGameData as a2, type DateTimeType as a3, type DateTimeWithPriceType as a4, type DeviceInfo as a5, EnumCouponQualificationType as a6, EnumGameStatus as a7, EnumGameType as a8, EnumPostContentType as a9, type PuzzleAnswer as aA, type PuzzleAnsweredQuestion as aB, type PuzzleBaseGame as aC, type PuzzleGameData as aD, type PuzzleQuestion as aE, type RelatedPostType as aF, type RelationDate as aG, type RelationInputType as aH, type ResourceContactDetailsType as aI, type ResourceDetails as aJ, type ResourceImageType as aK, type SocialMediaType as aL, type SocialShareResourceType as aM, type Subcategory as aN, type SubcategoryItems as aO, type TermsAgreement as aP, type UnregisteredVendorInvitationType as aQ, type VendorAttributes as aR, type VendorCalendarData as aS, type VendorProductList as aT, gameScreenIdentifierList as aU, gameTypeToDisplayName as aV, type EventStatusType as aa, type GameDate as ab, type GameHistory as ac, type GamePlacement as ad, type GamePlacementClue as ae, type GameType as af, type GeocodeLocation as ag, type GlobalGameData as ah, type ImageObjectType as ai, type LocationGeoType as aj, type Nullable as ak, type OwnerType as al, PROMO_CODE_PREFIX as am, type PaymentInfoType as an, type PostContentData as ao, type PostContentFormData as ap, type PostContentGame as aq, type PostContentImage as ar, type PostContentList as as, type PostContentTextarea as at, type PostContentType as au, type PostContentVideo as av, type PostFileInput as aw, type PostResource as ax, type ProductCoupon as ay, type PromoCodeType as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, EnumPostType as m, type GameLeaderboard as n, type CouponType as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
@@ -387,16 +387,32 @@ type ProductCoupon = {
387
387
  couponDocumentId: string;
388
388
  couponId: string;
389
389
  };
390
- type CouponTypeOption = {
390
+ declare enum EnumCouponQualificationType {
391
+ PURCHASE = "PURCHASE",
392
+ MARKET_VISIT = "MARKET_VISIT"
393
+ }
394
+ type CouponPurchaseOption = {
391
395
  buy: number;
392
396
  get: number;
397
+ type: EnumCouponQualificationType.PURCHASE;
393
398
  unit: string;
394
399
  };
400
+ type CouponMarketVisitOption = {
401
+ type: EnumCouponQualificationType.MARKET_VISIT;
402
+ visits: number;
403
+ };
404
+ type CouponOption = CouponPurchaseOption | CouponMarketVisitOption;
405
+ type CouponReward = {
406
+ productId: string;
407
+ quantity: number;
408
+ unit: string;
409
+ vendorId: string;
410
+ };
395
411
  type CouponDefaultsFormData = {
396
412
  couponDescription: string;
397
- couponOption: CouponTypeOption;
413
+ couponOption: CouponOption;
414
+ couponRewards?: CouponReward[];
398
415
  endDate: Date;
399
- participantProductId: string;
400
416
  startDate: Date;
401
417
  };
402
418
  type CreateCouponFormData = CreateFormData<CouponDefaultsFormData>;
@@ -442,6 +458,7 @@ type VendorProductList = {
442
458
  description?: string | null;
443
459
  name: string;
444
460
  price: number;
461
+ priceMax?: number | null;
445
462
  priceUnit: string;
446
463
  productGroups?: string[] | null;
447
464
  updatedAt?: Date | null;
@@ -758,4 +775,4 @@ interface UseGetResourcesByRegionOptions {
758
775
  offset?: number;
759
776
  }
760
777
 
761
- export { type DailyClueGameData as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponParticipantUserType as W, type CouponTypeOption as X, type CreateCouponDefaults as Y, type CreateFormData as Z, type DailyClueBaseGame as _, type FormDateField as a, type DateTimeType as a0, type DateTimeWithPriceType as a1, type DeviceInfo as a2, EnumGameStatus as a3, EnumGameType as a4, EnumPostContentType as a5, type EventStatusType as a6, type GameDate as a7, type GameHistory as a8, type GamePlacement as a9, type PuzzleQuestion as aA, type RelatedPostType as aB, type RelationDate as aC, type RelationInputType as aD, type ResourceContactDetailsType as aE, type ResourceDetails as aF, type ResourceImageType as aG, type SocialMediaType as aH, type SocialShareResourceType as aI, type Subcategory as aJ, type SubcategoryItems as aK, type TermsAgreement as aL, type UnregisteredVendorInvitationType as aM, type VendorAttributes as aN, type VendorCalendarData as aO, type VendorProductList as aP, gameScreenIdentifierList as aQ, gameTypeToDisplayName as aR, type GamePlacementClue as aa, type GameType as ab, type GeocodeLocation as ac, type GlobalGameData as ad, type ImageObjectType as ae, type LocationGeoType as af, type Nullable as ag, type OwnerType as ah, PROMO_CODE_PREFIX as ai, type PaymentInfoType as aj, type PostContentData as ak, type PostContentFormData as al, type PostContentGame as am, type PostContentImage as an, type PostContentList as ao, type PostContentTextarea as ap, type PostContentType as aq, type PostContentVideo as ar, type PostFileInput as as, type PostResource as at, type ProductCoupon as au, type PromoCodeType as av, type PuzzleAnswer as aw, type PuzzleAnsweredQuestion as ax, type PuzzleBaseGame as ay, type PuzzleGameData as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, EnumPostType as m, type GameLeaderboard as n, type CouponType as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
778
+ export { type CreateCouponDefaults as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponMarketVisitOption as W, type CouponOption as X, type CouponParticipantUserType as Y, type CouponPurchaseOption as Z, type CouponReward as _, type FormDateField as a, type CreateFormData as a0, type DailyClueBaseGame as a1, type DailyClueGameData as a2, type DateTimeType as a3, type DateTimeWithPriceType as a4, type DeviceInfo as a5, EnumCouponQualificationType as a6, EnumGameStatus as a7, EnumGameType as a8, EnumPostContentType as a9, type PuzzleAnswer as aA, type PuzzleAnsweredQuestion as aB, type PuzzleBaseGame as aC, type PuzzleGameData as aD, type PuzzleQuestion as aE, type RelatedPostType as aF, type RelationDate as aG, type RelationInputType as aH, type ResourceContactDetailsType as aI, type ResourceDetails as aJ, type ResourceImageType as aK, type SocialMediaType as aL, type SocialShareResourceType as aM, type Subcategory as aN, type SubcategoryItems as aO, type TermsAgreement as aP, type UnregisteredVendorInvitationType as aQ, type VendorAttributes as aR, type VendorCalendarData as aS, type VendorProductList as aT, gameScreenIdentifierList as aU, gameTypeToDisplayName as aV, type EventStatusType as aa, type GameDate as ab, type GameHistory as ac, type GamePlacement as ad, type GamePlacementClue as ae, type GameType as af, type GeocodeLocation as ag, type GlobalGameData as ah, type ImageObjectType as ai, type LocationGeoType as aj, type Nullable as ak, type OwnerType as al, PROMO_CODE_PREFIX as am, type PaymentInfoType as an, type PostContentData as ao, type PostContentFormData as ap, type PostContentGame as aq, type PostContentImage as ar, type PostContentList as as, type PostContentTextarea as at, type PostContentType as au, type PostContentVideo as av, type PostFileInput as aw, type PostResource as ax, type ProductCoupon as ay, type PromoCodeType as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, EnumPostType as m, type GameLeaderboard as n, type CouponType as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
@@ -724,6 +724,23 @@ var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = import_client3.gql`
724
724
  userId
725
725
  }
726
726
  `;
727
+ var COUPON_OPTION_FIELDS_FRAGMENT = import_client3.gql`
728
+ fragment CouponOptionFields on CouponOptionType {
729
+ type
730
+ buy
731
+ get
732
+ unit
733
+ visits
734
+ }
735
+ `;
736
+ var COUPON_REWARD_FIELDS_FRAGMENT = import_client3.gql`
737
+ fragment CouponRewardFields on CouponRewardType {
738
+ vendorId
739
+ productId
740
+ quantity
741
+ unit
742
+ }
743
+ `;
727
744
  var COUPON_DATA_FIELDS_FRAGMENT = import_client3.gql`
728
745
  fragment CouponDataFields on CouponDataType {
729
746
  _id
@@ -732,10 +749,14 @@ var COUPON_DATA_FIELDS_FRAGMENT = import_client3.gql`
732
749
  ...CouponCodeFields
733
750
  }
734
751
  couponDescription
735
- couponOption
752
+ couponOption {
753
+ ...CouponOptionFields
754
+ }
755
+ couponRewards {
756
+ ...CouponRewardFields
757
+ }
736
758
  createdAt
737
759
  endDate
738
- participantProductId
739
760
  participantUsers {
740
761
  ...CouponParticipantUserFields
741
762
  }
@@ -745,7 +766,9 @@ var COUPON_DATA_FIELDS_FRAGMENT = import_client3.gql`
745
766
  updatedAt
746
767
  }
747
768
  ${COUPON_CODE_FIELDS_FRAGMENT}
769
+ ${COUPON_OPTION_FIELDS_FRAGMENT}
748
770
  ${COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT}
771
+ ${COUPON_REWARD_FIELDS_FRAGMENT}
749
772
  `;
750
773
  var COUPON = import_client3.gql`
751
774
  fragment CouponFields on CouponType {
@@ -763,8 +786,6 @@ var COUPON = import_client3.gql`
763
786
  }
764
787
  ${OWNER_FIELDS_FRAGMENT}
765
788
  ${COUPON_DATA_FIELDS_FRAGMENT}
766
- ${COUPON_CODE_FIELDS_FRAGMENT}
767
- ${COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT}
768
789
  `;
769
790
  var GET_COUPONS = import_client3.gql`
770
791
  query getCoupons {
@@ -803,6 +824,7 @@ var VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT = import_client4.gql`
803
824
  description
804
825
  name
805
826
  price
827
+ priceMax
806
828
  priceUnit
807
829
  productGroups
808
830
  updatedAt