cecon-interfaces 1.2.63 → 1.2.65
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/customer/entities/customer.entity.d.ts +1 -0
- package/dist/customer/interfaces/i-customer.d.ts +1 -0
- package/dist/esm2022/customer/entities/customer.entity.mjs +4 -3
- package/dist/esm2022/customer/interfaces/i-customer.mjs +1 -1
- package/dist/esm2022/event-message/enums/event-message.enum.mjs +2 -1
- package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
- package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +2 -1
- package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +1 -1
- package/dist/esm2022/lead/entities/lead.entity.mjs +2 -1
- package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
- package/dist/esm2022/member/entities/member.entity.mjs +2 -1
- package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
- package/dist/event-message/enums/event-message.enum.d.ts +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +8 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/invoice/entities/invoice-payer.entity.d.ts +1 -0
- package/dist/invoice/interfaces/i-invoice-payer.d.ts +1 -0
- package/dist/lead/entities/lead.entity.d.ts +1 -0
- package/dist/lead/interfaces/i-lead.d.ts +1 -0
- package/dist/member/entities/member.entity.d.ts +1 -0
- package/dist/member/interfaces/i-member.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/app/entities/app.entity.js +0 -75
- package/dist/app/entities/desenfila-token.entity.js +0 -21
- package/dist/app/entities/desenfila.entity.js +0 -22
- package/dist/app/entities/index.js +0 -15
- package/dist/app/entities/nati-wa.entity.js +0 -34
- package/dist/app/entities/natigo.entity.js +0 -28
- package/dist/app/entities/rabbit.entity.js +0 -45
- package/dist/app/enums/app-category.enum.js +0 -34
- package/dist/app/enums/app-type.enum.js +0 -10
- package/dist/app/enums/header-type.enum.js +0 -8
- package/dist/app/enums/index.js +0 -11
- package/dist/app/enums/mode.enum.js +0 -28
- package/dist/app/index.js +0 -20
- package/dist/app/interfaces/i-app.js +0 -2
- package/dist/app/interfaces/i-desenfila-token.js +0 -2
- package/dist/app/interfaces/i-desenfila.js +0 -2
- package/dist/app/interfaces/i-nati-wa.js +0 -2
- package/dist/app/interfaces/i-natigo.js +0 -2
- package/dist/app/interfaces/i-rabbit.js +0 -2
- package/dist/app/interfaces/index.js +0 -2
- package/dist/app/types/app-config.type.js +0 -2
- package/dist/app/types/index.js +0 -2
- package/dist/billing/entities/billing-payment.entity.js +0 -33
- package/dist/billing/entities/billing-total.entity.js +0 -25
- package/dist/billing/entities/billing.entity.js +0 -30
- package/dist/billing/entities/index.js +0 -9
- package/dist/billing/enums/billing-status.enum.js +0 -12
- package/dist/billing/enums/index.js +0 -5
- package/dist/billing/index.js +0 -19
- package/dist/billing/interfaces/i-billing-payment.js +0 -2
- package/dist/billing/interfaces/i-billing-total.js +0 -2
- package/dist/billing/interfaces/i-billing.js +0 -2
- package/dist/billing/interfaces/index.js +0 -2
- package/dist/billing-order/entities/billing-order.entity.js +0 -39
- package/dist/billing-order/entities/index.js +0 -5
- package/dist/billing-order/index.js +0 -18
- package/dist/billing-order/interfaces/i-billing-order.js +0 -2
- package/dist/billing-order/interfaces/index.js +0 -2
- package/dist/bluesoft/index.js +0 -17
- package/dist/bluesoft/interfaces/i-bluesoft-brand.js +0 -2
- package/dist/bluesoft/interfaces/i-bluesoft-gtin-commercial-unit.js +0 -2
- package/dist/bluesoft/interfaces/i-bluesoft-gtin.js +0 -2
- package/dist/bluesoft/interfaces/i-bluesoft-ncm.js +0 -2
- package/dist/bluesoft/interfaces/i-bluesoft.js +0 -2
- package/dist/bluesoft/interfaces/index.js +0 -2
- package/dist/campaign/entities/campaign.entity.js +0 -30
- package/dist/campaign/entities/index.js +0 -5
- package/dist/campaign/enums/e-campaign-status.enum.js +0 -11
- package/dist/campaign/enums/index.js +0 -5
- package/dist/campaign/index.js +0 -19
- package/dist/campaign/interfaces/i-campaign.js +0 -2
- package/dist/campaign/interfaces/index.js +0 -2
- package/dist/clients/entities/client-aplication-credential.entity.js +0 -23
- package/dist/clients/entities/client-aplication.entity.js +0 -23
- package/dist/clients/entities/client.entity.js +0 -27
- package/dist/clients/entities/index.js +0 -9
- package/dist/clients/index.js +0 -18
- package/dist/clients/interfaces/i-client-aplication.js +0 -2
- package/dist/clients/interfaces/i-client-credential.js +0 -2
- package/dist/clients/interfaces/i-client.js +0 -2
- package/dist/clients/interfaces/index.js +0 -2
- package/dist/company/entities/company-used-plans.entity.js +0 -21
- package/dist/company/entities/company.entity.js +0 -50
- package/dist/company/entities/index.js +0 -8
- package/dist/company/enums/index.js +0 -8
- package/dist/company/enums/keys.enum.js +0 -11
- package/dist/company/enums/message-type.enum.js +0 -9
- package/dist/company/index.js +0 -19
- package/dist/company/interfaces/i-company-trial-useds.js +0 -2
- package/dist/company/interfaces/i-company.js +0 -2
- package/dist/company/interfaces/index.js +0 -2
- package/dist/container/entities/container.entity.js +0 -39
- package/dist/container/entities/index.js +0 -5
- package/dist/container/index.js +0 -18
- package/dist/container/interfaces/i-container.js +0 -2
- package/dist/container/interfaces/index.js +0 -2
- package/dist/customer/entities/customer.entity.js +0 -51
- package/dist/customer/entities/index.js +0 -5
- package/dist/customer/enums/index.js +0 -9
- package/dist/customer/enums/interval.enum.js +0 -9
- package/dist/customer/enums/status.enum.js +0 -9
- package/dist/customer/enums/type.enum.js +0 -8
- package/dist/customer/index.js +0 -19
- package/dist/customer/interfaces/i-customer.js +0 -2
- package/dist/customer/interfaces/index.js +0 -2
- package/dist/customer-member/entities/index.js +0 -5
- package/dist/customer-member/entities/member.entity.js +0 -39
- package/dist/customer-member/index.js +0 -18
- package/dist/customer-member/interfaces/i-member.js +0 -2
- package/dist/customer-member/interfaces/index.js +0 -2
- package/dist/device/entities/device.entity.js +0 -34
- package/dist/device/entities/index.js +0 -8
- package/dist/device/entities/metadata.entity.js +0 -21
- package/dist/device/index.js +0 -18
- package/dist/device/interfaces/i-device.js +0 -2
- package/dist/device/interfaces/i-metadata.js +0 -2
- package/dist/device/interfaces/index.js +0 -3
- package/dist/event-message/entities/event-message.entity.js +0 -30
- package/dist/event-message/entities/index.js +0 -5
- package/dist/event-message/enums/event-message.enum.js +0 -10
- package/dist/event-message/enums/index.js +0 -5
- package/dist/event-message/index.js +0 -19
- package/dist/event-message/interfaces/i-event-message.js +0 -2
- package/dist/event-message/interfaces/index.js +0 -2
- package/dist/evolution/entities/chatwoot.entity.js +0 -24
- package/dist/evolution/entities/evolution-database-queue.entity.js +0 -32
- package/dist/evolution/entities/evolution.entity.js +0 -26
- package/dist/evolution/entities/hash.entity.js +0 -20
- package/dist/evolution/entities/index.js +0 -34
- package/dist/evolution/entities/instance.entity.js +0 -29
- package/dist/evolution/entities/qrcode.entity.js +0 -23
- package/dist/evolution/entities/send-message/index.js +0 -7
- package/dist/evolution/entities/send-message/message-key.entity.js +0 -14
- package/dist/evolution/entities/send-message/message.entity.js +0 -15
- package/dist/evolution/entities/typebot.entity.js +0 -34
- package/dist/evolution/entities/webhook.entity.js +0 -33
- package/dist/evolution/enums/events.enum.js +0 -27
- package/dist/evolution/enums/index.js +0 -7
- package/dist/evolution/enums/instance-types.enum.js +0 -12
- package/dist/evolution/index.js +0 -19
- package/dist/evolution/interfaces/i-chatwoot.js +0 -2
- package/dist/evolution/interfaces/i-evolution-database-queue.js +0 -2
- package/dist/evolution/interfaces/i-evolution.js +0 -2
- package/dist/evolution/interfaces/i-hash.js +0 -2
- package/dist/evolution/interfaces/i-instance.js +0 -2
- package/dist/evolution/interfaces/i-qrcode.js +0 -2
- package/dist/evolution/interfaces/i-typebot.js +0 -2
- package/dist/evolution/interfaces/i-webhook.js +0 -2
- package/dist/evolution/interfaces/index.js +0 -17
- package/dist/evolution/interfaces/send-messages/i-message-key.js +0 -2
- package/dist/evolution/interfaces/send-messages/i-message.js +0 -2
- package/dist/evolution/interfaces/send-messages/index.js +0 -2
- package/dist/fcm-token-message/entities/fcm-data-received-desenfila-payment.entity.js +0 -26
- package/dist/fcm-token-message/entities/fcm-data-request-items.entity.js +0 -25
- package/dist/fcm-token-message/entities/index.js +0 -9
- package/dist/fcm-token-message/entities/token.entity.js +0 -29
- package/dist/fcm-token-message/enums/skill.enum.js +0 -12
- package/dist/fcm-token-message/index.js +0 -18
- package/dist/fcm-token-message/interfaces/i-fcm-data-received-desenfila-payment.js +0 -2
- package/dist/fcm-token-message/interfaces/i-fcm-data-request-items.js +0 -2
- package/dist/fcm-token-message/interfaces/i-fcm-notify.js +0 -2
- package/dist/fcm-token-message/interfaces/i-token.js +0 -2
- package/dist/fcm-token-message/interfaces/index.js +0 -2
- package/dist/feature/entities/feature.entity.js +0 -30
- package/dist/feature/entities/index.js +0 -5
- package/dist/feature/index.js +0 -18
- package/dist/feature/interfaces/i-feature.js +0 -2
- package/dist/feature/interfaces/index.js +0 -2
- package/dist/general/entities/address.entity.js +0 -28
- package/dist/general/entities/base.entity.js +0 -26
- package/dist/general/entities/carousel-image.entity.js +0 -22
- package/dist/general/entities/coords.entity.js +0 -21
- package/dist/general/entities/custom-variable.entity.js +0 -21
- package/dist/general/entities/delivery-area.entity.js +0 -27
- package/dist/general/entities/dellivery-area-fixed.entity.js +0 -24
- package/dist/general/entities/index.js +0 -49
- package/dist/general/entities/messager-channel.entity.js +0 -22
- package/dist/general/entities/mobyo-apiconfig.entity.js +0 -25
- package/dist/general/entities/origin.entity.js +0 -26
- package/dist/general/entities/payment-card.entity.js +0 -22
- package/dist/general/entities/payment-cash.entity.js +0 -20
- package/dist/general/entities/payment-method-option.entity.js +0 -35
- package/dist/general/entities/payment-method.entity.js +0 -31
- package/dist/general/entities/payment-pix.entity.js +0 -21
- package/dist/general/entities/payment-provider-agent.entity.js +0 -22
- package/dist/general/entities/payment-provider.entity.js +0 -33
- package/dist/general/entities/payment-token-data.entity.js +0 -26
- package/dist/general/entities/payment-token.entity.js +0 -25
- package/dist/general/entities/payment-wallet.entity.js +0 -20
- package/dist/general/entities/payment.entity.js +0 -29
- package/dist/general/entities/rating.entity.js +0 -23
- package/dist/general/entities/sponsorship-value.entity.js +0 -21
- package/dist/general/enums/bank-slip-status.enum.js +0 -11
- package/dist/general/enums/boolean-string.enum.js +0 -8
- package/dist/general/enums/doc-type.enum.js +0 -8
- package/dist/general/enums/e-discount-type.enum.js +0 -8
- package/dist/general/enums/fiscal-doc-model-code.enum.js +0 -15
- package/dist/general/enums/index.js +0 -39
- package/dist/general/enums/interval-type.enum.js +0 -9
- package/dist/general/enums/lead-origin.enum.js +0 -13
- package/dist/general/enums/os.enum.js +0 -14
- package/dist/general/enums/payment-channel.enum.js +0 -14
- package/dist/general/enums/payment-mode.enum.js +0 -9
- package/dist/general/enums/payment-status.enum.js +0 -16
- package/dist/general/enums/payment-type.enum.js +0 -26
- package/dist/general/enums/person-type.enum.js +0 -8
- package/dist/general/enums/platform.enum.js +0 -13
- package/dist/general/enums/providers.enum.js +0 -12
- package/dist/general/enums/pubsub.enum.js +0 -8
- package/dist/general/enums/sponsorship-values.enum.js +0 -10
- package/dist/general/index.js +0 -19
- package/dist/general/interfaces/i-address.js +0 -2
- package/dist/general/interfaces/i-base.js +0 -3
- package/dist/general/interfaces/i-carousel-image.js +0 -2
- package/dist/general/interfaces/i-coords.js +0 -2
- package/dist/general/interfaces/i-custom-variable.js +0 -3
- package/dist/general/interfaces/i-delivery-area-fixed.js +0 -2
- package/dist/general/interfaces/i-delivery-area.js +0 -2
- package/dist/general/interfaces/i-messager-channel.js +0 -2
- package/dist/general/interfaces/i-mobyo-api-config.js +0 -2
- package/dist/general/interfaces/i-origin.js +0 -2
- package/dist/general/interfaces/i-payment-card.js +0 -2
- package/dist/general/interfaces/i-payment-cash.js +0 -2
- package/dist/general/interfaces/i-payment-method-option.js +0 -2
- package/dist/general/interfaces/i-payment-method.js +0 -2
- package/dist/general/interfaces/i-payment-pix.js +0 -2
- package/dist/general/interfaces/i-payment-provider-agent.js +0 -2
- package/dist/general/interfaces/i-payment-provider.js +0 -2
- package/dist/general/interfaces/i-payment-token-data.js +0 -3
- package/dist/general/interfaces/i-payment-token.js +0 -3
- package/dist/general/interfaces/i-payment-wallet.js +0 -2
- package/dist/general/interfaces/i-payment.js +0 -2
- package/dist/general/interfaces/i-rating.js +0 -2
- package/dist/general/interfaces/i-sponsorship-value.js +0 -2
- package/dist/general/interfaces/index.js +0 -3
- package/dist/global-settings/entities/global-setting-iugu.entity.js +0 -74
- package/dist/global-settings/entities/global-setting-master.entity.js +0 -34
- package/dist/global-settings/entities/global-setting.entity.js +0 -22
- package/dist/global-settings/entities/index.js +0 -9
- package/dist/global-settings/index.js +0 -18
- package/dist/global-settings/interfaces/i-global-setting-iugu.js +0 -2
- package/dist/global-settings/interfaces/i-global-setting-master.js +0 -2
- package/dist/global-settings/interfaces/i-global-setting.js +0 -2
- package/dist/global-settings/interfaces/index.js +0 -2
- package/dist/index.js +0 -62
- package/dist/installation/entities/index.js +0 -7
- package/dist/installation/entities/installation-app.entity.js +0 -25
- package/dist/installation/entities/installation.entity.js +0 -35
- package/dist/installation/enums/index.js +0 -5
- package/dist/installation/enums/status.enum.js +0 -15
- package/dist/installation/index.js +0 -19
- package/dist/installation/interfaces/i-installation-app.js +0 -2
- package/dist/installation/interfaces/i-installation.js +0 -2
- package/dist/installation/interfaces/index.js +0 -2
- package/dist/invite/entities/index.js +0 -5
- package/dist/invite/entities/invite.entity.js +0 -39
- package/dist/invite/enums/index.js +0 -5
- package/dist/invite/enums/status.enum.js +0 -11
- package/dist/invite/index.js +0 -19
- package/dist/invite/interfaces/i-invite.js +0 -2
- package/dist/invite/interfaces/index.js +0 -2
- package/dist/invoice/entities/index.js +0 -17
- package/dist/invoice/entities/invoice-bank-slip.entity.js +0 -27
- package/dist/invoice/entities/invoice-credit-card.entity.js +0 -25
- package/dist/invoice/entities/invoice-item.entity.js +0 -28
- package/dist/invoice/entities/invoice-log.entity.js +0 -23
- package/dist/invoice/entities/invoice-payer.entity.js +0 -26
- package/dist/invoice/entities/invoice-pix.entity.js +0 -24
- package/dist/invoice/entities/invoice.entity.js +0 -65
- package/dist/invoice/enums/index.js +0 -5
- package/dist/invoice/enums/invoices-status.enum.js +0 -17
- package/dist/invoice/index.js +0 -19
- package/dist/invoice/interfaces/i-invoice-bank-slip.js +0 -2
- package/dist/invoice/interfaces/i-invoice-credit-card.js +0 -2
- package/dist/invoice/interfaces/i-invoice-item.js +0 -2
- package/dist/invoice/interfaces/i-invoice-log.js +0 -2
- package/dist/invoice/interfaces/i-invoice-payer.js +0 -2
- package/dist/invoice/interfaces/i-invoice-pix.js +0 -2
- package/dist/invoice/interfaces/i-invoice.js +0 -2
- package/dist/invoice/interfaces/index.js +0 -2
- package/dist/iugu/entities/account-informations.entity.js +0 -21
- package/dist/iugu/entities/account-last-verification-request-data.entity.js +0 -40
- package/dist/iugu/entities/charge-credit-card.entity.js +0 -30
- package/dist/iugu/entities/customer.entity.js +0 -40
- package/dist/iugu/entities/index.js +0 -21
- package/dist/iugu/entities/invoice-bankslip.entity.js +0 -26
- package/dist/iugu/entities/invoice.entity.js +0 -82
- package/dist/iugu/entities/iugu-account.entity.js +0 -75
- package/dist/iugu/entities/payment-token-data.entity.js +0 -28
- package/dist/iugu/entities/payment-token.entity.js +0 -25
- package/dist/iugu/enums/index.js +0 -9
- package/dist/iugu/enums/iugu-auto-advance.enum.js +0 -10
- package/dist/iugu/enums/iugu-bank.enum.js +0 -222
- package/dist/iugu/enums/iugu-status-invoice.enum.js +0 -17
- package/dist/iugu/index.js +0 -20
- package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +0 -2
- package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +0 -2
- package/dist/iugu/interfaces/i-account-configuration-pix.js +0 -2
- package/dist/iugu/interfaces/i-account-configuration.js +0 -2
- package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +0 -2
- package/dist/iugu/interfaces/i-account-informations.js +0 -2
- package/dist/iugu/interfaces/i-account-marketplace-split.js +0 -2
- package/dist/iugu/interfaces/i-account.js +0 -2
- package/dist/iugu/interfaces/i-change-plan-simulation.js +0 -2
- package/dist/iugu/interfaces/i-charge-credit-card.js +0 -2
- package/dist/iugu/interfaces/i-config-early-payment-discounts.js +0 -2
- package/dist/iugu/interfaces/i-customer.js +0 -2
- package/dist/iugu/interfaces/i-invoice-bankslip.js +0 -2
- package/dist/iugu/interfaces/i-invoice.js +0 -2
- package/dist/iugu/interfaces/i-payment-token-data.js +0 -2
- package/dist/iugu/interfaces/i-payment-token.js +0 -2
- package/dist/iugu/interfaces/i-plan-feature.js +0 -2
- package/dist/iugu/interfaces/i-plan-price.js +0 -2
- package/dist/iugu/interfaces/i-plan.js +0 -2
- package/dist/iugu/interfaces/i-subscription-custom-variable.js +0 -2
- package/dist/iugu/interfaces/i-subscription-feature.js +0 -2
- package/dist/iugu/interfaces/i-subscription-features.js +0 -2
- package/dist/iugu/interfaces/i-subscription-log.js +0 -2
- package/dist/iugu/interfaces/i-subscription-recent-invoice.js +0 -2
- package/dist/iugu/interfaces/i-subscription-subitem.js +0 -2
- package/dist/iugu/interfaces/i-subscription.js +0 -2
- package/dist/iugu/interfaces/index.js +0 -2
- package/dist/iugu/responses/i-marketplace-list.js +0 -2
- package/dist/iugu/responses/i-marketplace-token.js +0 -2
- package/dist/iugu/responses/i-marketplace-tokens.js +0 -2
- package/dist/iugu/responses/index.js +0 -2
- package/dist/lead/entities/index.js +0 -5
- package/dist/lead/entities/lead.entity.js +0 -57
- package/dist/lead/enums/index.js +0 -5
- package/dist/lead/enums/lead-status.enum.js +0 -18
- package/dist/lead/index.js +0 -19
- package/dist/lead/interfaces/i-lead.js +0 -2
- package/dist/lead/interfaces/index.js +0 -2
- package/dist/member/entities/index.js +0 -5
- package/dist/member/entities/member.entity.js +0 -53
- package/dist/member/enums/index.js +0 -7
- package/dist/member/enums/member-rules.enum.js +0 -14
- package/dist/member/enums/member-type.enum.js +0 -10
- package/dist/member/index.js +0 -19
- package/dist/member/interfaces/i-member.js +0 -2
- package/dist/member/interfaces/index.js +0 -2
- package/dist/mobyo/customer/index.js +0 -17
- package/dist/mobyo/customer/interfaces/i-customer.js +0 -2
- package/dist/mobyo/customer/interfaces/index.js +0 -2
- package/dist/mobyo/deliverer/index.js +0 -17
- package/dist/mobyo/deliverer/interfaces/i-deliverer-mobyo.js +0 -2
- package/dist/mobyo/deliverer/interfaces/index.js +0 -2
- package/dist/mobyo/index.js +0 -18
- package/dist/mottu/entities/address.entity.js +0 -26
- package/dist/mottu/entities/event-delivery-man.entity.js +0 -21
- package/dist/mottu/entities/event-requested-by.entity.js +0 -21
- package/dist/mottu/entities/event.entity.js +0 -28
- package/dist/mottu/entities/index.js +0 -27
- package/dist/mottu/entities/order-deliverer.entity.js +0 -34
- package/dist/mottu/entities/order-deliverery-man.entity.js +0 -28
- package/dist/mottu/entities/order-preview.entity.js +0 -31
- package/dist/mottu/entities/order-store.entity.js +0 -20
- package/dist/mottu/entities/order.entity.js +0 -36
- package/dist/mottu/entities/store-matrix.entity.js +0 -20
- package/dist/mottu/entities/store-responsible.entity.js +0 -21
- package/dist/mottu/entities/store.entity.js +0 -31
- package/dist/mottu/index.js +0 -18
- package/dist/mottu/interfaces/i-address.js +0 -2
- package/dist/mottu/interfaces/i-event-delivery-man.js +0 -2
- package/dist/mottu/interfaces/i-event-requested-by.js +0 -2
- package/dist/mottu/interfaces/i-event.js +0 -2
- package/dist/mottu/interfaces/i-order-deliverer.js +0 -2
- package/dist/mottu/interfaces/i-order-delivery-man.js +0 -2
- package/dist/mottu/interfaces/i-order-preview.js +0 -2
- package/dist/mottu/interfaces/i-order-store.js +0 -2
- package/dist/mottu/interfaces/i-order.js +0 -2
- package/dist/mottu/interfaces/i-store-matrix.js +0 -2
- package/dist/mottu/interfaces/i-store-responsible.js +0 -2
- package/dist/mottu/interfaces/i-store.js +0 -2
- package/dist/mottu/interfaces/index.js +0 -2
- package/dist/nati-v1/entities/cart-desenfila.entity.js +0 -21
- package/dist/nati-v1/entities/cart-item.entity.js +0 -42
- package/dist/nati-v1/entities/cart.entity.js +0 -40
- package/dist/nati-v1/entities/index.js +0 -9
- package/dist/nati-v1/index.js +0 -18
- package/dist/nati-v1/interfaces/i-cart-desenfila.js +0 -2
- package/dist/nati-v1/interfaces/i-cart-item.js +0 -2
- package/dist/nati-v1/interfaces/i-cart.js +0 -2
- package/dist/nati-v1/interfaces/index.js +0 -2
- package/dist/notification/entities/index.js +0 -7
- package/dist/notification/entities/notification-action.entity.js +0 -24
- package/dist/notification/entities/notification.entity.js +0 -34
- package/dist/notification/enums/action-type.enum.js +0 -9
- package/dist/notification/enums/category.enum.js +0 -17
- package/dist/notification/enums/index.js +0 -11
- package/dist/notification/enums/priority.enum.js +0 -10
- package/dist/notification/enums/status.enum.js +0 -11
- package/dist/notification/index.js +0 -19
- package/dist/notification/interfaces/i-notification-action.js +0 -2
- package/dist/notification/interfaces/i-notification.js +0 -2
- package/dist/notification/interfaces/index.js +0 -2
- package/dist/order/entities/additional-fees.entity.js +0 -21
- package/dist/order/entities/benefits.entity.js +0 -25
- package/dist/order/entities/cancellation.entity.js +0 -22
- package/dist/order/entities/customer-phone.entity.js +0 -23
- package/dist/order/entities/customer.entity.js +0 -27
- package/dist/order/entities/delivery.entity.js +0 -19
- package/dist/order/entities/index.js +0 -43
- package/dist/order/entities/item-composition.entity.js +0 -25
- package/dist/order/entities/item-option.entity.js +0 -34
- package/dist/order/entities/item.entity.js +0 -40
- package/dist/order/entities/merchant.entity.js +0 -24
- package/dist/order/entities/order.entity.js +0 -46
- package/dist/order/entities/payment-card.entity.js +0 -20
- package/dist/order/entities/payment-cash.entity.js +0 -20
- package/dist/order/entities/payment-method.entity.js +0 -31
- package/dist/order/entities/payment-pix.entity.js +0 -21
- package/dist/order/entities/payment-wallet.entity.js +0 -20
- package/dist/order/entities/payment.entity.js +0 -22
- package/dist/order/entities/scale-item.entity.js +0 -21
- package/dist/order/entities/scale-price.entity.js +0 -21
- package/dist/order/entities/total.entity.js +0 -24
- package/dist/order/enums/delivery-mode.enum.js +0 -9
- package/dist/order/enums/index.js +0 -12
- package/dist/order/enums/order-status.enum.js +0 -42
- package/dist/order/enums/order-timing.enum.js +0 -8
- package/dist/order/enums/order-type.enum.js +0 -9
- package/dist/order/index.js +0 -19
- package/dist/order/interfaces/i-additional-fee.js +0 -2
- package/dist/order/interfaces/i-benefits.js +0 -2
- package/dist/order/interfaces/i-cancellation.js +0 -2
- package/dist/order/interfaces/i-customer-phone.js +0 -2
- package/dist/order/interfaces/i-customer.js +0 -2
- package/dist/order/interfaces/i-delivery.js +0 -2
- package/dist/order/interfaces/i-item-composition.js +0 -2
- package/dist/order/interfaces/i-item-option.js +0 -2
- package/dist/order/interfaces/i-item.js +0 -2
- package/dist/order/interfaces/i-merchant.js +0 -2
- package/dist/order/interfaces/i-order.js +0 -2
- package/dist/order/interfaces/i-payment-card.js +0 -2
- package/dist/order/interfaces/i-payment-cash.js +0 -2
- package/dist/order/interfaces/i-payment-method.js +0 -2
- package/dist/order/interfaces/i-payment-pix.js +0 -2
- package/dist/order/interfaces/i-payment-wallet.js +0 -2
- package/dist/order/interfaces/i-payment.js +0 -2
- package/dist/order/interfaces/i-scale-item.js +0 -2
- package/dist/order/interfaces/i-scale-price.js +0 -2
- package/dist/order/interfaces/i-total.js +0 -2
- package/dist/order/interfaces/index.js +0 -2
- package/dist/partner/entities/index.js +0 -5
- package/dist/partner/entities/partner.entity.js +0 -39
- package/dist/partner/index.js +0 -18
- package/dist/partner/interfaces/i-partner.js +0 -2
- package/dist/partner/interfaces/index.js +0 -2
- package/dist/plan/entities/feature.entity.js +0 -30
- package/dist/plan/entities/index.js +0 -7
- package/dist/plan/entities/plan.entity.js +0 -33
- package/dist/plan/enums/index.js +0 -7
- package/dist/plan/enums/plans-feature-type.enum.js +0 -8
- package/dist/plan/enums/plans-identifier.enum.js +0 -10
- package/dist/plan/index.js +0 -19
- package/dist/plan/interfaces/i-feature.js +0 -2
- package/dist/plan/interfaces/i-plan.js +0 -2
- package/dist/plan/interfaces/index.js +0 -2
- package/dist/product-company/entities/index.js +0 -5
- package/dist/product-company/entities/product.entity.js +0 -39
- package/dist/product-company/index.js +0 -18
- package/dist/product-company/interfaces/i-product.js +0 -2
- package/dist/product-company/interfaces/index.js +0 -2
- package/dist/product-container/entities/index.js +0 -5
- package/dist/product-container/entities/product.entity.js +0 -42
- package/dist/product-container/index.js +0 -18
- package/dist/product-container/interfaces/i-product.js +0 -2
- package/dist/product-container/interfaces/index.js +0 -2
- package/dist/product-global/entities/index.js +0 -9
- package/dist/product-global/entities/product-brand.entity.js +0 -21
- package/dist/product-global/entities/product-ncm.entity.js +0 -23
- package/dist/product-global/entities/product.entity.js +0 -90
- package/dist/product-global/enums/gtin-type.enum.js +0 -11
- package/dist/product-global/enums/index.js +0 -5
- package/dist/product-global/index.js +0 -19
- package/dist/product-global/interfaces/i-brand.js +0 -2
- package/dist/product-global/interfaces/i-ncm.js +0 -2
- package/dist/product-global/interfaces/i-product.js +0 -2
- package/dist/product-global/interfaces/index.js +0 -2
- package/dist/pubsub/entities/index.js +0 -5
- package/dist/pubsub/entities/subscription-change-status.entity.js +0 -23
- package/dist/pubsub/enums/index.js +0 -5
- package/dist/pubsub/enums/topics-type.enum.js +0 -8
- package/dist/pubsub/index.js +0 -19
- package/dist/pubsub/interfaces/i-subscription-change-status.js +0 -2
- package/dist/pubsub/interfaces/index.js +0 -2
- package/dist/purchases/entities/app-info.entity.js +0 -22
- package/dist/purchases/entities/index.js +0 -7
- package/dist/purchases/entities/purchase.entity.js +0 -44
- package/dist/purchases/index.js +0 -18
- package/dist/purchases/interfaces/i-app-info.js +0 -2
- package/dist/purchases/interfaces/i-purchase.js +0 -2
- package/dist/purchases/interfaces/index.js +0 -2
- package/dist/requested-items/entities/index.js +0 -7
- package/dist/requested-items/entities/requested-items-data.entity.js +0 -24
- package/dist/requested-items/entities/requested-items.entity.js +0 -29
- package/dist/requested-items/index.js +0 -18
- package/dist/requested-items/interfaces/i-requested-items-data.js +0 -2
- package/dist/requested-items/interfaces/i-requested-items.js +0 -2
- package/dist/requested-items/interfaces/index.js +0 -2
- package/dist/resume/entities/index.js +0 -17
- package/dist/resume/entities/resume-collection.entity.js +0 -21
- package/dist/resume/entities/resume-day.entity.js +0 -25
- package/dist/resume/entities/resume-hour.entity.js +0 -23
- package/dist/resume/entities/resume-month.entity.js +0 -25
- package/dist/resume/entities/resume-total.entity.js +0 -24
- package/dist/resume/entities/resume-year.entity.js +0 -24
- package/dist/resume/entities/resume.entity.js +0 -22
- package/dist/resume/index.js +0 -18
- package/dist/resume/interfaces/i-resume-collection-status.js +0 -2
- package/dist/resume/interfaces/i-resume-collection.js +0 -2
- package/dist/resume/interfaces/i-resume-day.js +0 -2
- package/dist/resume/interfaces/i-resume-hour.js +0 -2
- package/dist/resume/interfaces/i-resume-month.js +0 -2
- package/dist/resume/interfaces/i-resume-total.js +0 -2
- package/dist/resume/interfaces/i-resume-year.js +0 -2
- package/dist/resume/interfaces/i-resume.js +0 -2
- package/dist/resume/interfaces/index.js +0 -2
- package/dist/subscription-base/entities/index.js +0 -9
- package/dist/subscription-base/entities/subscription-base-item.entity.js +0 -25
- package/dist/subscription-base/entities/subscription-base-log.entity.js +0 -23
- package/dist/subscription-base/entities/subscription-base.entity.js +0 -44
- package/dist/subscription-base/enums/index.js +0 -5
- package/dist/subscription-base/enums/subscription-status.enum.js +0 -14
- package/dist/subscription-base/index.js +0 -19
- package/dist/subscription-base/interfaces/i-subscription-base-item.js +0 -2
- package/dist/subscription-base/interfaces/i-subscription-base-log.js +0 -2
- package/dist/subscription-base/interfaces/i-subscription-base.js +0 -2
- package/dist/subscription-base/interfaces/index.js +0 -2
- package/dist/subscription-company/entities/index.js +0 -7
- package/dist/subscription-company/entities/subscription-profile.entity.js +0 -25
- package/dist/subscription-company/entities/subscription.entity.js +0 -44
- package/dist/subscription-company/index.js +0 -18
- package/dist/subscription-company/interfaces/i-subscription-profile.js +0 -2
- package/dist/subscription-company/interfaces/i-subscription.js +0 -2
- package/dist/subscription-company/interfaces/index.js +0 -2
- package/dist/subscription-customer/entities/index.js +0 -7
- package/dist/subscription-customer/entities/subscription-customer.entity.js +0 -28
- package/dist/subscription-customer/entities/subscription.entity.js +0 -48
- package/dist/subscription-customer/index.js +0 -18
- package/dist/subscription-customer/interfaces/i-subscription-customer.js +0 -2
- package/dist/subscription-customer/interfaces/i-subscription.js +0 -2
- package/dist/subscription-customer/interfaces/index.js +0 -2
- package/dist/token/entities/index.js +0 -5
- package/dist/token/entities/token.entity.js +0 -33
- package/dist/token/index.js +0 -18
- package/dist/token/interfaces/i-token.js +0 -2
- package/dist/token/interfaces/index.js +0 -2
- package/dist/token-jwt/index.js +0 -17
- package/dist/token-jwt/interfaces/i-token-jwt.js +0 -2
- package/dist/token-jwt/interfaces/index.js +0 -2
- package/dist/verifier-token/entities/index.js +0 -5
- package/dist/verifier-token/entities/verifier-token.entity.js +0 -28
- package/dist/verifier-token/index.js +0 -18
- package/dist/verifier-token/interfaces/i-verifier-token.js +0 -2
- package/dist/verifier-token/interfaces/index.js +0 -2
- package/dist/viacep/index.js +0 -17
- package/dist/viacep/interfaces/i-via-cep.js +0 -2
- package/dist/viacep/interfaces/index.js +0 -2
- package/dist/voucher/entities/index.js +0 -5
- package/dist/voucher/entities/voucher.entity.js +0 -59
- package/dist/voucher/enums/e-voucher-status.enum.js +0 -11
- package/dist/voucher/enums/index.js +0 -5
- package/dist/voucher/index.js +0 -19
- package/dist/voucher/interfaces/i-voucher.js +0 -2
- package/dist/voucher/interfaces/index.js +0 -2
- package/dist/wa-server/entities/index.js +0 -5
- package/dist/wa-server/entities/wa-server.entity.js +0 -32
- package/dist/wa-server/enums/index.js +0 -5
- package/dist/wa-server/enums/status.enum.js +0 -9
- package/dist/wa-server/index.js +0 -19
- package/dist/wa-server/interfaces/i-wa-server.js +0 -2
- package/dist/wa-server/interfaces/index.js +0 -2
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResumeEntity = exports.ResumeYearEntity = exports.ResumeTotalEntity = exports.ResumeMonthEntity = exports.ResumeHourEntity = exports.ResumeDayEntity = exports.ResumeCollectionEntity = void 0;
|
4
|
-
var resume_collection_entity_1 = require("./resume-collection.entity");
|
5
|
-
Object.defineProperty(exports, "ResumeCollectionEntity", { enumerable: true, get: function () { return resume_collection_entity_1.ResumeCollectionEntity; } });
|
6
|
-
var resume_day_entity_1 = require("./resume-day.entity");
|
7
|
-
Object.defineProperty(exports, "ResumeDayEntity", { enumerable: true, get: function () { return resume_day_entity_1.ResumeDayEntity; } });
|
8
|
-
var resume_hour_entity_1 = require("./resume-hour.entity");
|
9
|
-
Object.defineProperty(exports, "ResumeHourEntity", { enumerable: true, get: function () { return resume_hour_entity_1.ResumeHourEntity; } });
|
10
|
-
var resume_month_entity_1 = require("./resume-month.entity");
|
11
|
-
Object.defineProperty(exports, "ResumeMonthEntity", { enumerable: true, get: function () { return resume_month_entity_1.ResumeMonthEntity; } });
|
12
|
-
var resume_total_entity_1 = require("./resume-total.entity");
|
13
|
-
Object.defineProperty(exports, "ResumeTotalEntity", { enumerable: true, get: function () { return resume_total_entity_1.ResumeTotalEntity; } });
|
14
|
-
var resume_year_entity_1 = require("./resume-year.entity");
|
15
|
-
Object.defineProperty(exports, "ResumeYearEntity", { enumerable: true, get: function () { return resume_year_entity_1.ResumeYearEntity; } });
|
16
|
-
var resume_entity_1 = require("./resume.entity");
|
17
|
-
Object.defineProperty(exports, "ResumeEntity", { enumerable: true, get: function () { return resume_entity_1.ResumeEntity; } });
|
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResumeCollectionEntity = void 0;
|
4
|
-
var ResumeCollectionEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (2)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function ResumeCollectionEntity(data) {
|
8
|
-
// #region Properties (2)
|
9
|
-
this.collectionName = '';
|
10
|
-
this.status = [];
|
11
|
-
if (data) {
|
12
|
-
for (var key in data) {
|
13
|
-
if (data.hasOwnProperty(key) && key in this) {
|
14
|
-
this[key] = data[key];
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
return ResumeCollectionEntity;
|
20
|
-
}());
|
21
|
-
exports.ResumeCollectionEntity = ResumeCollectionEntity;
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResumeDayEntity = void 0;
|
4
|
-
var ResumeDayEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (5)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function ResumeDayEntity(data) {
|
8
|
-
// #region Properties (5)
|
9
|
-
this.average = 0;
|
10
|
-
this.count = 0;
|
11
|
-
this.day = new Date().getUTCDate();
|
12
|
-
this.dayName = new Date().toLocaleString('pt-BR', { weekday: 'long' });
|
13
|
-
this.months = [];
|
14
|
-
this.total = 0;
|
15
|
-
if (data) {
|
16
|
-
for (var key in data) {
|
17
|
-
if (data.hasOwnProperty(key) && key in this) {
|
18
|
-
this[key] = data[key];
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
return ResumeDayEntity;
|
24
|
-
}());
|
25
|
-
exports.ResumeDayEntity = ResumeDayEntity;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResumeHourEntity = void 0;
|
4
|
-
var ResumeHourEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (4)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function ResumeHourEntity(data) {
|
8
|
-
// #region Properties (4)
|
9
|
-
this.average = 0;
|
10
|
-
this.count = 0;
|
11
|
-
this.hour = 0;
|
12
|
-
this.total = 0;
|
13
|
-
if (data) {
|
14
|
-
for (var key in data) {
|
15
|
-
if (data.hasOwnProperty(key) && key in this) {
|
16
|
-
this[key] = data[key];
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
return ResumeHourEntity;
|
22
|
-
}());
|
23
|
-
exports.ResumeHourEntity = ResumeHourEntity;
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResumeMonthEntity = void 0;
|
4
|
-
var ResumeMonthEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (5)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function ResumeMonthEntity(data) {
|
8
|
-
// #region Properties (5)
|
9
|
-
this.average = 0;
|
10
|
-
this.count = 0;
|
11
|
-
this.days = [];
|
12
|
-
this.month = new Date().getUTCMonth();
|
13
|
-
this.monthName = new Date().toLocaleString('pt-BR', { month: 'long' });
|
14
|
-
this.total = 0;
|
15
|
-
if (data) {
|
16
|
-
for (var key in data) {
|
17
|
-
if (data.hasOwnProperty(key) && key in this) {
|
18
|
-
this[key] = data[key];
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
return ResumeMonthEntity;
|
24
|
-
}());
|
25
|
-
exports.ResumeMonthEntity = ResumeMonthEntity;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResumeTotalEntity = void 0;
|
4
|
-
var ResumeTotalEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (5)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function ResumeTotalEntity(data) {
|
8
|
-
// #region Properties (5)
|
9
|
-
this.average = 0;
|
10
|
-
this.collectionName = '';
|
11
|
-
this.count = 0;
|
12
|
-
this.total = 0;
|
13
|
-
this.years = [];
|
14
|
-
if (data) {
|
15
|
-
for (var key in data) {
|
16
|
-
if (data.hasOwnProperty(key) && key in this) {
|
17
|
-
this[key] = data[key];
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
return ResumeTotalEntity;
|
23
|
-
}());
|
24
|
-
exports.ResumeTotalEntity = ResumeTotalEntity;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResumeYearEntity = void 0;
|
4
|
-
var ResumeYearEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (5)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function ResumeYearEntity(data) {
|
8
|
-
// #region Properties (5)
|
9
|
-
this.average = 0;
|
10
|
-
this.count = 0;
|
11
|
-
this.months = [];
|
12
|
-
this.year = new Date().getUTCFullYear();
|
13
|
-
this.total = 0;
|
14
|
-
if (data) {
|
15
|
-
for (var key in data) {
|
16
|
-
if (data.hasOwnProperty(key) && key in this) {
|
17
|
-
this[key] = data[key];
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
return ResumeYearEntity;
|
23
|
-
}());
|
24
|
-
exports.ResumeYearEntity = ResumeYearEntity;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResumeEntity = void 0;
|
4
|
-
var ResumeEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (3)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function ResumeEntity(data) {
|
8
|
-
// #region Properties (3)
|
9
|
-
this.counts = [];
|
10
|
-
this.id = '';
|
11
|
-
this.totals = [];
|
12
|
-
if (data) {
|
13
|
-
for (var key in data) {
|
14
|
-
if (data.hasOwnProperty(key) && key in this) {
|
15
|
-
this[key] = data[key];
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
return ResumeEntity;
|
21
|
-
}());
|
22
|
-
exports.ResumeEntity = ResumeEntity;
|
package/dist/resume/index.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./entities"), exports);
|
18
|
-
__exportStar(require("./interfaces"), exports);
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SubscriptionBaseEntity = exports.SubscriptionBaseLogEntity = exports.SubscriptionBaseItemEntity = void 0;
|
4
|
-
var subscription_base_item_entity_1 = require("./subscription-base-item.entity");
|
5
|
-
Object.defineProperty(exports, "SubscriptionBaseItemEntity", { enumerable: true, get: function () { return subscription_base_item_entity_1.SubscriptionBaseItemEntity; } });
|
6
|
-
var subscription_base_log_entity_1 = require("./subscription-base-log.entity");
|
7
|
-
Object.defineProperty(exports, "SubscriptionBaseLogEntity", { enumerable: true, get: function () { return subscription_base_log_entity_1.SubscriptionBaseLogEntity; } });
|
8
|
-
var subscription_base_entity_1 = require("./subscription-base.entity");
|
9
|
-
Object.defineProperty(exports, "SubscriptionBaseEntity", { enumerable: true, get: function () { return subscription_base_entity_1.SubscriptionBaseEntity; } });
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SubscriptionBaseItemEntity = void 0;
|
4
|
-
var SubscriptionBaseItemEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (6)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function SubscriptionBaseItemEntity(data) {
|
8
|
-
// #region Properties (6)
|
9
|
-
this.description = '';
|
10
|
-
this.quantity = 1;
|
11
|
-
this.recurrent = true;
|
12
|
-
this.totalPrice = 0;
|
13
|
-
this.unitPrice = 0;
|
14
|
-
this.voucherKey = null;
|
15
|
-
if (data) {
|
16
|
-
for (var key in data) {
|
17
|
-
if (data.hasOwnProperty(key) && key in this) {
|
18
|
-
this[key] = data[key];
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
return SubscriptionBaseItemEntity;
|
24
|
-
}());
|
25
|
-
exports.SubscriptionBaseItemEntity = SubscriptionBaseItemEntity;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SubscriptionBaseLogEntity = void 0;
|
4
|
-
var SubscriptionBaseLogEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (4)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function SubscriptionBaseLogEntity(data) {
|
8
|
-
// #region Properties (4)
|
9
|
-
this.createdAt = new Date();
|
10
|
-
this.description = '';
|
11
|
-
this.id = '';
|
12
|
-
this.notes = '';
|
13
|
-
if (data) {
|
14
|
-
for (var key in data) {
|
15
|
-
if (data.hasOwnProperty(key) && key in this) {
|
16
|
-
this[key] = data[key];
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
return SubscriptionBaseLogEntity;
|
22
|
-
}());
|
23
|
-
exports.SubscriptionBaseLogEntity = SubscriptionBaseLogEntity;
|
@@ -1,44 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SubscriptionBaseEntity = void 0;
|
4
|
-
var general_1 = require("../../general");
|
5
|
-
var enums_1 = require("../enums");
|
6
|
-
var SubscriptionBaseEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (23)
|
8
|
-
// #region Constructors (1)
|
9
|
-
function SubscriptionBaseEntity(data) {
|
10
|
-
// #region Properties (23)
|
11
|
-
this.amount = 0;
|
12
|
-
this.cancellationReason = '';
|
13
|
-
this.createdAt = new Date();
|
14
|
-
this.customVariables = [];
|
15
|
-
this.expiresAt = new Date();
|
16
|
-
this.id = '';
|
17
|
-
this.interval = 0;
|
18
|
-
this.intervalType = general_1.EIntervalType.MONTHS;
|
19
|
-
this.invoices = [];
|
20
|
-
this.items = [];
|
21
|
-
this.logs = [];
|
22
|
-
this.notes = '';
|
23
|
-
this.payment = new general_1.PaymentEntity();
|
24
|
-
this.paymentType = general_1.EPaymentType.NONE;
|
25
|
-
this.phoneNumbersNotification = [];
|
26
|
-
this.recentInvoices = [];
|
27
|
-
this.renewPaymentDate = new Date();
|
28
|
-
this.renovatedAt = new Date();
|
29
|
-
this.startsAt = new Date();
|
30
|
-
this.status = enums_1.ESubscriptionStatus.PENDING;
|
31
|
-
this.suspendedTimes = 0;
|
32
|
-
this.tags = [];
|
33
|
-
this.updatedAt = new Date();
|
34
|
-
if (data) {
|
35
|
-
for (var key in data) {
|
36
|
-
if (data.hasOwnProperty(key) && key in this) {
|
37
|
-
this[key] = data[key];
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
return SubscriptionBaseEntity;
|
43
|
-
}());
|
44
|
-
exports.SubscriptionBaseEntity = SubscriptionBaseEntity;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ESubscriptionStatus = void 0;
|
4
|
-
var subscription_status_enum_1 = require("./subscription-status.enum");
|
5
|
-
Object.defineProperty(exports, "ESubscriptionStatus", { enumerable: true, get: function () { return subscription_status_enum_1.ESubscriptionStatus; } });
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ESubscriptionStatus = void 0;
|
4
|
-
var ESubscriptionStatus;
|
5
|
-
(function (ESubscriptionStatus) {
|
6
|
-
ESubscriptionStatus["ACTIVE"] = "ACTIVE";
|
7
|
-
ESubscriptionStatus["CANCELLED"] = "CANCELLED";
|
8
|
-
ESubscriptionStatus["PLACED"] = "PLACED";
|
9
|
-
ESubscriptionStatus["EXPIRED"] = "EXPIRED";
|
10
|
-
ESubscriptionStatus["PENDING"] = "PENDING";
|
11
|
-
ESubscriptionStatus["TRIAL"] = "TRIAL";
|
12
|
-
ESubscriptionStatus["FREE"] = "FREE";
|
13
|
-
ESubscriptionStatus["SUSPENDED"] = "SUSPENDED";
|
14
|
-
})(ESubscriptionStatus || (exports.ESubscriptionStatus = ESubscriptionStatus = {}));
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./entities"), exports);
|
18
|
-
__exportStar(require("./enums"), exports);
|
19
|
-
__exportStar(require("./interfaces"), exports);
|
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SubscriptionCompanyEntity = exports.SubscriptionCompanyProfileEntity = void 0;
|
4
|
-
var subscription_profile_entity_1 = require("./subscription-profile.entity");
|
5
|
-
Object.defineProperty(exports, "SubscriptionCompanyProfileEntity", { enumerable: true, get: function () { return subscription_profile_entity_1.SubscriptionCompanyProfileEntity; } });
|
6
|
-
var subscription_entity_1 = require("./subscription.entity");
|
7
|
-
Object.defineProperty(exports, "SubscriptionCompanyEntity", { enumerable: true, get: function () { return subscription_entity_1.SubscriptionCompanyEntity; } });
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SubscriptionCompanyProfileEntity = void 0;
|
4
|
-
var SubscriptionCompanyProfileEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (6)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function SubscriptionCompanyProfileEntity(data) {
|
8
|
-
// #region Properties (6)
|
9
|
-
this.containerId = '';
|
10
|
-
this.doc = '';
|
11
|
-
this.docType = '';
|
12
|
-
this.id = '';
|
13
|
-
this.imageUrl = '';
|
14
|
-
this.name = '';
|
15
|
-
if (data) {
|
16
|
-
for (var key in data) {
|
17
|
-
if (data.hasOwnProperty(key) && key in this) {
|
18
|
-
this[key] = data[key];
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
return SubscriptionCompanyProfileEntity;
|
24
|
-
}());
|
25
|
-
exports.SubscriptionCompanyProfileEntity = SubscriptionCompanyProfileEntity;
|
@@ -1,44 +0,0 @@
|
|
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.SubscriptionCompanyEntity = void 0;
|
19
|
-
var subscription_base_entity_1 = require("../../subscription-base/entities/subscription-base.entity");
|
20
|
-
var subscription_profile_entity_1 = require("./subscription-profile.entity");
|
21
|
-
var SubscriptionCompanyEntity = /** @class */ (function (_super) {
|
22
|
-
__extends(SubscriptionCompanyEntity, _super);
|
23
|
-
// #endregion Properties (9)
|
24
|
-
// #region Constructors (1)
|
25
|
-
function SubscriptionCompanyEntity(data) {
|
26
|
-
var _this = _super.call(this, data) || this;
|
27
|
-
// #region Properties (9)
|
28
|
-
_this.features = [];
|
29
|
-
_this.partnerId = '';
|
30
|
-
_this.planId = '';
|
31
|
-
_this.planName = '';
|
32
|
-
_this.profile = new subscription_profile_entity_1.SubscriptionCompanyProfileEntity();
|
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 SubscriptionCompanyEntity;
|
43
|
-
}(subscription_base_entity_1.SubscriptionBaseEntity));
|
44
|
-
exports.SubscriptionCompanyEntity = SubscriptionCompanyEntity;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./entities"), exports);
|
18
|
-
__exportStar(require("./interfaces"), exports);
|
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SubscriptionCustomerEntity = exports.SubscriptionCustomerProfileEntity = void 0;
|
4
|
-
var subscription_customer_entity_1 = require("./subscription-customer.entity");
|
5
|
-
Object.defineProperty(exports, "SubscriptionCustomerProfileEntity", { enumerable: true, get: function () { return subscription_customer_entity_1.SubscriptionCustomerProfileEntity; } });
|
6
|
-
var subscription_entity_1 = require("./subscription.entity");
|
7
|
-
Object.defineProperty(exports, "SubscriptionCustomerEntity", { enumerable: true, get: function () { return subscription_entity_1.SubscriptionCustomerEntity; } });
|
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SubscriptionCustomerProfileEntity = void 0;
|
4
|
-
var general_1 = require("../../general");
|
5
|
-
var SubscriptionCustomerProfileEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (8)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function SubscriptionCustomerProfileEntity(data) {
|
9
|
-
// #region Properties (8)
|
10
|
-
this.doc = '';
|
11
|
-
this.docType = general_1.EDocType.CNPJ;
|
12
|
-
this.email = '';
|
13
|
-
this.id = '';
|
14
|
-
this.imageUrl = '';
|
15
|
-
this.name = '';
|
16
|
-
this.phoneNumber = '';
|
17
|
-
this.uid = '';
|
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 SubscriptionCustomerProfileEntity;
|
27
|
-
}());
|
28
|
-
exports.SubscriptionCustomerProfileEntity = SubscriptionCustomerProfileEntity;
|
@@ -1,48 +0,0 @@
|
|
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.SubscriptionCustomerEntity = void 0;
|
19
|
-
var customer_1 = require("../../customer");
|
20
|
-
var subscription_base_1 = require("../../subscription-base");
|
21
|
-
var subscription_customer_entity_1 = require("./subscription-customer.entity");
|
22
|
-
var SubscriptionCustomerEntity = /** @class */ (function (_super) {
|
23
|
-
__extends(SubscriptionCustomerEntity, _super);
|
24
|
-
// #endregion Properties (9)
|
25
|
-
// #region Constructors (1)
|
26
|
-
function SubscriptionCustomerEntity(data) {
|
27
|
-
var _this = _super.call(this, data) || this;
|
28
|
-
// #region Properties (9)
|
29
|
-
_this.amountUsed = 0;
|
30
|
-
_this.creditLimit = 0;
|
31
|
-
_this.currentBalance = 0;
|
32
|
-
_this.customerId = null;
|
33
|
-
_this.customerInterval = customer_1.ECustomerInterval.MONTHLY;
|
34
|
-
_this.openedInvoices = [];
|
35
|
-
_this.preferedDueDate = 7;
|
36
|
-
_this.profile = new subscription_customer_entity_1.SubscriptionCustomerProfileEntity();
|
37
|
-
if (data) {
|
38
|
-
for (var key in data) {
|
39
|
-
if (data.hasOwnProperty(key) && key in _this) {
|
40
|
-
_this[key] = data[key];
|
41
|
-
}
|
42
|
-
}
|
43
|
-
}
|
44
|
-
return _this;
|
45
|
-
}
|
46
|
-
return SubscriptionCustomerEntity;
|
47
|
-
}(subscription_base_1.SubscriptionBaseEntity));
|
48
|
-
exports.SubscriptionCustomerEntity = SubscriptionCustomerEntity;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./entities"), exports);
|
18
|
-
__exportStar(require("./interfaces"), exports);
|