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/app/entities/app.entity.d.ts +2 -1
- package/dist/app/entities/app.entity.js +4 -3
- package/dist/app/interfaces/i-app.d.ts +1 -0
- package/dist/customer/entities/customer.entity.d.ts +3 -1
- package/dist/customer/entities/customer.entity.js +4 -3
- package/dist/customer/interfaces/i-customer.d.ts +2 -0
- package/dist/esm2022/app/entities/app.entity.mjs +5 -4
- package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/customer/entities/customer.entity.mjs +5 -4
- package/dist/esm2022/customer/interfaces/i-customer.mjs +1 -1
- package/dist/esm2022/subscription-customer/entities/subscription.entity.mjs +2 -1
- package/dist/esm2022/subscription-customer/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +9 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/subscription-customer/entities/subscription.entity.d.ts +2 -0
- package/dist/subscription-customer/entities/subscription.entity.js +1 -0
- package/dist/subscription-customer/interfaces/i-subscription.d.ts +2 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -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
|
}
|