@timardex/cluemart-shared 1.7.63 → 1.7.65
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-CX_5xl7b.d.mts → ad-66Hws2zL.d.mts} +2 -2
- package/dist/{ad-Dn1L9OpH.d.ts → ad-PHkyCdFN.d.ts} +2 -2
- package/dist/{affiliate-C3AhB3D_.d.mts → affiliate-BDWDNhpq.d.mts} +2 -2
- package/dist/{affiliate-CdFMHIAI.d.ts → affiliate-BsrW9awS.d.ts} +2 -2
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/{chunk-63CHIBEP.mjs → chunk-FPBMTY2Y.mjs} +14 -3
- package/dist/{chunk-63CHIBEP.mjs.map → chunk-FPBMTY2Y.mjs.map} +1 -1
- package/dist/{chunk-76HG44I2.mjs → chunk-JZWO462D.mjs} +2 -2
- package/dist/{chunk-YG7YTCX5.mjs → chunk-NNHCOVND.mjs} +1 -1
- package/dist/{chunk-YG7YTCX5.mjs.map → chunk-NNHCOVND.mjs.map} +1 -1
- package/dist/{contactUs-B1J8xVR_.d.mts → contactUs-BB6bGzgU.d.mts} +1 -1
- package/dist/{contactUs-B3Jy6lSO.d.ts → contactUs-DyNbOJSa.d.ts} +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-DCJD_uzH.d.ts} +1 -0
- package/dist/{global-9dM4g5_h.d.mts → global-gZ8lcBuc.d.mts} +1 -0
- package/dist/graphql/index.cjs +13 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +7 -5
- package/dist/graphql/index.d.ts +7 -5
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +14 -2
- 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 +13 -2
- 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 +13 -2
- 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-DZL_oKKt.d.mts → resourceActivities-5YFwtfxZ.d.mts} +1 -1
- package/dist/{resourceActivities-k58jnCEO.d.ts → resourceActivities-xLCYoskh.d.ts} +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-CpeJODEQ.d.mts} +1 -1
- package/dist/{user-CpedBDF1.d.ts → user-dPN0jC3g.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-JZWO462D.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-5YFwtfxZ.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-gZ8lcBuc.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-66Hws2zL.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-CpeJODEQ.mjs';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-BDWDNhpq.mjs';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../images/index.mjs';
|
|
11
11
|
|
|
@@ -1517,6 +1517,8 @@ declare const useRewardCoupon: () => {
|
|
|
1517
1517
|
type GetCouponsVariables = {
|
|
1518
1518
|
category?: string | null;
|
|
1519
1519
|
region?: string | null;
|
|
1520
|
+
resourceId?: string | null;
|
|
1521
|
+
resourceType?: EnumResourceType | null;
|
|
1520
1522
|
};
|
|
1521
1523
|
declare const useGetCoupons: (variables?: GetCouponsVariables) => {
|
|
1522
1524
|
coupons: CouponTypeList | {
|
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-xLCYoskh.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-DCJD_uzH.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-PHkyCdFN.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-dPN0jC3g.js';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-BsrW9awS.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../images/index.js';
|
|
11
11
|
|
|
@@ -1517,6 +1517,8 @@ declare const useRewardCoupon: () => {
|
|
|
1517
1517
|
type GetCouponsVariables = {
|
|
1518
1518
|
category?: string | null;
|
|
1519
1519
|
region?: string | null;
|
|
1520
|
+
resourceId?: string | null;
|
|
1521
|
+
resourceType?: EnumResourceType | null;
|
|
1520
1522
|
};
|
|
1521
1523
|
declare const useGetCoupons: (variables?: GetCouponsVariables) => {
|
|
1522
1524
|
coupons: CouponTypeList | {
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -5630,6 +5630,7 @@ var COUPON_OPTION_FIELDS_FRAGMENT = import_client78.gql`
|
|
|
5630
5630
|
get
|
|
5631
5631
|
unit
|
|
5632
5632
|
visits
|
|
5633
|
+
maxCouponCount
|
|
5633
5634
|
}
|
|
5634
5635
|
`;
|
|
5635
5636
|
var COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT = import_client78.gql`
|
|
@@ -5707,8 +5708,18 @@ var COUPON = import_client78.gql`
|
|
|
5707
5708
|
${COUPON_DATA_FIELDS_FRAGMENT}
|
|
5708
5709
|
`;
|
|
5709
5710
|
var GET_COUPONS = import_client78.gql`
|
|
5710
|
-
query getCoupons(
|
|
5711
|
-
|
|
5711
|
+
query getCoupons(
|
|
5712
|
+
$region: String
|
|
5713
|
+
$category: String
|
|
5714
|
+
$resourceId: String
|
|
5715
|
+
$resourceType: ResourceTypeEnum
|
|
5716
|
+
) {
|
|
5717
|
+
coupons(
|
|
5718
|
+
region: $region
|
|
5719
|
+
category: $category
|
|
5720
|
+
resourceId: $resourceId
|
|
5721
|
+
resourceType: $resourceType
|
|
5722
|
+
) {
|
|
5712
5723
|
active {
|
|
5713
5724
|
listName
|
|
5714
5725
|
data {
|
|
@@ -6036,6 +6047,7 @@ var couponPurchaseOptionSchema = yup10.object().shape({
|
|
|
6036
6047
|
if (value === void 0 || buy === void 0) return true;
|
|
6037
6048
|
return value < buy;
|
|
6038
6049
|
}),
|
|
6050
|
+
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"),
|
|
6039
6051
|
type: yup10.mixed().oneOf(["PURCHASE" /* PURCHASE */], "Type must be PURCHASE").required("Type is required"),
|
|
6040
6052
|
unit: yup10.string().label("Unit").trim().required("Unit is required")
|
|
6041
6053
|
}).nullable().defined("Coupon option is required");
|