cecon-interfaces 1.1.26 → 1.1.28
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/rabbit.entity.d.ts +4 -2
- package/dist/app/interfaces/i-rabbit.d.ts +2 -0
- package/dist/esm2022/app/entities/rabbit.entity.mjs +7 -5
- package/dist/esm2022/app/interfaces/i-rabbit.mjs +1 -1
- package/dist/esm2022/general/enums/bank-slip-status.enum.mjs +9 -0
- package/dist/esm2022/general/enums/index.mjs +2 -1
- package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
- package/dist/esm2022/invoice/entities/index.mjs +6 -2
- package/dist/esm2022/invoice/entities/invoice-bank-slip.entity.mjs +23 -0
- package/dist/esm2022/invoice/entities/invoice-credit-card.entity.mjs +21 -0
- package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +3 -8
- package/dist/esm2022/invoice/entities/invoice-log.entity.mjs +19 -0
- package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +22 -0
- package/dist/esm2022/invoice/entities/invoice-pix.entity.mjs +19 -0
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +36 -11
- package/dist/esm2022/invoice/enums/index.mjs +2 -2
- package/dist/esm2022/invoice/enums/invoices-status.enum.mjs +15 -15
- package/dist/esm2022/invoice/interfaces/i-invoice-bank-slip.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-credit-card.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
- package/dist/esm2022/invoice/interfaces/i-invoice-log.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-pix.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice.mjs +1 -1
- package/dist/esm2022/invoice/interfaces/index.mjs +1 -1
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +153 -51
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/bank-slip-status.enum.d.ts +7 -0
- package/dist/general/enums/index.d.ts +1 -0
- package/dist/general/enums/payment-type.enum.d.ts +2 -1
- package/dist/invoice/entities/index.d.ts +5 -1
- package/dist/invoice/entities/invoice-bank-slip.entity.d.ts +11 -0
- package/dist/invoice/entities/invoice-credit-card.entity.d.ts +10 -0
- package/dist/invoice/entities/invoice-item.entity.d.ts +0 -5
- package/dist/invoice/entities/invoice-log.entity.d.ts +8 -0
- package/dist/invoice/entities/invoice-payer.entity.d.ts +11 -0
- package/dist/invoice/entities/invoice-pix.entity.d.ts +8 -0
- package/dist/invoice/entities/invoice.entity.d.ts +36 -8
- package/dist/invoice/enums/index.d.ts +1 -1
- package/dist/invoice/enums/invoices-status.enum.d.ts +1 -1
- package/dist/invoice/interfaces/i-invoice-bank-slip.d.ts +10 -0
- package/dist/invoice/interfaces/i-invoice-credit-card.d.ts +8 -0
- package/dist/invoice/interfaces/i-invoice-item.d.ts +0 -5
- package/dist/invoice/interfaces/i-invoice-log.d.ts +6 -0
- package/dist/invoice/interfaces/i-invoice-payer.d.ts +9 -0
- package/dist/invoice/interfaces/i-invoice-pix.d.ts +6 -0
- package/dist/invoice/interfaces/i-invoice.d.ts +38 -10
- package/dist/invoice/interfaces/index.d.ts +5 -1
- package/dist/package.json +1 -1
- package/dist/subscription/interfaces/i-subscription.d.ts +1 -1
- 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 -42
- 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/esm2022/invoice/entities/invoice-payment-method.entity.mjs +0 -31
- package/dist/esm2022/invoice/interfaces/i-invoice-payment-method.mjs +0 -2
- 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/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 -33
- 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 -25
- 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/index.js +0 -39
- 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 -9
- package/dist/invoice/entities/invoice-item.entity.js +0 -27
- package/dist/invoice/entities/invoice-payment-method.entity.d.ts +0 -20
- package/dist/invoice/entities/invoice-payment-method.entity.js +0 -35
- package/dist/invoice/entities/invoice.entity.js +0 -41
- 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-item.js +0 -2
- package/dist/invoice/interfaces/i-invoice-payment-method.d.ts +0 -18
- package/dist/invoice/interfaces/i-invoice-payment-method.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/customer.entity.js +0 -40
- package/dist/iugu/entities/index.js +0 -17
- 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-config-early-payment-discounts.js +0 -2
- package/dist/iugu/interfaces/i-customer.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 -38
- 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 -23
- 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 -21
- package/dist/resume/index.js +0 -18
- 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 -24
- package/dist/subscription/entities/subscription-log.entity.js +0 -23
- package/dist/subscription/entities/subscription.entity.js +0 -49
- 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 -58
- 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,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.InvoiceStatusEnum = void 0;
|
4
|
-
var InvoiceStatusEnum;
|
5
|
-
(function (InvoiceStatusEnum) {
|
6
|
-
InvoiceStatusEnum["PENDING"] = "PENDING";
|
7
|
-
InvoiceStatusEnum["PAID"] = "PAID";
|
8
|
-
InvoiceStatusEnum["CANCELED"] = "CANCELED";
|
9
|
-
InvoiceStatusEnum["IN_ANALYSIS"] = "IN_ANALYSIS";
|
10
|
-
InvoiceStatusEnum["DRAFT"] = "DRAFT";
|
11
|
-
InvoiceStatusEnum["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
12
|
-
InvoiceStatusEnum["REFUNDED"] = "REFUNDED";
|
13
|
-
InvoiceStatusEnum["EXPIRED"] = "EXPIRED";
|
14
|
-
InvoiceStatusEnum["IN_PROTEST"] = "IN_PROTEST";
|
15
|
-
InvoiceStatusEnum["CHARGEBACK"] = "CHARGEBACK";
|
16
|
-
InvoiceStatusEnum["EXTERNALLY_PAID"] = "EXTERNALLY_PAID";
|
17
|
-
})(InvoiceStatusEnum || (exports.InvoiceStatusEnum = InvoiceStatusEnum = {}));
|
package/dist/invoice/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,18 +0,0 @@
|
|
1
|
-
import { PaymentStatusEnum, PaymentTypeEnum } from '../../general';
|
2
|
-
export interface IInvoicePaymentMethod {
|
3
|
-
amount: number;
|
4
|
-
brand: string;
|
5
|
-
createdAt: Date;
|
6
|
-
currency: string;
|
7
|
-
expMonth: number;
|
8
|
-
expYear: number;
|
9
|
-
id: string;
|
10
|
-
last4: string;
|
11
|
-
name: string;
|
12
|
-
pixQrCode: string;
|
13
|
-
pixUrl: string;
|
14
|
-
status: PaymentStatusEnum;
|
15
|
-
transactionId: string;
|
16
|
-
type: PaymentTypeEnum;
|
17
|
-
updatedAt: Date;
|
18
|
-
}
|
@@ -1,21 +0,0 @@
|
|
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;
|
@@ -1,40 +0,0 @@
|
|
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;
|
@@ -1,40 +0,0 @@
|
|
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,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IuguPaymentTokenEntity = exports.IuguPaymentTokenDataEntity = exports.IuguAccountEntity = exports.IuguInvoiceEntity = 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_entity_1 = require("./invoice.entity");
|
11
|
-
Object.defineProperty(exports, "IuguInvoiceEntity", { enumerable: true, get: function () { return invoice_entity_1.IuguInvoiceEntity; } });
|
12
|
-
var iugu_account_entity_1 = require("./iugu-account.entity");
|
13
|
-
Object.defineProperty(exports, "IuguAccountEntity", { enumerable: true, get: function () { return iugu_account_entity_1.IuguAccountEntity; } });
|
14
|
-
var payment_token_data_entity_1 = require("./payment-token-data.entity");
|
15
|
-
Object.defineProperty(exports, "IuguPaymentTokenDataEntity", { enumerable: true, get: function () { return payment_token_data_entity_1.IuguPaymentTokenDataEntity; } });
|
16
|
-
var payment_token_entity_1 = require("./payment-token.entity");
|
17
|
-
Object.defineProperty(exports, "IuguPaymentTokenEntity", { enumerable: true, get: function () { return payment_token_entity_1.IuguPaymentTokenEntity; } });
|
@@ -1,82 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IuguInvoiceEntity = void 0;
|
4
|
-
var IuguInvoiceEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (114)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function IuguInvoiceEntity(data) {
|
8
|
-
// #region Properties (114)
|
9
|
-
this.accountId = "";
|
10
|
-
this.accountName = "";
|
11
|
-
this.bankAccountBranch = "";
|
12
|
-
this.bankAccountNumber = "";
|
13
|
-
this.bankSlip = {};
|
14
|
-
this.bankSlipExtraDue = 0;
|
15
|
-
this.commission = "";
|
16
|
-
this.createdAt = "";
|
17
|
-
this.createdAtIso = "";
|
18
|
-
this.creditCardTransaction = "";
|
19
|
-
this.currency = "";
|
20
|
-
this.customVariables = [];
|
21
|
-
this.discountCents = 0;
|
22
|
-
this.dueDate = "";
|
23
|
-
this.earlyPaymentDiscount = false;
|
24
|
-
this.earlyPaymentDiscounts = [];
|
25
|
-
this.email = "";
|
26
|
-
this.finesOnOccurrenceDay = "";
|
27
|
-
this.finesOnOccurrenceDayCents = 0;
|
28
|
-
this.id = "";
|
29
|
-
this.ignoreCanceledEmail = false;
|
30
|
-
this.ignoreDueEmail = false;
|
31
|
-
this.items = [];
|
32
|
-
this.itemsTotalCents = 0;
|
33
|
-
this.latePaymentFineCents = 0;
|
34
|
-
this.logs = [];
|
35
|
-
this.notificationUrl = "";
|
36
|
-
this.paid = "";
|
37
|
-
this.payableWith = "";
|
38
|
-
this.payerAddressCity = "";
|
39
|
-
this.payerAddressCountry = "";
|
40
|
-
this.payerAddressDistrict = "";
|
41
|
-
this.payerAddressNumber = "";
|
42
|
-
this.payerAddressState = "";
|
43
|
-
this.payerAddressStreet = "";
|
44
|
-
this.payerAddressZipCode = "";
|
45
|
-
this.payerCpfCnpj = "";
|
46
|
-
this.payerName = "";
|
47
|
-
this.payerPhone = "";
|
48
|
-
this.payerPhonePrefix = "";
|
49
|
-
this.perDayInterest = false;
|
50
|
-
this.perDayInterestCents = 0;
|
51
|
-
this.pix = {};
|
52
|
-
this.refundedCents = 0;
|
53
|
-
this.remainingCapturedCents = 0;
|
54
|
-
this.returnUrl = "";
|
55
|
-
this.secureId = "";
|
56
|
-
this.secureUrl = "";
|
57
|
-
this.status = "";
|
58
|
-
this.taxCents = 0;
|
59
|
-
this.taxesPaid = "";
|
60
|
-
this.total = "";
|
61
|
-
this.totalCents = 0;
|
62
|
-
this.totalOnOccurrenceDay = "";
|
63
|
-
this.totalOnOccurrenceDayCents = 0;
|
64
|
-
this.totalOverpaid = "";
|
65
|
-
this.totalPaid = "";
|
66
|
-
this.totalPaidCents = 0;
|
67
|
-
this.totalRefunded = "";
|
68
|
-
this.transactionNumber = 0;
|
69
|
-
this.updatedAt = "";
|
70
|
-
this.userId = "";
|
71
|
-
this.variables = [];
|
72
|
-
if (data) {
|
73
|
-
for (var key in data) {
|
74
|
-
if (data.hasOwnProperty(key) && key in this) {
|
75
|
-
this[key] = data[key];
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
return IuguInvoiceEntity;
|
81
|
-
}());
|
82
|
-
exports.IuguInvoiceEntity = IuguInvoiceEntity;
|
@@ -1,75 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IuguAccountEntity = void 0;
|
4
|
-
var enums_1 = require("../enums");
|
5
|
-
var account_last_verification_request_data_entity_1 = require("./account-last-verification-request-data.entity");
|
6
|
-
var IuguAccountEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (54)
|
8
|
-
// #region Constructors (1)
|
9
|
-
function IuguAccountEntity(data) {
|
10
|
-
// #region Properties (54)
|
11
|
-
this.autoAdvance = false;
|
12
|
-
this.autoAdvanceOption = 0;
|
13
|
-
this.autoAdvanceType = enums_1.IuguAutoAdvanceEnum.DAILY;
|
14
|
-
this.autoWithdraw = false;
|
15
|
-
this.balance = '';
|
16
|
-
this.balanceAvailableForWithdraw = '';
|
17
|
-
this.balanceInProtest = '';
|
18
|
-
this.canReceive = false;
|
19
|
-
this.changePlanType = 0;
|
20
|
-
this.commissionBalance = '';
|
21
|
-
this.configuration = null;
|
22
|
-
this.createdAt = new Date();
|
23
|
-
this.creditCardVerified = false;
|
24
|
-
this.customLogoSmallUrl = '';
|
25
|
-
this.customLogoUrl = '';
|
26
|
-
this.defaultReturnUrl = '';
|
27
|
-
this.disableEmails = false;
|
28
|
-
this.disabledWithdraw = false;
|
29
|
-
this.earlyPaymentDiscount = false;
|
30
|
-
this.earlyPaymentDiscountDays = 0;
|
31
|
-
this.earlyPaymentDiscountPercent = 0;
|
32
|
-
this.earlyPaymentDiscounts = [];
|
33
|
-
this.fines = false;
|
34
|
-
this.hasBankAddress = false;
|
35
|
-
this.id = '';
|
36
|
-
this.informations = [];
|
37
|
-
this.isVerified = false;
|
38
|
-
this.lastVerificationRequestData = new account_last_verification_request_data_entity_1.LastVerificationRequestDataEntity();
|
39
|
-
this.lastVerificationRequestFeedback = '';
|
40
|
-
this.lastVerificationRequestStatus = 'accepted';
|
41
|
-
this.lastWithdraw = new Date();
|
42
|
-
this.latePaymentFine = 0;
|
43
|
-
this.marketplace = false;
|
44
|
-
this.name = '';
|
45
|
-
this.oldAdvancement = false;
|
46
|
-
this.payableBalance = '';
|
47
|
-
this.paymentEmailNotification = false;
|
48
|
-
this.paymentEmailNotificationReceiver = '';
|
49
|
-
this.perDayInterest = false;
|
50
|
-
this.permissions = [];
|
51
|
-
this.protectedBalance = '';
|
52
|
-
this.receivableBalance = '';
|
53
|
-
this.replyTo = '';
|
54
|
-
this.splits = [];
|
55
|
-
this.subscriptionsBillingDays = 0;
|
56
|
-
this.subscriptionsTrialPeriod = 0;
|
57
|
-
this.taxesPaidLastMonth = '';
|
58
|
-
this.taxesPaidThisMonth = '';
|
59
|
-
this.totalActiveSubscriptions = 0;
|
60
|
-
this.totalSubscriptions = 0;
|
61
|
-
this.updatedAt = new Date();
|
62
|
-
this.volumeLastMonth = '';
|
63
|
-
this.volumeThisMonth = '';
|
64
|
-
this.webappOnTestMode = false;
|
65
|
-
if (data) {
|
66
|
-
for (var key in data) {
|
67
|
-
if (data.hasOwnProperty(key) && key in this) {
|
68
|
-
this[key] = data[key];
|
69
|
-
}
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
return IuguAccountEntity;
|
74
|
-
}());
|
75
|
-
exports.IuguAccountEntity = IuguAccountEntity;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IuguPaymentTokenDataEntity = void 0;
|
4
|
-
var IuguPaymentTokenDataEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (9)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function IuguPaymentTokenDataEntity(data) {
|
8
|
-
// #region Properties (9)
|
9
|
-
this.bin = '';
|
10
|
-
this.brand = '';
|
11
|
-
this.displayNumber = '';
|
12
|
-
this.firstDigits = '';
|
13
|
-
this.holderName = '';
|
14
|
-
this.lastDigits = '';
|
15
|
-
this.maskedNumber = '';
|
16
|
-
this.month = 0;
|
17
|
-
this.year = 2035;
|
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 IuguPaymentTokenDataEntity;
|
27
|
-
}());
|
28
|
-
exports.IuguPaymentTokenDataEntity = IuguPaymentTokenDataEntity;
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IuguPaymentTokenEntity = void 0;
|
4
|
-
var payment_token_data_entity_1 = require("./payment-token-data.entity");
|
5
|
-
var IuguPaymentTokenEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (5)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function IuguPaymentTokenEntity(data) {
|
9
|
-
// #region Properties (5)
|
10
|
-
this.customerId = '';
|
11
|
-
this.data = new payment_token_data_entity_1.IuguPaymentTokenDataEntity();
|
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 IuguPaymentTokenEntity;
|
24
|
-
}());
|
25
|
-
exports.IuguPaymentTokenEntity = IuguPaymentTokenEntity;
|
package/dist/iugu/enums/index.js
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IuguInvoiceStatusEnum = exports.IuguBankEnum = exports.IuguAutoAdvanceEnum = void 0;
|
4
|
-
var iugu_auto_advance_enum_1 = require("./iugu-auto-advance.enum");
|
5
|
-
Object.defineProperty(exports, "IuguAutoAdvanceEnum", { enumerable: true, get: function () { return iugu_auto_advance_enum_1.IuguAutoAdvanceEnum; } });
|
6
|
-
var iugu_bank_enum_1 = require("./iugu-bank.enum");
|
7
|
-
Object.defineProperty(exports, "IuguBankEnum", { enumerable: true, get: function () { return iugu_bank_enum_1.IuguBankEnum; } });
|
8
|
-
var iugu_status_invoice_enum_1 = require("./iugu-status-invoice.enum");
|
9
|
-
Object.defineProperty(exports, "IuguInvoiceStatusEnum", { enumerable: true, get: function () { return iugu_status_invoice_enum_1.IuguInvoiceStatusEnum; } });
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IuguAutoAdvanceEnum = void 0;
|
4
|
-
var IuguAutoAdvanceEnum;
|
5
|
-
(function (IuguAutoAdvanceEnum) {
|
6
|
-
IuguAutoAdvanceEnum["DAYS_AFTER_PAYMENT"] = "days_after_payment";
|
7
|
-
IuguAutoAdvanceEnum["DAILY"] = "daily";
|
8
|
-
IuguAutoAdvanceEnum["WEEKLY"] = "weekly";
|
9
|
-
IuguAutoAdvanceEnum["MONTHLY"] = "monthly";
|
10
|
-
})(IuguAutoAdvanceEnum || (exports.IuguAutoAdvanceEnum = IuguAutoAdvanceEnum = {}));
|