cecon-interfaces 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +7 -4
- package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +6 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/invoice/entities/invoice-item.entity.d.ts +4 -1
- package/dist/invoice/entities/invoice-item.entity.js +6 -3
- package/dist/invoice/interfaces/i-invoice-item.d.ts +3 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,11 +1,14 @@
|
|
1
1
|
export class InvoiceItemEntity {
|
2
|
-
// #region Properties (
|
2
|
+
// #region Properties (8)
|
3
|
+
createdAt = new Date();
|
3
4
|
description = '';
|
4
5
|
isRefunded = false;
|
5
6
|
quantity = 1;
|
6
|
-
|
7
|
+
reference = '';
|
7
8
|
totalPrice = 0;
|
8
|
-
|
9
|
+
unitPrice = 0;
|
10
|
+
updatedAt = new Date();
|
11
|
+
// #endregion Properties (8)
|
9
12
|
// #region Constructors (1)
|
10
13
|
constructor(data) {
|
11
14
|
if (data) {
|
@@ -17,4 +20,4 @@ export class InvoiceItemEntity {
|
|
17
20
|
}
|
18
21
|
}
|
19
22
|
}
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS1pdGVtLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnZvaWNlL2VudGl0aWVzL2ludm9pY2UtaXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLGlCQUFpQjtJQUM1Qix5QkFBeUI7SUFFbEIsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDN0IsV0FBVyxHQUF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IgPSAwO1xuICBwdWJsaWMgdW5pdFByaWNlOiBudW1iZXIgPSAwO1xuICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDgpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8SW52b2ljZUl0ZW1FbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9pbnRlcmZhY2VzL2ktaW52b2ljZS1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElJbnZvaWNlSXRlbSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoOClcblxuICBkZXNjcmlwdGlvbjogc3RyaW5nO1xuICBxdWFudGl0eTogbnVtYmVyO1xuICBpc1JlZnVuZGVkOiBib29sZWFuO1xuICB1bml0UHJpY2U6IG51bWJlcjtcbiAgdG90YWxQcmljZTogbnVtYmVyO1xuICByZWZlcmVuY2U6IHN0cmluZyB8IG51bGw7XG4gIGNyZWF0ZWRBdDogRGF0ZTtcbiAgdXBkYXRlZEF0OiBEYXRlO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoOClcbn1cbiJdfQ==
|
@@ -2111,13 +2111,16 @@ class InvoiceCreditCardEntity {
|
|
2111
2111
|
}
|
2112
2112
|
|
2113
2113
|
class InvoiceItemEntity {
|
2114
|
-
// #region Properties (
|
2114
|
+
// #region Properties (8)
|
2115
|
+
createdAt = new Date();
|
2115
2116
|
description = '';
|
2116
2117
|
isRefunded = false;
|
2117
2118
|
quantity = 1;
|
2118
|
-
|
2119
|
+
reference = '';
|
2119
2120
|
totalPrice = 0;
|
2120
|
-
|
2121
|
+
unitPrice = 0;
|
2122
|
+
updatedAt = new Date();
|
2123
|
+
// #endregion Properties (8)
|
2121
2124
|
// #region Constructors (1)
|
2122
2125
|
constructor(data) {
|
2123
2126
|
if (data) {
|