cecon-interfaces 1.0.16 → 1.0.18
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 +3 -1
- package/dist/company/entities/company.entity.js +1 -0
- package/dist/company/interfaces/i-company.d.ts +3 -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 +2 -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 +579 -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
@@ -1,10 +1,10 @@
|
|
1
1
|
export declare enum PaymentChannelEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
2
|
+
App = "APP",
|
3
|
+
Delivery = "DELIVERY",
|
4
|
+
Automation = "AUTOMATION",
|
5
|
+
Phone = "PHONE",
|
6
|
+
Mail = "MAIL",
|
7
|
+
Kiosk = "KIOSK",
|
8
|
+
QrCode = "QR_CODE",
|
9
|
+
Website = "WEBSITE"
|
10
10
|
}
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaymentChannelEnum = void 0;
|
4
4
|
var PaymentChannelEnum;
|
5
5
|
(function (PaymentChannelEnum) {
|
6
|
-
PaymentChannelEnum["
|
7
|
-
PaymentChannelEnum["
|
8
|
-
PaymentChannelEnum["
|
9
|
-
PaymentChannelEnum["
|
10
|
-
PaymentChannelEnum["
|
11
|
-
PaymentChannelEnum["
|
12
|
-
PaymentChannelEnum["
|
13
|
-
PaymentChannelEnum["
|
6
|
+
PaymentChannelEnum["App"] = "APP";
|
7
|
+
PaymentChannelEnum["Delivery"] = "DELIVERY";
|
8
|
+
PaymentChannelEnum["Automation"] = "AUTOMATION";
|
9
|
+
PaymentChannelEnum["Phone"] = "PHONE";
|
10
|
+
PaymentChannelEnum["Mail"] = "MAIL";
|
11
|
+
PaymentChannelEnum["Kiosk"] = "KIOSK";
|
12
|
+
PaymentChannelEnum["QrCode"] = "QR_CODE";
|
13
|
+
PaymentChannelEnum["Website"] = "WEBSITE";
|
14
14
|
})(PaymentChannelEnum || (exports.PaymentChannelEnum = PaymentChannelEnum = {}));
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaymentModeEnum = void 0;
|
4
4
|
var PaymentModeEnum;
|
5
5
|
(function (PaymentModeEnum) {
|
6
|
-
PaymentModeEnum["
|
7
|
-
PaymentModeEnum["
|
8
|
-
PaymentModeEnum["
|
6
|
+
PaymentModeEnum["Electronic"] = "ELECTRONIC";
|
7
|
+
PaymentModeEnum["Manual"] = "MANUAL";
|
8
|
+
PaymentModeEnum["Digital"] = "DIGITAL";
|
9
9
|
})(PaymentModeEnum || (exports.PaymentModeEnum = PaymentModeEnum = {}));
|
@@ -1,20 +1,20 @@
|
|
1
1
|
export declare enum PaymentTypeEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
2
|
+
CreditCard = "CREDIT_CARD",
|
3
|
+
DebitCard = "DEBIT_CARD",
|
4
|
+
Cash = "CASH",
|
5
|
+
Pix = "PIX",
|
6
|
+
MobilePayment = "MOBILE_PAYMENT",
|
7
|
+
Check = "CHECK",
|
8
|
+
Cryptocurrency = "CRYPTOCURRENCY",
|
9
|
+
ElectronicBanking = "ELECTRONIC_BANKING",
|
10
|
+
MoneyOrder = "MONEY_ORDER",
|
11
|
+
PrepaidCard = "PREPAID_CARD",
|
12
|
+
EWallet = "E_WALLET",
|
13
|
+
DirectDebit = "DIRECT_DEBIT",
|
14
|
+
Paypal = "PAYPAL",
|
15
|
+
CheckoutPro = "CHECKOUTPRO",
|
16
|
+
WireTransfer = "WIRE_TRANSFER",
|
17
|
+
GiftCard = "GIFT_CARD",
|
18
|
+
Voucher = "VOUCHER",
|
19
|
+
Billing = "BILLING"
|
20
20
|
}
|
@@ -3,22 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaymentTypeEnum = void 0;
|
4
4
|
var PaymentTypeEnum;
|
5
5
|
(function (PaymentTypeEnum) {
|
6
|
-
PaymentTypeEnum["
|
7
|
-
PaymentTypeEnum["
|
8
|
-
PaymentTypeEnum["
|
9
|
-
PaymentTypeEnum["
|
10
|
-
PaymentTypeEnum["
|
11
|
-
PaymentTypeEnum["
|
12
|
-
PaymentTypeEnum["
|
13
|
-
PaymentTypeEnum["
|
14
|
-
PaymentTypeEnum["
|
15
|
-
PaymentTypeEnum["
|
16
|
-
PaymentTypeEnum["
|
17
|
-
PaymentTypeEnum["
|
18
|
-
PaymentTypeEnum["
|
19
|
-
PaymentTypeEnum["
|
20
|
-
PaymentTypeEnum["
|
21
|
-
PaymentTypeEnum["
|
22
|
-
PaymentTypeEnum["
|
23
|
-
PaymentTypeEnum["
|
6
|
+
PaymentTypeEnum["CreditCard"] = "CREDIT_CARD";
|
7
|
+
PaymentTypeEnum["DebitCard"] = "DEBIT_CARD";
|
8
|
+
PaymentTypeEnum["Cash"] = "CASH";
|
9
|
+
PaymentTypeEnum["Pix"] = "PIX";
|
10
|
+
PaymentTypeEnum["MobilePayment"] = "MOBILE_PAYMENT";
|
11
|
+
PaymentTypeEnum["Check"] = "CHECK";
|
12
|
+
PaymentTypeEnum["Cryptocurrency"] = "CRYPTOCURRENCY";
|
13
|
+
PaymentTypeEnum["ElectronicBanking"] = "ELECTRONIC_BANKING";
|
14
|
+
PaymentTypeEnum["MoneyOrder"] = "MONEY_ORDER";
|
15
|
+
PaymentTypeEnum["PrepaidCard"] = "PREPAID_CARD";
|
16
|
+
PaymentTypeEnum["EWallet"] = "E_WALLET";
|
17
|
+
PaymentTypeEnum["DirectDebit"] = "DIRECT_DEBIT";
|
18
|
+
PaymentTypeEnum["Paypal"] = "PAYPAL";
|
19
|
+
PaymentTypeEnum["CheckoutPro"] = "CHECKOUTPRO";
|
20
|
+
PaymentTypeEnum["WireTransfer"] = "WIRE_TRANSFER";
|
21
|
+
PaymentTypeEnum["GiftCard"] = "GIFT_CARD";
|
22
|
+
PaymentTypeEnum["Voucher"] = "VOUCHER";
|
23
|
+
PaymentTypeEnum["Billing"] = "BILLING";
|
24
24
|
})(PaymentTypeEnum || (exports.PaymentTypeEnum = PaymentTypeEnum = {}));
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LegalEntiyEnum = void 0;
|
4
|
+
var LegalEntiyEnum;
|
5
|
+
(function (LegalEntiyEnum) {
|
6
|
+
LegalEntiyEnum["LegalEntity"] = "Pessoa Jur\u00EDdica";
|
7
|
+
LegalEntiyEnum["Individual"] = "Pessoa F\u00EDsica";
|
8
|
+
})(LegalEntiyEnum || (exports.LegalEntiyEnum = LegalEntiyEnum = {}));
|
@@ -1,8 +1,8 @@
|
|
1
1
|
export declare enum PaymentProviderEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
Iugu = "IUGU",
|
3
|
+
Desenfila = "DESENFILA",
|
4
|
+
MercadoPago = "MERCADO PAGO",
|
5
|
+
Stripe = "STRIPE",
|
6
|
+
PayPal = "PAYPAL",
|
7
|
+
Other = "OTHER"
|
8
8
|
}
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaymentProviderEnum = void 0;
|
4
4
|
var PaymentProviderEnum;
|
5
5
|
(function (PaymentProviderEnum) {
|
6
|
-
PaymentProviderEnum["
|
7
|
-
PaymentProviderEnum["
|
8
|
-
PaymentProviderEnum["
|
9
|
-
PaymentProviderEnum["
|
10
|
-
PaymentProviderEnum["
|
11
|
-
PaymentProviderEnum["
|
6
|
+
PaymentProviderEnum["Iugu"] = "IUGU";
|
7
|
+
PaymentProviderEnum["Desenfila"] = "DESENFILA";
|
8
|
+
PaymentProviderEnum["MercadoPago"] = "MERCADO PAGO";
|
9
|
+
PaymentProviderEnum["Stripe"] = "STRIPE";
|
10
|
+
PaymentProviderEnum["PayPal"] = "PAYPAL";
|
11
|
+
PaymentProviderEnum["Other"] = "OTHER";
|
12
12
|
})(PaymentProviderEnum || (exports.PaymentProviderEnum = PaymentProviderEnum = {}));
|
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
export * from './company';
|
2
|
+
export * from './container';
|
2
3
|
export * from './device';
|
3
4
|
export * from './general';
|
5
|
+
export * from './invite';
|
6
|
+
export * from './iugu';
|
7
|
+
export * from './member';
|
4
8
|
export * from './order';
|
9
|
+
export * from './partners';
|
10
|
+
export * from './plan';
|
5
11
|
export * from './purchases';
|
12
|
+
export * from './viacep';
|
package/dist/index.js
CHANGED
@@ -15,7 +15,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./company"), exports);
|
18
|
+
__exportStar(require("./container"), exports);
|
18
19
|
__exportStar(require("./device"), exports);
|
19
20
|
__exportStar(require("./general"), exports);
|
21
|
+
__exportStar(require("./invite"), exports);
|
22
|
+
__exportStar(require("./iugu"), exports);
|
23
|
+
__exportStar(require("./member"), exports);
|
20
24
|
__exportStar(require("./order"), exports);
|
25
|
+
__exportStar(require("./partners"), exports);
|
26
|
+
__exportStar(require("./plan"), exports);
|
21
27
|
__exportStar(require("./purchases"), exports);
|
28
|
+
__exportStar(require("./viacep"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { InviteEntity } from './invite.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InviteEntity = void 0;
|
4
|
+
var invite_entity_1 = require("./invite.entity");
|
5
|
+
Object.defineProperty(exports, "InviteEntity", { enumerable: true, get: function () { return invite_entity_1.InviteEntity; } });
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { DocTypeEnum } from '../../general';
|
2
|
+
import { InviteStatusEnum } from '../enums';
|
3
|
+
import { IInvite } from '../interfaces';
|
4
|
+
export declare class InviteEntity implements IInvite {
|
5
|
+
companyId: string;
|
6
|
+
companyName: string;
|
7
|
+
containerId: string;
|
8
|
+
createdAt: number;
|
9
|
+
doc: string;
|
10
|
+
docType: DocTypeEnum;
|
11
|
+
email: string;
|
12
|
+
expireAt: number;
|
13
|
+
expired: boolean;
|
14
|
+
id: string;
|
15
|
+
internationalCode: string;
|
16
|
+
name: string;
|
17
|
+
phoneNumber: string;
|
18
|
+
photoURL: string;
|
19
|
+
status: InviteStatusEnum;
|
20
|
+
uid: string;
|
21
|
+
updatedAt: number;
|
22
|
+
constructor(data?: Partial<InviteEntity>);
|
23
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InviteEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var enums_1 = require("../enums");
|
6
|
+
var InviteEntity = /** @class */ (function () {
|
7
|
+
// #endregion Properties (17)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function InviteEntity(data) {
|
10
|
+
// #region Properties (17)
|
11
|
+
this.companyId = '';
|
12
|
+
this.companyName = '';
|
13
|
+
this.containerId = '';
|
14
|
+
this.createdAt = Date.now();
|
15
|
+
this.doc = '';
|
16
|
+
this.docType = general_1.DocTypeEnum.CNPJ;
|
17
|
+
this.email = '';
|
18
|
+
this.expireAt = Date.now() + 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 = Date.now();
|
28
|
+
if (data) {
|
29
|
+
for (var key in data) {
|
30
|
+
if (data.hasOwnProperty(key) && key in this) {
|
31
|
+
this[key] = data[key];
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
return InviteEntity;
|
37
|
+
}());
|
38
|
+
exports.InviteEntity = InviteEntity;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { InviteStatusEnum } from './status.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InviteStatusEnum = void 0;
|
4
|
+
var status_enum_1 = require("./status.enum");
|
5
|
+
Object.defineProperty(exports, "InviteStatusEnum", { enumerable: true, get: function () { return status_enum_1.InviteStatusEnum; } });
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InviteStatusEnum = void 0;
|
4
|
+
var InviteStatusEnum;
|
5
|
+
(function (InviteStatusEnum) {
|
6
|
+
InviteStatusEnum["Accepted"] = "ACCEPTED";
|
7
|
+
InviteStatusEnum["Pending"] = "PENDING";
|
8
|
+
InviteStatusEnum["Rejected"] = "REJECTED";
|
9
|
+
InviteStatusEnum["Expired"] = "EXPIRED";
|
10
|
+
InviteStatusEnum["Canceled"] = "CANCELED";
|
11
|
+
})(InviteStatusEnum || (exports.InviteStatusEnum = InviteStatusEnum = {}));
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { DocTypeEnum } from '../../general';
|
2
|
+
import { InviteStatusEnum } from '../enums';
|
3
|
+
export interface IInvite {
|
4
|
+
companyId: string;
|
5
|
+
companyName: string;
|
6
|
+
containerId: string;
|
7
|
+
createdAt: number;
|
8
|
+
doc: string;
|
9
|
+
docType: DocTypeEnum;
|
10
|
+
email: string;
|
11
|
+
expireAt: number;
|
12
|
+
expired: boolean;
|
13
|
+
id: string;
|
14
|
+
internationalCode: string;
|
15
|
+
name: string;
|
16
|
+
phoneNumber: string;
|
17
|
+
photoURL: string;
|
18
|
+
status: InviteStatusEnum;
|
19
|
+
uid: string;
|
20
|
+
updatedAt: number;
|
21
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IInvite } from './i-invite';
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IuguPaymentTokenEntity = exports.IuguPaymentTokenDataEntity = void 0;
|
4
|
+
var payment_token_data_entity_1 = require("./payment-token-data.entity");
|
5
|
+
Object.defineProperty(exports, "IuguPaymentTokenDataEntity", { enumerable: true, get: function () { return payment_token_data_entity_1.IuguPaymentTokenDataEntity; } });
|
6
|
+
var payment_token_entity_1 = require("./payment-token.entity");
|
7
|
+
Object.defineProperty(exports, "IuguPaymentTokenEntity", { enumerable: true, get: function () { return payment_token_entity_1.IuguPaymentTokenEntity; } });
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare class IuguPaymentTokenDataEntity {
|
2
|
+
bin: string;
|
3
|
+
brand: string;
|
4
|
+
displayNumber: string;
|
5
|
+
firstDigits: string;
|
6
|
+
holderName: string;
|
7
|
+
lastDigits: string;
|
8
|
+
maskedNumber: string;
|
9
|
+
month: number;
|
10
|
+
year: number;
|
11
|
+
constructor(data?: Partial<IuguPaymentTokenDataEntity>);
|
12
|
+
}
|
@@ -0,0 +1,28 @@
|
|
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;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { IuguPaymentTokenDataEntity } from './payment-token-data.entity';
|
2
|
+
export declare class IuguPaymentTokenEntity {
|
3
|
+
customerId: string;
|
4
|
+
data: IuguPaymentTokenDataEntity;
|
5
|
+
description: string;
|
6
|
+
id: string;
|
7
|
+
itemType: string;
|
8
|
+
constructor(data?: Partial<IuguPaymentTokenEntity>);
|
9
|
+
}
|
@@ -0,0 +1,25 @@
|
|
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;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
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; } });
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IuguAutoAdvanceEnum = void 0;
|
4
|
+
var IuguAutoAdvanceEnum;
|
5
|
+
(function (IuguAutoAdvanceEnum) {
|
6
|
+
IuguAutoAdvanceEnum["DaysAfterPayment"] = "days_after_payment";
|
7
|
+
IuguAutoAdvanceEnum["Daily"] = "daily";
|
8
|
+
IuguAutoAdvanceEnum["Weekly"] = "weekly";
|
9
|
+
IuguAutoAdvanceEnum["Monthly"] = "monthly";
|
10
|
+
})(IuguAutoAdvanceEnum || (exports.IuguAutoAdvanceEnum = IuguAutoAdvanceEnum = {}));
|
@@ -0,0 +1,68 @@
|
|
1
|
+
export declare enum IuguBankEnum {
|
2
|
+
ITAU = "Ita\u00FA",
|
3
|
+
BRADESCO = "Bradesco",
|
4
|
+
CAIXA = "Caixa Econ\u00F4mica",
|
5
|
+
BRASIL = "Banco do Brasil",
|
6
|
+
SANTANDER = "Santander",
|
7
|
+
BANRISUL = "Banrisul",
|
8
|
+
SICRED = "Sicredi",
|
9
|
+
SICOOB = "Sicoob",
|
10
|
+
INTER = "Inter",
|
11
|
+
BRB = "BRB",
|
12
|
+
VIACRED = "Via Credi",
|
13
|
+
NEON = "Neon",
|
14
|
+
VOTORANTIN = "Votorantim",
|
15
|
+
NUBANK = "Nubank",
|
16
|
+
PAGSEGURO = "Pagseguro",
|
17
|
+
ORIGINAL = "Banco Original",
|
18
|
+
SAFRA = "Safra",
|
19
|
+
MODAL = "Modal",
|
20
|
+
BANESTES = "Banestes",
|
21
|
+
UNICRED = "Unicred",
|
22
|
+
MONEYPLUS = "Money Plus",
|
23
|
+
MERCANTIL = "Mercantil do Brasil",
|
24
|
+
JPMORGAN = "JP Morgan",
|
25
|
+
GERENCIANET = "Gerencianet Pagamentos do Brasil",
|
26
|
+
C6 = "Banco C6",
|
27
|
+
BS2 = "BS2",
|
28
|
+
TOPAZIO = "Banco Topazio",
|
29
|
+
UNIPRIME = "Uniprime",
|
30
|
+
STONE = "Stone",
|
31
|
+
DAYCOVAL = "Banco Daycoval",
|
32
|
+
RENDIMENTO = "Rendimento",
|
33
|
+
NORDESTE = "Banco do Nordeste",
|
34
|
+
CITIBANK = "Citibank",
|
35
|
+
PJBANK = "PJBank",
|
36
|
+
CCCNB = "Cooperativa Central de Credito Noroeste Brasileiro",
|
37
|
+
UNIPRIMENPARANA = "Uniprime Norte do Paran\u00E1",
|
38
|
+
GLOBALSCM = "Global SCM",
|
39
|
+
NEXT = "Next",
|
40
|
+
CORA = "Cora",
|
41
|
+
MERCADOPAGO = "Mercado Pago",
|
42
|
+
AMAZONIA = "Banco da Amazonia",
|
43
|
+
BNP = "BNP Paribas Brasil",
|
44
|
+
JUNO = "Juno",
|
45
|
+
CRESOL = "Cresol",
|
46
|
+
BRLTRUST = "BRL Trust DTVM",
|
47
|
+
BANESE = "Banco Banese",
|
48
|
+
BTGPACTUAL = "Banco BTG Pactual",
|
49
|
+
OMNI = "Banco Omni",
|
50
|
+
ACESSOSOLUCOES = "Acesso Solu\u00E7\u00F5es de Pagamento",
|
51
|
+
CCR = "CCR de S\u00E3o Miguel do Oeste",
|
52
|
+
POLOCRED = "Polocred",
|
53
|
+
OTIMO = "\u00D3timo",
|
54
|
+
RIBEIRAOPRETO = "Banco Ribeir\u00E3o Preto",
|
55
|
+
ASAASIP = "ASAAS IP",
|
56
|
+
PAN = "Banco Pan",
|
57
|
+
VORTX = "VORTX DTVM LTDA",
|
58
|
+
BMG = "Banco BMG"
|
59
|
+
}
|
60
|
+
export declare const IuguBankNumber: {
|
61
|
+
code: string;
|
62
|
+
label: IuguBankEnum;
|
63
|
+
}[];
|
64
|
+
export declare const IuguBankFormatter: {
|
65
|
+
name: string;
|
66
|
+
agency: string;
|
67
|
+
account: string;
|
68
|
+
}[];
|