@timardex/cluemart-shared 1.7.65 → 1.7.67

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 (52) hide show
  1. package/dist/{ad-PHkyCdFN.d.ts → ad-C8D-sSzF.d.ts} +2 -2
  2. package/dist/{ad-66Hws2zL.d.mts → ad-DBlMup1m.d.mts} +2 -2
  3. package/dist/{affiliate-BDWDNhpq.d.mts → affiliate-B4dKY4oC.d.ts} +3 -3
  4. package/dist/{affiliate-BsrW9awS.d.ts → affiliate-DpjRNToN.d.mts} +3 -3
  5. package/dist/auth/index.d.mts +3 -3
  6. package/dist/auth/index.d.ts +3 -3
  7. package/dist/{chunk-JZWO462D.mjs → chunk-G5T3Z6WT.mjs} +2 -2
  8. package/dist/{chunk-FPBMTY2Y.mjs → chunk-NDJ52M2N.mjs} +8 -6
  9. package/dist/{chunk-FPBMTY2Y.mjs.map → chunk-NDJ52M2N.mjs.map} +1 -1
  10. package/dist/{chunk-NNHCOVND.mjs → chunk-WS47NSTO.mjs} +1 -1
  11. package/dist/{chunk-NNHCOVND.mjs.map → chunk-WS47NSTO.mjs.map} +1 -1
  12. package/dist/{contactUs-DyNbOJSa.d.ts → contactUs-Bm9Nx5L6.d.ts} +1 -1
  13. package/dist/{contactUs-BB6bGzgU.d.mts → contactUs-w465ljSW.d.mts} +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-DCJD_uzH.d.ts → global-B6l7Xvrj.d.ts} +2 -0
  18. package/dist/{global-gZ8lcBuc.d.mts → global-Da36L_p3.d.mts} +2 -0
  19. package/dist/graphql/index.cjs +7 -5
  20. package/dist/graphql/index.cjs.map +1 -1
  21. package/dist/graphql/index.d.mts +5 -5
  22. package/dist/graphql/index.d.ts +5 -5
  23. package/dist/graphql/index.mjs +1 -1
  24. package/dist/hooks/index.cjs +3 -1
  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 +4 -4
  29. package/dist/hooks/index.mjs.map +1 -1
  30. package/dist/index.cjs +7 -5
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.mts +2 -0
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.mjs +7 -5
  35. package/dist/index.mjs.map +1 -1
  36. package/dist/map/index.d.mts +1 -1
  37. package/dist/map/index.d.ts +1 -1
  38. package/dist/{resourceActivities-xLCYoskh.d.ts → resourceActivities-B3G__Pqn.d.ts} +1 -1
  39. package/dist/{resourceActivities-5YFwtfxZ.d.mts → resourceActivities-BqxMTeyA.d.mts} +1 -1
  40. package/dist/sharing/index.d.mts +1 -1
  41. package/dist/sharing/index.d.ts +1 -1
  42. package/dist/types/index.cjs.map +1 -1
  43. package/dist/types/index.d.mts +7 -7
  44. package/dist/types/index.d.ts +7 -7
  45. package/dist/types/index.mjs +1 -1
  46. package/dist/{user-CpeJODEQ.d.mts → user-B8jYxHQ8.d.mts} +1 -1
  47. package/dist/{user-dPN0jC3g.d.ts → user-S2zwTsVK.d.ts} +1 -1
  48. package/dist/utils/index.d.mts +3 -3
  49. package/dist/utils/index.d.ts +3 -3
  50. package/dist/utils/index.mjs +2 -2
  51. package/package.json +1 -1
  52. /package/dist/{chunk-JZWO462D.mjs.map → chunk-G5T3Z6WT.mjs.map} +0 -0
