cecon-interfaces 1.0.26 → 1.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) 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/index.mjs +3 -1
  16. package/dist/esm2022/general/enums/interval-type.enum.mjs +4 -4
  17. package/dist/esm2022/general/enums/lead-origin.enum.mjs +8 -8
  18. package/dist/esm2022/general/enums/os.enum.mjs +8 -8
  19. package/dist/esm2022/general/enums/payment-channel.enum.mjs +9 -9
  20. package/dist/esm2022/general/enums/payment-mode.enum.mjs +4 -4
  21. package/dist/esm2022/general/enums/payment-type.enum.mjs +19 -19
  22. package/dist/esm2022/general/enums/person-type.enum.mjs +3 -3
  23. package/dist/esm2022/general/enums/platform.enum.mjs +8 -5
  24. package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
  25. package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
  26. package/dist/esm2022/invite/enums/status.enum.mjs +6 -6
  27. package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +4 -4
  28. package/dist/esm2022/iugu/entities/iugu-account.entity.mjs +2 -2
  29. package/dist/esm2022/iugu/enums/iugu-auto-advance.enum.mjs +5 -5
  30. package/dist/esm2022/lead/entities/lead.entity.mjs +9 -7
  31. package/dist/esm2022/lead/enums/lead-status.enum.mjs +13 -6
  32. package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
  33. package/dist/esm2022/member/entities/member.entity.mjs +6 -5
  34. package/dist/esm2022/member/enums/index.mjs +2 -1
  35. package/dist/esm2022/member/enums/member-rules.enum.mjs +9 -9
  36. package/dist/esm2022/member/enums/member-type.enum.mjs +7 -0
  37. package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
  38. package/dist/esm2022/order/entities/payment-method.entity.mjs +2 -2
  39. package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
  40. package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +3 -3
  41. package/dist/esm2022/purchases/entities/purchase.entity.mjs +2 -2
  42. package/dist/fesm2022/cecon-interfaces.mjs +151 -130
  43. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  44. package/dist/general/entities/origin.entity.js +1 -1
  45. package/dist/general/entities/payment-method.entity.js +3 -3
  46. package/dist/general/enums/boolean-string.enum.d.ts +2 -2
  47. package/dist/general/enums/boolean-string.enum.js +2 -2
  48. package/dist/general/enums/index.d.ts +2 -0
  49. package/dist/general/enums/index.js +5 -1
  50. package/dist/general/enums/interval-type.enum.d.ts +3 -3
  51. package/dist/general/enums/interval-type.enum.js +3 -3
  52. package/dist/general/enums/lead-origin.enum.d.ts +7 -7
  53. package/dist/general/enums/lead-origin.enum.js +7 -7
  54. package/dist/general/enums/os.enum.d.ts +7 -7
  55. package/dist/general/enums/os.enum.js +7 -7
  56. package/dist/general/enums/payment-channel.enum.d.ts +8 -8
  57. package/dist/general/enums/payment-channel.enum.js +8 -8
  58. package/dist/general/enums/payment-mode.enum.d.ts +3 -3
  59. package/dist/general/enums/payment-mode.enum.js +3 -3
  60. package/dist/general/enums/payment-type.enum.d.ts +18 -18
  61. package/dist/general/enums/payment-type.enum.js +18 -18
  62. package/dist/general/enums/person-type.enum.d.ts +2 -2
  63. package/dist/general/enums/person-type.enum.js +2 -2
  64. package/dist/general/enums/platform.enum.d.ts +7 -4
  65. package/dist/general/enums/platform.enum.js +7 -4
  66. package/dist/general/enums/providers.enum.d.ts +6 -6
  67. package/dist/general/enums/providers.enum.js +6 -6
  68. package/dist/invite/entities/invite.entity.js +1 -1
  69. package/dist/invite/enums/status.enum.d.ts +5 -5
  70. package/dist/invite/enums/status.enum.js +5 -5
  71. package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
  72. package/dist/iugu/entities/iugu-account.entity.js +1 -1
  73. package/dist/iugu/enums/iugu-auto-advance.enum.d.ts +4 -4
  74. package/dist/iugu/enums/iugu-auto-advance.enum.js +4 -4
  75. package/dist/lead/entities/lead.entity.d.ts +4 -2
  76. package/dist/lead/entities/lead.entity.js +8 -6
  77. package/dist/lead/enums/lead-status.enum.d.ts +12 -5
  78. package/dist/lead/enums/lead-status.enum.js +12 -5
  79. package/dist/lead/interfaces/i-lead.d.ts +3 -1
  80. package/dist/member/entities/member.entity.d.ts +2 -1
  81. package/dist/member/entities/member.entity.js +4 -3
  82. package/dist/member/enums/index.d.ts +1 -0
  83. package/dist/member/enums/index.js +3 -1
  84. package/dist/member/enums/member-rules.enum.d.ts +8 -8
  85. package/dist/member/enums/member-rules.enum.js +8 -8
  86. package/dist/member/enums/member-type.enum.d.ts +5 -0
  87. package/dist/member/enums/member-type.enum.js +9 -0
  88. package/dist/member/interfaces/i-member.d.ts +2 -1
  89. package/dist/order/entities/payment-method.entity.js +1 -1
  90. package/dist/package.json +1 -1
  91. package/dist/plan/entities/plan.entity.js +2 -2
  92. package/dist/plan/enums/plans-identifier.enum.d.ts +2 -2
  93. package/dist/plan/enums/plans-identifier.enum.js +2 -2
  94. package/dist/purchases/entities/purchase.entity.js +1 -1
  95. 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,47 @@ 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
