@hexabot-ai/api 3.2.2-alpha.1 → 3.2.2-alpha.3

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.
Files changed (437) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/actions.service.d.ts +3 -3
  3. package/dist/actions/base-action.d.ts +3 -3
  4. package/dist/actions/create-action.d.ts +1 -1
  5. package/dist/actions/types.d.ts +3 -3
  6. package/dist/analytics/controllers/stats.controller.d.ts +1 -1
  7. package/dist/analytics/dto/stats.dto.d.ts +1 -1
  8. package/dist/analytics/entities/stats.entity.d.ts +1 -1
  9. package/dist/analytics/repositories/stats.repository.d.ts +1 -1
  10. package/dist/analytics/services/stats.service.d.ts +7 -7
  11. package/dist/attachment/controllers/attachment.controller.d.ts +1 -1
  12. package/dist/attachment/dto/attachment.dto.d.ts +2 -2
  13. package/dist/attachment/entities/attachment.entity.d.ts +3 -3
  14. package/dist/attachment/guards/attachment-ability.guard.d.ts +2 -2
  15. package/dist/attachment/repositories/attachment.repository.d.ts +2 -2
  16. package/dist/attachment/services/attachment.service.d.ts +3 -3
  17. package/dist/attachment/utilities/index.js +2 -2
  18. package/dist/attachment/utilities/index.js.map +1 -1
  19. package/dist/audit/controllers/audit-log.controller.d.ts +2 -2
  20. package/dist/audit/dto/audit-log.dto.d.ts +1 -1
  21. package/dist/audit/entities/audit-log.entity.d.ts +1 -1
  22. package/dist/audit/exporters/audit-backend.factory.d.ts +1 -1
  23. package/dist/audit/exporters/audit-safe.exporter.d.ts +1 -1
  24. package/dist/audit/repositories/audit-log.repository.d.ts +1 -1
  25. package/dist/audit/services/audit-log-record.service.d.ts +1 -1
  26. package/dist/bindings/base-binding-kind.d.ts +2 -2
  27. package/dist/bindings/runtime-bindings.service.d.ts +2 -2
  28. package/dist/bootstrap.js +8 -0
  29. package/dist/bootstrap.js.map +1 -1
  30. package/dist/channel/channel.controller.d.ts +1 -1
  31. package/dist/channel/channel.service.d.ts +5 -5
  32. package/dist/channel/dto/source.dto.d.ts +1 -1
  33. package/dist/channel/entities/source.entity.d.ts +2 -2
  34. package/dist/channel/lib/Handler.d.ts +7 -7
  35. package/dist/channel/lib/Handler.js +2 -2
  36. package/dist/channel/lib/Handler.js.map +1 -1
  37. package/dist/channel/lib/channel-event-bus.d.ts +1 -1
  38. package/dist/channel/lib/inbound-events/channel-inbound-event-context.d.ts +1 -1
  39. package/dist/channel/lib/inbound-events/channel-inbound-event-decoder.d.ts +1 -1
  40. package/dist/channel/lib/inbound-events/channel-inbound-event.d.ts +2 -2
  41. package/dist/channel/lib/inbound-events/message-inbound-event.d.ts +1 -1
  42. package/dist/channel/lib/transports/http-channel-handler.d.ts +2 -2
  43. package/dist/channel/lib/transports/websocket-channel-handler.d.ts +3 -3
  44. package/dist/channel/repositories/source.repository.d.ts +1 -1
  45. package/dist/channel/services/channel-attachment.service.d.ts +3 -3
  46. package/dist/channel/services/source.service.d.ts +3 -3
  47. package/dist/channel/services/subscriber-resolver.service.d.ts +2 -2
  48. package/dist/channel/source.controller.d.ts +1 -1
  49. package/dist/channel/webhook.controller.d.ts +1 -1
  50. package/dist/chat/chat.module.js +1 -1
  51. package/dist/chat/chat.module.js.map +1 -1
  52. package/dist/chat/controllers/label-group.controller.d.ts +1 -1
  53. package/dist/chat/controllers/label.controller.d.ts +1 -1
  54. package/dist/chat/controllers/message.controller.d.ts +2 -2
  55. package/dist/chat/controllers/subscriber.controller.d.ts +3 -3
  56. package/dist/chat/controllers/thread.controller.d.ts +2 -2
  57. package/dist/chat/dto/label-group.dto.d.ts +1 -1
  58. package/dist/chat/dto/label.dto.d.ts +1 -1
  59. package/dist/chat/dto/message.dto.d.ts +1 -1
  60. package/dist/chat/dto/subscriber.dto.d.ts +3 -3
  61. package/dist/chat/dto/thread.dto.d.ts +1 -1
  62. package/dist/chat/entities/label-group.entity.d.ts +1 -1
  63. package/dist/chat/entities/label.entity.d.ts +1 -1
  64. package/dist/chat/entities/message.entity.d.ts +2 -2
  65. package/dist/chat/entities/subscriber.entity.d.ts +4 -4
  66. package/dist/chat/entities/subscriber.entity.js +3 -1
  67. package/dist/chat/entities/subscriber.entity.js.map +1 -1
  68. package/dist/chat/entities/thread.entity.d.ts +2 -2
  69. package/dist/chat/repositories/label-group.repository.d.ts +1 -1
  70. package/dist/chat/repositories/label.repository.d.ts +1 -1
  71. package/dist/chat/repositories/message.repository.d.ts +1 -1
  72. package/dist/chat/repositories/subscriber.repository.d.ts +1 -1
  73. package/dist/chat/repositories/thread.repository.d.ts +1 -1
  74. package/dist/chat/services/chat.service.d.ts +4 -4
  75. package/dist/chat/services/label-group.service.d.ts +1 -1
  76. package/dist/chat/services/label.service.d.ts +1 -1
  77. package/dist/chat/services/message.service.d.ts +2 -2
  78. package/dist/chat/services/subscriber.service.d.ts +5 -5
  79. package/dist/chat/services/subscriber.service.js +2 -2
  80. package/dist/chat/services/subscriber.service.js.map +1 -1
  81. package/dist/chat/services/thread.service.d.ts +2 -2
  82. package/dist/chat/types/channel.d.ts +1 -1
  83. package/dist/cms/controllers/content-type.controller.d.ts +1 -1
  84. package/dist/cms/controllers/content.controller.d.ts +1 -1
  85. package/dist/cms/controllers/menu.controller.d.ts +2 -2
  86. package/dist/cms/dto/content.dto.d.ts +1 -1
  87. package/dist/cms/dto/contentType.dto.d.ts +2 -2
  88. package/dist/cms/dto/menu.dto.d.ts +1 -1
  89. package/dist/cms/entities/content-type.entity.d.ts +2 -2
  90. package/dist/cms/entities/content-type.entity.js +3 -2
  91. package/dist/cms/entities/content-type.entity.js.map +1 -1
  92. package/dist/cms/entities/content.entity.d.ts +2 -2
  93. package/dist/cms/entities/content.entity.js +4 -3
  94. package/dist/cms/entities/content.entity.js.map +1 -1
  95. package/dist/cms/entities/menu.entity.d.ts +1 -1
  96. package/dist/cms/repositories/content-type.repository.d.ts +1 -1
  97. package/dist/cms/repositories/content.repository.d.ts +1 -1
  98. package/dist/cms/repositories/menu.repository.d.ts +1 -1
  99. package/dist/cms/services/content-type.service.d.ts +2 -2
  100. package/dist/cms/services/content-type.service.js.map +1 -1
  101. package/dist/cms/services/content.service.d.ts +1 -1
  102. package/dist/cms/services/menu.service.d.ts +1 -1
  103. package/dist/cms/services/rag-backend.service.d.ts +2 -2
  104. package/dist/cms/services/rag-indexer.service.d.ts +2 -2
  105. package/dist/cms/services/rag-retriever.service.d.ts +1 -1
  106. package/dist/cms/services/rag.service.d.ts +4 -4
  107. package/dist/database/decorators/json-column.decorator.js +1 -0
  108. package/dist/database/decorators/json-column.decorator.js.map +1 -1
  109. package/dist/database/entities/base.entity.d.ts +1 -1
  110. package/dist/database/typeorm-config.service.js +1 -1
  111. package/dist/database/typeorm-config.service.js.map +1 -1
  112. package/dist/extension/cleanup.service.d.ts +3 -3
  113. package/dist/extension/extension.module.d.ts +1 -1
  114. package/dist/extension/types.d.ts +1 -1
  115. package/dist/extensions/actions/ai/agent.action.d.ts +3 -3
  116. package/dist/extensions/actions/ai/ai-base.action.d.ts +5 -5
  117. package/dist/extensions/actions/ai/generate-object.action.d.ts +2 -2
  118. package/dist/extensions/actions/ai/generate-object.base.action.d.ts +3 -3
  119. package/dist/extensions/actions/ai/generate-reply.action.d.ts +2 -2
  120. package/dist/extensions/actions/ai/generate-text.action.d.ts +2 -2
  121. package/dist/extensions/actions/ai/generate-text.base.action.d.ts +3 -3
  122. package/dist/extensions/actions/ai/infer-object.action.d.ts +2 -2
  123. package/dist/extensions/actions/ai/retrieve-content-rag.action.d.ts +1 -1
  124. package/dist/extensions/actions/memory/update-memory.action.d.ts +4 -4
  125. package/dist/extensions/actions/messaging/attachment.action.d.ts +3 -3
  126. package/dist/extensions/actions/messaging/await-reply.action.d.ts +4 -4
  127. package/dist/extensions/actions/messaging/buttons.action.d.ts +3 -3
  128. package/dist/extensions/actions/messaging/list.action.d.ts +3 -3
  129. package/dist/extensions/actions/messaging/message-action.base.d.ts +6 -6
  130. package/dist/extensions/actions/messaging/quick-replies.action.d.ts +3 -3
  131. package/dist/extensions/actions/messaging/text-message.action.d.ts +3 -3
  132. package/dist/extensions/actions/subscriber/handover.action.d.ts +1 -1
  133. package/dist/extensions/actions/subscriber/update-labels.action.d.ts +1 -1
  134. package/dist/extensions/actions/web/http-request.action.d.ts +1 -1
  135. package/dist/extensions/actions/web/http-request.action.js +15 -4
  136. package/dist/extensions/actions/web/http-request.action.js.map +1 -1
  137. package/dist/extensions/actions/web/send-mail.action.d.ts +4 -4
  138. package/dist/extensions/channels/web/base-web-channel.d.ts +7 -6
  139. package/dist/extensions/channels/web/base-web-channel.js +12 -10
  140. package/dist/extensions/channels/web/base-web-channel.js.map +1 -1
  141. package/dist/extensions/channels/web/inbound/events/base-web-inbound.event.d.ts +3 -3
  142. package/dist/extensions/channels/web/inbound/events/delivery.event.d.ts +2 -2
  143. package/dist/extensions/channels/web/inbound/events/messages/attachment.event.d.ts +2 -2
  144. package/dist/extensions/channels/web/inbound/events/messages/location.event.d.ts +2 -2
  145. package/dist/extensions/channels/web/inbound/events/messages/payload.event.d.ts +2 -2
  146. package/dist/extensions/channels/web/inbound/events/messages/postback.event.d.ts +2 -2
  147. package/dist/extensions/channels/web/inbound/events/messages/quick-reply.event.d.ts +2 -2
  148. package/dist/extensions/channels/web/inbound/events/messages/text.event.d.ts +2 -2
  149. package/dist/extensions/channels/web/inbound/events/messages/web-message.event.d.ts +3 -3
  150. package/dist/extensions/channels/web/inbound/events/read.event.d.ts +2 -2
  151. package/dist/extensions/channels/web/inbound/events/typing.event.d.ts +2 -2
  152. package/dist/extensions/channels/web/inbound/events/unsupported.event.d.ts +2 -2
  153. package/dist/extensions/channels/web/inbound/web-inbound-event-decoder.d.ts +2 -2
  154. package/dist/extensions/channels/web/inbound/web-inbound-message-encoder.d.ts +1 -1
  155. package/dist/extensions/channels/web/outbound/web-outbound-message-encoder.d.ts +4 -4
  156. package/dist/extensions/channels/web/outbound/web-outbound-message-encoder.js +4 -4
  157. package/dist/extensions/channels/web/outbound/web-outbound-message-encoder.js.map +1 -1
  158. package/dist/extensions/channels/web/services/web-history.service.d.ts +2 -2
  159. package/dist/extensions/channels/web/services/web-session.service.d.ts +6 -6
  160. package/dist/extensions/helpers/local-storage/index.helper.d.ts +2 -2
  161. package/dist/health/health.service.d.ts +3 -3
  162. package/dist/helper/helper.service.d.ts +2 -2
  163. package/dist/helper/lib/base-helper.d.ts +2 -2
  164. package/dist/helper/lib/base-storage-helper.d.ts +1 -1
  165. package/dist/helper/types.d.ts +1 -1
  166. package/dist/i18n/controllers/language.controller.d.ts +1 -1
  167. package/dist/i18n/controllers/translation.controller.d.ts +1 -1
  168. package/dist/i18n/dto/language.dto.d.ts +1 -1
  169. package/dist/i18n/dto/translation.dto.d.ts +1 -1
  170. package/dist/i18n/entities/language.entity.d.ts +1 -1
  171. package/dist/i18n/entities/translation.entity.d.ts +1 -1
  172. package/dist/i18n/repositories/language.repository.d.ts +1 -1
  173. package/dist/i18n/repositories/translation.repository.d.ts +1 -1
  174. package/dist/i18n/seeds/language.seed.d.ts +1 -1
  175. package/dist/i18n/seeds/translation.seed.d.ts +1 -1
  176. package/dist/i18n/services/i18n.service.d.ts +2 -2
  177. package/dist/i18n/services/language.service.d.ts +1 -1
  178. package/dist/i18n/services/translation.service.d.ts +3 -3
  179. package/dist/license/services/lemon-squeezy.service.js +2 -2
  180. package/dist/license/services/lemon-squeezy.service.js.map +1 -1
  181. package/dist/license/services/license.service.d.ts +5 -5
  182. package/dist/mailer/mailer.module.js +1 -49
  183. package/dist/mailer/mailer.module.js.map +1 -1
  184. package/dist/mailer/mailer.service.d.ts +11 -2
  185. package/dist/mailer/mailer.service.js +69 -3
  186. package/dist/mailer/mailer.service.js.map +1 -1
  187. package/dist/migration/migration.command.d.ts +1 -1
  188. package/dist/migration/migration.service.d.ts +3 -3
  189. package/dist/migration/types.d.ts +2 -2
  190. package/dist/setting/base-setting-group.d.ts +2 -2
  191. package/dist/setting/controllers/setting.controller.d.ts +1 -1
  192. package/dist/setting/create-setting-group.d.ts +2 -2
  193. package/dist/setting/dto/metadata.dto.d.ts +1 -1
  194. package/dist/setting/dto/setting.dto.d.ts +1 -1
  195. package/dist/setting/entities/metadata.entity.d.ts +1 -1
  196. package/dist/setting/entities/setting.entity.d.ts +1 -1
  197. package/dist/setting/repositories/metadata.repository.d.ts +1 -1
  198. package/dist/setting/repositories/setting.repository.d.ts +1 -1
  199. package/dist/setting/runtime-settings.seed.d.ts +3 -3
  200. package/dist/setting/seeds/metadata.seed.d.ts +1 -1
  201. package/dist/setting/seeds/setting.seed.d.ts +1 -1
  202. package/dist/setting/services/metadata.service.d.ts +1 -1
  203. package/dist/setting/services/runtime-settings.service.d.ts +1 -1
  204. package/dist/setting/services/setting.service.d.ts +4 -4
  205. package/dist/static/assets/browser-ponyfill-BydLWDRe.js +2 -0
  206. package/dist/static/assets/{cssMode-ClQbC1-G.js → cssMode-DtNyPUki.js} +1 -1
  207. package/dist/static/assets/{freemarker2-DRxgvoL0.js → freemarker2-C2XfZce5.js} +1 -1
  208. package/dist/static/assets/{handlebars-CTQECjcj.js → handlebars-C8bj58KH.js} +1 -1
  209. package/dist/static/assets/{html-DvVbNWXL.js → html-A6xaHkJC.js} +1 -1
  210. package/dist/static/assets/{htmlMode-DHCoon1T.js → htmlMode-BaS0W7vp.js} +1 -1
  211. package/dist/static/assets/{index-BgFwJPy7.js → index-BoAD0ucA.js} +2138 -2135
  212. package/dist/static/assets/{javascript-CiEs6Ej5.js → javascript-B0ziESIH.js} +1 -1
  213. package/dist/static/assets/{jsonMode-DTfAuumC.js → jsonMode-Ce5isNkh.js} +1 -1
  214. package/dist/static/assets/{liquid-B714yIaN.js → liquid-DgK1yfp4.js} +1 -1
  215. package/dist/static/assets/{lspLanguageFeatures-r73pyfl4.js → lspLanguageFeatures-Dm_9PmPd.js} +1 -1
  216. package/dist/static/assets/{mdx-D5IAs7yq.js → mdx-DoyiAUI-.js} +1 -1
  217. package/dist/static/assets/{python-ehBpsG6S.js → python-D3i33SIz.js} +1 -1
  218. package/dist/static/assets/{razor-V-Gitx5J.js → razor-CmE-9YdK.js} +1 -1
  219. package/dist/static/assets/{tsMode-D_iFxZ-O.js → tsMode-Ct_NvUwl.js} +1 -1
  220. package/dist/static/assets/{typescript-CEGzsf5j.js → typescript-ynHJup65.js} +1 -1
  221. package/dist/static/assets/{xml-N5EKZaXL.js → xml-BymLyoKX.js} +1 -1
  222. package/dist/static/assets/{yaml-IWZvbW4T.js → yaml-Cn2RaxHO.js} +1 -1
  223. package/dist/static/assets/{yaml.worker.entry-BdO9k22I.js → yaml.worker.entry-BB81z30Q.js} +228 -228
  224. package/dist/static/index.html +1 -1
  225. package/dist/tsconfig.build.tsbuildinfo +1 -1
  226. package/dist/user/controllers/auth.controller.d.ts +2 -2
  227. package/dist/user/controllers/credential.controller.d.ts +1 -1
  228. package/dist/user/controllers/model.controller.d.ts +3 -3
  229. package/dist/user/controllers/permission.controller.d.ts +2 -2
  230. package/dist/user/controllers/role.controller.d.ts +1 -1
  231. package/dist/user/controllers/user.controller.d.ts +3 -3
  232. package/dist/user/dto/credential.dto.d.ts +1 -1
  233. package/dist/user/dto/model.dto.d.ts +1 -1
  234. package/dist/user/dto/permission.dto.d.ts +1 -1
  235. package/dist/user/dto/role.dto.d.ts +1 -1
  236. package/dist/user/dto/user-profile.dto.d.ts +1 -1
  237. package/dist/user/dto/user.dto.d.ts +2 -2
  238. package/dist/user/entities/credential.entity.d.ts +1 -1
  239. package/dist/user/entities/model.entity.d.ts +2 -2
  240. package/dist/user/entities/model.entity.js +4 -3
  241. package/dist/user/entities/model.entity.js.map +1 -1
  242. package/dist/user/entities/permission.entity.d.ts +3 -3
  243. package/dist/user/entities/permission.entity.js +7 -7
  244. package/dist/user/entities/permission.entity.js.map +1 -1
  245. package/dist/user/entities/role.entity.d.ts +2 -2
  246. package/dist/user/entities/role.entity.js +3 -2
  247. package/dist/user/entities/role.entity.js.map +1 -1
  248. package/dist/user/entities/user-profile.entity.d.ts +3 -3
  249. package/dist/user/entities/user.entity.d.ts +1 -1
  250. package/dist/user/repositories/credential.repository.d.ts +1 -1
  251. package/dist/user/repositories/model.repository.d.ts +1 -1
  252. package/dist/user/repositories/permission.repository.d.ts +1 -1
  253. package/dist/user/repositories/role.repository.d.ts +1 -1
  254. package/dist/user/repositories/user.repository.d.ts +1 -1
  255. package/dist/user/seeds/model.seed.d.ts +1 -1
  256. package/dist/user/seeds/permission.seed.d.ts +1 -1
  257. package/dist/user/seeds/role.seed.d.ts +1 -1
  258. package/dist/user/seeds/user.seed.d.ts +1 -1
  259. package/dist/user/services/credential.service.d.ts +1 -1
  260. package/dist/user/services/model.service.d.ts +1 -1
  261. package/dist/user/services/passwordReset.service.d.ts +4 -4
  262. package/dist/user/services/permission.service.d.ts +1 -1
  263. package/dist/user/services/role.service.d.ts +1 -1
  264. package/dist/user/services/user.service.d.ts +1 -1
  265. package/dist/user/services/validate-account.service.d.ts +4 -4
  266. package/dist/utils/decorators/roles.decorator.d.ts +1 -1
  267. package/dist/utils/generics/base-orm.controller.d.ts +2 -2
  268. package/dist/utils/generics/base-orm.repository.d.ts +2 -2
  269. package/dist/utils/generics/base-orm.seeder.d.ts +1 -1
  270. package/dist/utils/generics/base-orm.service.d.ts +2 -2
  271. package/dist/utils/generics/extension.d.ts +3 -4
  272. package/dist/utils/generics/extension.js.map +1 -1
  273. package/dist/utils/helpers/zod.d.ts +1 -1
  274. package/dist/utils/index.d.ts +0 -1
  275. package/dist/utils/index.js +0 -1
  276. package/dist/utils/index.js.map +1 -1
  277. package/dist/utils/pipes/uuid.pipe.js +3 -3
  278. package/dist/utils/pipes/uuid.pipe.js.map +1 -1
  279. package/dist/utils/test/dummy/controllers/dummy.controller.d.ts +1 -1
  280. package/dist/utils/test/dummy/dto/dummy.dto.d.ts +1 -1
  281. package/dist/utils/test/dummy/dummy.action.d.ts +1 -1
  282. package/dist/utils/test/dummy/entities/dummy.entity.d.ts +1 -1
  283. package/dist/utils/test/dummy/repositories/dummy.repository.d.ts +1 -1
  284. package/dist/utils/test/dummy/services/dummy.service.d.ts +1 -1
  285. package/dist/utils/test/fixtures/attachment.d.ts +1 -1
  286. package/dist/utils/test/fixtures/content.d.ts +2 -2
  287. package/dist/utils/test/fixtures/contenttype.d.ts +2 -2
  288. package/dist/utils/test/fixtures/contenttype.js +2 -2
  289. package/dist/utils/test/fixtures/contenttype.js.map +1 -1
  290. package/dist/utils/test/fixtures/dummy.d.ts +2 -2
  291. package/dist/utils/test/fixtures/label-group.d.ts +3 -3
  292. package/dist/utils/test/fixtures/label.d.ts +2 -2
  293. package/dist/utils/test/fixtures/language.d.ts +2 -2
  294. package/dist/utils/test/fixtures/mcp-server.d.ts +3 -3
  295. package/dist/utils/test/fixtures/memory-definition.d.ts +2 -2
  296. package/dist/utils/test/fixtures/memory-record.d.ts +2 -2
  297. package/dist/utils/test/fixtures/menu.d.ts +1 -1
  298. package/dist/utils/test/fixtures/message.d.ts +1 -1
  299. package/dist/utils/test/fixtures/migration.d.ts +1 -1
  300. package/dist/utils/test/fixtures/model.d.ts +2 -2
  301. package/dist/utils/test/fixtures/permission.d.ts +4 -4
  302. package/dist/utils/test/fixtures/role.d.ts +2 -2
  303. package/dist/utils/test/fixtures/setting.d.ts +1 -1
  304. package/dist/utils/test/fixtures/stats.d.ts +1 -1
  305. package/dist/utils/test/fixtures/subscriber.d.ts +4 -4
  306. package/dist/utils/test/fixtures/translation.d.ts +1 -1
  307. package/dist/utils/test/fixtures/user.d.ts +2 -2
  308. package/dist/utils/test/fixtures/workflow-run.d.ts +2 -2
  309. package/dist/utils/test/fixtures/workflow.d.ts +2 -2
  310. package/dist/utils/test/providers/i18n-service.provider.d.ts +1 -1
  311. package/dist/utils/test/providers/i18n-service.provider.js +2 -2
  312. package/dist/utils/test/providers/i18n-service.provider.js.map +1 -1
  313. package/dist/utils/test/providers/mailer-service.provider.d.ts +3 -3
  314. package/dist/utils/test/providers/mailer-service.provider.js +2 -2
  315. package/dist/utils/test/providers/mailer-service.provider.js.map +1 -1
  316. package/dist/utils/test/providers/setting-service.provider.d.ts +1 -1
  317. package/dist/utils/test/providers/setting-service.provider.js +2 -2
  318. package/dist/utils/test/providers/setting-service.provider.js.map +1 -1
  319. package/dist/utils/test/test.d.ts +4 -0
  320. package/dist/utils/test/test.js +34 -1
  321. package/dist/utils/test/test.js.map +1 -1
  322. package/dist/utils/test/types.d.ts +1 -1
  323. package/dist/utils/test/utils.d.ts +2 -1
  324. package/dist/utils/test/utils.js +203 -46
  325. package/dist/utils/test/utils.js.map +1 -1
  326. package/dist/utils/types/dto.types.d.ts +1 -1
  327. package/dist/utils/types/entity-event.types.d.ts +1 -1
  328. package/dist/websocket/services/socket-event-dispatcher.service.d.ts +1 -1
  329. package/dist/websocket/websocket.gateway.d.ts +6 -6
  330. package/dist/websocket/websocket.gateway.js +2 -2
  331. package/dist/websocket/websocket.gateway.js.map +1 -1
  332. package/dist/workflow/contexts/conversational-workflow.context.d.ts +1 -1
  333. package/dist/workflow/contexts/workflow-runtime.context.d.ts +10 -10
  334. package/dist/workflow/contexts/workflow-runtime.context.js +6 -6
  335. package/dist/workflow/contexts/workflow-runtime.context.js.map +1 -1
  336. package/dist/workflow/controllers/mcp-server.controller.d.ts +1 -1
  337. package/dist/workflow/controllers/memory-definition.controller.d.ts +1 -1
  338. package/dist/workflow/controllers/workflow-run.controller.d.ts +1 -1
  339. package/dist/workflow/controllers/workflow-version.controller.d.ts +1 -1
  340. package/dist/workflow/controllers/workflow.controller.d.ts +4 -4
  341. package/dist/workflow/controllers/workflow.controller.js +9 -9
  342. package/dist/workflow/controllers/workflow.controller.js.map +1 -1
  343. package/dist/workflow/dto/mcp-server.dto.d.ts +1 -1
  344. package/dist/workflow/dto/memory-definition.dto.d.ts +1 -1
  345. package/dist/workflow/dto/memory-record.dto.d.ts +1 -1
  346. package/dist/workflow/dto/workflow-run.dto.d.ts +1 -1
  347. package/dist/workflow/dto/workflow-version.dto.d.ts +1 -1
  348. package/dist/workflow/dto/workflow.dto.d.ts +1 -1
  349. package/dist/workflow/entities/mcp-server.entity.d.ts +2 -2
  350. package/dist/workflow/entities/mcp-server.entity.js +4 -4
  351. package/dist/workflow/entities/mcp-server.entity.js.map +1 -1
  352. package/dist/workflow/entities/memory-definition.entity.d.ts +1 -1
  353. package/dist/workflow/entities/memory-record.entity.d.ts +4 -4
  354. package/dist/workflow/entities/workflow-run.entity.d.ts +4 -4
  355. package/dist/workflow/entities/workflow-version.entity.d.ts +3 -3
  356. package/dist/workflow/entities/workflow-version.entity.js +6 -4
  357. package/dist/workflow/entities/workflow-version.entity.js.map +1 -1
  358. package/dist/workflow/entities/workflow.entity.d.ts +2 -2
  359. package/dist/workflow/entities/workflow.entity.js +2 -1
  360. package/dist/workflow/entities/workflow.entity.js.map +1 -1
  361. package/dist/workflow/lib/trigger-event-wrapper.d.ts +1 -1
  362. package/dist/workflow/repositories/mcp-server.repository.d.ts +1 -1
  363. package/dist/workflow/repositories/memory-definition.repository.d.ts +1 -1
  364. package/dist/workflow/repositories/memory-record.repository.d.ts +1 -1
  365. package/dist/workflow/repositories/workflow-run.repository.d.ts +1 -1
  366. package/dist/workflow/repositories/workflow-version.repository.d.ts +1 -1
  367. package/dist/workflow/repositories/workflow.repository.d.ts +1 -1
  368. package/dist/workflow/seeds/memory-definition.seed.d.ts +1 -1
  369. package/dist/workflow/seeds/workflow.seed.d.ts +1 -1
  370. package/dist/workflow/services/agentic.service.d.ts +4 -4
  371. package/dist/workflow/services/mcp-client-pool.service.d.ts +2 -2
  372. package/dist/workflow/services/mcp-server.service.d.ts +1 -1
  373. package/dist/workflow/services/memory-definition.service.d.ts +1 -1
  374. package/dist/workflow/services/memory-record.service.d.ts +1 -1
  375. package/dist/workflow/services/memory.service.js +1 -0
  376. package/dist/workflow/services/memory.service.js.map +1 -1
  377. package/dist/workflow/services/workflow-run.service.d.ts +1 -1
  378. package/dist/workflow/services/workflow-scheduler.service.d.ts +3 -3
  379. package/dist/workflow/services/workflow-scheduler.service.js +2 -2
  380. package/dist/workflow/services/workflow-scheduler.service.js.map +1 -1
  381. package/dist/workflow/services/workflow-version.service.d.ts +1 -1
  382. package/dist/workflow/services/workflow.service.d.ts +3 -3
  383. package/dist/workflow/utils/memory-store.js +12 -1
  384. package/dist/workflow/utils/memory-store.js.map +1 -1
  385. package/dist/workflow/workflow.module.js +4 -4
  386. package/dist/workflow/workflow.module.js.map +1 -1
  387. package/package.json +63 -32
  388. package/src/attachment/utilities/index.ts +2 -2
  389. package/src/bootstrap.ts +10 -1
  390. package/src/channel/lib/Handler.ts +3 -2
  391. package/src/chat/chat.module.ts +1 -1
  392. package/src/chat/entities/subscriber.entity.ts +14 -7
  393. package/src/chat/services/subscriber.service.ts +3 -2
  394. package/src/cms/entities/content-type.entity.ts +12 -4
  395. package/src/cms/entities/content.entity.ts +13 -5
  396. package/src/cms/services/content-type.service.ts +1 -1
  397. package/src/cms/services/rag.service.ts +1 -1
  398. package/src/database/decorators/json-column.decorator.ts +1 -0
  399. package/src/database/typeorm-config.service.ts +1 -1
  400. package/src/extensions/actions/web/http-request.action.ts +23 -4
  401. package/src/extensions/channels/web/base-web-channel.ts +7 -6
  402. package/src/extensions/channels/web/outbound/web-outbound-message-encoder.ts +2 -2
  403. package/src/global.d.ts +0 -6
  404. package/src/license/services/lemon-squeezy.service.ts +3 -2
  405. package/src/mailer/mailer.module.ts +1 -54
  406. package/src/mailer/mailer.service.ts +86 -2
  407. package/src/user/entities/model.entity.ts +13 -5
  408. package/src/user/entities/permission.entity.ts +21 -9
  409. package/src/user/entities/role.entity.ts +12 -4
  410. package/src/utils/generics/extension.ts +1 -3
  411. package/src/utils/index.ts +0 -2
  412. package/src/utils/pipes/uuid.pipe.ts +3 -3
  413. package/src/utils/test/fixtures/contenttype.ts +1 -1
  414. package/src/utils/test/fixtures/workflow.ts +1 -1
  415. package/src/utils/test/providers/i18n-service.provider.ts +1 -1
  416. package/src/utils/test/providers/mailer-service.provider.ts +1 -1
  417. package/src/utils/test/providers/setting-service.provider.ts +1 -1
  418. package/src/utils/test/test.ts +39 -0
  419. package/src/utils/test/utils.ts +332 -57
  420. package/src/websocket/websocket.gateway.ts +2 -2
  421. package/src/workflow/contexts/workflow-runtime.context.ts +2 -2
  422. package/src/workflow/controllers/workflow.controller.ts +2 -2
  423. package/src/workflow/entities/mcp-server.entity.ts +2 -2
  424. package/src/workflow/entities/workflow-version.entity.ts +8 -3
  425. package/src/workflow/entities/workflow.entity.ts +2 -1
  426. package/src/workflow/services/memory.service.ts +1 -0
  427. package/src/workflow/services/workflow-scheduler.service.ts +1 -1
  428. package/src/workflow/utils/memory-store.ts +13 -1
  429. package/src/workflow/workflow.module.ts +2 -2
  430. package/dist/mailer/mjml-adapter.class.d.ts +0 -4
  431. package/dist/mailer/mjml-adapter.class.js +0 -67
  432. package/dist/mailer/mjml-adapter.class.js.map +0 -1
  433. package/dist/utils/types/extension.d.ts +0 -4
  434. package/dist/utils/types/extension.js +0 -3
  435. package/dist/utils/types/extension.js.map +0 -1
  436. package/src/mailer/mjml-adapter.class.ts +0 -41
  437. package/src/utils/types/extension.ts +0 -13
