cecon-interfaces 1.1.85 → 1.1.87
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +4 -3
- package/dist/esm2022/invoice/interfaces/i-invoice.mjs +1 -1
- package/dist/esm2022/product-global/entities/product.entity.mjs +2 -1
- package/dist/esm2022/product-global/interfaces/i-product.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +4 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/invoice/entities/invoice.entity.d.ts +1 -0
- package/dist/invoice/entities/invoice.entity.js +3 -2
- package/dist/invoice/interfaces/i-invoice.d.ts +1 -0
- package/dist/package.json +1 -1
- package/dist/product-global/entities/product.entity.d.ts +1 -0
- package/dist/product-global/entities/product.entity.js +1 -0
- package/dist/product-global/interfaces/i-product.d.ts +7 -0
- package/package.json +1 -1
@@ -5,10 +5,10 @@ var general_1 = require("../../general");
|
|
5
5
|
var enums_1 = require("../enums");
|
6
6
|
var invoice_payer_entity_1 = require("./invoice-payer.entity");
|
7
7
|
var InvoiceEntity = /** @class */ (function () {
|
8
|
-
// #endregion Properties (
|
8
|
+
// #endregion Properties (41)
|
9
9
|
// #region Constructors (1)
|
10
10
|
function InvoiceEntity(data) {
|
11
|
-
// #region Properties (
|
11
|
+
// #region Properties (41)
|
12
12
|
this.addition = 0;
|
13
13
|
this.bankSlip = null;
|
14
14
|
this.bankSlipExtraDue = 3;
|
@@ -18,6 +18,7 @@ var InvoiceEntity = /** @class */ (function () {
|
|
18
18
|
this.createdAt = new Date();
|
19
19
|
this.creditCard = null;
|
20
20
|
this.currency = 'BRL';
|
21
|
+
this.customerId = null;
|
21
22
|
this.discount = 0;
|
22
23
|
this.dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
|
23
24
|
this.email = '';
|
package/dist/package.json
CHANGED
@@ -49,6 +49,13 @@ export interface IProductGlobal {
|
|
49
49
|
* @example "Product description"
|
50
50
|
*/
|
51
51
|
description: string;
|
52
|
+
/**
|
53
|
+
* Name of the user who created the product.
|
54
|
+
* @minlength 1
|
55
|
+
* @maxlength 120
|
56
|
+
* @example "User name"
|
57
|
+
*/
|
58
|
+
createdBy: string;
|
52
59
|
/**
|
53
60
|
* Gross weight of the product.
|
54
61
|
* @example 1.5
|