cecon-interfaces 1.2.6 → 1.2.8

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 (42)
5
+ // #region Properties (43)
6
6
  addition = 0;
7
7
  bankSlip = null;
8
8
  bankSlipExtraDue = 3;
@@ -36,16 +36,17 @@ export class InvoiceEntity {
36
36
  pix = null;
37
37
  returnExpiredUrl = '';
38
38
  returnUrl = '';
39
+ sandbox = false;
39
40
  status = EInvoiceStatus.DRAFT;
40
- subscriptionId = '';
41
41
  subTotal = 0;
42
+ subscriptionId = '';
42
43
  totalAmount = 0;
43
44
  totalFee = 0;
44
45
  totalOverPaid = 0;
45
46
  totalPaid = 0;
46
47
  totalRefunded = 0;
47
48
  updatedAt = new Date();
48
- // #endregion Properties (42)
49
+ // #endregion Properties (43)
49
50
  // #region Constructors (1)
50
51
  constructor(data) {
51
52
  if (data) {
@@ -57,4 +58,4 @@ export class InvoiceEntity {
57
58
  }
58
59
  }
59
60
  }
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbnZvaWNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUF5QixNQUFNLGVBQWUsQ0FBQztBQUVwRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBTTFDLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBRzVELE1BQU0sT0FBTyxhQUFhO0lBQ3hCLDBCQUEwQjtJQUVuQixRQUFRLEdBQVcsQ0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pW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludm9pY2UvaW50ZXJmYWNlcy9pLWludm9pY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVQYXltZW50VHlwZSwgSVBheW1lbnRQcm92aWRlciB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xuaW1wb3J0IHsgSU9yZGVyIH0gZnJvbSAnLi4vLi4vb3JkZXInO1xuaW1wb3J0IHsgRUludm9pY2VTdGF0dXMgfSBmcm9tICcuLi9lbnVtcyc7XG5pbXBvcnQgeyBJSW52b2ljZUJhbmtTbGlwIH0gZnJvbSAnLi9pLWludm9pY2UtYmFuay1zbGlwJztcbmltcG9ydCB7IElJbnZvaWNlQ3JlZGl0Q2FyZCB9IGZyb20gJy4vaS1pbnZvaWNlLWNyZWRpdC1jYXJkJztcbmltcG9ydCB7IElJbnZvaWNlSXRlbSB9IGZyb20gJy4vaS1pbnZvaWNlLWl0ZW0nO1xuaW1wb3J0IHsgSUludm9pY2VMb2cgfSBmcm9tICcuL2ktaW52b2ljZS1sb2cnO1xuaW1wb3J0IHsgSUludm9pY2VQYXllciB9IGZyb20gJy4vaS1pbnZvaWNlLXBheWVyJztcbmltcG9ydCB7IElJbnZvaWNlUGl4IH0gZnJvbSAnLi9pLWludm9pY2UtcGl4JztcblxuZXhwb3J0IGludGVyZmFjZSBJSW52b2ljZSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoNDIpXG5cbiAgYWRkaXRp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ZDogc3RyaW5nIHwgbnVsbDtcbiAgcGFzc3dvcmQ6IHN0cmluZyB8IG51bGw7XG4gIHBheWVyOiBJSW52b2ljZVBheWVyO1xuICBwYXltZW50TWV0aG9kOiBFUGF5bWVudFR5cGU7XG4gIHBheW1lbnRQcm92aWRlcjogSVBheW1lbnRQcm92aWRlciB8IG51bGw7XG4gIHBob25lTnVtYmVyTm90aWZpY2F0aW9uOiBzdHJpbmcgfCBudWxsO1xuICBwaXg6IElJbnZvaWNlUGl4IHwgbnVsbDtcbiAgcmV0dXJuRXhwaXJlZFVybDogc3RyaW5nO1xuICByZXR1cm5Vcmw6IHN0cmluZztcbiAgc2FuZGJveDogYm9vbGVhbjtcbiAgc3RhdHVzOiBFSW52b2ljZVN0YXR1cztcbiAgc3ViVG90YWw6IG51bWJlcjtcbiAgc3Vic2NyaXB0aW9uSWQ6IHN0cmluZztcbiAgdG90YWxBbW91bnQ6IG51bWJlcjtcbiAgdG90YWxGZWU6IG51bWJlcjtcbiAgdG90YWxPdmVyUGFpZDogbnVtYmVyO1xuICB0b3RhbFBhaWQ6IG51bWJlcjtcbiAgdG90YWxSZWZ1bmRlZDogbnVtYmVyO1xuICB1cGRhdGVkQXQ6IERhdGU7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg0Mylcbn1cbiJdfQ==
@@ -1,14 +1,17 @@
1
+ import { ECustomerInterval } from '../../customer';
1
2
  import { SubscriptionBaseEntity } from '../../subscription-base';
2
3
  import { SubscriptionCustomerProfileEntity } from './subscription-customer.entity';
3
4
  export class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
4
- // #region Properties (6)
5
+ // #region Properties (8)
5
6
  amountUsed = 0;
6
7
  creditLimit = 0;
7
8
  currentBalance = 0;
8
9
  customerId = null;
10
+ customerInterval = ECustomerInterval.MONTHLY;
9
11
  openedInvoices = [];
12
+ preferedDueDate = 7;
10
13
  profile = new SubscriptionCustomerProfileEntity();
11
- // #endregion Properties (6)
14
+ // #endregion Properties (8)
12
15
  // #region Constructors (1)
13
16
  constructor(data) {
14
17
  super(data);
@@ -21,4 +24,4 @@ export class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
21
24
  }
22
25
  }
