@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.
@@ -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 | {
@@ -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 | {
@@ -148,7 +148,7 @@ import {
148
148
  useUpdateUser,
149
149
  useUpdateVendor,
150
150
  useUpdateVendorInfo
151
- } from "../chunk-63CHIBEP.mjs";
151
+ } from "../chunk-6BK45KML.mjs";
152
152
  import {
153
153
  GET_EVENT,
154
154
  GET_EVENT_INFO,
@@ -5707,8 +5707,18 @@ var COUPON = import_client78.gql`
5707
5707
  ${COUPON_DATA_FIELDS_FRAGMENT}
5708
5708
  `;
5709
5709
  var GET_COUPONS = import_client78.gql`
5710
- query getCoupons($region: String, $category: String) {
5711
- coupons(region: $region, category: $category) {
5710
+ query getCoupons(
5711
+ $region: String
5712
+ $category: String
5713
+ $resourceId: String
5714
+ $resourceType: ResourceTypeEnum
5715
+ ) {
5716
+ coupons(
5717
+ region: $region
5718
+ category: $category
5719
+ resourceId: $resourceId
5720
+ resourceType: $resourceType
5721
+ ) {
5712
5722
  active {
5713
5723
  listName
5714
5724
  data {