@timardex/cluemart-shared 1.7.49 → 1.7.51

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.
Files changed (51) hide show
  1. package/dist/{ad-DFY6URsw.d.mts → ad-CPz_YjR3.d.mts} +2 -2
  2. package/dist/{ad-2AW1JD8A.d.ts → ad-DlEidDDn.d.ts} +2 -2
  3. package/dist/{affiliate-DqEAKmqT.d.ts → affiliate-D5O5FfUC.d.ts} +2 -2
  4. package/dist/{affiliate-Buu_lbqm.d.mts → affiliate-gsHokKnO.d.mts} +2 -2
  5. package/dist/auth/index.d.mts +3 -3
  6. package/dist/auth/index.d.ts +3 -3
  7. package/dist/{chunk-YVEXOCXF.mjs → chunk-7YUHKL5A.mjs} +2 -2
  8. package/dist/{chunk-TI7EE7CT.mjs → chunk-NCSJIE42.mjs} +7 -5
  9. package/dist/{chunk-TI7EE7CT.mjs.map → chunk-NCSJIE42.mjs.map} +1 -1
  10. package/dist/{chunk-NCMKTUWS.mjs → chunk-RIE2OS4I.mjs} +1 -1
  11. package/dist/{chunk-NCMKTUWS.mjs.map → chunk-RIE2OS4I.mjs.map} +1 -1
  12. package/dist/{contactUs-jOb2jnih.d.mts → contactUs-BJQeu7Be.d.mts} +1 -1
  13. package/dist/{contactUs-B-m0Wu7K.d.ts → contactUs-C39e1EfO.d.ts} +1 -1
  14. package/dist/formFields/index.d.mts +1 -1
  15. package/dist/formFields/index.d.ts +1 -1
  16. package/dist/formFields/index.mjs +2 -2
  17. package/dist/{global-Vq3BudHa.d.ts → global-CtjIrs69.d.ts} +1 -0
  18. package/dist/{global-BlbbSNzX.d.mts → global-CxumKna-.d.mts} +1 -0
  19. package/dist/graphql/index.cjs +6 -4
  20. package/dist/graphql/index.cjs.map +1 -1
  21. package/dist/graphql/index.d.mts +11 -7
  22. package/dist/graphql/index.d.ts +11 -7
  23. package/dist/graphql/index.mjs +1 -1
  24. package/dist/hooks/index.cjs +3 -2
  25. package/dist/hooks/index.cjs.map +1 -1
  26. package/dist/hooks/index.d.mts +5 -5
  27. package/dist/hooks/index.d.ts +5 -5
  28. package/dist/hooks/index.mjs +3 -3
  29. package/dist/index.cjs +6 -4
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.mts +7 -2
  32. package/dist/index.d.ts +7 -2
  33. package/dist/index.mjs +6 -4
  34. package/dist/index.mjs.map +1 -1
  35. package/dist/map/index.d.mts +1 -1
  36. package/dist/map/index.d.ts +1 -1
  37. package/dist/{resourceActivities-CoXFG4sD.d.mts → resourceActivities-B0B-uWFO.d.mts} +1 -1
  38. package/dist/{resourceActivities-B2TH_bYa.d.ts → resourceActivities-BR8aGYJp.d.ts} +1 -1
  39. package/dist/sharing/index.d.mts +1 -1
  40. package/dist/sharing/index.d.ts +1 -1
  41. package/dist/types/index.cjs.map +1 -1
  42. package/dist/types/index.d.mts +7 -7
  43. package/dist/types/index.d.ts +7 -7
  44. package/dist/types/index.mjs +1 -1
  45. package/dist/{user-DMKMDVAN.d.ts → user-CDKT3M1F.d.ts} +1 -1
  46. package/dist/{user-BnZtK7GF.d.mts → user-Cux67Xnr.d.mts} +1 -1
  47. package/dist/utils/index.d.mts +3 -3
  48. package/dist/utils/index.d.ts +3 -3
  49. package/dist/utils/index.mjs +2 -2
  50. package/package.json +1 -1
  51. /package/dist/{chunk-YVEXOCXF.mjs.map → chunk-7YUHKL5A.mjs.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { EnumPartnerType, EnumResourceType, EnumOSPlatform } from './enums/index.mjs';
2
- import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aK as ResourceContactDetailsType, aM as ResourceImageType, aN as SocialMediaType, aR as TermsAgreement, an as OwnerType, aB as PromoCodeType, M as MutationResponse } from './global-BlbbSNzX.mjs';
2
+ import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aK as ResourceContactDetailsType, aM as ResourceImageType, aN as SocialMediaType, aR as TermsAgreement, an as OwnerType, aB as PromoCodeType, M as MutationResponse } from './global-CxumKna-.mjs';
3
3
  import { PosterAssetId } from './images/index.mjs';
4
- import { S as SafeUserType } from './user-BnZtK7GF.mjs';
4
+ import { S as SafeUserType } from './user-Cux67Xnr.mjs';
5
5
 
6
6
  interface PartnerFormData extends BaseResourceTypeFormData {
7
7
  location: LocationType;
@@ -1,7 +1,7 @@
1
1
  import { EnumPartnerType, EnumResourceType, EnumOSPlatform } from './enums/index.js';
2
- import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aK as ResourceContactDetailsType, aM as ResourceImageType, aN as SocialMediaType, aR as TermsAgreement, an as OwnerType, aB as PromoCodeType, M as MutationResponse } from './global-Vq3BudHa.js';
2
+ import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aK as ResourceContactDetailsType, aM as ResourceImageType, aN as SocialMediaType, aR as TermsAgreement, an as OwnerType, aB as PromoCodeType, M as MutationResponse } from './global-CtjIrs69.js';
3
3
  import { PosterAssetId } from './images/index.js';
