cecon-interfaces 1.2.11 → 1.2.12
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/billing/entities/billing.entity.d.ts +2 -0
- package/dist/billing/entities/billing.entity.js +3 -2
- package/dist/billing/interfaces/i-billing.d.ts +2 -0
- package/dist/esm2022/billing/entities/billing.entity.mjs +4 -3
- package/dist/esm2022/billing/interfaces/i-billing.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,7 +1,9 @@
|
|
1
1
|
import { IBillingOrder } from '../../billing-order';
|
2
|
+
import { ICompany } from '../../company';
|
2
3
|
import { EBillingStatus } from '../enums';
|
3
4
|
import { IBilling, IBillingPayment, IBillingTotal } from '../interfaces';
|
4
5
|
export declare class BillingEntity implements IBilling {
|
6
|
+
company: ICompany | null;
|
5
7
|
createdAt: Date;
|
6
8
|
dueDateAt: Date;
|
7
9
|
id: string;
|
@@ -4,10 +4,11 @@ exports.BillingEntity = void 0;
|
|
4
4
|
var enums_1 = require("../enums");
|
5
5
|
var billing_total_entity_1 = require("./billing-total.entity");
|
6
6
|
var BillingEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (
|
7
|
+
// #endregion Properties (12)
|
8
8
|
// #region Constructors (1)
|
9
9
|
function BillingEntity(data) {
|
10
|
-
// #region Properties (
|
10
|
+
// #region Properties (12)
|
11
|
+
this.company = null;
|
11
12
|
this.createdAt = new Date();
|
12
13
|
this.dueDateAt = new Date();
|
13
14
|
this.id = '';
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { IBillingOrder } from '../../billing-order';
|
2
|
+
import { ICompany } from '../../company';
|
2
3
|
import { EBillingStatus } from '../enums/billing-status.enum';
|
3
4
|
import { IBillingPayment } from './i-billing-payment';
|
4
5
|
import { IBillingTotal } from './i-billing-total';
|
5
6
|
export interface IBilling {
|
6
7
|
createdAt: Date;
|
7
8
|
dueDateAt: Date;
|
9
|
+
company: ICompany | null;
|
8
10
|
id: string;
|
9
11
|
orders: IBillingOrder[];
|
10
12
|
payments: IBillingPayment[];
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { EBillingStatus } from '../enums';
|
2
2
|
import { BillingTotalEntity } from './billing-total.entity';
|
3
3
|
export class BillingEntity {
|
4
|
-
// #region Properties (
|
4
|
+
// #region Properties (12)
|
5
|
+
company = null;
|
5
6
|
createdAt = new Date();
|
6
7
|
dueDateAt = new Date();
|
7
8
|
id = '';
|
@@ -10,7 +11,7 @@ export class BillingEntity {
|
|
10
11
|
status = EBillingStatus.PENDING;
|
11
12
|
total = new BillingTotalEntity();
|
12
13
|
updatedAt = new Date();
|
13
|
-
// #endregion Properties (
|
14
|
+
// #endregion Properties (12)
|
14
15
|
// #region Constructors (1)
|
15
16
|
constructor(data) {
|
16
17
|
if (data) {
|
@@ -22,4 +23,4 @@ export class BillingEntity {
|
|
22
23
|
}
|
23
24
|
}
|
24
25
|
}
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlsbGluZy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYmlsbGluZy9lbnRpdGllcy9iaWxsaW5nLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRTFDLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBRTVELE1BQU0sT0FBTyxhQUFhO0lBQ3hCLDBCQUEwQjtJQUVuQixPQUFPLEdBQW9CLElBQUksQ0FBQztJQUNoQyxTQUFTLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FB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|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1iaWxsaW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2JpbGxpbmcvaW50ZXJmYWNlcy9pLWJpbGxpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElCaWxsaW5nT3JkZXIgfSBmcm9tICcuLi8uLi9iaWxsaW5nLW9yZGVyJztcbmltcG9ydCB7IElDb21wYW55IH0gZnJvbSAnLi4vLi4vY29tcGFueSc7XG5pbXBvcnQgeyBFQmlsbGluZ1N0YXR1cyB9IGZyb20gJy4uL2VudW1zL2JpbGxpbmctc3RhdHVzLmVudW0nO1xuaW1wb3J0IHsgSUJpbGxpbmdQYXltZW50IH0gZnJvbSAnLi9pLWJpbGxpbmctcGF5bWVudCc7XG5pbXBvcnQgeyBJQmlsbGluZ1RvdGFsIH0gZnJvbSAnLi9pLWJpbGxpbmctdG90YWwnO1xuXG5leHBvcnQgaW50ZXJmYWNlIElCaWxsaW5nIHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg4KVxuXG4gIGNyZWF0ZWRBdDogRGF0ZTtcbiAgZHVlRGF0ZUF0OiBEYXRlO1xuICBjb21wYW55OiBJQ29tcGFueSB8IG51bGw7XG4gIGlkOiBzdHJpbmc7XG4gIG9yZGVyczogSUJpbGxpbmdPcmRlcltdO1xuICBwYXltZW50czogSUJpbGxpbmdQYXltZW50W107XG4gIHN0YXR1czogRUJpbGxpbmdTdGF0dXM7XG4gIHRvdGFsOiBJQmlsbGluZ1RvdGFsO1xuICB1cGRhdGVkQXQ6IERhdGU7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg4KVxufVxuIl19
|
@@ -901,7 +901,8 @@ var EBillingStatus;
|
|
901
901
|
})(EBillingStatus || (EBillingStatus = {}));
|
902
902
|
|
903
903
|
class BillingEntity {
|
904
|
-
// #region Properties (
|
904
|
+
// #region Properties (12)
|
905
|
+
company = null;
|
905
906
|
createdAt = new Date();
|
906
907
|
dueDateAt = new Date();
|
907
908
|
id = '';
|
@@ -910,7 +911,7 @@ class BillingEntity {
|
|
910
911
|
status = EBillingStatus.PENDING;
|
911
912
|
total = new BillingTotalEntity();
|
912
913
|
updatedAt = new Date();
|
913
|
-
// #endregion Properties (
|
914
|
+
// #endregion Properties (12)
|
914
915
|
// #region Constructors (1)
|
915
916
|
constructor(data) {
|
916
917
|
if (data) {
|