@@ -1,5 +1,5 @@
1
1
  import { Repository } from 'typeorm';
2
- import { BaseOrmRepository } from '@/utils/generics/base-orm.repository';
2
+ import { BaseOrmRepository } from "../../utils/generics/base-orm.repository";
3
3
  import { MenuOrmEntity } from '../entities/menu.entity';
4
4
  export declare class MenuRepository extends BaseOrmRepository<MenuOrmEntity> {
5
5
  constructor(repository: Repository<MenuOrmEntity>);
@@ -1,6 +1,6 @@
1
1
  import { ContentType } from '@hexabot-ai/types';
2
- import { InferCreateDto } from '@/utils';
3
- import { BaseOrmService } from '@/utils/generics/base-orm.service';
2
+ import { BaseOrmService } from "../../utils/generics/base-orm.service";
3
+ import type { InferCreateDto } from "../../utils/types/dto.types";
4
4
  import { ContentTypeOrmEntity } from '../entities/content-type.entity';
5
5
  import { ContentTypeRepository } from '../repositories/content-type.repository';
6
6
  export declare const DEFAULT_CONTENT_TYPE_SCHEMA: {
@@ -1 +1 @@
1
- {"version":3,"file":"content-type.service.js","sourceRoot":"","sources":["../../../src/cms/services/content-type.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAOA,2CAA4C;AAI5C,4EAAmE;AAGnE,qFAAgF;AAEnE,QAAA,2BAA2B,GAAG;IACzC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;QACzC,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE;KAC7C;CACoB,CAAC;AAGjB,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,iCAAoC;IAC1E,YAAqB,UAAiC;QACpD,KAAK,CAAC,UAAU,CAAC,CAAC;QADC,eAAU,GAAV,UAAU,CAAuB;IAEtD,CAAC;IAED,KAAK,CAAC,MAAM,CACV,OAA6C;QAE7C,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,MAAM;YAChE,CAAC,CAAC,OAAO,CAAC,MAAM;YAChB,CAAC,CAAC,mCAA2B,CAAC;QAEhC,OAAO,MAAM,KAAK,CAAC,MAAM,CAAC;YACxB,GAAG,OAAO;YACV,MAAM;SACP,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAjBY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;qCAEsB,+CAAqB;GAD3C,kBAAkB,CAiB9B"}
1
+ {"version":3,"file":"content-type.service.js","sourceRoot":"","sources":["../../../src/cms/services/content-type.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAOA,2CAA4C;AAG5C,4EAAmE;AAInE,qFAAgF;AAEnE,QAAA,2BAA2B,GAAG;IACzC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;QACzC,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE;KAC7C;CACoB,CAAC;AAGjB,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,iCAAoC;IAC1E,YAAqB,UAAiC;QACpD,KAAK,CAAC,UAAU,CAAC,CAAC;QADC,eAAU,GAAV,UAAU,CAAuB;IAEtD,CAAC;IAED,KAAK,CAAC,MAAM,CACV,OAA6C;QAE7C,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,MAAM;YAChE,CAAC,CAAC,OAAO,CAAC,MAAM;YAChB,CAAC,CAAC,mCAA2B,CAAC;QAEhC,OAAO,MAAM,KAAK,CAAC,MAAM,CAAC;YACxB,GAAG,OAAO;YACV,MAAM;SACP,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAjBY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;qCAEsB,+CAAqB;GAD3C,kBAAkB,CAiB9B"}
@@ -1,5 +1,5 @@
1
1
  import { ContentFull, ContentType, StdOutgoingListMessageData, ContentOptions } from '@hexabot-ai/types';
2
- import { BaseOrmService } from '@/utils/generics/base-orm.service';
2
+ import { BaseOrmService } from "../../utils/generics/base-orm.service";
3
3
  import { ContentOrmEntity } from '../entities/content.entity';
4
4
  import { ContentRepository } from '../repositories/content.repository';
5
5
  import { RagHit, RagQueryOptions } from '../types/rag';
@@ -1,5 +1,5 @@
1
1
  import { Cache } from 'cache-manager';
2
- import { BaseOrmService } from '@/utils/generics/base-orm.service';
2
+ import { BaseOrmService } from "../../utils/generics/base-orm.service";
3
3
  import { MenuOrmEntity } from '../entities/menu.entity';
4
4
  import { MenuRepository } from '../repositories/menu.repository';
5
5
  import { MenuTree } from '../types/menu';
@@ -1,7 +1,7 @@
1
1
  import { OnModuleInit } from '@nestjs/common';
2
2
  import { KeywordTableIndex, VectorStoreIndex } from 'llamaindex';
3
- import { LoggerService } from '@/logger/logger.service';
4
- import { SettingService } from '@/setting/services/setting.service';
3
+ import { LoggerService } from "../../logger/logger.service";
4
+ import { SettingService } from "../../setting/services/setting.service";
5
5
  export declare class RagBackendService implements OnModuleInit {
6
6
  private readonly settingService;
7
7
  private readonly logger;
@@ -1,5 +1,5 @@
1
- import { LoggerService } from '@/logger/logger.service';
2
- import { SettingService } from '@/setting/services/setting.service';
1
+ import { LoggerService } from "../../logger/logger.service";
2
+ import { SettingService } from "../../setting/services/setting.service";
3
3
  import { ContentService } from './content.service';
4
4
  import { RagBackendService } from './rag-backend.service';
5
5
  export declare class RagIndexerService {
@@ -1,4 +1,4 @@
1
- import { SettingService } from '@/setting/services/setting.service';
1
+ import { SettingService } from "../../setting/services/setting.service";
2
2
  import { RagHit, RagQueryOptions } from '../types/rag';
3
3
  import { RagBackendService } from './rag-backend.service';
4
4
  export declare class RagRetrieverService {
@@ -1,7 +1,7 @@
1
- import { LoggerService } from '@/logger/logger.service';
2
- import { SettingService } from '@/setting/services/setting.service';
3
- import { UserOrmEntity } from '@/user';
4
- import { DeleteEntityEvent, InsertEntityEvent, UpdateEntityEvent } from '@/utils/types/entity-event.types';
1
+ import { LoggerService } from "../../logger/logger.service";
2
+ import { SettingService } from "../../setting/services/setting.service";
3
+ import type { UserOrmEntity } from "../../user/entities/user.entity";
4
+ import { DeleteEntityEvent, InsertEntityEvent, UpdateEntityEvent } from "../../utils/types/entity-event.types";
5
5
  import { ContentOrmEntity } from '../entities/content.entity';
6
6
  import { RagHit, RagQueryOptions } from '../types/rag';
7
7
  import { RagBackendService } from './rag-backend.service';
@@ -5,6 +5,7 @@ const typeorm_1 = require("typeorm");
5
5
  const config_1 = require("../../config");
6
6
  const dbTypeToJsonColumn = {
7
7
  sqlite: 'simple-json',
8
+ 'better-sqlite3': 'simple-json',
8
9
  postgres: 'json',
9
10
  mysql: 'json',
10
11
  mariadb: 'json',
@@ -1 +1 @@
1
- {"version":3,"file":"json-column.decorator.js","sourceRoot":"","sources":["../../../src/database/decorators/json-column.decorator.ts"],"names":[],"mappings":";;;AAMA,qCAA4D;AAE5D,yCAAkC;AAIlC,MAAM,kBAAkB,GAA+B;IACrD,MAAM,EAAE,aAAa;IACrB,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;IACb,OAAO,EAAE,MAAM;CAChB,CAAC;AAEK,MAAM,UAAU,GAAG,CACxB,UAA6B,EAAE,EACZ,EAAE;IACrB,MAAM,MAAM,GAAG,eAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;IACpC,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC;IAExD,OAAO,IAAA,gBAAM,EAAC;QACZ,GAAG,OAAO;QACV,IAAI,EAAE,UAAU;KACjB,CAAC,CAAC;AACL,CAAC,CAAC;AAVW,QAAA,UAAU,cAUrB"}
1
+ {"version":3,"file":"json-column.decorator.js","sourceRoot":"","sources":["../../../src/database/decorators/json-column.decorator.ts"],"names":[],"mappings":";;;AAMA,qCAA4D;AAE5D,yCAAkC;AAIlC,MAAM,kBAAkB,GAA+B;IACrD,MAAM,EAAE,aAAa;IACrB,gBAAgB,EAAE,aAAa;IAC/B,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;IACb,OAAO,EAAE,MAAM;CAChB,CAAC;AAEK,MAAM,UAAU,GAAG,CACxB,UAA6B,EAAE,EACZ,EAAE;IACrB,MAAM,MAAM,GAAG,eAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;IACpC,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC;IAExD,OAAO,IAAA,gBAAM,EAAC;QACZ,GAAG,OAAO;QACV,IAAI,EAAE,UAAU;KACjB,CAAC,CAAC;AACL,CAAC,CAAC;AAVW,QAAA,UAAU,cAUrB"}
@@ -1,4 +1,4 @@
1
- import { InferTransformDto, TDto } from '@/utils';
1
+ import { InferTransformDto, TDto } from "../../utils";
2
2
  export declare abstract class BaseOrmEntity<Dto extends TDto = TDto> {
3
3
  abstract plainCls: Dto['transformers']['plain'];
4
4
  abstract fullCls: Dto['transformers']['full'];
@@ -46,7 +46,7 @@ let TypeormConfigService = class TypeormConfigService {
46
46
  default:
47
47
  return {
48
48
  ...base,
49
- type: 'sqlite',
49
+ type: 'better-sqlite3',
50
50
  database: db.sqlitePath ?? 'hexabot.sqlite',
51
51
  };
52
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"typeorm-config.service.js","sourceRoot":"","sources":["../../src/database/typeorm-config.service.ts"],"names":[],"mappings":";;;;;;;;;AAMA,2CAA4C;AAG5C,sCAAkC;AAClC,oEAAkE;AAG3D,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,oBAAoB;QAClB,MAAM,EAAE,GAAG,eAAM,CAAC,QAAQ,CAAC;QAC3B,MAAM,IAAI,GAAyB;YACjC,IAAI,EAAE,EAAE,CAAC,IAAI;YACb,WAAW,EAAE,EAAE,CAAC,WAAW;YAC3B,OAAO,EAAE,EAAE,CAAC,OAAO;YACnB,gBAAgB,EAAE,IAAI;YACtB,QAAQ,EAAE,EAAE,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,iCAAgB,CAAC;SAClC,CAAC;QAE1B,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC;YAChB,KAAK,UAAU;gBAEb,OAAO;oBACL,GAAG,IAAI;oBACP,IAAI,EAAE,UAAU;oBAChB,GAAG,EAAE,EAAE,CAAC,GAAG;oBACX,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI;oBAClC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,IAAI,CAAC;oBAC5C,QAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAA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,QAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ;oBAC1C,QAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ;iBAEnB,CAAC;YAC5B,KAAK,QAAQ,CAAC;YACd;gBAEE,OAAO;oBACL,GAAG,IAAI;oBACP,IAAI,EAAE,gBAAgB;oBACtB,QAAQ,EAAE,EAAE,CAAC,UAAU,IAAI,gBAAgB;iBAC5C,CAAC;QACN,CAAC;IACH,CAAC;CACF,CAAA;AA7CY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;GACA,oBAAoB,CA6ChC"}
@@ -1,6 +1,6 @@
1
- import { HelperService } from '@/helper/helper.service';
2
- import { LoggerService } from '@/logger/logger.service';
3
- import { SettingService } from '@/setting/services/setting.service';
1
+ import { HelperService } from "../helper/helper.service";
2
+ import { LoggerService } from "../logger/logger.service";
3
+ import { SettingService } from "../setting/services/setting.service";
4
4
  import { TExtractGroup } from './types';
5
5
  export declare class CleanupService {
6
6
  private readonly helperService;
@@ -1,5 +1,5 @@
1
1
  import { OnApplicationBootstrap } from '@nestjs/common';
2
- import { LoggerService } from '@/logger/logger.service';
2
+ import { LoggerService } from "../logger/logger.service";
3
3
  import { CleanupService } from './cleanup.service';
4
4
  export declare class ExtensionModule implements OnApplicationBootstrap {
5
5
  private readonly loggerService;
@@ -1,4 +1,4 @@
1
- import { HelperName } from '@/helper/types';
1
+ import { HelperName } from "../helper/types";
2
2
  export type TExtension = 'helper';
3
3
  export type TExtractGroup = HelperName;
4
4
  export type TCriteria = {
@@ -1,7 +1,7 @@
1
1
  import { ToolSet } from 'ai';
2
- import { ExecArgs } from '@/actions';
3
- import { ActionService } from '@/actions/actions.service';
4
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
2
+ import { ExecArgs } from "../../../actions";
3
+ import { ActionService } from "../../../actions/actions.service";
4
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
5
5
  import { AiBaseAction } from './ai-base.action';
6
6
  import { AiAgentInput, AiAgentOutput, AiAgentSettings } from './ai-schemas';
7
7
  export declare class AiAgentAction extends AiBaseAction<AiAgentInput, AiAgentOutput, WorkflowRuntimeContext, AiAgentSettings> {
@@ -1,11 +1,11 @@
1
1
  import { ProviderV2, ProviderV3 } from '@ai-sdk/provider';
2
2
  import { Message, StdIncomingMessage, StdOutgoingMessage } from '@hexabot-ai/types';
3
3
  import { LanguageModel, LanguageModelUsage, ModelMessage, ToolSet, hasToolCall, stepCountIs } from 'ai';
4
- import { ActionService } from '@/actions/actions.service';
5
- import { BaseAction } from '@/actions/base-action';
6
- import { ActionMetadata } from '@/actions/types';
7
- import { RuntimeBindings } from '@/bindings/runtime-bindings';
8
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
4
+ import { ActionService } from "../../../actions/actions.service";
5
+ import { BaseAction } from "../../../actions/base-action";
6
+ import { ActionMetadata } from "../../../actions/types";
7
+ import { RuntimeBindings } from "../../../bindings/runtime-bindings";
8
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
9
9
  import { AiCommonSettings, AiPromptInput } from './ai-schemas';
10
10
  export type { AiCommonSettings, AiPromptInput } from './ai-schemas';
11
11
  export type ProviderInitOptions = {
@@ -1,5 +1,5 @@
1
- import { ActionService } from '@/actions/actions.service';
2
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
1
+ import { ActionService } from "../../../actions/actions.service";
2
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
3
3
  import { AiPromptInput } from './ai-base.action';
4
4
  import { AiGenerateObjectInput } from './ai-schemas';
5
5
  import { AiGenerateObjectBaseAction } from './generate-object.base.action';
@@ -1,6 +1,6 @@
1
- import { ActionService } from '@/actions/actions.service';
2
- import { ActionMetadata, ExecArgs } from '@/actions/types';
3
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
1
+ import { ActionService } from "../../../actions/actions.service";
2
+ import { ActionMetadata, ExecArgs } from "../../../actions/types";
3
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
4
4
  import { AiBaseAction, AiPromptInput } from './ai-base.action';
5
5
  import { AiGenerateObjectOutput, AiGenerateObjectSettings } from './ai-schemas';
6
6
  export declare abstract class AiGenerateObjectBaseAction<I, C extends WorkflowRuntimeContext = WorkflowRuntimeContext> extends AiBaseAction<I, AiGenerateObjectOutput, C, AiGenerateObjectSettings> {
@@ -1,5 +1,5 @@
1
- import { ActionService } from '@/actions/actions.service';
2
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
1
+ import { ActionService } from "../../../actions/actions.service";
2
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
3
3
  import { AiPromptInput } from './ai-base.action';
4
4
  import { AiGenerateReplyInput } from './ai-schemas';
5
5
  import { AiGenerateTextBaseAction } from './generate-text.base.action';
@@ -1,5 +1,5 @@
1
- import { ActionService } from '@/actions/actions.service';
2
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
1
+ import { ActionService } from "../../../actions/actions.service";
2
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
3
3
  import { AiPromptInput } from './ai-base.action';
4
4
  import { AiGenerateTextInput } from './ai-schemas';
5
5
  import { AiGenerateTextBaseAction } from './generate-text.base.action';
@@ -1,6 +1,6 @@
1
- import { ActionService } from '@/actions/actions.service';
2
- import { ActionMetadata, ExecArgs } from '@/actions/types';
3
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
1
+ import { ActionService } from "../../../actions/actions.service";
2
+ import { ActionMetadata, ExecArgs } from "../../../actions/types";
3
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
4
4
  import { AiBaseAction, AiPromptInput } from './ai-base.action';
5
5
  import { AiGenerateTextOutput, AiGenerateTextSettings } from './ai-schemas';
6
6
  export declare abstract class AiGenerateTextBaseAction<I, C extends WorkflowRuntimeContext = WorkflowRuntimeContext> extends AiBaseAction<I, AiGenerateTextOutput, C, AiGenerateTextSettings> {
@@ -1,5 +1,5 @@
1
- import { ActionService } from '@/actions/actions.service';
2
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
1
+ import { ActionService } from "../../../actions/actions.service";
2
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
3
3
  import { AiPromptInput } from './ai-base.action';
4
4
  import { AiInferObjectInput } from './ai-schemas';
5
5
  import { AiGenerateObjectBaseAction } from './generate-object.base.action';
@@ -1,4 +1,4 @@
1
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
1
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
2
2
  export declare const RetrieveRagContentAction: import("@nestjs/common").Type<import("../../..").BaseAction<{
3
3
  query: string;
4
4
  }, {
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { ExecArgs } from '@/actions';
3
- import { ActionService } from '@/actions/actions.service';
4
- import { BaseAction } from '@/actions/base-action';
5
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
2
+ import { ExecArgs } from "../../../actions";
3
+ import { ActionService } from "../../../actions/actions.service";
4
+ import { BaseAction } from "../../../actions/base-action";
5
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
6
6
  declare const updateMemorySchema: z.ZodObject<{
7
7
  memory: z.ZodRecord<z.ZodString, z.ZodAny>;
8
8
  }, z.core.$strip>;
@@ -1,8 +1,8 @@
1
1
  import { FileType } from '@hexabot-ai/types';
2
2
  import { z } from 'zod';
3
- import { ExecArgs } from '@/actions';
4
- import { ActionService } from '@/actions/actions.service';
5
- import { ConversationalWorkflowContext } from '@/workflow/contexts/conversational-workflow.context';
3
+ import { ExecArgs } from "../../../actions";
4
+ import { ActionService } from "../../../actions/actions.service";
5
+ import { ConversationalWorkflowContext } from "../../../workflow/contexts/conversational-workflow.context";
6
6
  import { MessageAction, MessageActionSettings } from '../messaging/message-action.base';
7
7
  declare const attachmentInputSchema: z.ZodObject<{
8
8
  attachment: z.ZodDefault<z.ZodObject<{
@@ -1,9 +1,9 @@
1
1
  import { Settings } from '@hexabot-ai/agentic';
2
2
  import { z } from 'zod';
3
- import { ExecArgs } from '@/actions';
4
- import { ActionService } from '@/actions/actions.service';
5
- import { BaseAction } from '@/actions/base-action';
6
- import { ConversationalWorkflowContext } from '@/workflow/contexts/conversational-workflow.context';
3
+ import { ExecArgs } from "../../../actions";
4
+ import { ActionService } from "../../../actions/actions.service";
5
+ import { BaseAction } from "../../../actions/base-action";
6
+ import { ConversationalWorkflowContext } from "../../../workflow/contexts/conversational-workflow.context";
7
7
  export declare const awaitReplyResumeSchema: z.ZodObject<{
8
8
  message_type: z.ZodOptional<z.ZodEnum<typeof import("@hexabot-ai/types").IncomingMessageType>>;
9
9
  payload: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { ExecArgs } from '@/actions';
3
- import { ActionService } from '@/actions/actions.service';
4
- import { ConversationalWorkflowContext } from '@/workflow/contexts/conversational-workflow.context';
2
+ import { ExecArgs } from "../../../actions";
3
+ import { ActionService } from "../../../actions/actions.service";
4
+ import { ConversationalWorkflowContext } from "../../../workflow/contexts/conversational-workflow.context";
5
5
  import { MessageAction, MessageActionSettings } from './message-action.base';
6
6
  declare const buttonsInputSchema: z.ZodObject<{
7
7
  text: z.ZodDefault<z.ZodString>;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { ExecArgs } from '@/actions';
3
- import { ActionService } from '@/actions/actions.service';
4
- import { ConversationalWorkflowContext } from '@/workflow/contexts/conversational-workflow.context';
2
+ import { ExecArgs } from "../../../actions";
3
+ import { ActionService } from "../../../actions/actions.service";
4
+ import { ConversationalWorkflowContext } from "../../../workflow/contexts/conversational-workflow.context";
5
5
  import { MessageAction } from './message-action.base';
6
6
  declare const listActionInputSchema: z.ZodObject<{
7
7
  query: z.ZodOptional<z.ZodAny>;
@@ -1,11 +1,11 @@
1
1
  import { Subscriber, StdIncomingMessage, StdOutgoingMessage, StdOutgoingMessageEnvelope } from '@hexabot-ai/types';
2
2
  import { z } from 'zod';
3
- import { ActionService } from '@/actions/actions.service';
4
- import { BaseAction } from '@/actions/base-action';
5
- import { ActionMetadata } from '@/actions/types';
6
- import { MessageInboundEvent } from '@/channel/lib/inbound-events';
7
- import { EnvelopeFactory } from '@/chat/helpers/envelope-factory';
8
- import { ConversationalWorkflowContext } from '@/workflow/contexts/conversational-workflow.context';
3
+ import { ActionService } from "../../../actions/actions.service";
4
+ import { BaseAction } from "../../../actions/base-action";
5
+ import { ActionMetadata } from "../../../actions/types";
6
+ import { MessageInboundEvent } from "../../../channel/lib/inbound-events";
7
+ import { EnvelopeFactory } from "../../../chat/helpers/envelope-factory";
8
+ import { ConversationalWorkflowContext } from "../../../workflow/contexts/conversational-workflow.context";
9
9
  declare const sentFormats: readonly ["text", "quickReply", "buttons", "list", "carousel", "attachment"];
10
10
  export declare const sentMessageSchema: z.ZodObject<{
11
11
  mid: z.ZodOptional<z.ZodString>;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { ExecArgs } from '@/actions';
3
- import { ActionService } from '@/actions/actions.service';
4
- import { ConversationalWorkflowContext } from '@/workflow/contexts/conversational-workflow.context';
2
+ import { ExecArgs } from "../../../actions";
3
+ import { ActionService } from "../../../actions/actions.service";
4
+ import { ConversationalWorkflowContext } from "../../../workflow/contexts/conversational-workflow.context";
5
5
  import { MessageAction, MessageActionSettings } from './message-action.base';
6
6
  declare const quickRepliesInputSchema: z.ZodObject<{
7
7
  text: z.ZodDefault<z.ZodString>;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { ExecArgs } from '@/actions';
3
- import { ActionService } from '@/actions/actions.service';
4
- import { ConversationalWorkflowContext } from '@/workflow/contexts/conversational-workflow.context';
2
+ import { ExecArgs } from "../../../actions";
3
+ import { ActionService } from "../../../actions/actions.service";
4
+ import { ConversationalWorkflowContext } from "../../../workflow/contexts/conversational-workflow.context";
5
5
  import { MessageAction, MessageActionSettings } from './message-action.base';
6
6
  declare const textMessageInputSchema: z.ZodObject<{
7
7
  text: z.ZodDefault<z.ZodString>;
@@ -1,4 +1,4 @@
1
- import { ConversationalWorkflowContext } from '@/workflow/contexts/conversational-workflow.context';
1
+ import { ConversationalWorkflowContext } from "../../../workflow/contexts/conversational-workflow.context";
2
2
  export declare const SubscriberHandoverAction: import("@nestjs/common").Type<import("../../..").BaseAction<{
3
3
  mode: "auto" | "specific";
4
4
  user_id?: string | undefined;
@@ -1,4 +1,4 @@
1
- import { ConversationalWorkflowContext } from '@/workflow/contexts/conversational-workflow.context';
1
+ import { ConversationalWorkflowContext } from "../../../workflow/contexts/conversational-workflow.context";
2
2
  export declare const SubscriberUpdateLabelsAction: import("@nestjs/common").Type<import("../../..").BaseAction<{
3
3
  labels_to_assign?: string[] | undefined;
4
4
  labels_to_remove?: string[] | undefined;
@@ -1,4 +1,4 @@
1
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
1
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
2
2
  export declare const HttpRequestAction: import("@nestjs/common").Type<import("../../..").BaseAction<{
3
3
  url: string;
4
4
  headers?: Record<string, string> | undefined;
@@ -85,6 +85,20 @@ function isJsonContentType(contentType) {
85
85
  normalized.includes('text/json') ||
86
86
  normalized.includes('+json'));
87
87
  }
88
+ function normalizeHeaderValue(value) {
89
+ if (value === undefined || value === null) {
90
+ return undefined;
91
+ }
92
+ if (Array.isArray(value)) {
93
+ return value.map(String).join(', ');
94
+ }
95
+ if (typeof value === 'string' ||
96
+ typeof value === 'number' ||
97
+ typeof value === 'boolean') {
98
+ return String(value);
99
+ }
100
+ return undefined;
101
+ }
88
102
  function resolveFinalUrl(response) {
89
103
  return response.request?.res?.responseUrl ?? response.request?.responseUrl;
90
104
  }
@@ -133,10 +147,7 @@ exports.HttpRequestAction = (0, create_action_1.createAction)({
133
147
  validateStatus: () => true,
134
148
  ...(requestData !== undefined ? { data: requestData } : {}),
135
149
  });
136
- const contentTypeHeader = response.headers?.['content-type'];
137
- const contentType = Array.isArray(contentTypeHeader)
138
- ? contentTypeHeader.join(', ')
139
- : contentTypeHeader;
150
+ const contentType = normalizeHeaderValue(response.headers?.['content-type']);
140
151
  const responseData = response.data;
141
152
  let body = '';
142
153
  if (responseData === undefined || responseData === null) {
@@ -1 +1 @@
1
- {"version":3,"file":"http-request.action.js","sourceRoot":"","sources":["../../../../src/extensions/actions/web/http-request.action.ts"],"names":[],"mappings":";;;;;;AAMA,iDAAsD;AACtD,kDAA0B;AAC1B,6BAAwB;AAExB,kEAAuD;AAGvD,MAAM,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,GAAG,EAAE,OAAC,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QAChB,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,uCAAuC;KACrD,CAAC;IACF,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QACxD,KAAK,EAAE,SAAS;QAChB,WAAW,EACT,qEAAqE;KACxE,CAAC;IACF,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QAC7C,KAAK,EAAE,MAAM;QACb,WAAW,EACT,wFAAwF;KAC3F,CAAC;CACH,CAAC,CAAC;AACH,MAAM,yBAAyB,GAAG,OAAC,C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AE,eAAe;gBAC5B,GAAG,EAAE,KAAK,CAAC,GAAG;gBACd,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,EAAE;gBACR,SAAS,EAAE,KAAK;gBAChB,KAAK,EAAE,OAAO;aACf,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH,kBAAe,yBAAiB,CAAC"}
1
+ {"version":3,"file":"http-request.action.js","sourceRoot":"","sources":["../../../../src/extensions/actions/web/http-request.action.ts"],"names":[],"mappings":";;;;;;AAMA,iDAAsD;AACtD,kDAA0B;AAC1B,6BAAwB;AAExB,kEAAuD;AAGvD,MAAM,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,GAAG,EAAE,OAAC,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QAChB,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,uCAAuC;KACrD,CAAC;IACF,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QACxD,KAAK,EAAE,SAAS;QAChB,WAAW,EACT,qEAAqE;KACxE,CAAC;IACF,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QAC7C,KAAK,EAAE,MAAM;QACb,WAAW,EACT,wFAAwF;KAC3F,CAAC;CACH,CAAC,CAAC;AACH,MAAM,yBAAyB,GAAG,OAAC,CAAC,YAAY,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;QAClD,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,mCAAmC;KACjD,CAAC;CACH,CAAC,CAAC;AACH,MAAM,uBAAuB,GAAG,OAAC,CAAC,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,CAAC,CAAC;YAExE,OAAO;gBACL,EAAE,EAAE,KAAK;gBACT,MAAM,EAAE,CAAC;gBACT,WAAW,EAAE,eAAe;gBAC5B,GAAG,EAAE,KAAK,CAAC,GAAG;gBACd,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,EAAE;gBACR,SAAS,EAAE,KAAK;gBAChB,KAAK,EAAE,OAAO;aACf,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH,kBAAe,yBAAiB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { BaseAction, ExecArgs } from '@/actions';
3
- import { ActionService } from '@/actions/actions.service';
4
- import { MailerService } from '@/mailer/mailer.service';
5
- import { WorkflowRuntimeContext } from '@/workflow/contexts/workflow-runtime.context';
2
+ import { BaseAction, ExecArgs } from "../../../actions";
3
+ import { ActionService } from "../../../actions/actions.service";
4
+ import { MailerService } from "../../../mailer/mailer.service";
5
+ import { WorkflowRuntimeContext } from "../../../workflow/contexts/workflow-runtime.context";
6
6
  declare const sendMailInputSchema: z.ZodObject<{
7
7
  to: z.ZodEmail;
8
8
  title: z.ZodString;
@@ -4,12 +4,13 @@ import { HttpException, OnModuleInit } from '@nestjs/common';
4
4
  import { Request, Response } from 'express';
5
5
  import { Socket } from 'socket.io';
6
6
  import type { z } from 'zod';
7
- import { ChannelCapabilities, WebSocketChannelHandler } from '@/channel';
8
- import { MessageInboundEvent } from '@/channel/lib/inbound-events';
9
- import { ChannelName } from '@/channel/types';
10
- import { SubscriberCreateDto } from '@/chat/dto/subscriber.dto';
11
- import { SocketRequest } from '@/websocket/utils/socket-request';
12
- import { SocketResponse } from '@/websocket/utils/socket-response';
7
+ import { ChannelCapabilities } from "../../../channel/lib/channel-capabilities";
8
+ import { MessageInboundEvent } from "../../../channel/lib/inbound-events";
9
+ import { WebSocketChannelHandler } from "../../../channel/lib/transports/websocket-channel-handler";
10
+ import { ChannelName } from "../../../channel/types";
11
+ import { SubscriberCreateDto } from "../../../chat/dto/subscriber.dto";
12
+ import { SocketRequest } from "../../../websocket/utils/socket-request";
13
+ import { SocketResponse } from "../../../websocket/utils/socket-response";
13
14
  import { WEB_CHANNEL_NAME } from './settings.schema';
14
15
  export default abstract class BaseWebChannelHandler<N extends ChannelName> extends WebSocketChannelHandler<N> implements OnModuleInit {
15
16
  private readonly menuService;
@@ -9,14 +9,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ const crypto_1 = require("crypto");
12
13
  const types_1 = require("@hexabot-ai/types");
13
14
  const common_1 = require("@nestjs/common");
14
15
  const event_emitter_1 = require("@nestjs/event-emitter");
15
16
  const socket_io_1 = require("socket.io");
16
- const uuid_1 = require("uuid");
17
17
  const attachment_entity_1 = require("../../../attachment/entities/attachment.entity");
18
18
  const types_2 = require("../../../attachment/types");
19
- const channel_1 = require("../../../channel");
19
+ const channel_capabilities_1 = require("../../../channel/lib/channel-capabilities");
20
+ const extension_inject_decorator_1 = require("../../../channel/lib/extension-inject.decorator");
21
+ const websocket_channel_handler_1 = require("../../../channel/lib/transports/websocket-channel-handler");
20
22
  const source_service_1 = require("../../../channel/services/source.service");
21
23
  const message_service_1 = require("../../../chat/services/message.service");
22
24
  const menu_service_1 = require("../../../cms/services/menu.service");
@@ -26,7 +28,7 @@ const outbound_1 = require("./outbound");
26
28
  const web_history_service_1 = require("./services/web-history.service");
27
29
  const web_session_service_1 = require("./services/web-session.service");
28
30
  const types_3 = require("./types");
29
- let BaseWebChannelHandler = class BaseWebChannelHandler extends channel_1.WebSocketChannelHandler {
31
+ let BaseWebChannelHandler = class BaseWebChannelHandler extends websocket_channel_handler_1.WebSocketChannelHandler {
30
32
  constructor(name, sourceSettingsSchema) {
31
33
  super(name, sourceSettingsSchema);
32
34
  }
@@ -35,10 +37,10 @@ let BaseWebChannelHandler = class BaseWebChannelHandler extends channel_1.WebSoc
35
37
  this.logger.debug('initialization ...');
36
38
  }
37
39
  getCapabilities() {
38
- return { ...channel_1.DEFAULT_CHANNEL_CAPABILITIES, typingIndicator: true };
40
+ return { ...channel_capabilities_1.DEFAULT_CHANNEL_CAPABILITIES, typingIndicator: true };
39
41
  }
40
42
  generateId() {
41
- return `${this.name}-${(0, uuid_1.v4)()}`;
43
+ return `${this.name}-${(0, crypto_1.randomUUID)()}`;
42
44
  }
43
45
  getChannelAttributes(req) {
44
46
  return {
@@ -446,23 +448,23 @@ __decorate([
446
448
  __metadata("design:type", source_service_1.SourceService)
447
449
  ], BaseWebChannelHandler.prototype, "sourceService", void 0);
448
450
  __decorate([
449
- (0, channel_1.ExtensionInject)((name) => (0, outbound_1.createWebOutboundMessageEncoder)(name)),
451
+ (0, extension_inject_decorator_1.ExtensionInject)((name) => (0, outbound_1.createWebOutboundMessageEncoder)(name)),
450
452
  __metadata("design:type", outbound_1.WebOutboundMessageEncoder)
451
453
  ], BaseWebChannelHandler.prototype, "outboundMessageEncoder", void 0);
452
454
  __decorate([
453
- (0, channel_1.ExtensionInject)((name) => (0, inbound_1.createWebInboundMessageEncoder)(name)),
455
+ (0, extension_inject_decorator_1.ExtensionInject)((name) => (0, inbound_1.createWebInboundMessageEncoder)(name)),
454
456
  __metadata("design:type", inbound_1.WebInboundMessageEncoder)
455
457
  ], BaseWebChannelHandler.prototype, "inboundMessageEncoder", void 0);
456
458
  __decorate([
457
- (0, channel_1.ExtensionInject)((name) => (0, inbound_1.createWebInboundEventDecoder)(name)),
459
+ (0, extension_inject_decorator_1.ExtensionInject)((name) => (0, inbound_1.createWebInboundEventDecoder)(name)),
458
460
  __metadata("design:type", inbound_1.WebInboundEventDecoder)
459
461
  ], BaseWebChannelHandler.prototype, "inboundEventDecoder", void 0);
460
462
  __decorate([
461
- (0, channel_1.ExtensionInject)(web_session_service_1.WebSessionService),
463
+ (0, extension_inject_decorator_1.ExtensionInject)(web_session_service_1.WebSessionService),
462
464
  __metadata("design:type", web_session_service_1.WebSessionService)
463
465
  ], BaseWebChannelHandler.prototype, "sessionService", void 0);
464
466
  __decorate([
465
- (0, channel_1.ExtensionInject)(web_history_service_1.WebHistoryService),
467
+ (0, extension_inject_decorator_1.ExtensionInject)(web_history_service_1.WebHistoryService),
466
468
  __metadata("design:type", web_history_service_1.WebHistoryService)
467
469
  ], BaseWebChannelHandler.prototype, "historyService", void 0);
468
470
  __decorate([