cecon-interfaces 1.1.61 → 1.1.62
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/member/entities/member.entity.mjs +1 -2
- package/dist/esm2022/pubsub/entities/index.mjs +2 -0
- package/dist/esm2022/pubsub/entities/subscription-change-status.entity.mjs +19 -0
- package/dist/esm2022/pubsub/enums/index.mjs +2 -0
- package/dist/esm2022/pubsub/enums/topics-type.enum.mjs +6 -0
- package/dist/esm2022/pubsub/index.mjs +4 -0
- package/dist/esm2022/pubsub/interfaces/i-subscription-change-status.mjs +2 -0
- package/dist/esm2022/pubsub/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +26 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/member/entities/member.entity.d.ts +0 -1
- package/dist/package.json +1 -1
- package/dist/pubsub/entities/index.d.ts +1 -0
- package/dist/pubsub/entities/subscription-change-status.entity.d.ts +10 -0
- package/dist/pubsub/enums/index.d.ts +1 -0
- package/dist/pubsub/enums/topics-type.enum.d.ts +4 -0
- package/dist/pubsub/index.d.ts +3 -0
- package/dist/pubsub/interfaces/i-subscription-change-status.d.ts +8 -0
- package/dist/pubsub/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/app/entities/app.entity.js +0 -71
- package/dist/app/entities/index.js +0 -9
- package/dist/app/entities/natigo.entity.js +0 -28
- package/dist/app/entities/rabbit.entity.js +0 -45
- package/dist/app/enums/app-category.enum.js +0 -34
- package/dist/app/enums/app-type.enum.js +0 -10
- package/dist/app/enums/header-type.enum.js +0 -8
- package/dist/app/enums/index.js +0 -11
- package/dist/app/enums/mode.enum.js +0 -15
- package/dist/app/index.js +0 -20
- package/dist/app/interfaces/i-app.js +0 -2
- package/dist/app/interfaces/i-natigo.js +0 -2
- package/dist/app/interfaces/i-rabbit.js +0 -2
- package/dist/app/interfaces/index.js +0 -2
- package/dist/app/types/app-config.type.js +0 -2
- package/dist/app/types/index.js +0 -2
- package/dist/campaign/entities/campaign.entity.js +0 -30
- package/dist/campaign/entities/index.js +0 -5
- package/dist/campaign/enums/e-campaign-status.enum.js +0 -11
- package/dist/campaign/enums/index.js +0 -5
- package/dist/campaign/index.js +0 -19
- package/dist/campaign/interfaces/i-campaign.js +0 -2
- package/dist/campaign/interfaces/index.js +0 -2
- package/dist/company/entities/company.entity.js +0 -49
- package/dist/company/entities/index.js +0 -6
- package/dist/company/enums/index.js +0 -8
- package/dist/company/enums/keys.enum.js +0 -11
- package/dist/company/enums/message-type.enum.js +0 -9
- package/dist/company/index.js +0 -19
- package/dist/company/interfaces/i-company.js +0 -2
- package/dist/company/interfaces/index.js +0 -2
- package/dist/container/entities/container.entity.js +0 -39
- package/dist/container/entities/index.js +0 -5
- package/dist/container/index.js +0 -18
- package/dist/container/interfaces/i-container.js +0 -2
- package/dist/container/interfaces/index.js +0 -2
- package/dist/device/entities/device.entity.js +0 -34
- package/dist/device/entities/index.js +0 -8
- package/dist/device/entities/metadata.entity.js +0 -21
- package/dist/device/index.js +0 -18
- package/dist/device/interfaces/i-device.js +0 -2
- package/dist/device/interfaces/i-metadata.js +0 -2
- package/dist/device/interfaces/index.js +0 -3
- package/dist/feature/entities/feature.entity.js +0 -30
- package/dist/feature/entities/index.js +0 -5
- package/dist/feature/index.js +0 -18
- package/dist/feature/interfaces/i-feature.js +0 -2
- package/dist/feature/interfaces/index.js +0 -2
- package/dist/general/entities/address.entity.js +0 -28
- package/dist/general/entities/base.entity.js +0 -26
- package/dist/general/entities/carousel-image.entity.js +0 -22
- package/dist/general/entities/coords.entity.js +0 -21
- package/dist/general/entities/custom-variable.entity.js +0 -21
- package/dist/general/entities/delivery-area.entity.js +0 -27
- package/dist/general/entities/dellivery-area-fixed.entity.js +0 -24
- package/dist/general/entities/index.js +0 -49
- package/dist/general/entities/messager-channel.entity.js +0 -22
- package/dist/general/entities/mobyo-apiconfig.entity.js +0 -25
- package/dist/general/entities/origin.entity.js +0 -26
- package/dist/general/entities/payment-card.entity.js +0 -22
- package/dist/general/entities/payment-cash.entity.js +0 -20
- package/dist/general/entities/payment-method-option.entity.js +0 -35
- package/dist/general/entities/payment-method.entity.js +0 -31
- package/dist/general/entities/payment-pix.entity.js +0 -21
- package/dist/general/entities/payment-provider-agent.entity.js +0 -22
- package/dist/general/entities/payment-provider.entity.js +0 -33
- package/dist/general/entities/payment-token-data.entity.js +0 -26
- package/dist/general/entities/payment-token.entity.js +0 -25
- package/dist/general/entities/payment-wallet.entity.js +0 -20
- package/dist/general/entities/payment.entity.js +0 -29
- package/dist/general/entities/rating.entity.js +0 -23
- package/dist/general/entities/sponsorship-value.entity.js +0 -21
- package/dist/general/enums/bank-slip-status.enum.js +0 -11
- package/dist/general/enums/boolean-string.enum.js +0 -8
- package/dist/general/enums/doc-type.enum.js +0 -8
- package/dist/general/enums/e-discount-type.enum.js +0 -8
- package/dist/general/enums/fiscal-doc-model-code.enum.js +0 -15
- package/dist/general/enums/index.js +0 -35
- package/dist/general/enums/interval-type.enum.js +0 -9
- package/dist/general/enums/lead-origin.enum.js +0 -13
- package/dist/general/enums/os.enum.js +0 -14
- package/dist/general/enums/payment-channel.enum.js +0 -14
- package/dist/general/enums/payment-mode.enum.js +0 -9
- package/dist/general/enums/payment-status.enum.js +0 -15
- package/dist/general/enums/payment-type.enum.js +0 -26
- package/dist/general/enums/person-type.enum.js +0 -8
- package/dist/general/enums/platform.enum.js +0 -13
- package/dist/general/enums/providers.enum.js +0 -12
- package/dist/general/enums/sponsorship-values.enum.js +0 -10
- package/dist/general/index.js +0 -19
- package/dist/general/interfaces/i-address.js +0 -2
- package/dist/general/interfaces/i-base.js +0 -3
- package/dist/general/interfaces/i-carousel-image.js +0 -2
- package/dist/general/interfaces/i-coords.js +0 -2
- package/dist/general/interfaces/i-custom-variable.js +0 -3
- package/dist/general/interfaces/i-delivery-area-fixed.js +0 -2
- package/dist/general/interfaces/i-delivery-area.js +0 -2
- package/dist/general/interfaces/i-messager-channel.js +0 -2
- package/dist/general/interfaces/i-mobyo-api-config.js +0 -2
- package/dist/general/interfaces/i-origin.js +0 -2
- package/dist/general/interfaces/i-payment-card.js +0 -2
- package/dist/general/interfaces/i-payment-cash.js +0 -2
- package/dist/general/interfaces/i-payment-method-option.js +0 -2
- package/dist/general/interfaces/i-payment-method.js +0 -2
- package/dist/general/interfaces/i-payment-pix.js +0 -2
- package/dist/general/interfaces/i-payment-provider-agent.js +0 -2
- package/dist/general/interfaces/i-payment-provider.js +0 -2
- package/dist/general/interfaces/i-payment-token-data.js +0 -3
- package/dist/general/interfaces/i-payment-token.js +0 -3
- package/dist/general/interfaces/i-payment-wallet.js +0 -2
- package/dist/general/interfaces/i-payment.js +0 -2
- package/dist/general/interfaces/i-rating.js +0 -2
- package/dist/general/interfaces/i-sponsorship-value.js +0 -2
- package/dist/general/interfaces/index.js +0 -3
- package/dist/global-settings/entities/global-setting-iugu.entity.js +0 -71
- package/dist/global-settings/entities/global-setting-master.entity.js +0 -35
- package/dist/global-settings/entities/global-setting.entity.js +0 -22
- package/dist/global-settings/entities/index.js +0 -9
- package/dist/global-settings/index.js +0 -18
- package/dist/global-settings/interfaces/i-global-setting-iugu.js +0 -2
- package/dist/global-settings/interfaces/i-global-setting-master.js +0 -2
- package/dist/global-settings/interfaces/i-global-setting.js +0 -2
- package/dist/global-settings/interfaces/index.js +0 -2
- package/dist/index.js +0 -40
- package/dist/installation/entities/index.js +0 -5
- package/dist/installation/entities/installation-app.entity.js +0 -25
- package/dist/installation/entities/installation.entity.js +0 -34
- package/dist/installation/enums/index.js +0 -5
- package/dist/installation/enums/status.enum.js +0 -15
- package/dist/installation/index.js +0 -19
- package/dist/installation/interfaces/i-installation-app.js +0 -2
- package/dist/installation/interfaces/i-installation.js +0 -2
- package/dist/installation/interfaces/index.js +0 -2
- package/dist/invite/entities/index.js +0 -5
- package/dist/invite/entities/invite.entity.js +0 -38
- package/dist/invite/enums/index.js +0 -5
- package/dist/invite/enums/status.enum.js +0 -11
- package/dist/invite/index.js +0 -19
- package/dist/invite/interfaces/i-invite.js +0 -2
- package/dist/invite/interfaces/index.js +0 -2
- package/dist/invoice/entities/index.js +0 -17
- package/dist/invoice/entities/invoice-bank-slip.entity.js +0 -27
- package/dist/invoice/entities/invoice-credit-card.entity.js +0 -25
- package/dist/invoice/entities/invoice-item.entity.js +0 -22
- package/dist/invoice/entities/invoice-log.entity.js +0 -23
- package/dist/invoice/entities/invoice-payer.entity.js +0 -26
- package/dist/invoice/entities/invoice-pix.entity.js +0 -24
- package/dist/invoice/entities/invoice.entity.js +0 -62
- package/dist/invoice/enums/index.js +0 -5
- package/dist/invoice/enums/invoices-status.enum.js +0 -17
- package/dist/invoice/index.js +0 -19
- package/dist/invoice/interfaces/i-invoice-bank-slip.js +0 -2
- package/dist/invoice/interfaces/i-invoice-credit-card.js +0 -2
- package/dist/invoice/interfaces/i-invoice-item.js +0 -2
- package/dist/invoice/interfaces/i-invoice-log.js +0 -2
- package/dist/invoice/interfaces/i-invoice-payer.js +0 -2
- package/dist/invoice/interfaces/i-invoice-pix.js +0 -2
- package/dist/invoice/interfaces/i-invoice.js +0 -2
- package/dist/invoice/interfaces/index.js +0 -2
- package/dist/iugu/entities/account-informations.entity.js +0 -21
- package/dist/iugu/entities/account-last-verification-request-data.entity.js +0 -40
- package/dist/iugu/entities/charge-credit-card.entity.js +0 -30
- package/dist/iugu/entities/customer.entity.js +0 -40
- package/dist/iugu/entities/index.js +0 -21
- package/dist/iugu/entities/invoice-bankslip.entity.js +0 -26
- package/dist/iugu/entities/invoice.entity.js +0 -82
- package/dist/iugu/entities/iugu-account.entity.js +0 -75
- package/dist/iugu/entities/payment-token-data.entity.js +0 -28
- package/dist/iugu/entities/payment-token.entity.js +0 -25
- package/dist/iugu/enums/index.js +0 -9
- package/dist/iugu/enums/iugu-auto-advance.enum.js +0 -10
- package/dist/iugu/enums/iugu-bank.enum.js +0 -222
- package/dist/iugu/enums/iugu-status-invoice.enum.js +0 -17
- package/dist/iugu/index.js +0 -20
- package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +0 -2
- package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +0 -2
- package/dist/iugu/interfaces/i-account-configuration-pix.js +0 -2
- package/dist/iugu/interfaces/i-account-configuration.js +0 -2
- package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +0 -2
- package/dist/iugu/interfaces/i-account-informations.js +0 -2
- package/dist/iugu/interfaces/i-account-marketplace-split.js +0 -2
- package/dist/iugu/interfaces/i-account.js +0 -2
- package/dist/iugu/interfaces/i-change-plan-simulation.js +0 -2
- package/dist/iugu/interfaces/i-charge-credit-card.js +0 -2
- package/dist/iugu/interfaces/i-config-early-payment-discounts.js +0 -2
- package/dist/iugu/interfaces/i-customer.js +0 -2
- package/dist/iugu/interfaces/i-invoice-bankslip.js +0 -2
- package/dist/iugu/interfaces/i-invoice.js +0 -2
- package/dist/iugu/interfaces/i-payment-token-data.js +0 -2
- package/dist/iugu/interfaces/i-payment-token.js +0 -2
- package/dist/iugu/interfaces/i-plan-feature.js +0 -2
- package/dist/iugu/interfaces/i-plan-price.js +0 -2
- package/dist/iugu/interfaces/i-plan.js +0 -2
- package/dist/iugu/interfaces/i-subscription-custom-variable.js +0 -2
- package/dist/iugu/interfaces/i-subscription-feature.js +0 -2
- package/dist/iugu/interfaces/i-subscription-features.js +0 -2
- package/dist/iugu/interfaces/i-subscription-log.js +0 -2
- package/dist/iugu/interfaces/i-subscription-recent-invoice.js +0 -2
- package/dist/iugu/interfaces/i-subscription-subitem.js +0 -2
- package/dist/iugu/interfaces/i-subscription.js +0 -2
- package/dist/iugu/interfaces/index.js +0 -2
- package/dist/iugu/responses/i-marketplace-list.js +0 -2
- package/dist/iugu/responses/i-marketplace-token.js +0 -2
- package/dist/iugu/responses/i-marketplace-tokens.js +0 -2
- package/dist/iugu/responses/index.js +0 -2
- package/dist/lead/entities/index.js +0 -5
- package/dist/lead/entities/lead.entity.js +0 -57
- package/dist/lead/enums/index.js +0 -5
- package/dist/lead/enums/lead-status.enum.js +0 -18
- package/dist/lead/index.js +0 -19
- package/dist/lead/interfaces/i-lead.js +0 -2
- package/dist/lead/interfaces/index.js +0 -2
- package/dist/member/entities/index.js +0 -5
- package/dist/member/entities/member.entity.js +0 -51
- package/dist/member/enums/index.js +0 -7
- package/dist/member/enums/member-rules.enum.js +0 -14
- package/dist/member/enums/member-type.enum.js +0 -9
- package/dist/member/index.js +0 -19
- package/dist/member/interfaces/i-member.js +0 -2
- package/dist/member/interfaces/index.js +0 -2
- package/dist/notification/entities/index.js +0 -7
- package/dist/notification/entities/notification-action.entity.js +0 -24
- package/dist/notification/entities/notification.entity.js +0 -34
- package/dist/notification/enums/action-type.enum.js +0 -9
- package/dist/notification/enums/category.enum.js +0 -17
- package/dist/notification/enums/index.js +0 -11
- package/dist/notification/enums/priority.enum.js +0 -10
- package/dist/notification/enums/status.enum.js +0 -11
- package/dist/notification/index.js +0 -19
- package/dist/notification/interfaces/i-notification-action.js +0 -2
- package/dist/notification/interfaces/i-notification.js +0 -2
- package/dist/notification/interfaces/index.js +0 -2
- package/dist/order/entities/additional-fees.entity.js +0 -21
- package/dist/order/entities/benefits.entity.js +0 -25
- package/dist/order/entities/cancellation.entity.js +0 -22
- package/dist/order/entities/customer-phone.entity.js +0 -23
- package/dist/order/entities/customer.entity.js +0 -27
- package/dist/order/entities/index.js +0 -39
- package/dist/order/entities/item-composition.entity.js +0 -25
- package/dist/order/entities/item-option.entity.js +0 -34
- package/dist/order/entities/item.entity.js +0 -40
- package/dist/order/entities/order.entity.js +0 -38
- package/dist/order/entities/payment-card.entity.js +0 -20
- package/dist/order/entities/payment-cash.entity.js +0 -20
- package/dist/order/entities/payment-method.entity.js +0 -31
- package/dist/order/entities/payment-pix.entity.js +0 -21
- package/dist/order/entities/payment-wallet.entity.js +0 -20
- package/dist/order/entities/payment.entity.js +0 -22
- package/dist/order/entities/scale-item.entity.js +0 -21
- package/dist/order/entities/scale-price.entity.js +0 -21
- package/dist/order/entities/total.entity.js +0 -24
- package/dist/order/enums/index.js +0 -6
- package/dist/order/enums/order-status.enum.js +0 -42
- package/dist/order/index.js +0 -19
- package/dist/order/interfaces/i-additional-fee.js +0 -2
- package/dist/order/interfaces/i-benefits.js +0 -2
- package/dist/order/interfaces/i-cancellation.js +0 -2
- package/dist/order/interfaces/i-customer-phone.js +0 -2
- package/dist/order/interfaces/i-customer.js +0 -2
- package/dist/order/interfaces/i-item-composition.js +0 -2
- package/dist/order/interfaces/i-item-option.js +0 -2
- package/dist/order/interfaces/i-item.js +0 -2
- package/dist/order/interfaces/i-order.js +0 -2
- package/dist/order/interfaces/i-payment-card.js +0 -2
- package/dist/order/interfaces/i-payment-cash.js +0 -2
- package/dist/order/interfaces/i-payment-method.js +0 -2
- package/dist/order/interfaces/i-payment-pix.js +0 -2
- package/dist/order/interfaces/i-payment-wallet.js +0 -2
- package/dist/order/interfaces/i-payment.js +0 -2
- package/dist/order/interfaces/i-scale-item.js +0 -2
- package/dist/order/interfaces/i-scale-price.js +0 -2
- package/dist/order/interfaces/i-total.js +0 -2
- package/dist/order/interfaces/index.js +0 -2
- package/dist/partner/entities/index.js +0 -5
- package/dist/partner/entities/partner.entity.js +0 -39
- package/dist/partner/index.js +0 -18
- package/dist/partner/interfaces/i-partner.js +0 -2
- package/dist/partner/interfaces/index.js +0 -2
- package/dist/plan/entities/feature.entity.js +0 -30
- package/dist/plan/entities/index.js +0 -7
- package/dist/plan/entities/plan.entity.js +0 -32
- package/dist/plan/enums/index.js +0 -7
- package/dist/plan/enums/plans-feature-type.enum.js +0 -8
- package/dist/plan/enums/plans-identifier.enum.js +0 -8
- package/dist/plan/index.js +0 -19
- package/dist/plan/interfaces/i-feature.js +0 -2
- package/dist/plan/interfaces/i-plan.js +0 -2
- package/dist/plan/interfaces/index.js +0 -2
- package/dist/purchases/entities/app-info.entity.js +0 -22
- package/dist/purchases/entities/index.js +0 -7
- package/dist/purchases/entities/purchase.entity.js +0 -44
- package/dist/purchases/index.js +0 -18
- package/dist/purchases/interfaces/i-app-info.js +0 -2
- package/dist/purchases/interfaces/i-purchase.js +0 -2
- package/dist/purchases/interfaces/index.js +0 -2
- package/dist/resume/entities/index.js +0 -17
- package/dist/resume/entities/resume-collection.entity.js +0 -21
- package/dist/resume/entities/resume-day.entity.js +0 -25
- package/dist/resume/entities/resume-hour.entity.js +0 -23
- package/dist/resume/entities/resume-month.entity.js +0 -25
- package/dist/resume/entities/resume-total.entity.js +0 -24
- package/dist/resume/entities/resume-year.entity.js +0 -24
- package/dist/resume/entities/resume.entity.js +0 -22
- package/dist/resume/index.js +0 -18
- package/dist/resume/interfaces/i-resume-collection-status.js +0 -2
- package/dist/resume/interfaces/i-resume-collection.js +0 -2
- package/dist/resume/interfaces/i-resume-day.js +0 -2
- package/dist/resume/interfaces/i-resume-hour.js +0 -2
- package/dist/resume/interfaces/i-resume-month.js +0 -2
- package/dist/resume/interfaces/i-resume-total.js +0 -2
- package/dist/resume/interfaces/i-resume-year.js +0 -2
- package/dist/resume/interfaces/i-resume.js +0 -2
- package/dist/resume/interfaces/index.js +0 -2
- package/dist/subscription/entities/index.js +0 -11
- package/dist/subscription/entities/subscription-company.entity.js +0 -25
- package/dist/subscription/entities/subscription-item.entity.js +0 -25
- package/dist/subscription/entities/subscription-log.entity.js +0 -23
- package/dist/subscription/entities/subscription.entity.js +0 -53
- package/dist/subscription/enums/index.js +0 -5
- package/dist/subscription/enums/subscription-status.enum.js +0 -14
- package/dist/subscription/index.js +0 -19
- package/dist/subscription/interfaces/i-subscription-company.js +0 -2
- package/dist/subscription/interfaces/i-subscription-item.js +0 -2
- package/dist/subscription/interfaces/i-subscription-log.js +0 -2
- package/dist/subscription/interfaces/i-subscription.js +0 -2
- package/dist/subscription/interfaces/index.js +0 -2
- package/dist/token/entities/index.js +0 -5
- package/dist/token/entities/token.entity.js +0 -32
- package/dist/token/index.js +0 -18
- package/dist/token/interfaces/i-token.js +0 -2
- package/dist/token/interfaces/index.js +0 -2
- package/dist/viacep/index.js +0 -17
- package/dist/viacep/interfaces/i-via-cep.js +0 -2
- package/dist/viacep/interfaces/index.js +0 -2
- package/dist/voucher/entities/index.js +0 -5
- package/dist/voucher/entities/voucher.entity.js +0 -59
- package/dist/voucher/enums/e-voucher-status.enum.js +0 -11
- package/dist/voucher/enums/index.js +0 -5
- package/dist/voucher/index.js +0 -19
- package/dist/voucher/interfaces/i-voucher.js +0 -2
- package/dist/voucher/interfaces/index.js +0 -2
@@ -1,71 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GlobalSettingIuguEntity = void 0;
|
4
|
-
var GlobalSettingIuguEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (9)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function GlobalSettingIuguEntity(data) {
|
8
|
-
// #region Properties (9)
|
9
|
-
/**
|
10
|
-
* Prazo máximo para pagamento do boleto após o vencimento.
|
11
|
-
* O prazo máximo para pagamento deve ser entre "1" e "30"
|
12
|
-
* dias após a data de vencimento.
|
13
|
-
*/
|
14
|
-
this.bankSlipExtraDue = 1;
|
15
|
-
/**
|
16
|
-
* Se true, garante que a data de vencimento seja apenas em dias de semana,
|
17
|
-
* e não em sábados ou domingos.
|
18
|
-
*/
|
19
|
-
this.ensureWorkdayDueDate = true;
|
20
|
-
/**
|
21
|
-
* Prazo de dias para o vencimento da fatura.
|
22
|
-
*/
|
23
|
-
this.billingDays = 10;
|
24
|
-
/**
|
25
|
-
* Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
|
26
|
-
* Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
|
27
|
-
* disponível para ser paga até às 23:59:59 do dia de vencimento.
|
28
|
-
*/
|
29
|
-
this.expiresIn = 0;
|
30
|
-
/**
|
31
|
-
* Habilitar ou Desabilitar multa por atraso de pagamento
|
32
|
-
*/
|
33
|
-
this.fines = true;
|
34
|
-
/**
|
35
|
-
* Determine a multa % a ser cobrada para pagamentos
|
36
|
-
* efetuados após a data de vencimento
|
37
|
-
*/
|
38
|
-
this.latePaymentFine = 2;
|
39
|
-
/**
|
40
|
-
* Determine a multa por valor fixo a ser
|
41
|
-
* cobrada para pagamentos efetuados após a data de vencimento
|
42
|
-
*/
|
43
|
-
this.latePaymentFineCents = 0;
|
44
|
-
/**
|
45
|
-
* determina se cobra ou não juros por dia de atraso.
|
46
|
-
* 1% ao mês pro rata. Necessário passar a multa como true
|
47
|
-
*/
|
48
|
-
this.perDayInterest = true;
|
49
|
-
/**
|
50
|
-
* Juros a ser cobrado por dia em centavos.
|
51
|
-
* Sobrepõem o per_day_interest_value.
|
52
|
-
* O juros somado em 30 dias deve ser inferior a 50% do valor da fatura.
|
53
|
-
*/
|
54
|
-
this.perDayInterestCents = 0;
|
55
|
-
/**
|
56
|
-
* Informar o valor percentual de juros que deseja cobrar.
|
57
|
-
* Não se aplica quando os valores diários de mora
|
58
|
-
* calculados são menores que 1 centavo.
|
59
|
-
*/
|
60
|
-
this.perDayInterestValue = 1;
|
61
|
-
if (data) {
|
62
|
-
for (var key in data) {
|
63
|
-
if (data.hasOwnProperty(key) && key in this) {
|
64
|
-
this[key] = data[key];
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
return GlobalSettingIuguEntity;
|
70
|
-
}());
|
71
|
-
exports.GlobalSettingIuguEntity = GlobalSettingIuguEntity;
|
@@ -1,35 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GlobalSettingMasterEntity = void 0;
|
4
|
-
var GlobalSettingMasterEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (6)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function GlobalSettingMasterEntity(data) {
|
8
|
-
// #region Properties (6)
|
9
|
-
/**
|
10
|
-
* Prazo de dias para o vencimento da fatura.
|
11
|
-
*/
|
12
|
-
this.deleteInvoicesPlacedDays = 10;
|
13
|
-
this.deleteSubscriptionsPlacedDays = 10;
|
14
|
-
/**
|
15
|
-
* Dias em que a fatura expira após o vencimento
|
16
|
-
*
|
17
|
-
* */
|
18
|
-
this.subscriptionsCancelDays = 3;
|
19
|
-
this.subscriptionsExpireDays = 1;
|
20
|
-
this.subscriptionsSuspendDays = 1;
|
21
|
-
/**
|
22
|
-
* Dias em que a fatura é suspensa após o vencimento
|
23
|
-
*/
|
24
|
-
this.suspendDays = 3;
|
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 GlobalSettingMasterEntity;
|
34
|
-
}());
|
35
|
-
exports.GlobalSettingMasterEntity = GlobalSettingMasterEntity;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GlobalSettingEntity = void 0;
|
4
|
-
var global_setting_iugu_entity_1 = require("./global-setting-iugu.entity");
|
5
|
-
var GlobalSettingEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (1)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function GlobalSettingEntity(data) {
|
9
|
-
// #region Properties (1)
|
10
|
-
this.iugu = new global_setting_iugu_entity_1.GlobalSettingIuguEntity();
|
11
|
-
this.billingDays = 3;
|
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 GlobalSettingEntity;
|
21
|
-
}());
|
22
|
-
exports.GlobalSettingEntity = GlobalSettingEntity;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GlobalSettingEntity = exports.GlobalSettingMasterEntity = exports.GlobalSettingIuguEntity = void 0;
|
4
|
-
var global_setting_iugu_entity_1 = require("./global-setting-iugu.entity");
|
5
|
-
Object.defineProperty(exports, "GlobalSettingIuguEntity", { enumerable: true, get: function () { return global_setting_iugu_entity_1.GlobalSettingIuguEntity; } });
|
6
|
-
var global_setting_master_entity_1 = require("./global-setting-master.entity");
|
7
|
-
Object.defineProperty(exports, "GlobalSettingMasterEntity", { enumerable: true, get: function () { return global_setting_master_entity_1.GlobalSettingMasterEntity; } });
|
8
|
-
var global_setting_entity_1 = require("./global-setting.entity");
|
9
|
-
Object.defineProperty(exports, "GlobalSettingEntity", { enumerable: true, get: function () { return global_setting_entity_1.GlobalSettingEntity; } });
|
@@ -1,18 +0,0 @@
|
|
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);
|
package/dist/index.js
DELETED
@@ -1,40 +0,0 @@
|
|
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("./app"), exports);
|
18
|
-
__exportStar(require("./campaign"), exports);
|
19
|
-
__exportStar(require("./company"), exports);
|
20
|
-
__exportStar(require("./container"), exports);
|
21
|
-
__exportStar(require("./device"), exports);
|
22
|
-
__exportStar(require("./feature"), exports);
|
23
|
-
__exportStar(require("./general"), exports);
|
24
|
-
__exportStar(require("./global-settings"), exports);
|
25
|
-
__exportStar(require("./installation"), exports);
|
26
|
-
__exportStar(require("./invite"), exports);
|
27
|
-
__exportStar(require("./invoice"), exports);
|
28
|
-
__exportStar(require("./iugu"), exports);
|
29
|
-
__exportStar(require("./lead"), exports);
|
30
|
-
__exportStar(require("./member"), exports);
|
31
|
-
__exportStar(require("./notification"), exports);
|
32
|
-
__exportStar(require("./order"), exports);
|
33
|
-
__exportStar(require("./partner"), exports);
|
34
|
-
__exportStar(require("./plan"), exports);
|
35
|
-
__exportStar(require("./purchases"), exports);
|
36
|
-
__exportStar(require("./resume"), exports);
|
37
|
-
__exportStar(require("./subscription"), exports);
|
38
|
-
__exportStar(require("./token"), exports);
|
39
|
-
__exportStar(require("./viacep"), exports);
|
40
|
-
__exportStar(require("./voucher"), exports);
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.InstallationEntity = void 0;
|
4
|
-
var installation_entity_1 = require("./installation.entity");
|
5
|
-
Object.defineProperty(exports, "InstallationEntity", { enumerable: true, get: function () { return installation_entity_1.InstallationEntity; } });
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.InstallationAppEntity = void 0;
|
4
|
-
var app_1 = require("../../app");
|
5
|
-
var InstallationAppEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (5)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function InstallationAppEntity(data) {
|
9
|
-
// #region Properties (5)
|
10
|
-
this.iconUrl = '';
|
11
|
-
this.id = '';
|
12
|
-
this.mode = app_1.EAppMode.NATI_GO;
|
13
|
-
this.name = '';
|
14
|
-
this.version = '';
|
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 InstallationAppEntity;
|
24
|
-
}());
|
25
|
-
exports.InstallationAppEntity = InstallationAppEntity;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.InstallationEntity = void 0;
|
4
|
-
var subscription_status_enum_1 = require("../../subscription/enums/subscription-status.enum");
|
5
|
-
var installation_app_entity_1 = require("./installation-app.entity");
|
6
|
-
var InstallationEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (13)
|
8
|
-
// #region Constructors (1)
|
9
|
-
function InstallationEntity(data) {
|
10
|
-
// #region Properties (13)
|
11
|
-
this.app = new installation_app_entity_1.InstallationAppEntity();
|
12
|
-
this.createdAt = new Date();
|
13
|
-
this.customConfig = null;
|
14
|
-
this.expirationDate = new Date();
|
15
|
-
this.featureId = '';
|
16
|
-
this.id = '';
|
17
|
-
this.lastCheckAt = new Date();
|
18
|
-
this.status = subscription_status_enum_1.ESubscriptionStatus.PLACED;
|
19
|
-
this.subscriptionId = '';
|
20
|
-
this.tags = [];
|
21
|
-
this.trialEndDate = new Date();
|
22
|
-
this.trialStartDate = new Date();
|
23
|
-
this.updatedAt = new Date();
|
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 InstallationEntity;
|
33
|
-
}());
|
34
|
-
exports.InstallationEntity = InstallationEntity;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EInstallationStatus = void 0;
|
4
|
-
var status_enum_1 = require("./status.enum");
|
5
|
-
Object.defineProperty(exports, "EInstallationStatus", { enumerable: true, get: function () { return status_enum_1.EInstallationStatus; } });
|
@@ -1,15 +0,0 @@
|
|
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 = {}));
|
@@ -1,19 +0,0 @@
|
|
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);
|
@@ -1,5 +0,0 @@
|
|
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; } });
|
@@ -1,38 +0,0 @@
|
|
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;
|
@@ -1,5 +0,0 @@
|
|
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; } });
|
@@ -1,11 +0,0 @@
|
|
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 = {}));
|
package/dist/invite/index.js
DELETED
@@ -1,19 +0,0 @@
|
|
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);
|
@@ -1,17 +0,0 @@
|
|
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; } });
|
@@ -1,27 +0,0 @@
|
|
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;
|
@@ -1,25 +0,0 @@
|
|
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;
|
@@ -1,22 +0,0 @@
|
|
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;
|
@@ -1,23 +0,0 @@
|
|
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;
|
@@ -1,26 +0,0 @@
|
|
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;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.InvoicePixEntity = void 0;
|
4
|
-
var InvoicePixEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (5)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function InvoicePixEntity(data) {
|
8
|
-
// #region Properties (5)
|
9
|
-
this.expiresAt = new Date();
|
10
|
-
this.qrCode = '';
|
11
|
-
this.qrCodeImage = '';
|
12
|
-
this.qrCodeText = '';
|
13
|
-
this.status = '';
|
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 InvoicePixEntity;
|
23
|
-
}());
|
24
|
-
exports.InvoicePixEntity = InvoicePixEntity;
|