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
@@ -1,23 +1,23 @@
|
|
1
1
|
import { OrderStatusEnum } from '../enums';
|
2
|
-
import { IOrderAdditionalFee } from './i-
|
3
|
-
import { IOrderBenefits } from './i-
|
4
|
-
import { IOrderCancellation } from './i-
|
5
|
-
import { IOrderCustomer } from './i-
|
6
|
-
import { IOrderItem } from './i-
|
7
|
-
import { IOrderPayment } from './i-
|
8
|
-
import { IOrderTotal } from './i-
|
2
|
+
import { IOrderAdditionalFee } from './i-additional-fee';
|
3
|
+
import { IOrderBenefits } from './i-benefits';
|
4
|
+
import { IOrderCancellation } from './i-cancellation';
|
5
|
+
import { IOrderCustomer } from './i-customer';
|
6
|
+
import { IOrderItem } from './i-item';
|
7
|
+
import { IOrderPayment } from './i-payment';
|
8
|
+
import { IOrderTotal } from './i-total';
|
9
9
|
export interface IOrder {
|
10
10
|
additionalFees: IOrderAdditionalFee[];
|
11
11
|
benefits: IOrderBenefits[];
|
12
12
|
cancellation: IOrderCancellation;
|
13
13
|
companyId: string;
|
14
14
|
containerId: string;
|
15
|
-
createdAt:
|
15
|
+
createdAt: number;
|
16
16
|
customer: IOrderCustomer;
|
17
17
|
id: string;
|
18
18
|
sandbox: boolean;
|
19
19
|
items: IOrderItem[];
|
20
|
-
payments: IOrderPayment;
|
20
|
+
payments: IOrderPayment | null;
|
21
21
|
salesChannel: string;
|
22
22
|
status: OrderStatusEnum;
|
23
23
|
total: IOrderTotal;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { PaymentTypeEnum } from '../../general';
|
2
|
+
import { IOrderPaymentCard } from './i-payment-card';
|
3
|
+
import { IOrderPaymentCash } from './i-payment-cash';
|
4
|
+
import { IOrderPaymentPix } from './i-payment-pix';
|
5
|
+
import { IOrderPaymentWallet } from './i-payment-wallet';
|
6
|
+
export interface IOrderPaymentMethod {
|
7
|
+
card?: IOrderPaymentCard | null;
|
8
|
+
cash?: IOrderPaymentCash | null;
|
9
|
+
code: string;
|
10
|
+
currency: 'BRL';
|
11
|
+
id: string;
|
12
|
+
method: PaymentTypeEnum;
|
13
|
+
pix?: IOrderPaymentPix | null;
|
14
|
+
prepaid: boolean;
|
15
|
+
type: 'ONLINE' | 'OFFLINE';
|
16
|
+
value: number;
|
17
|
+
wallet?: IOrderPaymentWallet | null;
|
18
|
+
}
|
@@ -1,19 +1,19 @@
|
|
1
|
+
export { IOrderAdditionalFee } from './i-additional-fee';
|
2
|
+
export { IOrderBenefits } from './i-benefits';
|
3
|
+
export { ISponsorshipValues } from './i-benefits-sponsor-ship';
|
4
|
+
export { IOrderCancellation } from './i-cancellation';
|
5
|
+
export { IOrderCustomer } from './i-customer';
|
6
|
+
export { IOrdersCustomerPhone } from './i-customer-phone';
|
7
|
+
export { IOrderItem } from './i-item';
|
8
|
+
export { IOrderItemComposition } from './i-item-composition';
|
9
|
+
export { IOrderItemOption } from './i-item-option';
|
1
10
|
export { IOrder } from './i-order';
|
2
|
-
export {
|
3
|
-
export {
|
4
|
-
export {
|
5
|
-
export {
|
6
|
-
export {
|
7
|
-
export {
|
8
|
-
export {
|
9
|
-
export {
|
10
|
-
export {
|
11
|
-
export { IOrderPayment } from './i-order-payment';
|
12
|
-
export { IOrderPaymentCard } from './i-order-payment-card';
|
13
|
-
export { IOrderPaymentCash } from './i-order-payment-cash';
|
14
|
-
export { IOrderPaymentMethod } from './i-order-payment-method';
|
15
|
-
export { IOrderPaymentPix } from './i-order-payment-pix';
|
16
|
-
export { IOrderPaymentWallet } from './i-order-payment-wallet';
|
17
|
-
export { IOrderScaleItem } from './i-order-scale-item';
|
18
|
-
export { IOrderScale } from './i-order-scale-price';
|
19
|
-
export { IOrderTotal } from './i-order-total';
|
11
|
+
export { IOrderPayment } from './i-payment';
|
12
|
+
export { IOrderPaymentCard } from './i-payment-card';
|
13
|
+
export { IOrderPaymentCash } from './i-payment-cash';
|
14
|
+
export { IOrderPaymentMethod } from './i-payment-method';
|
15
|
+
export { IOrderPaymentPix } from './i-payment-pix';
|
16
|
+
export { IOrderPaymentWallet } from './i-payment-wallet';
|
17
|
+
export { IOrderScaleItem } from './i-scale-item';
|
18
|
+
export { IOrderScale } from './i-scale-price';
|
19
|
+
export { IOrderTotal } from './i-total';
|
package/dist/package.json
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export { PartnerEntity } from './partner.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PartnerEntity = void 0;
|
4
|
+
var partner_entity_1 = require("./partner.entity");
|
5
|
+
Object.defineProperty(exports, "PartnerEntity", { enumerable: true, get: function () { return partner_entity_1.PartnerEntity; } });
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { AddressEntity, BaseEntity, PaymentProviderEntity } from '../../general';
|
2
|
+
import { DocTypeEnum } from '../../general/enums';
|
3
|
+
import { IPartner } from '../interfaces';
|
4
|
+
export declare class PartnerEntity extends BaseEntity implements IPartner {
|
5
|
+
address: AddressEntity;
|
6
|
+
doc: string;
|
7
|
+
docType: DocTypeEnum;
|
8
|
+
name: string;
|
9
|
+
paymentProvider: PaymentProviderEntity;
|
10
|
+
constructor(data?: Partial<PartnerEntity>);
|
11
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.PartnerEntity = void 0;
|
19
|
+
var general_1 = require("../../general");
|
20
|
+
var enums_1 = require("../../general/enums");
|
21
|
+
var PartnerEntity = /** @class */ (function (_super) {
|
22
|
+
__extends(PartnerEntity, _super);
|
23
|
+
// #endregion Properties (5)
|
24
|
+
// #region Constructors (1)
|
25
|
+
function PartnerEntity(data) {
|
26
|
+
var _this = _super.call(this, data) || this;
|
27
|
+
// #region Properties (5)
|
28
|
+
_this.address = new general_1.AddressEntity();
|
29
|
+
_this.doc = '';
|
30
|
+
_this.docType = enums_1.DocTypeEnum.CNPJ;
|
31
|
+
_this.name = '';
|
32
|
+
_this.paymentProvider = new general_1.PaymentProviderEntity();
|
33
|
+
if (data) {
|
34
|
+
for (var key in data) {
|
35
|
+
if (data.hasOwnProperty(key) && key in _this) {
|
36
|
+
_this[key] = data[key];
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
return _this;
|
41
|
+
}
|
42
|
+
return PartnerEntity;
|
43
|
+
}(general_1.BaseEntity));
|
44
|
+
exports.PartnerEntity = PartnerEntity;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { IAddress, IBase, IPaymentProvider } from '../../general';
|
2
|
+
import { DocTypeEnum } from '../../general/enums';
|
3
|
+
export interface IPartner extends IBase {
|
4
|
+
doc: string;
|
5
|
+
docType: DocTypeEnum;
|
6
|
+
name: string;
|
7
|
+
paymentProvider: IPaymentProvider;
|
8
|
+
address: IAddress;
|
9
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPartner } from './i-partner';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { IPlanFeature } from '../interfaces';
|
2
|
+
export declare class PlanFeatureEntity implements IPlanFeature {
|
3
|
+
createdAt: number;
|
4
|
+
id: string;
|
5
|
+
identifier: string;
|
6
|
+
important: boolean;
|
7
|
+
name: string;
|
8
|
+
planId: string;
|
9
|
+
position: number;
|
10
|
+
updatedAt: number;
|
11
|
+
value: number;
|
12
|
+
constructor(data?: Partial<PlanFeatureEntity>);
|
13
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PlanFeatureEntity = void 0;
|
4
|
+
var PlanFeatureEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (9)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PlanFeatureEntity(data) {
|
8
|
+
// #region Properties (9)
|
9
|
+
this.createdAt = Date.now();
|
10
|
+
this.id = '';
|
11
|
+
this.identifier = '';
|
12
|
+
this.important = false;
|
13
|
+
this.name = '';
|
14
|
+
this.planId = '';
|
15
|
+
this.position = 0;
|
16
|
+
this.updatedAt = Date.now();
|
17
|
+
this.value = 0;
|
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 PlanFeatureEntity;
|
27
|
+
}());
|
28
|
+
exports.PlanFeatureEntity = PlanFeatureEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PlanEntity = exports.PlanFeatureEntity = void 0;
|
4
|
+
var feature_entity_1 = require("./feature.entity");
|
5
|
+
Object.defineProperty(exports, "PlanFeatureEntity", { enumerable: true, get: function () { return feature_entity_1.PlanFeatureEntity; } });
|
6
|
+
var plan_entity_1 = require("./plan.entity");
|
7
|
+
Object.defineProperty(exports, "PlanEntity", { enumerable: true, get: function () { return plan_entity_1.PlanEntity; } });
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { IntervalTypeEnum } from '../../general/enums';
|
2
|
+
import { PlanIdentifierEnum } from '../enums/plans-identifier.enum';
|
3
|
+
import { IPlan } from '../interfaces';
|
4
|
+
import { PlanFeatureEntity } from './feature.entity';
|
5
|
+
export declare class PlanEntity implements IPlan {
|
6
|
+
createdAt: number;
|
7
|
+
features: PlanFeatureEntity[];
|
8
|
+
id: string;
|
9
|
+
identifier: PlanIdentifierEnum;
|
10
|
+
interval: number;
|
11
|
+
intervalType: IntervalTypeEnum;
|
12
|
+
name: string;
|
13
|
+
price: number;
|
14
|
+
updatedAt: number;
|
15
|
+
constructor(data?: Partial<PlanEntity>);
|
16
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PlanEntity = void 0;
|
4
|
+
var enums_1 = require("../../general/enums");
|
5
|
+
var plans_identifier_enum_1 = require("../enums/plans-identifier.enum");
|
6
|
+
var PlanEntity = /** @class */ (function () {
|
7
|
+
// #endregion Properties (9)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function PlanEntity(data) {
|
10
|
+
// #region Properties (9)
|
11
|
+
this.createdAt = Date.now();
|
12
|
+
this.features = [];
|
13
|
+
this.id = '';
|
14
|
+
this.identifier = plans_identifier_enum_1.PlanIdentifierEnum.NatiGo;
|
15
|
+
this.interval = 12;
|
16
|
+
this.intervalType = enums_1.IntervalTypeEnum.Months;
|
17
|
+
this.name = '';
|
18
|
+
this.price = 0;
|
19
|
+
this.updatedAt = Date.now();
|
20
|
+
if (data) {
|
21
|
+
for (var key in data) {
|
22
|
+
if (data.hasOwnProperty(key) && key in this) {
|
23
|
+
this[key] = data[key];
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
return PlanEntity;
|
29
|
+
}());
|
30
|
+
exports.PlanEntity = PlanEntity;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PlanIdentifierEnum } from './plans-identifier.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PlanIdentifierEnum = void 0;
|
4
|
+
var plans_identifier_enum_1 = require("./plans-identifier.enum");
|
5
|
+
Object.defineProperty(exports, "PlanIdentifierEnum", { enumerable: true, get: function () { return plans_identifier_enum_1.PlanIdentifierEnum; } });
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PlanIdentifierEnum = void 0;
|
4
|
+
var PlanIdentifierEnum;
|
5
|
+
(function (PlanIdentifierEnum) {
|
6
|
+
PlanIdentifierEnum["NatiGo"] = "NATIGO-UNO";
|
7
|
+
PlanIdentifierEnum["SatManagerNapoleon"] = "SAT-MANAGER-NAPOLEON";
|
8
|
+
})(PlanIdentifierEnum || (exports.PlanIdentifierEnum = PlanIdentifierEnum = {}));
|
@@ -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,14 @@
|
|
1
|
+
import { IntervalTypeEnum } from '../../general/enums';
|
2
|
+
import { PlanIdentifierEnum } from '../enums/plans-identifier.enum';
|
3
|
+
import { IPlanFeature } from './i-feature';
|
4
|
+
export interface IPlan {
|
5
|
+
id: string;
|
6
|
+
name: string;
|
7
|
+
identifier: PlanIdentifierEnum;
|
8
|
+
interval: number;
|
9
|
+
intervalType: IntervalTypeEnum;
|
10
|
+
createdAt: number;
|
11
|
+
updatedAt: number;
|
12
|
+
price: number;
|
13
|
+
features: IPlanFeature[];
|
14
|
+
}
|
@@ -24,12 +24,12 @@ var PurchaseEntity = /** @class */ (function (_super) {
|
|
24
24
|
// #endregion Properties (4)
|
25
25
|
// #region Constructors (1)
|
26
26
|
function PurchaseEntity(data) {
|
27
|
-
var _this = _super.call(this) || this;
|
27
|
+
var _this = _super.call(this, data) || this;
|
28
28
|
// #region Properties (4)
|
29
29
|
_this.additionalNotes = '';
|
30
30
|
_this.appInfo = new app_info_entity_1.AppInfoEntity();
|
31
31
|
_this.deviceUid = '';
|
32
|
-
_this.providerName = providers_enum_1.PaymentProviderEnum.
|
32
|
+
_this.providerName = providers_enum_1.PaymentProviderEnum.Iugu;
|
33
33
|
if (data) {
|
34
34
|
for (var key in data) {
|
35
35
|
if (data.hasOwnProperty(key) && key in _this) {
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './interfaces';
|
@@ -0,0 +1,17 @@
|
|
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("./interfaces"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IViaCep } from './i-via-cep';
|
package/package.json
CHANGED
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1kZXZpY2UtbWV0YWRhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGV2aWNlL2ludGVyZmFjZXMvaS1kZXZpY2UtbWV0YWRhdGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSURldmljZU1ldGFkYXRhIHtcbiAgICBhcHA/OiBhbnk7XG4gICAgY2hlY2tvdXQ/OiBhbnk7XG4gICAgc2NyZWVuPzogYW55O1xuICAgIG5hdGlnbz86IGFueTtcbiAgICBzYXRNYW5hZ2VyPzogYW55O1xuICAgIHBkdk5hdGk/OiBhbnk7XG59Il19
|
@@ -1,17 +0,0 @@
|
|
1
|
-
export class SponsorshipValuesEntity {
|
2
|
-
// #region Properties (2)
|
3
|
-
name = '';
|
4
|
-
value = 0;
|
5
|
-
// #endregion Properties (2)
|
6
|
-
// #region Constructors (1)
|
7
|
-
constructor(data) {
|
8
|
-
if (data) {
|
9
|
-
for (let key in data) {
|
10
|
-
if (data.hasOwnProperty(key) && key in this) {
|
11
|
-
this[key] = data[key];
|
12
|
-
}
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYmVuZWZpdHMtc3BvbnNvci1zaGlwLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9lbnRpdGllcy9vcmRlci1iZW5lZml0cy1zcG9uc29yLXNoaXAuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE1BQU0sT0FBTyx1QkFBdUI7SUFDaEMseUJBQXlCO0lBRWxCLElBQUksR0FBVyxFQUFFLENBQUM7SUFDbEIsS0FBSyxHQUFXLENBQUMsQ0FBQztJQUV6Qiw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBdUM7UUFDL0MsSUFBSSxJQUFJLEVBQUU7WUFDTixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDbEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQ3hDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQzNDO2FBQ0o7U0FDSjtJQUNMLENBQUM7Q0FHSiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGNsYXNzIFNwb25zb3JzaGlwVmFsdWVzRW50aXR5IHtcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDIpXG5cbiAgICBwdWJsaWMgbmFtZTogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHZhbHVlOiBudW1iZXIgPSAwO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyKVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTcG9uc29yc2hpcFZhbHVlc0VudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,21 +0,0 @@
|
|
1
|
-
export class OrderBenefitsEntity {
|
2
|
-
// #region Properties (6)
|
3
|
-
description = '';
|
4
|
-
id = '';
|
5
|
-
sponsorshipValues = [];
|
6
|
-
target = '';
|
7
|
-
targetId = '';
|
8
|
-
value = 0;
|
9
|
-
// #endregion Properties (6)
|
10
|
-
// #region Constructors (1)
|
11
|
-
constructor(data) {
|
12
|
-
if (data) {
|
13
|
-
for (let key in data) {
|
14
|
-
if (data.hasOwnProperty(key) && key in this) {
|
15
|
-
this[key] = data[key];
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYmVuZWZpdHMuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL29yZGVyL2VudGl0aWVzL29yZGVyLWJlbmVmaXRzLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sbUJBQW1CO0lBQzVCLHlCQUF5QjtJQUVsQixXQUFXLEdBQVcsRUFBRSxDQUFDO0lBQ3pCLEVBQUUsR0FBVyxFQUFFLENBQUM7SUFDaEIsaUJBQWlCLEdBQThCLEVBQUUsQ0FBQztJQUNsRCxNQUFNLEdBQVcsRUFBRSxDQUFDO0lBQ3BCLFFBQVEsR0FBVyxFQUFFLENBQUM7SUFDdEIsS0FBSyxHQUFXLENBQUMsQ0FBQztJQUV6Qiw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBbUM7UUFDM0MsSUFBSSxJQUFJLEVBQUU7WUFDTixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDbEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQ3hDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQzNDO2FBQ0o7U0FDSjtJQUNMLENBQUM7Q0FHSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNwb25zb3JzaGlwVmFsdWVzRW50aXR5IH0gZnJvbSAnLi9vcmRlci1iZW5lZml0cy1zcG9uc29yLXNoaXAuZW50aXR5JztcblxuZXhwb3J0IGNsYXNzIE9yZGVyQmVuZWZpdHNFbnRpdHkge1xuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoNilcblxuICAgIHB1YmxpYyBkZXNjcmlwdGlvbjogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIGlkOiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgc3BvbnNvcnNoaXBWYWx1ZXM6IFNwb25zb3JzaGlwVmFsdWVzRW50aXR5W10gPSBbXTtcbiAgICBwdWJsaWMgdGFyZ2V0OiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgdGFyZ2V0SWQ6IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyB2YWx1ZTogbnVtYmVyID0gMDtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcblxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gICAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8T3JkZXJCZW5lZml0c0VudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,18 +0,0 @@
|
|
1
|
-
export class OrderCancellationEntity {
|
2
|
-
// #region Properties (3)
|
3
|
-
cancellationBy = '';
|
4
|
-
cancellationCode = '';
|
5
|
-
reason = '';
|
6
|
-
// #endregion Properties (3)
|
7
|
-
// #region Constructors (1)
|
8
|
-
constructor(data) {
|
9
|
-
if (data) {
|
10
|
-
for (let key in data) {
|
11
|
-
if (data.hasOwnProperty(key) && key in this) {
|
12
|
-
this[key] = data[key];
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItY2FuY2VsbGF0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9lbnRpdGllcy9vcmRlci1jYW5jZWxsYXRpb24uZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE1BQU0sT0FBTyx1QkFBdUI7SUFDaEMseUJBQXlCO0lBRWxCLGNBQWMsR0FBVyxFQUFFLENBQUM7SUFDNUIsZ0JBQWdCLEdBQVcsRUFBRSxDQUFDO0lBQzlCLE1BQU0sR0FBVyxFQUFFLENBQUM7SUFFM0IsNEJBQTRCO0lBRTVCLDJCQUEyQjtJQUUzQixZQUFZLElBQXVDO1FBQy9DLElBQUksSUFBSSxFQUFFO1lBQ04sS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ2xCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO29CQUN4QyxJQUFZLENBQUMsR0FBRyxDQUFDLEdBQUksSUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2lCQUMzQzthQUNKO1NBQ0o7SUFDTCxDQUFDO0NBR0oiLCJzb3VyY2VzQ29udGVudCI6WyJcbmV4cG9ydCBjbGFzcyBPcmRlckNhbmNlbGxhdGlvbkVudGl0eSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgzKVxuXG4gICAgcHVibGljIGNhbmNlbGxhdGlvbkJ5OiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgY2FuY2VsbGF0aW9uQ29kZTogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHJlYXNvbjogc3RyaW5nID0gJyc7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDMpXG5cbiAgICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE9yZGVyQ2FuY2VsbGF0aW9uRW50aXR5Pikge1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|