cecon-interfaces 1.1.68 → 1.1.70

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. package/dist/app/entities/app.entity.d.ts +6 -6
  2. package/dist/app/entities/app.entity.js +1 -1
  3. package/dist/app/interfaces/i-app.d.ts +6 -6
  4. package/dist/billing/entities/billing-payment.entity.d.ts +19 -0
  5. package/dist/billing/entities/billing-payment.entity.js +33 -0
  6. package/dist/billing/entities/billing-total.entity.d.ts +10 -0
  7. package/dist/billing/entities/billing-total.entity.js +25 -0
  8. package/dist/billing/entities/billing.entity.d.ts +14 -0
  9. package/dist/billing/entities/billing.entity.js +29 -0
  10. package/dist/billing/entities/index.d.ts +3 -0
  11. package/dist/billing/entities/index.js +9 -0
  12. package/dist/billing/enums/billing-status.enum.d.ts +6 -0
  13. package/dist/billing/enums/billing-status.enum.js +12 -0
  14. package/dist/billing/enums/index.d.ts +1 -0
  15. package/dist/billing/enums/index.js +5 -0
  16. package/dist/billing/index.d.ts +3 -0
  17. package/dist/billing/index.js +19 -0
  18. package/dist/billing/interfaces/i-billing-payment.d.ts +17 -0
  19. package/dist/billing/interfaces/i-billing-payment.js +2 -0
  20. package/dist/billing/interfaces/i-billing-total.d.ts +8 -0
  21. package/dist/billing/interfaces/i-billing-total.js +2 -0
  22. package/dist/billing/interfaces/i-billing.d.ts +14 -0
  23. package/dist/billing/interfaces/i-billing.js +2 -0
  24. package/dist/billing/interfaces/index.d.ts +3 -0
  25. package/dist/billing/interfaces/index.js +2 -0
  26. package/dist/billing-order/entities/billing-order.entity.d.ts +6 -0
  27. package/dist/billing-order/entities/billing-order.entity.js +39 -0
  28. package/dist/billing-order/entities/index.d.ts +1 -0
  29. package/dist/billing-order/entities/index.js +5 -0
  30. package/dist/billing-order/index.d.ts +2 -0
  31. package/dist/billing-order/index.js +18 -0
  32. package/dist/billing-order/interfaces/i-billing-order.d.ts +4 -0
  33. package/dist/billing-order/interfaces/i-billing-order.js +2 -0
  34. package/dist/billing-order/interfaces/index.d.ts +1 -0
  35. package/dist/billing-order/interfaces/index.js +2 -0
  36. package/dist/device/entities/device.entity.d.ts +2 -2
  37. package/dist/device/entities/device.entity.js +1 -1
  38. package/dist/device/interfaces/i-device.d.ts +2 -2
  39. package/dist/esm2022/app/entities/app.entity.mjs +3 -3
  40. package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
  41. package/dist/esm2022/billing/entities/billing-payment.entity.mjs +29 -0
  42. package/dist/esm2022/billing/entities/billing-total.entity.mjs +21 -0
  43. package/dist/esm2022/billing/entities/billing.entity.mjs +25 -0
  44. package/dist/esm2022/billing/entities/index.mjs +4 -0
  45. package/dist/esm2022/billing/enums/billing-status.enum.mjs +10 -0
  46. package/dist/esm2022/billing/enums/index.mjs +2 -0
  47. package/dist/esm2022/billing/index.mjs +4 -0
  48. package/dist/esm2022/billing/interfaces/i-billing-payment.mjs +2 -0
  49. package/dist/esm2022/billing/interfaces/i-billing-total.mjs +2 -0
  50. package/dist/esm2022/billing/interfaces/i-billing.mjs +2 -0
  51. package/dist/esm2022/billing/interfaces/index.mjs +2 -0
  52. package/dist/esm2022/billing-order/entities/billing-order.entity.mjs +18 -0
  53. package/dist/esm2022/billing-order/entities/index.mjs +2 -0
  54. package/dist/esm2022/billing-order/index.mjs +3 -0
  55. package/dist/esm2022/billing-order/interfaces/i-billing-order.mjs +2 -0
  56. package/dist/esm2022/billing-order/interfaces/index.mjs +2 -0
  57. package/dist/esm2022/device/entities/device.entity.mjs +3 -3
  58. package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
  59. package/dist/esm2022/general/entities/origin.entity.mjs +3 -3
  60. package/dist/esm2022/general/entities/payment-method-option.entity.mjs +5 -5
  61. package/dist/esm2022/general/enums/boolean-string.enum.mjs +6 -6
  62. package/dist/esm2022/general/enums/index.mjs +12 -11
  63. package/dist/esm2022/general/enums/interval-type.enum.mjs +7 -7
  64. package/dist/esm2022/general/enums/lead-origin.enum.mjs +11 -11
  65. package/dist/esm2022/general/enums/os.enum.mjs +12 -12
  66. package/dist/esm2022/general/enums/payment-channel.enum.mjs +12 -12
  67. package/dist/esm2022/general/enums/payment-mode.enum.mjs +7 -7
  68. package/dist/esm2022/general/enums/payment-status.enum.mjs +14 -13
  69. package/dist/esm2022/general/enums/person-type.enum.mjs +6 -6
  70. package/dist/esm2022/general/enums/platform.enum.mjs +11 -11
  71. package/dist/esm2022/general/enums/providers.enum.mjs +10 -10
  72. package/dist/esm2022/general/enums/pubsub.enum.mjs +6 -0
  73. package/dist/esm2022/general/interfaces/i-origin.mjs +1 -1
  74. package/dist/esm2022/general/interfaces/i-payment-method-option.mjs +1 -1
  75. package/dist/esm2022/index.mjs +3 -1
  76. package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +6 -6
  77. package/dist/esm2022/iugu/interfaces/i-account-info-last-ver-req-data.mjs +1 -1
  78. package/dist/esm2022/lead/entities/lead.entity.mjs +3 -3
  79. package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
  80. package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
  81. package/dist/esm2022/plan/interfaces/i-plan.mjs +1 -1
  82. package/dist/esm2022/purchases/entities/purchase.entity.mjs +3 -3
  83. package/dist/esm2022/purchases/interfaces/i-purchase.mjs +1 -1
  84. package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +3 -3
  85. package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +1 -1
  86. package/dist/fesm2022/cecon-interfaces.mjs +1532 -1426
  87. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  88. package/dist/general/entities/origin.entity.d.ts +2 -2
  89. package/dist/general/entities/origin.entity.js +1 -1
  90. package/dist/general/entities/payment-method-option.entity.d.ts +4 -4
  91. package/dist/general/entities/payment-method-option.entity.js +2 -2
  92. package/dist/general/enums/boolean-string.enum.d.ts +1 -1
  93. package/dist/general/enums/boolean-string.enum.js +6 -6
  94. package/dist/general/enums/index.d.ts +11 -10
  95. package/dist/general/enums/index.js +13 -11
  96. package/dist/general/enums/interval-type.enum.d.ts +1 -1
  97. package/dist/general/enums/interval-type.enum.js +7 -7
  98. package/dist/general/enums/lead-origin.enum.d.ts +1 -1
  99. package/dist/general/enums/lead-origin.enum.js +11 -11
  100. package/dist/general/enums/os.enum.d.ts +1 -1
  101. package/dist/general/enums/os.enum.js +12 -12
  102. package/dist/general/enums/payment-channel.enum.d.ts +1 -1
  103. package/dist/general/enums/payment-channel.enum.js +12 -12
  104. package/dist/general/enums/payment-mode.enum.d.ts +1 -1
  105. package/dist/general/enums/payment-mode.enum.js +7 -7
  106. package/dist/general/enums/payment-status.enum.d.ts +2 -1
  107. package/dist/general/enums/payment-status.enum.js +14 -13
  108. package/dist/general/enums/person-type.enum.d.ts +1 -1
  109. package/dist/general/enums/person-type.enum.js +6 -6
  110. package/dist/general/enums/platform.enum.d.ts +1 -1
  111. package/dist/general/enums/platform.enum.js +11 -11
  112. package/dist/general/enums/providers.enum.d.ts +1 -1
  113. package/dist/general/enums/providers.enum.js +10 -10
  114. package/dist/general/enums/pubsub.enum.d.ts +4 -0
  115. package/dist/general/enums/pubsub.enum.js +8 -0
  116. package/dist/general/interfaces/i-origin.d.ts +2 -2
  117. package/dist/general/interfaces/i-payment-method-option.d.ts +4 -4
  118. package/dist/index.d.ts +2 -0
  119. package/dist/index.js +2 -0
  120. package/dist/iugu/entities/account-last-verification-request-data.entity.d.ts +5 -5
  121. package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
  122. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.d.ts +5 -5
  123. package/dist/lead/entities/lead.entity.d.ts +2 -2
  124. package/dist/lead/entities/lead.entity.js +1 -1
  125. package/dist/lead/interfaces/i-lead.d.ts +6 -6
  126. package/dist/package.json +1 -1
  127. package/dist/plan/entities/plan.entity.d.ts +2 -2
  128. package/dist/plan/entities/plan.entity.js +1 -1
  129. package/dist/plan/interfaces/i-plan.d.ts +2 -2
  130. package/dist/purchases/entities/purchase.entity.d.ts +2 -2
  131. package/dist/purchases/entities/purchase.entity.js +1 -1
  132. package/dist/purchases/interfaces/i-purchase.d.ts +2 -2
  133. package/dist/subscription-base/entities/subscription-base.entity.d.ts +2 -2
  134. package/dist/subscription-base/entities/subscription-base.entity.js +1 -1
  135. package/dist/subscription-base/interfaces/i-subscription-base.d.ts +2 -2
  136. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { CarouselImageEntity, IntervalTypeEnum, RatingEntity } from '../../general';
