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.
- 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/index.mjs +3 -1
- 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 +151 -130
- 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/index.d.ts +2 -0
- package/dist/general/enums/index.js +5 -1
- 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,47 @@ 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
|
+
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["
|
392
|
-
PlatfomrEnum["
|
393
|
-
PlatfomrEnum["
|
394
|
-
PlatfomrEnum["
|
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["
|
400
|
-
PaymentProviderEnum["
|
401
|
-
PaymentProviderEnum["
|
402
|
-
PaymentProviderEnum["
|
403
|
-
PaymentProviderEnum["
|
404
|
-
PaymentProviderEnum["
|
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["
|
456
|
-
CompanyKeysEnum["
|
457
|
-
CompanyKeysEnum["
|
458
|
-
CompanyKeysEnum["
|
459
|
-
CompanyKeysEnum["
|
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["
|
465
|
-
CompanyMessageTypeEnum["
|
466
|
-
CompanyMessageTypeEnum["
|
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.
|
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["
|
569
|
-
DeviceModeEnum["
|
570
|
-
DeviceModeEnum["
|
571
|
-
DeviceModeEnum["
|
572
|
-
DeviceModeEnum["
|
573
|
-
DeviceModeEnum["
|
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["
|
583
|
-
InviteStatusEnum["
|
584
|
-
InviteStatusEnum["
|
585
|
-
InviteStatusEnum["
|
586
|
-
InviteStatusEnum["
|
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.
|
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.
|
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, 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
|