4
- import { S as SafeUserType } from './user-DMKMDVAN.js';
4
+ import { S as SafeUserType } from './user-CDKT3M1F.js';
5
5
 
6
6
  interface PartnerFormData extends BaseResourceTypeFormData {
7
7
  location: LocationType;
@@ -1,6 +1,6 @@
1
1
  import { EnumResourceType } from './enums/index.js';
2
- import { aB as PromoCodeType, L as LocationType, aN as SocialMediaType, an as OwnerType, a1 as CreateFormData } from './global-Vq3BudHa.js';
3
- import { U as UserFormData } from './user-DMKMDVAN.js';
2
+ import { aB as PromoCodeType, L as LocationType, aN as SocialMediaType, an as OwnerType, a1 as CreateFormData } from './global-CtjIrs69.js';
3
+ import { U as UserFormData } from './user-CDKT3M1F.js';
4
4
 
5
5
  declare enum EnumAffiliateParticipantType {
6
6
  INDIVIDUAL = "INDIVIDUAL",
@@ -1,6 +1,6 @@
1
1
  import { EnumResourceType } from './enums/index.mjs';
2
- import { aB as PromoCodeType, L as LocationType, aN as SocialMediaType, an as OwnerType, a1 as CreateFormData } from './global-BlbbSNzX.mjs';
3
- import { U as UserFormData } from './user-BnZtK7GF.mjs';
2
+ import { aB as PromoCodeType, L as LocationType, aN as SocialMediaType, an as OwnerType, a1 as CreateFormData } from './global-CxumKna-.mjs';
3
+ import { U as UserFormData } from './user-Cux67Xnr.mjs';
4
4
 
5
5
  declare enum EnumAffiliateParticipantType {
6
6
  INDIVIDUAL = "INDIVIDUAL",
@@ -1,9 +1,9 @@
1
1
  import { EnumUserRole, EnumResourceType, EnumUserLicence } from '../enums/index.mjs';
2
- import { P as Permission, S as SafeUserType } from '../user-BnZtK7GF.mjs';
3
- export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-BnZtK7GF.mjs';
2
+ import { P as Permission, S as SafeUserType } from '../user-Cux67Xnr.mjs';
3
+ export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-Cux67Xnr.mjs';
4
4
  import { T as Tier } from '../subscription-bmAdrnfi.mjs';
5
5
  import React, { ReactNode } from 'react';
6
- import '../global-BlbbSNzX.mjs';
6
+ import '../global-CxumKna-.mjs';
7
7
  import 'react-hook-form';
8
8
 
9
9
  type AuthManager = {
@@ -1,9 +1,9 @@
1
1
  import { EnumUserRole, EnumResourceType, EnumUserLicence } from '../enums/index.js';
2
- import { P as Permission, S as SafeUserType } from '../user-DMKMDVAN.js';
3
- export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-DMKMDVAN.js';
2
+ import { P as Permission, S as SafeUserType } from '../user-CDKT3M1F.js';
3
+ export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-CDKT3M1F.js';
4
4
  import { T as Tier } from '../subscription-BU8GvH2K.js';
5
5
  import React, { ReactNode } from 'react';
6
- import '../global-Vq3BudHa.js';
6
+ import '../global-CtjIrs69.js';
7
7
  import 'react-hook-form';
8
8
 
9
9
  type AuthManager = {
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  PROMO_CODE_PREFIX,
12
12
  gameScreenIdentifierList
13
- } from "./chunk-NCMKTUWS.mjs";
13
+ } from "./chunk-RIE2OS4I.mjs";
14
14
  import {
15
15
  isTransientNetworkError
16
16
  } from "./chunk-RAYUJODN.mjs";
@@ -1696,4 +1696,4 @@ export {
1696
1696
  toUserFacingErrorMessage,
1697
1697
  getErrorMessage
1698
1698
  };
1699
- //# sourceMappingURL=chunk-YVEXOCXF.mjs.map
1699
+ //# sourceMappingURL=chunk-7YUHKL5A.mjs.map
@@ -3602,6 +3602,7 @@ var COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT = gql36`
3602
3602
  productsList {
3603
3603
  ...VendorProductListFields
3604
3604
  }
3605
+ vendorId
3605
3606
  vendorLogo {
3606
3607
  ...ResourceImageFields
3607
3608
  }
@@ -3661,8 +3662,8 @@ var COUPON = gql36`
3661
3662
  ${COUPON_DATA_FIELDS_FRAGMENT}
3662
3663
  `;
3663
3664
  var GET_COUPONS = gql36`
3664
- query getCoupons {
3665
- coupons {
3665
+ query getCoupons($region: String, $category: String) {
3666
+ coupons(region: $region, category: $category) {
3666
3667
  active {
3667
3668
  listName
3668
3669
  data {
@@ -3774,9 +3775,10 @@ var useScanCoupon = () => {
3774
3775
 
3775
3776
  // src/graphql/hooks/coupon/hooksQuery.ts
3776
3777
  import { useQuery as useQuery15 } from "@apollo/client";
3777
- var useGetCoupons = () => {
3778
+ var useGetCoupons = (variables) => {
3778
3779
  const { loading, error, data, refetch } = useQuery15(GET_COUPONS, {
3779
- fetchPolicy: "network-only"
3780
+ fetchPolicy: "network-only",
3781
+ variables
3780
3782
  });
3781
3783
  const coupons = data?.coupons || {
3782
3784
  active: null,
@@ -3944,4 +3946,4 @@ export {
3944
3946
  useGetCoupons,
3945
3947
  useGetCoupon
3946
3948
  };
3947
- //# sourceMappingURL=chunk-TI7EE7CT.mjs.map
3949
+ //# sourceMappingURL=chunk-NCSJIE42.mjs.map