@@ -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, a2 as CreateFormData, aL as ResourceContactDetailsType, aN as ResourceImageType, aO as SocialMediaType, aS as TermsAgreement, ao as OwnerType, aC as PromoCodeType, M as MutationResponse } from './global-DCJD_uzH.js';
2
+ import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a2 as CreateFormData, aL as ResourceContactDetailsType, aN as ResourceImageType, aO as SocialMediaType, aS as TermsAgreement, ao as OwnerType, aC as PromoCodeType, M as MutationResponse } from './global-B6l7Xvrj.js';
3
3
  import { PosterAssetId } from './images/index.js';
4
- import { S as SafeUserType, U as UserFormData } from './user-dPN0jC3g.js';
4
+ import { S as SafeUserType, U as UserFormData } from './user-S2zwTsVK.js';
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.mjs';
2
- import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a2 as CreateFormData, aL as ResourceContactDetailsType, aN as ResourceImageType, aO as SocialMediaType, aS as TermsAgreement, ao as OwnerType, aC as PromoCodeType, M as MutationResponse } from './global-gZ8lcBuc.mjs';
2
+ import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a2 as CreateFormData, aL as ResourceContactDetailsType, aN as ResourceImageType, aO as SocialMediaType, aS as TermsAgreement, ao as OwnerType, aC as PromoCodeType, M as MutationResponse } from './global-Da36L_p3.mjs';
3
3
  import { PosterAssetId } from './images/index.mjs';
4
- import { S as SafeUserType, U as UserFormData } from './user-CpeJODEQ.mjs';
4
+ import { S as SafeUserType, U as UserFormData } from './user-B8jYxHQ8.mjs';
5
5
 
