cecon-interfaces 1.0.17 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/entities/company.entity.d.ts +2 -1
- package/dist/company/interfaces/i-company.d.ts +2 -2
- package/dist/container/entities/container.entity.d.ts +6 -0
- package/dist/container/entities/container.entity.js +39 -0
- package/dist/container/entities/index.d.ts +1 -0
- package/dist/container/entities/index.js +5 -0
- package/dist/container/index.d.ts +2 -0
- package/dist/container/index.js +18 -0
- package/dist/container/interfaces/i-container.d.ts +4 -0
- package/dist/container/interfaces/index.d.ts +1 -0
- package/dist/device/entities/device.entity.d.ts +1 -0
- package/dist/device/entities/device.entity.js +2 -1
- package/dist/device/entities/metadata.entity.d.ts +1 -1
- package/dist/device/enums/device-mode.enum.d.ts +6 -6
- package/dist/device/enums/device-mode.enum.js +6 -6
- package/dist/device/interfaces/i-device.d.ts +2 -1
- package/dist/device/interfaces/index.d.ts +1 -1
- package/dist/esm2022/company/entities/company.entity.mjs +1 -1
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/container/entities/container.entity.mjs +18 -0
- package/dist/esm2022/container/entities/index.mjs +2 -0
- package/dist/esm2022/container/index.mjs +3 -0
- package/dist/esm2022/container/interfaces/i-container.mjs +2 -0
- package/dist/esm2022/container/interfaces/index.mjs +2 -0
- package/dist/esm2022/device/entities/device.entity.mjs +3 -2
- package/dist/esm2022/device/entities/metadata.entity.mjs +1 -1
- package/dist/esm2022/device/enums/device-mode.enum.mjs +7 -7
- package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/device/interfaces/i-metadata.mjs +2 -0
- package/dist/esm2022/device/interfaces/index.mjs +1 -1
- package/dist/esm2022/general/entities/base.entity.mjs +22 -0
- package/dist/esm2022/general/entities/index.mjs +2 -1
- package/dist/esm2022/general/entities/origin.entity.mjs +2 -2
- package/dist/esm2022/general/entities/payment-method.entity.mjs +4 -4
- package/dist/esm2022/general/enums/boolean-string.enum.mjs +6 -0
- package/dist/esm2022/general/enums/index.mjs +3 -1
- package/dist/esm2022/general/enums/interval-type.enum.mjs +7 -0
- package/dist/esm2022/general/enums/lead-origin.enum.mjs +8 -8
- package/dist/esm2022/general/enums/payment-channel.enum.mjs +9 -9
- package/dist/esm2022/general/enums/payment-mode.enum.mjs +4 -4
- package/dist/esm2022/general/enums/payment-type.enum.mjs +19 -19
- package/dist/esm2022/general/enums/person-type.enum.mjs +6 -0
- package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
- package/dist/esm2022/general/interfaces/i-base.mjs +3 -0
- package/dist/esm2022/general/interfaces/index.mjs +1 -1
- package/dist/esm2022/index.mjs +8 -1
- package/dist/esm2022/invite/entities/index.mjs +2 -0
- package/dist/esm2022/invite/entities/invite.entity.mjs +34 -0
- package/dist/esm2022/invite/enums/index.mjs +2 -0
- package/dist/esm2022/invite/enums/status.enum.mjs +9 -0
- package/dist/esm2022/invite/index.mjs +4 -0
- package/dist/esm2022/invite/interfaces/i-invite.mjs +2 -0
- package/dist/esm2022/invite/interfaces/index.mjs +2 -0
- package/dist/esm2022/iugu/entities/index.mjs +3 -0
- package/dist/esm2022/iugu/entities/payment-token-data.entity.mjs +24 -0
- package/dist/esm2022/iugu/entities/payment-token.entity.mjs +21 -0
- package/dist/esm2022/iugu/enums/index.mjs +3 -0
- package/dist/esm2022/iugu/enums/iugu-auto-advance.enum.mjs +8 -0
- package/dist/esm2022/iugu/enums/iugu-bank.enum.mjs +187 -0
- package/dist/esm2022/iugu/index.mjs +4 -0
- package/dist/esm2022/iugu/interfaces/i-account-configuration-bank-slip.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-configuration-creadit-card.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-configuration-pix.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-configuration.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-info-last-ver-req-data.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-informations.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-marketplace-split.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-change-plan-simulation.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-config-early-payment-discounts.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-customer.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-payment-token-data.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-payment-token.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-plan-feature.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-plan-price.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-plan.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-custom-variable.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-feature.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-features.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-log.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-recent-invoice.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-subitem.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/index.mjs +2 -0
- package/dist/esm2022/member/entities/index.mjs +2 -0
- package/dist/esm2022/member/entities/member.entity.mjs +28 -0
- package/dist/esm2022/member/enums/index.mjs +2 -0
- package/dist/esm2022/member/enums/member-rules.enum.mjs +12 -0
- package/dist/esm2022/member/index.mjs +4 -0
- package/dist/esm2022/member/interfaces/i-member.mjs +2 -0
- package/dist/esm2022/member/interfaces/index.mjs +2 -0
- package/dist/esm2022/order/entities/additional-fees.entity.mjs +17 -0
- package/dist/esm2022/order/entities/{order-additional-fees.entity.mjs → benefits-sponsor-ship.entity.mjs} +3 -3
- package/dist/esm2022/order/entities/benefits.entity.mjs +21 -0
- package/dist/esm2022/order/entities/cancellation.entity.mjs +18 -0
- package/dist/esm2022/order/entities/customer-phone.entity.mjs +19 -0
- package/dist/esm2022/order/entities/customer.entity.mjs +23 -0
- package/dist/esm2022/order/entities/index.mjs +19 -19
- package/dist/esm2022/order/entities/item-composition.entity.mjs +21 -0
- package/dist/esm2022/order/entities/item-option.entity.mjs +30 -0
- package/dist/esm2022/order/entities/item.entity.mjs +36 -0
- package/dist/esm2022/order/entities/order.entity.mjs +5 -5
- package/dist/esm2022/order/entities/payment-card.entity.mjs +16 -0
- package/dist/esm2022/order/entities/payment-cash.entity.mjs +16 -0
- package/dist/esm2022/order/entities/payment-method.entity.mjs +27 -0
- package/dist/esm2022/order/entities/payment-pix.entity.mjs +17 -0
- package/dist/esm2022/order/entities/payment-wallet.entity.mjs +16 -0
- package/dist/esm2022/order/entities/payment.entity.mjs +18 -0
- package/dist/esm2022/order/entities/scale-item.entity.mjs +17 -0
- package/dist/esm2022/order/entities/scale-price.entity.mjs +17 -0
- package/dist/esm2022/order/entities/total.entity.mjs +20 -0
- package/dist/esm2022/order/interfaces/i-additional-fee.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-benefits-sponsor-ship.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-benefits.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-cancellation.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-customer-phone.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-customer.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-item-composition.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-item-option.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-item.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/order/interfaces/i-payment-card.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment-cash.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment-method.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment-pix.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment-wallet.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-scale-item.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-scale-price.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-total.mjs +2 -0
- package/dist/esm2022/order/interfaces/index.mjs +1 -1
- package/dist/esm2022/partners/entities/index.mjs +2 -0
- package/dist/esm2022/partners/entities/partner.entity.mjs +23 -0
- package/dist/esm2022/partners/index.mjs +3 -0
- package/dist/esm2022/partners/interfaces/i-partner.mjs +2 -0
- package/dist/esm2022/partners/interfaces/index.mjs +2 -0
- package/dist/esm2022/plan/entities/feature.entity.mjs +24 -0
- package/dist/esm2022/plan/entities/index.mjs +3 -0
- package/dist/esm2022/plan/entities/plan.entity.mjs +26 -0
- package/dist/esm2022/plan/enums/index.mjs +2 -0
- package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +6 -0
- package/dist/esm2022/plan/index.mjs +4 -0
- package/dist/esm2022/plan/interfaces/i-feature.mjs +2 -0
- package/dist/esm2022/plan/interfaces/i-plan.mjs +2 -0
- package/dist/esm2022/plan/interfaces/index.mjs +2 -0
- package/dist/esm2022/purchases/entities/purchase.entity.mjs +3 -3
- package/dist/esm2022/viacep/index.mjs +2 -0
- package/dist/esm2022/viacep/interfaces/i-via-cep.mjs +2 -0
- package/dist/esm2022/viacep/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +578 -132
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/base.entity.d.ts +9 -0
- package/dist/general/entities/base.entity.js +26 -0
- package/dist/general/entities/index.d.ts +1 -0
- package/dist/general/entities/index.js +3 -1
- package/dist/general/entities/origin.entity.js +1 -1
- package/dist/general/entities/payment-method.entity.js +3 -3
- package/dist/general/enums/boolean-string.enum.d.ts +4 -0
- package/dist/general/enums/boolean-string.enum.js +8 -0
- package/dist/general/enums/index.d.ts +2 -0
- package/dist/general/enums/index.js +5 -1
- package/dist/general/enums/interval-type.enum.d.ts +5 -0
- package/dist/general/enums/interval-type.enum.js +9 -0
- package/dist/general/enums/lead-origin.enum.d.ts +7 -7
- package/dist/general/enums/lead-origin.enum.js +7 -7
- package/dist/general/enums/payment-channel.enum.d.ts +8 -8
- package/dist/general/enums/payment-channel.enum.js +8 -8
- package/dist/general/enums/payment-mode.enum.d.ts +3 -3
- package/dist/general/enums/payment-mode.enum.js +3 -3
- package/dist/general/enums/payment-type.enum.d.ts +18 -18
- package/dist/general/enums/payment-type.enum.js +18 -18
- package/dist/general/enums/person-type.enum.d.ts +4 -0
- package/dist/general/enums/person-type.enum.js +8 -0
- package/dist/general/enums/providers.enum.d.ts +6 -6
- package/dist/general/enums/providers.enum.js +6 -6
- package/dist/general/interfaces/i-base.d.ts +8 -0
- package/dist/general/interfaces/i-base.js +3 -0
- package/dist/general/interfaces/index.d.ts +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/invite/entities/index.d.ts +1 -0
- package/dist/invite/entities/index.js +5 -0
- package/dist/invite/entities/invite.entity.d.ts +23 -0
- package/dist/invite/entities/invite.entity.js +38 -0
- package/dist/invite/enums/index.d.ts +1 -0
- package/dist/invite/enums/index.js +5 -0
- package/dist/invite/enums/status.enum.d.ts +7 -0
- package/dist/invite/enums/status.enum.js +11 -0
- package/dist/invite/index.d.ts +3 -0
- package/dist/invite/index.js +19 -0
- package/dist/invite/interfaces/i-invite.d.ts +21 -0
- package/dist/invite/interfaces/index.d.ts +1 -0
- package/dist/iugu/entities/index.d.ts +2 -0
- package/dist/iugu/entities/index.js +7 -0
- package/dist/iugu/entities/payment-token-data.entity.d.ts +12 -0
- package/dist/iugu/entities/payment-token-data.entity.js +28 -0
- package/dist/iugu/entities/payment-token.entity.d.ts +9 -0
- package/dist/iugu/entities/payment-token.entity.js +25 -0
- package/dist/iugu/enums/index.d.ts +2 -0
- package/dist/iugu/enums/index.js +7 -0
- package/dist/iugu/enums/iugu-auto-advance.enum.d.ts +6 -0
- package/dist/iugu/enums/iugu-auto-advance.enum.js +10 -0
- package/dist/iugu/enums/iugu-bank.enum.d.ts +68 -0
- package/dist/iugu/enums/iugu-bank.enum.js +189 -0
- package/dist/iugu/index.d.ts +3 -0
- package/dist/iugu/index.js +19 -0
- package/dist/iugu/interfaces/i-account-configuration-bank-slip.d.ts +5 -0
- package/dist/iugu/interfaces/i-account-configuration-creadit-card.d.ts +8 -0
- package/dist/iugu/interfaces/i-account-configuration-pix.d.ts +3 -0
- package/dist/iugu/interfaces/i-account-configuration.d.ts +21 -0
- package/dist/iugu/interfaces/i-account-info-last-ver-req-data.d.ts +23 -0
- package/dist/iugu/interfaces/i-account-informations.d.ts +4 -0
- package/dist/iugu/interfaces/i-account-marketplace-split.d.ts +42 -0
- package/dist/iugu/interfaces/i-account.d.ts +79 -0
- package/dist/iugu/interfaces/i-change-plan-simulation.d.ts +8 -0
- package/dist/iugu/interfaces/i-config-early-payment-discounts.d.ts +4 -0
- package/dist/iugu/interfaces/i-customer.d.ts +24 -0
- package/dist/iugu/interfaces/i-payment-token-data.d.ts +11 -0
- package/dist/iugu/interfaces/i-payment-token.d.ts +8 -0
- package/dist/iugu/interfaces/i-plan-feature.d.ts +10 -0
- package/dist/iugu/interfaces/i-plan-price.d.ts +7 -0
- package/dist/iugu/interfaces/i-plan-price.js +2 -0
- package/dist/iugu/interfaces/i-plan.d.ts +13 -0
- package/dist/iugu/interfaces/i-plan.js +2 -0
- package/dist/iugu/interfaces/i-subscription-custom-variable.d.ts +4 -0
- package/dist/iugu/interfaces/i-subscription-custom-variable.js +2 -0
- package/dist/iugu/interfaces/i-subscription-feature.d.ts +4 -0
- package/dist/iugu/interfaces/i-subscription-feature.js +2 -0
- package/dist/iugu/interfaces/i-subscription-features.d.ts +4 -0
- package/dist/iugu/interfaces/i-subscription-features.js +2 -0
- package/dist/iugu/interfaces/i-subscription-log.d.ts +6 -0
- package/dist/iugu/interfaces/i-subscription-log.js +2 -0
- package/dist/iugu/interfaces/i-subscription-recent-invoice.d.ts +7 -0
- package/dist/iugu/interfaces/i-subscription-recent-invoice.js +2 -0
- package/dist/iugu/interfaces/i-subscription-subitem.d.ts +8 -0
- package/dist/iugu/interfaces/i-subscription-subitem.js +2 -0
- package/dist/iugu/interfaces/i-subscription.d.ts +39 -0
- package/dist/iugu/interfaces/i-subscription.js +2 -0
- package/dist/iugu/interfaces/index.d.ts +23 -0
- package/dist/iugu/interfaces/index.js +2 -0
- package/dist/member/entities/index.d.ts +1 -0
- package/dist/member/entities/index.js +5 -0
- package/dist/member/entities/member.entity.d.ts +16 -0
- package/dist/member/entities/member.entity.js +49 -0
- package/dist/member/enums/index.d.ts +1 -0
- package/dist/member/enums/index.js +5 -0
- package/dist/member/enums/member-rules.enum.d.ts +10 -0
- package/dist/member/enums/member-rules.enum.js +14 -0
- package/dist/member/index.d.ts +3 -0
- package/dist/member/index.js +19 -0
- package/dist/member/interfaces/i-member.d.ts +12 -0
- package/dist/member/interfaces/i-member.js +2 -0
- package/dist/member/interfaces/index.d.ts +1 -0
- package/dist/member/interfaces/index.js +2 -0
- package/dist/order/entities/{order-benefits.entity.d.ts → benefits.entity.d.ts} +1 -1
- package/dist/order/entities/{order-customer-phone.entity.d.ts → customer-phone.entity.d.ts} +2 -1
- package/dist/order/entities/{order-customer.entity.d.ts → customer.entity.d.ts} +3 -2
- package/dist/order/entities/{order-customer.entity.js → customer.entity.js} +2 -2
- package/dist/order/entities/index.d.ts +18 -18
- package/dist/order/entities/index.js +37 -37
- package/dist/order/entities/{order-item-option.entity.d.ts → item-option.entity.d.ts} +2 -1
- package/dist/order/entities/{order-item.entity.d.ts → item.entity.d.ts} +5 -4
- package/dist/order/entities/{order-item.entity.js → item.entity.js} +2 -2
- package/dist/order/entities/order.entity.d.ts +9 -8
- package/dist/order/entities/order.entity.js +8 -8
- package/dist/order/entities/{order-payment-method.entity.d.ts → payment-method.entity.d.ts} +7 -6
- package/dist/order/entities/{order-payment-method.entity.js → payment-method.entity.js} +1 -1
- package/dist/order/entities/payment.entity.d.ts +8 -0
- package/dist/order/entities/{order-scale-price.entity.d.ts → scale-price.entity.d.ts} +1 -1
- package/dist/order/entities/{order-total.entity.d.ts → total.entity.d.ts} +2 -1
- package/dist/order/interfaces/i-additional-fee.js +2 -0
- package/dist/order/interfaces/i-benefits-sponsor-ship.js +2 -0
- package/dist/order/interfaces/{i-order-benefits.d.ts → i-benefits.d.ts} +1 -1
- 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-order-customer.d.ts → i-customer.d.ts} +1 -1
- 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-order-item.d.ts → i-item.d.ts} +3 -3
- package/dist/order/interfaces/i-item.js +2 -0
- package/dist/order/interfaces/i-order.d.ts +9 -9
- 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.d.ts +18 -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-order-payment.d.ts → i-payment.d.ts} +1 -1
- package/dist/order/interfaces/i-payment.js +2 -0
- package/dist/order/interfaces/i-scale-item.js +2 -0
- package/dist/order/interfaces/{i-order-scale-price.d.ts → i-scale-price.d.ts} +1 -1
- package/dist/order/interfaces/i-scale-price.js +2 -0
- package/dist/order/interfaces/i-total.js +2 -0
- package/dist/order/interfaces/index.d.ts +18 -18
- package/dist/package.json +1 -1
- package/dist/partners/entities/index.d.ts +1 -0
- package/dist/partners/entities/index.js +5 -0
- package/dist/partners/entities/partner.entity.d.ts +11 -0
- package/dist/partners/entities/partner.entity.js +44 -0
- package/dist/partners/index.d.ts +2 -0
- package/dist/partners/index.js +18 -0
- package/dist/partners/interfaces/i-partner.d.ts +9 -0
- package/dist/partners/interfaces/i-partner.js +2 -0
- package/dist/partners/interfaces/index.d.ts +1 -0
- package/dist/partners/interfaces/index.js +2 -0
- package/dist/plan/entities/feature.entity.d.ts +13 -0
- package/dist/plan/entities/feature.entity.js +28 -0
- package/dist/plan/entities/index.d.ts +2 -0
- package/dist/plan/entities/index.js +7 -0
- package/dist/plan/entities/plan.entity.d.ts +16 -0
- package/dist/plan/entities/plan.entity.js +30 -0
- package/dist/plan/enums/index.d.ts +1 -0
- package/dist/plan/enums/index.js +5 -0
- package/dist/plan/enums/plans-identifier.enum.d.ts +4 -0
- package/dist/plan/enums/plans-identifier.enum.js +8 -0
- package/dist/plan/index.d.ts +3 -0
- package/dist/plan/index.js +19 -0
- package/dist/plan/interfaces/i-feature.d.ts +11 -0
- package/dist/plan/interfaces/i-feature.js +2 -0
- package/dist/plan/interfaces/i-plan.d.ts +14 -0
- package/dist/plan/interfaces/i-plan.js +2 -0
- package/dist/plan/interfaces/index.d.ts +2 -0
- package/dist/plan/interfaces/index.js +2 -0
- package/dist/purchases/entities/purchase.entity.js +2 -2
- package/dist/viacep/index.d.ts +1 -0
- package/dist/viacep/index.js +17 -0
- package/dist/viacep/interfaces/i-via-cep.d.ts +12 -0
- package/dist/viacep/interfaces/i-via-cep.js +2 -0
- package/dist/viacep/interfaces/index.d.ts +1 -0
- package/dist/viacep/interfaces/index.js +2 -0
- package/package.json +1 -1
- package/dist/esm2022/device/interfaces/i-device-metadata.mjs +0 -2
- package/dist/esm2022/order/entities/order-benefits-sponsor-ship.entity.mjs +0 -17
- package/dist/esm2022/order/entities/order-benefits.entity.mjs +0 -21
- package/dist/esm2022/order/entities/order-cancellation.entity.mjs +0 -18
- package/dist/esm2022/order/entities/order-customer-phone.entity.mjs +0 -19
- package/dist/esm2022/order/entities/order-customer.entity.mjs +0 -23
- package/dist/esm2022/order/entities/order-item-composition.entity.mjs +0 -21
- package/dist/esm2022/order/entities/order-item-option.entity.mjs +0 -30
- package/dist/esm2022/order/entities/order-item.entity.mjs +0 -36
- package/dist/esm2022/order/entities/order-payment-card.entity.mjs +0 -16
- package/dist/esm2022/order/entities/order-payment-cash.entity.mjs +0 -16
- package/dist/esm2022/order/entities/order-payment-method.entity.mjs +0 -27
- package/dist/esm2022/order/entities/order-payment-pix.entity.mjs +0 -17
- package/dist/esm2022/order/entities/order-payment-wallet.entity.mjs +0 -16
- package/dist/esm2022/order/entities/order-payment.entity.mjs +0 -18
- package/dist/esm2022/order/entities/order-scale-item.entity.mjs +0 -17
- package/dist/esm2022/order/entities/order-scale-price.entity.mjs +0 -17
- package/dist/esm2022/order/entities/order-total.entity.mjs +0 -20
- package/dist/esm2022/order/interfaces/i-order-additional-fee.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-benefits-sponsor-ship.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-benefits.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-cancellation.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-customer-phone.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-customer.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-item-composition.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-item-option.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-item.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-card.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-cash.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-method.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-pix.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-wallet.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-scale-item.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-scale-price.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-total.mjs +0 -2
- package/dist/order/entities/order-payment.entity.d.ts +0 -7
- package/dist/order/interfaces/i-order-payment-method.d.ts +0 -18
- /package/dist/{device/interfaces/i-device-metadata.js → container/interfaces/i-container.js} +0 -0
- /package/dist/{order/interfaces/i-order-additional-fee.js → container/interfaces/index.js} +0 -0
- /package/dist/device/interfaces/{i-device-metadata.d.ts → i-metadata.d.ts} +0 -0
- /package/dist/{order/interfaces/i-order-benefits-sponsor-ship.js → device/interfaces/i-metadata.js} +0 -0
- /package/dist/{order/interfaces/i-order-benefits.js → invite/interfaces/i-invite.js} +0 -0
- /package/dist/{order/interfaces/i-order-cancellation.js → invite/interfaces/index.js} +0 -0
- /package/dist/{order/interfaces/i-order-customer-phone.js → iugu/interfaces/i-account-configuration-bank-slip.js} +0 -0
- /package/dist/{order/interfaces/i-order-customer.js → iugu/interfaces/i-account-configuration-creadit-card.js} +0 -0
- /package/dist/{order/interfaces/i-order-item-composition.js → iugu/interfaces/i-account-configuration-pix.js} +0 -0
- /package/dist/{order/interfaces/i-order-item-option.js → iugu/interfaces/i-account-configuration.js} +0 -0
- /package/dist/{order/interfaces/i-order-item.js → iugu/interfaces/i-account-info-last-ver-req-data.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-card.js → iugu/interfaces/i-account-informations.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-cash.js → iugu/interfaces/i-account-marketplace-split.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-method.js → iugu/interfaces/i-account.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-pix.js → iugu/interfaces/i-change-plan-simulation.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-wallet.js → iugu/interfaces/i-config-early-payment-discounts.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment.js → iugu/interfaces/i-customer.js} +0 -0
- /package/dist/{order/interfaces/i-order-scale-item.js → iugu/interfaces/i-payment-token-data.js} +0 -0
- /package/dist/{order/interfaces/i-order-scale-price.js → iugu/interfaces/i-payment-token.js} +0 -0
- /package/dist/{order/interfaces/i-order-total.js → iugu/interfaces/i-plan-feature.js} +0 -0
- /package/dist/order/entities/{order-additional-fees.entity.d.ts → additional-fees.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-additional-fees.entity.js → additional-fees.entity.js} +0 -0
- /package/dist/order/entities/{order-benefits-sponsor-ship.entity.d.ts → benefits-sponsor-ship.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-benefits-sponsor-ship.entity.js → benefits-sponsor-ship.entity.js} +0 -0
- /package/dist/order/entities/{order-benefits.entity.js → benefits.entity.js} +0 -0
- /package/dist/order/entities/{order-cancellation.entity.d.ts → cancellation.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-cancellation.entity.js → cancellation.entity.js} +0 -0
- /package/dist/order/entities/{order-customer-phone.entity.js → customer-phone.entity.js} +0 -0
- /package/dist/order/entities/{order-item-composition.entity.d.ts → item-composition.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-item-composition.entity.js → item-composition.entity.js} +0 -0
- /package/dist/order/entities/{order-item-option.entity.js → item-option.entity.js} +0 -0
- /package/dist/order/entities/{order-payment-card.entity.d.ts → payment-card.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-payment-card.entity.js → payment-card.entity.js} +0 -0
- /package/dist/order/entities/{order-payment-cash.entity.d.ts → payment-cash.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-payment-cash.entity.js → payment-cash.entity.js} +0 -0
- /package/dist/order/entities/{order-payment-pix.entity.d.ts → payment-pix.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-payment-pix.entity.js → payment-pix.entity.js} +0 -0
- /package/dist/order/entities/{order-payment-wallet.entity.d.ts → payment-wallet.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-payment-wallet.entity.js → payment-wallet.entity.js} +0 -0
- /package/dist/order/entities/{order-payment.entity.js → payment.entity.js} +0 -0
- /package/dist/order/entities/{order-scale-item.entity.d.ts → scale-item.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-scale-item.entity.js → scale-item.entity.js} +0 -0
- /package/dist/order/entities/{order-scale-price.entity.js → scale-price.entity.js} +0 -0
- /package/dist/order/entities/{order-total.entity.js → total.entity.js} +0 -0
- /package/dist/order/interfaces/{i-order-additional-fee.d.ts → i-additional-fee.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-benefits-sponsor-ship.d.ts → i-benefits-sponsor-ship.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-cancellation.d.ts → i-cancellation.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-customer-phone.d.ts → i-customer-phone.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-item-composition.d.ts → i-item-composition.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-item-option.d.ts → i-item-option.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-payment-card.d.ts → i-payment-card.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-payment-cash.d.ts → i-payment-cash.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-payment-pix.d.ts → i-payment-pix.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-payment-wallet.d.ts → i-payment-wallet.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-scale-item.d.ts → i-scale-item.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-total.d.ts → i-total.d.ts} +0 -0
@@ -0,0 +1,189 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IuguBankFormatter = exports.IuguBankNumber = exports.IuguBankEnum = void 0;
|
4
|
+
var IuguBankEnum;
|
5
|
+
(function (IuguBankEnum) {
|
6
|
+
IuguBankEnum["ITAU"] = "Ita\u00FA";
|
7
|
+
IuguBankEnum["BRADESCO"] = "Bradesco";
|
8
|
+
IuguBankEnum["CAIXA"] = "Caixa Econ\u00F4mica";
|
9
|
+
IuguBankEnum["BRASIL"] = "Banco do Brasil";
|
10
|
+
IuguBankEnum["SANTANDER"] = "Santander";
|
11
|
+
IuguBankEnum["BANRISUL"] = "Banrisul";
|
12
|
+
IuguBankEnum["SICRED"] = "Sicredi";
|
13
|
+
IuguBankEnum["SICOOB"] = "Sicoob";
|
14
|
+
IuguBankEnum["INTER"] = "Inter";
|
15
|
+
IuguBankEnum["BRB"] = "BRB";
|
16
|
+
IuguBankEnum["VIACRED"] = "Via Credi";
|
17
|
+
IuguBankEnum["NEON"] = "Neon";
|
18
|
+
IuguBankEnum["VOTORANTIN"] = "Votorantim";
|
19
|
+
IuguBankEnum["NUBANK"] = "Nubank";
|
20
|
+
IuguBankEnum["PAGSEGURO"] = "Pagseguro";
|
21
|
+
IuguBankEnum["ORIGINAL"] = "Banco Original";
|
22
|
+
IuguBankEnum["SAFRA"] = "Safra";
|
23
|
+
IuguBankEnum["MODAL"] = "Modal";
|
24
|
+
IuguBankEnum["BANESTES"] = "Banestes";
|
25
|
+
IuguBankEnum["UNICRED"] = "Unicred";
|
26
|
+
IuguBankEnum["MONEYPLUS"] = "Money Plus";
|
27
|
+
IuguBankEnum["MERCANTIL"] = "Mercantil do Brasil";
|
28
|
+
IuguBankEnum["JPMORGAN"] = "JP Morgan";
|
29
|
+
IuguBankEnum["GERENCIANET"] = "Gerencianet Pagamentos do Brasil";
|
30
|
+
IuguBankEnum["C6"] = "Banco C6";
|
31
|
+
IuguBankEnum["BS2"] = "BS2";
|
32
|
+
IuguBankEnum["TOPAZIO"] = "Banco Topazio";
|
33
|
+
IuguBankEnum["UNIPRIME"] = "Uniprime";
|
34
|
+
IuguBankEnum["STONE"] = "Stone";
|
35
|
+
IuguBankEnum["DAYCOVAL"] = "Banco Daycoval";
|
36
|
+
IuguBankEnum["RENDIMENTO"] = "Rendimento";
|
37
|
+
IuguBankEnum["NORDESTE"] = "Banco do Nordeste";
|
38
|
+
IuguBankEnum["CITIBANK"] = "Citibank";
|
39
|
+
IuguBankEnum["PJBANK"] = "PJBank";
|
40
|
+
IuguBankEnum["CCCNB"] = "Cooperativa Central de Credito Noroeste Brasileiro";
|
41
|
+
IuguBankEnum["UNIPRIMENPARANA"] = "Uniprime Norte do Paran\u00E1";
|
42
|
+
IuguBankEnum["GLOBALSCM"] = "Global SCM";
|
43
|
+
IuguBankEnum["NEXT"] = "Next";
|
44
|
+
IuguBankEnum["CORA"] = "Cora";
|
45
|
+
IuguBankEnum["MERCADOPAGO"] = "Mercado Pago";
|
46
|
+
IuguBankEnum["AMAZONIA"] = "Banco da Amazonia";
|
47
|
+
IuguBankEnum["BNP"] = "BNP Paribas Brasil";
|
48
|
+
IuguBankEnum["JUNO"] = "Juno";
|
49
|
+
IuguBankEnum["CRESOL"] = "Cresol";
|
50
|
+
IuguBankEnum["BRLTRUST"] = "BRL Trust DTVM";
|
51
|
+
IuguBankEnum["BANESE"] = "Banco Banese";
|
52
|
+
IuguBankEnum["BTGPACTUAL"] = "Banco BTG Pactual";
|
53
|
+
IuguBankEnum["OMNI"] = "Banco Omni";
|
54
|
+
IuguBankEnum["ACESSOSOLUCOES"] = "Acesso Solu\u00E7\u00F5es de Pagamento";
|
55
|
+
IuguBankEnum["CCR"] = "CCR de S\u00E3o Miguel do Oeste";
|
56
|
+
IuguBankEnum["POLOCRED"] = "Polocred";
|
57
|
+
IuguBankEnum["OTIMO"] = "\u00D3timo";
|
58
|
+
IuguBankEnum["RIBEIRAOPRETO"] = "Banco Ribeir\u00E3o Preto";
|
59
|
+
IuguBankEnum["ASAASIP"] = "ASAAS IP";
|
60
|
+
IuguBankEnum["PAN"] = "Banco Pan";
|
61
|
+
IuguBankEnum["VORTX"] = "VORTX DTVM LTDA";
|
62
|
+
IuguBankEnum["BMG"] = "Banco BMG";
|
63
|
+
})(IuguBankEnum || (exports.IuguBankEnum = IuguBankEnum = {}));
|
64
|
+
exports.IuguBankNumber = [
|
65
|
+
{ code: '341', label: IuguBankEnum.ITAU },
|
66
|
+
{ code: '237', label: IuguBankEnum.BRADESCO },
|
67
|
+
{ code: '104', label: IuguBankEnum.CAIXA },
|
68
|
+
{ code: '001', label: IuguBankEnum.BRASIL },
|
69
|
+
{ code: '033', label: IuguBankEnum.SANTANDER },
|
70
|
+
{ code: '041', label: IuguBankEnum.BANRISUL },
|
71
|
+
{ code: '748', label: IuguBankEnum.SICRED },
|
72
|
+
{ code: '756', label: IuguBankEnum.SICOOB },
|
73
|
+
{ code: '077', label: IuguBankEnum.INTER },
|
74
|
+
{ code: '070', label: IuguBankEnum.BRB },
|
75
|
+
{ code: '085', label: IuguBankEnum.VIACRED },
|
76
|
+
{ code: '735', label: IuguBankEnum.NEON },
|
77
|
+
{ code: '655', label: IuguBankEnum.VOTORANTIN },
|
78
|
+
{ code: '260', label: IuguBankEnum.NUBANK },
|
79
|
+
{ code: '290', label: IuguBankEnum.PAGSEGURO },
|
80
|
+
{ code: '212', label: IuguBankEnum.ORIGINAL },
|
81
|
+
{ code: '422', label: IuguBankEnum.SAFRA },
|
82
|
+
{ code: '746', label: IuguBankEnum.MODAL },
|
83
|
+
{ code: '021', label: IuguBankEnum.BANESTES },
|
84
|
+
{ code: '136', label: IuguBankEnum.UNICRED },
|
85
|
+
{ code: '274', label: IuguBankEnum.MONEYPLUS },
|
86
|
+
{ code: '389', label: IuguBankEnum.MERCANTIL },
|
87
|
+
{ code: '376', label: IuguBankEnum.JPMORGAN },
|
88
|
+
{ code: '364', label: IuguBankEnum.GERENCIANET },
|
89
|
+
{ code: '336', label: IuguBankEnum.C6 },
|
90
|
+
{ code: '218', label: IuguBankEnum.BS2 },
|
91
|
+
{ code: '082', label: IuguBankEnum.TOPAZIO },
|
92
|
+
{ code: '099', label: IuguBankEnum.UNIPRIME },
|
93
|
+
{ code: '197', label: IuguBankEnum.STONE },
|
94
|
+
{ code: '707', label: IuguBankEnum.DAYCOVAL },
|
95
|
+
{ code: '633', label: IuguBankEnum.RENDIMENTO },
|
96
|
+
{ code: '004', label: IuguBankEnum.NORDESTE },
|
97
|
+
{ code: '745', label: IuguBankEnum.CITIBANK },
|
98
|
+
{ code: '301', label: IuguBankEnum.PJBANK },
|
99
|
+
{ code: '320', label: IuguBankEnum.CCCNB },
|
100
|
+
{ code: '084', label: IuguBankEnum.UNIPRIMENPARANA },
|
101
|
+
{ code: '384', label: IuguBankEnum.GLOBALSCM },
|
102
|
+
{ code: '237', label: IuguBankEnum.NEXT },
|
103
|
+
{ code: '403', label: IuguBankEnum.CORA },
|
104
|
+
{ code: '323', label: IuguBankEnum.MERCADOPAGO },
|
105
|
+
{ code: '003', label: IuguBankEnum.AMAZONIA },
|
106
|
+
{ code: '752', label: IuguBankEnum.BNP },
|
107
|
+
{ code: '383', label: IuguBankEnum.JUNO },
|
108
|
+
{ code: '133', label: IuguBankEnum.CRESOL },
|
109
|
+
{ code: '173', label: IuguBankEnum.BRLTRUST },
|
110
|
+
{ code: '047', label: IuguBankEnum.BANESE },
|
111
|
+
{ code: '208', label: IuguBankEnum.BTGPACTUAL },
|
112
|
+
{ code: '613', label: IuguBankEnum.OMNI },
|
113
|
+
{ code: '332', label: IuguBankEnum.ACESSOSOLUCOES },
|
114
|
+
{ code: '281', label: IuguBankEnum.CCR },
|
115
|
+
{ code: '093', label: IuguBankEnum.POLOCRED },
|
116
|
+
{ code: '355', label: IuguBankEnum.OTIMO },
|
117
|
+
{ code: '741', label: IuguBankEnum.RIBEIRAOPRETO },
|
118
|
+
{ code: '461', label: IuguBankEnum.ASAASIP },
|
119
|
+
{ code: '623', label: IuguBankEnum.PAN },
|
120
|
+
{ code: '310', label: IuguBankEnum.VORTX },
|
121
|
+
{ code: '318', label: IuguBankEnum.BMG },
|
122
|
+
];
|
123
|
+
exports.IuguBankFormatter = [
|
124
|
+
{ name: 'Banco do Brasil', agency: '9999-D', account: '99999999-D' },
|
125
|
+
{ name: 'Santander', agency: '9999', account: '99999999-D' },
|
126
|
+
{ name: 'Caixa Econômica', agency: '9999', account: 'XXX99999999-D (X: Operação)' },
|
127
|
+
{ name: 'Caixa Econômica', agency: '9999', account: 'XXXX999999999-D (X: Operação - Novo formato CP)' },
|
128
|
+
{ name: 'Bradesco', agency: '9999-D', account: '9999999-D' },
|
129
|
+
{ name: 'Itaú', agency: '9999', account: '99999-D' },
|
130
|
+
{ name: 'Itaú', agency: '9999', account: '999999999-D (Itaú-Iti)' },
|
131
|
+
{ name: 'Agibank', agency: '9999', account: '9999999999' },
|
132
|
+
{ name: 'Banpará', agency: '9999', account: '999999999-D' },
|
133
|
+
{ name: 'Banrisul', agency: '9999', account: '999999999-D' },
|
134
|
+
{ name: 'Sicoob', agency: '9999', account: '999999999-D' },
|
135
|
+
{ name: 'Inter', agency: '9999', account: '999999999-D' },
|
136
|
+
{ name: 'BRB', agency: '9999', account: '999999999-D' },
|
137
|
+
{ name: 'Via Credi', agency: '9999', account: '99999999999-D' },
|
138
|
+
{ name: 'Neon/Votorantim', agency: '9999', account: '9999999999-D' },
|
139
|
+
{ name: 'Nubank', agency: '9999', account: '9999999999-D' },
|
140
|
+
{ name: 'Pagseguro', agency: '9999', account: '99999999-D' },
|
141
|
+
{ name: 'Banco Original', agency: '9999', account: '9999999-D' },
|
142
|
+
{ name: 'Safra', agency: '9999', account: '99999999-D' },
|
143
|
+
{ name: 'Modal', agency: '9999', account: '999999999-D' },
|
144
|
+
{ name: 'Banestes', agency: '9999', account: '99999999-D' },
|
145
|
+
{ name: 'Unicred', agency: '9999', account: '99999999-D' },
|
146
|
+
{ name: 'Money Plus', agency: '9', account: '99999999-D' },
|
147
|
+
{ name: 'Mercantil do Brasil', agency: '9999', account: '99999999-D' },
|
148
|
+
{ name: 'JP Morgan', agency: '9999', account: '99999999999-D' },
|
149
|
+
{ name: 'Gerencianet Pagamentos do Brasil', agency: '9999', account: '99999999-D' },
|
150
|
+
{ name: 'Banco C6', agency: '9999', account: '99999999-D' },
|
151
|
+
{ name: 'BS2', agency: '9999', account: '9999999-D' },
|
152
|
+
{ name: 'Banco Topazio', agency: '9999', account: '99999-D' },
|
153
|
+
{ name: 'Uniprime', agency: '9999', account: '9999-D' },
|
154
|
+
{ name: 'Stone', agency: '9999', account: '9999999-D' },
|
155
|
+
{ name: 'Rendimento', agency: '9999-D', account: '9999999999' },
|
156
|
+
{ name: 'Banco Daycoval', agency: '9999', account: '999999-D' },
|
157
|
+
{ name: 'Banco do Nordeste', agency: '999', account: '999999-D' },
|
158
|
+
{ name: 'Citibank', agency: '9999', account: '99999999' },
|
159
|
+
{ name: 'PJBank', agency: '9999', account: '9999999999-D' },
|
160
|
+
{ name: 'Cooperativa Central de Credito Noroeste Brasileiro', agency: '9999', account: '9999999-D' },
|
161
|
+
{ name: 'Uniprime Norte do Paraná', agency: '9999', account: '999999-D' },
|
162
|
+
{ name: 'Global SCM', agency: '9999', account: '99999999999' },
|
163
|
+
{ name: 'Next', agency: '9999-D', account: '9999999-D' },
|
164
|
+
{ name: 'Cora', agency: '9999', account: '9999999-D' },
|
165
|
+
{ name: 'Mercado Pago', agency: '9999', account: '9999999999-D' },
|
166
|
+
{ name: 'Banco da Amazonia', agency: '9999', account: '999999-D' },
|
167
|
+
{ name: 'BNP Paribas Brasil', agency: '999', account: '999999-DDD' },
|
168
|
+
{ name: 'Juno', agency: '9999', account: '9999999999-D' },
|
169
|
+
{ name: 'Cresol', agency: '9999', account: '99999999-D' },
|
170
|
+
{ name: 'BRL Trust DTVM', agency: '999', account: '999999-D' },
|
171
|
+
{ name: 'Banco Banese', agency: '999', account: '99999999-D' },
|
172
|
+
{ name: 'Banco BTG Pactual', agency: '9999', account: '9999999-D' },
|
173
|
+
{ name: 'Banco Omni', agency: '9999', account: '999999-D' },
|
174
|
+
{ name: 'Acesso Soluções de pagamento', agency: '9999', account: '99999999' },
|
175
|
+
{ name: 'CCR de São Miguel do Oeste', agency: '9999', account: '99999' },
|
176
|
+
{ name: 'Polocred', agency: '9999', account: '999999-D' },
|
177
|
+
{ name: 'Ótimo', agency: '9999', account: '99999-D' },
|
178
|
+
{ name: 'Picpay', agency: '9999', account: '99999999-D' },
|
179
|
+
{ name: 'Banco Genial', agency: '9999', account: '9999-D' },
|
180
|
+
{ name: 'Banco Capital S.A', agency: '9999', account: '999999999' },
|
181
|
+
{ name: 'Sicredi', agency: '9999', account: '99999999D' },
|
182
|
+
{ name: 'Banco Ribeirão Preto', agency: '99999', account: '9999999999' },
|
183
|
+
{ name: 'ASAAS IP', agency: '9999', account: '9999999-D' },
|
184
|
+
{ name: 'Banco Pan', agency: '9999', account: '999999999-D' },
|
185
|
+
{ name: 'Neon', agency: '9999', account: '9999999999-D' },
|
186
|
+
{ name: 'VORTX DTVM LTDA', agency: '9999-D', account: '999-D' },
|
187
|
+
{ name: 'Banco BMG', agency: '9999', account: '99999999-D' },
|
188
|
+
{ name: 'Fitbank', agency: '9999', account: '99999999-D' }
|
189
|
+
];
|
@@ -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
|
+
import { IIuguAccountConfigurationBankSlip } from './i-account-configuration-bank-slip';
|
2
|
+
import { IIuguAccountConfigurationCreaditCard } from './i-account-configuration-creadit-card';
|
3
|
+
import { IIuguAccountConfigurationPix } from './i-account-configuration-pix';
|
4
|
+
import { IIuguConfigEarlyPaymentDiscount } from './i-config-early-payment-discounts';
|
5
|
+
export interface IIuguAccountConfiguration {
|
6
|
+
autoAdvance: boolean;
|
7
|
+
autoAdvanceOption?: string;
|
8
|
+
autoAdvanceType?: string;
|
9
|
+
autoWithdraw: boolean;
|
10
|
+
bankSlip: IIuguAccountConfigurationBankSlip;
|
11
|
+
creditCard: IIuguAccountConfigurationCreaditCard;
|
12
|
+
disabledWithdraw: boolean;
|
13
|
+
earlyPaymentDiscount: boolean;
|
14
|
+
earlyPaymentDiscounts?: IIuguConfigEarlyPaymentDiscount[];
|
15
|
+
fines: boolean;
|
16
|
+
latePaymentFine: number;
|
17
|
+
paymentEmailNotification: boolean;
|
18
|
+
paymentEmailNotificationReceiver?: string;
|
19
|
+
perDayInterest: number;
|
20
|
+
pix: IIuguAccountConfigurationPix;
|
21
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { BooleanStringEnum } from '../../general/enums';
|
2
|
+
import { LegalEntiyEnum } from '../../general/enums/person-type.enum';
|
3
|
+
export interface IIuguAccountLastVerificationRequestData {
|
4
|
+
accountType: string;
|
5
|
+
address: string;
|
6
|
+
automaticTransfer: BooleanStringEnum;
|
7
|
+
bank: string;
|
8
|
+
bankAg: string;
|
9
|
+
bankCc: string;
|
10
|
+
businessType: string;
|
11
|
+
cep: string;
|
12
|
+
city: string;
|
13
|
+
cpf: string;
|
14
|
+
documentActivity: string;
|
15
|
+
documentCpf: string;
|
16
|
+
documentId: string;
|
17
|
+
name: string;
|
18
|
+
personType: LegalEntiyEnum;
|
19
|
+
physicalProducts: BooleanStringEnum;
|
20
|
+
priceRange: string;
|
21
|
+
state: string;
|
22
|
+
telephone: string;
|
23
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
export interface IIuguMarketplaceSplit {
|
2
|
+
bankSlipCents: number;
|
3
|
+
bankSlipPercent: number;
|
4
|
+
cents: number;
|
5
|
+
creditCardCents: number;
|
6
|
+
creditCardPercent: number;
|
7
|
+
creditCard_10xCents: number;
|
8
|
+
creditCard_10x_percent: number;
|
9
|
+
creditCard_11xCents: number;
|
10
|
+
creditCard_11x_percent: number;
|
11
|
+
creditCard_12xCents: number;
|
12
|
+
creditCard_12x_percent: number;
|
13
|
+
creditCard_1xCents: number;
|
14
|
+
creditCard_1x_percent: number;
|
15
|
+
creditCard_2xCents: number;
|
16
|
+
creditCard_2x_percent: number;
|
17
|
+
creditCard_3xCents: number;
|
18
|
+
creditCard_3x_percent: number;
|
19
|
+
creditCard_4xCents: number;
|
20
|
+
creditCard_4x_percent: number;
|
21
|
+
creditCard_5xCents: number;
|
22
|
+
creditCard_5x_percent: number;
|
23
|
+
creditCard_6xCents: number;
|
24
|
+
creditCard_6x_percent: number;
|
25
|
+
creditCard_7xCents: number;
|
26
|
+
creditCard_7x_percent: number;
|
27
|
+
creditCard_8xCents: number;
|
28
|
+
creditCard_8x_percent: number;
|
29
|
+
creditCard_9xCents: number;
|
30
|
+
creditCard_9x_percent: number;
|
31
|
+
percent: number;
|
32
|
+
/**
|
33
|
+
* Permite agregar comissionamento percentual + fixo.
|
34
|
+
*/
|
35
|
+
permit_aggregated: boolean;
|
36
|
+
pixCents: number;
|
37
|
+
pixPercent: number;
|
38
|
+
/**
|
39
|
+
* ID Da conta que irá receber o split.
|
40
|
+
*/
|
41
|
+
recipientAccountId: string;
|
42
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
import { IuguAutoAdvanceEnum } from '../enums/iugu-auto-advance.enum';
|
2
|
+
import { IIuguAccountConfiguration } from './i-account-configuration';
|
3
|
+
import { IIuguAccountLastVerificationRequestData } from './i-account-info-last-ver-req-data';
|
4
|
+
import { IIuguInformations } from './i-account-informations';
|
5
|
+
import { IIuguMarketplaceSplit } from './i-account-marketplace-split';
|
6
|
+
import { IIuguConfigEarlyPaymentDiscount } from './i-config-early-payment-discounts';
|
7
|
+
export interface IIuguAccount {
|
8
|
+
/**
|
9
|
+
* @description
|
10
|
+
* Antecipação Automática.
|
11
|
+
* Só pode ser atribuído caso a conta tenha a funcionalidade de Novo Adiantamento habilitado.
|
12
|
+
*/
|
13
|
+
autoAdvance: boolean;
|
14
|
+
autoAdvanceOption: number;
|
15
|
+
/**
|
16
|
+
* @description
|
17
|
+
* Obrigatório caso autoAdvance seja true e autoAdvanceType diferente de 'daily'.
|
18
|
+
* Em caso de autoAdvanceType = weekly, recebe valores de 0 a 6
|
19
|
+
* (Número correspondente ao dia da semana que a antecipação será realizada,
|
20
|
+
* 0 para domingo, 1 para segunda e assim por diante).
|
21
|
+
*
|
22
|
+
* Em caso de autoAdvanceType = monthly, recebe valores de 1 a 28
|
23
|
+
* (Número correspondente ao dia do mês que a antecipação será realizada).
|
24
|
+
* Em caso de autoAdvanceType = daysAfterPayment, recebe valores de 1 a 30
|
25
|
+
* (Número de dias após o pagamento em que a antecipação será realizada)
|
26
|
+
*/
|
27
|
+
autoAdvanceType: IuguAutoAdvanceEnum;
|
28
|
+
autoWithdraw: boolean;
|
29
|
+
balance: string;
|
30
|
+
balanceAvailableForWithdraw: string;
|
31
|
+
balanceInProtest: string;
|
32
|
+
canReceive?: boolean;
|
33
|
+
changePlanType: number;
|
34
|
+
commissionBalance: string;
|
35
|
+
configuration: IIuguAccountConfiguration;
|
36
|
+
createdAt: Date;
|
37
|
+
creditCardVerified: boolean;
|
38
|
+
customLogoSmallUrl: null;
|
39
|
+
customLogoUrl: null;
|
40
|
+
defaultReturnUrl: string;
|
41
|
+
disableEmails: boolean;
|
42
|
+
disabledWithdraw: boolean;
|
43
|
+
earlyPaymentDiscount: boolean;
|
44
|
+
earlyPaymentDiscountDays: number;
|
45
|
+
earlyPaymentDiscountPercent: number;
|
46
|
+
earlyPaymentDiscounts: IIuguConfigEarlyPaymentDiscount[];
|
47
|
+
fines: boolean;
|
48
|
+
hasBankAddress?: boolean;
|
49
|
+
id: string;
|
50
|
+
informations: IIuguInformations[];
|
51
|
+
isVerified?: boolean;
|
52
|
+
lastVerificationRequestData: IIuguAccountLastVerificationRequestData;
|
53
|
+
lastVerificationRequestFeedback: string;
|
54
|
+
lastVerificationRequestStatus: 'accepted' | string;
|
55
|
+
lastWithdraw: Date;
|
56
|
+
latePaymentFine: number;
|
57
|
+
marketplace: boolean;
|
58
|
+
name: string;
|
59
|
+
oldAdvancement: boolean;
|
60
|
+
payableBalance: string;
|
61
|
+
paymentEmailNotification: boolean;
|
62
|
+
paymentEmailNotificationReceiver: string;
|
63
|
+
perDayInterest: boolean;
|
64
|
+
permissions: string[];
|
65
|
+
protectedBalance: string;
|
66
|
+
receivableBalance: string;
|
67
|
+
replyTo: string;
|
68
|
+
splits: IIuguMarketplaceSplit[];
|
69
|
+
subscriptionsBillingDays: number;
|
70
|
+
subscriptionsTrialPeriod: number;
|
71
|
+
taxesPaidLastMonth: string;
|
72
|
+
taxesPaidThisMonth: string;
|
73
|
+
totalActiveSubscriptions: number;
|
74
|
+
totalSubscriptions: number;
|
75
|
+
updatedAt: Date;
|
76
|
+
volumeLastMonth: string;
|
77
|
+
volumeThisMonth: string;
|
78
|
+
webappOnTestMode: boolean;
|
79
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { IIuguPaymentToken } from './i-payment-token';
|
2
|
+
export interface IIuguCustomer {
|
3
|
+
ccEmails: string;
|
4
|
+
city: string;
|
5
|
+
complement: string;
|
6
|
+
cpfCnpj: string;
|
7
|
+
createdAt: Date;
|
8
|
+
customVariables: Array<any>;
|
9
|
+
defaultPaymentMethodId: string;
|
10
|
+
district: string;
|
11
|
+
email: string;
|
12
|
+
id: string;
|
13
|
+
name: string;
|
14
|
+
notes: string;
|
15
|
+
number: string;
|
16
|
+
paymentMethods: IIuguPaymentToken[];
|
17
|
+
phone: string;
|
18
|
+
phonePrefix: string;
|
19
|
+
proxyPaymentsFromCustomerId: string;
|
20
|
+
state: string;
|
21
|
+
street: string;
|
22
|
+
updatedAt: Date;
|
23
|
+
zipCode: string;
|
24
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { IIuguPlanFeature } from './i-plan-feature';
|
2
|
+
import { IIuguPlanPrice } from './i-plan-price';
|
3
|
+
export interface IIuguPlan {
|
4
|
+
createdAt: Date;
|
5
|
+
features: IIuguPlanFeature[];
|
6
|
+
id: string;
|
7
|
+
identifier: string;
|
8
|
+
interval: number;
|
9
|
+
intervalType: string;
|
10
|
+
name: string;
|
11
|
+
prices: IIuguPlanPrice[];
|
12
|
+
updatedAt: Date;
|
13
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { IIuguSubscriptionCustomVariable } from './i-subscription-custom-variable';
|
2
|
+
import { IIuguSubscriptionFeatures } from './i-subscription-features';
|
3
|
+
import { IIuguSubscriptionLog } from './i-subscription-log';
|
4
|
+
import { IIuguSubscriptionRecentInvoice } from './i-subscription-recent-invoice';
|
5
|
+
import { IIuguSubscriptionSubitem } from './i-subscription-subitem';
|
6
|
+
export interface IIuguSubscription {
|
7
|
+
active: boolean;
|
8
|
+
createdAt: Date;
|
9
|
+
credits: number;
|
10
|
+
creditsBased: boolean;
|
11
|
+
creditsCycle: number;
|
12
|
+
creditsMin: number;
|
13
|
+
currency: string;
|
14
|
+
customVariables: IIuguSubscriptionCustomVariable[];
|
15
|
+
customerEmail: string;
|
16
|
+
customerId: string;
|
17
|
+
customerName: string;
|
18
|
+
customerRef: string;
|
19
|
+
cycledAt: Date;
|
20
|
+
cyclesCount: number;
|
21
|
+
expiresAt: Date;
|
22
|
+
features: IIuguSubscriptionFeatures;
|
23
|
+
id: string;
|
24
|
+
ignoreDueEmail: any;
|
25
|
+
inTrial: string;
|
26
|
+
logs: IIuguSubscriptionLog[];
|
27
|
+
maxCycles: number;
|
28
|
+
payableWith: string;
|
29
|
+
planIdentifier: string;
|
30
|
+
planName: string;
|
31
|
+
planRef: string;
|
32
|
+
priceCents: number;
|
33
|
+
recentInvoices: IIuguSubscriptionRecentInvoice[];
|
34
|
+
subitems: IIuguSubscriptionSubitem[];
|
35
|
+
suspendOnInvoiceExpired: boolean;
|
36
|
+
suspended: boolean;
|
37
|
+
twoStep: boolean;
|
38
|
+
updatedAt: Date;
|
39
|
+
}
|