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.
- package/dist/company/enums/keys.enum.d.ts +5 -5
- package/dist/company/enums/keys.enum.js +5 -5
- package/dist/company/enums/message-type.enum.d.ts +3 -3
- package/dist/company/enums/message-type.enum.js +3 -3
- package/dist/device/entities/device.entity.js +1 -1
- package/dist/device/enums/device-mode.enum.d.ts +7 -6
- package/dist/device/enums/device-mode.enum.js +7 -6
- package/dist/esm2022/company/enums/keys.enum.mjs +6 -6
- package/dist/esm2022/company/enums/message-type.enum.mjs +4 -4
- package/dist/esm2022/device/entities/device.entity.mjs +2 -2
- package/dist/esm2022/device/enums/device-mode.enum.mjs +8 -7
- package/dist/esm2022/general/entities/origin.entity.mjs +2 -2
- package/dist/esm2022/general/entities/payment-method.entity.mjs +4 -4
- package/dist/esm2022/general/enums/boolean-string.enum.mjs +3 -3
- package/dist/esm2022/general/enums/interval-type.enum.mjs +4 -4
- package/dist/esm2022/general/enums/lead-origin.enum.mjs +8 -8
- package/dist/esm2022/general/enums/os.enum.mjs +8 -8
- package/dist/esm2022/general/enums/payment-channel.enum.mjs +9 -9
- package/dist/esm2022/general/enums/payment-mode.enum.mjs +4 -4
- package/dist/esm2022/general/enums/payment-type.enum.mjs +19 -19
- package/dist/esm2022/general/enums/person-type.enum.mjs +3 -3
- package/dist/esm2022/general/enums/platform.enum.mjs +8 -5
- package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
- package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
- package/dist/esm2022/invite/enums/status.enum.mjs +6 -6
- package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +4 -4
- package/dist/esm2022/iugu/entities/iugu-account.entity.mjs +2 -2
- package/dist/esm2022/iugu/enums/iugu-auto-advance.enum.mjs +5 -5
- package/dist/esm2022/lead/entities/lead.entity.mjs +9 -7
- package/dist/esm2022/lead/enums/lead-status.enum.mjs +13 -6
- package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
- package/dist/esm2022/member/entities/member.entity.mjs +6 -5
- package/dist/esm2022/member/enums/index.mjs +2 -1
- package/dist/esm2022/member/enums/member-rules.enum.mjs +9 -9
- package/dist/esm2022/member/enums/member-type.enum.mjs +7 -0
- package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
- package/dist/esm2022/order/entities/payment-method.entity.mjs +2 -2
- package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
- package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +3 -3
- package/dist/esm2022/purchases/entities/purchase.entity.mjs +2 -2
- package/dist/fesm2022/cecon-interfaces.mjs +143 -122
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/origin.entity.js +1 -1
- package/dist/general/entities/payment-method.entity.js +3 -3
- package/dist/general/enums/boolean-string.enum.d.ts +2 -2
- package/dist/general/enums/boolean-string.enum.js +2 -2
- package/dist/general/enums/interval-type.enum.d.ts +3 -3
- package/dist/general/enums/interval-type.enum.js +3 -3
- package/dist/general/enums/lead-origin.enum.d.ts +7 -7
- package/dist/general/enums/lead-origin.enum.js +7 -7
- package/dist/general/enums/os.enum.d.ts +7 -7
- package/dist/general/enums/os.enum.js +7 -7
- package/dist/general/enums/payment-channel.enum.d.ts +8 -8
- package/dist/general/enums/payment-channel.enum.js +8 -8
- package/dist/general/enums/payment-mode.enum.d.ts +3 -3
- package/dist/general/enums/payment-mode.enum.js +3 -3
- package/dist/general/enums/payment-type.enum.d.ts +18 -18
- package/dist/general/enums/payment-type.enum.js +18 -18
- package/dist/general/enums/person-type.enum.d.ts +2 -2
- package/dist/general/enums/person-type.enum.js +2 -2
- package/dist/general/enums/platform.enum.d.ts +7 -4
- package/dist/general/enums/platform.enum.js +7 -4
- package/dist/general/enums/providers.enum.d.ts +6 -6
- package/dist/general/enums/providers.enum.js +6 -6
- package/dist/invite/entities/invite.entity.js +1 -1
- package/dist/invite/enums/status.enum.d.ts +5 -5
- package/dist/invite/enums/status.enum.js +5 -5
- package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
- package/dist/iugu/entities/iugu-account.entity.js +1 -1
- package/dist/iugu/enums/iugu-auto-advance.enum.d.ts +4 -4
- package/dist/iugu/enums/iugu-auto-advance.enum.js +4 -4
- package/dist/lead/entities/lead.entity.d.ts +4 -2
- package/dist/lead/entities/lead.entity.js +8 -6
- package/dist/lead/enums/lead-status.enum.d.ts +12 -5
- package/dist/lead/enums/lead-status.enum.js +12 -5
- package/dist/lead/interfaces/i-lead.d.ts +3 -1
- package/dist/member/entities/member.entity.d.ts +2 -1
- package/dist/member/entities/member.entity.js +4 -3
- package/dist/member/enums/index.d.ts +1 -0
- package/dist/member/enums/index.js +3 -1
- package/dist/member/enums/member-rules.enum.d.ts +8 -8
- package/dist/member/enums/member-rules.enum.js +8 -8
- package/dist/member/enums/member-type.enum.d.ts +5 -0
- package/dist/member/enums/member-type.enum.js +9 -0
- package/dist/member/interfaces/i-member.d.ts +2 -1
- package/dist/order/entities/payment-method.entity.js +1 -1
- package/dist/package.json +1 -1
- package/dist/plan/entities/plan.entity.js +2 -2
- package/dist/plan/enums/plans-identifier.enum.d.ts +2 -2
- package/dist/plan/enums/plans-identifier.enum.js +2 -2
- package/dist/purchases/entities/purchase.entity.js +1 -1
- package/package.json +1 -1
@@ -162,13 +162,13 @@ class MobyoApiConfigEntity {
|
|
162
162
|
|
163
163
|
var LeadOriginEnum;
|
164
164
|
(function (LeadOriginEnum) {
|
165
|
-
LeadOriginEnum["
|
166
|
-
LeadOriginEnum["
|
167
|
-
LeadOriginEnum["
|
168
|
-
LeadOriginEnum["
|
169
|
-
LeadOriginEnum["
|
170
|
-
LeadOriginEnum["
|
171
|
-
LeadOriginEnum["
|
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.
|
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["
|
198
|
-
PaymentChannelEnum["
|
199
|
-
PaymentChannelEnum["
|
200
|
-
PaymentChannelEnum["
|
201
|
-
PaymentChannelEnum["
|
202
|
-
PaymentChannelEnum["
|
203
|
-
PaymentChannelEnum["
|
204
|
-
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["QR_CODE"] = "QR_CODE";
|
204
|
+
PaymentChannelEnum["WEBSITE"] = "WEBSITE";
|
205
205
|
})(PaymentChannelEnum || (PaymentChannelEnum = {}));
|
206
206
|
|
207
207
|
var PaymentModeEnum;
|
208
208
|
(function (PaymentModeEnum) {
|
209
|
-
PaymentModeEnum["
|
210
|
-
PaymentModeEnum["
|
211
|
-
PaymentModeEnum["
|
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["
|
217
|
-
PaymentTypeEnum["
|
218
|
-
PaymentTypeEnum["
|
219
|
-
PaymentTypeEnum["
|
220
|
-
PaymentTypeEnum["
|
221
|
-
PaymentTypeEnum["
|
222
|
-
PaymentTypeEnum["
|
223
|
-
PaymentTypeEnum["
|
224
|
-
PaymentTypeEnum["
|
225
|
-
PaymentTypeEnum["
|
226
|
-
PaymentTypeEnum["
|
227
|
-
PaymentTypeEnum["
|
228
|
-
PaymentTypeEnum["
|
229
|
-
PaymentTypeEnum["
|
230
|
-
PaymentTypeEnum["
|
231
|
-
PaymentTypeEnum["
|
232
|
-
PaymentTypeEnum["
|
233
|
-
PaymentTypeEnum["
|
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.
|
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.
|
246
|
+
mode = PaymentModeEnum.MANUAL;
|
247
247
|
name = '';
|
248
248
|
token = '';
|
249
|
-
type = PaymentTypeEnum.
|
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["
|
373
|
-
BooleanStringEnum["
|
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["
|
385
|
-
IntervalTypeEnum["
|
386
|
-
IntervalTypeEnum["
|
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["
|
392
|
-
PlatfomrEnum["
|
393
|
-
PlatfomrEnum["
|
394
|
-
PlatfomrEnum["
|
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["
|
400
|
-
PaymentProviderEnum["
|
401
|
-
PaymentProviderEnum["
|
402
|
-
PaymentProviderEnum["
|
403
|
-
PaymentProviderEnum["
|
404
|
-
PaymentProviderEnum["
|
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["
|
456
|
-
CompanyKeysEnum["
|
457
|
-
CompanyKeysEnum["
|
458
|
-
CompanyKeysEnum["
|
459
|
-
CompanyKeysEnum["
|
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["
|
465
|
-
CompanyMessageTypeEnum["
|
466
|
-
CompanyMessageTypeEnum["
|
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["
|
491
|
-
OsEnum["
|
492
|
-
OsEnum["
|
493
|
-
OsEnum["
|
494
|
-
OsEnum["
|
495
|
-
OsEnum["
|
496
|
-
OsEnum["
|
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.
|
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["
|
569
|
-
DeviceModeEnum["
|
570
|
-
DeviceModeEnum["
|
571
|
-
DeviceModeEnum["
|
572
|
-
DeviceModeEnum["
|
573
|
-
DeviceModeEnum["
|
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["
|
583
|
-
InviteStatusEnum["
|
584
|
-
InviteStatusEnum["
|
585
|
-
InviteStatusEnum["
|
586
|
-
InviteStatusEnum["
|
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.
|
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["
|
641
|
-
LegalEntiyEnum["
|
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.
|
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.
|
661
|
-
physicalProducts = BooleanStringEnum.
|
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["
|
717
|
-
IuguAutoAdvanceEnum["
|
718
|
-
IuguAutoAdvanceEnum["
|
719
|
-
IuguAutoAdvanceEnum["
|
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.
|
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["
|
1025
|
-
LeadStatusEnum["
|
1026
|
-
LeadStatusEnum["
|
1027
|
-
LeadStatusEnum["
|
1028
|
-
LeadStatusEnum["
|
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 (
|
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
|
-
|
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.
|
1075
|
+
source = LeadOriginEnum.OTHERS;
|
1063
1076
|
/**Data e hora do último contato. */
|
1064
|
-
status = LeadStatusEnum.
|
1077
|
+
status = LeadStatusEnum.NEW;
|
1065
1078
|
/**ID do colaborador responsável pelo lead. */
|
1066
1079
|
tags = [];
|
1067
1080
|
updatedAt = Date.now();
|
1068
|
-
// #endregion Properties (
|
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["
|
1084
|
-
MemberRulesEnum["
|
1085
|
-
MemberRulesEnum["
|
1086
|
-
MemberRulesEnum["
|
1087
|
-
MemberRulesEnum["
|
1088
|
-
MemberRulesEnum["
|
1089
|
-
MemberRulesEnum["
|
1090
|
-
MemberRulesEnum["
|
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 (
|
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.
|
1123
|
+
rule = MemberRulesEnum.USER;
|
1104
1124
|
tags = [];
|
1125
|
+
type = MemberTypeEnum.CLIENT;
|
1105
1126
|
uid = '';
|
1106
|
-
// #endregion Properties (
|
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.
|
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["
|
1615
|
-
PlanIdentifierEnum["
|
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.
|
1644
|
+
identifier = PlanIdentifierEnum.NATIGO;
|
1624
1645
|
interval = 12;
|
1625
|
-
intervalType = IntervalTypeEnum.
|
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.
|
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
|