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
@@ -12,7 +12,7 @@ var OriginEntity = /** @class */ (function () {
|
|
12
12
|
this.date = 0;
|
13
13
|
this.details = '';
|
14
14
|
this.referrer = '';
|
15
|
-
this.type = lead_origin_enum_1.LeadOriginEnum.
|
15
|
+
this.type = lead_origin_enum_1.LeadOriginEnum.OTHERS;
|
16
16
|
if (data) {
|
17
17
|
for (var key in data) {
|
18
18
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -10,17 +10,17 @@ var PaymentMethodEntity = /** @class */ (function () {
|
|
10
10
|
function PaymentMethodEntity(data) {
|
11
11
|
// #region Properties (13)
|
12
12
|
this.active = false;
|
13
|
-
this.channel = payment_channel_enum_1.PaymentChannelEnum.
|
13
|
+
this.channel = payment_channel_enum_1.PaymentChannelEnum.AUTOMATION;
|
14
14
|
this.createdAt = 0;
|
15
15
|
this.fee = 0;
|
16
16
|
this.id = '';
|
17
17
|
this.index = 0;
|
18
18
|
this.maxAmount = 0;
|
19
19
|
this.minAmount = 0;
|
20
|
-
this.mode = payment_mode_enum_1.PaymentModeEnum.
|
20
|
+
this.mode = payment_mode_enum_1.PaymentModeEnum.MANUAL;
|
21
21
|
this.name = '';
|
22
22
|
this.token = '';
|
23
|
-
this.type = payment_type_enum_1.PaymentTypeEnum.
|
23
|
+
this.type = payment_type_enum_1.PaymentTypeEnum.CREDIT_CARD;
|
24
24
|
this.updatedAt = Date.now();
|
25
25
|
if (data) {
|
26
26
|
for (var key in data) {
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BooleanStringEnum = void 0;
|
4
4
|
var BooleanStringEnum;
|
5
5
|
(function (BooleanStringEnum) {
|
6
|
-
BooleanStringEnum["
|
7
|
-
BooleanStringEnum["
|
6
|
+
BooleanStringEnum["FALSE"] = "false";
|
7
|
+
BooleanStringEnum["TRUE"] = "true";
|
8
8
|
})(BooleanStringEnum || (exports.BooleanStringEnum = BooleanStringEnum = {}));
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IntervalTypeEnum = void 0;
|
4
4
|
var IntervalTypeEnum;
|
5
5
|
(function (IntervalTypeEnum) {
|
6
|
-
IntervalTypeEnum["
|
7
|
-
IntervalTypeEnum["
|
8
|
-
IntervalTypeEnum["
|
6
|
+
IntervalTypeEnum["DAYS"] = "DAYS";
|
7
|
+
IntervalTypeEnum["WEEKS"] = "WEEKS";
|
8
|
+
IntervalTypeEnum["MONTHS"] = "MONTHS";
|
9
9
|
})(IntervalTypeEnum || (exports.IntervalTypeEnum = IntervalTypeEnum = {}));
|
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare enum LeadOriginEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
FACEBOOK_ADS = "Facebook Ads",
|
3
|
+
GOOGLE_ADS = "Google Ads",
|
4
|
+
EMAIL_MARKETING = "Email Marketing",
|
5
|
+
REFERRED_BY_FRIEND = "Indica\u00E7\u00E3o de amigo",
|
6
|
+
ORGANIC_SEARCH = "Busca org\u00E2nica",
|
7
|
+
DIRECT_VISIT = "Visita Direta",
|
8
|
+
OTHERS = "Outros"
|
9
9
|
}
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LeadOriginEnum = void 0;
|
4
4
|
var LeadOriginEnum;
|
5
5
|
(function (LeadOriginEnum) {
|
6
|
-
LeadOriginEnum["
|
7
|
-
LeadOriginEnum["
|
8
|
-
LeadOriginEnum["
|
9
|
-
LeadOriginEnum["
|
10
|
-
LeadOriginEnum["
|
11
|
-
LeadOriginEnum["
|
12
|
-
LeadOriginEnum["
|
6
|
+
LeadOriginEnum["FACEBOOK_ADS"] = "Facebook Ads";
|
7
|
+
LeadOriginEnum["GOOGLE_ADS"] = "Google Ads";
|
8
|
+
LeadOriginEnum["EMAIL_MARKETING"] = "Email Marketing";
|
9
|
+
LeadOriginEnum["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
|
10
|
+
LeadOriginEnum["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
|
11
|
+
LeadOriginEnum["DIRECT_VISIT"] = "Visita Direta";
|
12
|
+
LeadOriginEnum["OTHERS"] = "Outros";
|
13
13
|
})(LeadOriginEnum || (exports.LeadOriginEnum = LeadOriginEnum = {}));
|
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare enum OsEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
ANDROID = "ANDROID",
|
3
|
+
IOS = "IOS",
|
4
|
+
WINDOWS_PHONE = "WINDOWS_PHONE",
|
5
|
+
WINDOWS = "WINDOWS",
|
6
|
+
LINUX = "LINUX",
|
7
|
+
OTHER = "OTHER",
|
8
|
+
UNKNOWN = "UNKNOWN"
|
9
9
|
}
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OsEnum = void 0;
|
4
4
|
var OsEnum;
|
5
5
|
(function (OsEnum) {
|
6
|
-
OsEnum["
|
7
|
-
OsEnum["
|
8
|
-
OsEnum["
|
9
|
-
OsEnum["
|
10
|
-
OsEnum["
|
11
|
-
OsEnum["
|
12
|
-
OsEnum["
|
6
|
+
OsEnum["ANDROID"] = "ANDROID";
|
7
|
+
OsEnum["IOS"] = "IOS";
|
8
|
+
OsEnum["WINDOWS_PHONE"] = "WINDOWS_PHONE";
|
9
|
+
OsEnum["WINDOWS"] = "WINDOWS";
|
10
|
+
OsEnum["LINUX"] = "LINUX";
|
11
|
+
OsEnum["OTHER"] = "OTHER";
|
12
|
+
OsEnum["UNKNOWN"] = "UNKNOWN";
|
13
13
|
})(OsEnum || (exports.OsEnum = OsEnum = {}));
|
@@ -1,10 +1,10 @@
|
|
1
1
|
export declare enum PaymentChannelEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
2
|
+
APP = "APP",
|
3
|
+
DELIVERY = "DELIVERY",
|
4
|
+
AUTOMATION = "AUTOMATION",
|
5
|
+
PHONE = "PHONE",
|
6
|
+
MAIL = "MAIL",
|
7
|
+
KIOSK = "KIOSK",
|
8
|
+
QR_CODE = "QR_CODE",
|
9
|
+
WEBSITE = "WEBSITE"
|
10
10
|
}
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaymentChannelEnum = void 0;
|
4
4
|
var PaymentChannelEnum;
|
5
5
|
(function (PaymentChannelEnum) {
|
6
|
-
PaymentChannelEnum["
|
7
|
-
PaymentChannelEnum["
|
8
|
-
PaymentChannelEnum["
|
9
|
-
PaymentChannelEnum["
|
10
|
-
PaymentChannelEnum["
|
11
|
-
PaymentChannelEnum["
|
12
|
-
PaymentChannelEnum["
|
13
|
-
PaymentChannelEnum["
|
6
|
+
PaymentChannelEnum["APP"] = "APP";
|
7
|
+
PaymentChannelEnum["DELIVERY"] = "DELIVERY";
|
8
|
+
PaymentChannelEnum["AUTOMATION"] = "AUTOMATION";
|
9
|
+
PaymentChannelEnum["PHONE"] = "PHONE";
|
10
|
+
PaymentChannelEnum["MAIL"] = "MAIL";
|
11
|
+
PaymentChannelEnum["KIOSK"] = "KIOSK";
|
12
|
+
PaymentChannelEnum["QR_CODE"] = "QR_CODE";
|
13
|
+
PaymentChannelEnum["WEBSITE"] = "WEBSITE";
|
14
14
|
})(PaymentChannelEnum || (exports.PaymentChannelEnum = PaymentChannelEnum = {}));
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaymentModeEnum = void 0;
|
4
4
|
var PaymentModeEnum;
|
5
5
|
(function (PaymentModeEnum) {
|
6
|
-
PaymentModeEnum["
|
7
|
-
PaymentModeEnum["
|
8
|
-
PaymentModeEnum["
|
6
|
+
PaymentModeEnum["ELECTRONIC"] = "ELECTRONIC";
|
7
|
+
PaymentModeEnum["MANUAL"] = "MANUAL";
|
8
|
+
PaymentModeEnum["DIGITAL"] = "DIGITAL";
|
9
9
|
})(PaymentModeEnum || (exports.PaymentModeEnum = PaymentModeEnum = {}));
|
@@ -1,20 +1,20 @@
|
|
1
1
|
export declare enum PaymentTypeEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
2
|
+
CREDIT_CARD = "CREDIT_CARD",
|
3
|
+
DEBIT_CARD = "DEBIT_CARD",
|
4
|
+
CASH = "CASH",
|
5
|
+
PIX = "PIX",
|
6
|
+
MOBILE_PAYMENT = "MOBILE_PAYMENT",
|
7
|
+
CHECK = "CHECK",
|
8
|
+
CRYPTOCURRENCY = "CRYPTOCURRENCY",
|
9
|
+
ELECTRONIC_BANKING = "ELECTRONIC_BANKING",
|
10
|
+
MONEY_ORDER = "MONEY_ORDER",
|
11
|
+
PREPAID_CARD = "PREPAID_CARD",
|
12
|
+
E_WALLET = "E_WALLET",
|
13
|
+
DIRECT_DEBIT = "DIRECT_DEBIT",
|
14
|
+
PAYPAL = "PAYPAL",
|
15
|
+
CHECKOUT_PRO = "CHECKOUT_PRO",
|
16
|
+
WIRE_TRANSFER = "WIRE_TRANSFER",
|
17
|
+
GIFT_CARD = "GIFT_CARD",
|
18
|
+
VOUCHER = "VOUCHER",
|
19
|
+
BILLING = "BILLING"
|
20
20
|
}
|
@@ -3,22 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaymentTypeEnum = void 0;
|
4
4
|
var PaymentTypeEnum;
|
5
5
|
(function (PaymentTypeEnum) {
|
6
|
-
PaymentTypeEnum["
|
7
|
-
PaymentTypeEnum["
|
8
|
-
PaymentTypeEnum["
|
9
|
-
PaymentTypeEnum["
|
10
|
-
PaymentTypeEnum["
|
11
|
-
PaymentTypeEnum["
|
12
|
-
PaymentTypeEnum["
|
13
|
-
PaymentTypeEnum["
|
14
|
-
PaymentTypeEnum["
|
15
|
-
PaymentTypeEnum["
|
16
|
-
PaymentTypeEnum["
|
17
|
-
PaymentTypeEnum["
|
18
|
-
PaymentTypeEnum["
|
19
|
-
PaymentTypeEnum["
|
20
|
-
PaymentTypeEnum["
|
21
|
-
PaymentTypeEnum["
|
22
|
-
PaymentTypeEnum["
|
23
|
-
PaymentTypeEnum["
|
6
|
+
PaymentTypeEnum["CREDIT_CARD"] = "CREDIT_CARD";
|
7
|
+
PaymentTypeEnum["DEBIT_CARD"] = "DEBIT_CARD";
|
8
|
+
PaymentTypeEnum["CASH"] = "CASH";
|
9
|
+
PaymentTypeEnum["PIX"] = "PIX";
|
10
|
+
PaymentTypeEnum["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
|
11
|
+
PaymentTypeEnum["CHECK"] = "CHECK";
|
12
|
+
PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
|
13
|
+
PaymentTypeEnum["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
|
14
|
+
PaymentTypeEnum["MONEY_ORDER"] = "MONEY_ORDER";
|
15
|
+
PaymentTypeEnum["PREPAID_CARD"] = "PREPAID_CARD";
|
16
|
+
PaymentTypeEnum["E_WALLET"] = "E_WALLET";
|
17
|
+
PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
|
18
|
+
PaymentTypeEnum["PAYPAL"] = "PAYPAL";
|
19
|
+
PaymentTypeEnum["CHECKOUT_PRO"] = "CHECKOUT_PRO";
|
20
|
+
PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
|
21
|
+
PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
|
22
|
+
PaymentTypeEnum["VOUCHER"] = "VOUCHER";
|
23
|
+
PaymentTypeEnum["BILLING"] = "BILLING";
|
24
24
|
})(PaymentTypeEnum || (exports.PaymentTypeEnum = PaymentTypeEnum = {}));
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LegalEntiyEnum = void 0;
|
4
4
|
var LegalEntiyEnum;
|
5
5
|
(function (LegalEntiyEnum) {
|
6
|
-
LegalEntiyEnum["
|
7
|
-
LegalEntiyEnum["
|
6
|
+
LegalEntiyEnum["LEGAL"] = "Pessoa Jur\u00EDdica";
|
7
|
+
LegalEntiyEnum["INDIVIDUAL"] = "Pessoa F\u00EDsica";
|
8
8
|
})(LegalEntiyEnum || (exports.LegalEntiyEnum = LegalEntiyEnum = {}));
|
@@ -3,8 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PlatfomrEnum = void 0;
|
4
4
|
var PlatfomrEnum;
|
5
5
|
(function (PlatfomrEnum) {
|
6
|
-
PlatfomrEnum["
|
7
|
-
PlatfomrEnum["
|
8
|
-
PlatfomrEnum["
|
9
|
-
PlatfomrEnum["
|
6
|
+
PlatfomrEnum["MOBILE"] = "Mobile";
|
7
|
+
PlatfomrEnum["WEB"] = "Web";
|
8
|
+
PlatfomrEnum["DESKTOP"] = "Desktop";
|
9
|
+
PlatfomrEnum["TABLET"] = "Tablet";
|
10
|
+
PlatfomrEnum["TV"] = "Tv";
|
11
|
+
PlatfomrEnum["CHROMEBOOK"] = "Chromebook";
|
12
|
+
PlatfomrEnum["OTHER"] = "Other";
|
10
13
|
})(PlatfomrEnum || (exports.PlatfomrEnum = PlatfomrEnum = {}));
|
@@ -1,8 +1,8 @@
|
|
1
1
|
export declare enum PaymentProviderEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
IUGU = "IUGU",
|
3
|
+
DESENFILA = "DESENFILA",
|
4
|
+
MERCADO_PAGO = "MERCADO PAGO",
|
5
|
+
STRIPE = "STRIPE",
|
6
|
+
PAYPAL = "PAYPAL",
|
7
|
+
OTHER = "OTHER"
|
8
8
|
}
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaymentProviderEnum = void 0;
|
4
4
|
var PaymentProviderEnum;
|
5
5
|
(function (PaymentProviderEnum) {
|
6
|
-
PaymentProviderEnum["
|
7
|
-
PaymentProviderEnum["
|
8
|
-
PaymentProviderEnum["
|
9
|
-
PaymentProviderEnum["
|
10
|
-
PaymentProviderEnum["
|
11
|
-
PaymentProviderEnum["
|
6
|
+
PaymentProviderEnum["IUGU"] = "IUGU";
|
7
|
+
PaymentProviderEnum["DESENFILA"] = "DESENFILA";
|
8
|
+
PaymentProviderEnum["MERCADO_PAGO"] = "MERCADO PAGO";
|
9
|
+
PaymentProviderEnum["STRIPE"] = "STRIPE";
|
10
|
+
PaymentProviderEnum["PAYPAL"] = "PAYPAL";
|
11
|
+
PaymentProviderEnum["OTHER"] = "OTHER";
|
12
12
|
})(PaymentProviderEnum || (exports.PaymentProviderEnum = PaymentProviderEnum = {}));
|
@@ -22,7 +22,7 @@ var InviteEntity = /** @class */ (function () {
|
|
22
22
|
this.name = '';
|
23
23
|
this.phoneNumber = '';
|
24
24
|
this.photoURL = '';
|
25
|
-
this.status = enums_1.InviteStatusEnum.
|
25
|
+
this.status = enums_1.InviteStatusEnum.PENDING;
|
26
26
|
this.uid = '';
|
27
27
|
this.updatedAt = Date.now();
|
28
28
|
if (data) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export declare enum InviteStatusEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
ACCEPTED = "ACCEPTED",
|
3
|
+
PENDING = "PENDING",
|
4
|
+
REJECTED = "REJECTED",
|
5
|
+
EXPIRED = "EXPIRED",
|
6
|
+
CANCELED = "CANCELED"
|
7
7
|
}
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InviteStatusEnum = void 0;
|
4
4
|
var InviteStatusEnum;
|
5
5
|
(function (InviteStatusEnum) {
|
6
|
-
InviteStatusEnum["
|
7
|
-
InviteStatusEnum["
|
8
|
-
InviteStatusEnum["
|
9
|
-
InviteStatusEnum["
|
10
|
-
InviteStatusEnum["
|
6
|
+
InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
|
7
|
+
InviteStatusEnum["PENDING"] = "PENDING";
|
8
|
+
InviteStatusEnum["REJECTED"] = "REJECTED";
|
9
|
+
InviteStatusEnum["EXPIRED"] = "EXPIRED";
|
10
|
+
InviteStatusEnum["CANCELED"] = "CANCELED";
|
11
11
|
})(InviteStatusEnum || (exports.InviteStatusEnum = InviteStatusEnum = {}));
|
@@ -10,7 +10,7 @@ var LastVerificationRequestDataEntity = /** @class */ (function () {
|
|
10
10
|
// #region Properties (19)
|
11
11
|
this.accountType = '';
|
12
12
|
this.address = '';
|
13
|
-
this.automaticTransfer = enums_1.BooleanStringEnum.
|
13
|
+
this.automaticTransfer = enums_1.BooleanStringEnum.FALSE;
|
14
14
|
this.bank = '';
|
15
15
|
this.bankAg = '';
|
16
16
|
this.bankCc = '';
|
@@ -22,8 +22,8 @@ var LastVerificationRequestDataEntity = /** @class */ (function () {
|
|
22
22
|
this.documentCpf = '';
|
23
23
|
this.documentId = '';
|
24
24
|
this.name = '';
|
25
|
-
this.personType = person_type_enum_1.LegalEntiyEnum.
|
26
|
-
this.physicalProducts = enums_1.BooleanStringEnum.
|
25
|
+
this.personType = person_type_enum_1.LegalEntiyEnum.LEGAL;
|
26
|
+
this.physicalProducts = enums_1.BooleanStringEnum.FALSE;
|
27
27
|
this.priceRange = '';
|
28
28
|
this.state = '';
|
29
29
|
this.telephone = '';
|
@@ -10,7 +10,7 @@ var IuguAccountEntity = /** @class */ (function () {
|
|
10
10
|
// #region Properties (54)
|
11
11
|
this.autoAdvance = false;
|
12
12
|
this.autoAdvanceOption = 0;
|
13
|
-
this.autoAdvanceType = enums_1.IuguAutoAdvanceEnum.
|
13
|
+
this.autoAdvanceType = enums_1.IuguAutoAdvanceEnum.DAILY;
|
14
14
|
this.autoWithdraw = false;
|
15
15
|
this.balance = '';
|
16
16
|
this.balanceAvailableForWithdraw = '';
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IuguAutoAdvanceEnum = void 0;
|
4
4
|
var IuguAutoAdvanceEnum;
|
5
5
|
(function (IuguAutoAdvanceEnum) {
|
6
|
-
IuguAutoAdvanceEnum["
|
7
|
-
IuguAutoAdvanceEnum["
|
8
|
-
IuguAutoAdvanceEnum["
|
9
|
-
IuguAutoAdvanceEnum["
|
6
|
+
IuguAutoAdvanceEnum["DAYS_AFTER_PAYMENT"] = "days_after_payment";
|
7
|
+
IuguAutoAdvanceEnum["DAILY"] = "daily";
|
8
|
+
IuguAutoAdvanceEnum["WEEKLY"] = "weekly";
|
9
|
+
IuguAutoAdvanceEnum["MONTHLY"] = "monthly";
|
10
10
|
})(IuguAutoAdvanceEnum || (exports.IuguAutoAdvanceEnum = IuguAutoAdvanceEnum = {}));
|
@@ -2,6 +2,8 @@ import { DocTypeEnum, LeadOriginEnum } from '../../general/enums';
|
|
2
2
|
import { LeadStatusEnum } from '../enums';
|
3
3
|
import { ILead } from '../interfaces';
|
4
4
|
export declare class LeadEntity implements ILead {
|
5
|
+
/**Lista de produtos ou serviços de interesse. */
|
6
|
+
activity?: string[];
|
5
7
|
/**Status atual. */
|
6
8
|
agentId: string;
|
7
9
|
/**Endereço de e-mail principal para contato. */
|
@@ -25,10 +27,10 @@ export declare class LeadEntity implements ILead {
|
|
25
27
|
lastContacted?: number;
|
26
28
|
/**Número do documento conforme o tipo. */
|
27
29
|
name: string;
|
28
|
-
|
29
|
-
notes?: string[];
|
30
|
+
note?: string;
|
30
31
|
/**Outros endereços de e-mail, se disponíveis. */
|
31
32
|
phoneNumber?: string;
|
33
|
+
responsibleId?: string;
|
32
34
|
/**Outros números de telefone, se disponíveis. */
|
33
35
|
sandbox: boolean;
|
34
36
|
source: LeadOriginEnum;
|
@@ -4,10 +4,12 @@ exports.LeadEntity = void 0;
|
|
4
4
|
var enums_1 = require("../../general/enums");
|
5
5
|
var enums_2 = require("../enums");
|
6
6
|
var LeadEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (
|
7
|
+
// #endregion Properties (21)
|
8
8
|
// #region Constructors (1)
|
9
9
|
function LeadEntity(data) {
|
10
|
-
// #region Properties (
|
10
|
+
// #region Properties (21)
|
11
|
+
/**Lista de produtos ou serviços de interesse. */
|
12
|
+
this.activity = [];
|
11
13
|
/**Status atual. */
|
12
14
|
this.agentId = '';
|
13
15
|
/**Endereço de e-mail principal para contato. */
|
@@ -31,15 +33,15 @@ var LeadEntity = /** @class */ (function () {
|
|
31
33
|
this.lastContacted = Date.now();
|
32
34
|
/**Número do documento conforme o tipo. */
|
33
35
|
this.name = '';
|
34
|
-
|
35
|
-
this.notes = [];
|
36
|
+
this.note = '';
|
36
37
|
/**Outros endereços de e-mail, se disponíveis. */
|
37
38
|
this.phoneNumber = '';
|
39
|
+
this.responsibleId = '';
|
38
40
|
/**Outros números de telefone, se disponíveis. */
|
39
41
|
this.sandbox = false;
|
40
|
-
this.source = enums_1.LeadOriginEnum.
|
42
|
+
this.source = enums_1.LeadOriginEnum.OTHERS;
|
41
43
|
/**Data e hora do último contato. */
|
42
|
-
this.status = enums_2.LeadStatusEnum.
|
44
|
+
this.status = enums_2.LeadStatusEnum.NEW;
|
43
45
|
/**ID do colaborador responsável pelo lead. */
|
44
46
|
this.tags = [];
|
45
47
|
this.updatedAt = Date.now();
|
@@ -1,7 +1,14 @@
|
|
1
1
|
export declare enum LeadStatusEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
NEW = "Novo",
|
3
|
+
CONTACTED = "Contactado",
|
4
|
+
IN_PROGRESS = "Em Progresso",
|
5
|
+
PAUSED = "Pausado",
|
6
|
+
CONVERTED = "Convertido",
|
7
|
+
NOT_INTERESTED = "N\u00E3o Interessado",
|
8
|
+
NURTURING = "Nutrindo",
|
9
|
+
RECYCLED = "Reciclado",
|
10
|
+
DISQUALIFIED = "Desqualificado",
|
11
|
+
CLOSED = "Fechado",
|
12
|
+
LOST = "Perdido",
|
13
|
+
UNQUALIFIED = "N\u00E3o Qualificado"
|
7
14
|
}
|
@@ -3,9 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LeadStatusEnum = void 0;
|
4
4
|
var LeadStatusEnum;
|
5
5
|
(function (LeadStatusEnum) {
|
6
|
-
LeadStatusEnum["
|
7
|
-
LeadStatusEnum["
|
8
|
-
LeadStatusEnum["
|
9
|
-
LeadStatusEnum["
|
10
|
-
LeadStatusEnum["
|
6
|
+
LeadStatusEnum["NEW"] = "Novo";
|
7
|
+
LeadStatusEnum["CONTACTED"] = "Contactado";
|
8
|
+
LeadStatusEnum["IN_PROGRESS"] = "Em Progresso";
|
9
|
+
LeadStatusEnum["PAUSED"] = "Pausado";
|
10
|
+
LeadStatusEnum["CONVERTED"] = "Convertido";
|
11
|
+
LeadStatusEnum["NOT_INTERESTED"] = "N\u00E3o Interessado";
|
12
|
+
LeadStatusEnum["NURTURING"] = "Nutrindo";
|
13
|
+
LeadStatusEnum["RECYCLED"] = "Reciclado";
|
14
|
+
LeadStatusEnum["DISQUALIFIED"] = "Desqualificado";
|
15
|
+
LeadStatusEnum["CLOSED"] = "Fechado";
|
16
|
+
LeadStatusEnum["LOST"] = "Perdido";
|
17
|
+
LeadStatusEnum["UNQUALIFIED"] = "N\u00E3o Qualificado";
|
11
18
|
})(LeadStatusEnum || (exports.LeadStatusEnum = LeadStatusEnum = {}));
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { LeadOriginEnum } from '../../general/enums';
|
2
2
|
import { LeadStatusEnum } from '../enums';
|
3
3
|
export interface ILead {
|
4
|
+
activity?: string[];
|
4
5
|
agentId: string;
|
5
6
|
alternateEmails?: string[];
|
6
7
|
alternatePhones?: string[];
|
@@ -13,8 +14,9 @@ export interface ILead {
|
|
13
14
|
interestedIn: string[];
|
14
15
|
lastContacted?: number;
|
15
16
|
name: string;
|
16
|
-
|
17
|
+
note?: string;
|
17
18
|
phoneNumber?: string;
|
19
|
+
responsibleId?: string;
|
18
20
|
sandbox: boolean;
|
19
21
|
source: LeadOriginEnum;
|
20
22
|
status: LeadStatusEnum;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BaseEntity } from '../../general';
|
2
|
-
import { MemberRulesEnum } from '../enums';
|
2
|
+
import { MemberRulesEnum, MemberTypeEnum } from '../enums';
|
3
3
|
import { IMember } from '../interfaces';
|
4
4
|
export declare class MemberEntity extends BaseEntity implements IMember {
|
5
5
|
active: boolean;
|
@@ -12,6 +12,7 @@ export declare class MemberEntity extends BaseEntity implements IMember {
|
|
12
12
|
photoURL: string;
|
13
13
|
rule: MemberRulesEnum;
|
14
14
|
tags: string[];
|
15
|
+
type: MemberTypeEnum;
|
15
16
|
uid: string;
|
16
17
|
constructor(data?: Partial<MemberEntity>);
|
17
18
|
}
|