@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.
- package/dist/{affiliate-B-jSNkBB.d.ts → affiliate-C09PnHJx.d.ts} +3 -0
- package/dist/{affiliate-CfLsTGgF.d.mts → affiliate-ISt4ujwI.d.mts} +3 -0
- package/dist/{chunk-XR5RTNG3.mjs → chunk-5DA4KGDS.mjs} +6 -2
- package/dist/{chunk-XR5RTNG3.mjs.map → chunk-5DA4KGDS.mjs.map} +1 -1
- package/dist/{chunk-V25PPJEQ.mjs → chunk-G4HKDB7T.mjs} +14 -2
- package/dist/chunk-G4HKDB7T.mjs.map +1 -0
- package/dist/{chunk-HATC3Y5J.mjs → chunk-VZPFJYPL.mjs} +2 -2
- package/dist/{chunk-45PVMXYY.mjs → chunk-XY5XRXR3.mjs} +4 -1
- package/dist/{chunk-45PVMXYY.mjs.map → chunk-XY5XRXR3.mjs.map} +1 -1
- package/dist/formFields/index.cjs +12 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/hooks/index.cjs +16 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +8 -5
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +20 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.mjs +19 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +19 -2
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +6 -1
- package/dist/sharing/index.d.ts +6 -1
- package/dist/sharing/index.mjs +7 -5
- package/dist/types/index.cjs +3 -0
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs +12 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +13 -1
- package/dist/utils/index.d.ts +13 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-V25PPJEQ.mjs.map +0 -1
- /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-
|
|
44
|
+
} from "../chunk-VZPFJYPL.mjs";
|
|
45
45
|
import {
|
|
46
46
|
availableCategories,
|
|
47
47
|
categoryColors
|
|
48
|
-
} from "../chunk-
|
|
49
|
-
import "../chunk-
|
|
48
|
+
} from "../chunk-G4HKDB7T.mjs";
|
|
49
|
+
import "../chunk-XY5XRXR3.mjs";
|
|
50
50
|
import "../chunk-LETM2YHF.mjs";
|
|
51
51
|
export {
|
|
52
52
|
availableCategories,
|
package/dist/graphql/index.d.mts
CHANGED
|
@@ -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-
|
|
7
|
+
import { A as AffiliateType } from '../affiliate-ISt4ujwI.mjs';
|
|
8
8
|
import '../images/index.mjs';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -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-
|
|
7
|
+
import { A as AffiliateType } from '../affiliate-C09PnHJx.js';
|
|
8
8
|
import '../images/index.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -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(),
|