cecon-interfaces 1.1.86 → 1.1.87

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ import { EPaymentType } from '../../general';
2
2
  import { EInvoiceStatus } from '../enums';
3
3
  import { InvoicePayerEntity } from './invoice-payer.entity';
4
4
  export class InvoiceEntity {
5
- // #region Properties (44)
5
+ // #region Properties (41)
6
6
  addition = 0;
7
7
  bankSlip = null;
8
8
  bankSlipExtraDue = 3;
@@ -12,6 +12,7 @@ export class InvoiceEntity {
12
12
  createdAt = new Date();
13
13
  creditCard = null;
14
14
  currency = 'BRL';
15
+ customerId = null;
15
16
  discount = 0;
16
17
  dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
17
18
  email = '';
@@ -43,7 +44,7 @@ export class InvoiceEntity {
43
44
  totalPaid = 0;
44
45
  totalRefunded = 0;
45
46
  updatedAt = new Date();
46
- // #endregion Properties (44)
47
+ // #endregion Properties (41)
47
48
  // #region Constructors (1)
48
49
  constructor(data) {
49
50
  if (data) {
@@ -55,4 +56,4 @@ export class InvoiceEntity {
55
56
  }
56
57
  }
57
58
  }
58
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbnZvaWNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUF5QixNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBTTFDLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBRzVELE1BQU0sT0FBTyxhQUFhO0lBQ3hCLDBCQUEwQjtJQUVuQixRQUFRLEdBQVcsQ0FBQyxDQUFDO0lBQ3JC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gMDtcbiAgcHVibGljIHRvdGFsRmVlOiBudW1iZXIgPSAwO1xuICBwdWJsaWMgdG90YWxPdmVyUGFpZDogbnVtYmVyID0gMDtcbiAgcHVibGljIHRvdGFsUGFpZDogbnVtYmVyID0gMDtcbiAgcHVibGljIHRvdGFsUmVmdW5kZWQ6IG51bWJlciA9IDA7XG4gIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNDEpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8SW52b2ljZUVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludm9pY2UvaW50ZXJmYWNlcy9pLWludm9pY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVQYXltZW50VHlwZSwgSVBheW1lbnRQcm92aWRlciB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xuaW1wb3J0IHsgRUludm9pY2VTdGF0dXMgfSBmcm9tICcuLi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140
2140
  })(EInvoiceStatus || (EInvoiceStatus = {}));
2141
2141
 
2142
2142
  class InvoiceEntity {
2143
- // #region Properties (44)
2143
+ // #region Properties (41)
2144
2144
  addition = 0;
2145
2145
  bankSlip = null;
2146
2146
  bankSlipExtraDue = 3;
@@ -2150,6 +2150,7 @@ class InvoiceEntity {
2150
2150
  createdAt = new Date();
2151
2151
  creditCard = null;
2152
2152
  currency = 'BRL';
2153
+ customerId = null;
2153
2154
  discount = 0;
2154
2155
  dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
2155
2156
  email = '';
@@ -2181,7 +2182,7 @@ class InvoiceEntity {
2181
2182
  totalPaid = 0;
2182
2183
  totalRefunded = 0;
2183
2184
  updatedAt = new Date();
2184
- // #endregion Properties (44)
2185
+ // #endregion Properties (41)
2185
2186
  // #region Constructors (1)
2186
2187
  constructor(data) {
2187
2188
  if (data) {