@marinoscar/platform-api 0.1.0-next.3 → 0.1.0-next.5

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 (4251) hide show
  1. package/CHANGELOG.md +272 -0
  2. package/README.md +51 -9
  3. package/dist/ai/ai.constants.d.ts +8 -0
  4. package/dist/ai/ai.constants.d.ts.map +1 -0
  5. package/dist/ai/ai.constants.js +16 -0
  6. package/dist/ai/ai.constants.js.map +1 -0
  7. package/dist/ai/ai.module.d.ts +89 -0
  8. package/dist/ai/ai.module.d.ts.map +1 -0
  9. package/dist/ai/ai.module.js +117 -0
  10. package/dist/ai/ai.module.js.map +1 -0
  11. package/dist/ai/ai.options.d.ts +28 -0
  12. package/dist/ai/ai.options.d.ts.map +1 -0
  13. package/dist/ai/ai.options.js +19 -0
  14. package/dist/ai/ai.options.js.map +1 -0
  15. package/dist/ai/ai.permissions.d.ts +42 -0
  16. package/dist/ai/ai.permissions.d.ts.map +1 -0
  17. package/dist/ai/ai.permissions.js +132 -0
  18. package/dist/ai/ai.permissions.js.map +1 -0
  19. package/dist/ai/ai.system-settings.d.ts +514 -0
  20. package/dist/ai/ai.system-settings.d.ts.map +1 -0
  21. package/dist/ai/ai.system-settings.js +309 -0
  22. package/dist/ai/ai.system-settings.js.map +1 -0
  23. package/dist/ai/ai.user-settings.d.ts +67 -0
  24. package/dist/ai/ai.user-settings.d.ts.map +1 -0
  25. package/dist/ai/ai.user-settings.js +64 -0
  26. package/dist/ai/ai.user-settings.js.map +1 -0
  27. package/dist/ai/catalog/ai-catalog-refresh.handler.d.ts +34 -0
  28. package/dist/ai/catalog/ai-catalog-refresh.handler.d.ts.map +1 -0
  29. package/dist/ai/catalog/ai-catalog-refresh.handler.js +121 -0
  30. package/dist/ai/catalog/ai-catalog-refresh.handler.js.map +1 -0
  31. package/dist/ai/catalog/ai-catalog-refresh.task.d.ts +15 -0
  32. package/dist/ai/catalog/ai-catalog-refresh.task.d.ts.map +1 -0
  33. package/dist/ai/catalog/ai-catalog-refresh.task.js +101 -0
  34. package/dist/ai/catalog/ai-catalog-refresh.task.js.map +1 -0
  35. package/dist/ai/catalog/ai-catalog.events.d.ts +11 -0
  36. package/dist/ai/catalog/ai-catalog.events.d.ts.map +1 -0
  37. package/dist/ai/catalog/ai-catalog.events.js +21 -0
  38. package/dist/ai/catalog/ai-catalog.events.js.map +1 -0
  39. package/dist/ai/catalog/ai-catalog.module.d.ts +9 -0
  40. package/dist/ai/catalog/ai-catalog.module.d.ts.map +1 -0
  41. package/dist/ai/catalog/ai-catalog.module.js +39 -0
  42. package/dist/ai/catalog/ai-catalog.module.js.map +1 -0
  43. package/dist/ai/catalog/ai-catalog.service.d.ts +113 -0
  44. package/dist/ai/catalog/ai-catalog.service.d.ts.map +1 -0
  45. package/dist/ai/catalog/ai-catalog.service.js +371 -0
  46. package/dist/ai/catalog/ai-catalog.service.js.map +1 -0
  47. package/dist/ai/catalog/doctor/egress/ai-catalog-refresh.egress.contributor.d.ts +24 -0
  48. package/dist/ai/catalog/doctor/egress/ai-catalog-refresh.egress.contributor.d.ts.map +1 -0
  49. package/dist/ai/catalog/doctor/egress/ai-catalog-refresh.egress.contributor.js +70 -0
  50. package/dist/ai/catalog/doctor/egress/ai-catalog-refresh.egress.contributor.js.map +1 -0
  51. package/dist/ai/config/ai-admin.controller.d.ts +524 -0
  52. package/dist/ai/config/ai-admin.controller.d.ts.map +1 -0
  53. package/dist/ai/config/ai-admin.controller.js +352 -0
  54. package/dist/ai/config/ai-admin.controller.js.map +1 -0
  55. package/dist/ai/config/ai-config-admin.service.d.ts +199 -0
  56. package/dist/ai/config/ai-config-admin.service.d.ts.map +1 -0
  57. package/dist/ai/config/ai-config-admin.service.js +579 -0
  58. package/dist/ai/config/ai-config-admin.service.js.map +1 -0
  59. package/dist/ai/config/ai-config.module.d.ts +10 -0
  60. package/dist/ai/config/ai-config.module.d.ts.map +1 -0
  61. package/dist/ai/config/ai-config.module.js +69 -0
  62. package/dist/ai/config/ai-config.module.js.map +1 -0
  63. package/dist/ai/config/ai-config.service.d.ts +189 -0
  64. package/dist/ai/config/ai-config.service.d.ts.map +1 -0
  65. package/dist/ai/config/ai-config.service.js +334 -0
  66. package/dist/ai/config/ai-config.service.js.map +1 -0
  67. package/dist/ai/config/ai-credential.constants.d.ts +32 -0
  68. package/dist/ai/config/ai-credential.constants.d.ts.map +1 -0
  69. package/dist/ai/config/ai-credential.constants.js +66 -0
  70. package/dist/ai/config/ai-credential.constants.js.map +1 -0
  71. package/dist/ai/config/ai-enabled.guard.d.ts +17 -0
  72. package/dist/ai/config/ai-enabled.guard.d.ts.map +1 -0
  73. package/dist/ai/config/ai-enabled.guard.js +61 -0
  74. package/dist/ai/config/ai-enabled.guard.js.map +1 -0
  75. package/dist/ai/config/ai-models-admin.service.d.ts +44 -0
  76. package/dist/ai/config/ai-models-admin.service.d.ts.map +1 -0
  77. package/dist/ai/config/ai-models-admin.service.js +238 -0
  78. package/dist/ai/config/ai-models-admin.service.js.map +1 -0
  79. package/dist/ai/config/ai-org-enabled.interceptor.d.ts +21 -0
  80. package/dist/ai/config/ai-org-enabled.interceptor.d.ts.map +1 -0
  81. package/dist/ai/config/ai-org-enabled.interceptor.js +59 -0
  82. package/dist/ai/config/ai-org-enabled.interceptor.js.map +1 -0
  83. package/dist/ai/config/ai-provider-test.service.d.ts +39 -0
  84. package/dist/ai/config/ai-provider-test.service.d.ts.map +1 -0
  85. package/dist/ai/config/ai-provider-test.service.js +281 -0
  86. package/dist/ai/config/ai-provider-test.service.js.map +1 -0
  87. package/dist/ai/config/ai-public.controller.d.ts +29 -0
  88. package/dist/ai/config/ai-public.controller.d.ts.map +1 -0
  89. package/dist/ai/config/ai-public.controller.js +69 -0
  90. package/dist/ai/config/ai-public.controller.js.map +1 -0
  91. package/dist/ai/config/doctor/ai-enabled.doctor-check.d.ts +25 -0
  92. package/dist/ai/config/doctor/ai-enabled.doctor-check.d.ts.map +1 -0
  93. package/dist/ai/config/doctor/ai-enabled.doctor-check.js +53 -0
  94. package/dist/ai/config/doctor/ai-enabled.doctor-check.js.map +1 -0
  95. package/dist/ai/config/doctor/ai-providers.doctor-check.d.ts +31 -0
  96. package/dist/ai/config/doctor/ai-providers.doctor-check.d.ts.map +1 -0
  97. package/dist/ai/config/doctor/ai-providers.doctor-check.js +92 -0
  98. package/dist/ai/config/doctor/ai-providers.doctor-check.js.map +1 -0
  99. package/dist/ai/config/doctor/egress/ai-provider-endpoint.d.ts +20 -0
  100. package/dist/ai/config/doctor/egress/ai-provider-endpoint.d.ts.map +1 -0
  101. package/dist/ai/config/doctor/egress/ai-provider-endpoint.js +30 -0
  102. package/dist/ai/config/doctor/egress/ai-provider-endpoint.js.map +1 -0
  103. package/dist/ai/config/doctor/egress/ai-providers.egress.contributor.d.ts +23 -0
  104. package/dist/ai/config/doctor/egress/ai-providers.egress.contributor.d.ts.map +1 -0
  105. package/dist/ai/config/doctor/egress/ai-providers.egress.contributor.js +67 -0
  106. package/dist/ai/config/doctor/egress/ai-providers.egress.contributor.js.map +1 -0
  107. package/dist/ai/config/doctor/egress/ai-realtime.egress.contributor.d.ts +22 -0
  108. package/dist/ai/config/doctor/egress/ai-realtime.egress.contributor.d.ts.map +1 -0
  109. package/dist/ai/config/doctor/egress/ai-realtime.egress.contributor.js +67 -0
  110. package/dist/ai/config/doctor/egress/ai-realtime.egress.contributor.js.map +1 -0
  111. package/dist/ai/config/dto/ai-capabilities.dto.d.ts +24 -0
  112. package/dist/ai/config/dto/ai-capabilities.dto.d.ts.map +1 -0
  113. package/dist/ai/config/dto/ai-capabilities.dto.js +43 -0
  114. package/dist/ai/config/dto/ai-capabilities.dto.js.map +1 -0
  115. package/dist/ai/config/dto/ai-config-response.dto.d.ts +548 -0
  116. package/dist/ai/config/dto/ai-config-response.dto.d.ts.map +1 -0
  117. package/dist/ai/config/dto/ai-config-response.dto.js +181 -0
  118. package/dist/ai/config/dto/ai-config-response.dto.js.map +1 -0
  119. package/dist/ai/config/dto/ai-model.dto.d.ts +161 -0
  120. package/dist/ai/config/dto/ai-model.dto.d.ts.map +1 -0
  121. package/dist/ai/config/dto/ai-model.dto.js +127 -0
  122. package/dist/ai/config/dto/ai-model.dto.js.map +1 -0
  123. package/dist/ai/config/dto/ai-provider-key.dto.d.ts +26 -0
  124. package/dist/ai/config/dto/ai-provider-key.dto.d.ts.map +1 -0
  125. package/dist/ai/config/dto/ai-provider-key.dto.js +27 -0
  126. package/dist/ai/config/dto/ai-provider-key.dto.js.map +1 -0
  127. package/dist/ai/config/dto/ai-provider-test.dto.d.ts +169 -0
  128. package/dist/ai/config/dto/ai-provider-test.dto.d.ts.map +1 -0
  129. package/dist/ai/config/dto/ai-provider-test.dto.js +95 -0
  130. package/dist/ai/config/dto/ai-provider-test.dto.js.map +1 -0
  131. package/dist/ai/config/dto/ai-public-config.dto.d.ts +70 -0
  132. package/dist/ai/config/dto/ai-public-config.dto.d.ts.map +1 -0
  133. package/dist/ai/config/dto/ai-public-config.dto.js +106 -0
  134. package/dist/ai/config/dto/ai-public-config.dto.js.map +1 -0
  135. package/dist/ai/config/dto/update-ai-config.dto.d.ts +154 -0
  136. package/dist/ai/config/dto/update-ai-config.dto.d.ts.map +1 -0
  137. package/dist/ai/config/dto/update-ai-config.dto.js +184 -0
  138. package/dist/ai/config/dto/update-ai-config.dto.js.map +1 -0
  139. package/dist/ai/config/index.d.ts +5 -0
  140. package/dist/ai/config/index.d.ts.map +1 -0
  141. package/dist/ai/config/index.js +22 -0
  142. package/dist/ai/config/index.js.map +1 -0
  143. package/dist/ai/core/ai-core.module.d.ts +13 -0
  144. package/dist/ai/core/ai-core.module.d.ts.map +1 -0
  145. package/dist/ai/core/ai-core.module.js +31 -0
  146. package/dist/ai/core/ai-core.module.js.map +1 -0
  147. package/dist/ai/core/ai-error.d.ts +161 -0
  148. package/dist/ai/core/ai-error.d.ts.map +1 -0
  149. package/dist/ai/core/ai-error.js +233 -0
  150. package/dist/ai/core/ai-error.js.map +1 -0
  151. package/dist/ai/core/capabilities.d.ts +127 -0
  152. package/dist/ai/core/capabilities.d.ts.map +1 -0
  153. package/dist/ai/core/capabilities.js +112 -0
  154. package/dist/ai/core/capabilities.js.map +1 -0
  155. package/dist/ai/core/capability-registry.d.ts +83 -0
  156. package/dist/ai/core/capability-registry.d.ts.map +1 -0
  157. package/dist/ai/core/capability-registry.js +145 -0
  158. package/dist/ai/core/capability-registry.js.map +1 -0
  159. package/dist/ai/core/conversation.d.ts +16 -0
  160. package/dist/ai/core/conversation.d.ts.map +1 -0
  161. package/dist/ai/core/conversation.js +57 -0
  162. package/dist/ai/core/conversation.js.map +1 -0
  163. package/dist/ai/core/hosted-tools.d.ts +173 -0
  164. package/dist/ai/core/hosted-tools.d.ts.map +1 -0
  165. package/dist/ai/core/hosted-tools.js +289 -0
  166. package/dist/ai/core/hosted-tools.js.map +1 -0
  167. package/dist/ai/core/index.d.ts +14 -0
  168. package/dist/ai/core/index.d.ts.map +1 -0
  169. package/dist/ai/core/index.js +32 -0
  170. package/dist/ai/core/index.js.map +1 -0
  171. package/dist/ai/core/operation-registry.d.ts +104 -0
  172. package/dist/ai/core/operation-registry.d.ts.map +1 -0
  173. package/dist/ai/core/operation-registry.js +140 -0
  174. package/dist/ai/core/operation-registry.js.map +1 -0
  175. package/dist/ai/core/provider-adapter.interface.d.ts +261 -0
  176. package/dist/ai/core/provider-adapter.interface.d.ts.map +1 -0
  177. package/dist/ai/core/provider-adapter.interface.js +33 -0
  178. package/dist/ai/core/provider-adapter.interface.js.map +1 -0
  179. package/dist/ai/core/provider-registry.d.ts +52 -0
  180. package/dist/ai/core/provider-registry.d.ts.map +1 -0
  181. package/dist/ai/core/provider-registry.js +163 -0
  182. package/dist/ai/core/provider-registry.js.map +1 -0
  183. package/dist/ai/core/structured-output.d.ts +50 -0
  184. package/dist/ai/core/structured-output.d.ts.map +1 -0
  185. package/dist/ai/core/structured-output.js +83 -0
  186. package/dist/ai/core/structured-output.js.map +1 -0
  187. package/dist/ai/core/tools.d.ts +94 -0
  188. package/dist/ai/core/tools.d.ts.map +1 -0
  189. package/dist/ai/core/tools.js +76 -0
  190. package/dist/ai/core/tools.js.map +1 -0
  191. package/dist/ai/core/types/file-inputs.types.d.ts +103 -0
  192. package/dist/ai/core/types/file-inputs.types.d.ts.map +1 -0
  193. package/dist/ai/core/types/file-inputs.types.js +81 -0
  194. package/dist/ai/core/types/file-inputs.types.js.map +1 -0
  195. package/dist/ai/core/types/media.types.d.ts +617 -0
  196. package/dist/ai/core/types/media.types.d.ts.map +1 -0
  197. package/dist/ai/core/types/media.types.js +206 -0
  198. package/dist/ai/core/types/media.types.js.map +1 -0
  199. package/dist/ai/core/types/responses.types.d.ts +620 -0
  200. package/dist/ai/core/types/responses.types.d.ts.map +1 -0
  201. package/dist/ai/core/types/responses.types.js +60 -0
  202. package/dist/ai/core/types/responses.types.js.map +1 -0
  203. package/dist/ai/data/ai-db.d.ts +435 -0
  204. package/dist/ai/data/ai-db.d.ts.map +1 -0
  205. package/dist/ai/data/ai-db.js +22 -0
  206. package/dist/ai/data/ai-db.js.map +1 -0
  207. package/dist/ai/data/prisma.d.ts +54 -0
  208. package/dist/ai/data/prisma.d.ts.map +1 -0
  209. package/dist/ai/data/prisma.js +20 -0
  210. package/dist/ai/data/prisma.js.map +1 -0
  211. package/dist/ai/features/ai-feature.registry.d.ts +63 -0
  212. package/dist/ai/features/ai-feature.registry.d.ts.map +1 -0
  213. package/dist/ai/features/ai-feature.registry.js +99 -0
  214. package/dist/ai/features/ai-feature.registry.js.map +1 -0
  215. package/dist/ai/features/ai-features.controller.d.ts +23 -0
  216. package/dist/ai/features/ai-features.controller.d.ts.map +1 -0
  217. package/dist/ai/features/ai-features.controller.js +74 -0
  218. package/dist/ai/features/ai-features.controller.js.map +1 -0
  219. package/dist/ai/features/ai-features.module.d.ts +10 -0
  220. package/dist/ai/features/ai-features.module.d.ts.map +1 -0
  221. package/dist/ai/features/ai-features.module.js +33 -0
  222. package/dist/ai/features/ai-features.module.js.map +1 -0
  223. package/dist/ai/features/ai-features.service.d.ts +35 -0
  224. package/dist/ai/features/ai-features.service.d.ts.map +1 -0
  225. package/dist/ai/features/ai-features.service.js +68 -0
  226. package/dist/ai/features/ai-features.service.js.map +1 -0
  227. package/dist/ai/features/dto/ai-feature.dto.d.ts +16 -0
  228. package/dist/ai/features/dto/ai-feature.dto.d.ts.map +1 -0
  229. package/dist/ai/features/dto/ai-feature.dto.js +10 -0
  230. package/dist/ai/features/dto/ai-feature.dto.js.map +1 -0
  231. package/dist/ai/http/ai-audio.controller.d.ts +10 -0
  232. package/dist/ai/http/ai-audio.controller.d.ts.map +1 -0
  233. package/dist/ai/http/ai-audio.controller.js +194 -0
  234. package/dist/ai/http/ai-audio.controller.js.map +1 -0
  235. package/dist/ai/http/ai-embeddings.controller.d.ts +9 -0
  236. package/dist/ai/http/ai-embeddings.controller.d.ts.map +1 -0
  237. package/dist/ai/http/ai-embeddings.controller.js +132 -0
  238. package/dist/ai/http/ai-embeddings.controller.js.map +1 -0
  239. package/dist/ai/http/ai-http-request.d.ts +5 -0
  240. package/dist/ai/http/ai-http-request.d.ts.map +1 -0
  241. package/dist/ai/http/ai-http-request.js +41 -0
  242. package/dist/ai/http/ai-http-request.js.map +1 -0
  243. package/dist/ai/http/ai-http.module.d.ts +3 -0
  244. package/dist/ai/http/ai-http.module.d.ts.map +1 -0
  245. package/dist/ai/http/ai-http.module.js +44 -0
  246. package/dist/ai/http/ai-http.module.js.map +1 -0
  247. package/dist/ai/http/ai-images.controller.d.ts +10 -0
  248. package/dist/ai/http/ai-images.controller.d.ts.map +1 -0
  249. package/dist/ai/http/ai-images.controller.js +171 -0
  250. package/dist/ai/http/ai-images.controller.js.map +1 -0
  251. package/dist/ai/http/ai-realtime.controller.d.ts +8 -0
  252. package/dist/ai/http/ai-realtime.controller.d.ts.map +1 -0
  253. package/dist/ai/http/ai-realtime.controller.js +138 -0
  254. package/dist/ai/http/ai-realtime.controller.js.map +1 -0
  255. package/dist/ai/http/ai-responses.controller.d.ts +22 -0
  256. package/dist/ai/http/ai-responses.controller.d.ts.map +1 -0
  257. package/dist/ai/http/ai-responses.controller.js +235 -0
  258. package/dist/ai/http/ai-responses.controller.js.map +1 -0
  259. package/dist/ai/http/ai-runs.controller.d.ts +20 -0
  260. package/dist/ai/http/ai-runs.controller.d.ts.map +1 -0
  261. package/dist/ai/http/ai-runs.controller.js +186 -0
  262. package/dist/ai/http/ai-runs.controller.js.map +1 -0
  263. package/dist/ai/http/ai-sse.d.ts +55 -0
  264. package/dist/ai/http/ai-sse.d.ts.map +1 -0
  265. package/dist/ai/http/ai-sse.js +143 -0
  266. package/dist/ai/http/ai-sse.js.map +1 -0
  267. package/dist/ai/http/dto/ai-audio.dto.d.ts +67 -0
  268. package/dist/ai/http/dto/ai-audio.dto.d.ts.map +1 -0
  269. package/dist/ai/http/dto/ai-audio.dto.js +88 -0
  270. package/dist/ai/http/dto/ai-audio.dto.js.map +1 -0
  271. package/dist/ai/http/dto/ai-embeddings.dto.d.ts +53 -0
  272. package/dist/ai/http/dto/ai-embeddings.dto.d.ts.map +1 -0
  273. package/dist/ai/http/dto/ai-embeddings.dto.js +63 -0
  274. package/dist/ai/http/dto/ai-embeddings.dto.js.map +1 -0
  275. package/dist/ai/http/dto/ai-images.dto.d.ts +109 -0
  276. package/dist/ai/http/dto/ai-images.dto.d.ts.map +1 -0
  277. package/dist/ai/http/dto/ai-images.dto.js +57 -0
  278. package/dist/ai/http/dto/ai-images.dto.js.map +1 -0
  279. package/dist/ai/http/dto/ai-realtime.dto.d.ts +43 -0
  280. package/dist/ai/http/dto/ai-realtime.dto.d.ts.map +1 -0
  281. package/dist/ai/http/dto/ai-realtime.dto.js +70 -0
  282. package/dist/ai/http/dto/ai-realtime.dto.js.map +1 -0
  283. package/dist/ai/http/dto/ai-response-request.dto.d.ts +196 -0
  284. package/dist/ai/http/dto/ai-response-request.dto.d.ts.map +1 -0
  285. package/dist/ai/http/dto/ai-response-request.dto.js +126 -0
  286. package/dist/ai/http/dto/ai-response-request.dto.js.map +1 -0
  287. package/dist/ai/http/dto/ai-response.dto.d.ts +838 -0
  288. package/dist/ai/http/dto/ai-response.dto.d.ts.map +1 -0
  289. package/dist/ai/http/dto/ai-response.dto.js +258 -0
  290. package/dist/ai/http/dto/ai-response.dto.js.map +1 -0
  291. package/dist/ai/http/json-schema-structured-output.d.ts +21 -0
  292. package/dist/ai/http/json-schema-structured-output.d.ts.map +1 -0
  293. package/dist/ai/http/json-schema-structured-output.js +69 -0
  294. package/dist/ai/http/json-schema-structured-output.js.map +1 -0
  295. package/dist/ai/index.d.ts +67 -0
  296. package/dist/ai/index.d.ts.map +1 -0
  297. package/dist/ai/index.js +178 -0
  298. package/dist/ai/index.js.map +1 -0
  299. package/dist/ai/keys/ai-config-writer.lookup.d.ts +21 -0
  300. package/dist/ai/keys/ai-config-writer.lookup.d.ts.map +1 -0
  301. package/dist/ai/keys/ai-config-writer.lookup.js +87 -0
  302. package/dist/ai/keys/ai-config-writer.lookup.js.map +1 -0
  303. package/dist/ai/keys/ai-key-resolver.service.d.ts +107 -0
  304. package/dist/ai/keys/ai-key-resolver.service.d.ts.map +1 -0
  305. package/dist/ai/keys/ai-key-resolver.service.js +161 -0
  306. package/dist/ai/keys/ai-key-resolver.service.js.map +1 -0
  307. package/dist/ai/keys/ai-keys-catalog.listener.d.ts +9 -0
  308. package/dist/ai/keys/ai-keys-catalog.listener.d.ts.map +1 -0
  309. package/dist/ai/keys/ai-keys-catalog.listener.js +83 -0
  310. package/dist/ai/keys/ai-keys-catalog.listener.js.map +1 -0
  311. package/dist/ai/keys/ai-keys-recheck.handler.d.ts +27 -0
  312. package/dist/ai/keys/ai-keys-recheck.handler.d.ts.map +1 -0
  313. package/dist/ai/keys/ai-keys-recheck.handler.js +96 -0
  314. package/dist/ai/keys/ai-keys-recheck.handler.js.map +1 -0
  315. package/dist/ai/keys/ai-keys-recheck.task.d.ts +20 -0
  316. package/dist/ai/keys/ai-keys-recheck.task.d.ts.map +1 -0
  317. package/dist/ai/keys/ai-keys-recheck.task.js +113 -0
  318. package/dist/ai/keys/ai-keys-recheck.task.js.map +1 -0
  319. package/dist/ai/keys/ai-keys.module.d.ts +3 -0
  320. package/dist/ai/keys/ai-keys.module.d.ts.map +1 -0
  321. package/dist/ai/keys/ai-keys.module.js +57 -0
  322. package/dist/ai/keys/ai-keys.module.js.map +1 -0
  323. package/dist/ai/keys/ai-user-key.constants.d.ts +15 -0
  324. package/dist/ai/keys/ai-user-key.constants.d.ts.map +1 -0
  325. package/dist/ai/keys/ai-user-key.constants.js +29 -0
  326. package/dist/ai/keys/ai-user-key.constants.js.map +1 -0
  327. package/dist/ai/keys/dto/org-ai-key.dto.d.ts +18 -0
  328. package/dist/ai/keys/dto/org-ai-key.dto.d.ts.map +1 -0
  329. package/dist/ai/keys/dto/org-ai-key.dto.js +14 -0
  330. package/dist/ai/keys/dto/org-ai-key.dto.js.map +1 -0
  331. package/dist/ai/keys/dto/usable-ai-model.dto.d.ts +51 -0
  332. package/dist/ai/keys/dto/usable-ai-model.dto.d.ts.map +1 -0
  333. package/dist/ai/keys/dto/usable-ai-model.dto.js +45 -0
  334. package/dist/ai/keys/dto/usable-ai-model.dto.js.map +1 -0
  335. package/dist/ai/keys/dto/user-ai-key.dto.d.ts +155 -0
  336. package/dist/ai/keys/dto/user-ai-key.dto.d.ts.map +1 -0
  337. package/dist/ai/keys/dto/user-ai-key.dto.js +93 -0
  338. package/dist/ai/keys/dto/user-ai-key.dto.js.map +1 -0
  339. package/dist/ai/keys/org-key.service.d.ts +82 -0
  340. package/dist/ai/keys/org-key.service.d.ts.map +1 -0
  341. package/dist/ai/keys/org-key.service.js +183 -0
  342. package/dist/ai/keys/org-key.service.js.map +1 -0
  343. package/dist/ai/keys/org-keys.controller.d.ts +28 -0
  344. package/dist/ai/keys/org-keys.controller.d.ts.map +1 -0
  345. package/dist/ai/keys/org-keys.controller.js +129 -0
  346. package/dist/ai/keys/org-keys.controller.js.map +1 -0
  347. package/dist/ai/keys/usable-models.service.d.ts +48 -0
  348. package/dist/ai/keys/usable-models.service.d.ts.map +1 -0
  349. package/dist/ai/keys/usable-models.service.js +186 -0
  350. package/dist/ai/keys/usable-models.service.js.map +1 -0
  351. package/dist/ai/keys/user-ai-keys.controller.d.ts +64 -0
  352. package/dist/ai/keys/user-ai-keys.controller.d.ts.map +1 -0
  353. package/dist/ai/keys/user-ai-keys.controller.js +204 -0
  354. package/dist/ai/keys/user-ai-keys.controller.js.map +1 -0
  355. package/dist/ai/keys/user-ai-keys.service.d.ts +143 -0
  356. package/dist/ai/keys/user-ai-keys.service.d.ts.map +1 -0
  357. package/dist/ai/keys/user-ai-keys.service.js +491 -0
  358. package/dist/ai/keys/user-ai-keys.service.js.map +1 -0
  359. package/dist/ai/ports.d.ts +236 -0
  360. package/dist/ai/ports.d.ts.map +1 -0
  361. package/dist/ai/ports.js +85 -0
  362. package/dist/ai/ports.js.map +1 -0
  363. package/dist/ai/providers/ai-provider-definition.d.ts +199 -0
  364. package/dist/ai/providers/ai-provider-definition.d.ts.map +1 -0
  365. package/dist/ai/providers/ai-provider-definition.js +219 -0
  366. package/dist/ai/providers/ai-provider-definition.js.map +1 -0
  367. package/dist/ai/providers/anthropic/anthropic-client.factory.d.ts +20 -0
  368. package/dist/ai/providers/anthropic/anthropic-client.factory.d.ts.map +1 -0
  369. package/dist/ai/providers/anthropic/anthropic-client.factory.js +84 -0
  370. package/dist/ai/providers/anthropic/anthropic-client.factory.js.map +1 -0
  371. package/dist/ai/providers/anthropic/anthropic-errors.d.ts +16 -0
  372. package/dist/ai/providers/anthropic/anthropic-errors.d.ts.map +1 -0
  373. package/dist/ai/providers/anthropic/anthropic-errors.js +156 -0
  374. package/dist/ai/providers/anthropic/anthropic-errors.js.map +1 -0
  375. package/dist/ai/providers/anthropic/anthropic-messages.mapper.d.ts +80 -0
  376. package/dist/ai/providers/anthropic/anthropic-messages.mapper.d.ts.map +1 -0
  377. package/dist/ai/providers/anthropic/anthropic-messages.mapper.js +536 -0
  378. package/dist/ai/providers/anthropic/anthropic-messages.mapper.js.map +1 -0
  379. package/dist/ai/providers/anthropic/anthropic-model-catalog.d.ts +49 -0
  380. package/dist/ai/providers/anthropic/anthropic-model-catalog.d.ts.map +1 -0
  381. package/dist/ai/providers/anthropic/anthropic-model-catalog.js +198 -0
  382. package/dist/ai/providers/anthropic/anthropic-model-catalog.js.map +1 -0
  383. package/dist/ai/providers/anthropic/anthropic-stream.mapper.d.ts +35 -0
  384. package/dist/ai/providers/anthropic/anthropic-stream.mapper.d.ts.map +1 -0
  385. package/dist/ai/providers/anthropic/anthropic-stream.mapper.js +203 -0
  386. package/dist/ai/providers/anthropic/anthropic-stream.mapper.js.map +1 -0
  387. package/dist/ai/providers/anthropic/anthropic.adapter.d.ts +59 -0
  388. package/dist/ai/providers/anthropic/anthropic.adapter.d.ts.map +1 -0
  389. package/dist/ai/providers/anthropic/anthropic.adapter.js +327 -0
  390. package/dist/ai/providers/anthropic/anthropic.adapter.js.map +1 -0
  391. package/dist/ai/providers/anthropic/anthropic.module.d.ts +11 -0
  392. package/dist/ai/providers/anthropic/anthropic.module.d.ts.map +1 -0
  393. package/dist/ai/providers/anthropic/anthropic.module.js +32 -0
  394. package/dist/ai/providers/anthropic/anthropic.module.js.map +1 -0
  395. package/dist/ai/providers/anthropic/anthropic.provider-definition.d.ts +12 -0
  396. package/dist/ai/providers/anthropic/anthropic.provider-definition.d.ts.map +1 -0
  397. package/dist/ai/providers/anthropic/anthropic.provider-definition.js +24 -0
  398. package/dist/ai/providers/anthropic/anthropic.provider-definition.js.map +1 -0
  399. package/dist/ai/providers/anthropic/testing/anthropic-fixtures.d.ts +18 -0
  400. package/dist/ai/providers/anthropic/testing/anthropic-fixtures.d.ts.map +1 -0
  401. package/dist/ai/providers/anthropic/testing/anthropic-fixtures.js +120 -0
  402. package/dist/ai/providers/anthropic/testing/anthropic-fixtures.js.map +1 -0
  403. package/dist/ai/providers/anthropic/testing/anthropic-mock-transport.d.ts +59 -0
  404. package/dist/ai/providers/anthropic/testing/anthropic-mock-transport.d.ts.map +1 -0
  405. package/dist/ai/providers/anthropic/testing/anthropic-mock-transport.js +206 -0
  406. package/dist/ai/providers/anthropic/testing/anthropic-mock-transport.js.map +1 -0
  407. package/dist/ai/providers/azure-openai/azure-openai-client.factory.d.ts +21 -0
  408. package/dist/ai/providers/azure-openai/azure-openai-client.factory.d.ts.map +1 -0
  409. package/dist/ai/providers/azure-openai/azure-openai-client.factory.js +87 -0
  410. package/dist/ai/providers/azure-openai/azure-openai-client.factory.js.map +1 -0
  411. package/dist/ai/providers/azure-openai/azure-openai-settings.d.ts +23 -0
  412. package/dist/ai/providers/azure-openai/azure-openai-settings.d.ts.map +1 -0
  413. package/dist/ai/providers/azure-openai/azure-openai-settings.js +54 -0
  414. package/dist/ai/providers/azure-openai/azure-openai-settings.js.map +1 -0
  415. package/dist/ai/providers/azure-openai/azure-openai.adapter.d.ts +39 -0
  416. package/dist/ai/providers/azure-openai/azure-openai.adapter.d.ts.map +1 -0
  417. package/dist/ai/providers/azure-openai/azure-openai.adapter.js +205 -0
  418. package/dist/ai/providers/azure-openai/azure-openai.adapter.js.map +1 -0
  419. package/dist/ai/providers/azure-openai/azure-openai.module.d.ts +12 -0
  420. package/dist/ai/providers/azure-openai/azure-openai.module.d.ts.map +1 -0
  421. package/dist/ai/providers/azure-openai/azure-openai.module.js +33 -0
  422. package/dist/ai/providers/azure-openai/azure-openai.module.js.map +1 -0
  423. package/dist/ai/providers/azure-openai/azure-openai.provider-definition.d.ts +12 -0
  424. package/dist/ai/providers/azure-openai/azure-openai.provider-definition.d.ts.map +1 -0
  425. package/dist/ai/providers/azure-openai/azure-openai.provider-definition.js +28 -0
  426. package/dist/ai/providers/azure-openai/azure-openai.provider-definition.js.map +1 -0
  427. package/dist/ai/providers/builtin-ai-providers.d.ts +8 -0
  428. package/dist/ai/providers/builtin-ai-providers.d.ts.map +1 -0
  429. package/dist/ai/providers/builtin-ai-providers.js +41 -0
  430. package/dist/ai/providers/builtin-ai-providers.js.map +1 -0
  431. package/dist/ai/providers/gemini/gemini-client.factory.d.ts +23 -0
  432. package/dist/ai/providers/gemini/gemini-client.factory.d.ts.map +1 -0
  433. package/dist/ai/providers/gemini/gemini-client.factory.js +100 -0
  434. package/dist/ai/providers/gemini/gemini-client.factory.js.map +1 -0
  435. package/dist/ai/providers/gemini/gemini-content.mapper.d.ts +98 -0
  436. package/dist/ai/providers/gemini/gemini-content.mapper.d.ts.map +1 -0
  437. package/dist/ai/providers/gemini/gemini-content.mapper.js +665 -0
  438. package/dist/ai/providers/gemini/gemini-content.mapper.js.map +1 -0
  439. package/dist/ai/providers/gemini/gemini-embeddings.mapper.d.ts +13 -0
  440. package/dist/ai/providers/gemini/gemini-embeddings.mapper.d.ts.map +1 -0
  441. package/dist/ai/providers/gemini/gemini-embeddings.mapper.js +78 -0
  442. package/dist/ai/providers/gemini/gemini-embeddings.mapper.js.map +1 -0
  443. package/dist/ai/providers/gemini/gemini-errors.d.ts +32 -0
  444. package/dist/ai/providers/gemini/gemini-errors.d.ts.map +1 -0
  445. package/dist/ai/providers/gemini/gemini-errors.js +191 -0
  446. package/dist/ai/providers/gemini/gemini-errors.js.map +1 -0
  447. package/dist/ai/providers/gemini/gemini-model-catalog.d.ts +45 -0
  448. package/dist/ai/providers/gemini/gemini-model-catalog.d.ts.map +1 -0
  449. package/dist/ai/providers/gemini/gemini-model-catalog.js +264 -0
  450. package/dist/ai/providers/gemini/gemini-model-catalog.js.map +1 -0
  451. package/dist/ai/providers/gemini/gemini-stream.mapper.d.ts +31 -0
  452. package/dist/ai/providers/gemini/gemini-stream.mapper.d.ts.map +1 -0
  453. package/dist/ai/providers/gemini/gemini-stream.mapper.js +118 -0
  454. package/dist/ai/providers/gemini/gemini-stream.mapper.js.map +1 -0
  455. package/dist/ai/providers/gemini/gemini.adapter.d.ts +66 -0
  456. package/dist/ai/providers/gemini/gemini.adapter.d.ts.map +1 -0
  457. package/dist/ai/providers/gemini/gemini.adapter.js +382 -0
  458. package/dist/ai/providers/gemini/gemini.adapter.js.map +1 -0
  459. package/dist/ai/providers/gemini/gemini.module.d.ts +11 -0
  460. package/dist/ai/providers/gemini/gemini.module.d.ts.map +1 -0
  461. package/dist/ai/providers/gemini/gemini.module.js +32 -0
  462. package/dist/ai/providers/gemini/gemini.module.js.map +1 -0
  463. package/dist/ai/providers/gemini/gemini.provider-definition.d.ts +12 -0
  464. package/dist/ai/providers/gemini/gemini.provider-definition.d.ts.map +1 -0
  465. package/dist/ai/providers/gemini/gemini.provider-definition.js +24 -0
  466. package/dist/ai/providers/gemini/gemini.provider-definition.js.map +1 -0
  467. package/dist/ai/providers/gemini/testing/gemini-fixtures.d.ts +80 -0
  468. package/dist/ai/providers/gemini/testing/gemini-fixtures.d.ts.map +1 -0
  469. package/dist/ai/providers/gemini/testing/gemini-fixtures.js +118 -0
  470. package/dist/ai/providers/gemini/testing/gemini-fixtures.js.map +1 -0
  471. package/dist/ai/providers/gemini/testing/gemini-mock-transport.d.ts +82 -0
  472. package/dist/ai/providers/gemini/testing/gemini-mock-transport.d.ts.map +1 -0
  473. package/dist/ai/providers/gemini/testing/gemini-mock-transport.js +342 -0
  474. package/dist/ai/providers/gemini/testing/gemini-mock-transport.js.map +1 -0
  475. package/dist/ai/providers/openai/openai-audio.mapper.d.ts +42 -0
  476. package/dist/ai/providers/openai/openai-audio.mapper.d.ts.map +1 -0
  477. package/dist/ai/providers/openai/openai-audio.mapper.js +266 -0
  478. package/dist/ai/providers/openai/openai-audio.mapper.js.map +1 -0
  479. package/dist/ai/providers/openai/openai-call-telemetry.d.ts +25 -0
  480. package/dist/ai/providers/openai/openai-call-telemetry.d.ts.map +1 -0
  481. package/dist/ai/providers/openai/openai-call-telemetry.js +93 -0
  482. package/dist/ai/providers/openai/openai-call-telemetry.js.map +1 -0
  483. package/dist/ai/providers/openai/openai-chat-completions-stream.mapper.d.ts +41 -0
  484. package/dist/ai/providers/openai/openai-chat-completions-stream.mapper.d.ts.map +1 -0
  485. package/dist/ai/providers/openai/openai-chat-completions-stream.mapper.js +173 -0
  486. package/dist/ai/providers/openai/openai-chat-completions-stream.mapper.js.map +1 -0
  487. package/dist/ai/providers/openai/openai-chat-completions.engine.d.ts +33 -0
  488. package/dist/ai/providers/openai/openai-chat-completions.engine.d.ts.map +1 -0
  489. package/dist/ai/providers/openai/openai-chat-completions.engine.js +165 -0
  490. package/dist/ai/providers/openai/openai-chat-completions.engine.js.map +1 -0
  491. package/dist/ai/providers/openai/openai-chat-completions.mapper.d.ts +42 -0
  492. package/dist/ai/providers/openai/openai-chat-completions.mapper.d.ts.map +1 -0
  493. package/dist/ai/providers/openai/openai-chat-completions.mapper.js +304 -0
  494. package/dist/ai/providers/openai/openai-chat-completions.mapper.js.map +1 -0
  495. package/dist/ai/providers/openai/openai-client.factory.d.ts +40 -0
  496. package/dist/ai/providers/openai/openai-client.factory.d.ts.map +1 -0
  497. package/dist/ai/providers/openai/openai-client.factory.js +96 -0
  498. package/dist/ai/providers/openai/openai-client.factory.js.map +1 -0
  499. package/dist/ai/providers/openai/openai-embeddings.mapper.d.ts +25 -0
  500. package/dist/ai/providers/openai/openai-embeddings.mapper.d.ts.map +1 -0
  501. package/dist/ai/providers/openai/openai-embeddings.mapper.js +81 -0
  502. package/dist/ai/providers/openai/openai-embeddings.mapper.js.map +1 -0
  503. package/dist/ai/providers/openai/openai-errors.d.ts +45 -0
  504. package/dist/ai/providers/openai/openai-errors.d.ts.map +1 -0
  505. package/dist/ai/providers/openai/openai-errors.js +247 -0
  506. package/dist/ai/providers/openai/openai-errors.js.map +1 -0
  507. package/dist/ai/providers/openai/openai-family-guards.d.ts +4 -0
  508. package/dist/ai/providers/openai/openai-family-guards.d.ts.map +1 -0
  509. package/dist/ai/providers/openai/openai-family-guards.js +19 -0
  510. package/dist/ai/providers/openai/openai-family-guards.js.map +1 -0
  511. package/dist/ai/providers/openai/openai-images.mapper.d.ts +23 -0
  512. package/dist/ai/providers/openai/openai-images.mapper.d.ts.map +1 -0
  513. package/dist/ai/providers/openai/openai-images.mapper.js +164 -0
  514. package/dist/ai/providers/openai/openai-images.mapper.js.map +1 -0
  515. package/dist/ai/providers/openai/openai-model-catalog.d.ts +36 -0
  516. package/dist/ai/providers/openai/openai-model-catalog.d.ts.map +1 -0
  517. package/dist/ai/providers/openai/openai-model-catalog.js +209 -0
  518. package/dist/ai/providers/openai/openai-model-catalog.js.map +1 -0
  519. package/dist/ai/providers/openai/openai-realtime.mapper.d.ts +18 -0
  520. package/dist/ai/providers/openai/openai-realtime.mapper.d.ts.map +1 -0
  521. package/dist/ai/providers/openai/openai-realtime.mapper.js +159 -0
  522. package/dist/ai/providers/openai/openai-realtime.mapper.js.map +1 -0
  523. package/dist/ai/providers/openai/openai-redirect-guard.d.ts +9 -0
  524. package/dist/ai/providers/openai/openai-redirect-guard.d.ts.map +1 -0
  525. package/dist/ai/providers/openai/openai-redirect-guard.js +61 -0
  526. package/dist/ai/providers/openai/openai-redirect-guard.js.map +1 -0
  527. package/dist/ai/providers/openai/openai-responses.engine.d.ts +50 -0
  528. package/dist/ai/providers/openai/openai-responses.engine.d.ts.map +1 -0
  529. package/dist/ai/providers/openai/openai-responses.engine.js +206 -0
  530. package/dist/ai/providers/openai/openai-responses.engine.js.map +1 -0
  531. package/dist/ai/providers/openai/openai-responses.mapper.d.ts +64 -0
  532. package/dist/ai/providers/openai/openai-responses.mapper.d.ts.map +1 -0
  533. package/dist/ai/providers/openai/openai-responses.mapper.js +580 -0
  534. package/dist/ai/providers/openai/openai-responses.mapper.js.map +1 -0
  535. package/dist/ai/providers/openai/openai-stream.mapper.d.ts +28 -0
  536. package/dist/ai/providers/openai/openai-stream.mapper.d.ts.map +1 -0
  537. package/dist/ai/providers/openai/openai-stream.mapper.js +139 -0
  538. package/dist/ai/providers/openai/openai-stream.mapper.js.map +1 -0
  539. package/dist/ai/providers/openai/openai.adapter.d.ts +56 -0
  540. package/dist/ai/providers/openai/openai.adapter.d.ts.map +1 -0
  541. package/dist/ai/providers/openai/openai.adapter.js +241 -0
  542. package/dist/ai/providers/openai/openai.adapter.js.map +1 -0
  543. package/dist/ai/providers/openai/openai.module.d.ts +11 -0
  544. package/dist/ai/providers/openai/openai.module.d.ts.map +1 -0
  545. package/dist/ai/providers/openai/openai.module.js +32 -0
  546. package/dist/ai/providers/openai/openai.module.js.map +1 -0
  547. package/dist/ai/providers/openai/openai.provider-definition.d.ts +12 -0
  548. package/dist/ai/providers/openai/openai.provider-definition.d.ts.map +1 -0
  549. package/dist/ai/providers/openai/openai.provider-definition.js +24 -0
  550. package/dist/ai/providers/openai/openai.provider-definition.js.map +1 -0
  551. package/dist/ai/providers/openai/testing/chat-completions-fixtures.d.ts +24 -0
  552. package/dist/ai/providers/openai/testing/chat-completions-fixtures.d.ts.map +1 -0
  553. package/dist/ai/providers/openai/testing/chat-completions-fixtures.js +72 -0
  554. package/dist/ai/providers/openai/testing/chat-completions-fixtures.js.map +1 -0
  555. package/dist/ai/providers/openai/testing/conformance-responders.d.ts +7 -0
  556. package/dist/ai/providers/openai/testing/conformance-responders.d.ts.map +1 -0
  557. package/dist/ai/providers/openai/testing/conformance-responders.js +64 -0
  558. package/dist/ai/providers/openai/testing/conformance-responders.js.map +1 -0
  559. package/dist/ai/providers/openai/testing/openai-fixtures.d.ts +52 -0
  560. package/dist/ai/providers/openai/testing/openai-fixtures.d.ts.map +1 -0
  561. package/dist/ai/providers/openai/testing/openai-fixtures.js +208 -0
  562. package/dist/ai/providers/openai/testing/openai-fixtures.js.map +1 -0
  563. package/dist/ai/providers/openai/testing/openai-mock-transport.d.ts +242 -0
  564. package/dist/ai/providers/openai/testing/openai-mock-transport.d.ts.map +1 -0
  565. package/dist/ai/providers/openai/testing/openai-mock-transport.js +523 -0
  566. package/dist/ai/providers/openai/testing/openai-mock-transport.js.map +1 -0
  567. package/dist/ai/providers/openai-compatible/openai-compatible-client.factory.d.ts +16 -0
  568. package/dist/ai/providers/openai-compatible/openai-compatible-client.factory.d.ts.map +1 -0
  569. package/dist/ai/providers/openai-compatible/openai-compatible-client.factory.js +74 -0
  570. package/dist/ai/providers/openai-compatible/openai-compatible-client.factory.js.map +1 -0
  571. package/dist/ai/providers/openai-compatible/openai-compatible-settings.d.ts +13 -0
  572. package/dist/ai/providers/openai-compatible/openai-compatible-settings.d.ts.map +1 -0
  573. package/dist/ai/providers/openai-compatible/openai-compatible-settings.js +29 -0
  574. package/dist/ai/providers/openai-compatible/openai-compatible-settings.js.map +1 -0
  575. package/dist/ai/providers/openai-compatible/openai-compatible.adapter.d.ts +40 -0
  576. package/dist/ai/providers/openai-compatible/openai-compatible.adapter.d.ts.map +1 -0
  577. package/dist/ai/providers/openai-compatible/openai-compatible.adapter.js +184 -0
  578. package/dist/ai/providers/openai-compatible/openai-compatible.adapter.js.map +1 -0
  579. package/dist/ai/providers/openai-compatible/openai-compatible.module.d.ts +13 -0
  580. package/dist/ai/providers/openai-compatible/openai-compatible.module.d.ts.map +1 -0
  581. package/dist/ai/providers/openai-compatible/openai-compatible.module.js +34 -0
  582. package/dist/ai/providers/openai-compatible/openai-compatible.module.js.map +1 -0
  583. package/dist/ai/providers/openai-compatible/openai-compatible.provider-definition.d.ts +12 -0
  584. package/dist/ai/providers/openai-compatible/openai-compatible.provider-definition.d.ts.map +1 -0
  585. package/dist/ai/providers/openai-compatible/openai-compatible.provider-definition.js +28 -0
  586. package/dist/ai/providers/openai-compatible/openai-compatible.provider-definition.js.map +1 -0
  587. package/dist/ai/runtime/ai-audio-run-request.d.ts +45 -0
  588. package/dist/ai/runtime/ai-audio-run-request.d.ts.map +1 -0
  589. package/dist/ai/runtime/ai-audio-run-request.js +76 -0
  590. package/dist/ai/runtime/ai-audio-run-request.js.map +1 -0
  591. package/dist/ai/runtime/ai-audio-speech.handler.d.ts +22 -0
  592. package/dist/ai/runtime/ai-audio-speech.handler.d.ts.map +1 -0
  593. package/dist/ai/runtime/ai-audio-speech.handler.js +142 -0
  594. package/dist/ai/runtime/ai-audio-speech.handler.js.map +1 -0
  595. package/dist/ai/runtime/ai-audio-transcribe.handler.d.ts +18 -0
  596. package/dist/ai/runtime/ai-audio-transcribe.handler.d.ts.map +1 -0
  597. package/dist/ai/runtime/ai-audio-transcribe.handler.js +102 -0
  598. package/dist/ai/runtime/ai-audio-transcribe.handler.js.map +1 -0
  599. package/dist/ai/runtime/ai-hosted-outputs.d.ts +36 -0
  600. package/dist/ai/runtime/ai-hosted-outputs.d.ts.map +1 -0
  601. package/dist/ai/runtime/ai-hosted-outputs.js +94 -0
  602. package/dist/ai/runtime/ai-hosted-outputs.js.map +1 -0
  603. package/dist/ai/runtime/ai-image-generate.handler.d.ts +22 -0
  604. package/dist/ai/runtime/ai-image-generate.handler.d.ts.map +1 -0
  605. package/dist/ai/runtime/ai-image-generate.handler.js +133 -0
  606. package/dist/ai/runtime/ai-image-generate.handler.js.map +1 -0
  607. package/dist/ai/runtime/ai-image-run-request.d.ts +41 -0
  608. package/dist/ai/runtime/ai-image-run-request.d.ts.map +1 -0
  609. package/dist/ai/runtime/ai-image-run-request.js +78 -0
  610. package/dist/ai/runtime/ai-image-run-request.js.map +1 -0
  611. package/dist/ai/runtime/ai-limits.service.d.ts +83 -0
  612. package/dist/ai/runtime/ai-limits.service.d.ts.map +1 -0
  613. package/dist/ai/runtime/ai-limits.service.js +366 -0
  614. package/dist/ai/runtime/ai-limits.service.js.map +1 -0
  615. package/dist/ai/runtime/ai-media-run.handler.d.ts +67 -0
  616. package/dist/ai/runtime/ai-media-run.handler.d.ts.map +1 -0
  617. package/dist/ai/runtime/ai-media-run.handler.js +219 -0
  618. package/dist/ai/runtime/ai-media-run.handler.js.map +1 -0
  619. package/dist/ai/runtime/ai-provider-filename.d.ts +3 -0
  620. package/dist/ai/runtime/ai-provider-filename.d.ts.map +1 -0
  621. package/dist/ai/runtime/ai-provider-filename.js +66 -0
  622. package/dist/ai/runtime/ai-provider-filename.js.map +1 -0
  623. package/dist/ai/runtime/ai-response-run.handler.d.ts +47 -0
  624. package/dist/ai/runtime/ai-response-run.handler.d.ts.map +1 -0
  625. package/dist/ai/runtime/ai-response-run.handler.js +255 -0
  626. package/dist/ai/runtime/ai-response-run.handler.js.map +1 -0
  627. package/dist/ai/runtime/ai-run-operation.d.ts +7 -0
  628. package/dist/ai/runtime/ai-run-operation.d.ts.map +1 -0
  629. package/dist/ai/runtime/ai-run-operation.js +32 -0
  630. package/dist/ai/runtime/ai-run-operation.js.map +1 -0
  631. package/dist/ai/runtime/ai-run-request.d.ts +124 -0
  632. package/dist/ai/runtime/ai-run-request.d.ts.map +1 -0
  633. package/dist/ai/runtime/ai-run-request.js +182 -0
  634. package/dist/ai/runtime/ai-run-request.js.map +1 -0
  635. package/dist/ai/runtime/ai-runs-purge.handler.d.ts +39 -0
  636. package/dist/ai/runtime/ai-runs-purge.handler.d.ts.map +1 -0
  637. package/dist/ai/runtime/ai-runs-purge.handler.js +117 -0
  638. package/dist/ai/runtime/ai-runs-purge.handler.js.map +1 -0
  639. package/dist/ai/runtime/ai-runs.service.d.ts +137 -0
  640. package/dist/ai/runtime/ai-runs.service.d.ts.map +1 -0
  641. package/dist/ai/runtime/ai-runs.service.js +306 -0
  642. package/dist/ai/runtime/ai-runs.service.js.map +1 -0
  643. package/dist/ai/runtime/ai-runtime.module.d.ts +10 -0
  644. package/dist/ai/runtime/ai-runtime.module.d.ts.map +1 -0
  645. package/dist/ai/runtime/ai-runtime.module.js +76 -0
  646. package/dist/ai/runtime/ai-runtime.module.js.map +1 -0
  647. package/dist/ai/runtime/ai-runtime.types.d.ts +460 -0
  648. package/dist/ai/runtime/ai-runtime.types.d.ts.map +1 -0
  649. package/dist/ai/runtime/ai-runtime.types.js +37 -0
  650. package/dist/ai/runtime/ai-runtime.types.js.map +1 -0
  651. package/dist/ai/runtime/ai-tool-loop.d.ts +18 -0
  652. package/dist/ai/runtime/ai-tool-loop.d.ts.map +1 -0
  653. package/dist/ai/runtime/ai-tool-loop.js +207 -0
  654. package/dist/ai/runtime/ai-tool-loop.js.map +1 -0
  655. package/dist/ai/runtime/ai-transcription-extras.d.ts +25 -0
  656. package/dist/ai/runtime/ai-transcription-extras.d.ts.map +1 -0
  657. package/dist/ai/runtime/ai-transcription-extras.js +66 -0
  658. package/dist/ai/runtime/ai-transcription-extras.js.map +1 -0
  659. package/dist/ai/runtime/ai-usage.recorder.d.ts +69 -0
  660. package/dist/ai/runtime/ai-usage.recorder.d.ts.map +1 -0
  661. package/dist/ai/runtime/ai-usage.recorder.js +143 -0
  662. package/dist/ai/runtime/ai-usage.recorder.js.map +1 -0
  663. package/dist/ai/runtime/ai.service.d.ts +624 -0
  664. package/dist/ai/runtime/ai.service.d.ts.map +1 -0
  665. package/dist/ai/runtime/ai.service.js +1848 -0
  666. package/dist/ai/runtime/ai.service.js.map +1 -0
  667. package/dist/ai/runtime/index.d.ts +6 -0
  668. package/dist/ai/runtime/index.d.ts.map +1 -0
  669. package/dist/ai/runtime/index.js +32 -0
  670. package/dist/ai/runtime/index.js.map +1 -0
  671. package/dist/ai/runtime/target-resolver.d.ts +91 -0
  672. package/dist/ai/runtime/target-resolver.d.ts.map +1 -0
  673. package/dist/ai/runtime/target-resolver.js +121 -0
  674. package/dist/ai/runtime/target-resolver.js.map +1 -0
  675. package/dist/ai/storage/ai-output-writer.d.ts +76 -0
  676. package/dist/ai/storage/ai-output-writer.d.ts.map +1 -0
  677. package/dist/ai/storage/ai-output-writer.js +208 -0
  678. package/dist/ai/storage/ai-output-writer.js.map +1 -0
  679. package/dist/ai/storage/ai-storage-errors.d.ts +13 -0
  680. package/dist/ai/storage/ai-storage-errors.d.ts.map +1 -0
  681. package/dist/ai/storage/ai-storage-errors.js +67 -0
  682. package/dist/ai/storage/ai-storage-errors.js.map +1 -0
  683. package/dist/ai/storage/ai-storage-input.resolver.d.ts +101 -0
  684. package/dist/ai/storage/ai-storage-input.resolver.d.ts.map +1 -0
  685. package/dist/ai/storage/ai-storage-input.resolver.js +215 -0
  686. package/dist/ai/storage/ai-storage-input.resolver.js.map +1 -0
  687. package/dist/ai/storage/ai-storage-key-prefixes.d.ts +16 -0
  688. package/dist/ai/storage/ai-storage-key-prefixes.d.ts.map +1 -0
  689. package/dist/ai/storage/ai-storage-key-prefixes.js +46 -0
  690. package/dist/ai/storage/ai-storage-key-prefixes.js.map +1 -0
  691. package/dist/ai/storage/ai-storage.module.d.ts +18 -0
  692. package/dist/ai/storage/ai-storage.module.d.ts.map +1 -0
  693. package/dist/ai/storage/ai-storage.module.js +67 -0
  694. package/dist/ai/storage/ai-storage.module.js.map +1 -0
  695. package/dist/ai/storage/index.d.ts +5 -0
  696. package/dist/ai/storage/index.d.ts.map +1 -0
  697. package/dist/ai/storage/index.js +16 -0
  698. package/dist/ai/storage/index.js.map +1 -0
  699. package/dist/ai/storage/mime-type-match.d.ts +20 -0
  700. package/dist/ai/storage/mime-type-match.d.ts.map +1 -0
  701. package/dist/ai/storage/mime-type-match.js +30 -0
  702. package/dist/ai/storage/mime-type-match.js.map +1 -0
  703. package/dist/ai/testing/ai-runtime-harness.d.ts +387 -0
  704. package/dist/ai/testing/ai-runtime-harness.d.ts.map +1 -0
  705. package/dist/ai/testing/ai-runtime-harness.js +511 -0
  706. package/dist/ai/testing/ai-runtime-harness.js.map +1 -0
  707. package/dist/ai/testing/conformance/ai-conformance-fixture.d.ts +187 -0
  708. package/dist/ai/testing/conformance/ai-conformance-fixture.d.ts.map +1 -0
  709. package/dist/ai/testing/conformance/ai-conformance-fixture.js +117 -0
  710. package/dist/ai/testing/conformance/ai-conformance-fixture.js.map +1 -0
  711. package/dist/ai/testing/conformance/ai-egress-checks.d.ts +50 -0
  712. package/dist/ai/testing/conformance/ai-egress-checks.d.ts.map +1 -0
  713. package/dist/ai/testing/conformance/ai-egress-checks.js +122 -0
  714. package/dist/ai/testing/conformance/ai-egress-checks.js.map +1 -0
  715. package/dist/ai/testing/conformance/ai-http-client.d.ts +14 -0
  716. package/dist/ai/testing/conformance/ai-http-client.d.ts.map +1 -0
  717. package/dist/ai/testing/conformance/ai-http-client.js +30 -0
  718. package/dist/ai/testing/conformance/ai-http-client.js.map +1 -0
  719. package/dist/ai/testing/conformance/ai-jobs-server-only.suite.d.ts +74 -0
  720. package/dist/ai/testing/conformance/ai-jobs-server-only.suite.d.ts.map +1 -0
  721. package/dist/ai/testing/conformance/ai-jobs-server-only.suite.js +129 -0
  722. package/dist/ai/testing/conformance/ai-jobs-server-only.suite.js.map +1 -0
  723. package/dist/ai/testing/conformance/ai-key-policy.suite.d.ts +39 -0
  724. package/dist/ai/testing/conformance/ai-key-policy.suite.d.ts.map +1 -0
  725. package/dist/ai/testing/conformance/ai-key-policy.suite.js +642 -0
  726. package/dist/ai/testing/conformance/ai-key-policy.suite.js.map +1 -0
  727. package/dist/ai/testing/conformance/ai-kill-switch.suite.d.ts +31 -0
  728. package/dist/ai/testing/conformance/ai-kill-switch.suite.d.ts.map +1 -0
  729. package/dist/ai/testing/conformance/ai-kill-switch.suite.js +389 -0
  730. package/dist/ai/testing/conformance/ai-kill-switch.suite.js.map +1 -0
  731. package/dist/ai/testing/conformance/ai-no-sdk-leak.suite.d.ts +150 -0
  732. package/dist/ai/testing/conformance/ai-no-sdk-leak.suite.d.ts.map +1 -0
  733. package/dist/ai/testing/conformance/ai-no-sdk-leak.suite.js +359 -0
  734. package/dist/ai/testing/conformance/ai-no-sdk-leak.suite.js.map +1 -0
  735. package/dist/ai/testing/conformance/ai-orchestration-boundary.registered.d.ts +11 -0
  736. package/dist/ai/testing/conformance/ai-orchestration-boundary.registered.d.ts.map +1 -0
  737. package/dist/ai/testing/conformance/ai-orchestration-boundary.registered.js +24 -0
  738. package/dist/ai/testing/conformance/ai-orchestration-boundary.registered.js.map +1 -0
  739. package/dist/ai/testing/conformance/ai-rbac-matrix.suite.d.ts +29 -0
  740. package/dist/ai/testing/conformance/ai-rbac-matrix.suite.d.ts.map +1 -0
  741. package/dist/ai/testing/conformance/ai-rbac-matrix.suite.js +173 -0
  742. package/dist/ai/testing/conformance/ai-rbac-matrix.suite.js.map +1 -0
  743. package/dist/ai/testing/conformance/ai-route-checks.d.ts +134 -0
  744. package/dist/ai/testing/conformance/ai-route-checks.d.ts.map +1 -0
  745. package/dist/ai/testing/conformance/ai-route-checks.js +228 -0
  746. package/dist/ai/testing/conformance/ai-route-checks.js.map +1 -0
  747. package/dist/ai/testing/conformance/ai-secret-egress.suite.d.ts +25 -0
  748. package/dist/ai/testing/conformance/ai-secret-egress.suite.d.ts.map +1 -0
  749. package/dist/ai/testing/conformance/ai-secret-egress.suite.js +1043 -0
  750. package/dist/ai/testing/conformance/ai-secret-egress.suite.js.map +1 -0
  751. package/dist/ai/testing/conformance/orchestration-boundary.suite.d.ts +108 -0
  752. package/dist/ai/testing/conformance/orchestration-boundary.suite.d.ts.map +1 -0
  753. package/dist/ai/testing/conformance/orchestration-boundary.suite.js +196 -0
  754. package/dist/ai/testing/conformance/orchestration-boundary.suite.js.map +1 -0
  755. package/dist/ai/testing/conformance/register.d.ts +26 -0
  756. package/dist/ai/testing/conformance/register.d.ts.map +1 -0
  757. package/dist/ai/testing/conformance/register.js +27 -0
  758. package/dist/ai/testing/conformance/register.js.map +1 -0
  759. package/dist/ai/testing/conformance.d.ts +229 -0
  760. package/dist/ai/testing/conformance.d.ts.map +1 -0
  761. package/dist/ai/testing/conformance.js +666 -0
  762. package/dist/ai/testing/conformance.js.map +1 -0
  763. package/dist/ai/testing/fake-ai-provider.d.ts +379 -0
  764. package/dist/ai/testing/fake-ai-provider.d.ts.map +1 -0
  765. package/dist/ai/testing/fake-ai-provider.js +833 -0
  766. package/dist/ai/testing/fake-ai-provider.js.map +1 -0
  767. package/dist/ai/testing/in-memory-ai-keys-prisma.d.ts +137 -0
  768. package/dist/ai/testing/in-memory-ai-keys-prisma.d.ts.map +1 -0
  769. package/dist/ai/testing/in-memory-ai-keys-prisma.js +192 -0
  770. package/dist/ai/testing/in-memory-ai-keys-prisma.js.map +1 -0
  771. package/dist/ai/testing/in-memory-ai-storage.d.ts +132 -0
  772. package/dist/ai/testing/in-memory-ai-storage.d.ts.map +1 -0
  773. package/dist/ai/testing/in-memory-ai-storage.js +196 -0
  774. package/dist/ai/testing/in-memory-ai-storage.js.map +1 -0
  775. package/dist/ai/testing/index.d.ts +32 -0
  776. package/dist/ai/testing/index.d.ts.map +1 -0
  777. package/dist/ai/testing/index.js +116 -0
  778. package/dist/ai/testing/index.js.map +1 -0
  779. package/dist/ai/usage/ai-usage-admin.controller.d.ts +15 -0
  780. package/dist/ai/usage/ai-usage-admin.controller.d.ts.map +1 -0
  781. package/dist/ai/usage/ai-usage-admin.controller.js +122 -0
  782. package/dist/ai/usage/ai-usage-admin.controller.js.map +1 -0
  783. package/dist/ai/usage/ai-usage-purge.handler.d.ts +42 -0
  784. package/dist/ai/usage/ai-usage-purge.handler.d.ts.map +1 -0
  785. package/dist/ai/usage/ai-usage-purge.handler.js +119 -0
  786. package/dist/ai/usage/ai-usage-purge.handler.js.map +1 -0
  787. package/dist/ai/usage/ai-usage-purge.task.d.ts +10 -0
  788. package/dist/ai/usage/ai-usage-purge.task.d.ts.map +1 -0
  789. package/dist/ai/usage/ai-usage-purge.task.js +65 -0
  790. package/dist/ai/usage/ai-usage-purge.task.js.map +1 -0
  791. package/dist/ai/usage/ai-usage.controller.d.ts +14 -0
  792. package/dist/ai/usage/ai-usage.controller.d.ts.map +1 -0
  793. package/dist/ai/usage/ai-usage.controller.js +86 -0
  794. package/dist/ai/usage/ai-usage.controller.js.map +1 -0
  795. package/dist/ai/usage/ai-usage.module.d.ts +3 -0
  796. package/dist/ai/usage/ai-usage.module.d.ts.map +1 -0
  797. package/dist/ai/usage/ai-usage.module.js +40 -0
  798. package/dist/ai/usage/ai-usage.module.js.map +1 -0
  799. package/dist/ai/usage/ai-usage.service.d.ts +91 -0
  800. package/dist/ai/usage/ai-usage.service.d.ts.map +1 -0
  801. package/dist/ai/usage/ai-usage.service.js +461 -0
  802. package/dist/ai/usage/ai-usage.service.js.map +1 -0
  803. package/dist/ai/usage/dto/ai-usage.dto.d.ts +266 -0
  804. package/dist/ai/usage/dto/ai-usage.dto.d.ts.map +1 -0
  805. package/dist/ai/usage/dto/ai-usage.dto.js +160 -0
  806. package/dist/ai/usage/dto/ai-usage.dto.js.map +1 -0
  807. package/dist/android-app/android-app-push.service.d.ts +53 -0
  808. package/dist/android-app/android-app-push.service.d.ts.map +1 -0
  809. package/dist/android-app/android-app-push.service.js +162 -0
  810. package/dist/android-app/android-app-push.service.js.map +1 -0
  811. package/dist/android-app/android-app.controller.d.ts +37 -0
  812. package/dist/android-app/android-app.controller.d.ts.map +1 -0
  813. package/dist/android-app/android-app.controller.js +143 -0
  814. package/dist/android-app/android-app.controller.js.map +1 -0
  815. package/dist/android-app/android-app.key-prefixes.d.ts +27 -0
  816. package/dist/android-app/android-app.key-prefixes.d.ts.map +1 -0
  817. package/dist/android-app/android-app.key-prefixes.js +47 -0
  818. package/dist/android-app/android-app.key-prefixes.js.map +1 -0
  819. package/dist/android-app/android-app.module.d.ts +33 -0
  820. package/dist/android-app/android-app.module.d.ts.map +1 -0
  821. package/dist/android-app/android-app.module.js +75 -0
  822. package/dist/android-app/android-app.module.js.map +1 -0
  823. package/dist/android-app/android-app.options.d.ts +58 -0
  824. package/dist/android-app/android-app.options.d.ts.map +1 -0
  825. package/dist/android-app/android-app.options.js +39 -0
  826. package/dist/android-app/android-app.options.js.map +1 -0
  827. package/dist/android-app/android-app.service.d.ts +100 -0
  828. package/dist/android-app/android-app.service.d.ts.map +1 -0
  829. package/dist/android-app/android-app.service.js +227 -0
  830. package/dist/android-app/android-app.service.js.map +1 -0
  831. package/dist/android-app/asset-links.controller.d.ts +19 -0
  832. package/dist/android-app/asset-links.controller.d.ts.map +1 -0
  833. package/dist/android-app/asset-links.controller.js +87 -0
  834. package/dist/android-app/asset-links.controller.js.map +1 -0
  835. package/dist/android-app/data/android-app-db.d.ts +117 -0
  836. package/dist/android-app/data/android-app-db.d.ts.map +1 -0
  837. package/dist/android-app/data/android-app-db.js +48 -0
  838. package/dist/android-app/data/android-app-db.js.map +1 -0
  839. package/dist/android-app/device-sources.d.ts +72 -0
  840. package/dist/android-app/device-sources.d.ts.map +1 -0
  841. package/dist/android-app/device-sources.js +96 -0
  842. package/dist/android-app/device-sources.js.map +1 -0
  843. package/dist/android-app/doctor/android-assetlinks.doctor-check.d.ts +44 -0
  844. package/dist/android-app/doctor/android-assetlinks.doctor-check.d.ts.map +1 -0
  845. package/dist/android-app/doctor/android-assetlinks.doctor-check.js +101 -0
  846. package/dist/android-app/doctor/android-assetlinks.doctor-check.js.map +1 -0
  847. package/dist/android-app/doctor/android-releases.doctor-check.d.ts +64 -0
  848. package/dist/android-app/doctor/android-releases.doctor-check.d.ts.map +1 -0
  849. package/dist/android-app/doctor/android-releases.doctor-check.js +120 -0
  850. package/dist/android-app/doctor/android-releases.doctor-check.js.map +1 -0
  851. package/dist/android-app/dto/android-app.dto.d.ts +135 -0
  852. package/dist/android-app/dto/android-app.dto.d.ts.map +1 -0
  853. package/dist/android-app/dto/android-app.dto.js +62 -0
  854. package/dist/android-app/dto/android-app.dto.js.map +1 -0
  855. package/dist/android-app/index.d.ts +26 -0
  856. package/dist/android-app/index.d.ts.map +1 -0
  857. package/dist/android-app/index.js +80 -0
  858. package/dist/android-app/index.js.map +1 -0
  859. package/dist/android-app/releases/android-release-admin.controller.d.ts +41 -0
  860. package/dist/android-app/releases/android-release-admin.controller.d.ts.map +1 -0
  861. package/dist/android-app/releases/android-release-admin.controller.js +208 -0
  862. package/dist/android-app/releases/android-release-admin.controller.js.map +1 -0
  863. package/dist/android-app/releases/android-release.controller.d.ts +35 -0
  864. package/dist/android-app/releases/android-release.controller.d.ts.map +1 -0
  865. package/dist/android-app/releases/android-release.controller.js +142 -0
  866. package/dist/android-app/releases/android-release.controller.js.map +1 -0
  867. package/dist/android-app/releases/android-release.service.d.ts +245 -0
  868. package/dist/android-app/releases/android-release.service.d.ts.map +1 -0
  869. package/dist/android-app/releases/android-release.service.js +575 -0
  870. package/dist/android-app/releases/android-release.service.js.map +1 -0
  871. package/dist/android-app/releases/apk-inspector.d.ts +52 -0
  872. package/dist/android-app/releases/apk-inspector.d.ts.map +1 -0
  873. package/dist/android-app/releases/apk-inspector.js +119 -0
  874. package/dist/android-app/releases/apk-inspector.js.map +1 -0
  875. package/dist/android-app/releases/download-token.d.ts +67 -0
  876. package/dist/android-app/releases/download-token.d.ts.map +1 -0
  877. package/dist/android-app/releases/download-token.js +108 -0
  878. package/dist/android-app/releases/download-token.js.map +1 -0
  879. package/dist/android-app/testing/conformance.d.ts +63 -0
  880. package/dist/android-app/testing/conformance.d.ts.map +1 -0
  881. package/dist/android-app/testing/conformance.js +151 -0
  882. package/dist/android-app/testing/conformance.js.map +1 -0
  883. package/dist/android-app/testing/index.d.ts +3 -0
  884. package/dist/android-app/testing/index.d.ts.map +1 -0
  885. package/dist/android-app/testing/index.js +13 -0
  886. package/dist/android-app/testing/index.js.map +1 -0
  887. package/dist/android-app/trusted-apps-validation.pipe.d.ts +29 -0
  888. package/dist/android-app/trusted-apps-validation.pipe.d.ts.map +1 -0
  889. package/dist/android-app/trusted-apps-validation.pipe.js +80 -0
  890. package/dist/android-app/trusted-apps-validation.pipe.js.map +1 -0
  891. package/dist/android-app/user-data.d.ts +18 -0
  892. package/dist/android-app/user-data.d.ts.map +1 -0
  893. package/dist/android-app/user-data.js +35 -0
  894. package/dist/android-app/user-data.js.map +1 -0
  895. package/dist/core/crypto/secret-cipher.d.ts +38 -0
  896. package/dist/core/crypto/secret-cipher.d.ts.map +1 -1
  897. package/dist/core/crypto/secret-cipher.js +63 -4
  898. package/dist/core/crypto/secret-cipher.js.map +1 -1
  899. package/dist/core/data-access/access-reason.registry.d.ts +95 -0
  900. package/dist/core/data-access/access-reason.registry.d.ts.map +1 -0
  901. package/dist/core/data-access/access-reason.registry.js +136 -0
  902. package/dist/core/data-access/access-reason.registry.js.map +1 -0
  903. package/dist/core/data-access/index.d.ts +6 -0
  904. package/dist/core/data-access/index.d.ts.map +1 -1
  905. package/dist/core/data-access/index.js +24 -1
  906. package/dist/core/data-access/index.js.map +1 -1
  907. package/dist/core/data-access/model-ownership.d.ts +112 -0
  908. package/dist/core/data-access/model-ownership.d.ts.map +1 -0
  909. package/dist/core/data-access/model-ownership.js +142 -0
  910. package/dist/core/data-access/model-ownership.js.map +1 -0
  911. package/dist/core/data-access/rls.d.ts +243 -0
  912. package/dist/core/data-access/rls.d.ts.map +1 -0
  913. package/dist/core/data-access/rls.js +357 -0
  914. package/dist/core/data-access/rls.js.map +1 -0
  915. package/dist/core/database-url.d.ts +38 -0
  916. package/dist/core/database-url.d.ts.map +1 -0
  917. package/dist/core/database-url.js +52 -0
  918. package/dist/core/database-url.js.map +1 -0
  919. package/dist/core/errors/error-codes.d.ts +114 -0
  920. package/dist/core/errors/error-codes.d.ts.map +1 -0
  921. package/dist/core/errors/error-codes.js +140 -0
  922. package/dist/core/errors/error-codes.js.map +1 -0
  923. package/dist/core/errors/error.dto.d.ts +1 -1
  924. package/dist/core/errors/error.dto.d.ts.map +1 -1
  925. package/dist/core/errors/error.dto.js +12 -18
  926. package/dist/core/errors/error.dto.js.map +1 -1
  927. package/dist/core/errors/http-exception.filter.d.ts +47 -10
  928. package/dist/core/errors/http-exception.filter.d.ts.map +1 -1
  929. package/dist/core/errors/http-exception.filter.js +82 -53
  930. package/dist/core/errors/http-exception.filter.js.map +1 -1
  931. package/dist/core/host/platform-host.d.ts +11 -2
  932. package/dist/core/host/platform-host.d.ts.map +1 -1
  933. package/dist/core/host/platform-host.js +16 -2
  934. package/dist/core/host/platform-host.js.map +1 -1
  935. package/dist/core/host/ports.js +2 -2
  936. package/dist/core/host/ports.js.map +1 -1
  937. package/dist/core/index.d.ts +81 -3
  938. package/dist/core/index.d.ts.map +1 -1
  939. package/dist/core/index.js +90 -10
  940. package/dist/core/index.js.map +1 -1
  941. package/dist/core/maintenance/allow-during-maintenance.decorator.d.ts +33 -0
  942. package/dist/core/maintenance/allow-during-maintenance.decorator.d.ts.map +1 -0
  943. package/dist/core/maintenance/allow-during-maintenance.decorator.js +48 -0
  944. package/dist/core/maintenance/allow-during-maintenance.decorator.js.map +1 -0
  945. package/dist/core/openapi/api-data-response.decorator.d.ts +72 -0
  946. package/dist/core/openapi/api-data-response.decorator.d.ts.map +1 -0
  947. package/dist/core/openapi/api-data-response.decorator.js +133 -0
  948. package/dist/core/openapi/api-data-response.decorator.js.map +1 -0
  949. package/dist/core/permissions/index.d.ts +8 -0
  950. package/dist/core/permissions/index.d.ts.map +1 -0
  951. package/dist/core/permissions/index.js +23 -0
  952. package/dist/core/permissions/index.js.map +1 -0
  953. package/dist/core/permissions/permission-catalog.d.ts +135 -0
  954. package/dist/core/permissions/permission-catalog.d.ts.map +1 -0
  955. package/dist/core/permissions/permission-catalog.js +114 -0
  956. package/dist/core/permissions/permission-catalog.js.map +1 -0
  957. package/dist/core/permissions/permission-ids.d.ts +42 -0
  958. package/dist/core/permissions/permission-ids.d.ts.map +1 -0
  959. package/dist/core/permissions/permission-ids.js +48 -0
  960. package/dist/core/permissions/permission-ids.js.map +1 -0
  961. package/dist/core/permissions/permission.registry.d.ts +181 -0
  962. package/dist/core/permissions/permission.registry.d.ts.map +1 -0
  963. package/dist/core/permissions/permission.registry.js +285 -0
  964. package/dist/core/permissions/permission.registry.js.map +1 -0
  965. package/dist/core/permissions/permission.types.d.ts +104 -0
  966. package/dist/core/permissions/permission.types.d.ts.map +1 -0
  967. package/dist/core/permissions/permission.types.js +12 -0
  968. package/dist/core/permissions/permission.types.js.map +1 -0
  969. package/dist/core/pluggable/describe-config-fields.d.ts +35 -0
  970. package/dist/core/pluggable/describe-config-fields.d.ts.map +1 -0
  971. package/dist/core/pluggable/describe-config-fields.js +133 -0
  972. package/dist/core/pluggable/describe-config-fields.js.map +1 -0
  973. package/dist/core/pluggable/index.d.ts +5 -0
  974. package/dist/core/pluggable/index.d.ts.map +1 -0
  975. package/dist/core/pluggable/index.js +14 -0
  976. package/dist/core/pluggable/index.js.map +1 -0
  977. package/dist/core/pluggable/pluggable-errors.d.ts +46 -0
  978. package/dist/core/pluggable/pluggable-errors.d.ts.map +1 -0
  979. package/dist/core/pluggable/pluggable-errors.js +73 -0
  980. package/dist/core/pluggable/pluggable-errors.js.map +1 -0
  981. package/dist/core/pluggable/pluggable-kind.d.ts +194 -0
  982. package/dist/core/pluggable/pluggable-kind.d.ts.map +1 -0
  983. package/dist/core/pluggable/pluggable-kind.js +200 -0
  984. package/dist/core/pluggable/pluggable-kind.js.map +1 -0
  985. package/dist/core/principal/credential-kinds.d.ts +132 -0
  986. package/dist/core/principal/credential-kinds.d.ts.map +1 -0
  987. package/dist/core/principal/credential-kinds.js +185 -0
  988. package/dist/core/principal/credential-kinds.js.map +1 -0
  989. package/dist/core/principal/index.d.ts +6 -3
  990. package/dist/core/principal/index.d.ts.map +1 -1
  991. package/dist/core/principal/index.js +15 -0
  992. package/dist/core/principal/index.js.map +1 -1
  993. package/dist/core/principal/principal.types.d.ts +19 -7
  994. package/dist/core/principal/principal.types.d.ts.map +1 -1
  995. package/dist/core/principal/principal.types.js +4 -4
  996. package/dist/core/principal/principal.types.js.map +1 -1
  997. package/dist/core/registry/registry.d.ts +1 -1
  998. package/dist/core/registry/registry.js +1 -1
  999. package/dist/core/testing/index.d.ts +5 -0
  1000. package/dist/core/testing/index.d.ts.map +1 -0
  1001. package/dist/core/testing/index.js +13 -0
  1002. package/dist/core/testing/index.js.map +1 -0
  1003. package/dist/core/testing/pluggable-conformance.d.ts +56 -0
  1004. package/dist/core/testing/pluggable-conformance.d.ts.map +1 -0
  1005. package/dist/core/testing/pluggable-conformance.js +110 -0
  1006. package/dist/core/testing/pluggable-conformance.js.map +1 -0
  1007. package/dist/core/testing/vocabulary-conformance.d.ts +34 -0
  1008. package/dist/core/testing/vocabulary-conformance.d.ts.map +1 -0
  1009. package/dist/core/testing/vocabulary-conformance.js +149 -0
  1010. package/dist/core/testing/vocabulary-conformance.js.map +1 -0
  1011. package/dist/credentials/credential-internals.d.ts +79 -0
  1012. package/dist/credentials/credential-internals.d.ts.map +1 -0
  1013. package/dist/credentials/credential-internals.js +154 -0
  1014. package/dist/credentials/credential-internals.js.map +1 -0
  1015. package/dist/credentials/credentials.module.d.ts +16 -0
  1016. package/dist/credentials/credentials.module.d.ts.map +1 -0
  1017. package/dist/credentials/credentials.module.js +55 -0
  1018. package/dist/credentials/credentials.module.js.map +1 -0
  1019. package/dist/credentials/credentials.service.d.ts +117 -0
  1020. package/dist/credentials/credentials.service.d.ts.map +1 -0
  1021. package/dist/credentials/credentials.service.js +392 -0
  1022. package/dist/credentials/credentials.service.js.map +1 -0
  1023. package/dist/credentials/data/credentials-db.d.ts +134 -0
  1024. package/dist/credentials/data/credentials-db.d.ts.map +1 -0
  1025. package/dist/credentials/data/credentials-db.js +18 -0
  1026. package/dist/credentials/data/credentials-db.js.map +1 -0
  1027. package/dist/credentials/index.d.ts +17 -0
  1028. package/dist/credentials/index.d.ts.map +1 -0
  1029. package/dist/credentials/index.js +43 -0
  1030. package/dist/credentials/index.js.map +1 -0
  1031. package/dist/credentials/interfaces/credential-info.interface.d.ts +59 -0
  1032. package/dist/credentials/interfaces/credential-info.interface.d.ts.map +1 -0
  1033. package/dist/credentials/interfaces/credential-info.interface.js +29 -0
  1034. package/dist/credentials/interfaces/credential-info.interface.js.map +1 -0
  1035. package/dist/credentials/interfaces/org-credential-info.interface.d.ts +36 -0
  1036. package/dist/credentials/interfaces/org-credential-info.interface.d.ts.map +1 -0
  1037. package/dist/credentials/interfaces/org-credential-info.interface.js +14 -0
  1038. package/dist/credentials/interfaces/org-credential-info.interface.js.map +1 -0
  1039. package/dist/credentials/interfaces/user-credential-info.interface.d.ts +50 -0
  1040. package/dist/credentials/interfaces/user-credential-info.interface.d.ts.map +1 -0
  1041. package/dist/credentials/interfaces/user-credential-info.interface.js +18 -0
  1042. package/dist/credentials/interfaces/user-credential-info.interface.js.map +1 -0
  1043. package/dist/credentials/org-credentials.module.d.ts +17 -0
  1044. package/dist/credentials/org-credentials.module.d.ts.map +1 -0
  1045. package/dist/credentials/org-credentials.module.js +45 -0
  1046. package/dist/credentials/org-credentials.module.js.map +1 -0
  1047. package/dist/credentials/org-credentials.service.d.ts +87 -0
  1048. package/dist/credentials/org-credentials.service.d.ts.map +1 -0
  1049. package/dist/credentials/org-credentials.service.js +270 -0
  1050. package/dist/credentials/org-credentials.service.js.map +1 -0
  1051. package/dist/credentials/ownership.d.ts +30 -0
  1052. package/dist/credentials/ownership.d.ts.map +1 -0
  1053. package/dist/credentials/ownership.js +74 -0
  1054. package/dist/credentials/ownership.js.map +1 -0
  1055. package/dist/credentials/registry.d.ts +181 -0
  1056. package/dist/credentials/registry.d.ts.map +1 -0
  1057. package/dist/credentials/registry.js +240 -0
  1058. package/dist/credentials/registry.js.map +1 -0
  1059. package/dist/credentials/testing/conformance.d.ts +90 -0
  1060. package/dist/credentials/testing/conformance.d.ts.map +1 -0
  1061. package/dist/credentials/testing/conformance.js +170 -0
  1062. package/dist/credentials/testing/conformance.js.map +1 -0
  1063. package/dist/credentials/testing/index.d.ts +5 -0
  1064. package/dist/credentials/testing/index.d.ts.map +1 -0
  1065. package/dist/credentials/testing/index.js +16 -0
  1066. package/dist/credentials/testing/index.js.map +1 -0
  1067. package/dist/credentials/testing/with-credential-purposes.d.ts +33 -0
  1068. package/dist/credentials/testing/with-credential-purposes.d.ts.map +1 -0
  1069. package/dist/credentials/testing/with-credential-purposes.js +28 -0
  1070. package/dist/credentials/testing/with-credential-purposes.js.map +1 -0
  1071. package/dist/credentials/user-credential.resolver.d.ts +110 -0
  1072. package/dist/credentials/user-credential.resolver.d.ts.map +1 -0
  1073. package/dist/credentials/user-credential.resolver.js +165 -0
  1074. package/dist/credentials/user-credential.resolver.js.map +1 -0
  1075. package/dist/credentials/user-credentials.module.d.ts +17 -0
  1076. package/dist/credentials/user-credentials.module.d.ts.map +1 -0
  1077. package/dist/credentials/user-credentials.module.js +59 -0
  1078. package/dist/credentials/user-credentials.module.js.map +1 -0
  1079. package/dist/credentials/user-credentials.service.d.ts +82 -0
  1080. package/dist/credentials/user-credentials.service.d.ts.map +1 -0
  1081. package/dist/credentials/user-credentials.service.js +292 -0
  1082. package/dist/credentials/user-credentials.service.js.map +1 -0
  1083. package/dist/db-backup/admin-connection.util.d.ts +521 -0
  1084. package/dist/db-backup/admin-connection.util.d.ts.map +1 -0
  1085. package/dist/db-backup/admin-connection.util.js +786 -0
  1086. package/dist/db-backup/admin-connection.util.js.map +1 -0
  1087. package/dist/db-backup/backup-target.d.ts +222 -0
  1088. package/dist/db-backup/backup-target.d.ts.map +1 -0
  1089. package/dist/db-backup/backup-target.js +237 -0
  1090. package/dist/db-backup/backup-target.js.map +1 -0
  1091. package/dist/db-backup/carry-over.registry.d.ts +58 -0
  1092. package/dist/db-backup/carry-over.registry.d.ts.map +1 -0
  1093. package/dist/db-backup/carry-over.registry.js +96 -0
  1094. package/dist/db-backup/carry-over.registry.js.map +1 -0
  1095. package/dist/db-backup/data/db-backup-db.d.ts +207 -0
  1096. package/dist/db-backup/data/db-backup-db.d.ts.map +1 -0
  1097. package/dist/db-backup/data/db-backup-db.js +51 -0
  1098. package/dist/db-backup/data/db-backup-db.js.map +1 -0
  1099. package/dist/db-backup/database-restore.service.d.ts +760 -0
  1100. package/dist/db-backup/database-restore.service.d.ts.map +1 -0
  1101. package/dist/db-backup/database-restore.service.js +2113 -0
  1102. package/dist/db-backup/database-restore.service.js.map +1 -0
  1103. package/dist/db-backup/db-backup-admin.service.d.ts +358 -0
  1104. package/dist/db-backup/db-backup-admin.service.d.ts.map +1 -0
  1105. package/dist/db-backup/db-backup-admin.service.js +952 -0
  1106. package/dist/db-backup/db-backup-admin.service.js.map +1 -0
  1107. package/dist/db-backup/db-backup-events.d.ts +42 -0
  1108. package/dist/db-backup/db-backup-events.d.ts.map +1 -0
  1109. package/dist/db-backup/db-backup-events.js +123 -0
  1110. package/dist/db-backup/db-backup-events.js.map +1 -0
  1111. package/dist/db-backup/db-backup-key-prefix.d.ts +25 -0
  1112. package/dist/db-backup/db-backup-key-prefix.d.ts.map +1 -0
  1113. package/dist/db-backup/db-backup-key-prefix.js +54 -0
  1114. package/dist/db-backup/db-backup-key-prefix.js.map +1 -0
  1115. package/dist/db-backup/db-backup-retention.service.d.ts +91 -0
  1116. package/dist/db-backup/db-backup-retention.service.d.ts.map +1 -0
  1117. package/dist/db-backup/db-backup-retention.service.js +250 -0
  1118. package/dist/db-backup/db-backup-retention.service.js.map +1 -0
  1119. package/dist/db-backup/db-backup-runner.service.d.ts +816 -0
  1120. package/dist/db-backup/db-backup-runner.service.d.ts.map +1 -0
  1121. package/dist/db-backup/db-backup-runner.service.js +1866 -0
  1122. package/dist/db-backup/db-backup-runner.service.js.map +1 -0
  1123. package/dist/db-backup/db-backup-storage.d.ts +124 -0
  1124. package/dist/db-backup/db-backup-storage.d.ts.map +1 -0
  1125. package/dist/db-backup/db-backup-storage.js +268 -0
  1126. package/dist/db-backup/db-backup-storage.js.map +1 -0
  1127. package/dist/db-backup/db-backup.constants.d.ts +46 -0
  1128. package/dist/db-backup/db-backup.constants.d.ts.map +1 -0
  1129. package/dist/db-backup/db-backup.constants.js +51 -0
  1130. package/dist/db-backup/db-backup.constants.js.map +1 -0
  1131. package/dist/db-backup/db-backup.controller.d.ts +61 -0
  1132. package/dist/db-backup/db-backup.controller.d.ts.map +1 -0
  1133. package/dist/db-backup/db-backup.controller.js +683 -0
  1134. package/dist/db-backup/db-backup.controller.js.map +1 -0
  1135. package/dist/db-backup/db-backup.errors.d.ts +291 -0
  1136. package/dist/db-backup/db-backup.errors.d.ts.map +1 -0
  1137. package/dist/db-backup/db-backup.errors.js +433 -0
  1138. package/dist/db-backup/db-backup.errors.js.map +1 -0
  1139. package/dist/db-backup/db-backup.module.d.ts +39 -0
  1140. package/dist/db-backup/db-backup.module.d.ts.map +1 -0
  1141. package/dist/db-backup/db-backup.module.js +401 -0
  1142. package/dist/db-backup/db-backup.module.js.map +1 -0
  1143. package/dist/db-backup/db-backup.permissions.d.ts +32 -0
  1144. package/dist/db-backup/db-backup.permissions.d.ts.map +1 -0
  1145. package/dist/db-backup/db-backup.permissions.js +62 -0
  1146. package/dist/db-backup/db-backup.permissions.js.map +1 -0
  1147. package/dist/db-backup/db-backup.registrations.d.ts +76 -0
  1148. package/dist/db-backup/db-backup.registrations.d.ts.map +1 -0
  1149. package/dist/db-backup/db-backup.registrations.js +129 -0
  1150. package/dist/db-backup/db-backup.registrations.js.map +1 -0
  1151. package/dist/db-backup/db-backup.system-settings.d.ts +200 -0
  1152. package/dist/db-backup/db-backup.system-settings.d.ts.map +1 -0
  1153. package/dist/db-backup/db-backup.system-settings.js +145 -0
  1154. package/dist/db-backup/db-backup.system-settings.js.map +1 -0
  1155. package/dist/db-backup/doctor/backup-mirrors.doctor-check.d.ts +58 -0
  1156. package/dist/db-backup/doctor/backup-mirrors.doctor-check.d.ts.map +1 -0
  1157. package/dist/db-backup/doctor/backup-mirrors.doctor-check.js +140 -0
  1158. package/dist/db-backup/doctor/backup-mirrors.doctor-check.js.map +1 -0
  1159. package/dist/db-backup/doctor/backup-pg-client.doctor-check.d.ts +32 -0
  1160. package/dist/db-backup/doctor/backup-pg-client.doctor-check.d.ts.map +1 -0
  1161. package/dist/db-backup/doctor/backup-pg-client.doctor-check.js +90 -0
  1162. package/dist/db-backup/doctor/backup-pg-client.doctor-check.js.map +1 -0
  1163. package/dist/db-backup/doctor/backup-rls.doctor-check.d.ts +67 -0
  1164. package/dist/db-backup/doctor/backup-rls.doctor-check.d.ts.map +1 -0
  1165. package/dist/db-backup/doctor/backup-rls.doctor-check.js +141 -0
  1166. package/dist/db-backup/doctor/backup-rls.doctor-check.js.map +1 -0
  1167. package/dist/db-backup/doctor/backup-schedule.doctor-check.d.ts +53 -0
  1168. package/dist/db-backup/doctor/backup-schedule.doctor-check.d.ts.map +1 -0
  1169. package/dist/db-backup/doctor/backup-schedule.doctor-check.js +136 -0
  1170. package/dist/db-backup/doctor/backup-schedule.doctor-check.js.map +1 -0
  1171. package/dist/db-backup/dto/db-backup-actions.dto.d.ts +26 -0
  1172. package/dist/db-backup/dto/db-backup-actions.dto.d.ts.map +1 -0
  1173. package/dist/db-backup/dto/db-backup-actions.dto.js +75 -0
  1174. package/dist/db-backup/dto/db-backup-actions.dto.js.map +1 -0
  1175. package/dist/db-backup/dto/db-backup-config.dto.d.ts +56 -0
  1176. package/dist/db-backup/dto/db-backup-config.dto.d.ts.map +1 -0
  1177. package/dist/db-backup/dto/db-backup-config.dto.js +64 -0
  1178. package/dist/db-backup/dto/db-backup-config.dto.js.map +1 -0
  1179. package/dist/db-backup/dto/db-backup-list-query.dto.d.ts +13 -0
  1180. package/dist/db-backup/dto/db-backup-list-query.dto.d.ts.map +1 -0
  1181. package/dist/db-backup/dto/db-backup-list-query.dto.js +46 -0
  1182. package/dist/db-backup/dto/db-backup-list-query.dto.js.map +1 -0
  1183. package/dist/db-backup/dto/db-backup-node-credential.dto.d.ts +20 -0
  1184. package/dist/db-backup/dto/db-backup-node-credential.dto.d.ts.map +1 -0
  1185. package/dist/db-backup/dto/db-backup-node-credential.dto.js +58 -0
  1186. package/dist/db-backup/dto/db-backup-node-credential.dto.js.map +1 -0
  1187. package/dist/db-backup/dto/db-backup-restore.dto.d.ts +244 -0
  1188. package/dist/db-backup/dto/db-backup-restore.dto.d.ts.map +1 -0
  1189. package/dist/db-backup/dto/db-backup-restore.dto.js +335 -0
  1190. package/dist/db-backup/dto/db-backup-restore.dto.js.map +1 -0
  1191. package/dist/db-backup/dto/db-backup-run.dto.d.ts +70 -0
  1192. package/dist/db-backup/dto/db-backup-run.dto.d.ts.map +1 -0
  1193. package/dist/db-backup/dto/db-backup-run.dto.js +170 -0
  1194. package/dist/db-backup/dto/db-backup-run.dto.js.map +1 -0
  1195. package/dist/db-backup/handlers/db-backup-run.handler.d.ts +171 -0
  1196. package/dist/db-backup/handlers/db-backup-run.handler.d.ts.map +1 -0
  1197. package/dist/db-backup/handlers/db-backup-run.handler.js +354 -0
  1198. package/dist/db-backup/handlers/db-backup-run.handler.js.map +1 -0
  1199. package/dist/db-backup/handlers/db-backup-sweep.handler.d.ts +117 -0
  1200. package/dist/db-backup/handlers/db-backup-sweep.handler.d.ts.map +1 -0
  1201. package/dist/db-backup/handlers/db-backup-sweep.handler.js +539 -0
  1202. package/dist/db-backup/handlers/db-backup-sweep.handler.js.map +1 -0
  1203. package/dist/db-backup/handlers/db-restore-old-db-drop.handler.d.ts +40 -0
  1204. package/dist/db-backup/handlers/db-restore-old-db-drop.handler.d.ts.map +1 -0
  1205. package/dist/db-backup/handlers/db-restore-old-db-drop.handler.js +122 -0
  1206. package/dist/db-backup/handlers/db-restore-old-db-drop.handler.js.map +1 -0
  1207. package/dist/db-backup/handlers/db-restore-run.handler.d.ts +55 -0
  1208. package/dist/db-backup/handlers/db-restore-run.handler.d.ts.map +1 -0
  1209. package/dist/db-backup/handlers/db-restore-run.handler.js +207 -0
  1210. package/dist/db-backup/handlers/db-restore-run.handler.js.map +1 -0
  1211. package/dist/db-backup/index.d.ts +49 -0
  1212. package/dist/db-backup/index.d.ts.map +1 -0
  1213. package/dist/db-backup/index.js +116 -0
  1214. package/dist/db-backup/index.js.map +1 -0
  1215. package/dist/db-backup/migration-state.util.d.ts +62 -0
  1216. package/dist/db-backup/migration-state.util.d.ts.map +1 -0
  1217. package/dist/db-backup/migration-state.util.js +69 -0
  1218. package/dist/db-backup/migration-state.util.js.map +1 -0
  1219. package/dist/db-backup/options.d.ts +160 -0
  1220. package/dist/db-backup/options.d.ts.map +1 -0
  1221. package/dist/db-backup/options.js +103 -0
  1222. package/dist/db-backup/options.js.map +1 -0
  1223. package/dist/db-backup/pg-dump.util.d.ts +314 -0
  1224. package/dist/db-backup/pg-dump.util.d.ts.map +1 -0
  1225. package/dist/db-backup/pg-dump.util.js +458 -0
  1226. package/dist/db-backup/pg-dump.util.js.map +1 -0
  1227. package/dist/db-backup/pg-job-role.broker.d.ts +451 -0
  1228. package/dist/db-backup/pg-job-role.broker.d.ts.map +1 -0
  1229. package/dist/db-backup/pg-job-role.broker.js +912 -0
  1230. package/dist/db-backup/pg-job-role.broker.js.map +1 -0
  1231. package/dist/db-backup/pg-restore.util.d.ts +150 -0
  1232. package/dist/db-backup/pg-restore.util.d.ts.map +1 -0
  1233. package/dist/db-backup/pg-restore.util.js +236 -0
  1234. package/dist/db-backup/pg-restore.util.js.map +1 -0
  1235. package/dist/db-backup/pg-version.util.d.ts +207 -0
  1236. package/dist/db-backup/pg-version.util.d.ts.map +1 -0
  1237. package/dist/db-backup/pg-version.util.js +310 -0
  1238. package/dist/db-backup/pg-version.util.js.map +1 -0
  1239. package/dist/db-backup/ports.d.ts +212 -0
  1240. package/dist/db-backup/ports.d.ts.map +1 -0
  1241. package/dist/db-backup/ports.js +100 -0
  1242. package/dist/db-backup/ports.js.map +1 -0
  1243. package/dist/db-backup/restore-gate.d.ts +34 -0
  1244. package/dist/db-backup/restore-gate.d.ts.map +1 -0
  1245. package/dist/db-backup/restore-gate.js +80 -0
  1246. package/dist/db-backup/restore-gate.js.map +1 -0
  1247. package/dist/db-backup/restore-gate.registry.d.ts +253 -0
  1248. package/dist/db-backup/restore-gate.registry.d.ts.map +1 -0
  1249. package/dist/db-backup/restore-gate.registry.js +182 -0
  1250. package/dist/db-backup/restore-gate.registry.js.map +1 -0
  1251. package/dist/db-backup/restore-gates.builtin.d.ts +134 -0
  1252. package/dist/db-backup/restore-gates.builtin.d.ts.map +1 -0
  1253. package/dist/db-backup/restore-gates.builtin.js +513 -0
  1254. package/dist/db-backup/restore-gates.builtin.js.map +1 -0
  1255. package/dist/db-backup/restore-preflight.service.d.ts +339 -0
  1256. package/dist/db-backup/restore-preflight.service.d.ts.map +1 -0
  1257. package/dist/db-backup/restore-preflight.service.js +551 -0
  1258. package/dist/db-backup/restore-preflight.service.js.map +1 -0
  1259. package/dist/db-backup/schedule.util.d.ts +249 -0
  1260. package/dist/db-backup/schedule.util.d.ts.map +1 -0
  1261. package/dist/db-backup/schedule.util.js +619 -0
  1262. package/dist/db-backup/schedule.util.js.map +1 -0
  1263. package/dist/db-backup/tasks/db-backup-schedule.task.d.ts +96 -0
  1264. package/dist/db-backup/tasks/db-backup-schedule.task.d.ts.map +1 -0
  1265. package/dist/db-backup/tasks/db-backup-schedule.task.js +309 -0
  1266. package/dist/db-backup/tasks/db-backup-schedule.task.js.map +1 -0
  1267. package/dist/db-backup/testing/backup-target-conformance.d.ts +57 -0
  1268. package/dist/db-backup/testing/backup-target-conformance.d.ts.map +1 -0
  1269. package/dist/db-backup/testing/backup-target-conformance.js +307 -0
  1270. package/dist/db-backup/testing/backup-target-conformance.js.map +1 -0
  1271. package/dist/db-backup/testing/conformance.d.ts +61 -0
  1272. package/dist/db-backup/testing/conformance.d.ts.map +1 -0
  1273. package/dist/db-backup/testing/conformance.js +178 -0
  1274. package/dist/db-backup/testing/conformance.js.map +1 -0
  1275. package/dist/db-backup/testing/index.d.ts +49 -0
  1276. package/dist/db-backup/testing/index.d.ts.map +1 -0
  1277. package/dist/db-backup/testing/index.js +102 -0
  1278. package/dist/db-backup/testing/index.js.map +1 -0
  1279. package/dist/db-backup/testing/restore-gate-conformance.d.ts +82 -0
  1280. package/dist/db-backup/testing/restore-gate-conformance.d.ts.map +1 -0
  1281. package/dist/db-backup/testing/restore-gate-conformance.js +217 -0
  1282. package/dist/db-backup/testing/restore-gate-conformance.js.map +1 -0
  1283. package/dist/doctor/testing/describe-doctor-check-conformance.d.ts +80 -0
  1284. package/dist/doctor/testing/describe-doctor-check-conformance.d.ts.map +1 -0
  1285. package/dist/doctor/testing/describe-doctor-check-conformance.js +85 -0
  1286. package/dist/doctor/testing/describe-doctor-check-conformance.js.map +1 -0
  1287. package/dist/doctor/testing/doctor-read-only.suite.d.ts +203 -0
  1288. package/dist/doctor/testing/doctor-read-only.suite.d.ts.map +1 -0
  1289. package/dist/doctor/testing/doctor-read-only.suite.js +240 -0
  1290. package/dist/doctor/testing/doctor-read-only.suite.js.map +1 -0
  1291. package/dist/doctor/testing/index.d.ts +12 -0
  1292. package/dist/doctor/testing/index.d.ts.map +1 -0
  1293. package/dist/doctor/testing/index.js +29 -0
  1294. package/dist/doctor/testing/index.js.map +1 -0
  1295. package/dist/doctor/testing/recording-prisma.d.ts +83 -0
  1296. package/dist/doctor/testing/recording-prisma.d.ts.map +1 -0
  1297. package/dist/doctor/testing/recording-prisma.js +242 -0
  1298. package/dist/doctor/testing/recording-prisma.js.map +1 -0
  1299. package/dist/doctor/testing/run-doctor-check.d.ts +80 -0
  1300. package/dist/doctor/testing/run-doctor-check.d.ts.map +1 -0
  1301. package/dist/doctor/testing/run-doctor-check.js +176 -0
  1302. package/dist/doctor/testing/run-doctor-check.js.map +1 -0
  1303. package/dist/doctor/testing/write-failing-storage.d.ts +62 -0
  1304. package/dist/doctor/testing/write-failing-storage.d.ts.map +1 -0
  1305. package/dist/doctor/testing/write-failing-storage.js +99 -0
  1306. package/dist/doctor/testing/write-failing-storage.js.map +1 -0
  1307. package/dist/email/base-email.provider.d.ts +89 -0
  1308. package/dist/email/base-email.provider.d.ts.map +1 -0
  1309. package/dist/email/base-email.provider.js +223 -0
  1310. package/dist/email/base-email.provider.js.map +1 -0
  1311. package/dist/email/doctor/egress/email.egress.contributor.d.ts +30 -0
  1312. package/dist/email/doctor/egress/email.egress.contributor.d.ts.map +1 -0
  1313. package/dist/email/doctor/egress/email.egress.contributor.js +78 -0
  1314. package/dist/email/doctor/egress/email.egress.contributor.js.map +1 -0
  1315. package/dist/email/doctor/email-config.doctor-check.d.ts +42 -0
  1316. package/dist/email/doctor/email-config.doctor-check.d.ts.map +1 -0
  1317. package/dist/email/doctor/email-config.doctor-check.js +131 -0
  1318. package/dist/email/doctor/email-config.doctor-check.js.map +1 -0
  1319. package/dist/email/dto/email-settings-response.dto.d.ts +92 -0
  1320. package/dist/email/dto/email-settings-response.dto.d.ts.map +1 -0
  1321. package/dist/email/dto/email-settings-response.dto.js +26 -0
  1322. package/dist/email/dto/email-settings-response.dto.js.map +1 -0
  1323. package/dist/email/dto/test-email-result.dto.d.ts +18 -0
  1324. package/dist/email/dto/test-email-result.dto.d.ts.map +1 -0
  1325. package/dist/email/dto/test-email-result.dto.js +24 -0
  1326. package/dist/email/dto/test-email-result.dto.js.map +1 -0
  1327. package/dist/email/dto/update-email-settings.dto.d.ts +26 -0
  1328. package/dist/email/dto/update-email-settings.dto.d.ts.map +1 -0
  1329. package/dist/email/dto/update-email-settings.dto.js +25 -0
  1330. package/dist/email/dto/update-email-settings.dto.js.map +1 -0
  1331. package/dist/email/email-rate-limit.d.ts +38 -0
  1332. package/dist/email/email-rate-limit.d.ts.map +1 -0
  1333. package/dist/email/email-rate-limit.js +187 -0
  1334. package/dist/email/email-rate-limit.js.map +1 -0
  1335. package/dist/email/email-settings-compat.d.ts +95 -0
  1336. package/dist/email/email-settings-compat.d.ts.map +1 -0
  1337. package/dist/email/email-settings-compat.js +207 -0
  1338. package/dist/email/email-settings-compat.js.map +1 -0
  1339. package/dist/email/email-settings.controller.d.ts +45 -0
  1340. package/dist/email/email-settings.controller.d.ts.map +1 -0
  1341. package/dist/email/email-settings.controller.js +195 -0
  1342. package/dist/email/email-settings.controller.js.map +1 -0
  1343. package/dist/email/email-settings.schema.d.ts +3 -0
  1344. package/dist/email/email-settings.schema.d.ts.map +1 -0
  1345. package/dist/email/email-settings.schema.js +24 -0
  1346. package/dist/email/email-settings.schema.js.map +1 -0
  1347. package/dist/email/email-settings.service.d.ts +260 -0
  1348. package/dist/email/email-settings.service.d.ts.map +1 -0
  1349. package/dist/email/email-settings.service.js +570 -0
  1350. package/dist/email/email-settings.service.js.map +1 -0
  1351. package/dist/email/email-test-send.service.d.ts +101 -0
  1352. package/dist/email/email-test-send.service.d.ts.map +1 -0
  1353. package/dist/email/email-test-send.service.js +325 -0
  1354. package/dist/email/email-test-send.service.js.map +1 -0
  1355. package/dist/email/email.module.d.ts +60 -0
  1356. package/dist/email/email.module.d.ts.map +1 -0
  1357. package/dist/email/email.module.js +171 -0
  1358. package/dist/email/email.module.js.map +1 -0
  1359. package/dist/email/email.options.d.ts +83 -0
  1360. package/dist/email/email.options.d.ts.map +1 -0
  1361. package/dist/email/email.options.js +64 -0
  1362. package/dist/email/email.options.js.map +1 -0
  1363. package/dist/email/email.types.d.ts +125 -0
  1364. package/dist/email/email.types.d.ts.map +1 -0
  1365. package/dist/email/email.types.js +14 -0
  1366. package/dist/email/email.types.js.map +1 -0
  1367. package/dist/email/index.d.ts +55 -0
  1368. package/dist/email/index.d.ts.map +1 -0
  1369. package/dist/email/index.js +138 -0
  1370. package/dist/email/index.js.map +1 -0
  1371. package/dist/email/providers/email-provider.interface.d.ts +42 -0
  1372. package/dist/email/providers/email-provider.interface.d.ts.map +1 -0
  1373. package/dist/email/providers/email-provider.interface.js +3 -0
  1374. package/dist/email/providers/email-provider.interface.js.map +1 -0
  1375. package/dist/email/providers/ses-email.provider.d.ts +47 -0
  1376. package/dist/email/providers/ses-email.provider.d.ts.map +1 -0
  1377. package/dist/email/providers/ses-email.provider.js +226 -0
  1378. package/dist/email/providers/ses-email.provider.js.map +1 -0
  1379. package/dist/email/providers/smtp-email.provider.d.ts +57 -0
  1380. package/dist/email/providers/smtp-email.provider.d.ts.map +1 -0
  1381. package/dist/email/providers/smtp-email.provider.js +285 -0
  1382. package/dist/email/providers/smtp-email.provider.js.map +1 -0
  1383. package/dist/email/ses-credential.constants.d.ts +47 -0
  1384. package/dist/email/ses-credential.constants.d.ts.map +1 -0
  1385. package/dist/email/ses-credential.constants.js +79 -0
  1386. package/dist/email/ses-credential.constants.js.map +1 -0
  1387. package/dist/email/smtp-credential.constants.d.ts +46 -0
  1388. package/dist/email/smtp-credential.constants.d.ts.map +1 -0
  1389. package/dist/email/smtp-credential.constants.js +77 -0
  1390. package/dist/email/smtp-credential.constants.js.map +1 -0
  1391. package/dist/email/templates/allowlist-invitation.email.d.ts +47 -0
  1392. package/dist/email/templates/allowlist-invitation.email.d.ts.map +1 -0
  1393. package/dist/email/templates/allowlist-invitation.email.js +70 -0
  1394. package/dist/email/templates/allowlist-invitation.email.js.map +1 -0
  1395. package/dist/email/templates/backup-failed.email.d.ts +40 -0
  1396. package/dist/email/templates/backup-failed.email.d.ts.map +1 -0
  1397. package/dist/email/templates/backup-failed.email.js +120 -0
  1398. package/dist/email/templates/backup-failed.email.js.map +1 -0
  1399. package/dist/email/templates/broadcast.email.d.ts +67 -0
  1400. package/dist/email/templates/broadcast.email.d.ts.map +1 -0
  1401. package/dist/email/templates/broadcast.email.js +157 -0
  1402. package/dist/email/templates/broadcast.email.js.map +1 -0
  1403. package/dist/email/templates/email-template.registry.d.ts +182 -0
  1404. package/dist/email/templates/email-template.registry.d.ts.map +1 -0
  1405. package/dist/email/templates/email-template.registry.js +252 -0
  1406. package/dist/email/templates/email-template.registry.js.map +1 -0
  1407. package/dist/email/templates/email-template.types.d.ts +88 -0
  1408. package/dist/email/templates/email-template.types.d.ts.map +1 -0
  1409. package/dist/email/templates/email-template.types.js +31 -0
  1410. package/dist/email/templates/email-template.types.js.map +1 -0
  1411. package/dist/email/templates/index.d.ts +32 -0
  1412. package/dist/email/templates/index.d.ts.map +1 -0
  1413. package/dist/email/templates/index.js +76 -0
  1414. package/dist/email/templates/index.js.map +1 -0
  1415. package/dist/email/templates/job-failed.email.d.ts +47 -0
  1416. package/dist/email/templates/job-failed.email.d.ts.map +1 -0
  1417. package/dist/email/templates/job-failed.email.js +112 -0
  1418. package/dist/email/templates/job-failed.email.js.map +1 -0
  1419. package/dist/email/templates/layout-theme.d.ts +160 -0
  1420. package/dist/email/templates/layout-theme.d.ts.map +1 -0
  1421. package/dist/email/templates/layout-theme.js +134 -0
  1422. package/dist/email/templates/layout-theme.js.map +1 -0
  1423. package/dist/email/templates/layout.d.ts +114 -0
  1424. package/dist/email/templates/layout.d.ts.map +1 -0
  1425. package/dist/email/templates/layout.js +322 -0
  1426. package/dist/email/templates/layout.js.map +1 -0
  1427. package/dist/email/templates/node-offline.email.d.ts +36 -0
  1428. package/dist/email/templates/node-offline.email.d.ts.map +1 -0
  1429. package/dist/email/templates/node-offline.email.js +117 -0
  1430. package/dist/email/templates/node-offline.email.js.map +1 -0
  1431. package/dist/email/templates/platform-email-templates.d.ts +63 -0
  1432. package/dist/email/templates/platform-email-templates.d.ts.map +1 -0
  1433. package/dist/email/templates/platform-email-templates.js +34 -0
  1434. package/dist/email/templates/platform-email-templates.js.map +1 -0
  1435. package/dist/email/templates/render-context.d.ts +81 -0
  1436. package/dist/email/templates/render-context.d.ts.map +1 -0
  1437. package/dist/email/templates/render-context.js +115 -0
  1438. package/dist/email/templates/render-context.js.map +1 -0
  1439. package/dist/email/templates/restore-completed.email.d.ts +46 -0
  1440. package/dist/email/templates/restore-completed.email.d.ts.map +1 -0
  1441. package/dist/email/templates/restore-completed.email.js +118 -0
  1442. package/dist/email/templates/restore-completed.email.js.map +1 -0
  1443. package/dist/email/templates/role-changed.email.d.ts +36 -0
  1444. package/dist/email/templates/role-changed.email.d.ts.map +1 -0
  1445. package/dist/email/templates/role-changed.email.js +118 -0
  1446. package/dist/email/templates/role-changed.email.js.map +1 -0
  1447. package/dist/email/templates/safe-html.d.ts +110 -0
  1448. package/dist/email/templates/safe-html.d.ts.map +1 -0
  1449. package/dist/email/templates/safe-html.js +235 -0
  1450. package/dist/email/templates/safe-html.js.map +1 -0
  1451. package/dist/email/templates/test-email.email.d.ts +46 -0
  1452. package/dist/email/templates/test-email.email.d.ts.map +1 -0
  1453. package/dist/email/templates/test-email.email.js +129 -0
  1454. package/dist/email/templates/test-email.email.js.map +1 -0
  1455. package/dist/email/templates/user-welcome.email.d.ts +47 -0
  1456. package/dist/email/templates/user-welcome.email.d.ts.map +1 -0
  1457. package/dist/email/templates/user-welcome.email.js +96 -0
  1458. package/dist/email/templates/user-welcome.email.js.map +1 -0
  1459. package/dist/email/testing/conformance.d.ts +61 -0
  1460. package/dist/email/testing/conformance.d.ts.map +1 -0
  1461. package/dist/email/testing/conformance.js +179 -0
  1462. package/dist/email/testing/conformance.js.map +1 -0
  1463. package/dist/email/testing/index.d.ts +5 -0
  1464. package/dist/email/testing/index.d.ts.map +1 -0
  1465. package/dist/email/testing/index.js +16 -0
  1466. package/dist/email/testing/index.js.map +1 -0
  1467. package/dist/email/testing/transport-conformance.d.ts +111 -0
  1468. package/dist/email/testing/transport-conformance.d.ts.map +1 -0
  1469. package/dist/email/testing/transport-conformance.js +302 -0
  1470. package/dist/email/testing/transport-conformance.js.map +1 -0
  1471. package/dist/email/transports/builtin-email-transports.d.ts +53 -0
  1472. package/dist/email/transports/builtin-email-transports.d.ts.map +1 -0
  1473. package/dist/email/transports/builtin-email-transports.js +131 -0
  1474. package/dist/email/transports/builtin-email-transports.js.map +1 -0
  1475. package/dist/email/transports/email-transport.d.ts +265 -0
  1476. package/dist/email/transports/email-transport.d.ts.map +1 -0
  1477. package/dist/email/transports/email-transport.js +241 -0
  1478. package/dist/email/transports/email-transport.js.map +1 -0
  1479. package/dist/email/transports/email-transport.resolver.d.ts +75 -0
  1480. package/dist/email/transports/email-transport.resolver.d.ts.map +1 -0
  1481. package/dist/email/transports/email-transport.resolver.js +164 -0
  1482. package/dist/email/transports/email-transport.resolver.js.map +1 -0
  1483. package/dist/exports/csv.d.ts +95 -0
  1484. package/dist/exports/csv.d.ts.map +1 -0
  1485. package/dist/exports/csv.js +132 -0
  1486. package/dist/exports/csv.js.map +1 -0
  1487. package/dist/exports/datamodel.d.ts +139 -0
  1488. package/dist/exports/datamodel.d.ts.map +1 -0
  1489. package/dist/exports/datamodel.js +194 -0
  1490. package/dist/exports/datamodel.js.map +1 -0
  1491. package/dist/exports/documents/export-options.d.ts +102 -0
  1492. package/dist/exports/documents/export-options.d.ts.map +1 -0
  1493. package/dist/exports/documents/export-options.js +117 -0
  1494. package/dist/exports/documents/export-options.js.map +1 -0
  1495. package/dist/exports/documents/exporter-registry.d.ts +80 -0
  1496. package/dist/exports/documents/exporter-registry.d.ts.map +1 -0
  1497. package/dist/exports/documents/exporter-registry.js +96 -0
  1498. package/dist/exports/documents/exporter-registry.js.map +1 -0
  1499. package/dist/exports/export-job.d.ts +113 -0
  1500. package/dist/exports/export-job.d.ts.map +1 -0
  1501. package/dist/exports/export-job.js +140 -0
  1502. package/dist/exports/export-job.js.map +1 -0
  1503. package/dist/exports/export-stream.d.ts +46 -0
  1504. package/dist/exports/export-stream.d.ts.map +1 -0
  1505. package/dist/exports/export-stream.js +104 -0
  1506. package/dist/exports/export-stream.js.map +1 -0
  1507. package/dist/exports/export.registries.d.ts +89 -0
  1508. package/dist/exports/export.registries.d.ts.map +1 -0
  1509. package/dist/exports/export.registries.js +258 -0
  1510. package/dist/exports/export.registries.js.map +1 -0
  1511. package/dist/exports/export.types.d.ts +217 -0
  1512. package/dist/exports/export.types.d.ts.map +1 -0
  1513. package/dist/exports/export.types.js +19 -0
  1514. package/dist/exports/export.types.js.map +1 -0
  1515. package/dist/exports/exports.constants.d.ts +109 -0
  1516. package/dist/exports/exports.constants.d.ts.map +1 -0
  1517. package/dist/exports/exports.constants.js +133 -0
  1518. package/dist/exports/exports.constants.js.map +1 -0
  1519. package/dist/exports/exports.controller.d.ts +147 -0
  1520. package/dist/exports/exports.controller.d.ts.map +1 -0
  1521. package/dist/exports/exports.controller.js +196 -0
  1522. package/dist/exports/exports.controller.js.map +1 -0
  1523. package/dist/exports/exports.metrics.d.ts +45 -0
  1524. package/dist/exports/exports.metrics.d.ts.map +1 -0
  1525. package/dist/exports/exports.metrics.js +92 -0
  1526. package/dist/exports/exports.metrics.js.map +1 -0
  1527. package/dist/exports/exports.module.d.ts +29 -0
  1528. package/dist/exports/exports.module.d.ts.map +1 -0
  1529. package/dist/exports/exports.module.js +90 -0
  1530. package/dist/exports/exports.module.js.map +1 -0
  1531. package/dist/exports/exports.notifications.d.ts +78 -0
  1532. package/dist/exports/exports.notifications.d.ts.map +1 -0
  1533. package/dist/exports/exports.notifications.js +93 -0
  1534. package/dist/exports/exports.notifications.js.map +1 -0
  1535. package/dist/exports/exports.options.d.ts +140 -0
  1536. package/dist/exports/exports.options.d.ts.map +1 -0
  1537. package/dist/exports/exports.options.js +114 -0
  1538. package/dist/exports/exports.options.js.map +1 -0
  1539. package/dist/exports/exports.service.d.ts +111 -0
  1540. package/dist/exports/exports.service.d.ts.map +1 -0
  1541. package/dist/exports/exports.service.js +305 -0
  1542. package/dist/exports/exports.service.js.map +1 -0
  1543. package/dist/exports/handlers/export-purge.handler.d.ts +52 -0
  1544. package/dist/exports/handlers/export-purge.handler.d.ts.map +1 -0
  1545. package/dist/exports/handlers/export-purge.handler.js +135 -0
  1546. package/dist/exports/handlers/export-purge.handler.js.map +1 -0
  1547. package/dist/exports/handlers/export-run.handler.d.ts +50 -0
  1548. package/dist/exports/handlers/export-run.handler.d.ts.map +1 -0
  1549. package/dist/exports/handlers/export-run.handler.js +327 -0
  1550. package/dist/exports/handlers/export-run.handler.js.map +1 -0
  1551. package/dist/exports/index.d.ts +36 -0
  1552. package/dist/exports/index.d.ts.map +1 -0
  1553. package/dist/exports/index.js +140 -0
  1554. package/dist/exports/index.js.map +1 -0
  1555. package/dist/exports/ports.d.ts +77 -0
  1556. package/dist/exports/ports.d.ts.map +1 -0
  1557. package/dist/exports/ports.js +40 -0
  1558. package/dist/exports/ports.js.map +1 -0
  1559. package/dist/exports/request-fields.d.ts +18 -0
  1560. package/dist/exports/request-fields.d.ts.map +1 -0
  1561. package/dist/exports/request-fields.js +100 -0
  1562. package/dist/exports/request-fields.js.map +1 -0
  1563. package/dist/exports/sources/model-table.d.ts +40 -0
  1564. package/dist/exports/sources/model-table.d.ts.map +1 -0
  1565. package/dist/exports/sources/model-table.js +97 -0
  1566. package/dist/exports/sources/model-table.js.map +1 -0
  1567. package/dist/exports/sources/org-data.source.d.ts +40 -0
  1568. package/dist/exports/sources/org-data.source.d.ts.map +1 -0
  1569. package/dist/exports/sources/org-data.source.js +152 -0
  1570. package/dist/exports/sources/org-data.source.js.map +1 -0
  1571. package/dist/exports/sources/user-data.source.d.ts +33 -0
  1572. package/dist/exports/sources/user-data.source.d.ts.map +1 -0
  1573. package/dist/exports/sources/user-data.source.js +93 -0
  1574. package/dist/exports/sources/user-data.source.js.map +1 -0
  1575. package/dist/exports/tasks/export-purge.task.d.ts +17 -0
  1576. package/dist/exports/tasks/export-purge.task.d.ts.map +1 -0
  1577. package/dist/exports/tasks/export-purge.task.js +69 -0
  1578. package/dist/exports/tasks/export-purge.task.js.map +1 -0
  1579. package/dist/exports/testing/conformance.d.ts +138 -0
  1580. package/dist/exports/testing/conformance.d.ts.map +1 -0
  1581. package/dist/exports/testing/conformance.js +333 -0
  1582. package/dist/exports/testing/conformance.js.map +1 -0
  1583. package/dist/exports/testing/index.d.ts +5 -0
  1584. package/dist/exports/testing/index.d.ts.map +1 -0
  1585. package/dist/exports/testing/index.js +21 -0
  1586. package/dist/exports/testing/index.js.map +1 -0
  1587. package/dist/exports/testing/zip.d.ts +41 -0
  1588. package/dist/exports/testing/zip.d.ts.map +1 -0
  1589. package/dist/exports/testing/zip.js +92 -0
  1590. package/dist/exports/testing/zip.js.map +1 -0
  1591. package/dist/exports/writers/csv.writer.d.ts +20 -0
  1592. package/dist/exports/writers/csv.writer.d.ts.map +1 -0
  1593. package/dist/exports/writers/csv.writer.js +96 -0
  1594. package/dist/exports/writers/csv.writer.js.map +1 -0
  1595. package/dist/exports/writers/index.d.ts +11 -0
  1596. package/dist/exports/writers/index.d.ts.map +1 -0
  1597. package/dist/exports/writers/index.js +29 -0
  1598. package/dist/exports/writers/index.js.map +1 -0
  1599. package/dist/exports/writers/json.writer.d.ts +17 -0
  1600. package/dist/exports/writers/json.writer.d.ts.map +1 -0
  1601. package/dist/exports/writers/json.writer.js +83 -0
  1602. package/dist/exports/writers/json.writer.js.map +1 -0
  1603. package/dist/exports/writers/platform-sources.d.ts +8 -0
  1604. package/dist/exports/writers/platform-sources.d.ts.map +1 -0
  1605. package/dist/exports/writers/platform-sources.js +16 -0
  1606. package/dist/exports/writers/platform-sources.js.map +1 -0
  1607. package/dist/exports/writers/xlsx.writer.d.ts +20 -0
  1608. package/dist/exports/writers/xlsx.writer.d.ts.map +1 -0
  1609. package/dist/exports/writers/xlsx.writer.js +105 -0
  1610. package/dist/exports/writers/xlsx.writer.js.map +1 -0
  1611. package/dist/host/about/about-contributor.registry.d.ts +64 -0
  1612. package/dist/host/about/about-contributor.registry.d.ts.map +1 -0
  1613. package/dist/host/about/about-contributor.registry.js +79 -0
  1614. package/dist/host/about/about-contributor.registry.js.map +1 -0
  1615. package/dist/host/about/about-support-bundle.section.d.ts +150 -0
  1616. package/dist/host/about/about-support-bundle.section.d.ts.map +1 -0
  1617. package/dist/host/about/about-support-bundle.section.js +156 -0
  1618. package/dist/host/about/about-support-bundle.section.js.map +1 -0
  1619. package/dist/host/about/about.controller.d.ts +58 -0
  1620. package/dist/host/about/about.controller.d.ts.map +1 -0
  1621. package/dist/host/about/about.controller.js +185 -0
  1622. package/dist/host/about/about.controller.js.map +1 -0
  1623. package/dist/host/about/about.module.d.ts +22 -0
  1624. package/dist/host/about/about.module.d.ts.map +1 -0
  1625. package/dist/host/about/about.module.js +73 -0
  1626. package/dist/host/about/about.module.js.map +1 -0
  1627. package/dist/host/about/about.options.d.ts +38 -0
  1628. package/dist/host/about/about.options.d.ts.map +1 -0
  1629. package/dist/host/about/about.options.js +16 -0
  1630. package/dist/host/about/about.options.js.map +1 -0
  1631. package/dist/host/about/about.service.d.ts +52 -0
  1632. package/dist/host/about/about.service.d.ts.map +1 -0
  1633. package/dist/host/about/about.service.js +202 -0
  1634. package/dist/host/about/about.service.js.map +1 -0
  1635. package/dist/host/about/deploy-info.constants.d.ts +9 -0
  1636. package/dist/host/about/deploy-info.constants.d.ts.map +1 -0
  1637. package/dist/host/about/deploy-info.constants.js +12 -0
  1638. package/dist/host/about/deploy-info.constants.js.map +1 -0
  1639. package/dist/host/about/deploy-info.d.ts +154 -0
  1640. package/dist/host/about/deploy-info.d.ts.map +1 -0
  1641. package/dist/host/about/deploy-info.js +339 -0
  1642. package/dist/host/about/deploy-info.js.map +1 -0
  1643. package/dist/host/about/dto/about-response.dto.d.ts +268 -0
  1644. package/dist/host/about/dto/about-response.dto.d.ts.map +1 -0
  1645. package/dist/host/about/dto/about-response.dto.js +252 -0
  1646. package/dist/host/about/dto/about-response.dto.js.map +1 -0
  1647. package/dist/host/deployment/deployment-mode.d.ts +200 -0
  1648. package/dist/host/deployment/deployment-mode.d.ts.map +1 -0
  1649. package/dist/host/deployment/deployment-mode.js +261 -0
  1650. package/dist/host/deployment/deployment-mode.js.map +1 -0
  1651. package/dist/host/deployment/deployment-mode.service.d.ts +51 -0
  1652. package/dist/host/deployment/deployment-mode.service.d.ts.map +1 -0
  1653. package/dist/host/deployment/deployment-mode.service.js +83 -0
  1654. package/dist/host/deployment/deployment-mode.service.js.map +1 -0
  1655. package/dist/host/deployment/deployment-network.d.ts +41 -0
  1656. package/dist/host/deployment/deployment-network.d.ts.map +1 -0
  1657. package/dist/host/deployment/deployment-network.js +89 -0
  1658. package/dist/host/deployment/deployment-network.js.map +1 -0
  1659. package/dist/host/deployment/deployment-network.service.d.ts +28 -0
  1660. package/dist/host/deployment/deployment-network.service.d.ts.map +1 -0
  1661. package/dist/host/deployment/deployment-network.service.js +49 -0
  1662. package/dist/host/deployment/deployment-network.service.js.map +1 -0
  1663. package/dist/host/doctor/db-connection.doctor-check.d.ts +30 -0
  1664. package/dist/host/doctor/db-connection.doctor-check.d.ts.map +1 -0
  1665. package/dist/host/doctor/db-connection.doctor-check.js +90 -0
  1666. package/dist/host/doctor/db-connection.doctor-check.js.map +1 -0
  1667. package/dist/host/doctor/db-migrations.doctor-check.d.ts +48 -0
  1668. package/dist/host/doctor/db-migrations.doctor-check.d.ts.map +1 -0
  1669. package/dist/host/doctor/db-migrations.doctor-check.js +128 -0
  1670. package/dist/host/doctor/db-migrations.doctor-check.js.map +1 -0
  1671. package/dist/host/doctor/deployment-mode.doctor-check.d.ts +54 -0
  1672. package/dist/host/doctor/deployment-mode.doctor-check.d.ts.map +1 -0
  1673. package/dist/host/doctor/deployment-mode.doctor-check.js +110 -0
  1674. package/dist/host/doctor/deployment-mode.doctor-check.js.map +1 -0
  1675. package/dist/host/doctor/encryption-key.doctor-check.d.ts +25 -0
  1676. package/dist/host/doctor/encryption-key.doctor-check.d.ts.map +1 -0
  1677. package/dist/host/doctor/encryption-key.doctor-check.js +61 -0
  1678. package/dist/host/doctor/encryption-key.doctor-check.js.map +1 -0
  1679. package/dist/host/doctor/rls-role.doctor-check.d.ts +58 -0
  1680. package/dist/host/doctor/rls-role.doctor-check.d.ts.map +1 -0
  1681. package/dist/host/doctor/rls-role.doctor-check.js +118 -0
  1682. package/dist/host/doctor/rls-role.doctor-check.js.map +1 -0
  1683. package/dist/host/event-bus/builtin-event-bus-adapters.d.ts +15 -0
  1684. package/dist/host/event-bus/builtin-event-bus-adapters.d.ts.map +1 -0
  1685. package/dist/host/event-bus/builtin-event-bus-adapters.js +48 -0
  1686. package/dist/host/event-bus/builtin-event-bus-adapters.js.map +1 -0
  1687. package/dist/host/event-bus/doctor/event-bus.doctor-check.d.ts +32 -0
  1688. package/dist/host/event-bus/doctor/event-bus.doctor-check.d.ts.map +1 -0
  1689. package/dist/host/event-bus/doctor/event-bus.doctor-check.js +126 -0
  1690. package/dist/host/event-bus/doctor/event-bus.doctor-check.js.map +1 -0
  1691. package/dist/host/event-bus/event-bus-adapter.registry.d.ts +104 -0
  1692. package/dist/host/event-bus/event-bus-adapter.registry.d.ts.map +1 -0
  1693. package/dist/host/event-bus/event-bus-adapter.registry.js +90 -0
  1694. package/dist/host/event-bus/event-bus-adapter.registry.js.map +1 -0
  1695. package/dist/host/event-bus/event-bus-core.d.ts +74 -0
  1696. package/dist/host/event-bus/event-bus-core.d.ts.map +1 -0
  1697. package/dist/host/event-bus/event-bus-core.js +176 -0
  1698. package/dist/host/event-bus/event-bus-core.js.map +1 -0
  1699. package/dist/host/event-bus/event-bus.config.d.ts +46 -0
  1700. package/dist/host/event-bus/event-bus.config.d.ts.map +1 -0
  1701. package/dist/host/event-bus/event-bus.config.js +69 -0
  1702. package/dist/host/event-bus/event-bus.config.js.map +1 -0
  1703. package/dist/host/event-bus/event-bus.factory.d.ts +42 -0
  1704. package/dist/host/event-bus/event-bus.factory.d.ts.map +1 -0
  1705. package/dist/host/event-bus/event-bus.factory.js +71 -0
  1706. package/dist/host/event-bus/event-bus.factory.js.map +1 -0
  1707. package/dist/host/event-bus/event-bus.interface.d.ts +143 -0
  1708. package/dist/host/event-bus/event-bus.interface.d.ts.map +1 -0
  1709. package/dist/host/event-bus/event-bus.interface.js +154 -0
  1710. package/dist/host/event-bus/event-bus.interface.js.map +1 -0
  1711. package/dist/host/event-bus/event-bus.metrics.d.ts +66 -0
  1712. package/dist/host/event-bus/event-bus.metrics.d.ts.map +1 -0
  1713. package/dist/host/event-bus/event-bus.metrics.js +80 -0
  1714. package/dist/host/event-bus/event-bus.metrics.js.map +1 -0
  1715. package/dist/host/event-bus/in-process-event-bus.d.ts +52 -0
  1716. package/dist/host/event-bus/in-process-event-bus.d.ts.map +1 -0
  1717. package/dist/host/event-bus/in-process-event-bus.js +112 -0
  1718. package/dist/host/event-bus/in-process-event-bus.js.map +1 -0
  1719. package/dist/host/event-bus/postgres-event-bus.d.ts +181 -0
  1720. package/dist/host/event-bus/postgres-event-bus.d.ts.map +1 -0
  1721. package/dist/host/event-bus/postgres-event-bus.js +359 -0
  1722. package/dist/host/event-bus/postgres-event-bus.js.map +1 -0
  1723. package/dist/host/health/builtin-health-indicators.d.ts +14 -0
  1724. package/dist/host/health/builtin-health-indicators.d.ts.map +1 -0
  1725. package/dist/host/health/builtin-health-indicators.js +52 -0
  1726. package/dist/host/health/builtin-health-indicators.js.map +1 -0
  1727. package/dist/host/health/database.indicator.d.ts +19 -0
  1728. package/dist/host/health/database.indicator.d.ts.map +1 -0
  1729. package/dist/host/health/database.indicator.js +63 -0
  1730. package/dist/host/health/database.indicator.js.map +1 -0
  1731. package/dist/host/health/health-indicator.registry.d.ts +111 -0
  1732. package/dist/host/health/health-indicator.registry.d.ts.map +1 -0
  1733. package/dist/host/health/health-indicator.registry.js +102 -0
  1734. package/dist/host/health/health-indicator.registry.js.map +1 -0
  1735. package/dist/host/health/health-indicator.runner.d.ts +41 -0
  1736. package/dist/host/health/health-indicator.runner.d.ts.map +1 -0
  1737. package/dist/host/health/health-indicator.runner.js +92 -0
  1738. package/dist/host/health/health-indicator.runner.js.map +1 -0
  1739. package/dist/host/health/health.controller.d.ts +86 -0
  1740. package/dist/host/health/health.controller.d.ts.map +1 -0
  1741. package/dist/host/health/health.controller.js +236 -0
  1742. package/dist/host/health/health.controller.js.map +1 -0
  1743. package/dist/host/host-core.module.d.ts +41 -0
  1744. package/dist/host/host-core.module.d.ts.map +1 -0
  1745. package/dist/host/host-core.module.js +249 -0
  1746. package/dist/host/host-core.module.js.map +1 -0
  1747. package/dist/host/host-core.options.d.ts +152 -0
  1748. package/dist/host/host-core.options.d.ts.map +1 -0
  1749. package/dist/host/host-core.options.js +69 -0
  1750. package/dist/host/host-core.options.js.map +1 -0
  1751. package/dist/host/http/cors-options.d.ts +88 -0
  1752. package/dist/host/http/cors-options.d.ts.map +1 -0
  1753. package/dist/host/http/cors-options.js +158 -0
  1754. package/dist/host/http/cors-options.js.map +1 -0
  1755. package/dist/host/http/logging.interceptor.d.ts +21 -0
  1756. package/dist/host/http/logging.interceptor.d.ts.map +1 -0
  1757. package/dist/host/http/logging.interceptor.js +56 -0
  1758. package/dist/host/http/logging.interceptor.js.map +1 -0
  1759. package/dist/host/http/request-id.middleware.d.ts +33 -0
  1760. package/dist/host/http/request-id.middleware.d.ts.map +1 -0
  1761. package/dist/host/http/request-id.middleware.js +53 -0
  1762. package/dist/host/http/request-id.middleware.js.map +1 -0
  1763. package/dist/host/http/response-meta.registry.d.ts +62 -0
  1764. package/dist/host/http/response-meta.registry.d.ts.map +1 -0
  1765. package/dist/host/http/response-meta.registry.js +86 -0
  1766. package/dist/host/http/response-meta.registry.js.map +1 -0
  1767. package/dist/host/http/transform.interceptor.d.ts +77 -0
  1768. package/dist/host/http/transform.interceptor.d.ts.map +1 -0
  1769. package/dist/host/http/transform.interceptor.js +161 -0
  1770. package/dist/host/http/transform.interceptor.js.map +1 -0
  1771. package/dist/host/index.d.ts +83 -0
  1772. package/dist/host/index.d.ts.map +1 -0
  1773. package/dist/host/index.js +238 -0
  1774. package/dist/host/index.js.map +1 -0
  1775. package/dist/host/internal/bounded.d.ts +50 -0
  1776. package/dist/host/internal/bounded.d.ts.map +1 -0
  1777. package/dist/host/internal/bounded.js +109 -0
  1778. package/dist/host/internal/bounded.js.map +1 -0
  1779. package/dist/host/internal/host-access.d.ts +23 -0
  1780. package/dist/host/internal/host-access.d.ts.map +1 -0
  1781. package/dist/host/internal/host-access.js +42 -0
  1782. package/dist/host/internal/host-access.js.map +1 -0
  1783. package/dist/host/maintenance/doctor/maintenance-mode.doctor-check.d.ts +19 -0
  1784. package/dist/host/maintenance/doctor/maintenance-mode.doctor-check.d.ts.map +1 -0
  1785. package/dist/host/maintenance/doctor/maintenance-mode.doctor-check.js +80 -0
  1786. package/dist/host/maintenance/doctor/maintenance-mode.doctor-check.js.map +1 -0
  1787. package/dist/host/maintenance/dto/update-maintenance.dto.d.ts +115 -0
  1788. package/dist/host/maintenance/dto/update-maintenance.dto.d.ts.map +1 -0
  1789. package/dist/host/maintenance/dto/update-maintenance.dto.js +128 -0
  1790. package/dist/host/maintenance/dto/update-maintenance.dto.js.map +1 -0
  1791. package/dist/host/maintenance/maintenance-bypass.registry.d.ts +94 -0
  1792. package/dist/host/maintenance/maintenance-bypass.registry.d.ts.map +1 -0
  1793. package/dist/host/maintenance/maintenance-bypass.registry.js +90 -0
  1794. package/dist/host/maintenance/maintenance-bypass.registry.js.map +1 -0
  1795. package/dist/host/maintenance/maintenance-mode.service.d.ts +259 -0
  1796. package/dist/host/maintenance/maintenance-mode.service.d.ts.map +1 -0
  1797. package/dist/host/maintenance/maintenance-mode.service.js +368 -0
  1798. package/dist/host/maintenance/maintenance-mode.service.js.map +1 -0
  1799. package/dist/host/maintenance/maintenance.controller.d.ts +84 -0
  1800. package/dist/host/maintenance/maintenance.controller.d.ts.map +1 -0
  1801. package/dist/host/maintenance/maintenance.controller.js +176 -0
  1802. package/dist/host/maintenance/maintenance.controller.js.map +1 -0
  1803. package/dist/host/maintenance/maintenance.guard.d.ts +112 -0
  1804. package/dist/host/maintenance/maintenance.guard.d.ts.map +1 -0
  1805. package/dist/host/maintenance/maintenance.guard.js +274 -0
  1806. package/dist/host/maintenance/maintenance.guard.js.map +1 -0
  1807. package/dist/host/maintenance/maintenance.schemas.d.ts +91 -0
  1808. package/dist/host/maintenance/maintenance.schemas.d.ts.map +1 -0
  1809. package/dist/host/maintenance/maintenance.schemas.js +118 -0
  1810. package/dist/host/maintenance/maintenance.schemas.js.map +1 -0
  1811. package/dist/host/maintenance/maintenance.system-settings.d.ts +90 -0
  1812. package/dist/host/maintenance/maintenance.system-settings.d.ts.map +1 -0
  1813. package/dist/host/maintenance/maintenance.system-settings.js +76 -0
  1814. package/dist/host/maintenance/maintenance.system-settings.js.map +1 -0
  1815. package/dist/host/metrics/app-metrics.service.d.ts +365 -0
  1816. package/dist/host/metrics/app-metrics.service.d.ts.map +1 -0
  1817. package/dist/host/metrics/app-metrics.service.js +613 -0
  1818. package/dist/host/metrics/app-metrics.service.js.map +1 -0
  1819. package/dist/host/metrics/platform-app-metrics.d.ts +42 -0
  1820. package/dist/host/metrics/platform-app-metrics.d.ts.map +1 -0
  1821. package/dist/host/metrics/platform-app-metrics.js +203 -0
  1822. package/dist/host/metrics/platform-app-metrics.js.map +1 -0
  1823. package/dist/host/metrics/register.d.ts +22 -0
  1824. package/dist/host/metrics/register.d.ts.map +1 -0
  1825. package/dist/host/metrics/register.js +46 -0
  1826. package/dist/host/metrics/register.js.map +1 -0
  1827. package/dist/host/openapi/data-envelope.d.ts +7 -0
  1828. package/dist/host/openapi/data-envelope.d.ts.map +1 -0
  1829. package/dist/host/openapi/data-envelope.js +115 -0
  1830. package/dist/host/openapi/data-envelope.js.map +1 -0
  1831. package/dist/host/openapi/description.d.ts +22 -0
  1832. package/dist/host/openapi/description.d.ts.map +1 -0
  1833. package/dist/host/openapi/description.js +181 -0
  1834. package/dist/host/openapi/description.js.map +1 -0
  1835. package/dist/host/openapi/docs-page.d.ts +95 -0
  1836. package/dist/host/openapi/docs-page.d.ts.map +1 -0
  1837. package/dist/host/openapi/docs-page.js +297 -0
  1838. package/dist/host/openapi/docs-page.js.map +1 -0
  1839. package/dist/host/openapi/document.d.ts +107 -0
  1840. package/dist/host/openapi/document.d.ts.map +1 -0
  1841. package/dist/host/openapi/document.js +328 -0
  1842. package/dist/host/openapi/document.js.map +1 -0
  1843. package/dist/host/openapi/nullable.d.ts +9 -0
  1844. package/dist/host/openapi/nullable.d.ts.map +1 -0
  1845. package/dist/host/openapi/nullable.js +78 -0
  1846. package/dist/host/openapi/nullable.js.map +1 -0
  1847. package/dist/host/openapi/rbac-docs.d.ts +30 -0
  1848. package/dist/host/openapi/rbac-docs.d.ts.map +1 -0
  1849. package/dist/host/openapi/rbac-docs.js +105 -0
  1850. package/dist/host/openapi/rbac-docs.js.map +1 -0
  1851. package/dist/host/openapi/register-docs-routes.d.ts +177 -0
  1852. package/dist/host/openapi/register-docs-routes.d.ts.map +1 -0
  1853. package/dist/host/openapi/register-docs-routes.js +218 -0
  1854. package/dist/host/openapi/register-docs-routes.js.map +1 -0
  1855. package/dist/host/openapi/types.d.ts +56 -0
  1856. package/dist/host/openapi/types.d.ts.map +1 -0
  1857. package/dist/host/openapi/types.js +56 -0
  1858. package/dist/host/openapi/types.js.map +1 -0
  1859. package/dist/host/openapi/version.d.ts +24 -0
  1860. package/dist/host/openapi/version.d.ts.map +1 -0
  1861. package/dist/host/openapi/version.js +54 -0
  1862. package/dist/host/openapi/version.js.map +1 -0
  1863. package/dist/host/testing/conformance.d.ts +95 -0
  1864. package/dist/host/testing/conformance.d.ts.map +1 -0
  1865. package/dist/host/testing/conformance.js +210 -0
  1866. package/dist/host/testing/conformance.js.map +1 -0
  1867. package/dist/host/testing/event-bus-conformance.d.ts +52 -0
  1868. package/dist/host/testing/event-bus-conformance.d.ts.map +1 -0
  1869. package/dist/host/testing/event-bus-conformance.js +188 -0
  1870. package/dist/host/testing/event-bus-conformance.js.map +1 -0
  1871. package/dist/host/testing/fake-event-bus-network.d.ts +45 -0
  1872. package/dist/host/testing/fake-event-bus-network.d.ts.map +1 -0
  1873. package/dist/host/testing/fake-event-bus-network.js +117 -0
  1874. package/dist/host/testing/fake-event-bus-network.js.map +1 -0
  1875. package/dist/host/testing/index.d.ts +6 -0
  1876. package/dist/host/testing/index.d.ts.map +1 -0
  1877. package/dist/host/testing/index.js +19 -0
  1878. package/dist/host/testing/index.js.map +1 -0
  1879. package/dist/identity/allowlist/allowlist.controller.d.ts +22 -0
  1880. package/dist/identity/allowlist/allowlist.controller.d.ts.map +1 -0
  1881. package/dist/identity/allowlist/allowlist.controller.js +96 -0
  1882. package/dist/identity/allowlist/allowlist.controller.js.map +1 -0
  1883. package/dist/identity/allowlist/allowlist.module.d.ts +8 -0
  1884. package/dist/identity/allowlist/allowlist.module.d.ts.map +1 -0
  1885. package/dist/identity/allowlist/allowlist.module.js +31 -0
  1886. package/dist/identity/allowlist/allowlist.module.js.map +1 -0
  1887. package/dist/identity/allowlist/allowlist.permissions.d.ts +15 -0
  1888. package/dist/identity/allowlist/allowlist.permissions.d.ts.map +1 -0
  1889. package/dist/identity/allowlist/allowlist.permissions.js +37 -0
  1890. package/dist/identity/allowlist/allowlist.permissions.js.map +1 -0
  1891. package/dist/identity/allowlist/allowlist.service.d.ts +63 -0
  1892. package/dist/identity/allowlist/allowlist.service.d.ts.map +1 -0
  1893. package/dist/identity/allowlist/allowlist.service.js +258 -0
  1894. package/dist/identity/allowlist/allowlist.service.js.map +1 -0
  1895. package/dist/identity/allowlist/dto/add-email.dto.d.ts +13 -0
  1896. package/dist/identity/allowlist/dto/add-email.dto.d.ts.map +1 -0
  1897. package/dist/identity/allowlist/dto/add-email.dto.js +16 -0
  1898. package/dist/identity/allowlist/dto/add-email.dto.js.map +1 -0
  1899. package/dist/identity/allowlist/dto/allowlist-query.dto.d.ts +43 -0
  1900. package/dist/identity/allowlist/dto/allowlist-query.dto.d.ts.map +1 -0
  1901. package/dist/identity/allowlist/dto/allowlist-query.dto.js +17 -0
  1902. package/dist/identity/allowlist/dto/allowlist-query.dto.js.map +1 -0
  1903. package/dist/identity/allowlist/dto/allowlist-response.dto.d.ts +39 -0
  1904. package/dist/identity/allowlist/dto/allowlist-response.dto.d.ts.map +1 -0
  1905. package/dist/identity/allowlist/dto/allowlist-response.dto.js +33 -0
  1906. package/dist/identity/allowlist/dto/allowlist-response.dto.js.map +1 -0
  1907. package/dist/identity/auth/admin-bootstrap.service.d.ts +35 -0
  1908. package/dist/identity/auth/admin-bootstrap.service.d.ts.map +1 -0
  1909. package/dist/identity/auth/admin-bootstrap.service.js +138 -0
  1910. package/dist/identity/auth/admin-bootstrap.service.js.map +1 -0
  1911. package/dist/identity/auth/auth-error-codes.d.ts +64 -0
  1912. package/dist/identity/auth/auth-error-codes.d.ts.map +1 -0
  1913. package/dist/identity/auth/auth-error-codes.js +89 -0
  1914. package/dist/identity/auth/auth-error-codes.js.map +1 -0
  1915. package/dist/identity/auth/auth-provider.controller.d.ts +38 -0
  1916. package/dist/identity/auth/auth-provider.controller.d.ts.map +1 -0
  1917. package/dist/identity/auth/auth-provider.controller.js +137 -0
  1918. package/dist/identity/auth/auth-provider.controller.js.map +1 -0
  1919. package/dist/identity/auth/auth.controller.d.ts +92 -0
  1920. package/dist/identity/auth/auth.controller.d.ts.map +1 -0
  1921. package/dist/identity/auth/auth.controller.js +367 -0
  1922. package/dist/identity/auth/auth.controller.js.map +1 -0
  1923. package/dist/identity/auth/auth.module.d.ts +15 -0
  1924. package/dist/identity/auth/auth.module.d.ts.map +1 -0
  1925. package/dist/identity/auth/auth.module.js +89 -0
  1926. package/dist/identity/auth/auth.module.js.map +1 -0
  1927. package/dist/identity/auth/auth.service.d.ts +386 -0
  1928. package/dist/identity/auth/auth.service.d.ts.map +1 -0
  1929. package/dist/identity/auth/auth.service.js +1394 -0
  1930. package/dist/identity/auth/auth.service.js.map +1 -0
  1931. package/dist/identity/auth/cookie-http.d.ts +51 -0
  1932. package/dist/identity/auth/cookie-http.d.ts.map +1 -0
  1933. package/dist/identity/auth/cookie-http.js +3 -0
  1934. package/dist/identity/auth/cookie-http.js.map +1 -0
  1935. package/dist/identity/auth/credential-binding.d.ts +53 -0
  1936. package/dist/identity/auth/credential-binding.d.ts.map +1 -0
  1937. package/dist/identity/auth/credential-binding.js +73 -0
  1938. package/dist/identity/auth/credential-binding.js.map +1 -0
  1939. package/dist/identity/auth/decorators/auth-credential.decorator.d.ts +44 -0
  1940. package/dist/identity/auth/decorators/auth-credential.decorator.d.ts.map +1 -0
  1941. package/dist/identity/auth/decorators/auth-credential.decorator.js +23 -0
  1942. package/dist/identity/auth/decorators/auth-credential.decorator.js.map +1 -0
  1943. package/dist/identity/auth/decorators/auth.decorator.d.ts +97 -0
  1944. package/dist/identity/auth/decorators/auth.decorator.d.ts.map +1 -0
  1945. package/dist/identity/auth/decorators/auth.decorator.js +104 -0
  1946. package/dist/identity/auth/decorators/auth.decorator.js.map +1 -0
  1947. package/dist/identity/auth/decorators/current-org.decorator.d.ts +29 -0
  1948. package/dist/identity/auth/decorators/current-org.decorator.d.ts.map +1 -0
  1949. package/dist/identity/auth/decorators/current-org.decorator.js +55 -0
  1950. package/dist/identity/auth/decorators/current-org.decorator.js.map +1 -0
  1951. package/dist/identity/auth/decorators/current-principal.decorator.d.ts +38 -0
  1952. package/dist/identity/auth/decorators/current-principal.decorator.d.ts.map +1 -0
  1953. package/dist/identity/auth/decorators/current-principal.decorator.js +40 -0
  1954. package/dist/identity/auth/decorators/current-principal.decorator.js.map +1 -0
  1955. package/dist/identity/auth/decorators/current-user.decorator.d.ts +26 -0
  1956. package/dist/identity/auth/decorators/current-user.decorator.d.ts.map +1 -0
  1957. package/dist/identity/auth/decorators/current-user.decorator.js +33 -0
  1958. package/dist/identity/auth/decorators/current-user.decorator.js.map +1 -0
  1959. package/dist/identity/auth/decorators/index.d.ts +9 -0
  1960. package/dist/identity/auth/decorators/index.d.ts.map +1 -0
  1961. package/dist/identity/auth/decorators/index.js +25 -0
  1962. package/dist/identity/auth/decorators/index.js.map +1 -0
  1963. package/dist/identity/auth/decorators/permissions.decorator.d.ts +43 -0
  1964. package/dist/identity/auth/decorators/permissions.decorator.d.ts.map +1 -0
  1965. package/dist/identity/auth/decorators/permissions.decorator.js +48 -0
  1966. package/dist/identity/auth/decorators/permissions.decorator.js.map +1 -0
  1967. package/dist/identity/auth/decorators/public.decorator.d.ts +22 -0
  1968. package/dist/identity/auth/decorators/public.decorator.d.ts.map +1 -0
  1969. package/dist/identity/auth/decorators/public.decorator.js +27 -0
  1970. package/dist/identity/auth/decorators/public.decorator.js.map +1 -0
  1971. package/dist/identity/auth/decorators/roles.decorator.d.ts +26 -0
  1972. package/dist/identity/auth/decorators/roles.decorator.d.ts.map +1 -0
  1973. package/dist/identity/auth/decorators/roles.decorator.js +30 -0
  1974. package/dist/identity/auth/decorators/roles.decorator.js.map +1 -0
  1975. package/dist/identity/auth/doctor/auth-providers.doctor-check.d.ts +27 -0
  1976. package/dist/identity/auth/doctor/auth-providers.doctor-check.d.ts.map +1 -0
  1977. package/dist/identity/auth/doctor/auth-providers.doctor-check.js +78 -0
  1978. package/dist/identity/auth/doctor/auth-providers.doctor-check.js.map +1 -0
  1979. package/dist/identity/auth/doctor/egress/auth-providers.egress.contributor.d.ts +29 -0
  1980. package/dist/identity/auth/doctor/egress/auth-providers.egress.contributor.d.ts.map +1 -0
  1981. package/dist/identity/auth/doctor/egress/auth-providers.egress.contributor.js +97 -0
  1982. package/dist/identity/auth/doctor/egress/auth-providers.egress.contributor.js.map +1 -0
  1983. package/dist/identity/auth/doctor/egress/google-auth.egress.contributor.d.ts +2 -0
  1984. package/dist/identity/auth/doctor/egress/google-auth.egress.contributor.d.ts.map +1 -0
  1985. package/dist/identity/auth/doctor/egress/google-auth.egress.contributor.js +13 -0
  1986. package/dist/identity/auth/doctor/egress/google-auth.egress.contributor.js.map +1 -0
  1987. package/dist/identity/auth/doctor/initial-admin.doctor-check.d.ts +27 -0
  1988. package/dist/identity/auth/doctor/initial-admin.doctor-check.d.ts.map +1 -0
  1989. package/dist/identity/auth/doctor/initial-admin.doctor-check.js +87 -0
  1990. package/dist/identity/auth/doctor/initial-admin.doctor-check.js.map +1 -0
  1991. package/dist/identity/auth/doctor/jwt-secret.doctor-check.d.ts +27 -0
  1992. package/dist/identity/auth/doctor/jwt-secret.doctor-check.d.ts.map +1 -0
  1993. package/dist/identity/auth/doctor/jwt-secret.doctor-check.js +78 -0
  1994. package/dist/identity/auth/doctor/jwt-secret.doctor-check.js.map +1 -0
  1995. package/dist/identity/auth/doctor/principal-cache.doctor-check.d.ts +25 -0
  1996. package/dist/identity/auth/doctor/principal-cache.doctor-check.d.ts.map +1 -0
  1997. package/dist/identity/auth/doctor/principal-cache.doctor-check.js +95 -0
  1998. package/dist/identity/auth/doctor/principal-cache.doctor-check.js.map +1 -0
  1999. package/dist/identity/auth/dto/auth-provider.dto.d.ts +15 -0
  2000. package/dist/identity/auth/dto/auth-provider.dto.d.ts.map +1 -0
  2001. package/dist/identity/auth/dto/auth-provider.dto.js +60 -0
  2002. package/dist/identity/auth/dto/auth-provider.dto.js.map +1 -0
  2003. package/dist/identity/auth/dto/auth-user.dto.d.ts +50 -0
  2004. package/dist/identity/auth/dto/auth-user.dto.d.ts.map +1 -0
  2005. package/dist/identity/auth/dto/auth-user.dto.js +232 -0
  2006. package/dist/identity/auth/dto/auth-user.dto.js.map +1 -0
  2007. package/dist/identity/auth/dto/switch-org.dto.d.ts +8 -0
  2008. package/dist/identity/auth/dto/switch-org.dto.d.ts.map +1 -0
  2009. package/dist/identity/auth/dto/switch-org.dto.js +10 -0
  2010. package/dist/identity/auth/dto/switch-org.dto.js.map +1 -0
  2011. package/dist/identity/auth/external-profile.d.ts +86 -0
  2012. package/dist/identity/auth/external-profile.d.ts.map +1 -0
  2013. package/dist/identity/auth/external-profile.js +127 -0
  2014. package/dist/identity/auth/external-profile.js.map +1 -0
  2015. package/dist/identity/auth/filters/auth-provider-exception.filter.d.ts +24 -0
  2016. package/dist/identity/auth/filters/auth-provider-exception.filter.d.ts.map +1 -0
  2017. package/dist/identity/auth/filters/auth-provider-exception.filter.js +62 -0
  2018. package/dist/identity/auth/filters/auth-provider-exception.filter.js.map +1 -0
  2019. package/dist/identity/auth/filters/google-oauth-exception.filter.d.ts +27 -0
  2020. package/dist/identity/auth/filters/google-oauth-exception.filter.d.ts.map +1 -0
  2021. package/dist/identity/auth/filters/google-oauth-exception.filter.js +65 -0
  2022. package/dist/identity/auth/filters/google-oauth-exception.filter.js.map +1 -0
  2023. package/dist/identity/auth/guards/external-provider.guard.d.ts +29 -0
  2024. package/dist/identity/auth/guards/external-provider.guard.d.ts.map +1 -0
  2025. package/dist/identity/auth/guards/external-provider.guard.js +166 -0
  2026. package/dist/identity/auth/guards/external-provider.guard.js.map +1 -0
  2027. package/dist/identity/auth/guards/google-oauth.guard.d.ts +70 -0
  2028. package/dist/identity/auth/guards/google-oauth.guard.d.ts.map +1 -0
  2029. package/dist/identity/auth/guards/google-oauth.guard.js +108 -0
  2030. package/dist/identity/auth/guards/google-oauth.guard.js.map +1 -0
  2031. package/dist/identity/auth/guards/index.d.ts +5 -0
  2032. package/dist/identity/auth/guards/index.d.ts.map +1 -0
  2033. package/dist/identity/auth/guards/index.js +21 -0
  2034. package/dist/identity/auth/guards/index.js.map +1 -0
  2035. package/dist/identity/auth/guards/jwt-auth.guard.d.ts +85 -0
  2036. package/dist/identity/auth/guards/jwt-auth.guard.d.ts.map +1 -0
  2037. package/dist/identity/auth/guards/jwt-auth.guard.js +250 -0
  2038. package/dist/identity/auth/guards/jwt-auth.guard.js.map +1 -0
  2039. package/dist/identity/auth/guards/permissions.guard.d.ts +21 -0
  2040. package/dist/identity/auth/guards/permissions.guard.d.ts.map +1 -0
  2041. package/dist/identity/auth/guards/permissions.guard.js +79 -0
  2042. package/dist/identity/auth/guards/permissions.guard.js.map +1 -0
  2043. package/dist/identity/auth/guards/roles.guard.d.ts +20 -0
  2044. package/dist/identity/auth/guards/roles.guard.d.ts.map +1 -0
  2045. package/dist/identity/auth/guards/roles.guard.js +61 -0
  2046. package/dist/identity/auth/guards/roles.guard.js.map +1 -0
  2047. package/dist/identity/auth/handlers/token-cleanup.handler.d.ts +44 -0
  2048. package/dist/identity/auth/handlers/token-cleanup.handler.d.ts.map +1 -0
  2049. package/dist/identity/auth/handlers/token-cleanup.handler.js +124 -0
  2050. package/dist/identity/auth/handlers/token-cleanup.handler.js.map +1 -0
  2051. package/dist/identity/auth/interfaces/authenticated-user.interface.d.ts +121 -0
  2052. package/dist/identity/auth/interfaces/authenticated-user.interface.d.ts.map +1 -0
  2053. package/dist/identity/auth/interfaces/authenticated-user.interface.js +25 -0
  2054. package/dist/identity/auth/interfaces/authenticated-user.interface.js.map +1 -0
  2055. package/dist/identity/auth/principal-cache/index.d.ts +5 -0
  2056. package/dist/identity/auth/principal-cache/index.d.ts.map +1 -0
  2057. package/dist/identity/auth/principal-cache/index.js +15 -0
  2058. package/dist/identity/auth/principal-cache/index.js.map +1 -0
  2059. package/dist/identity/auth/principal-cache/local-event-bus.d.ts +15 -0
  2060. package/dist/identity/auth/principal-cache/local-event-bus.d.ts.map +1 -0
  2061. package/dist/identity/auth/principal-cache/local-event-bus.js +53 -0
  2062. package/dist/identity/auth/principal-cache/local-event-bus.js.map +1 -0
  2063. package/dist/identity/auth/principal-cache/principal-cache.config.d.ts +16 -0
  2064. package/dist/identity/auth/principal-cache/principal-cache.config.d.ts.map +1 -0
  2065. package/dist/identity/auth/principal-cache/principal-cache.config.js +55 -0
  2066. package/dist/identity/auth/principal-cache/principal-cache.config.js.map +1 -0
  2067. package/dist/identity/auth/principal-cache/principal-cache.module.d.ts +9 -0
  2068. package/dist/identity/auth/principal-cache/principal-cache.module.d.ts.map +1 -0
  2069. package/dist/identity/auth/principal-cache/principal-cache.module.js +44 -0
  2070. package/dist/identity/auth/principal-cache/principal-cache.module.js.map +1 -0
  2071. package/dist/identity/auth/principal-cache/principal-cache.service.d.ts +148 -0
  2072. package/dist/identity/auth/principal-cache/principal-cache.service.d.ts.map +1 -0
  2073. package/dist/identity/auth/principal-cache/principal-cache.service.js +381 -0
  2074. package/dist/identity/auth/principal-cache/principal-cache.service.js.map +1 -0
  2075. package/dist/identity/auth/principal.factory.d.ts +191 -0
  2076. package/dist/identity/auth/principal.factory.d.ts.map +1 -0
  2077. package/dist/identity/auth/principal.factory.js +247 -0
  2078. package/dist/identity/auth/principal.factory.js.map +1 -0
  2079. package/dist/identity/auth/providers/auth-provider.registry.d.ts +217 -0
  2080. package/dist/identity/auth/providers/auth-provider.registry.d.ts.map +1 -0
  2081. package/dist/identity/auth/providers/auth-provider.registry.js +136 -0
  2082. package/dist/identity/auth/providers/auth-provider.registry.js.map +1 -0
  2083. package/dist/identity/auth/providers/cookie-state-store.d.ts +88 -0
  2084. package/dist/identity/auth/providers/cookie-state-store.d.ts.map +1 -0
  2085. package/dist/identity/auth/providers/cookie-state-store.js +86 -0
  2086. package/dist/identity/auth/providers/cookie-state-store.js.map +1 -0
  2087. package/dist/identity/auth/providers/google.provider.d.ts +3 -0
  2088. package/dist/identity/auth/providers/google.provider.d.ts.map +1 -0
  2089. package/dist/identity/auth/providers/google.provider.js +34 -0
  2090. package/dist/identity/auth/providers/google.provider.js.map +1 -0
  2091. package/dist/identity/auth/sign-in-policy.d.ts +87 -0
  2092. package/dist/identity/auth/sign-in-policy.d.ts.map +1 -0
  2093. package/dist/identity/auth/sign-in-policy.js +34 -0
  2094. package/dist/identity/auth/sign-in-policy.js.map +1 -0
  2095. package/dist/identity/auth/sign-in-response.d.ts +94 -0
  2096. package/dist/identity/auth/sign-in-response.d.ts.map +1 -0
  2097. package/dist/identity/auth/sign-in-response.js +128 -0
  2098. package/dist/identity/auth/sign-in-response.js.map +1 -0
  2099. package/dist/identity/auth/strategies/google.strategy.d.ts +44 -0
  2100. package/dist/identity/auth/strategies/google.strategy.d.ts.map +1 -0
  2101. package/dist/identity/auth/strategies/google.strategy.js +67 -0
  2102. package/dist/identity/auth/strategies/google.strategy.js.map +1 -0
  2103. package/dist/identity/auth/strategies/jwt.strategy.d.ts +58 -0
  2104. package/dist/identity/auth/strategies/jwt.strategy.d.ts.map +1 -0
  2105. package/dist/identity/auth/strategies/jwt.strategy.js +57 -0
  2106. package/dist/identity/auth/strategies/jwt.strategy.js.map +1 -0
  2107. package/dist/identity/auth/tasks/token-cleanup.task.d.ts +8 -0
  2108. package/dist/identity/auth/tasks/token-cleanup.task.d.ts.map +1 -0
  2109. package/dist/identity/auth/tasks/token-cleanup.task.js +62 -0
  2110. package/dist/identity/auth/tasks/token-cleanup.task.js.map +1 -0
  2111. package/dist/identity/auth/tenancy-mode.d.ts +16 -0
  2112. package/dist/identity/auth/tenancy-mode.d.ts.map +1 -0
  2113. package/dist/identity/auth/tenancy-mode.js +41 -0
  2114. package/dist/identity/auth/tenancy-mode.js.map +1 -0
  2115. package/dist/identity/data/identity-db.d.ts +448 -0
  2116. package/dist/identity/data/identity-db.d.ts.map +1 -0
  2117. package/dist/identity/data/identity-db.js +58 -0
  2118. package/dist/identity/data/identity-db.js.map +1 -0
  2119. package/dist/identity/device-auth/device-auth.controller.d.ts +57 -0
  2120. package/dist/identity/device-auth/device-auth.controller.d.ts.map +1 -0
  2121. package/dist/identity/device-auth/device-auth.controller.js +315 -0
  2122. package/dist/identity/device-auth/device-auth.controller.js.map +1 -0
  2123. package/dist/identity/device-auth/device-auth.module.d.ts +16 -0
  2124. package/dist/identity/device-auth/device-auth.module.d.ts.map +1 -0
  2125. package/dist/identity/device-auth/device-auth.module.js +41 -0
  2126. package/dist/identity/device-auth/device-auth.module.js.map +1 -0
  2127. package/dist/identity/device-auth/device-auth.service.d.ts +213 -0
  2128. package/dist/identity/device-auth/device-auth.service.d.ts.map +1 -0
  2129. package/dist/identity/device-auth/device-auth.service.js +738 -0
  2130. package/dist/identity/device-auth/device-auth.service.js.map +1 -0
  2131. package/dist/identity/device-auth/dto/device-activate-response.dto.d.ts +10 -0
  2132. package/dist/identity/device-auth/dto/device-activate-response.dto.d.ts.map +1 -0
  2133. package/dist/identity/device-auth/dto/device-activate-response.dto.js +54 -0
  2134. package/dist/identity/device-auth/dto/device-activate-response.dto.js.map +1 -0
  2135. package/dist/identity/device-auth/dto/device-authorize-request.dto.d.ts +17 -0
  2136. package/dist/identity/device-auth/dto/device-authorize-request.dto.d.ts.map +1 -0
  2137. package/dist/identity/device-auth/dto/device-authorize-request.dto.js +41 -0
  2138. package/dist/identity/device-auth/dto/device-authorize-request.dto.js.map +1 -0
  2139. package/dist/identity/device-auth/dto/device-authorize-response.dto.d.ts +8 -0
  2140. package/dist/identity/device-auth/dto/device-authorize-response.dto.d.ts.map +1 -0
  2141. package/dist/identity/device-auth/dto/device-authorize-response.dto.js +36 -0
  2142. package/dist/identity/device-auth/dto/device-authorize-response.dto.js.map +1 -0
  2143. package/dist/identity/device-auth/dto/device-code-request.dto.d.ts +30 -0
  2144. package/dist/identity/device-auth/dto/device-code-request.dto.d.ts.map +1 -0
  2145. package/dist/identity/device-auth/dto/device-code-request.dto.js +51 -0
  2146. package/dist/identity/device-auth/dto/device-code-request.dto.js.map +1 -0
  2147. package/dist/identity/device-auth/dto/device-code-response.dto.d.ts +13 -0
  2148. package/dist/identity/device-auth/dto/device-code-response.dto.d.ts.map +1 -0
  2149. package/dist/identity/device-auth/dto/device-code-response.dto.js +74 -0
  2150. package/dist/identity/device-auth/dto/device-code-response.dto.js.map +1 -0
  2151. package/dist/identity/device-auth/dto/device-session.dto.d.ts +24 -0
  2152. package/dist/identity/device-auth/dto/device-session.dto.d.ts.map +1 -0
  2153. package/dist/identity/device-auth/dto/device-session.dto.js +151 -0
  2154. package/dist/identity/device-auth/dto/device-session.dto.js.map +1 -0
  2155. package/dist/identity/device-auth/dto/device-token-error.dto.d.ts +16 -0
  2156. package/dist/identity/device-auth/dto/device-token-error.dto.d.ts.map +1 -0
  2157. package/dist/identity/device-auth/dto/device-token-error.dto.js +53 -0
  2158. package/dist/identity/device-auth/dto/device-token-error.dto.js.map +1 -0
  2159. package/dist/identity/device-auth/dto/device-token-request.dto.d.ts +14 -0
  2160. package/dist/identity/device-auth/dto/device-token-request.dto.d.ts.map +1 -0
  2161. package/dist/identity/device-auth/dto/device-token-request.dto.js +33 -0
  2162. package/dist/identity/device-auth/dto/device-token-request.dto.js.map +1 -0
  2163. package/dist/identity/device-auth/dto/device-token-response.dto.d.ts +50 -0
  2164. package/dist/identity/device-auth/dto/device-token-response.dto.d.ts.map +1 -0
  2165. package/dist/identity/device-auth/dto/device-token-response.dto.js +145 -0
  2166. package/dist/identity/device-auth/dto/device-token-response.dto.js.map +1 -0
  2167. package/dist/identity/device-auth/dto/index.d.ts +10 -0
  2168. package/dist/identity/device-auth/dto/index.d.ts.map +1 -0
  2169. package/dist/identity/device-auth/dto/index.js +26 -0
  2170. package/dist/identity/device-auth/dto/index.js.map +1 -0
  2171. package/dist/identity/device-auth/exceptions/device-token-error.exception.d.ts +38 -0
  2172. package/dist/identity/device-auth/exceptions/device-token-error.exception.d.ts.map +1 -0
  2173. package/dist/identity/device-auth/exceptions/device-token-error.exception.js +61 -0
  2174. package/dist/identity/device-auth/exceptions/device-token-error.exception.js.map +1 -0
  2175. package/dist/identity/device-auth/handlers/device-code-cleanup.handler.d.ts +30 -0
  2176. package/dist/identity/device-auth/handlers/device-code-cleanup.handler.d.ts.map +1 -0
  2177. package/dist/identity/device-auth/handlers/device-code-cleanup.handler.js +80 -0
  2178. package/dist/identity/device-auth/handlers/device-code-cleanup.handler.js.map +1 -0
  2179. package/dist/identity/device-auth/tasks/device-code-cleanup.task.d.ts +8 -0
  2180. package/dist/identity/device-auth/tasks/device-code-cleanup.task.d.ts.map +1 -0
  2181. package/dist/identity/device-auth/tasks/device-code-cleanup.task.js +58 -0
  2182. package/dist/identity/device-auth/tasks/device-code-cleanup.task.js.map +1 -0
  2183. package/dist/identity/extensions/user-extensions.d.ts +263 -0
  2184. package/dist/identity/extensions/user-extensions.d.ts.map +1 -0
  2185. package/dist/identity/extensions/user-extensions.js +455 -0
  2186. package/dist/identity/extensions/user-extensions.js.map +1 -0
  2187. package/dist/identity/identity.configuration.d.ts +81 -0
  2188. package/dist/identity/identity.configuration.d.ts.map +1 -0
  2189. package/dist/identity/identity.configuration.js +87 -0
  2190. package/dist/identity/identity.configuration.js.map +1 -0
  2191. package/dist/identity/identity.constants.d.ts +3 -0
  2192. package/dist/identity/identity.constants.d.ts.map +1 -0
  2193. package/dist/identity/identity.constants.js +14 -0
  2194. package/dist/identity/identity.constants.js.map +1 -0
  2195. package/dist/identity/identity.events.d.ts +124 -0
  2196. package/dist/identity/identity.events.d.ts.map +1 -0
  2197. package/dist/identity/identity.events.js +74 -0
  2198. package/dist/identity/identity.events.js.map +1 -0
  2199. package/dist/identity/identity.module.d.ts +35 -0
  2200. package/dist/identity/identity.module.d.ts.map +1 -0
  2201. package/dist/identity/identity.module.js +127 -0
  2202. package/dist/identity/identity.module.js.map +1 -0
  2203. package/dist/identity/identity.options.d.ts +92 -0
  2204. package/dist/identity/identity.options.d.ts.map +1 -0
  2205. package/dist/identity/identity.options.js +71 -0
  2206. package/dist/identity/identity.options.js.map +1 -0
  2207. package/dist/identity/identity.permissions.d.ts +135 -0
  2208. package/dist/identity/identity.permissions.d.ts.map +1 -0
  2209. package/dist/identity/identity.permissions.js +111 -0
  2210. package/dist/identity/identity.permissions.js.map +1 -0
  2211. package/dist/identity/index.d.ts +121 -0
  2212. package/dist/identity/index.d.ts.map +1 -0
  2213. package/dist/identity/index.js +243 -0
  2214. package/dist/identity/index.js.map +1 -0
  2215. package/dist/identity/metadata/identity-metadata.service.d.ts +142 -0
  2216. package/dist/identity/metadata/identity-metadata.service.d.ts.map +1 -0
  2217. package/dist/identity/metadata/identity-metadata.service.js +273 -0
  2218. package/dist/identity/metadata/identity-metadata.service.js.map +1 -0
  2219. package/dist/identity/metadata/metadata-registry.d.ts +102 -0
  2220. package/dist/identity/metadata/metadata-registry.d.ts.map +1 -0
  2221. package/dist/identity/metadata/metadata-registry.js +130 -0
  2222. package/dist/identity/metadata/metadata-registry.js.map +1 -0
  2223. package/dist/identity/metadata/metadata-secret-guard.d.ts +58 -0
  2224. package/dist/identity/metadata/metadata-secret-guard.d.ts.map +1 -0
  2225. package/dist/identity/metadata/metadata-secret-guard.js +138 -0
  2226. package/dist/identity/metadata/metadata-secret-guard.js.map +1 -0
  2227. package/dist/identity/organizations/doctor/tenancy-mode.doctor-check.d.ts +49 -0
  2228. package/dist/identity/organizations/doctor/tenancy-mode.doctor-check.d.ts.map +1 -0
  2229. package/dist/identity/organizations/doctor/tenancy-mode.doctor-check.js +129 -0
  2230. package/dist/identity/organizations/doctor/tenancy-mode.doctor-check.js.map +1 -0
  2231. package/dist/identity/organizations/dto/org-invite.dto.d.ts +37 -0
  2232. package/dist/identity/organizations/dto/org-invite.dto.d.ts.map +1 -0
  2233. package/dist/identity/organizations/dto/org-invite.dto.js +21 -0
  2234. package/dist/identity/organizations/dto/org-invite.dto.js.map +1 -0
  2235. package/dist/identity/organizations/dto/org-member.dto.d.ts +29 -0
  2236. package/dist/identity/organizations/dto/org-member.dto.d.ts.map +1 -0
  2237. package/dist/identity/organizations/dto/org-member.dto.js +22 -0
  2238. package/dist/identity/organizations/dto/org-member.dto.js.map +1 -0
  2239. package/dist/identity/organizations/dto/organization.dto.d.ts +34 -0
  2240. package/dist/identity/organizations/dto/organization.dto.d.ts.map +1 -0
  2241. package/dist/identity/organizations/dto/organization.dto.js +27 -0
  2242. package/dist/identity/organizations/dto/organization.dto.js.map +1 -0
  2243. package/dist/identity/organizations/org-admin.common.d.ts +34 -0
  2244. package/dist/identity/organizations/org-admin.common.d.ts.map +1 -0
  2245. package/dist/identity/organizations/org-admin.common.js +76 -0
  2246. package/dist/identity/organizations/org-admin.common.js.map +1 -0
  2247. package/dist/identity/organizations/org-invites.controller.d.ts +21 -0
  2248. package/dist/identity/organizations/org-invites.controller.d.ts.map +1 -0
  2249. package/dist/identity/organizations/org-invites.controller.js +107 -0
  2250. package/dist/identity/organizations/org-invites.controller.js.map +1 -0
  2251. package/dist/identity/organizations/org-invites.service.d.ts +128 -0
  2252. package/dist/identity/organizations/org-invites.service.d.ts.map +1 -0
  2253. package/dist/identity/organizations/org-invites.service.js +294 -0
  2254. package/dist/identity/organizations/org-invites.service.js.map +1 -0
  2255. package/dist/identity/organizations/org-members.controller.d.ts +26 -0
  2256. package/dist/identity/organizations/org-members.controller.d.ts.map +1 -0
  2257. package/dist/identity/organizations/org-members.controller.js +116 -0
  2258. package/dist/identity/organizations/org-members.controller.js.map +1 -0
  2259. package/dist/identity/organizations/org-members.service.d.ts +84 -0
  2260. package/dist/identity/organizations/org-members.service.d.ts.map +1 -0
  2261. package/dist/identity/organizations/org-members.service.js +302 -0
  2262. package/dist/identity/organizations/org-members.service.js.map +1 -0
  2263. package/dist/identity/organizations/org-scope.d.ts +65 -0
  2264. package/dist/identity/organizations/org-scope.d.ts.map +1 -0
  2265. package/dist/identity/organizations/org-scope.js +84 -0
  2266. package/dist/identity/organizations/org-scope.js.map +1 -0
  2267. package/dist/identity/organizations/organizations-admin.controller.d.ts +23 -0
  2268. package/dist/identity/organizations/organizations-admin.controller.d.ts.map +1 -0
  2269. package/dist/identity/organizations/organizations-admin.controller.js +103 -0
  2270. package/dist/identity/organizations/organizations-admin.controller.js.map +1 -0
  2271. package/dist/identity/organizations/organizations-admin.service.d.ts +58 -0
  2272. package/dist/identity/organizations/organizations-admin.service.d.ts.map +1 -0
  2273. package/dist/identity/organizations/organizations-admin.service.js +191 -0
  2274. package/dist/identity/organizations/organizations-admin.service.js.map +1 -0
  2275. package/dist/identity/organizations/organizations.errors.d.ts +13 -0
  2276. package/dist/identity/organizations/organizations.errors.d.ts.map +1 -0
  2277. package/dist/identity/organizations/organizations.errors.js +19 -0
  2278. package/dist/identity/organizations/organizations.errors.js.map +1 -0
  2279. package/dist/identity/organizations/organizations.metrics.d.ts +24 -0
  2280. package/dist/identity/organizations/organizations.metrics.d.ts.map +1 -0
  2281. package/dist/identity/organizations/organizations.metrics.js +27 -0
  2282. package/dist/identity/organizations/organizations.metrics.js.map +1 -0
  2283. package/dist/identity/organizations/organizations.module.d.ts +17 -0
  2284. package/dist/identity/organizations/organizations.module.d.ts.map +1 -0
  2285. package/dist/identity/organizations/organizations.module.js +60 -0
  2286. package/dist/identity/organizations/organizations.module.js.map +1 -0
  2287. package/dist/identity/organizations/organizations.permissions.d.ts +23 -0
  2288. package/dist/identity/organizations/organizations.permissions.d.ts.map +1 -0
  2289. package/dist/identity/organizations/organizations.permissions.js +76 -0
  2290. package/dist/identity/organizations/organizations.permissions.js.map +1 -0
  2291. package/dist/identity/organizations/organizations.service.d.ts +173 -0
  2292. package/dist/identity/organizations/organizations.service.d.ts.map +1 -0
  2293. package/dist/identity/organizations/organizations.service.js +408 -0
  2294. package/dist/identity/organizations/organizations.service.js.map +1 -0
  2295. package/dist/identity/organizations/tenancy-mode.d.ts +79 -0
  2296. package/dist/identity/organizations/tenancy-mode.d.ts.map +1 -0
  2297. package/dist/identity/organizations/tenancy-mode.js +128 -0
  2298. package/dist/identity/organizations/tenancy-mode.js.map +1 -0
  2299. package/dist/identity/organizations/tenancy.service.d.ts +35 -0
  2300. package/dist/identity/organizations/tenancy.service.d.ts.map +1 -0
  2301. package/dist/identity/organizations/tenancy.service.js +65 -0
  2302. package/dist/identity/organizations/tenancy.service.js.map +1 -0
  2303. package/dist/identity/pat/dto/create-pat.dto.d.ts +11 -0
  2304. package/dist/identity/pat/dto/create-pat.dto.d.ts.map +1 -0
  2305. package/dist/identity/pat/dto/create-pat.dto.js +10 -0
  2306. package/dist/identity/pat/dto/create-pat.dto.js.map +1 -0
  2307. package/dist/identity/pat/dto/pat-response.dto.d.ts +28 -0
  2308. package/dist/identity/pat/dto/pat-response.dto.d.ts.map +1 -0
  2309. package/dist/identity/pat/dto/pat-response.dto.js +119 -0
  2310. package/dist/identity/pat/dto/pat-response.dto.js.map +1 -0
  2311. package/dist/identity/pat/index.d.ts +3 -0
  2312. package/dist/identity/pat/index.d.ts.map +1 -0
  2313. package/dist/identity/pat/index.js +8 -0
  2314. package/dist/identity/pat/index.js.map +1 -0
  2315. package/dist/identity/pat/pat.controller.d.ts +12 -0
  2316. package/dist/identity/pat/pat.controller.d.ts.map +1 -0
  2317. package/dist/identity/pat/pat.controller.js +111 -0
  2318. package/dist/identity/pat/pat.controller.js.map +1 -0
  2319. package/dist/identity/pat/pat.module.d.ts +8 -0
  2320. package/dist/identity/pat/pat.module.d.ts.map +1 -0
  2321. package/dist/identity/pat/pat.module.js +32 -0
  2322. package/dist/identity/pat/pat.module.js.map +1 -0
  2323. package/dist/identity/pat/pat.service.d.ts +86 -0
  2324. package/dist/identity/pat/pat.service.d.ts.map +1 -0
  2325. package/dist/identity/pat/pat.service.js +296 -0
  2326. package/dist/identity/pat/pat.service.js.map +1 -0
  2327. package/dist/identity/ports.d.ts +396 -0
  2328. package/dist/identity/ports.d.ts.map +1 -0
  2329. package/dist/identity/ports.js +126 -0
  2330. package/dist/identity/ports.js.map +1 -0
  2331. package/dist/identity/roles/dto/roles.dto.d.ts +16 -0
  2332. package/dist/identity/roles/dto/roles.dto.d.ts.map +1 -0
  2333. package/dist/identity/roles/dto/roles.dto.js +13 -0
  2334. package/dist/identity/roles/dto/roles.dto.js.map +1 -0
  2335. package/dist/identity/roles/index.d.ts +3 -0
  2336. package/dist/identity/roles/index.d.ts.map +1 -0
  2337. package/dist/identity/roles/index.js +15 -0
  2338. package/dist/identity/roles/index.js.map +1 -0
  2339. package/dist/identity/roles/role-catalog.d.ts +90 -0
  2340. package/dist/identity/roles/role-catalog.d.ts.map +1 -0
  2341. package/dist/identity/roles/role-catalog.js +187 -0
  2342. package/dist/identity/roles/role-catalog.js.map +1 -0
  2343. package/dist/identity/roles/roles.controller.d.ts +21 -0
  2344. package/dist/identity/roles/roles.controller.d.ts.map +1 -0
  2345. package/dist/identity/roles/roles.controller.js +72 -0
  2346. package/dist/identity/roles/roles.controller.js.map +1 -0
  2347. package/dist/identity/roles/roles.module.d.ts +8 -0
  2348. package/dist/identity/roles/roles.module.d.ts.map +1 -0
  2349. package/dist/identity/roles/roles.module.js +23 -0
  2350. package/dist/identity/roles/roles.module.js.map +1 -0
  2351. package/dist/identity/testing/auth-provider-conformance.d.ts +99 -0
  2352. package/dist/identity/testing/auth-provider-conformance.d.ts.map +1 -0
  2353. package/dist/identity/testing/auth-provider-conformance.js +184 -0
  2354. package/dist/identity/testing/auth-provider-conformance.js.map +1 -0
  2355. package/dist/identity/testing/conformance.d.ts +208 -0
  2356. package/dist/identity/testing/conformance.d.ts.map +1 -0
  2357. package/dist/identity/testing/conformance.js +369 -0
  2358. package/dist/identity/testing/conformance.js.map +1 -0
  2359. package/dist/identity/testing/dto/test-login.dto.d.ts +10 -0
  2360. package/dist/identity/testing/dto/test-login.dto.d.ts.map +1 -0
  2361. package/dist/identity/testing/dto/test-login.dto.js +17 -0
  2362. package/dist/identity/testing/dto/test-login.dto.js.map +1 -0
  2363. package/dist/identity/testing/guards/test-environment.guard.d.ts +14 -0
  2364. package/dist/identity/testing/guards/test-environment.guard.d.ts.map +1 -0
  2365. package/dist/identity/testing/guards/test-environment.guard.js +39 -0
  2366. package/dist/identity/testing/guards/test-environment.guard.js.map +1 -0
  2367. package/dist/identity/testing/index.d.ts +11 -0
  2368. package/dist/identity/testing/index.d.ts.map +1 -0
  2369. package/dist/identity/testing/index.js +32 -0
  2370. package/dist/identity/testing/index.js.map +1 -0
  2371. package/dist/identity/testing/stub-host.d.ts +76 -0
  2372. package/dist/identity/testing/stub-host.d.ts.map +1 -0
  2373. package/dist/identity/testing/stub-host.js +91 -0
  2374. package/dist/identity/testing/stub-host.js.map +1 -0
  2375. package/dist/identity/testing/test-auth.controller.d.ts +25 -0
  2376. package/dist/identity/testing/test-auth.controller.d.ts.map +1 -0
  2377. package/dist/identity/testing/test-auth.controller.js +114 -0
  2378. package/dist/identity/testing/test-auth.controller.js.map +1 -0
  2379. package/dist/identity/testing/test-auth.module.d.ts +8 -0
  2380. package/dist/identity/testing/test-auth.module.d.ts.map +1 -0
  2381. package/dist/identity/testing/test-auth.module.js +51 -0
  2382. package/dist/identity/testing/test-auth.module.js.map +1 -0
  2383. package/dist/identity/testing/test-auth.service.d.ts +64 -0
  2384. package/dist/identity/testing/test-auth.service.d.ts.map +1 -0
  2385. package/dist/identity/testing/test-auth.service.js +262 -0
  2386. package/dist/identity/testing/test-auth.service.js.map +1 -0
  2387. package/dist/identity/users/dto/update-user-roles.dto.d.ts +18 -0
  2388. package/dist/identity/users/dto/update-user-roles.dto.d.ts.map +1 -0
  2389. package/dist/identity/users/dto/update-user-roles.dto.js +22 -0
  2390. package/dist/identity/users/dto/update-user-roles.dto.js.map +1 -0
  2391. package/dist/identity/users/dto/update-user.dto.d.ts +13 -0
  2392. package/dist/identity/users/dto/update-user.dto.d.ts.map +1 -0
  2393. package/dist/identity/users/dto/update-user.dto.js +13 -0
  2394. package/dist/identity/users/dto/update-user.dto.js.map +1 -0
  2395. package/dist/identity/users/dto/user-list-query.dto.d.ts +43 -0
  2396. package/dist/identity/users/dto/user-list-query.dto.d.ts.map +1 -0
  2397. package/dist/identity/users/dto/user-list-query.dto.js +18 -0
  2398. package/dist/identity/users/dto/user-list-query.dto.js.map +1 -0
  2399. package/dist/identity/users/dto/user-response.dto.d.ts +144 -0
  2400. package/dist/identity/users/dto/user-response.dto.d.ts.map +1 -0
  2401. package/dist/identity/users/dto/user-response.dto.js +66 -0
  2402. package/dist/identity/users/dto/user-response.dto.js.map +1 -0
  2403. package/dist/identity/users/users.controller.d.ts +75 -0
  2404. package/dist/identity/users/users.controller.d.ts.map +1 -0
  2405. package/dist/identity/users/users.controller.js +124 -0
  2406. package/dist/identity/users/users.controller.js.map +1 -0
  2407. package/dist/identity/users/users.module.d.ts +8 -0
  2408. package/dist/identity/users/users.module.d.ts.map +1 -0
  2409. package/dist/identity/users/users.module.js +35 -0
  2410. package/dist/identity/users/users.module.js.map +1 -0
  2411. package/dist/identity/users/users.permissions.d.ts +17 -0
  2412. package/dist/identity/users/users.permissions.d.ts.map +1 -0
  2413. package/dist/identity/users/users.permissions.js +44 -0
  2414. package/dist/identity/users/users.permissions.js.map +1 -0
  2415. package/dist/identity/users/users.service.d.ts +144 -0
  2416. package/dist/identity/users/users.service.d.ts.map +1 -0
  2417. package/dist/identity/users/users.service.js +482 -0
  2418. package/dist/identity/users/users.service.js.map +1 -0
  2419. package/dist/jobs/backoff.util.d.ts +59 -0
  2420. package/dist/jobs/backoff.util.d.ts.map +1 -0
  2421. package/dist/jobs/backoff.util.js +100 -0
  2422. package/dist/jobs/backoff.util.js.map +1 -0
  2423. package/dist/jobs/data/jobs-db.d.ts +404 -0
  2424. package/dist/jobs/data/jobs-db.d.ts.map +1 -0
  2425. package/dist/jobs/data/jobs-db.js +62 -0
  2426. package/dist/jobs/data/jobs-db.js.map +1 -0
  2427. package/dist/jobs/data/prisma-runtime.d.ts +2 -0
  2428. package/dist/jobs/data/prisma-runtime.d.ts.map +1 -0
  2429. package/dist/jobs/data/prisma-runtime.js +28 -0
  2430. package/dist/jobs/data/prisma-runtime.js.map +1 -0
  2431. package/dist/jobs/doctor/jobs-backlog.doctor-check.d.ts +39 -0
  2432. package/dist/jobs/doctor/jobs-backlog.doctor-check.d.ts.map +1 -0
  2433. package/dist/jobs/doctor/jobs-backlog.doctor-check.js +106 -0
  2434. package/dist/jobs/doctor/jobs-backlog.doctor-check.js.map +1 -0
  2435. package/dist/jobs/doctor/jobs-worker.doctor-check.d.ts +32 -0
  2436. package/dist/jobs/doctor/jobs-worker.doctor-check.d.ts.map +1 -0
  2437. package/dist/jobs/doctor/jobs-worker.doctor-check.js +91 -0
  2438. package/dist/jobs/doctor/jobs-worker.doctor-check.js.map +1 -0
  2439. package/dist/jobs/dto/job-actions.dto.d.ts +27 -0
  2440. package/dist/jobs/dto/job-actions.dto.d.ts.map +1 -0
  2441. package/dist/jobs/dto/job-actions.dto.js +30 -0
  2442. package/dist/jobs/dto/job-actions.dto.js.map +1 -0
  2443. package/dist/jobs/dto/job-insights.dto.d.ts +101 -0
  2444. package/dist/jobs/dto/job-insights.dto.d.ts.map +1 -0
  2445. package/dist/jobs/dto/job-insights.dto.js +34 -0
  2446. package/dist/jobs/dto/job-insights.dto.js.map +1 -0
  2447. package/dist/jobs/dto/job-list-query.dto.d.ts +18 -0
  2448. package/dist/jobs/dto/job-list-query.dto.d.ts.map +1 -0
  2449. package/dist/jobs/dto/job-list-query.dto.js +20 -0
  2450. package/dist/jobs/dto/job-list-query.dto.js.map +1 -0
  2451. package/dist/jobs/dto/job-response.dto.d.ts +49 -0
  2452. package/dist/jobs/dto/job-response.dto.d.ts.map +1 -0
  2453. package/dist/jobs/dto/job-response.dto.js +23 -0
  2454. package/dist/jobs/dto/job-response.dto.js.map +1 -0
  2455. package/dist/jobs/dto/job-stats.dto.d.ts +41 -0
  2456. package/dist/jobs/dto/job-stats.dto.d.ts.map +1 -0
  2457. package/dist/jobs/dto/job-stats.dto.js +20 -0
  2458. package/dist/jobs/dto/job-stats.dto.js.map +1 -0
  2459. package/dist/jobs/events/job-settled.event.d.ts +58 -0
  2460. package/dist/jobs/events/job-settled.event.d.ts.map +1 -0
  2461. package/dist/jobs/events/job-settled.event.js +124 -0
  2462. package/dist/jobs/events/job-settled.event.js.map +1 -0
  2463. package/dist/jobs/handlers/job-history-purge.handler.d.ts +110 -0
  2464. package/dist/jobs/handlers/job-history-purge.handler.d.ts.map +1 -0
  2465. package/dist/jobs/handlers/job-history-purge.handler.js +378 -0
  2466. package/dist/jobs/handlers/job-history-purge.handler.js.map +1 -0
  2467. package/dist/jobs/housekeeping.enqueue.d.ts +57 -0
  2468. package/dist/jobs/housekeeping.enqueue.d.ts.map +1 -0
  2469. package/dist/jobs/housekeeping.enqueue.js +139 -0
  2470. package/dist/jobs/housekeeping.enqueue.js.map +1 -0
  2471. package/dist/jobs/index.d.ts +71 -0
  2472. package/dist/jobs/index.d.ts.map +1 -0
  2473. package/dist/jobs/index.js +168 -0
  2474. package/dist/jobs/index.js.map +1 -0
  2475. package/dist/jobs/job-admin.controller.d.ts +19 -0
  2476. package/dist/jobs/job-admin.controller.d.ts.map +1 -0
  2477. package/dist/jobs/job-admin.controller.js +347 -0
  2478. package/dist/jobs/job-admin.controller.js.map +1 -0
  2479. package/dist/jobs/job-admin.service.d.ts +228 -0
  2480. package/dist/jobs/job-admin.service.d.ts.map +1 -0
  2481. package/dist/jobs/job-admin.service.js +699 -0
  2482. package/dist/jobs/job-admin.service.js.map +1 -0
  2483. package/dist/jobs/job-claim.service.d.ts +103 -0
  2484. package/dist/jobs/job-claim.service.d.ts.map +1 -0
  2485. package/dist/jobs/job-claim.service.js +457 -0
  2486. package/dist/jobs/job-claim.service.js.map +1 -0
  2487. package/dist/jobs/job-clock.d.ts +46 -0
  2488. package/dist/jobs/job-clock.d.ts.map +1 -0
  2489. package/dist/jobs/job-clock.js +73 -0
  2490. package/dist/jobs/job-clock.js.map +1 -0
  2491. package/dist/jobs/job-counts.util.d.ts +44 -0
  2492. package/dist/jobs/job-counts.util.d.ts.map +1 -0
  2493. package/dist/jobs/job-counts.util.js +76 -0
  2494. package/dist/jobs/job-counts.util.js.map +1 -0
  2495. package/dist/jobs/job-execution-profile.d.ts +185 -0
  2496. package/dist/jobs/job-execution-profile.d.ts.map +1 -0
  2497. package/dist/jobs/job-execution-profile.js +333 -0
  2498. package/dist/jobs/job-execution-profile.js.map +1 -0
  2499. package/dist/jobs/job-handler.interface.d.ts +291 -0
  2500. package/dist/jobs/job-handler.interface.d.ts.map +1 -0
  2501. package/dist/jobs/job-handler.interface.js +191 -0
  2502. package/dist/jobs/job-handler.interface.js.map +1 -0
  2503. package/dist/jobs/job-handler.registry.d.ts +72 -0
  2504. package/dist/jobs/job-handler.registry.d.ts.map +1 -0
  2505. package/dist/jobs/job-handler.registry.js +174 -0
  2506. package/dist/jobs/job-handler.registry.js.map +1 -0
  2507. package/dist/jobs/job-insights.service.d.ts +152 -0
  2508. package/dist/jobs/job-insights.service.d.ts.map +1 -0
  2509. package/dist/jobs/job-insights.service.js +622 -0
  2510. package/dist/jobs/job-insights.service.js.map +1 -0
  2511. package/dist/jobs/job-keys.d.ts +14 -0
  2512. package/dist/jobs/job-keys.d.ts.map +1 -0
  2513. package/dist/jobs/job-keys.js +58 -0
  2514. package/dist/jobs/job-keys.js.map +1 -0
  2515. package/dist/jobs/job-lease.service.d.ts +187 -0
  2516. package/dist/jobs/job-lease.service.d.ts.map +1 -0
  2517. package/dist/jobs/job-lease.service.js +279 -0
  2518. package/dist/jobs/job-lease.service.js.map +1 -0
  2519. package/dist/jobs/job-reason.d.ts +81 -0
  2520. package/dist/jobs/job-reason.d.ts.map +1 -0
  2521. package/dist/jobs/job-reason.js +128 -0
  2522. package/dist/jobs/job-reason.js.map +1 -0
  2523. package/dist/jobs/job-scope.d.ts +41 -0
  2524. package/dist/jobs/job-scope.d.ts.map +1 -0
  2525. package/dist/jobs/job-scope.js +91 -0
  2526. package/dist/jobs/job-scope.js.map +1 -0
  2527. package/dist/jobs/job-secret-broker.d.ts +157 -0
  2528. package/dist/jobs/job-secret-broker.d.ts.map +1 -0
  2529. package/dist/jobs/job-secret-broker.js +97 -0
  2530. package/dist/jobs/job-secret-broker.js.map +1 -0
  2531. package/dist/jobs/job-settled.emit.d.ts +11 -0
  2532. package/dist/jobs/job-settled.emit.d.ts.map +1 -0
  2533. package/dist/jobs/job-settled.emit.js +43 -0
  2534. package/dist/jobs/job-settled.emit.js.map +1 -0
  2535. package/dist/jobs/job-stuck.service.d.ts +260 -0
  2536. package/dist/jobs/job-stuck.service.d.ts.map +1 -0
  2537. package/dist/jobs/job-stuck.service.js +612 -0
  2538. package/dist/jobs/job-stuck.service.js.map +1 -0
  2539. package/dist/jobs/job-temp.d.ts +67 -0
  2540. package/dist/jobs/job-temp.d.ts.map +1 -0
  2541. package/dist/jobs/job-temp.js +157 -0
  2542. package/dist/jobs/job-temp.js.map +1 -0
  2543. package/dist/jobs/job-terminal.service.d.ts +262 -0
  2544. package/dist/jobs/job-terminal.service.d.ts.map +1 -0
  2545. package/dist/jobs/job-terminal.service.js +733 -0
  2546. package/dist/jobs/job-terminal.service.js.map +1 -0
  2547. package/dist/jobs/job-trace-context.d.ts +74 -0
  2548. package/dist/jobs/job-trace-context.d.ts.map +1 -0
  2549. package/dist/jobs/job-trace-context.js +170 -0
  2550. package/dist/jobs/job-trace-context.js.map +1 -0
  2551. package/dist/jobs/job-type-label.d.ts +49 -0
  2552. package/dist/jobs/job-type-label.d.ts.map +1 -0
  2553. package/dist/jobs/job-type-label.js +99 -0
  2554. package/dist/jobs/job-type-label.js.map +1 -0
  2555. package/dist/jobs/job-wake.d.ts +12 -0
  2556. package/dist/jobs/job-wake.d.ts.map +1 -0
  2557. package/dist/jobs/job-wake.js +37 -0
  2558. package/dist/jobs/job-wake.js.map +1 -0
  2559. package/dist/jobs/job.worker.d.ts +514 -0
  2560. package/dist/jobs/job.worker.d.ts.map +1 -0
  2561. package/dist/jobs/job.worker.js +1183 -0
  2562. package/dist/jobs/job.worker.js.map +1 -0
  2563. package/dist/jobs/jobs.configuration.d.ts +71 -0
  2564. package/dist/jobs/jobs.configuration.d.ts.map +1 -0
  2565. package/dist/jobs/jobs.configuration.js +69 -0
  2566. package/dist/jobs/jobs.configuration.js.map +1 -0
  2567. package/dist/jobs/jobs.constants.d.ts +11 -0
  2568. package/dist/jobs/jobs.constants.d.ts.map +1 -0
  2569. package/dist/jobs/jobs.constants.js +16 -0
  2570. package/dist/jobs/jobs.constants.js.map +1 -0
  2571. package/dist/jobs/jobs.module.d.ts +37 -0
  2572. package/dist/jobs/jobs.module.d.ts.map +1 -0
  2573. package/dist/jobs/jobs.module.js +283 -0
  2574. package/dist/jobs/jobs.module.js.map +1 -0
  2575. package/dist/jobs/jobs.options.d.ts +97 -0
  2576. package/dist/jobs/jobs.options.d.ts.map +1 -0
  2577. package/dist/jobs/jobs.options.js +79 -0
  2578. package/dist/jobs/jobs.options.js.map +1 -0
  2579. package/dist/jobs/jobs.permissions.d.ts +29 -0
  2580. package/dist/jobs/jobs.permissions.d.ts.map +1 -0
  2581. package/dist/jobs/jobs.permissions.js +49 -0
  2582. package/dist/jobs/jobs.permissions.js.map +1 -0
  2583. package/dist/jobs/jobs.policy.d.ts +47 -0
  2584. package/dist/jobs/jobs.policy.d.ts.map +1 -0
  2585. package/dist/jobs/jobs.policy.js +44 -0
  2586. package/dist/jobs/jobs.policy.js.map +1 -0
  2587. package/dist/jobs/jobs.service.d.ts +220 -0
  2588. package/dist/jobs/jobs.service.d.ts.map +1 -0
  2589. package/dist/jobs/jobs.service.js +459 -0
  2590. package/dist/jobs/jobs.service.js.map +1 -0
  2591. package/dist/jobs/jobs.system-settings.d.ts +94 -0
  2592. package/dist/jobs/jobs.system-settings.d.ts.map +1 -0
  2593. package/dist/jobs/jobs.system-settings.js +76 -0
  2594. package/dist/jobs/jobs.system-settings.js.map +1 -0
  2595. package/dist/jobs/node-offload.service.d.ts +118 -0
  2596. package/dist/jobs/node-offload.service.d.ts.map +1 -0
  2597. package/dist/jobs/node-offload.service.js +264 -0
  2598. package/dist/jobs/node-offload.service.js.map +1 -0
  2599. package/dist/jobs/ports.d.ts +129 -0
  2600. package/dist/jobs/ports.d.ts.map +1 -0
  2601. package/dist/jobs/ports.js +69 -0
  2602. package/dist/jobs/ports.js.map +1 -0
  2603. package/dist/jobs/provider-throttle.service.d.ts +97 -0
  2604. package/dist/jobs/provider-throttle.service.d.ts.map +1 -0
  2605. package/dist/jobs/provider-throttle.service.js +248 -0
  2606. package/dist/jobs/provider-throttle.service.js.map +1 -0
  2607. package/dist/jobs/rate-limit.error.d.ts +90 -0
  2608. package/dist/jobs/rate-limit.error.d.ts.map +1 -0
  2609. package/dist/jobs/rate-limit.error.js +338 -0
  2610. package/dist/jobs/rate-limit.error.js.map +1 -0
  2611. package/dist/jobs/retention/audit-events-purge.handler.d.ts +75 -0
  2612. package/dist/jobs/retention/audit-events-purge.handler.d.ts.map +1 -0
  2613. package/dist/jobs/retention/audit-events-purge.handler.js +109 -0
  2614. package/dist/jobs/retention/audit-events-purge.handler.js.map +1 -0
  2615. package/dist/jobs/retention/batched-purge.d.ts +112 -0
  2616. package/dist/jobs/retention/batched-purge.d.ts.map +1 -0
  2617. package/dist/jobs/retention/batched-purge.js +150 -0
  2618. package/dist/jobs/retention/batched-purge.js.map +1 -0
  2619. package/dist/jobs/retention/retention-policy.registry.d.ts +108 -0
  2620. package/dist/jobs/retention/retention-policy.registry.d.ts.map +1 -0
  2621. package/dist/jobs/retention/retention-policy.registry.js +182 -0
  2622. package/dist/jobs/retention/retention-policy.registry.js.map +1 -0
  2623. package/dist/jobs/retention/retention-purge.registry.d.ts +60 -0
  2624. package/dist/jobs/retention/retention-purge.registry.d.ts.map +1 -0
  2625. package/dist/jobs/retention/retention-purge.registry.js +96 -0
  2626. package/dist/jobs/retention/retention-purge.registry.js.map +1 -0
  2627. package/dist/jobs/retention/retention-purge.task.d.ts +23 -0
  2628. package/dist/jobs/retention/retention-purge.task.d.ts.map +1 -0
  2629. package/dist/jobs/retention/retention-purge.task.js +123 -0
  2630. package/dist/jobs/retention/retention-purge.task.js.map +1 -0
  2631. package/dist/jobs/retention/retention.system-settings.d.ts +74 -0
  2632. package/dist/jobs/retention/retention.system-settings.d.ts.map +1 -0
  2633. package/dist/jobs/retention/retention.system-settings.js +167 -0
  2634. package/dist/jobs/retention/retention.system-settings.js.map +1 -0
  2635. package/dist/jobs/tasks/job-history-purge.task.d.ts +12 -0
  2636. package/dist/jobs/tasks/job-history-purge.task.d.ts.map +1 -0
  2637. package/dist/jobs/tasks/job-history-purge.task.js +150 -0
  2638. package/dist/jobs/tasks/job-history-purge.task.js.map +1 -0
  2639. package/dist/jobs/tasks/job-stuck-reset.task.d.ts +21 -0
  2640. package/dist/jobs/tasks/job-stuck-reset.task.d.ts.map +1 -0
  2641. package/dist/jobs/tasks/job-stuck-reset.task.js +128 -0
  2642. package/dist/jobs/tasks/job-stuck-reset.task.js.map +1 -0
  2643. package/dist/jobs/tasks/temp-file-janitor.task.d.ts +50 -0
  2644. package/dist/jobs/tasks/temp-file-janitor.task.d.ts.map +1 -0
  2645. package/dist/jobs/tasks/temp-file-janitor.task.js +206 -0
  2646. package/dist/jobs/tasks/temp-file-janitor.task.js.map +1 -0
  2647. package/dist/jobs/testing/fake-job-queue.d.ts +98 -0
  2648. package/dist/jobs/testing/fake-job-queue.d.ts.map +1 -0
  2649. package/dist/jobs/testing/fake-job-queue.js +203 -0
  2650. package/dist/jobs/testing/fake-job-queue.js.map +1 -0
  2651. package/dist/jobs/testing/index.d.ts +7 -0
  2652. package/dist/jobs/testing/index.d.ts.map +1 -0
  2653. package/dist/jobs/testing/index.js +22 -0
  2654. package/dist/jobs/testing/index.js.map +1 -0
  2655. package/dist/jobs/testing/job-handler-conformance.d.ts +136 -0
  2656. package/dist/jobs/testing/job-handler-conformance.d.ts.map +1 -0
  2657. package/dist/jobs/testing/job-handler-conformance.js +267 -0
  2658. package/dist/jobs/testing/job-handler-conformance.js.map +1 -0
  2659. package/dist/jobs/testing/on-event-no-io.suite.d.ts +99 -0
  2660. package/dist/jobs/testing/on-event-no-io.suite.d.ts.map +1 -0
  2661. package/dist/jobs/testing/on-event-no-io.suite.js +313 -0
  2662. package/dist/jobs/testing/on-event-no-io.suite.js.map +1 -0
  2663. package/dist/manifest/index.d.ts +9 -0
  2664. package/dist/manifest/index.d.ts.map +1 -0
  2665. package/dist/manifest/index.js +28 -0
  2666. package/dist/manifest/index.js.map +1 -0
  2667. package/dist/manifest/permission-sets.d.ts +54 -0
  2668. package/dist/manifest/permission-sets.d.ts.map +1 -0
  2669. package/dist/manifest/permission-sets.js +70 -0
  2670. package/dist/manifest/permission-sets.js.map +1 -0
  2671. package/dist/manifest/platform-model-ownership.d.ts +28 -0
  2672. package/dist/manifest/platform-model-ownership.d.ts.map +1 -0
  2673. package/dist/manifest/platform-model-ownership.js +170 -0
  2674. package/dist/manifest/platform-model-ownership.js.map +1 -0
  2675. package/dist/manifest/platform-permissions.d.ts +87 -0
  2676. package/dist/manifest/platform-permissions.d.ts.map +1 -0
  2677. package/dist/manifest/platform-permissions.js +104 -0
  2678. package/dist/manifest/platform-permissions.js.map +1 -0
  2679. package/dist/manifest/platform-user-owned-models.d.ts +30 -0
  2680. package/dist/manifest/platform-user-owned-models.d.ts.map +1 -0
  2681. package/dist/manifest/platform-user-owned-models.js +256 -0
  2682. package/dist/manifest/platform-user-owned-models.js.map +1 -0
  2683. package/dist/manifest/register-permissions.d.ts +118 -0
  2684. package/dist/manifest/register-permissions.d.ts.map +1 -0
  2685. package/dist/manifest/register-permissions.js +145 -0
  2686. package/dist/manifest/register-permissions.js.map +1 -0
  2687. package/dist/nodes/doctor/nodes-fleet.doctor-check.d.ts +31 -0
  2688. package/dist/nodes/doctor/nodes-fleet.doctor-check.d.ts.map +1 -0
  2689. package/dist/nodes/doctor/nodes-fleet.doctor-check.js +77 -0
  2690. package/dist/nodes/doctor/nodes-fleet.doctor-check.js.map +1 -0
  2691. package/dist/nodes/dto/claim-token.field.d.ts +3 -0
  2692. package/dist/nodes/dto/claim-token.field.d.ts.map +1 -0
  2693. package/dist/nodes/dto/claim-token.field.js +14 -0
  2694. package/dist/nodes/dto/claim-token.field.js.map +1 -0
  2695. package/dist/nodes/dto/create-node-credential.dto.d.ts +14 -0
  2696. package/dist/nodes/dto/create-node-credential.dto.d.ts.map +1 -0
  2697. package/dist/nodes/dto/create-node-credential.dto.js +24 -0
  2698. package/dist/nodes/dto/create-node-credential.dto.js.map +1 -0
  2699. package/dist/nodes/dto/node-admin.dto.d.ts +174 -0
  2700. package/dist/nodes/dto/node-admin.dto.d.ts.map +1 -0
  2701. package/dist/nodes/dto/node-admin.dto.js +506 -0
  2702. package/dist/nodes/dto/node-admin.dto.js.map +1 -0
  2703. package/dist/nodes/dto/node-control-plane.dto.d.ts +108 -0
  2704. package/dist/nodes/dto/node-control-plane.dto.d.ts.map +1 -0
  2705. package/dist/nodes/dto/node-control-plane.dto.js +72 -0
  2706. package/dist/nodes/dto/node-control-plane.dto.js.map +1 -0
  2707. package/dist/nodes/dto/node-credential-response.dto.d.ts +61 -0
  2708. package/dist/nodes/dto/node-credential-response.dto.d.ts.map +1 -0
  2709. package/dist/nodes/dto/node-credential-response.dto.js +152 -0
  2710. package/dist/nodes/dto/node-credential-response.dto.js.map +1 -0
  2711. package/dist/nodes/dto/node-data-plane.dto.d.ts +80 -0
  2712. package/dist/nodes/dto/node-data-plane.dto.d.ts.map +1 -0
  2713. package/dist/nodes/dto/node-data-plane.dto.js +202 -0
  2714. package/dist/nodes/dto/node-data-plane.dto.js.map +1 -0
  2715. package/dist/nodes/dto/node-job-secret.dto.d.ts +26 -0
  2716. package/dist/nodes/dto/node-job-secret.dto.d.ts.map +1 -0
  2717. package/dist/nodes/dto/node-job-secret.dto.js +75 -0
  2718. package/dist/nodes/dto/node-job-secret.dto.js.map +1 -0
  2719. package/dist/nodes/dto/node-response.dto.d.ts +139 -0
  2720. package/dist/nodes/dto/node-response.dto.d.ts.map +1 -0
  2721. package/dist/nodes/dto/node-response.dto.js +475 -0
  2722. package/dist/nodes/dto/node-response.dto.js.map +1 -0
  2723. package/dist/nodes/dto/node-telemetry.dto.d.ts +153 -0
  2724. package/dist/nodes/dto/node-telemetry.dto.d.ts.map +1 -0
  2725. package/dist/nodes/dto/node-telemetry.dto.js +210 -0
  2726. package/dist/nodes/dto/node-telemetry.dto.js.map +1 -0
  2727. package/dist/nodes/events/node-offline.event.d.ts +37 -0
  2728. package/dist/nodes/events/node-offline.event.d.ts.map +1 -0
  2729. package/dist/nodes/events/node-offline.event.js +64 -0
  2730. package/dist/nodes/events/node-offline.event.js.map +1 -0
  2731. package/dist/nodes/handlers/node-fleet-prune.handler.d.ts +70 -0
  2732. package/dist/nodes/handlers/node-fleet-prune.handler.d.ts.map +1 -0
  2733. package/dist/nodes/handlers/node-fleet-prune.handler.js +241 -0
  2734. package/dist/nodes/handlers/node-fleet-prune.handler.js.map +1 -0
  2735. package/dist/nodes/handlers/node-fleet-sweep.handler.d.ts +79 -0
  2736. package/dist/nodes/handlers/node-fleet-sweep.handler.d.ts.map +1 -0
  2737. package/dist/nodes/handlers/node-fleet-sweep.handler.js +300 -0
  2738. package/dist/nodes/handlers/node-fleet-sweep.handler.js.map +1 -0
  2739. package/dist/nodes/index.d.ts +38 -0
  2740. package/dist/nodes/index.d.ts.map +1 -0
  2741. package/dist/nodes/index.js +78 -0
  2742. package/dist/nodes/index.js.map +1 -0
  2743. package/dist/nodes/node-credential.controller.d.ts +11 -0
  2744. package/dist/nodes/node-credential.controller.d.ts.map +1 -0
  2745. package/dist/nodes/node-credential.controller.js +184 -0
  2746. package/dist/nodes/node-credential.controller.js.map +1 -0
  2747. package/dist/nodes/node-credential.module.d.ts +12 -0
  2748. package/dist/nodes/node-credential.module.d.ts.map +1 -0
  2749. package/dist/nodes/node-credential.module.js +73 -0
  2750. package/dist/nodes/node-credential.module.js.map +1 -0
  2751. package/dist/nodes/node-credential.service.d.ts +239 -0
  2752. package/dist/nodes/node-credential.service.d.ts.map +1 -0
  2753. package/dist/nodes/node-credential.service.js +406 -0
  2754. package/dist/nodes/node-credential.service.js.map +1 -0
  2755. package/dist/nodes/node-data-plane.service.d.ts +198 -0
  2756. package/dist/nodes/node-data-plane.service.d.ts.map +1 -0
  2757. package/dist/nodes/node-data-plane.service.js +478 -0
  2758. package/dist/nodes/node-data-plane.service.js.map +1 -0
  2759. package/dist/nodes/node-fleet-metrics.service.d.ts +85 -0
  2760. package/dist/nodes/node-fleet-metrics.service.d.ts.map +1 -0
  2761. package/dist/nodes/node-fleet-metrics.service.js +413 -0
  2762. package/dist/nodes/node-fleet-metrics.service.js.map +1 -0
  2763. package/dist/nodes/node-lifecycle.service.d.ts +93 -0
  2764. package/dist/nodes/node-lifecycle.service.d.ts.map +1 -0
  2765. package/dist/nodes/node-lifecycle.service.js +217 -0
  2766. package/dist/nodes/node-lifecycle.service.js.map +1 -0
  2767. package/dist/nodes/node-secret-broker.service.d.ts +281 -0
  2768. package/dist/nodes/node-secret-broker.service.d.ts.map +1 -0
  2769. package/dist/nodes/node-secret-broker.service.js +711 -0
  2770. package/dist/nodes/node-secret-broker.service.js.map +1 -0
  2771. package/dist/nodes/node-settlement-ledger.d.ts +19 -0
  2772. package/dist/nodes/node-settlement-ledger.d.ts.map +1 -0
  2773. package/dist/nodes/node-settlement-ledger.js +86 -0
  2774. package/dist/nodes/node-settlement-ledger.js.map +1 -0
  2775. package/dist/nodes/node-span-attribute.registry.d.ts +118 -0
  2776. package/dist/nodes/node-span-attribute.registry.d.ts.map +1 -0
  2777. package/dist/nodes/node-span-attribute.registry.js +153 -0
  2778. package/dist/nodes/node-span-attribute.registry.js.map +1 -0
  2779. package/dist/nodes/node-telemetry-rate-limiter.d.ts +25 -0
  2780. package/dist/nodes/node-telemetry-rate-limiter.d.ts.map +1 -0
  2781. package/dist/nodes/node-telemetry-rate-limiter.js +104 -0
  2782. package/dist/nodes/node-telemetry-rate-limiter.js.map +1 -0
  2783. package/dist/nodes/node-telemetry.service.d.ts +22 -0
  2784. package/dist/nodes/node-telemetry.service.d.ts.map +1 -0
  2785. package/dist/nodes/node-telemetry.service.js +178 -0
  2786. package/dist/nodes/node-telemetry.service.js.map +1 -0
  2787. package/dist/nodes/nodes-admin.controller.d.ts +12 -0
  2788. package/dist/nodes/nodes-admin.controller.d.ts.map +1 -0
  2789. package/dist/nodes/nodes-admin.controller.js +218 -0
  2790. package/dist/nodes/nodes-admin.controller.js.map +1 -0
  2791. package/dist/nodes/nodes-admin.service.d.ts +111 -0
  2792. package/dist/nodes/nodes-admin.service.d.ts.map +1 -0
  2793. package/dist/nodes/nodes-admin.service.js +310 -0
  2794. package/dist/nodes/nodes-admin.service.js.map +1 -0
  2795. package/dist/nodes/nodes.constants.d.ts +11 -0
  2796. package/dist/nodes/nodes.constants.d.ts.map +1 -0
  2797. package/dist/nodes/nodes.constants.js +15 -0
  2798. package/dist/nodes/nodes.constants.js.map +1 -0
  2799. package/dist/nodes/nodes.controller.d.ts +31 -0
  2800. package/dist/nodes/nodes.controller.d.ts.map +1 -0
  2801. package/dist/nodes/nodes.controller.js +616 -0
  2802. package/dist/nodes/nodes.controller.js.map +1 -0
  2803. package/dist/nodes/nodes.metrics.d.ts +51 -0
  2804. package/dist/nodes/nodes.metrics.d.ts.map +1 -0
  2805. package/dist/nodes/nodes.metrics.js +148 -0
  2806. package/dist/nodes/nodes.metrics.js.map +1 -0
  2807. package/dist/nodes/nodes.module.d.ts +35 -0
  2808. package/dist/nodes/nodes.module.d.ts.map +1 -0
  2809. package/dist/nodes/nodes.module.js +278 -0
  2810. package/dist/nodes/nodes.module.js.map +1 -0
  2811. package/dist/nodes/nodes.options.d.ts +64 -0
  2812. package/dist/nodes/nodes.options.d.ts.map +1 -0
  2813. package/dist/nodes/nodes.options.js +39 -0
  2814. package/dist/nodes/nodes.options.js.map +1 -0
  2815. package/dist/nodes/nodes.permissions.d.ts +29 -0
  2816. package/dist/nodes/nodes.permissions.d.ts.map +1 -0
  2817. package/dist/nodes/nodes.permissions.js +55 -0
  2818. package/dist/nodes/nodes.permissions.js.map +1 -0
  2819. package/dist/nodes/nodes.service.d.ts +482 -0
  2820. package/dist/nodes/nodes.service.d.ts.map +1 -0
  2821. package/dist/nodes/nodes.service.js +1017 -0
  2822. package/dist/nodes/nodes.service.js.map +1 -0
  2823. package/dist/nodes/nodes.system-settings.d.ts +83 -0
  2824. package/dist/nodes/nodes.system-settings.d.ts.map +1 -0
  2825. package/dist/nodes/nodes.system-settings.js +70 -0
  2826. package/dist/nodes/nodes.system-settings.js.map +1 -0
  2827. package/dist/nodes/ops/node-secret-revoker.d.ts +16 -0
  2828. package/dist/nodes/ops/node-secret-revoker.d.ts.map +1 -0
  2829. package/dist/nodes/ops/node-secret-revoker.js +152 -0
  2830. package/dist/nodes/ops/node-secret-revoker.js.map +1 -0
  2831. package/dist/nodes/ports.d.ts +126 -0
  2832. package/dist/nodes/ports.d.ts.map +1 -0
  2833. package/dist/nodes/ports.js +65 -0
  2834. package/dist/nodes/ports.js.map +1 -0
  2835. package/dist/nodes/tasks/node-offline-prune.task.d.ts +25 -0
  2836. package/dist/nodes/tasks/node-offline-prune.task.d.ts.map +1 -0
  2837. package/dist/nodes/tasks/node-offline-prune.task.js +96 -0
  2838. package/dist/nodes/tasks/node-offline-prune.task.js.map +1 -0
  2839. package/dist/nodes/tasks/node-secret-sweep.task.d.ts +24 -0
  2840. package/dist/nodes/tasks/node-secret-sweep.task.d.ts.map +1 -0
  2841. package/dist/nodes/tasks/node-secret-sweep.task.js +151 -0
  2842. package/dist/nodes/tasks/node-secret-sweep.task.js.map +1 -0
  2843. package/dist/nodes/tasks/node-stale-offline.task.d.ts +29 -0
  2844. package/dist/nodes/tasks/node-stale-offline.task.d.ts.map +1 -0
  2845. package/dist/nodes/tasks/node-stale-offline.task.js +120 -0
  2846. package/dist/nodes/tasks/node-stale-offline.task.js.map +1 -0
  2847. package/dist/notifications/broadcasts/broadcast-audience.d.ts +109 -0
  2848. package/dist/notifications/broadcasts/broadcast-audience.d.ts.map +1 -0
  2849. package/dist/notifications/broadcasts/broadcast-audience.js +150 -0
  2850. package/dist/notifications/broadcasts/broadcast-audience.js.map +1 -0
  2851. package/dist/notifications/broadcasts/broadcast-failure.listener.d.ts +30 -0
  2852. package/dist/notifications/broadcasts/broadcast-failure.listener.d.ts.map +1 -0
  2853. package/dist/notifications/broadcasts/broadcast-failure.listener.js +212 -0
  2854. package/dist/notifications/broadcasts/broadcast-failure.listener.js.map +1 -0
  2855. package/dist/notifications/broadcasts/broadcast-job-delete-guard.d.ts +17 -0
  2856. package/dist/notifications/broadcasts/broadcast-job-delete-guard.d.ts.map +1 -0
  2857. package/dist/notifications/broadcasts/broadcast-job-delete-guard.js +64 -0
  2858. package/dist/notifications/broadcasts/broadcast-job-delete-guard.js.map +1 -0
  2859. package/dist/notifications/broadcasts/broadcasts.controller.d.ts +32 -0
  2860. package/dist/notifications/broadcasts/broadcasts.controller.d.ts.map +1 -0
  2861. package/dist/notifications/broadcasts/broadcasts.controller.js +368 -0
  2862. package/dist/notifications/broadcasts/broadcasts.controller.js.map +1 -0
  2863. package/dist/notifications/broadcasts/broadcasts.module.d.ts +20 -0
  2864. package/dist/notifications/broadcasts/broadcasts.module.d.ts.map +1 -0
  2865. package/dist/notifications/broadcasts/broadcasts.module.js +121 -0
  2866. package/dist/notifications/broadcasts/broadcasts.module.js.map +1 -0
  2867. package/dist/notifications/broadcasts/broadcasts.notifications.d.ts +11 -0
  2868. package/dist/notifications/broadcasts/broadcasts.notifications.d.ts.map +1 -0
  2869. package/dist/notifications/broadcasts/broadcasts.notifications.js +92 -0
  2870. package/dist/notifications/broadcasts/broadcasts.notifications.js.map +1 -0
  2871. package/dist/notifications/broadcasts/broadcasts.service.d.ts +361 -0
  2872. package/dist/notifications/broadcasts/broadcasts.service.d.ts.map +1 -0
  2873. package/dist/notifications/broadcasts/broadcasts.service.js +693 -0
  2874. package/dist/notifications/broadcasts/broadcasts.service.js.map +1 -0
  2875. package/dist/notifications/broadcasts/dto/broadcast-list-query.dto.d.ts +15 -0
  2876. package/dist/notifications/broadcasts/dto/broadcast-list-query.dto.d.ts.map +1 -0
  2877. package/dist/notifications/broadcasts/dto/broadcast-list-query.dto.js +19 -0
  2878. package/dist/notifications/broadcasts/dto/broadcast-list-query.dto.js.map +1 -0
  2879. package/dist/notifications/broadcasts/dto/broadcast-response.dto.d.ts +152 -0
  2880. package/dist/notifications/broadcasts/dto/broadcast-response.dto.d.ts.map +1 -0
  2881. package/dist/notifications/broadcasts/dto/broadcast-response.dto.js +77 -0
  2882. package/dist/notifications/broadcasts/dto/broadcast-response.dto.js.map +1 -0
  2883. package/dist/notifications/broadcasts/dto/create-broadcast.dto.d.ts +62 -0
  2884. package/dist/notifications/broadcasts/dto/create-broadcast.dto.d.ts.map +1 -0
  2885. package/dist/notifications/broadcasts/dto/create-broadcast.dto.js +68 -0
  2886. package/dist/notifications/broadcasts/dto/create-broadcast.dto.js.map +1 -0
  2887. package/dist/notifications/broadcasts/handlers/broadcast-chunk.handler.d.ts +164 -0
  2888. package/dist/notifications/broadcasts/handlers/broadcast-chunk.handler.d.ts.map +1 -0
  2889. package/dist/notifications/broadcasts/handlers/broadcast-chunk.handler.js +807 -0
  2890. package/dist/notifications/broadcasts/handlers/broadcast-chunk.handler.js.map +1 -0
  2891. package/dist/notifications/broadcasts/handlers/broadcast-start.handler.d.ts +103 -0
  2892. package/dist/notifications/broadcasts/handlers/broadcast-start.handler.d.ts.map +1 -0
  2893. package/dist/notifications/broadcasts/handlers/broadcast-start.handler.js +454 -0
  2894. package/dist/notifications/broadcasts/handlers/broadcast-start.handler.js.map +1 -0
  2895. package/dist/notifications/channels/android-app-notification.channel.d.ts +36 -0
  2896. package/dist/notifications/channels/android-app-notification.channel.d.ts.map +1 -0
  2897. package/dist/notifications/channels/android-app-notification.channel.js +88 -0
  2898. package/dist/notifications/channels/android-app-notification.channel.js.map +1 -0
  2899. package/dist/notifications/channels/browser-notification.channel.d.ts +125 -0
  2900. package/dist/notifications/channels/browser-notification.channel.d.ts.map +1 -0
  2901. package/dist/notifications/channels/browser-notification.channel.js +312 -0
  2902. package/dist/notifications/channels/browser-notification.channel.js.map +1 -0
  2903. package/dist/notifications/channels/browser-templates.d.ts +98 -0
  2904. package/dist/notifications/channels/browser-templates.d.ts.map +1 -0
  2905. package/dist/notifications/channels/browser-templates.js +200 -0
  2906. package/dist/notifications/channels/browser-templates.js.map +1 -0
  2907. package/dist/notifications/channels/email-notification.channel.d.ts +76 -0
  2908. package/dist/notifications/channels/email-notification.channel.d.ts.map +1 -0
  2909. package/dist/notifications/channels/email-notification.channel.js +300 -0
  2910. package/dist/notifications/channels/email-notification.channel.js.map +1 -0
  2911. package/dist/notifications/channels/push-notification.channel.d.ts +82 -0
  2912. package/dist/notifications/channels/push-notification.channel.d.ts.map +1 -0
  2913. package/dist/notifications/channels/push-notification.channel.js +463 -0
  2914. package/dist/notifications/channels/push-notification.channel.js.map +1 -0
  2915. package/dist/notifications/channels/push-payload.d.ts +127 -0
  2916. package/dist/notifications/channels/push-payload.d.ts.map +1 -0
  2917. package/dist/notifications/channels/push-payload.js +108 -0
  2918. package/dist/notifications/channels/push-payload.js.map +1 -0
  2919. package/dist/notifications/data/notifications-db.d.ts +300 -0
  2920. package/dist/notifications/data/notifications-db.d.ts.map +1 -0
  2921. package/dist/notifications/data/notifications-db.js +52 -0
  2922. package/dist/notifications/data/notifications-db.js.map +1 -0
  2923. package/dist/notifications/describe-thrown.d.ts +21 -0
  2924. package/dist/notifications/describe-thrown.d.ts.map +1 -0
  2925. package/dist/notifications/describe-thrown.js +48 -0
  2926. package/dist/notifications/describe-thrown.js.map +1 -0
  2927. package/dist/notifications/doctor/egress/web-push.egress.contributor.d.ts +43 -0
  2928. package/dist/notifications/doctor/egress/web-push.egress.contributor.d.ts.map +1 -0
  2929. package/dist/notifications/doctor/egress/web-push.egress.contributor.js +111 -0
  2930. package/dist/notifications/doctor/egress/web-push.egress.contributor.js.map +1 -0
  2931. package/dist/notifications/doctor/push-vapid.doctor-check.d.ts +35 -0
  2932. package/dist/notifications/doctor/push-vapid.doctor-check.d.ts.map +1 -0
  2933. package/dist/notifications/doctor/push-vapid.doctor-check.js +87 -0
  2934. package/dist/notifications/doctor/push-vapid.doctor-check.js.map +1 -0
  2935. package/dist/notifications/dto/generate-push-config.dto.d.ts +13 -0
  2936. package/dist/notifications/dto/generate-push-config.dto.d.ts.map +1 -0
  2937. package/dist/notifications/dto/generate-push-config.dto.js +20 -0
  2938. package/dist/notifications/dto/generate-push-config.dto.js.map +1 -0
  2939. package/dist/notifications/dto/notification-channel.dto.d.ts +20 -0
  2940. package/dist/notifications/dto/notification-channel.dto.d.ts.map +1 -0
  2941. package/dist/notifications/dto/notification-channel.dto.js +18 -0
  2942. package/dist/notifications/dto/notification-channel.dto.js.map +1 -0
  2943. package/dist/notifications/dto/notification-config.dto.d.ts +15 -0
  2944. package/dist/notifications/dto/notification-config.dto.d.ts.map +1 -0
  2945. package/dist/notifications/dto/notification-config.dto.js +20 -0
  2946. package/dist/notifications/dto/notification-config.dto.js.map +1 -0
  2947. package/dist/notifications/dto/notification-event.dto.d.ts +19 -0
  2948. package/dist/notifications/dto/notification-event.dto.d.ts.map +1 -0
  2949. package/dist/notifications/dto/notification-event.dto.js +20 -0
  2950. package/dist/notifications/dto/notification-event.dto.js.map +1 -0
  2951. package/dist/notifications/dto/notification.dto.d.ts +43 -0
  2952. package/dist/notifications/dto/notification.dto.d.ts.map +1 -0
  2953. package/dist/notifications/dto/notification.dto.js +40 -0
  2954. package/dist/notifications/dto/notification.dto.js.map +1 -0
  2955. package/dist/notifications/dto/push-config-confirmation.dto.d.ts +24 -0
  2956. package/dist/notifications/dto/push-config-confirmation.dto.d.ts.map +1 -0
  2957. package/dist/notifications/dto/push-config-confirmation.dto.js +31 -0
  2958. package/dist/notifications/dto/push-config-confirmation.dto.js.map +1 -0
  2959. package/dist/notifications/dto/push-config-response.dto.d.ts +29 -0
  2960. package/dist/notifications/dto/push-config-response.dto.d.ts.map +1 -0
  2961. package/dist/notifications/dto/push-config-response.dto.js +22 -0
  2962. package/dist/notifications/dto/push-config-response.dto.js.map +1 -0
  2963. package/dist/notifications/dto/push-subscription.dto.d.ts +42 -0
  2964. package/dist/notifications/dto/push-subscription.dto.d.ts.map +1 -0
  2965. package/dist/notifications/dto/push-subscription.dto.js +38 -0
  2966. package/dist/notifications/dto/push-subscription.dto.js.map +1 -0
  2967. package/dist/notifications/dto/push-test.dto.d.ts +68 -0
  2968. package/dist/notifications/dto/push-test.dto.d.ts.map +1 -0
  2969. package/dist/notifications/dto/push-test.dto.js +37 -0
  2970. package/dist/notifications/dto/push-test.dto.js.map +1 -0
  2971. package/dist/notifications/dto/update-push-config.dto.d.ts +14 -0
  2972. package/dist/notifications/dto/update-push-config.dto.d.ts.map +1 -0
  2973. package/dist/notifications/dto/update-push-config.dto.js +20 -0
  2974. package/dist/notifications/dto/update-push-config.dto.js.map +1 -0
  2975. package/dist/notifications/index.d.ts +72 -0
  2976. package/dist/notifications/index.d.ts.map +1 -0
  2977. package/dist/notifications/index.js +173 -0
  2978. package/dist/notifications/index.js.map +1 -0
  2979. package/dist/notifications/notification-delivery.service.d.ts +63 -0
  2980. package/dist/notifications/notification-delivery.service.d.ts.map +1 -0
  2981. package/dist/notifications/notification-delivery.service.js +194 -0
  2982. package/dist/notifications/notification-delivery.service.js.map +1 -0
  2983. package/dist/notifications/notification-events.d.ts +72 -0
  2984. package/dist/notifications/notification-events.d.ts.map +1 -0
  2985. package/dist/notifications/notification-events.js +198 -0
  2986. package/dist/notifications/notification-events.js.map +1 -0
  2987. package/dist/notifications/notification-policy.d.ts +145 -0
  2988. package/dist/notifications/notification-policy.d.ts.map +1 -0
  2989. package/dist/notifications/notification-policy.js +132 -0
  2990. package/dist/notifications/notification-policy.js.map +1 -0
  2991. package/dist/notifications/notification-policy.service.d.ts +32 -0
  2992. package/dist/notifications/notification-policy.service.d.ts.map +1 -0
  2993. package/dist/notifications/notification-policy.service.js +127 -0
  2994. package/dist/notifications/notification-policy.service.js.map +1 -0
  2995. package/dist/notifications/notification-preferences.d.ts +146 -0
  2996. package/dist/notifications/notification-preferences.d.ts.map +1 -0
  2997. package/dist/notifications/notification-preferences.js +295 -0
  2998. package/dist/notifications/notification-preferences.js.map +1 -0
  2999. package/dist/notifications/notification-store.service.d.ts +72 -0
  3000. package/dist/notifications/notification-store.service.d.ts.map +1 -0
  3001. package/dist/notifications/notification-store.service.js +222 -0
  3002. package/dist/notifications/notification-store.service.js.map +1 -0
  3003. package/dist/notifications/notification-stream.service.d.ts +298 -0
  3004. package/dist/notifications/notification-stream.service.d.ts.map +1 -0
  3005. package/dist/notifications/notification-stream.service.js +406 -0
  3006. package/dist/notifications/notification-stream.service.js.map +1 -0
  3007. package/dist/notifications/notification.types.d.ts +432 -0
  3008. package/dist/notifications/notification.types.d.ts.map +1 -0
  3009. package/dist/notifications/notification.types.js +18 -0
  3010. package/dist/notifications/notification.types.js.map +1 -0
  3011. package/dist/notifications/notifications.constants.d.ts +17 -0
  3012. package/dist/notifications/notifications.constants.d.ts.map +1 -0
  3013. package/dist/notifications/notifications.constants.js +24 -0
  3014. package/dist/notifications/notifications.constants.js.map +1 -0
  3015. package/dist/notifications/notifications.controller.d.ts +141 -0
  3016. package/dist/notifications/notifications.controller.d.ts.map +1 -0
  3017. package/dist/notifications/notifications.controller.js +594 -0
  3018. package/dist/notifications/notifications.controller.js.map +1 -0
  3019. package/dist/notifications/notifications.module.d.ts +41 -0
  3020. package/dist/notifications/notifications.module.d.ts.map +1 -0
  3021. package/dist/notifications/notifications.module.js +311 -0
  3022. package/dist/notifications/notifications.module.js.map +1 -0
  3023. package/dist/notifications/notifications.options.d.ts +87 -0
  3024. package/dist/notifications/notifications.options.d.ts.map +1 -0
  3025. package/dist/notifications/notifications.options.js +43 -0
  3026. package/dist/notifications/notifications.options.js.map +1 -0
  3027. package/dist/notifications/notifications.permissions.d.ts +70 -0
  3028. package/dist/notifications/notifications.permissions.d.ts.map +1 -0
  3029. package/dist/notifications/notifications.permissions.js +98 -0
  3030. package/dist/notifications/notifications.permissions.js.map +1 -0
  3031. package/dist/notifications/notifications.service.d.ts +564 -0
  3032. package/dist/notifications/notifications.service.d.ts.map +1 -0
  3033. package/dist/notifications/notifications.service.js +1221 -0
  3034. package/dist/notifications/notifications.service.js.map +1 -0
  3035. package/dist/notifications/notifications.system-settings.d.ts +139 -0
  3036. package/dist/notifications/notifications.system-settings.d.ts.map +1 -0
  3037. package/dist/notifications/notifications.system-settings.js +198 -0
  3038. package/dist/notifications/notifications.system-settings.js.map +1 -0
  3039. package/dist/notifications/notifications.user-settings.d.ts +117 -0
  3040. package/dist/notifications/notifications.user-settings.d.ts.map +1 -0
  3041. package/dist/notifications/notifications.user-settings.js +192 -0
  3042. package/dist/notifications/notifications.user-settings.js.map +1 -0
  3043. package/dist/notifications/ops/job-failure-notifier.d.ts +31 -0
  3044. package/dist/notifications/ops/job-failure-notifier.d.ts.map +1 -0
  3045. package/dist/notifications/ops/job-failure-notifier.js +200 -0
  3046. package/dist/notifications/ops/job-failure-notifier.js.map +1 -0
  3047. package/dist/notifications/ops/node-offline-notifier.d.ts +18 -0
  3048. package/dist/notifications/ops/node-offline-notifier.d.ts.map +1 -0
  3049. package/dist/notifications/ops/node-offline-notifier.js +101 -0
  3050. package/dist/notifications/ops/node-offline-notifier.js.map +1 -0
  3051. package/dist/notifications/ops/nodes.notifications.d.ts +9 -0
  3052. package/dist/notifications/ops/nodes.notifications.d.ts.map +1 -0
  3053. package/dist/notifications/ops/nodes.notifications.js +41 -0
  3054. package/dist/notifications/ops/nodes.notifications.js.map +1 -0
  3055. package/dist/notifications/ops/ops.notifications.d.ts +9 -0
  3056. package/dist/notifications/ops/ops.notifications.d.ts.map +1 -0
  3057. package/dist/notifications/ops/ops.notifications.js +87 -0
  3058. package/dist/notifications/ops/ops.notifications.js.map +1 -0
  3059. package/dist/notifications/ports.d.ts +186 -0
  3060. package/dist/notifications/ports.d.ts.map +1 -0
  3061. package/dist/notifications/ports.js +110 -0
  3062. package/dist/notifications/ports.js.map +1 -0
  3063. package/dist/notifications/push-config.controller.d.ts +69 -0
  3064. package/dist/notifications/push-config.controller.d.ts.map +1 -0
  3065. package/dist/notifications/push-config.controller.js +275 -0
  3066. package/dist/notifications/push-config.controller.js.map +1 -0
  3067. package/dist/notifications/push-config.schema.d.ts +10 -0
  3068. package/dist/notifications/push-config.schema.d.ts.map +1 -0
  3069. package/dist/notifications/push-config.schema.js +22 -0
  3070. package/dist/notifications/push-config.schema.js.map +1 -0
  3071. package/dist/notifications/push-config.service.d.ts +205 -0
  3072. package/dist/notifications/push-config.service.d.ts.map +1 -0
  3073. package/dist/notifications/push-config.service.js +472 -0
  3074. package/dist/notifications/push-config.service.js.map +1 -0
  3075. package/dist/notifications/push-subscription.service.d.ts +72 -0
  3076. package/dist/notifications/push-subscription.service.d.ts.map +1 -0
  3077. package/dist/notifications/push-subscription.service.js +195 -0
  3078. package/dist/notifications/push-subscription.service.js.map +1 -0
  3079. package/dist/notifications/push-test.service.d.ts +99 -0
  3080. package/dist/notifications/push-test.service.d.ts.map +1 -0
  3081. package/dist/notifications/push-test.service.js +683 -0
  3082. package/dist/notifications/push-test.service.js.map +1 -0
  3083. package/dist/notifications/push-vapid-credential.constants.d.ts +45 -0
  3084. package/dist/notifications/push-vapid-credential.constants.d.ts.map +1 -0
  3085. package/dist/notifications/push-vapid-credential.constants.js +73 -0
  3086. package/dist/notifications/push-vapid-credential.constants.js.map +1 -0
  3087. package/dist/notifications/registry/bindings.registry.d.ts +128 -0
  3088. package/dist/notifications/registry/bindings.registry.d.ts.map +1 -0
  3089. package/dist/notifications/registry/bindings.registry.js +244 -0
  3090. package/dist/notifications/registry/bindings.registry.js.map +1 -0
  3091. package/dist/notifications/registry/channel-sender.registry.d.ts +54 -0
  3092. package/dist/notifications/registry/channel-sender.registry.d.ts.map +1 -0
  3093. package/dist/notifications/registry/channel-sender.registry.js +138 -0
  3094. package/dist/notifications/registry/channel-sender.registry.js.map +1 -0
  3095. package/dist/notifications/registry/channel-template.registry.d.ts +149 -0
  3096. package/dist/notifications/registry/channel-template.registry.d.ts.map +1 -0
  3097. package/dist/notifications/registry/channel-template.registry.js +169 -0
  3098. package/dist/notifications/registry/channel-template.registry.js.map +1 -0
  3099. package/dist/notifications/registry/channel.registry.d.ts +177 -0
  3100. package/dist/notifications/registry/channel.registry.d.ts.map +1 -0
  3101. package/dist/notifications/registry/channel.registry.js +214 -0
  3102. package/dist/notifications/registry/channel.registry.js.map +1 -0
  3103. package/dist/notifications/registry/event.registry.d.ts +154 -0
  3104. package/dist/notifications/registry/event.registry.d.ts.map +1 -0
  3105. package/dist/notifications/registry/event.registry.js +129 -0
  3106. package/dist/notifications/registry/event.registry.js.map +1 -0
  3107. package/dist/notifications/registry/index.d.ts +12 -0
  3108. package/dist/notifications/registry/index.d.ts.map +1 -0
  3109. package/dist/notifications/registry/index.js +61 -0
  3110. package/dist/notifications/registry/index.js.map +1 -0
  3111. package/dist/notifications/registry/platform-channels.d.ts +50 -0
  3112. package/dist/notifications/registry/platform-channels.d.ts.map +1 -0
  3113. package/dist/notifications/registry/platform-channels.js +105 -0
  3114. package/dist/notifications/registry/platform-channels.js.map +1 -0
  3115. package/dist/notifications/retention/notification-deliveries-purge.handler.d.ts +38 -0
  3116. package/dist/notifications/retention/notification-deliveries-purge.handler.d.ts.map +1 -0
  3117. package/dist/notifications/retention/notification-deliveries-purge.handler.js +113 -0
  3118. package/dist/notifications/retention/notification-deliveries-purge.handler.js.map +1 -0
  3119. package/dist/notifications/retention/notification-inbox-purge.handler.d.ts +32 -0
  3120. package/dist/notifications/retention/notification-inbox-purge.handler.d.ts.map +1 -0
  3121. package/dist/notifications/retention/notification-inbox-purge.handler.js +98 -0
  3122. package/dist/notifications/retention/notification-inbox-purge.handler.js.map +1 -0
  3123. package/dist/notifications/testing/conformance.d.ts +93 -0
  3124. package/dist/notifications/testing/conformance.d.ts.map +1 -0
  3125. package/dist/notifications/testing/conformance.js +292 -0
  3126. package/dist/notifications/testing/conformance.js.map +1 -0
  3127. package/dist/notifications/testing/index.d.ts +32 -0
  3128. package/dist/notifications/testing/index.d.ts.map +1 -0
  3129. package/dist/notifications/testing/index.js +85 -0
  3130. package/dist/notifications/testing/index.js.map +1 -0
  3131. package/dist/notifications/testing/sender-conformance.d.ts +71 -0
  3132. package/dist/notifications/testing/sender-conformance.d.ts.map +1 -0
  3133. package/dist/notifications/testing/sender-conformance.js +206 -0
  3134. package/dist/notifications/testing/sender-conformance.js.map +1 -0
  3135. package/dist/onboarding/index.d.ts +19 -0
  3136. package/dist/onboarding/index.d.ts.map +1 -0
  3137. package/dist/onboarding/index.js +65 -0
  3138. package/dist/onboarding/index.js.map +1 -0
  3139. package/dist/onboarding/onboarding-metrics.d.ts +56 -0
  3140. package/dist/onboarding/onboarding-metrics.d.ts.map +1 -0
  3141. package/dist/onboarding/onboarding-metrics.js +155 -0
  3142. package/dist/onboarding/onboarding-metrics.js.map +1 -0
  3143. package/dist/onboarding/onboarding.audiences.d.ts +50 -0
  3144. package/dist/onboarding/onboarding.audiences.d.ts.map +1 -0
  3145. package/dist/onboarding/onboarding.audiences.js +111 -0
  3146. package/dist/onboarding/onboarding.audiences.js.map +1 -0
  3147. package/dist/onboarding/onboarding.builtins.d.ts +88 -0
  3148. package/dist/onboarding/onboarding.builtins.d.ts.map +1 -0
  3149. package/dist/onboarding/onboarding.builtins.js +284 -0
  3150. package/dist/onboarding/onboarding.builtins.js.map +1 -0
  3151. package/dist/onboarding/onboarding.controller.d.ts +135 -0
  3152. package/dist/onboarding/onboarding.controller.d.ts.map +1 -0
  3153. package/dist/onboarding/onboarding.controller.js +164 -0
  3154. package/dist/onboarding/onboarding.controller.js.map +1 -0
  3155. package/dist/onboarding/onboarding.engine.d.ts +86 -0
  3156. package/dist/onboarding/onboarding.engine.d.ts.map +1 -0
  3157. package/dist/onboarding/onboarding.engine.js +226 -0
  3158. package/dist/onboarding/onboarding.engine.js.map +1 -0
  3159. package/dist/onboarding/onboarding.module.d.ts +29 -0
  3160. package/dist/onboarding/onboarding.module.d.ts.map +1 -0
  3161. package/dist/onboarding/onboarding.module.js +65 -0
  3162. package/dist/onboarding/onboarding.module.js.map +1 -0
  3163. package/dist/onboarding/onboarding.options.d.ts +56 -0
  3164. package/dist/onboarding/onboarding.options.d.ts.map +1 -0
  3165. package/dist/onboarding/onboarding.options.js +45 -0
  3166. package/dist/onboarding/onboarding.options.js.map +1 -0
  3167. package/dist/onboarding/onboarding.registries.d.ts +135 -0
  3168. package/dist/onboarding/onboarding.registries.d.ts.map +1 -0
  3169. package/dist/onboarding/onboarding.registries.js +282 -0
  3170. package/dist/onboarding/onboarding.registries.js.map +1 -0
  3171. package/dist/onboarding/onboarding.service.d.ts +62 -0
  3172. package/dist/onboarding/onboarding.service.d.ts.map +1 -0
  3173. package/dist/onboarding/onboarding.service.js +171 -0
  3174. package/dist/onboarding/onboarding.service.js.map +1 -0
  3175. package/dist/onboarding/onboarding.settings.d.ts +101 -0
  3176. package/dist/onboarding/onboarding.settings.d.ts.map +1 -0
  3177. package/dist/onboarding/onboarding.settings.js +171 -0
  3178. package/dist/onboarding/onboarding.settings.js.map +1 -0
  3179. package/dist/onboarding/onboarding.types.d.ts +225 -0
  3180. package/dist/onboarding/onboarding.types.d.ts.map +1 -0
  3181. package/dist/onboarding/onboarding.types.js +14 -0
  3182. package/dist/onboarding/onboarding.types.js.map +1 -0
  3183. package/dist/onboarding/ports.d.ts +48 -0
  3184. package/dist/onboarding/ports.d.ts.map +1 -0
  3185. package/dist/onboarding/ports.js +28 -0
  3186. package/dist/onboarding/ports.js.map +1 -0
  3187. package/dist/onboarding/testing/conformance.d.ts +64 -0
  3188. package/dist/onboarding/testing/conformance.d.ts.map +1 -0
  3189. package/dist/onboarding/testing/conformance.js +185 -0
  3190. package/dist/onboarding/testing/conformance.js.map +1 -0
  3191. package/dist/onboarding/testing/index.d.ts +3 -0
  3192. package/dist/onboarding/testing/index.d.ts.map +1 -0
  3193. package/dist/onboarding/testing/index.js +13 -0
  3194. package/dist/onboarding/testing/index.js.map +1 -0
  3195. package/dist/otel-core/index.d.ts +16 -1
  3196. package/dist/otel-core/index.d.ts.map +1 -1
  3197. package/dist/otel-core/index.js.map +1 -1
  3198. package/dist/otel-core/metrics/gauge-provider.d.ts +1 -1
  3199. package/dist/otel-core/metrics/gauge-provider.d.ts.map +1 -1
  3200. package/dist/otel-core/metrics/gauge-provider.js.map +1 -1
  3201. package/dist/otel-core/metrics/metric-name.registry.d.ts +0 -15
  3202. package/dist/otel-core/metrics/metric-name.registry.d.ts.map +1 -1
  3203. package/dist/otel-core/metrics/metric-name.registry.js +2 -0
  3204. package/dist/otel-core/metrics/metric-name.registry.js.map +1 -1
  3205. package/dist/otel-core/metrics/metrics-host.service.js +2 -2
  3206. package/dist/otel-core/metrics/metrics-host.service.js.map +1 -1
  3207. package/dist/otel-core/metrics/otel-metrics.module.d.ts.map +1 -1
  3208. package/dist/otel-core/metrics/otel-metrics.module.js +2 -1
  3209. package/dist/otel-core/metrics/otel-metrics.module.js.map +1 -1
  3210. package/dist/otel-core/sdk/index.d.ts +2 -2
  3211. package/dist/otel-core/sdk/index.d.ts.map +1 -1
  3212. package/dist/otel-core/sdk/index.js +6 -1
  3213. package/dist/otel-core/sdk/index.js.map +1 -1
  3214. package/dist/otel-core/sdk/initialize-otel.d.ts +54 -0
  3215. package/dist/otel-core/sdk/initialize-otel.d.ts.map +1 -1
  3216. package/dist/otel-core/sdk/initialize-otel.js +105 -11
  3217. package/dist/otel-core/sdk/initialize-otel.js.map +1 -1
  3218. package/dist/otel-core/sdk/telemetry-gate.d.ts +89 -3
  3219. package/dist/otel-core/sdk/telemetry-gate.d.ts.map +1 -1
  3220. package/dist/otel-core/sdk/telemetry-gate.js +182 -1
  3221. package/dist/otel-core/sdk/telemetry-gate.js.map +1 -1
  3222. package/dist/settings/data/settings-db.d.ts +144 -0
  3223. package/dist/settings/data/settings-db.d.ts.map +1 -0
  3224. package/dist/settings/data/settings-db.js +25 -0
  3225. package/dist/settings/data/settings-db.js.map +1 -0
  3226. package/dist/settings/data/settings-ownership.d.ts +27 -0
  3227. package/dist/settings/data/settings-ownership.d.ts.map +1 -0
  3228. package/dist/settings/data/settings-ownership.js +52 -0
  3229. package/dist/settings/data/settings-ownership.js.map +1 -0
  3230. package/dist/settings/index.d.ts +108 -0
  3231. package/dist/settings/index.d.ts.map +1 -0
  3232. package/dist/settings/index.js +114 -0
  3233. package/dist/settings/index.js.map +1 -0
  3234. package/dist/settings/org-settings/describe-fields.d.ts +7 -0
  3235. package/dist/settings/org-settings/describe-fields.d.ts.map +1 -0
  3236. package/dist/settings/org-settings/describe-fields.js +34 -0
  3237. package/dist/settings/org-settings/describe-fields.js.map +1 -0
  3238. package/dist/settings/org-settings/org-layer.d.ts +29 -0
  3239. package/dist/settings/org-settings/org-layer.d.ts.map +1 -0
  3240. package/dist/settings/org-settings/org-layer.js +74 -0
  3241. package/dist/settings/org-settings/org-layer.js.map +1 -0
  3242. package/dist/settings/org-settings/org-settings.controller.d.ts +112 -0
  3243. package/dist/settings/org-settings/org-settings.controller.d.ts.map +1 -0
  3244. package/dist/settings/org-settings/org-settings.controller.js +138 -0
  3245. package/dist/settings/org-settings/org-settings.controller.js.map +1 -0
  3246. package/dist/settings/org-settings/org-settings.service.d.ts +94 -0
  3247. package/dist/settings/org-settings/org-settings.service.d.ts.map +1 -0
  3248. package/dist/settings/org-settings/org-settings.service.js +267 -0
  3249. package/dist/settings/org-settings/org-settings.service.js.map +1 -0
  3250. package/dist/settings/ports.d.ts +79 -0
  3251. package/dist/settings/ports.d.ts.map +1 -0
  3252. package/dist/settings/ports.js +46 -0
  3253. package/dist/settings/ports.js.map +1 -0
  3254. package/dist/settings/registry/assemble.d.ts +195 -0
  3255. package/dist/settings/registry/assemble.d.ts.map +1 -0
  3256. package/dist/settings/registry/assemble.js +283 -0
  3257. package/dist/settings/registry/assemble.js.map +1 -0
  3258. package/dist/settings/registry/catalog.d.ts +24 -0
  3259. package/dist/settings/registry/catalog.d.ts.map +1 -0
  3260. package/dist/settings/registry/catalog.js +43 -0
  3261. package/dist/settings/registry/catalog.js.map +1 -0
  3262. package/dist/settings/registry/compose.d.ts +398 -0
  3263. package/dist/settings/registry/compose.d.ts.map +1 -0
  3264. package/dist/settings/registry/compose.js +285 -0
  3265. package/dist/settings/registry/compose.js.map +1 -0
  3266. package/dist/settings/registry/core-user-fields.d.ts +121 -0
  3267. package/dist/settings/registry/core-user-fields.d.ts.map +1 -0
  3268. package/dist/settings/registry/core-user-fields.js +252 -0
  3269. package/dist/settings/registry/core-user-fields.js.map +1 -0
  3270. package/dist/settings/registry/core-user-namespaces.d.ts +179 -0
  3271. package/dist/settings/registry/core-user-namespaces.d.ts.map +1 -0
  3272. package/dist/settings/registry/core-user-namespaces.js +142 -0
  3273. package/dist/settings/registry/core-user-namespaces.js.map +1 -0
  3274. package/dist/settings/registry/extend.d.ts +197 -0
  3275. package/dist/settings/registry/extend.d.ts.map +1 -0
  3276. package/dist/settings/registry/extend.js +379 -0
  3277. package/dist/settings/registry/extend.js.map +1 -0
  3278. package/dist/settings/registry/merge-helpers.d.ts +10 -0
  3279. package/dist/settings/registry/merge-helpers.d.ts.map +1 -0
  3280. package/dist/settings/registry/merge-helpers.js +24 -0
  3281. package/dist/settings/registry/merge-helpers.js.map +1 -0
  3282. package/dist/settings/registry/nested.d.ts +55 -0
  3283. package/dist/settings/registry/nested.d.ts.map +1 -0
  3284. package/dist/settings/registry/nested.js +158 -0
  3285. package/dist/settings/registry/nested.js.map +1 -0
  3286. package/dist/settings/registry/schema-walk.d.ts +46 -0
  3287. package/dist/settings/registry/schema-walk.d.ts.map +1 -0
  3288. package/dist/settings/registry/schema-walk.js +112 -0
  3289. package/dist/settings/registry/schema-walk.js.map +1 -0
  3290. package/dist/settings/registry/secret-fields.d.ts +32 -0
  3291. package/dist/settings/registry/secret-fields.d.ts.map +1 -0
  3292. package/dist/settings/registry/secret-fields.js +57 -0
  3293. package/dist/settings/registry/secret-fields.js.map +1 -0
  3294. package/dist/settings/registry/system-settings-namespace.d.ts +242 -0
  3295. package/dist/settings/registry/system-settings-namespace.d.ts.map +1 -0
  3296. package/dist/settings/registry/system-settings-namespace.js +214 -0
  3297. package/dist/settings/registry/system-settings-namespace.js.map +1 -0
  3298. package/dist/settings/registry/user-settings-namespace.d.ts +90 -0
  3299. package/dist/settings/registry/user-settings-namespace.d.ts.map +1 -0
  3300. package/dist/settings/registry/user-settings-namespace.js +108 -0
  3301. package/dist/settings/registry/user-settings-namespace.js.map +1 -0
  3302. package/dist/settings/row-store.d.ts +85 -0
  3303. package/dist/settings/row-store.d.ts.map +1 -0
  3304. package/dist/settings/row-store.js +168 -0
  3305. package/dist/settings/row-store.js.map +1 -0
  3306. package/dist/settings/settings-resolver.d.ts +48 -0
  3307. package/dist/settings/settings-resolver.d.ts.map +1 -0
  3308. package/dist/settings/settings-resolver.js +127 -0
  3309. package/dist/settings/settings-resolver.js.map +1 -0
  3310. package/dist/settings/settings.module.d.ts +35 -0
  3311. package/dist/settings/settings.module.d.ts.map +1 -0
  3312. package/dist/settings/settings.module.js +102 -0
  3313. package/dist/settings/settings.module.js.map +1 -0
  3314. package/dist/settings/settings.options.d.ts +69 -0
  3315. package/dist/settings/settings.options.d.ts.map +1 -0
  3316. package/dist/settings/settings.options.js +51 -0
  3317. package/dist/settings/settings.options.js.map +1 -0
  3318. package/dist/settings/settings.permissions.d.ts +55 -0
  3319. package/dist/settings/settings.permissions.d.ts.map +1 -0
  3320. package/dist/settings/settings.permissions.js +93 -0
  3321. package/dist/settings/settings.permissions.js.map +1 -0
  3322. package/dist/settings/system-settings/system-settings.controller.d.ts +12 -0
  3323. package/dist/settings/system-settings/system-settings.controller.d.ts.map +1 -0
  3324. package/dist/settings/system-settings/system-settings.controller.js +137 -0
  3325. package/dist/settings/system-settings/system-settings.controller.js.map +1 -0
  3326. package/dist/settings/system-settings/system-settings.service.d.ts +616 -0
  3327. package/dist/settings/system-settings/system-settings.service.d.ts.map +1 -0
  3328. package/dist/settings/system-settings/system-settings.service.js +969 -0
  3329. package/dist/settings/system-settings/system-settings.service.js.map +1 -0
  3330. package/dist/settings/testing/conformance.d.ts +59 -0
  3331. package/dist/settings/testing/conformance.d.ts.map +1 -0
  3332. package/dist/settings/testing/conformance.js +164 -0
  3333. package/dist/settings/testing/conformance.js.map +1 -0
  3334. package/dist/settings/testing/index.d.ts +3 -0
  3335. package/dist/settings/testing/index.d.ts.map +1 -0
  3336. package/dist/settings/testing/index.js +12 -0
  3337. package/dist/settings/testing/index.js.map +1 -0
  3338. package/dist/settings/user-settings/user-settings.controller.d.ts +12 -0
  3339. package/dist/settings/user-settings/user-settings.controller.d.ts.map +1 -0
  3340. package/dist/settings/user-settings/user-settings.controller.js +124 -0
  3341. package/dist/settings/user-settings/user-settings.controller.js.map +1 -0
  3342. package/dist/settings/user-settings/user-settings.service.d.ts +146 -0
  3343. package/dist/settings/user-settings/user-settings.service.d.ts.map +1 -0
  3344. package/dist/settings/user-settings/user-settings.service.js +380 -0
  3345. package/dist/settings/user-settings/user-settings.service.js.map +1 -0
  3346. package/dist/sharing/access/access-policy.service.d.ts +194 -0
  3347. package/dist/sharing/access/access-policy.service.d.ts.map +1 -0
  3348. package/dist/sharing/access/access-policy.service.js +515 -0
  3349. package/dist/sharing/access/access-policy.service.js.map +1 -0
  3350. package/dist/sharing/access/access-rules.d.ts +199 -0
  3351. package/dist/sharing/access/access-rules.d.ts.map +1 -0
  3352. package/dist/sharing/access/access-rules.js +230 -0
  3353. package/dist/sharing/access/access-rules.js.map +1 -0
  3354. package/dist/sharing/access/accessible.d.ts +197 -0
  3355. package/dist/sharing/access/accessible.d.ts.map +1 -0
  3356. package/dist/sharing/access/accessible.js +355 -0
  3357. package/dist/sharing/access/accessible.js.map +1 -0
  3358. package/dist/sharing/access/grantee-kinds.d.ts +261 -0
  3359. package/dist/sharing/access/grantee-kinds.d.ts.map +1 -0
  3360. package/dist/sharing/access/grantee-kinds.js +345 -0
  3361. package/dist/sharing/access/grantee-kinds.js.map +1 -0
  3362. package/dist/sharing/access/resource-types.d.ts +211 -0
  3363. package/dist/sharing/access/resource-types.d.ts.map +1 -0
  3364. package/dist/sharing/access/resource-types.js +235 -0
  3365. package/dist/sharing/access/resource-types.js.map +1 -0
  3366. package/dist/sharing/data/sharing-tx.d.ts +168 -0
  3367. package/dist/sharing/data/sharing-tx.d.ts.map +1 -0
  3368. package/dist/sharing/data/sharing-tx.js +24 -0
  3369. package/dist/sharing/data/sharing-tx.js.map +1 -0
  3370. package/dist/sharing/doctor/groups-orphaned.doctor-check.d.ts +37 -0
  3371. package/dist/sharing/doctor/groups-orphaned.doctor-check.d.ts.map +1 -0
  3372. package/dist/sharing/doctor/groups-orphaned.doctor-check.js +100 -0
  3373. package/dist/sharing/doctor/groups-orphaned.doctor-check.js.map +1 -0
  3374. package/dist/sharing/dto/grants.dto.d.ts +171 -0
  3375. package/dist/sharing/dto/grants.dto.d.ts.map +1 -0
  3376. package/dist/sharing/dto/grants.dto.js +78 -0
  3377. package/dist/sharing/dto/grants.dto.js.map +1 -0
  3378. package/dist/sharing/dto/groups.dto.d.ts +273 -0
  3379. package/dist/sharing/dto/groups.dto.d.ts.map +1 -0
  3380. package/dist/sharing/dto/groups.dto.js +150 -0
  3381. package/dist/sharing/dto/groups.dto.js.map +1 -0
  3382. package/dist/sharing/dto/link-grants.dto.d.ts +94 -0
  3383. package/dist/sharing/dto/link-grants.dto.d.ts.map +1 -0
  3384. package/dist/sharing/dto/link-grants.dto.js +53 -0
  3385. package/dist/sharing/dto/link-grants.dto.js.map +1 -0
  3386. package/dist/sharing/errors.d.ts +124 -0
  3387. package/dist/sharing/errors.d.ts.map +1 -0
  3388. package/dist/sharing/errors.js +236 -0
  3389. package/dist/sharing/errors.js.map +1 -0
  3390. package/dist/sharing/events.d.ts +99 -0
  3391. package/dist/sharing/events.d.ts.map +1 -0
  3392. package/dist/sharing/events.js +36 -0
  3393. package/dist/sharing/events.js.map +1 -0
  3394. package/dist/sharing/grants/grantee-kinds.controller.d.ts +14 -0
  3395. package/dist/sharing/grants/grantee-kinds.controller.d.ts.map +1 -0
  3396. package/dist/sharing/grants/grantee-kinds.controller.js +84 -0
  3397. package/dist/sharing/grants/grantee-kinds.controller.js.map +1 -0
  3398. package/dist/sharing/grants/grants.controller.d.ts +14 -0
  3399. package/dist/sharing/grants/grants.controller.d.ts.map +1 -0
  3400. package/dist/sharing/grants/grants.controller.js +176 -0
  3401. package/dist/sharing/grants/grants.controller.js.map +1 -0
  3402. package/dist/sharing/grants/grants.service.d.ts +197 -0
  3403. package/dist/sharing/grants/grants.service.d.ts.map +1 -0
  3404. package/dist/sharing/grants/grants.service.js +736 -0
  3405. package/dist/sharing/grants/grants.service.js.map +1 -0
  3406. package/dist/sharing/group-roles.d.ts +114 -0
  3407. package/dist/sharing/group-roles.d.ts.map +1 -0
  3408. package/dist/sharing/group-roles.js +186 -0
  3409. package/dist/sharing/group-roles.js.map +1 -0
  3410. package/dist/sharing/groups/group-common.d.ts +58 -0
  3411. package/dist/sharing/groups/group-common.d.ts.map +1 -0
  3412. package/dist/sharing/groups/group-common.js +96 -0
  3413. package/dist/sharing/groups/group-common.js.map +1 -0
  3414. package/dist/sharing/groups/group-invites.controller.d.ts +14 -0
  3415. package/dist/sharing/groups/group-invites.controller.d.ts.map +1 -0
  3416. package/dist/sharing/groups/group-invites.controller.js +124 -0
  3417. package/dist/sharing/groups/group-invites.controller.js.map +1 -0
  3418. package/dist/sharing/groups/group-invites.service.d.ts +118 -0
  3419. package/dist/sharing/groups/group-invites.service.d.ts.map +1 -0
  3420. package/dist/sharing/groups/group-invites.service.js +463 -0
  3421. package/dist/sharing/groups/group-invites.service.js.map +1 -0
  3422. package/dist/sharing/groups/group-membership.service.d.ts +108 -0
  3423. package/dist/sharing/groups/group-membership.service.d.ts.map +1 -0
  3424. package/dist/sharing/groups/group-membership.service.js +353 -0
  3425. package/dist/sharing/groups/group-membership.service.js.map +1 -0
  3426. package/dist/sharing/groups/groups.controller.d.ts +14 -0
  3427. package/dist/sharing/groups/groups.controller.d.ts.map +1 -0
  3428. package/dist/sharing/groups/groups.controller.js +327 -0
  3429. package/dist/sharing/groups/groups.controller.js.map +1 -0
  3430. package/dist/sharing/groups/groups.service.d.ts +81 -0
  3431. package/dist/sharing/groups/groups.service.d.ts.map +1 -0
  3432. package/dist/sharing/groups/groups.service.js +301 -0
  3433. package/dist/sharing/groups/groups.service.js.map +1 -0
  3434. package/dist/sharing/groups/member-lookup-throttle.d.ts +48 -0
  3435. package/dist/sharing/groups/member-lookup-throttle.d.ts.map +1 -0
  3436. package/dist/sharing/groups/member-lookup-throttle.js +99 -0
  3437. package/dist/sharing/groups/member-lookup-throttle.js.map +1 -0
  3438. package/dist/sharing/groups/sharing-effects.d.ts +85 -0
  3439. package/dist/sharing/groups/sharing-effects.d.ts.map +1 -0
  3440. package/dist/sharing/groups/sharing-effects.js +143 -0
  3441. package/dist/sharing/groups/sharing-effects.js.map +1 -0
  3442. package/dist/sharing/groups/sharing-principal.decorator.d.ts +14 -0
  3443. package/dist/sharing/groups/sharing-principal.decorator.d.ts.map +1 -0
  3444. package/dist/sharing/groups/sharing-principal.decorator.js +24 -0
  3445. package/dist/sharing/groups/sharing-principal.decorator.js.map +1 -0
  3446. package/dist/sharing/index.d.ts +56 -0
  3447. package/dist/sharing/index.d.ts.map +1 -0
  3448. package/dist/sharing/index.js +177 -0
  3449. package/dist/sharing/index.js.map +1 -0
  3450. package/dist/sharing/jobs/grants-prune.handler.d.ts +64 -0
  3451. package/dist/sharing/jobs/grants-prune.handler.d.ts.map +1 -0
  3452. package/dist/sharing/jobs/grants-prune.handler.js +181 -0
  3453. package/dist/sharing/jobs/grants-prune.handler.js.map +1 -0
  3454. package/dist/sharing/jobs/grants-prune.task.d.ts +14 -0
  3455. package/dist/sharing/jobs/grants-prune.task.d.ts.map +1 -0
  3456. package/dist/sharing/jobs/grants-prune.task.js +63 -0
  3457. package/dist/sharing/jobs/grants-prune.task.js.map +1 -0
  3458. package/dist/sharing/links/link-grant.decorators.d.ts +46 -0
  3459. package/dist/sharing/links/link-grant.decorators.d.ts.map +1 -0
  3460. package/dist/sharing/links/link-grant.decorators.js +71 -0
  3461. package/dist/sharing/links/link-grant.decorators.js.map +1 -0
  3462. package/dist/sharing/links/link-grant.guard.d.ts +47 -0
  3463. package/dist/sharing/links/link-grant.guard.d.ts.map +1 -0
  3464. package/dist/sharing/links/link-grant.guard.js +163 -0
  3465. package/dist/sharing/links/link-grant.guard.js.map +1 -0
  3466. package/dist/sharing/links/link-grants.controller.d.ts +14 -0
  3467. package/dist/sharing/links/link-grants.controller.d.ts.map +1 -0
  3468. package/dist/sharing/links/link-grants.controller.js +111 -0
  3469. package/dist/sharing/links/link-grants.controller.js.map +1 -0
  3470. package/dist/sharing/links/link-grants.service.d.ts +315 -0
  3471. package/dist/sharing/links/link-grants.service.d.ts.map +1 -0
  3472. package/dist/sharing/links/link-grants.service.js +582 -0
  3473. package/dist/sharing/links/link-grants.service.js.map +1 -0
  3474. package/dist/sharing/links/link-miss-throttle.d.ts +15 -0
  3475. package/dist/sharing/links/link-miss-throttle.d.ts.map +1 -0
  3476. package/dist/sharing/links/link-miss-throttle.js +55 -0
  3477. package/dist/sharing/links/link-miss-throttle.js.map +1 -0
  3478. package/dist/sharing/links/link-token.d.ts +11 -0
  3479. package/dist/sharing/links/link-token.d.ts.map +1 -0
  3480. package/dist/sharing/links/link-token.js +47 -0
  3481. package/dist/sharing/links/link-token.js.map +1 -0
  3482. package/dist/sharing/links/public-link.interceptor.d.ts +34 -0
  3483. package/dist/sharing/links/public-link.interceptor.d.ts.map +1 -0
  3484. package/dist/sharing/links/public-link.interceptor.js +76 -0
  3485. package/dist/sharing/links/public-link.interceptor.js.map +1 -0
  3486. package/dist/sharing/links/public-links.controller.d.ts +13 -0
  3487. package/dist/sharing/links/public-links.controller.d.ts.map +1 -0
  3488. package/dist/sharing/links/public-links.controller.js +97 -0
  3489. package/dist/sharing/links/public-links.controller.js.map +1 -0
  3490. package/dist/sharing/metrics.d.ts +75 -0
  3491. package/dist/sharing/metrics.d.ts.map +1 -0
  3492. package/dist/sharing/metrics.js +128 -0
  3493. package/dist/sharing/metrics.js.map +1 -0
  3494. package/dist/sharing/notifications/group-invitation.templates.d.ts +149 -0
  3495. package/dist/sharing/notifications/group-invitation.templates.d.ts.map +1 -0
  3496. package/dist/sharing/notifications/group-invitation.templates.js +146 -0
  3497. package/dist/sharing/notifications/group-invitation.templates.js.map +1 -0
  3498. package/dist/sharing/notifications/shared-with-you.templates.d.ts +118 -0
  3499. package/dist/sharing/notifications/shared-with-you.templates.d.ts.map +1 -0
  3500. package/dist/sharing/notifications/shared-with-you.templates.js +140 -0
  3501. package/dist/sharing/notifications/shared-with-you.templates.js.map +1 -0
  3502. package/dist/sharing/ownership.d.ts +134 -0
  3503. package/dist/sharing/ownership.d.ts.map +1 -0
  3504. package/dist/sharing/ownership.js +140 -0
  3505. package/dist/sharing/ownership.js.map +1 -0
  3506. package/dist/sharing/permissions.d.ts +57 -0
  3507. package/dist/sharing/permissions.d.ts.map +1 -0
  3508. package/dist/sharing/permissions.js +94 -0
  3509. package/dist/sharing/permissions.js.map +1 -0
  3510. package/dist/sharing/ports.d.ts +246 -0
  3511. package/dist/sharing/ports.d.ts.map +1 -0
  3512. package/dist/sharing/ports.js +65 -0
  3513. package/dist/sharing/ports.js.map +1 -0
  3514. package/dist/sharing/principal-groups.provider.d.ts +113 -0
  3515. package/dist/sharing/principal-groups.provider.d.ts.map +1 -0
  3516. package/dist/sharing/principal-groups.provider.js +281 -0
  3517. package/dist/sharing/principal-groups.provider.js.map +1 -0
  3518. package/dist/sharing/sharing.module.d.ts +34 -0
  3519. package/dist/sharing/sharing.module.d.ts.map +1 -0
  3520. package/dist/sharing/sharing.module.js +151 -0
  3521. package/dist/sharing/sharing.module.js.map +1 -0
  3522. package/dist/sharing/sharing.options.d.ts +175 -0
  3523. package/dist/sharing/sharing.options.d.ts.map +1 -0
  3524. package/dist/sharing/sharing.options.js +153 -0
  3525. package/dist/sharing/sharing.options.js.map +1 -0
  3526. package/dist/sharing/testing/access-rule-conformance.d.ts +90 -0
  3527. package/dist/sharing/testing/access-rule-conformance.d.ts.map +1 -0
  3528. package/dist/sharing/testing/access-rule-conformance.js +180 -0
  3529. package/dist/sharing/testing/access-rule-conformance.js.map +1 -0
  3530. package/dist/sharing/testing/conformance.d.ts +211 -0
  3531. package/dist/sharing/testing/conformance.d.ts.map +1 -0
  3532. package/dist/sharing/testing/conformance.js +509 -0
  3533. package/dist/sharing/testing/conformance.js.map +1 -0
  3534. package/dist/sharing/testing/grantee-kind-conformance.d.ts +77 -0
  3535. package/dist/sharing/testing/grantee-kind-conformance.d.ts.map +1 -0
  3536. package/dist/sharing/testing/grantee-kind-conformance.js +218 -0
  3537. package/dist/sharing/testing/grantee-kind-conformance.js.map +1 -0
  3538. package/dist/sharing/testing/hostile-principal.d.ts +26 -0
  3539. package/dist/sharing/testing/hostile-principal.d.ts.map +1 -0
  3540. package/dist/sharing/testing/hostile-principal.js +47 -0
  3541. package/dist/sharing/testing/hostile-principal.js.map +1 -0
  3542. package/dist/sharing/testing/index.d.ts +11 -0
  3543. package/dist/sharing/testing/index.d.ts.map +1 -0
  3544. package/dist/sharing/testing/index.js +29 -0
  3545. package/dist/sharing/testing/index.js.map +1 -0
  3546. package/dist/sharing/testing/recording-sql-kit.d.ts +24 -0
  3547. package/dist/sharing/testing/recording-sql-kit.d.ts.map +1 -0
  3548. package/dist/sharing/testing/recording-sql-kit.js +66 -0
  3549. package/dist/sharing/testing/recording-sql-kit.js.map +1 -0
  3550. package/dist/sharing/user-data.d.ts +56 -0
  3551. package/dist/sharing/user-data.d.ts.map +1 -0
  3552. package/dist/sharing/user-data.js +185 -0
  3553. package/dist/sharing/user-data.js.map +1 -0
  3554. package/dist/storage/config/doctor/egress/storage.egress.contributor.d.ts +28 -0
  3555. package/dist/storage/config/doctor/egress/storage.egress.contributor.d.ts.map +1 -0
  3556. package/dist/storage/config/doctor/egress/storage.egress.contributor.js +76 -0
  3557. package/dist/storage/config/doctor/egress/storage.egress.contributor.js.map +1 -0
  3558. package/dist/storage/config/doctor/storage-bucket.doctor-check.d.ts +47 -0
  3559. package/dist/storage/config/doctor/storage-bucket.doctor-check.d.ts.map +1 -0
  3560. package/dist/storage/config/doctor/storage-bucket.doctor-check.js +141 -0
  3561. package/dist/storage/config/doctor/storage-bucket.doctor-check.js.map +1 -0
  3562. package/dist/storage/config/doctor/storage-config.doctor-check.d.ts +31 -0
  3563. package/dist/storage/config/doctor/storage-config.doctor-check.d.ts.map +1 -0
  3564. package/dist/storage/config/doctor/storage-config.doctor-check.js +82 -0
  3565. package/dist/storage/config/doctor/storage-config.doctor-check.js.map +1 -0
  3566. package/dist/storage/config/dto/storage-bucket-provision.dto.d.ts +52 -0
  3567. package/dist/storage/config/dto/storage-bucket-provision.dto.d.ts.map +1 -0
  3568. package/dist/storage/config/dto/storage-bucket-provision.dto.js +33 -0
  3569. package/dist/storage/config/dto/storage-bucket-provision.dto.js.map +1 -0
  3570. package/dist/storage/config/dto/storage-config-response.dto.d.ts +80 -0
  3571. package/dist/storage/config/dto/storage-config-response.dto.d.ts.map +1 -0
  3572. package/dist/storage/config/dto/storage-config-response.dto.js +20 -0
  3573. package/dist/storage/config/dto/storage-config-response.dto.js.map +1 -0
  3574. package/dist/storage/config/dto/storage-connection-test.dto.d.ts +49 -0
  3575. package/dist/storage/config/dto/storage-connection-test.dto.d.ts.map +1 -0
  3576. package/dist/storage/config/dto/storage-connection-test.dto.js +32 -0
  3577. package/dist/storage/config/dto/storage-connection-test.dto.js.map +1 -0
  3578. package/dist/storage/config/dto/update-storage-config.dto.d.ts +24 -0
  3579. package/dist/storage/config/dto/update-storage-config.dto.d.ts.map +1 -0
  3580. package/dist/storage/config/dto/update-storage-config.dto.js +20 -0
  3581. package/dist/storage/config/dto/update-storage-config.dto.js.map +1 -0
  3582. package/dist/storage/config/index.d.ts +15 -0
  3583. package/dist/storage/config/index.d.ts.map +1 -0
  3584. package/dist/storage/config/index.js +33 -0
  3585. package/dist/storage/config/index.js.map +1 -0
  3586. package/dist/storage/config/storage-bucket-provision.service.d.ts +34 -0
  3587. package/dist/storage/config/storage-bucket-provision.service.d.ts.map +1 -0
  3588. package/dist/storage/config/storage-bucket-provision.service.js +185 -0
  3589. package/dist/storage/config/storage-bucket-provision.service.js.map +1 -0
  3590. package/dist/storage/config/storage-config-admin.service.d.ts +120 -0
  3591. package/dist/storage/config/storage-config-admin.service.d.ts.map +1 -0
  3592. package/dist/storage/config/storage-config-admin.service.js +355 -0
  3593. package/dist/storage/config/storage-config-admin.service.js.map +1 -0
  3594. package/dist/storage/config/storage-config.controller.d.ts +199 -0
  3595. package/dist/storage/config/storage-config.controller.d.ts.map +1 -0
  3596. package/dist/storage/config/storage-config.controller.js +275 -0
  3597. package/dist/storage/config/storage-config.controller.js.map +1 -0
  3598. package/dist/storage/config/storage-config.d.ts +104 -0
  3599. package/dist/storage/config/storage-config.d.ts.map +1 -0
  3600. package/dist/storage/config/storage-config.js +66 -0
  3601. package/dist/storage/config/storage-config.js.map +1 -0
  3602. package/dist/storage/config/storage-config.module.d.ts +11 -0
  3603. package/dist/storage/config/storage-config.module.d.ts.map +1 -0
  3604. package/dist/storage/config/storage-config.module.js +108 -0
  3605. package/dist/storage/config/storage-config.module.js.map +1 -0
  3606. package/dist/storage/config/storage-config.permissions.d.ts +17 -0
  3607. package/dist/storage/config/storage-config.permissions.d.ts.map +1 -0
  3608. package/dist/storage/config/storage-config.permissions.js +69 -0
  3609. package/dist/storage/config/storage-config.permissions.js.map +1 -0
  3610. package/dist/storage/config/storage-config.service.d.ts +248 -0
  3611. package/dist/storage/config/storage-config.service.d.ts.map +1 -0
  3612. package/dist/storage/config/storage-config.service.js +431 -0
  3613. package/dist/storage/config/storage-config.service.js.map +1 -0
  3614. package/dist/storage/config/storage-connection-test.service.d.ts +30 -0
  3615. package/dist/storage/config/storage-connection-test.service.d.ts.map +1 -0
  3616. package/dist/storage/config/storage-connection-test.service.js +174 -0
  3617. package/dist/storage/config/storage-connection-test.service.js.map +1 -0
  3618. package/dist/storage/config/storage-driver-context.d.ts +36 -0
  3619. package/dist/storage/config/storage-driver-context.d.ts.map +1 -0
  3620. package/dist/storage/config/storage-driver-context.js +61 -0
  3621. package/dist/storage/config/storage-driver-context.js.map +1 -0
  3622. package/dist/storage/config/storage-not-configured.error.d.ts +70 -0
  3623. package/dist/storage/config/storage-not-configured.error.d.ts.map +1 -0
  3624. package/dist/storage/config/storage-not-configured.error.js +117 -0
  3625. package/dist/storage/config/storage-not-configured.error.js.map +1 -0
  3626. package/dist/storage/config/storage-settings-compat.d.ts +44 -0
  3627. package/dist/storage/config/storage-settings-compat.d.ts.map +1 -0
  3628. package/dist/storage/config/storage-settings-compat.js +135 -0
  3629. package/dist/storage/config/storage-settings-compat.js.map +1 -0
  3630. package/dist/storage/config/storage-submission.service.d.ts +46 -0
  3631. package/dist/storage/config/storage-submission.service.d.ts.map +1 -0
  3632. package/dist/storage/config/storage-submission.service.js +102 -0
  3633. package/dist/storage/config/storage-submission.service.js.map +1 -0
  3634. package/dist/storage/config/storage.system-settings.d.ts +130 -0
  3635. package/dist/storage/config/storage.system-settings.d.ts.map +1 -0
  3636. package/dist/storage/config/storage.system-settings.js +307 -0
  3637. package/dist/storage/config/storage.system-settings.js.map +1 -0
  3638. package/dist/storage/data/storage-db.d.ts +292 -0
  3639. package/dist/storage/data/storage-db.d.ts.map +1 -0
  3640. package/dist/storage/data/storage-db.js +87 -0
  3641. package/dist/storage/data/storage-db.js.map +1 -0
  3642. package/dist/storage/drivers/builtin-storage-drivers.d.ts +8 -0
  3643. package/dist/storage/drivers/builtin-storage-drivers.d.ts.map +1 -0
  3644. package/dist/storage/drivers/builtin-storage-drivers.js +35 -0
  3645. package/dist/storage/drivers/builtin-storage-drivers.js.map +1 -0
  3646. package/dist/storage/drivers/s3/s3-config.d.ts +316 -0
  3647. package/dist/storage/drivers/s3/s3-config.d.ts.map +1 -0
  3648. package/dist/storage/drivers/s3/s3-config.js +315 -0
  3649. package/dist/storage/drivers/s3/s3-config.js.map +1 -0
  3650. package/dist/storage/drivers/s3/s3-connection-test.d.ts +28 -0
  3651. package/dist/storage/drivers/s3/s3-connection-test.d.ts.map +1 -0
  3652. package/dist/storage/drivers/s3/s3-connection-test.js +424 -0
  3653. package/dist/storage/drivers/s3/s3-connection-test.js.map +1 -0
  3654. package/dist/storage/drivers/s3/s3-family.d.ts +20 -0
  3655. package/dist/storage/drivers/s3/s3-family.d.ts.map +1 -0
  3656. package/dist/storage/drivers/s3/s3-family.js +208 -0
  3657. package/dist/storage/drivers/s3/s3-family.js.map +1 -0
  3658. package/dist/storage/drivers/s3/s3-probe.support.d.ts +153 -0
  3659. package/dist/storage/drivers/s3/s3-probe.support.d.ts.map +1 -0
  3660. package/dist/storage/drivers/s3/s3-probe.support.js +250 -0
  3661. package/dist/storage/drivers/s3/s3-probe.support.js.map +1 -0
  3662. package/dist/storage/drivers/s3/s3-provision.d.ts +46 -0
  3663. package/dist/storage/drivers/s3/s3-provision.d.ts.map +1 -0
  3664. package/dist/storage/drivers/s3/s3-provision.js +495 -0
  3665. package/dist/storage/drivers/s3/s3-provision.js.map +1 -0
  3666. package/dist/storage/drivers/s3/s3-purge.d.ts +29 -0
  3667. package/dist/storage/drivers/s3/s3-purge.d.ts.map +1 -0
  3668. package/dist/storage/drivers/s3/s3-purge.js +146 -0
  3669. package/dist/storage/drivers/s3/s3-purge.js.map +1 -0
  3670. package/dist/storage/drivers/storage-driver.d.ts +393 -0
  3671. package/dist/storage/drivers/storage-driver.d.ts.map +1 -0
  3672. package/dist/storage/drivers/storage-driver.js +251 -0
  3673. package/dist/storage/drivers/storage-driver.js.map +1 -0
  3674. package/dist/storage/handlers/storage-cleanup.handler.d.ts +59 -0
  3675. package/dist/storage/handlers/storage-cleanup.handler.d.ts.map +1 -0
  3676. package/dist/storage/handlers/storage-cleanup.handler.js +185 -0
  3677. package/dist/storage/handlers/storage-cleanup.handler.js.map +1 -0
  3678. package/dist/storage/handlers/storage-object-process.handler.d.ts +47 -0
  3679. package/dist/storage/handlers/storage-object-process.handler.d.ts.map +1 -0
  3680. package/dist/storage/handlers/storage-object-process.handler.js +172 -0
  3681. package/dist/storage/handlers/storage-object-process.handler.js.map +1 -0
  3682. package/dist/storage/index.d.ts +86 -0
  3683. package/dist/storage/index.d.ts.map +1 -0
  3684. package/dist/storage/index.js +221 -0
  3685. package/dist/storage/index.js.map +1 -0
  3686. package/dist/storage/mime-type-match.d.ts +26 -0
  3687. package/dist/storage/mime-type-match.d.ts.map +1 -0
  3688. package/dist/storage/mime-type-match.js +36 -0
  3689. package/dist/storage/mime-type-match.js.map +1 -0
  3690. package/dist/storage/multipart.d.ts +51 -0
  3691. package/dist/storage/multipart.d.ts.map +1 -0
  3692. package/dist/storage/multipart.js +21 -0
  3693. package/dist/storage/multipart.js.map +1 -0
  3694. package/dist/storage/node-object-store.binding.d.ts +28 -0
  3695. package/dist/storage/node-object-store.binding.d.ts.map +1 -0
  3696. package/dist/storage/node-object-store.binding.js +40 -0
  3697. package/dist/storage/node-object-store.binding.js.map +1 -0
  3698. package/dist/storage/objects/dto/complete-upload.dto.d.ts +17 -0
  3699. package/dist/storage/objects/dto/complete-upload.dto.d.ts.map +1 -0
  3700. package/dist/storage/objects/dto/complete-upload.dto.js +19 -0
  3701. package/dist/storage/objects/dto/complete-upload.dto.js.map +1 -0
  3702. package/dist/storage/objects/dto/download-url-response.dto.d.ts +14 -0
  3703. package/dist/storage/objects/dto/download-url-response.dto.d.ts.map +1 -0
  3704. package/dist/storage/objects/dto/download-url-response.dto.js +19 -0
  3705. package/dist/storage/objects/dto/download-url-response.dto.js.map +1 -0
  3706. package/dist/storage/objects/dto/init-upload.dto.d.ts +33 -0
  3707. package/dist/storage/objects/dto/init-upload.dto.d.ts.map +1 -0
  3708. package/dist/storage/objects/dto/init-upload.dto.js +28 -0
  3709. package/dist/storage/objects/dto/init-upload.dto.js.map +1 -0
  3710. package/dist/storage/objects/dto/object-list-query.dto.d.ts +13 -0
  3711. package/dist/storage/objects/dto/object-list-query.dto.d.ts.map +1 -0
  3712. package/dist/storage/objects/dto/object-list-query.dto.js +7 -0
  3713. package/dist/storage/objects/dto/object-list-query.dto.js.map +1 -0
  3714. package/dist/storage/objects/dto/object-response.dto.d.ts +35 -0
  3715. package/dist/storage/objects/dto/object-response.dto.d.ts.map +1 -0
  3716. package/dist/storage/objects/dto/object-response.dto.js +28 -0
  3717. package/dist/storage/objects/dto/object-response.dto.js.map +1 -0
  3718. package/dist/storage/objects/dto/update-metadata.dto.d.ts +14 -0
  3719. package/dist/storage/objects/dto/update-metadata.dto.d.ts.map +1 -0
  3720. package/dist/storage/objects/dto/update-metadata.dto.js +19 -0
  3721. package/dist/storage/objects/dto/update-metadata.dto.js.map +1 -0
  3722. package/dist/storage/objects/objects.controller.d.ts +77 -0
  3723. package/dist/storage/objects/objects.controller.d.ts.map +1 -0
  3724. package/dist/storage/objects/objects.controller.js +383 -0
  3725. package/dist/storage/objects/objects.controller.js.map +1 -0
  3726. package/dist/storage/objects/objects.service.d.ts +156 -0
  3727. package/dist/storage/objects/objects.service.d.ts.map +1 -0
  3728. package/dist/storage/objects/objects.service.js +642 -0
  3729. package/dist/storage/objects/objects.service.js.map +1 -0
  3730. package/dist/storage/ports.d.ts +39 -0
  3731. package/dist/storage/ports.d.ts.map +1 -0
  3732. package/dist/storage/ports.js +37 -0
  3733. package/dist/storage/ports.js.map +1 -0
  3734. package/dist/storage/processing/index.d.ts +11 -0
  3735. package/dist/storage/processing/index.d.ts.map +1 -0
  3736. package/dist/storage/processing/index.js +16 -0
  3737. package/dist/storage/processing/index.js.map +1 -0
  3738. package/dist/storage/processing/object-processing.module.d.ts +11 -0
  3739. package/dist/storage/processing/object-processing.module.d.ts.map +1 -0
  3740. package/dist/storage/processing/object-processing.module.js +32 -0
  3741. package/dist/storage/processing/object-processing.module.js.map +1 -0
  3742. package/dist/storage/processing/object-processing.service.d.ts +65 -0
  3743. package/dist/storage/processing/object-processing.service.d.ts.map +1 -0
  3744. package/dist/storage/processing/object-processing.service.js +211 -0
  3745. package/dist/storage/processing/object-processing.service.js.map +1 -0
  3746. package/dist/storage/processing/object-processor.interface.d.ts +47 -0
  3747. package/dist/storage/processing/object-processor.interface.d.ts.map +1 -0
  3748. package/dist/storage/processing/object-processor.interface.js +3 -0
  3749. package/dist/storage/processing/object-processor.interface.js.map +1 -0
  3750. package/dist/storage/processing/object-processor.registry.d.ts +50 -0
  3751. package/dist/storage/processing/object-processor.registry.d.ts.map +1 -0
  3752. package/dist/storage/processing/object-processor.registry.js +100 -0
  3753. package/dist/storage/processing/object-processor.registry.js.map +1 -0
  3754. package/dist/storage/processing/processing-metadata.d.ts +20 -0
  3755. package/dist/storage/processing/processing-metadata.d.ts.map +1 -0
  3756. package/dist/storage/processing/processing-metadata.js +34 -0
  3757. package/dist/storage/processing/processing-metadata.js.map +1 -0
  3758. package/dist/storage/profile-image/avatar.controller.d.ts +24 -0
  3759. package/dist/storage/profile-image/avatar.controller.d.ts.map +1 -0
  3760. package/dist/storage/profile-image/avatar.controller.js +90 -0
  3761. package/dist/storage/profile-image/avatar.controller.js.map +1 -0
  3762. package/dist/storage/profile-image/avatar.service.d.ts +60 -0
  3763. package/dist/storage/profile-image/avatar.service.d.ts.map +1 -0
  3764. package/dist/storage/profile-image/avatar.service.js +117 -0
  3765. package/dist/storage/profile-image/avatar.service.js.map +1 -0
  3766. package/dist/storage/profile-image/dto/profile-image-response.dto.d.ts +28 -0
  3767. package/dist/storage/profile-image/dto/profile-image-response.dto.d.ts.map +1 -0
  3768. package/dist/storage/profile-image/dto/profile-image-response.dto.js +40 -0
  3769. package/dist/storage/profile-image/dto/profile-image-response.dto.js.map +1 -0
  3770. package/dist/storage/profile-image/profile-image.controller.d.ts +32 -0
  3771. package/dist/storage/profile-image/profile-image.controller.d.ts.map +1 -0
  3772. package/dist/storage/profile-image/profile-image.controller.js +192 -0
  3773. package/dist/storage/profile-image/profile-image.controller.js.map +1 -0
  3774. package/dist/storage/profile-image/profile-image.d.ts +138 -0
  3775. package/dist/storage/profile-image/profile-image.d.ts.map +1 -0
  3776. package/dist/storage/profile-image/profile-image.js +182 -0
  3777. package/dist/storage/profile-image/profile-image.js.map +1 -0
  3778. package/dist/storage/profile-image/profile-image.module.d.ts +39 -0
  3779. package/dist/storage/profile-image/profile-image.module.d.ts.map +1 -0
  3780. package/dist/storage/profile-image/profile-image.module.js +66 -0
  3781. package/dist/storage/profile-image/profile-image.module.js.map +1 -0
  3782. package/dist/storage/profile-image/profile-image.service.d.ts +66 -0
  3783. package/dist/storage/profile-image/profile-image.service.d.ts.map +1 -0
  3784. package/dist/storage/profile-image/profile-image.service.js +243 -0
  3785. package/dist/storage/profile-image/profile-image.service.js.map +1 -0
  3786. package/dist/storage/providers/index.d.ts +11 -0
  3787. package/dist/storage/providers/index.d.ts.map +1 -0
  3788. package/dist/storage/providers/index.js +18 -0
  3789. package/dist/storage/providers/index.js.map +1 -0
  3790. package/dist/storage/providers/resolving-storage.provider.d.ts +113 -0
  3791. package/dist/storage/providers/resolving-storage.provider.d.ts.map +1 -0
  3792. package/dist/storage/providers/resolving-storage.provider.js +292 -0
  3793. package/dist/storage/providers/resolving-storage.provider.js.map +1 -0
  3794. package/dist/storage/providers/s3/s3-storage.provider.d.ts +263 -0
  3795. package/dist/storage/providers/s3/s3-storage.provider.d.ts.map +1 -0
  3796. package/dist/storage/providers/s3/s3-storage.provider.js +542 -0
  3797. package/dist/storage/providers/s3/s3-storage.provider.js.map +1 -0
  3798. package/dist/storage/providers/storage-provider.binding.d.ts +29 -0
  3799. package/dist/storage/providers/storage-provider.binding.d.ts.map +1 -0
  3800. package/dist/storage/providers/storage-provider.binding.js +80 -0
  3801. package/dist/storage/providers/storage-provider.binding.js.map +1 -0
  3802. package/dist/storage/providers/storage-provider.interface.d.ts +164 -0
  3803. package/dist/storage/providers/storage-provider.interface.d.ts.map +1 -0
  3804. package/dist/storage/providers/storage-provider.interface.js +33 -0
  3805. package/dist/storage/providers/storage-provider.interface.js.map +1 -0
  3806. package/dist/storage/providers/storage-provider.types.d.ts +90 -0
  3807. package/dist/storage/providers/storage-provider.types.d.ts.map +1 -0
  3808. package/dist/storage/providers/storage-provider.types.js +3 -0
  3809. package/dist/storage/providers/storage-provider.types.js.map +1 -0
  3810. package/dist/storage/providers/storage-providers.module.d.ts +63 -0
  3811. package/dist/storage/providers/storage-providers.module.d.ts.map +1 -0
  3812. package/dist/storage/providers/storage-providers.module.js +94 -0
  3813. package/dist/storage/providers/storage-providers.module.js.map +1 -0
  3814. package/dist/storage/purge/run-storage-purge.d.ts +179 -0
  3815. package/dist/storage/purge/run-storage-purge.d.ts.map +1 -0
  3816. package/dist/storage/purge/run-storage-purge.js +205 -0
  3817. package/dist/storage/purge/run-storage-purge.js.map +1 -0
  3818. package/dist/storage/status/dto/storage-status.dto.d.ts +14 -0
  3819. package/dist/storage/status/dto/storage-status.dto.d.ts.map +1 -0
  3820. package/dist/storage/status/dto/storage-status.dto.js +19 -0
  3821. package/dist/storage/status/dto/storage-status.dto.js.map +1 -0
  3822. package/dist/storage/status/storage-status.controller.d.ts +16 -0
  3823. package/dist/storage/status/storage-status.controller.d.ts.map +1 -0
  3824. package/dist/storage/status/storage-status.controller.js +85 -0
  3825. package/dist/storage/status/storage-status.controller.js.map +1 -0
  3826. package/dist/storage/storage-credential.constants.d.ts +47 -0
  3827. package/dist/storage/storage-credential.constants.d.ts.map +1 -0
  3828. package/dist/storage/storage-credential.constants.js +88 -0
  3829. package/dist/storage/storage-credential.constants.js.map +1 -0
  3830. package/dist/storage/storage-job-input.d.ts +90 -0
  3831. package/dist/storage/storage-job-input.d.ts.map +1 -0
  3832. package/dist/storage/storage-job-input.js +96 -0
  3833. package/dist/storage/storage-job-input.js.map +1 -0
  3834. package/dist/storage/storage-key-prefix.registry.d.ts +196 -0
  3835. package/dist/storage/storage-key-prefix.registry.d.ts.map +1 -0
  3836. package/dist/storage/storage-key-prefix.registry.js +303 -0
  3837. package/dist/storage/storage-key-prefix.registry.js.map +1 -0
  3838. package/dist/storage/storage-key-prefixes.d.ts +66 -0
  3839. package/dist/storage/storage-key-prefixes.d.ts.map +1 -0
  3840. package/dist/storage/storage-key-prefixes.js +161 -0
  3841. package/dist/storage/storage-key-prefixes.js.map +1 -0
  3842. package/dist/storage/storage.constants.d.ts +17 -0
  3843. package/dist/storage/storage.constants.d.ts.map +1 -0
  3844. package/dist/storage/storage.constants.js +28 -0
  3845. package/dist/storage/storage.constants.js.map +1 -0
  3846. package/dist/storage/storage.module.d.ts +35 -0
  3847. package/dist/storage/storage.module.d.ts.map +1 -0
  3848. package/dist/storage/storage.module.js +99 -0
  3849. package/dist/storage/storage.module.js.map +1 -0
  3850. package/dist/storage/storage.options.d.ts +116 -0
  3851. package/dist/storage/storage.options.d.ts.map +1 -0
  3852. package/dist/storage/storage.options.js +97 -0
  3853. package/dist/storage/storage.options.js.map +1 -0
  3854. package/dist/storage/storage.permissions.d.ts +33 -0
  3855. package/dist/storage/storage.permissions.d.ts.map +1 -0
  3856. package/dist/storage/storage.permissions.js +55 -0
  3857. package/dist/storage/storage.permissions.js.map +1 -0
  3858. package/dist/storage/tasks/index.d.ts +2 -0
  3859. package/dist/storage/tasks/index.d.ts.map +1 -0
  3860. package/dist/storage/tasks/index.js +18 -0
  3861. package/dist/storage/tasks/index.js.map +1 -0
  3862. package/dist/storage/tasks/storage-cleanup.task.d.ts +17 -0
  3863. package/dist/storage/tasks/storage-cleanup.task.d.ts.map +1 -0
  3864. package/dist/storage/tasks/storage-cleanup.task.js +71 -0
  3865. package/dist/storage/tasks/storage-cleanup.task.js.map +1 -0
  3866. package/dist/storage/testing/conformance.d.ts +61 -0
  3867. package/dist/storage/testing/conformance.d.ts.map +1 -0
  3868. package/dist/storage/testing/conformance.js +163 -0
  3869. package/dist/storage/testing/conformance.js.map +1 -0
  3870. package/dist/storage/testing/driver-conformance.d.ts +66 -0
  3871. package/dist/storage/testing/driver-conformance.d.ts.map +1 -0
  3872. package/dist/storage/testing/driver-conformance.js +333 -0
  3873. package/dist/storage/testing/driver-conformance.js.map +1 -0
  3874. package/dist/storage/testing/index.d.ts +5 -0
  3875. package/dist/storage/testing/index.d.ts.map +1 -0
  3876. package/dist/storage/testing/index.js +16 -0
  3877. package/dist/storage/testing/index.js.map +1 -0
  3878. package/dist/telemetry/assistant/telemetry-assistant-tool.registry.d.ts +90 -0
  3879. package/dist/telemetry/assistant/telemetry-assistant-tool.registry.d.ts.map +1 -0
  3880. package/dist/telemetry/assistant/telemetry-assistant-tool.registry.js +52 -0
  3881. package/dist/telemetry/assistant/telemetry-assistant-tool.registry.js.map +1 -0
  3882. package/dist/telemetry/assistant/telemetry-assistant.metrics.d.ts +1 -1
  3883. package/dist/telemetry/assistant/telemetry-assistant.metrics.d.ts.map +1 -1
  3884. package/dist/telemetry/assistant/telemetry-assistant.service.d.ts +47 -4
  3885. package/dist/telemetry/assistant/telemetry-assistant.service.d.ts.map +1 -1
  3886. package/dist/telemetry/assistant/telemetry-assistant.service.js +129 -14
  3887. package/dist/telemetry/assistant/telemetry-assistant.service.js.map +1 -1
  3888. package/dist/telemetry/connection/dto/telemetry-connection.dto.d.ts +1 -1
  3889. package/dist/telemetry/connection/telemetry-connection-test.service.d.ts +1 -1
  3890. package/dist/telemetry/connection/telemetry-connection-test.service.d.ts.map +1 -1
  3891. package/dist/telemetry/connection/telemetry-connection-test.service.js +2 -2
  3892. package/dist/telemetry/connection/telemetry-connection-test.service.js.map +1 -1
  3893. package/dist/telemetry/connection/telemetry-connection.schema.d.ts +7 -1
  3894. package/dist/telemetry/connection/telemetry-connection.schema.d.ts.map +1 -1
  3895. package/dist/telemetry/connection/telemetry-connection.schema.js +7 -1
  3896. package/dist/telemetry/connection/telemetry-connection.schema.js.map +1 -1
  3897. package/dist/telemetry/dashboard/panels/dashboard-panel.manifest.d.ts +2 -0
  3898. package/dist/telemetry/dashboard/panels/dashboard-panel.manifest.d.ts.map +1 -0
  3899. package/dist/telemetry/dashboard/panels/dashboard-panel.manifest.js +28 -0
  3900. package/dist/telemetry/dashboard/panels/dashboard-panel.manifest.js.map +1 -0
  3901. package/dist/telemetry/dashboard/panels/dashboard-panel.registry.d.ts +111 -0
  3902. package/dist/telemetry/dashboard/panels/dashboard-panel.registry.d.ts.map +1 -0
  3903. package/dist/telemetry/dashboard/panels/dashboard-panel.registry.js +63 -0
  3904. package/dist/telemetry/dashboard/panels/dashboard-panel.registry.js.map +1 -0
  3905. package/dist/telemetry/dashboard/panels/dashboard-panels.d.ts +3 -0
  3906. package/dist/telemetry/dashboard/panels/dashboard-panels.d.ts.map +1 -0
  3907. package/dist/telemetry/dashboard/panels/dashboard-panels.js +12 -0
  3908. package/dist/telemetry/dashboard/panels/dashboard-panels.js.map +1 -0
  3909. package/dist/telemetry/dashboard/panels/telemetry-dashboard-panel.service.d.ts +34 -0
  3910. package/dist/telemetry/dashboard/panels/telemetry-dashboard-panel.service.d.ts.map +1 -0
  3911. package/dist/telemetry/dashboard/panels/telemetry-dashboard-panel.service.js +145 -0
  3912. package/dist/telemetry/dashboard/panels/telemetry-dashboard-panel.service.js.map +1 -0
  3913. package/dist/telemetry/dashboard/sql-literals.d.ts +2 -0
  3914. package/dist/telemetry/dashboard/sql-literals.d.ts.map +1 -1
  3915. package/dist/telemetry/dashboard/sql-literals.js +7 -0
  3916. package/dist/telemetry/dashboard/sql-literals.js.map +1 -1
  3917. package/dist/telemetry/dashboard/telemetry-dashboard.controller.d.ts.map +1 -1
  3918. package/dist/telemetry/dashboard/telemetry-dashboard.controller.js +70 -5
  3919. package/dist/telemetry/dashboard/telemetry-dashboard.controller.js.map +1 -1
  3920. package/dist/telemetry/dashboard/telemetry-dashboard.service.d.ts +21 -4
  3921. package/dist/telemetry/dashboard/telemetry-dashboard.service.d.ts.map +1 -1
  3922. package/dist/telemetry/dashboard/telemetry-dashboard.service.js +73 -35
  3923. package/dist/telemetry/dashboard/telemetry-dashboard.service.js.map +1 -1
  3924. package/dist/telemetry/dashboard/telemetry-dashboard.sql.d.ts +21 -15
  3925. package/dist/telemetry/dashboard/telemetry-dashboard.sql.d.ts.map +1 -1
  3926. package/dist/telemetry/dashboard/telemetry-dashboard.sql.js +104 -65
  3927. package/dist/telemetry/dashboard/telemetry-dashboard.sql.js.map +1 -1
  3928. package/dist/telemetry/doctor/telemetry-freshness.doctor-check.d.ts +5 -4
  3929. package/dist/telemetry/doctor/telemetry-freshness.doctor-check.d.ts.map +1 -1
  3930. package/dist/telemetry/doctor/telemetry-freshness.doctor-check.js +14 -9
  3931. package/dist/telemetry/doctor/telemetry-freshness.doctor-check.js.map +1 -1
  3932. package/dist/telemetry/doctor/telemetry-reachable.doctor-check.d.ts +4 -4
  3933. package/dist/telemetry/doctor/telemetry-reachable.doctor-check.d.ts.map +1 -1
  3934. package/dist/telemetry/doctor/telemetry-reachable.doctor-check.js +12 -8
  3935. package/dist/telemetry/doctor/telemetry-reachable.doctor-check.js.map +1 -1
  3936. package/dist/telemetry/dto/telemetry-config.dto.d.ts +4 -0
  3937. package/dist/telemetry/dto/telemetry-config.dto.d.ts.map +1 -1
  3938. package/dist/telemetry/dto/telemetry-dashboard.dto.d.ts +94 -22
  3939. package/dist/telemetry/dto/telemetry-dashboard.dto.d.ts.map +1 -1
  3940. package/dist/telemetry/dto/telemetry-dashboard.dto.js +11 -1
  3941. package/dist/telemetry/dto/telemetry-dashboard.dto.js.map +1 -1
  3942. package/dist/telemetry/dto/telemetry-query.dto.d.ts +1 -1
  3943. package/dist/telemetry/handlers/telemetry-retention.handler.d.ts +6 -6
  3944. package/dist/telemetry/handlers/telemetry-retention.handler.d.ts.map +1 -1
  3945. package/dist/telemetry/handlers/telemetry-retention.handler.js +43 -52
  3946. package/dist/telemetry/handlers/telemetry-retention.handler.js.map +1 -1
  3947. package/dist/telemetry/index.d.ts +49 -6
  3948. package/dist/telemetry/index.d.ts.map +1 -1
  3949. package/dist/telemetry/index.js +66 -3
  3950. package/dist/telemetry/index.js.map +1 -1
  3951. package/dist/telemetry/metrics/groups/database.metric-group.d.ts.map +1 -1
  3952. package/dist/telemetry/metrics/groups/database.metric-group.js +3 -0
  3953. package/dist/telemetry/metrics/groups/database.metric-group.js.map +1 -1
  3954. package/dist/telemetry/metrics/groups/host.metric-group.d.ts.map +1 -1
  3955. package/dist/telemetry/metrics/groups/host.metric-group.js +3 -0
  3956. package/dist/telemetry/metrics/groups/host.metric-group.js.map +1 -1
  3957. package/dist/telemetry/metrics/groups/nodes.metric-group.d.ts.map +1 -1
  3958. package/dist/telemetry/metrics/groups/nodes.metric-group.js +3 -0
  3959. package/dist/telemetry/metrics/groups/nodes.metric-group.js.map +1 -1
  3960. package/dist/telemetry/metrics/groups/pipeline.metric-group.d.ts.map +1 -1
  3961. package/dist/telemetry/metrics/groups/pipeline.metric-group.js +3 -0
  3962. package/dist/telemetry/metrics/groups/pipeline.metric-group.js.map +1 -1
  3963. package/dist/telemetry/metrics/groups/queue.metric-group.d.ts.map +1 -1
  3964. package/dist/telemetry/metrics/groups/queue.metric-group.js +3 -0
  3965. package/dist/telemetry/metrics/groups/queue.metric-group.js.map +1 -1
  3966. package/dist/telemetry/metrics/groups/uptime.metric-group.d.ts.map +1 -1
  3967. package/dist/telemetry/metrics/groups/uptime.metric-group.js +3 -0
  3968. package/dist/telemetry/metrics/groups/uptime.metric-group.js.map +1 -1
  3969. package/dist/telemetry/metrics/metric-catalog.d.ts +5 -4
  3970. package/dist/telemetry/metrics/metric-catalog.d.ts.map +1 -1
  3971. package/dist/telemetry/metrics/metric-catalog.helpers.d.ts +9 -1
  3972. package/dist/telemetry/metrics/metric-catalog.helpers.d.ts.map +1 -1
  3973. package/dist/telemetry/metrics/metric-catalog.helpers.js.map +1 -1
  3974. package/dist/telemetry/metrics/metric-catalog.js.map +1 -1
  3975. package/dist/telemetry/metrics/metric-group.d.ts +3 -1
  3976. package/dist/telemetry/metrics/metric-group.d.ts.map +1 -1
  3977. package/dist/telemetry/metrics/metric-group.js +4 -2
  3978. package/dist/telemetry/metrics/metric-group.js.map +1 -1
  3979. package/dist/telemetry/metrics/metric-group.registry.d.ts +10 -26
  3980. package/dist/telemetry/metrics/metric-group.registry.d.ts.map +1 -1
  3981. package/dist/telemetry/metrics/metric-group.registry.js +6 -3
  3982. package/dist/telemetry/metrics/metric-group.registry.js.map +1 -1
  3983. package/dist/telemetry/metrics/metric-presentation.d.ts +29 -0
  3984. package/dist/telemetry/metrics/metric-presentation.d.ts.map +1 -0
  3985. package/dist/telemetry/metrics/metric-presentation.js +127 -0
  3986. package/dist/telemetry/metrics/metric-presentation.js.map +1 -0
  3987. package/dist/telemetry/metrics/metric-sql.d.ts +3 -2
  3988. package/dist/telemetry/metrics/metric-sql.d.ts.map +1 -1
  3989. package/dist/telemetry/metrics/metric-sql.js +7 -4
  3990. package/dist/telemetry/metrics/metric-sql.js.map +1 -1
  3991. package/dist/telemetry/metrics/metric-unit.registry.d.ts +61 -0
  3992. package/dist/telemetry/metrics/metric-unit.registry.d.ts.map +1 -0
  3993. package/dist/telemetry/metrics/metric-unit.registry.js +91 -0
  3994. package/dist/telemetry/metrics/metric-unit.registry.js.map +1 -0
  3995. package/dist/telemetry/metrics/metric-values.d.ts +1 -1
  3996. package/dist/telemetry/metrics/metric-values.d.ts.map +1 -1
  3997. package/dist/telemetry/metrics/metric-values.js +1 -1
  3998. package/dist/telemetry/metrics/metric-values.js.map +1 -1
  3999. package/dist/telemetry/metrics/metric-verdict.d.ts +1 -1
  4000. package/dist/telemetry/metrics/metric-verdict.d.ts.map +1 -1
  4001. package/dist/telemetry/query/telemetry-availability.d.ts +3 -3
  4002. package/dist/telemetry/query/telemetry-availability.d.ts.map +1 -1
  4003. package/dist/telemetry/query/telemetry-availability.js +8 -8
  4004. package/dist/telemetry/query/telemetry-availability.js.map +1 -1
  4005. package/dist/telemetry/query/telemetry-query-facade.d.ts +128 -0
  4006. package/dist/telemetry/query/telemetry-query-facade.d.ts.map +1 -0
  4007. package/dist/telemetry/query/telemetry-query-facade.js +112 -0
  4008. package/dist/telemetry/query/telemetry-query-facade.js.map +1 -0
  4009. package/dist/telemetry/query/telemetry-query.errors.d.ts +2 -0
  4010. package/dist/telemetry/query/telemetry-query.errors.d.ts.map +1 -1
  4011. package/dist/telemetry/query/telemetry-query.errors.js +10 -0
  4012. package/dist/telemetry/query/telemetry-query.errors.js.map +1 -1
  4013. package/dist/telemetry/query/telemetry-query.service.d.ts +5 -5
  4014. package/dist/telemetry/query/telemetry-query.service.d.ts.map +1 -1
  4015. package/dist/telemetry/query/telemetry-query.service.js +13 -11
  4016. package/dist/telemetry/query/telemetry-query.service.js.map +1 -1
  4017. package/dist/telemetry/query/telemetry-schema.service.d.ts +4 -10
  4018. package/dist/telemetry/query/telemetry-schema.service.d.ts.map +1 -1
  4019. package/dist/telemetry/query/telemetry-schema.service.js +17 -66
  4020. package/dist/telemetry/query/telemetry-schema.service.js.map +1 -1
  4021. package/dist/telemetry/stack/dto/telemetry-stack.dto.d.ts +3 -3
  4022. package/dist/telemetry/stack/stack-agent.client.d.ts +2 -2
  4023. package/dist/telemetry/stack/telemetry-stack-deploy.handler.d.ts +1 -0
  4024. package/dist/telemetry/stack/telemetry-stack-deploy.handler.d.ts.map +1 -1
  4025. package/dist/telemetry/stack/telemetry-stack-deploy.handler.js +1 -0
  4026. package/dist/telemetry/stack/telemetry-stack-deploy.handler.js.map +1 -1
  4027. package/dist/telemetry/stores/dto/telemetry-store.dto.d.ts +73 -0
  4028. package/dist/telemetry/stores/dto/telemetry-store.dto.d.ts.map +1 -0
  4029. package/dist/telemetry/stores/dto/telemetry-store.dto.js +15 -0
  4030. package/dist/telemetry/stores/dto/telemetry-store.dto.js.map +1 -0
  4031. package/dist/telemetry/stores/greptime/greptime-host.d.ts.map +1 -0
  4032. package/dist/telemetry/stores/greptime/greptime-host.js.map +1 -0
  4033. package/dist/telemetry/{greptime → stores/greptime}/greptime.client.d.ts +30 -57
  4034. package/dist/telemetry/stores/greptime/greptime.client.d.ts.map +1 -0
  4035. package/dist/telemetry/{greptime → stores/greptime}/greptime.client.js +52 -23
  4036. package/dist/telemetry/stores/greptime/greptime.client.js.map +1 -0
  4037. package/dist/telemetry/stores/greptime/greptime.dialect.d.ts +8 -0
  4038. package/dist/telemetry/stores/greptime/greptime.dialect.d.ts.map +1 -0
  4039. package/dist/telemetry/stores/greptime/greptime.dialect.js +53 -0
  4040. package/dist/telemetry/stores/greptime/greptime.dialect.js.map +1 -0
  4041. package/dist/telemetry/stores/greptime/greptime.retention.d.ts +37 -0
  4042. package/dist/telemetry/stores/greptime/greptime.retention.d.ts.map +1 -0
  4043. package/dist/telemetry/stores/greptime/greptime.retention.js +128 -0
  4044. package/dist/telemetry/stores/greptime/greptime.retention.js.map +1 -0
  4045. package/dist/telemetry/stores/greptime/greptime.schema.d.ts +25 -0
  4046. package/dist/telemetry/stores/greptime/greptime.schema.d.ts.map +1 -0
  4047. package/dist/telemetry/stores/greptime/greptime.schema.js +80 -0
  4048. package/dist/telemetry/stores/greptime/greptime.schema.js.map +1 -0
  4049. package/dist/telemetry/stores/greptime/greptime.store.d.ts +8 -0
  4050. package/dist/telemetry/stores/greptime/greptime.store.d.ts.map +1 -0
  4051. package/dist/telemetry/stores/greptime/greptime.store.js +47 -0
  4052. package/dist/telemetry/stores/greptime/greptime.store.js.map +1 -0
  4053. package/dist/telemetry/stores/telemetry-store-settings.service.d.ts +44 -0
  4054. package/dist/telemetry/stores/telemetry-store-settings.service.d.ts.map +1 -0
  4055. package/dist/telemetry/stores/telemetry-store-settings.service.js +208 -0
  4056. package/dist/telemetry/stores/telemetry-store-settings.service.js.map +1 -0
  4057. package/dist/telemetry/stores/telemetry-store.controller.d.ts +14 -0
  4058. package/dist/telemetry/stores/telemetry-store.controller.d.ts.map +1 -0
  4059. package/dist/telemetry/stores/telemetry-store.controller.js +111 -0
  4060. package/dist/telemetry/stores/telemetry-store.controller.js.map +1 -0
  4061. package/dist/telemetry/stores/telemetry-store.d.ts +428 -0
  4062. package/dist/telemetry/stores/telemetry-store.d.ts.map +1 -0
  4063. package/dist/telemetry/{greptime/greptime.errors.d.ts → stores/telemetry-store.errors.d.ts} +31 -5
  4064. package/dist/telemetry/stores/telemetry-store.errors.d.ts.map +1 -0
  4065. package/dist/telemetry/{greptime/greptime.errors.js → stores/telemetry-store.errors.js} +41 -15
  4066. package/dist/telemetry/stores/telemetry-store.errors.js.map +1 -0
  4067. package/dist/telemetry/stores/telemetry-store.js +213 -0
  4068. package/dist/telemetry/stores/telemetry-store.js.map +1 -0
  4069. package/dist/telemetry/stores/telemetry-store.resolver.d.ts +81 -0
  4070. package/dist/telemetry/stores/telemetry-store.resolver.d.ts.map +1 -0
  4071. package/dist/telemetry/stores/telemetry-store.resolver.js +312 -0
  4072. package/dist/telemetry/stores/telemetry-store.resolver.js.map +1 -0
  4073. package/dist/telemetry/tasks/telemetry-retention.task.js +1 -1
  4074. package/dist/telemetry/tasks/telemetry-retention.task.js.map +1 -1
  4075. package/dist/telemetry/telemetry-settings.service.d.ts +5 -3
  4076. package/dist/telemetry/telemetry-settings.service.d.ts.map +1 -1
  4077. package/dist/telemetry/telemetry-settings.service.js +15 -9
  4078. package/dist/telemetry/telemetry-settings.service.js.map +1 -1
  4079. package/dist/telemetry/telemetry-status.service.d.ts +5 -17
  4080. package/dist/telemetry/telemetry-status.service.d.ts.map +1 -1
  4081. package/dist/telemetry/telemetry-status.service.js +31 -100
  4082. package/dist/telemetry/telemetry-status.service.js.map +1 -1
  4083. package/dist/telemetry/telemetry-support-bundle.section.d.ts +13 -13
  4084. package/dist/telemetry/telemetry-support-bundle.section.d.ts.map +1 -1
  4085. package/dist/telemetry/telemetry-support-bundle.section.js +10 -8
  4086. package/dist/telemetry/telemetry-support-bundle.section.js.map +1 -1
  4087. package/dist/telemetry/telemetry.module.d.ts +2 -2
  4088. package/dist/telemetry/telemetry.module.d.ts.map +1 -1
  4089. package/dist/telemetry/telemetry.module.js +42 -3
  4090. package/dist/telemetry/telemetry.module.js.map +1 -1
  4091. package/dist/telemetry/telemetry.options.d.ts +60 -0
  4092. package/dist/telemetry/telemetry.options.d.ts.map +1 -1
  4093. package/dist/telemetry/telemetry.options.js +57 -1
  4094. package/dist/telemetry/telemetry.options.js.map +1 -1
  4095. package/dist/telemetry/telemetry.permissions.d.ts +4 -16
  4096. package/dist/telemetry/telemetry.permissions.d.ts.map +1 -1
  4097. package/dist/telemetry/telemetry.permissions.js +1 -1
  4098. package/dist/telemetry/telemetry.permissions.js.map +1 -1
  4099. package/dist/telemetry/testing/conformance.d.ts +63 -4
  4100. package/dist/telemetry/testing/conformance.d.ts.map +1 -1
  4101. package/dist/telemetry/testing/conformance.js +154 -16
  4102. package/dist/telemetry/testing/conformance.js.map +1 -1
  4103. package/dist/telemetry/testing/index.d.ts +6 -2
  4104. package/dist/telemetry/testing/index.d.ts.map +1 -1
  4105. package/dist/telemetry/testing/index.js +10 -1
  4106. package/dist/telemetry/testing/index.js.map +1 -1
  4107. package/dist/telemetry/testing/metric-schema.fixture.d.ts +1 -1
  4108. package/dist/telemetry/testing/metric-schema.fixture.js +1 -1
  4109. package/dist/telemetry/testing/store-conformance.d.ts +129 -0
  4110. package/dist/telemetry/testing/store-conformance.d.ts.map +1 -0
  4111. package/dist/telemetry/testing/store-conformance.js +371 -0
  4112. package/dist/telemetry/testing/store-conformance.js.map +1 -0
  4113. package/dist/telemetry/testing/stub-ports.d.ts +11 -1
  4114. package/dist/telemetry/testing/stub-ports.d.ts.map +1 -1
  4115. package/dist/telemetry/testing/stub-ports.js +17 -9
  4116. package/dist/telemetry/testing/stub-ports.js.map +1 -1
  4117. package/dist/testing/conformance-suite.d.ts +43 -0
  4118. package/dist/testing/conformance-suite.d.ts.map +1 -1
  4119. package/dist/testing/conformance-suites.d.ts +2 -2
  4120. package/dist/testing/conformance-suites.d.ts.map +1 -1
  4121. package/dist/testing/conformance-suites.js.map +1 -1
  4122. package/dist/testing/index.d.ts +31 -3
  4123. package/dist/testing/index.d.ts.map +1 -1
  4124. package/dist/testing/index.js +4 -1
  4125. package/dist/testing/index.js.map +1 -1
  4126. package/dist/testing/run-platform-conformance.d.ts +41 -34
  4127. package/dist/testing/run-platform-conformance.d.ts.map +1 -1
  4128. package/dist/testing/run-platform-conformance.js +51 -2
  4129. package/dist/testing/run-platform-conformance.js.map +1 -1
  4130. package/dist/testing/suites/cron-enqueue-only.d.ts +7 -0
  4131. package/dist/testing/suites/cron-enqueue-only.d.ts.map +1 -1
  4132. package/dist/testing/suites/cron-enqueue-only.js +12 -5
  4133. package/dist/testing/suites/cron-enqueue-only.js.map +1 -1
  4134. package/dist/testing/suites/user-owned-data.d.ts +1 -1
  4135. package/dist/testing/test-api.d.ts +15 -0
  4136. package/dist/testing/test-api.d.ts.map +1 -0
  4137. package/dist/testing/test-api.js +29 -0
  4138. package/dist/testing/test-api.js.map +1 -0
  4139. package/dist/user-data/composed-schema.d.ts +28 -0
  4140. package/dist/user-data/composed-schema.d.ts.map +1 -0
  4141. package/dist/user-data/composed-schema.js +56 -0
  4142. package/dist/user-data/composed-schema.js.map +1 -0
  4143. package/dist/user-data/default-environment.d.ts +19 -0
  4144. package/dist/user-data/default-environment.d.ts.map +1 -0
  4145. package/dist/user-data/default-environment.js +47 -0
  4146. package/dist/user-data/default-environment.js.map +1 -0
  4147. package/dist/user-data/doctor/user-data-registries.doctor-check.d.ts +23 -0
  4148. package/dist/user-data/doctor/user-data-registries.doctor-check.d.ts.map +1 -0
  4149. package/dist/user-data/doctor/user-data-registries.doctor-check.js +102 -0
  4150. package/dist/user-data/doctor/user-data-registries.doctor-check.js.map +1 -0
  4151. package/dist/user-data/handlers/factory-reset.handler.d.ts +54 -0
  4152. package/dist/user-data/handlers/factory-reset.handler.d.ts.map +1 -0
  4153. package/dist/user-data/handlers/factory-reset.handler.js +351 -0
  4154. package/dist/user-data/handlers/factory-reset.handler.js.map +1 -0
  4155. package/dist/user-data/handlers/org-offboard.handler.d.ts +52 -0
  4156. package/dist/user-data/handlers/org-offboard.handler.d.ts.map +1 -0
  4157. package/dist/user-data/handlers/org-offboard.handler.js +263 -0
  4158. package/dist/user-data/handlers/org-offboard.handler.js.map +1 -0
  4159. package/dist/user-data/handlers/user-data-purge.handler.d.ts +69 -0
  4160. package/dist/user-data/handlers/user-data-purge.handler.d.ts.map +1 -0
  4161. package/dist/user-data/handlers/user-data-purge.handler.js +146 -0
  4162. package/dist/user-data/handlers/user-data-purge.handler.js.map +1 -0
  4163. package/dist/user-data/index.d.ts +30 -0
  4164. package/dist/user-data/index.d.ts.map +1 -0
  4165. package/dist/user-data/index.js +118 -0
  4166. package/dist/user-data/index.js.map +1 -0
  4167. package/dist/user-data/platform-user-data.d.ts +39 -0
  4168. package/dist/user-data/platform-user-data.d.ts.map +1 -0
  4169. package/dist/user-data/platform-user-data.js +167 -0
  4170. package/dist/user-data/platform-user-data.js.map +1 -0
  4171. package/dist/user-data/ports.d.ts +68 -0
  4172. package/dist/user-data/ports.d.ts.map +1 -0
  4173. package/dist/user-data/ports.js +43 -0
  4174. package/dist/user-data/ports.js.map +1 -0
  4175. package/dist/user-data/preconditions/recent-org-export.d.ts +29 -0
  4176. package/dist/user-data/preconditions/recent-org-export.d.ts.map +1 -0
  4177. package/dist/user-data/preconditions/recent-org-export.js +79 -0
  4178. package/dist/user-data/preconditions/recent-org-export.js.map +1 -0
  4179. package/dist/user-data/purge/purge-planner.d.ts +106 -0
  4180. package/dist/user-data/purge/purge-planner.d.ts.map +1 -0
  4181. package/dist/user-data/purge/purge-planner.js +202 -0
  4182. package/dist/user-data/purge/purge-planner.js.map +1 -0
  4183. package/dist/user-data/purge/user-purge.d.ts +209 -0
  4184. package/dist/user-data/purge/user-purge.d.ts.map +1 -0
  4185. package/dist/user-data/purge/user-purge.js +305 -0
  4186. package/dist/user-data/purge/user-purge.js.map +1 -0
  4187. package/dist/user-data/registry-checks.d.ts +44 -0
  4188. package/dist/user-data/registry-checks.d.ts.map +1 -0
  4189. package/dist/user-data/registry-checks.js +121 -0
  4190. package/dist/user-data/registry-checks.js.map +1 -0
  4191. package/dist/user-data/testing/conformance.d.ts +33 -0
  4192. package/dist/user-data/testing/conformance.d.ts.map +1 -0
  4193. package/dist/user-data/testing/conformance.js +80 -0
  4194. package/dist/user-data/testing/conformance.js.map +1 -0
  4195. package/dist/user-data/testing/index.d.ts +3 -0
  4196. package/dist/user-data/testing/index.d.ts.map +1 -0
  4197. package/dist/user-data/testing/index.js +13 -0
  4198. package/dist/user-data/testing/index.js.map +1 -0
  4199. package/dist/user-data/user-data-plan.service.d.ts +62 -0
  4200. package/dist/user-data/user-data-plan.service.d.ts.map +1 -0
  4201. package/dist/user-data/user-data-plan.service.js +84 -0
  4202. package/dist/user-data/user-data-plan.service.js.map +1 -0
  4203. package/dist/user-data/user-data.controller.d.ts +142 -0
  4204. package/dist/user-data/user-data.controller.d.ts.map +1 -0
  4205. package/dist/user-data/user-data.controller.js +302 -0
  4206. package/dist/user-data/user-data.controller.js.map +1 -0
  4207. package/dist/user-data/user-data.metrics.d.ts +57 -0
  4208. package/dist/user-data/user-data.metrics.d.ts.map +1 -0
  4209. package/dist/user-data/user-data.metrics.js +84 -0
  4210. package/dist/user-data/user-data.metrics.js.map +1 -0
  4211. package/dist/user-data/user-data.module.d.ts +38 -0
  4212. package/dist/user-data/user-data.module.d.ts.map +1 -0
  4213. package/dist/user-data/user-data.module.js +86 -0
  4214. package/dist/user-data/user-data.module.js.map +1 -0
  4215. package/dist/user-data/user-data.options.d.ts +108 -0
  4216. package/dist/user-data/user-data.options.d.ts.map +1 -0
  4217. package/dist/user-data/user-data.options.js +66 -0
  4218. package/dist/user-data/user-data.options.js.map +1 -0
  4219. package/dist/user-data/user-data.permissions.d.ts +29 -0
  4220. package/dist/user-data/user-data.permissions.d.ts.map +1 -0
  4221. package/dist/user-data/user-data.permissions.js +33 -0
  4222. package/dist/user-data/user-data.permissions.js.map +1 -0
  4223. package/dist/user-data/user-data.registries.d.ts +202 -0
  4224. package/dist/user-data/user-data.registries.d.ts.map +1 -0
  4225. package/dist/user-data/user-data.registries.js +425 -0
  4226. package/dist/user-data/user-data.registries.js.map +1 -0
  4227. package/dist/user-data/user-data.service.d.ts +132 -0
  4228. package/dist/user-data/user-data.service.d.ts.map +1 -0
  4229. package/dist/user-data/user-data.service.js +434 -0
  4230. package/dist/user-data/user-data.service.js.map +1 -0
  4231. package/dist/user-data/user-data.types.d.ts +299 -0
  4232. package/dist/user-data/user-data.types.d.ts.map +1 -0
  4233. package/dist/user-data/user-data.types.js +23 -0
  4234. package/dist/user-data/user-data.types.js.map +1 -0
  4235. package/dist/user-data/user-purge.runner.d.ts +132 -0
  4236. package/dist/user-data/user-purge.runner.d.ts.map +1 -0
  4237. package/dist/user-data/user-purge.runner.js +283 -0
  4238. package/dist/user-data/user-purge.runner.js.map +1 -0
  4239. package/dist/user-data/user-removal-hooks.d.ts +17 -0
  4240. package/dist/user-data/user-removal-hooks.d.ts.map +1 -0
  4241. package/dist/user-data/user-removal-hooks.js +27 -0
  4242. package/dist/user-data/user-removal-hooks.js.map +1 -0
  4243. package/package.json +210 -4
  4244. package/dist/telemetry/greptime/greptime-host.d.ts.map +0 -1
  4245. package/dist/telemetry/greptime/greptime-host.js.map +0 -1
  4246. package/dist/telemetry/greptime/greptime.client.d.ts.map +0 -1
  4247. package/dist/telemetry/greptime/greptime.client.js.map +0 -1
  4248. package/dist/telemetry/greptime/greptime.errors.d.ts.map +0 -1
  4249. package/dist/telemetry/greptime/greptime.errors.js.map +0 -1
  4250. /package/dist/telemetry/{greptime → stores/greptime}/greptime-host.d.ts +0 -0
  4251. /package/dist/telemetry/{greptime → stores/greptime}/greptime-host.js +0 -0
@@ -0,0 +1,1221 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ var NotificationsService_1;
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.NotificationsService = void 0;
17
+ const common_1 = require("@nestjs/common");
18
+ const api_1 = require("@opentelemetry/api");
19
+ const index_1 = require("../core/index");
20
+ const ports_1 = require("./ports");
21
+ const describe_thrown_1 = require("./describe-thrown");
22
+ const notification_delivery_service_1 = require("./notification-delivery.service");
23
+ const notification_events_1 = require("./notification-events");
24
+ const notification_policy_service_1 = require("./notification-policy.service");
25
+ const channel_sender_registry_1 = require("./registry/channel-sender.registry");
26
+ const channel_registry_1 = require("./registry/channel.registry");
27
+ const notification_preferences_1 = require("./notification-preferences");
28
+ const notification_types_1 = require("./notification.types");
29
+ /** The longest `display` stored in a delivery row's `recipient`. */
30
+ const MAX_DISPLAY_LENGTH = 255;
31
+ // =============================================================================
32
+ // NotificationsService — the dispatcher (issue #125, epic #109)
33
+ // =============================================================================
34
+ //
35
+ // ONE ENTRY POINT: `notify(eventKey, userId, data)`. It resolves the event
36
+ // from the registry (#121), resolves the user's per-channel preference, and
37
+ // fans out to each enabled channel, recording what happened.
38
+ //
39
+ // Five public methods now share that ONE resolution point rather than
40
+ // multiplying it: `notify` (the detached default), `notifyAddress` (#128 — a
41
+ // second way of BUILDING a recipient, for somebody with no account yet),
42
+ // `notifyNow` (#321 — the same dispatch, awaited, for a job handler that must
43
+ // not return before its work has committed), and the pair added by #288 (epic
44
+ // #254) — `notifyPermissionHolders` and `notifyPermissionHoldersNow`, a third
45
+ // way of building recipients, for an OPERATIONAL event whose audience is
46
+ // "whoever can act on this" rather than any one user. All five converge on the
47
+ // private `dispatch()`, which is the only place a preference or a policy is
48
+ // consulted.
49
+ //
50
+ // The alternative — emit an event and let each channel subscribe — is more
51
+ // decoupled and scatters the preference gate across subscribers, where one of
52
+ // them can forget it. `mandatory` is a security gate; there is ONE resolution
53
+ // point and ONE gate.
54
+ //
55
+ // -----------------------------------------------------------------------------
56
+ // INLINE, NOT QUEUED — AND THE TRADE-OFF THAT BUYS
57
+ // -----------------------------------------------------------------------------
58
+ //
59
+ // DECISION: dispatch happens in this process, immediately, and is DETACHED
60
+ // from the caller. `notify` schedules the work on a later microtask and
61
+ // returns; it never awaits a settings read, a render, or a socket to an SMTP
62
+ // server.
63
+ //
64
+ // WHY NOT A QUEUE. A durable queue (BullMQ + Redis, or a `jobs` table with a
65
+ // poller) is real machinery: a broker or a table, a worker process, its own
66
+ // deployment unit, its own failure modes, its own dashboard. This baseline has
67
+ // none of that anywhere — no Redis, no background worker, no job table — and
68
+ // introducing the first one to send three emails puts the ops cost of a job
69
+ // system into an epic about notifications. #125 says as much.
70
+ //
71
+ // WHY NOT PLAIN INLINE-AND-AWAITED. Because then a slow SMTP server is a slow
72
+ // request: the admin who changed a user's roles waits on the mail server
73
+ // before their PATCH returns, and a hung connection holds a Fastify request
74
+ // open for the transport's full timeout. The action and its notification have
75
+ // no reason to share a latency budget.
76
+ //
77
+ // THE TRADE-OFF ACCEPTED, STATED PLAINLY: there is NO DURABILITY AND NO RETRY.
78
+ // If this process dies between the schedule and the send — a deploy, an OOM
79
+ // kill, a crash — that notification is gone and nothing will try again. Two
80
+ // things bound the damage, and neither eliminates it:
81
+ //
82
+ // * The `queued` delivery row is written BEFORE the attempt (see
83
+ // notification-delivery.service.ts), so a lost send leaves evidence: a row
84
+ // stuck at `queued`, findable through an index built for that query. The
85
+ // notification is lost; the KNOWLEDGE that it was lost is not.
86
+ // * `onModuleDestroy` drains in-flight dispatches, so an ORDERLY shutdown
87
+ // (the common case — a rolling deploy, `docker compose down`) finishes
88
+ // what it started instead of dropping it.
89
+ //
90
+ // There is also no backpressure: a burst of events becomes a burst of
91
+ // concurrent sends. Acceptable at this baseline's scale — notifications here
92
+ // are triggered by human actions, not by a firehose — and it is the first
93
+ // thing to revisit if that changes. When a queue is eventually justified, the
94
+ // seam is `schedule()` below and nothing above it moves.
95
+ //
96
+ // -----------------------------------------------------------------------------
97
+ // HOW `notify` IS GUARANTEED NOT TO THROW
98
+ // -----------------------------------------------------------------------------
99
+ //
100
+ // Structurally, not by inspection. `notify` itself does exactly two things
101
+ // that could fail — a synchronous map lookup, and handing a closure to
102
+ // `schedule` — and `schedule` routes it through `runContained`, which attaches
103
+ // a `.catch()` before the promise can reject. `notifyNow` (#321, below) makes
104
+ // the same promise by calling the SAME `runContained`, not a second try/catch
105
+ // of its own: one guarantee, one implementation, so it cannot be weakened on
106
+ // one path only. Every layer below it is separately defensive: the channel contract
107
+ // returns failures instead of throwing, the delivery service swallows its own
108
+ // database errors, and `deliverOne` wraps every channel call in a `try`/`catch`
109
+ // regardless. The point of the redundancy is that the guarantee must survive a
110
+ // channel added by somebody who did not read the contract.
111
+ //
112
+ // It also never participates in the caller's transaction: the dispatch runs
113
+ // after the caller's turn ends, on this service's own `PrismaService` calls,
114
+ // outside any `$transaction` the caller may be holding. A notification cannot
115
+ // roll back a role change, and a role change's rollback cannot un-send mail.
116
+ // =============================================================================
117
+ /**
118
+ * How long an orderly shutdown waits for in-flight dispatches.
119
+ *
120
+ * BOUNDED, because the thing being waited on is a network call to a mail
121
+ * server: an unbounded drain lets one hung SMTP connection hold a container in
122
+ * `stopping` until the orchestrator SIGKILLs it, which loses the same work
123
+ * AND makes the deploy slow. Five seconds is enough for a send already in
124
+ * flight and short enough to stay well inside a typical 10s stop grace period.
125
+ */
126
+ const SHUTDOWN_DRAIN_MS = 5_000;
127
+ const tracer = api_1.trace.getTracer('@marinoscar/platform-api/notifications');
128
+ /**
129
+ * The {@link NotifyNowResult} for every dispatch that met no throttle —
130
+ * including the ones that sent nothing at all (unknown event, missing user,
131
+ * every channel muted) and the one whose internals threw. Frozen and shared
132
+ * because it is returned from many exits and must never be mutated by one.
133
+ */
134
+ const NOT_THROTTLED = Object.freeze({
135
+ rateLimited: false,
136
+ retryAfterMs: null,
137
+ });
138
+ /**
139
+ * Folds one channel's result into the dispatch-wide {@link NotifyNowResult}:
140
+ * rate-limited if ANY channel was, and the LONGEST provider-named wait.
141
+ *
142
+ * Tolerant of a malformed `retryAfterMs` (non-finite, zero, negative) because
143
+ * it comes from a channel, and the dispatcher does not trust channels — see
144
+ * `deliverOne`'s own belt-and-braces `try`. A bad value is "no opinion", never
145
+ * a zero that a caller could read as "retry immediately".
146
+ */
147
+ function mergeThrottle(acc, result) {
148
+ if (result.rateLimited !== true) {
149
+ return acc;
150
+ }
151
+ const named = typeof result.retryAfterMs === 'number' &&
152
+ Number.isFinite(result.retryAfterMs) &&
153
+ result.retryAfterMs > 0
154
+ ? result.retryAfterMs
155
+ : null;
156
+ const retryAfterMs = named === null
157
+ ? acc.retryAfterMs
158
+ : acc.retryAfterMs === null
159
+ ? named
160
+ : Math.max(acc.retryAfterMs, named);
161
+ return { rateLimited: true, retryAfterMs };
162
+ }
163
+ /**
164
+ * The dispatcher: raise a registered event to a user, an address or the
165
+ * holders of a permission. Every entry point converges on one dispatch that
166
+ * applies the policy in force for the recipient's organization (system, then
167
+ * org layer), then the recipient's preferences (a `mandatory` event ignores
168
+ * them), then hands each surviving channel to its sender, writing one
169
+ * `notification_deliveries` row per attempt. It never throws to its caller.
170
+ *
171
+ * ⚠ Call it AFTER the triggering write has committed and OUTSIDE any
172
+ * `$transaction` (the conformance suite's `notify-after-commit` case).
173
+ *
174
+ * @example
175
+ * ```ts
176
+ * await this.notifications.notify('billing.invoice_ready', userId, { invoiceId });
177
+ * ```
178
+ *
179
+ * @extensionPoint token
180
+ * @stability stable
181
+ */
182
+ let NotificationsService = NotificationsService_1 = class NotificationsService {
183
+ prisma;
184
+ deliveries;
185
+ policy;
186
+ metrics;
187
+ senderRegistry;
188
+ handles;
189
+ logger = new common_1.Logger(NotificationsService_1.name);
190
+ /**
191
+ * Channel -\> sender, built once from whatever the module registered.
192
+ *
193
+ * A Map rather than a `switch` or a chain of `if`s: the dispatcher iterates
194
+ * the channels the event and the user's preferences agree on, and asks this
195
+ * for each. A channel the registry declares but nothing implements —
196
+ * `browser`, until #127 — is simply absent, and absent is handled in one
197
+ * place.
198
+ */
199
+ senders;
200
+ /**
201
+ * Dispatches that have been scheduled and have not finished.
202
+ *
203
+ * Tracked ONLY so shutdown can drain them (and so tests can await them —
204
+ * see {@link flush}). Nothing reads it to make a delivery decision.
205
+ */
206
+ inFlight = new Set();
207
+ constructor(prisma, deliveries,
208
+ // The deployment-wide gate (#226). Injected rather than read inline so the
209
+ // never-throw guarantee lives in one place; see the service's own header.
210
+ policy, senders, metrics = ports_1.NOOP_NOTIFICATIONS_METRICS, senderRegistry, handles) {
211
+ this.prisma = prisma;
212
+ this.deliveries = deliveries;
213
+ this.policy = policy;
214
+ this.metrics = metrics;
215
+ this.senderRegistry = senderRegistry;
216
+ this.handles = handles;
217
+ this.senders = new Map();
218
+ for (const sender of senders) {
219
+ if (this.senders.has(sender.channel)) {
220
+ // FAIL AT BOOT, LOUDLY. Two senders claiming one channel means the
221
+ // second silently shadows the first, and the symptom is "some
222
+ // notifications go out over the wrong transport", which is close to
223
+ // undiagnosable from a delivery record. This is the one place in this
224
+ // file that is allowed to throw: it runs at module construction, not
225
+ // on a business action, and a misconfigured graph should not start.
226
+ throw new Error(`Duplicate notification channel sender registered for '${sender.channel}'.`);
227
+ }
228
+ this.senders.set(sender.channel, sender);
229
+ }
230
+ }
231
+ /**
232
+ * Raise a notification for one user.
233
+ *
234
+ * THE ONLY PUBLIC ENTRY POINT, and deliberately the whole API: a call site
235
+ * needs an event key, a user id and a payload, and nothing about channels,
236
+ * templates, transports or preferences. That is what makes "adding a
237
+ * notification costs one registry entry" (epic #109) true at the call site
238
+ * as well as in the registry.
239
+ *
240
+ * RETURNS AS SOON AS THE WORK IS SCHEDULED. The returned promise resolves
241
+ * before anything is rendered or sent — see the header. Awaiting it is
242
+ * correct and cheap; it just does not mean "delivered". Callers that need to
243
+ * know what happened read `notification_deliveries`.
244
+ *
245
+ * NEVER REJECTS. Not for a database failure, not for a mail server, not for
246
+ * a template bug, not for an event key that does not exist.
247
+ *
248
+ * @param eventKey - a key from `NOTIFICATION_EVENTS`. An UNKNOWN KEY IS A
249
+ * NO-OP THAT RECORDS NOTHING — not a throw, and not a delivery row.
250
+ * Both matter: a throw would fail the action that raised the stale
251
+ * event (the exact coupling this issue exists to prevent), and a row
252
+ * for a non-existent event would put a key in
253
+ * `notification_deliveries` that no registry entry explains, poisoning
254
+ * the table that answers "what did we send?".
255
+ * @param userId - the recipient's account.
256
+ * @param data - the event's payload, passed to the channel's template
257
+ * untouched. Never logged.
258
+ * @param options - per-dispatch options (#321). Today that is a
259
+ * NARROWING-ONLY channel subset — see {@link NotifyOptions}, which
260
+ * states at length what it cannot do. OMITTING IT REPRODUCES THE
261
+ * PRE-#321 BEHAVIOUR EXACTLY, which is why the existing call sites
262
+ * did not move.
263
+ */
264
+ async notify(eventKey, userId, data, options) {
265
+ const event = (0, notification_events_1.findEvent)(eventKey);
266
+ if (!event) {
267
+ // `debug`, not `warn`: the overwhelmingly likely cause is a key that
268
+ // was legitimately retired, raised by a code path nobody updated, and
269
+ // an unknown event is defined to be harmless. A `warn` here would train
270
+ // operators to ignore this logger.
271
+ this.logger.debug(`Ignoring notification for unknown event '${eventKey}'.`);
272
+ return;
273
+ }
274
+ // The dispatch's throttle summary is dropped on this path on purpose:
275
+ // nobody is awaiting a detached send, so there is no caller who could
276
+ // back off. `notify()` behaves exactly as it did before #456.
277
+ this.schedule(async () => {
278
+ await this.dispatchToUser(event, userId, data, options);
279
+ });
280
+ }
281
+ /**
282
+ * Raise a notification for one user and AWAIT ITS DELIVERY.
283
+ *
284
+ * The awaited sibling of {@link notify}: same registry lookup, same recipient
285
+ * resolution, same single gate in `dispatch()`, same never-rejects
286
+ * containment. The ONE difference is that it does not detach — when this
287
+ * promise resolves, every channel has been attempted and every delivery row
288
+ * has been written.
289
+ *
290
+ * ---------------------------------------------------------------------------
291
+ * WHY THIS EXISTS, BECAUSE IT IS THE DECISION MOST LIKELY TO BE UNDONE
292
+ * ---------------------------------------------------------------------------
293
+ *
294
+ * A reader who has just absorbed this file's header — which argues at length
295
+ * that dispatch SHOULD be detached — will reasonably ask why there is now a
296
+ * method that isn't, and be tempted to delete it in favour of `notify`. Here
297
+ * is the answer, so that deletion is at least an informed one.
298
+ *
299
+ * The caller this exists for is a JOB HANDLER (epic #254; the broadcast
300
+ * fan-out of epic #319 is the first). `JobHandler.process` is contracted so
301
+ * that "returning normally means the work is done and durable; do not return
302
+ * before the writes this job is responsible for have committed"
303
+ * (`apps/api/src/jobs/job-handler.interface.ts`). A handler built on
304
+ * `notify()` would violate that contract three ways at once:
305
+ *
306
+ * 1. It would leave N dispatches in flight AFTER `process()` returned.
307
+ * 2. The worker would then mark the job row `succeeded` for work that had
308
+ * not happened — the queue's record would assert a lie, which is worse
309
+ * than a failure, because a failure retries and a lie does not.
310
+ * 3. A SIGTERM would drop everything past the `SHUTDOWN_DRAIN_MS`
311
+ * 5 s drain, with no job row left claiming responsibility for it.
312
+ *
313
+ * AND `flush()` IS NOT A SUBSTITUTE, which is the other reflex worth heading
314
+ * off. `flush()` awaits every dispatch in flight — including every unrelated
315
+ * one raised by any concurrent request — and it LOOPS until the set drains.
316
+ * Under a broadcast that set is being refilled continuously, so the loop has
317
+ * no bound: a handler awaiting it would be waiting on other people's work,
318
+ * for an unbounded time, and would still have no per-dispatch outcome.
319
+ *
320
+ * ---------------------------------------------------------------------------
321
+ * WHEN NOT TO USE IT
322
+ * ---------------------------------------------------------------------------
323
+ *
324
+ * NEVER FROM A REQUEST PATH. This is the "plain inline-and-awaited" shape the
325
+ * header rejects: it puts a mail server's latency inside an HTTP request, and
326
+ * a hung transport holds a Fastify request open for its full timeout. It is
327
+ * for BACKGROUND WORKERS that own their own concurrency and need backpressure
328
+ * — which is exactly the property a chunked fan-out wants and a controller
329
+ * does not. If you are in a controller or a service called by one, use
330
+ * {@link notify}.
331
+ *
332
+ * NEVER REJECTS, by the same mechanism as `notify`: both route their work
333
+ * through `runContained`. A dispatch failure is a log line and, where
334
+ * one could be written, a `notification_deliveries` row — never an exception
335
+ * reaching the job handler, which would fail and retry the whole job over one
336
+ * recipient's bad mailbox.
337
+ *
338
+ * It is deliberately NOT tracked in `inFlight`: that set exists so an
339
+ * orderly shutdown can drain work NOBODY IS AWAITING. This work has an
340
+ * awaiting owner by definition, and that owner — not this service — decides
341
+ * what to do about it on shutdown.
342
+ *
343
+ * ---------------------------------------------------------------------------
344
+ * WHAT IT RESOLVES TO (issue #456)
345
+ * ---------------------------------------------------------------------------
346
+ *
347
+ * A {@link NotifyNowResult}: whether any channel of this dispatch was
348
+ * refused by a THROTTLING PROVIDER, and the longest wait any of them named.
349
+ * Nothing else — see that type for why a per-channel report would be the
350
+ * wrong thing to hand a job handler.
351
+ *
352
+ * This is the ONE way a provider throttle can reach a caller, and it exists
353
+ * because the channels cannot throw: the broadcast fan-out used to keep
354
+ * sending into a refusing email provider because every refusal looked like
355
+ * an ordinary failed row. Now the chunk reads this, stops launching sends,
356
+ * and throws `RateLimitError` itself — the queue's own deferral mechanism,
357
+ * raised from a job handler, which is the one place a throw belongs.
358
+ *
359
+ * THE DELIVERY ROWS ARE UNCHANGED BY IT: a throttled channel still writes a
360
+ * `failed` row, because for this recipient it did fail. A caller that
361
+ * ignores the result (the broadcast `sendTest` path does) gets exactly the
362
+ * pre-#456 behaviour.
363
+ *
364
+ * @param eventKey - a key from `NOTIFICATION_EVENTS`. Unknown is a no-op that
365
+ * records nothing, exactly as in `notify`.
366
+ * @param userId - the recipient's account.
367
+ * @param data - the event's payload, passed to the template untouched.
368
+ * @param options - the narrowing-only per-dispatch options; see
369
+ * {@link NotifyOptions}.
370
+ */
371
+ async notifyNow(eventKey, userId, data, options) {
372
+ const event = (0, notification_events_1.findEvent)(eventKey);
373
+ if (!event) {
374
+ this.logger.debug(`Ignoring notification for unknown event '${eventKey}'.`);
375
+ return NOT_THROTTLED;
376
+ }
377
+ // `NOT_THROTTLED` is the containment fallback: a dispatch that threw
378
+ // despite every layer below being written not to has no throttle verdict
379
+ // to report, and "nothing to back off from" is the reading that keeps the
380
+ // caller moving — the same outcome as before #456, where it resolved void.
381
+ return this.runContained(() => this.dispatchToUser(event, userId, data, options), NOT_THROTTLED);
382
+ }
383
+ /**
384
+ * Raise a notification for an EMAIL ADDRESS THAT MAY HAVE NO ACCOUNT.
385
+ *
386
+ * ---------------------------------------------------------------------------
387
+ * WHY THIS EXISTS AT ALL (#128, and the design problem of that issue)
388
+ * ---------------------------------------------------------------------------
389
+ *
390
+ * `allowlist.invitation` is sent to somebody an administrator has just
391
+ * authorised to sign in. By definition they have no user row, no
392
+ * `user_settings` row and no open tab — that is what being newly allowlisted
393
+ * MEANS — so `notify(eventKey, userId, data)` has nothing to pass as
394
+ * `userId`, and there are no stored preferences to resolve.
395
+ *
396
+ * Two ways to handle that were on the table:
397
+ *
398
+ * 1. **REJECTED — let the event bypass preference resolution.** A flag on
399
+ * the registry entry, or a branch in `dispatch`, saying "this one skips
400
+ * the gate". That puts a documented hole in the ONE place the
401
+ * `mandatory` override and the sparse absent-key contract are enforced,
402
+ * and the hole is selected by a string. Every future event is then one
403
+ * copied line away from silently opting out of preferences for
404
+ * recipients who DO have them. The gate is only a gate if there is no
405
+ * way around it.
406
+ *
407
+ * 2. **CHOSEN — a second way to BUILD a recipient, feeding the same gate.**
408
+ * This method resolves a `NotificationRecipient` and hands it to the
409
+ * identical `dispatch`. Nothing about resolution changes: preferences
410
+ * are still read, `resolveChannels` still runs, `mandatory` still
411
+ * overrides. For a recipient with no account the preferences are simply
412
+ * empty — and empty resolves to the registry's `defaultEnabled`, which
413
+ * is the correct answer for somebody who has never had a settings row
414
+ * to express an opinion in. That is not a bypass; it is the sparse
415
+ * contract's own definition of "absent".
416
+ *
417
+ * ---------------------------------------------------------------------------
418
+ * AND IT LOOKS THE ADDRESS UP FIRST, WHICH IS THE PART THAT MATTERS
419
+ * ---------------------------------------------------------------------------
420
+ *
421
+ * The danger in (2) is not the no-account case, which has no preferences to
422
+ * ignore. It is the case where the address TURNS OUT to belong to an
423
+ * account: an admin re-adds an address that already has a user (the initial
424
+ * admin bypasses the allowlist entirely and can be allowlisted afterwards;
425
+ * an entry can be removed and added again). Dispatching that as an
426
+ * account-less recipient would deliver to a real user while ignoring the
427
+ * preferences they actually set — exactly the weakening #128 forbids.
428
+ *
429
+ * So this looks the address up, and if it resolves to an account it hands
430
+ * off to the ordinary user path. Preference resolution is therefore never
431
+ * skipped for anybody who has preferences. The cost is one indexed query on
432
+ * a path that is already detached from the caller.
433
+ *
434
+ * NEVER REJECTS, and never joins the caller's transaction — same guarantees
435
+ * as {@link notify}, by the same mechanism (`schedule`).
436
+ *
437
+ * @param eventKey - a key from `NOTIFICATION_EVENTS`. Unknown is a no-op.
438
+ * @param email - the recipient's address. Matched case-insensitively, because
439
+ * the allowlist stores addresses lower-cased while `users.email`
440
+ * holds whatever the OAuth provider returned.
441
+ * @param data - the event's payload, passed to the template untouched.
442
+ * @param options - the narrowing-only per-dispatch options (#321), carried
443
+ * here as well as on {@link notify} so the two public paths cannot
444
+ * end up with different capabilities — the divergence this method's
445
+ * whole design (one gate, two ways of building a recipient) exists to
446
+ * avoid. See {@link NotifyOptions}.
447
+ */
448
+ async notifyAddress(eventKey, email, data, options) {
449
+ const event = (0, notification_events_1.findEvent)(eventKey);
450
+ if (!event) {
451
+ this.logger.debug(`Ignoring notification for unknown event '${eventKey}'.`);
452
+ return;
453
+ }
454
+ this.schedule(() => this.dispatchToAddress(event, email, data, options));
455
+ }
456
+ /**
457
+ * Raise a notification for EVERYBODY WHO CAN ACT ON IT — issue #288, epic
458
+ * #254.
459
+ *
460
+ * ---------------------------------------------------------------------------
461
+ * WHY THIS EXISTS: AN OPERATIONAL FAILURE HAS NO USER ID
462
+ * ---------------------------------------------------------------------------
463
+ *
464
+ * Every entry point above resolves ONE recipient the caller already knows:
465
+ * `notify` is handed a user id, `notifyAddress` an address. That works
466
+ * because the events they were built for are facts ABOUT a person — you
467
+ * signed in, you were invited, your roles changed.
468
+ *
469
+ * `jobs.job_failed`, `nodes.node_offline` and `db_backup.backup_failed` are
470
+ * not. A job that exhausted its retries, a worker that stopped heartbeating
471
+ * and a backup that never finished are facts about the DEPLOYMENT, and the
472
+ * question "who should hear about this?" has no user id in it. The honest
473
+ * answer is WHOEVER CAN ACT ON IT — and in this application, "can act on it"
474
+ * is spelled as a permission.
475
+ *
476
+ * ---------------------------------------------------------------------------
477
+ * WHY A PERMISSION AND NOT A ROLE
478
+ * ---------------------------------------------------------------------------
479
+ *
480
+ * The alternative — "send it to the Admin role" — is one string shorter and
481
+ * wrong for the same reason the Settings UI Pattern (CLAUDE.md, rule 3)
482
+ * insists a card's `permission` field be the exact string the controller
483
+ * enforces rather than an approximation of it.
484
+ *
485
+ * * A ROLE IS A BUNDLE SOMEBODY ELSE OWNS. A deployment that adds an
486
+ * `Operator` role holding `db_backup:read`, or splits `Admin` in two, has
487
+ * changed who can act on a failed backup — and a role-addressed
488
+ * notification would keep mailing the old bundle, silently, with nothing
489
+ * to fail and nothing to notice. Roles are seeded data a fork edits;
490
+ * permission strings are the contract the API is written against.
491
+ *
492
+ * * THE PERMISSION IS ALREADY THE ANSWER TO THIS EXACT QUESTION. Passing
493
+ * `PERMISSIONS.DB_BACKUP_READ` here means the audience for "your backup
494
+ * failed" is, BY CONSTRUCTION, the set of people
495
+ * `db-backup.controller.ts` would let look at the backup. There is no
496
+ * second definition of that audience to drift from the first.
497
+ *
498
+ * * IT COMPOSES WITH RBAC RATHER THAN AROUND IT. Grant a role the
499
+ * permission and its holders start receiving the event; revoke it and
500
+ * they stop. Nothing in this file, and no notification-specific list,
501
+ * has to be edited for either.
502
+ *
503
+ * ---------------------------------------------------------------------------
504
+ * WHAT IT IS NOT: A SECOND DISPATCH PATH
505
+ * ---------------------------------------------------------------------------
506
+ *
507
+ * This resolves a SET OF USER IDS and then fans out through
508
+ * `dispatchToUser` — the identical method `notify` uses. The preference
509
+ * gate, the `mandatory` override, the admin policy, the delivery rows and the
510
+ * per-channel containment are therefore the SAME CODE, not a parallel
511
+ * implementation of it. That is the same argument `notifyAddress` makes: a
512
+ * new way of BUILDING a recipient is safe; a new way of DELIVERING to one is
513
+ * a second place the gate can be forgotten.
514
+ *
515
+ * ONLY ACTIVE USERS. `isActive: false` is a deactivated account — somebody
516
+ * who cannot sign in and therefore cannot act on any of this. Note this is a
517
+ * DIFFERENT question from the one `loadRecipient` deliberately refuses
518
+ * to answer: there, dropping an inactive recipient would silently defeat a
519
+ * `mandatory` event aimed AT that account. Here the account is not the
520
+ * subject of the event at all, it is a candidate audience for somebody else's
521
+ * incident, and an audience of people who cannot log in is not an audience.
522
+ *
523
+ * ZERO RECIPIENTS IS A `debug` LOG AND A NO-OP, not a warning. A template
524
+ * deployment can perfectly legitimately have nobody holding `nodes:read`
525
+ * because it runs no worker nodes; warning about that on every sweep would
526
+ * train operators to ignore the log line that matters.
527
+ *
528
+ * NEVER REJECTS — including when the RECIPIENT QUERY ITSELF THROWS, which is
529
+ * the failure mode unique to this method. The whole body runs inside
530
+ * `runContained` via `schedule`, and the query has its own
531
+ * try/catch so a database blip is one log line rather than an unresolvable
532
+ * dispatch. Every call site of this method is a failure path already (a
533
+ * backup that failed, a sweep that found a dead node); a throw from here
534
+ * would turn one failure into two.
535
+ *
536
+ * @param eventKey - a key from `NOTIFICATION_EVENTS`. Unknown is a no-op that
537
+ * records nothing, exactly as in `notify`.
538
+ * @param permission - the permission string — use `PERMISSIONS` from
539
+ * `common/constants/roles.constants.ts`, never a literal, and use THE
540
+ * SAME ONE the controller for this area enforces.
541
+ * @param data - the event's payload, passed to the template untouched.
542
+ * @param options - narrowing-only channels, plus `alsoNotifyUserIds` for an
543
+ * audience that is "the permission holders AND this specific person".
544
+ * See {@link NotifyPermissionHoldersOptions}.
545
+ */
546
+ async notifyPermissionHolders(eventKey, permission, data, options) {
547
+ const event = (0, notification_events_1.findEvent)(eventKey);
548
+ if (!event) {
549
+ this.logger.debug(`Ignoring notification for unknown event '${eventKey}'.`);
550
+ return;
551
+ }
552
+ this.schedule(() => this.dispatchToPermissionHolders(event, permission, data, options));
553
+ }
554
+ /**
555
+ * {@link notifyPermissionHolders}, AWAITED — issue #288, epic #254.
556
+ *
557
+ * Stands to `notifyPermissionHolders` exactly as {@link notifyNow} stands to
558
+ * {@link notify}: same registry lookup, same recipient resolution, same fan
559
+ * out through `dispatchToUser`, same never-rejects containment. The ONE
560
+ * difference is that it does not detach — when this promise resolves, every
561
+ * recipient's channels have been attempted and every delivery row written.
562
+ *
563
+ * ---------------------------------------------------------------------------
564
+ * ⚠ IT EXISTS FOR EXACTLY ONE CALLER, AND THAT CALLER IS A `process.exit(0)`
565
+ * ---------------------------------------------------------------------------
566
+ *
567
+ * `DatabaseRestoreService.swap()` finishes a restore by exiting, so that a
568
+ * supervisor can start a process whose connection pool is built against the
569
+ * promoted database. A DETACHED dispatch raised just before that exit is
570
+ * simply dropped: `schedule()` puts the work on a microtask, `exitProcess`
571
+ * tears the process down, and the shutdown drain in {@link onModuleDestroy}
572
+ * never runs because nothing is shutting Nest down — the process is ending.
573
+ *
574
+ * The result would be the worst possible failure for a `mandatory` event:
575
+ * `db_backup.restore_completed` would appear to be wired, would pass every
576
+ * unit test of the registry and the templates, and would deliver nothing at
577
+ * all, in production, only on the path that matters.
578
+ *
579
+ * So the restore AWAITS this, and the ordering — swap, then notify, then exit
580
+ * — is spelled out at that call site as well as here, because it is the thing
581
+ * a later refactor will silently break.
582
+ *
583
+ * LEGITIMATE HERE, AND STILL FORBIDDEN IN A REQUEST PATH, for the reason
584
+ * {@link notifyNow} gives: this is a background path that owns its own
585
+ * lifetime, not a controller with a client waiting on a socket.
586
+ *
587
+ * Like `notifyNow`, deliberately NOT tracked in `inFlight`: that set
588
+ * exists to drain work nobody is awaiting, and this work has an awaiting
589
+ * owner by definition.
590
+ */
591
+ async notifyPermissionHoldersNow(eventKey, permission, data, options) {
592
+ const event = (0, notification_events_1.findEvent)(eventKey);
593
+ if (!event) {
594
+ this.logger.debug(`Ignoring notification for unknown event '${eventKey}'.`);
595
+ return;
596
+ }
597
+ await this.runContained(() => this.dispatchToPermissionHolders(event, permission, data, options), undefined);
598
+ }
599
+ /**
600
+ * Wait for every scheduled dispatch to finish.
601
+ *
602
+ * The shutdown drain, and the seam tests use to assert on what a
603
+ * fire-and-forget `notify` eventually did — without it, a test would be
604
+ * reduced to polling or to an arbitrary `setTimeout`, which is how a suite
605
+ * acquires flakes.
606
+ *
607
+ * Loops rather than awaiting the set once, because a dispatch may schedule
608
+ * further work; awaiting a snapshot would return while that work is still
609
+ * running.
610
+ */
611
+ async flush() {
612
+ while (this.inFlight.size > 0) {
613
+ await Promise.all([...this.inFlight]);
614
+ }
615
+ }
616
+ /**
617
+ * Finish what has been started, within a bound.
618
+ *
619
+ * Without this, an orderly shutdown drops every in-flight notification —
620
+ * and an orderly shutdown is the COMMON case (a rolling deploy), so the
621
+ * fire-and-forget model would lose notifications routinely rather than only
622
+ * on a crash.
623
+ */
624
+ async onModuleDestroy() {
625
+ if (this.inFlight.size === 0)
626
+ return;
627
+ this.logger.log(`Draining ${this.inFlight.size} in-flight notification dispatch(es).`);
628
+ let timer;
629
+ // The timer is `unref`'d so it can never be the reason the process stays
630
+ // alive, and cleared in `finally` so a fast drain does not leave a pending
631
+ // handle behind for a test runner to complain about.
632
+ const deadline = new Promise((resolve) => {
633
+ timer = setTimeout(resolve, SHUTDOWN_DRAIN_MS);
634
+ timer.unref?.();
635
+ });
636
+ try {
637
+ await Promise.race([this.flush(), deadline]);
638
+ }
639
+ finally {
640
+ if (timer)
641
+ clearTimeout(timer);
642
+ }
643
+ if (this.inFlight.size > 0) {
644
+ // Their `queued` rows stay `queued`, which is the evidence trail
645
+ // described in notification-delivery.service.ts.
646
+ this.logger.warn(`Shutdown drain timed out with ${this.inFlight.size} dispatch(es) ` +
647
+ `unfinished; their delivery records remain 'queued'.`);
648
+ }
649
+ }
650
+ // ---------------------------------------------------------------------------
651
+ // Internals
652
+ // ---------------------------------------------------------------------------
653
+ /**
654
+ * Detach a unit of work from the caller.
655
+ *
656
+ * THE SINGLE PLACE THE INLINE/QUEUED DECISION LIVES. Swapping this body for
657
+ * an enqueue is the entire change if a durable queue is ever justified;
658
+ * `notify` and `dispatchToUser` do not move.
659
+ *
660
+ * The deferral and the never-throws containment both live in
661
+ * `runContained`, which this shares with the awaited `notifyNow` path
662
+ * (#321) so the two cannot drift apart. What is left HERE is the part that
663
+ * is genuinely about detaching: the promise is stored in `inFlight` — the
664
+ * already-contained one, so there is no window in which an unhandled
665
+ * rejection can escape — and removed when it settles, which is what lets the
666
+ * shutdown drain finish work whose caller is long gone.
667
+ */
668
+ schedule(work) {
669
+ const task = this.runContained(work, undefined);
670
+ this.inFlight.add(task);
671
+ void task.finally(() => {
672
+ this.inFlight.delete(task);
673
+ });
674
+ }
675
+ /**
676
+ * Run a unit of work such that its promise CANNOT REJECT.
677
+ *
678
+ * ONE COPY OF THE NEVER-THROWS GUARANTEE, shared by the detached path
679
+ * (`schedule`, and so `notify`/`notifyAddress`) and the awaited one
680
+ * ({@link notifyNow}). Both make the identical promise to their callers, and
681
+ * a promise made in two places is a promise that can be weakened in one of
682
+ * them — a `catch` narrowed here, a rethrow added there — with the two
683
+ * entry points then differing in a way no test of either would notice. So
684
+ * they share this rather than each holding a try/catch of their own.
685
+ *
686
+ * Note what is NOT here: `inFlight` bookkeeping. Whether a dispatch is
687
+ * tracked for the shutdown drain depends on whether anybody is awaiting it,
688
+ * which is the caller's question, not this function's — see `notifyNow` for
689
+ * why it opts out.
690
+ *
691
+ * `Promise.resolve().then(work)` rather than calling `work()` here for the
692
+ * reason `schedule` gives: it keeps the deferral independent of what
693
+ * the work happens to do synchronously first. For `notifyNow`, where the
694
+ * caller is awaiting anyway, the extra microtask is invisible.
695
+ *
696
+ * GENERIC OVER THE RESULT since #456, because `notifyNow` now resolves a
697
+ * {@link NotifyNowResult} rather than `void`. The containment is unchanged:
698
+ * a rejection still becomes a resolved promise — carrying `fallback`, which
699
+ * is whatever "nothing happened that you need to act on" means for that
700
+ * caller (`undefined` for the detached path, `NOT_THROTTLED` for
701
+ * `notifyNow`). The fallback is a PARAMETER, not a default computed here,
702
+ * so this function still knows nothing about what the work is.
703
+ */
704
+ runContained(work, fallback) {
705
+ return Promise.resolve()
706
+ .then(work)
707
+ .catch((err) => {
708
+ // Reaching here means something below threw despite every layer being
709
+ // written not to. That is a bug worth an `error`, and it is still
710
+ // contained: on the detached path the caller returned long ago, and on
711
+ // the awaited path the caller gets a resolved promise rather than a
712
+ // rejection that would fail an entire job over one recipient.
713
+ this.logger.error(`Notification dispatch failed unexpectedly: ${(0, describe_thrown_1.describeThrown)(err)}`);
714
+ return fallback;
715
+ });
716
+ }
717
+ /**
718
+ * Resolve the recipient from their account, then dispatch.
719
+ *
720
+ * SPLIT FROM {@link dispatch} so the no-account case (#128's
721
+ * `allowlist.invitation`, where there is no user row and `userId` is null on
722
+ * the delivery record) is a different way of BUILDING a
723
+ * `NotificationRecipient` rather than a second copy of the fan-out, the
724
+ * preference gate and the containment rules.
725
+ */
726
+ async dispatchToUser(event, userId, data, options) {
727
+ const user = await this.loadRecipient(userId);
728
+ if (!user) {
729
+ // No user, no address, no delivery row: `recipient` is NOT NULL and
730
+ // there is nothing truthful to put in it. Logged because a notification
731
+ // raised for a user id that does not exist is a caller bug (or a user
732
+ // deleted between the action and this dispatch — a real race, given the
733
+ // dispatch is detached).
734
+ this.logger.warn(`Cannot dispatch '${event.key}': user ${userId} was not found.`);
735
+ return NOT_THROTTLED;
736
+ }
737
+ return this.dispatch(event, user, data, options);
738
+ }
739
+ /**
740
+ * Resolve the audience from a permission, then fan out to it.
741
+ *
742
+ * SPLIT FROM the two public entry points for the same reason
743
+ * `dispatchToUser` is split from `notify`/`notifyNow`: the detached and
744
+ * the awaited callers must share ONE body, or the day somebody fixes a
745
+ * de-duplication bug in one of them the other keeps it.
746
+ *
747
+ * ⚠ EVERY RECIPIENT IS DISPATCHED INDEPENDENTLY. `dispatchToUser` can throw
748
+ * — `loadRecipient` issues a query, and a query can fail — and one recipient
749
+ * whose row could not be read must not silence the notification for everybody
750
+ * after them in the set. The outer `runContained` would catch it, but it would
751
+ * catch it by ABANDONING THE LOOP, which is the wrong containment boundary for
752
+ * a fan-out. Hence the per-recipient try/catch.
753
+ *
754
+ * SEQUENTIAL, like `dispatch`'s channel loop and for the same reason: the
755
+ * audiences here are administrators of one deployment (single digits, in
756
+ * practice), so there is no latency worth parallelising for, and sequencing
757
+ * keeps one event's log lines adjacent. The bounded-pool fan-out in
758
+ * `broadcast-chunk.handler.ts` exists because a BROADCAST addresses every
759
+ * user in the database; this does not.
760
+ */
761
+ async dispatchToPermissionHolders(event, permission, data, options) {
762
+ const holders = await this.resolvePermissionHolders(event, permission);
763
+ if (holders === null)
764
+ return;
765
+ // THE UNION AND THE DE-DUPLICATION, in one place and before anything is
766
+ // dispatched. A `Set` keyed on the user id is the whole mechanism: the
767
+ // actor who triggered a restore AND holds `db_backup:read` is one
768
+ // recipient, not two. See `NotifyPermissionHoldersOptions`.
769
+ const recipients = new Set(holders);
770
+ for (const extra of options?.alsoNotifyUserIds ?? []) {
771
+ recipients.add(extra);
772
+ }
773
+ if (recipients.size === 0) {
774
+ // `debug`, NOT `warn`. A deployment running no worker nodes legitimately
775
+ // has nobody holding `nodes:read`, and a warning on every ten-minute
776
+ // sweep is how a log stops being read. See the public method's header.
777
+ this.logger.debug(`'${event.key}' has no recipient: no active user holds '${permission}'.`);
778
+ return;
779
+ }
780
+ for (const userId of recipients) {
781
+ try {
782
+ await this.dispatchToUser(event, userId, data, options);
783
+ }
784
+ catch (err) {
785
+ this.logger.error(`Dispatching '${event.key}' to ${userId} failed; the remaining ` +
786
+ `recipient(s) are unaffected: ${(0, describe_thrown_1.describeThrown)(err)}`);
787
+ }
788
+ }
789
+ }
790
+ /**
791
+ * The user ids of every ACTIVE account holding `permission` through any role.
792
+ *
793
+ * ONE INDEXED QUERY, not a role lookup followed by a user lookup: the join
794
+ * runs in the database, where `user_roles`, `role_permissions` and the unique
795
+ * index on `permissions.name` already are. Selecting ONLY `id` matters as
796
+ * much as the join does — this is a failure path, and pulling settings blobs
797
+ * or profile rows for an audience the caller may not even dispatch to would
798
+ * make an incident more expensive to report than to have.
799
+ *
800
+ * Returns `null` — not `[]` — WHEN THE QUERY ITSELF FAILED, and the
801
+ * distinction is load-bearing: `[]` means "nobody holds this permission",
802
+ * which is an ordinary, silent outcome, while `null` means "we do not know
803
+ * who holds it", which is a logged failure and must not be mistaken for an
804
+ * empty audience.
805
+ */
806
+ async resolvePermissionHolders(event, permission) {
807
+ try {
808
+ const holders = await this.prisma.user.findMany({
809
+ where: {
810
+ isActive: true,
811
+ userRoles: {
812
+ some: {
813
+ role: {
814
+ rolePermissions: { some: { permission: { name: permission } } },
815
+ },
816
+ },
817
+ },
818
+ },
819
+ select: { id: true },
820
+ });
821
+ return holders.map((holder) => holder.id);
822
+ }
823
+ catch (err) {
824
+ // A LOG LINE, NEVER AN EXCEPTION. The caller is already reporting a
825
+ // failure; a throw here would replace their failure with this one.
826
+ this.logger.error(`Cannot dispatch '${event.key}': resolving the holders of ` +
827
+ `'${permission}' failed: ${(0, describe_thrown_1.describeThrown)(err)}`);
828
+ return null;
829
+ }
830
+ }
831
+ /**
832
+ * Resolve an email address to a recipient, preferring the account behind it.
833
+ *
834
+ * THE ORDER IS THE SECURITY PROPERTY. The account lookup happens FIRST, and
835
+ * an address with an account is dispatched as that account — with its stored
836
+ * preferences — rather than as an anonymous address. See
837
+ * `notifyAddress` for why the reverse would be a hole in the preference gate.
838
+ */
839
+ async dispatchToAddress(event, email, data, options) {
840
+ let existing;
841
+ try {
842
+ // `findFirst` with a case-insensitive `equals` rather than `findUnique`:
843
+ // `users.email` is unique but stored with the provider's casing, while
844
+ // the caller's address (an allowlist entry) is lower-cased. A
845
+ // case-sensitive miss here would silently produce the anonymous path for
846
+ // a user who does have preferences, which is the one outcome this lookup
847
+ // exists to prevent.
848
+ existing = await this.prisma.user.findFirst({
849
+ where: { email: { equals: email, mode: 'insensitive' } },
850
+ select: { id: true },
851
+ });
852
+ }
853
+ catch (err) {
854
+ // ABORT, DO NOT FALL BACK. Falling through to the anonymous path here
855
+ // would mean a transient database error downgrades a preference-checked
856
+ // send into an unchecked one — a gate that fails OPEN. Failing closed
857
+ // costs at most one undelivered notification, and the database is also
858
+ // where the delivery record would have gone, so nothing is being
859
+ // silently lost that would otherwise have been recorded.
860
+ this.logger.error(`Cannot dispatch '${event.key}': resolving the recipient address ` +
861
+ `failed: ${(0, describe_thrown_1.describeThrown)(err)}`);
862
+ return;
863
+ }
864
+ if (existing) {
865
+ // A real account. Ordinary path, ordinary preference resolution.
866
+ await this.dispatchToUser(event, existing.id, data, options);
867
+ return;
868
+ }
869
+ // Genuinely no account. `preferences: {}` is not a bypass: under the
870
+ // sparse absent-key contract an absent preference resolves to the event's
871
+ // `defaultEnabled`, which is precisely the right answer for somebody who
872
+ // has never had a settings row. `mandatory` still applies, and a channel
873
+ // that cannot reach an account-less recipient — the browser channel, whose
874
+ // `resolveTo` returns the user id — skips itself.
875
+ await this.dispatch(event, { userId: null, email, preferences: {} }, data, options);
876
+ }
877
+ /**
878
+ * Read the recipient's address and preferences in ONE query.
879
+ *
880
+ * The settings blob is read RAW, through `user_settings.value`, and
881
+ * deliberately NOT through `UserSettingsService.getSettings`, for three
882
+ * independent reasons — any one of which would be disqualifying:
883
+ *
884
+ * 1. `getSettings` CREATES A ROW when none exists. A read on a
885
+ * fire-and-forget send path must not write, and materialising a
886
+ * settings row as a side effect of sending an email is precisely the
887
+ * "silently materialises preference blobs" failure #125 warns about.
888
+ * 2. Its response projection lists the namespaces it knows and would drop
889
+ * `notifications` entirely.
890
+ * 3. `userSettingsSchema.parse` STRIPS unknown keys, so the namespace
891
+ * would not survive the parse even if the projection kept it. (That
892
+ * schema is #126's to widen, on the write side; resolution does not
893
+ * depend on it, which is why preference READING works today with no
894
+ * change to the settings module.)
895
+ *
896
+ * Returns `null` when there is no such user.
897
+ */
898
+ async loadRecipient(userId) {
899
+ const user = await this.prisma.user.findUnique({
900
+ where: { id: userId },
901
+ select: {
902
+ id: true,
903
+ email: true,
904
+ userSettings: { select: { value: true } },
905
+ // The recipient's organization for the policy's org layer (#738): the
906
+ // active membership they were most recently active in.
907
+ memberships: {
908
+ where: { status: 'active' },
909
+ orderBy: [{ lastActiveAt: { sort: 'desc', nulls: 'last' } }, { createdAt: 'asc' }],
910
+ take: 1,
911
+ select: { orgId: true },
912
+ },
913
+ },
914
+ });
915
+ if (!user)
916
+ return null;
917
+ // NO `isActive` GATE, DELIBERATELY. Skipping deactivated accounts is a
918
+ // POLICY, it is not stated anywhere in #109/#125, and putting it here
919
+ // would make it a hidden one: `security.role_changed` is mandatory
920
+ // precisely so that a privilege change is never silent, and a silent drop
921
+ // in the dispatcher would defeat that for the accounts an incident review
922
+ // is most likely to care about. If an offboarded mailbox is gone, the send
923
+ // bounces and the delivery record says so — which is a visible answer
924
+ // rather than an invisible one. Whoever raises an event decides whether it
925
+ // applies (#128).
926
+ return {
927
+ userId: user.id,
928
+ email: user.email,
929
+ preferences: (0, notification_preferences_1.readNotificationPreferences)(user.userSettings?.value),
930
+ orgId: user.memberships?.[0]?.orgId ?? null,
931
+ };
932
+ }
933
+ /**
934
+ * Fan one event out to a resolved recipient's enabled channels.
935
+ *
936
+ * Channel-agnostic and recipient-agnostic: this is the method #128's
937
+ * no-account path will call with `{ userId: null, ... }`.
938
+ *
939
+ * Resolves the dispatch's throttle summary (#456) for `notifyNow` to hand
940
+ * back; every other caller awaits it as a statement and discards it.
941
+ */
942
+ async dispatch(event, recipient, data, options) {
943
+ // THE ADMIN GATE (#226), read ONCE per dispatch and carried in the context
944
+ // below. Both halves of the browser decision — which channels to fan out to,
945
+ // and whether the streamed event may raise an OS toast — are then derived
946
+ // from the SAME snapshot, so a policy change mid-dispatch cannot produce a
947
+ // row whose `toast` flag disagrees with the decision that wrote it.
948
+ //
949
+ // `getPolicy` never throws and degrades to the permissive default; see its
950
+ // own comment for why that direction, on a path whose whole purpose is to
951
+ // make sure a privilege change is not silent.
952
+ //
953
+ // PER ORGANIZATION (#738): the caller's `orgId` when it names one (a
954
+ // broadcast to one org), else the recipient's own; `null` reads the
955
+ // deployment-wide policy. The org layer may only tighten it.
956
+ const orgId = options?.orgId !== undefined ? options.orgId : (recipient.orgId ?? null);
957
+ const policy = await this.policy.getPolicy(orgId);
958
+ // THE GATE. `resolveChannels` applies the admin policy, then the sparse
959
+ // absent-key contract and the `mandatory` override; nothing else in this
960
+ // file consults a preference or a policy. One resolution point, one gate.
961
+ let channels = (0, notification_preferences_1.resolveChannels)(event, recipient.preferences, policy);
962
+ // -------------------------------------------------------------------------
963
+ // THE PER-DISPATCH NARROWING (#321, epic #319) — AND WHY IT IS *HERE*
964
+ // -------------------------------------------------------------------------
965
+ //
966
+ // An admin composing a broadcast picks the medium ("email only"), and that
967
+ // choice has to reach the dispatcher somehow. It arrives as
968
+ // `NotifyOptions.channels` and is applied RIGHT HERE: as a set intersection
969
+ // against the list the gate above already produced, and before the
970
+ // every-channel-muted check below.
971
+ //
972
+ // NOT BY WIDENING `resolveChannels`, WHICH IS THE LOAD-BEARING PART.
973
+ // `resolveChannels` is a PURE FUNCTION SHARED WITH
974
+ // `GET /api/notifications/events` — the endpoint that builds the per-user
975
+ // preferences matrix, which has no per-dispatch subset and never will.
976
+ // Adding the parameter there would put a dispatch-time concept into the
977
+ // function the preferences page calls, and would invite the next caller to
978
+ // pass it from the wrong side of that seam.
979
+ //
980
+ // Intersecting an ALREADY-RESOLVED list is also what makes "this can only
981
+ // ever narrow" STRUCTURALLY TRUE rather than a property someone has to
982
+ // re-verify every time this file changes: there is no path from here by
983
+ // which a channel `resolveChannels` did not return can be delivered over.
984
+ // A requested channel the event does not declare, one the admin policy
985
+ // dropped, one the user muted — each is simply an element with nothing to
986
+ // intersect with.
987
+ //
988
+ // AND IT PERMITS NARROWING A `mandatory` EVENT, DELIBERATELY. That looks
989
+ // like a hole in the flag and is not: `mandatory` binds the RECIPIENT, not
990
+ // the sender. It means "the user may not mute this", not "the sender may
991
+ // not choose a medium" — an admin picking email for an announcement is not
992
+ // a user opting out of it. The rule that a CRITICAL broadcast must include
993
+ // the in-app channel is a composition rule about one product surface, so it
994
+ // is enforced in the admin API's DTO (#324), not here.
995
+ //
996
+ // Say the consequence plainly rather than leaving it implied: a future call
997
+ // site that bypasses that DTO could send `admin.broadcast_critical`
998
+ // email-only, and no durable in-app record of it would exist. If that
999
+ // becomes a real risk — a second composer, a scripted sender — the answer
1000
+ // is a check at THAT entry point, not a special case in this intersection,
1001
+ // which would make `mandatory` mean two different things in two files.
1002
+ if (options?.channels) {
1003
+ const requested = new Set(options.channels);
1004
+ channels = channels.filter((channel) => requested.has(channel));
1005
+ }
1006
+ // #746: a channel another resolved channel covers is dropped (`push`
1007
+ // already reaches every `android_app` subscription), so nobody gets the
1008
+ // same message twice. After preferences and narrowing: a user who muted
1009
+ // `push` still gets `android_app`. See `collapseOverlappingChannels`.
1010
+ channels = (0, channel_registry_1.collapseOverlappingChannels)(channels);
1011
+ if (channels.length === 0) {
1012
+ // Every channel muted — or narrowed away to nothing by `options.channels`
1013
+ // above, which lands here on purpose rather than in a branch of its own:
1014
+ // "nothing left to deliver over" is one outcome however it was reached.
1015
+ // No rows: nothing was attempted, and recording a "we did not try" row
1016
+ // per muted event would fill the table with the absence of activity.
1017
+ this.logger.debug(`'${event.key}' resolved to no enabled channel for user ` +
1018
+ `${recipient.userId ?? '(no account)'}.`);
1019
+ return NOT_THROTTLED;
1020
+ }
1021
+ const context = {
1022
+ event,
1023
+ recipient,
1024
+ data,
1025
+ policy,
1026
+ // The narrowed list, exactly what the loop below dispatches over (#625).
1027
+ // Channels only READ it (the browser frame's `pushed`); no channel's
1028
+ // result is threaded into another's.
1029
+ channels,
1030
+ };
1031
+ // SEQUENTIAL, not `Promise.all`. Two channels at most today, so there is
1032
+ // no latency worth parallelising for, and sequencing keeps the log lines
1033
+ // for one notification adjacent and ordered — which matters when the
1034
+ // question being answered is "what happened to this one event?". Failure
1035
+ // containment does not depend on it either way: each iteration is
1036
+ // independently wrapped below.
1037
+ //
1038
+ // A THROTTLED CHANNEL DOES NOT STOP THE NEXT ONE (#456). The email
1039
+ // provider refusing us says nothing about the in-app row, which is a
1040
+ // local database write; skipping it would make a mail outage erase the
1041
+ // durable record too. The verdict is only accumulated and reported.
1042
+ // One span per fan-out (#738): the event, the channels attempted and the
1043
+ // organization whose policy applied (`org.id`, a span attribute and never
1044
+ // a metric label). No recipient address or payload is recorded.
1045
+ return tracer.startActiveSpan('notifications.dispatch', {
1046
+ attributes: {
1047
+ 'notification.event_key': event.key,
1048
+ 'notification.channels': channels.join(','),
1049
+ ...(orgId ? { 'org.id': orgId } : {}),
1050
+ },
1051
+ }, async (span) => {
1052
+ try {
1053
+ let throttle = NOT_THROTTLED;
1054
+ for (const channel of channels) {
1055
+ throttle = mergeThrottle(throttle, await this.deliverOne(context, channel));
1056
+ }
1057
+ if (throttle.rateLimited)
1058
+ span.setAttribute('notification.rate_limited', true);
1059
+ return throttle;
1060
+ }
1061
+ finally {
1062
+ span.end();
1063
+ }
1064
+ });
1065
+ }
1066
+ /**
1067
+ * Where `sender` would deliver for this dispatch: its async
1068
+ * `resolveRecipient` when it has one (PP-14.10), else its synchronous
1069
+ * `resolveTo` (the address doubles as the row's label). `null` means the
1070
+ * channel cannot reach this recipient; a sender that throws while resolving
1071
+ * is treated the same way (logged, never rethrown), because resolution runs
1072
+ * on the dispatch path and `notify` never rejects.
1073
+ */
1074
+ async resolveDestination(sender, channel, context) {
1075
+ const { event, recipient } = context;
1076
+ try {
1077
+ if (sender.resolveRecipient) {
1078
+ const resolveContext = {
1079
+ channel,
1080
+ event,
1081
+ handle: () => this.handleFor(recipient, channel),
1082
+ };
1083
+ const resolved = await sender.resolveRecipient(recipient, resolveContext);
1084
+ if (!resolved || typeof resolved.to !== 'string' || resolved.to === '')
1085
+ return null;
1086
+ // The row stores `display`, never `to` (which may be a secret). A sender
1087
+ // that forgot it gets a placeholder rather than its destination.
1088
+ const display = typeof resolved.display === 'string' && resolved.display !== '' ? resolved.display : '(redacted)';
1089
+ return { to: resolved.to, display: display.slice(0, MAX_DISPLAY_LENGTH) };
1090
+ }
1091
+ const to = sender.resolveTo?.(recipient) ?? null;
1092
+ return to ? { to, display: to } : null;
1093
+ }
1094
+ catch (err) {
1095
+ this.logger.warn(`Could not resolve the '${channel}' destination for '${event.key}': ${(0, describe_thrown_1.describeThrown)(err)}`);
1096
+ return null;
1097
+ }
1098
+ }
1099
+ /** The app's handle for this recipient on `channel`, or `null`; never throws. */
1100
+ async handleFor(recipient, channel) {
1101
+ if (!this.handles || !recipient.userId)
1102
+ return null;
1103
+ try {
1104
+ return (await this.handles.handleFor(recipient.userId, channel)) ?? null;
1105
+ }
1106
+ catch (err) {
1107
+ this.logger.warn(`The recipient handle source failed for channel '${channel}': ${(0, describe_thrown_1.describeThrown)(err)}`);
1108
+ return null;
1109
+ }
1110
+ }
1111
+ /**
1112
+ * The transport for `channel`: a platform sender from the module factory, or
1113
+ * an app sender that registered itself in `NotificationChannelSenderRegistry`
1114
+ * (#678). Resolved per delivery because app senders register in their own
1115
+ * `onModuleInit`, which runs after this service was constructed.
1116
+ */
1117
+ senderFor(channel) {
1118
+ return this.senders.get(channel) ?? this.senderRegistry?.get(channel);
1119
+ }
1120
+ /**
1121
+ * One (event, recipient, channel) attempt, with its delivery record.
1122
+ *
1123
+ * EVERY EXIT FROM THIS METHOD IS NORMAL. It has no throwing path, so one
1124
+ * channel's failure can never prevent the next channel's attempt.
1125
+ *
1126
+ * Resolves the channel's throttle verdict (#456) — the `rateLimited` /
1127
+ * `retryAfterMs` pair off its result, or none for every exit that did not
1128
+ * reach a result (no sender, no address, a channel that threw). A throw is
1129
+ * deliberately NOT read as a throttle: it is a bug in the channel, and a
1130
+ * bug must not be able to pause a broadcast.
1131
+ */
1132
+ async deliverOne(context, channel) {
1133
+ const { event, recipient } = context;
1134
+ const sender = this.senderFor(channel);
1135
+ if (!sender) {
1136
+ // A channel the registry declares with no transport implemented —
1137
+ // `browser` on `security.role_changed`, until #127. NO DELIVERY ROW, and
1138
+ // `debug` not `warn`: this is the documented, expected state
1139
+ // (notification-events.ts: "declaring a channel before its
1140
+ // implementation lands is safe — it simply has nowhere to go"). A failed
1141
+ // row per event would fill the table with a known, deliberate gap and
1142
+ // bury the real failures an operator is looking for.
1143
+ this.logger.debug(`No transport registered for channel '${channel}'; ` +
1144
+ `skipping '${event.key}'.`);
1145
+ return {};
1146
+ }
1147
+ const resolved = await this.resolveDestination(sender, channel, context);
1148
+ if (!resolved) {
1149
+ // The channel cannot reach this recipient at all. Still no row:
1150
+ // `NotificationDelivery.recipient` is NOT NULL and exists to answer
1151
+ // "where did this go?", so filling it with a placeholder to record a
1152
+ // non-attempt corrupts the one column that must stay literal.
1153
+ this.logger.warn(`No '${channel}' address for user ${recipient.userId ?? '(no account)'}; ` +
1154
+ `skipping '${event.key}'.`);
1155
+ return {};
1156
+ }
1157
+ // Written BEFORE the attempt. See notification-delivery.service.ts for why
1158
+ // the extra write is worth it. `null` means the row could not be written;
1159
+ // the send proceeds anyway and the mark* calls below become no-ops.
1160
+ //
1161
+ // `display` is what the row stores (PP-14.10): the sender's redacted form of
1162
+ // the destination, or the address itself for a sender with only `resolveTo`.
1163
+ // The raw `to` goes to `deliver` and never into the row.
1164
+ const deliveryId = await this.deliveries.queue({
1165
+ eventKey: event.key,
1166
+ userId: recipient.userId,
1167
+ recipient: resolved.display,
1168
+ channel,
1169
+ });
1170
+ // Declared with its type rather than left to inference from the assignment
1171
+ // inside the `try`: a bare `let result;` is an evolving `any`, which would
1172
+ // silently stop typechecking `result.messageId` below.
1173
+ let result;
1174
+ try {
1175
+ result = await sender.deliver(context, resolved.to);
1176
+ }
1177
+ catch (err) {
1178
+ // BELT AND BRACES. `NotificationChannelSender.deliver` is contracted not
1179
+ // to throw and today's one implementation does not — but #125's
1180
+ // never-throws guarantee has to hold for a channel written later by
1181
+ // somebody who did not read that contract, and this is where that is
1182
+ // enforced rather than assumed.
1183
+ const error = `Channel '${channel}' threw: ${(0, describe_thrown_1.describeThrown)(err)}`;
1184
+ this.logger.error(`Delivery of '${event.key}' failed: ${error}`);
1185
+ this.metrics.notificationDelivery(channel, 'error', event.key);
1186
+ await this.deliveries.markFailed(deliveryId, error);
1187
+ return {};
1188
+ }
1189
+ if (!result.success) {
1190
+ const error = result.error ?? `Channel '${channel}' reported a failure with no message.`;
1191
+ // `warn`, not `error`: a refused send is usually an operator-side
1192
+ // configuration or mailbox problem, not a fault in this service. The
1193
+ // event key and channel are here; the address, the subject and the body
1194
+ // are not — they belong in the delivery record, which is the controlled
1195
+ // place for them.
1196
+ this.logger.warn(`Delivery of '${event.key}' over '${channel}' failed: ${error}`);
1197
+ this.metrics.notificationDelivery(channel, result.rateLimited ? 'rate_limited' : 'failed', event.key);
1198
+ await this.deliveries.markFailed(deliveryId, error);
1199
+ // Reported AFTER the row is written, so a caller that stops on this
1200
+ // verdict never races the record of what it is stopping over.
1201
+ return { rateLimited: result.rateLimited, retryAfterMs: result.retryAfterMs };
1202
+ }
1203
+ this.metrics.notificationDelivery(channel, 'sent', event.key);
1204
+ await this.deliveries.markSent(deliveryId, result.messageId);
1205
+ return {};
1206
+ }
1207
+ };
1208
+ exports.NotificationsService = NotificationsService;
1209
+ exports.NotificationsService = NotificationsService = NotificationsService_1 = __decorate([
1210
+ (0, common_1.Injectable)(),
1211
+ __param(0, (0, common_1.Inject)(index_1.PLATFORM_PRISMA)),
1212
+ __param(3, (0, common_1.Inject)(notification_types_1.NOTIFICATION_CHANNEL_SENDERS)),
1213
+ __param(4, (0, common_1.Optional)()),
1214
+ __param(4, (0, common_1.Inject)(ports_1.NOTIFICATIONS_METRICS)),
1215
+ __param(5, (0, common_1.Optional)()),
1216
+ __param(6, (0, common_1.Optional)()),
1217
+ __param(6, (0, common_1.Inject)(ports_1.NOTIFICATION_RECIPIENT_HANDLES)),
1218
+ __metadata("design:paramtypes", [Object, notification_delivery_service_1.NotificationDeliveryService,
1219
+ notification_policy_service_1.NotificationPolicyService, Array, Object, channel_sender_registry_1.NotificationChannelSenderRegistry, Object])
1220
+ ], NotificationsService);
1221
+ //# sourceMappingURL=notifications.service.js.map