scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
1 lines • 407 kB
Source Map (JSON)
{"version":3,"file":"scheunemann-interfaces.mjs","sources":["../../src/general/entities/coords.entity.ts","../../src/general/entities/address.entity.ts","../../src/general/entities/base.entity.ts","../../src/general/entities/carousel-image.entity.ts","../../src/general/entities/custom-variable.entity.ts","../../src/general/entities/delivery-area.entity.ts","../../src/general/entities/dellivery-area-fixed.entity.ts","../../src/general/entities/messager-channel.entity.ts","../../src/general/entities/mobyo-apiconfig.entity.ts","../../src/general/enums/lead-origin.enum.ts","../../src/general/entities/origin.entity.ts","../../src/general/entities/payment-card.entity.ts","../../src/general/entities/payment-cash.entity.ts","../../src/general/enums/payment-channel.enum.ts","../../src/general/enums/payment-mode.enum.ts","../../src/general/enums/payment-type.enum.ts","../../src/general/entities/payment-method-option.entity.ts","../../src/general/entities/payment-method.entity.ts","../../src/general/entities/payment-pix.entity.ts","../../src/general/entities/payment-provider-agent.entity.ts","../../src/general/entities/payment-provider.entity.ts","../../src/general/entities/payment-token-data.entity.ts","../../src/general/entities/payment-token.entity.ts","../../src/general/entities/payment-wallet.entity.ts","../../src/general/entities/payment.entity.ts","../../src/general/entities/rating.entity.ts","../../src/general/entities/sponsorship-value.entity.ts","../../src/fcm-token-message/enums/skill.enum.ts","../../src/general/enums/bank-slip-status.enum.ts","../../src/general/enums/boolean-string.enum.ts","../../src/general/enums/desenfila-from.enum.ts","../../src/general/enums/doc-type.enum.ts","../../src/general/enums/e-discount-type.enum.ts","../../src/general/enums/fiscal-doc-model-code.enum.ts","../../src/general/enums/interval-type.enum.ts","../../src/general/enums/os.enum.ts","../../src/general/enums/payment-status.enum.ts","../../src/general/enums/person-type.enum.ts","../../src/general/enums/platform.enum.ts","../../src/general/enums/providers.enum.ts","../../src/general/enums/pubsub.enum.ts","../../src/general/enums/sponsorship-values.enum.ts","../../src/general/enums/custom-var.enum.ts","../../src/plan/enums/plans-feature-type.enum.ts","../../src/plan/enums/plans-identifier.enum.ts","../../src/plan/entities/feature.entity.ts","../../src/plan/entities/plan.entity.ts","../../src/general/interfaces/plan-custom-var.ts","../../src/general/interfaces/index.ts","../../src/app/enums/app-type.enum.ts","../../src/app/enums/header-type.enum.ts","../../src/app/enums/mode.enum.ts","../../src/app/entities/app.entity.ts","../../src/app/entities/desenfila-config-mepa.entity.ts","../../src/app/entities/desenfila-config.entity.ts","../../src/app/entities/desenfila-fee.entity.ts","../../src/app/entities/desenfila-token.entity.ts","../../src/app/entities/desenfila.entity.ts","../../src/evolution/entities/chatwoot.entity.ts","../../src/evolution/entities/evolution-database-queue.entity.ts","../../src/evolution/entities/hash.entity.ts","../../src/evolution/entities/instance.entity.ts","../../src/evolution/entities/qrcode.entity.ts","../../src/evolution/entities/evolution.entity.ts","../../src/evolution/entities/send-message/message-key.entity.ts","../../src/evolution/entities/send-message/message.entity.ts","../../src/evolution/entities/typebot.entity.ts","../../src/evolution/enums/events.enum.ts","../../src/evolution/enums/instance-types.enum.ts","../../src/evolution/entities/webhook.entity.ts","../../src/app/entities/nati-wa.entity.ts","../../src/app/enums/app-category.enum.ts","../../src/app/entities/natigo.entity.ts","../../src/app/entities/rabbit.entity.ts","../../src/history/entities/history.entity.ts","../../src/clause-theme/entities/clause.entity.ts","../../src/clause-theme/entities/theme.entity.ts","../../src/campaign/enums/e-campaign-status.enum.ts","../../src/campaign/entities/campaign.entity.ts","../../src/clients/entities/client-aplication-credential.entity.ts","../../src/clients/entities/client-aplication.entity.ts","../../src/clients/entities/client.entity.ts","../../src/company/entities/company-used-plans.entity.ts","../../src/company/entities/company.entity.ts","../../src/company/entities/index.ts","../../src/company/enums/keys.enum.ts","../../src/company/enums/message-type.enum.ts","../../src/company/enums/index.ts","../../src/container/entities/container.entity.ts","../../src/member/enums/member-rules.enum.ts","../../src/member/enums/member-type.enum.ts","../../src/member/entities/member.entity.ts","../../src/customer/entities/customer.entity.ts","../../src/customer/enums/status.enum.ts","../../src/customer/entities/terms-and-pricacy.entity.ts","../../src/customer/entities/customer-ib-chain.entity.ts","../../src/customer-member/entities/member.entity.ts","../../src/device/entities/device.entity.ts","../../src/device/entities/metadata.entity.ts","../../src/device/entities/index.ts","../../src/device/interfaces/index.ts","../../src/event-message/enums/event-message.enum.ts","../../src/event-message/entities/event-message.entity.ts","../../src/fcm-token-message/entities/fcm-data-received-desenfila-payment.entity.ts","../../src/fcm-token-message/entities/fcm-data-request-items.entity.ts","../../src/fcm-token-message/entities/token.entity.ts","../../src/feature/entities/feature.entity.ts","../../src/global-settings/enums/global-settings-type.enum.ts","../../src/global-settings/entities/claude-settings.entity.ts","../../src/global-settings/entities/gpt-settings.entity.ts","../../src/global-settings/entities/email-settings.entity.ts","../../src/global-settings/entities/invoice-settings.entity.ts","../../src/global-settings/entities/meli-settings.entity.ts","../../src/global-settings/enums/chat-gpt-endpoints.enum.ts","../../src/global-settings/entities/google-auth-settings.entity.ts","../../src/global-settings/entities/gemini-settings.entity.ts","../../src/installation/entities/installation-app.entity.ts","../../src/subscription-base/entities/subscription-base-item.entity.ts","../../src/subscription-base/entities/subscription-base-log.entity.ts","../../src/subscription-base/enums/subscription-status.enum.ts","../../src/subscription-base/entities/subscription-base.entity.ts","../../src/installation/entities/installation.entity.ts","../../src/installation/enums/status.enum.ts","../../src/invite/enums/status.enum.ts","../../src/invite/entities/invite.entity.ts","../../src/invoice/entities/invoice-bank-slip.entity.ts","../../src/invoice/entities/invoice-credit-card.entity.ts","../../src/invoice/entities/invoice-item.entity.ts","../../src/invoice/entities/invoice-log.entity.ts","../../src/invoice/entities/invoice-payer.entity.ts","../../src/invoice/entities/invoice-pix.entity.ts","../../src/master-setting/enums/master-setting.enum.ts","../../src/master-setting/enums/firebase-operator.enum.ts","../../src/master-setting/entities/master-setting.entity.ts","../../src/master-setting/entities/app-info.entity.ts","../../src/master-setting/entities/company-info.entity.ts","../../src/master-setting/entities/customer-info.entity.ts","../../src/invoice/enums/invoices-status.enum.ts","../../src/invoice/entities/invoice.entity.ts","../../src/iugu/entities/account-informations.entity.ts","../../src/iugu/entities/account-last-verification-request-data.entity.ts","../../src/iugu/entities/charge-credit-card.entity.ts","../../src/iugu/entities/customer.entity.ts","../../src/iugu/entities/invoice-bankslip.entity.ts","../../src/iugu/entities/invoice.entity.ts","../../src/iugu/enums/iugu-auto-advance.enum.ts","../../src/iugu/enums/iugu-bank.enum.ts","../../src/iugu/enums/iugu-status-invoice.enum.ts","../../src/iugu/entities/iugu-account.entity.ts","../../src/iugu/entities/payment-token-data.entity.ts","../../src/iugu/entities/payment-token.entity.ts","../../src/lead/enums/lead-status.enum.ts","../../src/lead/entities/lead.entity.ts","../../src/master/entities/master-v1.entity.ts","../../src/master/entities/master.entity.ts","../../src/monitor/entities/monitor.entity.ts","../../src/mottu/entities/address.entity.ts","../../src/mottu/entities/event-delivery-man.entity.ts","../../src/mottu/entities/event-requested-by.entity.ts","../../src/mottu/entities/event.entity.ts","../../src/mottu/entities/order-deliverer.entity.ts","../../src/mottu/entities/order-deliverery-man.entity.ts","../../src/mottu/entities/order-store.entity.ts","../../src/mottu/entities/order-preview.entity.ts","../../src/mottu/entities/order.entity.ts","../../src/mottu/entities/store-matrix.entity.ts","../../src/mottu/entities/store-responsible.entity.ts","../../src/mottu/entities/store.entity.ts","../../src/meli/enums/preference-auto-return.enum.ts","../../src/notification/enums/action-type.enum.ts","../../src/notification/enums/category.enum.ts","../../src/notification/enums/priority.enum.ts","../../src/notification/enums/status.enum.ts","../../src/notification/entities/notification-action.entity.ts","../../src/notification/entities/notification.entity.ts","../../src/order/entities/additional-fees.entity.ts","../../src/order/entities/benefits.entity.ts","../../src/order/entities/cancellation.entity.ts","../../src/order/entities/customer-phone.entity.ts","../../src/order/entities/customer.entity.ts","../../src/order/enums/delivery-mode.enum.ts","../../src/order/entities/delivery.entity.ts","../../src/order/entities/item-composition.entity.ts","../../src/order/entities/item-option.entity.ts","../../src/order/entities/scale-price.entity.ts","../../src/order/entities/item.entity.ts","../../src/order/entities/merchant.entity.ts","../../src/order/enums/order-status.enum.ts","../../src/order/enums/order-timing.enum.ts","../../src/order/enums/order-type.enum.ts","../../src/order/enums/index.ts","../../src/order/entities/payment.entity.ts","../../src/order/entities/total.entity.ts","../../src/order/entities/order.entity.ts","../../src/order/entities/payment-card.entity.ts","../../src/order/entities/payment-cash.entity.ts","../../src/order/entities/payment-method.entity.ts","../../src/order/entities/payment-pix.entity.ts","../../src/order/entities/payment-wallet.entity.ts","../../src/order/entities/scale-item.entity.ts","../../src/partner/entities/partner.entity.ts","../../src/product-global/enums/gtin-type.enum.ts","../../src/product-global/entities/product-brand.entity.ts","../../src/product-global/entities/product-ncm.entity.ts","../../src/product-global/entities/product.entity.ts","../../src/product-container/entities/product.entity.ts","../../src/product-company/entities/product.entity.ts","../../src/pubsub/entities/subscription-change-status.entity.ts","../../src/pubsub/enums/topics-type.enum.ts","../../src/purchases/entities/app-info.entity.ts","../../src/purchases/entities/purchase.entity.ts","../../src/requested-items/entities/requested-items-data.entity.ts","../../src/requested-items/entities/requested-items.entity.ts","../../src/resume/entities/resume-collection.entity.ts","../../src/resume/entities/resume-day.entity.ts","../../src/resume/entities/resume-hour.entity.ts","../../src/resume/entities/resume-month.entity.ts","../../src/resume/entities/resume-total.entity.ts","../../src/resume/entities/resume-year.entity.ts","../../src/resume/entities/resume.entity.ts","../../src/subscription-company/entities/subscription-profile.entity.ts","../../src/subscription-company/entities/subscription.entity.ts","../../src/subscription-customer/enums/type.enum.ts","../../src/subscription-customer/entities/customer-credit-limit.entity.ts","../../src/subscription-customer/entities/subscription.entity.ts","../../src/token/entities/token.entity.ts","../../src/transaction/enums/release-status.enum.ts","../../src/transaction/enums/transaction-status.enum.ts","../../src/transaction/enums/mp-status.enum.ts","../../src/transaction/enums/mp-status-detail.enum.ts","../../src/transaction/enums/operation-type.enum.ts","../../src/transaction/enums/payment-method-id.enum.ts","../../src/transaction/enums/payment-type-id.enum.ts","../../src/transaction/entities/transaction.entity.ts","../../src/transaction/entities/fee-detail.entity.ts","../../src/transaction/entities/transaction-balance.entity.ts","../../src/transaction/entities/transaction-total.entity.ts","../../src/transaction/entities/transaction-payment-method.entity.ts","../../src/verifier-token/entities/verifier-token.entity.ts","../../src/voucher/enums/e-voucher-status.enum.ts","../../src/voucher/enums/rule-types.enum.ts","../../src/voucher/enums/target-types.enum.ts","../../src/voucher/entities/voucher-rule.entity.ts","../../src/voucher/entities/voucher-sponsorship.entity.ts","../../src/voucher/entities/voucher.entity.ts","../../src/wa-server/enums/status.enum.ts","../../src/wa-server/entities/wa-server.entity.ts","../../src/withdraw/enums/withdraw-request-status.ts","../../src/withdraw/entities/withdraw-request.entity.ts","../../src/logss/entities/log.entity.ts","../../src/sponsor/entities/sponsor.entity.ts","../../src/question/entities/question.entity.ts","../../src/question/enums/question-cases.enum.ts","../../src/question/enums/input-types.enum.ts","../../src/question/enums/tribute-tax.enum.ts","../../src/question/enums/tribute-types.enum.ts","../../src/question/entities/sumula.entity.ts","../../src/pag-bank/enums/auth-method-type.enum.ts","../../src/pag-bank/enums/link-type.enum.ts","../../src/pag-bank/enums/method.enum.ts","../../src/pag-bank/enums/payment-method-type.enum.ts","../../src/pag-bank/enums/phone-type.enum.ts","../../src/pag-bank/enums/recurring-type.enum.ts","../../src/pag-bank/enums/status.enum.ts","../../src/pag-bank/enums/wallet.enum.ts","../../src/pag-bank/enums/brand.enum.ts","../../src/pag-bank/enums/config-option.enum.ts","../../src/pag-bank/enums/shipping-service-type.enum.ts","../../src/pag-bank/enums/shipping-type.enum.ts","../../src/pag-bank/enums/rel-link.enum.ts","../../src/gpt/enums/model.enum.ts","../../src/gpt/enums/role.enum.ts","../../src/gpt/entities/chat-gpt-message.entity.ts","../../src/gpt/entities/chat-gpt-choice.entity.ts","../../src/gpt/entities/chat-gpt-usage.entity.ts","../../src/gpt/entities/chat-gpt-response.entity.ts","../../src/gpt/enums/chat-type.enum.ts","../../src/envelope/interfaces/factory-envelope-array-pag.functions.ts","../../src/envelope/interfaces/factory-envelope-array.functions.ts","../../src/envelope/interfaces/factory-envelope.functions.ts","../../src/claude/enums/role.enum.ts","../../src/claude/entities/claude-message.entity.ts","../../src/claude/entities/claude-usage.entity.ts","../../src/claude/entities/claude-response.entity.ts","../../src/claude/enums/content-type.enum.ts","../../src/auth/dto/create-credential.dto.ts","../../src/auth/interfaces/errors.enum.ts","../../src/auth/payload/interfaces/rules.enum.ts","../../src/auth/index.ts","../../src/customer/entities/customer-data.entity.ts","../../src/subscription-unique/entities/subscription.entity.ts","../../src/gemini/entities/chat-gemini-usage.entity.ts","../../src/gemini/entities/chat-gemini-response.entity.ts","../../src/gemini/enums/model.enum.ts","../../src/gemini/enums/role.enum.ts","../../src/scheunemann-interfaces.ts"],"sourcesContent":["export class CoordsEntity {\n // #region Properties (2)\n\n public latitude: number = 0;\n public longitude: number = 0;\n\n // #endregion Properties (2)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<CoordsEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IAddress } from '../interfaces';\nimport { CoordsEntity } from './coords.entity';\n\nexport class AddressEntity implements IAddress {\n // #region Properties (8)\n\n public city: string = '';\n public complement: string | null = '';\n public coords: CoordsEntity = new CoordsEntity();\n public neighborhood: string = '';\n public postalCode: string = '';\n public state: string = '';\n public streetName: string = '';\n public streetNumber: string = '';\n\n // #endregion Properties (8)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<AddressEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IBase } from \"../interfaces\";\n\nexport class BaseEntity implements IBase{\n // #region Properties (6)\n\n public active: boolean = true;\n public createdAt: Date = new Date();\n public updatedAt: Date = new Date();\n public id: string = '';\n\n constructor(data?: Partial<BaseEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n}\n","import { ICarouselImage } from '../interfaces';\n\nexport class CarouselImageEntity implements ICarouselImage {\n // #region Properties (3)\n\n caption?: string = '';\n public id: string = '';\n public url: string = '';\n\n // #endregion Properties (3)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<CarouselImageEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}","import { ICustomVariable } from '../interfaces';\n\nexport class CustomVariableEntity implements ICustomVariable {\n // #region Properties (2)\n\n public name: string = '';\n public value: string | Date | boolean = '';\n\n // #endregion Properties (2)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<CustomVariableEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { CoordsEntity } from './coords.entity';\n\nexport class DeliveryAreaEntity {\n // #region Properties (8)\n\n public deliveryFee: number = 0;\n public id: string = '';\n public latlngs: CoordsEntity[] = [];\n public maxTime: number = 0;\n public minTime: number = 0;\n public minimumOrderValue: number = 0;\n public name: string = '';\n public sequence: number = 0;\n\n // #endregion Properties (8)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<DeliveryAreaEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","\nexport class DeliveryAreaFixedEntity {\n // #region Properties (5)\n\n public active: boolean = false;\n public deliveryFee: number = 0;\n public maxTime: number = 0;\n public minTime: number = 0;\n public minimumOrderValue: number = 0;\n\n // #endregion Properties (5)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<DeliveryAreaFixedEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","export class MessagerChannelEntity {\n // #region Properties (3)\n\n public channelId: string = '';\n public id: string = '';\n public type: string = '';\n\n // #endregion Properties (3)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<MessagerChannelEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","\nexport class MobyoApiConfigEntity {\n // #region Properties (6)\n\n public hasIntegration: boolean = false;\n public hasPrint: boolean = false;\n public integrationUrl: string = '';\n public printCols: number = 40;\n public printInterface: string = '';\n public printType: string = '';\n\n // #endregion Properties (6)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<MobyoApiConfigEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","export enum ELeadOrigin {\n FACEBOOK_ADS = 'Facebook Ads',\n GOOGLE_ADS = 'Google Ads',\n EMAIL_MARKETING = 'Email Marketing',\n REFERRED_BY_FRIEND = 'Indicação de amigo',\n ORGANIC_SEARCH = 'Busca orgânica',\n DIRECT_VISIT = 'Visita Direta',\n OTHERS = 'Outros',\n}\n","import { ELeadOrigin } from '../enums/lead-origin.enum';\n\nexport class OriginEntity {\n // #region Properties (6)\n\n campaign?: string = '';\n contactPoint?: string = '';\n public date: Number = 0;\n details?: string = '';\n referrer?: string = '';\n public type: ELeadOrigin = ELeadOrigin.OTHERS;\n\n // #endregion Properties (6)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<OriginEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IPaymentCard } from '../interfaces';\n\nexport class PaymentCardEntity implements IPaymentCard {\n // #region Properties (3)\n\n public brand: string = '';\n public maskedNumber: string = '';\n public tokenId: string = '';\n\n // #endregion Properties (3)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentCardEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IPaymentCash } from '../interfaces';\n\nexport class PaymentCashEntity implements IPaymentCash {\n // #region Properties (1)\n\n public changeFor: number = 0;\n\n // #endregion Properties (1)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentCashEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","export enum EPaymentChannel {\n APP = 'APP',\n DELIVERY = 'DELIVERY',\n AUTOMATION = 'AUTOMATION',\n PHONE = 'PHONE',\n MAIL = 'MAIL',\n KIOSK = 'KIOSK',\n QR_CODE = 'QR_CODE',\n WEBSITE = 'WEBSITE',\n}\n","export enum EPaymentMode {\n ELECTRONIC = 'ELECTRONIC',\n MANUAL = 'MANUAL',\n DIGITAL = 'DIGITAL',\n}\n","export enum EPaymentType {\n CREDIT_CARD = 'CREDIT_CARD',\n DEBIT_CARD = 'DEBIT_CARD',\n CASH = 'CASH',\n PIX = 'PIX',\n MOBILE_PAYMENT = 'MOBILE_PAYMENT',\n CHECK = 'CHECK',\n CRYPTOCURRENCY = 'CRYPTOCURRENCY',\n ELECTRONIC_BANKING = 'ELECTRONIC_BANKING',\n MONEY_ORDER = 'MONEY_ORDER',\n PREPAID_CARD = 'PREPAID_CARD',\n E_WALLET = 'E_WALLET',\n DIRECT_DEBIT = 'DIRECT_DEBIT',\n PAYPAL = 'PAYPAL',\n CHECKOUT_PRO = 'CHECKOUT_PRO',\n WIRE_TRANSFER = 'WIRE_TRANSFER',\n GIFT_CARD = 'GIFT_CARD',\n VOUCHER = 'VOUCHER',\n BILLING = 'BILLING',\n BANK_SLIP = 'BANK_SLIP',\n NONE = 'NONE',\n}\n","import { EPaymentChannel } from '../enums/payment-channel.enum';\nimport { EPaymentMode } from '../enums/payment-mode.enum';\nimport { EPaymentType } from '../enums/payment-type.enum';\nimport { IPaymentMethodOption } from '../interfaces';\n\nexport class PaymentMethodOptionEntity implements IPaymentMethodOption {\n // #region Properties (13)\n\n public active: boolean = false;\n public channel: EPaymentChannel = EPaymentChannel.AUTOMATION;\n public createdAt: Date = new Date();\n public fee: number = 0;\n public id: string = '';\n public index: number = 0;\n public maxAmount: number = 0;\n public minAmount: number = 0;\n public mode: EPaymentMode = EPaymentMode.MANUAL;\n public name: string = '';\n public token: string = '';\n public type: EPaymentType = EPaymentType.CREDIT_CARD;\n public updatedAt: Date = new Date();\n\n // #endregion Properties (13)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentMethodOptionEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { EPaymentType } from '..';\nimport { IPaymentMethod } from '../interfaces';\nimport { PaymentCardEntity } from './payment-card.entity';\nimport { PaymentCashEntity } from './payment-cash.entity';\nimport { PaymentPixEntity } from './payment-pix.entity';\nimport { PaymentWalletEntity } from './payment-wallet.entity';\n\nexport class PaymentMethodEntity implements IPaymentMethod {\n // #region Properties (11)\n\n card?: PaymentCardEntity | null = null;\n cash?: PaymentCashEntity | null = null;\n public code: string = '';\n public currency: 'BRL' = 'BRL';\n public id: string = '';\n public method: EPaymentType = EPaymentType.CASH;\n pix?: PaymentPixEntity | null = null;\n public prepaid: boolean = false;\n public type: 'ONLINE' | 'OFFLINE' = 'OFFLINE';\n public value: number = 0;\n wallet?: PaymentWalletEntity | null = null;\n\n // #endregion Properties (11)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentMethodEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IPaymentPix } from '../interfaces';\n\nexport class PaymentPixEntity implements IPaymentPix {\n // #region Properties (2)\n\n public pixKey: string = '';\n public urlQrImage: string = '';\n\n // #endregion Properties (2)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentPixEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IPaymentProviderAgent } from '../interfaces';\n\nexport class PaymentProviderAgentEntity implements IPaymentProviderAgent {\n // #region Properties (2)\n\n public accountId: string = '';\n public partnerId: string = '';\n name?: string = '';\n\n // #endregion Properties (2)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentProviderAgentEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { PaymentProviderAgentEntity } from './payment-provider-agent.entity';\nimport { PaymentTokenEntity } from './payment-token.entity';\n\nexport class PaymentProviderEntity {\n // #region Properties (13)\n\n public accountId: string = '';\n public active: boolean = false;\n public agent: PaymentProviderAgentEntity = new PaymentProviderAgentEntity();\n public customerId: string = '';\n public liveApiToken: string = '';\n public name: string = '';\n public paymentTokens: PaymentTokenEntity[] = [];\n public subscriptionId: string = '';\n subscriptions?: string = '';\n public testApiToken: string = '';\n public userApiToken: string = '';\n public verified: boolean = false;\n public verifiedAt: number = 0;\n\n // #endregion Properties (13)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentProviderEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","\nexport class PaymentTokenDataEntity {\n // #region Properties (7)\n\n public bin: string = '';\n public brand: string = '';\n public displayNumber: string = '';\n public firstDigits: string = '';\n public maskedNumber: string = '';\n public month: number = 0;\n public year: number = 0;\n\n // #endregion Properties (7)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentTokenDataEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { PaymentTokenDataEntity } from './payment-token-data.entity';\n\nexport class PaymentTokenEntity {\n // #region Properties (5)\n\n public customerId: string = '';\n public data: PaymentTokenDataEntity = new PaymentTokenDataEntity();\n public description: string = '';\n public id: string = '';\n public itemType: string = '';\n\n // #endregion Properties (5)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentTokenEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IPaymentWallet } from '../interfaces';\n\nexport class PaymentWalletEntity implements IPaymentWallet {\n // #region Properties (1)\n\n public name: string = '';\n\n // #endregion Properties (1)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentWalletEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IPayment } from '../interfaces';\nimport { PaymentMethodEntity } from './payment-method.entity';\n\nexport class PaymentEntity implements IPayment {\n // #region Properties (3)\n\n public methods: PaymentMethodEntity[] = [];\n public pending: number = 0;\n public prepaid: number = 0;\n\n // #endregion Properties (3)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PaymentEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n if (data.methods) {\n this.methods = data.methods.map((method) => new PaymentMethodEntity(method));\n } else {\n this.methods = [];\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IRating } from '../interfaces/i-rating';\n\nexport class RatingEntity implements IRating {\n // #region Properties (4)\n\n comment?: string = '';\n public createdAt: Date = new Date();\n public rating: number = 5;\n public userId: string = '';\n\n // #endregion Properties (4)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<RatingEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}","export class SponsorshipValueEntity {\n // #region Properties (2)\n\n public name: string = '';\n public value: number = 0;\n\n // #endregion Properties (2)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<SponsorshipValueEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","export enum EFcmSkill {\n PREVIEW_NATI_V1_ITEMS = 'PREVIEW_NATI_V1_ITEMS',\n REQUEST_NATI_V1_ITEMS = 'REQUEST_NATI_V1_ITEMS',\n RECEIVED_NATI_V1_ITEMS = 'REQUEST_NATI_V1_ITEMS',\n BLOCK_TAB = 'BLOCK_TAB',\n UNBLOCK_TAB = 'UNBLOCK_TAB',\n RECEIVED_DESENFILA_PAYMENT = 'RECEIVED_DESENFILA_PAYMENT',\n}\n","export enum EBankSlipStatus {\n REGISTERED = 'registered',\n PAID = 'paid',\n PENDING = 'pending',\n CANCELED = 'canceled',\n EXPIRED = 'expired',\n}\n","export enum EBooleanString {\n FALSE = 'false',\n TRUE = 'true',\n}\n","export enum EDesenfilaFrom {\n NATI = 'NATI',\n AUTOMATION = 'AUTOMATION',\n NATIPAY = 'NATIPAY',\n DESENFILA = 'DESENFILA',\n NATIST = 'NATIST',\n MOBYO = 'MOBYO',\n DEFAULT = 'DEFAULT' // outras fontes não mapeadas\n}\n","export enum EDocType {\n CPF = 'CPF',\n CNPJ = 'CNPJ',\n}\n","export enum EDiscountType {\n PERCENT = 'PERCENT',\n FIXED_AMOUNT = 'FIXED',\n}\n","export enum EFiscalDocModelCode {\n NFE = '55',\n CTE = '57',\n SAT = '59',\n ECF = '60',\n NFCOM = '62',\n BPE = '63',\n NFCE = '65',\n NF3E = '66',\n OS = '67',\n}\n","export enum EIntervalType {\n DAYS = 'DAYS',\n WEEKS = 'WEEKS',\n MONTHS = 'MONTHS',\n YEARS = \"YEARS\"\n}\n","export enum EOs {\n ANDROID = 'ANDROID',\n IOS = 'IOS',\n WINDOWS_PHONE = 'WINDOWS_PHONE',\n WINDOWS = 'WINDOWS',\n LINUX = 'LINUX',\n ELECTRON = 'ELECTRON',\n OTHER = 'OTHER',\n UNKNOWN = 'UNKNOWN',\n}\n","export enum EPaymentStatus {\n PENDING = 'PENDING',\n COMPLETED = 'COMPLETED',\n FAILED = 'FAILED',\n CANCELED = 'CANCELED',\n PAID = 'PAID',\n REFUNDED = 'REFUNDED',\n AUTHORIZED = 'AUTHORIZED',\n DECLINED = 'DECLINED',\n EXPIRED = 'EXPIRED',\n DISPUTED = 'DISPUTED',\n}\n","export enum ELegalEntiy {\n LEGAL = 'Pessoa Jurídica',\n INDIVIDUAL = 'Pessoa Física',\n}\n","export enum EPlatform {\n MOBILE = 'MOBILE',\n WEB = 'WEB',\n DESKTOP = 'DESKTOP',\n TABLET = 'TABLET',\n TV = 'TV',\n CHROMEBOOK = 'CHROMEBOOK',\n OTHER = 'OTHER',\n}\n","export enum EPaymentProvider {\n IUGU = 'IUGU',\n DESENFILA = 'DESENFILA',\n MERCADO_PAGO = 'MERCADO PAGO',\n STRIPE = 'STRIPE',\n PAYPAL = 'PAYPAL',\n OTHER = 'OTHER',\n}\n","export enum EPubSub {\n GENERAL = 'GENERAL',\n NATIGO = 'NATIGO',\n}\n","export enum ESponsorshipValues {\n MERCHANT = 'MERCHANT',\n PARTNER = 'PARTNER',\n PROVIDER = 'PROVIDER',\n UNKNOWN = 'UNKNOWN',\n}\n","export enum ECustomVariables {\n ID = 'ID',\n CUSTOM_FOOTER = 'CUSTOM_FOOTER',\n SECOND_OPINION = 'SECOND_OPINION',\n CAN_ATTACH_FILES = 'CAN_ATTACH_FILES',\n}\n","export enum EPlanFeatureType{\n FEATURE = 'FEATURE',\n DESCRIPTION = 'DESCRIPTION',\n}\n","export enum EPlanIdentifier {\n DEFAULT = 'DEFAULT',\n BASIC = 'BASIC',\n STANDARD = 'STANDARD',\n PREMIUM = 'PREMIUM',\n ENTERPRISE = 'ENTERPRISE',\n TRIAL = 'TRIAL',\n ULTIMATE = 'ULTIMATE',\n}\n","import { EPlanFeatureType } from \"../enums\";\nimport { IPlanFeature } from \"../interfaces\";\n\nexport class PlanFeatureEntity implements IPlanFeature {\n public appId: string = \"\";\n public createdAt: Date = new Date();\n public featureType: EPlanFeatureType = EPlanFeatureType.FEATURE;\n public id: string = \"\";\n public index: number = 0;\n public name: string = \"\";\n public planId: string = \"\";\n public price: number = 0;\n public quantity: number = 0;\n public credit: number = 0;\n public updatedAt: Date = new Date();\n\n constructor(data?: Partial<PlanFeatureEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n}\n","import { EIntervalType } from '../../general/enums';\nimport { EPlanIdentifier } from '../enums/plans-identifier.enum';\nimport { IPlan } from '../interfaces';\nimport { PlanFeatureEntity } from './feature.entity';\n\nexport class PlanEntity implements IPlan {\n // #region Properties (12)\n\n public createdAt: Date = new Date();\n public features: PlanFeatureEntity[] = [];\n public id: string = '';\n public identifier: EPlanIdentifier = EPlanIdentifier.DEFAULT;\n public index: number = 0;\n public interval: number = 12;\n public intervalType: EIntervalType = EIntervalType.MONTHS;\n public name: string = '';\n public price: number = 0;\n public tags: string[] = [];\n public trialDays: number = 0;\n public updatedAt: Date = new Date();\n public active: boolean = false;\n public isRecommended: boolean = false;\n\n // #endregion Properties (12)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<PlanEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { EPlanIdentifier } from '../../plan';\nimport { CustomVariableEntity } from '../entities';\nimport { ECustomVariables } from '../enums';\n\ntype PlanVariablesMapping = Record<EPlanIdentifier, CustomVariableEntity[]>;\n\nexport const PLAN_VARIABLES: PlanVariablesMapping = {\n [EPlanIdentifier.BASIC]: [\n {\n name: ECustomVariables.ID,\n value: EPlanIdentifier.BASIC,\n },\n ],\n [EPlanIdentifier.STANDARD]: [\n {\n name: ECustomVariables.ID,\n value: EPlanIdentifier.STANDARD,\n },\n {\n name: ECustomVariables.CUSTOM_FOOTER,\n value: true,\n },\n {\n name: ECustomVariables.SECOND_OPINION,\n value: true,\n },\n ],\n [EPlanIdentifier.ENTERPRISE]: [\n {\n name: ECustomVariables.ID,\n value: EPlanIdentifier.ENTERPRISE,\n },\n {\n name: ECustomVariables.CUSTOM_FOOTER,\n value: true,\n },\n {\n name: ECustomVariables.SECOND_OPINION,\n value: true,\n },\n {\n name: ECustomVariables.CAN_ATTACH_FILES,\n value: true,\n },\n ],\n [EPlanIdentifier.DEFAULT]: [\n {\n name: ECustomVariables.ID,\n value: EPlanIdentifier.DEFAULT,\n },\n ],\n [EPlanIdentifier.PREMIUM]: [\n {\n name: ECustomVariables.ID,\n value: EPlanIdentifier.PREMIUM,\n },\n ],\n [EPlanIdentifier.TRIAL]: [\n {\n name: ECustomVariables.ID,\n value: EPlanIdentifier.TRIAL,\n },\n ],\n [EPlanIdentifier.ULTIMATE]: [\n {\n name: ECustomVariables.ID,\n value: EPlanIdentifier.ULTIMATE,\n },\n ],\n};\n","// index.ts\n\nexport { IAddress } from './i-address';\nexport { IBase } from './i-base';\nexport { ICarouselImage } from './i-carousel-image';\nexport { ICoords } from './i-coords';\nexport { ICustomVariable } from './i-custom-variable';\nexport { IDeliveryArea } from './i-delivery-area';\nexport { IDeliveryAreaFixed } from './i-delivery-area-fixed';\nexport { IMessagerChannel } from './i-messager-channel';\nexport { IMobyoApiConfig } from './i-mobyo-api-config';\nexport { IOrigin } from './i-origin';\nexport { IPayment } from './i-payment';\nexport { IPaymentCard } from './i-payment-card';\nexport { IPaymentCash } from './i-payment-cash';\nexport { IPaymentMethod } from './i-payment-method';\nexport { IPaymentMethodOption } from './i-payment-method-option';\nexport { IPaymentPix } from './i-payment-pix';\nexport { IPaymentProvider } from './i-payment-provider';\nexport { IPaymentProviderAgent } from './i-payment-provider-agent';\nexport { IPaymentToken } from './i-payment-token';\nexport { IPaymentTokenData } from './i-payment-token-data';\nexport { IPaymentWallet } from './i-payment-wallet';\nexport { IRating } from './i-rating';\nexport { ISponsorshipValue } from './i-sponsorship-value';\nexport {PLAN_VARIABLES} from './plan-custom-var'\n","export enum EAppType {\n FREE = 'FREE',\n PAID = 'PAID',\n SUBSCRIPTION = 'SUBSCRIPTION',\n TRIAL = 'TRIAL',\n}\n","export enum EAppHeaderType {\n VIDEO = 'VIDEO',\n IMAGE = 'IMAGE',\n}\n","export enum EAppMode {\n APP = 'APP',\n CHECKOUT = 'CHECKOUT',\n SCREEN = 'SCREEN',\n NATI_GO = 'NATIGO',\n SAT_MANAGER = 'SAT-MANAGER',\n NATI_PDV = 'NATI-PDV',\n NATI_PHP = 'NATI_PHP',\n NATI_WHATSAPP = 'NATI_WA',\n NATI_TYPE_BOT = 'NATI_TYPE_BOT',\n NATI_ST = 'NATI_ST',\n RABBIT = 'RABBIT',\n FISCAL_MANAGER = 'FISCAL-MANAGER',\n NATI_SIGN = 'NATI-SIGN',\n DESENFILA = 'DESENFILA',\n NATIPAY = 'NATIPAY',\n NATIV2 = 'NATIV2',\n NATIADMIN = 'NATIADMIN',\n MOBYO = 'MOBYO',\n MOBYO_TAB = 'MOBYO_TAB',\n MOBYO_DELIVERY = 'MOBYO_DELIVERY',\n MOBYO_TOP = 'MOBYO_TOP',\n NONE = 'NONE',\n}\n","import { CarouselImageEntity, EIntervalType, RatingEntity } from '../../general';\nimport { EOs } from '../../general/enums/os.enum';\nimport { EPlatform } from '../../general/enums/platform.enum';\nimport { EAppCategory } from '../enums/app-category.enum';\nimport { EAppType } from '../enums/app-type.enum';\nimport { EAppHeaderType } from '../enums/header-type.enum';\nimport { EAppMode } from '../enums/mode.enum';\nimport { IApp } from '../interfaces/i-app';\n\nexport class AppEntity implements IApp {\n // #region Properties (33)\n\n public active: boolean = false;\n public activeInstalls: number = 0;\n /**\n * Indica se permite adicionar a assinatura\n */\n public allowAddSubscription: boolean = false;\n public allowDefaultDevice: boolean = false;\n public carousel: CarouselImageEntity[] = [];\n public categories: EAppCategory[] = [];\n public createdBy: string = '';\n public description: string = '';\n public downloadUrl: string = '';\n public features: string[] = [];\n public headerImage: string = '';\n public headerType: EAppHeaderType = EAppHeaderType.IMAGE;\n public headerVideo: string = '';\n public iconUrl: string = '';\n public id: string = '';\n public instanceNumberAllowed: number = 1;\n /**\n * Intervalo de tempo para o preço\n * @example\n * 1, 2, 3, 4, 5, 6, 7, 8, 9, 10\n * Para intervalType = MONTHS\n * 1 = 1 mês (mensal)\n *\n */\n public interval: number = 0;\n /**\n * Tipo de intervalo para o preço\n * @example\n * Mensal, Semanal, Diário\n */\n public intervalType: EIntervalType = EIntervalType.MONTHS;\n public isUnique: boolean = false;\n public mode: EAppMode = EAppMode.NONE;\n public name: string = '';\n /**\n * Indica se o app é gratuito ou não\n */\n public os: EOs[] = [];\n public platforms: EPlatform[] = [];\n public price: number = 0;\n public production: boolean = false;\n public ratings: RatingEntity[] = [];\n public secrets: string = '';\n public tags: string[] = [];\n public totalInstalls: number = 0;\n public trialTime = 0;\n public type: EAppType = EAppType.FREE;\n public versionCode: number = 1;\n public versionName: string = '';\n\n // #endregion Properties (33)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<AppEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IDesenfilaConfigMercadoPago } from '../interfaces/i-desenfila-config-mepa';\n\nexport class DesenfilaConfigMercadoPagoEntity implements IDesenfilaConfigMercadoPago {\n // #region Properties (4)\n\n public active: boolean = false;\n public automationFee: number = 0;\n public fee: number = 0;\n public mobyoFee: number = 0;\n\n // #endregion Properties (4)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<DesenfilaConfigMercadoPagoEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IDesenfilaConfig } from '../interfaces/i-desenfila-config';\nimport { IDesenfilaConfigMercadoPago } from '../interfaces/i-desenfila-config-mepa';\nimport { DesenfilaConfigMercadoPagoEntity } from './desenfila-config-mepa.entity';\n\nexport class DesenfilaConfigEntity implements IDesenfilaConfig {\n // #region Properties (3)\n\n public active: boolean = true;\n public id: string = '';\n public mercadoPago: IDesenfilaConfigMercadoPago = new DesenfilaConfigMercadoPagoEntity();\n\n // #endregion Properties (3)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<DesenfilaConfigEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { EDesenfilaFrom } from '../../general';\nimport { IDesenfilaFee } from '../interfaces/i-desenfila-fee';\n\nexport class DesenfilaFeeEntity implements IDesenfilaFee {\n // #region Properties (2)\n\n public type: EDesenfilaFrom = EDesenfilaFrom.DEFAULT;\n public value: number = 0.0099;\n\n // #endregion Properties (2)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<DesenfilaFeeEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IDesenfilaToken } from '../interfaces/i-desenfila-token';\n\nexport class DesenfilaTokenEntity implements IDesenfilaToken {\n // #region Properties (2)\n\n public id: string = '';\n public prefix: string | null = '';\n public masterConfig: boolean = false;\n\n // #endregion Properties (2)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<DesenfilaTokenEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IDesenfila, IDesenfilaFee } from '../interfaces';\nimport { DesenfilaConfigEntity } from './desenfila-config.entity';\nimport { DesenfilaTokenEntity } from './desenfila-token.entity';\n\nexport class DesenfilaEntity implements IDesenfila {\n // #region Properties (8)\n\n public balance: number = 0;\n public blockedBalance: number = 0;\n public config: DesenfilaConfigEntity | null = null;\n public containerId: string = '';\n public fees: IDesenfilaFee[] = [];\n public goLive: boolean = false;\n public merchantId: string = '';\n public token: DesenfilaTokenEntity | null = null;\n\n // #endregion Properties (8)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<DesenfilaEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IEvolutionChatWoot } from '../interfaces';\n\nexport class EvolutionChatWootEntity implements IEvolutionChatWoot {\n // #region Properties (7)\n\n public accountId: string = '';\n public enabled: boolean = false;\n public nameInbox: string = '';\n public signMsg: boolean = false;\n public token: string = '';\n public url: string = '';\n public webhookUrl: string = '';\n\n constructor(data?: Partial<EvolutionChatWootEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n // #endregion Properties (7)\n}\n","import { IEvolutionDatabaseQueue } from '../interfaces/i-evolution-database-queue';\n\nexport class EvolutionDatabaseQueueEntity implements IEvolutionDatabaseQueue {\n // #region Properties (11)\n\n public active: boolean = true;\n public baseUrl: string = '';\n public createdAt: number = Date.now();\n public id: string = '';\n public instanceName: string = '';\n public globalApikey: string = '';\n public log: string[] = [];\n public sendAt: number = 1713547959155;\n public notified: boolean = false;\n public notifiedAt: number = 0;\n public phoneNumber: string = '';\n public text: string = '';\n public updatedAt: number = Date.now();\n\n // #endregion Properties (11)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<EvolutionDatabaseQueueEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n}\n","import { IEvolutionHash } from '../interfaces';\n\nexport class EvolutionHashEntity implements IEvolutionHash {\n // #region Properties (1)\n\n public apikey: string = '';\n\n // #endregion Properties (1)\n\n // #region Constructors (1)\n\n constructor(data?: Partial<EvolutionHashEntity>) {\n if (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && key in this) {\n (this as any)[key] = (data as any)[key];\n }\n }\n }\n }\n\n // #endregion Constructors (1)\n}\n","import { IEvolutionChatWoot, IEvolutionInstance } from '../interfaces';\n\nexport class EvolutionInstanceEntity implements IEvolutionInstance {\n // #region Properties (10)