@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/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($region: String, $category: String) {
8112
- coupons(region: $region, category: $category) {
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 {