@carlonicora/nestjs-neo4jsonapi 0.0.1

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 (1687) hide show
  1. package/LICENSE +675 -0
  2. package/README.md +1139 -0
  3. package/dist/agents/agents.modules.d.ts +8 -0
  4. package/dist/agents/agents.modules.d.ts.map +1 -0
  5. package/dist/agents/agents.modules.js +29 -0
  6. package/dist/agents/agents.modules.js.map +1 -0
  7. package/dist/agents/contextualiser/contexts/citations.context.d.ts +13 -0
  8. package/dist/agents/contextualiser/contexts/citations.context.d.ts.map +1 -0
  9. package/dist/agents/contextualiser/contexts/citations.context.js +9 -0
  10. package/dist/agents/contextualiser/contexts/citations.context.js.map +1 -0
  11. package/dist/agents/contextualiser/contexts/contextualiser.context.d.ts +174 -0
  12. package/dist/agents/contextualiser/contexts/contextualiser.context.d.ts.map +1 -0
  13. package/dist/agents/contextualiser/contexts/contextualiser.context.js +203 -0
  14. package/dist/agents/contextualiser/contexts/contextualiser.context.js.map +1 -0
  15. package/dist/agents/contextualiser/contexts/history.context.d.ts +14 -0
  16. package/dist/agents/contextualiser/contexts/history.context.d.ts.map +1 -0
  17. package/dist/agents/contextualiser/contexts/history.context.js +9 -0
  18. package/dist/agents/contextualiser/contexts/history.context.js.map +1 -0
  19. package/dist/agents/contextualiser/contexts/limit.context.d.ts +2 -0
  20. package/dist/agents/contextualiser/contexts/limit.context.d.ts.map +1 -0
  21. package/dist/agents/contextualiser/contexts/limit.context.js +6 -0
  22. package/dist/agents/contextualiser/contexts/limit.context.js.map +1 -0
  23. package/dist/agents/contextualiser/contexts/notebook.context.d.ts +18 -0
  24. package/dist/agents/contextualiser/contexts/notebook.context.d.ts.map +1 -0
  25. package/dist/agents/contextualiser/contexts/notebook.context.js +10 -0
  26. package/dist/agents/contextualiser/contexts/notebook.context.js.map +1 -0
  27. package/dist/agents/contextualiser/contexts/prompt.context.d.ts +13 -0
  28. package/dist/agents/contextualiser/contexts/prompt.context.d.ts.map +1 -0
  29. package/dist/agents/contextualiser/contexts/prompt.context.js +9 -0
  30. package/dist/agents/contextualiser/contexts/prompt.context.js.map +1 -0
  31. package/dist/agents/contextualiser/contexts/request.context.d.ts +13 -0
  32. package/dist/agents/contextualiser/contexts/request.context.d.ts.map +1 -0
  33. package/dist/agents/contextualiser/contexts/request.context.js +9 -0
  34. package/dist/agents/contextualiser/contexts/request.context.js.map +1 -0
  35. package/dist/agents/contextualiser/contextualiser.module.d.ts +3 -0
  36. package/dist/agents/contextualiser/contextualiser.module.d.ts.map +1 -0
  37. package/dist/agents/contextualiser/contextualiser.module.js +44 -0
  38. package/dist/agents/contextualiser/contextualiser.module.js.map +1 -0
  39. package/dist/agents/contextualiser/factories/contextualiser.context.factory.d.ts +22 -0
  40. package/dist/agents/contextualiser/factories/contextualiser.context.factory.d.ts.map +1 -0
  41. package/dist/agents/contextualiser/factories/contextualiser.context.factory.js +77 -0
  42. package/dist/agents/contextualiser/factories/contextualiser.context.factory.js.map +1 -0
  43. package/dist/agents/contextualiser/interfaces/contextualiser.response.interface.d.ts +26 -0
  44. package/dist/agents/contextualiser/interfaces/contextualiser.response.interface.d.ts.map +1 -0
  45. package/dist/agents/contextualiser/interfaces/contextualiser.response.interface.js +3 -0
  46. package/dist/agents/contextualiser/interfaces/contextualiser.response.interface.js.map +1 -0
  47. package/dist/agents/contextualiser/nodes/atomicfacts.node.service.d.ts +25 -0
  48. package/dist/agents/contextualiser/nodes/atomicfacts.node.service.d.ts.map +1 -0
  49. package/dist/agents/contextualiser/nodes/atomicfacts.node.service.js +196 -0
  50. package/dist/agents/contextualiser/nodes/atomicfacts.node.service.js.map +1 -0
  51. package/dist/agents/contextualiser/nodes/chunk.node.service.d.ts +21 -0
  52. package/dist/agents/contextualiser/nodes/chunk.node.service.d.ts.map +1 -0
  53. package/dist/agents/contextualiser/nodes/chunk.node.service.js +229 -0
  54. package/dist/agents/contextualiser/nodes/chunk.node.service.js.map +1 -0
  55. package/dist/agents/contextualiser/nodes/chunk.vector.node.service.d.ts +21 -0
  56. package/dist/agents/contextualiser/nodes/chunk.vector.node.service.d.ts.map +1 -0
  57. package/dist/agents/contextualiser/nodes/chunk.vector.node.service.js +166 -0
  58. package/dist/agents/contextualiser/nodes/chunk.vector.node.service.js.map +1 -0
  59. package/dist/agents/contextualiser/nodes/keyconcepts.node.service.d.ts +22 -0
  60. package/dist/agents/contextualiser/nodes/keyconcepts.node.service.d.ts.map +1 -0
  61. package/dist/agents/contextualiser/nodes/keyconcepts.node.service.js +184 -0
  62. package/dist/agents/contextualiser/nodes/keyconcepts.node.service.js.map +1 -0
  63. package/dist/agents/contextualiser/nodes/question.refiner.node.service.d.ts +19 -0
  64. package/dist/agents/contextualiser/nodes/question.refiner.node.service.d.ts.map +1 -0
  65. package/dist/agents/contextualiser/nodes/question.refiner.node.service.js +125 -0
  66. package/dist/agents/contextualiser/nodes/question.refiner.node.service.js.map +1 -0
  67. package/dist/agents/contextualiser/nodes/rational.node.service.d.ts +19 -0
  68. package/dist/agents/contextualiser/nodes/rational.node.service.d.ts.map +1 -0
  69. package/dist/agents/contextualiser/nodes/rational.node.service.js +104 -0
  70. package/dist/agents/contextualiser/nodes/rational.node.service.js.map +1 -0
  71. package/dist/agents/contextualiser/services/contextualiser.service.d.ts +32 -0
  72. package/dist/agents/contextualiser/services/contextualiser.service.d.ts.map +1 -0
  73. package/dist/agents/contextualiser/services/contextualiser.service.js +193 -0
  74. package/dist/agents/contextualiser/services/contextualiser.service.js.map +1 -0
  75. package/dist/agents/graph.creator/graph.creator.module.d.ts +3 -0
  76. package/dist/agents/graph.creator/graph.creator.module.d.ts.map +1 -0
  77. package/dist/agents/graph.creator/graph.creator.module.js +24 -0
  78. package/dist/agents/graph.creator/graph.creator.module.js.map +1 -0
  79. package/dist/agents/graph.creator/interfaces/chunk.analysis.interface.d.ts +14 -0
  80. package/dist/agents/graph.creator/interfaces/chunk.analysis.interface.d.ts.map +1 -0
  81. package/dist/agents/graph.creator/interfaces/chunk.analysis.interface.js +3 -0
  82. package/dist/agents/graph.creator/interfaces/chunk.analysis.interface.js.map +1 -0
  83. package/dist/agents/graph.creator/services/graph.creator.service.d.ts +17 -0
  84. package/dist/agents/graph.creator/services/graph.creator.service.d.ts.map +1 -0
  85. package/dist/agents/graph.creator/services/graph.creator.service.js +450 -0
  86. package/dist/agents/graph.creator/services/graph.creator.service.js.map +1 -0
  87. package/dist/agents/index.d.ts +15 -0
  88. package/dist/agents/index.d.ts.map +1 -0
  89. package/dist/agents/index.js +45 -0
  90. package/dist/agents/index.js.map +1 -0
  91. package/dist/agents/prompts/index.d.ts +10 -0
  92. package/dist/agents/prompts/index.d.ts.map +1 -0
  93. package/dist/agents/prompts/index.js +29 -0
  94. package/dist/agents/prompts/index.js.map +1 -0
  95. package/dist/agents/prompts/prompt.interfaces.d.ts +128 -0
  96. package/dist/agents/prompts/prompt.interfaces.d.ts.map +1 -0
  97. package/dist/agents/prompts/prompt.interfaces.js +12 -0
  98. package/dist/agents/prompts/prompt.interfaces.js.map +1 -0
  99. package/dist/agents/prompts/prompt.tokens.d.ts +16 -0
  100. package/dist/agents/prompts/prompt.tokens.d.ts.map +1 -0
  101. package/dist/agents/prompts/prompt.tokens.js +23 -0
  102. package/dist/agents/prompts/prompt.tokens.js.map +1 -0
  103. package/dist/agents/responder/contexts/responder.answer.context.d.ts +28 -0
  104. package/dist/agents/responder/contexts/responder.answer.context.d.ts.map +1 -0
  105. package/dist/agents/responder/contexts/responder.answer.context.js +12 -0
  106. package/dist/agents/responder/contexts/responder.answer.context.js.map +1 -0
  107. package/dist/agents/responder/contexts/responder.context.d.ts +468 -0
  108. package/dist/agents/responder/contexts/responder.context.d.ts.map +1 -0
  109. package/dist/agents/responder/contexts/responder.context.js +32 -0
  110. package/dist/agents/responder/contexts/responder.context.js.map +1 -0
  111. package/dist/agents/responder/factories/responder.context.factory.d.ts +18 -0
  112. package/dist/agents/responder/factories/responder.context.factory.d.ts.map +1 -0
  113. package/dist/agents/responder/factories/responder.context.factory.js +50 -0
  114. package/dist/agents/responder/factories/responder.context.factory.js.map +1 -0
  115. package/dist/agents/responder/interfaces/responder.response.interface.d.ts +21 -0
  116. package/dist/agents/responder/interfaces/responder.response.interface.d.ts.map +1 -0
  117. package/dist/agents/responder/interfaces/responder.response.interface.js +3 -0
  118. package/dist/agents/responder/interfaces/responder.response.interface.js.map +1 -0
  119. package/dist/agents/responder/nodes/responder.answer.node.service.d.ts +16 -0
  120. package/dist/agents/responder/nodes/responder.answer.node.service.d.ts.map +1 -0
  121. package/dist/agents/responder/nodes/responder.answer.node.service.js +367 -0
  122. package/dist/agents/responder/nodes/responder.answer.node.service.js.map +1 -0
  123. package/dist/agents/responder/responder.module.d.ts +3 -0
  124. package/dist/agents/responder/responder.module.d.ts.map +1 -0
  125. package/dist/agents/responder/responder.module.js +28 -0
  126. package/dist/agents/responder/responder.module.js.map +1 -0
  127. package/dist/agents/responder/services/responder.service.d.ts +21 -0
  128. package/dist/agents/responder/services/responder.service.d.ts.map +1 -0
  129. package/dist/agents/responder/services/responder.service.js +87 -0
  130. package/dist/agents/responder/services/responder.service.js.map +1 -0
  131. package/dist/agents/summariser/services/summariser.service.d.ts +24 -0
  132. package/dist/agents/summariser/services/summariser.service.d.ts.map +1 -0
  133. package/dist/agents/summariser/services/summariser.service.js +105 -0
  134. package/dist/agents/summariser/services/summariser.service.js.map +1 -0
  135. package/dist/agents/summariser/summariser.module.d.ts +3 -0
  136. package/dist/agents/summariser/summariser.module.d.ts.map +1 -0
  137. package/dist/agents/summariser/summariser.module.js +23 -0
  138. package/dist/agents/summariser/summariser.module.js.map +1 -0
  139. package/dist/bootstrap/app.module.factory.d.ts +21 -0
  140. package/dist/bootstrap/app.module.factory.d.ts.map +1 -0
  141. package/dist/bootstrap/app.module.factory.js +156 -0
  142. package/dist/bootstrap/app.module.factory.js.map +1 -0
  143. package/dist/bootstrap/bootstrap.d.ts +31 -0
  144. package/dist/bootstrap/bootstrap.d.ts.map +1 -0
  145. package/dist/bootstrap/bootstrap.js +174 -0
  146. package/dist/bootstrap/bootstrap.js.map +1 -0
  147. package/dist/bootstrap/bootstrap.options.d.ts +40 -0
  148. package/dist/bootstrap/bootstrap.options.d.ts.map +1 -0
  149. package/dist/bootstrap/bootstrap.options.js +3 -0
  150. package/dist/bootstrap/bootstrap.options.js.map +1 -0
  151. package/dist/bootstrap/defaults.d.ts +33 -0
  152. package/dist/bootstrap/defaults.d.ts.map +1 -0
  153. package/dist/bootstrap/defaults.js +71 -0
  154. package/dist/bootstrap/defaults.js.map +1 -0
  155. package/dist/bootstrap/index.d.ts +47 -0
  156. package/dist/bootstrap/index.d.ts.map +1 -0
  157. package/dist/bootstrap/index.js +57 -0
  158. package/dist/bootstrap/index.js.map +1 -0
  159. package/dist/common/abstracts/abstract.company.configuration.d.ts +40 -0
  160. package/dist/common/abstracts/abstract.company.configuration.d.ts.map +1 -0
  161. package/dist/common/abstracts/abstract.company.configuration.js +44 -0
  162. package/dist/common/abstracts/abstract.company.configuration.js.map +1 -0
  163. package/dist/common/abstracts/entity.d.ts +13 -0
  164. package/dist/common/abstracts/entity.d.ts.map +1 -0
  165. package/dist/common/abstracts/entity.js +21 -0
  166. package/dist/common/abstracts/entity.js.map +1 -0
  167. package/dist/common/abstracts/index.d.ts +2 -0
  168. package/dist/common/abstracts/index.d.ts.map +1 -0
  169. package/dist/common/abstracts/index.js +18 -0
  170. package/dist/common/abstracts/index.js.map +1 -0
  171. package/dist/common/constants/system.roles.d.ts +18 -0
  172. package/dist/common/constants/system.roles.d.ts.map +1 -0
  173. package/dist/common/constants/system.roles.js +19 -0
  174. package/dist/common/constants/system.roles.js.map +1 -0
  175. package/dist/common/contexts/index.d.ts +2 -0
  176. package/dist/common/contexts/index.d.ts.map +1 -0
  177. package/dist/common/contexts/index.js +18 -0
  178. package/dist/common/contexts/index.js.map +1 -0
  179. package/dist/common/contexts/tokenusage.context.d.ts +13 -0
  180. package/dist/common/contexts/tokenusage.context.d.ts.map +1 -0
  181. package/dist/common/contexts/tokenusage.context.js +9 -0
  182. package/dist/common/contexts/tokenusage.context.js.map +1 -0
  183. package/dist/common/decorators/conditional-service.decorator.d.ts +50 -0
  184. package/dist/common/decorators/conditional-service.decorator.d.ts.map +1 -0
  185. package/dist/common/decorators/conditional-service.decorator.js +87 -0
  186. package/dist/common/decorators/conditional-service.decorator.js.map +1 -0
  187. package/dist/common/decorators/index.d.ts +6 -0
  188. package/dist/common/decorators/index.d.ts.map +1 -0
  189. package/dist/common/decorators/index.js +22 -0
  190. package/dist/common/decorators/index.js.map +1 -0
  191. package/dist/common/decorators/module.decorator.d.ts +6 -0
  192. package/dist/common/decorators/module.decorator.d.ts.map +1 -0
  193. package/dist/common/decorators/module.decorator.js +7 -0
  194. package/dist/common/decorators/module.decorator.js.map +1 -0
  195. package/dist/common/decorators/rate-limit.decorator.d.ts +6 -0
  196. package/dist/common/decorators/rate-limit.decorator.d.ts.map +1 -0
  197. package/dist/common/decorators/rate-limit.decorator.js +15 -0
  198. package/dist/common/decorators/rate-limit.decorator.js.map +1 -0
  199. package/dist/common/decorators/roles.decorator.d.ts +2 -0
  200. package/dist/common/decorators/roles.decorator.d.ts.map +1 -0
  201. package/dist/common/decorators/roles.decorator.js +7 -0
  202. package/dist/common/decorators/roles.decorator.js.map +1 -0
  203. package/dist/common/decorators/tool.decorator.d.ts +29 -0
  204. package/dist/common/decorators/tool.decorator.d.ts.map +1 -0
  205. package/dist/common/decorators/tool.decorator.js +38 -0
  206. package/dist/common/decorators/tool.decorator.js.map +1 -0
  207. package/dist/common/enums/action.d.ts +7 -0
  208. package/dist/common/enums/action.d.ts.map +1 -0
  209. package/dist/common/enums/action.js +11 -0
  210. package/dist/common/enums/action.js.map +1 -0
  211. package/dist/common/enums/agentmessage.type.d.ts +6 -0
  212. package/dist/common/enums/agentmessage.type.d.ts.map +1 -0
  213. package/dist/common/enums/agentmessage.type.js +10 -0
  214. package/dist/common/enums/agentmessage.type.js.map +1 -0
  215. package/dist/common/enums/ai.status.d.ts +8 -0
  216. package/dist/common/enums/ai.status.d.ts.map +1 -0
  217. package/dist/common/enums/ai.status.js +12 -0
  218. package/dist/common/enums/ai.status.js.map +1 -0
  219. package/dist/common/enums/index.d.ts +4 -0
  220. package/dist/common/enums/index.d.ts.map +1 -0
  221. package/dist/common/enums/index.js +20 -0
  222. package/dist/common/enums/index.js.map +1 -0
  223. package/dist/common/filters/http-exception.filter.d.ts +17 -0
  224. package/dist/common/filters/http-exception.filter.d.ts.map +1 -0
  225. package/dist/common/filters/http-exception.filter.js +92 -0
  226. package/dist/common/filters/http-exception.filter.js.map +1 -0
  227. package/dist/common/filters/index.d.ts +2 -0
  228. package/dist/common/filters/index.d.ts.map +1 -0
  229. package/dist/common/filters/index.js +18 -0
  230. package/dist/common/filters/index.js.map +1 -0
  231. package/dist/common/guards/index.d.ts +4 -0
  232. package/dist/common/guards/index.d.ts.map +1 -0
  233. package/dist/common/guards/index.js +20 -0
  234. package/dist/common/guards/index.js.map +1 -0
  235. package/dist/common/guards/jwt.auth.admin.guard.d.ts +18 -0
  236. package/dist/common/guards/jwt.auth.admin.guard.d.ts.map +1 -0
  237. package/dist/common/guards/jwt.auth.admin.guard.js +78 -0
  238. package/dist/common/guards/jwt.auth.admin.guard.js.map +1 -0
  239. package/dist/common/guards/jwt.auth.guard.d.ts +18 -0
  240. package/dist/common/guards/jwt.auth.guard.d.ts.map +1 -0
  241. package/dist/common/guards/jwt.auth.guard.js +81 -0
  242. package/dist/common/guards/jwt.auth.guard.js.map +1 -0
  243. package/dist/common/guards/jwt.auth.optional.guard.d.ts +16 -0
  244. package/dist/common/guards/jwt.auth.optional.guard.d.ts.map +1 -0
  245. package/dist/common/guards/jwt.auth.optional.guard.js +78 -0
  246. package/dist/common/guards/jwt.auth.optional.guard.js.map +1 -0
  247. package/dist/common/helpers/define-entity.d.ts +50 -0
  248. package/dist/common/helpers/define-entity.d.ts.map +1 -0
  249. package/dist/common/helpers/define-entity.js +196 -0
  250. package/dist/common/helpers/define-entity.js.map +1 -0
  251. package/dist/common/helpers/index.d.ts +2 -0
  252. package/dist/common/helpers/index.d.ts.map +1 -0
  253. package/dist/common/helpers/index.js +18 -0
  254. package/dist/common/helpers/index.js.map +1 -0
  255. package/dist/common/index.d.ts +21 -0
  256. package/dist/common/index.d.ts.map +1 -0
  257. package/dist/common/index.js +51 -0
  258. package/dist/common/index.js.map +1 -0
  259. package/dist/common/interfaces/agents/graph.creator.interface.d.ts +17 -0
  260. package/dist/common/interfaces/agents/graph.creator.interface.d.ts.map +1 -0
  261. package/dist/common/interfaces/agents/graph.creator.interface.js +3 -0
  262. package/dist/common/interfaces/agents/graph.creator.interface.js.map +1 -0
  263. package/dist/common/interfaces/authenticated.request.interface.d.ts +14 -0
  264. package/dist/common/interfaces/authenticated.request.interface.d.ts.map +1 -0
  265. package/dist/common/interfaces/authenticated.request.interface.js +3 -0
  266. package/dist/common/interfaces/authenticated.request.interface.js.map +1 -0
  267. package/dist/common/interfaces/datamodel.interface.d.ts +25 -0
  268. package/dist/common/interfaces/datamodel.interface.d.ts.map +1 -0
  269. package/dist/common/interfaces/datamodel.interface.js +7 -0
  270. package/dist/common/interfaces/datamodel.interface.js.map +1 -0
  271. package/dist/common/interfaces/entity.descriptor.interface.d.ts +34 -0
  272. package/dist/common/interfaces/entity.descriptor.interface.d.ts.map +1 -0
  273. package/dist/common/interfaces/entity.descriptor.interface.js +6 -0
  274. package/dist/common/interfaces/entity.descriptor.interface.js.map +1 -0
  275. package/dist/common/interfaces/entity.schema.interface.d.ts +154 -0
  276. package/dist/common/interfaces/entity.schema.interface.d.ts.map +1 -0
  277. package/dist/common/interfaces/entity.schema.interface.js +3 -0
  278. package/dist/common/interfaces/entity.schema.interface.js.map +1 -0
  279. package/dist/common/interfaces/index.d.ts +8 -0
  280. package/dist/common/interfaces/index.d.ts.map +1 -0
  281. package/dist/common/interfaces/index.js +24 -0
  282. package/dist/common/interfaces/index.js.map +1 -0
  283. package/dist/common/interfaces/langchain.usage.interface.d.ts +21 -0
  284. package/dist/common/interfaces/langchain.usage.interface.d.ts.map +1 -0
  285. package/dist/common/interfaces/langchain.usage.interface.js +3 -0
  286. package/dist/common/interfaces/langchain.usage.interface.js.map +1 -0
  287. package/dist/common/interfaces/message.interface.d.ts +6 -0
  288. package/dist/common/interfaces/message.interface.d.ts.map +1 -0
  289. package/dist/common/interfaces/message.interface.js +3 -0
  290. package/dist/common/interfaces/message.interface.js.map +1 -0
  291. package/dist/common/interfaces/token.usage.interface.d.ts +5 -0
  292. package/dist/common/interfaces/token.usage.interface.d.ts.map +1 -0
  293. package/dist/common/interfaces/token.usage.interface.js +3 -0
  294. package/dist/common/interfaces/token.usage.interface.js.map +1 -0
  295. package/dist/common/registries/index.d.ts +2 -0
  296. package/dist/common/registries/index.d.ts.map +1 -0
  297. package/dist/common/registries/index.js +18 -0
  298. package/dist/common/registries/index.js.map +1 -0
  299. package/dist/common/registries/registry.d.ts +23 -0
  300. package/dist/common/registries/registry.d.ts.map +1 -0
  301. package/dist/common/registries/registry.js +55 -0
  302. package/dist/common/registries/registry.js.map +1 -0
  303. package/dist/common/repositories/ai.source.query.d.ts +13 -0
  304. package/dist/common/repositories/ai.source.query.d.ts.map +1 -0
  305. package/dist/common/repositories/ai.source.query.js +23 -0
  306. package/dist/common/repositories/ai.source.query.js.map +1 -0
  307. package/dist/common/repositories/index.d.ts +2 -0
  308. package/dist/common/repositories/index.d.ts.map +1 -0
  309. package/dist/common/repositories/index.js +18 -0
  310. package/dist/common/repositories/index.js.map +1 -0
  311. package/dist/common/strategies/index.d.ts +2 -0
  312. package/dist/common/strategies/index.d.ts.map +1 -0
  313. package/dist/common/strategies/index.js +18 -0
  314. package/dist/common/strategies/index.js.map +1 -0
  315. package/dist/common/strategies/jwt.strategy.d.ts +14 -0
  316. package/dist/common/strategies/jwt.strategy.d.ts.map +1 -0
  317. package/dist/common/strategies/jwt.strategy.js +43 -0
  318. package/dist/common/strategies/jwt.strategy.js.map +1 -0
  319. package/dist/common/tokens.d.ts +14 -0
  320. package/dist/common/tokens.d.ts.map +1 -0
  321. package/dist/common/tokens.js +11 -0
  322. package/dist/common/tokens.js.map +1 -0
  323. package/dist/common/types/data.limits.d.ts +2 -0
  324. package/dist/common/types/data.limits.d.ts.map +1 -0
  325. package/dist/common/types/data.limits.js +3 -0
  326. package/dist/common/types/data.limits.js.map +1 -0
  327. package/dist/common/types/index.d.ts +3 -0
  328. package/dist/common/types/index.d.ts.map +1 -0
  329. package/dist/common/types/index.js +19 -0
  330. package/dist/common/types/index.js.map +1 -0
  331. package/dist/common/types/reducers.d.ts +13 -0
  332. package/dist/common/types/reducers.d.ts.map +1 -0
  333. package/dist/common/types/reducers.js +19 -0
  334. package/dist/common/types/reducers.js.map +1 -0
  335. package/dist/config/base.config.d.ts +90 -0
  336. package/dist/config/base.config.d.ts.map +1 -0
  337. package/dist/config/base.config.js +209 -0
  338. package/dist/config/base.config.js.map +1 -0
  339. package/dist/config/company.configurations.d.ts +19 -0
  340. package/dist/config/company.configurations.d.ts.map +1 -0
  341. package/dist/config/company.configurations.js +23 -0
  342. package/dist/config/company.configurations.js.map +1 -0
  343. package/dist/config/enums/content.types.d.ts +6 -0
  344. package/dist/config/enums/content.types.d.ts.map +1 -0
  345. package/dist/config/enums/content.types.js +9 -0
  346. package/dist/config/enums/content.types.js.map +1 -0
  347. package/dist/config/enums/index.d.ts +3 -0
  348. package/dist/config/enums/index.d.ts.map +1 -0
  349. package/dist/config/enums/index.js +19 -0
  350. package/dist/config/enums/index.js.map +1 -0
  351. package/dist/config/enums/job.name.d.ts +9 -0
  352. package/dist/config/enums/job.name.d.ts.map +1 -0
  353. package/dist/config/enums/job.name.js +12 -0
  354. package/dist/config/enums/job.name.js.map +1 -0
  355. package/dist/config/enums/queue.id.d.ts +9 -0
  356. package/dist/config/enums/queue.id.d.ts.map +1 -0
  357. package/dist/config/enums/queue.id.js +13 -0
  358. package/dist/config/enums/queue.id.js.map +1 -0
  359. package/dist/config/index.d.ts +10 -0
  360. package/dist/config/index.d.ts.map +1 -0
  361. package/dist/config/index.js +30 -0
  362. package/dist/config/index.js.map +1 -0
  363. package/dist/config/interfaces/base.config.interface.d.ts +45 -0
  364. package/dist/config/interfaces/base.config.interface.d.ts.map +1 -0
  365. package/dist/config/interfaces/base.config.interface.js +3 -0
  366. package/dist/config/interfaces/base.config.interface.js.map +1 -0
  367. package/dist/config/interfaces/config.ai.interface.d.ts +31 -0
  368. package/dist/config/interfaces/config.ai.interface.d.ts.map +1 -0
  369. package/dist/config/interfaces/config.ai.interface.js +3 -0
  370. package/dist/config/interfaces/config.ai.interface.js.map +1 -0
  371. package/dist/config/interfaces/config.api.interface.d.ts +6 -0
  372. package/dist/config/interfaces/config.api.interface.d.ts.map +1 -0
  373. package/dist/config/interfaces/config.api.interface.js +3 -0
  374. package/dist/config/interfaces/config.api.interface.js.map +1 -0
  375. package/dist/config/interfaces/config.app.interface.d.ts +4 -0
  376. package/dist/config/interfaces/config.app.interface.d.ts.map +1 -0
  377. package/dist/config/interfaces/config.app.interface.js +3 -0
  378. package/dist/config/interfaces/config.app.interface.js.map +1 -0
  379. package/dist/config/interfaces/config.cache.interface.d.ts +6 -0
  380. package/dist/config/interfaces/config.cache.interface.d.ts.map +1 -0
  381. package/dist/config/interfaces/config.cache.interface.js +3 -0
  382. package/dist/config/interfaces/config.cache.interface.js.map +1 -0
  383. package/dist/config/interfaces/config.chunk.queues.interface.d.ts +16 -0
  384. package/dist/config/interfaces/config.chunk.queues.interface.d.ts.map +1 -0
  385. package/dist/config/interfaces/config.chunk.queues.interface.js +3 -0
  386. package/dist/config/interfaces/config.chunk.queues.interface.js.map +1 -0
  387. package/dist/config/interfaces/config.content.types.interface.d.ts +8 -0
  388. package/dist/config/interfaces/config.content.types.interface.d.ts.map +1 -0
  389. package/dist/config/interfaces/config.content.types.interface.js +3 -0
  390. package/dist/config/interfaces/config.content.types.interface.js.map +1 -0
  391. package/dist/config/interfaces/config.cors.interface.d.ts +12 -0
  392. package/dist/config/interfaces/config.cors.interface.d.ts.map +1 -0
  393. package/dist/config/interfaces/config.cors.interface.js +3 -0
  394. package/dist/config/interfaces/config.cors.interface.js.map +1 -0
  395. package/dist/config/interfaces/config.email.interface.d.ts +11 -0
  396. package/dist/config/interfaces/config.email.interface.d.ts.map +1 -0
  397. package/dist/config/interfaces/config.email.interface.js +3 -0
  398. package/dist/config/interfaces/config.email.interface.js.map +1 -0
  399. package/dist/config/interfaces/config.encryption.interface.d.ts +4 -0
  400. package/dist/config/interfaces/config.encryption.interface.d.ts.map +1 -0
  401. package/dist/config/interfaces/config.encryption.interface.js +3 -0
  402. package/dist/config/interfaces/config.encryption.interface.js.map +1 -0
  403. package/dist/config/interfaces/config.environment.interface.d.ts +4 -0
  404. package/dist/config/interfaces/config.environment.interface.d.ts.map +1 -0
  405. package/dist/config/interfaces/config.environment.interface.js +3 -0
  406. package/dist/config/interfaces/config.environment.interface.js.map +1 -0
  407. package/dist/config/interfaces/config.interface.d.ts +8 -0
  408. package/dist/config/interfaces/config.interface.d.ts.map +1 -0
  409. package/dist/config/interfaces/config.interface.js +3 -0
  410. package/dist/config/interfaces/config.interface.js.map +1 -0
  411. package/dist/config/interfaces/config.job.names.interface.d.ts +20 -0
  412. package/dist/config/interfaces/config.job.names.interface.d.ts.map +1 -0
  413. package/dist/config/interfaces/config.job.names.interface.js +3 -0
  414. package/dist/config/interfaces/config.job.names.interface.js.map +1 -0
  415. package/dist/config/interfaces/config.jwt.interface.d.ts +5 -0
  416. package/dist/config/interfaces/config.jwt.interface.d.ts.map +1 -0
  417. package/dist/config/interfaces/config.jwt.interface.js +3 -0
  418. package/dist/config/interfaces/config.jwt.interface.js.map +1 -0
  419. package/dist/config/interfaces/config.logging.interface.d.ts +16 -0
  420. package/dist/config/interfaces/config.logging.interface.d.ts.map +1 -0
  421. package/dist/config/interfaces/config.logging.interface.js +3 -0
  422. package/dist/config/interfaces/config.logging.interface.js.map +1 -0
  423. package/dist/config/interfaces/config.neo4j.interface.d.ts +7 -0
  424. package/dist/config/interfaces/config.neo4j.interface.d.ts.map +1 -0
  425. package/dist/config/interfaces/config.neo4j.interface.js +3 -0
  426. package/dist/config/interfaces/config.neo4j.interface.js.map +1 -0
  427. package/dist/config/interfaces/config.prompts.interface.d.ts +18 -0
  428. package/dist/config/interfaces/config.prompts.interface.d.ts.map +1 -0
  429. package/dist/config/interfaces/config.prompts.interface.js +3 -0
  430. package/dist/config/interfaces/config.prompts.interface.js.map +1 -0
  431. package/dist/config/interfaces/config.ratelimit.interface.d.ts +7 -0
  432. package/dist/config/interfaces/config.ratelimit.interface.d.ts.map +1 -0
  433. package/dist/config/interfaces/config.ratelimit.interface.js +3 -0
  434. package/dist/config/interfaces/config.ratelimit.interface.js.map +1 -0
  435. package/dist/config/interfaces/config.redis.interface.d.ts +8 -0
  436. package/dist/config/interfaces/config.redis.interface.d.ts.map +1 -0
  437. package/dist/config/interfaces/config.redis.interface.js +3 -0
  438. package/dist/config/interfaces/config.redis.interface.js.map +1 -0
  439. package/dist/config/interfaces/config.s3.interface.d.ts +9 -0
  440. package/dist/config/interfaces/config.s3.interface.d.ts.map +1 -0
  441. package/dist/config/interfaces/config.s3.interface.js +3 -0
  442. package/dist/config/interfaces/config.s3.interface.js.map +1 -0
  443. package/dist/config/interfaces/config.stripe.interface.d.ts +9 -0
  444. package/dist/config/interfaces/config.stripe.interface.d.ts.map +1 -0
  445. package/dist/config/interfaces/config.stripe.interface.js +3 -0
  446. package/dist/config/interfaces/config.stripe.interface.js.map +1 -0
  447. package/dist/config/interfaces/config.tempo.interface.d.ts +7 -0
  448. package/dist/config/interfaces/config.tempo.interface.d.ts.map +1 -0
  449. package/dist/config/interfaces/config.tempo.interface.js +3 -0
  450. package/dist/config/interfaces/config.tempo.interface.js.map +1 -0
  451. package/dist/config/interfaces/config.vapid.interface.d.ts +6 -0
  452. package/dist/config/interfaces/config.vapid.interface.d.ts.map +1 -0
  453. package/dist/config/interfaces/config.vapid.interface.js +3 -0
  454. package/dist/config/interfaces/config.vapid.interface.js.map +1 -0
  455. package/dist/config/interfaces/index.d.ts +27 -0
  456. package/dist/config/interfaces/index.d.ts.map +1 -0
  457. package/dist/config/interfaces/index.js +43 -0
  458. package/dist/config/interfaces/index.js.map +1 -0
  459. package/dist/config/tokens.d.ts +12 -0
  460. package/dist/config/tokens.d.ts.map +1 -0
  461. package/dist/config/tokens.js +16 -0
  462. package/dist/config/tokens.js.map +1 -0
  463. package/dist/core/appmode/app.mode.module.d.ts +6 -0
  464. package/dist/core/appmode/app.mode.module.d.ts.map +1 -0
  465. package/dist/core/appmode/app.mode.module.js +47 -0
  466. package/dist/core/appmode/app.mode.module.js.map +1 -0
  467. package/dist/core/appmode/constants/app.mode.constant.d.ts +2 -0
  468. package/dist/core/appmode/constants/app.mode.constant.d.ts.map +1 -0
  469. package/dist/core/appmode/constants/app.mode.constant.js +8 -0
  470. package/dist/core/appmode/constants/app.mode.constant.js.map +1 -0
  471. package/dist/core/appmode/index.d.ts +8 -0
  472. package/dist/core/appmode/index.d.ts.map +1 -0
  473. package/dist/core/appmode/index.js +24 -0
  474. package/dist/core/appmode/index.js.map +1 -0
  475. package/dist/core/blocknote/blocknote.module.d.ts +22 -0
  476. package/dist/core/blocknote/blocknote.module.d.ts.map +1 -0
  477. package/dist/core/blocknote/blocknote.module.js +40 -0
  478. package/dist/core/blocknote/blocknote.module.js.map +1 -0
  479. package/dist/core/blocknote/index.d.ts +3 -0
  480. package/dist/core/blocknote/index.d.ts.map +1 -0
  481. package/dist/core/blocknote/index.js +19 -0
  482. package/dist/core/blocknote/index.js.map +1 -0
  483. package/dist/core/blocknote/services/blocknote.service.d.ts +53 -0
  484. package/dist/core/blocknote/services/blocknote.service.d.ts.map +1 -0
  485. package/dist/core/blocknote/services/blocknote.service.js +337 -0
  486. package/dist/core/blocknote/services/blocknote.service.js.map +1 -0
  487. package/dist/core/cache/cache.module.d.ts +3 -0
  488. package/dist/core/cache/cache.module.d.ts.map +1 -0
  489. package/dist/core/cache/cache.module.js +22 -0
  490. package/dist/core/cache/cache.module.js.map +1 -0
  491. package/dist/core/cache/index.d.ts +9 -0
  492. package/dist/core/cache/index.d.ts.map +1 -0
  493. package/dist/core/cache/index.js +25 -0
  494. package/dist/core/cache/index.js.map +1 -0
  495. package/dist/core/cache/interceptors/cache.interceptor.d.ts +16 -0
  496. package/dist/core/cache/interceptors/cache.interceptor.d.ts.map +1 -0
  497. package/dist/core/cache/interceptors/cache.interceptor.js +87 -0
  498. package/dist/core/cache/interceptors/cache.interceptor.js.map +1 -0
  499. package/dist/core/cache/services/cache.service.d.ts +36 -0
  500. package/dist/core/cache/services/cache.service.d.ts.map +1 -0
  501. package/dist/core/cache/services/cache.service.js +256 -0
  502. package/dist/core/cache/services/cache.service.js.map +1 -0
  503. package/dist/core/core.module.d.ts +36 -0
  504. package/dist/core/core.module.d.ts.map +1 -0
  505. package/dist/core/core.module.js +149 -0
  506. package/dist/core/core.module.js.map +1 -0
  507. package/dist/core/cors/cors.module.d.ts +12 -0
  508. package/dist/core/cors/cors.module.d.ts.map +1 -0
  509. package/dist/core/cors/cors.module.js +48 -0
  510. package/dist/core/cors/cors.module.js.map +1 -0
  511. package/dist/core/cors/index.d.ts +9 -0
  512. package/dist/core/cors/index.d.ts.map +1 -0
  513. package/dist/core/cors/index.js +27 -0
  514. package/dist/core/cors/index.js.map +1 -0
  515. package/dist/core/cors/services/cors.service.d.ts +17 -0
  516. package/dist/core/cors/services/cors.service.d.ts.map +1 -0
  517. package/dist/core/cors/services/cors.service.js +115 -0
  518. package/dist/core/cors/services/cors.service.js.map +1 -0
  519. package/dist/core/debug/debug.module.d.ts +26 -0
  520. package/dist/core/debug/debug.module.d.ts.map +1 -0
  521. package/dist/core/debug/debug.module.js +45 -0
  522. package/dist/core/debug/debug.module.js.map +1 -0
  523. package/dist/core/debug/index.d.ts +3 -0
  524. package/dist/core/debug/index.d.ts.map +1 -0
  525. package/dist/core/debug/index.js +19 -0
  526. package/dist/core/debug/index.js.map +1 -0
  527. package/dist/core/debug/services/debug.logger.service.d.ts +138 -0
  528. package/dist/core/debug/services/debug.logger.service.d.ts.map +1 -0
  529. package/dist/core/debug/services/debug.logger.service.js +350 -0
  530. package/dist/core/debug/services/debug.logger.service.js.map +1 -0
  531. package/dist/core/email/email.module.d.ts +12 -0
  532. package/dist/core/email/email.module.d.ts.map +1 -0
  533. package/dist/core/email/email.module.js +48 -0
  534. package/dist/core/email/email.module.js.map +1 -0
  535. package/dist/core/email/index.d.ts +9 -0
  536. package/dist/core/email/index.d.ts.map +1 -0
  537. package/dist/core/email/index.js +27 -0
  538. package/dist/core/email/index.js.map +1 -0
  539. package/dist/core/email/services/email.service.d.ts +18 -0
  540. package/dist/core/email/services/email.service.d.ts.map +1 -0
  541. package/dist/core/email/services/email.service.js +217 -0
  542. package/dist/core/email/services/email.service.js.map +1 -0
  543. package/dist/core/index.d.ts +31 -0
  544. package/dist/core/index.d.ts.map +1 -0
  545. package/dist/core/index.js +52 -0
  546. package/dist/core/index.js.map +1 -0
  547. package/dist/core/jsonapi/abstracts/abstract.jsonapi.serialiser.d.ts +26 -0
  548. package/dist/core/jsonapi/abstracts/abstract.jsonapi.serialiser.d.ts.map +1 -0
  549. package/dist/core/jsonapi/abstracts/abstract.jsonapi.serialiser.js +78 -0
  550. package/dist/core/jsonapi/abstracts/abstract.jsonapi.serialiser.js.map +1 -0
  551. package/dist/core/jsonapi/factories/dynamic.relationship.factory.d.ts +7 -0
  552. package/dist/core/jsonapi/factories/dynamic.relationship.factory.d.ts.map +1 -0
  553. package/dist/core/jsonapi/factories/dynamic.relationship.factory.js +61 -0
  554. package/dist/core/jsonapi/factories/dynamic.relationship.factory.js.map +1 -0
  555. package/dist/core/jsonapi/factories/jsonapi.serialiser.factory.d.ts +10 -0
  556. package/dist/core/jsonapi/factories/jsonapi.serialiser.factory.d.ts.map +1 -0
  557. package/dist/core/jsonapi/factories/jsonapi.serialiser.factory.js +43 -0
  558. package/dist/core/jsonapi/factories/jsonapi.serialiser.factory.js.map +1 -0
  559. package/dist/core/jsonapi/index.d.ts +20 -0
  560. package/dist/core/jsonapi/index.d.ts.map +1 -0
  561. package/dist/core/jsonapi/index.js +46 -0
  562. package/dist/core/jsonapi/index.js.map +1 -0
  563. package/dist/core/jsonapi/interfaces/jsonapi.cursor.interface.d.ts +5 -0
  564. package/dist/core/jsonapi/interfaces/jsonapi.cursor.interface.d.ts.map +1 -0
  565. package/dist/core/jsonapi/interfaces/jsonapi.cursor.interface.js +3 -0
  566. package/dist/core/jsonapi/interfaces/jsonapi.cursor.interface.js.map +1 -0
  567. package/dist/core/jsonapi/interfaces/jsonapi.data.interface.d.ts +31 -0
  568. package/dist/core/jsonapi/interfaces/jsonapi.data.interface.d.ts.map +1 -0
  569. package/dist/core/jsonapi/interfaces/jsonapi.data.interface.js +3 -0
  570. package/dist/core/jsonapi/interfaces/jsonapi.data.interface.js.map +1 -0
  571. package/dist/core/jsonapi/interfaces/jsonapi.pagination.interface.d.ts +8 -0
  572. package/dist/core/jsonapi/interfaces/jsonapi.pagination.interface.d.ts.map +1 -0
  573. package/dist/core/jsonapi/interfaces/jsonapi.pagination.interface.js +3 -0
  574. package/dist/core/jsonapi/interfaces/jsonapi.pagination.interface.js.map +1 -0
  575. package/dist/core/jsonapi/interfaces/jsonapi.relationship.builder.interface.d.ts +5 -0
  576. package/dist/core/jsonapi/interfaces/jsonapi.relationship.builder.interface.d.ts.map +1 -0
  577. package/dist/core/jsonapi/interfaces/jsonapi.relationship.builder.interface.js +3 -0
  578. package/dist/core/jsonapi/interfaces/jsonapi.relationship.builder.interface.js.map +1 -0
  579. package/dist/core/jsonapi/interfaces/jsonapi.service.interface.d.ts +8 -0
  580. package/dist/core/jsonapi/interfaces/jsonapi.service.interface.d.ts.map +1 -0
  581. package/dist/core/jsonapi/interfaces/jsonapi.service.interface.js +3 -0
  582. package/dist/core/jsonapi/interfaces/jsonapi.service.interface.js.map +1 -0
  583. package/dist/core/jsonapi/jsonapi.module.d.ts +12 -0
  584. package/dist/core/jsonapi/jsonapi.module.d.ts.map +1 -0
  585. package/dist/core/jsonapi/jsonapi.module.js +50 -0
  586. package/dist/core/jsonapi/jsonapi.module.js.map +1 -0
  587. package/dist/core/jsonapi/serialisers/descriptor.based.serialiser.d.ts +28 -0
  588. package/dist/core/jsonapi/serialisers/descriptor.based.serialiser.d.ts.map +1 -0
  589. package/dist/core/jsonapi/serialisers/descriptor.based.serialiser.js +121 -0
  590. package/dist/core/jsonapi/serialisers/descriptor.based.serialiser.js.map +1 -0
  591. package/dist/core/jsonapi/serialisers/jsonapi.paginator.d.ts +29 -0
  592. package/dist/core/jsonapi/serialisers/jsonapi.paginator.d.ts.map +1 -0
  593. package/dist/core/jsonapi/serialisers/jsonapi.paginator.js +183 -0
  594. package/dist/core/jsonapi/serialisers/jsonapi.paginator.js.map +1 -0
  595. package/dist/core/jsonapi/services/jsonapi.service.d.ts +26 -0
  596. package/dist/core/jsonapi/services/jsonapi.service.d.ts.map +1 -0
  597. package/dist/core/jsonapi/services/jsonapi.service.js +277 -0
  598. package/dist/core/jsonapi/services/jsonapi.service.js.map +1 -0
  599. package/dist/core/jsonapi/types/JsonApiIncludedFields.d.ts +5 -0
  600. package/dist/core/jsonapi/types/JsonApiIncludedFields.d.ts.map +1 -0
  601. package/dist/core/jsonapi/types/JsonApiIncludedFields.js +3 -0
  602. package/dist/core/jsonapi/types/JsonApiIncludedFields.js.map +1 -0
  603. package/dist/core/llm/abstracts/abstract.tools.d.ts +62 -0
  604. package/dist/core/llm/abstracts/abstract.tools.d.ts.map +1 -0
  605. package/dist/core/llm/abstracts/abstract.tools.js +69 -0
  606. package/dist/core/llm/abstracts/abstract.tools.js.map +1 -0
  607. package/dist/core/llm/index.d.ts +8 -0
  608. package/dist/core/llm/index.d.ts.map +1 -0
  609. package/dist/core/llm/index.js +24 -0
  610. package/dist/core/llm/index.js.map +1 -0
  611. package/dist/core/llm/llm.module.d.ts +16 -0
  612. package/dist/core/llm/llm.module.d.ts.map +1 -0
  613. package/dist/core/llm/llm.module.js +39 -0
  614. package/dist/core/llm/llm.module.js.map +1 -0
  615. package/dist/core/llm/services/embedder.service.d.ts +10 -0
  616. package/dist/core/llm/services/embedder.service.d.ts.map +1 -0
  617. package/dist/core/llm/services/embedder.service.js +31 -0
  618. package/dist/core/llm/services/embedder.service.js.map +1 -0
  619. package/dist/core/llm/services/llm.service.d.ts +196 -0
  620. package/dist/core/llm/services/llm.service.d.ts.map +1 -0
  621. package/dist/core/llm/services/llm.service.js +457 -0
  622. package/dist/core/llm/services/llm.service.js.map +1 -0
  623. package/dist/core/llm/services/model.service.d.ts +60 -0
  624. package/dist/core/llm/services/model.service.d.ts.map +1 -0
  625. package/dist/core/llm/services/model.service.js +215 -0
  626. package/dist/core/llm/services/model.service.js.map +1 -0
  627. package/dist/core/llm/services/vision.llm.service.d.ts +47 -0
  628. package/dist/core/llm/services/vision.llm.service.d.ts.map +1 -0
  629. package/dist/core/llm/services/vision.llm.service.js +105 -0
  630. package/dist/core/llm/services/vision.llm.service.js.map +1 -0
  631. package/dist/core/llm/types/llm.atomicfact.d.ts +6 -0
  632. package/dist/core/llm/types/llm.atomicfact.d.ts.map +1 -0
  633. package/dist/core/llm/types/llm.atomicfact.js +3 -0
  634. package/dist/core/llm/types/llm.atomicfact.js.map +1 -0
  635. package/dist/core/llm/types/llm.chunk.d.ts +8 -0
  636. package/dist/core/llm/types/llm.chunk.d.ts.map +1 -0
  637. package/dist/core/llm/types/llm.chunk.js +3 -0
  638. package/dist/core/llm/types/llm.chunk.js.map +1 -0
  639. package/dist/core/llm/types/llm.keyconcept.d.ts +4 -0
  640. package/dist/core/llm/types/llm.keyconcept.d.ts.map +1 -0
  641. package/dist/core/llm/types/llm.keyconcept.js +3 -0
  642. package/dist/core/llm/types/llm.keyconcept.js.map +1 -0
  643. package/dist/core/llm/types/llm.keyconcept.relationship.d.ts +8 -0
  644. package/dist/core/llm/types/llm.keyconcept.relationship.d.ts.map +1 -0
  645. package/dist/core/llm/types/llm.keyconcept.relationship.js +3 -0
  646. package/dist/core/llm/types/llm.keyconcept.relationship.js.map +1 -0
  647. package/dist/core/llm/utils/schema.utils.d.ts +89 -0
  648. package/dist/core/llm/utils/schema.utils.d.ts.map +1 -0
  649. package/dist/core/llm/utils/schema.utils.js +155 -0
  650. package/dist/core/llm/utils/schema.utils.js.map +1 -0
  651. package/dist/core/llm/utils/tools.utils.d.ts +56 -0
  652. package/dist/core/llm/utils/tools.utils.d.ts.map +1 -0
  653. package/dist/core/llm/utils/tools.utils.js +74 -0
  654. package/dist/core/llm/utils/tools.utils.js.map +1 -0
  655. package/dist/core/logging/index.d.ts +11 -0
  656. package/dist/core/logging/index.d.ts.map +1 -0
  657. package/dist/core/logging/index.js +30 -0
  658. package/dist/core/logging/index.js.map +1 -0
  659. package/dist/core/logging/interceptors/logging.interceptor.d.ts +12 -0
  660. package/dist/core/logging/interceptors/logging.interceptor.d.ts.map +1 -0
  661. package/dist/core/logging/interceptors/logging.interceptor.js +82 -0
  662. package/dist/core/logging/interceptors/logging.interceptor.js.map +1 -0
  663. package/dist/core/logging/interfaces/logging.interface.d.ts +35 -0
  664. package/dist/core/logging/interfaces/logging.interface.d.ts.map +1 -0
  665. package/dist/core/logging/interfaces/logging.interface.js +3 -0
  666. package/dist/core/logging/interfaces/logging.interface.js.map +1 -0
  667. package/dist/core/logging/logging.module.d.ts +3 -0
  668. package/dist/core/logging/logging.module.d.ts.map +1 -0
  669. package/dist/core/logging/logging.module.js +23 -0
  670. package/dist/core/logging/logging.module.js.map +1 -0
  671. package/dist/core/logging/services/logging.service.d.ts +32 -0
  672. package/dist/core/logging/services/logging.service.d.ts.map +1 -0
  673. package/dist/core/logging/services/logging.service.js +373 -0
  674. package/dist/core/logging/services/logging.service.js.map +1 -0
  675. package/dist/core/migrator/index.d.ts +4 -0
  676. package/dist/core/migrator/index.d.ts.map +1 -0
  677. package/dist/core/migrator/index.js +20 -0
  678. package/dist/core/migrator/index.js.map +1 -0
  679. package/dist/core/migrator/interfaces/migration.interface.d.ts +5 -0
  680. package/dist/core/migrator/interfaces/migration.interface.d.ts.map +1 -0
  681. package/dist/core/migrator/interfaces/migration.interface.js +3 -0
  682. package/dist/core/migrator/interfaces/migration.interface.js.map +1 -0
  683. package/dist/core/migrator/migrator.module.d.ts +27 -0
  684. package/dist/core/migrator/migrator.module.d.ts.map +1 -0
  685. package/dist/core/migrator/migrator.module.js +46 -0
  686. package/dist/core/migrator/migrator.module.js.map +1 -0
  687. package/dist/core/migrator/services/migrator.service.d.ts +40 -0
  688. package/dist/core/migrator/services/migrator.service.d.ts.map +1 -0
  689. package/dist/core/migrator/services/migrator.service.js +195 -0
  690. package/dist/core/migrator/services/migrator.service.js.map +1 -0
  691. package/dist/core/neo4j/abstracts/abstract.repository.d.ts +133 -0
  692. package/dist/core/neo4j/abstracts/abstract.repository.d.ts.map +1 -0
  693. package/dist/core/neo4j/abstracts/abstract.repository.js +509 -0
  694. package/dist/core/neo4j/abstracts/abstract.repository.js.map +1 -0
  695. package/dist/core/neo4j/abstracts/abstract.service.d.ts +166 -0
  696. package/dist/core/neo4j/abstracts/abstract.service.d.ts.map +1 -0
  697. package/dist/core/neo4j/abstracts/abstract.service.js +223 -0
  698. package/dist/core/neo4j/abstracts/abstract.service.js.map +1 -0
  699. package/dist/core/neo4j/abstracts/index.d.ts +3 -0
  700. package/dist/core/neo4j/abstracts/index.d.ts.map +1 -0
  701. package/dist/core/neo4j/abstracts/index.js +19 -0
  702. package/dist/core/neo4j/abstracts/index.js.map +1 -0
  703. package/dist/core/neo4j/factories/entity.factory.d.ts +17 -0
  704. package/dist/core/neo4j/factories/entity.factory.d.ts.map +1 -0
  705. package/dist/core/neo4j/factories/entity.factory.js +401 -0
  706. package/dist/core/neo4j/factories/entity.factory.js.map +1 -0
  707. package/dist/core/neo4j/index.d.ts +16 -0
  708. package/dist/core/neo4j/index.d.ts.map +1 -0
  709. package/dist/core/neo4j/index.js +41 -0
  710. package/dist/core/neo4j/index.js.map +1 -0
  711. package/dist/core/neo4j/neo4j.module.d.ts +3 -0
  712. package/dist/core/neo4j/neo4j.module.d.ts.map +1 -0
  713. package/dist/core/neo4j/neo4j.module.js +24 -0
  714. package/dist/core/neo4j/neo4j.module.js.map +1 -0
  715. package/dist/core/neo4j/queries/order.by.d.ts +11 -0
  716. package/dist/core/neo4j/queries/order.by.d.ts.map +1 -0
  717. package/dist/core/neo4j/queries/order.by.js +36 -0
  718. package/dist/core/neo4j/queries/order.by.js.map +1 -0
  719. package/dist/core/neo4j/queries/update.relationship.d.ts +15 -0
  720. package/dist/core/neo4j/queries/update.relationship.d.ts.map +1 -0
  721. package/dist/core/neo4j/queries/update.relationship.js +57 -0
  722. package/dist/core/neo4j/queries/update.relationship.js.map +1 -0
  723. package/dist/core/neo4j/services/cypher.service.d.ts +21 -0
  724. package/dist/core/neo4j/services/cypher.service.d.ts.map +1 -0
  725. package/dist/core/neo4j/services/cypher.service.js +49 -0
  726. package/dist/core/neo4j/services/cypher.service.js.map +1 -0
  727. package/dist/core/neo4j/services/neo4j.service.d.ts +59 -0
  728. package/dist/core/neo4j/services/neo4j.service.d.ts.map +1 -0
  729. package/dist/core/neo4j/services/neo4j.service.js +266 -0
  730. package/dist/core/neo4j/services/neo4j.service.js.map +1 -0
  731. package/dist/core/neo4j/services/token-resolver.service.d.ts +35 -0
  732. package/dist/core/neo4j/services/token-resolver.service.d.ts.map +1 -0
  733. package/dist/core/neo4j/services/token-resolver.service.js +100 -0
  734. package/dist/core/neo4j/services/token-resolver.service.js.map +1 -0
  735. package/dist/core/queue/index.d.ts +7 -0
  736. package/dist/core/queue/index.d.ts.map +1 -0
  737. package/dist/core/queue/index.js +24 -0
  738. package/dist/core/queue/index.js.map +1 -0
  739. package/dist/core/queue/queue.module.d.ts +19 -0
  740. package/dist/core/queue/queue.module.d.ts.map +1 -0
  741. package/dist/core/queue/queue.module.js +109 -0
  742. package/dist/core/queue/queue.module.js.map +1 -0
  743. package/dist/core/redis/index.d.ts +9 -0
  744. package/dist/core/redis/index.d.ts.map +1 -0
  745. package/dist/core/redis/index.js +25 -0
  746. package/dist/core/redis/index.js.map +1 -0
  747. package/dist/core/redis/redis.module.d.ts +3 -0
  748. package/dist/core/redis/redis.module.d.ts.map +1 -0
  749. package/dist/core/redis/redis.module.js +22 -0
  750. package/dist/core/redis/redis.module.js.map +1 -0
  751. package/dist/core/redis/services/redis.client.storage.service.d.ts +31 -0
  752. package/dist/core/redis/services/redis.client.storage.service.d.ts.map +1 -0
  753. package/dist/core/redis/services/redis.client.storage.service.js +162 -0
  754. package/dist/core/redis/services/redis.client.storage.service.js.map +1 -0
  755. package/dist/core/redis/services/redis.messaging.service.d.ts +28 -0
  756. package/dist/core/redis/services/redis.messaging.service.d.ts.map +1 -0
  757. package/dist/core/redis/services/redis.messaging.service.js +120 -0
  758. package/dist/core/redis/services/redis.messaging.service.js.map +1 -0
  759. package/dist/core/security/index.d.ts +8 -0
  760. package/dist/core/security/index.d.ts.map +1 -0
  761. package/dist/core/security/index.js +24 -0
  762. package/dist/core/security/index.js.map +1 -0
  763. package/dist/core/security/security.module.d.ts +3 -0
  764. package/dist/core/security/security.module.d.ts.map +1 -0
  765. package/dist/core/security/security.module.js +26 -0
  766. package/dist/core/security/security.module.js.map +1 -0
  767. package/dist/core/security/services/security.service.d.ts +30 -0
  768. package/dist/core/security/services/security.service.d.ts.map +1 -0
  769. package/dist/core/security/services/security.service.js +109 -0
  770. package/dist/core/security/services/security.service.js.map +1 -0
  771. package/dist/core/stripe/errors/stripe.errors.d.ts +9 -0
  772. package/dist/core/stripe/errors/stripe.errors.d.ts.map +1 -0
  773. package/dist/core/stripe/errors/stripe.errors.js +54 -0
  774. package/dist/core/stripe/errors/stripe.errors.js.map +1 -0
  775. package/dist/core/stripe/index.d.ts +12 -0
  776. package/dist/core/stripe/index.d.ts.map +1 -0
  777. package/dist/core/stripe/index.js +28 -0
  778. package/dist/core/stripe/index.js.map +1 -0
  779. package/dist/core/stripe/services/stripe.customer.service.d.ts +25 -0
  780. package/dist/core/stripe/services/stripe.customer.service.d.ts.map +1 -0
  781. package/dist/core/stripe/services/stripe.customer.service.js +124 -0
  782. package/dist/core/stripe/services/stripe.customer.service.js.map +1 -0
  783. package/dist/core/stripe/services/stripe.invoice.service.d.ts +20 -0
  784. package/dist/core/stripe/services/stripe.invoice.service.d.ts.map +1 -0
  785. package/dist/core/stripe/services/stripe.invoice.service.js +102 -0
  786. package/dist/core/stripe/services/stripe.invoice.service.js.map +1 -0
  787. package/dist/core/stripe/services/stripe.payment.service.d.ts +25 -0
  788. package/dist/core/stripe/services/stripe.payment.service.d.ts.map +1 -0
  789. package/dist/core/stripe/services/stripe.payment.service.js +111 -0
  790. package/dist/core/stripe/services/stripe.payment.service.js.map +1 -0
  791. package/dist/core/stripe/services/stripe.portal.service.d.ts +8 -0
  792. package/dist/core/stripe/services/stripe.portal.service.d.ts.map +1 -0
  793. package/dist/core/stripe/services/stripe.portal.service.js +44 -0
  794. package/dist/core/stripe/services/stripe.portal.service.js.map +1 -0
  795. package/dist/core/stripe/services/stripe.product.service.d.ts +46 -0
  796. package/dist/core/stripe/services/stripe.product.service.d.ts.map +1 -0
  797. package/dist/core/stripe/services/stripe.product.service.js +161 -0
  798. package/dist/core/stripe/services/stripe.product.service.js.map +1 -0
  799. package/dist/core/stripe/services/stripe.service.d.ts +36 -0
  800. package/dist/core/stripe/services/stripe.service.d.ts.map +1 -0
  801. package/dist/core/stripe/services/stripe.service.js +89 -0
  802. package/dist/core/stripe/services/stripe.service.js.map +1 -0
  803. package/dist/core/stripe/services/stripe.subscription.service.d.ts +26 -0
  804. package/dist/core/stripe/services/stripe.subscription.service.d.ts.map +1 -0
  805. package/dist/core/stripe/services/stripe.subscription.service.js +166 -0
  806. package/dist/core/stripe/services/stripe.subscription.service.js.map +1 -0
  807. package/dist/core/stripe/services/stripe.usage.service.d.ts +35 -0
  808. package/dist/core/stripe/services/stripe.usage.service.d.ts.map +1 -0
  809. package/dist/core/stripe/services/stripe.usage.service.js +100 -0
  810. package/dist/core/stripe/services/stripe.usage.service.js.map +1 -0
  811. package/dist/core/stripe/services/stripe.webhook.service.d.ts +24 -0
  812. package/dist/core/stripe/services/stripe.webhook.service.d.ts.map +1 -0
  813. package/dist/core/stripe/services/stripe.webhook.service.js +63 -0
  814. package/dist/core/stripe/services/stripe.webhook.service.js.map +1 -0
  815. package/dist/core/stripe/stripe.module.d.ts +21 -0
  816. package/dist/core/stripe/stripe.module.d.ts.map +1 -0
  817. package/dist/core/stripe/stripe.module.js +66 -0
  818. package/dist/core/stripe/stripe.module.js.map +1 -0
  819. package/dist/core/tracing/index.d.ts +12 -0
  820. package/dist/core/tracing/index.d.ts.map +1 -0
  821. package/dist/core/tracing/index.js +33 -0
  822. package/dist/core/tracing/index.js.map +1 -0
  823. package/dist/core/tracing/interceptors/tracing.interceptor.d.ts +9 -0
  824. package/dist/core/tracing/interceptors/tracing.interceptor.d.ts.map +1 -0
  825. package/dist/core/tracing/interceptors/tracing.interceptor.js +119 -0
  826. package/dist/core/tracing/interceptors/tracing.interceptor.js.map +1 -0
  827. package/dist/core/tracing/interfaces/tracing.interface.d.ts +14 -0
  828. package/dist/core/tracing/interfaces/tracing.interface.d.ts.map +1 -0
  829. package/dist/core/tracing/interfaces/tracing.interface.js +3 -0
  830. package/dist/core/tracing/interfaces/tracing.interface.js.map +1 -0
  831. package/dist/core/tracing/services/tracing.service.d.ts +74 -0
  832. package/dist/core/tracing/services/tracing.service.d.ts.map +1 -0
  833. package/dist/core/tracing/services/tracing.service.js +262 -0
  834. package/dist/core/tracing/services/tracing.service.js.map +1 -0
  835. package/dist/core/tracing/tracing.module.d.ts +12 -0
  836. package/dist/core/tracing/tracing.module.d.ts.map +1 -0
  837. package/dist/core/tracing/tracing.module.js +46 -0
  838. package/dist/core/tracing/tracing.module.js.map +1 -0
  839. package/dist/core/tracing/tracing.setup.d.ts +17 -0
  840. package/dist/core/tracing/tracing.setup.d.ts.map +1 -0
  841. package/dist/core/tracing/tracing.setup.js +94 -0
  842. package/dist/core/tracing/tracing.setup.js.map +1 -0
  843. package/dist/core/version/index.d.ts +3 -0
  844. package/dist/core/version/index.d.ts.map +1 -0
  845. package/dist/core/version/index.js +19 -0
  846. package/dist/core/version/index.js.map +1 -0
  847. package/dist/core/version/services/version.service.d.ts +6 -0
  848. package/dist/core/version/services/version.service.d.ts.map +1 -0
  849. package/dist/core/version/services/version.service.js +27 -0
  850. package/dist/core/version/services/version.service.js.map +1 -0
  851. package/dist/core/version/version.module.d.ts +5 -0
  852. package/dist/core/version/version.module.d.ts.map +1 -0
  853. package/dist/core/version/version.module.js +27 -0
  854. package/dist/core/version/version.module.js.map +1 -0
  855. package/dist/core/websocket/gateways/event.gateway.d.ts +41 -0
  856. package/dist/core/websocket/gateways/event.gateway.d.ts.map +1 -0
  857. package/dist/core/websocket/gateways/event.gateway.js +164 -0
  858. package/dist/core/websocket/gateways/event.gateway.js.map +1 -0
  859. package/dist/core/websocket/guards/ws.jwt.auth.guard.d.ts +13 -0
  860. package/dist/core/websocket/guards/ws.jwt.auth.guard.d.ts.map +1 -0
  861. package/dist/core/websocket/guards/ws.jwt.auth.guard.js +62 -0
  862. package/dist/core/websocket/guards/ws.jwt.auth.guard.js.map +1 -0
  863. package/dist/core/websocket/index.d.ts +4 -0
  864. package/dist/core/websocket/index.d.ts.map +1 -0
  865. package/dist/core/websocket/index.js +20 -0
  866. package/dist/core/websocket/index.js.map +1 -0
  867. package/dist/core/websocket/services/presence.service.d.ts +59 -0
  868. package/dist/core/websocket/services/presence.service.d.ts.map +1 -0
  869. package/dist/core/websocket/services/presence.service.js +255 -0
  870. package/dist/core/websocket/services/presence.service.js.map +1 -0
  871. package/dist/core/websocket/services/websocket.service.d.ts +45 -0
  872. package/dist/core/websocket/services/websocket.service.d.ts.map +1 -0
  873. package/dist/core/websocket/services/websocket.service.js +169 -0
  874. package/dist/core/websocket/services/websocket.service.js.map +1 -0
  875. package/dist/core/websocket/websocket.module.d.ts +25 -0
  876. package/dist/core/websocket/websocket.module.d.ts.map +1 -0
  877. package/dist/core/websocket/websocket.module.js +57 -0
  878. package/dist/core/websocket/websocket.module.js.map +1 -0
  879. package/dist/foundations/atomicfact/atomicfact.module.d.ts +5 -0
  880. package/dist/foundations/atomicfact/atomicfact.module.d.ts.map +1 -0
  881. package/dist/foundations/atomicfact/atomicfact.module.js +29 -0
  882. package/dist/foundations/atomicfact/atomicfact.module.js.map +1 -0
  883. package/dist/foundations/atomicfact/entities/atomic.fact.entity.d.ts +7 -0
  884. package/dist/foundations/atomicfact/entities/atomic.fact.entity.d.ts.map +1 -0
  885. package/dist/foundations/atomicfact/entities/atomic.fact.entity.js +3 -0
  886. package/dist/foundations/atomicfact/entities/atomic.fact.entity.js.map +1 -0
  887. package/dist/foundations/atomicfact/entities/atomic.fact.map.d.ts +8 -0
  888. package/dist/foundations/atomicfact/entities/atomic.fact.map.d.ts.map +1 -0
  889. package/dist/foundations/atomicfact/entities/atomic.fact.map.js +13 -0
  890. package/dist/foundations/atomicfact/entities/atomic.fact.map.js.map +1 -0
  891. package/dist/foundations/atomicfact/entities/atomic.fact.meta.d.ts +3 -0
  892. package/dist/foundations/atomicfact/entities/atomic.fact.meta.d.ts.map +1 -0
  893. package/dist/foundations/atomicfact/entities/atomic.fact.meta.js +10 -0
  894. package/dist/foundations/atomicfact/entities/atomic.fact.meta.js.map +1 -0
  895. package/dist/foundations/atomicfact/entities/atomic.fact.model.d.ts +4 -0
  896. package/dist/foundations/atomicfact/entities/atomic.fact.model.d.ts.map +1 -0
  897. package/dist/foundations/atomicfact/entities/atomic.fact.model.js +13 -0
  898. package/dist/foundations/atomicfact/entities/atomic.fact.model.js.map +1 -0
  899. package/dist/foundations/atomicfact/index.d.ts +4 -0
  900. package/dist/foundations/atomicfact/index.d.ts.map +1 -0
  901. package/dist/foundations/atomicfact/index.js +8 -0
  902. package/dist/foundations/atomicfact/index.js.map +1 -0
  903. package/dist/foundations/atomicfact/repositories/atomicfact.repository.d.ts +32 -0
  904. package/dist/foundations/atomicfact/repositories/atomicfact.repository.d.ts.map +1 -0
  905. package/dist/foundations/atomicfact/repositories/atomicfact.repository.js +111 -0
  906. package/dist/foundations/atomicfact/repositories/atomicfact.repository.js.map +1 -0
  907. package/dist/foundations/atomicfact/services/atomicfact.service.d.ts +14 -0
  908. package/dist/foundations/atomicfact/services/atomicfact.service.d.ts.map +1 -0
  909. package/dist/foundations/atomicfact/services/atomicfact.service.js +47 -0
  910. package/dist/foundations/atomicfact/services/atomicfact.service.js.map +1 -0
  911. package/dist/foundations/audit/audit.module.d.ts +5 -0
  912. package/dist/foundations/audit/audit.module.d.ts.map +1 -0
  913. package/dist/foundations/audit/audit.module.js +33 -0
  914. package/dist/foundations/audit/audit.module.js.map +1 -0
  915. package/dist/foundations/audit/controllers/audit.controller.d.ts +9 -0
  916. package/dist/foundations/audit/controllers/audit.controller.d.ts.map +1 -0
  917. package/dist/foundations/audit/controllers/audit.controller.js +47 -0
  918. package/dist/foundations/audit/controllers/audit.controller.js.map +1 -0
  919. package/dist/foundations/audit/entities/audit.entity.d.ts +8 -0
  920. package/dist/foundations/audit/entities/audit.entity.d.ts.map +1 -0
  921. package/dist/foundations/audit/entities/audit.entity.js +3 -0
  922. package/dist/foundations/audit/entities/audit.entity.js.map +1 -0
  923. package/dist/foundations/audit/entities/audit.map.d.ts +8 -0
  924. package/dist/foundations/audit/entities/audit.map.d.ts.map +1 -0
  925. package/dist/foundations/audit/entities/audit.map.js +15 -0
  926. package/dist/foundations/audit/entities/audit.map.js.map +1 -0
  927. package/dist/foundations/audit/entities/audit.meta.d.ts +3 -0
  928. package/dist/foundations/audit/entities/audit.meta.d.ts.map +1 -0
  929. package/dist/foundations/audit/entities/audit.meta.js +10 -0
  930. package/dist/foundations/audit/entities/audit.meta.js.map +1 -0
  931. package/dist/foundations/audit/entities/audit.model.d.ts +4 -0
  932. package/dist/foundations/audit/entities/audit.model.d.ts.map +1 -0
  933. package/dist/foundations/audit/entities/audit.model.js +17 -0
  934. package/dist/foundations/audit/entities/audit.model.js.map +1 -0
  935. package/dist/foundations/audit/index.d.ts +7 -0
  936. package/dist/foundations/audit/index.d.ts.map +1 -0
  937. package/dist/foundations/audit/index.js +14 -0
  938. package/dist/foundations/audit/index.js.map +1 -0
  939. package/dist/foundations/audit/repositories/audit.repository.d.ts +20 -0
  940. package/dist/foundations/audit/repositories/audit.repository.d.ts.map +1 -0
  941. package/dist/foundations/audit/repositories/audit.repository.js +72 -0
  942. package/dist/foundations/audit/repositories/audit.repository.js.map +1 -0
  943. package/dist/foundations/audit/serialisers/audit.serialiser.d.ts +14 -0
  944. package/dist/foundations/audit/serialisers/audit.serialiser.d.ts.map +1 -0
  945. package/dist/foundations/audit/serialisers/audit.serialiser.js +52 -0
  946. package/dist/foundations/audit/serialisers/audit.serialiser.js.map +1 -0
  947. package/dist/foundations/audit/services/audit.service.d.ts +18 -0
  948. package/dist/foundations/audit/services/audit.service.d.ts.map +1 -0
  949. package/dist/foundations/audit/services/audit.service.js +54 -0
  950. package/dist/foundations/audit/services/audit.service.js.map +1 -0
  951. package/dist/foundations/auth/auth.module.d.ts +5 -0
  952. package/dist/foundations/auth/auth.module.d.ts.map +1 -0
  953. package/dist/foundations/auth/auth.module.js +36 -0
  954. package/dist/foundations/auth/auth.module.js.map +1 -0
  955. package/dist/foundations/auth/controllers/auth.controller.d.ts +20 -0
  956. package/dist/foundations/auth/controllers/auth.controller.d.ts.map +1 -0
  957. package/dist/foundations/auth/controllers/auth.controller.js +148 -0
  958. package/dist/foundations/auth/controllers/auth.controller.js.map +1 -0
  959. package/dist/foundations/auth/dtos/auth.post.forgot.dto.d.ts +11 -0
  960. package/dist/foundations/auth/dtos/auth.post.forgot.dto.d.ts.map +1 -0
  961. package/dist/foundations/auth/dtos/auth.post.forgot.dto.js +46 -0
  962. package/dist/foundations/auth/dtos/auth.post.forgot.dto.js.map +1 -0
  963. package/dist/foundations/auth/dtos/auth.post.login.dto.d.ts +12 -0
  964. package/dist/foundations/auth/dtos/auth.post.login.dto.d.ts.map +1 -0
  965. package/dist/foundations/auth/dtos/auth.post.login.dto.js +53 -0
  966. package/dist/foundations/auth/dtos/auth.post.login.dto.js.map +1 -0
  967. package/dist/foundations/auth/dtos/auth.post.register.dto.d.ts +14 -0
  968. package/dist/foundations/auth/dtos/auth.post.register.dto.d.ts.map +1 -0
  969. package/dist/foundations/auth/dtos/auth.post.register.dto.js +60 -0
  970. package/dist/foundations/auth/dtos/auth.post.register.dto.js.map +1 -0
  971. package/dist/foundations/auth/dtos/auth.post.resetpassword.dto.d.ts +11 -0
  972. package/dist/foundations/auth/dtos/auth.post.resetpassword.dto.d.ts.map +1 -0
  973. package/dist/foundations/auth/dtos/auth.post.resetpassword.dto.js +46 -0
  974. package/dist/foundations/auth/dtos/auth.post.resetpassword.dto.js.map +1 -0
  975. package/dist/foundations/auth/entities/auth.code.entity.d.ts +7 -0
  976. package/dist/foundations/auth/entities/auth.code.entity.d.ts.map +1 -0
  977. package/dist/foundations/auth/entities/auth.code.entity.js +3 -0
  978. package/dist/foundations/auth/entities/auth.code.entity.js.map +1 -0
  979. package/dist/foundations/auth/entities/auth.code.map.d.ts +8 -0
  980. package/dist/foundations/auth/entities/auth.code.map.d.ts.map +1 -0
  981. package/dist/foundations/auth/entities/auth.code.map.js +13 -0
  982. package/dist/foundations/auth/entities/auth.code.map.js.map +1 -0
  983. package/dist/foundations/auth/entities/auth.code.meta.d.ts +3 -0
  984. package/dist/foundations/auth/entities/auth.code.meta.d.ts.map +1 -0
  985. package/dist/foundations/auth/entities/auth.code.meta.js +10 -0
  986. package/dist/foundations/auth/entities/auth.code.meta.js.map +1 -0
  987. package/dist/foundations/auth/entities/auth.code.model.d.ts +4 -0
  988. package/dist/foundations/auth/entities/auth.code.model.d.ts.map +1 -0
  989. package/dist/foundations/auth/entities/auth.code.model.js +13 -0
  990. package/dist/foundations/auth/entities/auth.code.model.js.map +1 -0
  991. package/dist/foundations/auth/entities/auth.entity.d.ts +8 -0
  992. package/dist/foundations/auth/entities/auth.entity.d.ts.map +1 -0
  993. package/dist/foundations/auth/entities/auth.entity.js +3 -0
  994. package/dist/foundations/auth/entities/auth.entity.js.map +1 -0
  995. package/dist/foundations/auth/entities/auth.map.d.ts +8 -0
  996. package/dist/foundations/auth/entities/auth.map.d.ts.map +1 -0
  997. package/dist/foundations/auth/entities/auth.map.js +14 -0
  998. package/dist/foundations/auth/entities/auth.map.js.map +1 -0
  999. package/dist/foundations/auth/entities/auth.meta.d.ts +3 -0
  1000. package/dist/foundations/auth/entities/auth.meta.d.ts.map +1 -0
  1001. package/dist/foundations/auth/entities/auth.meta.js +10 -0
  1002. package/dist/foundations/auth/entities/auth.meta.js.map +1 -0
  1003. package/dist/foundations/auth/entities/auth.model.d.ts +4 -0
  1004. package/dist/foundations/auth/entities/auth.model.d.ts.map +1 -0
  1005. package/dist/foundations/auth/entities/auth.model.js +15 -0
  1006. package/dist/foundations/auth/entities/auth.model.js.map +1 -0
  1007. package/dist/foundations/auth/index.d.ts +2 -0
  1008. package/dist/foundations/auth/index.d.ts.map +1 -0
  1009. package/dist/foundations/auth/index.js +6 -0
  1010. package/dist/foundations/auth/index.js.map +1 -0
  1011. package/dist/foundations/auth/repositories/auth.repository.d.ts +75 -0
  1012. package/dist/foundations/auth/repositories/auth.repository.d.ts.map +1 -0
  1013. package/dist/foundations/auth/repositories/auth.repository.js +581 -0
  1014. package/dist/foundations/auth/repositories/auth.repository.js.map +1 -0
  1015. package/dist/foundations/auth/serialisers/auth.serialiser.d.ts +13 -0
  1016. package/dist/foundations/auth/serialisers/auth.serialiser.d.ts.map +1 -0
  1017. package/dist/foundations/auth/serialisers/auth.serialiser.js +48 -0
  1018. package/dist/foundations/auth/serialisers/auth.serialiser.js.map +1 -0
  1019. package/dist/foundations/auth/services/auth.service.d.ts +67 -0
  1020. package/dist/foundations/auth/services/auth.service.d.ts.map +1 -0
  1021. package/dist/foundations/auth/services/auth.service.js +260 -0
  1022. package/dist/foundations/auth/services/auth.service.js.map +1 -0
  1023. package/dist/foundations/chunk/chunk.module.d.ts +12 -0
  1024. package/dist/foundations/chunk/chunk.module.d.ts.map +1 -0
  1025. package/dist/foundations/chunk/chunk.module.js +46 -0
  1026. package/dist/foundations/chunk/chunk.module.js.map +1 -0
  1027. package/dist/foundations/chunk/controllers/chunk.controller.d.ts +7 -0
  1028. package/dist/foundations/chunk/controllers/chunk.controller.d.ts.map +1 -0
  1029. package/dist/foundations/chunk/controllers/chunk.controller.js +41 -0
  1030. package/dist/foundations/chunk/controllers/chunk.controller.js.map +1 -0
  1031. package/dist/foundations/chunk/entities/chunk.entity.d.ts +12 -0
  1032. package/dist/foundations/chunk/entities/chunk.entity.d.ts.map +1 -0
  1033. package/dist/foundations/chunk/entities/chunk.entity.js +3 -0
  1034. package/dist/foundations/chunk/entities/chunk.entity.js.map +1 -0
  1035. package/dist/foundations/chunk/entities/chunk.map.d.ts +8 -0
  1036. package/dist/foundations/chunk/entities/chunk.map.d.ts.map +1 -0
  1037. package/dist/foundations/chunk/entities/chunk.map.js +31 -0
  1038. package/dist/foundations/chunk/entities/chunk.map.js.map +1 -0
  1039. package/dist/foundations/chunk/entities/chunk.meta.d.ts +3 -0
  1040. package/dist/foundations/chunk/entities/chunk.meta.d.ts.map +1 -0
  1041. package/dist/foundations/chunk/entities/chunk.meta.js +10 -0
  1042. package/dist/foundations/chunk/entities/chunk.meta.js.map +1 -0
  1043. package/dist/foundations/chunk/entities/chunk.model.d.ts +4 -0
  1044. package/dist/foundations/chunk/entities/chunk.model.d.ts.map +1 -0
  1045. package/dist/foundations/chunk/entities/chunk.model.js +13 -0
  1046. package/dist/foundations/chunk/entities/chunk.model.js.map +1 -0
  1047. package/dist/foundations/chunk/index.d.ts +7 -0
  1048. package/dist/foundations/chunk/index.d.ts.map +1 -0
  1049. package/dist/foundations/chunk/index.js +14 -0
  1050. package/dist/foundations/chunk/index.js.map +1 -0
  1051. package/dist/foundations/chunk/processors/chunk.processor.d.ts +21 -0
  1052. package/dist/foundations/chunk/processors/chunk.processor.d.ts.map +1 -0
  1053. package/dist/foundations/chunk/processors/chunk.processor.js +83 -0
  1054. package/dist/foundations/chunk/processors/chunk.processor.js.map +1 -0
  1055. package/dist/foundations/chunk/repositories/chunk.repository.d.ts +69 -0
  1056. package/dist/foundations/chunk/repositories/chunk.repository.d.ts.map +1 -0
  1057. package/dist/foundations/chunk/repositories/chunk.repository.js +259 -0
  1058. package/dist/foundations/chunk/repositories/chunk.repository.js.map +1 -0
  1059. package/dist/foundations/chunk/serialisers/chunk.serialiser.d.ts +14 -0
  1060. package/dist/foundations/chunk/serialisers/chunk.serialiser.d.ts.map +1 -0
  1061. package/dist/foundations/chunk/serialisers/chunk.serialiser.js +54 -0
  1062. package/dist/foundations/chunk/serialisers/chunk.serialiser.js.map +1 -0
  1063. package/dist/foundations/chunk/services/chunk.service.d.ts +61 -0
  1064. package/dist/foundations/chunk/services/chunk.service.d.ts.map +1 -0
  1065. package/dist/foundations/chunk/services/chunk.service.js +282 -0
  1066. package/dist/foundations/chunk/services/chunk.service.js.map +1 -0
  1067. package/dist/foundations/chunker/chunker.module.d.ts +3 -0
  1068. package/dist/foundations/chunker/chunker.module.d.ts.map +1 -0
  1069. package/dist/foundations/chunker/chunker.module.js +38 -0
  1070. package/dist/foundations/chunker/chunker.module.js.map +1 -0
  1071. package/dist/foundations/chunker/constants/file.types.d.ts +3 -0
  1072. package/dist/foundations/chunker/constants/file.types.d.ts.map +1 -0
  1073. package/dist/foundations/chunker/constants/file.types.js +9 -0
  1074. package/dist/foundations/chunker/constants/file.types.js.map +1 -0
  1075. package/dist/foundations/chunker/index.d.ts +4 -0
  1076. package/dist/foundations/chunker/index.d.ts.map +1 -0
  1077. package/dist/foundations/chunker/index.js +20 -0
  1078. package/dist/foundations/chunker/index.js.map +1 -0
  1079. package/dist/foundations/chunker/loaders/json.loader.d.ts +23 -0
  1080. package/dist/foundations/chunker/loaders/json.loader.d.ts.map +1 -0
  1081. package/dist/foundations/chunker/loaders/json.loader.js +113 -0
  1082. package/dist/foundations/chunker/loaders/json.loader.js.map +1 -0
  1083. package/dist/foundations/chunker/loaders/text.loader.d.ts +12 -0
  1084. package/dist/foundations/chunker/loaders/text.loader.d.ts.map +1 -0
  1085. package/dist/foundations/chunker/loaders/text.loader.js +56 -0
  1086. package/dist/foundations/chunker/loaders/text.loader.js.map +1 -0
  1087. package/dist/foundations/chunker/services/chunker.service.d.ts +36 -0
  1088. package/dist/foundations/chunker/services/chunker.service.d.ts.map +1 -0
  1089. package/dist/foundations/chunker/services/chunker.service.js +371 -0
  1090. package/dist/foundations/chunker/services/chunker.service.js.map +1 -0
  1091. package/dist/foundations/chunker/services/types/docx.service.d.ts +26 -0
  1092. package/dist/foundations/chunker/services/types/docx.service.d.ts.map +1 -0
  1093. package/dist/foundations/chunker/services/types/docx.service.js +501 -0
  1094. package/dist/foundations/chunker/services/types/docx.service.js.map +1 -0
  1095. package/dist/foundations/chunker/services/types/imageextractor.service.d.ts +16 -0
  1096. package/dist/foundations/chunker/services/types/imageextractor.service.d.ts.map +1 -0
  1097. package/dist/foundations/chunker/services/types/imageextractor.service.js +196 -0
  1098. package/dist/foundations/chunker/services/types/imageextractor.service.js.map +1 -0
  1099. package/dist/foundations/chunker/services/types/pdf/extractors/layout.extractor.d.ts +14 -0
  1100. package/dist/foundations/chunker/services/types/pdf/extractors/layout.extractor.d.ts.map +1 -0
  1101. package/dist/foundations/chunker/services/types/pdf/extractors/layout.extractor.js +198 -0
  1102. package/dist/foundations/chunker/services/types/pdf/extractors/layout.extractor.js.map +1 -0
  1103. package/dist/foundations/chunker/services/types/pdf/extractors/table.extractor.d.ts +27 -0
  1104. package/dist/foundations/chunker/services/types/pdf/extractors/table.extractor.d.ts.map +1 -0
  1105. package/dist/foundations/chunker/services/types/pdf/extractors/table.extractor.js +396 -0
  1106. package/dist/foundations/chunker/services/types/pdf/extractors/table.extractor.js.map +1 -0
  1107. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-content.interface.d.ts +89 -0
  1108. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-content.interface.d.ts.map +1 -0
  1109. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-content.interface.js +3 -0
  1110. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-content.interface.js.map +1 -0
  1111. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-element.interface.d.ts +95 -0
  1112. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-element.interface.d.ts.map +1 -0
  1113. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-element.interface.js +3 -0
  1114. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-element.interface.js.map +1 -0
  1115. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-layout.interface.d.ts +86 -0
  1116. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-layout.interface.d.ts.map +1 -0
  1117. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-layout.interface.js +3 -0
  1118. package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-layout.interface.js.map +1 -0
  1119. package/dist/foundations/chunker/services/types/pdf.service.d.ts +64 -0
  1120. package/dist/foundations/chunker/services/types/pdf.service.d.ts.map +1 -0
  1121. package/dist/foundations/chunker/services/types/pdf.service.js +1329 -0
  1122. package/dist/foundations/chunker/services/types/pdf.service.js.map +1 -0
  1123. package/dist/foundations/chunker/services/types/pptx.service.d.ts +11 -0
  1124. package/dist/foundations/chunker/services/types/pptx.service.d.ts.map +1 -0
  1125. package/dist/foundations/chunker/services/types/pptx.service.js +161 -0
  1126. package/dist/foundations/chunker/services/types/pptx.service.js.map +1 -0
  1127. package/dist/foundations/chunker/services/types/semanticsplitter.service.d.ts +40 -0
  1128. package/dist/foundations/chunker/services/types/semanticsplitter.service.d.ts.map +1 -0
  1129. package/dist/foundations/chunker/services/types/semanticsplitter.service.js +634 -0
  1130. package/dist/foundations/chunker/services/types/semanticsplitter.service.js.map +1 -0
  1131. package/dist/foundations/chunker/services/types/xlsx.service.d.ts +22 -0
  1132. package/dist/foundations/chunker/services/types/xlsx.service.d.ts.map +1 -0
  1133. package/dist/foundations/chunker/services/types/xlsx.service.js +284 -0
  1134. package/dist/foundations/chunker/services/types/xlsx.service.js.map +1 -0
  1135. package/dist/foundations/chunker/utils/file.downloader.d.ts +9 -0
  1136. package/dist/foundations/chunker/utils/file.downloader.d.ts.map +1 -0
  1137. package/dist/foundations/chunker/utils/file.downloader.js +58 -0
  1138. package/dist/foundations/chunker/utils/file.downloader.js.map +1 -0
  1139. package/dist/foundations/company/company.module.d.ts +5 -0
  1140. package/dist/foundations/company/company.module.d.ts.map +1 -0
  1141. package/dist/foundations/company/company.module.js +37 -0
  1142. package/dist/foundations/company/company.module.js.map +1 -0
  1143. package/dist/foundations/company/controllers/company.controller.d.ts +21 -0
  1144. package/dist/foundations/company/controllers/company.controller.d.ts.map +1 -0
  1145. package/dist/foundations/company/controllers/company.controller.js +164 -0
  1146. package/dist/foundations/company/controllers/company.controller.js.map +1 -0
  1147. package/dist/foundations/company/dtos/company.configurations.put.dto.d.ts +13 -0
  1148. package/dist/foundations/company/dtos/company.configurations.put.dto.d.ts.map +1 -0
  1149. package/dist/foundations/company/dtos/company.configurations.put.dto.js +54 -0
  1150. package/dist/foundations/company/dtos/company.configurations.put.dto.js.map +1 -0
  1151. package/dist/foundations/company/dtos/company.dto.d.ts +11 -0
  1152. package/dist/foundations/company/dtos/company.dto.d.ts.map +1 -0
  1153. package/dist/foundations/company/dtos/company.dto.js +45 -0
  1154. package/dist/foundations/company/dtos/company.dto.js.map +1 -0
  1155. package/dist/foundations/company/dtos/company.license.put.dto.d.ts +14 -0
  1156. package/dist/foundations/company/dtos/company.license.put.dto.d.ts.map +1 -0
  1157. package/dist/foundations/company/dtos/company.license.put.dto.js +59 -0
  1158. package/dist/foundations/company/dtos/company.license.put.dto.js.map +1 -0
  1159. package/dist/foundations/company/dtos/company.post.dto.d.ts +22 -0
  1160. package/dist/foundations/company/dtos/company.post.dto.d.ts.map +1 -0
  1161. package/dist/foundations/company/dtos/company.post.dto.js +87 -0
  1162. package/dist/foundations/company/dtos/company.post.dto.js.map +1 -0
  1163. package/dist/foundations/company/dtos/company.put.dto.d.ts +23 -0
  1164. package/dist/foundations/company/dtos/company.put.dto.d.ts.map +1 -0
  1165. package/dist/foundations/company/dtos/company.put.dto.js +92 -0
  1166. package/dist/foundations/company/dtos/company.put.dto.js.map +1 -0
  1167. package/dist/foundations/company/entities/company.entity.d.ts +17 -0
  1168. package/dist/foundations/company/entities/company.entity.d.ts.map +1 -0
  1169. package/dist/foundations/company/entities/company.entity.js +3 -0
  1170. package/dist/foundations/company/entities/company.entity.js.map +1 -0
  1171. package/dist/foundations/company/entities/company.map.d.ts +8 -0
  1172. package/dist/foundations/company/entities/company.map.d.ts.map +1 -0
  1173. package/dist/foundations/company/entities/company.map.js +22 -0
  1174. package/dist/foundations/company/entities/company.map.js.map +1 -0
  1175. package/dist/foundations/company/entities/company.meta.d.ts +3 -0
  1176. package/dist/foundations/company/entities/company.meta.d.ts.map +1 -0
  1177. package/dist/foundations/company/entities/company.meta.js +10 -0
  1178. package/dist/foundations/company/entities/company.meta.js.map +1 -0
  1179. package/dist/foundations/company/entities/company.model.d.ts +4 -0
  1180. package/dist/foundations/company/entities/company.model.d.ts.map +1 -0
  1181. package/dist/foundations/company/entities/company.model.js +17 -0
  1182. package/dist/foundations/company/entities/company.model.js.map +1 -0
  1183. package/dist/foundations/company/index.d.ts +7 -0
  1184. package/dist/foundations/company/index.d.ts.map +1 -0
  1185. package/dist/foundations/company/index.js +14 -0
  1186. package/dist/foundations/company/index.js.map +1 -0
  1187. package/dist/foundations/company/processors/company.processor.d.ts +23 -0
  1188. package/dist/foundations/company/processors/company.processor.d.ts.map +1 -0
  1189. package/dist/foundations/company/processors/company.processor.js +79 -0
  1190. package/dist/foundations/company/processors/company.processor.js.map +1 -0
  1191. package/dist/foundations/company/repositories/company.repository.d.ts +61 -0
  1192. package/dist/foundations/company/repositories/company.repository.d.ts.map +1 -0
  1193. package/dist/foundations/company/repositories/company.repository.js +295 -0
  1194. package/dist/foundations/company/repositories/company.repository.js.map +1 -0
  1195. package/dist/foundations/company/serialisers/company.serialiser.d.ts +14 -0
  1196. package/dist/foundations/company/serialisers/company.serialiser.d.ts.map +1 -0
  1197. package/dist/foundations/company/serialisers/company.serialiser.js +66 -0
  1198. package/dist/foundations/company/serialisers/company.serialiser.js.map +1 -0
  1199. package/dist/foundations/company/services/company.service.d.ts +65 -0
  1200. package/dist/foundations/company/services/company.service.d.ts.map +1 -0
  1201. package/dist/foundations/company/services/company.service.js +210 -0
  1202. package/dist/foundations/company/services/company.service.js.map +1 -0
  1203. package/dist/foundations/content/content.module.d.ts +5 -0
  1204. package/dist/foundations/content/content.module.d.ts.map +1 -0
  1205. package/dist/foundations/content/content.module.js +33 -0
  1206. package/dist/foundations/content/content.module.js.map +1 -0
  1207. package/dist/foundations/content/controllers/content.controller.d.ts +17 -0
  1208. package/dist/foundations/content/controllers/content.controller.d.ts.map +1 -0
  1209. package/dist/foundations/content/controllers/content.controller.js +129 -0
  1210. package/dist/foundations/content/controllers/content.controller.js.map +1 -0
  1211. package/dist/foundations/content/dtos/content.dto.d.ts +11 -0
  1212. package/dist/foundations/content/dtos/content.dto.d.ts.map +1 -0
  1213. package/dist/foundations/content/dtos/content.dto.js +45 -0
  1214. package/dist/foundations/content/dtos/content.dto.js.map +1 -0
  1215. package/dist/foundations/content/entities/content.entity.d.ts +13 -0
  1216. package/dist/foundations/content/entities/content.entity.d.ts.map +1 -0
  1217. package/dist/foundations/content/entities/content.entity.js +3 -0
  1218. package/dist/foundations/content/entities/content.entity.js.map +1 -0
  1219. package/dist/foundations/content/entities/content.map.d.ts +8 -0
  1220. package/dist/foundations/content/entities/content.map.d.ts.map +1 -0
  1221. package/dist/foundations/content/entities/content.map.js +19 -0
  1222. package/dist/foundations/content/entities/content.map.js.map +1 -0
  1223. package/dist/foundations/content/entities/content.meta.d.ts +3 -0
  1224. package/dist/foundations/content/entities/content.meta.d.ts.map +1 -0
  1225. package/dist/foundations/content/entities/content.meta.js +10 -0
  1226. package/dist/foundations/content/entities/content.meta.js.map +1 -0
  1227. package/dist/foundations/content/entities/content.model.d.ts +4 -0
  1228. package/dist/foundations/content/entities/content.model.d.ts.map +1 -0
  1229. package/dist/foundations/content/entities/content.model.js +16 -0
  1230. package/dist/foundations/content/entities/content.model.js.map +1 -0
  1231. package/dist/foundations/content/index.d.ts +8 -0
  1232. package/dist/foundations/content/index.d.ts.map +1 -0
  1233. package/dist/foundations/content/index.js +16 -0
  1234. package/dist/foundations/content/index.js.map +1 -0
  1235. package/dist/foundations/content/repositories/content.repository.d.ts +33 -0
  1236. package/dist/foundations/content/repositories/content.repository.d.ts.map +1 -0
  1237. package/dist/foundations/content/repositories/content.repository.js +100 -0
  1238. package/dist/foundations/content/repositories/content.repository.js.map +1 -0
  1239. package/dist/foundations/content/serialisers/content.serialiser.d.ts +12 -0
  1240. package/dist/foundations/content/serialisers/content.serialiser.d.ts.map +1 -0
  1241. package/dist/foundations/content/serialisers/content.serialiser.js +53 -0
  1242. package/dist/foundations/content/serialisers/content.serialiser.js.map +1 -0
  1243. package/dist/foundations/content/services/content.cypher.service.d.ts +20 -0
  1244. package/dist/foundations/content/services/content.cypher.service.d.ts.map +1 -0
  1245. package/dist/foundations/content/services/content.cypher.service.js +65 -0
  1246. package/dist/foundations/content/services/content.cypher.service.js.map +1 -0
  1247. package/dist/foundations/content/services/content.service.d.ts +25 -0
  1248. package/dist/foundations/content/services/content.service.d.ts.map +1 -0
  1249. package/dist/foundations/content/services/content.service.js +54 -0
  1250. package/dist/foundations/content/services/content.service.js.map +1 -0
  1251. package/dist/foundations/feature/controllers/feature.controller.d.ts +7 -0
  1252. package/dist/foundations/feature/controllers/feature.controller.d.ts.map +1 -0
  1253. package/dist/foundations/feature/controllers/feature.controller.js +47 -0
  1254. package/dist/foundations/feature/controllers/feature.controller.js.map +1 -0
  1255. package/dist/foundations/feature/dtos/feature.dto.d.ts +11 -0
  1256. package/dist/foundations/feature/dtos/feature.dto.d.ts.map +1 -0
  1257. package/dist/foundations/feature/dtos/feature.dto.js +45 -0
  1258. package/dist/foundations/feature/dtos/feature.dto.js.map +1 -0
  1259. package/dist/foundations/feature/entities/feature.entity.d.ts +8 -0
  1260. package/dist/foundations/feature/entities/feature.entity.d.ts.map +1 -0
  1261. package/dist/foundations/feature/entities/feature.entity.js +3 -0
  1262. package/dist/foundations/feature/entities/feature.entity.js.map +1 -0
  1263. package/dist/foundations/feature/entities/feature.map.d.ts +8 -0
  1264. package/dist/foundations/feature/entities/feature.map.d.ts.map +1 -0
  1265. package/dist/foundations/feature/entities/feature.map.js +14 -0
  1266. package/dist/foundations/feature/entities/feature.map.js.map +1 -0
  1267. package/dist/foundations/feature/entities/feature.meta.d.ts +3 -0
  1268. package/dist/foundations/feature/entities/feature.meta.d.ts.map +1 -0
  1269. package/dist/foundations/feature/entities/feature.meta.js +10 -0
  1270. package/dist/foundations/feature/entities/feature.meta.js.map +1 -0
  1271. package/dist/foundations/feature/entities/feature.model.d.ts +4 -0
  1272. package/dist/foundations/feature/entities/feature.model.d.ts.map +1 -0
  1273. package/dist/foundations/feature/entities/feature.model.js +15 -0
  1274. package/dist/foundations/feature/entities/feature.model.js.map +1 -0
  1275. package/dist/foundations/feature/feature.module.d.ts +5 -0
  1276. package/dist/foundations/feature/feature.module.d.ts.map +1 -0
  1277. package/dist/foundations/feature/feature.module.js +30 -0
  1278. package/dist/foundations/feature/feature.module.js.map +1 -0
  1279. package/dist/foundations/feature/index.d.ts +2 -0
  1280. package/dist/foundations/feature/index.d.ts.map +1 -0
  1281. package/dist/foundations/feature/index.js +6 -0
  1282. package/dist/foundations/feature/index.js.map +1 -0
  1283. package/dist/foundations/feature/repositories/feature.repository.d.ts +19 -0
  1284. package/dist/foundations/feature/repositories/feature.repository.d.ts.map +1 -0
  1285. package/dist/foundations/feature/repositories/feature.repository.js +64 -0
  1286. package/dist/foundations/feature/repositories/feature.repository.js.map +1 -0
  1287. package/dist/foundations/feature/serialisers/feature.serialiser.d.ts +12 -0
  1288. package/dist/foundations/feature/serialisers/feature.serialiser.d.ts.map +1 -0
  1289. package/dist/foundations/feature/serialisers/feature.serialiser.js +45 -0
  1290. package/dist/foundations/feature/serialisers/feature.serialiser.js.map +1 -0
  1291. package/dist/foundations/feature/services/feature.service.d.ts +16 -0
  1292. package/dist/foundations/feature/services/feature.service.d.ts.map +1 -0
  1293. package/dist/foundations/feature/services/feature.service.js +42 -0
  1294. package/dist/foundations/feature/services/feature.service.js.map +1 -0
  1295. package/dist/foundations/foundations.modules.d.ts +28 -0
  1296. package/dist/foundations/foundations.modules.d.ts.map +1 -0
  1297. package/dist/foundations/foundations.modules.js +85 -0
  1298. package/dist/foundations/foundations.modules.js.map +1 -0
  1299. package/dist/foundations/index.d.ts +22 -0
  1300. package/dist/foundations/index.d.ts.map +1 -0
  1301. package/dist/foundations/index.js +40 -0
  1302. package/dist/foundations/index.js.map +1 -0
  1303. package/dist/foundations/keyconcept/entities/key.concept.entity.d.ts +8 -0
  1304. package/dist/foundations/keyconcept/entities/key.concept.entity.d.ts.map +1 -0
  1305. package/dist/foundations/keyconcept/entities/key.concept.entity.js +3 -0
  1306. package/dist/foundations/keyconcept/entities/key.concept.entity.js.map +1 -0
  1307. package/dist/foundations/keyconcept/entities/key.concept.map.d.ts +8 -0
  1308. package/dist/foundations/keyconcept/entities/key.concept.map.d.ts.map +1 -0
  1309. package/dist/foundations/keyconcept/entities/key.concept.map.js +14 -0
  1310. package/dist/foundations/keyconcept/entities/key.concept.map.js.map +1 -0
  1311. package/dist/foundations/keyconcept/entities/key.concept.meta.d.ts +3 -0
  1312. package/dist/foundations/keyconcept/entities/key.concept.meta.d.ts.map +1 -0
  1313. package/dist/foundations/keyconcept/entities/key.concept.meta.js +10 -0
  1314. package/dist/foundations/keyconcept/entities/key.concept.meta.js.map +1 -0
  1315. package/dist/foundations/keyconcept/entities/key.concept.model.d.ts +4 -0
  1316. package/dist/foundations/keyconcept/entities/key.concept.model.d.ts.map +1 -0
  1317. package/dist/foundations/keyconcept/entities/key.concept.model.js +14 -0
  1318. package/dist/foundations/keyconcept/entities/key.concept.model.js.map +1 -0
  1319. package/dist/foundations/keyconcept/index.d.ts +4 -0
  1320. package/dist/foundations/keyconcept/index.d.ts.map +1 -0
  1321. package/dist/foundations/keyconcept/index.js +8 -0
  1322. package/dist/foundations/keyconcept/index.js.map +1 -0
  1323. package/dist/foundations/keyconcept/keyconcept.module.d.ts +5 -0
  1324. package/dist/foundations/keyconcept/keyconcept.module.d.ts.map +1 -0
  1325. package/dist/foundations/keyconcept/keyconcept.module.js +29 -0
  1326. package/dist/foundations/keyconcept/keyconcept.module.js.map +1 -0
  1327. package/dist/foundations/keyconcept/repositories/keyconcept.repository.d.ts +54 -0
  1328. package/dist/foundations/keyconcept/repositories/keyconcept.repository.d.ts.map +1 -0
  1329. package/dist/foundations/keyconcept/repositories/keyconcept.repository.js +290 -0
  1330. package/dist/foundations/keyconcept/repositories/keyconcept.repository.js.map +1 -0
  1331. package/dist/foundations/keyconcept/services/keyconcept.service.d.ts +26 -0
  1332. package/dist/foundations/keyconcept/services/keyconcept.service.d.ts.map +1 -0
  1333. package/dist/foundations/keyconcept/services/keyconcept.service.js +68 -0
  1334. package/dist/foundations/keyconcept/services/keyconcept.service.js.map +1 -0
  1335. package/dist/foundations/module/dtos/module.dto.d.ts +11 -0
  1336. package/dist/foundations/module/dtos/module.dto.d.ts.map +1 -0
  1337. package/dist/foundations/module/dtos/module.dto.js +45 -0
  1338. package/dist/foundations/module/dtos/module.dto.js.map +1 -0
  1339. package/dist/foundations/module/entities/module.entity.d.ts +12 -0
  1340. package/dist/foundations/module/entities/module.entity.d.ts.map +1 -0
  1341. package/dist/foundations/module/entities/module.entity.js +3 -0
  1342. package/dist/foundations/module/entities/module.entity.js.map +1 -0
  1343. package/dist/foundations/module/entities/module.map.d.ts +8 -0
  1344. package/dist/foundations/module/entities/module.map.d.ts.map +1 -0
  1345. package/dist/foundations/module/entities/module.map.js +19 -0
  1346. package/dist/foundations/module/entities/module.map.js.map +1 -0
  1347. package/dist/foundations/module/entities/module.meta.d.ts +3 -0
  1348. package/dist/foundations/module/entities/module.meta.d.ts.map +1 -0
  1349. package/dist/foundations/module/entities/module.meta.js +10 -0
  1350. package/dist/foundations/module/entities/module.meta.js.map +1 -0
  1351. package/dist/foundations/module/entities/module.model.d.ts +4 -0
  1352. package/dist/foundations/module/entities/module.model.d.ts.map +1 -0
  1353. package/dist/foundations/module/entities/module.model.js +13 -0
  1354. package/dist/foundations/module/entities/module.model.js.map +1 -0
  1355. package/dist/foundations/module/enums/module.id.d.ts +11 -0
  1356. package/dist/foundations/module/enums/module.id.d.ts.map +1 -0
  1357. package/dist/foundations/module/enums/module.id.js +57 -0
  1358. package/dist/foundations/module/enums/module.id.js.map +1 -0
  1359. package/dist/foundations/module/index.d.ts +6 -0
  1360. package/dist/foundations/module/index.d.ts.map +1 -0
  1361. package/dist/foundations/module/index.js +12 -0
  1362. package/dist/foundations/module/index.js.map +1 -0
  1363. package/dist/foundations/module/module.module.d.ts +5 -0
  1364. package/dist/foundations/module/module.module.d.ts.map +1 -0
  1365. package/dist/foundations/module/module.module.js +29 -0
  1366. package/dist/foundations/module/module.module.js.map +1 -0
  1367. package/dist/foundations/module/repositories/module.repository.d.ts +10 -0
  1368. package/dist/foundations/module/repositories/module.repository.d.ts.map +1 -0
  1369. package/dist/foundations/module/repositories/module.repository.js +33 -0
  1370. package/dist/foundations/module/repositories/module.repository.js.map +1 -0
  1371. package/dist/foundations/module/serialisers/module.serialiser.d.ts +12 -0
  1372. package/dist/foundations/module/serialisers/module.serialiser.d.ts.map +1 -0
  1373. package/dist/foundations/module/serialisers/module.serialiser.js +46 -0
  1374. package/dist/foundations/module/serialisers/module.serialiser.js.map +1 -0
  1375. package/dist/foundations/notification/controllers/notification.controller.d.ts +11 -0
  1376. package/dist/foundations/notification/controllers/notification.controller.d.ts.map +1 -0
  1377. package/dist/foundations/notification/controllers/notification.controller.js +86 -0
  1378. package/dist/foundations/notification/controllers/notification.controller.js.map +1 -0
  1379. package/dist/foundations/notification/dtos/notification.patch.dto.d.ts +15 -0
  1380. package/dist/foundations/notification/dtos/notification.patch.dto.d.ts.map +1 -0
  1381. package/dist/foundations/notification/dtos/notification.patch.dto.js +59 -0
  1382. package/dist/foundations/notification/dtos/notification.patch.dto.js.map +1 -0
  1383. package/dist/foundations/notification/entities/notification.entity.d.ts +8 -0
  1384. package/dist/foundations/notification/entities/notification.entity.d.ts.map +1 -0
  1385. package/dist/foundations/notification/entities/notification.entity.js +3 -0
  1386. package/dist/foundations/notification/entities/notification.entity.js.map +1 -0
  1387. package/dist/foundations/notification/entities/notification.map.d.ts +8 -0
  1388. package/dist/foundations/notification/entities/notification.map.d.ts.map +1 -0
  1389. package/dist/foundations/notification/entities/notification.map.js +14 -0
  1390. package/dist/foundations/notification/entities/notification.map.js.map +1 -0
  1391. package/dist/foundations/notification/entities/notification.meta.d.ts +3 -0
  1392. package/dist/foundations/notification/entities/notification.meta.d.ts.map +1 -0
  1393. package/dist/foundations/notification/entities/notification.meta.js +10 -0
  1394. package/dist/foundations/notification/entities/notification.meta.js.map +1 -0
  1395. package/dist/foundations/notification/entities/notification.model.d.ts +4 -0
  1396. package/dist/foundations/notification/entities/notification.model.d.ts.map +1 -0
  1397. package/dist/foundations/notification/entities/notification.model.js +15 -0
  1398. package/dist/foundations/notification/entities/notification.model.js.map +1 -0
  1399. package/dist/foundations/notification/index.d.ts +2 -0
  1400. package/dist/foundations/notification/index.d.ts.map +1 -0
  1401. package/dist/foundations/notification/index.js +6 -0
  1402. package/dist/foundations/notification/index.js.map +1 -0
  1403. package/dist/foundations/notification/interfaces/notification.service.interface.d.ts +4 -0
  1404. package/dist/foundations/notification/interfaces/notification.service.interface.d.ts.map +1 -0
  1405. package/dist/foundations/notification/interfaces/notification.service.interface.js +3 -0
  1406. package/dist/foundations/notification/interfaces/notification.service.interface.js.map +1 -0
  1407. package/dist/foundations/notification/notification.module.d.ts +5 -0
  1408. package/dist/foundations/notification/notification.module.d.ts.map +1 -0
  1409. package/dist/foundations/notification/notification.module.js +31 -0
  1410. package/dist/foundations/notification/notification.module.js.map +1 -0
  1411. package/dist/foundations/notification/repositories/notification.repository.d.ts +31 -0
  1412. package/dist/foundations/notification/repositories/notification.repository.d.ts.map +1 -0
  1413. package/dist/foundations/notification/repositories/notification.repository.js +154 -0
  1414. package/dist/foundations/notification/repositories/notification.repository.js.map +1 -0
  1415. package/dist/foundations/notification/serialisers/notifications.serialiser.d.ts +12 -0
  1416. package/dist/foundations/notification/serialisers/notifications.serialiser.d.ts.map +1 -0
  1417. package/dist/foundations/notification/serialisers/notifications.serialiser.js +45 -0
  1418. package/dist/foundations/notification/serialisers/notifications.serialiser.js.map +1 -0
  1419. package/dist/foundations/notification/services/notification.service.d.ts +24 -0
  1420. package/dist/foundations/notification/services/notification.service.d.ts.map +1 -0
  1421. package/dist/foundations/notification/services/notification.service.js +47 -0
  1422. package/dist/foundations/notification/services/notification.service.js.map +1 -0
  1423. package/dist/foundations/push/controllers/push.controller.d.ts +8 -0
  1424. package/dist/foundations/push/controllers/push.controller.d.ts.map +1 -0
  1425. package/dist/foundations/push/controllers/push.controller.js +41 -0
  1426. package/dist/foundations/push/controllers/push.controller.js.map +1 -0
  1427. package/dist/foundations/push/dtos/subscription.push.dto.d.ts +8 -0
  1428. package/dist/foundations/push/dtos/subscription.push.dto.d.ts.map +1 -0
  1429. package/dist/foundations/push/dtos/subscription.push.dto.js +3 -0
  1430. package/dist/foundations/push/dtos/subscription.push.dto.js.map +1 -0
  1431. package/dist/foundations/push/entities/push.entity.d.ts +9 -0
  1432. package/dist/foundations/push/entities/push.entity.d.ts.map +1 -0
  1433. package/dist/foundations/push/entities/push.entity.js +3 -0
  1434. package/dist/foundations/push/entities/push.entity.js.map +1 -0
  1435. package/dist/foundations/push/entities/push.map.d.ts +8 -0
  1436. package/dist/foundations/push/entities/push.map.d.ts.map +1 -0
  1437. package/dist/foundations/push/entities/push.map.js +21 -0
  1438. package/dist/foundations/push/entities/push.map.js.map +1 -0
  1439. package/dist/foundations/push/entities/push.meta.d.ts +3 -0
  1440. package/dist/foundations/push/entities/push.meta.d.ts.map +1 -0
  1441. package/dist/foundations/push/entities/push.meta.js +10 -0
  1442. package/dist/foundations/push/entities/push.meta.js.map +1 -0
  1443. package/dist/foundations/push/entities/push.model.d.ts +4 -0
  1444. package/dist/foundations/push/entities/push.model.d.ts.map +1 -0
  1445. package/dist/foundations/push/entities/push.model.js +11 -0
  1446. package/dist/foundations/push/entities/push.model.js.map +1 -0
  1447. package/dist/foundations/push/index.d.ts +2 -0
  1448. package/dist/foundations/push/index.d.ts.map +1 -0
  1449. package/dist/foundations/push/index.js +6 -0
  1450. package/dist/foundations/push/index.js.map +1 -0
  1451. package/dist/foundations/push/push.module.d.ts +5 -0
  1452. package/dist/foundations/push/push.module.d.ts.map +1 -0
  1453. package/dist/foundations/push/push.module.js +30 -0
  1454. package/dist/foundations/push/push.module.js.map +1 -0
  1455. package/dist/foundations/push/repositories/push.repository.d.ts +18 -0
  1456. package/dist/foundations/push/repositories/push.repository.d.ts.map +1 -0
  1457. package/dist/foundations/push/repositories/push.repository.js +75 -0
  1458. package/dist/foundations/push/repositories/push.repository.js.map +1 -0
  1459. package/dist/foundations/push/services/push.service.d.ts +21 -0
  1460. package/dist/foundations/push/services/push.service.d.ts.map +1 -0
  1461. package/dist/foundations/push/services/push.service.js +97 -0
  1462. package/dist/foundations/push/services/push.service.js.map +1 -0
  1463. package/dist/foundations/relevancy/index.d.ts +5 -0
  1464. package/dist/foundations/relevancy/index.d.ts.map +1 -0
  1465. package/dist/foundations/relevancy/index.js +8 -0
  1466. package/dist/foundations/relevancy/index.js.map +1 -0
  1467. package/dist/foundations/relevancy/interfaces/relevance.repository.interface.d.ts +17 -0
  1468. package/dist/foundations/relevancy/interfaces/relevance.repository.interface.d.ts.map +1 -0
  1469. package/dist/foundations/relevancy/interfaces/relevance.repository.interface.js +3 -0
  1470. package/dist/foundations/relevancy/interfaces/relevance.repository.interface.js.map +1 -0
  1471. package/dist/foundations/relevancy/interfaces/relevance.service.interface.d.ts +17 -0
  1472. package/dist/foundations/relevancy/interfaces/relevance.service.interface.d.ts.map +1 -0
  1473. package/dist/foundations/relevancy/interfaces/relevance.service.interface.js +3 -0
  1474. package/dist/foundations/relevancy/interfaces/relevance.service.interface.js.map +1 -0
  1475. package/dist/foundations/relevancy/queries/relevance.d.ts +13 -0
  1476. package/dist/foundations/relevancy/queries/relevance.d.ts.map +1 -0
  1477. package/dist/foundations/relevancy/queries/relevance.js +134 -0
  1478. package/dist/foundations/relevancy/queries/relevance.js.map +1 -0
  1479. package/dist/foundations/relevancy/relevancy.module.d.ts +3 -0
  1480. package/dist/foundations/relevancy/relevancy.module.d.ts.map +1 -0
  1481. package/dist/foundations/relevancy/relevancy.module.js +23 -0
  1482. package/dist/foundations/relevancy/relevancy.module.js.map +1 -0
  1483. package/dist/foundations/relevancy/repositories/relevancy.repository.d.ts +31 -0
  1484. package/dist/foundations/relevancy/repositories/relevancy.repository.d.ts.map +1 -0
  1485. package/dist/foundations/relevancy/repositories/relevancy.repository.js +94 -0
  1486. package/dist/foundations/relevancy/repositories/relevancy.repository.js.map +1 -0
  1487. package/dist/foundations/relevancy/services/relevancy.service.d.ts +29 -0
  1488. package/dist/foundations/relevancy/services/relevancy.service.d.ts.map +1 -0
  1489. package/dist/foundations/relevancy/services/relevancy.service.js +66 -0
  1490. package/dist/foundations/relevancy/services/relevancy.service.js.map +1 -0
  1491. package/dist/foundations/role/controllers/role.controller.d.ts +12 -0
  1492. package/dist/foundations/role/controllers/role.controller.d.ts.map +1 -0
  1493. package/dist/foundations/role/controllers/role.controller.js +104 -0
  1494. package/dist/foundations/role/controllers/role.controller.js.map +1 -0
  1495. package/dist/foundations/role/controllers/role.user.controller.d.ts +9 -0
  1496. package/dist/foundations/role/controllers/role.user.controller.d.ts.map +1 -0
  1497. package/dist/foundations/role/controllers/role.user.controller.js +59 -0
  1498. package/dist/foundations/role/controllers/role.user.controller.js.map +1 -0
  1499. package/dist/foundations/role/dtos/role.dto.d.ts +11 -0
  1500. package/dist/foundations/role/dtos/role.dto.d.ts.map +1 -0
  1501. package/dist/foundations/role/dtos/role.dto.js +45 -0
  1502. package/dist/foundations/role/dtos/role.dto.js.map +1 -0
  1503. package/dist/foundations/role/dtos/role.post.dto.d.ts +15 -0
  1504. package/dist/foundations/role/dtos/role.post.dto.d.ts.map +1 -0
  1505. package/dist/foundations/role/dtos/role.post.dto.js +59 -0
  1506. package/dist/foundations/role/dtos/role.post.dto.js.map +1 -0
  1507. package/dist/foundations/role/entities/role.entity.d.ts +9 -0
  1508. package/dist/foundations/role/entities/role.entity.d.ts.map +1 -0
  1509. package/dist/foundations/role/entities/role.entity.js +3 -0
  1510. package/dist/foundations/role/entities/role.entity.js.map +1 -0
  1511. package/dist/foundations/role/entities/role.map.d.ts +8 -0
  1512. package/dist/foundations/role/entities/role.map.d.ts.map +1 -0
  1513. package/dist/foundations/role/entities/role.map.js +15 -0
  1514. package/dist/foundations/role/entities/role.map.js.map +1 -0
  1515. package/dist/foundations/role/entities/role.meta.d.ts +3 -0
  1516. package/dist/foundations/role/entities/role.meta.d.ts.map +1 -0
  1517. package/dist/foundations/role/entities/role.meta.js +10 -0
  1518. package/dist/foundations/role/entities/role.meta.js.map +1 -0
  1519. package/dist/foundations/role/entities/role.model.d.ts +4 -0
  1520. package/dist/foundations/role/entities/role.model.d.ts.map +1 -0
  1521. package/dist/foundations/role/entities/role.model.js +15 -0
  1522. package/dist/foundations/role/entities/role.model.js.map +1 -0
  1523. package/dist/foundations/role/index.d.ts +3 -0
  1524. package/dist/foundations/role/index.d.ts.map +1 -0
  1525. package/dist/foundations/role/index.js +8 -0
  1526. package/dist/foundations/role/index.js.map +1 -0
  1527. package/dist/foundations/role/repositories/role.repository.d.ts +47 -0
  1528. package/dist/foundations/role/repositories/role.repository.d.ts.map +1 -0
  1529. package/dist/foundations/role/repositories/role.repository.js +175 -0
  1530. package/dist/foundations/role/repositories/role.repository.js.map +1 -0
  1531. package/dist/foundations/role/role.module.d.ts +5 -0
  1532. package/dist/foundations/role/role.module.d.ts.map +1 -0
  1533. package/dist/foundations/role/role.module.js +32 -0
  1534. package/dist/foundations/role/role.module.js.map +1 -0
  1535. package/dist/foundations/role/serialisers/role.serialiser.d.ts +12 -0
  1536. package/dist/foundations/role/serialisers/role.serialiser.d.ts.map +1 -0
  1537. package/dist/foundations/role/serialisers/role.serialiser.js +46 -0
  1538. package/dist/foundations/role/serialisers/role.serialiser.js.map +1 -0
  1539. package/dist/foundations/role/services/role.service.d.ts +39 -0
  1540. package/dist/foundations/role/services/role.service.d.ts.map +1 -0
  1541. package/dist/foundations/role/services/role.service.js +88 -0
  1542. package/dist/foundations/role/services/role.service.js.map +1 -0
  1543. package/dist/foundations/s3/controllers/s3.controller.d.ts +9 -0
  1544. package/dist/foundations/s3/controllers/s3.controller.d.ts.map +1 -0
  1545. package/dist/foundations/s3/controllers/s3.controller.js +74 -0
  1546. package/dist/foundations/s3/controllers/s3.controller.js.map +1 -0
  1547. package/dist/foundations/s3/entities/s3.entity.d.ts +9 -0
  1548. package/dist/foundations/s3/entities/s3.entity.d.ts.map +1 -0
  1549. package/dist/foundations/s3/entities/s3.entity.js +3 -0
  1550. package/dist/foundations/s3/entities/s3.entity.js.map +1 -0
  1551. package/dist/foundations/s3/entities/s3.map.d.ts +8 -0
  1552. package/dist/foundations/s3/entities/s3.map.d.ts.map +1 -0
  1553. package/dist/foundations/s3/entities/s3.map.js +16 -0
  1554. package/dist/foundations/s3/entities/s3.map.js.map +1 -0
  1555. package/dist/foundations/s3/entities/s3.meta.d.ts +3 -0
  1556. package/dist/foundations/s3/entities/s3.meta.d.ts.map +1 -0
  1557. package/dist/foundations/s3/entities/s3.meta.js +10 -0
  1558. package/dist/foundations/s3/entities/s3.meta.js.map +1 -0
  1559. package/dist/foundations/s3/entities/s3.model.d.ts +4 -0
  1560. package/dist/foundations/s3/entities/s3.model.d.ts.map +1 -0
  1561. package/dist/foundations/s3/entities/s3.model.js +13 -0
  1562. package/dist/foundations/s3/entities/s3.model.js.map +1 -0
  1563. package/dist/foundations/s3/index.d.ts +3 -0
  1564. package/dist/foundations/s3/index.d.ts.map +1 -0
  1565. package/dist/foundations/s3/index.js +8 -0
  1566. package/dist/foundations/s3/index.js.map +1 -0
  1567. package/dist/foundations/s3/s3.module.d.ts +5 -0
  1568. package/dist/foundations/s3/s3.module.d.ts.map +1 -0
  1569. package/dist/foundations/s3/s3.module.js +29 -0
  1570. package/dist/foundations/s3/s3.module.js.map +1 -0
  1571. package/dist/foundations/s3/serialisers/s3.serialiser.d.ts +12 -0
  1572. package/dist/foundations/s3/serialisers/s3.serialiser.d.ts.map +1 -0
  1573. package/dist/foundations/s3/serialisers/s3.serialiser.js +41 -0
  1574. package/dist/foundations/s3/serialisers/s3.serialiser.js.map +1 -0
  1575. package/dist/foundations/s3/services/s3.service.d.ts +72 -0
  1576. package/dist/foundations/s3/services/s3.service.d.ts.map +1 -0
  1577. package/dist/foundations/s3/services/s3.service.js +468 -0
  1578. package/dist/foundations/s3/services/s3.service.js.map +1 -0
  1579. package/dist/foundations/tokenusage/entities/tokenusage.entity.d.ts +10 -0
  1580. package/dist/foundations/tokenusage/entities/tokenusage.entity.d.ts.map +1 -0
  1581. package/dist/foundations/tokenusage/entities/tokenusage.entity.js +3 -0
  1582. package/dist/foundations/tokenusage/entities/tokenusage.entity.js.map +1 -0
  1583. package/dist/foundations/tokenusage/entities/tokenusage.map.d.ts +8 -0
  1584. package/dist/foundations/tokenusage/entities/tokenusage.map.d.ts.map +1 -0
  1585. package/dist/foundations/tokenusage/entities/tokenusage.map.js +16 -0
  1586. package/dist/foundations/tokenusage/entities/tokenusage.map.js.map +1 -0
  1587. package/dist/foundations/tokenusage/entities/tokenusage.meta.d.ts +3 -0
  1588. package/dist/foundations/tokenusage/entities/tokenusage.meta.d.ts.map +1 -0
  1589. package/dist/foundations/tokenusage/entities/tokenusage.meta.js +10 -0
  1590. package/dist/foundations/tokenusage/entities/tokenusage.meta.js.map +1 -0
  1591. package/dist/foundations/tokenusage/entities/tokenusage.model.d.ts +4 -0
  1592. package/dist/foundations/tokenusage/entities/tokenusage.model.d.ts.map +1 -0
  1593. package/dist/foundations/tokenusage/entities/tokenusage.model.js +15 -0
  1594. package/dist/foundations/tokenusage/entities/tokenusage.model.js.map +1 -0
  1595. package/dist/foundations/tokenusage/enums/tokenusage.type.d.ts +10 -0
  1596. package/dist/foundations/tokenusage/enums/tokenusage.type.d.ts.map +1 -0
  1597. package/dist/foundations/tokenusage/enums/tokenusage.type.js +14 -0
  1598. package/dist/foundations/tokenusage/enums/tokenusage.type.js.map +1 -0
  1599. package/dist/foundations/tokenusage/index.d.ts +8 -0
  1600. package/dist/foundations/tokenusage/index.d.ts.map +1 -0
  1601. package/dist/foundations/tokenusage/index.js +16 -0
  1602. package/dist/foundations/tokenusage/index.js.map +1 -0
  1603. package/dist/foundations/tokenusage/repositories/tokenusage.repository.d.ts +18 -0
  1604. package/dist/foundations/tokenusage/repositories/tokenusage.repository.d.ts.map +1 -0
  1605. package/dist/foundations/tokenusage/repositories/tokenusage.repository.js +60 -0
  1606. package/dist/foundations/tokenusage/repositories/tokenusage.repository.js.map +1 -0
  1607. package/dist/foundations/tokenusage/services/tokenusage.service.d.ts +18 -0
  1608. package/dist/foundations/tokenusage/services/tokenusage.service.d.ts.map +1 -0
  1609. package/dist/foundations/tokenusage/services/tokenusage.service.js +49 -0
  1610. package/dist/foundations/tokenusage/services/tokenusage.service.js.map +1 -0
  1611. package/dist/foundations/tokenusage/tokenusage.module.d.ts +5 -0
  1612. package/dist/foundations/tokenusage/tokenusage.module.d.ts.map +1 -0
  1613. package/dist/foundations/tokenusage/tokenusage.module.js +29 -0
  1614. package/dist/foundations/tokenusage/tokenusage.module.js.map +1 -0
  1615. package/dist/foundations/user/controllers/user.controller.d.ts +39 -0
  1616. package/dist/foundations/user/controllers/user.controller.d.ts.map +1 -0
  1617. package/dist/foundations/user/controllers/user.controller.js +374 -0
  1618. package/dist/foundations/user/controllers/user.controller.js.map +1 -0
  1619. package/dist/foundations/user/dtos/user.dto.d.ts +11 -0
  1620. package/dist/foundations/user/dtos/user.dto.d.ts.map +1 -0
  1621. package/dist/foundations/user/dtos/user.dto.js +45 -0
  1622. package/dist/foundations/user/dtos/user.dto.js.map +1 -0
  1623. package/dist/foundations/user/dtos/user.patch.rate.dto.d.ts +13 -0
  1624. package/dist/foundations/user/dtos/user.patch.rate.dto.d.ts.map +1 -0
  1625. package/dist/foundations/user/dtos/user.patch.rate.dto.js +54 -0
  1626. package/dist/foundations/user/dtos/user.patch.rate.dto.js.map +1 -0
  1627. package/dist/foundations/user/dtos/user.post.dto.d.ts +29 -0
  1628. package/dist/foundations/user/dtos/user.post.dto.d.ts.map +1 -0
  1629. package/dist/foundations/user/dtos/user.post.dto.js +117 -0
  1630. package/dist/foundations/user/dtos/user.post.dto.js.map +1 -0
  1631. package/dist/foundations/user/dtos/user.put.dto.d.ts +24 -0
  1632. package/dist/foundations/user/dtos/user.put.dto.d.ts.map +1 -0
  1633. package/dist/foundations/user/dtos/user.put.dto.js +100 -0
  1634. package/dist/foundations/user/dtos/user.put.dto.js.map +1 -0
  1635. package/dist/foundations/user/entities/user.entity.d.ts +23 -0
  1636. package/dist/foundations/user/entities/user.entity.d.ts.map +1 -0
  1637. package/dist/foundations/user/entities/user.entity.js +3 -0
  1638. package/dist/foundations/user/entities/user.entity.js.map +1 -0
  1639. package/dist/foundations/user/entities/user.map.d.ts +8 -0
  1640. package/dist/foundations/user/entities/user.map.d.ts.map +1 -0
  1641. package/dist/foundations/user/entities/user.map.js +27 -0
  1642. package/dist/foundations/user/entities/user.map.js.map +1 -0
  1643. package/dist/foundations/user/entities/user.meta.d.ts +6 -0
  1644. package/dist/foundations/user/entities/user.meta.d.ts.map +1 -0
  1645. package/dist/foundations/user/entities/user.meta.js +25 -0
  1646. package/dist/foundations/user/entities/user.meta.js.map +1 -0
  1647. package/dist/foundations/user/entities/user.model.d.ts +7 -0
  1648. package/dist/foundations/user/entities/user.model.d.ts.map +1 -0
  1649. package/dist/foundations/user/entities/user.model.js +30 -0
  1650. package/dist/foundations/user/entities/user.model.js.map +1 -0
  1651. package/dist/foundations/user/index.d.ts +11 -0
  1652. package/dist/foundations/user/index.d.ts.map +1 -0
  1653. package/dist/foundations/user/index.js +41 -0
  1654. package/dist/foundations/user/index.js.map +1 -0
  1655. package/dist/foundations/user/repositories/user.repository.d.ts +109 -0
  1656. package/dist/foundations/user/repositories/user.repository.d.ts.map +1 -0
  1657. package/dist/foundations/user/repositories/user.repository.js +491 -0
  1658. package/dist/foundations/user/repositories/user.repository.js.map +1 -0
  1659. package/dist/foundations/user/serialisers/user.serialiser.d.ts +14 -0
  1660. package/dist/foundations/user/serialisers/user.serialiser.d.ts.map +1 -0
  1661. package/dist/foundations/user/serialisers/user.serialiser.js +80 -0
  1662. package/dist/foundations/user/serialisers/user.serialiser.js.map +1 -0
  1663. package/dist/foundations/user/services/user.cypher.service.d.ts +13 -0
  1664. package/dist/foundations/user/services/user.cypher.service.d.ts.map +1 -0
  1665. package/dist/foundations/user/services/user.cypher.service.js +46 -0
  1666. package/dist/foundations/user/services/user.cypher.service.js.map +1 -0
  1667. package/dist/foundations/user/services/user.service.d.ts +107 -0
  1668. package/dist/foundations/user/services/user.service.d.ts.map +1 -0
  1669. package/dist/foundations/user/services/user.service.js +231 -0
  1670. package/dist/foundations/user/services/user.service.js.map +1 -0
  1671. package/dist/foundations/user/user.module.d.ts +5 -0
  1672. package/dist/foundations/user/user.module.d.ts.map +1 -0
  1673. package/dist/foundations/user/user.module.js +38 -0
  1674. package/dist/foundations/user/user.module.js.map +1 -0
  1675. package/dist/index.d.ts +12 -0
  1676. package/dist/index.d.ts.map +1 -0
  1677. package/dist/index.js +34 -0
  1678. package/dist/index.js.map +1 -0
  1679. package/dist/tools/migrate-entity/index.js +65 -0
  1680. package/dist/tools/migrate-entity/lib/ast-parser.js +543 -0
  1681. package/dist/tools/migrate-entity/lib/descriptor-generator.js +385 -0
  1682. package/dist/tools/migrate-entity/lib/entity-migrator.js +300 -0
  1683. package/dist/tools/migrate-entity/lib/file-discovery.js +123 -0
  1684. package/dist/tools/migrate-entity/lib/module-updater.js +131 -0
  1685. package/dist/tools/migrate-entity/lib/reference-updater.js +304 -0
  1686. package/dist/tools/migrate-entity/lib/types.js +7 -0
  1687. package/package.json +181 -0
