@hexabot-ai/api 3.2.2-alpha.1 → 3.2.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actions.service.d.ts +3 -3
- package/dist/actions/base-action.d.ts +3 -3
- package/dist/actions/create-action.d.ts +1 -1
- package/dist/actions/types.d.ts +3 -3
- package/dist/analytics/controllers/stats.controller.d.ts +1 -1
- package/dist/analytics/dto/stats.dto.d.ts +1 -1
- package/dist/analytics/entities/stats.entity.d.ts +1 -1
- package/dist/analytics/repositories/stats.repository.d.ts +1 -1
- package/dist/analytics/services/stats.service.d.ts +7 -7
- package/dist/attachment/controllers/attachment.controller.d.ts +1 -1
- package/dist/attachment/dto/attachment.dto.d.ts +2 -2
- package/dist/attachment/entities/attachment.entity.d.ts +3 -3
- package/dist/attachment/guards/attachment-ability.guard.d.ts +2 -2
- package/dist/attachment/repositories/attachment.repository.d.ts +2 -2
- package/dist/attachment/services/attachment.service.d.ts +3 -3
- package/dist/attachment/utilities/index.js +2 -2
- package/dist/attachment/utilities/index.js.map +1 -1
- package/dist/audit/controllers/audit-log.controller.d.ts +2 -2
- package/dist/audit/dto/audit-log.dto.d.ts +1 -1
- package/dist/audit/entities/audit-log.entity.d.ts +1 -1
- package/dist/audit/exporters/audit-backend.factory.d.ts +1 -1
- package/dist/audit/exporters/audit-safe.exporter.d.ts +1 -1
- package/dist/audit/repositories/audit-log.repository.d.ts +1 -1
- package/dist/audit/services/audit-log-record.service.d.ts +1 -1
- package/dist/bindings/base-binding-kind.d.ts +2 -2
- package/dist/bindings/runtime-bindings.service.d.ts +2 -2
- package/dist/bootstrap.js +8 -0
- package/dist/bootstrap.js.map +1 -1
- package/dist/channel/channel.controller.d.ts +1 -1
- package/dist/channel/channel.service.d.ts +5 -5
- package/dist/channel/dto/source.dto.d.ts +1 -1
- package/dist/channel/entities/source.entity.d.ts +2 -2
- package/dist/channel/lib/Handler.d.ts +7 -7
- package/dist/channel/lib/Handler.js +2 -2
- package/dist/channel/lib/Handler.js.map +1 -1
- package/dist/channel/lib/channel-event-bus.d.ts +1 -1
- package/dist/channel/lib/inbound-events/channel-inbound-event-context.d.ts +1 -1
- package/dist/channel/lib/inbound-events/channel-inbound-event-decoder.d.ts +1 -1
- package/dist/channel/lib/inbound-events/channel-inbound-event.d.ts +2 -2
- package/dist/channel/lib/inbound-events/message-inbound-event.d.ts +1 -1
- package/dist/channel/lib/transports/http-channel-handler.d.ts +2 -2
- package/dist/channel/lib/transports/websocket-channel-handler.d.ts +3 -3
- package/dist/channel/repositories/source.repository.d.ts +1 -1
- package/dist/channel/services/channel-attachment.service.d.ts +3 -3
- package/dist/channel/services/source.service.d.ts +3 -3
- package/dist/channel/services/subscriber-resolver.service.d.ts +2 -2
- package/dist/channel/source.controller.d.ts +1 -1
- package/dist/channel/webhook.controller.d.ts +1 -1
- package/dist/chat/chat.module.js +1 -1
- package/dist/chat/chat.module.js.map +1 -1
- package/dist/chat/controllers/label-group.controller.d.ts +1 -1
- package/dist/chat/controllers/label.controller.d.ts +1 -1
- package/dist/chat/controllers/message.controller.d.ts +2 -2
- package/dist/chat/controllers/subscriber.controller.d.ts +3 -3
- package/dist/chat/controllers/thread.controller.d.ts +2 -2
- package/dist/chat/dto/label-group.dto.d.ts +1 -1
- package/dist/chat/dto/label.dto.d.ts +1 -1
- package/dist/chat/dto/message.dto.d.ts +1 -1
- package/dist/chat/dto/subscriber.dto.d.ts +3 -3
- package/dist/chat/dto/thread.dto.d.ts +1 -1
- package/dist/chat/entities/label-group.entity.d.ts +1 -1
- package/dist/chat/entities/label.entity.d.ts +1 -1
- package/dist/chat/entities/message.entity.d.ts +2 -2
- package/dist/chat/entities/subscriber.entity.d.ts +4 -4
- package/dist/chat/entities/subscriber.entity.js +3 -1
- package/dist/chat/entities/subscriber.entity.js.map +1 -1
- package/dist/chat/entities/thread.entity.d.ts +2 -2
- package/dist/chat/repositories/label-group.repository.d.ts +1 -1
- package/dist/chat/repositories/label.repository.d.ts +1 -1
- package/dist/chat/repositories/message.repository.d.ts +1 -1
- package/dist/chat/repositories/subscriber.repository.d.ts +1 -1
- package/dist/chat/repositories/thread.repository.d.ts +1 -1
- package/dist/chat/services/chat.service.d.ts +4 -4
- package/dist/chat/services/label-group.service.d.ts +1 -1
- package/dist/chat/services/label.service.d.ts +1 -1
- package/dist/chat/services/message.service.d.ts +2 -2
- package/dist/chat/services/subscriber.service.d.ts +5 -5
- package/dist/chat/services/subscriber.service.js +2 -2
- package/dist/chat/services/subscriber.service.js.map +1 -1
- package/dist/chat/services/thread.service.d.ts +2 -2
- package/dist/chat/types/channel.d.ts +1 -1
- package/dist/cms/controllers/content-type.controller.d.ts +1 -1
- package/dist/cms/controllers/content.controller.d.ts +1 -1
- package/dist/cms/controllers/menu.controller.d.ts +2 -2
- package/dist/cms/dto/content.dto.d.ts +1 -1
- package/dist/cms/dto/contentType.dto.d.ts +2 -2
- package/dist/cms/dto/menu.dto.d.ts +1 -1
- package/dist/cms/entities/content-type.entity.d.ts +2 -2
- package/dist/cms/entities/content-type.entity.js +3 -2
- package/dist/cms/entities/content-type.entity.js.map +1 -1
- package/dist/cms/entities/content.entity.d.ts +2 -2
- package/dist/cms/entities/content.entity.js +4 -3
- package/dist/cms/entities/content.entity.js.map +1 -1
- package/dist/cms/entities/menu.entity.d.ts +1 -1
- package/dist/cms/repositories/content-type.repository.d.ts +1 -1
- package/dist/cms/repositories/content.repository.d.ts +1 -1
- package/dist/cms/repositories/menu.repository.d.ts +1 -1
- package/dist/cms/services/content-type.service.d.ts +2 -2
- package/dist/cms/services/content.service.d.ts +1 -1
- package/dist/cms/services/menu.service.d.ts +1 -1
- package/dist/cms/services/rag-backend.service.d.ts +2 -2
- package/dist/cms/services/rag-indexer.service.d.ts +2 -2
- package/dist/cms/services/rag-retriever.service.d.ts +1 -1
- package/dist/cms/services/rag.service.d.ts +4 -4
- package/dist/database/entities/base.entity.d.ts +1 -1
- package/dist/extension/cleanup.service.d.ts +3 -3
- package/dist/extension/extension.module.d.ts +1 -1
- package/dist/extension/types.d.ts +1 -1
- package/dist/extensions/actions/ai/agent.action.d.ts +3 -3
- package/dist/extensions/actions/ai/ai-base.action.d.ts +5 -5
- package/dist/extensions/actions/ai/generate-object.action.d.ts +2 -2
- package/dist/extensions/actions/ai/generate-object.base.action.d.ts +3 -3
- package/dist/extensions/actions/ai/generate-reply.action.d.ts +2 -2
- package/dist/extensions/actions/ai/generate-text.action.d.ts +2 -2
- package/dist/extensions/actions/ai/generate-text.base.action.d.ts +3 -3
- package/dist/extensions/actions/ai/infer-object.action.d.ts +2 -2
- package/dist/extensions/actions/ai/retrieve-content-rag.action.d.ts +1 -1
- package/dist/extensions/actions/memory/update-memory.action.d.ts +4 -4
- package/dist/extensions/actions/messaging/attachment.action.d.ts +3 -3
- package/dist/extensions/actions/messaging/await-reply.action.d.ts +4 -4
- package/dist/extensions/actions/messaging/buttons.action.d.ts +3 -3
- package/dist/extensions/actions/messaging/list.action.d.ts +3 -3
- package/dist/extensions/actions/messaging/message-action.base.d.ts +6 -6
- package/dist/extensions/actions/messaging/quick-replies.action.d.ts +3 -3
- package/dist/extensions/actions/messaging/text-message.action.d.ts +3 -3
- package/dist/extensions/actions/subscriber/handover.action.d.ts +1 -1
- package/dist/extensions/actions/subscriber/update-labels.action.d.ts +1 -1
- package/dist/extensions/actions/web/http-request.action.d.ts +1 -1
- package/dist/extensions/actions/web/http-request.action.js +15 -4
- package/dist/extensions/actions/web/http-request.action.js.map +1 -1
- package/dist/extensions/actions/web/send-mail.action.d.ts +4 -4
- package/dist/extensions/channels/web/base-web-channel.d.ts +6 -6
- package/dist/extensions/channels/web/base-web-channel.js +2 -2
- package/dist/extensions/channels/web/base-web-channel.js.map +1 -1
- package/dist/extensions/channels/web/inbound/events/base-web-inbound.event.d.ts +3 -3
- package/dist/extensions/channels/web/inbound/events/delivery.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/events/messages/attachment.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/events/messages/location.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/events/messages/payload.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/events/messages/postback.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/events/messages/quick-reply.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/events/messages/text.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/events/messages/web-message.event.d.ts +3 -3
- package/dist/extensions/channels/web/inbound/events/read.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/events/typing.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/events/unsupported.event.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/web-inbound-event-decoder.d.ts +2 -2
- package/dist/extensions/channels/web/inbound/web-inbound-message-encoder.d.ts +1 -1
- package/dist/extensions/channels/web/outbound/web-outbound-message-encoder.d.ts +4 -4
- package/dist/extensions/channels/web/services/web-history.service.d.ts +2 -2
- package/dist/extensions/channels/web/services/web-session.service.d.ts +6 -6
- package/dist/extensions/helpers/local-storage/index.helper.d.ts +2 -2
- package/dist/health/health.service.d.ts +3 -3
- package/dist/helper/helper.service.d.ts +2 -2
- package/dist/helper/lib/base-helper.d.ts +2 -2
- package/dist/helper/lib/base-storage-helper.d.ts +1 -1
- package/dist/helper/types.d.ts +1 -1
- package/dist/i18n/controllers/language.controller.d.ts +1 -1
- package/dist/i18n/controllers/translation.controller.d.ts +1 -1
- package/dist/i18n/dto/language.dto.d.ts +1 -1
- package/dist/i18n/dto/translation.dto.d.ts +1 -1
- package/dist/i18n/entities/language.entity.d.ts +1 -1
- package/dist/i18n/entities/translation.entity.d.ts +1 -1
- package/dist/i18n/repositories/language.repository.d.ts +1 -1
- package/dist/i18n/repositories/translation.repository.d.ts +1 -1
- package/dist/i18n/seeds/language.seed.d.ts +1 -1
- package/dist/i18n/seeds/translation.seed.d.ts +1 -1
- package/dist/i18n/services/i18n.service.d.ts +2 -2
- package/dist/i18n/services/language.service.d.ts +1 -1
- package/dist/i18n/services/translation.service.d.ts +3 -3
- package/dist/license/services/lemon-squeezy.service.js +2 -2
- package/dist/license/services/lemon-squeezy.service.js.map +1 -1
- package/dist/license/services/license.service.d.ts +5 -5
- package/dist/mailer/mailer.module.js +1 -49
- package/dist/mailer/mailer.module.js.map +1 -1
- package/dist/mailer/mailer.service.d.ts +11 -2
- package/dist/mailer/mailer.service.js +69 -3
- package/dist/mailer/mailer.service.js.map +1 -1
- package/dist/migration/migration.command.d.ts +1 -1
- package/dist/migration/migration.service.d.ts +3 -3
- package/dist/migration/types.d.ts +2 -2
- package/dist/setting/base-setting-group.d.ts +2 -2
- package/dist/setting/controllers/setting.controller.d.ts +1 -1
- package/dist/setting/create-setting-group.d.ts +2 -2
- package/dist/setting/dto/metadata.dto.d.ts +1 -1
- package/dist/setting/dto/setting.dto.d.ts +1 -1
- package/dist/setting/entities/metadata.entity.d.ts +1 -1
- package/dist/setting/entities/setting.entity.d.ts +1 -1
- package/dist/setting/repositories/metadata.repository.d.ts +1 -1
- package/dist/setting/repositories/setting.repository.d.ts +1 -1
- package/dist/setting/runtime-settings.seed.d.ts +3 -3
- package/dist/setting/seeds/metadata.seed.d.ts +1 -1
- package/dist/setting/seeds/setting.seed.d.ts +1 -1
- package/dist/setting/services/metadata.service.d.ts +1 -1
- package/dist/setting/services/runtime-settings.service.d.ts +1 -1
- package/dist/setting/services/setting.service.d.ts +4 -4
- package/dist/static/assets/browser-ponyfill-BHrZk0Ba.js +2 -0
- package/dist/static/assets/{cssMode-ClQbC1-G.js → cssMode-BMhPv6LQ.js} +1 -1
- package/dist/static/assets/{freemarker2-DRxgvoL0.js → freemarker2-BeZMhdTv.js} +1 -1
- package/dist/static/assets/{handlebars-CTQECjcj.js → handlebars-BKG3g2Ua.js} +1 -1
- package/dist/static/assets/{html-DvVbNWXL.js → html-DGzTITbD.js} +1 -1
- package/dist/static/assets/{htmlMode-DHCoon1T.js → htmlMode-BqkaqtYx.js} +1 -1
- package/dist/static/assets/{index-BgFwJPy7.js → index-BZ6XUYgl.js} +2139 -2136
- package/dist/static/assets/{javascript-CiEs6Ej5.js → javascript-b5wI9R64.js} +1 -1
- package/dist/static/assets/{jsonMode-DTfAuumC.js → jsonMode-CHkAHll-.js} +1 -1
- package/dist/static/assets/{liquid-B714yIaN.js → liquid-DWtcf_ol.js} +1 -1
- package/dist/static/assets/{lspLanguageFeatures-r73pyfl4.js → lspLanguageFeatures-CogY5n0Q.js} +1 -1
- package/dist/static/assets/{mdx-D5IAs7yq.js → mdx-Bahv9Yam.js} +1 -1
- package/dist/static/assets/{python-ehBpsG6S.js → python-BMSmNQlB.js} +1 -1
- package/dist/static/assets/{razor-V-Gitx5J.js → razor-gQN4hgMu.js} +1 -1
- package/dist/static/assets/{tsMode-D_iFxZ-O.js → tsMode-lBRxNuK8.js} +1 -1
- package/dist/static/assets/{typescript-CEGzsf5j.js → typescript-BIY26e43.js} +1 -1
- package/dist/static/assets/{xml-N5EKZaXL.js → xml-CU3COlzI.js} +1 -1
- package/dist/static/assets/{yaml-IWZvbW4T.js → yaml-Bu2tB__J.js} +1 -1
- package/dist/static/assets/{yaml.worker.entry-BdO9k22I.js → yaml.worker.entry-BB81z30Q.js} +228 -228
- package/dist/static/index.html +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/controllers/auth.controller.d.ts +2 -2
- package/dist/user/controllers/credential.controller.d.ts +1 -1
- package/dist/user/controllers/model.controller.d.ts +3 -3
- package/dist/user/controllers/permission.controller.d.ts +2 -2
- package/dist/user/controllers/role.controller.d.ts +1 -1
- package/dist/user/controllers/user.controller.d.ts +3 -3
- package/dist/user/dto/credential.dto.d.ts +1 -1
- package/dist/user/dto/model.dto.d.ts +1 -1
- package/dist/user/dto/permission.dto.d.ts +1 -1
- package/dist/user/dto/role.dto.d.ts +1 -1
- package/dist/user/dto/user-profile.dto.d.ts +1 -1
- package/dist/user/dto/user.dto.d.ts +2 -2
- package/dist/user/entities/credential.entity.d.ts +1 -1
- package/dist/user/entities/model.entity.d.ts +2 -2
- package/dist/user/entities/model.entity.js +4 -3
- package/dist/user/entities/model.entity.js.map +1 -1
- package/dist/user/entities/permission.entity.d.ts +3 -3
- package/dist/user/entities/permission.entity.js +7 -7
- package/dist/user/entities/permission.entity.js.map +1 -1
- package/dist/user/entities/role.entity.d.ts +2 -2
- package/dist/user/entities/role.entity.js +3 -2
- package/dist/user/entities/role.entity.js.map +1 -1
- package/dist/user/entities/user-profile.entity.d.ts +3 -3
- package/dist/user/entities/user.entity.d.ts +1 -1
- package/dist/user/repositories/credential.repository.d.ts +1 -1
- package/dist/user/repositories/model.repository.d.ts +1 -1
- package/dist/user/repositories/permission.repository.d.ts +1 -1
- package/dist/user/repositories/role.repository.d.ts +1 -1
- package/dist/user/repositories/user.repository.d.ts +1 -1
- package/dist/user/seeds/model.seed.d.ts +1 -1
- package/dist/user/seeds/permission.seed.d.ts +1 -1
- package/dist/user/seeds/role.seed.d.ts +1 -1
- package/dist/user/seeds/user.seed.d.ts +1 -1
- package/dist/user/services/credential.service.d.ts +1 -1
- package/dist/user/services/model.service.d.ts +1 -1
- package/dist/user/services/passwordReset.service.d.ts +4 -4
- package/dist/user/services/permission.service.d.ts +1 -1
- package/dist/user/services/role.service.d.ts +1 -1
- package/dist/user/services/user.service.d.ts +1 -1
- package/dist/user/services/validate-account.service.d.ts +4 -4
- package/dist/utils/decorators/roles.decorator.d.ts +1 -1
- package/dist/utils/generics/base-orm.controller.d.ts +2 -2
- package/dist/utils/generics/base-orm.repository.d.ts +2 -2
- package/dist/utils/generics/base-orm.seeder.d.ts +1 -1
- package/dist/utils/generics/base-orm.service.d.ts +2 -2
- package/dist/utils/generics/extension.d.ts +3 -4
- package/dist/utils/generics/extension.js.map +1 -1
- package/dist/utils/helpers/zod.d.ts +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/pipes/uuid.pipe.js +3 -3
- package/dist/utils/pipes/uuid.pipe.js.map +1 -1
- package/dist/utils/test/dummy/controllers/dummy.controller.d.ts +1 -1
- package/dist/utils/test/dummy/dto/dummy.dto.d.ts +1 -1
- package/dist/utils/test/dummy/dummy.action.d.ts +1 -1
- package/dist/utils/test/dummy/entities/dummy.entity.d.ts +1 -1
- package/dist/utils/test/dummy/repositories/dummy.repository.d.ts +1 -1
- package/dist/utils/test/dummy/services/dummy.service.d.ts +1 -1
- package/dist/utils/test/fixtures/attachment.d.ts +1 -1
- package/dist/utils/test/fixtures/content.d.ts +2 -2
- package/dist/utils/test/fixtures/contenttype.d.ts +2 -2
- package/dist/utils/test/fixtures/contenttype.js +2 -2
- package/dist/utils/test/fixtures/contenttype.js.map +1 -1
- package/dist/utils/test/fixtures/dummy.d.ts +2 -2
- package/dist/utils/test/fixtures/label-group.d.ts +3 -3
- package/dist/utils/test/fixtures/label.d.ts +2 -2
- package/dist/utils/test/fixtures/language.d.ts +2 -2
- package/dist/utils/test/fixtures/mcp-server.d.ts +3 -3
- package/dist/utils/test/fixtures/memory-definition.d.ts +2 -2
- package/dist/utils/test/fixtures/memory-record.d.ts +2 -2
- package/dist/utils/test/fixtures/menu.d.ts +1 -1
- package/dist/utils/test/fixtures/message.d.ts +1 -1
- package/dist/utils/test/fixtures/migration.d.ts +1 -1
- package/dist/utils/test/fixtures/model.d.ts +2 -2
- package/dist/utils/test/fixtures/permission.d.ts +4 -4
- package/dist/utils/test/fixtures/role.d.ts +2 -2
- package/dist/utils/test/fixtures/setting.d.ts +1 -1
- package/dist/utils/test/fixtures/stats.d.ts +1 -1
- package/dist/utils/test/fixtures/subscriber.d.ts +4 -4
- package/dist/utils/test/fixtures/translation.d.ts +1 -1
- package/dist/utils/test/fixtures/user.d.ts +2 -2
- package/dist/utils/test/fixtures/workflow-run.d.ts +2 -2
- package/dist/utils/test/fixtures/workflow.d.ts +2 -2
- package/dist/utils/test/providers/i18n-service.provider.d.ts +1 -1
- package/dist/utils/test/providers/mailer-service.provider.d.ts +3 -3
- package/dist/utils/test/providers/setting-service.provider.d.ts +1 -1
- package/dist/utils/test/test.d.ts +4 -0
- package/dist/utils/test/test.js +34 -1
- package/dist/utils/test/test.js.map +1 -1
- package/dist/utils/test/types.d.ts +1 -1
- package/dist/utils/test/utils.d.ts +2 -1
- package/dist/utils/test/utils.js +181 -41
- package/dist/utils/test/utils.js.map +1 -1
- package/dist/utils/types/dto.types.d.ts +1 -1
- package/dist/utils/types/entity-event.types.d.ts +1 -1
- package/dist/websocket/services/socket-event-dispatcher.service.d.ts +1 -1
- package/dist/websocket/websocket.gateway.d.ts +6 -6
- package/dist/websocket/websocket.gateway.js +2 -2
- package/dist/websocket/websocket.gateway.js.map +1 -1
- package/dist/workflow/contexts/conversational-workflow.context.d.ts +1 -1
- package/dist/workflow/contexts/workflow-runtime.context.d.ts +10 -10
- package/dist/workflow/controllers/mcp-server.controller.d.ts +1 -1
- package/dist/workflow/controllers/memory-definition.controller.d.ts +1 -1
- package/dist/workflow/controllers/workflow-run.controller.d.ts +1 -1
- package/dist/workflow/controllers/workflow-version.controller.d.ts +1 -1
- package/dist/workflow/controllers/workflow.controller.d.ts +4 -4
- package/dist/workflow/dto/mcp-server.dto.d.ts +1 -1
- package/dist/workflow/dto/memory-definition.dto.d.ts +1 -1
- package/dist/workflow/dto/memory-record.dto.d.ts +1 -1
- package/dist/workflow/dto/workflow-run.dto.d.ts +1 -1
- package/dist/workflow/dto/workflow-version.dto.d.ts +1 -1
- package/dist/workflow/dto/workflow.dto.d.ts +1 -1
- package/dist/workflow/entities/mcp-server.entity.d.ts +2 -2
- package/dist/workflow/entities/memory-definition.entity.d.ts +1 -1
- package/dist/workflow/entities/memory-record.entity.d.ts +4 -4
- package/dist/workflow/entities/workflow-run.entity.d.ts +4 -4
- package/dist/workflow/entities/workflow-version.entity.d.ts +3 -3
- package/dist/workflow/entities/workflow-version.entity.js +6 -4
- package/dist/workflow/entities/workflow-version.entity.js.map +1 -1
- package/dist/workflow/entities/workflow.entity.d.ts +2 -2
- package/dist/workflow/lib/trigger-event-wrapper.d.ts +1 -1
- package/dist/workflow/repositories/mcp-server.repository.d.ts +1 -1
- package/dist/workflow/repositories/memory-definition.repository.d.ts +1 -1
- package/dist/workflow/repositories/memory-record.repository.d.ts +1 -1
- package/dist/workflow/repositories/workflow-run.repository.d.ts +1 -1
- package/dist/workflow/repositories/workflow-version.repository.d.ts +1 -1
- package/dist/workflow/repositories/workflow.repository.d.ts +1 -1
- package/dist/workflow/seeds/memory-definition.seed.d.ts +1 -1
- package/dist/workflow/seeds/workflow.seed.d.ts +1 -1
- package/dist/workflow/services/agentic.service.d.ts +4 -4
- package/dist/workflow/services/mcp-client-pool.service.d.ts +2 -2
- package/dist/workflow/services/mcp-server.service.d.ts +1 -1
- package/dist/workflow/services/memory-definition.service.d.ts +1 -1
- package/dist/workflow/services/memory-record.service.d.ts +1 -1
- package/dist/workflow/services/memory.service.js +1 -0
- package/dist/workflow/services/memory.service.js.map +1 -1
- package/dist/workflow/services/workflow-run.service.d.ts +1 -1
- package/dist/workflow/services/workflow-scheduler.service.d.ts +3 -3
- package/dist/workflow/services/workflow-version.service.d.ts +1 -1
- package/dist/workflow/services/workflow.service.d.ts +3 -3
- package/dist/workflow/utils/memory-store.js +12 -1
- package/dist/workflow/utils/memory-store.js.map +1 -1
- package/package.json +63 -32
- package/src/attachment/utilities/index.ts +2 -2
- package/src/bootstrap.ts +10 -1
- package/src/channel/lib/Handler.ts +3 -2
- package/src/chat/chat.module.ts +1 -1
- package/src/chat/entities/subscriber.entity.ts +14 -7
- package/src/chat/services/subscriber.service.ts +3 -2
- package/src/cms/entities/content-type.entity.ts +12 -4
- package/src/cms/entities/content.entity.ts +13 -5
- package/src/extensions/actions/web/http-request.action.ts +23 -4
- package/src/extensions/channels/web/base-web-channel.ts +3 -2
- package/src/global.d.ts +0 -6
- package/src/license/services/lemon-squeezy.service.ts +3 -2
- package/src/mailer/mailer.module.ts +1 -54
- package/src/mailer/mailer.service.ts +86 -2
- package/src/user/entities/model.entity.ts +13 -5
- package/src/user/entities/permission.entity.ts +21 -9
- package/src/user/entities/role.entity.ts +12 -4
- package/src/utils/generics/extension.ts +1 -3
- package/src/utils/index.ts +0 -2
- package/src/utils/pipes/uuid.pipe.ts +3 -3
- package/src/utils/test/fixtures/contenttype.ts +1 -1
- package/src/utils/test/test.ts +39 -0
- package/src/utils/test/utils.ts +278 -52
- package/src/websocket/websocket.gateway.ts +2 -2
- package/src/workflow/entities/workflow-version.entity.ts +8 -3
- package/src/workflow/services/memory.service.ts +1 -0
- package/src/workflow/utils/memory-store.ts +13 -1
- package/dist/mailer/mjml-adapter.class.d.ts +0 -4
- package/dist/mailer/mjml-adapter.class.js +0 -67
- package/dist/mailer/mjml-adapter.class.js.map +0 -1
- package/dist/utils/types/extension.d.ts +0 -4
- package/dist/utils/types/extension.js +0 -3
- package/dist/utils/types/extension.js.map +0 -1
- package/src/mailer/mjml-adapter.class.ts +0 -41
- package/src/utils/types/extension.ts +0 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IncomingMessageType, StdIncomingMessage, Payload } from '@hexabot-ai/types';
|
|
2
|
-
import { ChannelInboundEventContext } from
|
|
3
|
-
import { ChannelName } from
|
|
2
|
+
import { ChannelInboundEventContext } from "../../../../../../channel/lib/inbound-events";
|
|
3
|
+
import { ChannelName } from "../../../../../../channel/types";
|
|
4
4
|
import { Web } from '../../../types';
|
|
5
5
|
import WebMessageInboundEvent from './web-message.event';
|
|
6
6
|
export declare abstract class PayloadMessageInboundEvent<N extends ChannelName = ChannelName> extends WebMessageInboundEvent<N, Web.InboundMessage<Web.IncomingPayloadMessage>> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChannelInboundEventContext } from
|
|
2
|
-
import { ChannelName } from
|
|
1
|
+
import { ChannelInboundEventContext } from "../../../../../../channel/lib/inbound-events";
|
|
2
|
+
import { ChannelName } from "../../../../../../channel/types";
|
|
3
3
|
import { Web } from '../../../types';
|
|
4
4
|
import PayloadMessageInboundEvent from './payload.event';
|
|
5
5
|
export declare class PostbackInboundEvent<N extends ChannelName = ChannelName> extends PayloadMessageInboundEvent<N> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChannelInboundEventContext } from
|
|
2
|
-
import { ChannelName } from
|
|
1
|
+
import { ChannelInboundEventContext } from "../../../../../../channel/lib/inbound-events";
|
|
2
|
+
import { ChannelName } from "../../../../../../channel/types";
|
|
3
3
|
import { Web } from '../../../types';
|
|
4
4
|
import PayloadMessageInboundEvent from './payload.event';
|
|
5
5
|
export declare class QuickReplyInboundEvent<N extends ChannelName = ChannelName> extends PayloadMessageInboundEvent<N> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IncomingMessageType, StdIncomingMessage } from '@hexabot-ai/types';
|
|
2
|
-
import { ChannelInboundEventContext } from
|
|
3
|
-
import { ChannelName } from
|
|
2
|
+
import { ChannelInboundEventContext } from "../../../../../../channel/lib/inbound-events";
|
|
3
|
+
import { ChannelName } from "../../../../../../channel/types";
|
|
4
4
|
import { Web } from '../../../types';
|
|
5
5
|
import WebMessageInboundEvent from './web-message.event';
|
|
6
6
|
export declare class TextMessageInboundEvent<N extends ChannelName = ChannelName> extends WebMessageInboundEvent<N, Web.InboundMessage<Web.InboundTextMessage>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type ChannelHandler from
|
|
2
|
-
import { ChannelInboundEventContext, MessageInboundEvent } from
|
|
3
|
-
import { ChannelName } from
|
|
1
|
+
import type ChannelHandler from "../../../../../../channel/lib/Handler";
|
|
2
|
+
import { ChannelInboundEventContext, MessageInboundEvent } from "../../../../../../channel/lib/inbound-events";
|
|
3
|
+
import { ChannelName } from "../../../../../../channel/types";
|
|
4
4
|
import { Web } from '../../../types';
|
|
5
5
|
export declare abstract class WebMessageInboundEvent<N extends ChannelName = ChannelName, T extends Web.InboundMessageBase = Web.InboundMessageBase, C extends ChannelHandler<N> = ChannelHandler<N>> extends MessageInboundEvent<N, T, SubscriberChannelDict[N], C> {
|
|
6
6
|
protected constructor(context: ChannelInboundEventContext<N, T, SubscriberChannelDict[N]>, handler?: C);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StdEventType } from '@hexabot-ai/types';
|
|
2
|
-
import { ChannelInboundEventContext } from
|
|
3
|
-
import { ChannelName } from
|
|
2
|
+
import { ChannelInboundEventContext } from "../../../../../channel/lib/inbound-events";
|
|
3
|
+
import { ChannelName } from "../../../../../channel/types";
|
|
4
4
|
import { Web } from '../../types';
|
|
5
5
|
import BaseWebInboundEvent from './base-web-inbound.event';
|
|
6
6
|
export declare class ReadNotificationInboundEvent<N extends ChannelName = ChannelName> extends BaseWebInboundEvent<N> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StdEventType } from '@hexabot-ai/types';
|
|
2
|
-
import { ChannelInboundEventContext } from
|
|
3
|
-
import { ChannelName } from
|
|
2
|
+
import { ChannelInboundEventContext } from "../../../../../channel/lib/inbound-events";
|
|
3
|
+
import { ChannelName } from "../../../../../channel/types";
|
|
4
4
|
import { Web } from '../../types';
|
|
5
5
|
import BaseWebInboundEvent from './base-web-inbound.event';
|
|
6
6
|
export declare class TypingNotificationInboundEvent<N extends ChannelName = ChannelName> extends BaseWebInboundEvent<N> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StdEventType } from '@hexabot-ai/types';
|
|
2
|
-
import { ChannelInboundEventContext } from
|
|
3
|
-
import { ChannelName } from
|
|
2
|
+
import { ChannelInboundEventContext } from "../../../../../channel/lib/inbound-events";
|
|
3
|
+
import { ChannelName } from "../../../../../channel/types";
|
|
4
4
|
import { Web } from '../../types';
|
|
5
5
|
import BaseWebInboundEvent from './base-web-inbound.event';
|
|
6
6
|
export declare class UnsupportedInboundEvent<N extends ChannelName = ChannelName> extends BaseWebInboundEvent<N> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Type } from '@nestjs/common';
|
|
2
|
-
import { ChannelInboundEvent, ChannelInboundEventDecoder } from
|
|
3
|
-
import { ChannelName } from
|
|
2
|
+
import { ChannelInboundEvent, ChannelInboundEventDecoder } from "../../../../channel/lib/inbound-events";
|
|
3
|
+
import { ChannelName } from "../../../../channel/types";
|
|
4
4
|
import { Web } from '../types';
|
|
5
5
|
export declare class WebInboundEventDecoder<N extends ChannelName = ChannelName> implements ChannelInboundEventDecoder<N, ChannelInboundEvent<N, Web.Event, SubscriberChannelDict[N]>, SubscriberChannelDict[N]> {
|
|
6
6
|
readonly channel: N;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type StdIncomingMessage } from '@hexabot-ai/types';
|
|
2
2
|
import { Type } from '@nestjs/common';
|
|
3
|
-
import { ChannelAttachmentService } from
|
|
3
|
+
import { ChannelAttachmentService } from "../../../../channel/services/channel-attachment.service";
|
|
4
4
|
import { Web } from '../types';
|
|
5
5
|
export declare class WebInboundMessageEncoder {
|
|
6
6
|
private readonly channelAttachmentService;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ActionOptions, ContentElement, StdOutgoingAttachmentMessageData, StdOutgoingButtonsMessageData, StdOutgoingListMessageData, StdOutgoingMessageEnvelope, StdOutgoingQuickRepliesMessageData, StdOutgoingTextMessageData } from '@hexabot-ai/types';
|
|
2
2
|
import { Type } from '@nestjs/common';
|
|
3
|
-
import { ChannelOutboundMessageEncoder } from
|
|
4
|
-
import { ChannelAttachmentService } from
|
|
5
|
-
import { I18nService } from
|
|
6
|
-
import { LoggerService } from
|
|
3
|
+
import { ChannelOutboundMessageEncoder } from "../../../../channel/lib/outbound";
|
|
4
|
+
import { ChannelAttachmentService } from "../../../../channel/services/channel-attachment.service";
|
|
5
|
+
import { I18nService } from "../../../../i18n";
|
|
6
|
+
import { LoggerService } from "../../../../logger";
|
|
7
7
|
import { Web } from '../types';
|
|
8
8
|
export type WebSourceScopedEncodeOptions = ActionOptions & {
|
|
9
9
|
sourceId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyMessage, Thread } from '@hexabot-ai/types';
|
|
2
|
-
import { MessageService } from
|
|
3
|
-
import { SocketRequest } from
|
|
2
|
+
import { MessageService } from "../../../../chat/services/message.service";
|
|
3
|
+
import { SocketRequest } from "../../../../websocket/utils/socket-request";
|
|
4
4
|
import { WebInboundMessageEncoder } from '../inbound/web-inbound-message-encoder';
|
|
5
5
|
import { WebOutboundMessageEncoder } from '../outbound/web-outbound-message-encoder';
|
|
6
6
|
import { Web } from '../types';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Subscriber, Thread } from '@hexabot-ai/types';
|
|
2
2
|
import { Response } from 'express';
|
|
3
|
-
import { SubscriberCreateDto } from
|
|
4
|
-
import { SubscriberService } from
|
|
5
|
-
import { ThreadService } from
|
|
6
|
-
import { LoggerService } from
|
|
7
|
-
import { SocketRequest } from
|
|
8
|
-
import { SocketResponse } from
|
|
3
|
+
import { SubscriberCreateDto } from "../../../../chat/dto/subscriber.dto";
|
|
4
|
+
import { SubscriberService } from "../../../../chat/services/subscriber.service";
|
|
5
|
+
import { ThreadService } from "../../../../chat/services/thread.service";
|
|
6
|
+
import { LoggerService } from "../../../../logger/logger.service";
|
|
7
|
+
import { SocketRequest } from "../../../../websocket/utils/socket-request";
|
|
8
|
+
import { SocketResponse } from "../../../../websocket/utils/socket-response";
|
|
9
9
|
export declare class WebSessionService {
|
|
10
10
|
private readonly subscriberService;
|
|
11
11
|
private readonly threadService;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Readable, Stream } from 'stream';
|
|
2
2
|
import type { Attachment } from '@hexabot-ai/types';
|
|
3
3
|
import { OnModuleInit, StreamableFile } from '@nestjs/common';
|
|
4
|
-
import { AttachmentCreateDto, AttachmentMetadataDto } from
|
|
5
|
-
import { BaseStorageHelper } from
|
|
4
|
+
import { AttachmentCreateDto, AttachmentMetadataDto } from "../../../attachment/dto/attachment.dto";
|
|
5
|
+
import { BaseStorageHelper } from "../../../helper/lib/base-storage-helper";
|
|
6
6
|
export declare const LOCAL_STORAGE_HELPER_NAME: "local-storage";
|
|
7
7
|
export default class LocalStorageHelper extends BaseStorageHelper<typeof LOCAL_STORAGE_HELPER_NAME> implements OnModuleInit {
|
|
8
8
|
constructor();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IntegrationHealthResponse } from '@hexabot-ai/types';
|
|
2
|
-
import { ChannelService } from
|
|
3
|
-
import { SourceService } from
|
|
4
|
-
import { MailerService } from
|
|
2
|
+
import { ChannelService } from "../channel/channel.service";
|
|
3
|
+
import { SourceService } from "../channel/services/source.service";
|
|
4
|
+
import { MailerService } from "../mailer";
|
|
5
5
|
export declare class HealthService {
|
|
6
6
|
private readonly channelService;
|
|
7
7
|
private readonly sourceService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LoggerService } from
|
|
2
|
-
import { SettingService } from
|
|
1
|
+
import { LoggerService } from "../logger/logger.service";
|
|
2
|
+
import { SettingService } from "../setting/services/setting.service";
|
|
3
3
|
import BaseHelper from './lib/base-helper';
|
|
4
4
|
import { HelperName, HelperType, TypeOfHelper } from './types';
|
|
5
5
|
export declare class HelperService {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnModuleInit } from '@nestjs/common';
|
|
2
|
-
import { SettingService } from
|
|
3
|
-
import { Extension } from
|
|
2
|
+
import { SettingService } from "../../setting/services/setting.service";
|
|
3
|
+
import { Extension } from "../../utils/generics/extension";
|
|
4
4
|
import { HelperService } from '../helper.service';
|
|
5
5
|
import { HelperName, HelperType } from '../types';
|
|
6
6
|
export default abstract class BaseHelper<N extends HelperName = HelperName> extends Extension implements OnModuleInit {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Readable, Stream } from 'stream';
|
|
2
2
|
import type { Attachment } from '@hexabot-ai/types';
|
|
3
3
|
import { StreamableFile } from '@nestjs/common';
|
|
4
|
-
import { AttachmentCreateDto, AttachmentMetadataDto } from
|
|
4
|
+
import { AttachmentCreateDto, AttachmentMetadataDto } from "../../attachment/dto/attachment.dto";
|
|
5
5
|
import { HelperName, HelperType } from '../types';
|
|
6
6
|
import BaseHelper from './base-helper';
|
|
7
7
|
export declare abstract class BaseStorageHelper<N extends HelperName = HelperName> extends BaseHelper<N> {
|
package/dist/helper/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnySetting, ExtensionSetting } from
|
|
1
|
+
import { AnySetting, ExtensionSetting } from "../setting/types";
|
|
2
2
|
import BaseHelper from './lib/base-helper';
|
|
3
3
|
import { BaseStorageHelper } from './lib/base-storage-helper';
|
|
4
4
|
export declare enum HelperType {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Language } from '@hexabot-ai/types';
|
|
2
2
|
import { FindManyOptions } from 'typeorm';
|
|
3
3
|
import { DeleteResult } from 'typeorm/driver/mongodb/typings';
|
|
4
|
-
import { BaseOrmController } from
|
|
4
|
+
import { BaseOrmController } from "../../utils/generics/base-orm.controller";
|
|
5
5
|
import { LanguageCreateDto, LanguageUpdateDto } from '../dto/language.dto';
|
|
6
6
|
import { LanguageOrmEntity } from '../entities/language.entity';
|
|
7
7
|
import { LanguageService } from '../services/language.service';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FindManyOptions } from 'typeorm';
|
|
2
2
|
import { DeleteResult } from 'typeorm/driver/mongodb/typings';
|
|
3
|
-
import { BaseOrmController } from
|
|
3
|
+
import { BaseOrmController } from "../../utils/generics/base-orm.controller";
|
|
4
4
|
import { TranslationUpdateDto } from '../dto/translation.dto';
|
|
5
5
|
import { TranslationOrmEntity } from '../entities/translation.entity';
|
|
6
6
|
import { LanguageService } from '../services/language.service';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { translationFullSchema, translationSchema } from '@hexabot-ai/types';
|
|
2
|
-
import { TDto } from
|
|
2
|
+
import { TDto } from "../../utils/types/dto.types";
|
|
3
3
|
export declare class TranslationCreateDto {
|
|
4
4
|
str: string;
|
|
5
5
|
translations: Record<string, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InsertEvent, UpdateEvent } from 'typeorm';
|
|
2
|
-
import { BaseOrmEntity } from
|
|
2
|
+
import { BaseOrmEntity } from "../../database/entities/base.entity";
|
|
3
3
|
import { LanguageDto } from '../dto/language.dto';
|
|
4
4
|
export declare class LanguageOrmEntity extends BaseOrmEntity<LanguageDto> {
|
|
5
5
|
plainCls: import("zod").ZodObject<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseOrmEntity } from
|
|
1
|
+
import { BaseOrmEntity } from "../../database/entities/base.entity";
|
|
2
2
|
import { TranslationDto } from '../dto/translation.dto';
|
|
3
3
|
export declare class TranslationOrmEntity extends BaseOrmEntity<TranslationDto> {
|
|
4
4
|
plainCls: import("zod").ZodObject<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Repository } from 'typeorm';
|
|
2
|
-
import { BaseOrmRepository } from
|
|
2
|
+
import { BaseOrmRepository } from "../../utils/generics/base-orm.repository";
|
|
3
3
|
import { LanguageOrmEntity } from '../entities/language.entity';
|
|
4
4
|
export declare class LanguageRepository extends BaseOrmRepository<LanguageOrmEntity> {
|
|
5
5
|
constructor(repository: Repository<LanguageOrmEntity>);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Repository } from 'typeorm';
|
|
2
|
-
import { BaseOrmRepository } from
|
|
2
|
+
import { BaseOrmRepository } from "../../utils/generics/base-orm.repository";
|
|
3
3
|
import { TranslationOrmEntity } from '../entities/translation.entity';
|
|
4
4
|
export declare class TranslationRepository extends BaseOrmRepository<TranslationOrmEntity> {
|
|
5
5
|
constructor(repository: Repository<TranslationOrmEntity>);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Cache } from 'cache-manager';
|
|
2
|
-
import { BaseOrmSeeder } from
|
|
2
|
+
import { BaseOrmSeeder } from "../../utils/generics/base-orm.seeder";
|
|
3
3
|
import { LanguageCreateDto } from '../dto/language.dto';
|
|
4
4
|
import { LanguageOrmEntity } from '../entities/language.entity';
|
|
5
5
|
import { LanguageRepository } from '../repositories/language.repository';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseOrmSeeder } from
|
|
1
|
+
import { BaseOrmSeeder } from "../../utils/generics/base-orm.seeder";
|
|
2
2
|
import { TranslationOrmEntity } from '../entities/translation.entity';
|
|
3
3
|
import { TranslationRepository } from '../repositories/translation.repository';
|
|
4
4
|
export declare class TranslationSeeder extends BaseOrmSeeder<TranslationOrmEntity> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I18nService as NativeI18nService, Path, PathValue, TranslateOptions } from 'nestjs-i18n';
|
|
2
2
|
import { IfAnyOrNever } from 'nestjs-i18n/dist/types';
|
|
3
|
-
import { TranslationOrmEntity } from
|
|
4
|
-
import type { JsonSchemaLocalizationOptions } from
|
|
3
|
+
import { TranslationOrmEntity } from "../entities/translation.entity";
|
|
4
|
+
import type { JsonSchemaLocalizationOptions } from "../../utils/helpers/zod";
|
|
5
5
|
type NamespacedTranslateOptions = TranslateOptions & {
|
|
6
6
|
ns?: string;
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Cache } from 'cache-manager';
|
|
2
|
-
import { BaseOrmService } from
|
|
2
|
+
import { BaseOrmService } from "../../utils/generics/base-orm.service";
|
|
3
3
|
import { LanguageOrmEntity } from '../entities/language.entity';
|
|
4
4
|
import { LanguageRepository } from '../repositories/language.repository';
|
|
5
5
|
export declare class LanguageService extends BaseOrmService<LanguageOrmEntity> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I18nService } from
|
|
2
|
-
import { BaseOrmService } from
|
|
3
|
-
import { WorkflowService } from
|
|
1
|
+
import { I18nService } from "./i18n.service";
|
|
2
|
+
import { BaseOrmService } from "../../utils/generics/base-orm.service";
|
|
3
|
+
import { WorkflowService } from "../../workflow/services/workflow.service";
|
|
4
4
|
import { TranslationOrmEntity } from '../entities/translation.entity';
|
|
5
5
|
import { TranslationRepository } from '../repositories/translation.repository';
|
|
6
6
|
export declare class TranslationService extends BaseOrmService<TranslationOrmEntity> {
|
|
@@ -10,10 +10,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.LemonSqueezyService = exports.LEMON_SQUEEZY_API_BASE_URL = void 0;
|
|
13
|
+
const crypto_1 = require("crypto");
|
|
13
14
|
const axios_1 = require("@nestjs/axios");
|
|
14
15
|
const common_1 = require("@nestjs/common");
|
|
15
16
|
const axios_2 = require("axios");
|
|
16
|
-
const uuid_1 = require("uuid");
|
|
17
17
|
exports.LEMON_SQUEEZY_API_BASE_URL = 'https://api.lemonsqueezy.com';
|
|
18
18
|
let LemonSqueezyService = class LemonSqueezyService {
|
|
19
19
|
constructor(httpService) {
|
|
@@ -34,7 +34,7 @@ let LemonSqueezyService = class LemonSqueezyService {
|
|
|
34
34
|
async activate(licenseKey) {
|
|
35
35
|
const { data } = await this.httpService.axiosRef.post(`${exports.LEMON_SQUEEZY_API_BASE_URL}/v1/licenses/activate`, {
|
|
36
36
|
license_key: licenseKey,
|
|
37
|
-
instance_name: (0,
|
|
37
|
+
instance_name: (0, crypto_1.randomUUID)(),
|
|
38
38
|
}, {
|
|
39
39
|
headers: {
|
|
40
40
|
Accept: 'application/json',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lemon-squeezy.service.js","sourceRoot":"","sources":["../../../src/license/services/lemon-squeezy.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,yCAA4C;AAC5C,2CAA4C;AAC5C,iCAAmC;
|
|
1
|
+
{"version":3,"file":"lemon-squeezy.service.js","sourceRoot":"","sources":["../../../src/license/services/lemon-squeezy.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,mCAAoC;AAEpC,yCAA4C;AAC5C,2CAA4C;AAC5C,iCAAmC;AAQtB,QAAA,0BAA0B,GAAG,8BAA8B,CAAC;AAGlE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,YAA6B,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;IAAG,CAAC;IAEzD,KAAK,CAAC,QAAQ,CAAC,UAAkB,EAAE,UAAmB;QACpD,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GACpB,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAClC,GAAG,kCAA0B,uBAAuB,EACpD,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,EACpD;YACE,OAAO,EAAE;gBACP,MAAM,EAAE,kBAAkB;aAC3B;YAGD,cAAc,EAAE,CAAC,cAAc,EAAE,EAAE,CACjC,cAAc,IAAI,GAAG,IAAI,cAAc,GAAG,GAAG;SAChD,CACF,CAAC;QAEJ,IAAI,OAAO,IAAI,EAAE,KAAK,KAAK,SAAS,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,qEAAqE,MAAM,IAAI,CAChF,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,UAAkB;QAC/B,MAAM,EAAE,IAAI,EAAE,GACZ,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAClC,GAAG,kCAA0B,uBAAuB,EACpD;YACE,WAAW,EAAE,UAAU;YACvB,aAAa,EAAE,IAAA,mBAAU,GAAE;SAC5B,EACD;YACE,OAAO,EAAE;gBACP,MAAM,EAAE,kBAAkB;aAC3B;SACF,CACF,CAAC;QAEJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,UAAkB,EAAE,UAAkB;QACrD,MAAM,EAAE,IAAI,EAAE,GACZ,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAClC,GAAG,kCAA0B,yBAAyB,EACtD;YACE,WAAW,EAAE,UAAU;YACvB,WAAW,EAAE,UAAU;SACxB,EACD;YACE,OAAO,EAAE;gBACP,MAAM,EAAE,kBAAkB;aAC3B;SACF,CACF,CAAC;QAEJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED,iBAAiB,CAAC,KAAc;QAC9B,IAAI,KAAK,YAAY,kBAAU,EAAE,CAAC;YAChC,MAAM,OAAO,GACX,OAAO,KAAK,CAAC,QAAQ,EAAE,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,QAAQ,EAAE,IAAI;gBAC9D,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;gBACrC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;YAEpB,OAAO,4BAA4B,OAAO,EAAE,CAAC;QAC/C,CAAC;QAED,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;YAC3B,OAAO,4BAA4B,KAAK,CAAC,OAAO,EAAE,CAAC;QACrD,CAAC;QAED,OAAO,iDAAiD,CAAC;IAC3D,CAAC;CACF,CAAA;AAhFY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;qCAE+B,mBAAW;GAD1C,mBAAmB,CAgF/B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnApplicationBootstrap } from '@nestjs/common';
|
|
2
2
|
import { DataSource } from 'typeorm';
|
|
3
|
-
import { LoggerService } from
|
|
4
|
-
import { SettingOrmEntity } from
|
|
5
|
-
import { MetadataService } from
|
|
6
|
-
import { SettingService } from
|
|
7
|
-
import { UpdateEntityEvent } from
|
|
3
|
+
import { LoggerService } from "../../logger/logger.service";
|
|
4
|
+
import { SettingOrmEntity } from "../../setting/entities/setting.entity";
|
|
5
|
+
import { MetadataService } from "../../setting/services/metadata.service";
|
|
6
|
+
import { SettingService } from "../../setting/services/setting.service";
|
|
7
|
+
import { UpdateEntityEvent } from "../../utils/types/entity-event.types";
|
|
8
8
|
import { LicenseFeature, LicensePlan, LicenseSnapshot, LicenseStatus } from '../types/license-feature.enum';
|
|
9
9
|
import { LemonSqueezyService } from './lemon-squeezy.service';
|
|
10
10
|
type RefreshSource = 'bootstrap' | 'setting';
|
|
@@ -5,65 +5,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
-
};
|
|
11
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
9
|
exports.MailerModule = void 0;
|
|
13
|
-
const path_1 = __importDefault(require("path"));
|
|
14
10
|
const common_1 = require("@nestjs/common");
|
|
15
|
-
const mailer_1 = require("@nestjs-modules/mailer");
|
|
16
|
-
const smtp_transport_1 = __importDefault(require("nodemailer/lib/smtp-transport"));
|
|
17
|
-
const config_1 = require("../config");
|
|
18
11
|
const mailer_service_1 = require("./mailer.service");
|
|
19
|
-
const mjml_adapter_class_1 = require("./mjml-adapter.class");
|
|
20
|
-
const mailerOptions = {
|
|
21
|
-
transport: new smtp_transport_1.default({
|
|
22
|
-
...config_1.config.emails.smtp,
|
|
23
|
-
logger: true,
|
|
24
|
-
debug: false,
|
|
25
|
-
}),
|
|
26
|
-
template: {
|
|
27
|
-
adapter: new mjml_adapter_class_1.MjmlAdapter(),
|
|
28
|
-
dir: path_1.default.join(process.cwd(), 'dist', 'templates'),
|
|
29
|
-
options: {
|
|
30
|
-
context: {
|
|
31
|
-
appName: config_1.config.parameters.appName,
|
|
32
|
-
appUrl: config_1.config.uiBaseUrl,
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
defaults: { from: config_1.config.emails.from },
|
|
37
|
-
};
|
|
38
12
|
let MailerModule = class MailerModule {
|
|
39
13
|
};
|
|
40
14
|
exports.MailerModule = MailerModule;
|
|
41
15
|
exports.MailerModule = MailerModule = __decorate([
|
|
42
16
|
(0, common_1.Global)(),
|
|
43
17
|
(0, common_1.Module)({
|
|
44
|
-
|
|
45
|
-
...(config_1.config.emails.isEnabled
|
|
46
|
-
? [mailer_1.MailerModule.forRoot(mailerOptions)]
|
|
47
|
-
: []),
|
|
48
|
-
],
|
|
49
|
-
providers: [
|
|
50
|
-
{
|
|
51
|
-
provide: mailer_1.MAILER_OPTIONS,
|
|
52
|
-
useValue: mailerOptions,
|
|
53
|
-
},
|
|
54
|
-
...(config_1.config.emails.isEnabled
|
|
55
|
-
? [mailer_service_1.MailerService]
|
|
56
|
-
: [
|
|
57
|
-
{
|
|
58
|
-
provide: mailer_service_1.MailerService,
|
|
59
|
-
useValue: {
|
|
60
|
-
sendMail(_options) {
|
|
61
|
-
throw new Error('Email Service is not enabled');
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
]),
|
|
66
|
-
],
|
|
18
|
+
providers: [mailer_service_1.MailerService],
|
|
67
19
|
exports: [mailer_service_1.MailerService],
|
|
68
20
|
})
|
|
69
21
|
], MailerModule);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mailer.module.js","sourceRoot":"","sources":["../../src/mailer/mailer.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mailer.module.js","sourceRoot":"","sources":["../../src/mailer/mailer.module.ts"],"names":[],"mappings":";;;;;;;;;AAMA,2CAAgD;AAEhD,qDAAiD;AAO1C,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,oCAAY;uBAAZ,YAAY;IALxB,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,8BAAa,CAAC;QAC1B,OAAO,EAAE,CAAC,8BAAa,CAAC;KACzB,CAAC;GACW,YAAY,CAAG"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { SendMailOptions as NodemailerSendMailOptions } from 'nodemailer';
|
|
2
|
+
export type SendMailOptions = NodemailerSendMailOptions & {
|
|
3
|
+
template?: string;
|
|
4
|
+
context?: Record<string, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare class MailerService {
|
|
7
|
+
private readonly transporter?;
|
|
8
|
+
constructor();
|
|
9
|
+
sendMail({ template, context, ...options }: SendMailOptions): Promise<any>;
|
|
10
|
+
verifyAllTransporters(): Promise<boolean>;
|
|
11
|
+
private renderTemplate;
|
|
3
12
|
}
|
|
@@ -1,8 +1,74 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
2
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
15
|
exports.MailerService = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
16
|
+
const promises_1 = require("fs/promises");
|
|
17
|
+
const path_1 = __importDefault(require("path"));
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const handlebars_1 = __importDefault(require("handlebars"));
|
|
20
|
+
const mjml_1 = __importDefault(require("mjml"));
|
|
21
|
+
const nodemailer_1 = __importDefault(require("nodemailer"));
|
|
22
|
+
const smtp_transport_1 = __importDefault(require("nodemailer/lib/smtp-transport"));
|
|
23
|
+
const config_1 = require("../config");
|
|
24
|
+
let MailerService = class MailerService {
|
|
25
|
+
constructor() {
|
|
26
|
+
if (!config_1.config.emails.isEnabled) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
this.transporter = nodemailer_1.default.createTransport(new smtp_transport_1.default({
|
|
30
|
+
...config_1.config.emails.smtp,
|
|
31
|
+
logger: true,
|
|
32
|
+
debug: false,
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
async sendMail({ template, context, ...options }) {
|
|
36
|
+
if (!this.transporter) {
|
|
37
|
+
throw new Error('Email Service is not enabled');
|
|
38
|
+
}
|
|
39
|
+
const html = template
|
|
40
|
+
? await this.renderTemplate(template, context)
|
|
41
|
+
: options.html;
|
|
42
|
+
return await this.transporter.sendMail({
|
|
43
|
+
from: config_1.config.emails.from,
|
|
44
|
+
...options,
|
|
45
|
+
html,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
async verifyAllTransporters() {
|
|
49
|
+
if (!this.transporter) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return await this.transporter.verify();
|
|
53
|
+
}
|
|
54
|
+
async renderTemplate(template, context = {}) {
|
|
55
|
+
const templatePath = path_1.default.join(process.cwd(), 'dist', 'templates', template);
|
|
56
|
+
const content = await (0, promises_1.readFile)(templatePath, 'utf-8');
|
|
57
|
+
const compiledHandlebars = handlebars_1.default.compile(content)({
|
|
58
|
+
appName: config_1.config.parameters.appName,
|
|
59
|
+
appUrl: config_1.config.uiBaseUrl,
|
|
60
|
+
...context,
|
|
61
|
+
});
|
|
62
|
+
const { errors, html } = (0, mjml_1.default)(compiledHandlebars);
|
|
63
|
+
if (errors.length) {
|
|
64
|
+
throw new Error('Unable to compile mjml template');
|
|
65
|
+
}
|
|
66
|
+
return html;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
7
69
|
exports.MailerService = MailerService;
|
|
70
|
+
exports.MailerService = MailerService = __decorate([
|
|
71
|
+
(0, common_1.Injectable)(),
|
|
72
|
+
__metadata("design:paramtypes", [])
|
|
73
|
+
], MailerService);
|
|
8
74
|
//# sourceMappingURL=mailer.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mailer.service.js","sourceRoot":"","sources":["../../src/mailer/mailer.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mailer.service.js","sourceRoot":"","sources":["../../src/mailer/mailer.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAMA,0CAAuC;AACvC,gDAAwB;AAExB,2CAA4C;AAC5C,4DAAoC;AACpC,gDAA6B;AAC7B,4DAIoB;AACpB,mFAA0D;AAE1D,sCAAkC;AAQ3B,IAAM,aAAa,GAAnB,MAAM,aAAa;IAGxB;QACE,IAAI,CAAC,eAAM,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC;YAC7B,OAAO;QACT,CAAC;QAED,IAAI,CAAC,WAAW,GAAG,oBAAU,CAAC,eAAe,CAC3C,IAAI,wBAAa,CAAC;YAChB,GAAG,eAAM,CAAC,MAAM,CAAC,IAAI;YACrB,MAAM,EAAE,IAAI;YACZ,KAAK,EAAE,KAAK;SACb,CAAC,CACH,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,OAAO,EAAmB;QAC/D,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,MAAM,IAAI,GAAG,QAAQ;YACnB,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC;YAC9C,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;QAEjB,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;YACrC,IAAI,EAAE,eAAM,CAAC,MAAM,CAAC,IAAI;YACxB,GAAG,OAAO;YACV,IAAI;SACL,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,qBAAqB;QACzB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC;IACzC,CAAC;IAEO,KAAK,CAAC,cAAc,CAC1B,QAAgB,EAChB,UAAmC,EAAE;QAErC,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAC5B,OAAO,CAAC,GAAG,EAAE,EACb,MAAM,EACN,WAAW,EACX,QAAQ,CACT,CAAC;QACF,MAAM,OAAO,GAAG,MAAM,IAAA,mBAAQ,EAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QACtD,MAAM,kBAAkB,GAAG,oBAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACrD,OAAO,EAAE,eAAM,CAAC,UAAU,CAAC,OAAO;YAClC,MAAM,EAAE,eAAM,CAAC,SAAS;YACxB,GAAG,OAAO;SACX,CAAC,CAAC;QACH,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,cAAS,EAAC,kBAAkB,CAAC,CAAC;QAEvD,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;YAClB,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF,CAAA;AAjEY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;;GACA,aAAa,CAiEzB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandRunner } from 'nest-commander';
|
|
2
|
-
import { LoggerService } from
|
|
2
|
+
import { LoggerService } from "../logger/logger.service";
|
|
3
3
|
import { MigrationService } from './migration.service';
|
|
4
4
|
export declare class MigrationCommand extends CommandRunner {
|
|
5
5
|
private readonly logger;
|
|
@@ -2,9 +2,9 @@ import { HttpService } from '@nestjs/axios';
|
|
|
2
2
|
import { OnApplicationBootstrap } from '@nestjs/common';
|
|
3
3
|
import { ModuleRef } from '@nestjs/core';
|
|
4
4
|
import { DataSource, Repository } from 'typeorm';
|
|
5
|
-
import { AttachmentService } from
|
|
6
|
-
import { LoggerService } from
|
|
7
|
-
import { MetadataService } from
|
|
5
|
+
import { AttachmentService } from "../attachment/services/attachment.service";
|
|
6
|
+
import { LoggerService } from "../logger/logger.service";
|
|
7
|
+
import { MetadataService } from "../setting/services/metadata.service";
|
|
8
8
|
import { MigrationOrmEntity } from './migration.entity';
|
|
9
9
|
import { MigrationRunParams, MigrationSuccessCallback, MigrationVersion } from './types';
|
|
10
10
|
export declare class MigrationService implements OnApplicationBootstrap {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpService } from '@nestjs/axios';
|
|
2
|
-
import { AttachmentService } from
|
|
3
|
-
import { LoggerService } from
|
|
2
|
+
import { AttachmentService } from "../attachment/services/attachment.service";
|
|
3
|
+
import { LoggerService } from "../logger/logger.service";
|
|
4
4
|
import type { MigrationOrmEntity } from './migration.entity';
|
|
5
5
|
export declare enum MigrationAction {
|
|
6
6
|
UP = "up",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnModuleInit } from '@nestjs/common';
|
|
2
|
-
import { RuntimeSettingGroupDescriptor, RuntimeSettingGroupSchema, SettingExtensionType, SettingScope } from
|
|
3
|
-
import { RuntimeSettingsService } from
|
|
2
|
+
import { RuntimeSettingGroupDescriptor, RuntimeSettingGroupSchema, SettingExtensionType, SettingScope } from "./runtime-settings";
|
|
3
|
+
import { RuntimeSettingsService } from "./services/runtime-settings.service";
|
|
4
4
|
export declare abstract class BaseSettingGroupProvider<G extends string = string, S extends RuntimeSettingGroupSchema = RuntimeSettingGroupSchema> implements OnModuleInit {
|
|
5
5
|
readonly group: G;
|
|
6
6
|
readonly schema: S;
|