cecon-interfaces 1.2.6 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24tY3VzdG9tZXIvZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUVqRSxPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUVuRixNQUFNLE9BQU8sMEJBQTJCLFNBQVEsc0JBQXNCO0lBQ3BFLHlCQUF5QjtJQUVsQixVQUFVLEdBQVcsQ0FBQyxDQUFDO0lBQ3ZCLFdBQVcsR0FBVyxDQUFDLENBQUM7SUFDeEIsY0FBYyxHQUFXLENBQUMsQ0FBQ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pXG5cbiAgcHVibGljIGFtb3VudFVzZWQ6IG51bWJlciA9IDA7XG4gIHB1YmxpYyBjcmVkaXRMaW1pdDogbnVtYmVyID0gMDtcbiAgcHVibGljIGN1cnJlbnRCYWxhbmNlOiBudW1iZXIgPSAwO1xuICBwdWJsaWMgY3VzdG9tZXJJZDogc3RyaW5nIHwgbnVsbCA9IG51bGw7XG4gIHB1YmxpYyBvcGVuZWRJbnZvaWNlczogSUludm9pY2VbXSA9IFtdO1xuICBwdWJsaWMgcHJvZmlsZTogU3Vic2NyaXB0aW9uQ3VzdG9tZXJQcm9maWxlRW50aXR5ID0gbmV3IFN1YnNjcmlwdGlvbkN1c3RvbWVyUHJvZmlsZUVudGl0eSgpO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25DdXN0b21lckVudGl0eT4pIHtcbiAgICBzdXBlcihkYXRhKTtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24tY3VzdG9tZXIvZW50aXRpZXMvc3Vic2NyaXB0aW9uL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bkN1c3RvbWVyUHJvZmlsZUVudGl0eSgpO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoOClcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25DdXN0b21lckVudGl0eT4pIHtcbiAgICBzdXBlcihkYXRhKTtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uLWN1c3RvbWVyL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElJbnZvaWNlIH0gZnJvbSAnLi4vLi4vaW52b2ljZSc7XG5pbXBvcnQgeyBJU3Vic2NyaXB0aW9uQmFzZSB9IGZyb20gJy4uLy4uL3N1YnNjcmlwdGlvbi1iYXNlJztcbmltcG9ydCB7IElTdWJzY3JpcHRpb25DdXN0b21lclByb2ZpbGUgfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uLWN1c3RvbWVyJztcblxuZXhwb3J0IGludGVyZmFjZSBJU3Vic2Nya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J0aWVzICgxKVxuXG4gIHByb2ZpbGU6IElTdWJzY3JpcHRpb25DdXN0b21lclByb2ZpbGU7XG4gIGNyZWRpdExpbWl0OiBudW1iZXI7XG4gIHByZWZlcmVkRHVlRGF0ZTogbnVtYmVyO1xuICBjdXN0b21lckludGVydmFsOiBFQ3VzdG9tZXJJbnRlcnZhbDtcbiAgYW1vdW50VXNlZDogbnVtYmVyO1xuICBjdXJyZW50QmFsYW5jZTogbnVtYmVyO1xuICBjdXN0b21lcklkOiBzdHJpbmcgfCBudWxsO1xuICBvcGVuZWRJbnZvaWNlczogSUludm9pY2VbXTtcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxKVxufVxuIl19
@@ -3564,14 +3564,16 @@ class SubscriptionCustomerProfileEntity {
3564
3564
  }
3565
3565
 
3566
3566
  class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
3567
- // #region Properties (6)
3567
+ // #region Properties (8)
3568
3568
  amountUsed = 0;
3569
3569
  creditLimit = 0;
3570
3570
  currentBalance = 0;
3571
3571
  customerId = null;
3572
+ customerInterval = ECustomerInterval.MONTHLY;
3572
3573
  openedInvoices = [];
3574
+ preferedDueDate = 7;
3573
3575
  profile = new SubscriptionCustomerProfileEntity();
3574
- // #endregion Properties (6)
3576
+ // #endregion Properties (8)
3575
3577
  // #region Constructors (1)
3576
3578
  constructor(data) {
3577
3579
  super(data);