@@ -0,0 +1,229 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ChunkNodeService = exports.defaultChunkPrompt = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const config_1 = require("@nestjs/config");
15
+ const nestjs_cls_1 = require("nestjs-cls");
16
+ const zod_1 = require("zod");
17
+ const llm_service_1 = require("../../../core/llm/services/llm.service");
18
+ const websocket_service_1 = require("../../../core/websocket/services/websocket.service");
19
+ const chunk_repository_1 = require("../../../foundations/chunk/repositories/chunk.repository");
20
+ exports.defaultChunkPrompt = `
21
+ As an intelligent assistant, your primary objective is to assess a specific **text chunk** and determine whether the available information suffices to answer the question.
22
+
23
+ Given the **question**, and the **rational plan** to answer the question you have to:
24
+ 1. Analyse the text and determine if it is relevant to answer the user question
25
+ - The text chunk should be examined for key information that directly relates to the question being asked.
26
+
27
+ 2. Write an note summarizing the key points from the current text chunk that are relevant to the question
28
+ - The note should contain all the information required to provide a detailed answer
29
+ - The note should be a comprehensive summary that can be used to generate a precise, contextualised response to the question, containing all the required details enough to cover all relevant aspects.
30
+
31
+ 3. Write a reason describing how the text chunk is relevant to the question
32
+ - The reason should explain why the text chunk is relevant or not to answer the question.
33
+
34
+ 4. Select the appropriate next action to take based on your assessment of the current information.
35
+ - **queuePreviousChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a previous text chunk that would **significantly** enhance your answer. Do not select this action if you believe the current chunk is either sufficient or completely irrelevant.
36
+ - **queueNextChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a subsequent text chunk that would **significantly** enhance your answer. Do not select this action if you believe the current chunk is either sufficient or completely irrelevant.
37
+ - **readNeighbouringNodes**: Choose this action if you believe that this text chunk does not contain relevant information and that exploring neighbouring chunks could provide valuable context.
38
+ - **answer**: Choose this action if you believe that the information in this text chunk is sufficient to provide a **comprehensive and accurate** answer to the question.
39
+ - **skip**: Choose this action if you believe that the current chunk of text is not relevant to the question and that you want to move on to the next chunk without taking any further action.
40
+
41
+ 5. **Provide a Status Message**:
42
+ - Write a **short, friendly message** (maximum 40 characters) about your action.
43
+ - **Avoid technical terms** such as "nodes", "atomic facts", or "key concepts".
44
+ - The status message should make the user understand the action being taken
45
+ - The status message **MUST** contain clear information contextualised to the current question and the gathered information.
46
+ - The status message should be specific to the context and clearly convey the next steps or actions being taken.
47
+ - The status message **MUST NOT** be something unrelated to the text, such as "success", "sufficient information", "insufficient information", "chunk analysed", "chunk processed" or similar generic messages.
48
+
49
+ ### Important Notes:
50
+ - **Proceed to Answer When Appropriate**: If the current information is sufficient to provide a reliable answer, do not hesitate to proceed to select **answer** as the next step.
51
+ - **Gather More Information When Needed**: If you identify gaps or uncertainties that could be addressed by additional information, choose the appropriate action to gather that information.
52
+ - **Use Judgment in Decision-Making**: Apply thoughtful consideration to decide whether additional information is necessary.
53
+ - If the content contains acronyms and their definition, include the definition of the acronym in your answer.
54
+
55
+ ### **Please strictly follow the above instructions and format. Let's begin.**
56
+ `;
57
+ const outputSchema = zod_1.z.object({
58
+ status: zod_1.z
59
+ .string()
60
+ .describe(`Write a short, friendly message (max 40 characters) about your action, avoiding technical terms such as "nodes" or "atomic facts" or "key concepts". Give flavour to the message and avoid repeating the same message.`),
61
+ note: zod_1.z
62
+ .object({
63
+ content: zod_1.z.string().describe("The new insights and findings about the question from current text"),
64
+ reason: zod_1.z.string().describe("The reason describing how the text chunk is relevant to the question"),
65
+ })
66
+ .describe("The note summarizing the key points from the current text chunk that are relevant to the question"),
67
+ chosenAction: zod_1.z.string()
68
+ .describe(`This is the action you have decided to do in the next step. You **MUST** pick one of the following actions:
69
+ - **queuePreviousChunk**: Choose this action if you feel that the previous text chunk contains valuable information for answering the question. Do not select this action if you believe the current chunk is either sufficient or completely irrelevant.
70
+ - **queueNextChunk**: Choose this action if you feel that the subsequent text chunk contains valuable information for answering the question. Do not select this action if you believe the current chunk is either sufficient or completely irrelevant.
71
+ - **readNeighbouringNodes**: Choose this action if you feel that the current text contains valuable, but somewhat incomplete information that could be clarified by exploring related concepts.
72
+ - **answer**: Choose this action if you believe that the information you have currently obtained is enough to answer the question. This will allow you to summarize the gathered information and provide a final answer.
73
+ - **skip**: Choose this action if you believe that the current chunk of text is not relevant to the question and that you want to move on to the next chunk without taking any further action.
74
+ `),
75
+ });
76
+ const inputSchema = zod_1.z.object({
77
+ question: zod_1.z.string().describe("The question asked by the user"),
78
+ rationalPlan: zod_1.z
79
+ .string()
80
+ .describe("The rational plan you designed to provide a comprehensive answer to the user question"),
81
+ text: zod_1.z.string().describe("The content of the text you must analyse to provide an answer to the user question"),
82
+ });
83
+ let ChunkNodeService = class ChunkNodeService {
84
+ constructor(llmService, chunkRepository, webSocketService, clsService, configService) {
85
+ this.llmService = llmService;
86
+ this.chunkRepository = chunkRepository;
87
+ this.webSocketService = webSocketService;
88
+ this.clsService = clsService;
89
+ this.configService = configService;
90
+ const prompts = this.configService.get("prompts");
91
+ this.systemPrompt = prompts?.contextualiser?.chunk ?? exports.defaultChunkPrompt;
92
+ }
93
+ async execute(params) {
94
+ if (params.state.queuedChunks.length === 0) {
95
+ return {
96
+ nextStep: params.state.neighbouringAlreadyExplored ? "answer" : "neighbouring_nodes",
97
+ };
98
+ }
99
+ const chunks = [];
100
+ const chunkIdsToProcess = params.state.queuedChunks.filter((chunkId) => !params.state.processedChunks.includes(chunkId));
101
+ while (chunkIdsToProcess.length > 0) {
102
+ const chunkId = chunkIdsToProcess.shift();
103
+ const chunk = await this.chunkRepository.findChunkById({
104
+ chunkId: chunkId,
105
+ });
106
+ if (chunk)
107
+ chunks.push(chunk);
108
+ }
109
+ if (chunks.length === 0) {
110
+ return {
111
+ queuedChunks: [],
112
+ nextStep: params.state.neighbouringAlreadyExplored ? "answer" : "neighbouring_nodes",
113
+ };
114
+ }
115
+ const llmResponses = (await Promise.all(chunks.map(async (chunk) => {
116
+ if (!chunk.content || chunk.content.trim() === "")
117
+ return null;
118
+ const inputParams = {
119
+ rationalPlan: params.state.rationalPlan,
120
+ question: params.state.question,
121
+ text: chunk.content,
122
+ };
123
+ const llmResponse = await this.llmService.call({
124
+ inputSchema: inputSchema,
125
+ inputParams: inputParams,
126
+ outputSchema: outputSchema,
127
+ systemPrompts: [this.systemPrompt],
128
+ temperature: 0.1,
129
+ });
130
+ if (params.state.contentType === "Conversation")
131
+ await this.webSocketService.sendMessageToUser(this.clsService.get("userId"), "contextualiser", {
132
+ message: llmResponse.status,
133
+ conversationId: params.state.contentId,
134
+ });
135
+ return {
136
+ chunkId: chunk.id,
137
+ status: llmResponse.chosenAction === "answer" ? llmResponse.status : undefined,
138
+ note: {
139
+ content: llmResponse.note?.content ?? "",
140
+ reason: llmResponse.note?.reason ?? "",
141
+ },
142
+ chosenAction: llmResponse.chosenAction,
143
+ tokens: llmResponse.tokenUsage,
144
+ };
145
+ })));
146
+ const tokenUsed = {
147
+ input: 0,
148
+ output: 0,
149
+ };
150
+ const newNotebookEntries = [];
151
+ const statuses = [];
152
+ for (const llmResponse of llmResponses.filter((response) => !!response)) {
153
+ tokenUsed.input += llmResponse.tokens.input;
154
+ tokenUsed.output += llmResponse.tokens.output;
155
+ if (llmResponse.chosenAction !== "skip")
156
+ newNotebookEntries.push({
157
+ chunkId: llmResponse.chunkId,
158
+ content: llmResponse.note.content,
159
+ reason: llmResponse.note.reason,
160
+ });
161
+ if (!statuses.includes(llmResponse.status) && !params.state.status.includes(llmResponse.status))
162
+ statuses.push(llmResponse.status);
163
+ }
164
+ const newChunksToQuery = [];
165
+ await Promise.all(llmResponses
166
+ .filter((response) => !!response)
167
+ .map(async (llmResponse) => {
168
+ switch (llmResponse.chosenAction) {
169
+ case "queueNextChunk":
170
+ const nextChunk = await this.chunkRepository.findSubsequentChunkId({
171
+ chunkId: llmResponse.chunkId,
172
+ });
173
+ if (nextChunk)
174
+ newChunksToQuery.push(nextChunk.id);
175
+ break;
176
+ case "queuePreviousChunk":
177
+ const previousChunk = await this.chunkRepository.findPreviousChunkId({
178
+ chunkId: llmResponse.chunkId,
179
+ });
180
+ if (previousChunk)
181
+ newChunksToQuery.push(previousChunk.id);
182
+ break;
183
+ }
184
+ }));
185
+ let nextStep;
186
+ if (newChunksToQuery.length > 0) {
187
+ nextStep = "chunks";
188
+ }
189
+ else if (llmResponses.filter((response) => !!response).some((llmResponse) => llmResponse.chosenAction === "answer") ===
190
+ true) {
191
+ nextStep = "answer";
192
+ }
193
+ else {
194
+ if (params.state.neighbouringAlreadyExplored)
195
+ nextStep = "answer";
196
+ else
197
+ nextStep = "neighbouring_nodes";
198
+ }
199
+ // Safety checks to prevent excessive looping:
200
+ // 1. Local check: If we've gone through chunks more than 3 times
201
+ // 2. Global check: If we're approaching the maxHops limit (typically 20, leave 5 hop buffer)
202
+ const approachingMaxHops = params.state.hops >= 15;
203
+ if (params.state.chunkLevel > 3 || approachingMaxHops) {
204
+ newChunksToQuery.length = 0;
205
+ nextStep = "answer";
206
+ }
207
+ const returnedHops = params.state.hops + 1;
208
+ return {
209
+ hops: returnedHops,
210
+ notebook: newNotebookEntries,
211
+ chunkLevel: params.state.chunkLevel + 1,
212
+ processedChunks: chunks.map((c) => c.id),
213
+ queuedChunks: newChunksToQuery,
214
+ nextStep: nextStep,
215
+ status: statuses.filter((status) => status),
216
+ tokens: tokenUsed,
217
+ };
218
+ }
219
+ };
220
+ exports.ChunkNodeService = ChunkNodeService;
221
+ exports.ChunkNodeService = ChunkNodeService = __decorate([
222
+ (0, common_1.Injectable)(),
223
+ __metadata("design:paramtypes", [llm_service_1.LLMService,
224
+ chunk_repository_1.ChunkRepository,
225
+ websocket_service_1.WebSocketService,
226
+ nestjs_cls_1.ClsService,
227
+ config_1.ConfigService])
228
+ ], ChunkNodeService);
229
+ //# sourceMappingURL=chunk.node.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk.node.service.js","sourceRoot":"","sources":["../../../../src/agents/contextualiser/nodes/chunk.node.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2CAA+C;AAC/C,2CAAwC;AACxC,6BAAwB;AAGxB,wEAAoE;AACpE,0FAAsF;AAEtF,+FAA2F;AAM9E,QAAA,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCjC,CAAC;AAEF,MAAM,YAAY,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5B,MAAM,EAAE,OAAC;SACN,MAAM,EAAE;SACR,QAAQ,CACP,yNAAyN,CAC1N;IACH,IAAI,EAAE,OAAC;SACJ,MAAM,CAAC;QACN,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oEAAoE,CAAC;QAClG,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sEAAsE,CAAC;KACpG,CAAC;SACD,QAAQ,CAAC,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ACF,CAAA;AAvKY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;qCAKoB,wBAAU;QACL,kCAAe;QACd,oCAAgB;QACtB,uBAAU;QACP,sBAAa;GARpC,gBAAgB,CAuK5B"}
@@ -0,0 +1,21 @@
1
+ import { ConfigService } from "@nestjs/config";
2
+ import { ClsService } from "nestjs-cls";
3
+ import { BaseConfigInterface } from "../../../config/interfaces";
4
+ import { LLMService } from "../../../core/llm/services/llm.service";
5
+ import { WebSocketService } from "../../../core/websocket/services/websocket.service";
6
+ import { ChunkRepository } from "../../../foundations/chunk/repositories/chunk.repository";
7
+ import { ContextualiserContext, ContextualiserContextState } from "../../contextualiser/contexts/contextualiser.context";
8
+ export declare const defaultChunkVectorPrompt = "\nAs an intelligent assistant, your primary objective is to assess a specific **text chunk** and determine whether the available information suffices to answer the question.\n\nGiven the **question**, and the **rational plan** to answer the question you have to:\n1. Write a note summarizing the key points from the current text chunk that are relevant to the question. This must be used as context to answer the question.\n - The note should contain all the information required to provide a detailed answer\n - It should be a comprehensive note that can be used to generate a precise, contextualise reponse to the question, containing all the required details enough to cover all relevant aspects.\n\n2. Write a reason describing how the text chunk is relevant to the question\n - The reason should explain why the text chunk is relevant or not to answer the question.\n\n3. Select the appropriate next action to take based on your assessment of the current information.\n - **queuePreviousChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a previous text chunk that would **significantly** enhance your answer.\n - **queueNextChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a subsequent text chunk that would **significantly** enhance your answer.\n - **readNeighbouringNodes**: Choose this action if you believe that this text chunk does not contain relevant information and that exploring neighbouring chunks could provide valuable context.\n - **answer**: Choose this action if you believe that the information in this text chunk is sufficient to provide a **comprehensive and accurate** answer to the question.\n\n 4. **Provide a Status Message**:\n - Write a **short, friendly message** (maximum 40 characters) about your action.\n - **Avoid technical terms** such as \"nodes\", \"atomic facts\", or \"key concepts\".\n - The status message should make the user understand the action being taken\n - The status message **MUST** contain clear information contextualised to the current question and the gathered information.\n - The status message should be specific to the context and clearly convey the next steps or actions being taken.\n - The status message **MUST NOT** be something unrelated to the text, such as \"success\", \"sufficient information\", \"insufficient information\", \"chunk analysed\", \"chunk processed\" or similar generic messages.\n \n ### Important Notes:\n - **Proceed to Answer When Appropriate**: If the current information is sufficient to provide a reliable answer, do not hesitate to proceed to select **answer** as the next step.\n - **Gather More Information When Needed**: If you identify gaps or uncertainties that could be addressed by additional information, choose the appropriate action to gather that information.\n - **Use Judgment in Decision-Making**: Apply thoughtful consideration to decide whether additional information is necessary.\n - If the content contains acronyms and their definition, include the definition of the acronym in your answer.\n \n### **Please strictly follow the above instructions and format. Let's begin.**\n";
9
+ export declare class ChunkVectorNodeService {
10
+ private readonly llmService;
11
+ private readonly chunkRepository;
12
+ private readonly webSocketService;
13
+ private readonly clsService;
14
+ private readonly configService;
15
+ private readonly systemPrompt;
16
+ constructor(llmService: LLMService, chunkRepository: ChunkRepository, webSocketService: WebSocketService, clsService: ClsService, configService: ConfigService<BaseConfigInterface>);
17
+ execute(params: {
18
+ state: typeof ContextualiserContext.State;
19
+ }): Promise<Partial<ContextualiserContextState>>;
20
+ }
21
+ //# sourceMappingURL=chunk.vector.node.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk.vector.node.service.d.ts","sourceRoot":"","sources":["../../../../src/agents/contextualiser/nodes/chunk.vector.node.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAA0B,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAC3F,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,wBAAwB,6pGAgCpC,CAAC;AA+BF,qBACa,sBAAsB;IAI/B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAPhC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;gBAGnB,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,CAAC,mBAAmB,CAAC;IAM9D,OAAO,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,OAAO,qBAAqB,CAAC,KAAK,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CAyFnH"}
@@ -0,0 +1,166 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ChunkVectorNodeService = exports.defaultChunkVectorPrompt = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const config_1 = require("@nestjs/config");
15
+ const nestjs_cls_1 = require("nestjs-cls");
16
+ const zod_1 = require("zod");
17
+ const llm_service_1 = require("../../../core/llm/services/llm.service");
18
+ const websocket_service_1 = require("../../../core/websocket/services/websocket.service");
19
+ const chunk_repository_1 = require("../../../foundations/chunk/repositories/chunk.repository");
20
+ exports.defaultChunkVectorPrompt = `
21
+ As an intelligent assistant, your primary objective is to assess a specific **text chunk** and determine whether the available information suffices to answer the question.
22
+
23
+ Given the **question**, and the **rational plan** to answer the question you have to:
24
+ 1. Write a note summarizing the key points from the current text chunk that are relevant to the question. This must be used as context to answer the question.
25
+ - The note should contain all the information required to provide a detailed answer
26
+ - It should be a comprehensive note that can be used to generate a precise, contextualise reponse to the question, containing all the required details enough to cover all relevant aspects.
27
+
28
+ 2. Write a reason describing how the text chunk is relevant to the question
29
+ - The reason should explain why the text chunk is relevant or not to answer the question.
30
+
31
+ 3. Select the appropriate next action to take based on your assessment of the current information.
32
+ - **queuePreviousChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a previous text chunk that would **significantly** enhance your answer.
33
+ - **queueNextChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a subsequent text chunk that would **significantly** enhance your answer.
34
+ - **readNeighbouringNodes**: Choose this action if you believe that this text chunk does not contain relevant information and that exploring neighbouring chunks could provide valuable context.
35
+ - **answer**: Choose this action if you believe that the information in this text chunk is sufficient to provide a **comprehensive and accurate** answer to the question.
36
+
37
+ 4. **Provide a Status Message**:
38
+ - Write a **short, friendly message** (maximum 40 characters) about your action.
39
+ - **Avoid technical terms** such as "nodes", "atomic facts", or "key concepts".
40
+ - The status message should make the user understand the action being taken
41
+ - The status message **MUST** contain clear information contextualised to the current question and the gathered information.
42
+ - The status message should be specific to the context and clearly convey the next steps or actions being taken.
43
+ - The status message **MUST NOT** be something unrelated to the text, such as "success", "sufficient information", "insufficient information", "chunk analysed", "chunk processed" or similar generic messages.
44
+
45
+ ### Important Notes:
46
+ - **Proceed to Answer When Appropriate**: If the current information is sufficient to provide a reliable answer, do not hesitate to proceed to select **answer** as the next step.
47
+ - **Gather More Information When Needed**: If you identify gaps or uncertainties that could be addressed by additional information, choose the appropriate action to gather that information.
48
+ - **Use Judgment in Decision-Making**: Apply thoughtful consideration to decide whether additional information is necessary.
49
+ - If the content contains acronyms and their definition, include the definition of the acronym in your answer.
50
+
51
+ ### **Please strictly follow the above instructions and format. Let's begin.**
52
+ `;
53
+ const outputSchema = zod_1.z.object({
54
+ status: zod_1.z
55
+ .string()
56
+ .describe(`Write a short, friendly message (max 40 characters) about your action, avoiding technical terms such as "nodes" or "atomic facts" or "key concepts". Give flavour to the message and avoid repeating the same message.`),
57
+ note: zod_1.z
58
+ .object({
59
+ content: zod_1.z.string().describe("The new insights and findings about the question from current text"),
60
+ reason: zod_1.z.string().describe("The reason describing how the text chunk is relevant to the question"),
61
+ })
62
+ .describe("The note summarizing the key points from the current text chunk that are relevant to the question"),
63
+ chosenAction: zod_1.z.string()
64
+ .describe(`This is the action you have decided to do in the next step. You **MUST** pick one of the following actions:
65
+ - **queuePreviousChunk**: Choose this action if you feel that the previous text chunk contains valuable information for answering the question.
66
+ - **queueNextChunk**: Choose this action if you feel that the subsequent text chunk contains valuable information for answering the question.
67
+ - **readNeighbouringNodes**: Choose this action if you feel that the current text contains valuable, but somewhat incomplete information that could be clarified by exploring related concepts.
68
+ - **answer**: Choose this action if you believe that the information you have currently obtained is enough to answer the question. This will allow you to summarize the gathered information and provide a final answer.
69
+ `),
70
+ });
71
+ const inputSchema = zod_1.z.object({
72
+ question: zod_1.z.string().describe("The question asked by the user"),
73
+ rationalPlan: zod_1.z
74
+ .string()
75
+ .describe("The rational plan you designed to provide a comprehensive answer to the user question"),
76
+ text: zod_1.z.string().describe("The content of the text you must analyse to provide an answer to the user question"),
77
+ });
78
+ let ChunkVectorNodeService = class ChunkVectorNodeService {
79
+ constructor(llmService, chunkRepository, webSocketService, clsService, configService) {
80
+ this.llmService = llmService;
81
+ this.chunkRepository = chunkRepository;
82
+ this.webSocketService = webSocketService;
83
+ this.clsService = clsService;
84
+ this.configService = configService;
85
+ const prompts = this.configService.get("prompts");
86
+ this.systemPrompt = prompts?.contextualiser?.chunkVector ?? exports.defaultChunkVectorPrompt;
87
+ }
88
+ async execute(params) {
89
+ const chunks = await this.chunkRepository.findPotentialChunks({
90
+ question: params.state.question,
91
+ dataLimits: params.state.limits,
92
+ });
93
+ if (chunks.length === 0) {
94
+ params.state.nextStep = "answer";
95
+ return params.state;
96
+ }
97
+ const llmResponses = (await Promise.all(chunks.map(async (chunk) => {
98
+ if (!chunk.content || chunk.content.trim() === "")
99
+ return null;
100
+ const inputParams = {
101
+ rationalPlan: params.state.rationalPlan,
102
+ question: params.state.question,
103
+ text: chunk.content,
104
+ };
105
+ const llmResponse = await this.llmService.call({
106
+ inputSchema: inputSchema,
107
+ inputParams: inputParams,
108
+ outputSchema: outputSchema,
109
+ systemPrompts: [this.systemPrompt],
110
+ temperature: 0.1,
111
+ });
112
+ if (params.state.contentType === "Conversation")
113
+ await this.webSocketService.sendMessageToUser(this.clsService.get("userId"), "contextualiser", {
114
+ message: llmResponse.status,
115
+ conversationId: params.state.contentId,
116
+ });
117
+ return {
118
+ chunkId: chunk.id,
119
+ status: llmResponse.status,
120
+ note: {
121
+ content: llmResponse.note?.content ?? "",
122
+ reason: llmResponse.note?.reason ?? "",
123
+ },
124
+ chosenAction: llmResponse.chosenAction,
125
+ tokens: llmResponse.tokenUsage,
126
+ };
127
+ })));
128
+ const tokenUsed = {
129
+ input: 0,
130
+ output: 0,
131
+ };
132
+ const newNotebookEntries = [];
133
+ const statuses = [];
134
+ for (const llmResponse of llmResponses.filter((response) => !!response)) {
135
+ tokenUsed.input += llmResponse.tokens.input;
136
+ tokenUsed.output += llmResponse.tokens.output;
137
+ newNotebookEntries.push({
138
+ chunkId: llmResponse.chunkId,
139
+ content: llmResponse.note.content,
140
+ reason: llmResponse.note.reason,
141
+ });
142
+ if (llmResponse.status &&
143
+ !statuses.includes(llmResponse.status) &&
144
+ !params.state.status.includes(llmResponse.status)) {
145
+ statuses.push(llmResponse.status);
146
+ }
147
+ }
148
+ return {
149
+ hops: params.state.hops + 1,
150
+ processedChunks: chunks.map((c) => c.id),
151
+ notebook: newNotebookEntries,
152
+ status: statuses,
153
+ tokens: tokenUsed,
154
+ };
155
+ }
156
+ };
157
+ exports.ChunkVectorNodeService = ChunkVectorNodeService;
158
+ exports.ChunkVectorNodeService = ChunkVectorNodeService = __decorate([
159
+ (0, common_1.Injectable)(),
160
+ __metadata("design:paramtypes", [llm_service_1.LLMService,
161
+ chunk_repository_1.ChunkRepository,
162
+ websocket_service_1.WebSocketService,
163
+ nestjs_cls_1.ClsService,
164
+ config_1.ConfigService])
165
+ ], ChunkVectorNodeService);
166
+ //# sourceMappingURL=chunk.vector.node.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk.vector.node.service.js","sourceRoot":"","sources":["../../../../src/agents/contextualiser/nodes/chunk.vector.node.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2CAA+C;AAC/C,2CAAwC;AACxC,6BAAwB;AAGxB,wEAAoE;AACpE,0FAAsF;AACtF,+FAA2F;AAM9E,QAAA,wBAAwB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCvC,CAAC;AAEF,MAAM,YAAY,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5B,MAAM,EAAE,OAAC;SACN,MAAM,EAAE;SACR,QAAQ,CACP,yNAAyN,CAC1N;IACH,IAAI,EAAE,OAAC;SACJ,MAAM,CAAC;QACN,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oEAAoE,CAAC;QAClG,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sEAAsE,CAAC;KACpG,CAAC;SACD,QAAQ,CAAC,mGAAmG,CAAC;IAChH,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;SACrB,QAAQ,CAAC;;;;;CAKb,CAAC;CACD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gB;QACtB,uBAAU;QACP,sBAAa;GARpC,sBAAsB,CAuGlC"}
@@ -0,0 +1,22 @@
1
+ import { ConfigService } from "@nestjs/config";
2
+ import { ClsService } from "nestjs-cls";
3
+ import { BaseConfigInterface } from "../../../config/interfaces";
4
+ import { LLMService } from "../../../core/llm/services/llm.service";
5
+ import { WebSocketService } from "../../../core/websocket/services/websocket.service";
6
+ import { KeyConceptRepository } from "../../../foundations/keyconcept/repositories/keyconcept.repository";
7
+ import { ContextualiserContext, ContextualiserContextState } from "../../contextualiser/contexts/contextualiser.context";
8
+ export declare const defaultKeyConceptsPrompt = "\nAs an intelligent assistant, your primary objective is to score a list of key concepts in relation to the user question.\n\nYou are given the question, the rational plan, and a list of key elements with additional metadata.\nYour must check a list of Key Concepts, with the objective of selecting the most relevant ones to efficiently answer the question.\nThese initial key concepts are crucial because they are the starting point for searching for relevant information.\n\nGiven the **question**, the **rational plan** to answer the question, and the list of **Key Concepts** you have to:\n1. for each key concept\n - Read the key concept\n - Read the metadata (if they are available)\n - Assess a relevance to the potential answer by assigning a score between 0 and 100. A score of 100 implies a high likelihood of relevance to the answer, whereas a score of 0 suggests minimal relevance.\n - If the key element contains metadata and the metadata is very relevant to the question and it will be used to answer the question, please indicate that the key element is used as a source for the answer setting isUsedAsSource to true. In any other case (there is no metadata or the metadata is not relevant to the question), set isUsedAsSource to false.\n2. Provide a Status Message\n - Write a **short, friendly message** (maximum 40 characters) about your action.\n - **Avoid technical terms** such as \"nodes\", \"atomic facts\", or \"key concepts\".\n - The status message should make the user understand the action being taken\n - The status message **MUST** contain clear information contextualised to the current question and the gathered information.\n - The status message should be specific to the context and clearly convey the next steps or actions being taken.\n - The status message **MUST NOT** be something unrelated to the text, such as \"success\", \"sufficient information\", \"insufficient information\", \"chunk analysed\", \"chunk processed\" or similar generic messages.\n\n### IMPORTANT\n - You should only use Key concepts provided in the list of key elements and refrain from using any other key concepts.\n - You **MUST NOT** create new key concepts, but use ONLY the ones provided.\n\n### **Please strictly follow the above instructions and format. Let's begin.**\n";
9
+ export declare class KeyConceptsNodeService {
10
+ private readonly llmService;
11
+ private readonly keyConceptRepository;
12
+ private readonly webSocketService;
13
+ private readonly clsService;
14
+ private readonly configService;
15
+ private readonly systemPrompt;
16
+ constructor(llmService: LLMService, keyConceptRepository: KeyConceptRepository, webSocketService: WebSocketService, clsService: ClsService, configService: ConfigService<BaseConfigInterface>);
17
+ execute(params: {
18
+ state: typeof ContextualiserContext.State;
19
+ }): Promise<Partial<ContextualiserContextState>>;
20
+ private _transformMetadata;
21
+ }
22
+ //# sourceMappingURL=keyconcepts.node.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyconcepts.node.service.d.ts","sourceRoot":"","sources":["../../../../src/agents/contextualiser/nodes/keyconcepts.node.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAA0B,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AAEtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,oEAAoE,CAAC;AAC1G,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,wBAAwB,owEA0BpC,CAAC;AAoCF,qBACa,sBAAsB;IAI/B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAPhC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;gBAGnB,UAAU,EAAE,UAAU,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,CAAC,mBAAmB,CAAC;IAM9D,OAAO,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,OAAO,qBAAqB,CAAC,KAAK,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAkGlH,OAAO,CAAC,kBAAkB;CAa3B"}