2
- import { OsEnum } from '../../general/enums/os.enum';
3
- import { PlatfomrEnum } from '../../general/enums/platform.enum';
1
+ import { CarouselImageEntity, EIntervalType, RatingEntity } from '../../general';
2
+ import { EOs } from '../../general/enums/os.enum';
3
+ import { EPlatfomr } from '../../general/enums/platform.enum';
4
4
  import { EAppCategory } from '../enums/app-category.enum';
5
5
  import { EAppType } from '../enums/app-type.enum';
6
6
  import { EAppHeaderType } from '../enums/header-type.enum';
@@ -39,14 +39,14 @@ export declare class AppEntity implements IApp {
39
39
  * @example
40
40
  * Mensal, Semanal, Diário
41
41
  */
42
- intervalType: IntervalTypeEnum;
42
+ intervalType: EIntervalType;
43
43
  mode: EAppMode;
44
44
  name: string;
45
45
  /**
46
46
  * Indica se o app é gratuito ou não
47
47
  */
48
- os: OsEnum[];
49
- platforms: PlatfomrEnum[];
48
+ os: EOs[];
49
+ platforms: EPlatfomr[];
50
50
  price: number;
51
51
  ratings: RatingEntity[];
52
52
  tags: string[];
@@ -42,7 +42,7 @@ var AppEntity = /** @class */ (function () {
42
42
  * @example
43
43
  * Mensal, Semanal, Diário
44
44
  */
45
- this.intervalType = general_1.IntervalTypeEnum.MONTHS;
45
+ this.intervalType = general_1.EIntervalType.MONTHS;
46
46
  this.mode = mode_enum_1.EAppMode.NONE;
47
47
  this.name = '';
48
48
  /**
@@ -1,6 +1,6 @@
1
- import { ICarouselImage, IRating, IntervalTypeEnum } from '../../general';
2
- import { OsEnum } from '../../general/enums/os.enum';
3
- import { PlatfomrEnum } from '../../general/enums/platform.enum';
1
+ import { EIntervalType, ICarouselImage, IRating } from '../../general';
2
+ import { EOs } from '../../general/enums/os.enum';
3
+ import { EPlatfomr } from '../../general/enums/platform.enum';
4
4
  import { EAppMode } from '../enums';
5
5
  import { EAppCategory } from '../enums/app-category.enum';
6
6
  import { EAppType } from '../enums/app-type.enum';
@@ -38,15 +38,15 @@ export interface IApp {
38
38
  * @example
39
39
  * Mensal, Semanal, Diário
40
40
  */
41
- intervalType: IntervalTypeEnum;
41
+ intervalType: EIntervalType;
42
42
  /**
43
43
  * Indica se o app é gratuito ou não
44
44
  */
45
45
  mode: EAppMode;
46
46
  production: boolean;
47
47
  name: string;
48
- os: OsEnum[];
49
- platforms: PlatfomrEnum[];
48
+ os: EOs[];
49
+ platforms: EPlatfomr[];
50
50
  price: number;
51
51
  ratings: IRating[];
52
52
  tags: string[];
@@ -0,0 +1,19 @@
1
+ import { ICompany } from '../../company';
2
+ import { EPaymentStatus, EPaymentType } from '../../general';
3
+ import { IBillingPayment } from '../interfaces';
4
+ export declare class BillingPaymentEntity implements IBillingPayment {
5
+ addition: number;
6
+ cancelled: number;
7
+ company: Partial<ICompany>;
8
+ discount: number;
9
+ id: string;
10
+ paymentReceipt: string;
11
+ paymentType: EPaymentType;
12
+ status: EPaymentStatus;
13
+ subtotal: number;
14
+ tax: number;
15
+ totalAmount: number;
16
+ transactionDate: Date;
17
+ transactionId: string;
18
+ constructor(data?: Partial<BillingPaymentEntity>);
19
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BillingPaymentEntity = void 0;
4
+ var general_1 = require("../../general");
5
+ var BillingPaymentEntity = /** @class */ (function () {
6
+ // #endregion Properties (13)
7
+ // #region Constructors (1)
8
+ function BillingPaymentEntity(data) {
9
+ // #region Properties (13)
10
+ this.addition = 0;
11
+ this.cancelled = 0;
12
+ this.company = {};
13
+ this.discount = 0;
14
+ this.id = '';
15
+ this.paymentReceipt = '';
16
+ this.paymentType = general_1.EPaymentType.NONE;
17
+ this.status = general_1.EPaymentStatus.PENDING;
18
+ this.subtotal = 0;
19
+ this.tax = 0;
20
+ this.totalAmount = 0;
21
+ this.transactionDate = new Date();
22
+ this.transactionId = '';
23
+ if (data) {
24
+ for (var key in data) {
25
+ if (data.hasOwnProperty(key) && key in this) {
26
+ this[key] = data[key];
27
+ }
28
+ }
29
+ }
30
+ }
31
+ return BillingPaymentEntity;
32
+ }());
33
+ exports.BillingPaymentEntity = BillingPaymentEntity;
@@ -0,0 +1,10 @@
1
+ import { IBillingTotal } from '../interfaces';
2
+ export declare class BillingTotalEntity implements IBillingTotal {
3
+ addition: number;
4
+ cancelled: number;
5
+ discount: number;
6
+ subtotal: number;
7
+ tax: number;
8
+ totalAmount: number;
9
+ constructor(data?: Partial<BillingTotalEntity>);
10
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BillingTotalEntity = void 0;
4
+ var BillingTotalEntity = /** @class */ (function () {
5
+ // #endregion Properties (6)
6
+ // #region Constructors (1)
7
+ function BillingTotalEntity(data) {
8
+ // #region Properties (6)
9
+ this.addition = 0;
10
+ this.cancelled = 0;
11
+ this.discount = 0;
12
+ this.subtotal = 0;
13
+ this.tax = 0;
14
+ this.totalAmount = 0;
15
+ if (data) {
16
+ for (var key in data) {
17
+ if (data.hasOwnProperty(key) && key in this) {
18
+ this[key] = data[key];
19
+ }
20
+ }
21
+ }
22
+ }
23
+ return BillingTotalEntity;
24
+ }());
25
+ exports.BillingTotalEntity = BillingTotalEntity;
@@ -0,0 +1,14 @@
1
+ import { IBillingOrder } from '../../billing-order';
2
+ import { EBillingStatus } from '../enums';
3
+ import { IBilling, IBillingPayment, IBillingTotal } from '../interfaces';
4
+ export declare class BillingEntity implements IBilling {
5
+ createdAt: Date;
6
+ dueDateAt: Date;
7
+ id: string;
8
+ orders: IBillingOrder[];
9
+ payments: IBillingPayment[];
10
+ status: EBillingStatus;
11
+ total: IBillingTotal;
12
+ updatedAt: Date;
13
+ constructor(data?: Partial<BillingEntity>);
14
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BillingEntity = void 0;
4
+ var enums_1 = require("../enums");
5
+ var billing_total_entity_1 = require("./billing-total.entity");
6
+ var BillingEntity = /** @class */ (function () {
7
+ // #endregion Properties (8)
8
+ // #region Constructors (1)
9
+ function BillingEntity(data) {
10
+ // #region Properties (8)
11
+ this.createdAt = new Date();
12
+ this.dueDateAt = new Date();
13
+ this.id = '';
14
+ this.orders = [];
15
+ this.payments = [];
16
+ this.status = enums_1.EBillingStatus.PENDING;
17
+ this.total = new billing_total_entity_1.BillingTotalEntity();
18
+ this.updatedAt = new Date();
19
+ if (data) {
20
+ for (var key in data) {
21
+ if (data.hasOwnProperty(key) && key in this) {
22
+ this[key] = data[key];
23
+ }
24
+ }
25
+ }
26
+ }
27
+ return BillingEntity;
28
+ }());
29
+ exports.BillingEntity = BillingEntity;
@@ -0,0 +1,3 @@
1
+ export { BillingPaymentEntity } from './billing-payment.entity';
2
+ export { BillingTotalEntity } from './billing-total.entity';
3
+ export { BillingEntity } from './billing.entity';
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BillingEntity = exports.BillingTotalEntity = exports.BillingPaymentEntity = void 0;
4
+ var billing_payment_entity_1 = require("./billing-payment.entity");
5
+ Object.defineProperty(exports, "BillingPaymentEntity", { enumerable: true, get: function () { return billing_payment_entity_1.BillingPaymentEntity; } });
6
+ var billing_total_entity_1 = require("./billing-total.entity");
7
+ Object.defineProperty(exports, "BillingTotalEntity", { enumerable: true, get: function () { return billing_total_entity_1.BillingTotalEntity; } });
8
+ var billing_entity_1 = require("./billing.entity");
9
+ Object.defineProperty(exports, "BillingEntity", { enumerable: true, get: function () { return billing_entity_1.BillingEntity; } });
@@ -0,0 +1,6 @@
1
+ export declare enum EBillingStatus {
2
+ PAID = "PAID",
3
+ PENDING = "PENDING",
4
+ PARTIALLY_PAID = "PARTIALLY_PAID",
5
+ CANCELLED = "CANCELLED"
6
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EBillingStatus = void 0;
4
+ var EBillingStatus;
5
+ (function (EBillingStatus) {
6
+ // #region Properties (3)
7
+ EBillingStatus["PAID"] = "PAID";
8
+ EBillingStatus["PENDING"] = "PENDING";
9
+ EBillingStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
10
+ EBillingStatus["CANCELLED"] = "CANCELLED";
11
+ // #endregion Properties (3)
12
+ })(EBillingStatus || (exports.EBillingStatus = EBillingStatus = {}));
@@ -0,0 +1 @@
1
+ export { EBillingStatus } from './billing-status.enum';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EBillingStatus = void 0;
4
+ var billing_status_enum_1 = require("./billing-status.enum");
5
+ Object.defineProperty(exports, "EBillingStatus", { enumerable: true, get: function () { return billing_status_enum_1.EBillingStatus; } });
@@ -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,17 @@
1
+ import { ICompany } from '../../company';
2
+ import { EPaymentStatus, EPaymentType } from '../../general';
3
+ export interface IBillingPayment {
4
+ addition: number;
5
+ cancelled: number;
6
+ company: Partial<ICompany>;
7
+ discount: number;
8
+ id: string;
9
+ paymentReceipt: string;
10
+ paymentType: EPaymentType;
11
+ status: EPaymentStatus;
12
+ subtotal: number;
13
+ tax: number;
14
+ totalAmount: number;
15
+ transactionDate: Date;
16
+ transactionId: string;
17
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface IBillingTotal {
2
+ addition: number;
3
+ cancelled: number;
4
+ discount: number;
5
+ subtotal: number;
6
+ tax: number;
7
+ totalAmount: number;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import { IBillingOrder } from '../../billing-order';
2
+ import { EBillingStatus } from '../enums/billing-status.enum';
3
+ import { IBillingPayment } from './i-billing-payment';
4
+ import { IBillingTotal } from './i-billing-total';
5
+ export interface IBilling {
6
+ createdAt: Date;
7
+ dueDateAt: Date;
8
+ id: string;
9
+ orders: IBillingOrder[];
10
+ payments: IBillingPayment[];
11
+ status: EBillingStatus;
12
+ total: IBillingTotal;
13
+ updatedAt: Date;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export { IBilling } from './i-billing';
2
+ export { IBillingPayment } from './i-billing-payment';
3
+ export { IBillingTotal } from './i-billing-total';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { OrderEntity } from '../../order';
2
+ import { IBillingOrder } from '../interfaces/i-billing-order';
3
+ export declare class BillingOrderEntity extends OrderEntity implements IBillingOrder {
4
+ billingPaymentId: string;
5
+ constructor(data?: Partial<BillingOrderEntity>);
6
+ }
@@ -0,0 +1,39 @@
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.BillingOrderEntity = void 0;
19
+ var order_1 = require("../../order");
20
+ var BillingOrderEntity = /** @class */ (function (_super) {
21
+ __extends(BillingOrderEntity, _super);
22
+ // #endregion Properties (1)
23
+ // #region Constructors (1)
24
+ function BillingOrderEntity(data) {
25
+ var _this = _super.call(this, data) || this;
26
+ // #region Properties (1)
27
+ _this.billingPaymentId = '';
28
+ if (data) {
29
+ for (var key in data) {
30
+ if (data.hasOwnProperty(key) && key in _this) {
31
+ _this[key] = data[key];
32
+ }
33
+ }
34
+ }
35
+ return _this;
36
+ }
37
+ return BillingOrderEntity;
38
+ }(order_1.OrderEntity));
39
+ exports.BillingOrderEntity = BillingOrderEntity;
@@ -0,0 +1 @@
1
+ export { BillingOrderEntity } from './billing-order.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BillingOrderEntity = void 0;
4
+ var billing_order_entity_1 = require("./billing-order.entity");
5
+ Object.defineProperty(exports, "BillingOrderEntity", { enumerable: true, get: function () { return billing_order_entity_1.BillingOrderEntity; } });
@@ -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);
@@ -0,0 +1,4 @@
1
+ import { IOrder } from '../../order';
2
+ export interface IBillingOrder extends IOrder {
3
+ billingPaymentId: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IBillingOrder } from './i-billing-order';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { OsEnum } from '../../general/enums/os.enum';
1
+ import { EOs } from '../../general/enums/os.enum';
2
2
  import { IDevice } from '../interfaces/i-device';
3
3
  export declare class DeviceEntity implements IDevice {
4
4
  active: boolean;
@@ -6,7 +6,7 @@ export declare class DeviceEntity implements IDevice {
6
6
  containerId: string;
7
7
  createdAt: Date;
8
8
  deviceId: string;
9
- os: OsEnum;
9
+ os: EOs;
10
10
  installedApps: any[];
11
11
  osVersion: string;
12
12
  id: string;
@@ -12,7 +12,7 @@ var DeviceEntity = /** @class */ (function () {
12
12
  this.containerId = '';
13
13
  this.createdAt = new Date();
14
14
  this.deviceId = '';
15
- this.os = os_enum_1.OsEnum.UNKNOWN;
15
+ this.os = os_enum_1.EOs.UNKNOWN;
16
16
  this.installedApps = [];
17
17
  this.osVersion = '';
18
18
  this.id = '';
@@ -1,4 +1,4 @@
1
- import { OsEnum } from '../../general/enums/os.enum';
1
+ import { EOs } from '../../general/enums/os.enum';
2
2
  import { IInstallation } from '../../installation';
3
3
  export interface IDevice {
4
4
  active: boolean;
@@ -11,7 +11,7 @@ export interface IDevice {
11
11
  id: string;
12
12
  key: string;
13
13
  lastAccess: Date;
14
- os: OsEnum;
14
+ os: EOs;
15
15
  osVersion: string;
16
16
  name: string;
17
17
  tags: string[];
@@ -1,4 +1,4 @@
1
- import { IntervalTypeEnum } from '../../general';
1
+ import { EIntervalType } from '../../general';
2
2
  import { EAppType } from '../enums/app-type.enum';
3
3
  import { EAppHeaderType } from '../enums/header-type.enum';
4
4
  import { EAppMode } from '../enums/mode.enum';
@@ -36,7 +36,7 @@ export class AppEntity {
36
36
  * @example
37
37
  * Mensal, Semanal, Diário
38
38
  */
39
- intervalType = IntervalTypeEnum.MONTHS;
39
+ intervalType = EIntervalType.MONTHS;
40
40
  mode = EAppMode.NONE;
41
41
  name = '';
42
42
  /**
@@ -64,4 +64,4 @@ export class AppEntity {
64
64
  }
65
65
  }
66
66
  }
67
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvZW50aXRpZXMvYXBwLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXVCLGdCQUFnQixFQUFnQixNQUFNLGVBQWUsQ0FBQztBQUlwRixPQUFPLEVBQUUsUUF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gKiAxID0gMSBtw6pzIChtZW5zYWwpXG4gICAqXG4gICAqL1xuICBpbnRlcnZhbDogbnVtYmVyO1xuICAvKipcbiAgICogVGlwbyBkZSBpbnRlcnZhbG8gcGFyYSBvIHByZcOnb1xuICAgKiBAZXhhbXBsZVxuICAgKiBNZW5zYWwsIFNlbWFuYWwsIERpw6FyaW9cbiAgICovXG4gIGludGVydmFsVHlwZTogRUludGVydmFsVHlwZTtcbiAgLyoqXG4gICAqIEluZGljYSBzZSBvIGFwcCDDqSBncmF0dWl0byBvdSBuw6NvXG4gICAqL1xuICBtb2RlOiBFQXBwTW9kZTtcbiAgcHJvZHVjdGlvbjogYm9vbGVhbjtcbiAgbmFtZTogc3RyaW5nO1xuICBvczogRU9zW107XG4gIHBsYXRmb3JtczogRVBsYXRmb21yW107XG4gIHByaWNlOiBudW1iZXI7XG4gIHJhdGluZ3M6IElSYXRpbmdbXTtcbiAgdGFnczogc3RyaW5nW107XG4gIHRvdGFsSW5zdGFsbHM6IG51bWJlcjtcbiAgdHJpYWxUaW1lOiBudW1iZXI7XG4gIHZlcnNpb25Db2RlOiBudW1iZXI7XG4gIHZlcnNpb25OYW1lOiBzdHJpbmc7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyOSlcbn1cbiJdfQ==
@@ -0,0 +1,29 @@
1
+ import { EPaymentStatus, EPaymentType } from '../../general';
2
+ export class BillingPaymentEntity {
3
+ // #region Properties (13)
4
+ addition = 0;
5
+ cancelled = 0;
6
+ company = {};
7
+ discount = 0;
8
+ id = '';
9
+ paymentReceipt = '';
10
+ paymentType = EPaymentType.NONE;
11
+ status = EPaymentStatus.PENDING;
12
+ subtotal = 0;
13
+ tax = 0;
14
+ totalAmount = 0;
15
+ transactionDate = new Date();
16
+ transactionId = '';
17
+ // #endregion Properties (13)
18
+ // #region Constructors (1)
19
+ constructor(data) {
20
+ if (data) {
21
+ for (let key in data) {
22
+ if (data.hasOwnProperty(key) && key in this) {
23
+ this[key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XG4gIHB1YmxpYyB0cmFuc2FjdGlvbkRhdGU6IERhdGUgPSBuZXcgRGF0ZSgpO1xuICBwdWJsaWMgdHJhbnNhY3Rpb25JZDogc3RyaW5nID0gJyc7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxMylcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxCaWxsaW5nUGF5bWVudEVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
@@ -0,0 +1,21 @@
1
+ export class BillingTotalEntity {
2
+ // #region Properties (6)
3
+ addition = 0;
4
+ cancelled = 0;
5
+ discount = 0;
6
+ subtotal = 0;
7
+ tax = 0;
8
+ totalAmount = 0;
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlsbGluZy10b3RhbC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYmlsbGluZy9lbnRpdGllcy9iaWxsaW5nLXRvdGFsLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFF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NlbmRyZWdpb24gUHJvcGVydGllcyAoNilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxCaWxsaW5nVG90YWxFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
@@ -0,0 +1,25 @@
1
+ import { EBillingStatus } from '../enums';
2
+ import { BillingTotalEntity } from './billing-total.entity';
3
+ export class BillingEntity {
4
+ // #region Properties (8)
5
+ createdAt = new Date();
6
+ dueDateAt = new Date();
7
+ id = '';
8
+ orders = [];
9
+ payments = [];
10
+ status = EBillingStatus.PENDING;
11
+ total = new BillingTotalEntity();
12
+ updatedAt = new Date();
13
+ // #endregion Properties (8)
14
+ // #region Constructors (1)
15
+ constructor(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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlsbGluZy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYmlsbGluZy9lbnRpdGllcy9iaWxsaW5nLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBR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