@timardex/cluemart-shared 1.7.63 → 1.7.64
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/{chunk-63CHIBEP.mjs → chunk-6BK45KML.mjs} +13 -3
- package/dist/{chunk-63CHIBEP.mjs.map → chunk-6BK45KML.mjs.map} +1 -1
- package/dist/graphql/index.cjs +12 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -0
- package/dist/graphql/index.d.ts +2 -0
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +12 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3266,6 +3266,8 @@ declare const useRewardCoupon: () => {
|
|
|
3266
3266
|
type GetCouponsVariables = {
|
|
3267
3267
|
category?: string | null;
|
|
3268
3268
|
region?: string | null;
|
|
3269
|
+
resourceId?: string | null;
|
|
3270
|
+
resourceType?: EnumResourceType | null;
|
|
3269
3271
|
};
|
|
3270
3272
|
declare const useGetCoupons: (variables?: GetCouponsVariables) => {
|
|
3271
3273
|
coupons: CouponTypeList | {
|
package/dist/index.d.ts
CHANGED
|
@@ -3266,6 +3266,8 @@ declare const useRewardCoupon: () => {
|
|
|
3266
3266
|
type GetCouponsVariables = {
|
|
3267
3267
|
category?: string | null;
|
|
3268
3268
|
region?: string | null;
|
|
3269
|
+
resourceId?: string | null;
|
|
3270
|
+
resourceType?: EnumResourceType | null;
|
|
3269
3271
|
};
|
|
3270
3272
|
declare const useGetCoupons: (variables?: GetCouponsVariables) => {
|
|
3271
3273
|
coupons: CouponTypeList | {
|
package/dist/index.mjs
CHANGED
|
@@ -8108,8 +8108,18 @@ var COUPON = gql42`
|
|
|
8108
8108
|
${COUPON_DATA_FIELDS_FRAGMENT}
|
|
8109
8109
|
`;
|
|
8110
8110
|
var GET_COUPONS = gql42`
|
|
8111
|
-
query getCoupons(
|
|
8112
|
-
|
|
8111
|
+
query getCoupons(
|
|
8112
|
+
$region: String
|
|
8113
|
+
$category: String
|
|
8114
|
+
$resourceId: String
|
|
8115
|
+
$resourceType: ResourceTypeEnum
|
|
8116
|
+
) {
|
|
8117
|
+
coupons(
|
|
8118
|
+
region: $region
|
|
8119
|
+
category: $category
|
|
8120
|
+
resourceId: $resourceId
|
|
8121
|
+
resourceType: $resourceType
|
|
8122
|
+
) {
|
|
8113
8123
|
active {
|
|
8114
8124
|
listName
|
|
8115
8125
|
data {
|