cecon-interfaces 1.0.25 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/app.entity.d.ts +27 -0
- package/dist/app/entities/app.entity.js +37 -0
- package/dist/app/entities/index.d.ts +2 -0
- package/dist/app/entities/index.js +7 -0
- package/dist/app/enums/app-category.enum.d.ts +30 -0
- package/dist/app/enums/app-category.enum.js +34 -0
- package/dist/app/enums/header-type.enum.d.ts +4 -0
- package/dist/app/enums/header-type.enum.js +8 -0
- package/dist/app/enums/index.d.ts +2 -0
- package/dist/app/enums/index.js +7 -0
- package/dist/app/index.d.ts +4 -0
- package/dist/app/index.js +20 -0
- package/dist/app/interfaces/i-app.d.ts +25 -0
- package/dist/app/interfaces/i-natigo.js +2 -0
- package/dist/app/interfaces/index.d.ts +2 -0
- package/dist/app/interfaces/index.js +2 -0
- package/dist/app/types/app-config.type.d.ts +2 -0
- package/dist/app/types/app-config.type.js +2 -0
- package/dist/app/types/index.d.ts +1 -0
- package/dist/app/types/index.js +2 -0
- 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.d.ts +5 -4
- package/dist/device/entities/device.entity.js +6 -7
- package/dist/device/entities/index.d.ts +0 -1
- package/dist/device/entities/index.js +1 -3
- package/dist/device/entities/installed-apps.entity.d.ts +18 -0
- package/dist/device/entities/installed-apps.entity.js +32 -0
- package/dist/device/entities/metadata.entity.d.ts +1 -1
- package/dist/device/entities/metadata.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/device/interfaces/i-device.d.ts +5 -4
- package/dist/device/interfaces/i-installed-apps.d.ts +16 -0
- package/dist/device/interfaces/i-installed-apps.js +2 -0
- package/dist/device/interfaces/index.d.ts +0 -1
- package/dist/esm2022/app/entities/app.entity.mjs +33 -0
- package/dist/esm2022/app/entities/index.mjs +3 -0
- package/dist/esm2022/app/entities/natigo.entity.mjs +19 -0
- package/dist/esm2022/app/enums/app-category.enum.mjs +32 -0
- package/dist/esm2022/app/enums/header-type.enum.mjs +6 -0
- package/dist/esm2022/app/enums/index.mjs +3 -0
- package/dist/esm2022/app/index.mjs +5 -0
- package/dist/esm2022/app/interfaces/i-app.mjs +2 -0
- package/dist/esm2022/app/interfaces/i-natigo.mjs +2 -0
- package/dist/esm2022/app/interfaces/index.mjs +2 -0
- package/dist/esm2022/app/types/app-config.type.mjs +2 -0
- package/dist/esm2022/app/types/index.mjs +2 -0
- 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 +7 -8
- package/dist/esm2022/device/entities/index.mjs +1 -2
- package/dist/esm2022/device/entities/installed-apps.entity.mjs +28 -0
- package/dist/esm2022/device/entities/metadata.entity.mjs +2 -2
- package/dist/esm2022/device/enums/device-mode.enum.mjs +8 -7
- package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/device/interfaces/i-installed-apps.mjs +2 -0
- package/dist/esm2022/device/interfaces/index.mjs +1 -1
- package/dist/esm2022/general/entities/carousel-image.entity.mjs +18 -0
- package/dist/esm2022/general/entities/coords.entity.mjs +4 -1
- package/dist/esm2022/general/entities/index.mjs +3 -1
- 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/entities/rating.entity.mjs +19 -0
- package/dist/esm2022/general/enums/boolean-string.enum.mjs +3 -3
- package/dist/esm2022/general/enums/index.mjs +2 -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 +11 -0
- 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 +11 -0
- package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
- package/dist/esm2022/general/interfaces/i-carousel-image.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-rating.mjs +2 -0
- package/dist/esm2022/general/interfaces/index.mjs +1 -1
- 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 +222 -142
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/carousel-image.entity.d.ts +7 -0
- package/dist/general/entities/carousel-image.entity.js +22 -0
- package/dist/general/entities/coords.entity.js +3 -0
- package/dist/general/entities/index.d.ts +2 -0
- package/dist/general/entities/index.js +5 -1
- package/dist/general/entities/origin.entity.js +1 -1
- package/dist/general/entities/payment-method.entity.js +3 -3
- package/dist/general/entities/rating.entity.d.ts +8 -0
- package/dist/general/entities/rating.entity.js +23 -0
- 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 +1 -0
- package/dist/general/enums/index.js +3 -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 +9 -0
- package/dist/general/enums/os.enum.js +13 -0
- 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 +9 -0
- package/dist/general/enums/platform.enum.js +13 -0
- package/dist/general/enums/providers.enum.d.ts +6 -6
- package/dist/general/enums/providers.enum.js +6 -6
- package/dist/general/interfaces/i-carousel-image.d.ts +5 -0
- package/dist/general/interfaces/i-carousel-image.js +2 -0
- package/dist/general/interfaces/i-rating.d.ts +6 -0
- package/dist/general/interfaces/i-rating.js +2 -0
- package/dist/general/interfaces/index.d.ts +2 -0
- 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
- package/dist/esm2022/device/entities/natigo.entity.mjs +0 -19
- package/dist/esm2022/device/interfaces/i-natigo.mjs +0 -2
- /package/dist/{device → app}/entities/natigo.entity.d.ts +0 -0
- /package/dist/{device → app}/entities/natigo.entity.js +0 -0
- /package/dist/{device/interfaces/i-natigo.js → app/interfaces/i-app.js} +0 -0
- /package/dist/{device → app}/interfaces/i-natigo.d.ts +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CarouselImageEntity = void 0;
|
4
|
+
var CarouselImageEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function CarouselImageEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.caption = '';
|
10
|
+
this.id = '';
|
11
|
+
this.url = '';
|
12
|
+
if (data) {
|
13
|
+
for (var key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return CarouselImageEntity;
|
21
|
+
}());
|
22
|
+
exports.CarouselImageEntity = CarouselImageEntity;
|
@@ -2,7 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CoordsEntity = void 0;
|
4
4
|
var CoordsEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
5
7
|
function CoordsEntity(data) {
|
8
|
+
// #region Properties (2)
|
6
9
|
this.latitude = 0;
|
7
10
|
this.longitude = 0;
|
8
11
|
if (data) {
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export { AddressEntity } from './address.entity';
|
2
2
|
export { BaseEntity } from './base.entity';
|
3
|
+
export { CarouselImageEntity } from './carousel-image.entity';
|
3
4
|
export { CoordsEntity } from './coords.entity';
|
4
5
|
export { DeliveryAreaEntity } from './delivery-area.entity';
|
5
6
|
export { DeliveryAreaFixedEntity } from './dellivery-area-fixed.entity';
|
@@ -11,3 +12,4 @@ export { PaymentProviderAgentEntity } from './payment-provider-agent.entity';
|
|
11
12
|
export { PaymentProviderEntity } from './payment-provider.entity';
|
12
13
|
export { PaymentTokenDataEntity } from './payment-token-data.entity';
|
13
14
|
export { PaymentTokenEntity } from './payment-token.entity';
|
15
|
+
export { RatingEntity } from './rating.entity';
|
@@ -1,10 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentMethodEntity = exports.OriginEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CoordsEntity = exports.BaseEntity = exports.AddressEntity = void 0;
|
3
|
+
exports.RatingEntity = exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentMethodEntity = exports.OriginEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CoordsEntity = exports.CarouselImageEntity = exports.BaseEntity = exports.AddressEntity = void 0;
|
4
4
|
var address_entity_1 = require("./address.entity");
|
5
5
|
Object.defineProperty(exports, "AddressEntity", { enumerable: true, get: function () { return address_entity_1.AddressEntity; } });
|
6
6
|
var base_entity_1 = require("./base.entity");
|
7
7
|
Object.defineProperty(exports, "BaseEntity", { enumerable: true, get: function () { return base_entity_1.BaseEntity; } });
|
8
|
+
var carousel_image_entity_1 = require("./carousel-image.entity");
|
9
|
+
Object.defineProperty(exports, "CarouselImageEntity", { enumerable: true, get: function () { return carousel_image_entity_1.CarouselImageEntity; } });
|
8
10
|
var coords_entity_1 = require("./coords.entity");
|
9
11
|
Object.defineProperty(exports, "CoordsEntity", { enumerable: true, get: function () { return coords_entity_1.CoordsEntity; } });
|
10
12
|
var delivery_area_entity_1 = require("./delivery-area.entity");
|
@@ -27,3 +29,5 @@ var payment_token_data_entity_1 = require("./payment-token-data.entity");
|
|
27
29
|
Object.defineProperty(exports, "PaymentTokenDataEntity", { enumerable: true, get: function () { return payment_token_data_entity_1.PaymentTokenDataEntity; } });
|
28
30
|
var payment_token_entity_1 = require("./payment-token.entity");
|
29
31
|
Object.defineProperty(exports, "PaymentTokenEntity", { enumerable: true, get: function () { return payment_token_entity_1.PaymentTokenEntity; } });
|
32
|
+
var rating_entity_1 = require("./rating.entity");
|
33
|
+
Object.defineProperty(exports, "RatingEntity", { enumerable: true, get: function () { return rating_entity_1.RatingEntity; } });
|
@@ -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) {
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RatingEntity = void 0;
|
4
|
+
var RatingEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function RatingEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.comment = '';
|
10
|
+
this.createdAt = Date.now();
|
11
|
+
this.rating = 5;
|
12
|
+
this.userId = '';
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return RatingEntity;
|
22
|
+
}());
|
23
|
+
exports.RatingEntity = RatingEntity;
|
@@ -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 = {}));
|
@@ -5,4 +5,5 @@ export { LeadOriginEnum } from './lead-origin.enum';
|
|
5
5
|
export { PaymentChannelEnum } from './payment-channel.enum';
|
6
6
|
export { PaymentModeEnum } from './payment-mode.enum';
|
7
7
|
export { PaymentTypeEnum } from './payment-type.enum';
|
8
|
+
export { PlatfomrEnum } from './platform.enum';
|
8
9
|
export { PaymentProviderEnum } from './providers.enum';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PaymentProviderEnum = exports.PaymentTypeEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.LeadOriginEnum = exports.IntervalTypeEnum = exports.DocTypeEnum = exports.BooleanStringEnum = void 0;
|
3
|
+
exports.PaymentProviderEnum = exports.PlatfomrEnum = exports.PaymentTypeEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.LeadOriginEnum = exports.IntervalTypeEnum = exports.DocTypeEnum = exports.BooleanStringEnum = void 0;
|
4
4
|
var boolean_string_enum_1 = require("./boolean-string.enum");
|
5
5
|
Object.defineProperty(exports, "BooleanStringEnum", { enumerable: true, get: function () { return boolean_string_enum_1.BooleanStringEnum; } });
|
6
6
|
var doc_type_enum_1 = require("./doc-type.enum");
|
@@ -15,5 +15,7 @@ var payment_mode_enum_1 = require("./payment-mode.enum");
|
|
15
15
|
Object.defineProperty(exports, "PaymentModeEnum", { enumerable: true, get: function () { return payment_mode_enum_1.PaymentModeEnum; } });
|
16
16
|
var payment_type_enum_1 = require("./payment-type.enum");
|
17
17
|
Object.defineProperty(exports, "PaymentTypeEnum", { enumerable: true, get: function () { return payment_type_enum_1.PaymentTypeEnum; } });
|
18
|
+
var platform_enum_1 = require("./platform.enum");
|
19
|
+
Object.defineProperty(exports, "PlatfomrEnum", { enumerable: true, get: function () { return platform_enum_1.PlatfomrEnum; } });
|
18
20
|
var providers_enum_1 = require("./providers.enum");
|
19
21
|
Object.defineProperty(exports, "PaymentProviderEnum", { enumerable: true, get: function () { return providers_enum_1.PaymentProviderEnum; } });
|
@@ -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 = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OsEnum = void 0;
|
4
|
+
var OsEnum;
|
5
|
+
(function (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
|
+
})(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 = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PlatfomrEnum = void 0;
|
4
|
+
var PlatfomrEnum;
|
5
|
+
(function (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";
|
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 = {}));
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export { IAddress } from './i-address';
|
2
2
|
export { IBase } from './i-base';
|
3
|
+
export { ICarouselImage } from './i-carousel-image';
|
3
4
|
export { ICoords } from './i-coords';
|
4
5
|
export { IDeliveryArea } from './i-delivery-area';
|
5
6
|
export { IDeliveryAreaFixed } from './i-delivery-area-fixed';
|
@@ -11,3 +12,4 @@ export { IPaymentProvider } from './i-payment-provider';
|
|
11
12
|
export { IPaymentProviderAgent } from './i-payment-provider-agent';
|
12
13
|
export { IPaymentToken } from './i-payment-token';
|
13
14
|
export { IPaymentTokenData } from './i-payment-token-data';
|
15
|
+
export { IRating } from './i-rating';
|
@@ -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 = '';
|