cecon-interfaces 1.1.68 → 1.1.74

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) 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/customer/entities/customer.entity.d.ts +2 -1
  37. package/dist/customer/entities/customer.entity.js +1 -0
  38. package/dist/customer/enums/index.d.ts +1 -0
  39. package/dist/customer/enums/index.js +3 -1
  40. package/dist/customer/enums/type.enum.d.ts +4 -0
  41. package/dist/customer/enums/type.enum.js +8 -0
  42. package/dist/customer/interfaces/i-customer.d.ts +2 -1
  43. package/dist/customer-member/entities/index.d.ts +1 -0
  44. package/dist/customer-member/entities/index.js +5 -0
  45. package/dist/customer-member/entities/member.entity.d.ts +5 -0
  46. package/dist/customer-member/entities/member.entity.js +38 -0
  47. package/dist/customer-member/index.d.ts +2 -0
  48. package/dist/customer-member/index.js +18 -0
  49. package/dist/customer-member/interfaces/i-member.d.ts +3 -0
  50. package/dist/customer-member/interfaces/i-member.js +2 -0
  51. package/dist/customer-member/interfaces/index.d.ts +1 -0
  52. package/dist/customer-member/interfaces/index.js +2 -0
  53. package/dist/device/entities/device.entity.d.ts +2 -2
  54. package/dist/device/entities/device.entity.js +1 -1
  55. package/dist/device/interfaces/i-device.d.ts +2 -2
  56. package/dist/esm2022/app/entities/app.entity.mjs +3 -3
  57. package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
  58. package/dist/esm2022/billing/entities/billing-payment.entity.mjs +29 -0
  59. package/dist/esm2022/billing/entities/billing-total.entity.mjs +21 -0
  60. package/dist/esm2022/billing/entities/billing.entity.mjs +25 -0
  61. package/dist/esm2022/billing/entities/index.mjs +4 -0
  62. package/dist/esm2022/billing/enums/billing-status.enum.mjs +10 -0
  63. package/dist/esm2022/billing/enums/index.mjs +2 -0
  64. package/dist/esm2022/billing/index.mjs +4 -0
  65. package/dist/esm2022/billing/interfaces/i-billing-payment.mjs +2 -0
  66. package/dist/esm2022/billing/interfaces/i-billing-total.mjs +2 -0
  67. package/dist/esm2022/billing/interfaces/i-billing.mjs +2 -0
  68. package/dist/esm2022/billing/interfaces/index.mjs +2 -0
  69. package/dist/esm2022/billing-order/entities/billing-order.entity.mjs +18 -0
  70. package/dist/esm2022/billing-order/entities/index.mjs +2 -0
  71. package/dist/esm2022/billing-order/index.mjs +3 -0
  72. package/dist/esm2022/billing-order/interfaces/i-billing-order.mjs +2 -0
  73. package/dist/esm2022/billing-order/interfaces/index.mjs +2 -0
  74. package/dist/esm2022/customer/entities/customer.entity.mjs +3 -2
  75. package/dist/esm2022/customer/enums/index.mjs +2 -1
  76. package/dist/esm2022/customer/enums/type.enum.mjs +6 -0
  77. package/dist/esm2022/customer/interfaces/i-customer.mjs +1 -1
  78. package/dist/esm2022/customer-member/entities/index.mjs +2 -0
  79. package/dist/esm2022/customer-member/entities/member.entity.mjs +17 -0
  80. package/dist/esm2022/customer-member/index.mjs +3 -0
  81. package/dist/esm2022/customer-member/interfaces/i-member.mjs +2 -0
  82. package/dist/esm2022/customer-member/interfaces/index.mjs +2 -0
  83. package/dist/esm2022/device/entities/device.entity.mjs +3 -3
  84. package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
  85. package/dist/esm2022/general/entities/origin.entity.mjs +3 -3
  86. package/dist/esm2022/general/entities/payment-method-option.entity.mjs +5 -5
  87. package/dist/esm2022/general/enums/boolean-string.enum.mjs +6 -6
  88. package/dist/esm2022/general/enums/index.mjs +12 -11
  89. package/dist/esm2022/general/enums/interval-type.enum.mjs +7 -7
  90. package/dist/esm2022/general/enums/lead-origin.enum.mjs +11 -11
  91. package/dist/esm2022/general/enums/os.enum.mjs +12 -12
  92. package/dist/esm2022/general/enums/payment-channel.enum.mjs +12 -12
  93. package/dist/esm2022/general/enums/payment-mode.enum.mjs +7 -7
  94. package/dist/esm2022/general/enums/payment-status.enum.mjs +14 -13
  95. package/dist/esm2022/general/enums/person-type.enum.mjs +6 -6
  96. package/dist/esm2022/general/enums/platform.enum.mjs +11 -11
  97. package/dist/esm2022/general/enums/providers.enum.mjs +10 -10
  98. package/dist/esm2022/general/enums/pubsub.enum.mjs +6 -0
  99. package/dist/esm2022/general/interfaces/i-origin.mjs +1 -1
  100. package/dist/esm2022/general/interfaces/i-payment-method-option.mjs +1 -1
  101. package/dist/esm2022/index.mjs +4 -1
  102. package/dist/esm2022/invite/entities/invite.entity.mjs +4 -3
  103. package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
  104. package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +6 -6
  105. package/dist/esm2022/iugu/interfaces/i-account-info-last-ver-req-data.mjs +1 -1
  106. package/dist/esm2022/lead/entities/lead.entity.mjs +3 -3
  107. package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
  108. package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
  109. package/dist/esm2022/plan/interfaces/i-plan.mjs +1 -1
  110. package/dist/esm2022/purchases/entities/purchase.entity.mjs +3 -3
  111. package/dist/esm2022/purchases/interfaces/i-purchase.mjs +1 -1
  112. package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +3 -3
  113. package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +1 -1
  114. package/dist/fesm2022/cecon-interfaces.mjs +1517 -1387
  115. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  116. package/dist/general/entities/origin.entity.d.ts +2 -2
  117. package/dist/general/entities/origin.entity.js +1 -1
  118. package/dist/general/entities/payment-method-option.entity.d.ts +4 -4
  119. package/dist/general/entities/payment-method-option.entity.js +2 -2
  120. package/dist/general/enums/boolean-string.enum.d.ts +1 -1
  121. package/dist/general/enums/boolean-string.enum.js +6 -6
  122. package/dist/general/enums/index.d.ts +11 -10
  123. package/dist/general/enums/index.js +13 -11
  124. package/dist/general/enums/interval-type.enum.d.ts +1 -1
  125. package/dist/general/enums/interval-type.enum.js +7 -7
  126. package/dist/general/enums/lead-origin.enum.d.ts +1 -1
  127. package/dist/general/enums/lead-origin.enum.js +11 -11
  128. package/dist/general/enums/os.enum.d.ts +1 -1
  129. package/dist/general/enums/os.enum.js +12 -12
  130. package/dist/general/enums/payment-channel.enum.d.ts +1 -1
  131. package/dist/general/enums/payment-channel.enum.js +12 -12
  132. package/dist/general/enums/payment-mode.enum.d.ts +1 -1
  133. package/dist/general/enums/payment-mode.enum.js +7 -7
  134. package/dist/general/enums/payment-status.enum.d.ts +2 -1
  135. package/dist/general/enums/payment-status.enum.js +14 -13
  136. package/dist/general/enums/person-type.enum.d.ts +1 -1
  137. package/dist/general/enums/person-type.enum.js +6 -6
  138. package/dist/general/enums/platform.enum.d.ts +1 -1
  139. package/dist/general/enums/platform.enum.js +11 -11
  140. package/dist/general/enums/providers.enum.d.ts +1 -1
  141. package/dist/general/enums/providers.enum.js +10 -10
  142. package/dist/general/enums/pubsub.enum.d.ts +4 -0
  143. package/dist/general/enums/pubsub.enum.js +8 -0
  144. package/dist/general/interfaces/i-origin.d.ts +2 -2
  145. package/dist/general/interfaces/i-payment-method-option.d.ts +4 -4
  146. package/dist/index.d.ts +3 -0
  147. package/dist/index.js +3 -0
  148. package/dist/invite/entities/invite.entity.d.ts +1 -0
  149. package/dist/invite/entities/invite.entity.js +3 -2
  150. package/dist/invite/interfaces/i-invite.d.ts +4 -3
  151. package/dist/iugu/entities/account-last-verification-request-data.entity.d.ts +5 -5
  152. package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
  153. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.d.ts +5 -5
  154. package/dist/lead/entities/lead.entity.d.ts +2 -2
  155. package/dist/lead/entities/lead.entity.js +1 -1
  156. package/dist/lead/interfaces/i-lead.d.ts +6 -6
  157. package/dist/package.json +1 -1
  158. package/dist/plan/entities/plan.entity.d.ts +2 -2
  159. package/dist/plan/entities/plan.entity.js +1 -1
  160. package/dist/plan/interfaces/i-plan.d.ts +2 -2
  161. package/dist/purchases/entities/purchase.entity.d.ts +2 -2
  162. package/dist/purchases/entities/purchase.entity.js +1 -1
  163. package/dist/purchases/interfaces/i-purchase.d.ts +2 -2
  164. package/dist/subscription-base/entities/subscription-base.entity.d.ts +2 -2
  165. package/dist/subscription-base/entities/subscription-base.entity.js +1 -1
  166. package/dist/subscription-base/interfaces/i-subscription-base.d.ts +2 -2
  167. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { LeadOriginEnum } from '../enums/lead-origin.enum';
