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,40 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NatiV1CartEntity = void 0;
|
4
|
-
var NatiV1CartEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (21)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function NatiV1CartEntity(data) {
|
8
|
-
// #region Properties (21)
|
9
|
-
this.addition = 0;
|
10
|
-
this.askedForTheBill = false;
|
11
|
-
this.blocked = false;
|
12
|
-
this.customerId = '';
|
13
|
-
this.desenfila = null;
|
14
|
-
this.dtAlteracao = new Date();
|
15
|
-
this.firstDate = new Date();
|
16
|
-
this.id = 0;
|
17
|
-
this.idOperadorCaixa = 0;
|
18
|
-
this.items = [];
|
19
|
-
this.lastDate = new Date();
|
20
|
-
this.people = 0;
|
21
|
-
this.qrCode = undefined;
|
22
|
-
this.tableId = 0;
|
23
|
-
this.terminalId = '';
|
24
|
-
this.total = 0;
|
25
|
-
this.useByUser = '';
|
26
|
-
this.uuid = '';
|
27
|
-
this.vrDesconto = 0;
|
28
|
-
this.vrLimite = 0;
|
29
|
-
this.wasReturned = false;
|
30
|
-
if (data) {
|
31
|
-
for (var key in data) {
|
32
|
-
if (data.hasOwnProperty(key) && key in this) {
|
33
|
-
this[key] = data[key];
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
return NatiV1CartEntity;
|
39
|
-
}());
|
40
|
-
exports.NatiV1CartEntity = NatiV1CartEntity;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NatiV1CartEntity = exports.NatiV1CartItemEntity = exports.NatiV1CartDesenfilaEntity = void 0;
|
4
|
-
var cart_desenfila_entity_1 = require("./cart-desenfila.entity");
|
5
|
-
Object.defineProperty(exports, "NatiV1CartDesenfilaEntity", { enumerable: true, get: function () { return cart_desenfila_entity_1.NatiV1CartDesenfilaEntity; } });
|
6
|
-
var cart_item_entity_1 = require("./cart-item.entity");
|
7
|
-
Object.defineProperty(exports, "NatiV1CartItemEntity", { enumerable: true, get: function () { return cart_item_entity_1.NatiV1CartItemEntity; } });
|
8
|
-
var cart_entity_1 = require("./cart.entity");
|
9
|
-
Object.defineProperty(exports, "NatiV1CartEntity", { enumerable: true, get: function () { return cart_entity_1.NatiV1CartEntity; } });
|
package/dist/nati-v1/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,7 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationEntity = exports.NotificationActionEntity = void 0;
|
4
|
-
var notification_action_entity_1 = require("./notification-action.entity");
|
5
|
-
Object.defineProperty(exports, "NotificationActionEntity", { enumerable: true, get: function () { return notification_action_entity_1.NotificationActionEntity; } });
|
6
|
-
var notification_entity_1 = require("./notification.entity");
|
7
|
-
Object.defineProperty(exports, "NotificationEntity", { enumerable: true, get: function () { return notification_entity_1.NotificationEntity; } });
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationActionEntity = void 0;
|
4
|
-
var enums_1 = require("../enums");
|
5
|
-
var NotificationActionEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (4)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function NotificationActionEntity(data) {
|
9
|
-
// #region Properties (4)
|
10
|
-
this.icon = '';
|
11
|
-
this.label = '';
|
12
|
-
this.type = enums_1.NotificationActionTypeEnum.URL;
|
13
|
-
this.value = '';
|
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 NotificationActionEntity;
|
23
|
-
}());
|
24
|
-
exports.NotificationActionEntity = NotificationActionEntity;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationEntity = void 0;
|
4
|
-
var enums_1 = require("../enums");
|
5
|
-
var notification_action_entity_1 = require("./notification-action.entity");
|
6
|
-
var NotificationEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (13)
|
8
|
-
// #region Constructors (1)
|
9
|
-
function NotificationEntity(data) {
|
10
|
-
// #region Properties (13)
|
11
|
-
this.action = new notification_action_entity_1.NotificationActionEntity();
|
12
|
-
this.category = enums_1.NotificationCategoryEnum.ALERT;
|
13
|
-
this.createdAt = new Date();
|
14
|
-
this.data = '';
|
15
|
-
this.description = '';
|
16
|
-
this.expirationTime = 3600;
|
17
|
-
this.id = '';
|
18
|
-
this.imageUrl = '';
|
19
|
-
this.priority = enums_1.NotificationPriorityEnum.HIGH;
|
20
|
-
this.sound = true;
|
21
|
-
this.status = enums_1.NotificationStatusEnum.DELIVERED;
|
22
|
-
this.title = '';
|
23
|
-
this.topicName = '';
|
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 NotificationEntity;
|
33
|
-
}());
|
34
|
-
exports.NotificationEntity = NotificationEntity;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationActionTypeEnum = void 0;
|
4
|
-
var NotificationActionTypeEnum;
|
5
|
-
(function (NotificationActionTypeEnum) {
|
6
|
-
NotificationActionTypeEnum["URL"] = "url";
|
7
|
-
NotificationActionTypeEnum["FUNCTION"] = "function";
|
8
|
-
NotificationActionTypeEnum["CUSTOM"] = "custom";
|
9
|
-
})(NotificationActionTypeEnum || (exports.NotificationActionTypeEnum = NotificationActionTypeEnum = {}));
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationCategoryEnum = void 0;
|
4
|
-
var NotificationCategoryEnum;
|
5
|
-
(function (NotificationCategoryEnum) {
|
6
|
-
NotificationCategoryEnum["INVITE"] = "invite";
|
7
|
-
NotificationCategoryEnum["DEVICE"] = "device";
|
8
|
-
NotificationCategoryEnum["LEAD"] = "lead";
|
9
|
-
NotificationCategoryEnum["TASK"] = "task";
|
10
|
-
NotificationCategoryEnum["MEETING"] = "meeting";
|
11
|
-
NotificationCategoryEnum["ALERT"] = "alert";
|
12
|
-
NotificationCategoryEnum["INFO"] = "info";
|
13
|
-
NotificationCategoryEnum["DANGER"] = "danger";
|
14
|
-
NotificationCategoryEnum["WARN"] = "warning";
|
15
|
-
NotificationCategoryEnum["UPDATE"] = "update";
|
16
|
-
NotificationCategoryEnum["OTHER"] = "other";
|
17
|
-
})(NotificationCategoryEnum || (exports.NotificationCategoryEnum = NotificationCategoryEnum = {}));
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationStatusEnum = exports.NotificationPriorityEnum = exports.NotificationCategoryEnum = exports.NotificationActionTypeEnum = void 0;
|
4
|
-
var action_type_enum_1 = require("./action-type.enum");
|
5
|
-
Object.defineProperty(exports, "NotificationActionTypeEnum", { enumerable: true, get: function () { return action_type_enum_1.NotificationActionTypeEnum; } });
|
6
|
-
var category_enum_1 = require("./category.enum");
|
7
|
-
Object.defineProperty(exports, "NotificationCategoryEnum", { enumerable: true, get: function () { return category_enum_1.NotificationCategoryEnum; } });
|
8
|
-
var priority_enum_1 = require("./priority.enum");
|
9
|
-
Object.defineProperty(exports, "NotificationPriorityEnum", { enumerable: true, get: function () { return priority_enum_1.NotificationPriorityEnum; } });
|
10
|
-
var status_enum_1 = require("./status.enum");
|
11
|
-
Object.defineProperty(exports, "NotificationStatusEnum", { enumerable: true, get: function () { return status_enum_1.NotificationStatusEnum; } });
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationPriorityEnum = void 0;
|
4
|
-
var NotificationPriorityEnum;
|
5
|
-
(function (NotificationPriorityEnum) {
|
6
|
-
NotificationPriorityEnum["LOW"] = "low";
|
7
|
-
NotificationPriorityEnum["MEDIUM"] = "medium";
|
8
|
-
NotificationPriorityEnum["HIGH"] = "high";
|
9
|
-
NotificationPriorityEnum["URGENT"] = "urgent";
|
10
|
-
})(NotificationPriorityEnum || (exports.NotificationPriorityEnum = NotificationPriorityEnum = {}));
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationStatusEnum = void 0;
|
4
|
-
var NotificationStatusEnum;
|
5
|
-
(function (NotificationStatusEnum) {
|
6
|
-
NotificationStatusEnum["DELIVERED"] = "delivered";
|
7
|
-
NotificationStatusEnum["READ"] = "read";
|
8
|
-
NotificationStatusEnum["FAILED"] = "failed";
|
9
|
-
NotificationStatusEnum["PLACED"] = "placed";
|
10
|
-
NotificationStatusEnum["SENT"] = "sent";
|
11
|
-
})(NotificationStatusEnum || (exports.NotificationStatusEnum = NotificationStatusEnum = {}));
|
@@ -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,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderAdditionalFeeEntity = void 0;
|
4
|
-
var OrderAdditionalFeeEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (2)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function OrderAdditionalFeeEntity(data) {
|
8
|
-
// #region Properties (2)
|
9
|
-
this.type = '';
|
10
|
-
this.value = 0;
|
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 OrderAdditionalFeeEntity;
|
20
|
-
}());
|
21
|
-
exports.OrderAdditionalFeeEntity = OrderAdditionalFeeEntity;
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderBenefitsEntity = void 0;
|
4
|
-
var OrderBenefitsEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (6)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function OrderBenefitsEntity(data) {
|
8
|
-
// #region Properties (6)
|
9
|
-
this.description = '';
|
10
|
-
this.id = '';
|
11
|
-
this.sponsorshipValues = [];
|
12
|
-
this.target = '';
|
13
|
-
this.targetId = '';
|
14
|
-
this.value = 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 OrderBenefitsEntity;
|
24
|
-
}());
|
25
|
-
exports.OrderBenefitsEntity = OrderBenefitsEntity;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderCancellationEntity = void 0;
|
4
|
-
var OrderCancellationEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (3)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function OrderCancellationEntity(data) {
|
8
|
-
// #region Properties (3)
|
9
|
-
this.cancellationBy = '';
|
10
|
-
this.cancellationCode = '';
|
11
|
-
this.reason = '';
|
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 OrderCancellationEntity;
|
21
|
-
}());
|
22
|
-
exports.OrderCancellationEntity = OrderCancellationEntity;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrdersCustomerPhoneEntity = void 0;
|
4
|
-
var OrdersCustomerPhoneEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (4)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function OrdersCustomerPhoneEntity(data) {
|
8
|
-
// #region Properties (4)
|
9
|
-
this.description = '';
|
10
|
-
this.localizer = '';
|
11
|
-
this.localizerExpiration = '';
|
12
|
-
this.number = '';
|
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 OrdersCustomerPhoneEntity;
|
22
|
-
}());
|
23
|
-
exports.OrdersCustomerPhoneEntity = OrdersCustomerPhoneEntity;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderCustomerEntity = void 0;
|
4
|
-
var customer_phone_entity_1 = require("./customer-phone.entity");
|
5
|
-
var OrderCustomerEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (7)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function OrderCustomerEntity(data) {
|
9
|
-
// #region Properties (7)
|
10
|
-
this.documentNumber = '';
|
11
|
-
this.email = '';
|
12
|
-
this.id = '';
|
13
|
-
this.name = '';
|
14
|
-
this.ordersCountOnMerchant = 0;
|
15
|
-
this.phone = new customer_phone_entity_1.OrdersCustomerPhoneEntity();
|
16
|
-
this.picture = '';
|
17
|
-
if (data) {
|
18
|
-
for (var key in data) {
|
19
|
-
if (data.hasOwnProperty(key) && key in this) {
|
20
|
-
this[key] = data[key];
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
25
|
-
return OrderCustomerEntity;
|
26
|
-
}());
|
27
|
-
exports.OrderCustomerEntity = OrderCustomerEntity;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderDeliveryEntity = void 0;
|
4
|
-
var general_1 = require("../../general");
|
5
|
-
var delivery_mode_enum_1 = require("../enums/delivery-mode.enum");
|
6
|
-
var OrderDeliveryEntity = /** @class */ (function () {
|
7
|
-
function OrderDeliveryEntity() {
|
8
|
-
// #region Properties (6)
|
9
|
-
this.deliveredBy = '';
|
10
|
-
this.deliveryAddress = new general_1.AddressEntity();
|
11
|
-
this.deliveryDateTime = '';
|
12
|
-
this.minimumCartValue = 0;
|
13
|
-
this.mode = delivery_mode_enum_1.EOrderDeliveryMode.DEFAULT;
|
14
|
-
this.preferential = false;
|
15
|
-
// #endregion Properties (6)
|
16
|
-
}
|
17
|
-
return OrderDeliveryEntity;
|
18
|
-
}());
|
19
|
-
exports.OrderDeliveryEntity = OrderDeliveryEntity;
|
@@ -1,43 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderTotalEntity = exports.OrderScaleEntity = exports.OrderScaleItemEntity = exports.OrderPaymentEntity = exports.OrderPaymentWalletEntity = exports.OrderPaymentPixEntity = exports.OrderPaymentMethodEntity = exports.OrderPaymentCashEntity = exports.OrderPaymentCardEntity = exports.OrderEntity = exports.OrderMerchantEntity = exports.OrderItemEntity = exports.OrderItemOptionEntity = exports.OrderItemCompositionEntity = exports.OrderDeliveryEntity = exports.OrderCustomerEntity = exports.OrdersCustomerPhoneEntity = exports.OrderCancellationEntity = exports.OrderBenefitsEntity = exports.OrderAdditionalFeeEntity = void 0;
|
4
|
-
var additional_fees_entity_1 = require("./additional-fees.entity");
|
5
|
-
Object.defineProperty(exports, "OrderAdditionalFeeEntity", { enumerable: true, get: function () { return additional_fees_entity_1.OrderAdditionalFeeEntity; } });
|
6
|
-
var benefits_entity_1 = require("./benefits.entity");
|
7
|
-
Object.defineProperty(exports, "OrderBenefitsEntity", { enumerable: true, get: function () { return benefits_entity_1.OrderBenefitsEntity; } });
|
8
|
-
var cancellation_entity_1 = require("./cancellation.entity");
|
9
|
-
Object.defineProperty(exports, "OrderCancellationEntity", { enumerable: true, get: function () { return cancellation_entity_1.OrderCancellationEntity; } });
|
10
|
-
var customer_phone_entity_1 = require("./customer-phone.entity");
|
11
|
-
Object.defineProperty(exports, "OrdersCustomerPhoneEntity", { enumerable: true, get: function () { return customer_phone_entity_1.OrdersCustomerPhoneEntity; } });
|
12
|
-
var customer_entity_1 = require("./customer.entity");
|
13
|
-
Object.defineProperty(exports, "OrderCustomerEntity", { enumerable: true, get: function () { return customer_entity_1.OrderCustomerEntity; } });
|
14
|
-
var delivery_entity_1 = require("./delivery.entity");
|
15
|
-
Object.defineProperty(exports, "OrderDeliveryEntity", { enumerable: true, get: function () { return delivery_entity_1.OrderDeliveryEntity; } });
|
16
|
-
var item_composition_entity_1 = require("./item-composition.entity");
|
17
|
-
Object.defineProperty(exports, "OrderItemCompositionEntity", { enumerable: true, get: function () { return item_composition_entity_1.OrderItemCompositionEntity; } });
|
18
|
-
var item_option_entity_1 = require("./item-option.entity");
|
19
|
-
Object.defineProperty(exports, "OrderItemOptionEntity", { enumerable: true, get: function () { return item_option_entity_1.OrderItemOptionEntity; } });
|
20
|
-
var item_entity_1 = require("./item.entity");
|
21
|
-
Object.defineProperty(exports, "OrderItemEntity", { enumerable: true, get: function () { return item_entity_1.OrderItemEntity; } });
|
22
|
-
var merchant_entity_1 = require("./merchant.entity");
|
23
|
-
Object.defineProperty(exports, "OrderMerchantEntity", { enumerable: true, get: function () { return merchant_entity_1.OrderMerchantEntity; } });
|
24
|
-
var order_entity_1 = require("./order.entity");
|
25
|
-
Object.defineProperty(exports, "OrderEntity", { enumerable: true, get: function () { return order_entity_1.OrderEntity; } });
|
26
|
-
var payment_card_entity_1 = require("./payment-card.entity");
|
27
|
-
Object.defineProperty(exports, "OrderPaymentCardEntity", { enumerable: true, get: function () { return payment_card_entity_1.OrderPaymentCardEntity; } });
|
28
|
-
var payment_cash_entity_1 = require("./payment-cash.entity");
|
29
|
-
Object.defineProperty(exports, "OrderPaymentCashEntity", { enumerable: true, get: function () { return payment_cash_entity_1.OrderPaymentCashEntity; } });
|
30
|
-
var payment_method_entity_1 = require("./payment-method.entity");
|
31
|
-
Object.defineProperty(exports, "OrderPaymentMethodEntity", { enumerable: true, get: function () { return payment_method_entity_1.OrderPaymentMethodEntity; } });
|
32
|
-
var payment_pix_entity_1 = require("./payment-pix.entity");
|
33
|
-
Object.defineProperty(exports, "OrderPaymentPixEntity", { enumerable: true, get: function () { return payment_pix_entity_1.OrderPaymentPixEntity; } });
|
34
|
-
var payment_wallet_entity_1 = require("./payment-wallet.entity");
|
35
|
-
Object.defineProperty(exports, "OrderPaymentWalletEntity", { enumerable: true, get: function () { return payment_wallet_entity_1.OrderPaymentWalletEntity; } });
|
36
|
-
var payment_entity_1 = require("./payment.entity");
|
37
|
-
Object.defineProperty(exports, "OrderPaymentEntity", { enumerable: true, get: function () { return payment_entity_1.OrderPaymentEntity; } });
|
38
|
-
var scale_item_entity_1 = require("./scale-item.entity");
|
39
|
-
Object.defineProperty(exports, "OrderScaleItemEntity", { enumerable: true, get: function () { return scale_item_entity_1.OrderScaleItemEntity; } });
|
40
|
-
var scale_price_entity_1 = require("./scale-price.entity");
|
41
|
-
Object.defineProperty(exports, "OrderScaleEntity", { enumerable: true, get: function () { return scale_price_entity_1.OrderScaleEntity; } });
|
42
|
-
var total_entity_1 = require("./total.entity");
|
43
|
-
Object.defineProperty(exports, "OrderTotalEntity", { enumerable: true, get: function () { return total_entity_1.OrderTotalEntity; } });
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderItemCompositionEntity = void 0;
|
4
|
-
var OrderItemCompositionEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (6)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function OrderItemCompositionEntity(data) {
|
8
|
-
// #region Properties (6)
|
9
|
-
this.amount = 0;
|
10
|
-
this.code = '';
|
11
|
-
this.description = '';
|
12
|
-
this.imageUrl = '';
|
13
|
-
this.quantity = 0;
|
14
|
-
this.unit = '';
|
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 OrderItemCompositionEntity;
|
24
|
-
}());
|
25
|
-
exports.OrderItemCompositionEntity = OrderItemCompositionEntity;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderItemOptionEntity = void 0;
|
4
|
-
var OrderItemOptionEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (15)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function OrderItemOptionEntity(data) {
|
8
|
-
// #region Properties (15)
|
9
|
-
this.ean = '';
|
10
|
-
this.externalCode = '';
|
11
|
-
this.id = '';
|
12
|
-
this.index = 0;
|
13
|
-
this.name = '';
|
14
|
-
this.options = [];
|
15
|
-
this.optionsPrice = 0;
|
16
|
-
this.preparationPlaceId = '';
|
17
|
-
this.price = 0;
|
18
|
-
this.productId = '';
|
19
|
-
this.quantity = 0;
|
20
|
-
this.skill = '';
|
21
|
-
this.totalPrice = 0;
|
22
|
-
this.unit = '';
|
23
|
-
this.weight = 0;
|
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 OrderItemOptionEntity;
|
33
|
-
}());
|
34
|
-
exports.OrderItemOptionEntity = OrderItemOptionEntity;
|
@@ -1,40 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderItemEntity = void 0;
|
4
|
-
var scale_price_entity_1 = require("./scale-price.entity");
|
5
|
-
var OrderItemEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (20)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function OrderItemEntity(data) {
|
9
|
-
// #region Properties (20)
|
10
|
-
this.composition = [];
|
11
|
-
this.ean = '';
|
12
|
-
this.externalCode = '';
|
13
|
-
this.id = '';
|
14
|
-
this.index = 0;
|
15
|
-
this.name = '';
|
16
|
-
this.observations = '';
|
17
|
-
this.options = [];
|
18
|
-
this.optionsPrice = 0;
|
19
|
-
this.picture = '';
|
20
|
-
this.preparationPlaceId = '';
|
21
|
-
this.price = 0;
|
22
|
-
this.productId = 0;
|
23
|
-
this.quantity = 0;
|
24
|
-
this.scalePrices = new scale_price_entity_1.OrderScaleEntity();
|
25
|
-
this.skill = '';
|
26
|
-
this.totalPrice = 0;
|
27
|
-
this.unit = '';
|
28
|
-
this.unitPrice = 0;
|
29
|
-
this.weight = 0;
|
30
|
-
if (data) {
|
31
|
-
for (var key in data) {
|
32
|
-
if (data.hasOwnProperty(key) && key in this) {
|
33
|
-
this[key] = data[key];
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
return OrderItemEntity;
|
39
|
-
}());
|
40
|
-
exports.OrderItemEntity = OrderItemEntity;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderMerchantEntity = void 0;
|
4
|
-
var OrderMerchantEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (5)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function OrderMerchantEntity(data) {
|
8
|
-
// #region Properties (5)
|
9
|
-
this.description = null;
|
10
|
-
this.doc = null;
|
11
|
-
this.docType = null;
|
12
|
-
this.id = null;
|
13
|
-
this.name = null;
|
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 OrderMerchantEntity;
|
23
|
-
}());
|
24
|
-
exports.OrderMerchantEntity = OrderMerchantEntity;
|
@@ -1,46 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderEntity = void 0;
|
4
|
-
var enums_1 = require("../enums");
|
5
|
-
var cancellation_entity_1 = require("./cancellation.entity");
|
6
|
-
var customer_entity_1 = require("./customer.entity");
|
7
|
-
var payment_entity_1 = require("./payment.entity");
|
8
|
-
var total_entity_1 = require("./total.entity");
|
9
|
-
var OrderEntity = /** @class */ (function () {
|
10
|
-
// #endregion Properties (22)
|
11
|
-
// #region Constructors (1)
|
12
|
-
function OrderEntity(data) {
|
13
|
-
// #region Properties (22)
|
14
|
-
this.additionalFees = [];
|
15
|
-
this.benefits = [];
|
16
|
-
this.cancellation = new cancellation_entity_1.OrderCancellationEntity();
|
17
|
-
this.companyId = '';
|
18
|
-
this.containerId = '';
|
19
|
-
this.createdAt = new Date();
|
20
|
-
this.customer = new customer_entity_1.OrderCustomerEntity();
|
21
|
-
this.delivery = null;
|
22
|
-
this.displayId = Math.round(Math.random() * 100000).toString();
|
23
|
-
this.id = '';
|
24
|
-
this.invoiceId = null;
|
25
|
-
this.items = [];
|
26
|
-
this.orderTiming = enums_1.EOrderTiming.IMMEDIATE;
|
27
|
-
this.orderType = null;
|
28
|
-
this.payments = new payment_entity_1.OrderPaymentEntity();
|
29
|
-
this.reference = null;
|
30
|
-
this.salesChannel = '';
|
31
|
-
this.sandbox = false;
|
32
|
-
this.status = enums_1.OrderStatusEnum.PENDING;
|
33
|
-
this.total = new total_entity_1.OrderTotalEntity();
|
34
|
-
this.updatedAt = new Date();
|
35
|
-
this.version = '';
|
36
|
-
if (data) {
|
37
|
-
for (var key in data) {
|
38
|
-
if (data.hasOwnProperty(key) && key in this) {
|
39
|
-
this[key] = data[key];
|
40
|
-
}
|
41
|
-
}
|
42
|
-
}
|
43
|
-
}
|
44
|
-
return OrderEntity;
|
45
|
-
}());
|
46
|
-
exports.OrderEntity = OrderEntity;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderPaymentCardEntity = void 0;
|
4
|
-
var OrderPaymentCardEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (1)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function OrderPaymentCardEntity(data) {
|
8
|
-
// #region Properties (1)
|
9
|
-
this.brand = '';
|
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 OrderPaymentCardEntity;
|
19
|
-
}());
|
20
|
-
exports.OrderPaymentCardEntity = OrderPaymentCardEntity;
|