cecon-interfaces 1.1.26 → 1.1.28
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/rabbit.entity.d.ts +4 -2
- package/dist/app/interfaces/i-rabbit.d.ts +2 -0
- package/dist/esm2022/app/entities/rabbit.entity.mjs +7 -5
- package/dist/esm2022/app/interfaces/i-rabbit.mjs +1 -1
- package/dist/esm2022/general/enums/bank-slip-status.enum.mjs +9 -0
- package/dist/esm2022/general/enums/index.mjs +2 -1
- package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
- package/dist/esm2022/invoice/entities/index.mjs +6 -2
- package/dist/esm2022/invoice/entities/invoice-bank-slip.entity.mjs +23 -0
- package/dist/esm2022/invoice/entities/invoice-credit-card.entity.mjs +21 -0
- package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +3 -8
- package/dist/esm2022/invoice/entities/invoice-log.entity.mjs +19 -0
- package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +22 -0
- package/dist/esm2022/invoice/entities/invoice-pix.entity.mjs +19 -0
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +36 -11
- package/dist/esm2022/invoice/enums/index.mjs +2 -2
- package/dist/esm2022/invoice/enums/invoices-status.enum.mjs +15 -15
- package/dist/esm2022/invoice/interfaces/i-invoice-bank-slip.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-credit-card.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
- package/dist/esm2022/invoice/interfaces/i-invoice-log.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice-pix.mjs +2 -0
- package/dist/esm2022/invoice/interfaces/i-invoice.mjs +1 -1
- package/dist/esm2022/invoice/interfaces/index.mjs +1 -1
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +153 -51
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/bank-slip-status.enum.d.ts +7 -0
- package/dist/general/enums/index.d.ts +1 -0
- package/dist/general/enums/payment-type.enum.d.ts +2 -1
- package/dist/invoice/entities/index.d.ts +5 -1
- package/dist/invoice/entities/invoice-bank-slip.entity.d.ts +11 -0
- package/dist/invoice/entities/invoice-credit-card.entity.d.ts +10 -0
- package/dist/invoice/entities/invoice-item.entity.d.ts +0 -5
- package/dist/invoice/entities/invoice-log.entity.d.ts +8 -0
- package/dist/invoice/entities/invoice-payer.entity.d.ts +11 -0
- package/dist/invoice/entities/invoice-pix.entity.d.ts +8 -0
- package/dist/invoice/entities/invoice.entity.d.ts +36 -8
- package/dist/invoice/enums/index.d.ts +1 -1
- package/dist/invoice/enums/invoices-status.enum.d.ts +1 -1
- package/dist/invoice/interfaces/i-invoice-bank-slip.d.ts +10 -0
- package/dist/invoice/interfaces/i-invoice-credit-card.d.ts +8 -0
- package/dist/invoice/interfaces/i-invoice-item.d.ts +0 -5
- package/dist/invoice/interfaces/i-invoice-log.d.ts +6 -0
- package/dist/invoice/interfaces/i-invoice-payer.d.ts +9 -0
- package/dist/invoice/interfaces/i-invoice-pix.d.ts +6 -0
- package/dist/invoice/interfaces/i-invoice.d.ts +38 -10
- package/dist/invoice/interfaces/index.d.ts +5 -1
- package/dist/package.json +1 -1
- package/dist/subscription/interfaces/i-subscription.d.ts +1 -1
- package/package.json +1 -1
- package/dist/app/entities/app.entity.js +0 -71
- package/dist/app/entities/index.js +0 -9
- package/dist/app/entities/natigo.entity.js +0 -28
- package/dist/app/entities/rabbit.entity.js +0 -42
- 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 -15
- package/dist/app/index.js +0 -20
- package/dist/app/interfaces/i-app.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/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/company/entities/company.entity.js +0 -49
- package/dist/company/entities/index.js +0 -6
- 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.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/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/esm2022/invoice/entities/invoice-payment-method.entity.mjs +0 -31
- package/dist/esm2022/invoice/interfaces/i-invoice-payment-method.mjs +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/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 -33
- 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 -15
- package/dist/general/enums/payment-type.enum.js +0 -25
- 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/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/index.js +0 -39
- package/dist/installation/entities/index.js +0 -5
- package/dist/installation/entities/installation-app.entity.js +0 -25
- package/dist/installation/entities/installation.entity.js +0 -34
- 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 -38
- 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 -9
- package/dist/invoice/entities/invoice-item.entity.js +0 -27
- package/dist/invoice/entities/invoice-payment-method.entity.d.ts +0 -20
- package/dist/invoice/entities/invoice-payment-method.entity.js +0 -35
- package/dist/invoice/entities/invoice.entity.js +0 -41
- 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-item.js +0 -2
- package/dist/invoice/interfaces/i-invoice-payment-method.d.ts +0 -18
- package/dist/invoice/interfaces/i-invoice-payment-method.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/customer.entity.js +0 -40
- package/dist/iugu/entities/index.js +0 -17
- 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-config-early-payment-discounts.js +0 -2
- package/dist/iugu/interfaces/i-customer.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 -51
- 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 -9
- 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/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/index.js +0 -39
- 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/order.entity.js +0 -38
- 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/index.js +0 -6
- package/dist/order/enums/order-status.enum.js +0 -42
- 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-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-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 -38
- 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 -32
- 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 -8
- 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/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/resume/entities/index.js +0 -17
- package/dist/resume/entities/resume-collection.entity.js +0 -23
- 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 -21
- package/dist/resume/index.js +0 -18
- 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/entities/index.js +0 -11
- package/dist/subscription/entities/subscription-company.entity.js +0 -25
- package/dist/subscription/entities/subscription-item.entity.js +0 -24
- package/dist/subscription/entities/subscription-log.entity.js +0 -23
- package/dist/subscription/entities/subscription.entity.js +0 -49
- package/dist/subscription/enums/index.js +0 -5
- package/dist/subscription/enums/subscription-status.enum.js +0 -14
- package/dist/subscription/index.js +0 -19
- package/dist/subscription/interfaces/i-subscription-company.js +0 -2
- package/dist/subscription/interfaces/i-subscription-item.js +0 -2
- package/dist/subscription/interfaces/i-subscription-log.js +0 -2
- package/dist/subscription/interfaces/i-subscription.js +0 -2
- package/dist/subscription/interfaces/index.js +0 -2
- package/dist/token/entities/index.js +0 -5
- package/dist/token/entities/token.entity.js +0 -32
- 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/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 -58
- 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
@@ -1,30 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CampaignEntity = void 0;
|
4
|
-
var enums_1 = require("../enums");
|
5
|
-
var CampaignEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (10)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function CampaignEntity(data) {
|
9
|
-
// #region Properties (10)
|
10
|
-
this.createdAt = new Date();
|
11
|
-
this.createdBy = '';
|
12
|
-
this.description = '';
|
13
|
-
this.endDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
|
14
|
-
this.id = '';
|
15
|
-
this.name = '';
|
16
|
-
this.partnerId = [];
|
17
|
-
this.startDate = new Date();
|
18
|
-
this.status = enums_1.ECampaignStatus.PLACED;
|
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 CampaignEntity;
|
29
|
-
}());
|
30
|
-
exports.CampaignEntity = CampaignEntity;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CampaignEntity = void 0;
|
4
|
-
var campaign_entity_1 = require("./campaign.entity");
|
5
|
-
Object.defineProperty(exports, "CampaignEntity", { enumerable: true, get: function () { return campaign_entity_1.CampaignEntity; } });
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ECampaignStatus = void 0;
|
4
|
-
var ECampaignStatus;
|
5
|
-
(function (ECampaignStatus) {
|
6
|
-
ECampaignStatus["ACTIVE"] = "ACTIVE";
|
7
|
-
ECampaignStatus["EXPIRED"] = "EXPIRED";
|
8
|
-
ECampaignStatus["PLACED"] = "PLACED";
|
9
|
-
ECampaignStatus["PAUSED"] = "PAUSED";
|
10
|
-
ECampaignStatus["CONCLUDED"] = "CONCLUDED";
|
11
|
-
})(ECampaignStatus || (exports.ECampaignStatus = ECampaignStatus = {}));
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ECampaignStatus = void 0;
|
4
|
-
var e_campaign_status_enum_1 = require("./e-campaign-status.enum");
|
5
|
-
Object.defineProperty(exports, "ECampaignStatus", { enumerable: true, get: function () { return e_campaign_status_enum_1.ECampaignStatus; } });
|
package/dist/campaign/index.js
DELETED
@@ -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,49 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CompanyEntity = void 0;
|
4
|
-
var general_1 = require("../../general");
|
5
|
-
var address_entity_1 = require("../../general/entities/address.entity");
|
6
|
-
var mobyo_apiconfig_entity_1 = require("../../general/entities/mobyo-apiconfig.entity");
|
7
|
-
var origin_entity_1 = require("../../general/entities/origin.entity");
|
8
|
-
var payment_provider_entity_1 = require("../../general/entities/payment-provider.entity");
|
9
|
-
var CompanyEntity = /** @class */ (function () {
|
10
|
-
// #endregion Properties (26)
|
11
|
-
// #region Constructors (1)
|
12
|
-
function CompanyEntity(data) {
|
13
|
-
// #region Properties (26)
|
14
|
-
this.active = false;
|
15
|
-
this.address = new address_entity_1.AddressEntity();
|
16
|
-
this.bgImageUrl = '';
|
17
|
-
this.config = new mobyo_apiconfig_entity_1.MobyoApiConfigEntity();
|
18
|
-
this.containerId = '';
|
19
|
-
this.createdAt = new Date();
|
20
|
-
this.deliveryArea = [];
|
21
|
-
this.deliveryAreaFixed = null;
|
22
|
-
this.doc = '';
|
23
|
-
this.docType = general_1.DocTypeEnum.CNPJ;
|
24
|
-
this.email = '';
|
25
|
-
this.fullName = '';
|
26
|
-
this.id = '';
|
27
|
-
this.imageUrl = '';
|
28
|
-
this.internationalCode = '+55';
|
29
|
-
this.logoUrl = '';
|
30
|
-
this.messagerChannels = [];
|
31
|
-
this.name = '';
|
32
|
-
this.origin = new origin_entity_1.OriginEntity();
|
33
|
-
this.paymentProvider = new payment_provider_entity_1.PaymentProviderEntity();
|
34
|
-
this.phoneNumber = '';
|
35
|
-
this.sandbox = false;
|
36
|
-
this.tags = [];
|
37
|
-
this.updatedAt = new Date();
|
38
|
-
this.version = '1.0.0';
|
39
|
-
if (data) {
|
40
|
-
for (var key in data) {
|
41
|
-
if (data.hasOwnProperty(key) && key in this) {
|
42
|
-
this[key] = data[key];
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
return CompanyEntity;
|
48
|
-
}());
|
49
|
-
exports.CompanyEntity = CompanyEntity;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
// index.ts
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.CompanyEntity = void 0;
|
5
|
-
var company_entity_1 = require("./company.entity");
|
6
|
-
Object.defineProperty(exports, "CompanyEntity", { enumerable: true, get: function () { return company_entity_1.CompanyEntity; } });
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
// index.ts
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.ECompanyMessageType = exports.ECompanyKeys = void 0;
|
5
|
-
var keys_enum_1 = require("./keys.enum");
|
6
|
-
Object.defineProperty(exports, "ECompanyKeys", { enumerable: true, get: function () { return keys_enum_1.ECompanyKeys; } });
|
7
|
-
var message_type_enum_1 = require("./message-type.enum");
|
8
|
-
Object.defineProperty(exports, "ECompanyMessageType", { enumerable: true, get: function () { return message_type_enum_1.ECompanyMessageType; } });
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ECompanyKeys = void 0;
|
4
|
-
var ECompanyKeys;
|
5
|
-
(function (ECompanyKeys) {
|
6
|
-
ECompanyKeys["GOOGLE"] = "GOOGLE";
|
7
|
-
ECompanyKeys["LOGGI"] = "LOGGI";
|
8
|
-
ECompanyKeys["DESENFILA"] = "DESENFILA";
|
9
|
-
ECompanyKeys["MOTTU"] = "MOTTU";
|
10
|
-
ECompanyKeys["ALGOLIA"] = "ALGOLIA";
|
11
|
-
})(ECompanyKeys || (exports.ECompanyKeys = ECompanyKeys = {}));
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ECompanyMessageType = void 0;
|
4
|
-
var ECompanyMessageType;
|
5
|
-
(function (ECompanyMessageType) {
|
6
|
-
ECompanyMessageType["WHATSAPP"] = "WHATSAPP";
|
7
|
-
ECompanyMessageType["INSTAGRAM"] = "INSTAGRAM";
|
8
|
-
ECompanyMessageType["SMS"] = "SMS";
|
9
|
-
})(ECompanyMessageType || (exports.ECompanyMessageType = ECompanyMessageType = {}));
|
package/dist/company/index.js
DELETED
@@ -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,39 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
3
|
-
var extendStatics = function (d, b) {
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
-
return extendStatics(d, b);
|
8
|
-
};
|
9
|
-
return function (d, b) {
|
10
|
-
if (typeof b !== "function" && b !== null)
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
-
extendStatics(d, b);
|
13
|
-
function __() { this.constructor = d; }
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
-
};
|
16
|
-
})();
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
-
exports.ContainerEntity = void 0;
|
19
|
-
var general_1 = require("../../general");
|
20
|
-
var ContainerEntity = /** @class */ (function (_super) {
|
21
|
-
__extends(ContainerEntity, _super);
|
22
|
-
// #endregion Properties (1)
|
23
|
-
// #region Constructors (1)
|
24
|
-
function ContainerEntity(data) {
|
25
|
-
var _this = _super.call(this, data) || this;
|
26
|
-
// #region Properties (1)
|
27
|
-
_this.name = '';
|
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 ContainerEntity;
|
38
|
-
}(general_1.BaseEntity));
|
39
|
-
exports.ContainerEntity = ContainerEntity;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ContainerEntity = void 0;
|
4
|
-
var container_entity_1 = require("./container.entity");
|
5
|
-
Object.defineProperty(exports, "ContainerEntity", { enumerable: true, get: function () { return container_entity_1.ContainerEntity; } });
|
package/dist/container/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,34 +0,0 @@
|
|
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.OsEnum.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;
|
@@ -1,8 +0,0 @@
|
|
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; } });
|
@@ -1,21 +0,0 @@
|
|
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;
|
package/dist/device/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,31 +0,0 @@
|
|
1
|
-
import { PaymentStatusEnum, PaymentTypeEnum } from '../../general';
|
2
|
-
export class InvoicePaymentMethodEntity {
|
3
|
-
// #region Properties (15)
|
4
|
-
amount = 0;
|
5
|
-
brand = '';
|
6
|
-
createdAt = new Date();
|
7
|
-
currency = '';
|
8
|
-
expMonth = 0;
|
9
|
-
expYear = 0;
|
10
|
-
id = '';
|
11
|
-
last4 = '';
|
12
|
-
name = '';
|
13
|
-
pixQrCode = '';
|
14
|
-
pixUrl = '';
|
15
|
-
status = PaymentStatusEnum.PENDING;
|
16
|
-
transactionId = '';
|
17
|
-
type = PaymentTypeEnum.CREDIT_CARD;
|
18
|
-
updatedAt = new Date();
|
19
|
-
// #endregion Properties (15)
|
20
|
-
// #region Constructors (1)
|
21
|
-
constructor(data) {
|
22
|
-
if (data) {
|
23
|
-
for (let key in data) {
|
24
|
-
if (data.hasOwnProperty(key) && key in this) {
|
25
|
-
this[key] = data[key];
|
26
|
-
}
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS1wYXltZW50LW1ldGhvZC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbnZvaWNlLXBheW1lbnQtbWV0aG9kLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsZUFBZSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR25FLE1BQU0sT0FBTywwQkFBMEI7SUFDbkMsMEJBQTBCO0lBRW5CLE1BQU0sR0FBVyxDQUFDLENBQUM7SUFDbkIsS0FBSyxHQUFXLEVBQUUsQ0FBQztJQUNuQixTQUFTLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FBQztJQUM3QixRQUFRLEdBQVcsRUFBRSxDQUFDO0lBQ3RCLFFBQVEsR0FBVyxDQUFDLENBQUM7SUFDckIsT0FBTyxHQUFXLENBQUMsQ0FBQztJQUNwQixFQUFFLEdBQVcsRUFBRSxDQUFDO0lBQ2hCLEtBQUssR0FBVyxFQUFFLENBQUM7SUFDbkIsSUFBSSxHQUFXLEVBQUUsQ0FBQztJQUNsQixTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLE1BQU0sR0FBVyxFQUFFLENBQUM7SUFDcEIsTUFBTSxHQUFzQixpQkFBaUIsQ0FBQyxPQUFPLENBQUM7SUFDdEQsYUFBYSxHQUFXLEVBQUUsQ0FBQztJQUMzQixJQUFJLEdBQW9CLGVBQWUsQ0FBQyxXQUFXLENBQUM7SUFDcEQsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFFcEMsNkJBQTZCO0lBRTdCLDJCQUEyQjtJQUUzQixZQUFZLElBQTBDO1FBQ2xELElBQUksSUFBSSxFQUFFO1lBQ04sS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ2xCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO29CQUN4QyxJQUFZLENBQUMsR0FBRyxDQUFDLEdBQUksSUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2lCQUMzQzthQUNKO1NBQ0o7SUFDTCxDQUFDO0NBR0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQYXltZW50U3RhdHVzRW51bSwgUGF5bWVudFR5cGVFbnVtIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XG5pbXBvcnQgeyBJSW52b2ljZVBheW1lbnRNZXRob2QgfSBmcm9tICcuLi9pbnRlcmZhY2VzJztcblxuZXhwb3J0IGNsYXNzIEludm9pY2VQYXltZW50TWV0aG9kRW50aXR5IGltcGxlbWVudHMgSUludm9pY2VQYXltZW50TWV0aG9kIHtcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDE1KVxuXG4gICAgcHVibGljIGFtb3VudDogbnVtYmVyID0gMDtcbiAgICBwdWJsaWMgYnJhbmQ6IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyBjcmVhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuICAgIHB1YmxpYyBjdXJyZW5jeTogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIGV4cE1vbnRoOiBudW1iZXIgPSAwO1xuICAgIHB1YmxpYyBleHBZZWFyOiBudW1iZXIgPSAwO1xuICAgIHB1YmxpYyBpZDogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIGxhc3Q0OiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgbmFtZTogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHBpeFFyQ29kZTogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHBpeFVybDogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHN0YXR1czogUGF5bWVudFN0YXR1c0VudW0gPSBQYXltZW50U3RhdHVzRW51bS5QRU5ESU5HO1xuICAgIHB1YmxpYyB0cmFuc2FjdGlvbklkOiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgdHlwZTogUGF5bWVudFR5cGVFbnVtID0gUGF5bWVudFR5cGVFbnVtLkNSRURJVF9DQVJEO1xuICAgIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxNSlcblxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gICAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8SW52b2ljZVBheW1lbnRNZXRob2RFbnRpdHk+KSB7XG4gICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLXBheW1lbnQtbWV0aG9kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludm9pY2UvaW50ZXJmYWNlcy9pLWludm9pY2UtcGF5bWVudC1tZXRob2QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBheW1lbnRTdGF0dXNFbnVtLCBQYXltZW50VHlwZUVudW0gfSBmcm9tICcuLi8uLi9nZW5lcmFsJztcblxuZXhwb3J0IGludGVyZmFjZSBJSW52b2ljZVBheW1lbnRNZXRob2Qge1xuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTUpXG5cbiAgICBhbW91bnQ6IG51bWJlcjtcbiAgICBicmFuZDogc3RyaW5nO1xuICAgIGNyZWF0ZWRBdDogRGF0ZTtcbiAgICBjdXJyZW5jeTogc3RyaW5nO1xuICAgIGV4cE1vbnRoOiBudW1iZXI7XG4gICAgZXhwWWVhcjogbnVtYmVyO1xuICAgIGlkOiBzdHJpbmc7XG4gICAgbGFzdDQ6IHN0cmluZztcbiAgICBuYW1lOiBzdHJpbmc7XG4gICAgcGl4UXJDb2RlOiBzdHJpbmc7XG4gICAgcGl4VXJsOiBzdHJpbmc7XG4gICAgc3RhdHVzOiBQYXltZW50U3RhdHVzRW51bTtcbiAgICB0cmFuc2FjdGlvbklkOiBzdHJpbmc7XG4gICAgdHlwZTogUGF5bWVudFR5cGVFbnVtO1xuICAgIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTUpXG59XG4iXX0=
|
@@ -1,30 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.FeatureEntity = void 0;
|
4
|
-
var FeatureEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (11)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function FeatureEntity(data) {
|
8
|
-
// #region Properties (11)
|
9
|
-
this.appId = '';
|
10
|
-
this.appMode = null;
|
11
|
-
this.companyId = '';
|
12
|
-
this.containerId = '';
|
13
|
-
this.createdAt = new Date();
|
14
|
-
this.deviceId = '';
|
15
|
-
this.id = '';
|
16
|
-
this.installationId = '';
|
17
|
-
this.name = '';
|
18
|
-
this.planId = null;
|
19
|
-
this.subscriptionId = '';
|
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 FeatureEntity;
|
29
|
-
}());
|
30
|
-
exports.FeatureEntity = FeatureEntity;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.FeatureEntity = void 0;
|
4
|
-
var feature_entity_1 = require("./feature.entity");
|
5
|
-
Object.defineProperty(exports, "FeatureEntity", { enumerable: true, get: function () { return feature_entity_1.FeatureEntity; } });
|
package/dist/feature/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,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AddressEntity = void 0;
|
4
|
-
var coords_entity_1 = require("./coords.entity");
|
5
|
-
var AddressEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (7)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function AddressEntity(data) {
|
9
|
-
// #region Properties (7)
|
10
|
-
this.city = '';
|
11
|
-
this.complement = '';
|
12
|
-
this.neighborhood = '';
|
13
|
-
this.postalCode = '';
|
14
|
-
this.state = '';
|
15
|
-
this.streetName = '';
|
16
|
-
this.streetNumber = '';
|
17
|
-
this.coords = new coords_entity_1.CoordsEntity();
|
18
|
-
if (data) {
|
19
|
-
for (var key in data) {
|
20
|
-
if (data.hasOwnProperty(key) && key in this) {
|
21
|
-
this[key] = data[key];
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
return AddressEntity;
|
27
|
-
}());
|
28
|
-
exports.AddressEntity = AddressEntity;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
// src/models/base.entity.ts
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.BaseEntity = void 0;
|
5
|
-
var BaseEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (6)
|
7
|
-
// #region Constructors (1)
|
8
|
-
function BaseEntity(data) {
|
9
|
-
// #region Properties (6)
|
10
|
-
this.active = true;
|
11
|
-
this.companyId = '';
|
12
|
-
this.containerId = '';
|
13
|
-
this.createdAt = new Date();
|
14
|
-
this.id = '';
|
15
|
-
this.updatedAt = new Date();
|
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 BaseEntity;
|
25
|
-
}());
|
26
|
-
exports.BaseEntity = BaseEntity;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CarouselImageEntity = void 0;
|
4
|
-
var CarouselImageEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (3)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function CarouselImageEntity(data) {
|
8
|
-
// #region Properties (3)
|
9
|
-
this.caption = '';
|
10
|
-
this.id = '';
|
11
|
-
this.url = '';
|
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 CarouselImageEntity;
|
21
|
-
}());
|
22
|
-
exports.CarouselImageEntity = CarouselImageEntity;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CoordsEntity = void 0;
|
4
|
-
var CoordsEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (2)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function CoordsEntity(data) {
|
8
|
-
// #region Properties (2)
|
9
|
-
this.latitude = 0;
|
10
|
-
this.longitude = 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 CoordsEntity;
|
20
|
-
}());
|
21
|
-
exports.CoordsEntity = CoordsEntity;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CustomVariableEntity = void 0;
|
4
|
-
var CustomVariableEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (2)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function CustomVariableEntity(data) {
|
8
|
-
// #region Properties (2)
|
9
|
-
this.name = "";
|
10
|
-
this.value = "";
|
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 CustomVariableEntity;
|
20
|
-
}());
|
21
|
-
exports.CustomVariableEntity = CustomVariableEntity;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DeliveryAreaEntity = void 0;
|
4
|
-
var DeliveryAreaEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (8)
|
6
|
-
// #region Constructors (1)
|
7
|
-
function DeliveryAreaEntity(data) {
|
8
|
-
// #region Properties (8)
|
9
|
-
this.deliveryFee = 0;
|
10
|
-
this.id = '';
|
11
|
-
this.latlngs = [];
|
12
|
-
this.maxTime = 0;
|
13
|
-
this.minTime = 0;
|
14
|
-
this.minimumOrderValue = 0;
|
15
|
-
this.name = '';
|
16
|
-
this.sequence = 0;
|
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 DeliveryAreaEntity;
|
26
|
-
}());
|
27
|
-
exports.DeliveryAreaEntity = DeliveryAreaEntity;
|