1
+ import { ELeadOrigin } from '../enums/lead-origin.enum';
2
2
  export declare class OriginEntity {
3
3
  campaign?: string;
4
4
  contactPoint?: string;
5
5
  date: Number;
6
6
  details?: string;
7
7
  referrer?: string;
8
- type: LeadOriginEnum;
8
+ type: ELeadOrigin;
9
9
  constructor(data?: Partial<OriginEntity>);
10
10
  }
@@ -12,7 +12,7 @@ var OriginEntity = /** @class */ (function () {
12
12
  this.date = 0;
13
13
  this.details = '';
14
14
  this.referrer = '';
15
- this.type = lead_origin_enum_1.LeadOriginEnum.OTHERS;
15
+ this.type = lead_origin_enum_1.ELeadOrigin.OTHERS;
16
16
  if (data) {
17
17
  for (var key in data) {
18
18
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,17 +1,17 @@
1
- import { PaymentChannelEnum } from '../enums/payment-channel.enum';
2
- import { PaymentModeEnum } from '../enums/payment-mode.enum';
1
+ import { EPaymentChannel } from '../enums/payment-channel.enum';
2
+ import { EPaymentMode } from '../enums/payment-mode.enum';
3
3
  import { EPaymentType } from '../enums/payment-type.enum';
4
4
  import { IPaymentMethodOption } from '../interfaces';
5
5
  export declare class PaymentMethodOptionEntity implements IPaymentMethodOption {
6
6
  active: boolean;
7
- channel: PaymentChannelEnum;
7
+ channel: EPaymentChannel;
8
8
  createdAt: Date;
9
9
  fee: number;
10
10
  id: string;
11
11
  index: number;
12
12
  maxAmount: number;
13
13
  minAmount: number;
14
- mode: PaymentModeEnum;
14
+ mode: EPaymentMode;
15
15
  name: string;
16
16
  token: string;
17
17
  type: EPaymentType;
@@ -10,14 +10,14 @@ var PaymentMethodOptionEntity = /** @class */ (function () {
10
10
  function PaymentMethodOptionEntity(data) {
11
11
  // #region Properties (13)
12
12
  this.active = false;
13
- this.channel = payment_channel_enum_1.PaymentChannelEnum.AUTOMATION;
13
+ this.channel = payment_channel_enum_1.EPaymentChannel.AUTOMATION;
14
14
  this.createdAt = new Date();
15
15
  this.fee = 0;
16
16
  this.id = '';
17
17
  this.index = 0;
18
18
  this.maxAmount = 0;
19
19
  this.minAmount = 0;
20
- this.mode = payment_mode_enum_1.PaymentModeEnum.MANUAL;
20
+ this.mode = payment_mode_enum_1.EPaymentMode.MANUAL;
21
21
  this.name = '';
22
22
  this.token = '';
23
23
  this.type = payment_type_enum_1.EPaymentType.CREDIT_CARD;
@@ -1,4 +1,4 @@
1
- export declare enum BooleanStringEnum {
1
+ export declare enum EBooleanString {
2
2
  FALSE = "false",
3
3
  TRUE = "true"
4
4
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BooleanStringEnum = void 0;
4
- var BooleanStringEnum;
5
- (function (BooleanStringEnum) {
6
- BooleanStringEnum["FALSE"] = "false";
7
- BooleanStringEnum["TRUE"] = "true";
8
- })(BooleanStringEnum || (exports.BooleanStringEnum = BooleanStringEnum = {}));
3
+ exports.EBooleanString = void 0;
4
+ var EBooleanString;
5
+ (function (EBooleanString) {
6
+ EBooleanString["FALSE"] = "false";
7
+ EBooleanString["TRUE"] = "true";
8
+ })(EBooleanString || (exports.EBooleanString = EBooleanString = {}));
@@ -1,16 +1,17 @@
1
1
  export { EBankSlipStatus } from './bank-slip-status.enum';
2
- export { BooleanStringEnum } from './boolean-string.enum';
2
+ export { EBooleanString } from './boolean-string.enum';
3
3
  export { EDocType } from './doc-type.enum';
4
4
  export { EDiscountType } from './e-discount-type.enum';
5
5
  export { EFiscalDocModelCode } from './fiscal-doc-model-code.enum';
6
- export { IntervalTypeEnum } from './interval-type.enum';
7
- export { LeadOriginEnum } from './lead-origin.enum';
8
- export { OsEnum } from './os.enum';
9
- export { PaymentChannelEnum } from './payment-channel.enum';
10
- export { PaymentModeEnum } from './payment-mode.enum';
11
- export { PaymentStatusEnum } from './payment-status.enum';
6
+ export { EIntervalType } from './interval-type.enum';
7
+ export { ELeadOrigin } from './lead-origin.enum';
8
+ export { EOs } from './os.enum';
9
+ export { EPaymentChannel } from './payment-channel.enum';
10
+ export { EPaymentMode } from './payment-mode.enum';
11
+ export { EPaymentStatus } from './payment-status.enum';
12
12
  export { EPaymentType } from './payment-type.enum';
13
- export { LegalEntiyEnum } from './person-type.enum';
14
- export { PlatfomrEnum } from './platform.enum';
15
- export { PaymentProviderEnum } from './providers.enum';
13
+ export { ELegalEntiy } from './person-type.enum';
14
+ export { EPlatform } from './platform.enum';
15
+ export { EPaymentProvider } from './providers.enum';
16
+ export { EPubSub } from './pubsub.enum';
16
17
  export { ESponsorshipValues } from './sponsorship-values.enum';
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ESponsorshipValues = exports.PaymentProviderEnum = exports.PlatfomrEnum = exports.LegalEntiyEnum = exports.EPaymentType = exports.PaymentStatusEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.OsEnum = exports.LeadOriginEnum = exports.IntervalTypeEnum = exports.EFiscalDocModelCode = exports.EDiscountType = exports.EDocType = exports.BooleanStringEnum = exports.EBankSlipStatus = void 0;
3
+ exports.ESponsorshipValues = exports.EPubSub = exports.EPaymentProvider = exports.EPlatform = exports.ELegalEntiy = exports.EPaymentType = exports.EPaymentStatus = exports.EPaymentMode = exports.EPaymentChannel = exports.EOs = exports.ELeadOrigin = exports.EIntervalType = exports.EFiscalDocModelCode = exports.EDiscountType = exports.EDocType = exports.EBooleanString = exports.EBankSlipStatus = void 0;
4
4
  var bank_slip_status_enum_1 = require("./bank-slip-status.enum");
5
5
  Object.defineProperty(exports, "EBankSlipStatus", { enumerable: true, get: function () { return bank_slip_status_enum_1.EBankSlipStatus; } });
6
6
  var boolean_string_enum_1 = require("./boolean-string.enum");
7
- Object.defineProperty(exports, "BooleanStringEnum", { enumerable: true, get: function () { return boolean_string_enum_1.BooleanStringEnum; } });
7
+ Object.defineProperty(exports, "EBooleanString", { enumerable: true, get: function () { return boolean_string_enum_1.EBooleanString; } });
8
8
  var doc_type_enum_1 = require("./doc-type.enum");
9
9
  Object.defineProperty(exports, "EDocType", { enumerable: true, get: function () { return doc_type_enum_1.EDocType; } });
10
10
  var e_discount_type_enum_1 = require("./e-discount-type.enum");
@@ -12,24 +12,26 @@ Object.defineProperty(exports, "EDiscountType", { enumerable: true, get: functio
12
12
  var fiscal_doc_model_code_enum_1 = require("./fiscal-doc-model-code.enum");
13
13
  Object.defineProperty(exports, "EFiscalDocModelCode", { enumerable: true, get: function () { return fiscal_doc_model_code_enum_1.EFiscalDocModelCode; } });
14
14
  var interval_type_enum_1 = require("./interval-type.enum");
15
- Object.defineProperty(exports, "IntervalTypeEnum", { enumerable: true, get: function () { return interval_type_enum_1.IntervalTypeEnum; } });
15
+ Object.defineProperty(exports, "EIntervalType", { enumerable: true, get: function () { return interval_type_enum_1.EIntervalType; } });
16
16
  var lead_origin_enum_1 = require("./lead-origin.enum");
17
- Object.defineProperty(exports, "LeadOriginEnum", { enumerable: true, get: function () { return lead_origin_enum_1.LeadOriginEnum; } });
17
+ Object.defineProperty(exports, "ELeadOrigin", { enumerable: true, get: function () { return lead_origin_enum_1.ELeadOrigin; } });
18
18
  var os_enum_1 = require("./os.enum");
19
- Object.defineProperty(exports, "OsEnum", { enumerable: true, get: function () { return os_enum_1.OsEnum; } });
19
+ Object.defineProperty(exports, "EOs", { enumerable: true, get: function () { return os_enum_1.EOs; } });
20
20
  var payment_channel_enum_1 = require("./payment-channel.enum");
21
- Object.defineProperty(exports, "PaymentChannelEnum", { enumerable: true, get: function () { return payment_channel_enum_1.PaymentChannelEnum; } });
21
+ Object.defineProperty(exports, "EPaymentChannel", { enumerable: true, get: function () { return payment_channel_enum_1.EPaymentChannel; } });
22
22
  var payment_mode_enum_1 = require("./payment-mode.enum");
23
- Object.defineProperty(exports, "PaymentModeEnum", { enumerable: true, get: function () { return payment_mode_enum_1.PaymentModeEnum; } });
23
+ Object.defineProperty(exports, "EPaymentMode", { enumerable: true, get: function () { return payment_mode_enum_1.EPaymentMode; } });
24
24
  var payment_status_enum_1 = require("./payment-status.enum");
25
- Object.defineProperty(exports, "PaymentStatusEnum", { enumerable: true, get: function () { return payment_status_enum_1.PaymentStatusEnum; } });
25
+ Object.defineProperty(exports, "EPaymentStatus", { enumerable: true, get: function () { return payment_status_enum_1.EPaymentStatus; } });
26
26
  var payment_type_enum_1 = require("./payment-type.enum");
27
27
  Object.defineProperty(exports, "EPaymentType", { enumerable: true, get: function () { return payment_type_enum_1.EPaymentType; } });
28
28
  var person_type_enum_1 = require("./person-type.enum");
29
- Object.defineProperty(exports, "LegalEntiyEnum", { enumerable: true, get: function () { return person_type_enum_1.LegalEntiyEnum; } });
29
+ Object.defineProperty(exports, "ELegalEntiy", { enumerable: true, get: function () { return person_type_enum_1.ELegalEntiy; } });
30
30
  var platform_enum_1 = require("./platform.enum");
31
- Object.defineProperty(exports, "PlatfomrEnum", { enumerable: true, get: function () { return platform_enum_1.PlatfomrEnum; } });
31
+ Object.defineProperty(exports, "EPlatform", { enumerable: true, get: function () { return platform_enum_1.EPlatform; } });
32
32
  var providers_enum_1 = require("./providers.enum");
33
- Object.defineProperty(exports, "PaymentProviderEnum", { enumerable: true, get: function () { return providers_enum_1.PaymentProviderEnum; } });
33
+ Object.defineProperty(exports, "EPaymentProvider", { enumerable: true, get: function () { return providers_enum_1.EPaymentProvider; } });
34
+ var pubsub_enum_1 = require("./pubsub.enum");
35
+ Object.defineProperty(exports, "EPubSub", { enumerable: true, get: function () { return pubsub_enum_1.EPubSub; } });
34
36
  var sponsorship_values_enum_1 = require("./sponsorship-values.enum");
35
37
  Object.defineProperty(exports, "ESponsorshipValues", { enumerable: true, get: function () { return sponsorship_values_enum_1.ESponsorshipValues; } });
@@ -1,4 +1,4 @@
1
- export declare enum IntervalTypeEnum {
1
+ export declare enum EIntervalType {
2
2
  DAYS = "DAYS",
3
3
  WEEKS = "WEEKS",
4
4
  MONTHS = "MONTHS"
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IntervalTypeEnum = void 0;
4
- var IntervalTypeEnum;
5
- (function (IntervalTypeEnum) {
6
- IntervalTypeEnum["DAYS"] = "DAYS";
7
- IntervalTypeEnum["WEEKS"] = "WEEKS";
8
- IntervalTypeEnum["MONTHS"] = "MONTHS";
9
- })(IntervalTypeEnum || (exports.IntervalTypeEnum = IntervalTypeEnum = {}));
3
+ exports.EIntervalType = void 0;
4
+ var EIntervalType;
5
+ (function (EIntervalType) {
6
+ EIntervalType["DAYS"] = "DAYS";
7
+ EIntervalType["WEEKS"] = "WEEKS";
8
+ EIntervalType["MONTHS"] = "MONTHS";
9
+ })(EIntervalType || (exports.EIntervalType = EIntervalType = {}));
@@ -1,4 +1,4 @@
1
- export declare enum LeadOriginEnum {
1
+ export declare enum ELeadOrigin {
2
2
  FACEBOOK_ADS = "Facebook Ads",
3
3
  GOOGLE_ADS = "Google Ads",
4
4
  EMAIL_MARKETING = "Email Marketing",
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LeadOriginEnum = void 0;
4
- var LeadOriginEnum;
5
- (function (LeadOriginEnum) {
6
- LeadOriginEnum["FACEBOOK_ADS"] = "Facebook Ads";
7
- LeadOriginEnum["GOOGLE_ADS"] = "Google Ads";
8
- LeadOriginEnum["EMAIL_MARKETING"] = "Email Marketing";
9
- LeadOriginEnum["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
10
- LeadOriginEnum["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
11
- LeadOriginEnum["DIRECT_VISIT"] = "Visita Direta";
12
- LeadOriginEnum["OTHERS"] = "Outros";
13
- })(LeadOriginEnum || (exports.LeadOriginEnum = LeadOriginEnum = {}));
3
+ exports.ELeadOrigin = void 0;
4
+ var ELeadOrigin;
5
+ (function (ELeadOrigin) {
6
+ ELeadOrigin["FACEBOOK_ADS"] = "Facebook Ads";
7
+ ELeadOrigin["GOOGLE_ADS"] = "Google Ads";
8
+ ELeadOrigin["EMAIL_MARKETING"] = "Email Marketing";
9
+ ELeadOrigin["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
10
+ ELeadOrigin["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
11
+ ELeadOrigin["DIRECT_VISIT"] = "Visita Direta";
12
+ ELeadOrigin["OTHERS"] = "Outros";
13
+ })(ELeadOrigin || (exports.ELeadOrigin = ELeadOrigin = {}));
@@ -1,4 +1,4 @@
1
- export declare enum OsEnum {
1
+ export declare enum EOs {
2
2
  ANDROID = "ANDROID",
3
3
  IOS = "IOS",
4
4
  WINDOWS_PHONE = "WINDOWS_PHONE",
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OsEnum = void 0;
4
- var OsEnum;
5
- (function (OsEnum) {
6
- OsEnum["ANDROID"] = "ANDROID";
7
- OsEnum["IOS"] = "IOS";
8
- OsEnum["WINDOWS_PHONE"] = "WINDOWS_PHONE";
9
- OsEnum["WINDOWS"] = "WINDOWS";
10
- OsEnum["LINUX"] = "LINUX";
11
- OsEnum["ELECTRON"] = "ELECTRON";
12
- OsEnum["OTHER"] = "OTHER";
13
- OsEnum["UNKNOWN"] = "UNKNOWN";
14
- })(OsEnum || (exports.OsEnum = OsEnum = {}));
3
+ exports.EOs = void 0;
4
+ var EOs;
5
+ (function (EOs) {
6
+ EOs["ANDROID"] = "ANDROID";
7
+ EOs["IOS"] = "IOS";
8
+ EOs["WINDOWS_PHONE"] = "WINDOWS_PHONE";
9
+ EOs["WINDOWS"] = "WINDOWS";
10
+ EOs["LINUX"] = "LINUX";
11
+ EOs["ELECTRON"] = "ELECTRON";
12
+ EOs["OTHER"] = "OTHER";
13
+ EOs["UNKNOWN"] = "UNKNOWN";
14
+ })(EOs || (exports.EOs = EOs = {}));
@@ -1,4 +1,4 @@
1
- export declare enum PaymentChannelEnum {
1
+ export declare enum EPaymentChannel {
2
2
  APP = "APP",
3
3
  DELIVERY = "DELIVERY",
4
4
  AUTOMATION = "AUTOMATION",
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentChannelEnum = void 0;
4
- var PaymentChannelEnum;
5
- (function (PaymentChannelEnum) {
6
- PaymentChannelEnum["APP"] = "APP";
7
- PaymentChannelEnum["DELIVERY"] = "DELIVERY";
8
- PaymentChannelEnum["AUTOMATION"] = "AUTOMATION";
9
- PaymentChannelEnum["PHONE"] = "PHONE";
10
- PaymentChannelEnum["MAIL"] = "MAIL";
11
- PaymentChannelEnum["KIOSK"] = "KIOSK";
12
- PaymentChannelEnum["QR_CODE"] = "QR_CODE";
13
- PaymentChannelEnum["WEBSITE"] = "WEBSITE";
14
- })(PaymentChannelEnum || (exports.PaymentChannelEnum = PaymentChannelEnum = {}));
3
+ exports.EPaymentChannel = void 0;
4
+ var EPaymentChannel;
5
+ (function (EPaymentChannel) {
6
+ EPaymentChannel["APP"] = "APP";
7
+ EPaymentChannel["DELIVERY"] = "DELIVERY";
8
+ EPaymentChannel["AUTOMATION"] = "AUTOMATION";
9
+ EPaymentChannel["PHONE"] = "PHONE";
10
+ EPaymentChannel["MAIL"] = "MAIL";
11
+ EPaymentChannel["KIOSK"] = "KIOSK";
12
+ EPaymentChannel["QR_CODE"] = "QR_CODE";
13
+ EPaymentChannel["WEBSITE"] = "WEBSITE";
14
+ })(EPaymentChannel || (exports.EPaymentChannel = EPaymentChannel = {}));
@@ -1,4 +1,4 @@
1
- export declare enum PaymentModeEnum {
1
+ export declare enum EPaymentMode {
2
2
  ELECTRONIC = "ELECTRONIC",
3
3
  MANUAL = "MANUAL",
4
4
  DIGITAL = "DIGITAL"
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentModeEnum = void 0;
4
- var PaymentModeEnum;
5
- (function (PaymentModeEnum) {
6
- PaymentModeEnum["ELECTRONIC"] = "ELECTRONIC";
7
- PaymentModeEnum["MANUAL"] = "MANUAL";
8
- PaymentModeEnum["DIGITAL"] = "DIGITAL";
9
- })(PaymentModeEnum || (exports.PaymentModeEnum = PaymentModeEnum = {}));
3
+ exports.EPaymentMode = void 0;
4
+ var EPaymentMode;
5
+ (function (EPaymentMode) {
6
+ EPaymentMode["ELECTRONIC"] = "ELECTRONIC";
7
+ EPaymentMode["MANUAL"] = "MANUAL";
8
+ EPaymentMode["DIGITAL"] = "DIGITAL";
9
+ })(EPaymentMode || (exports.EPaymentMode = EPaymentMode = {}));
@@ -1,8 +1,9 @@
1
- export declare enum PaymentStatusEnum {
1
+ export declare enum EPaymentStatus {
2
2
  PENDING = "PENDING",
3
3
  COMPLETED = "COMPLETED",
4
4
  FAILED = "FAILED",
5
5
  CANCELED = "CANCELED",
6
+ PAID = "PAID",
6
7
  REFUNDED = "REFUNDED",
7
8
  AUTHORIZED = "AUTHORIZED",
8
9
  DECLINED = "DECLINED",
@@ -1,15 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentStatusEnum = void 0;
4
- var PaymentStatusEnum;
5
- (function (PaymentStatusEnum) {
6
- PaymentStatusEnum["PENDING"] = "PENDING";
7
- PaymentStatusEnum["COMPLETED"] = "COMPLETED";
8
- PaymentStatusEnum["FAILED"] = "FAILED";
9
- PaymentStatusEnum["CANCELED"] = "CANCELED";
10
- PaymentStatusEnum["REFUNDED"] = "REFUNDED";
11
- PaymentStatusEnum["AUTHORIZED"] = "AUTHORIZED";
12
- PaymentStatusEnum["DECLINED"] = "DECLINED";
13
- PaymentStatusEnum["EXPIRED"] = "EXPIRED";
14
- PaymentStatusEnum["DISPUTED"] = "DISPUTED";
15
- })(PaymentStatusEnum || (exports.PaymentStatusEnum = PaymentStatusEnum = {}));
3
+ exports.EPaymentStatus = void 0;
4
+ var EPaymentStatus;
5
+ (function (EPaymentStatus) {
6
+ EPaymentStatus["PENDING"] = "PENDING";
7
+ EPaymentStatus["COMPLETED"] = "COMPLETED";
8
+ EPaymentStatus["FAILED"] = "FAILED";
9
+ EPaymentStatus["CANCELED"] = "CANCELED";
10
+ EPaymentStatus["PAID"] = "PAID";
11
+ EPaymentStatus["REFUNDED"] = "REFUNDED";
12
+ EPaymentStatus["AUTHORIZED"] = "AUTHORIZED";
13
+ EPaymentStatus["DECLINED"] = "DECLINED";
14
+ EPaymentStatus["EXPIRED"] = "EXPIRED";
15
+ EPaymentStatus["DISPUTED"] = "DISPUTED";
16
+ })(EPaymentStatus || (exports.EPaymentStatus = EPaymentStatus = {}));
@@ -1,4 +1,4 @@
1
- export declare enum LegalEntiyEnum {
1
+ export declare enum ELegalEntiy {
2
2
  LEGAL = "Pessoa Jur\u00EDdica",
3
3
  INDIVIDUAL = "Pessoa F\u00EDsica"
4
4
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LegalEntiyEnum = void 0;
4
- var LegalEntiyEnum;
5
- (function (LegalEntiyEnum) {
6
- LegalEntiyEnum["LEGAL"] = "Pessoa Jur\u00EDdica";
7
- LegalEntiyEnum["INDIVIDUAL"] = "Pessoa F\u00EDsica";
8
- })(LegalEntiyEnum || (exports.LegalEntiyEnum = LegalEntiyEnum = {}));
3
+ exports.ELegalEntiy = void 0;
4
+ var ELegalEntiy;
5
+ (function (ELegalEntiy) {
6
+ ELegalEntiy["LEGAL"] = "Pessoa Jur\u00EDdica";
7
+ ELegalEntiy["INDIVIDUAL"] = "Pessoa F\u00EDsica";
8
+ })(ELegalEntiy || (exports.ELegalEntiy = ELegalEntiy = {}));
@@ -1,4 +1,4 @@
1
- export declare enum PlatfomrEnum {
1
+ export declare enum EPlatform {
2
2
  MOBILE = "Mobile",
3
3
  WEB = "Web",
4
4
  DESKTOP = "Desktop",
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlatfomrEnum = void 0;
4
- var PlatfomrEnum;
5
- (function (PlatfomrEnum) {
6
- PlatfomrEnum["MOBILE"] = "Mobile";
7
- PlatfomrEnum["WEB"] = "Web";
8
- PlatfomrEnum["DESKTOP"] = "Desktop";
9
- PlatfomrEnum["TABLET"] = "Tablet";
10
- PlatfomrEnum["TV"] = "Tv";
11
- PlatfomrEnum["CHROMEBOOK"] = "Chromebook";
12
- PlatfomrEnum["OTHER"] = "Other";
13
- })(PlatfomrEnum || (exports.PlatfomrEnum = PlatfomrEnum = {}));
3
+ exports.EPlatform = void 0;
4
+ var EPlatform;
5
+ (function (EPlatform) {
6
+ EPlatform["MOBILE"] = "Mobile";
7
+ EPlatform["WEB"] = "Web";
8
+ EPlatform["DESKTOP"] = "Desktop";
9
+ EPlatform["TABLET"] = "Tablet";
10
+ EPlatform["TV"] = "Tv";
11
+ EPlatform["CHROMEBOOK"] = "Chromebook";
12
+ EPlatform["OTHER"] = "Other";
13
+ })(EPlatform || (exports.EPlatform = EPlatform = {}));
@@ -1,4 +1,4 @@
1
- export declare enum PaymentProviderEnum {
1
+ export declare enum EPaymentProvider {
2
2
  IUGU = "IUGU",
3
3
  DESENFILA = "DESENFILA",
4
4
  MERCADO_PAGO = "MERCADO PAGO",
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentProviderEnum = void 0;
4
- var PaymentProviderEnum;
5
- (function (PaymentProviderEnum) {
6
- PaymentProviderEnum["IUGU"] = "IUGU";
7
- PaymentProviderEnum["DESENFILA"] = "DESENFILA";
8
- PaymentProviderEnum["MERCADO_PAGO"] = "MERCADO PAGO";
9
- PaymentProviderEnum["STRIPE"] = "STRIPE";
10
- PaymentProviderEnum["PAYPAL"] = "PAYPAL";
11
- PaymentProviderEnum["OTHER"] = "OTHER";
12
- })(PaymentProviderEnum || (exports.PaymentProviderEnum = PaymentProviderEnum = {}));
3
+ exports.EPaymentProvider = void 0;
4
+ var EPaymentProvider;
5
+ (function (EPaymentProvider) {
6
+ EPaymentProvider["IUGU"] = "IUGU";
7
+ EPaymentProvider["DESENFILA"] = "DESENFILA";
8
+ EPaymentProvider["MERCADO_PAGO"] = "MERCADO PAGO";
9
+ EPaymentProvider["STRIPE"] = "STRIPE";
10
+ EPaymentProvider["PAYPAL"] = "PAYPAL";
11
+ EPaymentProvider["OTHER"] = "OTHER";
12
+ })(EPaymentProvider || (exports.EPaymentProvider = EPaymentProvider = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum EPubSub {
2
+ GENERAL = "GENERAL",
3
+ NATIGO = "NATIGO"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPubSub = void 0;
4
+ var EPubSub;
5
+ (function (EPubSub) {
6
+ EPubSub["GENERAL"] = "GENERAL";
7
+ EPubSub["NATIGO"] = "NATIGO";
8
+ })(EPubSub || (exports.EPubSub = EPubSub = {}));
@@ -1,9 +1,9 @@
1
- import { LeadOriginEnum } from '../enums/lead-origin.enum';
1
+ import { ELeadOrigin } from '../enums/lead-origin.enum';
2
2
  export interface IOrigin {
3
3
  campaign?: string;
4
4
  contactPoint?: string;
5
5
  date: Number;
6
6
  details?: string;
7
7
  referrer?: string;
8
- type: LeadOriginEnum;
8
+ type: ELeadOrigin;
9
9
  }
@@ -1,16 +1,16 @@
1
- import { PaymentChannelEnum } from '../enums/payment-channel.enum';
2
- import { PaymentModeEnum } from '../enums/payment-mode.enum';
1
+ import { EPaymentChannel } from '../enums/payment-channel.enum';
2
+ import { EPaymentMode } from '../enums/payment-mode.enum';
3
3
  import { EPaymentType } from '../enums/payment-type.enum';
4
4
  export interface IPaymentMethodOption {
5
5
  active: boolean;
6
- channel: PaymentChannelEnum;
6
+ channel: EPaymentChannel;
7
7
  createdAt: Date;
8
8
  fee: number;
9
9
  id: string;
10
10
  index: number;
11
11
  maxAmount: number;
12
12
  minAmount: number;
13
- mode: PaymentModeEnum;
13
+ mode: EPaymentMode;
14
14
  name: string;
15
15
  token: string;
16
16
  type: EPaymentType;
package/dist/index.d.ts CHANGED
@@ -1,9 +1,12 @@
1
1
  export * from './app';
2
+ export * from './billing';
3
+ export * from './billing-order';
2
4
  export * from './campaign';
3
5
  export * from './clients';
4
6
  export * from './company';
5
7
  export * from './container';
6
8
  export * from './customer';
9
+ export * from './customer-member';
7
10
  export * from './device';
8
11
  export * from './feature';
9
12
  export * from './general';
package/dist/index.js CHANGED
@@ -15,11 +15,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./app"), exports);
18
+ __exportStar(require("./billing"), exports);
19
+ __exportStar(require("./billing-order"), exports);
18
20
  __exportStar(require("./campaign"), exports);
19
21
  __exportStar(require("./clients"), exports);
20
22
  __exportStar(require("./company"), exports);
21
23
  __exportStar(require("./container"), exports);
22
24
  __exportStar(require("./customer"), exports);
25
+ __exportStar(require("./customer-member"), exports);
23
26
  __exportStar(require("./device"), exports);
24
27
  __exportStar(require("./feature"), exports);
25
28
  __exportStar(require("./general"), exports);
@@ -6,6 +6,7 @@ export declare class InviteEntity implements IInvite {
6
6
  companyName: string;
7
7
  containerId: string;
8
8
  createdAt: Date;
9
+ customerId: string;
9
10
  doc: string;
10
11
  docType: EDocType;
11
12
  email: string;
@@ -4,14 +4,15 @@ exports.InviteEntity = void 0;
4
4
  var general_1 = require("../../general");
5
5
  var enums_1 = require("../enums");
6
6
  var InviteEntity = /** @class */ (function () {
7
- // #endregion Properties (17)
7
+ // #endregion Properties (18)
8
8
  // #region Constructors (1)
9
9
  function InviteEntity(data) {
10
- // #region Properties (17)
10
+ // #region Properties (18)
11
11
  this.companyId = '';
12
12
  this.companyName = '';
13
13
  this.containerId = '';
14
14
  this.createdAt = new Date();
15
+ this.customerId = '';
15
16
  this.doc = '';
16
17
  this.docType = general_1.EDocType.CNPJ;
17
18
  this.email = '';
@@ -1,9 +1,10 @@
1
1
  import { EDocType } from '../../general';
2
2
  import { InviteStatusEnum } from '../enums';
3
3
  export interface IInvite {
4
- companyId: string;
5
- companyName: string;
6
- containerId: string;
4
+ companyId: string | null;
5
+ companyName: string | null;
6
+ containerId: string | null;
7
+ customerId: string | null;
7
8
  createdAt: Date;
8
9
  doc: string;
9
10
  docType: EDocType;
@@ -1,10 +1,10 @@
1
- import { BooleanStringEnum } from '../../general/enums';
2
- import { LegalEntiyEnum } from '../../general/enums/person-type.enum';
1
+ import { EBooleanString } from '../../general/enums';
2
+ import { ELegalEntiy } from '../../general/enums/person-type.enum';
3
3
  import { IIuguAccountLastVerificationRequestData } from '../interfaces';
4
4
  export declare class LastVerificationRequestDataEntity implements IIuguAccountLastVerificationRequestData {
5
5
  accountType: string;
6
6
  address: string;
7
- automaticTransfer: BooleanStringEnum;
7
+ automaticTransfer: EBooleanString;
8
8
  bank: string;
9
9
  bankAg: string;
10
10
  bankCc: string;
@@ -16,8 +16,8 @@ export declare class LastVerificationRequestDataEntity implements IIuguAccountLa
16
16
  documentCpf: string;
17
17
  documentId: string;
18
18
  name: string;
19
- personType: LegalEntiyEnum;
20
- physicalProducts: BooleanStringEnum;
19
+ personType: ELegalEntiy;
20
+ physicalProducts: EBooleanString;
21
21
  priceRange: string;
22
22
  state: string;
23
23
  telephone: string;