@timardex/cluemart-shared 1.7.64 → 1.7.66

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-Dn1L9OpH.d.ts → ad-C8D-sSzF.d.ts} +2 -2
  2. package/dist/{ad-CX_5xl7b.d.mts → ad-DBlMup1m.d.mts} +2 -2
  3. package/dist/{affiliate-CdFMHIAI.d.ts → affiliate-B4dKY4oC.d.ts} +2 -2
  4. package/dist/{affiliate-C3AhB3D_.d.mts → affiliate-DpjRNToN.d.mts} +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-62LFTHUM.mjs} +4 -1
  8. package/dist/{chunk-6BK45KML.mjs.map → chunk-62LFTHUM.mjs.map} +1 -1
  9. package/dist/{chunk-76HG44I2.mjs → chunk-G5T3Z6WT.mjs} +2 -2
  10. package/dist/{chunk-YG7YTCX5.mjs → chunk-WS47NSTO.mjs} +1 -1
  11. package/dist/{chunk-YG7YTCX5.mjs.map → chunk-WS47NSTO.mjs.map} +1 -1
  12. package/dist/{contactUs-B3Jy6lSO.d.ts → contactUs-Bm9Nx5L6.d.ts} +1 -1
  13. package/dist/{contactUs-B1J8xVR_.d.mts → contactUs-w465ljSW.d.mts} +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-B6l7Xvrj.d.ts} +3 -0
  18. package/dist/{global-9dM4g5_h.d.mts → global-Da36L_p3.d.mts} +3 -0
  19. package/dist/graphql/index.cjs +3 -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 +4 -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 +3 -0
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.mts +3 -0
  33. package/dist/index.d.ts +3 -0
  34. package/dist/index.mjs +3 -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-k58jnCEO.d.ts → resourceActivities-B3G__Pqn.d.ts} +1 -1
  39. package/dist/{resourceActivities-DZL_oKKt.d.mts → resourceActivities-BqxMTeyA.d.mts} +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-B8jYxHQ8.d.mts} +1 -1
  47. package/dist/{user-CpedBDF1.d.ts → user-S2zwTsVK.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-G5T3Z6WT.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-BqxMTeyA.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-Da36L_p3.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-DBlMup1m.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-B8jYxHQ8.mjs';
8
+ import { A as AffiliateType } from '../affiliate-DpjRNToN.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-B3G__Pqn.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-B6l7Xvrj.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-C8D-sSzF.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-S2zwTsVK.js';
8
+ import { A as AffiliateType } from '../affiliate-B4dKY4oC.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-62LFTHUM.mjs";
152
152
  import {
153
153
  GET_EVENT,
154
154
  GET_EVENT_INFO,
@@ -5617,6 +5617,8 @@ var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = import_client78.gql`
5617
5617
  fragment CouponParticipantUserFields on CouponParticipantUserType {
5618
5618
  couponCollectedCount
5619
5619
  couponRedeemedAt
5620
+ couponRedeemedCount
5621
+ couponCycleRedeemed
5620
5622
  createdAt
5621
5623
  updatedAt
5622
5624
  userId
@@ -5630,6 +5632,7 @@ var COUPON_OPTION_FIELDS_FRAGMENT = import_client78.gql`
5630
5632
  get
5631
5633
  unit
5632
5634
  visits
5635
+ maxCouponCount
5633
5636
  }
5634
5637
  `;
5635
5638
  var COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT = import_client78.gql`
@@ -6046,6 +6049,7 @@ var couponPurchaseOptionSchema = yup10.object().shape({
6046
6049
  if (value === void 0 || buy === void 0) return true;
6047
6050
  return value < buy;
6048
6051
  }),
6052
+ 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
6053
  type: yup10.mixed().oneOf(["PURCHASE" /* PURCHASE */], "Type must be PURCHASE").required("Type is required"),
6050
6054
  unit: yup10.string().label("Unit").trim().required("Unit is required")
6051
6055
  }).nullable().defined("Coupon option is required");