@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/index.d.mts
CHANGED
|
@@ -625,6 +625,7 @@ declare enum EnumCouponQualificationType {
|
|
|
625
625
|
type CouponPurchaseOption = {
|
|
626
626
|
buy: number;
|
|
627
627
|
get: number;
|
|
628
|
+
maxCouponCount: number;
|
|
628
629
|
type: EnumCouponQualificationType.PURCHASE;
|
|
629
630
|
unit: string;
|
|
630
631
|
};
|
|
@@ -3266,6 +3267,8 @@ declare const useRewardCoupon: () => {
|
|
|
3266
3267
|
type GetCouponsVariables = {
|
|
3267
3268
|
category?: string | null;
|
|
3268
3269
|
region?: string | null;
|
|
3270
|
+
resourceId?: string | null;
|
|
3271
|
+
resourceType?: EnumResourceType | null;
|
|
3269
3272
|
};
|
|
3270
3273
|
declare const useGetCoupons: (variables?: GetCouponsVariables) => {
|
|
3271
3274
|
coupons: CouponTypeList | {
|
package/dist/index.d.ts
CHANGED
|
@@ -625,6 +625,7 @@ declare enum EnumCouponQualificationType {
|
|
|
625
625
|
type CouponPurchaseOption = {
|
|
626
626
|
buy: number;
|
|
627
627
|
get: number;
|
|
628
|
+
maxCouponCount: number;
|
|
628
629
|
type: EnumCouponQualificationType.PURCHASE;
|
|
629
630
|
unit: string;
|
|
630
631
|
};
|
|
@@ -3266,6 +3267,8 @@ declare const useRewardCoupon: () => {
|
|
|
3266
3267
|
type GetCouponsVariables = {
|
|
3267
3268
|
category?: string | null;
|
|
3268
3269
|
region?: string | null;
|
|
3270
|
+
resourceId?: string | null;
|
|
3271
|
+
resourceType?: EnumResourceType | null;
|
|
3269
3272
|
};
|
|
3270
3273
|
declare const useGetCoupons: (variables?: GetCouponsVariables) => {
|
|
3271
3274
|
coupons: CouponTypeList | {
|
package/dist/index.mjs
CHANGED
|
@@ -8031,6 +8031,7 @@ var COUPON_OPTION_FIELDS_FRAGMENT = gql42`
|
|
|
8031
8031
|
get
|
|
8032
8032
|
unit
|
|
8033
8033
|
visits
|
|
8034
|
+
maxCouponCount
|
|
8034
8035
|
}
|
|
8035
8036
|
`;
|
|
8036
8037
|
var COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT = gql42`
|
|
@@ -8108,8 +8109,18 @@ var COUPON = gql42`
|
|
|
8108
8109
|
${COUPON_DATA_FIELDS_FRAGMENT}
|
|
8109
8110
|
`;
|
|
8110
8111
|
var GET_COUPONS = gql42`
|
|
8111
|
-
query getCoupons(
|
|
8112
|
-
|
|
8112
|
+
query getCoupons(
|
|
8113
|
+
$region: String
|
|
8114
|
+
$category: String
|
|
8115
|
+
$resourceId: String
|
|
8116
|
+
$resourceType: ResourceTypeEnum
|
|
8117
|
+
) {
|
|
8118
|
+
coupons(
|
|
8119
|
+
region: $region
|
|
8120
|
+
category: $category
|
|
8121
|
+
resourceId: $resourceId
|
|
8122
|
+
resourceType: $resourceType
|
|
8123
|
+
) {
|
|
8113
8124
|
active {
|
|
8114
8125
|
listName
|
|
8115
8126
|
data {
|