cecon-interfaces 1.0.26 → 1.0.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. package/dist/company/enums/keys.enum.d.ts +5 -5
  2. package/dist/company/enums/keys.enum.js +5 -5
  3. package/dist/company/enums/message-type.enum.d.ts +3 -3
  4. package/dist/company/enums/message-type.enum.js +3 -3
  5. package/dist/device/entities/device.entity.js +1 -1
  6. package/dist/device/enums/device-mode.enum.d.ts +7 -6
  7. package/dist/device/enums/device-mode.enum.js +7 -6
  8. package/dist/esm2022/company/enums/keys.enum.mjs +6 -6
  9. package/dist/esm2022/company/enums/message-type.enum.mjs +4 -4
  10. package/dist/esm2022/device/entities/device.entity.mjs +2 -2
  11. package/dist/esm2022/device/enums/device-mode.enum.mjs +8 -7
  12. package/dist/esm2022/general/entities/origin.entity.mjs +2 -2
  13. package/dist/esm2022/general/entities/payment-method.entity.mjs +4 -4
  14. package/dist/esm2022/general/enums/boolean-string.enum.mjs +3 -3
  15. package/dist/esm2022/general/enums/interval-type.enum.mjs +4 -4
  16. package/dist/esm2022/general/enums/lead-origin.enum.mjs +8 -8
  17. package/dist/esm2022/general/enums/os.enum.mjs +8 -8
  18. package/dist/esm2022/general/enums/payment-channel.enum.mjs +9 -9
  19. package/dist/esm2022/general/enums/payment-mode.enum.mjs +4 -4
  20. package/dist/esm2022/general/enums/payment-type.enum.mjs +19 -19
  21. package/dist/esm2022/general/enums/person-type.enum.mjs +3 -3
  22. package/dist/esm2022/general/enums/platform.enum.mjs +8 -5
  23. package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
  24. package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
  25. package/dist/esm2022/invite/enums/status.enum.mjs +6 -6
  26. package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +4 -4
  27. package/dist/esm2022/iugu/entities/iugu-account.entity.mjs +2 -2
  28. package/dist/esm2022/iugu/enums/iugu-auto-advance.enum.mjs +5 -5
  29. package/dist/esm2022/lead/entities/lead.entity.mjs +9 -7
  30. package/dist/esm2022/lead/enums/lead-status.enum.mjs +13 -6
  31. package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
  32. package/dist/esm2022/member/entities/member.entity.mjs +6 -5
  33. package/dist/esm2022/member/enums/index.mjs +2 -1
  34. package/dist/esm2022/member/enums/member-rules.enum.mjs +9 -9
  35. package/dist/esm2022/member/enums/member-type.enum.mjs +7 -0
  36. package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
  37. package/dist/esm2022/order/entities/payment-method.entity.mjs +2 -2
  38. package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
  39. package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +3 -3
  40. package/dist/esm2022/purchases/entities/purchase.entity.mjs +2 -2
  41. package/dist/fesm2022/cecon-interfaces.mjs +143 -122
  42. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  43. package/dist/general/entities/origin.entity.js +1 -1
  44. package/dist/general/entities/payment-method.entity.js +3 -3
  45. package/dist/general/enums/boolean-string.enum.d.ts +2 -2
  46. package/dist/general/enums/boolean-string.enum.js +2 -2
  47. package/dist/general/enums/interval-type.enum.d.ts +3 -3
  48. package/dist/general/enums/interval-type.enum.js +3 -3
  49. package/dist/general/enums/lead-origin.enum.d.ts +7 -7
  50. package/dist/general/enums/lead-origin.enum.js +7 -7
  51. package/dist/general/enums/os.enum.d.ts +7 -7
  52. package/dist/general/enums/os.enum.js +7 -7
  53. package/dist/general/enums/payment-channel.enum.d.ts +8 -8
  54. package/dist/general/enums/payment-channel.enum.js +8 -8
  55. package/dist/general/enums/payment-mode.enum.d.ts +3 -3
  56. package/dist/general/enums/payment-mode.enum.js +3 -3
  57. package/dist/general/enums/payment-type.enum.d.ts +18 -18
  58. package/dist/general/enums/payment-type.enum.js +18 -18
  59. package/dist/general/enums/person-type.enum.d.ts +2 -2
  60. package/dist/general/enums/person-type.enum.js +2 -2
  61. package/dist/general/enums/platform.enum.d.ts +7 -4
  62. package/dist/general/enums/platform.enum.js +7 -4
  63. package/dist/general/enums/providers.enum.d.ts +6 -6
  64. package/dist/general/enums/providers.enum.js +6 -6
  65. package/dist/invite/entities/invite.entity.js +1 -1
  66. package/dist/invite/enums/status.enum.d.ts +5 -5
  67. package/dist/invite/enums/status.enum.js +5 -5
  68. package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
  69. package/dist/iugu/entities/iugu-account.entity.js +1 -1
  70. package/dist/iugu/enums/iugu-auto-advance.enum.d.ts +4 -4
  71. package/dist/iugu/enums/iugu-auto-advance.enum.js +4 -4
  72. package/dist/lead/entities/lead.entity.d.ts +4 -2
  73. package/dist/lead/entities/lead.entity.js +8 -6
  74. package/dist/lead/enums/lead-status.enum.d.ts +12 -5
  75. package/dist/lead/enums/lead-status.enum.js +12 -5
  76. package/dist/lead/interfaces/i-lead.d.ts +3 -1
  77. package/dist/member/entities/member.entity.d.ts +2 -1
  78. package/dist/member/entities/member.entity.js +4 -3
  79. package/dist/member/enums/index.d.ts +1 -0
  80. package/dist/member/enums/index.js +3 -1
  81. package/dist/member/enums/member-rules.enum.d.ts +8 -8
  82. package/dist/member/enums/member-rules.enum.js +8 -8
  83. package/dist/member/enums/member-type.enum.d.ts +5 -0
  84. package/dist/member/enums/member-type.enum.js +9 -0
  85. package/dist/member/interfaces/i-member.d.ts +2 -1
  86. package/dist/order/entities/payment-method.entity.js +1 -1
  87. package/dist/package.json +1 -1
  88. package/dist/plan/entities/plan.entity.js +2 -2
  89. package/dist/plan/enums/plans-identifier.enum.d.ts +2 -2
  90. package/dist/plan/enums/plans-identifier.enum.js +2 -2
  91. package/dist/purchases/entities/purchase.entity.js +1 -1
  92. package/package.json +1 -1