+ var OsEnum;
390
+ (function (OsEnum) {
391
+ OsEnum["ANDROID"] = "ANDROID";
392
+ OsEnum["IOS"] = "IOS";
393
+ OsEnum["WINDOWS_PHONE"] = "WINDOWS_PHONE";
394
+ OsEnum["WINDOWS"] = "WINDOWS";
395
+ OsEnum["LINUX"] = "LINUX";
396
+ OsEnum["OTHER"] = "OTHER";
397
+ OsEnum["UNKNOWN"] = "UNKNOWN";
398
+ })(OsEnum || (OsEnum = {}));
399
+
400
+ var LegalEntiyEnum;
401
+ (function (LegalEntiyEnum) {
402
+ LegalEntiyEnum["LEGAL"] = "Pessoa Jur\u00EDdica";
403
+ LegalEntiyEnum["INDIVIDUAL"] = "Pessoa F\u00EDsica";
404
+ })(LegalEntiyEnum || (LegalEntiyEnum = {}));
405
+
389
406
  var PlatfomrEnum;
390
407
  (function (PlatfomrEnum) {
391
- PlatfomrEnum["Mobile"] = "Mobile";
392
- PlatfomrEnum["Web"] = "Web";
393
- PlatfomrEnum["Desktop"] = "Desktop";
394
- PlatfomrEnum["Other"] = "Other";
408
+ PlatfomrEnum["MOBILE"] = "Mobile";
409
+ PlatfomrEnum["WEB"] = "Web";
410
+ PlatfomrEnum["DESKTOP"] = "Desktop";
411
+ PlatfomrEnum["TABLET"] = "Tablet";
412
+ PlatfomrEnum["TV"] = "Tv";
413
+ PlatfomrEnum["CHROMEBOOK"] = "Chromebook";
414
+ PlatfomrEnum["OTHER"] = "Other";
395
415
  })(PlatfomrEnum || (PlatfomrEnum = {}));
396
416
 
397
417
  var PaymentProviderEnum;
398
418
  (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";
419
+ PaymentProviderEnum["IUGU"] = "IUGU";
420
+ PaymentProviderEnum["DESENFILA"] = "DESENFILA";
421
+ PaymentProviderEnum["MERCADO_PAGO"] = "MERCADO PAGO";
422
+ PaymentProviderEnum["STRIPE"] = "STRIPE";
423
+ PaymentProviderEnum["PAYPAL"] = "PAYPAL";
424
+ PaymentProviderEnum["OTHER"] = "OTHER";
405
425
  })(PaymentProviderEnum || (PaymentProviderEnum = {}));
406
426
 
407
427
  // index.ts
@@ -452,18 +472,18 @@ class CompanyEntity {
452
472
 
453
473
  var CompanyKeysEnum;
454
474
  (function (CompanyKeysEnum) {
455
- CompanyKeysEnum["google"] = "GOOGLE";
456
- CompanyKeysEnum["loggi"] = "LOGGI";
457
- CompanyKeysEnum["desenfila"] = "DESENFILA";
458
- CompanyKeysEnum["mottu"] = "MOTTU";
459
- CompanyKeysEnum["algolia"] = "ALGOLIA";
475
+ CompanyKeysEnum["GOOGLE"] = "GOOGLE";
476
+ CompanyKeysEnum["LOGGI"] = "LOGGI";
477
+ CompanyKeysEnum["DESENFILA"] = "DESENFILA";
478
+ CompanyKeysEnum["MOTTU"] = "MOTTU";
479
+ CompanyKeysEnum["ALGOLIA"] = "ALGOLIA";
460
480
  })(CompanyKeysEnum || (CompanyKeysEnum = {}));
461
481
 
462
482
  var CompanyMessageTypeEnum;
463
483
  (function (CompanyMessageTypeEnum) {
464
- CompanyMessageTypeEnum["whatsapp"] = "WHATSAPP";
465
- CompanyMessageTypeEnum["instagram"] = "INSTAGRAM";
466
- CompanyMessageTypeEnum["sms"] = "SMS";
484
+ CompanyMessageTypeEnum["WHATSAPP"] = "WHATSAPP";
485
+ CompanyMessageTypeEnum["INSTAGRAM"] = "INSTAGRAM";
486
+ CompanyMessageTypeEnum["SMS"] = "SMS";
467
487
  })(CompanyMessageTypeEnum || (CompanyMessageTypeEnum = {}));
468
488
 
469
489
  // index.ts
@@ -485,17 +505,6 @@ class ContainerEntity extends BaseEntity {
485
505
  }
486
506
  }