23
26
  }
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24tY3VzdG9tZXIvZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUVqRSxPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUVuRixNQUFNLE9BQU8sMEJBQTJCLFNBQVEsc0JBQXNCO0lBQ3BFLHlCQUF5QjtJQUVsQixVQUFVLEdBQVcsQ0FBQyxDQUFDO0lBQ3ZCLFdBQVcsR0FBVyxDQUFDLENBQUM7SUFDeEIsY0FBYyxHQUFXLENBQUMsQ0FBQztJQUMzQixVQUFVLEdBQWtCLElBQUksQ0FBQztJQUNqQyxjQUFjLEdBQWUsRUFBRSxDQUFDO0lBQ2hDLE9BQU8sR0FBc0MsSUFBSSxpQ0FBaUMsRUFBRSxDQUFDO0lBRTVGLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUEwQztRQUNwRCxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUM7UUFDWixJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSU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RhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uLWN1c3RvbWVyL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElJbnZvaWNlIH0gZnJvbSAnLi4vLi4vaW52b2ljZSc7XG5pbXBvcnQgeyBJU3Vic2NyaXB0aW9uQmFzZSB9IGZyb20gJy4uLy4uL3N1YnNjcmlwdGlvbi1iYXNlJztcbmltcG9ydCB7IElTdWJzY3JpcHRpb25DdXN0b21lclByb2ZpbGUgfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uLWN1c3RvbWVyJztcblxuZXhwb3J0IGludGVyZmFjZSBJU3Vic2NyaXB0aW9uQ3VzdG9tZXIgZXh0ZW5kcyBJU3Vic2NyaXB0aW9uQmFzZSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMSlcblxuICBwcm9maWxlOiBJU3Vic2NyaXB0aW9uQ3VzdG9tZXJQcm9maWxlO1xuICBjcmVkaXRMaW1pdDogbnVtYmVyO1xuICBhbW91bnRVc2VkOiBudW1iZXI7XG4gIGN1cnJlbnRCYWxhbmNlOiBudW1iZXI7XG4gIGN1c3RvbWVySWQ6IHN0cmluZyB8IG51bGw7XG4gIG9wZW5lZEludm9pY2VzOiBJSW52b2ljZVtdO1xuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEpXG59XG4iXX0=
2
+ //# sourceM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209,7 @@ var EInvoiceStatus;
2209
2209
  })(EInvoiceStatus || (EInvoiceStatus = {}));
2210
2210
 
2211
2211
  class InvoiceEntity {
2212
- // #region Properties (42)
2212
+ // #region Properties (43)
2213
2213
  addition = 0;
2214
2214
  bankSlip = null;
2215
2215
  bankSlipExtraDue = 3;
@@ -2243,16 +2243,17 @@ class InvoiceEntity {
2243
2243
  pix = null;
2244
2244
  returnExpiredUrl = '';
2245
2245
  returnUrl = '';
2246
+ sandbox = false;
2246
2247
  status = EInvoiceStatus.DRAFT;
2247
- subscriptionId = '';
2248
2248
  subTotal = 0;
2249
+ subscriptionId = '';
2249
2250
  totalAmount = 0;
2250
2251
  totalFee = 0;
2251
2252
  totalOverPaid = 0;
2252
2253
  totalPaid = 0;
2253
2254
  totalRefunded = 0;
2254
2255
  updatedAt = new Date();
2255
- // #endregion Properties (42)
2256
+ // #endregion Properties (43)
2256
2257
  // #region Constructors (1)
2257
2258
  constructor(data) {
2258
2259
  if (data) {
@@ -3564,14 +3565,16 @@ class SubscriptionCustomerProfileEntity {
3564
3565
  }
3565
3566
 
3566
3567
  class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
3567
- // #region Properties (6)
3568
+ // #region Properties (8)
3568
3569
  amountUsed = 0;
3569
3570
  creditLimit = 0;
3570
3571
  currentBalance = 0;
3571
3572
  customerId = null;
3573
+ customerInterval = ECustomerInterval.MONTHLY;
3572
3574
  openedInvoices = [];
3575
+ preferedDueDate = 7;
3573
3576
  profile = new SubscriptionCustomerProfileEntity();
3574
- // #endregion Properties (6)
3577
+ // #endregion Properties (8)
3575
3578
  // #region Constructors (1)
3576
3579
  constructor(data) {
3577
3580
  super(data);