cecon-interfaces 1.1.16 → 1.1.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/entities/company.entity.d.ts +0 -2
- package/dist/company/entities/company.entity.js +0 -1
- package/dist/company/interfaces/i-company.d.ts +4 -5
- package/dist/esm2022/company/entities/company.entity.mjs +1 -2
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/feature/entities/feature.entity.mjs +4 -3
- package/dist/esm2022/feature/interfaces/i-feature.mjs +1 -1
- package/dist/esm2022/general/entities/index.mjs +7 -1
- package/dist/esm2022/general/entities/payment-card.entity.mjs +18 -0
- package/dist/esm2022/general/entities/payment-cash.entity.mjs +16 -0
- package/dist/esm2022/general/entities/payment-method-option.entity.mjs +31 -0
- package/dist/esm2022/general/entities/payment-method.entity.mjs +14 -18
- package/dist/esm2022/general/entities/payment-pix.entity.mjs +17 -0
- package/dist/esm2022/general/entities/payment-wallet.entity.mjs +16 -0
- package/dist/esm2022/general/entities/payment.entity.mjs +25 -0
- package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
- package/dist/esm2022/general/interfaces/i-payment-card.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment-cash.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment-method-option.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment-method.mjs +1 -1
- package/dist/esm2022/general/interfaces/i-payment-pix.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment-wallet.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment.mjs +2 -0
- package/dist/esm2022/general/interfaces/index.mjs +1 -1
- package/dist/esm2022/partner/entities/partner.entity.mjs +1 -2
- package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
- package/dist/esm2022/subscription/entities/subscription.entity.mjs +8 -5
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/feature/entities/feature.entity.d.ts +1 -0
- package/dist/feature/entities/feature.entity.js +3 -2
- package/dist/feature/interfaces/i-feature.d.ts +1 -0
- package/dist/fesm2022/cecon-interfaces.mjs +129 -9
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/index.d.ts +6 -0
- package/dist/general/entities/index.js +13 -1
- package/dist/general/entities/payment-card.entity.d.ts +7 -0
- package/dist/general/entities/payment-card.entity.js +22 -0
- package/dist/general/entities/payment-cash.entity.d.ts +5 -0
- package/dist/general/entities/payment-cash.entity.js +20 -0
- package/dist/general/entities/payment-method-option.entity.d.ts +20 -0
- package/dist/general/entities/payment-method-option.entity.js +35 -0
- package/dist/general/entities/payment-method.entity.d.ts +17 -16
- package/dist/general/entities/payment-method.entity.js +13 -17
- package/dist/general/entities/payment-pix.entity.d.ts +6 -0
- package/dist/general/entities/payment-pix.entity.js +21 -0
- package/dist/general/entities/payment-wallet.entity.d.ts +5 -0
- package/dist/general/entities/payment-wallet.entity.js +20 -0
- package/dist/general/entities/payment.entity.d.ts +8 -0
- package/dist/general/entities/payment.entity.js +29 -0
- package/dist/general/enums/payment-type.enum.d.ts +2 -1
- package/dist/general/enums/payment-type.enum.js +1 -0
- package/dist/general/interfaces/i-payment-card.d.ts +5 -0
- package/dist/general/interfaces/i-payment-card.js +2 -0
- package/dist/general/interfaces/i-payment-cash.d.ts +3 -0
- package/dist/general/interfaces/i-payment-cash.js +2 -0
- package/dist/general/interfaces/i-payment-method-option.d.ts +18 -0
- package/dist/general/interfaces/i-payment-method-option.js +2 -0
- package/dist/general/interfaces/i-payment-method.d.ts +15 -15
- package/dist/general/interfaces/i-payment-pix.d.ts +4 -0
- package/dist/general/interfaces/i-payment-pix.js +2 -0
- package/dist/general/interfaces/i-payment-wallet.d.ts +3 -0
- package/dist/general/interfaces/i-payment-wallet.js +2 -0
- package/dist/general/interfaces/i-payment.d.ts +6 -0
- package/dist/general/interfaces/i-payment.js +2 -0
- package/dist/general/interfaces/index.d.ts +6 -0
- package/dist/package.json +1 -1
- package/dist/partner/entities/partner.entity.d.ts +1 -2
- package/dist/partner/entities/partner.entity.js +0 -1
- package/dist/partner/interfaces/i-partner.d.ts +1 -2
- package/dist/subscription/entities/subscription.entity.d.ts +6 -2
- package/dist/subscription/entities/subscription.entity.js +6 -3
- package/dist/subscription/interfaces/i-subscription.d.ts +7 -2
- package/package.json +1 -1
@@ -1,26 +1,31 @@
|
|
1
1
|
import { IFeature } from '../../feature';
|
2
2
|
import { ICustomVariable, IntervalTypeEnum } from '../../general';
|
3
|
+
import { IPayment } from '../../general/interfaces/i-payment';
|
4
|
+
import { IInvoice } from '../../invoice';
|
3
5
|
import { SubscriptionStatusEnum } from '../enums';
|
4
6
|
import { ISubscriptionCompany } from './i-subscription-company';
|
5
7
|
import { ISubscriptionItem } from './i-subscription-item';
|
6
8
|
import { ISubscriptionLog } from './i-subscription-log';
|
7
9
|
export interface ISubscription {
|
10
|
+
amount: number;
|
11
|
+
appId: string;
|
8
12
|
cancellationReason: string;
|
9
13
|
company: ISubscriptionCompany;
|
10
14
|
createdAt: Date;
|
11
15
|
customVariables: ICustomVariable[];
|
16
|
+
cycledAt: Date;
|
12
17
|
expiresAt: Date;
|
13
18
|
features: IFeature[];
|
14
19
|
id: string;
|
15
20
|
interval: number;
|
16
|
-
|
21
|
+
payment: IPayment;
|
17
22
|
intervalType: IntervalTypeEnum;
|
23
|
+
invoices: IInvoice[];
|
18
24
|
items: ISubscriptionItem[];
|
19
25
|
logs: ISubscriptionLog[];
|
20
26
|
notes: string;
|
21
27
|
partnerId: string | null;
|
22
28
|
planId: string;
|
23
|
-
appId: string;
|
24
29
|
planName: string;
|
25
30
|
renewPaymentDate: Date;
|
26
31
|
renovatedAt: Date;
|