cecon-interfaces 1.1.62 → 1.1.63
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/app.entity.js +71 -0
- package/dist/app/entities/index.js +9 -0
- package/dist/app/entities/natigo.entity.js +28 -0
- package/dist/app/entities/rabbit.entity.js +45 -0
- package/dist/app/enums/app-category.enum.js +34 -0
- package/dist/app/enums/app-type.enum.js +10 -0
- package/dist/app/enums/header-type.enum.js +8 -0
- package/dist/app/enums/index.js +11 -0
- package/dist/app/enums/mode.enum.js +15 -0
- package/dist/app/index.js +20 -0
- package/dist/app/interfaces/i-app.js +2 -0
- package/dist/app/interfaces/i-natigo.js +2 -0
- package/dist/app/interfaces/i-rabbit.js +2 -0
- package/dist/app/interfaces/index.js +2 -0
- package/dist/app/types/app-config.type.js +2 -0
- package/dist/app/types/index.js +2 -0
- package/dist/campaign/entities/campaign.entity.js +30 -0
- package/dist/campaign/entities/index.js +5 -0
- package/dist/campaign/enums/e-campaign-status.enum.js +11 -0
- package/dist/campaign/enums/index.js +5 -0
- package/dist/campaign/index.js +19 -0
- package/dist/campaign/interfaces/i-campaign.js +2 -0
- package/dist/campaign/interfaces/index.js +2 -0
- package/dist/company/entities/company.entity.js +49 -0
- package/dist/company/entities/index.js +6 -0
- package/dist/company/enums/index.js +8 -0
- package/dist/company/enums/keys.enum.js +11 -0
- package/dist/company/enums/message-type.enum.js +9 -0
- package/dist/company/index.js +19 -0
- package/dist/company/interfaces/i-company.js +2 -0
- package/dist/company/interfaces/index.js +2 -0
- package/dist/container/entities/container.entity.js +39 -0
- package/dist/container/entities/index.js +5 -0
- package/dist/container/index.js +18 -0
- package/dist/container/interfaces/i-container.js +2 -0
- package/dist/container/interfaces/index.js +2 -0
- package/dist/device/entities/device.entity.js +34 -0
- package/dist/device/entities/index.js +8 -0
- package/dist/device/entities/metadata.entity.js +21 -0
- package/dist/device/index.js +18 -0
- package/dist/device/interfaces/i-device.js +2 -0
- package/dist/device/interfaces/i-metadata.js +2 -0
- package/dist/device/interfaces/index.js +3 -0
- package/dist/feature/entities/feature.entity.js +30 -0
- package/dist/feature/entities/index.js +5 -0
- package/dist/feature/index.js +18 -0
- package/dist/feature/interfaces/i-feature.js +2 -0
- package/dist/feature/interfaces/index.js +2 -0
- package/dist/general/entities/address.entity.js +28 -0
- package/dist/general/entities/base.entity.js +26 -0
- package/dist/general/entities/carousel-image.entity.js +22 -0
- package/dist/general/entities/coords.entity.js +21 -0
- package/dist/general/entities/custom-variable.entity.js +21 -0
- package/dist/general/entities/delivery-area.entity.js +27 -0
- package/dist/general/entities/dellivery-area-fixed.entity.js +24 -0
- package/dist/general/entities/index.js +49 -0
- package/dist/general/entities/messager-channel.entity.js +22 -0
- package/dist/general/entities/mobyo-apiconfig.entity.js +25 -0
- package/dist/general/entities/origin.entity.js +26 -0
- package/dist/general/entities/payment-card.entity.js +22 -0
- package/dist/general/entities/payment-cash.entity.js +20 -0
- package/dist/general/entities/payment-method-option.entity.js +35 -0
- package/dist/general/entities/payment-method.entity.js +31 -0
- package/dist/general/entities/payment-pix.entity.js +21 -0
- package/dist/general/entities/payment-provider-agent.entity.js +22 -0
- package/dist/general/entities/payment-provider.entity.js +33 -0
- package/dist/general/entities/payment-token-data.entity.js +26 -0
- package/dist/general/entities/payment-token.entity.js +25 -0
- package/dist/general/entities/payment-wallet.entity.js +20 -0
- package/dist/general/entities/payment.entity.js +29 -0
- package/dist/general/entities/rating.entity.js +23 -0
- package/dist/general/entities/sponsorship-value.entity.js +21 -0
- package/dist/general/enums/bank-slip-status.enum.js +11 -0
- package/dist/general/enums/boolean-string.enum.js +8 -0
- package/dist/general/enums/doc-type.enum.js +8 -0
- package/dist/general/enums/e-discount-type.enum.js +8 -0
- package/dist/general/enums/fiscal-doc-model-code.enum.js +15 -0
- package/dist/general/enums/index.js +35 -0
- package/dist/general/enums/interval-type.enum.js +9 -0
- package/dist/general/enums/lead-origin.enum.js +13 -0
- package/dist/general/enums/os.enum.js +14 -0
- package/dist/general/enums/payment-channel.enum.js +14 -0
- package/dist/general/enums/payment-mode.enum.js +9 -0
- package/dist/general/enums/payment-status.enum.js +15 -0
- package/dist/general/enums/payment-type.enum.js +26 -0
- package/dist/general/enums/person-type.enum.js +8 -0
- package/dist/general/enums/platform.enum.js +13 -0
- package/dist/general/enums/providers.enum.js +12 -0
- package/dist/general/enums/sponsorship-values.enum.js +10 -0
- package/dist/general/index.js +19 -0
- package/dist/general/interfaces/i-address.js +2 -0
- package/dist/general/interfaces/i-base.js +3 -0
- package/dist/general/interfaces/i-carousel-image.js +2 -0
- package/dist/general/interfaces/i-coords.js +2 -0
- package/dist/general/interfaces/i-custom-variable.js +3 -0
- package/dist/general/interfaces/i-delivery-area-fixed.js +2 -0
- package/dist/general/interfaces/i-delivery-area.js +2 -0
- package/dist/general/interfaces/i-messager-channel.js +2 -0
- package/dist/general/interfaces/i-mobyo-api-config.js +2 -0
- package/dist/general/interfaces/i-origin.js +2 -0
- package/dist/general/interfaces/i-payment-card.js +2 -0
- package/dist/general/interfaces/i-payment-cash.js +2 -0
- package/dist/general/interfaces/i-payment-method-option.js +2 -0
- package/dist/general/interfaces/i-payment-method.js +2 -0
- package/dist/general/interfaces/i-payment-pix.js +2 -0
- package/dist/general/interfaces/i-payment-provider-agent.js +2 -0
- package/dist/general/interfaces/i-payment-provider.js +2 -0
- package/dist/general/interfaces/i-payment-token-data.js +3 -0
- package/dist/general/interfaces/i-payment-token.js +3 -0
- package/dist/general/interfaces/i-payment-wallet.js +2 -0
- package/dist/general/interfaces/i-payment.js +2 -0
- package/dist/general/interfaces/i-rating.js +2 -0
- package/dist/general/interfaces/i-sponsorship-value.js +2 -0
- package/dist/general/interfaces/index.js +3 -0
- package/dist/global-settings/entities/global-setting-iugu.entity.js +71 -0
- package/dist/global-settings/entities/global-setting-master.entity.js +35 -0
- package/dist/global-settings/entities/global-setting.entity.js +22 -0
- package/dist/global-settings/entities/index.js +9 -0
- package/dist/global-settings/index.js +18 -0
- package/dist/global-settings/interfaces/i-global-setting-iugu.js +2 -0
- package/dist/global-settings/interfaces/i-global-setting-master.js +2 -0
- package/dist/global-settings/interfaces/i-global-setting.js +2 -0
- package/dist/global-settings/interfaces/index.js +2 -0
- package/dist/index.js +41 -0
- package/dist/installation/entities/index.js +5 -0
- package/dist/installation/entities/installation-app.entity.js +25 -0
- package/dist/installation/entities/installation.entity.js +34 -0
- package/dist/installation/enums/index.js +5 -0
- package/dist/installation/enums/status.enum.js +15 -0
- package/dist/installation/index.js +19 -0
- package/dist/installation/interfaces/i-installation-app.js +2 -0
- package/dist/installation/interfaces/i-installation.js +2 -0
- package/dist/installation/interfaces/index.js +2 -0
- package/dist/invite/entities/index.js +5 -0
- package/dist/invite/entities/invite.entity.js +38 -0
- package/dist/invite/enums/index.js +5 -0
- package/dist/invite/enums/status.enum.js +11 -0
- package/dist/invite/index.js +19 -0
- package/dist/invite/interfaces/i-invite.js +2 -0
- package/dist/invite/interfaces/index.js +2 -0
- package/dist/invoice/entities/index.js +17 -0
- package/dist/invoice/entities/invoice-bank-slip.entity.js +27 -0
- package/dist/invoice/entities/invoice-credit-card.entity.js +25 -0
- package/dist/invoice/entities/invoice-item.entity.js +22 -0
- package/dist/invoice/entities/invoice-log.entity.js +23 -0
- package/dist/invoice/entities/invoice-payer.entity.js +26 -0
- package/dist/invoice/entities/invoice-pix.entity.js +24 -0
- package/dist/invoice/entities/invoice.entity.js +62 -0
- package/dist/invoice/enums/index.js +5 -0
- package/dist/invoice/enums/invoices-status.enum.js +17 -0
- package/dist/invoice/index.js +19 -0
- package/dist/invoice/interfaces/i-invoice-bank-slip.js +2 -0
- package/dist/invoice/interfaces/i-invoice-credit-card.js +2 -0
- package/dist/invoice/interfaces/i-invoice-item.js +2 -0
- package/dist/invoice/interfaces/i-invoice-log.js +2 -0
- package/dist/invoice/interfaces/i-invoice-payer.js +2 -0
- package/dist/invoice/interfaces/i-invoice-pix.js +2 -0
- package/dist/invoice/interfaces/i-invoice.js +2 -0
- package/dist/invoice/interfaces/index.js +2 -0
- package/dist/iugu/entities/account-informations.entity.js +21 -0
- package/dist/iugu/entities/account-last-verification-request-data.entity.js +40 -0
- package/dist/iugu/entities/charge-credit-card.entity.js +30 -0
- package/dist/iugu/entities/customer.entity.js +40 -0
- package/dist/iugu/entities/index.js +21 -0
- package/dist/iugu/entities/invoice-bankslip.entity.js +26 -0
- package/dist/iugu/entities/invoice.entity.js +82 -0
- package/dist/iugu/entities/iugu-account.entity.js +75 -0
- package/dist/iugu/entities/payment-token-data.entity.js +28 -0
- package/dist/iugu/entities/payment-token.entity.js +25 -0
- package/dist/iugu/enums/index.js +9 -0
- package/dist/iugu/enums/iugu-auto-advance.enum.js +10 -0
- package/dist/iugu/enums/iugu-bank.enum.js +222 -0
- package/dist/iugu/enums/iugu-status-invoice.enum.js +17 -0
- package/dist/iugu/index.js +20 -0
- package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +2 -0
- package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +2 -0
- package/dist/iugu/interfaces/i-account-configuration-pix.js +2 -0
- package/dist/iugu/interfaces/i-account-configuration.js +2 -0
- package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +2 -0
- package/dist/iugu/interfaces/i-account-informations.js +2 -0
- package/dist/iugu/interfaces/i-account-marketplace-split.js +2 -0
- package/dist/iugu/interfaces/i-account.js +2 -0
- package/dist/iugu/interfaces/i-change-plan-simulation.js +2 -0
- package/dist/iugu/interfaces/i-charge-credit-card.js +2 -0
- package/dist/iugu/interfaces/i-config-early-payment-discounts.js +2 -0
- package/dist/iugu/interfaces/i-customer.js +2 -0
- package/dist/iugu/interfaces/i-invoice-bankslip.js +2 -0
- package/dist/iugu/interfaces/i-invoice.js +2 -0
- package/dist/iugu/interfaces/i-payment-token-data.js +2 -0
- package/dist/iugu/interfaces/i-payment-token.js +2 -0
- package/dist/iugu/interfaces/i-plan-feature.js +2 -0
- package/dist/iugu/interfaces/i-plan-price.js +2 -0
- package/dist/iugu/interfaces/i-plan.js +2 -0
- package/dist/iugu/interfaces/i-subscription-custom-variable.js +2 -0
- package/dist/iugu/interfaces/i-subscription-feature.js +2 -0
- package/dist/iugu/interfaces/i-subscription-features.js +2 -0
- package/dist/iugu/interfaces/i-subscription-log.js +2 -0
- package/dist/iugu/interfaces/i-subscription-recent-invoice.js +2 -0
- package/dist/iugu/interfaces/i-subscription-subitem.js +2 -0
- package/dist/iugu/interfaces/i-subscription.js +2 -0
- package/dist/iugu/interfaces/index.js +2 -0
- package/dist/iugu/responses/i-marketplace-list.js +2 -0
- package/dist/iugu/responses/i-marketplace-token.js +2 -0
- package/dist/iugu/responses/i-marketplace-tokens.js +2 -0
- package/dist/iugu/responses/index.js +2 -0
- package/dist/lead/entities/index.js +5 -0
- package/dist/lead/entities/lead.entity.js +57 -0
- package/dist/lead/enums/index.js +5 -0
- package/dist/lead/enums/lead-status.enum.js +18 -0
- package/dist/lead/index.js +19 -0
- package/dist/lead/interfaces/i-lead.js +2 -0
- package/dist/lead/interfaces/index.js +2 -0
- package/dist/member/entities/index.js +5 -0
- package/dist/member/entities/member.entity.js +51 -0
- package/dist/member/enums/index.js +7 -0
- package/dist/member/enums/member-rules.enum.js +14 -0
- package/dist/member/enums/member-type.enum.js +9 -0
- package/dist/member/index.js +19 -0
- package/dist/member/interfaces/i-member.js +2 -0
- package/dist/member/interfaces/index.js +2 -0
- package/dist/notification/entities/index.js +7 -0
- package/dist/notification/entities/notification-action.entity.js +24 -0
- package/dist/notification/entities/notification.entity.js +34 -0
- package/dist/notification/enums/action-type.enum.js +9 -0
- package/dist/notification/enums/category.enum.js +17 -0
- package/dist/notification/enums/index.js +11 -0
- package/dist/notification/enums/priority.enum.js +10 -0
- package/dist/notification/enums/status.enum.js +11 -0
- package/dist/notification/index.js +19 -0
- package/dist/notification/interfaces/i-notification-action.js +2 -0
- package/dist/notification/interfaces/i-notification.js +2 -0
- package/dist/notification/interfaces/index.js +2 -0
- package/dist/order/entities/additional-fees.entity.js +21 -0
- package/dist/order/entities/benefits.entity.js +25 -0
- package/dist/order/entities/cancellation.entity.js +22 -0
- package/dist/order/entities/customer-phone.entity.js +23 -0
- package/dist/order/entities/customer.entity.js +27 -0
- package/dist/order/entities/index.js +39 -0
- package/dist/order/entities/item-composition.entity.js +25 -0
- package/dist/order/entities/item-option.entity.js +34 -0
- package/dist/order/entities/item.entity.js +40 -0
- package/dist/order/entities/order.entity.js +38 -0
- package/dist/order/entities/payment-card.entity.js +20 -0
- package/dist/order/entities/payment-cash.entity.js +20 -0
- package/dist/order/entities/payment-method.entity.js +31 -0
- package/dist/order/entities/payment-pix.entity.js +21 -0
- package/dist/order/entities/payment-wallet.entity.js +20 -0
- package/dist/order/entities/payment.entity.js +22 -0
- package/dist/order/entities/scale-item.entity.js +21 -0
- package/dist/order/entities/scale-price.entity.js +21 -0
- package/dist/order/entities/total.entity.js +24 -0
- package/dist/order/enums/index.js +6 -0
- package/dist/order/enums/order-status.enum.js +42 -0
- package/dist/order/index.js +19 -0
- package/dist/order/interfaces/i-additional-fee.js +2 -0
- package/dist/order/interfaces/i-benefits.js +2 -0
- package/dist/order/interfaces/i-cancellation.js +2 -0
- package/dist/order/interfaces/i-customer-phone.js +2 -0
- package/dist/order/interfaces/i-customer.js +2 -0
- package/dist/order/interfaces/i-item-composition.js +2 -0
- package/dist/order/interfaces/i-item-option.js +2 -0
- package/dist/order/interfaces/i-item.js +2 -0
- package/dist/order/interfaces/i-order.js +2 -0
- package/dist/order/interfaces/i-payment-card.js +2 -0
- package/dist/order/interfaces/i-payment-cash.js +2 -0
- package/dist/order/interfaces/i-payment-method.js +2 -0
- package/dist/order/interfaces/i-payment-pix.js +2 -0
- package/dist/order/interfaces/i-payment-wallet.js +2 -0
- package/dist/order/interfaces/i-payment.js +2 -0
- package/dist/order/interfaces/i-scale-item.js +2 -0
- package/dist/order/interfaces/i-scale-price.js +2 -0
- package/dist/order/interfaces/i-total.js +2 -0
- package/dist/order/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/partner/entities/index.js +5 -0
- package/dist/partner/entities/partner.entity.js +39 -0
- package/dist/partner/index.js +18 -0
- package/dist/partner/interfaces/i-partner.js +2 -0
- package/dist/partner/interfaces/index.js +2 -0
- package/dist/plan/entities/feature.entity.js +30 -0
- package/dist/plan/entities/index.js +7 -0
- package/dist/plan/entities/plan.entity.js +32 -0
- package/dist/plan/enums/index.js +7 -0
- package/dist/plan/enums/plans-feature-type.enum.js +8 -0
- package/dist/plan/enums/plans-identifier.enum.js +8 -0
- package/dist/plan/index.js +19 -0
- package/dist/plan/interfaces/i-feature.js +2 -0
- package/dist/plan/interfaces/i-plan.js +2 -0
- package/dist/plan/interfaces/index.js +2 -0
- package/dist/pubsub/entities/index.js +5 -0
- package/dist/pubsub/entities/subscription-change-status.entity.js +23 -0
- package/dist/pubsub/enums/index.js +5 -0
- package/dist/pubsub/enums/topics-type.enum.js +8 -0
- package/dist/pubsub/index.js +19 -0
- package/dist/pubsub/interfaces/i-subscription-change-status.js +2 -0
- package/dist/pubsub/interfaces/index.js +2 -0
- package/dist/purchases/entities/app-info.entity.js +22 -0
- package/dist/purchases/entities/index.js +7 -0
- package/dist/purchases/entities/purchase.entity.js +44 -0
- package/dist/purchases/index.js +18 -0
- package/dist/purchases/interfaces/i-app-info.js +2 -0
- package/dist/purchases/interfaces/i-purchase.js +2 -0
- package/dist/purchases/interfaces/index.js +2 -0
- package/dist/resume/entities/index.js +17 -0
- package/dist/resume/entities/resume-collection.entity.js +21 -0
- package/dist/resume/entities/resume-day.entity.js +25 -0
- package/dist/resume/entities/resume-hour.entity.js +23 -0
- package/dist/resume/entities/resume-month.entity.js +25 -0
- package/dist/resume/entities/resume-total.entity.js +24 -0
- package/dist/resume/entities/resume-year.entity.js +24 -0
- package/dist/resume/entities/resume.entity.js +22 -0
- package/dist/resume/index.js +18 -0
- package/dist/resume/interfaces/i-resume-collection-status.js +2 -0
- package/dist/resume/interfaces/i-resume-collection.js +2 -0
- package/dist/resume/interfaces/i-resume-day.js +2 -0
- package/dist/resume/interfaces/i-resume-hour.js +2 -0
- package/dist/resume/interfaces/i-resume-month.js +2 -0
- package/dist/resume/interfaces/i-resume-total.js +2 -0
- package/dist/resume/interfaces/i-resume-year.js +2 -0
- package/dist/resume/interfaces/i-resume.js +2 -0
- package/dist/resume/interfaces/index.js +2 -0
- package/dist/subscription/entities/index.js +11 -0
- package/dist/subscription/entities/subscription-company.entity.js +25 -0
- package/dist/subscription/entities/subscription-item.entity.js +25 -0
- package/dist/subscription/entities/subscription-log.entity.js +23 -0
- package/dist/subscription/entities/subscription.entity.js +53 -0
- package/dist/subscription/enums/index.js +5 -0
- package/dist/subscription/enums/subscription-status.enum.js +14 -0
- package/dist/subscription/index.js +19 -0
- package/dist/subscription/interfaces/i-subscription-company.js +2 -0
- package/dist/subscription/interfaces/i-subscription-item.js +2 -0
- package/dist/subscription/interfaces/i-subscription-log.js +2 -0
- package/dist/subscription/interfaces/i-subscription.js +2 -0
- package/dist/subscription/interfaces/index.js +2 -0
- package/dist/token/entities/index.js +5 -0
- package/dist/token/entities/token.entity.js +32 -0
- package/dist/token/index.js +18 -0
- package/dist/token/interfaces/i-token.js +2 -0
- package/dist/token/interfaces/index.js +2 -0
- package/dist/viacep/index.js +17 -0
- package/dist/viacep/interfaces/i-via-cep.js +2 -0
- package/dist/viacep/interfaces/index.js +2 -0
- package/dist/voucher/entities/index.js +5 -0
- package/dist/voucher/entities/voucher.entity.js +59 -0
- package/dist/voucher/enums/e-voucher-status.enum.js +11 -0
- package/dist/voucher/enums/index.js +5 -0
- package/dist/voucher/index.js +19 -0
- package/dist/voucher/interfaces/i-voucher.js +2 -0
- package/dist/voucher/interfaces/index.js +2 -0
- package/package.json +1 -1
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
20
|
+
__exportStar(require("./responses"), exports);
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LeadEntity = void 0;
|
4
|
+
var lead_entity_1 = require("./lead.entity");
|
5
|
+
Object.defineProperty(exports, "LeadEntity", { enumerable: true, get: function () { return lead_entity_1.LeadEntity; } });
|
@@ -0,0 +1,57 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LeadEntity = void 0;
|
4
|
+
var enums_1 = require("../../general/enums");
|
5
|
+
var enums_2 = require("../enums");
|
6
|
+
var LeadEntity = /** @class */ (function () {
|
7
|
+
// #endregion Properties (20)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function LeadEntity(data) {
|
10
|
+
// #region Properties (20)
|
11
|
+
/**Lista de produtos ou serviços de interesse. */
|
12
|
+
this.activity = [];
|
13
|
+
/**Endereço de e-mail principal para contato. */
|
14
|
+
this.alternateEmails = [];
|
15
|
+
/**Número de telefone principal. */
|
16
|
+
this.alternatePhones = [];
|
17
|
+
/**ID do agente ou parceiro que cadastrou o lead. */
|
18
|
+
this.assignedTo = '';
|
19
|
+
/**Notas ou observações adicionais. */
|
20
|
+
this.createdAt = new Date();
|
21
|
+
/**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
|
22
|
+
this.doc = '';
|
23
|
+
/**Identificador único do lead. */
|
24
|
+
this.docType = enums_1.DocTypeEnum.CNPJ;
|
25
|
+
/**Nome completo ou razão social do lead. */
|
26
|
+
this.email = '';
|
27
|
+
this.id = '';
|
28
|
+
/**Fonte de origem do lead. */
|
29
|
+
this.interestedIn = [];
|
30
|
+
/**Data e hora de criação. */
|
31
|
+
this.lastContacted = new Date();
|
32
|
+
/**Número do documento conforme o tipo. */
|
33
|
+
this.name = '';
|
34
|
+
this.note = '';
|
35
|
+
this.origin = enums_1.LeadOriginEnum.OTHERS;
|
36
|
+
/**Status atual. */
|
37
|
+
this.partnerId = '';
|
38
|
+
/**Outros endereços de e-mail, se disponíveis. */
|
39
|
+
this.phoneNumber = '';
|
40
|
+
/**Outros números de telefone, se disponíveis. */
|
41
|
+
this.sandbox = false;
|
42
|
+
/**Data e hora do último contato. */
|
43
|
+
this.status = enums_2.LeadStatusEnum.NEW;
|
44
|
+
/**ID do colaborador responsável pelo lead. */
|
45
|
+
this.tags = [];
|
46
|
+
this.updatedAt = new Date();
|
47
|
+
if (data) {
|
48
|
+
for (var key in data) {
|
49
|
+
if (data.hasOwnProperty(key) && key in this) {
|
50
|
+
this[key] = data[key];
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
return LeadEntity;
|
56
|
+
}());
|
57
|
+
exports.LeadEntity = LeadEntity;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LeadStatusEnum = void 0;
|
4
|
+
var lead_status_enum_1 = require("./lead-status.enum");
|
5
|
+
Object.defineProperty(exports, "LeadStatusEnum", { enumerable: true, get: function () { return lead_status_enum_1.LeadStatusEnum; } });
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LeadStatusEnum = void 0;
|
4
|
+
var LeadStatusEnum;
|
5
|
+
(function (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";
|
18
|
+
})(LeadStatusEnum || (exports.LeadStatusEnum = LeadStatusEnum = {}));
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberEntity = void 0;
|
4
|
+
var member_entity_1 = require("./member.entity");
|
5
|
+
Object.defineProperty(exports, "MemberEntity", { enumerable: true, get: function () { return member_entity_1.MemberEntity; } });
|
@@ -0,0 +1,51 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.MemberEntity = void 0;
|
19
|
+
var general_1 = require("../../general");
|
20
|
+
var enums_1 = require("../enums");
|
21
|
+
var MemberEntity = /** @class */ (function (_super) {
|
22
|
+
__extends(MemberEntity, _super);
|
23
|
+
// #endregion Properties (13)
|
24
|
+
// #region Constructors (1)
|
25
|
+
function MemberEntity(data) {
|
26
|
+
var _this = _super.call(this, data) || this;
|
27
|
+
// #region Properties (13)
|
28
|
+
_this.active = true;
|
29
|
+
_this.companyName = '';
|
30
|
+
_this.containerName = '';
|
31
|
+
_this.email = '';
|
32
|
+
_this.name = '';
|
33
|
+
_this.partnerId = '';
|
34
|
+
_this.phoneNumber = '';
|
35
|
+
_this.photoUrl = '';
|
36
|
+
_this.rule = enums_1.MemberRulesEnum.USER;
|
37
|
+
_this.tags = [];
|
38
|
+
_this.type = enums_1.MemberTypeEnum.CLIENT;
|
39
|
+
_this.uid = '';
|
40
|
+
if (data) {
|
41
|
+
for (var key in data) {
|
42
|
+
if (data.hasOwnProperty(key) && key in _this) {
|
43
|
+
_this[key] = data[key];
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
return _this;
|
48
|
+
}
|
49
|
+
return MemberEntity;
|
50
|
+
}(general_1.BaseEntity));
|
51
|
+
exports.MemberEntity = MemberEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberTypeEnum = exports.MemberRulesEnum = void 0;
|
4
|
+
var member_rules_enum_1 = require("./member-rules.enum");
|
5
|
+
Object.defineProperty(exports, "MemberRulesEnum", { enumerable: true, get: function () { return member_rules_enum_1.MemberRulesEnum; } });
|
6
|
+
var member_type_enum_1 = require("./member-type.enum");
|
7
|
+
Object.defineProperty(exports, "MemberTypeEnum", { enumerable: true, get: function () { return member_type_enum_1.MemberTypeEnum; } });
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberRulesEnum = void 0;
|
4
|
+
var MemberRulesEnum;
|
5
|
+
(function (MemberRulesEnum) {
|
6
|
+
MemberRulesEnum["ADMIN"] = "ADMIN";
|
7
|
+
MemberRulesEnum["USER"] = "USER";
|
8
|
+
MemberRulesEnum["OWNER"] = "OWNER";
|
9
|
+
MemberRulesEnum["SUPPORT"] = "SUPPORT";
|
10
|
+
MemberRulesEnum["PARTNER"] = "PARTNER";
|
11
|
+
MemberRulesEnum["FINANCE"] = "FINANCE";
|
12
|
+
MemberRulesEnum["MARKETING"] = "MARKETING";
|
13
|
+
MemberRulesEnum["SALES"] = "SALES";
|
14
|
+
})(MemberRulesEnum || (exports.MemberRulesEnum = MemberRulesEnum = {}));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberTypeEnum = void 0;
|
4
|
+
var MemberTypeEnum;
|
5
|
+
(function (MemberTypeEnum) {
|
6
|
+
MemberTypeEnum["PARTNER"] = "PARTNER";
|
7
|
+
MemberTypeEnum["ADMIN"] = "ADMIN";
|
8
|
+
MemberTypeEnum["CLIENT"] = "CLIENT";
|
9
|
+
})(MemberTypeEnum || (exports.MemberTypeEnum = MemberTypeEnum = {}));
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NotificationEntity = exports.NotificationActionEntity = void 0;
|
4
|
+
var notification_action_entity_1 = require("./notification-action.entity");
|
5
|
+
Object.defineProperty(exports, "NotificationActionEntity", { enumerable: true, get: function () { return notification_action_entity_1.NotificationActionEntity; } });
|
6
|
+
var notification_entity_1 = require("./notification.entity");
|
7
|
+
Object.defineProperty(exports, "NotificationEntity", { enumerable: true, get: function () { return notification_entity_1.NotificationEntity; } });
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NotificationActionEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
5
|
+
var NotificationActionEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (4)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function NotificationActionEntity(data) {
|
9
|
+
// #region Properties (4)
|
10
|
+
this.icon = '';
|
11
|
+
this.label = '';
|
12
|
+
this.type = enums_1.NotificationActionTypeEnum.URL;
|
13
|
+
this.value = '';
|
14
|
+
if (data) {
|
15
|
+
for (var key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
return NotificationActionEntity;
|
23
|
+
}());
|
24
|
+
exports.NotificationActionEntity = NotificationActionEntity;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NotificationEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
5
|
+
var notification_action_entity_1 = require("./notification-action.entity");
|
6
|
+
var NotificationEntity = /** @class */ (function () {
|
7
|
+
// #endregion Properties (11)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function NotificationEntity(data) {
|
10
|
+
// #region Properties (11)
|
11
|
+
this.action = new notification_action_entity_1.NotificationActionEntity();
|
12
|
+
this.category = enums_1.NotificationCategoryEnum.ALERT;
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.data = '';
|
15
|
+
this.expirationTime = 3600;
|
16
|
+
this.title = '';
|
17
|
+
this.description = '';
|
18
|
+
this.id = '';
|
19
|
+
this.imageUrl = '';
|
20
|
+
this.priority = enums_1.NotificationPriorityEnum.HIGH;
|
21
|
+
this.sound = true;
|
22
|
+
this.status = enums_1.NotificationStatusEnum.DELIVERED;
|
23
|
+
this.topicName = '';
|
24
|
+
if (data) {
|
25
|
+
for (var key in data) {
|
26
|
+
if (data.hasOwnProperty(key) && key in this) {
|
27
|
+
this[key] = data[key];
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
return NotificationEntity;
|
33
|
+
}());
|
34
|
+
exports.NotificationEntity = NotificationEntity;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NotificationActionTypeEnum = void 0;
|
4
|
+
var NotificationActionTypeEnum;
|
5
|
+
(function (NotificationActionTypeEnum) {
|
6
|
+
NotificationActionTypeEnum["URL"] = "url";
|
7
|
+
NotificationActionTypeEnum["FUNCTION"] = "function";
|
8
|
+
NotificationActionTypeEnum["CUSTOM"] = "custom";
|
9
|
+
})(NotificationActionTypeEnum || (exports.NotificationActionTypeEnum = NotificationActionTypeEnum = {}));
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NotificationCategoryEnum = void 0;
|
4
|
+
var NotificationCategoryEnum;
|
5
|
+
(function (NotificationCategoryEnum) {
|
6
|
+
NotificationCategoryEnum["INVITE"] = "invite";
|
7
|
+
NotificationCategoryEnum["DEVICE"] = "device";
|
8
|
+
NotificationCategoryEnum["LEAD"] = "lead";
|
9
|
+
NotificationCategoryEnum["TASK"] = "task";
|
10
|
+
NotificationCategoryEnum["MEETING"] = "meeting";
|
11
|
+
NotificationCategoryEnum["ALERT"] = "alert";
|
12
|
+
NotificationCategoryEnum["INFO"] = "info";
|
13
|
+
NotificationCategoryEnum["DANGER"] = "danger";
|
14
|
+
NotificationCategoryEnum["WARN"] = "warning";
|
15
|
+
NotificationCategoryEnum["UPDATE"] = "update";
|
16
|
+
NotificationCategoryEnum["OTHER"] = "other";
|
17
|
+
})(NotificationCategoryEnum || (exports.NotificationCategoryEnum = NotificationCategoryEnum = {}));
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NotificationStatusEnum = exports.NotificationPriorityEnum = exports.NotificationCategoryEnum = exports.NotificationActionTypeEnum = void 0;
|
4
|
+
var action_type_enum_1 = require("./action-type.enum");
|
5
|
+
Object.defineProperty(exports, "NotificationActionTypeEnum", { enumerable: true, get: function () { return action_type_enum_1.NotificationActionTypeEnum; } });
|
6
|
+
var category_enum_1 = require("./category.enum");
|
7
|
+
Object.defineProperty(exports, "NotificationCategoryEnum", { enumerable: true, get: function () { return category_enum_1.NotificationCategoryEnum; } });
|
8
|
+
var priority_enum_1 = require("./priority.enum");
|
9
|
+
Object.defineProperty(exports, "NotificationPriorityEnum", { enumerable: true, get: function () { return priority_enum_1.NotificationPriorityEnum; } });
|
10
|
+
var status_enum_1 = require("./status.enum");
|
11
|
+
Object.defineProperty(exports, "NotificationStatusEnum", { enumerable: true, get: function () { return status_enum_1.NotificationStatusEnum; } });
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NotificationPriorityEnum = void 0;
|
4
|
+
var NotificationPriorityEnum;
|
5
|
+
(function (NotificationPriorityEnum) {
|
6
|
+
NotificationPriorityEnum["LOW"] = "low";
|
7
|
+
NotificationPriorityEnum["MEDIUM"] = "medium";
|
8
|
+
NotificationPriorityEnum["HIGH"] = "high";
|
9
|
+
NotificationPriorityEnum["URGENT"] = "urgent";
|
10
|
+
})(NotificationPriorityEnum || (exports.NotificationPriorityEnum = NotificationPriorityEnum = {}));
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NotificationStatusEnum = void 0;
|
4
|
+
var NotificationStatusEnum;
|
5
|
+
(function (NotificationStatusEnum) {
|
6
|
+
NotificationStatusEnum["DELIVERED"] = "delivered";
|
7
|
+
NotificationStatusEnum["READ"] = "read";
|
8
|
+
NotificationStatusEnum["FAILED"] = "failed";
|
9
|
+
NotificationStatusEnum["PLACED"] = "placed";
|
10
|
+
NotificationStatusEnum["SENT"] = "sent";
|
11
|
+
})(NotificationStatusEnum || (exports.NotificationStatusEnum = NotificationStatusEnum = {}));
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderAdditionalFeeEntity = void 0;
|
4
|
+
var OrderAdditionalFeeEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function OrderAdditionalFeeEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.type = '';
|
10
|
+
this.value = 0;
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return OrderAdditionalFeeEntity;
|
20
|
+
}());
|
21
|
+
exports.OrderAdditionalFeeEntity = OrderAdditionalFeeEntity;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderBenefitsEntity = void 0;
|
4
|
+
var OrderBenefitsEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (6)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function OrderBenefitsEntity(data) {
|
8
|
+
// #region Properties (6)
|
9
|
+
this.description = '';
|
10
|
+
this.id = '';
|
11
|
+
this.sponsorshipValues = [];
|
12
|
+
this.target = '';
|
13
|
+
this.targetId = '';
|
14
|
+
this.value = 0;
|
15
|
+
if (data) {
|
16
|
+
for (var key in data) {
|
17
|
+
if (data.hasOwnProperty(key) && key in this) {
|
18
|
+
this[key] = data[key];
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
return OrderBenefitsEntity;
|
24
|
+
}());
|
25
|
+
exports.OrderBenefitsEntity = OrderBenefitsEntity;
|