cecon-interfaces 1.1.65 → 1.1.67

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/dist/esm2022/index.mjs +4 -2
  2. package/dist/esm2022/installation/entities/installation.entity.mjs +2 -2
  3. package/dist/esm2022/installation/interfaces/i-installation.mjs +1 -1
  4. package/dist/esm2022/pubsub/entities/subscription-change-status.entity.mjs +1 -1
  5. package/dist/esm2022/pubsub/interfaces/i-subscription-change-status.mjs +1 -1
  6. package/dist/esm2022/subscription-base/entities/index.mjs +4 -0
  7. package/dist/esm2022/subscription-base/entities/subscription-base-item.entity.mjs +21 -0
  8. package/dist/esm2022/subscription-base/entities/subscription-base-log.entity.mjs +19 -0
  9. package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +40 -0
  10. package/dist/esm2022/subscription-base/enums/index.mjs +2 -0
  11. package/dist/esm2022/subscription-base/enums/subscription-status.enum.mjs +12 -0
  12. package/dist/esm2022/subscription-base/index.mjs +4 -0
  13. package/dist/esm2022/subscription-base/interfaces/i-subscription-base-item.mjs +2 -0
  14. package/dist/esm2022/subscription-base/interfaces/i-subscription-base-log.mjs +2 -0
  15. package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +2 -0
  16. package/dist/esm2022/subscription-base/interfaces/index.mjs +2 -0
  17. package/dist/esm2022/subscription-company/entities/index.mjs +3 -0
  18. package/dist/esm2022/subscription-company/entities/subscription-company.entity.mjs +21 -0
  19. package/dist/esm2022/subscription-company/entities/subscription.entity.mjs +24 -0
  20. package/dist/esm2022/subscription-company/index.mjs +3 -0
  21. package/dist/esm2022/subscription-company/interfaces/i-subscription-company.mjs +2 -0
  22. package/dist/esm2022/subscription-company/interfaces/i-subscription.mjs +2 -0
  23. package/dist/esm2022/subscription-company/interfaces/index.mjs +2 -0
  24. package/dist/esm2022/subscription-customer/entities/index.mjs +3 -0
  25. package/dist/esm2022/subscription-customer/entities/subscription-customer.entity.mjs +21 -0
  26. package/dist/esm2022/subscription-customer/entities/subscription.entity.mjs +19 -0
  27. package/dist/esm2022/subscription-customer/index.mjs +3 -0
  28. package/dist/esm2022/subscription-customer/interfaces/i-subscription-customer.mjs +2 -0
  29. package/dist/esm2022/subscription-customer/interfaces/i-subscription.mjs +2 -0
  30. package/dist/esm2022/subscription-customer/interfaces/index.mjs +2 -0
  31. package/dist/fesm2022/cecon-interfaces.mjs +105 -52
  32. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  33. package/dist/index.d.ts +3 -1
  34. package/dist/index.js +3 -1
  35. package/dist/installation/entities/installation.entity.d.ts +1 -1
  36. package/dist/installation/entities/installation.entity.js +2 -2
  37. package/dist/installation/interfaces/i-installation.d.ts +1 -1
  38. package/dist/package.json +1 -1
  39. package/dist/pubsub/entities/subscription-change-status.entity.d.ts +1 -1
  40. package/dist/pubsub/interfaces/i-subscription-change-status.d.ts +1 -1
  41. package/dist/subscription-base/entities/index.d.ts +3 -0
  42. package/dist/subscription-base/entities/index.js +9 -0
  43. package/dist/subscription-base/entities/subscription-base-item.entity.d.ts +10 -0
  44. package/dist/{subscription/entities/subscription-item.entity.js → subscription-base/entities/subscription-base-item.entity.js} +5 -5
  45. package/dist/subscription-base/entities/subscription-base-log.entity.d.ts +8 -0
  46. package/dist/{subscription/entities/subscription-log.entity.js → subscription-base/entities/subscription-base-log.entity.js} +8 -8
  47. package/dist/{subscription/entities/subscription.entity.d.ts → subscription-base/entities/subscription-base.entity.d.ts} +7 -17
  48. package/dist/{subscription/entities/subscription.entity.js → subscription-base/entities/subscription-base.entity.js} +7 -16
  49. package/dist/{subscription/interfaces/i-subscription-item.d.ts → subscription-base/interfaces/i-subscription-base-item.d.ts} +1 -1
  50. package/dist/{subscription/interfaces/i-subscription-log.d.ts → subscription-base/interfaces/i-subscription-base-log.d.ts} +1 -1
  51. package/dist/subscription-base/interfaces/i-subscription-base.d.ts +30 -0
  52. package/dist/subscription-base/interfaces/index.d.ts +3 -0
  53. package/dist/subscription-company/entities/index.d.ts +2 -0
  54. package/dist/subscription-company/entities/index.js +7 -0
  55. package/dist/subscription-company/entities/subscription-company.entity.d.ts +10 -0
  56. package/dist/{subscription → subscription-company}/entities/subscription-company.entity.js +5 -5
  57. package/dist/subscription-company/entities/subscription.entity.d.ts +13 -0
  58. package/dist/subscription-company/entities/subscription.entity.js +45 -0
  59. package/dist/subscription-company/index.d.ts +2 -0
  60. package/dist/subscription-company/index.js +18 -0
  61. package/dist/{subscription → subscription-company}/interfaces/i-subscription-company.d.ts +1 -1
  62. package/dist/subscription-company/interfaces/i-subscription.d.ts +11 -0
  63. package/dist/subscription-company/interfaces/i-subscription.js +2 -0
  64. package/dist/subscription-company/interfaces/index.d.ts +2 -0
  65. package/dist/subscription-company/interfaces/index.js +2 -0
  66. package/dist/subscription-customer/entities/index.d.ts +2 -0
  67. package/dist/subscription-customer/entities/index.js +7 -0
  68. package/dist/subscription-customer/entities/subscription-customer.entity.d.ts +10 -0
  69. package/dist/subscription-customer/entities/subscription-customer.entity.js +25 -0
  70. package/dist/subscription-customer/entities/subscription.entity.d.ts +7 -0
  71. package/dist/subscription-customer/entities/subscription.entity.js +40 -0
  72. package/dist/subscription-customer/index.d.ts +2 -0
  73. package/dist/subscription-customer/index.js +18 -0
  74. package/dist/subscription-customer/interfaces/i-subscription-customer.d.ts +8 -0
  75. package/dist/subscription-customer/interfaces/i-subscription-customer.js +2 -0
  76. package/dist/subscription-customer/interfaces/i-subscription.d.ts +5 -0
  77. package/dist/subscription-customer/interfaces/i-subscription.js +2 -0
  78. package/dist/subscription-customer/interfaces/index.d.ts +2 -0
  79. package/dist/subscription-customer/interfaces/index.js +2 -0
  80. package/package.json +1 -1
  81. package/dist/esm2022/subscription/entities/index.mjs +0 -5
  82. package/dist/esm2022/subscription/entities/subscription-company.entity.mjs +0 -21
  83. package/dist/esm2022/subscription/entities/subscription-item.entity.mjs +0 -21
  84. package/dist/esm2022/subscription/entities/subscription-log.entity.mjs +0 -19
  85. package/dist/esm2022/subscription/entities/subscription.entity.mjs +0 -49
  86. package/dist/esm2022/subscription/enums/index.mjs +0 -2
  87. package/dist/esm2022/subscription/enums/subscription-status.enum.mjs +0 -12
  88. package/dist/esm2022/subscription/index.mjs +0 -4
  89. package/dist/esm2022/subscription/interfaces/i-subscription-company.mjs +0 -2
  90. package/dist/esm2022/subscription/interfaces/i-subscription-item.mjs +0 -2
  91. package/dist/esm2022/subscription/interfaces/i-subscription-log.mjs +0 -2
  92. package/dist/esm2022/subscription/interfaces/i-subscription.mjs +0 -2
  93. package/dist/esm2022/subscription/interfaces/index.mjs +0 -2
  94. package/dist/subscription/entities/index.d.ts +0 -4
  95. package/dist/subscription/entities/index.js +0 -11
  96. package/dist/subscription/entities/subscription-company.entity.d.ts +0 -10
  97. package/dist/subscription/entities/subscription-item.entity.d.ts +0 -10
  98. package/dist/subscription/entities/subscription-log.entity.d.ts +0 -8
  99. package/dist/subscription/interfaces/i-subscription.d.ts +0 -41
  100. package/dist/subscription/interfaces/index.d.ts +0 -4
  101. /package/dist/{subscription → subscription-base}/enums/index.d.ts +0 -0
  102. /package/dist/{subscription → subscription-base}/enums/index.js +0 -0
  103. /package/dist/{subscription → subscription-base}/enums/subscription-status.enum.d.ts +0 -0
  104. /package/dist/{subscription → subscription-base}/enums/subscription-status.enum.js +0 -0
  105. /package/dist/{subscription → subscription-base}/index.d.ts +0 -0
  106. /package/dist/{subscription → subscription-base}/index.js +0 -0
  107. /package/dist/{subscription/interfaces/i-subscription-company.js → subscription-base/interfaces/i-subscription-base-item.js} +0 -0
  108. /package/dist/{subscription/interfaces/i-subscription-item.js → subscription-base/interfaces/i-subscription-base-log.js} +0 -0
  109. /package/dist/{subscription/interfaces/i-subscription-log.js → subscription-base/interfaces/i-subscription-base.js} +0 -0
  110. /package/dist/{subscription → subscription-base}/interfaces/index.js +0 -0
  111. /package/dist/{subscription/interfaces/i-subscription.js → subscription-company/interfaces/i-subscription-company.js} +0 -0
