@timardex/cluemart-shared 1.7.53 → 1.7.55

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 (54) hide show
  1. package/dist/{ad-mUnDAPSR.d.ts → ad--1Dgx3EQ.d.ts} +2 -2
  2. package/dist/{ad-C4p6YSGQ.d.mts → ad-DgFNz7LE.d.mts} +2 -2
  3. package/dist/{affiliate-CVSQtlRk.d.ts → affiliate-BtxKsl7M.d.ts} +2 -2
  4. package/dist/{affiliate-BtwUxF_w.d.mts → affiliate-CyELKIG-.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-BHEP7DY7.mjs → chunk-7RQ6PC7B.mjs} +5 -3
  8. package/dist/chunk-7RQ6PC7B.mjs.map +1 -0
  9. package/dist/{chunk-GW52WYYK.mjs → chunk-QYHJKAVQ.mjs} +7 -5
  10. package/dist/chunk-QYHJKAVQ.mjs.map +1 -0
  11. package/dist/{contactUs-UWXzii_N.d.ts → contactUs-CX1bTZ9V.d.ts} +1 -1
  12. package/dist/{contactUs-CfJflYDQ.d.mts → contactUs-kzob0wKa.d.mts} +1 -1
  13. package/dist/formFields/index.cjs +6 -4
  14. package/dist/formFields/index.cjs.map +1 -1
  15. package/dist/formFields/index.d.mts +1 -1
  16. package/dist/formFields/index.d.ts +1 -1
  17. package/dist/formFields/index.mjs +2 -2
  18. package/dist/{global-eKtRdO3m.d.mts → global-CcE-PQOR.d.mts} +7 -5
  19. package/dist/{global-SpvNInzo.d.ts → global-CdSsPQHl.d.ts} +7 -5
  20. package/dist/graphql/index.d.mts +5 -5
  21. package/dist/graphql/index.d.ts +5 -5
  22. package/dist/hooks/index.cjs +10 -6
  23. package/dist/hooks/index.cjs.map +1 -1
  24. package/dist/hooks/index.d.mts +5 -5
  25. package/dist/hooks/index.d.ts +5 -5
  26. package/dist/hooks/index.mjs +3 -3
  27. package/dist/hooks/index.mjs.map +1 -1
  28. package/dist/index.cjs +9 -5
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.mts +7 -5
  31. package/dist/index.d.ts +7 -5
  32. package/dist/index.mjs +9 -5
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/map/index.d.mts +1 -1
  35. package/dist/map/index.d.ts +1 -1
  36. package/dist/{resourceActivities-BxscFtkL.d.ts → resourceActivities-Cjvh0Szg.d.ts} +1 -1
  37. package/dist/{resourceActivities-Bh_nj9xh.d.mts → resourceActivities-D36XsiZQ.d.mts} +1 -1
  38. package/dist/sharing/index.d.mts +1 -1
  39. package/dist/sharing/index.d.ts +1 -1
  40. package/dist/types/index.cjs +6 -4
  41. package/dist/types/index.cjs.map +1 -1
  42. package/dist/types/index.d.mts +7 -7
  43. package/dist/types/index.d.ts +7 -7
  44. package/dist/types/index.mjs +1 -1
  45. package/dist/{user-CmGQOai2.d.ts → user-CQC_FzHj.d.ts} +1 -1
  46. package/dist/{user-BvBpIU4z.d.mts → user-D2Dww93Z.d.mts} +1 -1
  47. package/dist/utils/index.cjs +6 -4
  48. package/dist/utils/index.cjs.map +1 -1
  49. package/dist/utils/index.d.mts +3 -3
  50. package/dist/utils/index.d.ts +3 -3
  51. package/dist/utils/index.mjs +2 -2
  52. package/package.json +1 -1
  53. package/dist/chunk-BHEP7DY7.mjs.map +0 -1
  54. package/dist/chunk-GW52WYYK.mjs.map +0 -1
@@ -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-eKtRdO3m.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-CcE-PQOR.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -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-SpvNInzo.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-CdSsPQHl.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -46,9 +46,9 @@ import {
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-BHEP7DY7.mjs";
49
+ } from "../chunk-7RQ6PC7B.mjs";
50
50
  import "../chunk-SD42WIMV.mjs";
