@timardex/cluemart-shared 1.5.791 → 1.5.792

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 (44) hide show
  1. package/dist/{affiliate-B-jSNkBB.d.ts → affiliate-C09PnHJx.d.ts} +3 -0
  2. package/dist/{affiliate-CfLsTGgF.d.mts → affiliate-ISt4ujwI.d.mts} +3 -0
  3. package/dist/{chunk-XR5RTNG3.mjs → chunk-5DA4KGDS.mjs} +6 -2
  4. package/dist/{chunk-XR5RTNG3.mjs.map → chunk-5DA4KGDS.mjs.map} +1 -1
  5. package/dist/{chunk-V25PPJEQ.mjs → chunk-G4HKDB7T.mjs} +14 -2
  6. package/dist/chunk-G4HKDB7T.mjs.map +1 -0
  7. package/dist/{chunk-HATC3Y5J.mjs → chunk-VZPFJYPL.mjs} +2 -2
  8. package/dist/{chunk-45PVMXYY.mjs → chunk-XY5XRXR3.mjs} +4 -1
  9. package/dist/{chunk-45PVMXYY.mjs.map → chunk-XY5XRXR3.mjs.map} +1 -1
  10. package/dist/formFields/index.cjs +12 -0
  11. package/dist/formFields/index.cjs.map +1 -1
  12. package/dist/formFields/index.mjs +3 -3
  13. package/dist/graphql/index.d.mts +1 -1
  14. package/dist/graphql/index.d.ts +1 -1
  15. package/dist/hooks/index.cjs +16 -1
  16. package/dist/hooks/index.cjs.map +1 -1
  17. package/dist/hooks/index.d.mts +1 -1
  18. package/dist/hooks/index.d.ts +1 -1
  19. package/dist/hooks/index.mjs +8 -5
  20. package/dist/hooks/index.mjs.map +1 -1
  21. package/dist/index.cjs +20 -0
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.mts +21 -1
  24. package/dist/index.d.ts +21 -1
  25. package/dist/index.mjs +19 -0
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/sharing/index.cjs +19 -2
  28. package/dist/sharing/index.cjs.map +1 -1
  29. package/dist/sharing/index.d.mts +6 -1
  30. package/dist/sharing/index.d.ts +6 -1
  31. package/dist/sharing/index.mjs +7 -5
  32. package/dist/types/index.cjs +3 -0
  33. package/dist/types/index.cjs.map +1 -1
  34. package/dist/types/index.d.mts +1 -1
  35. package/dist/types/index.d.ts +1 -1
  36. package/dist/types/index.mjs +1 -1
  37. package/dist/utils/index.cjs +12 -0
  38. package/dist/utils/index.cjs.map +1 -1
  39. package/dist/utils/index.d.mts +13 -1
  40. package/dist/utils/index.d.ts +13 -1
  41. package/dist/utils/index.mjs +2 -2
  42. package/package.json +1 -1
  43. package/dist/chunk-V25PPJEQ.mjs.map +0 -1
  44. /package/dist/{chunk-HATC3Y5J.mjs.map → chunk-VZPFJYPL.mjs.map} +0 -0
@@ -41,12 +41,12 @@ import {
41
41
  vendorStallSize,
42
42
  vendorStartDateFields,
43
43
  vendorTable
44
- } from "../chunk-HATC3Y5J.mjs";
44
+ } from "../chunk-VZPFJYPL.mjs";
45
45
  import {
46
46
  availableCategories,
47
47
  categoryColors
48
- } from "../chunk-V25PPJEQ.mjs";
49
- import "../chunk-45PVMXYY.mjs";
48
+ } from "../chunk-G4HKDB7T.mjs";
49
+ import "../chunk-XY5XRXR3.mjs";
50
50
  import "../chunk-LETM2YHF.mjs";
51
51
  export {
52
52
  availableCategories,
@@ -4,7 +4,7 @@ import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
4
4
  import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-kAjUceeE.mjs';
5
5
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-zczOntNk.mjs';
6
6
  import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-BUUfmCo7.mjs';
7
- import { A as AffiliateType } from '../affiliate-CfLsTGgF.mjs';
7
+ import { A as AffiliateType } from '../affiliate-ISt4ujwI.mjs';
8
8
  import '../images/index.mjs';
9
9
  import 'react-hook-form';
10
10
 
@@ -4,7 +4,7 @@ import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
4
4
  import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-BmDOVKmE.js';
5
5
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BL_12IAo.js';
6
6
  import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-fKbMmluy.js';
7
- import { A as AffiliateType } from '../affiliate-B-jSNkBB.js';
7
+ import { A as AffiliateType } from '../affiliate-C09PnHJx.js';
8
8
  import '../images/index.js';
9
9
  import 'react-hook-form';
10
10
 
@@ -553,6 +553,18 @@ var AFFILIATE_REWARDS = {
553
553
  ["NEW_VENDOR_REGISTRATION" /* NEW_VENDOR_REGISTRATION */]: {
554
554
  description: "5 points for new vendor registration (one-time reward)",
555
555
  value: 5
556
+ },
557
+ ["ACTIVE_VENDOR_PRO_SUBSCRIPTION" /* ACTIVE_VENDOR_PRO_SUBSCRIPTION */]: {
558
+ description: "3 points for active vendor pro subscription (monthly reward)",
559
+ value: 3
560
+ },
561
+ ["ACTIVE_VENDOR_STANDARD_SUBSCRIPTION" /* ACTIVE_VENDOR_STANDARD_SUBSCRIPTION */]: {
562
+ description: "1 point for active vendor standard subscription (monthly reward)",
563
+ value: 1
564
+ },
565
+ ["ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS" /* ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS */]: {
566
+ description: "50 points for active event with vendor registrations (one-time reward)",
567
+ value: 50
556
568
  }
557
569
  };
558
570
 
@@ -6587,7 +6599,10 @@ var affiliateContactDetailsSchema = yup12.object({
6587
6599
  });
6588
6600
  var bankAccountDetailsSchema = yup12.object({
6589
6601
  accountHolderName: yup12.string().required("Account holder name is required"),
6590
- accountNumber: yup12.string().required("Account number is required")
6602
+ accountNumber: yup12.string().required("Account number is required for bank transfer").matches(
6603
+ nzBankAccountRegex,
6604
+ "Account number must be in format: XX-XXXX-XXXXXXX-XX"
6605
+ ).trim()
6591
6606
  });
6592
6607
  var affiliateSchema = yup12.object().shape({
6593
6608
  _id: yup12.string().required(),