@lyxa.ai/core 1.0.245 → 1.0.247
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/libraries/mongo/models/cart.model.d.ts +1 -0
- package/dist/libraries/mongo/models/cart.model.js +5 -0
- package/dist/libraries/mongo/models/cart.model.js.map +1 -1
- package/dist/libraries/mongo/models/embedded/cashback-amounts.model.d.ts +4 -0
- package/dist/libraries/mongo/models/embedded/cashback-amounts.model.js +27 -0
- package/dist/libraries/mongo/models/embedded/cashback-amounts.model.js.map +1 -0
- package/dist/libraries/mongo/models/embedded/regular-order-finance.model.d.ts +2 -0
- package/dist/libraries/mongo/models/embedded/regular-order-finance.model.js +6 -0
- package/dist/libraries/mongo/models/embedded/regular-order-finance.model.js.map +1 -1
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ export declare class Cart extends TimeStamps {
|
|
|
16
16
|
deadlineToOrder?: Date;
|
|
17
17
|
paymentPreference?: PaymentPreference;
|
|
18
18
|
spendingLimitForGuest?: number;
|
|
19
|
+
secondarySpendingLimitForGuest?: number;
|
|
19
20
|
status: CartStatus;
|
|
20
21
|
coupon?: Ref<Coupon>;
|
|
21
22
|
lineItems: Ref<LineItem>[];
|
|
@@ -33,6 +33,7 @@ let Cart = class Cart extends defaultClasses_1.TimeStamps {
|
|
|
33
33
|
deadlineToOrder;
|
|
34
34
|
paymentPreference;
|
|
35
35
|
spendingLimitForGuest;
|
|
36
|
+
secondarySpendingLimitForGuest;
|
|
36
37
|
status;
|
|
37
38
|
coupon;
|
|
38
39
|
lineItems;
|
|
@@ -74,6 +75,10 @@ __decorate([
|
|
|
74
75
|
(0, typegoose_1.prop)({ type: Number, default: Infinity }),
|
|
75
76
|
__metadata("design:type", Number)
|
|
76
77
|
], Cart.prototype, "spendingLimitForGuest", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typegoose_1.prop)({ type: Number, default: Infinity }),
|
|
80
|
+
__metadata("design:type", Number)
|
|
81
|
+
], Cart.prototype, "secondarySpendingLimitForGuest", void 0);
|
|
77
82
|
__decorate([
|
|
78
83
|
(0, typegoose_1.prop)({
|
|
79
84
|
enum: enum_1.CartStatus,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.model.js","sourceRoot":"/","sources":["libraries/mongo/models/cart.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oDAAqF;AACrF,6CAAoC;AACpC,4EAAqE;AACrE,kDAAwE;AACxE,0DAAqD;AACrD,sDAA8B;AAC9B,mCAAqC;AAErC,iDAAwC;AACxC,6CAAoC;AACpC,uDAA6C;AA0CtC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,2BAAU;IAE5B,KAAK,CAAU;IAGf,IAAI,CAAU;IAGd,IAAI,CAAa;IAGjB,IAAI,CAAa;IAGjB,eAAe,CAAe;IAG9B,YAAY,CAAW;IAGvB,eAAe,CAAQ;IAGvB,iBAAiB,CAAqB;IAGtC,qBAAqB,CAAU;
|
|
1
|
+
{"version":3,"file":"cart.model.js","sourceRoot":"/","sources":["libraries/mongo/models/cart.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oDAAqF;AACrF,6CAAoC;AACpC,4EAAqE;AACrE,kDAAwE;AACxE,0DAAqD;AACrD,sDAA8B;AAC9B,mCAAqC;AAErC,iDAAwC;AACxC,6CAAoC;AACpC,uDAA6C;AA0CtC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,2BAAU;IAE5B,KAAK,CAAU;IAGf,IAAI,CAAU;IAGd,IAAI,CAAa;IAGjB,IAAI,CAAa;IAGjB,eAAe,CAAe;IAG9B,YAAY,CAAW;IAGvB,eAAe,CAAQ;IAGvB,iBAAiB,CAAqB;IAGtC,qBAAqB,CAAU;IAG/B,8BAA8B,CAAU;IAQxC,MAAM,CAAc;IAGpB,MAAM,CAAe;IAOrB,SAAS,CAAkB;C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AE,IAAI;gBACZ,IAAI,EAAE,IAAI;aACV,CAAC,CAAC;YAEH,MAAM,QAAQ,GAAG,IAAA,oBAAW,EAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAChD,IAAI,CAAC,IAAI,GAAG,GAAG,QAAQ,IAAI,QAAQ,EAAE,CAAC;QACvC,CAAC;QACD,IAAI,EAAE,CAAC;IACR,CAAC,CAAC;GACW,IAAI,CAgDhB","sourcesContent":["import { prop, Ref, index, modelOptions, Severity, pre } from '@typegoose/typegoose';\nimport { Shop } from './shop.model';\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\nimport { CartStatus, PaymentPreference } from '../../../utilities/enum';\nimport { UserAddress } from './shared/address.model';\nimport slugify from 'slugify';\nimport { randomBytes } from 'crypto';\n\nimport { Coupon } from './coupon.model';\nimport { User } from './user.model';\nimport { LineItem } from './line-item.model';\n\n/**\n * Cart configuration model using Typegoose with automatic slug generation\n */\n@modelOptions({\n\tschemaOptions: {\n\t\tcollection: 'carts',\n\t\ttoJSON: { virtuals: true },\n\t\ttoObject: { virtuals: true },\n\t},\n\toptions: {\n\t\tallowMixed: Severity.ALLOW,\n\t},\n})\n@index({ slug: 1 }, { unique: true, sparse: true })\n@index({ user: 1 })\n@index({ shop: 1 })\n@index({ status: 1 })\n@index(\n\t{ user: 1, shop: 1 },\n\t{\n\t\tunique: true,\n\t\tpartialFilterExpression: {\n\t\t\tstatus: { $in: [CartStatus.ACTIVE, CartStatus.LOCKED] },\n\t\t\tdeletedAt: null,\n\t\t},\n\t}\n)\n@pre<Cart>('save', async function (next) {\n\tif (this.title && !this.slug) {\n\t\tconst baseSlug = slugify(this.title, {\n\t\t\tlower: true,\n\t\t\tstrict: true,\n\t\t\ttrim: true,\n\t\t});\n\n\t\tconst uniqueId = randomBytes(8).toString('hex');\n\t\tthis.slug = `${baseSlug}-${uniqueId}`;\n\t}\n\tnext();\n})\nexport class Cart extends TimeStamps {\n\t@prop({ trim: true, maxlength: 100 })\n\tpublic title?: string;\n\n\t@prop()\n\tpublic slug?: string;\n\n\t@prop({ required: true, ref: () => User })\n\tpublic user!: Ref<User>;\n\n\t@prop({ required: true, ref: () => Shop })\n\tpublic shop!: Ref<Shop>;\n\n\t@prop({ required: false, type: UserAddress })\n\tpublic deliveryAddress?: UserAddress;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isGroupOrder?: boolean;\n\n\t@prop({ type: Date })\n\tpublic deadlineToOrder?: Date;\n\n\t@prop({ type: String, enum: PaymentPreference })\n\tpublic paymentPreference?: PaymentPreference;\n\n\t@prop({ type: Number, default: Infinity })\n\tpublic spendingLimitForGuest?: number;\n\n\t@prop({ type: Number, default: Infinity })\n\tpublic secondarySpendingLimitForGuest?: number;\n\n\t@prop({\n\t\tenum: CartStatus,\n\t\ttype: String,\n\t\tdefault: CartStatus.ACTIVE,\n\t\trequired: true,\n\t})\n\tpublic status!: CartStatus;\n\n\t@prop({ ref: () => Coupon })\n\tpublic coupon?: Ref<Coupon>;\n\n\t@prop({\n\t\tref: () => LineItem,\n\t\tforeignField: 'cart',\n\t\tlocalField: '_id',\n\t})\n\tpublic lineItems: Ref<LineItem>[];\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Cashback = void 0;
|
|
13
|
+
const typegoose_1 = require("@typegoose/typegoose");
|
|
14
|
+
class Cashback {
|
|
15
|
+
amount;
|
|
16
|
+
secondaryAmount;
|
|
17
|
+
}
|
|
18
|
+
exports.Cashback = Cashback;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typegoose_1.prop)({ type: Number, default: 0 }),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], Cashback.prototype, "amount", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typegoose_1.prop)({ type: Number, default: 0 }),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], Cashback.prototype, "secondaryAmount", void 0);
|
|
27
|
+
//# sourceMappingURL=cashback-amounts.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cashback-amounts.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/cashback-amounts.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAE5C,MAAa,QAAQ;IAEb,MAAM,CAAU;IAGhB,eAAe,CAAU;CAChC;AAND,4BAMC;AAJO;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;wCACZ;AAGhB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;iDACH","sourcesContent":["import { prop } from '@typegoose/typegoose';\n\nexport class Cashback {\n\t@prop({ type: Number, default: 0 })\n\tpublic amount?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic secondaryAmount?: number;\n}"]}
|
|
@@ -3,6 +3,7 @@ import { RegularOrderProfit } from '../embedded/profit.model';
|
|
|
3
3
|
import { Vat } from '../embedded/vat.model';
|
|
4
4
|
import { CouponDetails, LoyaltyPoint, MarketingCut } from '../embedded/marketing-cut.model';
|
|
5
5
|
import { RegularOrderPricing } from './order-pricing.model';
|
|
6
|
+
import { Cashback } from './cashback-amounts.model';
|
|
6
7
|
export declare class RegularOrderFinance extends OrderFinance {
|
|
7
8
|
pricing: RegularOrderPricing;
|
|
8
9
|
companyProfit?: RegularOrderProfit;
|
|
@@ -13,4 +14,5 @@ export declare class RegularOrderFinance extends OrderFinance {
|
|
|
13
14
|
loyaltyPoint?: LoyaltyPoint;
|
|
14
15
|
coupon?: CouponDetails;
|
|
15
16
|
freeDelivery?: MarketingCut;
|
|
17
|
+
cashBackAmounts?: Cashback;
|
|
16
18
|
}
|
|
@@ -16,6 +16,7 @@ const profit_model_1 = require("../embedded/profit.model");
|
|
|
16
16
|
const vat_model_1 = require("../embedded/vat.model");
|
|
17
17
|
const marketing_cut_model_1 = require("../embedded/marketing-cut.model");
|
|
18
18
|
const order_pricing_model_1 = require("./order-pricing.model");
|
|
19
|
+
const cashback_amounts_model_1 = require("./cashback-amounts.model");
|
|
19
20
|
class RegularOrderFinance extends order_finance_model_1.OrderFinance {
|
|
20
21
|
pricing;
|
|
21
22
|
companyProfit;
|
|
@@ -26,6 +27,7 @@ class RegularOrderFinance extends order_finance_model_1.OrderFinance {
|
|
|
26
27
|
loyaltyPoint;
|
|
27
28
|
coupon;
|
|
28
29
|
freeDelivery;
|
|
30
|
+
cashBackAmounts;
|
|
29
31
|
}
|
|
30
32
|
exports.RegularOrderFinance = RegularOrderFinance;
|
|
31
33
|
__decorate([
|
|
@@ -64,4 +66,8 @@ __decorate([
|
|
|
64
66
|
(0, typegoose_1.prop)({ type: () => marketing_cut_model_1.MarketingCut }),
|
|
65
67
|
__metadata("design:type", marketing_cut_model_1.MarketingCut)
|
|
66
68
|
], RegularOrderFinance.prototype, "freeDelivery", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typegoose_1.prop)({ type: () => cashback_amounts_model_1.Cashback }),
|
|
71
|
+
__metadata("design:type", cashback_amounts_model_1.Cashback)
|
|
72
|
+
], RegularOrderFinance.prototype, "cashBackAmounts", void 0);
|
|
67
73
|
//# sourceMappingURL=regular-order-finance.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regular-order-finance.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/regular-order-finance.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAC5C,+DAAqD;AACrD,2DAA8D;AAC9D,qDAA4C;AAC5C,yEAA4F;AAC5F,+DAA4D;
|
|
1
|
+
{"version":3,"file":"regular-order-finance.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/regular-order-finance.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAC5C,+DAAqD;AACrD,2DAA8D;AAC9D,qDAA4C;AAC5C,yEAA4F;AAC5F,+DAA4D;AAC5D,qEAAoD;AAEpD,MAAa,mBAAoB,SAAQ,kCAAY;IAE7C,OAAO,CAAsB;IAG7B,aAAa,CAAsB;IAGnC,UAAU,CAAsB;IAGhC,GAAG,CAAO;IAGV,QAAQ,CAAgB;IAGxB,QAAQ,CAAgB;IAGxB,YAAY,CAAgB;IAG5B,MAAM,CAAiB;IAGvB,YAAY,CAAgB;IAG5B,eAAe,CAAY;CAClC;AA9BD,kDA8BC;AA5BO;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,yCAAmB,EAAE,CAAC;8BAC1C,yCAAmB;oDAAC;AAG7B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iCAAkB,EAAE,CAAC;8BAClB,iCAAkB;0DAAC;AAGnC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iCAAkB,EAAE,CAAC;8BACrB,iCAAkB;uDAAC;AAGhC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,eAAG,EAAE,CAAC;8BACb,eAAG;gDAAC;AAGV;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kCAAY,EAAE,CAAC;8BACjB,kCAAY;qDAAC;AAGxB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kCAAY,EAAE,CAAC;8BACjB,kCAAY;qDAAC;AAGxB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kCAAY,EAAE,CAAC;8BACb,kCAAY;yDAAC;AAG5B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,mCAAa,EAAE,CAAC;8BACpB,mCAAa;mDAAC;AAGvB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kCAAY,EAAE,CAAC;8BACb,kCAAY;yDAAC;AAG5B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iCAAQ,EAAE,CAAC;8BACN,iCAAQ;4DAAC","sourcesContent":["import { prop } from '@typegoose/typegoose';\nimport { OrderFinance } from './order-finance.model';\nimport { RegularOrderProfit } from '../embedded/profit.model';\nimport { Vat } from '../embedded/vat.model';\nimport { CouponDetails, LoyaltyPoint, MarketingCut } from '../embedded/marketing-cut.model';\nimport { RegularOrderPricing } from './order-pricing.model';\nimport { Cashback } from './cashback-amounts.model';\n\nexport class RegularOrderFinance extends OrderFinance {\n\t@prop({ required: true, type: () => RegularOrderPricing })\n\tpublic pricing: RegularOrderPricing;\n\t\n\t@prop({ type: () => RegularOrderProfit })\n\tpublic companyProfit?: RegularOrderProfit;\n\n\t@prop({ type: () => RegularOrderProfit })\n\tpublic shopProfit?: RegularOrderProfit;\n\n\t@prop({ type: () => Vat })\n\tpublic vat?: Vat;\n\n\t@prop({ type: () => MarketingCut })\n\tpublic discount?: MarketingCut;\n\n\t@prop({ type: () => MarketingCut })\n\tpublic buy1get1?: MarketingCut;\n\n\t@prop({ type: () => LoyaltyPoint })\n\tpublic loyaltyPoint?: LoyaltyPoint;\n\n\t@prop({ type: () => CouponDetails })\n\tpublic coupon?: CouponDetails;\n\n\t@prop({ type: () => MarketingCut })\n\tpublic freeDelivery?: MarketingCut;\n\n\t@prop({ type: () => Cashback })\n\tpublic cashBackAmounts?: Cashback;\n}\n"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED