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,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 { EPlatfomr } 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.EPlatfomr = 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, "EPlatfomr", { enumerable: true, get: function () { return platform_enum_1.EPlatfomr; } });
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 EPlatfomr {
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.EPlatfomr = void 0;
4
+ var EPlatfomr;
5
+ (function (EPlatfomr) {
6
+ EPlatfomr["MOBILE"] = "Mobile";
7
+ EPlatfomr["WEB"] = "Web";
8
+ EPlatfomr["DESKTOP"] = "Desktop";
9
+ EPlatfomr["TABLET"] = "Tablet";
10
+ EPlatfomr["TV"] = "Tv";
11
+ EPlatfomr["CHROMEBOOK"] = "Chromebook";
12
+ EPlatfomr["OTHER"] = "Other";
13
+ })(EPlatfomr || (exports.EPlatfomr = EPlatfomr = {}));
@@ -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,4 +1,6 @@
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';
package/dist/index.js CHANGED
@@ -15,6 +15,8 @@ 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);
@@ -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;
@@ -10,7 +10,7 @@ var LastVerificationRequestDataEntity = /** @class */ (function () {
10
10
  // #region Properties (19)
11
11
  this.accountType = '';
12
12
  this.address = '';
13
- this.automaticTransfer = enums_1.BooleanStringEnum.FALSE;
13
+ this.automaticTransfer = enums_1.EBooleanString.FALSE;
14
14
  this.bank = '';
15
15
  this.bankAg = '';
16
16
  this.bankCc = '';
@@ -22,8 +22,8 @@ var LastVerificationRequestDataEntity = /** @class */ (function () {
22
22
  this.documentCpf = '';
23
23
  this.documentId = '';
24
24
  this.name = '';
25
- this.personType = person_type_enum_1.LegalEntiyEnum.LEGAL;
26
- this.physicalProducts = enums_1.BooleanStringEnum.FALSE;
25
+ this.personType = person_type_enum_1.ELegalEntiy.LEGAL;
26
+ this.physicalProducts = enums_1.EBooleanString.FALSE;
27
27
  this.priceRange = '';
28
28
  this.state = '';
29
29
  this.telephone = '';
@@ -1,9 +1,9 @@
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
  export interface IIuguLastVerificationRequestData {
4
4
  accountType: string;
5
5
  address: string;
6
- automaticTransfer: BooleanStringEnum;
6
+ automaticTransfer: EBooleanString;
7
7
  bank: string;
8
8
  bankAg: string;
9
9
  bankCc: string;
@@ -15,8 +15,8 @@ export interface IIuguLastVerificationRequestData {
15
15
  documentCpf: string;
16
16
  documentId: string;
17
17
  name: string;
18
- personType: LegalEntiyEnum;
19
- physicalProducts: BooleanStringEnum;
18
+ personType: ELegalEntiy;
19
+ physicalProducts: EBooleanString;
20
20
  priceRange: string;
21
21
  state: string;
22
22
  telephone: string;
@@ -1,4 +1,4 @@
1
- import { EDocType, LeadOriginEnum } from '../../general/enums';
1
+ import { EDocType, ELeadOrigin } from '../../general/enums';
2
2
  import { LeadStatusEnum } from '../enums';
3
3
  import { ILead } from '../interfaces';
4
4
  export declare class LeadEntity implements ILead {
@@ -26,7 +26,7 @@ export declare class LeadEntity implements ILead {
26
26
  /**Número do documento conforme o tipo. */
27
27
  name: string;
28
28
  note?: string;
29
- origin: LeadOriginEnum;
29
+ origin: ELeadOrigin;
30
30
  /**Status atual. */
31
31
  partnerId: string;
32
32
  /**Outros endereços de e-mail, se disponíveis. */
@@ -32,7 +32,7 @@ var LeadEntity = /** @class */ (function () {
32
32
  /**Número do documento conforme o tipo. */
33
33
  this.name = '';
34
34
  this.note = '';
35
- this.origin = enums_1.LeadOriginEnum.OTHERS;
35
+ this.origin = enums_1.ELeadOrigin.OTHERS;
36
36
  /**Status atual. */
37
37
  this.partnerId = '';
38
38
  /**Outros endereços de e-mail, se disponíveis. */