@@ -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.LeadOriginEnum.OTHERS;
16
16
  if (data) {
17
17
  for (var key in data) {
18
18
  if (data.hasOwnProperty(key) && key in this) {
@@ -10,17 +10,17 @@ var PaymentMethodEntity = /** @class */ (function () {
10
10
  function PaymentMethodEntity(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.PaymentChannelEnum.AUTOMATION;
14
14
  this.createdAt = 0;
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.PaymentModeEnum.MANUAL;
21
21
  this.name = '';
22
22
  this.token = '';
23
- this.type = payment_type_enum_1.PaymentTypeEnum.CreditCard;
23
+ this.type = payment_type_enum_1.PaymentTypeEnum.CREDIT_CARD;
24
24
  this.updatedAt = Date.now();
25
25
  if (data) {
26
26
  for (var key in data) {
@@ -1,4 +1,4 @@
1
1
  export declare enum BooleanStringEnum {
2
- False = "false",
3
- True = "true"
2
+ FALSE = "false",
3
+ TRUE = "true"
4
4
  }
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BooleanStringEnum = void 0;
4
4
  var BooleanStringEnum;
5
5
  (function (BooleanStringEnum) {
6
- BooleanStringEnum["False"] = "false";
7
- BooleanStringEnum["True"] = "true";
6
+ BooleanStringEnum["FALSE"] = "false";
7
+ BooleanStringEnum["TRUE"] = "true";
8
8
  })(BooleanStringEnum || (exports.BooleanStringEnum = BooleanStringEnum = {}));
@@ -1,5 +1,5 @@
1
1
  export declare enum IntervalTypeEnum {
2
- Days = "DAYS",
3
- Weeks = "WEEKS",
4
- Months = "MONTHS"
2
+ DAYS = "DAYS",
3
+ WEEKS = "WEEKS",
4
+ MONTHS = "MONTHS"
5
5
  }
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IntervalTypeEnum = void 0;
4
4
  var IntervalTypeEnum;
5
5
  (function (IntervalTypeEnum) {
6
- IntervalTypeEnum["Days"] = "DAYS";
7
- IntervalTypeEnum["Weeks"] = "WEEKS";
8
- IntervalTypeEnum["Months"] = "MONTHS";
6
+ IntervalTypeEnum["DAYS"] = "DAYS";
7
+ IntervalTypeEnum["WEEKS"] = "WEEKS";
8
+ IntervalTypeEnum["MONTHS"] = "MONTHS";
9
9
  })(IntervalTypeEnum || (exports.IntervalTypeEnum = IntervalTypeEnum = {}));
@@ -1,9 +1,9 @@
1
1
  export declare enum LeadOriginEnum {
2
- FacebookAds = "Facebook Ads",
3
- GoogleAds = "Google Ads",
4
- EmailMarketing = "Email Marketing",
5
- ReferredByFriend = "Indica\u00E7\u00E3o de amigo",
6
- OrganicSearch = "Busca org\u00E2nica",
7
- DirectVisit = "Visita Direta",
8
- Others = "Outros"
2
+ FACEBOOK_ADS = "Facebook Ads",
3
+ GOOGLE_ADS = "Google Ads",
4
+ EMAIL_MARKETING = "Email Marketing",
5
+ REFERRED_BY_FRIEND = "Indica\u00E7\u00E3o de amigo",
6
+ ORGANIC_SEARCH = "Busca org\u00E2nica",
7
+ DIRECT_VISIT = "Visita Direta",
8
+ OTHERS = "Outros"
9
9
  }
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LeadOriginEnum = void 0;
4
4
  var LeadOriginEnum;
5
5
  (function (LeadOriginEnum) {
6
- LeadOriginEnum["FacebookAds"] = "Facebook Ads";
7
- LeadOriginEnum["GoogleAds"] = "Google Ads";
8
- LeadOriginEnum["EmailMarketing"] = "Email Marketing";
9
- LeadOriginEnum["ReferredByFriend"] = "Indica\u00E7\u00E3o de amigo";
10
- LeadOriginEnum["OrganicSearch"] = "Busca org\u00E2nica";
11
- LeadOriginEnum["DirectVisit"] = "Visita Direta";
12
- LeadOriginEnum["Others"] = "Outros";
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
13
  })(LeadOriginEnum || (exports.LeadOriginEnum = LeadOriginEnum = {}));
@@ -1,9 +1,9 @@
1
1
  export declare enum OsEnum {
2
- Android = "Android",
3
- Ios = "Ios",
4
- WindosPhone = "WindosPhone",
5
- Windows = "Windows",
6
- Linux = "Linux",
7
- Other = "Other",
8
- Unknown = "Unknown"
2
+ ANDROID = "ANDROID",
3
+ IOS = "IOS",
4
+ WINDOWS_PHONE = "WINDOWS_PHONE",
5
+ WINDOWS = "WINDOWS",
6
+ LINUX = "LINUX",
7
+ OTHER = "OTHER",
8
+ UNKNOWN = "UNKNOWN"
9
9
  }
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OsEnum = void 0;
4
4
  var OsEnum;
5
5
  (function (OsEnum) {
6
- OsEnum["Android"] = "Android";
7
- OsEnum["Ios"] = "Ios";
8
- OsEnum["WindosPhone"] = "WindosPhone";
9
- OsEnum["Windows"] = "Windows";
10
- OsEnum["Linux"] = "Linux";
11
- OsEnum["Other"] = "Other";
12
- OsEnum["Unknown"] = "Unknown";
6
+ OsEnum["ANDROID"] = "ANDROID";
7
+ OsEnum["IOS"] = "IOS";
8
+ OsEnum["WINDOWS_PHONE"] = "WINDOWS_PHONE";
9
+ OsEnum["WINDOWS"] = "WINDOWS";
10
+ OsEnum["LINUX"] = "LINUX";
11
+ OsEnum["OTHER"] = "OTHER";
12
+ OsEnum["UNKNOWN"] = "UNKNOWN";
13
13
  })(OsEnum || (exports.OsEnum = OsEnum = {}));
@@ -1,10 +1,10 @@
1
1
  export declare enum PaymentChannelEnum {
2
- App = "APP",
3
- Delivery = "DELIVERY",
4
- Automation = "AUTOMATION",
5
- Phone = "PHONE",
6
- Mail = "MAIL",
7
- Kiosk = "KIOSK",
8
- QrCode = "QR_CODE",
9
- Website = "WEBSITE"
2
+ APP = "APP",
3
+ DELIVERY = "DELIVERY",
4
+ AUTOMATION = "AUTOMATION",
5
+ PHONE = "PHONE",
6
+ MAIL = "MAIL",
7
+ KIOSK = "KIOSK",
8
+ QR_CODE = "QR_CODE",
9
+ WEBSITE = "WEBSITE"
10
10
  }
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentChannelEnum = void 0;
4
4
  var PaymentChannelEnum;
5
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["QrCode"] = "QR_CODE";
13
- PaymentChannelEnum["Website"] = "WEBSITE";
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
14
  })(PaymentChannelEnum || (exports.PaymentChannelEnum = PaymentChannelEnum = {}));
@@ -1,5 +1,5 @@
1
1
  export declare enum PaymentModeEnum {
2
- Electronic = "ELECTRONIC",
3
- Manual = "MANUAL",
4
- Digital = "DIGITAL"
2
+ ELECTRONIC = "ELECTRONIC",
3
+ MANUAL = "MANUAL",
4
+ DIGITAL = "DIGITAL"
5
5
  }
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentModeEnum = void 0;
4
4
  var PaymentModeEnum;
5
5
  (function (PaymentModeEnum) {
6
- PaymentModeEnum["Electronic"] = "ELECTRONIC";
7
- PaymentModeEnum["Manual"] = "MANUAL";
8
- PaymentModeEnum["Digital"] = "DIGITAL";
6
+ PaymentModeEnum["ELECTRONIC"] = "ELECTRONIC";
7
+ PaymentModeEnum["MANUAL"] = "MANUAL";
8
+ PaymentModeEnum["DIGITAL"] = "DIGITAL";
9
9
  })(PaymentModeEnum || (exports.PaymentModeEnum = PaymentModeEnum = {}));
@@ -1,20 +1,20 @@
1
1
  export declare enum PaymentTypeEnum {
2
- CreditCard = "CREDIT_CARD",
3
- DebitCard = "DEBIT_CARD",
4
- Cash = "CASH",
5
- Pix = "PIX",
6
- MobilePayment = "MOBILE_PAYMENT",
7
- Check = "CHECK",
8
- Cryptocurrency = "CRYPTOCURRENCY",
9
- ElectronicBanking = "ELECTRONIC_BANKING",
10
- MoneyOrder = "MONEY_ORDER",
11
- PrepaidCard = "PREPAID_CARD",
12
- EWallet = "E_WALLET",
13
- DirectDebit = "DIRECT_DEBIT",
14
- Paypal = "PAYPAL",
15
- CheckoutPro = "CHECKOUTPRO",
16
- WireTransfer = "WIRE_TRANSFER",
17
- GiftCard = "GIFT_CARD",
18
- Voucher = "VOUCHER",
19
- Billing = "BILLING"
2
+ CREDIT_CARD = "CREDIT_CARD",
3
+ DEBIT_CARD = "DEBIT_CARD",
4
+ CASH = "CASH",
5
+ PIX = "PIX",
6
+ MOBILE_PAYMENT = "MOBILE_PAYMENT",
7
+ CHECK = "CHECK",
8
+ CRYPTOCURRENCY = "CRYPTOCURRENCY",
9
+ ELECTRONIC_BANKING = "ELECTRONIC_BANKING",
10
+ MONEY_ORDER = "MONEY_ORDER",
11
+ PREPAID_CARD = "PREPAID_CARD",
12
+ E_WALLET = "E_WALLET",
13
+ DIRECT_DEBIT = "DIRECT_DEBIT",
14
+ PAYPAL = "PAYPAL",
15
+ CHECKOUT_PRO = "CHECKOUT_PRO",
16
+ WIRE_TRANSFER = "WIRE_TRANSFER",
17
+ GIFT_CARD = "GIFT_CARD",
18
+ VOUCHER = "VOUCHER",
19
+ BILLING = "BILLING"
20
20
  }
@@ -3,22 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentTypeEnum = void 0;
4
4
  var PaymentTypeEnum;
5
5
  (function (PaymentTypeEnum) {
6
- PaymentTypeEnum["CreditCard"] = "CREDIT_CARD";
7
- PaymentTypeEnum["DebitCard"] = "DEBIT_CARD";
8
- PaymentTypeEnum["Cash"] = "CASH";
9
- PaymentTypeEnum["Pix"] = "PIX";
10
- PaymentTypeEnum["MobilePayment"] = "MOBILE_PAYMENT";
11
- PaymentTypeEnum["Check"] = "CHECK";
12
- PaymentTypeEnum["Cryptocurrency"] = "CRYPTOCURRENCY";
13
- PaymentTypeEnum["ElectronicBanking"] = "ELECTRONIC_BANKING";
14
- PaymentTypeEnum["MoneyOrder"] = "MONEY_ORDER";
15
- PaymentTypeEnum["PrepaidCard"] = "PREPAID_CARD";
16
- PaymentTypeEnum["EWallet"] = "E_WALLET";
17
- PaymentTypeEnum["DirectDebit"] = "DIRECT_DEBIT";
18
- PaymentTypeEnum["Paypal"] = "PAYPAL";
19
- PaymentTypeEnum["CheckoutPro"] = "CHECKOUTPRO";
20
- PaymentTypeEnum["WireTransfer"] = "WIRE_TRANSFER";
21
- PaymentTypeEnum["GiftCard"] = "GIFT_CARD";
22
- PaymentTypeEnum["Voucher"] = "VOUCHER";
23
- PaymentTypeEnum["Billing"] = "BILLING";
6
+ PaymentTypeEnum["CREDIT_CARD"] = "CREDIT_CARD";
7
+ PaymentTypeEnum["DEBIT_CARD"] = "DEBIT_CARD";
8
+ PaymentTypeEnum["CASH"] = "CASH";
9
+ PaymentTypeEnum["PIX"] = "PIX";
10
+ PaymentTypeEnum["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
11
+ PaymentTypeEnum["CHECK"] = "CHECK";
12
+ PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
13
+ PaymentTypeEnum["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
14
+ PaymentTypeEnum["MONEY_ORDER"] = "MONEY_ORDER";
15
+ PaymentTypeEnum["PREPAID_CARD"] = "PREPAID_CARD";
16
+ PaymentTypeEnum["E_WALLET"] = "E_WALLET";
17
+ PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
18
+ PaymentTypeEnum["PAYPAL"] = "PAYPAL";
19
+ PaymentTypeEnum["CHECKOUT_PRO"] = "CHECKOUT_PRO";
20
+ PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
21
+ PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
22
+ PaymentTypeEnum["VOUCHER"] = "VOUCHER";
23
+ PaymentTypeEnum["BILLING"] = "BILLING";
24
24
  })(PaymentTypeEnum || (exports.PaymentTypeEnum = PaymentTypeEnum = {}));
@@ -1,4 +1,4 @@
1
1
  export declare enum LegalEntiyEnum {
2
- LegalEntity = "Pessoa Jur\u00EDdica",
3
- Individual = "Pessoa F\u00EDsica"
2
+ LEGAL = "Pessoa Jur\u00EDdica",
3
+ INDIVIDUAL = "Pessoa F\u00EDsica"
4
4
  }
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LegalEntiyEnum = void 0;
4
4
  var LegalEntiyEnum;
5
5
  (function (LegalEntiyEnum) {
6
- LegalEntiyEnum["LegalEntity"] = "Pessoa Jur\u00EDdica";
7
- LegalEntiyEnum["Individual"] = "Pessoa F\u00EDsica";
6
+ LegalEntiyEnum["LEGAL"] = "Pessoa Jur\u00EDdica";
7
+ LegalEntiyEnum["INDIVIDUAL"] = "Pessoa F\u00EDsica";
8
8
  })(LegalEntiyEnum || (exports.LegalEntiyEnum = LegalEntiyEnum = {}));
@@ -1,6 +1,9 @@
1
1
  export declare enum PlatfomrEnum {
2
- Mobile = "Mobile",
3
- Web = "Web",
4
- Desktop = "Desktop",
5
- Other = "Other"
2
+ MOBILE = "Mobile",
3
+ WEB = "Web",
4
+ DESKTOP = "Desktop",
5
+ TABLET = "Tablet",
6
+ TV = "Tv",
7
+ CHROMEBOOK = "Chromebook",
8
+ OTHER = "Other"
6
9
  }
@@ -3,8 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PlatfomrEnum = void 0;
4
4
  var PlatfomrEnum;
5
5
  (function (PlatfomrEnum) {
6
- PlatfomrEnum["Mobile"] = "Mobile";
7
- PlatfomrEnum["Web"] = "Web";
8
- PlatfomrEnum["Desktop"] = "Desktop";
9
- PlatfomrEnum["Other"] = "Other";
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";
10
13
  })(PlatfomrEnum || (exports.PlatfomrEnum = PlatfomrEnum = {}));
@@ -1,8 +1,8 @@
1
1
  export declare enum PaymentProviderEnum {
2
- Iugu = "IUGU",
3
- Desenfila = "DESENFILA",
4
- MercadoPago = "MERCADO PAGO",
5
- Stripe = "STRIPE",
6
- PayPal = "PAYPAL",
7
- Other = "OTHER"
2
+ IUGU = "IUGU",
3
+ DESENFILA = "DESENFILA",
4
+ MERCADO_PAGO = "MERCADO PAGO",
5
+ STRIPE = "STRIPE",
6
+ PAYPAL = "PAYPAL",
7
+ OTHER = "OTHER"
8
8
  }
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentProviderEnum = void 0;
4
4
  var PaymentProviderEnum;
5
5
  (function (PaymentProviderEnum) {
6
- PaymentProviderEnum["Iugu"] = "IUGU";
7
- PaymentProviderEnum["Desenfila"] = "DESENFILA";
8
- PaymentProviderEnum["MercadoPago"] = "MERCADO PAGO";
9
- PaymentProviderEnum["Stripe"] = "STRIPE";
10
- PaymentProviderEnum["PayPal"] = "PAYPAL";
11
- PaymentProviderEnum["Other"] = "OTHER";
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
12
  })(PaymentProviderEnum || (exports.PaymentProviderEnum = PaymentProviderEnum = {}));
@@ -22,7 +22,7 @@ var InviteEntity = /** @class */ (function () {
22
22
  this.name = '';
23
23
  this.phoneNumber = '';
24
24
  this.photoURL = '';
25
- this.status = enums_1.InviteStatusEnum.Pending;
25
+ this.status = enums_1.InviteStatusEnum.PENDING;
26
26
  this.uid = '';
27
27
  this.updatedAt = Date.now();
28
28
  if (data) {
@@ -1,7 +1,7 @@
1
1
  export declare enum InviteStatusEnum {
2
- Accepted = "ACCEPTED",
3
- Pending = "PENDING",
4
- Rejected = "REJECTED",
5
- Expired = "EXPIRED",
6
- Canceled = "CANCELED"
2
+ ACCEPTED = "ACCEPTED",
3
+ PENDING = "PENDING",
4
+ REJECTED = "REJECTED",
5
+ EXPIRED = "EXPIRED",
6
+ CANCELED = "CANCELED"
7
7
  }
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InviteStatusEnum = void 0;
4
4
  var InviteStatusEnum;
5
5
  (function (InviteStatusEnum) {
6
- InviteStatusEnum["Accepted"] = "ACCEPTED";
7
- InviteStatusEnum["Pending"] = "PENDING";
8
- InviteStatusEnum["Rejected"] = "REJECTED";
9
- InviteStatusEnum["Expired"] = "EXPIRED";
10
- InviteStatusEnum["Canceled"] = "CANCELED";
6
+ InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
7
+ InviteStatusEnum["PENDING"] = "PENDING";
8
+ InviteStatusEnum["REJECTED"] = "REJECTED";
9
+ InviteStatusEnum["EXPIRED"] = "EXPIRED";
10
+ InviteStatusEnum["CANCELED"] = "CANCELED";
11
11
  })(InviteStatusEnum || (exports.InviteStatusEnum = InviteStatusEnum = {}));
@@ -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.BooleanStringEnum.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.Individual;
26
- this.physicalProducts = enums_1.BooleanStringEnum.False;
25
+ this.personType = person_type_enum_1.LegalEntiyEnum.LEGAL;
26
+ this.physicalProducts = enums_1.BooleanStringEnum.FALSE;
27
27
  this.priceRange = '';
28
28
  this.state = '';
29
29
  this.telephone = '';
@@ -10,7 +10,7 @@ var IuguAccountEntity = /** @class */ (function () {
10
10
  // #region Properties (54)
11
11
  this.autoAdvance = false;
12
12
  this.autoAdvanceOption = 0;
13
- this.autoAdvanceType = enums_1.IuguAutoAdvanceEnum.Daily;
13
+ this.autoAdvanceType = enums_1.IuguAutoAdvanceEnum.DAILY;
14
14
  this.autoWithdraw = false;
15
15
  this.balance = '';
16
16
  this.balanceAvailableForWithdraw = '';
@@ -1,6 +1,6 @@
1
1
  export declare enum IuguAutoAdvanceEnum {
2
- DaysAfterPayment = "days_after_payment",
3
- Daily = "daily",
4
- Weekly = "weekly",
5
- Monthly = "monthly"
2
+ DAYS_AFTER_PAYMENT = "days_after_payment",
3
+ DAILY = "daily",
4
+ WEEKLY = "weekly",
5
+ MONTHLY = "monthly"
6
6
  }
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IuguAutoAdvanceEnum = void 0;
4
4
  var IuguAutoAdvanceEnum;
5
5
  (function (IuguAutoAdvanceEnum) {
6
- IuguAutoAdvanceEnum["DaysAfterPayment"] = "days_after_payment";
7
- IuguAutoAdvanceEnum["Daily"] = "daily";
8
- IuguAutoAdvanceEnum["Weekly"] = "weekly";
9
- IuguAutoAdvanceEnum["Monthly"] = "monthly";
6
+ IuguAutoAdvanceEnum["DAYS_AFTER_PAYMENT"] = "days_after_payment";
7
+ IuguAutoAdvanceEnum["DAILY"] = "daily";
8
+ IuguAutoAdvanceEnum["WEEKLY"] = "weekly";
9
+ IuguAutoAdvanceEnum["MONTHLY"] = "monthly";
10
10
  })(IuguAutoAdvanceEnum || (exports.IuguAutoAdvanceEnum = IuguAutoAdvanceEnum = {}));
@@ -2,6 +2,8 @@ import { DocTypeEnum, LeadOriginEnum } from '../../general/enums';
2
2
  import { LeadStatusEnum } from '../enums';
3
3
  import { ILead } from '../interfaces';
4
4
  export declare class LeadEntity implements ILead {
5
+ /**Lista de produtos ou serviços de interesse. */
6
+ activity?: string[];
5
7
  /**Status atual. */
6
8
  agentId: string;
7
9
  /**Endereço de e-mail principal para contato. */
@@ -25,10 +27,10 @@ export declare class LeadEntity implements ILead {
25
27
  lastContacted?: number;
26
28
  /**Número do documento conforme o tipo. */
27
29
  name: string;
28
- /**Lista de produtos ou serviços de interesse. */
29
- notes?: string[];
30
+ note?: string;
30
31
  /**Outros endereços de e-mail, se disponíveis. */
31
32
  phoneNumber?: string;
33
+ responsibleId?: string;
32
34
  /**Outros números de telefone, se disponíveis. */
33
35
  sandbox: boolean;
34
36
  source: LeadOriginEnum;
@@ -4,10 +4,12 @@ exports.LeadEntity = void 0;
4
4
  var enums_1 = require("../../general/enums");
5
5
  var enums_2 = require("../enums");
6
6
  var LeadEntity = /** @class */ (function () {
7
- // #endregion Properties (19)
7
+ // #endregion Properties (21)
8
8
  // #region Constructors (1)
9
9
  function LeadEntity(data) {
10
- // #region Properties (19)
10
+ // #region Properties (21)
11
+ /**Lista de produtos ou serviços de interesse. */
12
+ this.activity = [];
11
13
  /**Status atual. */
12
14
  this.agentId = '';
13
15
  /**Endereço de e-mail principal para contato. */
@@ -31,15 +33,15 @@ var LeadEntity = /** @class */ (function () {
31
33
  this.lastContacted = Date.now();
32
34
  /**Número do documento conforme o tipo. */
33
35
  this.name = '';
34
- /**Lista de produtos ou serviços de interesse. */
35
- this.notes = [];
36
+ this.note = '';
36
37
  /**Outros endereços de e-mail, se disponíveis. */
37
38
  this.phoneNumber = '';
39
+ this.responsibleId = '';
38
40
  /**Outros números de telefone, se disponíveis. */
39
41
  this.sandbox = false;
40
- this.source = enums_1.LeadOriginEnum.Others;
42
+ this.source = enums_1.LeadOriginEnum.OTHERS;
41
43
  /**Data e hora do último contato. */
42
- this.status = enums_2.LeadStatusEnum.New;
44
+ this.status = enums_2.LeadStatusEnum.NEW;
43
45
  /**ID do colaborador responsável pelo lead. */
44
46
  this.tags = [];
45
47
  this.updatedAt = Date.now();
@@ -1,7 +1,14 @@
1
1
  export declare enum LeadStatusEnum {
2
- New = "Novo",
3
- Cantacted = "Contactado",
4
- InProgress = "Em Progresso",
5
- Converted = "Convertido",
6
- NotInterested = "N\u00E3o Interessado"
2
+ NEW = "Novo",
3
+ CONTACTED = "Contactado",
4
+ IN_PROGRESS = "Em Progresso",
5
+ PAUSED = "Pausado",
6
+ CONVERTED = "Convertido",
7
+ NOT_INTERESTED = "N\u00E3o Interessado",
8
+ NURTURING = "Nutrindo",
9
+ RECYCLED = "Reciclado",
10
+ DISQUALIFIED = "Desqualificado",
11
+ CLOSED = "Fechado",
12
+ LOST = "Perdido",
13
+ UNQUALIFIED = "N\u00E3o Qualificado"
7
14
  }
@@ -3,9 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LeadStatusEnum = void 0;
4
4
  var LeadStatusEnum;
5
5
  (function (LeadStatusEnum) {
6
- LeadStatusEnum["New"] = "Novo";
7
- LeadStatusEnum["Cantacted"] = "Contactado";
8
- LeadStatusEnum["InProgress"] = "Em Progresso";
9
- LeadStatusEnum["Converted"] = "Convertido";
10
- LeadStatusEnum["NotInterested"] = "N\u00E3o Interessado";
6
+ LeadStatusEnum["NEW"] = "Novo";
7
+ LeadStatusEnum["CONTACTED"] = "Contactado";
8
+ LeadStatusEnum["IN_PROGRESS"] = "Em Progresso";
9
+ LeadStatusEnum["PAUSED"] = "Pausado";
10
+ LeadStatusEnum["CONVERTED"] = "Convertido";
11
+ LeadStatusEnum["NOT_INTERESTED"] = "N\u00E3o Interessado";
12
+ LeadStatusEnum["NURTURING"] = "Nutrindo";
13
+ LeadStatusEnum["RECYCLED"] = "Reciclado";
14
+ LeadStatusEnum["DISQUALIFIED"] = "Desqualificado";
15
+ LeadStatusEnum["CLOSED"] = "Fechado";
16
+ LeadStatusEnum["LOST"] = "Perdido";
17
+ LeadStatusEnum["UNQUALIFIED"] = "N\u00E3o Qualificado";
11
18
  })(LeadStatusEnum || (exports.LeadStatusEnum = LeadStatusEnum = {}));
@@ -1,6 +1,7 @@
1
1
  import { LeadOriginEnum } from '../../general/enums';
2
2
  import { LeadStatusEnum } from '../enums';
3
3
  export interface ILead {
4
+ activity?: string[];
4
5
  agentId: string;
5
6
  alternateEmails?: string[];
6
7
  alternatePhones?: string[];
@@ -13,8 +14,9 @@ export interface ILead {
13
14
  interestedIn: string[];
14
15
  lastContacted?: number;
15
16
  name: string;
16
- notes?: string[];
17
+ note?: string;
17
18
  phoneNumber?: string;
19
+ responsibleId?: string;
18
20
  sandbox: boolean;
19
21
  source: LeadOriginEnum;
20
22
  status: LeadStatusEnum;
@@ -1,5 +1,5 @@
1
1
  import { BaseEntity } from '../../general';
2
- import { MemberRulesEnum } from '../enums';
2
+ import { MemberRulesEnum, MemberTypeEnum } from '../enums';
3
3
  import { IMember } from '../interfaces';
4
4
  export declare class MemberEntity extends BaseEntity implements IMember {
5
5
  active: boolean;
@@ -12,6 +12,7 @@ export declare class MemberEntity extends BaseEntity implements IMember {
12
12
  photoURL: string;
13
13
  rule: MemberRulesEnum;
14
14
  tags: string[];
15
+ type: MemberTypeEnum;
15
16
  uid: string;
16
17
  constructor(data?: Partial<MemberEntity>);
17
18
  }