@timardex/cluemart-server-shared 1.1.17 → 1.1.19
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/{chunk-K4C5YKZE.mjs → chunk-XOFBUTNJ.mjs} +21 -6
- package/dist/chunk-XOFBUTNJ.mjs.map +1 -0
- package/dist/index.cjs +22 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +22 -7
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +20 -5
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +4 -2
- package/dist/mongoose/index.d.ts +4 -2
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +22 -7
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +3 -3
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-K4C5YKZE.mjs.map +0 -1
|
@@ -5519,6 +5519,7 @@ var VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT = gql`
|
|
|
5519
5519
|
description
|
|
5520
5520
|
name
|
|
5521
5521
|
price
|
|
5522
|
+
priceMax
|
|
5522
5523
|
priceUnit
|
|
5523
5524
|
productGroups
|
|
5524
5525
|
updatedAt
|
|
@@ -7837,8 +7838,16 @@ var CREATE_COUPON_MUTATION = gql`
|
|
|
7837
7838
|
${COUPON}
|
|
7838
7839
|
`;
|
|
7839
7840
|
var UPDATE_COUPON_MUTATION = gql`
|
|
7840
|
-
mutation updateCoupon(
|
|
7841
|
-
|
|
7841
|
+
mutation updateCoupon(
|
|
7842
|
+
$couponDocumentId: ID!
|
|
7843
|
+
$couponId: ID!
|
|
7844
|
+
$input: CouponInputType!
|
|
7845
|
+
) {
|
|
7846
|
+
updateCoupon(
|
|
7847
|
+
couponDocumentId: $couponDocumentId
|
|
7848
|
+
couponId: $couponId
|
|
7849
|
+
input: $input
|
|
7850
|
+
) {
|
|
7842
7851
|
data {
|
|
7843
7852
|
...CouponFields
|
|
7844
7853
|
}
|
|
@@ -7848,8 +7857,8 @@ var UPDATE_COUPON_MUTATION = gql`
|
|
|
7848
7857
|
${COUPON}
|
|
7849
7858
|
`;
|
|
7850
7859
|
var DELETE_COUPON_MUTATION = gql`
|
|
7851
|
-
mutation deleteCoupon($
|
|
7852
|
-
deleteCoupon(
|
|
7860
|
+
mutation deleteCoupon($couponDocumentId: ID!, $couponId: ID!) {
|
|
7861
|
+
deleteCoupon(couponDocumentId: $couponDocumentId, couponId: $couponId) {
|
|
7853
7862
|
data
|
|
7854
7863
|
message
|
|
7855
7864
|
}
|
|
@@ -8869,6 +8878,11 @@ var schema7 = new MongooseSchema11(
|
|
|
8869
8878
|
required: false,
|
|
8870
8879
|
type: ResourceImageTypeSchema
|
|
8871
8880
|
},
|
|
8881
|
+
coupon: {
|
|
8882
|
+
ref: "Coupon",
|
|
8883
|
+
required: false,
|
|
8884
|
+
type: mongoose11.Schema.Types.ObjectId
|
|
8885
|
+
},
|
|
8872
8886
|
deletedAt: { default: null, required: false, type: Date },
|
|
8873
8887
|
email: { required: true, type: String },
|
|
8874
8888
|
emailSentFor: {
|
|
@@ -9102,6 +9116,7 @@ var vendorProductTypeSchema = new MongooseSchema14(
|
|
|
9102
9116
|
description: { required: false, type: String },
|
|
9103
9117
|
name: { required: true, type: String },
|
|
9104
9118
|
price: { required: true, type: Number },
|
|
9119
|
+
priceMax: { required: false, type: Number },
|
|
9105
9120
|
priceUnit: { required: true, type: String },
|
|
9106
9121
|
productGroups: { required: false, type: [String] }
|
|
9107
9122
|
},
|
|
@@ -9109,7 +9124,7 @@ var vendorProductTypeSchema = new MongooseSchema14(
|
|
|
9109
9124
|
);
|
|
9110
9125
|
var productWrapperSchema = new MongooseSchema14(
|
|
9111
9126
|
{
|
|
9112
|
-
active: { default: false, required:
|
|
9127
|
+
active: { default: false, required: false, type: Boolean },
|
|
9113
9128
|
productsList: { required: false, type: [vendorProductTypeSchema] }
|
|
9114
9129
|
},
|
|
9115
9130
|
{ _id: false }
|
|
@@ -9849,4 +9864,4 @@ export {
|
|
|
9849
9864
|
SchoolModel,
|
|
9850
9865
|
AffiliateModel
|
|
9851
9866
|
};
|
|
9852
|
-
//# sourceMappingURL=chunk-
|
|
9867
|
+
//# sourceMappingURL=chunk-XOFBUTNJ.mjs.map
|