cecon-interfaces 1.1.66 → 1.1.68

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/dist/esm2022/index.mjs +3 -2
  2. package/dist/esm2022/subscription-base/entities/index.mjs +1 -2
  3. package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +1 -4
  4. package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +1 -1
  5. package/dist/esm2022/subscription-base/interfaces/index.mjs +1 -1
  6. package/dist/esm2022/subscription-company/entities/index.mjs +3 -0
  7. package/dist/esm2022/subscription-company/entities/subscription-company.entity.mjs +21 -0
  8. package/dist/esm2022/subscription-company/entities/subscription.entity.mjs +25 -0
  9. package/dist/esm2022/subscription-company/index.mjs +3 -0
  10. package/dist/esm2022/subscription-company/interfaces/i-subscription-company.mjs +2 -0
  11. package/dist/esm2022/subscription-company/interfaces/i-subscription.mjs +2 -0
  12. package/dist/esm2022/subscription-company/interfaces/index.mjs +2 -0
  13. package/dist/esm2022/subscription-customer/entities/index.mjs +3 -0
  14. package/dist/esm2022/subscription-customer/entities/subscription-customer.entity.mjs +21 -0
  15. package/dist/esm2022/subscription-customer/entities/subscription.entity.mjs +19 -0
  16. package/dist/esm2022/subscription-customer/index.mjs +3 -0
  17. package/dist/esm2022/subscription-customer/interfaces/i-subscription-customer.mjs +2 -0
  18. package/dist/esm2022/subscription-customer/interfaces/i-subscription.mjs +2 -0
  19. package/dist/esm2022/subscription-customer/interfaces/index.mjs +2 -0
  20. package/dist/fesm2022/cecon-interfaces.mjs +42 -27
  21. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  22. package/dist/index.d.ts +2 -1
  23. package/dist/index.js +2 -1
  24. package/dist/package.json +1 -1
  25. package/dist/subscription-base/entities/index.d.ts +0 -1
  26. package/dist/subscription-base/entities/index.js +1 -3
  27. package/dist/subscription-base/entities/subscription-base.entity.d.ts +0 -4
  28. package/dist/subscription-base/entities/subscription-base.entity.js +0 -3
  29. package/dist/subscription-base/interfaces/i-subscription-base.d.ts +0 -2
  30. package/dist/subscription-base/interfaces/index.d.ts +0 -1
  31. package/dist/subscription-company/entities/index.d.ts +2 -0
  32. package/dist/subscription-company/entities/index.js +7 -0
  33. package/dist/subscription-company/entities/subscription-company.entity.d.ts +10 -0
  34. package/dist/{subscription → subscription-company}/entities/subscription-company.entity.js +5 -5
  35. package/dist/subscription-company/entities/subscription.entity.d.ts +14 -0
  36. package/dist/{subscription → subscription-company}/entities/subscription.entity.js +7 -7
  37. package/dist/{subscription → subscription-company}/interfaces/i-subscription-company.d.ts +1 -1
  38. package/dist/{subscription → subscription-company}/interfaces/i-subscription.d.ts +3 -3
  39. package/dist/subscription-company/interfaces/index.d.ts +2 -0
  40. package/dist/subscription-customer/entities/index.d.ts +2 -0
  41. package/dist/subscription-customer/entities/index.js +7 -0
  42. package/dist/subscription-customer/entities/subscription-customer.entity.d.ts +10 -0
  43. package/dist/{subscription-base/entities/subscription-base-customer.entity.js → subscription-customer/entities/subscription-customer.entity.js} +5 -5
  44. package/dist/subscription-customer/entities/subscription.entity.d.ts +7 -0
  45. package/dist/subscription-customer/entities/subscription.entity.js +40 -0
  46. package/dist/subscription-customer/index.d.ts +2 -0
  47. package/dist/subscription-customer/index.js +18 -0
  48. package/dist/{subscription-base/interfaces/i-subscription-base-customer.d.ts → subscription-customer/interfaces/i-subscription-customer.d.ts} +1 -1
  49. package/dist/subscription-customer/interfaces/i-subscription.d.ts +5 -0
  50. package/dist/subscription-customer/interfaces/i-subscription.js +2 -0
  51. package/dist/subscription-customer/interfaces/index.d.ts +2 -0
  52. package/dist/subscription-customer/interfaces/index.js +2 -0
  53. package/package.json +1 -1
  54. package/dist/esm2022/subscription/entities/index.mjs +0 -3
  55. package/dist/esm2022/subscription/entities/subscription-company.entity.mjs +0 -21
  56. package/dist/esm2022/subscription/entities/subscription.entity.mjs +0 -25
  57. package/dist/esm2022/subscription/index.mjs +0 -3
  58. package/dist/esm2022/subscription/interfaces/i-subscription-company.mjs +0 -2
  59. package/dist/esm2022/subscription/interfaces/i-subscription.mjs +0 -2
  60. package/dist/esm2022/subscription/interfaces/index.mjs +0 -2
  61. package/dist/esm2022/subscription-base/entities/subscription-base-customer.entity.mjs +0 -21
  62. package/dist/esm2022/subscription-base/interfaces/i-subscription-base-customer.mjs +0 -2
  63. package/dist/subscription/entities/index.d.ts +0 -2
  64. package/dist/subscription/entities/index.js +0 -7
  65. package/dist/subscription/entities/subscription-company.entity.d.ts +0 -10
  66. package/dist/subscription/entities/subscription.entity.d.ts +0 -14
  67. package/dist/subscription/interfaces/index.d.ts +0 -2
  68. package/dist/subscription-base/entities/subscription-base-customer.entity.d.ts +0 -10
  69. /package/dist/{subscription → subscription-company}/index.d.ts +0 -0
  70. /package/dist/{subscription → subscription-company}/index.js +0 -0
  71. /package/dist/{subscription → subscription-company}/interfaces/i-subscription-company.js +0 -0
  72. /package/dist/{subscription → subscription-company}/interfaces/i-subscription.js +0 -0
  73. /package/dist/{subscription → subscription-company}/interfaces/index.js +0 -0
  74. /package/dist/{subscription-base/interfaces/i-subscription-base-customer.js → subscription-customer/interfaces/i-subscription-customer.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -21,8 +21,9 @@ export * from './plan';
21
21
  export * from './pubsub';
22
22
  export * from './purchases';
23
23
  export * from './resume';
24
- export * from './subscription';
25
24
  export * from './subscription-base';
25
+ export * from './subscription-company';
26
+ export * from './subscription-customer';
26
27
  export * from './token';
27
28
  export * from './viacep';
28
29
  export * from './voucher';
package/dist/index.js CHANGED
@@ -37,8 +37,9 @@ __exportStar(require("./plan"), exports);
37
37
  __exportStar(require("./pubsub"), exports);
38
38
  __exportStar(require("./purchases"), exports);
39
39
  __exportStar(require("./resume"), exports);
40
- __exportStar(require("./subscription"), exports);
41
40
  __exportStar(require("./subscription-base"), exports);
41
+ __exportStar(require("./subscription-company"), exports);
42
+ __exportStar(require("./subscription-customer"), exports);
42
43
  __exportStar(require("./token"), exports);
43
44
  __exportStar(require("./viacep"), exports);
44
45
  __exportStar(require("./voucher"), exports);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.66",
3
+ "version": "1.1.68",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +1,3 @@
1
- export { SubscriptionBaseCustomerEntity } from './subscription-base-customer.entity';
2
1
  export { SubscriptionBaseItemEntity } from './subscription-base-item.entity';
3
2
  export { SubscriptionBaseLogEntity } from './subscription-base-log.entity';
4
3
  export { SubscriptionBaseEntity } from './subscription-base.entity';
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionBaseEntity = exports.SubscriptionBaseLogEntity = exports.SubscriptionBaseItemEntity = exports.SubscriptionBaseCustomerEntity = void 0;
4
- var subscription_base_customer_entity_1 = require("./subscription-base-customer.entity");
5
- Object.defineProperty(exports, "SubscriptionBaseCustomerEntity", { enumerable: true, get: function () { return subscription_base_customer_entity_1.SubscriptionBaseCustomerEntity; } });
3
+ exports.SubscriptionBaseEntity = exports.SubscriptionBaseLogEntity = exports.SubscriptionBaseItemEntity = void 0;
6
4
  var subscription_base_item_entity_1 = require("./subscription-base-item.entity");
7
5
  Object.defineProperty(exports, "SubscriptionBaseItemEntity", { enumerable: true, get: function () { return subscription_base_item_entity_1.SubscriptionBaseItemEntity; } });
8
6
  var subscription_base_log_entity_1 = require("./subscription-base-log.entity");
@@ -1,9 +1,7 @@
1
- import { FeatureEntity } from '../../feature';
2
1
  import { CustomVariableEntity, EPaymentType, IntervalTypeEnum, PaymentEntity } from '../../general';
3
2
  import { InvoiceEntity } from '../../invoice';
4
3
  import { ESubscriptionStatus } from '../enums';
5
4
  import { ISubscriptionBase } from '../interfaces/i-subscription-base';
6
- import { SubscriptionBaseCustomerEntity } from './subscription-base-customer.entity';
7
5
  import { SubscriptionBaseItemEntity } from './subscription-base-item.entity';
8
6
  import { SubscriptionBaseLogEntity } from './subscription-base-log.entity';
9
7
  export declare class SubscriptionBaseEntity implements ISubscriptionBase {
@@ -11,9 +9,7 @@ export declare class SubscriptionBaseEntity implements ISubscriptionBase {
11
9
  cancellationReason: string;
12
10
  createdAt: Date;
13
11
  customVariables: CustomVariableEntity[];
14
- customer: SubscriptionBaseCustomerEntity;
15
12
  expiresAt: Date;
16
- features: FeatureEntity[];
17
13
  id: string;
18
14
  interval: number;
19
15
  intervalType: IntervalTypeEnum;
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionBaseEntity = void 0;
4
4
  var general_1 = require("../../general");
5
5
  var enums_1 = require("../enums");
6
- var subscription_base_customer_entity_1 = require("./subscription-base-customer.entity");
7
6
  var SubscriptionBaseEntity = /** @class */ (function () {
8
7
  // #endregion Properties (25)
9
8
  // #region Constructors (1)
@@ -13,9 +12,7 @@ var SubscriptionBaseEntity = /** @class */ (function () {
13
12
  this.cancellationReason = '';
14
13
  this.createdAt = new Date();
15
14
  this.customVariables = [];
16
- this.customer = new subscription_base_customer_entity_1.SubscriptionBaseCustomerEntity();
17
15
  this.expiresAt = new Date();
18
- this.features = [];
19
16
  this.id = '';
20
17
  this.interval = 0;
21
18
  this.intervalType = general_1.IntervalTypeEnum.MONTHS;
@@ -1,7 +1,6 @@
1
1
  import { EPaymentType, ICustomVariable, IPayment, IntervalTypeEnum } from '../../general';
2
2
  import { IInvoice } from '../../invoice';
3
3
  import { ESubscriptionStatus } from '../enums';
4
- import { ISubscriptionBaseCustomer } from './i-subscription-base-customer';
5
4
  import { ISubscriptionBaseItem } from './i-subscription-base-item';
6
5
  import { ISubscriptionBaseLog } from './i-subscription-base-log';
7
6
  export interface ISubscriptionBase {
@@ -9,7 +8,6 @@ export interface ISubscriptionBase {
9
8
  cancellationReason: string;
10
9
  createdAt: Date;
11
10
  customVariables: ICustomVariable[];
12
- customer: ISubscriptionBaseCustomer;
13
11
  expiresAt: Date;
14
12
  id: string;
15
13
  interval: number;
@@ -1,4 +1,3 @@
1
1
  export { ISubscriptionBase } from './i-subscription-base';
2
- export { ISubscriptionBaseCustomer } from './i-subscription-base-customer';
3
2
  export { ISubscriptionBaseItem } from './i-subscription-base-item';
4
3
  export { ISubscriptionBaseLog } from './i-subscription-base-log';
@@ -0,0 +1,2 @@
1
+ export { SubscriptionCompanyCompanyEntity } from './subscription-company.entity';
2
+ export { SubscriptionCompanyEntity } from './subscription.entity';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubscriptionCompanyEntity = exports.SubscriptionCompanyCompanyEntity = void 0;
4
+ var subscription_company_entity_1 = require("./subscription-company.entity");
5
+ Object.defineProperty(exports, "SubscriptionCompanyCompanyEntity", { enumerable: true, get: function () { return subscription_company_entity_1.SubscriptionCompanyCompanyEntity; } });
6
+ var subscription_entity_1 = require("./subscription.entity");
7
+ Object.defineProperty(exports, "SubscriptionCompanyEntity", { enumerable: true, get: function () { return subscription_entity_1.SubscriptionCompanyEntity; } });
@@ -0,0 +1,10 @@
1
+ import { ISubscriptionCompanyCompany } from '../interfaces/i-subscription-company';
2
+ export declare class SubscriptionCompanyCompanyEntity implements ISubscriptionCompanyCompany {
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<SubscriptionCompanyCompanyEntity>);
10
+ }
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionCompanyEntity = void 0;
4
- var SubscriptionCompanyEntity = /** @class */ (function () {
3
+ exports.SubscriptionCompanyCompanyEntity = void 0;
4
+ var SubscriptionCompanyCompanyEntity = /** @class */ (function () {
5
5
  // #endregion Properties (6)
6
6
  // #region Constructors (1)
7
- function SubscriptionCompanyEntity(data) {
7
+ function SubscriptionCompanyCompanyEntity(data) {
8
8
  // #region Properties (6)
9
9
  this.containerId = '';
10
10
  this.doc = '';
@@ -20,6 +20,6 @@ var SubscriptionCompanyEntity = /** @class */ (function () {
20
20
  }
21
21
  }
22
22
  }
23
- return SubscriptionCompanyEntity;
23
+ return SubscriptionCompanyCompanyEntity;
24
24
  }());
25
- exports.SubscriptionCompanyEntity = SubscriptionCompanyEntity;
25
+ exports.SubscriptionCompanyCompanyEntity = SubscriptionCompanyCompanyEntity;
@@ -0,0 +1,14 @@
1
+ import { FeatureEntity } from '../../feature';
2
+ import { SubscriptionBaseEntity } from '../../subscription-base/entities/subscription-base.entity';
3
+ import { ISubscriptionCompany } from '../interfaces/i-subscription';
4
+ import { SubscriptionCompanyCompanyEntity } from './subscription-company.entity';
5
+ export declare class SubscriptionCompanyEntity extends SubscriptionBaseEntity implements ISubscriptionCompany {
6
+ appId: string;
7
+ appName: string;
8
+ company: SubscriptionCompanyCompanyEntity;
9
+ features: FeatureEntity[];
10
+ partnerId: string | null;
11
+ planId: string;
12
+ planName: string;
13
+ constructor(data?: Partial<SubscriptionCompanyEntity>);
14
+ }
@@ -15,19 +15,19 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.SubscriptionEntity = void 0;
18
+ exports.SubscriptionCompanyEntity = void 0;
19
19
  var subscription_base_entity_1 = require("../../subscription-base/entities/subscription-base.entity");
20
20
  var subscription_company_entity_1 = require("./subscription-company.entity");
21
- var SubscriptionEntity = /** @class */ (function (_super) {
22
- __extends(SubscriptionEntity, _super);
21
+ var SubscriptionCompanyEntity = /** @class */ (function (_super) {
22
+ __extends(SubscriptionCompanyEntity, _super);
23
23
  // #endregion Properties (7)
24
24
  // #region Constructors (1)
25
- function SubscriptionEntity(data) {
25
+ function SubscriptionCompanyEntity(data) {
26
26
  var _this = _super.call(this, data) || this;
27
27
  // #region Properties (7)
28
28
  _this.appId = '';
29
29
  _this.appName = '';
30
- _this.company = new subscription_company_entity_1.SubscriptionCompanyEntity();
30
+ _this.company = new subscription_company_entity_1.SubscriptionCompanyCompanyEntity();
31
31
  _this.features = [];
32
32
  _this.partnerId = '';
33
33
  _this.planId = '';
@@ -41,6 +41,6 @@ var SubscriptionEntity = /** @class */ (function (_super) {
41
41
  }
42
42
  return _this;
43
43
  }
44
- return SubscriptionEntity;
44
+ return SubscriptionCompanyEntity;
45
45
  }(subscription_base_entity_1.SubscriptionBaseEntity));
46
- exports.SubscriptionEntity = SubscriptionEntity;
46
+ exports.SubscriptionCompanyEntity = SubscriptionCompanyEntity;
@@ -1,4 +1,4 @@
1
- export interface ISubscriptionCompany {
1
+ export interface ISubscriptionCompanyCompany {
2
2
  containerId: string | null;
3
3
  doc: string | null;
4
4
  docType: string | null;
@@ -1,10 +1,10 @@
1
1
  import { IFeature } from '../../feature';
2
2
  import { ISubscriptionBase } from '../../subscription-base/interfaces/i-subscription-base';
3
- import { ISubscriptionCompany } from './i-subscription-company';
4
- export interface ISubscription extends ISubscriptionBase {
3
+ import { ISubscriptionCompanyCompany } from './i-subscription-company';
4
+ export interface ISubscriptionCompany extends ISubscriptionBase {
5
5
  appId: string;
6
6
  appName: string;
7
- company: ISubscriptionCompany;
7
+ company: ISubscriptionCompanyCompany;
8
8
  features: IFeature[];
9
9
  partnerId: string | null;
10
10
  planId: string;
@@ -0,0 +1,2 @@
1
+ export { ISubscriptionCompany } from './i-subscription';
2
+ export { ISubscriptionCompanyCompany } from './i-subscription-company';
@@ -0,0 +1,2 @@
1
+ export { SubscriptionCustomerCustomerEntity } from './subscription-customer.entity';
2
+ export { SubscriptionCustomerEntity } from './subscription.entity';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubscriptionCustomerEntity = exports.SubscriptionCustomerCustomerEntity = void 0;
4
+ var subscription_customer_entity_1 = require("./subscription-customer.entity");
5
+ Object.defineProperty(exports, "SubscriptionCustomerCustomerEntity", { enumerable: true, get: function () { return subscription_customer_entity_1.SubscriptionCustomerCustomerEntity; } });
6
+ var subscription_entity_1 = require("./subscription.entity");
7
+ Object.defineProperty(exports, "SubscriptionCustomerEntity", { enumerable: true, get: function () { return subscription_entity_1.SubscriptionCustomerEntity; } });
@@ -0,0 +1,10 @@
1
+ import { ISubscriptionCustomerCustomer } from '../interfaces/i-subscription-customer';
2
+ export declare class SubscriptionCustomerCustomerEntity implements ISubscriptionCustomerCustomer {
3
+ doc: string | null;
4
+ docType: string | null;
5
+ id: string | null;
6
+ imageUrl: string | null;
7
+ name: string | null;
8
+ uid: string | null;
9
+ constructor(data?: Partial<SubscriptionCustomerCustomerEntity>);
10
+ }
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionBaseCustomerEntity = void 0;
4
- var SubscriptionBaseCustomerEntity = /** @class */ (function () {
3
+ exports.SubscriptionCustomerCustomerEntity = void 0;
4
+ var SubscriptionCustomerCustomerEntity = /** @class */ (function () {
5
5
  // #endregion Properties (6)
6
6
  // #region Constructors (1)
7
- function SubscriptionBaseCustomerEntity(data) {
7
+ function SubscriptionCustomerCustomerEntity(data) {
8
8
  // #region Properties (6)
9
9
  this.doc = '';
10
10
  this.docType = '';
@@ -20,6 +20,6 @@ var SubscriptionBaseCustomerEntity = /** @class */ (function () {
20
20
  }
21
21
  }
22
22
  }
23
- return SubscriptionBaseCustomerEntity;
23
+ return SubscriptionCustomerCustomerEntity;
24
24
  }());
25
- exports.SubscriptionBaseCustomerEntity = SubscriptionBaseCustomerEntity;
25
+ exports.SubscriptionCustomerCustomerEntity = SubscriptionCustomerCustomerEntity;
@@ -0,0 +1,7 @@
1
+ import { SubscriptionBaseEntity } from '../../subscription-base';
2
+ import { ISubscriptionCustomer } from '../interfaces/i-subscription';
3
+ import { SubscriptionCustomerCustomerEntity } from './subscription-customer.entity';
4
+ export declare class SubscriptionCustomerEntity extends SubscriptionBaseEntity implements ISubscriptionCustomer {
5
+ customer: SubscriptionCustomerCustomerEntity;
6
+ constructor(data?: Partial<SubscriptionCustomerEntity>);
7
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.SubscriptionCustomerEntity = void 0;
19
+ var subscription_base_1 = require("../../subscription-base");
20
+ var subscription_customer_entity_1 = require("./subscription-customer.entity");
21
+ var SubscriptionCustomerEntity = /** @class */ (function (_super) {
22
+ __extends(SubscriptionCustomerEntity, _super);
23
+ // #endregion Properties (1)
24
+ // #region Constructors (1)
25
+ function SubscriptionCustomerEntity(data) {
26
+ var _this = _super.call(this, data) || this;
27
+ // #region Properties (1)
28
+ _this.customer = new subscription_customer_entity_1.SubscriptionCustomerCustomerEntity();
29
+ if (data) {
30
+ for (var key in data) {
31
+ if (data.hasOwnProperty(key) && key in _this) {
32
+ _this[key] = data[key];
33
+ }
34
+ }
35
+ }
36
+ return _this;
37
+ }
38
+ return SubscriptionCustomerEntity;
39
+ }(subscription_base_1.SubscriptionBaseEntity));
40
+ exports.SubscriptionCustomerEntity = SubscriptionCustomerEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
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("./interfaces"), exports);
@@ -1,4 +1,4 @@
1
- export interface ISubscriptionBaseCustomer {
1
+ export interface ISubscriptionCustomerCustomer {
2
2
  doc: string | null;
3
3
  docType: string | null;
4
4
  id: string | null;
@@ -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.66",
3
+ "version": "1.1.68",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +0,0 @@
1
- export { SubscriptionCompanyEntity } from './subscription-company.entity';
2
- export { SubscriptionEntity } from './subscription.entity';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzFFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgU3Vic2NyaXB0aW9uQ29tcGFueUVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLWNvbXBhbnkuZW50aXR5JztcbmV4cG9ydCB7IFN1YnNjcmlwdGlvbkVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLmVudGl0eSc7XG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWNvbXBhbnkuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnRpdGllcy9zdWJzY3JpcHRpb24tY29tcGFueS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHlCQUF5QjtJQUNwQyx5QkFBeUI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ICcnO1xuICBwdWJsaWMgbmFtZTogc3RyaW5nIHwgbnVsbCA9ICcnO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25Db21wYW55RW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
@@ -1,25 +0,0 @@
1
- import { SubscriptionBaseEntity } from '../../subscription-base/entities/subscription-base.entity';
2
- import { SubscriptionCompanyEntity } from './subscription-company.entity';
3
- export class SubscriptionEntity extends SubscriptionBaseEntity {
4
- // #region Properties (7)
5
- appId = '';
6
- appName = '';
7
- company = new SubscriptionCompanyEntity();
8
- features = [];
9
- partnerId = '';
10
- planId = '';
11
- planName = '';
12
- // #endregion Properties (7)
13
- // #region Constructors (1)
14
- constructor(data) {
15
- super(data);
16
- if (data) {
17
- for (let key in data) {
18
- if (data.hasOwnProperty(key) && key in this) {
19
- this[key] = data[key];
20
- }
21
- }
22
- }
23
- }
24
- }
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50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ICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
@@ -1,3 +0,0 @@
1
- export * from './entities';
2
- export * from './interfaces';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24tY29tcGFueS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vaW50ZXJmYWNlcy9pLXN1YnNjcmlwdGlvbi1jb21wYW55LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElTdWJzY3JpcHRpb25Db21wYW55IHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg2KVxuXG4gIGNvbnRhaW5lcklkOiBzdHJpbmcgfCBudWxsO1xuICBkb2M6IHN0cmluZyB8IG51bGw7XG4gIGRvY1R5cGU6IHN0cmluZyB8IG51bGw7XG4gIGlkOiBzdHJpbmcgfCBudWxsO1xuIC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 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElTdWJzY3JpcHRpb24gfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uJztcbmV4cG9ydCB7IElTdWJzY3JpcHRpb25Db21wYW55IH0gZnJvbSAnLi9pLXN1YnNjcmlwdGlvbi1jb21wYW55JztcbiJdfQ==
@@ -1,21 +0,0 @@
1
- export class SubscriptionBaseCustomerEntity {
2
- // #region Properties (6)
3
- doc = '';
4
- docType = '';
5
- id = '';
6
- imageUrl = '';
7
- name = '';
8
- uid = '';
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWJhc2UtY3VzdG9tZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi1iYXNlL2VudGl0aWVzL3N1YnNjcmlwdGlvbi1iYXNlLWN1c3RvbWVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sOEJBQThCO0lBQ3pDLHlCQUF5QjtJQUVsQixHQUFHLEdBQWtCLEVBQUUsQ0FBQztJQUN4QixPQUFPLEdBQWtCLEVBQUUsQ0FBQztJQUM1QixFQUFFLEdBQWtCLEVBQUUs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JvcGVydGllcyAoNilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25CYXNlQ3VzdG9tZXJFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24tYmFzZS1jdXN0b21lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24tYmFzZS9pbnRlcmZhY2VzL2ktc3Vic2NyaXB0aW9uLWJhc2UtY3VzdG9tZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVN1YnNjcmlwdGlvbkJhc2VDdXN0b21lciB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoNilcblxuICBkb2M6IHN0cmluZyB8IG51bGw7XG4gIGRvY1R5cGU6IHN0cmluZyB8IG51bGw7XG4gIGlkOiBzdHJpbmcgfCBudWxsO1xuICBpbWFnZVVybDogc3RyaW5nIHwgbnVsbDtcbiAgbmFtZTogc3RyaW5nIHwgbnVsbDtcbiAgdWlkOiBzdHJpbmcgfCBudWxsO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export { SubscriptionCompanyEntity } from './subscription-company.entity';
2
- export { SubscriptionEntity } from './subscription.entity';
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionEntity = 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_entity_1 = require("./subscription.entity");
7
- 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,14 +0,0 @@
1
- import { FeatureEntity } from '../../feature';
2
- import { SubscriptionBaseEntity } from '../../subscription-base/entities/subscription-base.entity';
3
- import { ISubscription } from '../interfaces/i-subscription';
4
- import { SubscriptionCompanyEntity } from './subscription-company.entity';
5
- export declare class SubscriptionEntity extends SubscriptionBaseEntity implements ISubscription {
6
- appId: string;
7
- appName: string;
8
- company: SubscriptionCompanyEntity;
9
- features: FeatureEntity[];
10
- partnerId: string | null;
11
- planId: string;
12
- planName: string;
13
- constructor(data?: Partial<SubscriptionEntity>);
14
- }
@@ -1,2 +0,0 @@
1
- export { ISubscription } from './i-subscription';
2
- export { ISubscriptionCompany } from './i-subscription-company';
@@ -1,10 +0,0 @@
1
- import { ISubscriptionBaseCustomer } from '../interfaces/i-subscription-base-customer';
2
- export declare class SubscriptionBaseCustomerEntity implements ISubscriptionBaseCustomer {
3
- doc: string | null;
4
- docType: string | null;
5
- id: string | null;
6
- imageUrl: string | null;
7
- name: string | null;
8
- uid: string | null;
9
- constructor(data?: Partial<SubscriptionBaseCustomerEntity>);
10
- }