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
@@ -162,13 +162,13 @@ class MobyoApiConfigEntity {
162
162
 
163
163
  var LeadOriginEnum;
164
164
  (function (LeadOriginEnum) {
165
- LeadOriginEnum["FacebookAds"] = "Facebook Ads";
166
- LeadOriginEnum["GoogleAds"] = "Google Ads";
167
- LeadOriginEnum["EmailMarketing"] = "Email Marketing";
168
- LeadOriginEnum["ReferredByFriend"] = "Indica\u00E7\u00E3o de amigo";
169
- LeadOriginEnum["OrganicSearch"] = "Busca org\u00E2nica";
170
- LeadOriginEnum["DirectVisit"] = "Visita Direta";
171
- LeadOriginEnum["Others"] = "Outros";
165
+ LeadOriginEnum["FACEBOOK_ADS"] = "Facebook Ads";
166
+ LeadOriginEnum["GOOGLE_ADS"] = "Google Ads";
167
+ LeadOriginEnum["EMAIL_MARKETING"] = "Email Marketing";
168
+ LeadOriginEnum["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
169
+ LeadOriginEnum["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
170
+ LeadOriginEnum["DIRECT_VISIT"] = "Visita Direta";
171
+ LeadOriginEnum["OTHERS"] = "Outros";
172
172
  })(LeadOriginEnum || (LeadOriginEnum = {}));
173
173
 
174
174
  class OriginEntity {
@@ -178,7 +178,7 @@ class OriginEntity {
178
178
  date = 0;
179
179
  details = '';
180
180
  referrer = '';
181
- type = LeadOriginEnum.Others;
181
+ type = LeadOriginEnum.OTHERS;
182
182
  // #endregion Properties (6)
183
183
  // #region Constructors (1)
184
184
  constructor(data) {
@@ -194,59 +194,59 @@ class OriginEntity {
194
194
 
195
195
  var PaymentChannelEnum;
196
196
  (function (PaymentChannelEnum) {
197
- PaymentChannelEnum["App"] = "APP";
198
- PaymentChannelEnum["Delivery"] = "DELIVERY";
199
- PaymentChannelEnum["Automation"] = "AUTOMATION";
200
- PaymentChannelEnum["Phone"] = "PHONE";
201
- PaymentChannelEnum["Mail"] = "MAIL";
202
- PaymentChannelEnum["Kiosk"] = "KIOSK";
203
- PaymentChannelEnum["QrCode"] = "QR_CODE";
204
- PaymentChannelEnum["Website"] = "WEBSITE";
197
+ PaymentChannelEnum["APP"] = "APP";
198
+ PaymentChannelEnum["DELIVERY"] = "DELIVERY";
199
+ PaymentChannelEnum["AUTOMATION"] = "AUTOMATION";
200
+ PaymentChannelEnum["PHONE"] = "PHONE";
201
+ PaymentChannelEnum["MAIL"] = "MAIL";
202
+ PaymentChannelEnum["KIOSK"] = "KIOSK";
203
+ PaymentChannelEnum["QR_CODE"] = "QR_CODE";
204
+ PaymentChannelEnum["WEBSITE"] = "WEBSITE";
205
205
  })(PaymentChannelEnum || (PaymentChannelEnum = {}));
206
206
 
207
207
  var PaymentModeEnum;
208
208
  (function (PaymentModeEnum) {
209
- PaymentModeEnum["Electronic"] = "ELECTRONIC";
210
- PaymentModeEnum["Manual"] = "MANUAL";
211
- PaymentModeEnum["Digital"] = "DIGITAL";
209
+ PaymentModeEnum["ELECTRONIC"] = "ELECTRONIC";
210
+ PaymentModeEnum["MANUAL"] = "MANUAL";
211
+ PaymentModeEnum["DIGITAL"] = "DIGITAL";
212
212
  })(PaymentModeEnum || (PaymentModeEnum = {}));
213
213
 
214
214
  var PaymentTypeEnum;
215
215
  (function (PaymentTypeEnum) {
216
- PaymentTypeEnum["CreditCard"] = "CREDIT_CARD";
217
- PaymentTypeEnum["DebitCard"] = "DEBIT_CARD";
218
- PaymentTypeEnum["Cash"] = "CASH";
219
- PaymentTypeEnum["Pix"] = "PIX";
220
- PaymentTypeEnum["MobilePayment"] = "MOBILE_PAYMENT";
221
- PaymentTypeEnum["Check"] = "CHECK";
222
- PaymentTypeEnum["Cryptocurrency"] = "CRYPTOCURRENCY";
223
- PaymentTypeEnum["ElectronicBanking"] = "ELECTRONIC_BANKING";
224
- PaymentTypeEnum["MoneyOrder"] = "MONEY_ORDER";
225
- PaymentTypeEnum["PrepaidCard"] = "PREPAID_CARD";
226
- PaymentTypeEnum["EWallet"] = "E_WALLET";
227
- PaymentTypeEnum["DirectDebit"] = "DIRECT_DEBIT";
228
- PaymentTypeEnum["Paypal"] = "PAYPAL";
229
- PaymentTypeEnum["CheckoutPro"] = "CHECKOUTPRO";
230
- PaymentTypeEnum["WireTransfer"] = "WIRE_TRANSFER";
231
- PaymentTypeEnum["GiftCard"] = "GIFT_CARD";
232
- PaymentTypeEnum["Voucher"] = "VOUCHER";
233
- PaymentTypeEnum["Billing"] = "BILLING";
216
+ PaymentTypeEnum["CREDIT_CARD"] = "CREDIT_CARD";
217
+ PaymentTypeEnum["DEBIT_CARD"] = "DEBIT_CARD";
218
+ PaymentTypeEnum["CASH"] = "CASH";
219
+ PaymentTypeEnum["PIX"] = "PIX";
220
+ PaymentTypeEnum["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
221
+ PaymentTypeEnum["CHECK"] = "CHECK";
222
+ PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
223
+ PaymentTypeEnum["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
224
+ PaymentTypeEnum["MONEY_ORDER"] = "MONEY_ORDER";
225
+ PaymentTypeEnum["PREPAID_CARD"] = "PREPAID_CARD";
226
+ PaymentTypeEnum["E_WALLET"] = "E_WALLET";
227
+ PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
228
+ PaymentTypeEnum["PAYPAL"] = "PAYPAL";
229
+ PaymentTypeEnum["CHECKOUT_PRO"] = "CHECKOUT_PRO";
230
+ PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
231
+ PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
232
+ PaymentTypeEnum["VOUCHER"] = "VOUCHER";
233
+ PaymentTypeEnum["BILLING"] = "BILLING";
234
234
  })(PaymentTypeEnum || (PaymentTypeEnum = {}));
235
235
 
236
236
  class PaymentMethodEntity {
237
237
  // #region Properties (13)
238
238
  active = false;
239
- channel = PaymentChannelEnum.Automation;
239
+ channel = PaymentChannelEnum.AUTOMATION;
240
240
  createdAt = 0;
241
241
  fee = 0;
242
242
  id = '';
243
243
  index = 0;
244
244
  maxAmount = 0;
245
245
  minAmount = 0;
246
- mode = PaymentModeEnum.Manual;
246
+ mode = PaymentModeEnum.MANUAL;
247
247
  name = '';
248
248
  token = '';
249
- type = PaymentTypeEnum.CreditCard;
249
+ type = PaymentTypeEnum.CREDIT_CARD;
250
250
  updatedAt = Date.now();
251
251
  // #endregion Properties (13)
252
252
  // #region Constructors (1)
@@ -369,8 +369,8 @@ class RatingEntity {
369
369
 
370
370
  var BooleanStringEnum;
371
371
  (function (BooleanStringEnum) {
372
- BooleanStringEnum["False"] = "false";
373
- BooleanStringEnum["True"] = "true";
372
+ BooleanStringEnum["FALSE"] = "false";
373
+ BooleanStringEnum["TRUE"] = "true";
374
374
  })(BooleanStringEnum || (BooleanStringEnum = {}));
375
375
 
376
376
  var DocTypeEnum;
@@ -381,27 +381,30 @@ var DocTypeEnum;
381
381
 
382
382
  var IntervalTypeEnum;
383
383
  (function (IntervalTypeEnum) {
384
- IntervalTypeEnum["Days"] = "DAYS";
385
- IntervalTypeEnum["Weeks"] = "WEEKS";
386
- IntervalTypeEnum["Months"] = "MONTHS";
384
+ IntervalTypeEnum["DAYS"] = "DAYS";
385
+ IntervalTypeEnum["WEEKS"] = "WEEKS";
386
+ IntervalTypeEnum["MONTHS"] = "MONTHS";
387
387
  })(IntervalTypeEnum || (IntervalTypeEnum = {}));
388
388
 
389
389
  var PlatfomrEnum;
390
390
  (function (PlatfomrEnum) {
391
- PlatfomrEnum["Mobile"] = "Mobile";
392
- PlatfomrEnum["Web"] = "Web";
393
- PlatfomrEnum["Desktop"] = "Desktop";
394
- PlatfomrEnum["Other"] = "Other";
391
+ PlatfomrEnum["MOBILE"] = "Mobile";
392
+ PlatfomrEnum["WEB"] = "Web";
393
+ PlatfomrEnum["DESKTOP"] = "Desktop";
394
+ PlatfomrEnum["TABLET"] = "Tablet";
395
+ PlatfomrEnum["TV"] = "Tv";
396
+ PlatfomrEnum["CHROMEBOOK"] = "Chromebook";
397
+ PlatfomrEnum["OTHER"] = "Other";
395
398
  })(PlatfomrEnum || (PlatfomrEnum = {}));
396
399
 
397
400
  var PaymentProviderEnum;
398
401
  (function (PaymentProviderEnum) {
399
- PaymentProviderEnum["Iugu"] = "IUGU";
400
- PaymentProviderEnum["Desenfila"] = "DESENFILA";
401
- PaymentProviderEnum["MercadoPago"] = "MERCADO PAGO";
402
- PaymentProviderEnum["Stripe"] = "STRIPE";
403
- PaymentProviderEnum["PayPal"] = "PAYPAL";
404
- PaymentProviderEnum["Other"] = "OTHER";
402
+ PaymentProviderEnum["IUGU"] = "IUGU";
403
+ PaymentProviderEnum["DESENFILA"] = "DESENFILA";
404
+ PaymentProviderEnum["MERCADO_PAGO"] = "MERCADO PAGO";
405
+ PaymentProviderEnum["STRIPE"] = "STRIPE";
406
+ PaymentProviderEnum["PAYPAL"] = "PAYPAL";
407
+ PaymentProviderEnum["OTHER"] = "OTHER";
405
408
  })(PaymentProviderEnum || (PaymentProviderEnum = {}));
406
409
 
407
410
  // index.ts
@@ -452,18 +455,18 @@ class CompanyEntity {
452
455
 
453
456
  var CompanyKeysEnum;
454
457
  (function (CompanyKeysEnum) {
455
- CompanyKeysEnum["google"] = "GOOGLE";
456
- CompanyKeysEnum["loggi"] = "LOGGI";
457
- CompanyKeysEnum["desenfila"] = "DESENFILA";
458
- CompanyKeysEnum["mottu"] = "MOTTU";
459
- CompanyKeysEnum["algolia"] = "ALGOLIA";
458
+ CompanyKeysEnum["GOOGLE"] = "GOOGLE";
459
+ CompanyKeysEnum["LOGGI"] = "LOGGI";
460
+ CompanyKeysEnum["DESENFILA"] = "DESENFILA";
461
+ CompanyKeysEnum["MOTTU"] = "MOTTU";
462
+ CompanyKeysEnum["ALGOLIA"] = "ALGOLIA";
460
463
  })(CompanyKeysEnum || (CompanyKeysEnum = {}));
461
464
 
462
465
  var CompanyMessageTypeEnum;
463
466
  (function (CompanyMessageTypeEnum) {
464
- CompanyMessageTypeEnum["whatsapp"] = "WHATSAPP";
465
- CompanyMessageTypeEnum["instagram"] = "INSTAGRAM";
466
- CompanyMessageTypeEnum["sms"] = "SMS";
467
+ CompanyMessageTypeEnum["WHATSAPP"] = "WHATSAPP";
468
+ CompanyMessageTypeEnum["INSTAGRAM"] = "INSTAGRAM";
469
+ CompanyMessageTypeEnum["SMS"] = "SMS";
467
470
  })(CompanyMessageTypeEnum || (CompanyMessageTypeEnum = {}));
468
471
 
469
472
  // index.ts
@@ -487,13 +490,13 @@ class ContainerEntity extends BaseEntity {
487
490
 
488
491
  var OsEnum;
489
492
  (function (OsEnum) {
490
- OsEnum["Android"] = "Android";
491
- OsEnum["Ios"] = "Ios";
492
- OsEnum["WindosPhone"] = "WindosPhone";
493
- OsEnum["Windows"] = "Windows";
494
- OsEnum["Linux"] = "Linux";
495
- OsEnum["Other"] = "Other";
496
- OsEnum["Unknown"] = "Unknown";
493
+ OsEnum["ANDROID"] = "ANDROID";
494
+ OsEnum["IOS"] = "IOS";
495
+ OsEnum["WINDOWS_PHONE"] = "WINDOWS_PHONE";
496
+ OsEnum["WINDOWS"] = "WINDOWS";
497
+ OsEnum["LINUX"] = "LINUX";
498
+ OsEnum["OTHER"] = "OTHER";
499
+ OsEnum["UNKNOWN"] = "UNKNOWN";
497
500
  })(OsEnum || (OsEnum = {}));
498
501
 
499
502
  class DeviceEntity {
@@ -503,7 +506,7 @@ class DeviceEntity {
503
506
  containerId = '';
504
507
  createdAt = 0;
505
508
  deviceId = '';
506
- os = OsEnum.Unknown;
509
+ os = OsEnum.UNKNOWN;
507
510
  osVersion = '';
508
511
  id = '';
509
512
  installedApps = [];
@@ -565,12 +568,13 @@ class MetadataEntity {
565
568
 
566
569
  var DeviceModeEnum;
567
570
  (function (DeviceModeEnum) {
568
- DeviceModeEnum["App"] = "APP";
569
- DeviceModeEnum["Checkout"] = "CHECKOUT";
570
- DeviceModeEnum["Screen"] = "SCREEN";
571
- DeviceModeEnum["Natigo"] = "NATIGO";
572
- DeviceModeEnum["SatManager"] = "SAT-MANAGER";
573
- DeviceModeEnum["PdvNati"] = "PDV-NATI";
571
+ DeviceModeEnum["APP"] = "APP";
572
+ DeviceModeEnum["CHECKOUT"] = "CHECKOUT";
573
+ DeviceModeEnum["SCREEN"] = "SCREEN";
574
+ DeviceModeEnum["NATIGO"] = "NATIGO";
575
+ DeviceModeEnum["SATMANAGER"] = "SAT-MANAGER";
576
+ DeviceModeEnum["PDVNATI"] = "PDV-NATI";
577
+ DeviceModeEnum["FISCALMANAGER"] = "FISCAL-MANAGER";
574
578
  })(DeviceModeEnum || (DeviceModeEnum = {}));
575
579
 
576
580
  // index.ts
@@ -579,11 +583,11 @@ var DeviceModeEnum;
579
583
 
580
584
  var InviteStatusEnum;
581
585
  (function (InviteStatusEnum) {
582
- InviteStatusEnum["Accepted"] = "ACCEPTED";
583
- InviteStatusEnum["Pending"] = "PENDING";
584
- InviteStatusEnum["Rejected"] = "REJECTED";
585
- InviteStatusEnum["Expired"] = "EXPIRED";
586
- InviteStatusEnum["Canceled"] = "CANCELED";
586
+ InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
587
+ InviteStatusEnum["PENDING"] = "PENDING";
588
+ InviteStatusEnum["REJECTED"] = "REJECTED";
589
+ InviteStatusEnum["EXPIRED"] = "EXPIRED";
590
+ InviteStatusEnum["CANCELED"] = "CANCELED";
587
591
  })(InviteStatusEnum || (InviteStatusEnum = {}));
588
592
 
589
593
  class InviteEntity {
@@ -602,7 +606,7 @@ class InviteEntity {
602
606
  name = '';
603
607
  phoneNumber = '';
604
608
  photoURL = '';
605
- status = InviteStatusEnum.Pending;
609
+ status = InviteStatusEnum.PENDING;
606
610
  uid = '';
607
611
  updatedAt = Date.now();
608
612
  // #endregion Properties (17)
@@ -637,15 +641,15 @@ class AccountInformationsEntity {
637
641
 
638
642
  var LegalEntiyEnum;
639
643
  (function (LegalEntiyEnum) {
640
- LegalEntiyEnum["LegalEntity"] = "Pessoa Jur\u00EDdica";
641
- LegalEntiyEnum["Individual"] = "Pessoa F\u00EDsica";
644
+ LegalEntiyEnum["LEGAL"] = "Pessoa Jur\u00EDdica";
645
+ LegalEntiyEnum["INDIVIDUAL"] = "Pessoa F\u00EDsica";
642
646
  })(LegalEntiyEnum || (LegalEntiyEnum = {}));
643
647
 
644
648
  class LastVerificationRequestDataEntity {
645
649
  // #region Properties (19)
646
650
  accountType = '';
647
651
  address = '';
648
- automaticTransfer = BooleanStringEnum.False;
652
+ automaticTransfer = BooleanStringEnum.FALSE;
649
653
  bank = '';
650
654
  bankAg = '';
651
655
  bankCc = '';
@@ -657,8 +661,8 @@ class LastVerificationRequestDataEntity {
657
661
  documentCpf = '';
658
662
  documentId = '';
659
663
  name = '';
660
- personType = LegalEntiyEnum.Individual;
661
- physicalProducts = BooleanStringEnum.False;
664
+ personType = LegalEntiyEnum.LEGAL;
665
+ physicalProducts = BooleanStringEnum.FALSE;
662
666
  priceRange = '';
663
667
  state = '';
664
668
  telephone = '';
@@ -713,10 +717,10 @@ class IuguCustomerEntity {
713
717
 
714
718
  var IuguAutoAdvanceEnum;
715
719
  (function (IuguAutoAdvanceEnum) {
716
- IuguAutoAdvanceEnum["DaysAfterPayment"] = "days_after_payment";
717
- IuguAutoAdvanceEnum["Daily"] = "daily";
718
- IuguAutoAdvanceEnum["Weekly"] = "weekly";
719
- IuguAutoAdvanceEnum["Monthly"] = "monthly";
720
+ IuguAutoAdvanceEnum["DAYS_AFTER_PAYMENT"] = "days_after_payment";
721
+ IuguAutoAdvanceEnum["DAILY"] = "daily";
722
+ IuguAutoAdvanceEnum["WEEKLY"] = "weekly";
723
+ IuguAutoAdvanceEnum["MONTHLY"] = "monthly";
720
724
  })(IuguAutoAdvanceEnum || (IuguAutoAdvanceEnum = {}));
721
725
 
722
726
  var IuguBankEnum;
@@ -910,7 +914,7 @@ class IuguAccountEntity {
910
914
  // #region Properties (54)
911
915
  autoAdvance = false;
912
916
  autoAdvanceOption = 0;
913
- autoAdvanceType = IuguAutoAdvanceEnum.Daily;
917
+ autoAdvanceType = IuguAutoAdvanceEnum.DAILY;
914
918
  autoWithdraw = false;
915
919
  balance = '';
916
920
  balanceAvailableForWithdraw = '';
@@ -1021,15 +1025,24 @@ class IuguPaymentTokenEntity {
1021
1025
 
1022
1026
  var LeadStatusEnum;
1023
1027
  (function (LeadStatusEnum) {
1024
- LeadStatusEnum["New"] = "Novo";
1025
- LeadStatusEnum["Cantacted"] = "Contactado";
1026
- LeadStatusEnum["InProgress"] = "Em Progresso";
1027
- LeadStatusEnum["Converted"] = "Convertido";
1028
- LeadStatusEnum["NotInterested"] = "N\u00E3o Interessado";
1028
+ LeadStatusEnum["NEW"] = "Novo";
1029
+ LeadStatusEnum["CONTACTED"] = "Contactado";
1030
+ LeadStatusEnum["IN_PROGRESS"] = "Em Progresso";
1031
+ LeadStatusEnum["PAUSED"] = "Pausado";
1032
+ LeadStatusEnum["CONVERTED"] = "Convertido";
1033
+ LeadStatusEnum["NOT_INTERESTED"] = "N\u00E3o Interessado";
1034
+ LeadStatusEnum["NURTURING"] = "Nutrindo";
1035
+ LeadStatusEnum["RECYCLED"] = "Reciclado";
1036
+ LeadStatusEnum["DISQUALIFIED"] = "Desqualificado";
1037
+ LeadStatusEnum["CLOSED"] = "Fechado";
1038
+ LeadStatusEnum["LOST"] = "Perdido";
1039
+ LeadStatusEnum["UNQUALIFIED"] = "N\u00E3o Qualificado";
1029
1040
  })(LeadStatusEnum || (LeadStatusEnum = {}));
1030
1041
 
1031
1042
  class LeadEntity {
1032
- // #region Properties (19)
1043
+ // #region Properties (21)
1044
+ /**Lista de produtos ou serviços de interesse. */
1045
+ activity = [];
1033
1046
  /**Status atual. */
1034
1047
  agentId = '';
1035
1048
  /**Endereço de e-mail principal para contato. */
@@ -1053,19 +1066,19 @@ class LeadEntity {
1053
1066
  lastContacted = Date.now();
1054
1067
  /**Número do documento conforme o tipo. */
1055
1068
  name = '';
1056
- /**Lista de produtos ou serviços de interesse. */
1057
- notes = [];
1069
+ note = '';
1058
1070
  /**Outros endereços de e-mail, se disponíveis. */
1059
1071
  phoneNumber = '';
1072
+ responsibleId = '';
1060
1073
  /**Outros números de telefone, se disponíveis. */
1061
1074
  sandbox = false;
1062
- source = LeadOriginEnum.Others;
1075
+ source = LeadOriginEnum.OTHERS;
1063
1076
  /**Data e hora do último contato. */
1064
- status = LeadStatusEnum.New;
1077
+ status = LeadStatusEnum.NEW;
1065
1078
  /**ID do colaborador responsável pelo lead. */
1066
1079
  tags = [];
1067
1080
  updatedAt = Date.now();
1068
- // #endregion Properties (19)
1081
+ // #endregion Properties (21)
1069
1082
  // #region Constructors (1)
1070
1083
  constructor(data) {
1071
1084
  if (data) {
@@ -1080,18 +1093,25 @@ class LeadEntity {
1080
1093
 
1081
1094
  var MemberRulesEnum;
1082
1095
  (function (MemberRulesEnum) {
1083
- MemberRulesEnum["Admin"] = "ADMIN";
1084
- MemberRulesEnum["User"] = "USER";
1085
- MemberRulesEnum["Owner"] = "OWNER";
1086
- MemberRulesEnum["Support"] = "SUPPORT";
1087
- MemberRulesEnum["Partner"] = "PARTNER";
1088
- MemberRulesEnum["Finance"] = "FINANCE";
1089
- MemberRulesEnum["Marketing"] = "MARKETING";
1090
- MemberRulesEnum["Sales"] = "SALES";
1096
+ MemberRulesEnum["ADMIN"] = "ADMIN";
1097
+ MemberRulesEnum["USER"] = "USER";
1098
+ MemberRulesEnum["OWNER"] = "OWNER";
1099
+ MemberRulesEnum["SUPPORT"] = "SUPPORT";
1100
+ MemberRulesEnum["PARTNER"] = "PARTNER";
1101
+ MemberRulesEnum["FINANCE"] = "FINANCE";
1102
+ MemberRulesEnum["MARKETING"] = "MARKETING";
1103
+ MemberRulesEnum["SALES"] = "SALES";
1091
1104
  })(MemberRulesEnum || (MemberRulesEnum = {}));
1092
1105
 
1106
+ var MemberTypeEnum;
1107
+ (function (MemberTypeEnum) {
1108
+ MemberTypeEnum["PARTNER"] = "PARTNER";
1109
+ MemberTypeEnum["ADMIN"] = "ADMIN";
1110
+ MemberTypeEnum["CLIENT"] = "CLIENT";
1111
+ })(MemberTypeEnum || (MemberTypeEnum = {}));
1112
+
1093
1113
  class MemberEntity extends BaseEntity {
1094
- // #region Properties (11)
1114
+ // #region Properties (12)
1095
1115
  active = true;
1096
1116
  companyName = '';
1097
1117
  containerName = '';
@@ -1100,10 +1120,11 @@ class MemberEntity extends BaseEntity {
1100
1120
  partnerId = '';
1101
1121
  phoneNumber = '';
1102
1122
  photoURL = '';
1103
- rule = MemberRulesEnum.User;
1123
+ rule = MemberRulesEnum.USER;
1104
1124
  tags = [];
1125
+ type = MemberTypeEnum.CLIENT;
1105
1126
  uid = '';
1106
- // #endregion Properties (11)
1127
+ // #endregion Properties (12)
1107
1128
  // #region Constructors (1)
1108
1129
  constructor(data) {
1109
1130
  super(data);
@@ -1482,7 +1503,7 @@ class OrderPaymentMethodEntity {
1482
1503
  code = '';
1483
1504
  currency = 'BRL';
1484
1505
  id = '';
1485
- method = PaymentTypeEnum.Cash;
1506
+ method = PaymentTypeEnum.CASH;
1486
1507
  pix = null;
1487
1508
  prepaid = false;
1488
1509
  type = 'OFFLINE';
@@ -1611,8 +1632,8 @@ class PlanFeatureEntity {
1611
1632
 
1612
1633
  var PlanIdentifierEnum;
1613
1634
  (function (PlanIdentifierEnum) {
1614
- PlanIdentifierEnum["NatiGo"] = "NATIGO-UNO";
1615
- PlanIdentifierEnum["SatManagerNapoleon"] = "SAT-MANAGER-NAPOLEON";
1635
+ PlanIdentifierEnum["NATIGO"] = "NATIGO-UNO";
1636
+ PlanIdentifierEnum["SAT_MANAGER_NAPOLEON"] = "SAT-MANAGER-NAPOLEON";
1616
1637
  })(PlanIdentifierEnum || (PlanIdentifierEnum = {}));
1617
1638
 
1618
1639
  class PlanEntity {
@@ -1620,9 +1641,9 @@ class PlanEntity {
1620
1641
  createdAt = Date.now();
1621
1642
  features = [];
1622
1643
  id = '';
1623
- identifier = PlanIdentifierEnum.NatiGo;
1644
+ identifier = PlanIdentifierEnum.NATIGO;
1624
1645
  interval = 12;
1625
- intervalType = IntervalTypeEnum.Months;
1646
+ intervalType = IntervalTypeEnum.MONTHS;
1626
1647
  name = '';
1627
1648
  price = 0;
1628
1649
  updatedAt = Date.now();
@@ -1662,7 +1683,7 @@ class PurchaseEntity extends OrderEntity {
1662
1683
  additionalNotes = '';
1663
1684
  appInfo = new AppInfoEntity();
1664
1685
  deviceUid = '';
1665
- providerName = PaymentProviderEnum.Iugu;
1686
+ providerName = PaymentProviderEnum.IUGU;
1666
1687
  // #endregion Properties (4)
1667
1688
  // #region Constructors (1)
1668
1689
  constructor(data) {
@@ -1681,5 +1702,5 @@ class PurchaseEntity extends OrderEntity {
1681
1702
  * Generated bundle index. Do not edit.
1682
1703
  */
1683
1704
 
1684
- export { AccountInformationsEntity, AddressEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CarouselImageEntity, CompanyEntity, CompanyKeysEnum, CompanyMessageTypeEnum, ContainerEntity, CoordsEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DeviceModeEnum, DocTypeEnum, IntervalTypeEnum, InviteEntity, InviteStatusEnum, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, MemberEntity, MemberRulesEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentChannelEnum, PaymentMethodEntity, PaymentModeEnum, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentTypeEnum, PlanEntity, PlanFeatureEntity, PlanIdentifierEnum, PlatfomrEnum, PurchaseEntity, RatingEntity, SponsorshipValuesEntity };
1705
+ export { AccountInformationsEntity, AddressEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CarouselImageEntity, CompanyEntity, CompanyKeysEnum, CompanyMessageTypeEnum, ContainerEntity, CoordsEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DeviceModeEnum, DocTypeEnum, IntervalTypeEnum, InviteEntity, InviteStatusEnum, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentChannelEnum, PaymentMethodEntity, PaymentModeEnum, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentTypeEnum, PlanEntity, PlanFeatureEntity, PlanIdentifierEnum, PlatfomrEnum, PurchaseEntity, RatingEntity, SponsorshipValuesEntity };
1685
1706
  //# sourceMappingURL=cecon-interfaces.mjs.map