@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.
- package/dist/{ad-Dn1L9OpH.d.ts → ad-C8D-sSzF.d.ts} +2 -2
- package/dist/{ad-CX_5xl7b.d.mts → ad-DBlMup1m.d.mts} +2 -2
- package/dist/{affiliate-CdFMHIAI.d.ts → affiliate-B4dKY4oC.d.ts} +2 -2
- package/dist/{affiliate-C3AhB3D_.d.mts → affiliate-DpjRNToN.d.mts} +2 -2
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/{chunk-6BK45KML.mjs → chunk-62LFTHUM.mjs} +4 -1
- package/dist/{chunk-6BK45KML.mjs.map → chunk-62LFTHUM.mjs.map} +1 -1
- package/dist/{chunk-76HG44I2.mjs → chunk-G5T3Z6WT.mjs} +2 -2
- package/dist/{chunk-YG7YTCX5.mjs → chunk-WS47NSTO.mjs} +1 -1
- package/dist/{chunk-YG7YTCX5.mjs.map → chunk-WS47NSTO.mjs.map} +1 -1
- package/dist/{contactUs-B3Jy6lSO.d.ts → contactUs-Bm9Nx5L6.d.ts} +1 -1
- package/dist/{contactUs-B1J8xVR_.d.mts → contactUs-w465ljSW.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/{global-Cth1J7MX.d.ts → global-B6l7Xvrj.d.ts} +3 -0
- package/dist/{global-9dM4g5_h.d.mts → global-Da36L_p3.d.mts} +3 -0
- package/dist/graphql/index.cjs +3 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +5 -5
- package/dist/graphql/index.d.ts +5 -5
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +4 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +4 -3
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/{resourceActivities-k58jnCEO.d.ts → resourceActivities-B3G__Pqn.d.ts} +1 -1
- package/dist/{resourceActivities-DZL_oKKt.d.mts → resourceActivities-BqxMTeyA.d.mts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.mjs +1 -1
- package/dist/{user-Ca1jaqJo.d.mts → user-B8jYxHQ8.d.mts} +1 -1
- package/dist/{user-CpedBDF1.d.ts → user-S2zwTsVK.d.ts} +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-76HG44I2.mjs.map → chunk-G5T3Z6WT.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
8
|
-
import { A as AffiliateType } from '../affiliate-
|
|
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
|
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
8
|
-
import { A as AffiliateType } from '../affiliate-
|
|
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
|
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -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");
|