@timardex/cluemart-shared 1.7.64 → 1.7.65

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 (52) hide show
  1. package/dist/{ad-CX_5xl7b.d.mts → ad-66Hws2zL.d.mts} +2 -2
  2. package/dist/{ad-Dn1L9OpH.d.ts → ad-PHkyCdFN.d.ts} +2 -2
  3. package/dist/{affiliate-C3AhB3D_.d.mts → affiliate-BDWDNhpq.d.mts} +2 -2
  4. package/dist/{affiliate-CdFMHIAI.d.ts → affiliate-BsrW9awS.d.ts} +2 -2
  5. package/dist/auth/index.d.mts +3 -3
  6. package/dist/auth/index.d.ts +3 -3
  7. package/dist/{chunk-6BK45KML.mjs → chunk-FPBMTY2Y.mjs} +2 -1
  8. package/dist/{chunk-6BK45KML.mjs.map → chunk-FPBMTY2Y.mjs.map} +1 -1
  9. package/dist/{chunk-76HG44I2.mjs → chunk-JZWO462D.mjs} +2 -2
  10. package/dist/{chunk-YG7YTCX5.mjs → chunk-NNHCOVND.mjs} +1 -1
  11. package/dist/{chunk-YG7YTCX5.mjs.map → chunk-NNHCOVND.mjs.map} +1 -1
  12. package/dist/{contactUs-B1J8xVR_.d.mts → contactUs-BB6bGzgU.d.mts} +1 -1
  13. package/dist/{contactUs-B3Jy6lSO.d.ts → contactUs-DyNbOJSa.d.ts} +1 -1
  14. package/dist/formFields/index.d.mts +1 -1
  15. package/dist/formFields/index.d.ts +1 -1
  16. package/dist/formFields/index.mjs +2 -2
  17. package/dist/{global-Cth1J7MX.d.ts → global-DCJD_uzH.d.ts} +1 -0
  18. package/dist/{global-9dM4g5_h.d.mts → global-gZ8lcBuc.d.mts} +1 -0
  19. package/dist/graphql/index.cjs +1 -0
  20. package/dist/graphql/index.cjs.map +1 -1
  21. package/dist/graphql/index.d.mts +5 -5
  22. package/dist/graphql/index.d.ts +5 -5
  23. package/dist/graphql/index.mjs +1 -1
  24. package/dist/hooks/index.cjs +2 -0
  25. package/dist/hooks/index.cjs.map +1 -1
  26. package/dist/hooks/index.d.mts +5 -5
  27. package/dist/hooks/index.d.ts +5 -5
  28. package/dist/hooks/index.mjs +4 -3
  29. package/dist/hooks/index.mjs.map +1 -1
  30. package/dist/index.cjs +1 -0
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.mts +1 -0
  33. package/dist/index.d.ts +1 -0
  34. package/dist/index.mjs +1 -0
  35. package/dist/index.mjs.map +1 -1
  36. package/dist/map/index.d.mts +1 -1
  37. package/dist/map/index.d.ts +1 -1
  38. package/dist/{resourceActivities-DZL_oKKt.d.mts → resourceActivities-5YFwtfxZ.d.mts} +1 -1
  39. package/dist/{resourceActivities-k58jnCEO.d.ts → resourceActivities-xLCYoskh.d.ts} +1 -1
  40. package/dist/sharing/index.d.mts +1 -1
  41. package/dist/sharing/index.d.ts +1 -1
  42. package/dist/types/index.cjs.map +1 -1
  43. package/dist/types/index.d.mts +7 -7
  44. package/dist/types/index.d.ts +7 -7
  45. package/dist/types/index.mjs +1 -1
  46. package/dist/{user-Ca1jaqJo.d.mts → user-CpeJODEQ.d.mts} +1 -1
  47. package/dist/{user-CpedBDF1.d.ts → user-dPN0jC3g.d.ts} +1 -1
  48. package/dist/utils/index.d.mts +3 -3
  49. package/dist/utils/index.d.ts +3 -3
  50. package/dist/utils/index.mjs +2 -2
  51. package/package.json +1 -1
  52. /package/dist/{chunk-76HG44I2.mjs.map → chunk-JZWO462D.mjs.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DZL_oKKt.mjs';
4
- import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-9dM4g5_h.mjs';
5
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-CX_5xl7b.mjs';
3
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-5YFwtfxZ.mjs';
4
+ import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-gZ8lcBuc.mjs';
5
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-66Hws2zL.mjs';
6
6
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
7
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-Ca1jaqJo.mjs';
8
- import { A as AffiliateType } from '../affiliate-C3AhB3D_.mjs';
7
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-CpeJODEQ.mjs';
8
+ import { A as AffiliateType } from '../affiliate-BDWDNhpq.mjs';
9
9
  import 'react-hook-form';
10
10
  import '../images/index.mjs';
11
11
 
@@ -1,11 +1,11 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-k58jnCEO.js';
4
- import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-Cth1J7MX.js';
5
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-Dn1L9OpH.js';
3
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-xLCYoskh.js';
4
+ import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-DCJD_uzH.js';
5
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-PHkyCdFN.js';
6
6
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
7
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-CpedBDF1.js';
8
- import { A as AffiliateType } from '../affiliate-CdFMHIAI.js';
7
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-dPN0jC3g.js';
8
+ import { A as AffiliateType } from '../affiliate-BsrW9awS.js';
9
9
  import 'react-hook-form';
10
10
  import '../images/index.js';
11
11
 
@@ -148,7 +148,7 @@ import {
148
148
  useUpdateUser,
149
149
  useUpdateVendor,
150
150
  useUpdateVendorInfo
151
- } from "../chunk-6BK45KML.mjs";
151
+ } from "../chunk-FPBMTY2Y.mjs";
152
152
  import {
153
153
  GET_EVENT,
154
154
  GET_EVENT_INFO,
@@ -5630,6 +5630,7 @@ var COUPON_OPTION_FIELDS_FRAGMENT = import_client78.gql`
5630
5630
  get
5631
5631
  unit
5632
5632
  visits
5633
+ maxCouponCount
5633
5634
  }
5634
5635
  `;
5635
5636
  var COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT = import_client78.gql`
@@ -6046,6 +6047,7 @@ var couponPurchaseOptionSchema = yup10.object().shape({
6046
6047
  if (value === void 0 || buy === void 0) return true;
6047
6048
  return value < buy;
6048
6049
  }),
6050
+ maxCouponCount: yup10.number().transform((_, originalValue) => toOptionalNumber(originalValue)).label("Max coupon count").typeError("Max coupon count must be a number").integer("Max coupon count must be a whole number").min(20, "Max coupon count must be at least 20").max(200, "Max coupon count cannot exceed 200").required("Max coupon count is required"),
6049
6051
  type: yup10.mixed().oneOf(["PURCHASE" /* PURCHASE */], "Type must be PURCHASE").required("Type is required"),
6050
6052
  unit: yup10.string().label("Unit").trim().required("Unit is required")
6051
6053
  }).nullable().defined("Coupon option is required");