cecon-interfaces 1.0.17 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/entities/company.entity.d.ts +2 -1
- package/dist/company/interfaces/i-company.d.ts +2 -2
- package/dist/container/entities/container.entity.d.ts +6 -0
- package/dist/container/entities/container.entity.js +39 -0
- package/dist/container/entities/index.d.ts +1 -0
- package/dist/container/entities/index.js +5 -0
- package/dist/container/index.d.ts +2 -0
- package/dist/container/index.js +18 -0
- package/dist/container/interfaces/i-container.d.ts +4 -0
- package/dist/container/interfaces/index.d.ts +1 -0
- package/dist/device/entities/device.entity.d.ts +1 -0
- package/dist/device/entities/device.entity.js +2 -1
- package/dist/device/entities/metadata.entity.d.ts +1 -1
- package/dist/device/enums/device-mode.enum.d.ts +6 -6
- package/dist/device/enums/device-mode.enum.js +6 -6
- package/dist/device/interfaces/i-device.d.ts +2 -1
- package/dist/device/interfaces/index.d.ts +1 -1
- package/dist/esm2022/company/entities/company.entity.mjs +1 -1
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/container/entities/container.entity.mjs +18 -0
- package/dist/esm2022/container/entities/index.mjs +2 -0
- package/dist/esm2022/container/index.mjs +3 -0
- package/dist/esm2022/container/interfaces/i-container.mjs +2 -0
- package/dist/esm2022/container/interfaces/index.mjs +2 -0
- package/dist/esm2022/device/entities/device.entity.mjs +3 -2
- package/dist/esm2022/device/entities/metadata.entity.mjs +1 -1
- package/dist/esm2022/device/enums/device-mode.enum.mjs +7 -7
- package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/device/interfaces/i-metadata.mjs +2 -0
- package/dist/esm2022/device/interfaces/index.mjs +1 -1
- package/dist/esm2022/general/entities/base.entity.mjs +22 -0
- package/dist/esm2022/general/entities/index.mjs +2 -1
- package/dist/esm2022/general/entities/origin.entity.mjs +2 -2
- package/dist/esm2022/general/entities/payment-method.entity.mjs +4 -4
- package/dist/esm2022/general/enums/boolean-string.enum.mjs +6 -0
- package/dist/esm2022/general/enums/index.mjs +3 -1
- package/dist/esm2022/general/enums/interval-type.enum.mjs +7 -0
- package/dist/esm2022/general/enums/lead-origin.enum.mjs +8 -8
- package/dist/esm2022/general/enums/payment-channel.enum.mjs +9 -9
- package/dist/esm2022/general/enums/payment-mode.enum.mjs +4 -4
- package/dist/esm2022/general/enums/payment-type.enum.mjs +19 -19
- package/dist/esm2022/general/enums/person-type.enum.mjs +6 -0
- package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
- package/dist/esm2022/general/interfaces/i-base.mjs +3 -0
- package/dist/esm2022/general/interfaces/index.mjs +1 -1
- package/dist/esm2022/index.mjs +8 -1
- package/dist/esm2022/invite/entities/index.mjs +2 -0
- package/dist/esm2022/invite/entities/invite.entity.mjs +34 -0
- package/dist/esm2022/invite/enums/index.mjs +2 -0
- package/dist/esm2022/invite/enums/status.enum.mjs +9 -0
- package/dist/esm2022/invite/index.mjs +4 -0
- package/dist/esm2022/invite/interfaces/i-invite.mjs +2 -0
- package/dist/esm2022/invite/interfaces/index.mjs +2 -0
- package/dist/esm2022/iugu/entities/index.mjs +3 -0
- package/dist/esm2022/iugu/entities/payment-token-data.entity.mjs +24 -0
- package/dist/esm2022/iugu/entities/payment-token.entity.mjs +21 -0
- package/dist/esm2022/iugu/enums/index.mjs +3 -0
- package/dist/esm2022/iugu/enums/iugu-auto-advance.enum.mjs +8 -0
- package/dist/esm2022/iugu/enums/iugu-bank.enum.mjs +187 -0
- package/dist/esm2022/iugu/index.mjs +4 -0
- package/dist/esm2022/iugu/interfaces/i-account-configuration-bank-slip.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-configuration-creadit-card.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-configuration-pix.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-configuration.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-info-last-ver-req-data.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-informations.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account-marketplace-split.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-account.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-change-plan-simulation.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-config-early-payment-discounts.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-customer.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-payment-token-data.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-payment-token.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-plan-feature.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-plan-price.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-plan.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-custom-variable.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-feature.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-features.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-log.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-recent-invoice.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription-subitem.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/i-subscription.mjs +2 -0
- package/dist/esm2022/iugu/interfaces/index.mjs +2 -0
- package/dist/esm2022/member/entities/index.mjs +2 -0
- package/dist/esm2022/member/entities/member.entity.mjs +28 -0
- package/dist/esm2022/member/enums/index.mjs +2 -0
- package/dist/esm2022/member/enums/member-rules.enum.mjs +12 -0
- package/dist/esm2022/member/index.mjs +4 -0
- package/dist/esm2022/member/interfaces/i-member.mjs +2 -0
- package/dist/esm2022/member/interfaces/index.mjs +2 -0
- package/dist/esm2022/order/entities/additional-fees.entity.mjs +17 -0
- package/dist/esm2022/order/entities/{order-additional-fees.entity.mjs → benefits-sponsor-ship.entity.mjs} +3 -3
- package/dist/esm2022/order/entities/benefits.entity.mjs +21 -0
- package/dist/esm2022/order/entities/cancellation.entity.mjs +18 -0
- package/dist/esm2022/order/entities/customer-phone.entity.mjs +19 -0
- package/dist/esm2022/order/entities/customer.entity.mjs +23 -0
- package/dist/esm2022/order/entities/index.mjs +19 -19
- package/dist/esm2022/order/entities/item-composition.entity.mjs +21 -0
- package/dist/esm2022/order/entities/item-option.entity.mjs +30 -0
- package/dist/esm2022/order/entities/item.entity.mjs +36 -0
- package/dist/esm2022/order/entities/order.entity.mjs +5 -5
- package/dist/esm2022/order/entities/payment-card.entity.mjs +16 -0
- package/dist/esm2022/order/entities/payment-cash.entity.mjs +16 -0
- package/dist/esm2022/order/entities/payment-method.entity.mjs +27 -0
- package/dist/esm2022/order/entities/payment-pix.entity.mjs +17 -0
- package/dist/esm2022/order/entities/payment-wallet.entity.mjs +16 -0
- package/dist/esm2022/order/entities/payment.entity.mjs +18 -0
- package/dist/esm2022/order/entities/scale-item.entity.mjs +17 -0
- package/dist/esm2022/order/entities/scale-price.entity.mjs +17 -0
- package/dist/esm2022/order/entities/total.entity.mjs +20 -0
- package/dist/esm2022/order/interfaces/i-additional-fee.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-benefits-sponsor-ship.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-benefits.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-cancellation.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-customer-phone.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-customer.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-item-composition.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-item-option.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-item.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/order/interfaces/i-payment-card.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment-cash.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment-method.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment-pix.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment-wallet.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-payment.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-scale-item.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-scale-price.mjs +2 -0
- package/dist/esm2022/order/interfaces/i-total.mjs +2 -0
- package/dist/esm2022/order/interfaces/index.mjs +1 -1
- package/dist/esm2022/partners/entities/index.mjs +2 -0
- package/dist/esm2022/partners/entities/partner.entity.mjs +23 -0
- package/dist/esm2022/partners/index.mjs +3 -0
- package/dist/esm2022/partners/interfaces/i-partner.mjs +2 -0
- package/dist/esm2022/partners/interfaces/index.mjs +2 -0
- package/dist/esm2022/plan/entities/feature.entity.mjs +24 -0
- package/dist/esm2022/plan/entities/index.mjs +3 -0
- package/dist/esm2022/plan/entities/plan.entity.mjs +26 -0
- package/dist/esm2022/plan/enums/index.mjs +2 -0
- package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +6 -0
- package/dist/esm2022/plan/index.mjs +4 -0
- package/dist/esm2022/plan/interfaces/i-feature.mjs +2 -0
- package/dist/esm2022/plan/interfaces/i-plan.mjs +2 -0
- package/dist/esm2022/plan/interfaces/index.mjs +2 -0
- package/dist/esm2022/purchases/entities/purchase.entity.mjs +3 -3
- package/dist/esm2022/viacep/index.mjs +2 -0
- package/dist/esm2022/viacep/interfaces/i-via-cep.mjs +2 -0
- package/dist/esm2022/viacep/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +578 -132
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/base.entity.d.ts +9 -0
- package/dist/general/entities/base.entity.js +26 -0
- package/dist/general/entities/index.d.ts +1 -0
- package/dist/general/entities/index.js +3 -1
- package/dist/general/entities/origin.entity.js +1 -1
- package/dist/general/entities/payment-method.entity.js +3 -3
- package/dist/general/enums/boolean-string.enum.d.ts +4 -0
- package/dist/general/enums/boolean-string.enum.js +8 -0
- package/dist/general/enums/index.d.ts +2 -0
- package/dist/general/enums/index.js +5 -1
- package/dist/general/enums/interval-type.enum.d.ts +5 -0
- package/dist/general/enums/interval-type.enum.js +9 -0
- package/dist/general/enums/lead-origin.enum.d.ts +7 -7
- package/dist/general/enums/lead-origin.enum.js +7 -7
- package/dist/general/enums/payment-channel.enum.d.ts +8 -8
- package/dist/general/enums/payment-channel.enum.js +8 -8
- package/dist/general/enums/payment-mode.enum.d.ts +3 -3
- package/dist/general/enums/payment-mode.enum.js +3 -3
- package/dist/general/enums/payment-type.enum.d.ts +18 -18
- package/dist/general/enums/payment-type.enum.js +18 -18
- package/dist/general/enums/person-type.enum.d.ts +4 -0
- package/dist/general/enums/person-type.enum.js +8 -0
- package/dist/general/enums/providers.enum.d.ts +6 -6
- package/dist/general/enums/providers.enum.js +6 -6
- package/dist/general/interfaces/i-base.d.ts +8 -0
- package/dist/general/interfaces/i-base.js +3 -0
- package/dist/general/interfaces/index.d.ts +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/invite/entities/index.d.ts +1 -0
- package/dist/invite/entities/index.js +5 -0
- package/dist/invite/entities/invite.entity.d.ts +23 -0
- package/dist/invite/entities/invite.entity.js +38 -0
- package/dist/invite/enums/index.d.ts +1 -0
- package/dist/invite/enums/index.js +5 -0
- package/dist/invite/enums/status.enum.d.ts +7 -0
- package/dist/invite/enums/status.enum.js +11 -0
- package/dist/invite/index.d.ts +3 -0
- package/dist/invite/index.js +19 -0
- package/dist/invite/interfaces/i-invite.d.ts +21 -0
- package/dist/invite/interfaces/index.d.ts +1 -0
- package/dist/iugu/entities/index.d.ts +2 -0
- package/dist/iugu/entities/index.js +7 -0
- package/dist/iugu/entities/payment-token-data.entity.d.ts +12 -0
- package/dist/iugu/entities/payment-token-data.entity.js +28 -0
- package/dist/iugu/entities/payment-token.entity.d.ts +9 -0
- package/dist/iugu/entities/payment-token.entity.js +25 -0
- package/dist/iugu/enums/index.d.ts +2 -0
- package/dist/iugu/enums/index.js +7 -0
- package/dist/iugu/enums/iugu-auto-advance.enum.d.ts +6 -0
- package/dist/iugu/enums/iugu-auto-advance.enum.js +10 -0
- package/dist/iugu/enums/iugu-bank.enum.d.ts +68 -0
- package/dist/iugu/enums/iugu-bank.enum.js +189 -0
- package/dist/iugu/index.d.ts +3 -0
- package/dist/iugu/index.js +19 -0
- package/dist/iugu/interfaces/i-account-configuration-bank-slip.d.ts +5 -0
- package/dist/iugu/interfaces/i-account-configuration-creadit-card.d.ts +8 -0
- package/dist/iugu/interfaces/i-account-configuration-pix.d.ts +3 -0
- package/dist/iugu/interfaces/i-account-configuration.d.ts +21 -0
- package/dist/iugu/interfaces/i-account-info-last-ver-req-data.d.ts +23 -0
- package/dist/iugu/interfaces/i-account-informations.d.ts +4 -0
- package/dist/iugu/interfaces/i-account-marketplace-split.d.ts +42 -0
- package/dist/iugu/interfaces/i-account.d.ts +79 -0
- package/dist/iugu/interfaces/i-change-plan-simulation.d.ts +8 -0
- package/dist/iugu/interfaces/i-config-early-payment-discounts.d.ts +4 -0
- package/dist/iugu/interfaces/i-customer.d.ts +24 -0
- package/dist/iugu/interfaces/i-payment-token-data.d.ts +11 -0
- package/dist/iugu/interfaces/i-payment-token.d.ts +8 -0
- package/dist/iugu/interfaces/i-plan-feature.d.ts +10 -0
- package/dist/iugu/interfaces/i-plan-price.d.ts +7 -0
- package/dist/iugu/interfaces/i-plan-price.js +2 -0
- package/dist/iugu/interfaces/i-plan.d.ts +13 -0
- package/dist/iugu/interfaces/i-plan.js +2 -0
- package/dist/iugu/interfaces/i-subscription-custom-variable.d.ts +4 -0
- package/dist/iugu/interfaces/i-subscription-custom-variable.js +2 -0
- package/dist/iugu/interfaces/i-subscription-feature.d.ts +4 -0
- package/dist/iugu/interfaces/i-subscription-feature.js +2 -0
- package/dist/iugu/interfaces/i-subscription-features.d.ts +4 -0
- package/dist/iugu/interfaces/i-subscription-features.js +2 -0
- package/dist/iugu/interfaces/i-subscription-log.d.ts +6 -0
- package/dist/iugu/interfaces/i-subscription-log.js +2 -0
- package/dist/iugu/interfaces/i-subscription-recent-invoice.d.ts +7 -0
- package/dist/iugu/interfaces/i-subscription-recent-invoice.js +2 -0
- package/dist/iugu/interfaces/i-subscription-subitem.d.ts +8 -0
- package/dist/iugu/interfaces/i-subscription-subitem.js +2 -0
- package/dist/iugu/interfaces/i-subscription.d.ts +39 -0
- package/dist/iugu/interfaces/i-subscription.js +2 -0
- package/dist/iugu/interfaces/index.d.ts +23 -0
- package/dist/iugu/interfaces/index.js +2 -0
- package/dist/member/entities/index.d.ts +1 -0
- package/dist/member/entities/index.js +5 -0
- package/dist/member/entities/member.entity.d.ts +16 -0
- package/dist/member/entities/member.entity.js +49 -0
- package/dist/member/enums/index.d.ts +1 -0
- package/dist/member/enums/index.js +5 -0
- package/dist/member/enums/member-rules.enum.d.ts +10 -0
- package/dist/member/enums/member-rules.enum.js +14 -0
- package/dist/member/index.d.ts +3 -0
- package/dist/member/index.js +19 -0
- package/dist/member/interfaces/i-member.d.ts +12 -0
- package/dist/member/interfaces/i-member.js +2 -0
- package/dist/member/interfaces/index.d.ts +1 -0
- package/dist/member/interfaces/index.js +2 -0
- package/dist/order/entities/{order-benefits.entity.d.ts → benefits.entity.d.ts} +1 -1
- package/dist/order/entities/{order-customer-phone.entity.d.ts → customer-phone.entity.d.ts} +2 -1
- package/dist/order/entities/{order-customer.entity.d.ts → customer.entity.d.ts} +3 -2
- package/dist/order/entities/{order-customer.entity.js → customer.entity.js} +2 -2
- package/dist/order/entities/index.d.ts +18 -18
- package/dist/order/entities/index.js +37 -37
- package/dist/order/entities/{order-item-option.entity.d.ts → item-option.entity.d.ts} +2 -1
- package/dist/order/entities/{order-item.entity.d.ts → item.entity.d.ts} +5 -4
- package/dist/order/entities/{order-item.entity.js → item.entity.js} +2 -2
- package/dist/order/entities/order.entity.d.ts +9 -8
- package/dist/order/entities/order.entity.js +8 -8
- package/dist/order/entities/{order-payment-method.entity.d.ts → payment-method.entity.d.ts} +7 -6
- package/dist/order/entities/{order-payment-method.entity.js → payment-method.entity.js} +1 -1
- package/dist/order/entities/payment.entity.d.ts +8 -0
- package/dist/order/entities/{order-scale-price.entity.d.ts → scale-price.entity.d.ts} +1 -1
- package/dist/order/entities/{order-total.entity.d.ts → total.entity.d.ts} +2 -1
- package/dist/order/interfaces/i-additional-fee.js +2 -0
- package/dist/order/interfaces/i-benefits-sponsor-ship.js +2 -0
- package/dist/order/interfaces/{i-order-benefits.d.ts → i-benefits.d.ts} +1 -1
- package/dist/order/interfaces/i-benefits.js +2 -0
- package/dist/order/interfaces/i-cancellation.js +2 -0
- package/dist/order/interfaces/i-customer-phone.js +2 -0
- package/dist/order/interfaces/{i-order-customer.d.ts → i-customer.d.ts} +1 -1
- package/dist/order/interfaces/i-customer.js +2 -0
- package/dist/order/interfaces/i-item-composition.js +2 -0
- package/dist/order/interfaces/i-item-option.js +2 -0
- package/dist/order/interfaces/{i-order-item.d.ts → i-item.d.ts} +3 -3
- package/dist/order/interfaces/i-item.js +2 -0
- package/dist/order/interfaces/i-order.d.ts +9 -9
- package/dist/order/interfaces/i-payment-card.js +2 -0
- package/dist/order/interfaces/i-payment-cash.js +2 -0
- package/dist/order/interfaces/i-payment-method.d.ts +18 -0
- package/dist/order/interfaces/i-payment-method.js +2 -0
- package/dist/order/interfaces/i-payment-pix.js +2 -0
- package/dist/order/interfaces/i-payment-wallet.js +2 -0
- package/dist/order/interfaces/{i-order-payment.d.ts → i-payment.d.ts} +1 -1
- package/dist/order/interfaces/i-payment.js +2 -0
- package/dist/order/interfaces/i-scale-item.js +2 -0
- package/dist/order/interfaces/{i-order-scale-price.d.ts → i-scale-price.d.ts} +1 -1
- package/dist/order/interfaces/i-scale-price.js +2 -0
- package/dist/order/interfaces/i-total.js +2 -0
- package/dist/order/interfaces/index.d.ts +18 -18
- package/dist/package.json +1 -1
- package/dist/partners/entities/index.d.ts +1 -0
- package/dist/partners/entities/index.js +5 -0
- package/dist/partners/entities/partner.entity.d.ts +11 -0
- package/dist/partners/entities/partner.entity.js +44 -0
- package/dist/partners/index.d.ts +2 -0
- package/dist/partners/index.js +18 -0
- package/dist/partners/interfaces/i-partner.d.ts +9 -0
- package/dist/partners/interfaces/i-partner.js +2 -0
- package/dist/partners/interfaces/index.d.ts +1 -0
- package/dist/partners/interfaces/index.js +2 -0
- package/dist/plan/entities/feature.entity.d.ts +13 -0
- package/dist/plan/entities/feature.entity.js +28 -0
- package/dist/plan/entities/index.d.ts +2 -0
- package/dist/plan/entities/index.js +7 -0
- package/dist/plan/entities/plan.entity.d.ts +16 -0
- package/dist/plan/entities/plan.entity.js +30 -0
- package/dist/plan/enums/index.d.ts +1 -0
- package/dist/plan/enums/index.js +5 -0
- package/dist/plan/enums/plans-identifier.enum.d.ts +4 -0
- package/dist/plan/enums/plans-identifier.enum.js +8 -0
- package/dist/plan/index.d.ts +3 -0
- package/dist/plan/index.js +19 -0
- package/dist/plan/interfaces/i-feature.d.ts +11 -0
- package/dist/plan/interfaces/i-feature.js +2 -0
- package/dist/plan/interfaces/i-plan.d.ts +14 -0
- package/dist/plan/interfaces/i-plan.js +2 -0
- package/dist/plan/interfaces/index.d.ts +2 -0
- package/dist/plan/interfaces/index.js +2 -0
- package/dist/purchases/entities/purchase.entity.js +2 -2
- package/dist/viacep/index.d.ts +1 -0
- package/dist/viacep/index.js +17 -0
- package/dist/viacep/interfaces/i-via-cep.d.ts +12 -0
- package/dist/viacep/interfaces/i-via-cep.js +2 -0
- package/dist/viacep/interfaces/index.d.ts +1 -0
- package/dist/viacep/interfaces/index.js +2 -0
- package/package.json +1 -1
- package/dist/esm2022/device/interfaces/i-device-metadata.mjs +0 -2
- package/dist/esm2022/order/entities/order-benefits-sponsor-ship.entity.mjs +0 -17
- package/dist/esm2022/order/entities/order-benefits.entity.mjs +0 -21
- package/dist/esm2022/order/entities/order-cancellation.entity.mjs +0 -18
- package/dist/esm2022/order/entities/order-customer-phone.entity.mjs +0 -19
- package/dist/esm2022/order/entities/order-customer.entity.mjs +0 -23
- package/dist/esm2022/order/entities/order-item-composition.entity.mjs +0 -21
- package/dist/esm2022/order/entities/order-item-option.entity.mjs +0 -30
- package/dist/esm2022/order/entities/order-item.entity.mjs +0 -36
- package/dist/esm2022/order/entities/order-payment-card.entity.mjs +0 -16
- package/dist/esm2022/order/entities/order-payment-cash.entity.mjs +0 -16
- package/dist/esm2022/order/entities/order-payment-method.entity.mjs +0 -27
- package/dist/esm2022/order/entities/order-payment-pix.entity.mjs +0 -17
- package/dist/esm2022/order/entities/order-payment-wallet.entity.mjs +0 -16
- package/dist/esm2022/order/entities/order-payment.entity.mjs +0 -18
- package/dist/esm2022/order/entities/order-scale-item.entity.mjs +0 -17
- package/dist/esm2022/order/entities/order-scale-price.entity.mjs +0 -17
- package/dist/esm2022/order/entities/order-total.entity.mjs +0 -20
- package/dist/esm2022/order/interfaces/i-order-additional-fee.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-benefits-sponsor-ship.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-benefits.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-cancellation.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-customer-phone.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-customer.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-item-composition.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-item-option.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-item.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-card.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-cash.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-method.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-pix.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment-wallet.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-payment.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-scale-item.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-scale-price.mjs +0 -2
- package/dist/esm2022/order/interfaces/i-order-total.mjs +0 -2
- package/dist/order/entities/order-payment.entity.d.ts +0 -7
- package/dist/order/interfaces/i-order-payment-method.d.ts +0 -18
- /package/dist/{device/interfaces/i-device-metadata.js → container/interfaces/i-container.js} +0 -0
- /package/dist/{order/interfaces/i-order-additional-fee.js → container/interfaces/index.js} +0 -0
- /package/dist/device/interfaces/{i-device-metadata.d.ts → i-metadata.d.ts} +0 -0
- /package/dist/{order/interfaces/i-order-benefits-sponsor-ship.js → device/interfaces/i-metadata.js} +0 -0
- /package/dist/{order/interfaces/i-order-benefits.js → invite/interfaces/i-invite.js} +0 -0
- /package/dist/{order/interfaces/i-order-cancellation.js → invite/interfaces/index.js} +0 -0
- /package/dist/{order/interfaces/i-order-customer-phone.js → iugu/interfaces/i-account-configuration-bank-slip.js} +0 -0
- /package/dist/{order/interfaces/i-order-customer.js → iugu/interfaces/i-account-configuration-creadit-card.js} +0 -0
- /package/dist/{order/interfaces/i-order-item-composition.js → iugu/interfaces/i-account-configuration-pix.js} +0 -0
- /package/dist/{order/interfaces/i-order-item-option.js → iugu/interfaces/i-account-configuration.js} +0 -0
- /package/dist/{order/interfaces/i-order-item.js → iugu/interfaces/i-account-info-last-ver-req-data.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-card.js → iugu/interfaces/i-account-informations.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-cash.js → iugu/interfaces/i-account-marketplace-split.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-method.js → iugu/interfaces/i-account.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-pix.js → iugu/interfaces/i-change-plan-simulation.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment-wallet.js → iugu/interfaces/i-config-early-payment-discounts.js} +0 -0
- /package/dist/{order/interfaces/i-order-payment.js → iugu/interfaces/i-customer.js} +0 -0
- /package/dist/{order/interfaces/i-order-scale-item.js → iugu/interfaces/i-payment-token-data.js} +0 -0
- /package/dist/{order/interfaces/i-order-scale-price.js → iugu/interfaces/i-payment-token.js} +0 -0
- /package/dist/{order/interfaces/i-order-total.js → iugu/interfaces/i-plan-feature.js} +0 -0
- /package/dist/order/entities/{order-additional-fees.entity.d.ts → additional-fees.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-additional-fees.entity.js → additional-fees.entity.js} +0 -0
- /package/dist/order/entities/{order-benefits-sponsor-ship.entity.d.ts → benefits-sponsor-ship.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-benefits-sponsor-ship.entity.js → benefits-sponsor-ship.entity.js} +0 -0
- /package/dist/order/entities/{order-benefits.entity.js → benefits.entity.js} +0 -0
- /package/dist/order/entities/{order-cancellation.entity.d.ts → cancellation.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-cancellation.entity.js → cancellation.entity.js} +0 -0
- /package/dist/order/entities/{order-customer-phone.entity.js → customer-phone.entity.js} +0 -0
- /package/dist/order/entities/{order-item-composition.entity.d.ts → item-composition.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-item-composition.entity.js → item-composition.entity.js} +0 -0
- /package/dist/order/entities/{order-item-option.entity.js → item-option.entity.js} +0 -0
- /package/dist/order/entities/{order-payment-card.entity.d.ts → payment-card.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-payment-card.entity.js → payment-card.entity.js} +0 -0
- /package/dist/order/entities/{order-payment-cash.entity.d.ts → payment-cash.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-payment-cash.entity.js → payment-cash.entity.js} +0 -0
- /package/dist/order/entities/{order-payment-pix.entity.d.ts → payment-pix.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-payment-pix.entity.js → payment-pix.entity.js} +0 -0
- /package/dist/order/entities/{order-payment-wallet.entity.d.ts → payment-wallet.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-payment-wallet.entity.js → payment-wallet.entity.js} +0 -0
- /package/dist/order/entities/{order-payment.entity.js → payment.entity.js} +0 -0
- /package/dist/order/entities/{order-scale-item.entity.d.ts → scale-item.entity.d.ts} +0 -0
- /package/dist/order/entities/{order-scale-item.entity.js → scale-item.entity.js} +0 -0
- /package/dist/order/entities/{order-scale-price.entity.js → scale-price.entity.js} +0 -0
- /package/dist/order/entities/{order-total.entity.js → total.entity.js} +0 -0
- /package/dist/order/interfaces/{i-order-additional-fee.d.ts → i-additional-fee.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-benefits-sponsor-ship.d.ts → i-benefits-sponsor-ship.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-cancellation.d.ts → i-cancellation.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-customer-phone.d.ts → i-customer-phone.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-item-composition.d.ts → i-item-composition.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-item-option.d.ts → i-item-option.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-payment-card.d.ts → i-payment-card.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-payment-cash.d.ts → i-payment-cash.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-payment-pix.d.ts → i-payment-pix.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-payment-wallet.d.ts → i-payment-wallet.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-scale-item.d.ts → i-scale-item.d.ts} +0 -0
- /package/dist/order/interfaces/{i-order-total.d.ts → i-total.d.ts} +0 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
export { IIuguAccount } from './i-account';
|
2
|
+
export { IIuguAccountConfiguration } from './i-account-configuration';
|
3
|
+
export { IIuguAccountConfigurationBankSlip } from './i-account-configuration-bank-slip';
|
4
|
+
export { IIuguAccountConfigurationCreaditCard } from './i-account-configuration-creadit-card';
|
5
|
+
export { IIuguAccountConfigurationPix } from './i-account-configuration-pix';
|
6
|
+
export { IIuguAccountLastVerificationRequestData } from './i-account-info-last-ver-req-data';
|
7
|
+
export { IIuguInformations } from './i-account-informations';
|
8
|
+
export { IIuguMarketplaceSplit } from './i-account-marketplace-split';
|
9
|
+
export { IIuguChangePlanSimulation } from './i-change-plan-simulation';
|
10
|
+
export { IIuguConfigEarlyPaymentDiscount } from './i-config-early-payment-discounts';
|
11
|
+
export { IIuguCustomer } from './i-customer';
|
12
|
+
export { IIuguPaymentToken } from './i-payment-token';
|
13
|
+
export { IIuguPaymentTokenData } from './i-payment-token-data';
|
14
|
+
export { IIuguPlan } from './i-plan';
|
15
|
+
export { IIuguPlanFeature } from './i-plan-feature';
|
16
|
+
export { IIuguPlanPrice } from './i-plan-price';
|
17
|
+
export { IIuguSubscription } from './i-subscription';
|
18
|
+
export { IIuguSubscriptionCustomVariable } from './i-subscription-custom-variable';
|
19
|
+
export { IIuguSubscriptionFeature } from './i-subscription-feature';
|
20
|
+
export { IIuguSubscriptionFeatures } from './i-subscription-features';
|
21
|
+
export { IIuguSubscriptionLog } from './i-subscription-log';
|
22
|
+
export { IIuguSubscriptionRecentInvoice } from './i-subscription-recent-invoice';
|
23
|
+
export { IIuguSubscriptionSubitem } from './i-subscription-subitem';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { MemberEntity } from './member.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberEntity = void 0;
|
4
|
+
var member_entity_1 = require("./member.entity");
|
5
|
+
Object.defineProperty(exports, "MemberEntity", { enumerable: true, get: function () { return member_entity_1.MemberEntity; } });
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { BaseEntity } from '../../general';
|
2
|
+
import { MemberRulesEnum } from '../enums';
|
3
|
+
import { IMember } from '../interfaces';
|
4
|
+
export declare class MemberEntity extends BaseEntity implements IMember {
|
5
|
+
active: boolean;
|
6
|
+
companyName: string;
|
7
|
+
containerName: string;
|
8
|
+
email: string;
|
9
|
+
name: string;
|
10
|
+
phoneNumber: string;
|
11
|
+
photoURL: string;
|
12
|
+
rule: MemberRulesEnum;
|
13
|
+
tags: string[];
|
14
|
+
uid: string;
|
15
|
+
constructor(data?: Partial<MemberEntity>);
|
16
|
+
}
|
@@ -0,0 +1,49 @@
|
|
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.MemberEntity = void 0;
|
19
|
+
var general_1 = require("../../general");
|
20
|
+
var enums_1 = require("../enums");
|
21
|
+
var MemberEntity = /** @class */ (function (_super) {
|
22
|
+
__extends(MemberEntity, _super);
|
23
|
+
// #endregion Properties (10)
|
24
|
+
// #region Constructors (1)
|
25
|
+
function MemberEntity(data) {
|
26
|
+
var _this = _super.call(this, data) || this;
|
27
|
+
// #region Properties (10)
|
28
|
+
_this.active = true;
|
29
|
+
_this.companyName = '';
|
30
|
+
_this.containerName = '';
|
31
|
+
_this.email = '';
|
32
|
+
_this.name = '';
|
33
|
+
_this.phoneNumber = '';
|
34
|
+
_this.photoURL = '';
|
35
|
+
_this.rule = enums_1.MemberRulesEnum.User;
|
36
|
+
_this.tags = [];
|
37
|
+
_this.uid = '';
|
38
|
+
if (data) {
|
39
|
+
for (var key in data) {
|
40
|
+
if (data.hasOwnProperty(key) && key in _this) {
|
41
|
+
_this[key] = data[key];
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
return _this;
|
46
|
+
}
|
47
|
+
return MemberEntity;
|
48
|
+
}(general_1.BaseEntity));
|
49
|
+
exports.MemberEntity = MemberEntity;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { MemberRulesEnum } from './member-rules.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberRulesEnum = void 0;
|
4
|
+
var member_rules_enum_1 = require("./member-rules.enum");
|
5
|
+
Object.defineProperty(exports, "MemberRulesEnum", { enumerable: true, get: function () { return member_rules_enum_1.MemberRulesEnum; } });
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberRulesEnum = void 0;
|
4
|
+
var MemberRulesEnum;
|
5
|
+
(function (MemberRulesEnum) {
|
6
|
+
MemberRulesEnum["Admin"] = "ADMIN";
|
7
|
+
MemberRulesEnum["User"] = "USER";
|
8
|
+
MemberRulesEnum["Owner"] = "OWNER";
|
9
|
+
MemberRulesEnum["Support"] = "SUPPORT";
|
10
|
+
MemberRulesEnum["Partner"] = "PARTNER";
|
11
|
+
MemberRulesEnum["Finance"] = "FINANCE";
|
12
|
+
MemberRulesEnum["Marketing"] = "MARKETING";
|
13
|
+
MemberRulesEnum["Sales"] = "SALES";
|
14
|
+
})(MemberRulesEnum || (exports.MemberRulesEnum = MemberRulesEnum = {}));
|
@@ -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,12 @@
|
|
1
|
+
import { IBase } from '../../general';
|
2
|
+
import { MemberRulesEnum } from '../enums';
|
3
|
+
export interface IMember extends IBase {
|
4
|
+
companyName: string;
|
5
|
+
containerName: string;
|
6
|
+
email: string;
|
7
|
+
name: string;
|
8
|
+
phoneNumber: string;
|
9
|
+
photoURL: string;
|
10
|
+
rule: MemberRulesEnum;
|
11
|
+
uid: string;
|
12
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IMember } from './i-member';
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
|
1
|
+
import { IOrderCustomer } from '../interfaces';
|
2
|
+
import { OrdersCustomerPhoneEntity } from './customer-phone.entity';
|
3
|
+
export declare class OrderCustomerEntity implements IOrderCustomer {
|
3
4
|
documentNumber: string;
|
4
5
|
email: string;
|
5
6
|
id: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.OrderCustomerEntity = void 0;
|
4
|
-
var
|
4
|
+
var customer_phone_entity_1 = require("./customer-phone.entity");
|
5
5
|
var OrderCustomerEntity = /** @class */ (function () {
|
6
6
|
// #endregion Properties (7)
|
7
7
|
// #region Constructors (1)
|
@@ -12,7 +12,7 @@ var OrderCustomerEntity = /** @class */ (function () {
|
|
12
12
|
this.id = '';
|
13
13
|
this.name = '';
|
14
14
|
this.ordersCountOnMerchant = 0;
|
15
|
-
this.phone = new
|
15
|
+
this.phone = new customer_phone_entity_1.OrdersCustomerPhoneEntity();
|
16
16
|
this.picture = '';
|
17
17
|
if (data) {
|
18
18
|
for (var key in data) {
|
@@ -1,19 +1,19 @@
|
|
1
|
-
export { OrderAdditionalFeeEntity } from './
|
2
|
-
export { SponsorshipValuesEntity } from './
|
3
|
-
export { OrderBenefitsEntity } from './
|
4
|
-
export { OrderCancellationEntity } from './
|
5
|
-
export { OrdersCustomerPhoneEntity } from './
|
6
|
-
export { OrderCustomerEntity } from './
|
7
|
-
export { OrderItemCompositionEntity } from './
|
8
|
-
export { OrderItemOptionEntity } from './
|
9
|
-
export { OrderItemEntity } from './
|
10
|
-
export { OrderPaymentCardEntity } from './order-payment-card.entity';
|
11
|
-
export { OrderPaymentCashEntity } from './order-payment-cash.entity';
|
12
|
-
export { OrderPaymentMethodEntity } from './order-payment-method.entity';
|
13
|
-
export { OrderPaymentPixEntity } from './order-payment-pix.entity';
|
14
|
-
export { OrderPaymentWalletEntity } from './order-payment-wallet.entity';
|
15
|
-
export { OrderPaymentEntity } from './order-payment.entity';
|
16
|
-
export { OrderScaleItemEntity } from './order-scale-item.entity';
|
17
|
-
export { OrderScaleEntity } from './order-scale-price.entity';
|
18
|
-
export { OrderTotalEntity } from './order-total.entity';
|
1
|
+
export { OrderAdditionalFeeEntity } from './additional-fees.entity';
|
2
|
+
export { SponsorshipValuesEntity } from './benefits-sponsor-ship.entity';
|
3
|
+
export { OrderBenefitsEntity } from './benefits.entity';
|
4
|
+
export { OrderCancellationEntity } from './cancellation.entity';
|
5
|
+
export { OrdersCustomerPhoneEntity } from './customer-phone.entity';
|
6
|
+
export { OrderCustomerEntity } from './customer.entity';
|
7
|
+
export { OrderItemCompositionEntity } from './item-composition.entity';
|
8
|
+
export { OrderItemOptionEntity } from './item-option.entity';
|
9
|
+
export { OrderItemEntity } from './item.entity';
|
19
10
|
export { OrderEntity } from './order.entity';
|
11
|
+
export { OrderPaymentCardEntity } from './payment-card.entity';
|
12
|
+
export { OrderPaymentCashEntity } from './payment-cash.entity';
|
13
|
+
export { OrderPaymentMethodEntity } from './payment-method.entity';
|
14
|
+
export { OrderPaymentPixEntity } from './payment-pix.entity';
|
15
|
+
export { OrderPaymentWalletEntity } from './payment-wallet.entity';
|
16
|
+
export { OrderPaymentEntity } from './payment.entity';
|
17
|
+
export { OrderScaleItemEntity } from './scale-item.entity';
|
18
|
+
export { OrderScaleEntity } from './scale-price.entity';
|
19
|
+
export { OrderTotalEntity } from './total.entity';
|
@@ -1,41 +1,41 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
Object.defineProperty(exports, "OrderAdditionalFeeEntity", { enumerable: true, get: function () { return
|
6
|
-
var
|
7
|
-
Object.defineProperty(exports, "SponsorshipValuesEntity", { enumerable: true, get: function () { return
|
8
|
-
var
|
9
|
-
Object.defineProperty(exports, "OrderBenefitsEntity", { enumerable: true, get: function () { return
|
10
|
-
var
|
11
|
-
Object.defineProperty(exports, "OrderCancellationEntity", { enumerable: true, get: function () { return
|
12
|
-
var
|
13
|
-
Object.defineProperty(exports, "OrdersCustomerPhoneEntity", { enumerable: true, get: function () { return
|
14
|
-
var
|
15
|
-
Object.defineProperty(exports, "OrderCustomerEntity", { enumerable: true, get: function () { return
|
16
|
-
var
|
17
|
-
Object.defineProperty(exports, "OrderItemCompositionEntity", { enumerable: true, get: function () { return
|
18
|
-
var
|
19
|
-
Object.defineProperty(exports, "OrderItemOptionEntity", { enumerable: true, get: function () { return
|
20
|
-
var
|
21
|
-
Object.defineProperty(exports, "OrderItemEntity", { enumerable: true, get: function () { return
|
22
|
-
var order_payment_card_entity_1 = require("./order-payment-card.entity");
|
23
|
-
Object.defineProperty(exports, "OrderPaymentCardEntity", { enumerable: true, get: function () { return order_payment_card_entity_1.OrderPaymentCardEntity; } });
|
24
|
-
var order_payment_cash_entity_1 = require("./order-payment-cash.entity");
|
25
|
-
Object.defineProperty(exports, "OrderPaymentCashEntity", { enumerable: true, get: function () { return order_payment_cash_entity_1.OrderPaymentCashEntity; } });
|
26
|
-
var order_payment_method_entity_1 = require("./order-payment-method.entity");
|
27
|
-
Object.defineProperty(exports, "OrderPaymentMethodEntity", { enumerable: true, get: function () { return order_payment_method_entity_1.OrderPaymentMethodEntity; } });
|
28
|
-
var order_payment_pix_entity_1 = require("./order-payment-pix.entity");
|
29
|
-
Object.defineProperty(exports, "OrderPaymentPixEntity", { enumerable: true, get: function () { return order_payment_pix_entity_1.OrderPaymentPixEntity; } });
|
30
|
-
var order_payment_wallet_entity_1 = require("./order-payment-wallet.entity");
|
31
|
-
Object.defineProperty(exports, "OrderPaymentWalletEntity", { enumerable: true, get: function () { return order_payment_wallet_entity_1.OrderPaymentWalletEntity; } });
|
32
|
-
var order_payment_entity_1 = require("./order-payment.entity");
|
33
|
-
Object.defineProperty(exports, "OrderPaymentEntity", { enumerable: true, get: function () { return order_payment_entity_1.OrderPaymentEntity; } });
|
34
|
-
var order_scale_item_entity_1 = require("./order-scale-item.entity");
|
35
|
-
Object.defineProperty(exports, "OrderScaleItemEntity", { enumerable: true, get: function () { return order_scale_item_entity_1.OrderScaleItemEntity; } });
|
36
|
-
var order_scale_price_entity_1 = require("./order-scale-price.entity");
|
37
|
-
Object.defineProperty(exports, "OrderScaleEntity", { enumerable: true, get: function () { return order_scale_price_entity_1.OrderScaleEntity; } });
|
38
|
-
var order_total_entity_1 = require("./order-total.entity");
|
39
|
-
Object.defineProperty(exports, "OrderTotalEntity", { enumerable: true, get: function () { return order_total_entity_1.OrderTotalEntity; } });
|
3
|
+
exports.OrderTotalEntity = exports.OrderScaleEntity = exports.OrderScaleItemEntity = exports.OrderPaymentEntity = exports.OrderPaymentWalletEntity = exports.OrderPaymentPixEntity = exports.OrderPaymentMethodEntity = exports.OrderPaymentCashEntity = exports.OrderPaymentCardEntity = exports.OrderEntity = exports.OrderItemEntity = exports.OrderItemOptionEntity = exports.OrderItemCompositionEntity = exports.OrderCustomerEntity = exports.OrdersCustomerPhoneEntity = exports.OrderCancellationEntity = exports.OrderBenefitsEntity = exports.SponsorshipValuesEntity = exports.OrderAdditionalFeeEntity = void 0;
|
4
|
+
var additional_fees_entity_1 = require("./additional-fees.entity");
|
5
|
+
Object.defineProperty(exports, "OrderAdditionalFeeEntity", { enumerable: true, get: function () { return additional_fees_entity_1.OrderAdditionalFeeEntity; } });
|
6
|
+
var benefits_sponsor_ship_entity_1 = require("./benefits-sponsor-ship.entity");
|
7
|
+
Object.defineProperty(exports, "SponsorshipValuesEntity", { enumerable: true, get: function () { return benefits_sponsor_ship_entity_1.SponsorshipValuesEntity; } });
|
8
|
+
var benefits_entity_1 = require("./benefits.entity");
|
9
|
+
Object.defineProperty(exports, "OrderBenefitsEntity", { enumerable: true, get: function () { return benefits_entity_1.OrderBenefitsEntity; } });
|
10
|
+
var cancellation_entity_1 = require("./cancellation.entity");
|
11
|
+
Object.defineProperty(exports, "OrderCancellationEntity", { enumerable: true, get: function () { return cancellation_entity_1.OrderCancellationEntity; } });
|
12
|
+
var customer_phone_entity_1 = require("./customer-phone.entity");
|
13
|
+
Object.defineProperty(exports, "OrdersCustomerPhoneEntity", { enumerable: true, get: function () { return customer_phone_entity_1.OrdersCustomerPhoneEntity; } });
|
14
|
+
var customer_entity_1 = require("./customer.entity");
|
15
|
+
Object.defineProperty(exports, "OrderCustomerEntity", { enumerable: true, get: function () { return customer_entity_1.OrderCustomerEntity; } });
|
16
|
+
var item_composition_entity_1 = require("./item-composition.entity");
|
17
|
+
Object.defineProperty(exports, "OrderItemCompositionEntity", { enumerable: true, get: function () { return item_composition_entity_1.OrderItemCompositionEntity; } });
|
18
|
+
var item_option_entity_1 = require("./item-option.entity");
|
19
|
+
Object.defineProperty(exports, "OrderItemOptionEntity", { enumerable: true, get: function () { return item_option_entity_1.OrderItemOptionEntity; } });
|
20
|
+
var item_entity_1 = require("./item.entity");
|
21
|
+
Object.defineProperty(exports, "OrderItemEntity", { enumerable: true, get: function () { return item_entity_1.OrderItemEntity; } });
|
40
22
|
var order_entity_1 = require("./order.entity");
|
41
23
|
Object.defineProperty(exports, "OrderEntity", { enumerable: true, get: function () { return order_entity_1.OrderEntity; } });
|
24
|
+
var payment_card_entity_1 = require("./payment-card.entity");
|
25
|
+
Object.defineProperty(exports, "OrderPaymentCardEntity", { enumerable: true, get: function () { return payment_card_entity_1.OrderPaymentCardEntity; } });
|
26
|
+
var payment_cash_entity_1 = require("./payment-cash.entity");
|
27
|
+
Object.defineProperty(exports, "OrderPaymentCashEntity", { enumerable: true, get: function () { return payment_cash_entity_1.OrderPaymentCashEntity; } });
|
28
|
+
var payment_method_entity_1 = require("./payment-method.entity");
|
29
|
+
Object.defineProperty(exports, "OrderPaymentMethodEntity", { enumerable: true, get: function () { return payment_method_entity_1.OrderPaymentMethodEntity; } });
|
30
|
+
var payment_pix_entity_1 = require("./payment-pix.entity");
|
31
|
+
Object.defineProperty(exports, "OrderPaymentPixEntity", { enumerable: true, get: function () { return payment_pix_entity_1.OrderPaymentPixEntity; } });
|
32
|
+
var payment_wallet_entity_1 = require("./payment-wallet.entity");
|
33
|
+
Object.defineProperty(exports, "OrderPaymentWalletEntity", { enumerable: true, get: function () { return payment_wallet_entity_1.OrderPaymentWalletEntity; } });
|
34
|
+
var payment_entity_1 = require("./payment.entity");
|
35
|
+
Object.defineProperty(exports, "OrderPaymentEntity", { enumerable: true, get: function () { return payment_entity_1.OrderPaymentEntity; } });
|
36
|
+
var scale_item_entity_1 = require("./scale-item.entity");
|
37
|
+
Object.defineProperty(exports, "OrderScaleItemEntity", { enumerable: true, get: function () { return scale_item_entity_1.OrderScaleItemEntity; } });
|
38
|
+
var scale_price_entity_1 = require("./scale-price.entity");
|
39
|
+
Object.defineProperty(exports, "OrderScaleEntity", { enumerable: true, get: function () { return scale_price_entity_1.OrderScaleEntity; } });
|
40
|
+
var total_entity_1 = require("./total.entity");
|
41
|
+
Object.defineProperty(exports, "OrderTotalEntity", { enumerable: true, get: function () { return total_entity_1.OrderTotalEntity; } });
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
|
1
|
+
import { IOrderItem } from '../interfaces';
|
2
|
+
import { OrderItemCompositionEntity } from './item-composition.entity';
|
3
|
+
import { OrderItemOptionEntity } from './item-option.entity';
|
4
|
+
import { OrderScaleEntity } from './scale-price.entity';
|
5
|
+
export declare class OrderItemEntity implements IOrderItem {
|
5
6
|
composition: OrderItemCompositionEntity[];
|
6
7
|
ean: string;
|
7
8
|
externalCode: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.OrderItemEntity = void 0;
|
4
|
-
var
|
4
|
+
var scale_price_entity_1 = require("./scale-price.entity");
|
5
5
|
var OrderItemEntity = /** @class */ (function () {
|
6
6
|
// #endregion Properties (20)
|
7
7
|
// #region Constructors (1)
|
@@ -21,7 +21,7 @@ var OrderItemEntity = /** @class */ (function () {
|
|
21
21
|
this.price = 0;
|
22
22
|
this.productId = 0;
|
23
23
|
this.quantity = 0;
|
24
|
-
this.scalePrices = new
|
24
|
+
this.scalePrices = new scale_price_entity_1.OrderScaleEntity();
|
25
25
|
this.skill = '';
|
26
26
|
this.totalPrice = 0;
|
27
27
|
this.unit = '';
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import { OrderStatusEnum } from '../enums';
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
|
2
|
+
import { IOrder } from '../interfaces';
|
3
|
+
import { OrderAdditionalFeeEntity } from './additional-fees.entity';
|
4
|
+
import { OrderBenefitsEntity } from './benefits.entity';
|
5
|
+
import { OrderCancellationEntity } from './cancellation.entity';
|
6
|
+
import { OrderCustomerEntity } from './customer.entity';
|
7
|
+
import { OrderItemEntity } from './item.entity';
|
8
|
+
import { OrderPaymentEntity } from './payment.entity';
|
9
|
+
import { OrderTotalEntity } from './total.entity';
|
10
|
+
export declare class OrderEntity implements IOrder {
|
10
11
|
additionalFees: OrderAdditionalFeeEntity[];
|
11
12
|
benefits: OrderBenefitsEntity[];
|
12
13
|
cancellation: OrderCancellationEntity;
|
@@ -2,27 +2,27 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.OrderEntity = void 0;
|
4
4
|
var enums_1 = require("../enums");
|
5
|
-
var
|
6
|
-
var
|
7
|
-
var
|
8
|
-
var
|
5
|
+
var cancellation_entity_1 = require("./cancellation.entity");
|
6
|
+
var customer_entity_1 = require("./customer.entity");
|
7
|
+
var payment_entity_1 = require("./payment.entity");
|
8
|
+
var total_entity_1 = require("./total.entity");
|
9
9
|
var OrderEntity = /** @class */ (function () {
|
10
10
|
function OrderEntity(data) {
|
11
11
|
// #region Properties (16)
|
12
12
|
this.additionalFees = [];
|
13
13
|
this.benefits = [];
|
14
|
-
this.cancellation = new
|
14
|
+
this.cancellation = new cancellation_entity_1.OrderCancellationEntity();
|
15
15
|
this.companyId = '';
|
16
16
|
this.containerId = '';
|
17
17
|
this.createdAt = Date.now();
|
18
|
-
this.customer = new
|
18
|
+
this.customer = new customer_entity_1.OrderCustomerEntity();
|
19
19
|
this.id = '';
|
20
20
|
this.items = [];
|
21
|
-
this.payments = new
|
21
|
+
this.payments = new payment_entity_1.OrderPaymentEntity();
|
22
22
|
this.salesChannel = '';
|
23
23
|
this.sandbox = false;
|
24
24
|
this.status = enums_1.OrderStatusEnum.PENDING;
|
25
|
-
this.total = new
|
25
|
+
this.total = new total_entity_1.OrderTotalEntity();
|
26
26
|
this.updatedAt = Date.now();
|
27
27
|
this.version = '';
|
28
28
|
if (data) {
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import { PaymentTypeEnum } from '../../general';
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
|
2
|
+
import { IOrderPaymentMethod } from '../interfaces';
|
3
|
+
import { OrderPaymentCardEntity } from './payment-card.entity';
|
4
|
+
import { OrderPaymentCashEntity } from './payment-cash.entity';
|
5
|
+
import { OrderPaymentPixEntity } from './payment-pix.entity';
|
6
|
+
import { OrderPaymentWalletEntity } from './payment-wallet.entity';
|
7
|
+
export declare class OrderPaymentMethodEntity implements IOrderPaymentMethod {
|
7
8
|
card?: OrderPaymentCardEntity | null;
|
8
9
|
cash?: OrderPaymentCashEntity | null;
|
9
10
|
code: string;
|
10
|
-
currency:
|
11
|
+
currency: 'BRL';
|
11
12
|
id: string;
|
12
13
|
method: PaymentTypeEnum;
|
13
14
|
pix?: OrderPaymentPixEntity | null;
|
@@ -12,7 +12,7 @@ var OrderPaymentMethodEntity = /** @class */ (function () {
|
|
12
12
|
this.code = '';
|
13
13
|
this.currency = 'BRL';
|
14
14
|
this.id = '';
|
15
|
-
this.method = general_1.PaymentTypeEnum.
|
15
|
+
this.method = general_1.PaymentTypeEnum.Cash;
|
16
16
|
this.pix = null;
|
17
17
|
this.prepaid = false;
|
18
18
|
this.type = 'OFFLINE';
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { IOrderPayment } from '../interfaces';
|
2
|
+
import { OrderPaymentMethodEntity } from './payment-method.entity';
|
3
|
+
export declare class OrderPaymentEntity implements IOrderPayment {
|
4
|
+
methods: OrderPaymentMethodEntity[];
|
5
|
+
pending: number;
|
6
|
+
prepaid: number;
|
7
|
+
constructor(data?: Partial<OrderPaymentEntity>);
|
8
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { IOrderItemComposition } from './i-
|
2
|
-
import { IOrderItemOption } from './i-
|
3
|
-
import { IOrderScale } from './i-
|
1
|
+
import { IOrderItemComposition } from './i-item-composition';
|
2
|
+
import { IOrderItemOption } from './i-item-option';
|
3
|
+
import { IOrderScale } from './i-scale-price';
|
4
4
|
export interface IOrderItem {
|
5
5
|
composition: IOrderItemComposition[];
|
6
6
|
ean: string;
|