487
507
 
488
- var OsEnum;
489
- (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";
497
- })(OsEnum || (OsEnum = {}));
498
-
499
508
  class DeviceEntity {
500
509
  // #region Properties (14)
501
510
  active = false;
@@ -503,7 +512,7 @@ class DeviceEntity {
503
512
  containerId = '';
504
513
  createdAt = 0;
505
514
  deviceId = '';
506
- os = OsEnum.Unknown;
515
+ os = OsEnum.UNKNOWN;
507
516
  osVersion = '';
508
517
  id = '';
509
518
  installedApps = [];
@@ -565,12 +574,13 @@ class MetadataEntity {
565
574
 
566
575
  var DeviceModeEnum;
567
576
  (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";
577
+ DeviceModeEnum["APP"] = "APP";
578
+ DeviceModeEnum["CHECKOUT"] = "CHECKOUT";
579
+ DeviceModeEnum["SCREEN"] = "SCREEN";
580
+ DeviceModeEnum["NATIGO"] = "NATIGO";
581
+ DeviceModeEnum["SATMANAGER"] = "SAT-MANAGER";
582
+ DeviceModeEnum["PDVNATI"] = "PDV-NATI";
583
+ DeviceModeEnum["FISCALMANAGER"] = "FISCAL-MANAGER";
574
584
  })(DeviceModeEnum || (DeviceModeEnum = {}));
575
585
 
576
586
  // index.ts
@@ -579,11 +589,11 @@ var DeviceModeEnum;
579
589
 
580
590
  var InviteStatusEnum;
581
591
  (function (InviteStatusEnum) {
582
- InviteStatusEnum["Accepted"] = "ACCEPTED";
583
- InviteStatusEnum["Pending"] = "PENDING";
584
- InviteStatusEnum["Rejected"] = "REJECTED";
585
- InviteStatusEnum["Expired"] = "EXPIRED";
586
- InviteStatusEnum["Canceled"] = "CANCELED";
592
+ InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
593
+ InviteStatusEnum["PENDING"] = "PENDING";
594
+ InviteStatusEnum["REJECTED"] = "REJECTED";
595
+ InviteStatusEnum["EXPIRED"] = "EXPIRED";
596
+ InviteStatusEnum["CANCELED"] = "CANCELED";
587
597
  })(InviteStatusEnum || (InviteStatusEnum = {}));
588
598
 
589
599
  class InviteEntity {
@@ -602,7 +612,7 @@ class InviteEntity {
602
612
  name = '';
603
613
  phoneNumber = '';
604
614
  photoURL = '';
605
- status = InviteStatusEnum.Pending;
615
+ status = InviteStatusEnum.PENDING;
606
616
  uid = '';
607
617
  updatedAt = Date.now();
608
618
  // #endregion Properties (17)
@@ -635,17 +645,11 @@ class AccountInformationsEntity {
635
645
  }
636
646
  }
637
647
 
638
- var LegalEntiyEnum;
639
- (function (LegalEntiyEnum) {
640
- LegalEntiyEnum["LegalEntity"] = "Pessoa Jur\u00EDdica";
641
- LegalEntiyEnum["Individual"] = "Pessoa F\u00EDsica";
642
- })(LegalEntiyEnum || (LegalEntiyEnum = {}));
643
-
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, LegalEntiyEnum, 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, OsEnum, PartnerEntity, PaymentChannelEnum, PaymentMethodEntity, PaymentModeEnum, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentTypeEnum, PlanEntity, PlanFeatureEntity, PlanIdentifierEnum, PlatfomrEnum, PurchaseEntity, RatingEntity, SponsorshipValuesEntity };
1685
1706
  //# sourceMappingURL=cecon-interfaces.mjs.map