cecon-interfaces 1.1.43 → 1.1.44
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 +67 -0
- package/dist/global-settings/entities/global-setting.entity.js +21 -0
- package/dist/global-settings/entities/index.js +7 -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.js +2 -0
- package/dist/global-settings/interfaces/index.js +2 -0
- package/dist/index.js +40 -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 +23 -0
- package/dist/invoice/entities/invoice.entity.js +64 -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/customer.entity.js +40 -0
- package/dist/iugu/entities/index.js +17 -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-config-early-payment-discounts.js +2 -0
- package/dist/iugu/interfaces/i-customer.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/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 +24 -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 +58 -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,18 @@
|
|
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("./interfaces"), exports);
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FeatureEntity = void 0;
|
4
|
+
var FeatureEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (11)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function FeatureEntity(data) {
|
8
|
+
// #region Properties (11)
|
9
|
+
this.appId = '';
|
10
|
+
this.appMode = null;
|
11
|
+
this.companyId = '';
|
12
|
+
this.containerId = '';
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.deviceId = '';
|
15
|
+
this.id = '';
|
16
|
+
this.installationId = '';
|
17
|
+
this.name = '';
|
18
|
+
this.planId = null;
|
19
|
+
this.subscriptionId = '';
|
20
|
+
if (data) {
|
21
|
+
for (var key in data) {
|
22
|
+
if (data.hasOwnProperty(key) && key in this) {
|
23
|
+
this[key] = data[key];
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
return FeatureEntity;
|
29
|
+
}());
|
30
|
+
exports.FeatureEntity = FeatureEntity;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FeatureEntity = void 0;
|
4
|
+
var feature_entity_1 = require("./feature.entity");
|
5
|
+
Object.defineProperty(exports, "FeatureEntity", { enumerable: true, get: function () { return feature_entity_1.FeatureEntity; } });
|
@@ -0,0 +1,18 @@
|
|
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("./interfaces"), exports);
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddressEntity = void 0;
|
4
|
+
var coords_entity_1 = require("./coords.entity");
|
5
|
+
var AddressEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (7)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function AddressEntity(data) {
|
9
|
+
// #region Properties (7)
|
10
|
+
this.city = '';
|
11
|
+
this.complement = '';
|
12
|
+
this.neighborhood = '';
|
13
|
+
this.postalCode = '';
|
14
|
+
this.state = '';
|
15
|
+
this.streetName = '';
|
16
|
+
this.streetNumber = '';
|
17
|
+
this.coords = new coords_entity_1.CoordsEntity();
|
18
|
+
if (data) {
|
19
|
+
for (var key in data) {
|
20
|
+
if (data.hasOwnProperty(key) && key in this) {
|
21
|
+
this[key] = data[key];
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return AddressEntity;
|
27
|
+
}());
|
28
|
+
exports.AddressEntity = AddressEntity;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
// src/models/base.entity.ts
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.BaseEntity = void 0;
|
5
|
+
var BaseEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (6)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function BaseEntity(data) {
|
9
|
+
// #region Properties (6)
|
10
|
+
this.active = true;
|
11
|
+
this.companyId = '';
|
12
|
+
this.containerId = '';
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.id = '';
|
15
|
+
this.updatedAt = new Date();
|
16
|
+
if (data) {
|
17
|
+
for (var key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return BaseEntity;
|
25
|
+
}());
|
26
|
+
exports.BaseEntity = BaseEntity;
|
@@ -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;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CoordsEntity = void 0;
|
4
|
+
var CoordsEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function CoordsEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.latitude = 0;
|
10
|
+
this.longitude = 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 CoordsEntity;
|
20
|
+
}());
|
21
|
+
exports.CoordsEntity = CoordsEntity;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CustomVariableEntity = void 0;
|
4
|
+
var CustomVariableEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function CustomVariableEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.name = "";
|
10
|
+
this.value = "";
|
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 CustomVariableEntity;
|
20
|
+
}());
|
21
|
+
exports.CustomVariableEntity = CustomVariableEntity;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeliveryAreaEntity = void 0;
|
4
|
+
var DeliveryAreaEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (8)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function DeliveryAreaEntity(data) {
|
8
|
+
// #region Properties (8)
|
9
|
+
this.deliveryFee = 0;
|
10
|
+
this.id = '';
|
11
|
+
this.latlngs = [];
|
12
|
+
this.maxTime = 0;
|
13
|
+
this.minTime = 0;
|
14
|
+
this.minimumOrderValue = 0;
|
15
|
+
this.name = '';
|
16
|
+
this.sequence = 0;
|
17
|
+
if (data) {
|
18
|
+
for (var key in data) {
|
19
|
+
if (data.hasOwnProperty(key) && key in this) {
|
20
|
+
this[key] = data[key];
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
return DeliveryAreaEntity;
|
26
|
+
}());
|
27
|
+
exports.DeliveryAreaEntity = DeliveryAreaEntity;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeliveryAreaFixedEntity = void 0;
|
4
|
+
var DeliveryAreaFixedEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (5)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function DeliveryAreaFixedEntity(data) {
|
8
|
+
// #region Properties (5)
|
9
|
+
this.active = false;
|
10
|
+
this.deliveryFee = 0;
|
11
|
+
this.maxTime = 0;
|
12
|
+
this.minTime = 0;
|
13
|
+
this.minimumOrderValue = 0;
|
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 DeliveryAreaFixedEntity;
|
23
|
+
}());
|
24
|
+
exports.DeliveryAreaFixedEntity = DeliveryAreaFixedEntity;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SponsorshipValueEntity = exports.RatingEntity = exports.PaymentEntity = exports.PaymentWalletEntity = exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentPixEntity = exports.PaymentMethodEntity = exports.PaymentMethodOptionEntity = exports.PaymentCashEntity = exports.PaymentCardEntity = exports.OriginEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CustomVariableEntity = exports.CoordsEntity = exports.CarouselImageEntity = exports.BaseEntity = exports.AddressEntity = void 0;
|
4
|
+
var address_entity_1 = require("./address.entity");
|
5
|
+
Object.defineProperty(exports, "AddressEntity", { enumerable: true, get: function () { return address_entity_1.AddressEntity; } });
|
6
|
+
var base_entity_1 = require("./base.entity");
|
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; } });
|
10
|
+
var coords_entity_1 = require("./coords.entity");
|
11
|
+
Object.defineProperty(exports, "CoordsEntity", { enumerable: true, get: function () { return coords_entity_1.CoordsEntity; } });
|
12
|
+
var custom_variable_entity_1 = require("./custom-variable.entity");
|
13
|
+
Object.defineProperty(exports, "CustomVariableEntity", { enumerable: true, get: function () { return custom_variable_entity_1.CustomVariableEntity; } });
|
14
|
+
var delivery_area_entity_1 = require("./delivery-area.entity");
|
15
|
+
Object.defineProperty(exports, "DeliveryAreaEntity", { enumerable: true, get: function () { return delivery_area_entity_1.DeliveryAreaEntity; } });
|
16
|
+
var dellivery_area_fixed_entity_1 = require("./dellivery-area-fixed.entity");
|
17
|
+
Object.defineProperty(exports, "DeliveryAreaFixedEntity", { enumerable: true, get: function () { return dellivery_area_fixed_entity_1.DeliveryAreaFixedEntity; } });
|
18
|
+
var messager_channel_entity_1 = require("./messager-channel.entity");
|
19
|
+
Object.defineProperty(exports, "MessagerChannelEntity", { enumerable: true, get: function () { return messager_channel_entity_1.MessagerChannelEntity; } });
|
20
|
+
var mobyo_apiconfig_entity_1 = require("./mobyo-apiconfig.entity");
|
21
|
+
Object.defineProperty(exports, "MobyoApiConfigEntity", { enumerable: true, get: function () { return mobyo_apiconfig_entity_1.MobyoApiConfigEntity; } });
|
22
|
+
var origin_entity_1 = require("./origin.entity");
|
23
|
+
Object.defineProperty(exports, "OriginEntity", { enumerable: true, get: function () { return origin_entity_1.OriginEntity; } });
|
24
|
+
var payment_card_entity_1 = require("./payment-card.entity");
|
25
|
+
Object.defineProperty(exports, "PaymentCardEntity", { enumerable: true, get: function () { return payment_card_entity_1.PaymentCardEntity; } });
|
26
|
+
var payment_cash_entity_1 = require("./payment-cash.entity");
|
27
|
+
Object.defineProperty(exports, "PaymentCashEntity", { enumerable: true, get: function () { return payment_cash_entity_1.PaymentCashEntity; } });
|
28
|
+
var payment_method_option_entity_1 = require("./payment-method-option.entity");
|
29
|
+
Object.defineProperty(exports, "PaymentMethodOptionEntity", { enumerable: true, get: function () { return payment_method_option_entity_1.PaymentMethodOptionEntity; } });
|
30
|
+
var payment_method_entity_1 = require("./payment-method.entity");
|
31
|
+
Object.defineProperty(exports, "PaymentMethodEntity", { enumerable: true, get: function () { return payment_method_entity_1.PaymentMethodEntity; } });
|
32
|
+
var payment_pix_entity_1 = require("./payment-pix.entity");
|
33
|
+
Object.defineProperty(exports, "PaymentPixEntity", { enumerable: true, get: function () { return payment_pix_entity_1.PaymentPixEntity; } });
|
34
|
+
var payment_provider_agent_entity_1 = require("./payment-provider-agent.entity");
|
35
|
+
Object.defineProperty(exports, "PaymentProviderAgentEntity", { enumerable: true, get: function () { return payment_provider_agent_entity_1.PaymentProviderAgentEntity; } });
|
36
|
+
var payment_provider_entity_1 = require("./payment-provider.entity");
|
37
|
+
Object.defineProperty(exports, "PaymentProviderEntity", { enumerable: true, get: function () { return payment_provider_entity_1.PaymentProviderEntity; } });
|
38
|
+
var payment_token_data_entity_1 = require("./payment-token-data.entity");
|
39
|
+
Object.defineProperty(exports, "PaymentTokenDataEntity", { enumerable: true, get: function () { return payment_token_data_entity_1.PaymentTokenDataEntity; } });
|
40
|
+
var payment_token_entity_1 = require("./payment-token.entity");
|
41
|
+
Object.defineProperty(exports, "PaymentTokenEntity", { enumerable: true, get: function () { return payment_token_entity_1.PaymentTokenEntity; } });
|
42
|
+
var payment_wallet_entity_1 = require("./payment-wallet.entity");
|
43
|
+
Object.defineProperty(exports, "PaymentWalletEntity", { enumerable: true, get: function () { return payment_wallet_entity_1.PaymentWalletEntity; } });
|
44
|
+
var payment_entity_1 = require("./payment.entity");
|
45
|
+
Object.defineProperty(exports, "PaymentEntity", { enumerable: true, get: function () { return payment_entity_1.PaymentEntity; } });
|
46
|
+
var rating_entity_1 = require("./rating.entity");
|
47
|
+
Object.defineProperty(exports, "RatingEntity", { enumerable: true, get: function () { return rating_entity_1.RatingEntity; } });
|
48
|
+
var sponsorship_value_entity_1 = require("./sponsorship-value.entity");
|
49
|
+
Object.defineProperty(exports, "SponsorshipValueEntity", { enumerable: true, get: function () { return sponsorship_value_entity_1.SponsorshipValueEntity; } });
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MessagerChannelEntity = void 0;
|
4
|
+
var MessagerChannelEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function MessagerChannelEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.channelId = '';
|
10
|
+
this.id = '';
|
11
|
+
this.type = '';
|
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 MessagerChannelEntity;
|
21
|
+
}());
|
22
|
+
exports.MessagerChannelEntity = MessagerChannelEntity;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MobyoApiConfigEntity = void 0;
|
4
|
+
var MobyoApiConfigEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (6)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function MobyoApiConfigEntity(data) {
|
8
|
+
// #region Properties (6)
|
9
|
+
this.hasIntegration = false;
|
10
|
+
this.hasPrint = false;
|
11
|
+
this.integrationUrl = '';
|
12
|
+
this.printCols = 40;
|
13
|
+
this.printInterface = '';
|
14
|
+
this.printType = '';
|
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 MobyoApiConfigEntity;
|
24
|
+
}());
|
25
|
+
exports.MobyoApiConfigEntity = MobyoApiConfigEntity;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OriginEntity = void 0;
|
4
|
+
var lead_origin_enum_1 = require("../enums/lead-origin.enum");
|
5
|
+
var OriginEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (6)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function OriginEntity(data) {
|
9
|
+
// #region Properties (6)
|
10
|
+
this.campaign = '';
|
11
|
+
this.contactPoint = '';
|
12
|
+
this.date = 0;
|
13
|
+
this.details = '';
|
14
|
+
this.referrer = '';
|
15
|
+
this.type = lead_origin_enum_1.LeadOriginEnum.OTHERS;
|
16
|
+
if (data) {
|
17
|
+
for (var key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return OriginEntity;
|
25
|
+
}());
|
26
|
+
exports.OriginEntity = OriginEntity;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentCardEntity = void 0;
|
4
|
+
var PaymentCardEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PaymentCardEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.brand = '';
|
10
|
+
this.maskedNumber = '';
|
11
|
+
this.tokenId = '';
|
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 PaymentCardEntity;
|
21
|
+
}());
|
22
|
+
exports.PaymentCardEntity = PaymentCardEntity;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentCashEntity = void 0;
|
4
|
+
var PaymentCashEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (1)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PaymentCashEntity(data) {
|
8
|
+
// #region Properties (1)
|
9
|
+
this.changeFor = 0;
|
10
|
+
if (data) {
|
11
|
+
for (var key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
return PaymentCashEntity;
|
19
|
+
}());
|
20
|
+
exports.PaymentCashEntity = PaymentCashEntity;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentMethodOptionEntity = void 0;
|
4
|
+
var payment_channel_enum_1 = require("../enums/payment-channel.enum");
|
5
|
+
var payment_mode_enum_1 = require("../enums/payment-mode.enum");
|
6
|
+
var payment_type_enum_1 = require("../enums/payment-type.enum");
|
7
|
+
var PaymentMethodOptionEntity = /** @class */ (function () {
|
8
|
+
// #endregion Properties (13)
|
9
|
+
// #region Constructors (1)
|
10
|
+
function PaymentMethodOptionEntity(data) {
|
11
|
+
// #region Properties (13)
|
12
|
+
this.active = false;
|
13
|
+
this.channel = payment_channel_enum_1.PaymentChannelEnum.AUTOMATION;
|
14
|
+
this.createdAt = new Date();
|
15
|
+
this.fee = 0;
|
16
|
+
this.id = '';
|
17
|
+
this.index = 0;
|
18
|
+
this.maxAmount = 0;
|
19
|
+
this.minAmount = 0;
|
20
|
+
this.mode = payment_mode_enum_1.PaymentModeEnum.MANUAL;
|
21
|
+
this.name = '';
|
22
|
+
this.token = '';
|
23
|
+
this.type = payment_type_enum_1.EPaymentType.CREDIT_CARD;
|
24
|
+
this.updatedAt = new Date();
|
25
|
+
if (data) {
|
26
|
+
for (var key in data) {
|
27
|
+
if (data.hasOwnProperty(key) && key in this) {
|
28
|
+
this[key] = data[key];
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
return PaymentMethodOptionEntity;
|
34
|
+
}());
|
35
|
+
exports.PaymentMethodOptionEntity = PaymentMethodOptionEntity;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentMethodEntity = void 0;
|
4
|
+
var __1 = require("..");
|
5
|
+
var PaymentMethodEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (11)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function PaymentMethodEntity(data) {
|
9
|
+
// #region Properties (11)
|
10
|
+
this.card = null;
|
11
|
+
this.cash = null;
|
12
|
+
this.code = '';
|
13
|
+
this.currency = 'BRL';
|
14
|
+
this.id = '';
|
15
|
+
this.method = __1.EPaymentType.CASH;
|
16
|
+
this.pix = null;
|
17
|
+
this.prepaid = false;
|
18
|
+
this.type = 'OFFLINE';
|
19
|
+
this.value = 0;
|
20
|
+
this.wallet = null;
|
21
|
+
if (data) {
|
22
|
+
for (var key in data) {
|
23
|
+
if (data.hasOwnProperty(key) && key in this) {
|
24
|
+
this[key] = data[key];
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
return PaymentMethodEntity;
|
30
|
+
}());
|
31
|
+
exports.PaymentMethodEntity = PaymentMethodEntity;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentPixEntity = void 0;
|
4
|
+
var PaymentPixEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PaymentPixEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.pixKey = '';
|
10
|
+
this.urlQrImage = '';
|
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 PaymentPixEntity;
|
20
|
+
}());
|
21
|
+
exports.PaymentPixEntity = PaymentPixEntity;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentProviderAgentEntity = void 0;
|
4
|
+
var PaymentProviderAgentEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PaymentProviderAgentEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.accountId = '';
|
10
|
+
this.partnerId = '';
|
11
|
+
this.name = '';
|
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 PaymentProviderAgentEntity;
|
21
|
+
}());
|
22
|
+
exports.PaymentProviderAgentEntity = PaymentProviderAgentEntity;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentProviderEntity = void 0;
|
4
|
+
var payment_provider_agent_entity_1 = require("./payment-provider-agent.entity");
|
5
|
+
var PaymentProviderEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (13)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function PaymentProviderEntity(data) {
|
9
|
+
// #region Properties (13)
|
10
|
+
this.accountId = '';
|
11
|
+
this.active = false;
|
12
|
+
this.agent = new payment_provider_agent_entity_1.PaymentProviderAgentEntity();
|
13
|
+
this.customerId = '';
|
14
|
+
this.liveApiToken = '';
|
15
|
+
this.name = '';
|
16
|
+
this.paymentTokens = [];
|
17
|
+
this.subscriptionId = '';
|
18
|
+
this.subscriptions = '';
|
19
|
+
this.testApiToken = '';
|
20
|
+
this.userApiToken = '';
|
21
|
+
this.verified = false;
|
22
|
+
this.verifiedAt = 0;
|
23
|
+
if (data) {
|
24
|
+
for (var key in data) {
|
25
|
+
if (data.hasOwnProperty(key) && key in this) {
|
26
|
+
this[key] = data[key];
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
return PaymentProviderEntity;
|
32
|
+
}());
|
33
|
+
exports.PaymentProviderEntity = PaymentProviderEntity;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentTokenDataEntity = void 0;
|
4
|
+
var PaymentTokenDataEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (7)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PaymentTokenDataEntity(data) {
|
8
|
+
// #region Properties (7)
|
9
|
+
this.bin = '';
|
10
|
+
this.brand = '';
|
11
|
+
this.displayNumber = '';
|
12
|
+
this.firstDigits = '';
|
13
|
+
this.maskedNumber = '';
|
14
|
+
this.month = 0;
|
15
|
+
this.year = 0;
|
16
|
+
if (data) {
|
17
|
+
for (var key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return PaymentTokenDataEntity;
|
25
|
+
}());
|
26
|
+
exports.PaymentTokenDataEntity = PaymentTokenDataEntity;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentTokenEntity = void 0;
|
4
|
+
var payment_token_data_entity_1 = require("./payment-token-data.entity");
|
5
|
+
var PaymentTokenEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (5)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function PaymentTokenEntity(data) {
|
9
|
+
// #region Properties (5)
|
10
|
+
this.customerId = '';
|
11
|
+
this.data = new payment_token_data_entity_1.PaymentTokenDataEntity();
|
12
|
+
this.description = '';
|
13
|
+
this.id = '';
|
14
|
+
this.itemType = '';
|
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 PaymentTokenEntity;
|
24
|
+
}());
|
25
|
+
exports.PaymentTokenEntity = PaymentTokenEntity;
|