@timardex/cluemart-shared 1.7.32 → 1.7.35

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-FrGeJoW6.d.ts → ad-DHN0IudM.d.ts} +2 -2
  2. package/dist/{ad-BsAes_WS.d.mts → ad-QDSgLYQe.d.mts} +2 -2
  3. package/dist/{affiliate-2h_y0IL4.d.ts → affiliate-CI_khNgq.d.ts} +2 -2
  4. package/dist/{affiliate-KR-MNBCC.d.mts → affiliate-kR3czfpb.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-3UYXNSNB.mjs → chunk-IH3BEKPK.mjs} +2 -2
  8. package/dist/{chunk-UV5GH6NI.mjs → chunk-OH7ZORGB.mjs} +1 -1
  9. package/dist/{chunk-UV5GH6NI.mjs.map → chunk-OH7ZORGB.mjs.map} +1 -1
  10. package/dist/{chunk-BGTWSB5L.mjs → chunk-QOPOOOS7.mjs} +13 -5
  11. package/dist/{chunk-BGTWSB5L.mjs.map → chunk-QOPOOOS7.mjs.map} +1 -1
  12. package/dist/{contactUs-CQqOcQk_.d.ts → contactUs-Dpf4Wtf0.d.ts} +1 -1
  13. package/dist/{contactUs-DOI78kmJ.d.mts → contactUs-KdCU5i-u.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/graphql/index.cjs +12 -4
  18. package/dist/graphql/index.cjs.map +1 -1
  19. package/dist/graphql/index.d.mts +5 -5
  20. package/dist/graphql/index.d.ts +5 -5
  21. package/dist/graphql/index.mjs +1 -1
  22. package/dist/hooks/index.cjs +32 -5
  23. package/dist/hooks/index.cjs.map +1 -1
  24. package/dist/hooks/index.d.mts +5 -5
  25. package/dist/hooks/index.d.ts +5 -5
  26. package/dist/hooks/index.mjs +23 -4
  27. package/dist/hooks/index.mjs.map +1 -1
  28. package/dist/index.cjs +12 -4
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.mts +2 -2
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.mjs +12 -4
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/map/index.d.mts +1 -1
  35. package/dist/map/index.d.ts +1 -1
  36. package/dist/{resourceActivities-CoCW9VLu.d.mts → resourceActivities-CLvYtSbH.d.mts} +1 -1
  37. package/dist/{resourceActivities-DMEtduFL.d.ts → resourceActivities-E1zbLLJN.d.ts} +1 -1
  38. package/dist/sharing/index.d.mts +1 -1
  39. package/dist/sharing/index.d.ts +1 -1
  40. package/dist/types/index.cjs.map +1 -1
  41. package/dist/types/index.d.mts +7 -7
  42. package/dist/types/index.d.ts +7 -7
  43. package/dist/types/index.mjs +1 -1
  44. package/dist/{user-Bynr8XGA.d.ts → user-BgSYnv1D.d.ts} +1 -1
  45. package/dist/{user-0qKK4juO.d.mts → user-DcXGRyeL.d.mts} +1 -1
  46. package/dist/utils/index.d.mts +3 -3
  47. package/dist/utils/index.d.ts +3 -3
  48. package/dist/utils/index.mjs +2 -2
  49. package/package.json +1 -1
  50. package/dist/{chunk-3UYXNSNB.mjs.map → chunk-IH3BEKPK.mjs.map} +0 -0
  51. package/dist/{global-C7xIDkiQ.d.mts → global-cOd88aj7.d.mts} +2 -2
  52. package/dist/{global-D-034Xws.d.ts → global-iWgXdLj8.d.ts} +2 -2
package/dist/index.d.mts CHANGED
@@ -643,6 +643,8 @@ type CouponDefaultsFormData = {
643
643
  couponOption: CouponOption;
644
644
  couponRewards?: CouponReward[];
645
645
  endDate: Date;
646
+ resourceId: string;
647
+ resourceType: EnumResourceType;
646
648
  startDate: Date;
647
649
  };
648
650
  type CreateCouponFormData = CreateFormData<CouponDefaultsFormData>;
@@ -663,8 +665,6 @@ type CouponDataType = CouponDefaultsFormData & {
663
665
  couponCode: CouponCodeType;
664
666
  createdAt: Date;
665
667
  participantUsers: CouponParticipantUserType[] | null;
666
- resourceId: string;
667
- resourceType: EnumResourceType;
668
668
  updatedAt: Date | null;
669
669
  };
670
670
  type CreateCouponDefaults = Omit<CouponDataType, "_id">;
package/dist/index.d.ts CHANGED
@@ -643,6 +643,8 @@ type CouponDefaultsFormData = {
643
643
  couponOption: CouponOption;
644
644
  couponRewards?: CouponReward[];
645
645
  endDate: Date;
646
+ resourceId: string;
647
+ resourceType: EnumResourceType;
646
648
  startDate: Date;
647
649
  };
648
650
  type CreateCouponFormData = CreateFormData<CouponDefaultsFormData>;
@@ -663,8 +665,6 @@ type CouponDataType = CouponDefaultsFormData & {
663
665
  couponCode: CouponCodeType;
664
666
  createdAt: Date;
665
667
  participantUsers: CouponParticipantUserType[] | null;
666
- resourceId: string;
667
- resourceType: EnumResourceType;
668
668
  updatedAt: Date | null;
669
669
  };
670
670
  type CreateCouponDefaults = Omit<CouponDataType, "_id">;
package/dist/index.mjs CHANGED
@@ -8091,8 +8091,16 @@ var CREATE_COUPON_MUTATION = gql43`
8091
8091
  ${COUPON}
8092
8092
  `;
8093
8093
  var UPDATE_COUPON_MUTATION = gql43`
8094
- mutation updateCoupon($_id: ID!, $input: CouponInputType!) {
8095
- updateCoupon(_id: $_id, input: $input) {
8094
+ mutation updateCoupon(
8095
+ $couponDocumentId: ID!
8096
+ $couponId: ID!
8097
+ $input: CouponInputType!
8098
+ ) {
8099
+ updateCoupon(
8100
+ couponDocumentId: $couponDocumentId
8101
+ couponId: $couponId
8102
+ input: $input
8103
+ ) {
8096
8104
  data {
8097
8105
  ...CouponFields
8098
8106
  }
@@ -8102,8 +8110,8 @@ var UPDATE_COUPON_MUTATION = gql43`
8102
8110
  ${COUPON}
8103
8111
  `;
8104
8112
  var DELETE_COUPON_MUTATION = gql43`
8105
- mutation deleteCoupon($_id: ID!) {
8106
- deleteCoupon(_id: $_id) {
8113
+ mutation deleteCoupon($couponDocumentId: ID!, $couponId: ID!) {
8114
+ deleteCoupon(couponDocumentId: $couponDocumentId, couponId: $couponId) {
8107
8115
  data
8108
8116
  message
8109
8117
  }