51
- import "../chunk-GW52WYYK.mjs";
51
+ import "../chunk-QYHJKAVQ.mjs";
52
52
  import "../chunk-RAYUJODN.mjs";
53
53
  import "../chunk-DQ7ZHIXW.mjs";
54
54
  import "../chunk-X3OLM35T.mjs";
@@ -119,15 +119,15 @@ type GlobalGameData = {
119
119
  declare const gameScreenIdentifierList: readonly [{
120
120
  readonly clue: "Where your actions turn into a timeline.";
121
121
  readonly id: "activities";
122
- readonly match: "/profile/activities";
122
+ readonly match: "/profile/account/favourites";
123
123
  }, {
124
124
  readonly clue: "Where conversations happen without speaking.";
125
125
  readonly id: "chat";
126
- readonly match: "/profile/chat";
126
+ readonly match: "/chat";
127
127
  }, {
128
128
  readonly clue: "The place to redefine who you are.";
129
129
  readonly id: "edit-profile";
130
- readonly match: "/profile/edit-profile";
130
+ readonly match: "/profile/account";
131
131
  }, {
132
132
  readonly clue: "A single moment worth showing up for.";
133
133
  readonly id: "single-event";
@@ -300,8 +300,10 @@ type GameLeaderboard = {
300
300
  };
301
301
 
302
302
  declare enum EnumPostType {
303
- MARKET_FACES = "market_faces",
304
303
  CLUE_BITES = "clue_bites",
304
+ CLUE_GUIDES_FOR_ORGANISERS = "clue_guides_for_organisers",
305
+ CLUE_GUIDES_FOR_VENDORS = "clue_guides_for_vendors",
306
+ MARKET_FACES = "market_faces",
305
307
  PLAY_AND_WIN = "play_and_win"
306
308
  }
307
309
  declare enum EnumPostContentType {
@@ -410,7 +412,7 @@ type CouponVendorProduct = {
410
412
  couponId: string;
411
413
  productId: string;
412
414
  vendorId: string;
413
- vendorCouponId?: string;
415
+ vendorCouponId?: string | null;
414
416
  };
415
417
  type CouponDefaultsFormData = {
416
418
  couponDescription: string;
@@ -119,15 +119,15 @@ type GlobalGameData = {
119
119
  declare const gameScreenIdentifierList: readonly [{
120
120
  readonly clue: "Where your actions turn into a timeline.";
121
121
  readonly id: "activities";
122
- readonly match: "/profile/activities";
122
+ readonly match: "/profile/account/favourites";
123
123
  }, {
124
124
  readonly clue: "Where conversations happen without speaking.";
125
125
  readonly id: "chat";
126
- readonly match: "/profile/chat";
126
+ readonly match: "/chat";
127
127
  }, {
128
128
  readonly clue: "The place to redefine who you are.";
129
129
  readonly id: "edit-profile";
130
- readonly match: "/profile/edit-profile";
130
+ readonly match: "/profile/account";
131
131
  }, {
132
132
  readonly clue: "A single moment worth showing up for.";
133
133
  readonly id: "single-event";
@@ -300,8 +300,10 @@ type GameLeaderboard = {
300
300
  };
301
301
 
302
302
  declare enum EnumPostType {
303
- MARKET_FACES = "market_faces",
304
303
  CLUE_BITES = "clue_bites",
304
+ CLUE_GUIDES_FOR_ORGANISERS = "clue_guides_for_organisers",
305
+ CLUE_GUIDES_FOR_VENDORS = "clue_guides_for_vendors",
306
+ MARKET_FACES = "market_faces",
305
307
  PLAY_AND_WIN = "play_and_win"
306
308
  }
307
309
  declare enum EnumPostContentType {
@@ -410,7 +412,7 @@ type CouponVendorProduct = {
410
412
  couponId: string;
411
413
  productId: string;
412
414
  vendorId: string;
413
- vendorCouponId?: string;
415
+ vendorCouponId?: string | null;
414
416
  };
415
417
  type CouponDefaultsFormData = {
416
418
  couponDescription: string;
@@ -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-Bh_nj9xh.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-eKtRdO3m.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-C4p6YSGQ.mjs';
3
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-D36XsiZQ.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-CcE-PQOR.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-DgFNz7LE.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-BvBpIU4z.mjs';
8
- import { A as AffiliateType } from '../affiliate-BtwUxF_w.mjs';
7
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-D2Dww93Z.mjs';
8
+ import { A as AffiliateType } from '../affiliate-CyELKIG-.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-BxscFtkL.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-SpvNInzo.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-mUnDAPSR.js';
3
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-Cjvh0Szg.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-CdSsPQHl.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--1Dgx3EQ.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-CmGQOai2.js';
8
- import { A as AffiliateType } from '../affiliate-CVSQtlRk.js';
7
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-CQC_FzHj.js';
8
+ import { A as AffiliateType } from '../affiliate-BtxKsl7M.js';
9
9
  import 'react-hook-form';
10
10
  import '../images/index.js';
11
11
 
@@ -275,17 +275,17 @@ var gameScreenIdentifierList = [
275
275
  {
276
276
  clue: "Where your actions turn into a timeline.",
277
277
  id: "activities",
278
- match: "/profile/activities"
278
+ match: "/profile/account/favourites"
279
279
  },
280
280
  {
281
281
  clue: "Where conversations happen without speaking.",
282
282
  id: "chat",
283
- match: "/profile/chat"
283
+ match: "/chat"
284
284
  },
285
285
  {
286
286
  clue: "The place to redefine who you are.",
287
287
  id: "edit-profile",
288
- match: "/profile/edit-profile"
288
+ match: "/profile/account"
289
289
  },
290
290
  {
291
291
  clue: "A single moment worth showing up for.",
@@ -475,8 +475,10 @@ var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle2) => {
475
475
 
476
476
  // src/types/post.ts
477
477
  var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
478
- EnumPostType2["MARKET_FACES"] = "market_faces";
479
478
  EnumPostType2["CLUE_BITES"] = "clue_bites";
479
+ EnumPostType2["CLUE_GUIDES_FOR_ORGANISERS"] = "clue_guides_for_organisers";
480
+ EnumPostType2["CLUE_GUIDES_FOR_VENDORS"] = "clue_guides_for_vendors";
481
+ EnumPostType2["MARKET_FACES"] = "market_faces";
480
482
  EnumPostType2["PLAY_AND_WIN"] = "play_and_win";
481
483
  return EnumPostType2;
482
484
  })(EnumPostType || {});
@@ -573,7 +575,9 @@ var rewardNiceNames = {
573
575
  var PostTypeLabels = {
574
576
  ["market_faces" /* MARKET_FACES */]: "Market Faces",
575
577
  ["clue_bites" /* CLUE_BITES */]: "Clue Bites",
576
- ["play_and_win" /* PLAY_AND_WIN */]: "Play & Win"
578
+ ["play_and_win" /* PLAY_AND_WIN */]: "Play & Win",
579
+ ["clue_guides_for_organisers" /* CLUE_GUIDES_FOR_ORGANISERS */]: "Clue Guides for Organisers",
580
+ ["clue_guides_for_vendors" /* CLUE_GUIDES_FOR_VENDORS */]: "Clue Guides for Stallholders"
577
581
  };
578
582
  var CM_SCHOOL_PROMO_CODE = `${PROMO_CODE_PREFIX}SCHOOL`;
579
583
  var CM_AFFILIATE_PROMO_CODE = `${PROMO_CODE_PREFIX}AFFILIATE`;
@@ -6029,7 +6033,7 @@ var couponOptionSchema = yup10.lazy((value) => {
6029
6033
  var couponVendorProductSchema = yup10.object().shape({
6030
6034
  couponId: yup10.string().label("Coupon").trim().required("Coupon is required"),
6031
6035
  productId: yup10.string().label("Product").trim().required("Product is required"),
6032
- vendorCouponId: yup10.string().label("Vendor Coupon").trim().optional(),
6036
+ vendorCouponId: yup10.string().label("Vendor Coupon").trim().nullable().optional(),
6033
6037
  vendorId: yup10.string().label("Vendor").trim().required("Vendor is required")
6034
6038
  });
6035
6039
  var createCouponSchema = ({