@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.
- package/dist/{ad-FrGeJoW6.d.ts → ad-DHN0IudM.d.ts} +2 -2
- package/dist/{ad-BsAes_WS.d.mts → ad-QDSgLYQe.d.mts} +2 -2
- package/dist/{affiliate-2h_y0IL4.d.ts → affiliate-CI_khNgq.d.ts} +2 -2
- package/dist/{affiliate-KR-MNBCC.d.mts → affiliate-kR3czfpb.d.mts} +2 -2
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/{chunk-3UYXNSNB.mjs → chunk-IH3BEKPK.mjs} +2 -2
- package/dist/{chunk-UV5GH6NI.mjs → chunk-OH7ZORGB.mjs} +1 -1
- package/dist/{chunk-UV5GH6NI.mjs.map → chunk-OH7ZORGB.mjs.map} +1 -1
- package/dist/{chunk-BGTWSB5L.mjs → chunk-QOPOOOS7.mjs} +13 -5
- package/dist/{chunk-BGTWSB5L.mjs.map → chunk-QOPOOOS7.mjs.map} +1 -1
- package/dist/{contactUs-CQqOcQk_.d.ts → contactUs-Dpf4Wtf0.d.ts} +1 -1
- package/dist/{contactUs-DOI78kmJ.d.mts → contactUs-KdCU5i-u.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.cjs +12 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +5 -5
- package/dist/graphql/index.d.ts +5 -5
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +32 -5
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +23 -4
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +12 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +12 -4
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/{resourceActivities-CoCW9VLu.d.mts → resourceActivities-CLvYtSbH.d.mts} +1 -1
- package/dist/{resourceActivities-DMEtduFL.d.ts → resourceActivities-E1zbLLJN.d.ts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.mjs +1 -1
- package/dist/{user-Bynr8XGA.d.ts → user-BgSYnv1D.d.ts} +1 -1
- package/dist/{user-0qKK4juO.d.mts → user-DcXGRyeL.d.mts} +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/{chunk-3UYXNSNB.mjs.map → chunk-IH3BEKPK.mjs.map} +0 -0
- package/dist/{global-C7xIDkiQ.d.mts → global-cOd88aj7.d.mts} +2 -2
- 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(
|
|
8095
|
-
|
|
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($
|
|
8106
|
-
deleteCoupon(
|
|
8113
|
+
mutation deleteCoupon($couponDocumentId: ID!, $couponId: ID!) {
|
|
8114
|
+
deleteCoupon(couponDocumentId: $couponDocumentId, couponId: $couponId) {
|
|
8107
8115
|
data
|
|
8108
8116
|
message
|
|
8109
8117
|
}
|