@lyxa.ai/core 1.3.290-beta.0 → 1.3.291
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.
|
@@ -46,23 +46,23 @@ __decorate([
|
|
|
46
46
|
__metadata("design:type", service_order_pricing_model_1.ServiceOrderPricing)
|
|
47
47
|
], ServiceOrderFinance.prototype, "pricing", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
(0, typegoose_1.prop)({ type: () => profit_model_1.ServiceOrderProfit }),
|
|
49
|
+
(0, typegoose_1.prop)({ type: () => profit_model_1.ServiceOrderProfit, _id: false }),
|
|
50
50
|
__metadata("design:type", profit_model_1.ServiceOrderProfit)
|
|
51
51
|
], ServiceOrderFinance.prototype, "companyProfit", void 0);
|
|
52
52
|
__decorate([
|
|
53
|
-
(0, typegoose_1.prop)({ type: () => profit_model_1.ServiceOrderProfit }),
|
|
53
|
+
(0, typegoose_1.prop)({ type: () => profit_model_1.ServiceOrderProfit, _id: false }),
|
|
54
54
|
__metadata("design:type", profit_model_1.ServiceOrderProfit)
|
|
55
55
|
], ServiceOrderFinance.prototype, "vendorProfit", void 0);
|
|
56
56
|
__decorate([
|
|
57
|
-
(0, typegoose_1.prop)({ type: () => marketing_cut_model_1.ServicePromotionCut }),
|
|
57
|
+
(0, typegoose_1.prop)({ type: () => marketing_cut_model_1.ServicePromotionCut, _id: false }),
|
|
58
58
|
__metadata("design:type", marketing_cut_model_1.ServicePromotionCut)
|
|
59
59
|
], ServiceOrderFinance.prototype, "discount", void 0);
|
|
60
60
|
__decorate([
|
|
61
|
-
(0, typegoose_1.prop)({ type: () => marketing_cut_model_1.ServiceCouponDetails }),
|
|
61
|
+
(0, typegoose_1.prop)({ type: () => marketing_cut_model_1.ServiceCouponDetails, _id: false }),
|
|
62
62
|
__metadata("design:type", marketing_cut_model_1.ServiceCouponDetails)
|
|
63
63
|
], ServiceOrderFinance.prototype, "coupon", void 0);
|
|
64
64
|
__decorate([
|
|
65
|
-
(0, typegoose_1.prop)({ type: () => vat_model_1.Vat }),
|
|
65
|
+
(0, typegoose_1.prop)({ type: () => vat_model_1.Vat, _id: false }),
|
|
66
66
|
__metadata("design:type", vat_model_1.Vat)
|
|
67
67
|
], ServiceOrderFinance.prototype, "vat", void 0);
|
|
68
68
|
//# sourceMappingURL=service-order-finance.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-order-finance.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/service-order-finance.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAC5C,qDAA4C;AAC5C,+EAAoE;AACpE,qDAA2D;AAC3D,2EAAiE;AACjE,iDAAoD;AACpD,+DAAkF;AAElF,MAAa,mBAAmB;IAExB,YAAY,CAAU;IAGtB,aAAa,CAAiB;IAG9B,kBAAkB,CAAsB;IAGxC,OAAO,CAAuB;IAG9B,aAAa,CAAsB;IAGnC,YAAY,CAAsB;IAGlC,QAAQ,CAAuB;IAG/B,MAAM,CAAwB;IAG9B,GAAG,CAAO;CACjB;AA3BD,kDA2BC;AAzBO;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;yDACN;AAGtB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAa,EAAE,CAAC;;0DACvB;AAG9B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,8CAAkB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BACzB,8CAAkB;+DAAC;AAGxC;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iDAAmB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BACrD,iDAAmB;oDAAC;AAG9B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iCAAkB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"service-order-finance.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/service-order-finance.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAC5C,qDAA4C;AAC5C,+EAAoE;AACpE,qDAA2D;AAC3D,2EAAiE;AACjE,iDAAoD;AACpD,+DAAkF;AAElF,MAAa,mBAAmB;IAExB,YAAY,CAAU;IAGtB,aAAa,CAAiB;IAG9B,kBAAkB,CAAsB;IAGxC,OAAO,CAAuB;IAG9B,aAAa,CAAsB;IAGnC,YAAY,CAAsB;IAGlC,QAAQ,CAAuB;IAG/B,MAAM,CAAwB;IAG9B,GAAG,CAAO;CACjB;AA3BD,kDA2BC;AAzBO;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;yDACN;AAGtB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAa,EAAE,CAAC;;0DACvB;AAG9B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,8CAAkB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BACzB,8CAAkB;+DAAC;AAGxC;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iDAAmB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BACrD,iDAAmB;oDAAC;AAG9B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iCAAkB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BAC9B,iCAAkB;0DAAC;AAGnC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iCAAkB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BAC/B,iCAAkB;yDAAC;AAGlC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,yCAAmB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BACpC,yCAAmB;qDAAC;AAG/B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,0CAAoB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BACvC,0CAAoB;mDAAC;AAG9B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,eAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BACzB,eAAG;gDAAC","sourcesContent":["import { prop } from '@typegoose/typegoose';\nimport { Vat } from '../embedded/vat.model';\nimport { ServiceOrderPricing } from './service-order-pricing.model';\nimport { PaymentMethod } from '../../../../utilities/enum';\nimport { PaymentInformation } from './payment-infromation.model';\nimport { ServiceOrderProfit } from './profit.model';\nimport { ServiceCouponDetails, ServicePromotionCut } from './marketing-cut.model';\n\nexport class ServiceOrderFinance {\n\t@prop({ type: Number, default: 0 })\n\tpublic exchangeRate?: number;\n\n\t@prop({ required: true, type: String, enum: PaymentMethod })\n\tpublic paymentMethod!: PaymentMethod;\n\n\t@prop({ type: () => PaymentInformation, _id: false })\n\tpublic paymentInformation?: PaymentInformation;\n\n\t@prop({ required: true, type: () => ServiceOrderPricing, _id: false })\n\tpublic pricing!: ServiceOrderPricing;\n\n\t@prop({ type: () => ServiceOrderProfit, _id: false })\n\tpublic companyProfit?: ServiceOrderProfit;\n\n\t@prop({ type: () => ServiceOrderProfit, _id: false })\n\tpublic vendorProfit?: ServiceOrderProfit;\n\n\t@prop({ type: () => ServicePromotionCut, _id: false })\n\tpublic discount?: ServicePromotionCut;\n\n\t@prop({ type: () => ServiceCouponDetails, _id: false })\n\tpublic coupon?: ServiceCouponDetails;\n\n\t@prop({ type: () => Vat, _id: false })\n\tpublic vat?: Vat;\n}\n"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lyxa.ai/types",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.291",
|
|
4
4
|
"description": "Lyxa type definitions and validation schemas for both frontend and backend",
|
|
5
5
|
"author": "elie <42282499+Internalizable@users.noreply.github.com>",
|
|
6
6
|
"license": "MIT",
|