@@ -0,0 +1,5 @@
1
+ import { ISubscriptionBase } from '../../subscription-base';
2
+ import { ISubscriptionCustomerCustomer } from './i-subscription-customer';
3
+ export interface ISubscriptionCustomer extends ISubscriptionBase {
4
+ customer: ISubscriptionCustomerCustomer;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { ISubscriptionCustomer } from './i-subscription';
2
+ export { ISubscriptionCustomerCustomer } from './i-subscription-customer';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.65",
3
+ "version": "1.1.67",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- export { SubscriptionCompanyEntity } from './subscription-company.entity';
2
- export { SubscriptionItemEntity } from './subscription-item.entity';
3
- export { SubscriptionLogEntity } from './subscription-log.entity';
4
- export { SubscriptionEntity } from './subscription.entity';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzFFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3BFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgU3Vic2NyaXB0aW9uQ29tcGFueUVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLWNvbXBhbnkuZW50aXR5JztcbmV4cG9ydCB7IFN1YnNjcmlwdGlvbkl0ZW1FbnRpdHkgfSBmcm9tICcuL3N1YnNjcmlwdGlvbi1pdGVtLmVudGl0eSc7XG5leHBvcnQgeyBTdWJzY3JpcHRpb25Mb2dFbnRpdHkgfSBmcm9tICcuL3N1YnNjcmlwdGlvbi1sb2cuZW50aXR5JztcbmV4cG9ydCB7IFN1YnNjcmlwdGlvbkVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLmVudGl0eSc7XG4iXX0=
@@ -1,21 +0,0 @@
1
- export class SubscriptionCompanyEntity {
2
- // #region Properties (6)
3
- containerId = '';
4
- doc = '';
5
- docType = '';
6
- id = '';
7
- imageUrl = '';
8
- name = '';
9
- // #endregion Properties (6)
10
- // #region Constructors (1)
11
- constructor(data) {
12
- if (data) {
13
- for (let key in data) {
14
- if (data.hasOwnProperty(key) && key in this) {
15
- this[key] = data[key];
16
- }
17
- }
18
- }
19
- }
20
- }
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWNvbXBhbnkuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnRpdGllcy9zdWJzY3JpcHRpb24tY29tcGFueS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHlCQUF5QjtJQUNwQyx5QkFBeUI7SUFFbEIsV0FBVyxHQUFrQixFQUFFLENBQUM7SUFDaEMsR0FBRyxHQUFrQixFQUFFLENBQUM7SUFDeEIsT0FBTyxHQUFrQixFQUFFLENBQUM7SUFDNUIsRUFBRSxHQUFrQixFQUFFLENBQUM7SUFDdkIsUUFBUSxHQUFrQixFQUFFLENBQUM7SUFDN0IsSUF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HRpb25Db21wYW55RW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
@@ -1,21 +0,0 @@
1
- export class SubscriptionItemEntity {
2
- // #region Properties (6)
3
- description = '';
4
- quantity = 1;
5
- recurrent = true;
6
- totalPrice = 0;
7
- unitPrice = 0;
8
- voucherKey = null;
9
- // #endregion Properties (6)
10
- // #region Constructors (1)
11
- constructor(data) {
12
- if (data) {
13
- for (let key in data) {
14
- if (data.hasOwnProperty(key) && key in this) {
15
- this[key] = data[key];
16
- }
17
- }
18
- }
19
- }
20
- }
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWl0ZW0uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnRpdGllcy9zdWJzY3JpcHRpb24taXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHNCQUFzQjtJQUNqQyx5QkFBeUI7SUFFbEIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixRQUFRLEdBQVcsQ0FBQyxDQUFDO0lBQ3JCLFNBQVMsR0FBWSxJQUFJLENBQUM7SUFDMUIsVUFBVSxHQUFXLENBQUMsQ0FBQztJQUN2QixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQ3RCLFVBQVUsR0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XkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
@@ -1,19 +0,0 @@
1
- export class SubscriptionLogEntity {
2
- // #region Properties (4)
3
- createdAt = new Date();
4
- description = "";
5
- id = "";
6
- notes = "";
7
- // #endregion Properties (4)
8
- // #region Constructors (1)
9
- constructor(data) {
10
- if (data) {
11
- for (let key in data) {
12
- if (data.hasOwnProperty(key) && key in this) {
13
- this[key] = data[key];
14
- }
15
- }
16
- }
17
- }
18
- }
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWxvZy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL3N1YnNjcmlwdGlvbi1sb2cuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxxQkFBcUI7SUFDaEMseUJBQXlCO0lBRWxCLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBRTFCLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUFxQztRQUMvQyxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLEl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3RvcnMgKDEpXG59XG4iXX0=
@@ -1,49 +0,0 @@
1
- import { EPaymentType, IntervalTypeEnum, PaymentEntity } from '../../general';
2
- import { ESubscriptionStatus } from '../enums';
3
- import { SubscriptionCompanyEntity } from './subscription-company.entity';
4
- export class SubscriptionEntity {
5
- // #region Properties (31)
6
- amount = 0;
7
- appId = '';
8
- appName = '';
9
- cancellationReason = '';
10
- company = new SubscriptionCompanyEntity();
11
- createdAt = new Date();
12
- customVariables = [];
13
- cycledAt = new Date();
14
- expiresAt = new Date();
15
- features = [];
16
- id = '';
17
- interval = 0;
18
- intervalType = IntervalTypeEnum.MONTHS;
19
- invoices = [];
20
- items = [];
21
- logs = [];
22
- notes = '';
23
- partnerId = '';
24
- payment = new PaymentEntity();
25
- paymentType = EPaymentType.NONE;
26
- phoneNumberNotification = '';
27
- planId = '';
28
- planName = '';
29
- recentInvoices = [];
30
- renewPaymentDate = new Date();
31
- renovatedAt = new Date();
32
- startsAt = new Date();
33
- status = ESubscriptionStatus.PENDING;
34
- suspendedTimes = 0;
35
- tags = [];
36
- updatedAt = new Date();
37
- // #endregion Properties (31)
38
- // #region Constructors (1)
39
- constructor(data) {
40
- if (data) {
41
- for (let key in data) {
42
- if (data.hasOwnProperty(key) && key in this) {
43
- this[key] = data[key];
44
- }
45
- }
46
- }
47
- }
48
- }
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQXdCLFlBQVksRUFBRSxnQkFBZ0IsRUFBRSxhQUFhLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFcEcsT0FBTyxFQUFFLG1CQUFt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ZW5kZWRUaW1lczogbnVtYmVyID0gMDtcbiAgcHVibGljIHRhZ3M6IHN0cmluZ1tdID0gW107XG4gIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMzEpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8U3Vic2NyaXB0aW9uRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export { ESubscriptionStatus } from './subscription-status.enum';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRVN1YnNjcmlwdGlvblN0YXR1cyB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLXN0YXR1cy5lbnVtJztcbiJdfQ==
@@ -1,12 +0,0 @@
1
- export var ESubscriptionStatus;
2
- (function (ESubscriptionStatus) {
3
- ESubscriptionStatus["ACTIVE"] = "ACTIVE";
4
- ESubscriptionStatus["CANCELLED"] = "CANCELLED";
5
- ESubscriptionStatus["PLACED"] = "PLACED";
6
- ESubscriptionStatus["EXPIRED"] = "EXPIRED";
7
- ESubscriptionStatus["PENDING"] = "PENDING";
8
- ESubscriptionStatus["TRIAL"] = "TRIAL";
9
- ESubscriptionStatus["FREE"] = "FREE";
10
- ESubscriptionStatus["SUSPENDED"] = "SUSPENDED";
11
- })(ESubscriptionStatus || (ESubscriptionStatus = {}));
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLXN0YXR1cy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnVtcy9zdWJzY3JpcHRpb24tc3RhdHVzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksbUJBU1g7QUFURCxXQUFZLG1CQUFtQjtJQUM3Qix3Q0FBaUIsQ0FBQTtJQUNqQiw4Q0FBdUIsQ0FBQTtJQUN2Qix3Q0FBaUIsQ0FBQTtJQUNqQiwwQ0FBbUIsQ0FBQTtJQUNuQiwwQ0FBbUIsQ0FBQTtJQUNuQixzQ0FBZSxDQUFBO0lBQ2Ysb0NBQWEsQ0FBQTtJQUNiLDhDQUF1QixDQUFBO0FBQ3pCLENBQUMsRUFUVyxtQkFBbUIsS0FBbkIsbUJBQW1CLFFBUzlCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRVN1YnNjcmlwdGlvblN0YXR1cyB7XHJcbiAgQUNUSVZFID0gJ0FDVElWRScsXHJcbiAgQ0FOQ0VMTEVEID0gJ0NBTkNFTExFRCcsXHJcbiAgUExBQ0VEID0gJ1BMQUNFRCcsXHJcbiAgRVhQSVJFRCA9ICdFWFBJUkVEJyxcclxuICBQRU5ESU5HID0gJ1BFTkRJTkcnLFxyXG4gIFRSSUFMID0gJ1RSSUFMJyxcclxuICBGUkVFID0gJ0ZSRUUnLFxyXG4gIFNVU1BFTkRFRCA9ICdTVVNQRU5ERUQnLFxyXG59XHJcbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './entities';
2
- export * from './enums';
3
- export * from './interfaces';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2VudW1zJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7XG5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24tY29tcGFueS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vaW50ZXJmYWNlcy9pLXN1YnNjcmlwdGlvbi1jb21wYW55LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElTdWJzY3JpcHRpb25Db21wYW55IHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg2KVxuXG4gIGNvbnRhaW5lcklkOiBzdHJpbmcgfCBudWxsO1xuICBkb2M6IHN0cmluZyB8IG51bGw7XG4gIGRvY1R5cGU6IHN0cmluZyB8IG51bGw7XG4gIGlkOiBzdHJpbmcgfCBudWxsO1xuICBpbWFnZVVybDogc3RyaW5nIHwgbnVsbDtcbiAgbmFtZTogc3RyaW5nIHwgbnVsbDtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDYpXG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24taXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vaW50ZXJmYWNlcy9pLXN1YnNjcmlwdGlvbi1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElTdWJzY3JpcHRpb25JdGVtIHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg1KVxuXG4gIGRlc2NyaXB0aW9uOiBzdHJpbmc7XG4gIHF1YW50aXR5OiBudW1iZXI7XG4gIHJlY3VycmVudDogYm9vbGVhbjtcbiAgdm91Y2hlcktleTogc3RyaW5nIHwgbnVsbDtcbiAgdG90YWxQcmljZTogbnVtYmVyO1xuICB1bml0UHJpY2U6IG51bWJlcjtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDUpXG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24tbG9nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9pbnRlcmZhY2VzL2ktc3Vic2NyaXB0aW9uLWxvZy50cyJdLCJuYW1lcyI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dGU7XG4gIHN0YXR1czogRVN1YnNjcmlwdGlvblN0YXR1cztcbiAgc3VzcGVuZGVkVGltZXM6IG51bWJlcjtcbiAgdGFnczogc3RyaW5nW107XG4gIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDMwKVxufVxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElTdWJzY3JpcHRpb24gfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uJztcbmV4cG9ydCB7IElTdWJzY3JpcHRpb25Db21wYW55IH0gZnJvbSAnLi9pLXN1YnNjcmlwdGlvbi1jb21wYW55JztcbmV4cG9ydCB7IElTdWJzY3JpcHRpb25JdGVtIH0gZnJvbSAnLi9pLXN1YnNjcmlwdGlvbi1pdGVtJztcbmV4cG9ydCB7IElTdWJzY3JpcHRpb25Mb2cgfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uLWxvZyc7XG4iXX0=
@@ -1,4 +0,0 @@
1
- export { SubscriptionCompanyEntity } from './subscription-company.entity';
2
- export { SubscriptionItemEntity } from './subscription-item.entity';
3
- export { SubscriptionLogEntity } from './subscription-log.entity';
4
- export { SubscriptionEntity } from './subscription.entity';
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionEntity = exports.SubscriptionLogEntity = exports.SubscriptionItemEntity = exports.SubscriptionCompanyEntity = void 0;
4
- var subscription_company_entity_1 = require("./subscription-company.entity");
5
- Object.defineProperty(exports, "SubscriptionCompanyEntity", { enumerable: true, get: function () { return subscription_company_entity_1.SubscriptionCompanyEntity; } });
6
- var subscription_item_entity_1 = require("./subscription-item.entity");
7
- Object.defineProperty(exports, "SubscriptionItemEntity", { enumerable: true, get: function () { return subscription_item_entity_1.SubscriptionItemEntity; } });
8
- var subscription_log_entity_1 = require("./subscription-log.entity");
9
- Object.defineProperty(exports, "SubscriptionLogEntity", { enumerable: true, get: function () { return subscription_log_entity_1.SubscriptionLogEntity; } });
10
- var subscription_entity_1 = require("./subscription.entity");
11
- Object.defineProperty(exports, "SubscriptionEntity", { enumerable: true, get: function () { return subscription_entity_1.SubscriptionEntity; } });
@@ -1,10 +0,0 @@
1
- import { ISubscriptionCompany } from '../interfaces/i-subscription-company';
2
- export declare class SubscriptionCompanyEntity implements ISubscriptionCompany {
3
- containerId: string | null;
4
- doc: string | null;
5
- docType: string | null;
6
- id: string | null;
7
- imageUrl: string | null;
8
- name: string | null;
9
- constructor(data?: Partial<SubscriptionCompanyEntity>);
10
- }
@@ -1,10 +0,0 @@
1
- import { ISubscriptionItem } from '../interfaces';
2
- export declare class SubscriptionItemEntity implements ISubscriptionItem {
3
- description: string;
4
- quantity: number;
5
- recurrent: boolean;
6
- totalPrice: number;
7
- unitPrice: number;
8
- voucherKey: string | null;
9
- constructor(data?: Partial<SubscriptionItemEntity>);
10
- }
@@ -1,8 +0,0 @@
1
- import { ISubscriptionLog } from "../interfaces/i-subscription-log";
2
- export declare class SubscriptionLogEntity implements ISubscriptionLog {
3
- createdAt: Date;
4
- description: string;
5
- id: string;
6
- notes: string;
7
- constructor(data?: Partial<SubscriptionLogEntity>);
8
- }
@@ -1,41 +0,0 @@
1
- import { IFeature } from '../../feature';
2
- import { EPaymentType, ICustomVariable, IntervalTypeEnum } from '../../general';
3
- import { IPayment } from '../../general/interfaces';
4
- import { IInvoice } from '../../invoice';
5
- import { ESubscriptionStatus } from '../enums';
6
- import { ISubscriptionCompany } from './i-subscription-company';
7
- import { ISubscriptionItem } from './i-subscription-item';
8
- import { ISubscriptionLog } from './i-subscription-log';
9
- export interface ISubscription {
10
- amount: number;
11
- appId: string;
12
- appName: string;
13
- cancellationReason: string;
14
- company: ISubscriptionCompany;
15
- createdAt: Date;
16
- customVariables: ICustomVariable[];
17
- cycledAt: Date;
18
- expiresAt: Date;
19
- features: IFeature[];
20
- id: string;
21
- interval: number;
22
- intervalType: IntervalTypeEnum;
23
- invoices: IInvoice[];
24
- items: ISubscriptionItem[];
25
- logs: ISubscriptionLog[];
26
- notes: string;
27
- partnerId: string | null;
28
- payment: IPayment;
29
- paymentType: EPaymentType;
30
- phoneNumberNotification: string;
31
- planId: string;
32
- planName: string;
33
- recentInvoices: IInvoice[];
34
- renewPaymentDate: Date;
35
- renovatedAt: Date;
36
- startsAt: Date;
37
- status: ESubscriptionStatus;
38
- suspendedTimes: number;
39
- tags: string[];
40
- updatedAt: Date;
41
- }
@@ -1,4 +0,0 @@
1
- export { ISubscription } from './i-subscription';
2
- export { ISubscriptionCompany } from './i-subscription-company';
3
- export { ISubscriptionItem } from './i-subscription-item';
4
- export { ISubscriptionLog } from './i-subscription-log';