cecon-interfaces 1.2.5 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +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 (4)
5
+ // #region Properties (8)
5
6
  amountUsed = 0;
6
7
  creditLimit = 0;
7
8
  currentBalance = 0;
9
+ customerId = null;
10
+ customerInterval = ECustomerInterval.MONTHLY;
8
11
  openedInvoices = [];
12
+ preferedDueDate = 7;
9
13
  profile = new SubscriptionCustomerProfileEntity();
10
- // #endregion Properties (4)
14
+ // #endregion Properties (8)
11
15
  // #region Constructors (1)
12
16
  constructor(data) {
13
17
  super(data);
@@ -20,4 +24,4 @@ export class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
20
24
  }
21
25
  }
22
26
  }
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24tY3VzdG9tZXIvZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUVqRSxPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUVuRixNQUFNLE9BQU8sMEJBQTJCLFNBQVEsc0JBQXNCO0lBQ3BFLHlCQUF5QjtJQUVsQixVQUFVLEdBQVcsQ0FBQyxDQUFDO0lBQ3ZCLFdBQVcsR0FBVyxDQUFDLENBQUM7SUFDeEIsY0FBYyxHQUFXLENBQUMsQ0FBQzt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ClcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25DdXN0b21lckVudGl0eT4pIHtcbiAgICBzdXBlcihkYXRhKTtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uLWN1c3RvbWVyL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElJbnZvaWNlIH0gZnJvbSAnLi4vLi4vaW52b2ljZSc7XG5pbXBvcnQgeyBJU3Vic2NyaXB0aW9uQmFzZSB9IGZyb20gJy4uLy4uL3N1YnNjcmlwdGlvbi1iYXNlJztcbmltcG9ydCB7IElTdWJzY3JpcHRpb25DdXN0b21lclByb2ZpbGUgfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uLWN1c3RvbWVyJztcblxuZXhwb3J0IGludGVyZmFjZSBJU3Vic2NyaXB0aW9uQ3VzdG9tZXIgZXh0ZW5kcyBJU3Vic2NyaXB0aW9uQmFzZSB7XG4gIC8vICNyZWdp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kRHVlRGF0ZTogbnVtYmVyO1xuICBjdXN0b21lckludGVydmFsOiBFQ3VzdG9tZXJJbnRlcnZhbDtcbiAgYW1vdW50VXNlZDogbnVtYmVyO1xuICBjdXJyZW50QmFsYW5jZTogbnVtYmVyO1xuICBjdXN0b21lcklkOiBzdHJpbmcgfCBudWxsO1xuICBvcGVuZWRJbnZvaWNlczogSUludm9pY2VbXTtcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxKVxufVxuIl19
@@ -3564,13 +3564,16 @@ class SubscriptionCustomerProfileEntity {
3564
3564
  }
3565
3565
 
3566
3566
  class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
3567
- // #region Properties (4)
3567
+ // #region Properties (8)
3568
3568
  amountUsed = 0;
3569
3569
  creditLimit = 0;
3570
3570
  currentBalance = 0;
3571
+ customerId = null;
3572
+ customerInterval = ECustomerInterval.MONTHLY;
3571
3573
  openedInvoices = [];
3574
+ preferedDueDate = 7;
3572
3575
  profile = new SubscriptionCustomerProfileEntity();
3573
- // #endregion Properties (4)
3576
+ // #endregion Properties (8)
3574
3577
  // #region Constructors (1)
3575
3578
  constructor(data) {
3576
3579
  super(data);