6
6
  interface PartnerFormData extends BaseResourceTypeFormData {
7
7
  location: LocationType;
@@ -1,6 +1,6 @@
1
- import { EnumResourceType } from './enums/index.mjs';
2
- import { aC as PromoCodeType, L as LocationType, aO as SocialMediaType, ao as OwnerType, a2 as CreateFormData } from './global-gZ8lcBuc.mjs';
3
- import { U as UserFormData } from './user-CpeJODEQ.mjs';
1
+ import { EnumResourceType } from './enums/index.js';
2
+ import { aC as PromoCodeType, L as LocationType, aO as SocialMediaType, ao as OwnerType, a2 as CreateFormData } from './global-B6l7Xvrj.js';
3
+ import { U as UserFormData } from './user-S2zwTsVK.js';
4
4
 
5
5
  declare enum EnumAffiliateParticipantType {
6
6
  INDIVIDUAL = "INDIVIDUAL",
@@ -1,6 +1,6 @@
1
- import { EnumResourceType } from './enums/index.js';
2
- import { aC as PromoCodeType, L as LocationType, aO as SocialMediaType, ao as OwnerType, a2 as CreateFormData } from './global-DCJD_uzH.js';
3
- import { U as UserFormData } from './user-dPN0jC3g.js';
1
+ import { EnumResourceType } from './enums/index.mjs';
2
+ import { aC as PromoCodeType, L as LocationType, aO as SocialMediaType, ao as OwnerType, a2 as CreateFormData } from './global-Da36L_p3.mjs';
3
+ import { U as UserFormData } from './user-B8jYxHQ8.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-CpeJODEQ.mjs';
3
- export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-CpeJODEQ.mjs';
2
+ import { P as Permission, S as SafeUserType } from '../user-B8jYxHQ8.mjs';
3
+ export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-B8jYxHQ8.mjs';
4
4
  import { T as Tier } from '../subscription-bmAdrnfi.mjs';
5
5
  import React, { ReactNode } from 'react';
6
- import '../global-gZ8lcBuc.mjs';
6
+ import '../global-Da36L_p3.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-dPN0jC3g.js';
3
- export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-dPN0jC3g.js';
2
+ import { P as Permission, S as SafeUserType } from '../user-S2zwTsVK.js';
3
+ export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-S2zwTsVK.js';
4
4
  import { T as Tier } from '../subscription-BU8GvH2K.js';
5
5
  import React, { ReactNode } from 'react';
6
- import '../global-DCJD_uzH.js';
6
+ import '../global-B6l7Xvrj.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-NNHCOVND.mjs";
13
+ } from "./chunk-WS47NSTO.mjs";
14
14
  import {
15
15
  isTransientNetworkError
16
16
  } from "./chunk-RAYUJODN.mjs";
@@ -1698,4 +1698,4 @@ export {
1698
1698
  toUserFacingErrorMessage,
1699
1699
  getErrorMessage
1700
1700
  };
1701
- //# sourceMappingURL=chunk-JZWO462D.mjs.map
1701
+ //# sourceMappingURL=chunk-G5T3Z6WT.mjs.map
@@ -3594,6 +3594,8 @@ var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = gql36`
3594
3594
  fragment CouponParticipantUserFields on CouponParticipantUserType {
3595
3595
  couponCollectedCount
3596
3596
  couponRedeemedAt
3597
+ couponRedeemedCount
3598
+ couponCycleRedeemed
3597
3599
  createdAt
3598
3600
  updatedAt
3599
3601
  userId
@@ -3788,35 +3790,35 @@ var REWARD_COUPON_MUTATION = gql37`
3788
3790
  var useCreateCoupon = () => {
3789
3791
  const [createCoupon, { loading, error }] = useMutation20(CREATE_COUPON_MUTATION, {
3790
3792
  awaitRefetchQueries: true,
3791
- refetchQueries: [{ query: GET_COUPONS }]
3793
+ refetchQueries: [GET_COUPONS]
3792
3794
  });
3793
3795
  return { createCoupon, error, loading };
3794
3796
  };
3795
3797
  var useUpdateCoupon = () => {
3796
3798
  const [updateCoupon, { loading, error }] = useMutation20(UPDATE_COUPON_MUTATION, {
3797
3799
  awaitRefetchQueries: true,
3798
- refetchQueries: [{ query: GET_COUPONS }]
3800
+ refetchQueries: [GET_COUPONS]
3799
3801
  });
3800
3802
  return { error, loading, updateCoupon };
3801
3803
  };
3802
3804
  var useDeleteCoupon = () => {
3803
3805
  const [deleteCoupon, { loading, error }] = useMutation20(DELETE_COUPON_MUTATION, {
3804
3806
  awaitRefetchQueries: true,
3805
- refetchQueries: [{ query: GET_COUPONS }]
3807
+ refetchQueries: [GET_COUPONS]
3806
3808
  });
3807
3809
  return { deleteCoupon, error, loading };
3808
3810
  };
3809
3811
  var useScanCoupon = () => {
3810
3812
  const [scanCoupon, { loading, error }] = useMutation20(SCAN_COUPON_MUTATION, {
3811
3813
  awaitRefetchQueries: true,
3812
- refetchQueries: [{ query: GET_COUPONS }]
3814
+ refetchQueries: [GET_COUPONS]
3813
3815
  });
3814
3816
  return { error, loading, scanCoupon };
3815
3817
  };
3816
3818
  var useRewardCoupon = () => {
3817
3819
  const [rewardCoupon, { loading, error }] = useMutation20(REWARD_COUPON_MUTATION, {
3818
3820
  awaitRefetchQueries: true,
3819
- refetchQueries: [{ query: GET_COUPONS }]
3821
+ refetchQueries: [GET_COUPONS]
3820
3822
  });
3821
3823
  return { error, loading, rewardCoupon };
3822
3824
  };
@@ -3996,4 +3998,4 @@ export {
3996
3998
  useGetCoupons,
3997
3999
  useGetCoupon
3998
4000
  };
3999
- //# sourceMappingURL=chunk-FPBMTY2Y.mjs.map
4001
+ //# sourceMappingURL=chunk-NDJ52M2N.mjs.map