cecon-interfaces 1.2.65 → 1.2.66
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/app.entity.js +75 -0
- package/dist/app/entities/desenfila-token.entity.js +21 -0
- package/dist/app/entities/desenfila.entity.js +22 -0
- package/dist/app/entities/index.js +15 -0
- package/dist/app/entities/nati-wa.entity.js +34 -0
- package/dist/app/entities/natigo.entity.js +28 -0
- package/dist/app/entities/rabbit.entity.js +45 -0
- package/dist/app/enums/app-category.enum.js +34 -0
- package/dist/app/enums/app-type.enum.js +10 -0
- package/dist/app/enums/header-type.enum.js +8 -0
- package/dist/app/enums/index.js +11 -0
- package/dist/app/enums/mode.enum.js +28 -0
- package/dist/app/index.js +20 -0
- package/dist/app/interfaces/i-app.js +2 -0
- package/dist/app/interfaces/i-desenfila-token.js +2 -0
- package/dist/app/interfaces/i-desenfila.js +2 -0
- package/dist/app/interfaces/i-nati-wa.js +2 -0
- package/dist/app/interfaces/i-natigo.js +2 -0
- package/dist/app/interfaces/i-rabbit.js +2 -0
- package/dist/app/interfaces/index.js +2 -0
- package/dist/app/types/app-config.type.js +2 -0
- package/dist/app/types/index.js +2 -0
- package/dist/billing/entities/billing-payment.entity.js +33 -0
- package/dist/billing/entities/billing-total.entity.js +25 -0
- package/dist/billing/entities/billing.entity.js +30 -0
- package/dist/billing/entities/index.js +9 -0
- package/dist/billing/enums/billing-status.enum.js +12 -0
- package/dist/billing/enums/index.js +5 -0
- package/dist/billing/index.js +19 -0
- package/dist/billing/interfaces/i-billing-payment.js +2 -0
- package/dist/billing/interfaces/i-billing-total.js +2 -0
- package/dist/billing/interfaces/i-billing.js +2 -0
- package/dist/billing/interfaces/index.js +2 -0
- package/dist/billing-order/entities/billing-order.entity.js +39 -0
- package/dist/billing-order/entities/index.js +5 -0
- package/dist/billing-order/index.js +18 -0
- package/dist/billing-order/interfaces/i-billing-order.js +2 -0
- package/dist/billing-order/interfaces/index.js +2 -0
- package/dist/bluesoft/index.js +17 -0
- package/dist/bluesoft/interfaces/i-bluesoft-brand.js +2 -0
- package/dist/bluesoft/interfaces/i-bluesoft-gtin-commercial-unit.js +2 -0
- package/dist/bluesoft/interfaces/i-bluesoft-gtin.js +2 -0
- package/dist/bluesoft/interfaces/i-bluesoft-ncm.js +2 -0
- package/dist/bluesoft/interfaces/i-bluesoft.js +2 -0
- package/dist/bluesoft/interfaces/index.js +2 -0
- package/dist/campaign/entities/campaign.entity.js +30 -0
- package/dist/campaign/entities/index.js +5 -0
- package/dist/campaign/enums/e-campaign-status.enum.js +11 -0
- package/dist/campaign/enums/index.js +5 -0
- package/dist/campaign/index.js +19 -0
- package/dist/campaign/interfaces/i-campaign.js +2 -0
- package/dist/campaign/interfaces/index.js +2 -0
- package/dist/clients/entities/client-aplication-credential.entity.js +23 -0
- package/dist/clients/entities/client-aplication.entity.js +23 -0
- package/dist/clients/entities/client.entity.js +27 -0
- package/dist/clients/entities/index.js +9 -0
- package/dist/clients/index.js +18 -0
- package/dist/clients/interfaces/i-client-aplication.js +2 -0
- package/dist/clients/interfaces/i-client-credential.js +2 -0
- package/dist/clients/interfaces/i-client.js +2 -0
- package/dist/clients/interfaces/index.js +2 -0
- package/dist/company/entities/company-used-plans.entity.js +21 -0
- package/dist/company/entities/company.entity.js +50 -0
- package/dist/company/entities/index.js +8 -0
- package/dist/company/enums/index.js +8 -0
- package/dist/company/enums/keys.enum.js +11 -0
- package/dist/company/enums/message-type.enum.js +9 -0
- package/dist/company/index.js +19 -0
- package/dist/company/interfaces/i-company-trial-useds.js +2 -0
- package/dist/company/interfaces/i-company.js +2 -0
- package/dist/company/interfaces/index.js +2 -0
- package/dist/container/entities/container.entity.js +39 -0
- package/dist/container/entities/index.js +5 -0
- package/dist/container/index.js +18 -0
- package/dist/container/interfaces/i-container.js +2 -0
- package/dist/container/interfaces/index.js +2 -0
- package/dist/customer/entities/customer.entity.js +52 -0
- package/dist/customer/entities/index.js +5 -0
- package/dist/customer/enums/index.js +9 -0
- package/dist/customer/enums/interval.enum.js +9 -0
- package/dist/customer/enums/status.enum.js +9 -0
- package/dist/customer/enums/type.enum.js +8 -0
- package/dist/customer/index.js +19 -0
- package/dist/customer/interfaces/i-customer.js +2 -0
- package/dist/customer/interfaces/index.js +2 -0
- package/dist/customer-member/entities/index.js +5 -0
- package/dist/customer-member/entities/member.entity.js +39 -0
- package/dist/customer-member/index.js +18 -0
- package/dist/customer-member/interfaces/i-member.js +2 -0
- package/dist/customer-member/interfaces/index.js +2 -0
- package/dist/device/entities/device.entity.js +34 -0
- package/dist/device/entities/index.js +8 -0
- package/dist/device/entities/metadata.entity.js +21 -0
- package/dist/device/index.js +18 -0
- package/dist/device/interfaces/i-device.js +2 -0
- package/dist/device/interfaces/i-metadata.js +2 -0
- package/dist/device/interfaces/index.js +3 -0
- package/dist/event-message/entities/event-message.entity.js +30 -0
- package/dist/event-message/entities/index.js +5 -0
- package/dist/event-message/enums/event-message.enum.js +11 -0
- package/dist/event-message/enums/index.js +5 -0
- package/dist/event-message/index.js +19 -0
- package/dist/event-message/interfaces/i-event-message.js +2 -0
- package/dist/event-message/interfaces/index.js +2 -0
- package/dist/evolution/entities/chatwoot.entity.js +24 -0
- package/dist/evolution/entities/evolution-database-queue.entity.js +32 -0
- package/dist/evolution/entities/evolution.entity.js +26 -0
- package/dist/evolution/entities/hash.entity.js +20 -0
- package/dist/evolution/entities/index.js +34 -0
- package/dist/evolution/entities/instance.entity.js +29 -0
- package/dist/evolution/entities/qrcode.entity.js +23 -0
- package/dist/evolution/entities/send-message/index.js +7 -0
- package/dist/evolution/entities/send-message/message-key.entity.js +14 -0
- package/dist/evolution/entities/send-message/message.entity.js +15 -0
- package/dist/evolution/entities/typebot.entity.js +34 -0
- package/dist/evolution/entities/webhook.entity.js +33 -0
- package/dist/evolution/enums/events.enum.js +27 -0
- package/dist/evolution/enums/index.js +7 -0
- package/dist/evolution/enums/instance-types.enum.js +12 -0
- package/dist/evolution/index.js +19 -0
- package/dist/evolution/interfaces/i-chatwoot.js +2 -0
- package/dist/evolution/interfaces/i-evolution-database-queue.js +2 -0
- package/dist/evolution/interfaces/i-evolution.js +2 -0
- package/dist/evolution/interfaces/i-hash.js +2 -0
- package/dist/evolution/interfaces/i-instance.js +2 -0
- package/dist/evolution/interfaces/i-qrcode.js +2 -0
- package/dist/evolution/interfaces/i-typebot.js +2 -0
- package/dist/evolution/interfaces/i-webhook.js +2 -0
- package/dist/evolution/interfaces/index.js +17 -0
- package/dist/evolution/interfaces/send-messages/i-message-key.js +2 -0
- package/dist/evolution/interfaces/send-messages/i-message.js +2 -0
- package/dist/evolution/interfaces/send-messages/index.js +2 -0
- package/dist/fcm-token-message/entities/fcm-data-received-desenfila-payment.entity.js +26 -0
- package/dist/fcm-token-message/entities/fcm-data-request-items.entity.js +25 -0
- package/dist/fcm-token-message/entities/index.js +9 -0
- package/dist/fcm-token-message/entities/token.entity.js +29 -0
- package/dist/fcm-token-message/enums/skill.enum.js +12 -0
- package/dist/fcm-token-message/index.js +18 -0
- package/dist/fcm-token-message/interfaces/i-fcm-data-received-desenfila-payment.js +2 -0
- package/dist/fcm-token-message/interfaces/i-fcm-data-request-items.js +2 -0
- package/dist/fcm-token-message/interfaces/i-fcm-notify.js +2 -0
- package/dist/fcm-token-message/interfaces/i-token.js +2 -0
- package/dist/fcm-token-message/interfaces/index.js +2 -0
- package/dist/feature/entities/feature.entity.js +30 -0
- package/dist/feature/entities/index.js +5 -0
- package/dist/feature/index.js +18 -0
- package/dist/feature/interfaces/i-feature.js +2 -0
- package/dist/feature/interfaces/index.js +2 -0
- package/dist/general/entities/address.entity.js +28 -0
- package/dist/general/entities/base.entity.js +26 -0
- package/dist/general/entities/carousel-image.entity.js +22 -0
- package/dist/general/entities/coords.entity.js +21 -0
- package/dist/general/entities/custom-variable.entity.js +21 -0
- package/dist/general/entities/delivery-area.entity.js +27 -0
- package/dist/general/entities/dellivery-area-fixed.entity.js +24 -0
- package/dist/general/entities/index.js +49 -0
- package/dist/general/entities/messager-channel.entity.js +22 -0
- package/dist/general/entities/mobyo-apiconfig.entity.js +25 -0
- package/dist/general/entities/origin.entity.js +26 -0
- package/dist/general/entities/payment-card.entity.js +22 -0
- package/dist/general/entities/payment-cash.entity.js +20 -0
- package/dist/general/entities/payment-method-option.entity.js +35 -0
- package/dist/general/entities/payment-method.entity.js +31 -0
- package/dist/general/entities/payment-pix.entity.js +21 -0
- package/dist/general/entities/payment-provider-agent.entity.js +22 -0
- package/dist/general/entities/payment-provider.entity.js +33 -0
- package/dist/general/entities/payment-token-data.entity.js +26 -0
- package/dist/general/entities/payment-token.entity.js +25 -0
- package/dist/general/entities/payment-wallet.entity.js +20 -0
- package/dist/general/entities/payment.entity.js +29 -0
- package/dist/general/entities/rating.entity.js +23 -0
- package/dist/general/entities/sponsorship-value.entity.js +21 -0
- package/dist/general/enums/bank-slip-status.enum.js +11 -0
- package/dist/general/enums/boolean-string.enum.js +8 -0
- package/dist/general/enums/doc-type.enum.js +8 -0
- package/dist/general/enums/e-discount-type.enum.js +8 -0
- package/dist/general/enums/fiscal-doc-model-code.enum.js +15 -0
- package/dist/general/enums/index.js +39 -0
- package/dist/general/enums/interval-type.enum.js +9 -0
- package/dist/general/enums/lead-origin.enum.js +13 -0
- package/dist/general/enums/os.enum.js +14 -0
- package/dist/general/enums/payment-channel.enum.js +14 -0
- package/dist/general/enums/payment-mode.enum.js +9 -0
- package/dist/general/enums/payment-status.enum.js +16 -0
- package/dist/general/enums/payment-type.enum.js +26 -0
- package/dist/general/enums/person-type.enum.js +8 -0
- package/dist/general/enums/platform.enum.js +13 -0
- package/dist/general/enums/providers.enum.js +12 -0
- package/dist/general/enums/pubsub.enum.js +8 -0
- package/dist/general/enums/sponsorship-values.enum.js +10 -0
- package/dist/general/index.js +19 -0
- package/dist/general/interfaces/i-address.js +2 -0
- package/dist/general/interfaces/i-base.js +3 -0
- package/dist/general/interfaces/i-carousel-image.js +2 -0
- package/dist/general/interfaces/i-coords.js +2 -0
- package/dist/general/interfaces/i-custom-variable.js +3 -0
- package/dist/general/interfaces/i-delivery-area-fixed.js +2 -0
- package/dist/general/interfaces/i-delivery-area.js +2 -0
- package/dist/general/interfaces/i-messager-channel.js +2 -0
- package/dist/general/interfaces/i-mobyo-api-config.js +2 -0
- package/dist/general/interfaces/i-origin.js +2 -0
- package/dist/general/interfaces/i-payment-card.js +2 -0
- package/dist/general/interfaces/i-payment-cash.js +2 -0
- package/dist/general/interfaces/i-payment-method-option.js +2 -0
- package/dist/general/interfaces/i-payment-method.js +2 -0
- package/dist/general/interfaces/i-payment-pix.js +2 -0
- package/dist/general/interfaces/i-payment-provider-agent.js +2 -0
- package/dist/general/interfaces/i-payment-provider.js +2 -0
- package/dist/general/interfaces/i-payment-token-data.js +3 -0
- package/dist/general/interfaces/i-payment-token.js +3 -0
- package/dist/general/interfaces/i-payment-wallet.js +2 -0
- package/dist/general/interfaces/i-payment.js +2 -0
- package/dist/general/interfaces/i-rating.js +2 -0
- package/dist/general/interfaces/i-sponsorship-value.js +2 -0
- package/dist/general/interfaces/index.js +3 -0
- package/dist/global-settings/entities/global-setting-iugu.entity.js +74 -0
- package/dist/global-settings/entities/global-setting-master.entity.js +34 -0
- package/dist/global-settings/entities/global-setting.entity.js +22 -0
- package/dist/global-settings/entities/index.js +9 -0
- package/dist/global-settings/index.js +18 -0
- package/dist/global-settings/interfaces/i-global-setting-iugu.js +2 -0
- package/dist/global-settings/interfaces/i-global-setting-master.js +2 -0
- package/dist/global-settings/interfaces/i-global-setting.js +2 -0
- package/dist/global-settings/interfaces/index.js +2 -0
- package/dist/index.js +62 -0
- package/dist/installation/entities/index.js +7 -0
- package/dist/installation/entities/installation-app.entity.js +25 -0
- package/dist/installation/entities/installation.entity.js +35 -0
- package/dist/installation/enums/index.js +5 -0
- package/dist/installation/enums/status.enum.js +15 -0
- package/dist/installation/index.js +19 -0
- package/dist/installation/interfaces/i-installation-app.js +2 -0
- package/dist/installation/interfaces/i-installation.js +2 -0
- package/dist/installation/interfaces/index.js +2 -0
- package/dist/invite/entities/index.js +5 -0
- package/dist/invite/entities/invite.entity.js +39 -0
- package/dist/invite/enums/index.js +5 -0
- package/dist/invite/enums/status.enum.js +11 -0
- package/dist/invite/index.js +19 -0
- package/dist/invite/interfaces/i-invite.js +2 -0
- package/dist/invite/interfaces/index.js +2 -0
- package/dist/invoice/entities/index.js +17 -0
- package/dist/invoice/entities/invoice-bank-slip.entity.js +27 -0
- package/dist/invoice/entities/invoice-credit-card.entity.js +25 -0
- package/dist/invoice/entities/invoice-item.entity.js +28 -0
- package/dist/invoice/entities/invoice-log.entity.js +23 -0
- package/dist/invoice/entities/invoice-payer.entity.js +27 -0
- package/dist/invoice/entities/invoice-pix.entity.js +24 -0
- package/dist/invoice/entities/invoice.entity.js +65 -0
- package/dist/invoice/enums/index.js +5 -0
- package/dist/invoice/enums/invoices-status.enum.js +17 -0
- package/dist/invoice/index.js +19 -0
- package/dist/invoice/interfaces/i-invoice-bank-slip.js +2 -0
- package/dist/invoice/interfaces/i-invoice-credit-card.js +2 -0
- package/dist/invoice/interfaces/i-invoice-item.js +2 -0
- package/dist/invoice/interfaces/i-invoice-log.js +2 -0
- package/dist/invoice/interfaces/i-invoice-payer.js +2 -0
- package/dist/invoice/interfaces/i-invoice-pix.js +2 -0
- package/dist/invoice/interfaces/i-invoice.js +2 -0
- package/dist/invoice/interfaces/index.js +2 -0
- package/dist/iugu/entities/account-informations.entity.js +21 -0
- package/dist/iugu/entities/account-last-verification-request-data.entity.js +40 -0
- package/dist/iugu/entities/charge-credit-card.entity.js +30 -0
- package/dist/iugu/entities/customer.entity.js +40 -0
- package/dist/iugu/entities/index.js +21 -0
- package/dist/iugu/entities/invoice-bankslip.entity.js +26 -0
- package/dist/iugu/entities/invoice.entity.js +82 -0
- package/dist/iugu/entities/iugu-account.entity.js +75 -0
- package/dist/iugu/entities/payment-token-data.entity.js +28 -0
- package/dist/iugu/entities/payment-token.entity.js +25 -0
- package/dist/iugu/enums/index.js +9 -0
- package/dist/iugu/enums/iugu-auto-advance.enum.js +10 -0
- package/dist/iugu/enums/iugu-bank.enum.js +222 -0
- package/dist/iugu/enums/iugu-status-invoice.enum.js +17 -0
- package/dist/iugu/index.js +20 -0
- package/dist/iugu/interfaces/i-account-configuration-bank-slip.js +2 -0
- package/dist/iugu/interfaces/i-account-configuration-creadit-card.js +2 -0
- package/dist/iugu/interfaces/i-account-configuration-pix.js +2 -0
- package/dist/iugu/interfaces/i-account-configuration.js +2 -0
- package/dist/iugu/interfaces/i-account-info-last-ver-req-data.js +2 -0
- package/dist/iugu/interfaces/i-account-informations.js +2 -0
- package/dist/iugu/interfaces/i-account-marketplace-split.js +2 -0
- package/dist/iugu/interfaces/i-account.js +2 -0
- package/dist/iugu/interfaces/i-change-plan-simulation.js +2 -0
- package/dist/iugu/interfaces/i-charge-credit-card.js +2 -0
- package/dist/iugu/interfaces/i-config-early-payment-discounts.js +2 -0
- package/dist/iugu/interfaces/i-customer.js +2 -0
- package/dist/iugu/interfaces/i-invoice-bankslip.js +2 -0
- package/dist/iugu/interfaces/i-invoice.js +2 -0
- package/dist/iugu/interfaces/i-payment-token-data.js +2 -0
- package/dist/iugu/interfaces/i-payment-token.js +2 -0
- package/dist/iugu/interfaces/i-plan-feature.js +2 -0
- package/dist/iugu/interfaces/i-plan-price.js +2 -0
- package/dist/iugu/interfaces/i-plan.js +2 -0
- package/dist/iugu/interfaces/i-subscription-custom-variable.js +2 -0
- package/dist/iugu/interfaces/i-subscription-feature.js +2 -0
- package/dist/iugu/interfaces/i-subscription-features.js +2 -0
- package/dist/iugu/interfaces/i-subscription-log.js +2 -0
- package/dist/iugu/interfaces/i-subscription-recent-invoice.js +2 -0
- package/dist/iugu/interfaces/i-subscription-subitem.js +2 -0
- package/dist/iugu/interfaces/i-subscription.js +2 -0
- package/dist/iugu/interfaces/index.js +2 -0
- package/dist/iugu/responses/i-marketplace-list.js +2 -0
- package/dist/iugu/responses/i-marketplace-token.js +2 -0
- package/dist/iugu/responses/i-marketplace-tokens.js +2 -0
- package/dist/iugu/responses/index.js +2 -0
- package/dist/lead/entities/index.js +5 -0
- package/dist/lead/entities/lead.entity.js +58 -0
- package/dist/lead/enums/index.js +5 -0
- package/dist/lead/enums/lead-status.enum.js +18 -0
- package/dist/lead/index.js +19 -0
- package/dist/lead/interfaces/i-lead.js +2 -0
- package/dist/lead/interfaces/index.js +2 -0
- package/dist/member/entities/index.js +5 -0
- package/dist/member/entities/member.entity.js +54 -0
- package/dist/member/enums/index.js +7 -0
- package/dist/member/enums/member-rules.enum.js +14 -0
- package/dist/member/enums/member-type.enum.js +10 -0
- package/dist/member/index.js +19 -0
- package/dist/member/interfaces/i-member.js +2 -0
- package/dist/member/interfaces/index.js +2 -0
- package/dist/mobyo/customer/index.js +17 -0
- package/dist/mobyo/customer/interfaces/i-customer.js +2 -0
- package/dist/mobyo/customer/interfaces/index.js +2 -0
- package/dist/mobyo/deliverer/index.js +17 -0
- package/dist/mobyo/deliverer/interfaces/i-deliverer-mobyo.js +2 -0
- package/dist/mobyo/deliverer/interfaces/index.js +2 -0
- package/dist/mobyo/index.js +18 -0
- package/dist/mottu/entities/address.entity.js +26 -0
- package/dist/mottu/entities/event-delivery-man.entity.js +21 -0
- package/dist/mottu/entities/event-requested-by.entity.js +21 -0
- package/dist/mottu/entities/event.entity.js +28 -0
- package/dist/mottu/entities/index.js +27 -0
- package/dist/mottu/entities/order-deliverer.entity.js +34 -0
- package/dist/mottu/entities/order-deliverery-man.entity.js +28 -0
- package/dist/mottu/entities/order-preview.entity.js +31 -0
- package/dist/mottu/entities/order-store.entity.js +20 -0
- package/dist/mottu/entities/order.entity.js +36 -0
- package/dist/mottu/entities/store-matrix.entity.js +20 -0
- package/dist/mottu/entities/store-responsible.entity.js +21 -0
- package/dist/mottu/entities/store.entity.js +31 -0
- package/dist/mottu/index.js +18 -0
- package/dist/mottu/interfaces/i-address.js +2 -0
- package/dist/mottu/interfaces/i-event-delivery-man.js +2 -0
- package/dist/mottu/interfaces/i-event-requested-by.js +2 -0
- package/dist/mottu/interfaces/i-event.js +2 -0
- package/dist/mottu/interfaces/i-order-deliverer.js +2 -0
- package/dist/mottu/interfaces/i-order-delivery-man.js +2 -0
- package/dist/mottu/interfaces/i-order-preview.js +2 -0
- package/dist/mottu/interfaces/i-order-store.js +2 -0
- package/dist/mottu/interfaces/i-order.js +2 -0
- package/dist/mottu/interfaces/i-store-matrix.js +2 -0
- package/dist/mottu/interfaces/i-store-responsible.js +2 -0
- package/dist/mottu/interfaces/i-store.js +2 -0
- package/dist/mottu/interfaces/index.js +2 -0
- package/dist/nati-v1/entities/cart-desenfila.entity.js +21 -0
- package/dist/nati-v1/entities/cart-item.entity.js +42 -0
- package/dist/nati-v1/entities/cart.entity.js +40 -0
- package/dist/nati-v1/entities/index.js +9 -0
- package/dist/nati-v1/index.js +18 -0
- package/dist/nati-v1/interfaces/i-cart-desenfila.js +2 -0
- package/dist/nati-v1/interfaces/i-cart-item.js +2 -0
- package/dist/nati-v1/interfaces/i-cart.js +2 -0
- package/dist/nati-v1/interfaces/index.js +2 -0
- package/dist/notification/entities/index.js +7 -0
- package/dist/notification/entities/notification-action.entity.js +24 -0
- package/dist/notification/entities/notification.entity.js +34 -0
- package/dist/notification/enums/action-type.enum.js +9 -0
- package/dist/notification/enums/category.enum.js +17 -0
- package/dist/notification/enums/index.js +11 -0
- package/dist/notification/enums/priority.enum.js +10 -0
- package/dist/notification/enums/status.enum.js +11 -0
- package/dist/notification/index.js +19 -0
- package/dist/notification/interfaces/i-notification-action.js +2 -0
- package/dist/notification/interfaces/i-notification.js +2 -0
- package/dist/notification/interfaces/index.js +2 -0
- package/dist/order/entities/additional-fees.entity.js +21 -0
- package/dist/order/entities/benefits.entity.js +25 -0
- package/dist/order/entities/cancellation.entity.js +22 -0
- package/dist/order/entities/customer-phone.entity.js +23 -0
- package/dist/order/entities/customer.entity.js +27 -0
- package/dist/order/entities/delivery.entity.js +19 -0
- package/dist/order/entities/index.js +43 -0
- package/dist/order/entities/item-composition.entity.js +25 -0
- package/dist/order/entities/item-option.entity.js +34 -0
- package/dist/order/entities/item.entity.js +40 -0
- package/dist/order/entities/merchant.entity.js +24 -0
- package/dist/order/entities/order.entity.js +46 -0
- package/dist/order/entities/payment-card.entity.js +20 -0
- package/dist/order/entities/payment-cash.entity.js +20 -0
- package/dist/order/entities/payment-method.entity.js +31 -0
- package/dist/order/entities/payment-pix.entity.js +21 -0
- package/dist/order/entities/payment-wallet.entity.js +20 -0
- package/dist/order/entities/payment.entity.js +22 -0
- package/dist/order/entities/scale-item.entity.js +21 -0
- package/dist/order/entities/scale-price.entity.js +21 -0
- package/dist/order/entities/total.entity.js +24 -0
- package/dist/order/enums/delivery-mode.enum.js +9 -0
- package/dist/order/enums/index.js +12 -0
- package/dist/order/enums/order-status.enum.js +42 -0
- package/dist/order/enums/order-timing.enum.js +8 -0
- package/dist/order/enums/order-type.enum.js +9 -0
- package/dist/order/index.js +19 -0
- package/dist/order/interfaces/i-additional-fee.js +2 -0
- 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-customer.js +2 -0
- package/dist/order/interfaces/i-delivery.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-item.js +2 -0
- package/dist/order/interfaces/i-merchant.js +2 -0
- package/dist/order/interfaces/i-order.js +2 -0
- 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.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-payment.js +2 -0
- package/dist/order/interfaces/i-scale-item.js +2 -0
- package/dist/order/interfaces/i-scale-price.js +2 -0
- package/dist/order/interfaces/i-total.js +2 -0
- package/dist/order/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/partner/entities/index.js +5 -0
- package/dist/partner/entities/partner.entity.js +39 -0
- package/dist/partner/index.js +18 -0
- package/dist/partner/interfaces/i-partner.js +2 -0
- package/dist/partner/interfaces/index.js +2 -0
- package/dist/plan/entities/feature.entity.js +30 -0
- package/dist/plan/entities/index.js +7 -0
- package/dist/plan/entities/plan.entity.js +33 -0
- package/dist/plan/enums/index.js +7 -0
- package/dist/plan/enums/plans-feature-type.enum.js +8 -0
- package/dist/plan/enums/plans-identifier.enum.js +10 -0
- package/dist/plan/index.js +19 -0
- package/dist/plan/interfaces/i-feature.js +2 -0
- package/dist/plan/interfaces/i-plan.js +2 -0
- package/dist/plan/interfaces/index.js +2 -0
- package/dist/product-company/entities/index.js +5 -0
- package/dist/product-company/entities/product.entity.js +39 -0
- package/dist/product-company/index.js +18 -0
- package/dist/product-company/interfaces/i-product.js +2 -0
- package/dist/product-company/interfaces/index.js +2 -0
- package/dist/product-container/entities/index.js +5 -0
- package/dist/product-container/entities/product.entity.js +42 -0
- package/dist/product-container/index.js +18 -0
- package/dist/product-container/interfaces/i-product.js +2 -0
- package/dist/product-container/interfaces/index.js +2 -0
- package/dist/product-global/entities/index.js +9 -0
- package/dist/product-global/entities/product-brand.entity.js +21 -0
- package/dist/product-global/entities/product-ncm.entity.js +23 -0
- package/dist/product-global/entities/product.entity.js +90 -0
- package/dist/product-global/enums/gtin-type.enum.js +11 -0
- package/dist/product-global/enums/index.js +5 -0
- package/dist/product-global/index.js +19 -0
- package/dist/product-global/interfaces/i-brand.js +2 -0
- package/dist/product-global/interfaces/i-ncm.js +2 -0
- package/dist/product-global/interfaces/i-product.js +2 -0
- package/dist/product-global/interfaces/index.js +2 -0
- package/dist/pubsub/entities/index.js +5 -0
- package/dist/pubsub/entities/subscription-change-status.entity.js +23 -0
- package/dist/pubsub/enums/index.js +5 -0
- package/dist/pubsub/enums/topics-type.enum.js +8 -0
- package/dist/pubsub/index.js +19 -0
- package/dist/pubsub/interfaces/i-subscription-change-status.js +2 -0
- package/dist/pubsub/interfaces/index.js +2 -0
- package/dist/purchases/entities/app-info.entity.js +22 -0
- package/dist/purchases/entities/index.js +7 -0
- package/dist/purchases/entities/purchase.entity.js +44 -0
- package/dist/purchases/index.js +18 -0
- package/dist/purchases/interfaces/i-app-info.js +2 -0
- package/dist/purchases/interfaces/i-purchase.js +2 -0
- package/dist/purchases/interfaces/index.js +2 -0
- package/dist/requested-items/entities/index.js +7 -0
- package/dist/requested-items/entities/requested-items-data.entity.js +24 -0
- package/dist/requested-items/entities/requested-items.entity.js +29 -0
- package/dist/requested-items/index.js +18 -0
- package/dist/requested-items/interfaces/i-requested-items-data.js +2 -0
- package/dist/requested-items/interfaces/i-requested-items.js +2 -0
- package/dist/requested-items/interfaces/index.js +2 -0
- package/dist/resume/entities/index.js +17 -0
- package/dist/resume/entities/resume-collection.entity.js +21 -0
- package/dist/resume/entities/resume-day.entity.js +25 -0
- package/dist/resume/entities/resume-hour.entity.js +23 -0
- package/dist/resume/entities/resume-month.entity.js +25 -0
- package/dist/resume/entities/resume-total.entity.js +24 -0
- package/dist/resume/entities/resume-year.entity.js +24 -0
- package/dist/resume/entities/resume.entity.js +22 -0
- package/dist/resume/index.js +18 -0
- package/dist/resume/interfaces/i-resume-collection-status.js +2 -0
- package/dist/resume/interfaces/i-resume-collection.js +2 -0
- package/dist/resume/interfaces/i-resume-day.js +2 -0
- package/dist/resume/interfaces/i-resume-hour.js +2 -0
- package/dist/resume/interfaces/i-resume-month.js +2 -0
- package/dist/resume/interfaces/i-resume-total.js +2 -0
- package/dist/resume/interfaces/i-resume-year.js +2 -0
- package/dist/resume/interfaces/i-resume.js +2 -0
- package/dist/resume/interfaces/index.js +2 -0
- package/dist/subscription-base/entities/index.js +9 -0
- package/dist/subscription-base/entities/subscription-base-item.entity.js +25 -0
- package/dist/subscription-base/entities/subscription-base-log.entity.js +23 -0
- package/dist/subscription-base/entities/subscription-base.entity.js +44 -0
- package/dist/subscription-base/enums/index.js +5 -0
- package/dist/subscription-base/enums/subscription-status.enum.js +14 -0
- package/dist/subscription-base/index.js +19 -0
- package/dist/subscription-base/interfaces/i-subscription-base-item.js +2 -0
- package/dist/subscription-base/interfaces/i-subscription-base-log.js +2 -0
- package/dist/subscription-base/interfaces/i-subscription-base.js +2 -0
- package/dist/subscription-base/interfaces/index.js +2 -0
- package/dist/subscription-company/entities/index.js +7 -0
- package/dist/subscription-company/entities/subscription-profile.entity.js +25 -0
- package/dist/subscription-company/entities/subscription.entity.js +44 -0
- package/dist/subscription-company/index.js +18 -0
- package/dist/subscription-company/interfaces/i-subscription-profile.js +2 -0
- package/dist/subscription-company/interfaces/i-subscription.js +2 -0
- package/dist/subscription-company/interfaces/index.js +2 -0
- package/dist/subscription-customer/entities/index.js +7 -0
- package/dist/subscription-customer/entities/subscription-customer.entity.js +28 -0
- package/dist/subscription-customer/entities/subscription.entity.js +48 -0
- package/dist/subscription-customer/index.js +18 -0
- package/dist/subscription-customer/interfaces/i-subscription-customer.js +2 -0
- package/dist/subscription-customer/interfaces/i-subscription.js +2 -0
- package/dist/subscription-customer/interfaces/index.js +2 -0
- package/dist/token/entities/index.js +5 -0
- package/dist/token/entities/token.entity.js +33 -0
- package/dist/token/index.js +18 -0
- package/dist/token/interfaces/i-token.js +2 -0
- package/dist/token/interfaces/index.js +2 -0
- package/dist/token-jwt/index.js +17 -0
- package/dist/token-jwt/interfaces/i-token-jwt.js +2 -0
- package/dist/token-jwt/interfaces/index.js +2 -0
- package/dist/verifier-token/entities/index.js +5 -0
- package/dist/verifier-token/entities/verifier-token.entity.js +28 -0
- package/dist/verifier-token/index.js +18 -0
- package/dist/verifier-token/interfaces/i-verifier-token.js +2 -0
- package/dist/verifier-token/interfaces/index.js +2 -0
- package/dist/viacep/index.js +17 -0
- package/dist/viacep/interfaces/i-via-cep.js +2 -0
- package/dist/viacep/interfaces/index.js +2 -0
- package/dist/voucher/entities/index.js +5 -0
- package/dist/voucher/entities/voucher.entity.js +59 -0
- package/dist/voucher/enums/e-voucher-status.enum.js +11 -0
- package/dist/voucher/enums/index.js +5 -0
- package/dist/voucher/index.js +19 -0
- package/dist/voucher/interfaces/i-voucher.js +2 -0
- package/dist/voucher/interfaces/index.js +2 -0
- package/dist/wa-server/entities/index.js +5 -0
- package/dist/wa-server/entities/wa-server.entity.js +32 -0
- package/dist/wa-server/enums/index.js +5 -0
- package/dist/wa-server/enums/status.enum.js +9 -0
- package/dist/wa-server/index.js +19 -0
- package/dist/wa-server/interfaces/i-wa-server.js +2 -0
- package/dist/wa-server/interfaces/index.js +2 -0
- package/package.json +1 -1
@@ -0,0 +1,39 @@
|
|
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.CustomerMemberEntity = void 0;
|
19
|
+
var member_1 = require("../../member");
|
20
|
+
var CustomerMemberEntity = /** @class */ (function (_super) {
|
21
|
+
__extends(CustomerMemberEntity, _super);
|
22
|
+
// #endregion Properties (1)
|
23
|
+
// #region Constructors (1)
|
24
|
+
function CustomerMemberEntity(data) {
|
25
|
+
var _this = _super.call(this, data) || this;
|
26
|
+
// #region Properties (1)
|
27
|
+
_this.customerId = '';
|
28
|
+
if (data) {
|
29
|
+
for (var key in data) {
|
30
|
+
if (data.hasOwnProperty(key) && key in _this) {
|
31
|
+
_this[key] = data[key];
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
return _this;
|
36
|
+
}
|
37
|
+
return CustomerMemberEntity;
|
38
|
+
}(member_1.MemberEntity));
|
39
|
+
exports.CustomerMemberEntity = CustomerMemberEntity;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeviceEntity = void 0;
|
4
|
+
var os_enum_1 = require("../../general/enums/os.enum");
|
5
|
+
var DeviceEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (14)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function DeviceEntity(data) {
|
9
|
+
// #region Properties (14)
|
10
|
+
this.active = false;
|
11
|
+
this.companyId = '';
|
12
|
+
this.containerId = '';
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.deviceId = '';
|
15
|
+
this.os = os_enum_1.EOs.UNKNOWN;
|
16
|
+
this.installedApps = [];
|
17
|
+
this.osVersion = '';
|
18
|
+
this.id = '';
|
19
|
+
this.key = '';
|
20
|
+
this.lastAccess = new Date();
|
21
|
+
this.name = '';
|
22
|
+
this.tags = [];
|
23
|
+
this.updatedAt = new Date();
|
24
|
+
if (data) {
|
25
|
+
for (var key in data) {
|
26
|
+
if (data.hasOwnProperty(key) && key in this) {
|
27
|
+
this[key] = data[key];
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
return DeviceEntity;
|
33
|
+
}());
|
34
|
+
exports.DeviceEntity = DeviceEntity;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
// index.ts
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.MetadataEntity = exports.DeviceEntity = void 0;
|
5
|
+
var device_entity_1 = require("./device.entity");
|
6
|
+
Object.defineProperty(exports, "DeviceEntity", { enumerable: true, get: function () { return device_entity_1.DeviceEntity; } });
|
7
|
+
var metadata_entity_1 = require("./metadata.entity");
|
8
|
+
Object.defineProperty(exports, "MetadataEntity", { enumerable: true, get: function () { return metadata_entity_1.MetadataEntity; } });
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MetadataEntity = void 0;
|
4
|
+
var natigo_entity_1 = require("../../app/entities/natigo.entity");
|
5
|
+
var MetadataEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (1)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function MetadataEntity(data) {
|
9
|
+
// #region Properties (1)
|
10
|
+
this.natigo = new natigo_entity_1.NatiGoEntity();
|
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 MetadataEntity;
|
20
|
+
}());
|
21
|
+
exports.MetadataEntity = MetadataEntity;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EventMessageEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
5
|
+
var EventMessageEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (10)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function EventMessageEntity(data) {
|
9
|
+
// #region Properties (10)
|
10
|
+
this.companyId = null;
|
11
|
+
this.containerId = null;
|
12
|
+
this.createdAt = new Date();
|
13
|
+
this.customerId = null;
|
14
|
+
this.description = null;
|
15
|
+
this.event = enums_1.EEventMessage.LAST_DAY_SALES;
|
16
|
+
this.id = '';
|
17
|
+
this.partnerId = null;
|
18
|
+
this.recipients = [];
|
19
|
+
this.updatedAt = new Date();
|
20
|
+
if (data) {
|
21
|
+
for (var key in data) {
|
22
|
+
if (data.hasOwnProperty(key) && key in this) {
|
23
|
+
this[key] = data[key];
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
return EventMessageEntity;
|
29
|
+
}());
|
30
|
+
exports.EventMessageEntity = EventMessageEntity;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EventMessageEntity = void 0;
|
4
|
+
var event_message_entity_1 = require("./event-message.entity");
|
5
|
+
Object.defineProperty(exports, "EventMessageEntity", { enumerable: true, get: function () { return event_message_entity_1.EventMessageEntity; } });
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EEventMessage = void 0;
|
4
|
+
var EEventMessage;
|
5
|
+
(function (EEventMessage) {
|
6
|
+
EEventMessage["POS_RESULT"] = "POS_RESULT";
|
7
|
+
EEventMessage["LAST_DAY_SALES"] = "LAST_DAY_SALES";
|
8
|
+
EEventMessage["LAST_MONTH_SALES"] = "LAST_MONTH_SALES";
|
9
|
+
EEventMessage["CANCELED_SALE"] = "CANCELED_SALE";
|
10
|
+
EEventMessage["BLEED_ALERT"] = "BLEED_ALERT";
|
11
|
+
})(EEventMessage || (exports.EEventMessage = EEventMessage = {}));
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EEventMessage = void 0;
|
4
|
+
var event_message_enum_1 = require("../../event-message/enums/event-message.enum");
|
5
|
+
Object.defineProperty(exports, "EEventMessage", { enumerable: true, get: function () { return event_message_enum_1.EEventMessage; } });
|
@@ -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,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionChatWootEntity = void 0;
|
4
|
+
var EvolutionChatWootEntity = /** @class */ (function () {
|
5
|
+
function EvolutionChatWootEntity(data) {
|
6
|
+
// #region Properties (7)
|
7
|
+
this.accountId = '';
|
8
|
+
this.enabled = false;
|
9
|
+
this.nameInbox = '';
|
10
|
+
this.signMsg = false;
|
11
|
+
this.token = '';
|
12
|
+
this.url = '';
|
13
|
+
this.webhookUrl = '';
|
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 EvolutionChatWootEntity;
|
23
|
+
}());
|
24
|
+
exports.EvolutionChatWootEntity = EvolutionChatWootEntity;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionDatabaseQueueEntity = void 0;
|
4
|
+
var EvolutionDatabaseQueueEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (11)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function EvolutionDatabaseQueueEntity(data) {
|
8
|
+
// #region Properties (11)
|
9
|
+
this.active = true;
|
10
|
+
this.baseUrl = '';
|
11
|
+
this.createdAt = Date.now();
|
12
|
+
this.id = '';
|
13
|
+
this.instanceName = '';
|
14
|
+
this.globalApikey = '';
|
15
|
+
this.log = [];
|
16
|
+
this.sendAt = 1713547959155;
|
17
|
+
this.notified = false;
|
18
|
+
this.notifiedAt = 0;
|
19
|
+
this.phoneNumber = '';
|
20
|
+
this.text = '';
|
21
|
+
this.updatedAt = Date.now();
|
22
|
+
if (data) {
|
23
|
+
for (var key in data) {
|
24
|
+
if (data.hasOwnProperty(key) && key in this) {
|
25
|
+
this[key] = data[key];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
return EvolutionDatabaseQueueEntity;
|
31
|
+
}());
|
32
|
+
exports.EvolutionDatabaseQueueEntity = EvolutionDatabaseQueueEntity;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionEntity = void 0;
|
4
|
+
var hash_entity_1 = require("./hash.entity");
|
5
|
+
var instance_entity_1 = require("./instance.entity");
|
6
|
+
var qrcode_entity_1 = require("./qrcode.entity");
|
7
|
+
var EvolutionEntity = /** @class */ (function () {
|
8
|
+
function EvolutionEntity(data) {
|
9
|
+
// #region Properties (6)
|
10
|
+
this.chatwoot = null;
|
11
|
+
this.events = [];
|
12
|
+
this.hash = new hash_entity_1.EvolutionHashEntity();
|
13
|
+
this.instance = new instance_entity_1.EvolutionInstanceEntity();
|
14
|
+
this.qrcode = new qrcode_entity_1.EvolutionQrcodeEntity();
|
15
|
+
this.webhook = '';
|
16
|
+
if (data) {
|
17
|
+
for (var key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return EvolutionEntity;
|
25
|
+
}());
|
26
|
+
exports.EvolutionEntity = EvolutionEntity;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionHashEntity = void 0;
|
4
|
+
var EvolutionHashEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (1)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function EvolutionHashEntity(data) {
|
8
|
+
// #region Properties (1)
|
9
|
+
this.apikey = '';
|
10
|
+
if (data) {
|
11
|
+
for (var key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
return EvolutionHashEntity;
|
19
|
+
}());
|
20
|
+
exports.EvolutionHashEntity = EvolutionHashEntity;
|
@@ -0,0 +1,34 @@
|
|
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
|
+
exports.EvolutionWebhookEntity = exports.EvolutionTypeBotEntity = exports.EvolutionQrcodeEntity = exports.EvolutionInstanceEntity = exports.EvolutionHashEntity = exports.EvolutionEntity = exports.EvolutionDatabaseQueueEntity = exports.EvolutionChatWootEntity = void 0;
|
18
|
+
var chatwoot_entity_1 = require("./chatwoot.entity");
|
19
|
+
Object.defineProperty(exports, "EvolutionChatWootEntity", { enumerable: true, get: function () { return chatwoot_entity_1.EvolutionChatWootEntity; } });
|
20
|
+
var evolution_database_queue_entity_1 = require("./evolution-database-queue.entity");
|
21
|
+
Object.defineProperty(exports, "EvolutionDatabaseQueueEntity", { enumerable: true, get: function () { return evolution_database_queue_entity_1.EvolutionDatabaseQueueEntity; } });
|
22
|
+
var evolution_entity_1 = require("./evolution.entity");
|
23
|
+
Object.defineProperty(exports, "EvolutionEntity", { enumerable: true, get: function () { return evolution_entity_1.EvolutionEntity; } });
|
24
|
+
var hash_entity_1 = require("./hash.entity");
|
25
|
+
Object.defineProperty(exports, "EvolutionHashEntity", { enumerable: true, get: function () { return hash_entity_1.EvolutionHashEntity; } });
|
26
|
+
var instance_entity_1 = require("./instance.entity");
|
27
|
+
Object.defineProperty(exports, "EvolutionInstanceEntity", { enumerable: true, get: function () { return instance_entity_1.EvolutionInstanceEntity; } });
|
28
|
+
var qrcode_entity_1 = require("./qrcode.entity");
|
29
|
+
Object.defineProperty(exports, "EvolutionQrcodeEntity", { enumerable: true, get: function () { return qrcode_entity_1.EvolutionQrcodeEntity; } });
|
30
|
+
__exportStar(require("./send-message"), exports);
|
31
|
+
var typebot_entity_1 = require("./typebot.entity");
|
32
|
+
Object.defineProperty(exports, "EvolutionTypeBotEntity", { enumerable: true, get: function () { return typebot_entity_1.EvolutionTypeBotEntity; } });
|
33
|
+
var webhook_entity_1 = require("./webhook.entity");
|
34
|
+
Object.defineProperty(exports, "EvolutionWebhookEntity", { enumerable: true, get: function () { return webhook_entity_1.EvolutionWebhookEntity; } });
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionInstanceEntity = void 0;
|
4
|
+
var EvolutionInstanceEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (10)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function EvolutionInstanceEntity(data) {
|
8
|
+
// #region Properties (10)
|
9
|
+
this.apikey = '';
|
10
|
+
this.chatwoot = null;
|
11
|
+
this.instanceId = '';
|
12
|
+
this.instanceName = '';
|
13
|
+
this.owner = '';
|
14
|
+
this.profileName = '';
|
15
|
+
this.profilePictureUrl = '';
|
16
|
+
this.profileStatus = '';
|
17
|
+
this.serverUrl = '';
|
18
|
+
this.status = '';
|
19
|
+
if (data) {
|
20
|
+
for (var key in data) {
|
21
|
+
if (data.hasOwnProperty(key) && key in this) {
|
22
|
+
this[key] = data[key];
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
return EvolutionInstanceEntity;
|
28
|
+
}());
|
29
|
+
exports.EvolutionInstanceEntity = EvolutionInstanceEntity;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionQrcodeEntity = void 0;
|
4
|
+
var EvolutionQrcodeEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function EvolutionQrcodeEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.base64 = null;
|
10
|
+
this.code = null;
|
11
|
+
this.count = 0;
|
12
|
+
this.pairingCode = null;
|
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 EvolutionQrcodeEntity;
|
22
|
+
}());
|
23
|
+
exports.EvolutionQrcodeEntity = EvolutionQrcodeEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionMessageResponseEntity = exports.EvolutionMessageKeyResponseEntity = void 0;
|
4
|
+
var message_key_entity_1 = require("./message-key.entity");
|
5
|
+
Object.defineProperty(exports, "EvolutionMessageKeyResponseEntity", { enumerable: true, get: function () { return message_key_entity_1.EvolutionMessageKeyResponseEntity; } });
|
6
|
+
var message_entity_1 = require("./message.entity");
|
7
|
+
Object.defineProperty(exports, "EvolutionMessageResponseEntity", { enumerable: true, get: function () { return message_entity_1.EvolutionMessageResponseEntity; } });
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionMessageKeyResponseEntity = void 0;
|
4
|
+
var EvolutionMessageKeyResponseEntity = /** @class */ (function () {
|
5
|
+
function EvolutionMessageKeyResponseEntity() {
|
6
|
+
// #region Properties (3)
|
7
|
+
this.fromMe = false;
|
8
|
+
this.id = '';
|
9
|
+
this.remoteJid = '';
|
10
|
+
// #endregion Properties (3)
|
11
|
+
}
|
12
|
+
return EvolutionMessageKeyResponseEntity;
|
13
|
+
}());
|
14
|
+
exports.EvolutionMessageKeyResponseEntity = EvolutionMessageKeyResponseEntity;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionMessageResponseEntity = void 0;
|
4
|
+
var EvolutionMessageResponseEntity = /** @class */ (function () {
|
5
|
+
function EvolutionMessageResponseEntity() {
|
6
|
+
// #region Properties (4)
|
7
|
+
this.key = null;
|
8
|
+
this.message = null;
|
9
|
+
this.messageTimestamp = null;
|
10
|
+
this.status = null;
|
11
|
+
// #endregion Properties (4)
|
12
|
+
}
|
13
|
+
return EvolutionMessageResponseEntity;
|
14
|
+
}());
|
15
|
+
exports.EvolutionMessageResponseEntity = EvolutionMessageResponseEntity;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionTypeBotEntity = void 0;
|
4
|
+
var EvolutionTypeBotEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function EvolutionTypeBotEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.instanceName = '';
|
10
|
+
this.typebot = new typeBot();
|
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 EvolutionTypeBotEntity;
|
20
|
+
}());
|
21
|
+
exports.EvolutionTypeBotEntity = EvolutionTypeBotEntity;
|
22
|
+
var typeBot = /** @class */ (function () {
|
23
|
+
function typeBot() {
|
24
|
+
this.enabled = true;
|
25
|
+
this.url = '';
|
26
|
+
this.typebot = '';
|
27
|
+
this.expire = 20;
|
28
|
+
this.keywordFinish = '#SAIR';
|
29
|
+
this.delayMessage = 1000;
|
30
|
+
this.unknownMessage = 'Mensagem não reconhecida';
|
31
|
+
this.listeningFromMe = false;
|
32
|
+
}
|
33
|
+
return typeBot;
|
34
|
+
}());
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionWebhookEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
5
|
+
var EvolutionWebhookEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (5)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function EvolutionWebhookEntity(data) {
|
9
|
+
// #region Properties (5)
|
10
|
+
this.enabled = true;
|
11
|
+
this.events = [
|
12
|
+
enums_1.EEvolutionEvent.QRCODE_UPDATED,
|
13
|
+
enums_1.EEvolutionEvent.MESSAGES_UPSERT,
|
14
|
+
enums_1.EEvolutionEvent.MESSAGES_UPDATE,
|
15
|
+
enums_1.EEvolutionEvent.MESSAGES_DELETE,
|
16
|
+
enums_1.EEvolutionEvent.SEND_MESSAGE,
|
17
|
+
enums_1.EEvolutionEvent.CONNECTION_UPDATE,
|
18
|
+
enums_1.EEvolutionEvent.CALL,
|
19
|
+
];
|
20
|
+
this.url = '';
|
21
|
+
this.webhookBase64 = false;
|
22
|
+
this.webhookByEvents = false;
|
23
|
+
if (data) {
|
24
|
+
for (var key in data) {
|
25
|
+
if (data.hasOwnProperty(key) && key in this) {
|
26
|
+
this[key] = data[key];
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
return EvolutionWebhookEntity;
|
32
|
+
}());
|
33
|
+
exports.EvolutionWebhookEntity = EvolutionWebhookEntity;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EEvolutionEvent = void 0;
|
4
|
+
var EEvolutionEvent;
|
5
|
+
(function (EEvolutionEvent) {
|
6
|
+
EEvolutionEvent["APPLICATION_STARTUP"] = "APPLICATION_STARTUP";
|
7
|
+
EEvolutionEvent["QRCODE_UPDATED"] = "QRCODE_UPDATED";
|
8
|
+
EEvolutionEvent["MESSAGES_SET"] = "MESSAGES_SET";
|
9
|
+
EEvolutionEvent["MESSAGES_UPSERT"] = "MESSAGES_UPSERT";
|
10
|
+
EEvolutionEvent["MESSAGES_UPDATE"] = "MESSAGES_UPDATE";
|
11
|
+
EEvolutionEvent["MESSAGES_DELETE"] = "MESSAGES_DELETE";
|
12
|
+
EEvolutionEvent["SEND_MESSAGE"] = "SEND_MESSAGE";
|
13
|
+
EEvolutionEvent["CONTACTS_SET"] = "CONTACTS_SET";
|
14
|
+
EEvolutionEvent["CONTACTS_UPSERT"] = "CONTACTS_UPSERT";
|
15
|
+
EEvolutionEvent["CONTACTS_UPDATE"] = "CONTACTS_UPDATE";
|
16
|
+
EEvolutionEvent["CALL"] = "CALL";
|
17
|
+
EEvolutionEvent["PRESENCE_UPDATE"] = "PRESENCE_UPDATE";
|
18
|
+
EEvolutionEvent["CHATS_SET"] = "CHATS_SET";
|
19
|
+
EEvolutionEvent["CHATS_UPSERT"] = "CHATS_UPSERT";
|
20
|
+
EEvolutionEvent["CHATS_UPDATE"] = "CHATS_UPDATE";
|
21
|
+
EEvolutionEvent["CHATS_DELETE"] = "CHATS_DELETE";
|
22
|
+
EEvolutionEvent["GROUPS_UPSERT"] = "GROUPS_UPSERT";
|
23
|
+
EEvolutionEvent["GROUP_UPDATE"] = "GROUP_UPDATE";
|
24
|
+
EEvolutionEvent["GROUP_PARTICIPANTS_UPDATE"] = "GROUP_PARTICIPANTS_UPDATE";
|
25
|
+
EEvolutionEvent["CONNECTION_UPDATE"] = "CONNECTION_UPDATE";
|
26
|
+
EEvolutionEvent["NEW_JWT_TOKE"] = "NEW_JWT_TOKE";
|
27
|
+
})(EEvolutionEvent || (exports.EEvolutionEvent = EEvolutionEvent = {}));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EEvolutionInstanceType = exports.EEvolutionEvent = void 0;
|
4
|
+
var events_enum_1 = require("./events.enum");
|
5
|
+
Object.defineProperty(exports, "EEvolutionEvent", { enumerable: true, get: function () { return events_enum_1.EEvolutionEvent; } });
|
6
|
+
var instance_types_enum_1 = require("./instance-types.enum");
|
7
|
+
Object.defineProperty(exports, "EEvolutionInstanceType", { enumerable: true, get: function () { return instance_types_enum_1.EEvolutionInstanceType; } });
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EEvolutionInstanceType = void 0;
|
4
|
+
var EEvolutionInstanceType;
|
5
|
+
(function (EEvolutionInstanceType) {
|
6
|
+
EEvolutionInstanceType["WEBHOOK"] = "WEBHOOK";
|
7
|
+
EEvolutionInstanceType["CHATWOOT"] = "CHATWOOT";
|
8
|
+
EEvolutionInstanceType["TYPE_BOOT"] = "TYPE_BOOT";
|
9
|
+
EEvolutionInstanceType["BASIC"] = "BASIC";
|
10
|
+
EEvolutionInstanceType["WEBSOCKET"] = "WEBSOCKET";
|
11
|
+
EEvolutionInstanceType["RABBIT_MQ"] = "RABBIT_MQ";
|
12
|
+
})(EEvolutionInstanceType || (exports.EEvolutionInstanceType = EEvolutionInstanceType = {}));
|
@@ -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);
|