cecon-interfaces 1.1.64 → 1.1.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. package/dist/clients/entities/client-aplication-credential.entity.d.ts +8 -0
  2. package/dist/clients/entities/client-aplication-credential.entity.js +23 -0
  3. package/dist/clients/entities/client-aplication.entity.d.ts +8 -0
  4. package/dist/clients/entities/client-aplication.entity.js +23 -0
  5. package/dist/clients/entities/client.entity.d.ts +13 -0
  6. package/dist/clients/entities/client.entity.js +27 -0
  7. package/dist/clients/entities/index.d.ts +3 -0
  8. package/dist/clients/entities/index.js +9 -0
  9. package/dist/clients/index.d.ts +2 -0
  10. package/dist/clients/index.js +18 -0
  11. package/dist/clients/interfaces/i-client-aplication.d.ts +6 -0
  12. package/dist/clients/interfaces/i-client-credential.d.ts +6 -0
  13. package/dist/clients/interfaces/i-client.d.ts +12 -0
  14. package/dist/clients/interfaces/i-client.js +2 -0
  15. package/dist/clients/interfaces/index.d.ts +3 -0
  16. package/dist/clients/interfaces/index.js +2 -0
  17. package/dist/company/entities/company.entity.d.ts +2 -2
  18. package/dist/company/entities/company.entity.js +1 -1
  19. package/dist/company/interfaces/i-company.d.ts +2 -2
  20. package/dist/customer/entities/customer.entity.d.ts +26 -0
  21. package/dist/customer/entities/customer.entity.js +41 -0
  22. package/dist/customer/entities/index.d.ts +1 -0
  23. package/dist/customer/entities/index.js +5 -0
  24. package/dist/customer/enums/index.d.ts +2 -0
  25. package/dist/customer/enums/index.js +7 -0
  26. package/dist/customer/enums/interval.enum.d.ts +5 -0
  27. package/dist/customer/enums/interval.enum.js +9 -0
  28. package/dist/customer/enums/status.enum.d.ts +5 -0
  29. package/dist/customer/enums/status.enum.js +9 -0
  30. package/dist/customer/index.d.ts +3 -0
  31. package/dist/customer/index.js +19 -0
  32. package/dist/customer/interfaces/i-customer.d.ts +24 -0
  33. package/dist/customer/interfaces/i-customer.js +2 -0
  34. package/dist/customer/interfaces/index.d.ts +1 -0
  35. package/dist/customer/interfaces/index.js +2 -0
  36. package/dist/esm2022/clients/entities/client-aplication-credential.entity.mjs +19 -0
  37. package/dist/esm2022/clients/entities/client-aplication.entity.mjs +19 -0
  38. package/dist/esm2022/clients/entities/client.entity.mjs +23 -0
  39. package/dist/esm2022/clients/entities/index.mjs +4 -0
  40. package/dist/esm2022/clients/index.mjs +3 -0
  41. package/dist/esm2022/clients/interfaces/i-client-aplication.mjs +2 -0
  42. package/dist/esm2022/clients/interfaces/i-client-credential.mjs +2 -0
  43. package/dist/esm2022/clients/interfaces/i-client.mjs +2 -0
  44. package/dist/esm2022/clients/interfaces/index.mjs +2 -0
  45. package/dist/esm2022/company/entities/company.entity.mjs +3 -3
  46. package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
  47. package/dist/esm2022/customer/entities/customer.entity.mjs +37 -0
  48. package/dist/esm2022/customer/entities/index.mjs +2 -0
  49. package/dist/esm2022/customer/enums/index.mjs +3 -0
  50. package/dist/esm2022/customer/enums/interval.enum.mjs +7 -0
  51. package/dist/esm2022/customer/enums/status.enum.mjs +7 -0
  52. package/dist/esm2022/customer/index.mjs +4 -0
  53. package/dist/esm2022/customer/interfaces/i-customer.mjs +2 -0
  54. package/dist/esm2022/customer/interfaces/index.mjs +2 -0
  55. package/dist/esm2022/general/enums/doc-type.enum.mjs +6 -6
  56. package/dist/esm2022/general/enums/index.mjs +2 -2
  57. package/dist/esm2022/index.mjs +4 -1
  58. package/dist/esm2022/installation/entities/installation.entity.mjs +2 -2
  59. package/dist/esm2022/installation/interfaces/i-installation.mjs +1 -1
  60. package/dist/esm2022/invite/entities/invite.entity.mjs +3 -3
  61. package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
  62. package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +3 -3
  63. package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +1 -1
  64. package/dist/esm2022/lead/entities/lead.entity.mjs +3 -3
  65. package/dist/esm2022/partner/entities/partner.entity.mjs +3 -3
  66. package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
  67. package/dist/esm2022/pubsub/entities/subscription-change-status.entity.mjs +1 -1
  68. package/dist/esm2022/pubsub/interfaces/i-subscription-change-status.mjs +1 -1
  69. package/dist/esm2022/subscription/entities/index.mjs +1 -3
  70. package/dist/esm2022/subscription/entities/subscription.entity.mjs +6 -30
  71. package/dist/esm2022/subscription/index.mjs +1 -2
  72. package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
  73. package/dist/esm2022/subscription/interfaces/index.mjs +1 -1
  74. package/dist/esm2022/subscription-base/entities/index.mjs +5 -0
  75. package/dist/esm2022/subscription-base/entities/subscription-base-customer.entity.mjs +21 -0
  76. package/dist/esm2022/subscription-base/entities/subscription-base-item.entity.mjs +21 -0
  77. package/dist/esm2022/subscription-base/entities/subscription-base-log.entity.mjs +19 -0
  78. package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +43 -0
  79. package/dist/esm2022/subscription-base/enums/index.mjs +2 -0
  80. package/dist/esm2022/subscription-base/enums/subscription-status.enum.mjs +12 -0
  81. package/dist/esm2022/subscription-base/index.mjs +4 -0
  82. package/dist/esm2022/subscription-base/interfaces/i-subscription-base-customer.mjs +2 -0
  83. package/dist/esm2022/subscription-base/interfaces/i-subscription-base-item.mjs +2 -0
  84. package/dist/esm2022/subscription-base/interfaces/i-subscription-base-log.mjs +2 -0
  85. package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +2 -0
  86. package/dist/esm2022/subscription-base/interfaces/index.mjs +2 -0
  87. package/dist/fesm2022/cecon-interfaces.mjs +224 -78
  88. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  89. package/dist/general/enums/doc-type.enum.d.ts +1 -1
  90. package/dist/general/enums/doc-type.enum.js +6 -6
  91. package/dist/general/enums/index.d.ts +1 -1
  92. package/dist/general/enums/index.js +2 -2
  93. package/dist/index.d.ts +3 -0
  94. package/dist/index.js +3 -0
  95. package/dist/installation/entities/installation.entity.d.ts +1 -1
  96. package/dist/installation/entities/installation.entity.js +2 -2
  97. package/dist/installation/interfaces/i-installation.d.ts +1 -1
  98. package/dist/invite/entities/invite.entity.d.ts +2 -2
  99. package/dist/invite/entities/invite.entity.js +1 -1
  100. package/dist/invite/interfaces/i-invite.d.ts +2 -2
  101. package/dist/invoice/entities/invoice-payer.entity.d.ts +2 -2
  102. package/dist/invoice/entities/invoice-payer.entity.js +1 -1
  103. package/dist/invoice/interfaces/i-invoice-payer.d.ts +2 -2
  104. package/dist/lead/entities/lead.entity.d.ts +2 -2
  105. package/dist/lead/entities/lead.entity.js +1 -1
  106. package/dist/package.json +1 -1
  107. package/dist/partner/entities/partner.entity.d.ts +2 -2
  108. package/dist/partner/entities/partner.entity.js +1 -1
  109. package/dist/partner/interfaces/i-partner.d.ts +2 -2
  110. package/dist/pubsub/entities/subscription-change-status.entity.d.ts +1 -1
  111. package/dist/pubsub/interfaces/i-subscription-change-status.d.ts +1 -1
  112. package/dist/subscription/entities/index.d.ts +0 -2
  113. package/dist/subscription/entities/index.js +1 -5
  114. package/dist/subscription/entities/subscription.entity.d.ts +2 -30
  115. package/dist/subscription/entities/subscription.entity.js +32 -39
  116. package/dist/subscription/index.d.ts +0 -1
  117. package/dist/subscription/index.js +0 -1
  118. package/dist/subscription/interfaces/i-subscription.d.ts +2 -31
  119. package/dist/subscription/interfaces/index.d.ts +0 -2
  120. package/dist/subscription-base/entities/index.d.ts +4 -0
  121. package/dist/subscription-base/entities/index.js +11 -0
  122. package/dist/subscription-base/entities/subscription-base-customer.entity.d.ts +10 -0
  123. package/dist/subscription-base/entities/subscription-base-customer.entity.js +25 -0
  124. package/dist/subscription-base/entities/subscription-base-item.entity.d.ts +10 -0
  125. package/dist/{subscription/entities/subscription-item.entity.js → subscription-base/entities/subscription-base-item.entity.js} +5 -5
  126. package/dist/subscription-base/entities/subscription-base-log.entity.d.ts +8 -0
  127. package/dist/{subscription/entities/subscription-log.entity.js → subscription-base/entities/subscription-base-log.entity.js} +8 -8
  128. package/dist/subscription-base/entities/subscription-base.entity.d.ts +36 -0
  129. package/dist/subscription-base/entities/subscription-base.entity.js +47 -0
  130. package/dist/subscription-base/index.d.ts +3 -0
  131. package/dist/subscription-base/index.js +19 -0
  132. package/dist/subscription-base/interfaces/i-subscription-base-customer.d.ts +8 -0
  133. package/dist/subscription-base/interfaces/i-subscription-base-customer.js +2 -0
  134. package/dist/{subscription/interfaces/i-subscription-item.d.ts → subscription-base/interfaces/i-subscription-base-item.d.ts} +1 -1
  135. package/dist/subscription-base/interfaces/i-subscription-base-item.js +2 -0
  136. package/dist/{subscription/interfaces/i-subscription-log.d.ts → subscription-base/interfaces/i-subscription-base-log.d.ts} +1 -1
  137. package/dist/subscription-base/interfaces/i-subscription-base-log.js +2 -0
  138. package/dist/subscription-base/interfaces/i-subscription-base.d.ts +32 -0
  139. package/dist/subscription-base/interfaces/i-subscription-base.js +2 -0
  140. package/dist/subscription-base/interfaces/index.d.ts +4 -0
  141. package/dist/subscription-base/interfaces/index.js +2 -0
  142. package/package.json +1 -1
  143. package/dist/esm2022/subscription/entities/subscription-item.entity.mjs +0 -21
  144. package/dist/esm2022/subscription/entities/subscription-log.entity.mjs +0 -19
  145. package/dist/esm2022/subscription/enums/index.mjs +0 -2
  146. package/dist/esm2022/subscription/enums/subscription-status.enum.mjs +0 -12
  147. package/dist/esm2022/subscription/interfaces/i-subscription-item.mjs +0 -2
  148. package/dist/esm2022/subscription/interfaces/i-subscription-log.mjs +0 -2
  149. package/dist/subscription/entities/subscription-item.entity.d.ts +0 -10
  150. package/dist/subscription/entities/subscription-log.entity.d.ts +0 -8
  151. /package/dist/{subscription/interfaces/i-subscription-item.js → clients/interfaces/i-client-aplication.js} +0 -0
  152. /package/dist/{subscription/interfaces/i-subscription-log.js → clients/interfaces/i-client-credential.js} +0 -0
  153. /package/dist/{subscription → subscription-base}/enums/index.d.ts +0 -0
  154. /package/dist/{subscription → subscription-base}/enums/index.js +0 -0
  155. /package/dist/{subscription → subscription-base}/enums/subscription-status.enum.d.ts +0 -0
  156. /package/dist/{subscription → subscription-base}/enums/subscription-status.enum.js +0 -0
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionLogEntity = void 0;
4
- var SubscriptionLogEntity = /** @class */ (function () {
3
+ exports.SubscriptionBaseLogEntity = void 0;
4
+ var SubscriptionBaseLogEntity = /** @class */ (function () {
5
5
  // #endregion Properties (4)
6
6
  // #region Constructors (1)
7
- function SubscriptionLogEntity(data) {
7
+ function SubscriptionBaseLogEntity(data) {
8
8
  // #region Properties (4)
9
9
  this.createdAt = new Date();
10
- this.description = "";
11
- this.id = "";
12
- this.notes = "";
10
+ this.description = '';
11
+ this.id = '';
12
+ this.notes = '';
13
13
  if (data) {
14
14
  for (var key in data) {
15
15
  if (data.hasOwnProperty(key) && key in this) {
@@ -18,6 +18,6 @@ var SubscriptionLogEntity = /** @class */ (function () {
18
18
  }
19
19
  }
20
20
  }
21
- return SubscriptionLogEntity;
21
+ return SubscriptionBaseLogEntity;
22
22
  }());
23
- exports.SubscriptionLogEntity = SubscriptionLogEntity;
23
+ exports.SubscriptionBaseLogEntity = SubscriptionBaseLogEntity;
@@ -0,0 +1,36 @@
1
+ import { FeatureEntity } from '../../feature';
2
+ import { CustomVariableEntity, EPaymentType, IntervalTypeEnum, PaymentEntity } from '../../general';
3
+ import { InvoiceEntity } from '../../invoice';
4
+ import { ESubscriptionStatus } from '../enums';
5
+ import { ISubscriptionBase } from '../interfaces/i-subscription-base';
6
+ import { SubscriptionBaseCustomerEntity } from './subscription-base-customer.entity';
7
+ import { SubscriptionBaseItemEntity } from './subscription-base-item.entity';
8
+ import { SubscriptionBaseLogEntity } from './subscription-base-log.entity';
9
+ export declare class SubscriptionBaseEntity implements ISubscriptionBase {
10
+ amount: number;
11
+ cancellationReason: string;
12
+ createdAt: Date;
13
+ customVariables: CustomVariableEntity[];
14
+ customer: SubscriptionBaseCustomerEntity;
15
+ expiresAt: Date;
16
+ features: FeatureEntity[];
17
+ id: string;
18
+ interval: number;
19
+ intervalType: IntervalTypeEnum;
20
+ invoices: InvoiceEntity[];
21
+ items: SubscriptionBaseItemEntity[];
22
+ logs: SubscriptionBaseLogEntity[];
23
+ notes: string;
24
+ payment: PaymentEntity;
25
+ paymentType: EPaymentType;
26
+ phoneNumberNotification: string;
27
+ recentInvoices: InvoiceEntity[];
28
+ renewPaymentDate: Date;
29
+ renovatedAt: Date;
30
+ startsAt: Date;
31
+ status: ESubscriptionStatus;
32
+ suspendedTimes: number;
33
+ tags: string[];
34
+ updatedAt: Date;
35
+ constructor(data?: Partial<SubscriptionBaseEntity>);
36
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubscriptionBaseEntity = void 0;
4
+ var general_1 = require("../../general");
5
+ var enums_1 = require("../enums");
6
+ var subscription_base_customer_entity_1 = require("./subscription-base-customer.entity");
7
+ var SubscriptionBaseEntity = /** @class */ (function () {
8
+ // #endregion Properties (25)
9
+ // #region Constructors (1)
10
+ function SubscriptionBaseEntity(data) {
11
+ // #region Properties (25)
12
+ this.amount = 0;
13
+ this.cancellationReason = '';
14
+ this.createdAt = new Date();
15
+ this.customVariables = [];
16
+ this.customer = new subscription_base_customer_entity_1.SubscriptionBaseCustomerEntity();
17
+ this.expiresAt = new Date();
18
+ this.features = [];
19
+ this.id = '';
20
+ this.interval = 0;
21
+ this.intervalType = general_1.IntervalTypeEnum.MONTHS;
22
+ this.invoices = [];
23
+ this.items = [];
24
+ this.logs = [];
25
+ this.notes = '';
26
+ this.payment = new general_1.PaymentEntity();
27
+ this.paymentType = general_1.EPaymentType.NONE;
28
+ this.phoneNumberNotification = '';
29
+ this.recentInvoices = [];
30
+ this.renewPaymentDate = new Date();
31
+ this.renovatedAt = new Date();
32
+ this.startsAt = new Date();
33
+ this.status = enums_1.ESubscriptionStatus.PENDING;
34
+ this.suspendedTimes = 0;
35
+ this.tags = [];
36
+ this.updatedAt = new Date();
37
+ if (data) {
38
+ for (var key in data) {
39
+ if (data.hasOwnProperty(key) && key in this) {
40
+ this[key] = data[key];
41
+ }
42
+ }
43
+ }
44
+ }
45
+ return SubscriptionBaseEntity;
46
+ }());
47
+ exports.SubscriptionBaseEntity = SubscriptionBaseEntity;
@@ -0,0 +1,3 @@
1
+ export * from './entities';
2
+ export * from './enums';
3
+ export * from './interfaces';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,8 @@
1
+ export interface ISubscriptionBaseCustomer {
2
+ doc: string | null;
3
+ docType: string | null;
4
+ id: string | null;
5
+ imageUrl: string | null;
6
+ name: string | null;
7
+ uid: string | null;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export interface ISubscriptionItem {
1
+ export interface ISubscriptionBaseItem {
2
2
  description: string;
3
3
  quantity: number;
4
4
  recurrent: boolean;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export interface ISubscriptionLog {
1
+ export interface ISubscriptionBaseLog {
2
2
  createdAt: Date;
3
3
  description: string;
4
4
  id: string;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,32 @@
1
+ import { EPaymentType, ICustomVariable, IPayment, IntervalTypeEnum } from '../../general';
2
+ import { IInvoice } from '../../invoice';
3
+ import { ESubscriptionStatus } from '../enums';
4
+ import { ISubscriptionBaseCustomer } from './i-subscription-base-customer';
5
+ import { ISubscriptionBaseItem } from './i-subscription-base-item';
6
+ import { ISubscriptionBaseLog } from './i-subscription-base-log';
7
+ export interface ISubscriptionBase {
8
+ amount: number;
9
+ cancellationReason: string;
10
+ createdAt: Date;
11
+ customVariables: ICustomVariable[];
12
+ customer: ISubscriptionBaseCustomer;
13
+ expiresAt: Date;
14
+ id: string;
15
+ interval: number;
16
+ intervalType: IntervalTypeEnum;
17
+ invoices: IInvoice[];
18
+ items: ISubscriptionBaseItem[];
19
+ logs: ISubscriptionBaseLog[];
20
+ notes: string;
21
+ payment: IPayment;
22
+ paymentType: EPaymentType;
23
+ phoneNumberNotification: string;
24
+ recentInvoices: IInvoice[];
25
+ renewPaymentDate: Date;
26
+ renovatedAt: Date;
27
+ startsAt: Date;
28
+ status: ESubscriptionStatus;
29
+ suspendedTimes: number;
30
+ tags: string[];
31
+ updatedAt: Date;
32
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export { ISubscriptionBase } from './i-subscription-base';
2
+ export { ISubscriptionBaseCustomer } from './i-subscription-base-customer';
3
+ export { ISubscriptionBaseItem } from './i-subscription-base-item';
4
+ export { ISubscriptionBaseLog } from './i-subscription-base-log';
@@ -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.64",
3
+ "version": "1.1.66",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWl0ZW0uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnRpdGllcy9zdWJzY3JpcHRpb24taXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHNCQUFzQjtJQUNqQyx5QkFBeUI7SUFFbEIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixRQUFRLEdBQVcsQ0FBQyxDQUFDO0lBQ3JCLFNBQVMsR0FBWSxJQUFJLENBQUM7SUFDMUIsVUFBVSxHQUFXLENBQUMsQ0FBQztJQUN2QixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQ3RCLFVBQVUsR0FBa0IsSUFBSSxDQUFDO0lBRXhDLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUFzQztRQUNoRCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkF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XG59XG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWxvZy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL3N1YnNjcmlwdGlvbi1sb2cuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxxQkFBcUI7SUFDaEMseUJBQXlCO0lBRWxCLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBRTFCLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUFxQztRQUMvQyxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDekM7YUFDRjtTQUNGO0lBQ0gsQ0FBQztDQUdGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVN1YnNjcmlwdGlvbkxvZyB9IGZyb20gXCIuLi9pbnRlcmZhY2VzL2ktc3Vic2NyaXB0aW9uLWxvZ1wiO1xuXG5leHBvcnQgY2xhc3MgU3Vic2NyaXB0aW9uTG9nRW50aXR5IGltcGxlbWVudHMgSVN1YnNjcmlwdGlvbkxvZyB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoNClcblxuICBwdWJsaWMgY3JlYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcbiAgcHVibGljIGRlc2NyaXB0aW9uOiBzdHJpbmcgPSBcIlwiO1xuICBwdWJsaWMgaWQ6IHN0cmluZyA9IFwiXCI7XG4gIHB1YmxpYyBub3Rlczogc3RyaW5nID0gXCJcIjtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDQpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8U3Vic2NyaXB0aW9uTG9nRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLXN0YXR1cy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnVtcy9zdWJzY3JpcHRpb24tc3RhdHVzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksbUJBU1g7QUFURCxXQUFZLG1CQUFtQjtJQUM3Qix3Q0FBaUIsQ0FBQTtJQUNqQiw4Q0FBdUIsQ0FBQTtJQUN2Qix3Q0FBaUIsQ0FBQTtJQUNqQiwwQ0FBbUIsQ0FBQTtJQUNuQiwwQ0FBbUIsQ0FBQTtJQUNuQixzQ0FBZSxDQUFBO0lBQ2Ysb0NBQWEsQ0FBQTtJQUNiLDhDQUF1QixDQUFBO0FBQ3pCLENBQUMs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appingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24tbG9nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9pbnRlcmZhY2VzL2ktc3Vic2NyaXB0aW9uLWxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgaW50ZXJmYWNlIElTdWJzY3JpcHRpb25Mb2cge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDQpXG5cbiAgY3JlYXRlZEF0OiBEYXRlO1xuICBkZXNjcmlwdGlvbjogc3RyaW5nO1xuICBpZDogc3RyaW5nO1xuICBub3Rlczogc3RyaW5nO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNClcbn1cbiJdfQ==
@@ -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
- }