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.
Files changed (73) hide show
  1. package/dist/company/entities/company.entity.d.ts +0 -2
  2. package/dist/company/entities/company.entity.js +0 -1
  3. package/dist/company/interfaces/i-company.d.ts +4 -5
  4. package/dist/esm2022/company/entities/company.entity.mjs +1 -2
  5. package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
  6. package/dist/esm2022/feature/entities/feature.entity.mjs +4 -3
  7. package/dist/esm2022/feature/interfaces/i-feature.mjs +1 -1
  8. package/dist/esm2022/general/entities/index.mjs +7 -1
  9. package/dist/esm2022/general/entities/payment-card.entity.mjs +18 -0
  10. package/dist/esm2022/general/entities/payment-cash.entity.mjs +16 -0
  11. package/dist/esm2022/general/entities/payment-method-option.entity.mjs +31 -0
  12. package/dist/esm2022/general/entities/payment-method.entity.mjs +14 -18
  13. package/dist/esm2022/general/entities/payment-pix.entity.mjs +17 -0
  14. package/dist/esm2022/general/entities/payment-wallet.entity.mjs +16 -0
  15. package/dist/esm2022/general/entities/payment.entity.mjs +25 -0
  16. package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
  17. package/dist/esm2022/general/interfaces/i-payment-card.mjs +2 -0
  18. package/dist/esm2022/general/interfaces/i-payment-cash.mjs +2 -0
  19. package/dist/esm2022/general/interfaces/i-payment-method-option.mjs +2 -0
  20. package/dist/esm2022/general/interfaces/i-payment-method.mjs +1 -1
  21. package/dist/esm2022/general/interfaces/i-payment-pix.mjs +2 -0
  22. package/dist/esm2022/general/interfaces/i-payment-wallet.mjs +2 -0
  23. package/dist/esm2022/general/interfaces/i-payment.mjs +2 -0
  24. package/dist/esm2022/general/interfaces/index.mjs +1 -1
  25. package/dist/esm2022/partner/entities/partner.entity.mjs +1 -2
  26. package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
  27. package/dist/esm2022/subscription/entities/subscription.entity.mjs +8 -5
  28. package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
  29. package/dist/feature/entities/feature.entity.d.ts +1 -0
  30. package/dist/feature/entities/feature.entity.js +3 -2
  31. package/dist/feature/interfaces/i-feature.d.ts +1 -0
  32. package/dist/fesm2022/cecon-interfaces.mjs +129 -9
  33. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  34. package/dist/general/entities/index.d.ts +6 -0
  35. package/dist/general/entities/index.js +13 -1
  36. package/dist/general/entities/payment-card.entity.d.ts +7 -0
  37. package/dist/general/entities/payment-card.entity.js +22 -0
  38. package/dist/general/entities/payment-cash.entity.d.ts +5 -0
  39. package/dist/general/entities/payment-cash.entity.js +20 -0
  40. package/dist/general/entities/payment-method-option.entity.d.ts +20 -0
  41. package/dist/general/entities/payment-method-option.entity.js +35 -0
  42. package/dist/general/entities/payment-method.entity.d.ts +17 -16
  43. package/dist/general/entities/payment-method.entity.js +13 -17
  44. package/dist/general/entities/payment-pix.entity.d.ts +6 -0
  45. package/dist/general/entities/payment-pix.entity.js +21 -0
  46. package/dist/general/entities/payment-wallet.entity.d.ts +5 -0
  47. package/dist/general/entities/payment-wallet.entity.js +20 -0
  48. package/dist/general/entities/payment.entity.d.ts +8 -0
  49. package/dist/general/entities/payment.entity.js +29 -0
  50. package/dist/general/enums/payment-type.enum.d.ts +2 -1
  51. package/dist/general/enums/payment-type.enum.js +1 -0
  52. package/dist/general/interfaces/i-payment-card.d.ts +5 -0
  53. package/dist/general/interfaces/i-payment-card.js +2 -0
  54. package/dist/general/interfaces/i-payment-cash.d.ts +3 -0
  55. package/dist/general/interfaces/i-payment-cash.js +2 -0
  56. package/dist/general/interfaces/i-payment-method-option.d.ts +18 -0
  57. package/dist/general/interfaces/i-payment-method-option.js +2 -0
  58. package/dist/general/interfaces/i-payment-method.d.ts +15 -15
  59. package/dist/general/interfaces/i-payment-pix.d.ts +4 -0
  60. package/dist/general/interfaces/i-payment-pix.js +2 -0
  61. package/dist/general/interfaces/i-payment-wallet.d.ts +3 -0
  62. package/dist/general/interfaces/i-payment-wallet.js +2 -0
  63. package/dist/general/interfaces/i-payment.d.ts +6 -0
  64. package/dist/general/interfaces/i-payment.js +2 -0
  65. package/dist/general/interfaces/index.d.ts +6 -0
  66. package/dist/package.json +1 -1
  67. package/dist/partner/entities/partner.entity.d.ts +1 -2
  68. package/dist/partner/entities/partner.entity.js +0 -1
  69. package/dist/partner/interfaces/i-partner.d.ts +1 -2
  70. package/dist/subscription/entities/subscription.entity.d.ts +6 -2
  71. package/dist/subscription/entities/subscription.entity.js +6 -3
  72. package/dist/subscription/interfaces/i-subscription.d.ts +7 -2
  73. 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
- amount: number;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.16",
3
+ "version": "1.1.19",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",