@lyxa.ai/core 1.2.63 → 1.2.64
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/embedded/replacement-order.model.d.ts +2 -0
- package/dist/libraries/mongo/models/embedded/replacement-order.model.js +10 -0
- package/dist/libraries/mongo/models/embedded/replacement-order.model.js.map +1 -1
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,8 @@ export declare class ReplacementOrder {
|
|
|
6
6
|
replacementType: ReplacementType;
|
|
7
7
|
deliveryFee?: number;
|
|
8
8
|
secondaryDeliveryFee?: number;
|
|
9
|
+
replacementByShopForItems?: number;
|
|
10
|
+
secondaryReplacementByShopForItems?: number;
|
|
9
11
|
replacementByShopForDelivery?: number;
|
|
10
12
|
secondaryReplacementByShopForDelivery?: number;
|
|
11
13
|
replacementByCompanyForItems?: number;
|
|
@@ -18,6 +18,8 @@ class ReplacementOrder {
|
|
|
18
18
|
replacementType;
|
|
19
19
|
deliveryFee;
|
|
20
20
|
secondaryDeliveryFee;
|
|
21
|
+
replacementByShopForItems;
|
|
22
|
+
secondaryReplacementByShopForItems;
|
|
21
23
|
replacementByShopForDelivery;
|
|
22
24
|
secondaryReplacementByShopForDelivery;
|
|
23
25
|
replacementByCompanyForItems;
|
|
@@ -45,6 +47,14 @@ __decorate([
|
|
|
45
47
|
(0, typegoose_1.prop)({ type: Number, default: 0 }),
|
|
46
48
|
__metadata("design:type", Number)
|
|
47
49
|
], ReplacementOrder.prototype, "secondaryDeliveryFee", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typegoose_1.prop)({ type: Number, default: 0 }),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], ReplacementOrder.prototype, "replacementByShopForItems", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typegoose_1.prop)({ type: Number, default: 0 }),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], ReplacementOrder.prototype, "secondaryReplacementByShopForItems", void 0);
|
|
48
58
|
__decorate([
|
|
49
59
|
(0, typegoose_1.prop)({ type: Number, default: 0 }),
|
|
50
60
|
__metadata("design:type", Number)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replacement-order.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/replacement-order.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiD;AACjD,qDAA6D;AAC7D,gDAAuC;AAEvC,MAAa,gBAAgB;IAErB,aAAa,CAAc;IAG3B,eAAe,CAAkB;IAGjC,WAAW,CAAU;IAGrB,oBAAoB,CAAU;IAG9B,4BAA4B,CAAU;IAGtC,qCAAqC,CAAU;IAG/C,4BAA4B,CAAU;IAGtC,qCAAqC,CAAU;IAG/C,+BAA+B,CAAU;IAGzC,wCAAwC,CAAU;IAGlD,WAAW,CAAU;IAGrB,oBAAoB,CAAU;IAG9B,SAAS,CAAU;CAC1B;
|
|
1
|
+
{"version":3,"file":"replacement-order.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/replacement-order.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiD;AACjD,qDAA6D;AAC7D,gDAAuC;AAEvC,MAAa,gBAAgB;IAErB,aAAa,CAAc;IAG3B,eAAe,CAAkB;IAGjC,WAAW,CAAU;IAGrB,oBAAoB,CAAU;IAG9B,yBAAyB,CAAU;IAGnC,kCAAkC,CAAU;IAG5C,4BAA4B,CAAU;IAGtC,qCAAqC,CAAU;IAG/C,4BAA4B,CAAU;IAGtC,qCAAqC,CAAU;IAG/C,+BAA+B,CAAU;IAGzC,wCAAwC,CAAU;IAGlD,WAAW,CAAU;IAGrB,oBAAoB,CAAU;IAG9B,SAAS,CAAU;CAC1B;AA7CD,4CA6CC;AA3CO;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,m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C;;qDACP;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;8DACE;AAG9B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;mDACG","sourcesContent":["import { prop, Ref } from '@typegoose/typegoose';\nimport { ReplacementType } from '../../../../utilities/enum';\nimport { Order } from '../order.model';\n\nexport class ReplacementOrder {\n\t@prop({ required: true, ref: () => Order })\n\tpublic originalOrder!: Ref<Order>;\n\n\t@prop({ required: true, type: String, enum: ReplacementType })\n\tpublic replacementType: ReplacementType;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic deliveryFee?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic secondaryDeliveryFee?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic replacementByShopForItems?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic secondaryReplacementByShopForItems?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic replacementByShopForDelivery?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic secondaryReplacementByShopForDelivery?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic replacementByCompanyForItems?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic secondaryReplacementByCompanyForItems?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic replacementByCompanyForDelivery?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic secondaryReplacementByCompanyForDelivery?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic totalAmount?: number;\n\n\t@prop({ type: Number, default: 0 })\n\tpublic secondaryTotalAmount?: number;\n\n\t@prop({ type: String })\n\tpublic bringItem?: string;\n}\n"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED