cecon-interfaces 1.1.43 → 1.1.45
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/esm2022/iugu/entities/index.mjs +2 -1
- package/dist/esm2022/iugu/entities/invoice-bankslip.entity.mjs +22 -0
- package/dist/esm2022/iugu/entities/invoice.entity.mjs +41 -41
- package/dist/esm2022/iugu/interfaces/i-invoice-bankslip.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-invoice.mjs +1 -1
- package/dist/esm2022/iugu/interfaces/index.mjs +1 -1
- 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/fesm2022/cecon-interfaces.mjs +63 -41
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- 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.d.ts +1 -0
- package/dist/iugu/entities/index.js +19 -0
- package/dist/iugu/entities/invoice-bankslip.entity.d.ts +11 -0
- package/dist/iugu/entities/invoice-bankslip.entity.js +26 -0
- package/dist/iugu/entities/invoice.entity.d.ts +3 -2
- 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-bankslip.d.ts +9 -0
- package/dist/iugu/interfaces/i-invoice-bankslip.js +2 -0
- package/dist/iugu/interfaces/i-invoice.d.ts +2 -1
- 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.d.ts +1 -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,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EInstallationStatus = void 0;
|
4
|
+
var EInstallationStatus;
|
5
|
+
(function (EInstallationStatus) {
|
6
|
+
EInstallationStatus["INSTALLED"] = "INSTALLED";
|
7
|
+
EInstallationStatus["ACTIVE"] = "ACTIVE";
|
8
|
+
EInstallationStatus["CANCELLED"] = "CANCELLED";
|
9
|
+
EInstallationStatus["PLACED"] = "PLACED";
|
10
|
+
EInstallationStatus["EXPIRED"] = "EXPIRED";
|
11
|
+
EInstallationStatus["PENDING"] = "PENDING";
|
12
|
+
EInstallationStatus["TRIAL"] = "TRIAL";
|
13
|
+
EInstallationStatus["FREE"] = "FREE";
|
14
|
+
EInstallationStatus["SUSPENDED"] = "SUSPENDED";
|
15
|
+
})(EInstallationStatus || (exports.EInstallationStatus = EInstallationStatus = {}));
|
@@ -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.InviteEntity = void 0;
|
4
|
+
var invite_entity_1 = require("./invite.entity");
|
5
|
+
Object.defineProperty(exports, "InviteEntity", { enumerable: true, get: function () { return invite_entity_1.InviteEntity; } });
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InviteEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var enums_1 = require("../enums");
|
6
|
+
var InviteEntity = /** @class */ (function () {
|
7
|
+
// #endregion Properties (17)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function InviteEntity(data) {
|
10
|
+
// #region Properties (17)
|
11
|
+
this.companyId = '';
|
12
|
+
this.companyName = '';
|
13
|
+
this.containerId = '';
|
14
|
+
this.createdAt = new Date();
|
15
|
+
this.doc = '';
|
16
|
+
this.docType = general_1.DocTypeEnum.CNPJ;
|
17
|
+
this.email = '';
|
18
|
+
this.expireAt = new Date(new Date().getTime() + 86400000);
|
19
|
+
this.expired = false;
|
20
|
+
this.id = '';
|
21
|
+
this.internationalCode = '+55';
|
22
|
+
this.name = '';
|
23
|
+
this.phoneNumber = '';
|
24
|
+
this.photoUrl = '';
|
25
|
+
this.status = enums_1.InviteStatusEnum.PENDING;
|
26
|
+
this.uid = '';
|
27
|
+
this.updatedAt = new Date();
|
28
|
+
if (data) {
|
29
|
+
for (var key in data) {
|
30
|
+
if (data.hasOwnProperty(key) && key in this) {
|
31
|
+
this[key] = data[key];
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
return InviteEntity;
|
37
|
+
}());
|
38
|
+
exports.InviteEntity = InviteEntity;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InviteStatusEnum = void 0;
|
4
|
+
var status_enum_1 = require("./status.enum");
|
5
|
+
Object.defineProperty(exports, "InviteStatusEnum", { enumerable: true, get: function () { return status_enum_1.InviteStatusEnum; } });
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InviteStatusEnum = void 0;
|
4
|
+
var InviteStatusEnum;
|
5
|
+
(function (InviteStatusEnum) {
|
6
|
+
InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
|
7
|
+
InviteStatusEnum["PENDING"] = "PENDING";
|
8
|
+
InviteStatusEnum["REJECTED"] = "REJECTED";
|
9
|
+
InviteStatusEnum["EXPIRED"] = "EXPIRED";
|
10
|
+
InviteStatusEnum["CANCELED"] = "CANCELED";
|
11
|
+
})(InviteStatusEnum || (exports.InviteStatusEnum = InviteStatusEnum = {}));
|
@@ -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,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InvoiceEntity = exports.InvoicePixEntity = exports.InvoicePayerEntity = exports.InvoiceLogEntity = exports.InvoiceItemEntity = exports.InvoiceCreditCardEntity = exports.InvoiceBankSlipEntity = void 0;
|
4
|
+
var invoice_bank_slip_entity_1 = require("./invoice-bank-slip.entity");
|
5
|
+
Object.defineProperty(exports, "InvoiceBankSlipEntity", { enumerable: true, get: function () { return invoice_bank_slip_entity_1.InvoiceBankSlipEntity; } });
|
6
|
+
var invoice_credit_card_entity_1 = require("./invoice-credit-card.entity");
|
7
|
+
Object.defineProperty(exports, "InvoiceCreditCardEntity", { enumerable: true, get: function () { return invoice_credit_card_entity_1.InvoiceCreditCardEntity; } });
|
8
|
+
var invoice_item_entity_1 = require("./invoice-item.entity");
|
9
|
+
Object.defineProperty(exports, "InvoiceItemEntity", { enumerable: true, get: function () { return invoice_item_entity_1.InvoiceItemEntity; } });
|
10
|
+
var invoice_log_entity_1 = require("./invoice-log.entity");
|
11
|
+
Object.defineProperty(exports, "InvoiceLogEntity", { enumerable: true, get: function () { return invoice_log_entity_1.InvoiceLogEntity; } });
|
12
|
+
var invoice_payer_entity_1 = require("./invoice-payer.entity");
|
13
|
+
Object.defineProperty(exports, "InvoicePayerEntity", { enumerable: true, get: function () { return invoice_payer_entity_1.InvoicePayerEntity; } });
|
14
|
+
var invoice_pix_entity_1 = require("./invoice-pix.entity");
|
15
|
+
Object.defineProperty(exports, "InvoicePixEntity", { enumerable: true, get: function () { return invoice_pix_entity_1.InvoicePixEntity; } });
|
16
|
+
var invoice_entity_1 = require("./invoice.entity");
|
17
|
+
Object.defineProperty(exports, "InvoiceEntity", { enumerable: true, get: function () { return invoice_entity_1.InvoiceEntity; } });
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InvoiceBankSlipEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var InvoiceBankSlipEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (7)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function InvoiceBankSlipEntity(data) {
|
9
|
+
// #region Properties (7)
|
10
|
+
this.bankSlipBank = 0;
|
11
|
+
this.bankSlipErrorCode = '';
|
12
|
+
this.bankSlipErrorMessage = '';
|
13
|
+
this.bankSlipStatus = general_1.EBankSlipStatus.PENDING;
|
14
|
+
this.barcode = '';
|
15
|
+
this.barcodeData = '';
|
16
|
+
this.digitableLine = '';
|
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 InvoiceBankSlipEntity;
|
26
|
+
}());
|
27
|
+
exports.InvoiceBankSlipEntity = InvoiceBankSlipEntity;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InvoiceCreditCardEntity = void 0;
|
4
|
+
var InvoiceCreditCardEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (6)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function InvoiceCreditCardEntity(data) {
|
8
|
+
// #region Properties (6)
|
9
|
+
this.bin = '';
|
10
|
+
this.brand = '';
|
11
|
+
this.capturedAt = '';
|
12
|
+
this.last4 = '';
|
13
|
+
this.tid = '';
|
14
|
+
this.transaction = '';
|
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 InvoiceCreditCardEntity;
|
24
|
+
}());
|
25
|
+
exports.InvoiceCreditCardEntity = InvoiceCreditCardEntity;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InvoiceItemEntity = void 0;
|
4
|
+
var InvoiceItemEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function InvoiceItemEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.description = '';
|
10
|
+
this.quantity = 1;
|
11
|
+
this.unitPrice = 0;
|
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 InvoiceItemEntity;
|
21
|
+
}());
|
22
|
+
exports.InvoiceItemEntity = InvoiceItemEntity;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InvoiceLogEntity = void 0;
|
4
|
+
var InvoiceLogEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function InvoiceLogEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.createdAt = '';
|
10
|
+
this.description = '';
|
11
|
+
this.id = '';
|
12
|
+
this.notes = '';
|
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 InvoiceLogEntity;
|
22
|
+
}());
|
23
|
+
exports.InvoiceLogEntity = InvoiceLogEntity;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InvoicePayerEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var InvoicePayerEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (6)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function InvoicePayerEntity(data) {
|
9
|
+
// #region Properties (6)
|
10
|
+
this.address = new general_1.AddressEntity();
|
11
|
+
this.doc = '';
|
12
|
+
this.docType = general_1.DocTypeEnum.CNPJ;
|
13
|
+
this.email = '';
|
14
|
+
this.name = '';
|
15
|
+
this.phoneNumber = null;
|
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 InvoicePayerEntity;
|
25
|
+
}());
|
26
|
+
exports.InvoicePayerEntity = InvoicePayerEntity;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InvoicePixEntity = void 0;
|
4
|
+
var InvoicePixEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function InvoicePixEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.qrCode = '';
|
10
|
+
this.qrCodeImage = '';
|
11
|
+
this.qrCodeText = '';
|
12
|
+
this.status = '';
|
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 InvoicePixEntity;
|
22
|
+
}());
|
23
|
+
exports.InvoicePixEntity = InvoicePixEntity;
|
@@ -0,0 +1,64 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InvoiceEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var enums_1 = require("../enums");
|
6
|
+
var invoice_payer_entity_1 = require("./invoice-payer.entity");
|
7
|
+
var InvoiceEntity = /** @class */ (function () {
|
8
|
+
// #endregion Properties (44)
|
9
|
+
// #region Constructors (1)
|
10
|
+
function InvoiceEntity(data) {
|
11
|
+
// #region Properties (44)
|
12
|
+
this.addition = 0;
|
13
|
+
this.bankSlip = null;
|
14
|
+
this.bankSlipExtraDue = 3;
|
15
|
+
this.ccEmails = [];
|
16
|
+
this.companyId = '';
|
17
|
+
this.containerId = '';
|
18
|
+
this.createdAt = new Date();
|
19
|
+
this.creditCard = null;
|
20
|
+
this.currency = 'BRL';
|
21
|
+
this.discount = 0;
|
22
|
+
this.dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
|
23
|
+
this.email = '';
|
24
|
+
this.ensureDueOnWorkday = true;
|
25
|
+
this.expiresIn = 3;
|
26
|
+
this.externalInvoiceId = '';
|
27
|
+
this.externalInvoiceUrl = '';
|
28
|
+
this.fineForlatePayment = 0;
|
29
|
+
this.id = '';
|
30
|
+
this.items = [];
|
31
|
+
this.log = [];
|
32
|
+
this.notes = '';
|
33
|
+
this.notificationUrl = '';
|
34
|
+
this.orderId = '';
|
35
|
+
this.paidAt = null;
|
36
|
+
this.partnerId = '';
|
37
|
+
this.password = null;
|
38
|
+
this.payer = new invoice_payer_entity_1.InvoicePayerEntity();
|
39
|
+
this.paymentMethod = general_1.EPaymentType.NONE;
|
40
|
+
this.paymentProvider = null;
|
41
|
+
this.phoneNumberNotification = null;
|
42
|
+
this.pix = null;
|
43
|
+
this.returnExpiredUrl = '';
|
44
|
+
this.returnUrl = '';
|
45
|
+
this.status = enums_1.EInvoiceStatus.PENDING;
|
46
|
+
this.subscriptionId = '';
|
47
|
+
this.subtotal = 0;
|
48
|
+
this.totalAmount = 0;
|
49
|
+
this.totalFee = 0;
|
50
|
+
this.totalOverPaid = 0;
|
51
|
+
this.totalPaid = 0;
|
52
|
+
this.totalRefunded = 0;
|
53
|
+
this.updatedAt = new Date();
|
54
|
+
if (data) {
|
55
|
+
for (var key in data) {
|
56
|
+
if (data.hasOwnProperty(key) && key in this) {
|
57
|
+
this[key] = data[key];
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
return InvoiceEntity;
|
63
|
+
}());
|
64
|
+
exports.InvoiceEntity = InvoiceEntity;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EInvoiceStatus = void 0;
|
4
|
+
var invoices_status_enum_1 = require("./invoices-status.enum");
|
5
|
+
Object.defineProperty(exports, "EInvoiceStatus", { enumerable: true, get: function () { return invoices_status_enum_1.EInvoiceStatus; } });
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EInvoiceStatus = void 0;
|
4
|
+
var EInvoiceStatus;
|
5
|
+
(function (EInvoiceStatus) {
|
6
|
+
EInvoiceStatus["PENDING"] = "PENDING";
|
7
|
+
EInvoiceStatus["PAID"] = "PAID";
|
8
|
+
EInvoiceStatus["CANCELED"] = "CANCELED";
|
9
|
+
EInvoiceStatus["IN_ANALYSIS"] = "IN_ANALYSIS";
|
10
|
+
EInvoiceStatus["DRAFT"] = "DRAFT";
|
11
|
+
EInvoiceStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
12
|
+
EInvoiceStatus["REFUNDED"] = "REFUNDED";
|
13
|
+
EInvoiceStatus["EXPIRED"] = "EXPIRED";
|
14
|
+
EInvoiceStatus["IN_PROTEST"] = "IN_PROTEST";
|
15
|
+
EInvoiceStatus["CHARGEBACK"] = "CHARGEBACK";
|
16
|
+
EInvoiceStatus["EXTERNALLY_PAID"] = "EXTERNALLY_PAID";
|
17
|
+
})(EInvoiceStatus || (exports.EInvoiceStatus = EInvoiceStatus = {}));
|
@@ -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.AccountInformationsEntity = void 0;
|
4
|
+
var AccountInformationsEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function AccountInformationsEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.key = '';
|
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 AccountInformationsEntity;
|
20
|
+
}());
|
21
|
+
exports.AccountInformationsEntity = AccountInformationsEntity;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LastVerificationRequestDataEntity = void 0;
|
4
|
+
var enums_1 = require("../../general/enums");
|
5
|
+
var person_type_enum_1 = require("../../general/enums/person-type.enum");
|
6
|
+
var LastVerificationRequestDataEntity = /** @class */ (function () {
|
7
|
+
// #endregion Properties (19)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function LastVerificationRequestDataEntity(data) {
|
10
|
+
// #region Properties (19)
|
11
|
+
this.accountType = '';
|
12
|
+
this.address = '';
|
13
|
+
this.automaticTransfer = enums_1.BooleanStringEnum.FALSE;
|
14
|
+
this.bank = '';
|
15
|
+
this.bankAg = '';
|
16
|
+
this.bankCc = '';
|
17
|
+
this.businessType = '';
|
18
|
+
this.cep = '';
|
19
|
+
this.city = '';
|
20
|
+
this.cpf = '';
|
21
|
+
this.documentActivity = '';
|
22
|
+
this.documentCpf = '';
|
23
|
+
this.documentId = '';
|
24
|
+
this.name = '';
|
25
|
+
this.personType = person_type_enum_1.LegalEntiyEnum.LEGAL;
|
26
|
+
this.physicalProducts = enums_1.BooleanStringEnum.FALSE;
|
27
|
+
this.priceRange = '';
|
28
|
+
this.state = '';
|
29
|
+
this.telephone = '';
|
30
|
+
if (data) {
|
31
|
+
for (var key in data) {
|
32
|
+
if (data.hasOwnProperty(key) && key in this) {
|
33
|
+
this[key] = data[key];
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
return LastVerificationRequestDataEntity;
|
39
|
+
}());
|
40
|
+
exports.LastVerificationRequestDataEntity = LastVerificationRequestDataEntity;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IuguCustomerEntity = void 0;
|
4
|
+
var IuguCustomerEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (21)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function IuguCustomerEntity(data) {
|
8
|
+
// #region Properties (21)
|
9
|
+
this.ccEmails = '';
|
10
|
+
this.city = '';
|
11
|
+
this.complement = '';
|
12
|
+
this.cpfCnpj = '';
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.customVariables = [];
|
15
|
+
this.defaultPaymentMethodId = '';
|
16
|
+
this.district = '';
|
17
|
+
this.email = '';
|
18
|
+
this.id = '';
|
19
|
+
this.name = '';
|
20
|
+
this.notes = '';
|
21
|
+
this.number = '';
|
22
|
+
this.paymentMethods = [];
|
23
|
+
this.phone = '';
|
24
|
+
this.phonePrefix = '';
|
25
|
+
this.proxyPaymentsFromCustomerId = '';
|
26
|
+
this.state = '';
|
27
|
+
this.street = '';
|
28
|
+
this.updatedAt = new Date();
|
29
|
+
this.zipCode = '';
|
30
|
+
if (data) {
|
31
|
+
for (var key in data) {
|
32
|
+
if (data.hasOwnProperty(key) && key in this) {
|
33
|
+
this[key] = data[key];
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
return IuguCustomerEntity;
|
39
|
+
}());
|
40
|
+
exports.IuguCustomerEntity = IuguCustomerEntity;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export { AccountInformationsEntity } from './account-informations.entity';
|
2
2
|
export { LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity } from './account-last-verification-request-data.entity';
|
3
3
|
export { IuguCustomerEntity } from './customer.entity';
|
4
|
+
export { IuguInvoiceBankSlipEntity } from './invoice-bankslip.entity';
|
4
5
|
export { IuguInvoiceEntity } from './invoice.entity';
|
5
6
|
export { IuguAccountEntity } from './iugu-account.entity';
|
6
7
|
export { IuguPaymentTokenDataEntity } from './payment-token-data.entity';
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IuguPaymentTokenEntity = exports.IuguPaymentTokenDataEntity = exports.IuguAccountEntity = exports.IuguInvoiceEntity = exports.IuguInvoiceBankSlipEntity = exports.IuguCustomerEntity = exports.IuguAccountLastVerificationRequestDataEntity = exports.AccountInformationsEntity = void 0;
|
4
|
+
var account_informations_entity_1 = require("./account-informations.entity");
|
5
|
+
Object.defineProperty(exports, "AccountInformationsEntity", { enumerable: true, get: function () { return account_informations_entity_1.AccountInformationsEntity; } });
|
6
|
+
var account_last_verification_request_data_entity_1 = require("./account-last-verification-request-data.entity");
|
7
|
+
Object.defineProperty(exports, "IuguAccountLastVerificationRequestDataEntity", { enumerable: true, get: function () { return account_last_verification_request_data_entity_1.LastVerificationRequestDataEntity; } });
|
8
|
+
var customer_entity_1 = require("./customer.entity");
|
9
|
+
Object.defineProperty(exports, "IuguCustomerEntity", { enumerable: true, get: function () { return customer_entity_1.IuguCustomerEntity; } });
|
10
|
+
var invoice_bankslip_entity_1 = require("./invoice-bankslip.entity");
|
11
|
+
Object.defineProperty(exports, "IuguInvoiceBankSlipEntity", { enumerable: true, get: function () { return invoice_bankslip_entity_1.IuguInvoiceBankSlipEntity; } });
|
12
|
+
var invoice_entity_1 = require("./invoice.entity");
|
13
|
+
Object.defineProperty(exports, "IuguInvoiceEntity", { enumerable: true, get: function () { return invoice_entity_1.IuguInvoiceEntity; } });
|
14
|
+
var iugu_account_entity_1 = require("./iugu-account.entity");
|
15
|
+
Object.defineProperty(exports, "IuguAccountEntity", { enumerable: true, get: function () { return iugu_account_entity_1.IuguAccountEntity; } });
|
16
|
+
var payment_token_data_entity_1 = require("./payment-token-data.entity");
|
17
|
+
Object.defineProperty(exports, "IuguPaymentTokenDataEntity", { enumerable: true, get: function () { return payment_token_data_entity_1.IuguPaymentTokenDataEntity; } });
|
18
|
+
var payment_token_entity_1 = require("./payment-token.entity");
|
19
|
+
Object.defineProperty(exports, "IuguPaymentTokenEntity", { enumerable: true, get: function () { return payment_token_entity_1.IuguPaymentTokenEntity; } });
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { IIuguInvoiceBankSlip } from '../interfaces/i-invoice-bankslip';
|
2
|
+
export declare class IuguInvoiceBankSlipEntity implements IIuguInvoiceBankSlip {
|
3
|
+
bankSlipBank: number;
|
4
|
+
bankSlipErrorCode: string;
|
5
|
+
bankSlipErrorMessage: string | null;
|
6
|
+
bankSlipStatus: string;
|
7
|
+
barcode: string;
|
8
|
+
barcodeData: string;
|
9
|
+
digitableLine: string;
|
10
|
+
constructor(data?: Partial<IuguInvoiceBankSlipEntity>);
|
11
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IuguInvoiceBankSlipEntity = void 0;
|
4
|
+
var IuguInvoiceBankSlipEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (7)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function IuguInvoiceBankSlipEntity(data) {
|
8
|
+
// #region Properties (7)
|
9
|
+
this.bankSlipBank = 0;
|
10
|
+
this.bankSlipErrorCode = '00';
|
11
|
+
this.bankSlipErrorMessage = null;
|
12
|
+
this.bankSlipStatus = 'pending';
|
13
|
+
this.barcode = '';
|
14
|
+
this.barcodeData = '';
|
15
|
+
this.digitableLine = '';
|
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 IuguInvoiceBankSlipEntity;
|
25
|
+
}());
|
26
|
+
exports.IuguInvoiceBankSlipEntity = IuguInvoiceBankSlipEntity;
|