cecon-interfaces 1.1.88 → 1.1.91

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.88",
3
+ "version": "1.1.91",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +1,4 @@
1
+ import { IInvoice } from '../../invoice';
1
2
  import { SubscriptionBaseEntity } from '../../subscription-base';
2
3
  import { ISubscriptionCustomer } from '../interfaces/i-subscription';
3
4
  import { SubscriptionCustomerProfileEntity } from './subscription-customer.entity';
@@ -5,6 +6,7 @@ export declare class SubscriptionCustomerEntity extends SubscriptionBaseEntity i
5
6
  amountUsed: number;
6
7
  creditLimit: number;
7
8
  currentBalance: number;
9
+ openedInvoices: IInvoice[];
8
10
  profile: SubscriptionCustomerProfileEntity;
9
11
  constructor(data?: Partial<SubscriptionCustomerEntity>);
10
12
  }
@@ -28,6 +28,7 @@ var SubscriptionCustomerEntity = /** @class */ (function (_super) {
28
28
  _this.amountUsed = 0;
29
29
  _this.creditLimit = 0;
30
30
  _this.currentBalance = 0;
31
+ _this.openedInvoices = [];
31
32
  _this.profile = new subscription_customer_entity_1.SubscriptionCustomerProfileEntity();
32
33
  if (data) {
33
34
  for (var key in data) {
@@ -1,3 +1,4 @@
1
+ import { IInvoice } from '../../invoice';
1
2
  import { ISubscriptionBase } from '../../subscription-base';
2
3
  import { ISubscriptionCustomerProfile } from './i-subscription-customer';
3
4
  export interface ISubscriptionCustomer extends ISubscriptionBase {
@@ -5,4 +6,5 @@ export interface ISubscriptionCustomer extends ISubscriptionBase {
5
6
  creditLimit: number;
6
7
  amountUsed: number;
7
8
  currentBalance: number;
9
+ openedInvoices: IInvoice[];
8
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.88",
3
+ "version": "1.1.91",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",