@wildo-ai/saas-specifications 1.1.4 → 1.1.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 (1476) hide show
  1. package/dist/assurance/external-framework-mapping.json +1228 -0
  2. package/dist/esm/_catalogs/index.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  4. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
  6. package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
  8. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
  10. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
  12. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
  14. package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
  15. package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
  16. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
  17. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
  18. package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
  19. package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
  20. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
  21. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
  22. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
  23. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
  24. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
  25. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
  26. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
  27. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
  28. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
  29. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
  30. package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
  31. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
  32. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
  33. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
  35. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
  36. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
  37. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
  38. package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
  40. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
  41. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  42. package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
  43. package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
  44. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
  45. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  46. package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
  47. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  48. package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
  49. package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
  50. package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
  51. package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
  52. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
  53. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  54. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
  55. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
  56. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
  57. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  59. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
  60. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  61. package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
  62. package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
  63. package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
  64. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  65. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  66. package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
  67. package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
  68. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
  69. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  70. package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
  71. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  72. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
  73. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  74. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  75. package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
  76. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
  77. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
  78. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  79. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
  80. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  81. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
  82. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  83. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +215 -2
  84. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  85. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +703 -14
  86. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +536 -7
  88. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  89. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  90. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
  91. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  92. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
  93. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  94. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
  95. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
  96. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  97. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  98. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  99. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  100. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
  101. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  104. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
  105. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
  106. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
  107. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
  109. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  110. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
  111. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  112. package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
  113. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  114. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
  115. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
  116. package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
  117. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
  118. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
  119. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
  120. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
  121. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
  122. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
  123. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
  124. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
  125. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
  126. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  127. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  128. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +42 -0
  129. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +60 -2
  131. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  132. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
  133. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
  134. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
  135. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
  136. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +245 -7
  137. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  138. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +227 -3
  139. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  140. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
  141. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  142. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
  143. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
  144. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
  145. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
  146. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
  147. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
  148. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  149. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
  150. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  151. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  152. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
  153. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
  154. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +218 -4
  155. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  156. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +147 -2
  157. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  158. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
  159. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  160. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
  161. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  162. package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
  163. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  164. package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
  165. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  166. package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
  167. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  168. package/dist/esm/_core/cross-registry-assertions.js +7 -5
  169. package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
  170. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  171. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  172. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  173. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  174. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  175. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
  176. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
  178. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  179. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +30 -0
  180. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  181. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +99 -6
  182. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  183. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  184. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  185. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
  186. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
  187. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
  188. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
  189. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
  190. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
  191. package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
  192. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
  193. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
  194. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
  195. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
  196. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
  197. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
  198. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
  199. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
  200. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
  201. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
  202. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  203. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
  204. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
  205. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
  206. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  207. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +7 -0
  208. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  209. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  210. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  211. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
  212. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
  213. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
  214. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
  215. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
  216. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
  218. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  219. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  220. package/dist/esm/_core/family-aspects.registry.js +22 -1
  221. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  222. package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
  223. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  224. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  225. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +34 -34
  226. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  227. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  228. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
  229. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  230. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  231. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
  232. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  233. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  234. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  235. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  236. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  237. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
  238. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  239. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  240. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  241. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  242. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  243. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
  244. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  245. package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
  246. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  247. package/dist/esm/_core/index.d.ts +16 -0
  248. package/dist/esm/_core/index.d.ts.map +1 -1
  249. package/dist/esm/_core/index.js +16 -0
  250. package/dist/esm/_core/index.js.map +1 -1
  251. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
  252. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
  253. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
  254. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
  255. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
  256. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
  257. package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
  258. package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
  259. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
  260. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
  261. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
  262. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
  263. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
  264. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
  265. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
  266. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
  267. package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
  268. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  269. package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
  270. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  271. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  272. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  273. package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
  274. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  275. package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
  276. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  277. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
  278. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  279. package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
  280. package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
  281. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
  282. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  283. package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
  284. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  285. package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
  286. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  287. package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
  288. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  289. package/dist/esm/_core/market/market-channel.schemas.js +6 -3
  290. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  291. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  292. package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
  293. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  294. package/dist/esm/_core/market/market-gain.schemas.js +4 -1
  295. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  296. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  297. package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
  298. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  299. package/dist/esm/_core/market/market-icp.schemas.js +12 -9
  300. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  301. package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
  302. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  303. package/dist/esm/_core/market/market-job.schemas.js +4 -1
  304. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  305. package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
  306. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  307. package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
  308. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  309. package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
  310. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  311. package/dist/esm/_core/market/market-objection.schemas.js +4 -1
  312. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  313. package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
  314. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  315. package/dist/esm/_core/market/market-pain.schemas.js +4 -1
  316. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  317. package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
  318. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  319. package/dist/esm/_core/market/market-persona.schemas.js +5 -2
  320. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  321. package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
  322. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  323. package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
  324. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  325. package/dist/esm/_core/market/market-proof.schemas.js +4 -1
  326. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  327. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  328. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  329. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +68 -68
  330. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  331. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  332. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  333. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  334. package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
  335. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  336. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
  337. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  338. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
  339. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  340. package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
  341. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  342. package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
  343. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  344. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  345. package/dist/esm/_core/market/market.family-aspects.js +25 -1
  346. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  347. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  348. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
  349. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  350. package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
  351. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  352. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
  353. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  354. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  355. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +8 -0
  356. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  357. package/dist/esm/_core/placement-plan/placement-plan-validation.js +17 -1
  358. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  359. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  360. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
  361. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  362. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +66 -39
  363. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  364. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +50 -16
  365. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  366. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  367. package/dist/esm/_core/provider-specification.schemas.d.ts +3 -0
  368. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
  369. package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
  370. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  371. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
  372. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  373. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
  374. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  375. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
  376. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  377. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
  378. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
  379. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  380. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  381. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  382. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  383. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  384. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
  385. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  386. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  387. package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
  388. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  389. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  390. package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
  391. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  392. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  393. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  394. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
  395. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  396. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
  397. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
  398. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
  399. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  400. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  401. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  402. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  403. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
  404. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  405. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
  406. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  407. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
  408. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  409. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  410. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
  411. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
  412. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  413. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  414. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  415. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  416. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  417. package/dist/esm/_core/utils/extract-field-specs.js +4 -2
  418. package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
  419. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -1
  420. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -1
  421. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  422. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  423. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
  424. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  425. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
  426. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
  427. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
  428. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  429. package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
  430. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  431. package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
  432. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  433. package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
  434. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  435. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  436. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  437. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  438. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  439. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
  440. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  441. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
  442. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  443. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  444. package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
  445. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
  446. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
  447. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
  448. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
  449. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
  450. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
  451. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
  452. package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
  453. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
  454. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
  455. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
  456. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
  457. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
  458. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
  459. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
  460. package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
  461. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
  462. package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
  463. package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
  464. package/dist/esm/_core/zod-core-nameability.js +1 -0
  465. package/dist/esm/_core/zod-core-nameability.js.map +1 -0
  466. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
  467. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
  468. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
  469. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
  470. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
  471. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  472. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +182 -11
  473. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  474. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
  475. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  476. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
  477. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  478. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
  479. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
  480. package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
  481. package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
  482. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  483. package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
  484. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
  485. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  486. package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
  487. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
  488. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  489. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
  490. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  491. package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
  492. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  493. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -503
  494. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  495. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -542
  496. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  497. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  498. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +10 -0
  499. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  500. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +10 -0
  501. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  502. package/dist/esm/application-creation.exports.d.ts +73 -8
  503. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  504. package/dist/esm/application-creation.exports.js +103 -8
  505. package/dist/esm/application-creation.exports.js.map +1 -1
  506. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
  507. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
  508. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
  509. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
  510. package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
  511. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  512. package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
  513. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  514. package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
  515. package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
  516. package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
  517. package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
  518. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
  519. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
  520. package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
  521. package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
  522. package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
  523. package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
  524. package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
  525. package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
  526. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
  527. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
  528. package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
  529. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
  530. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +246 -13
  531. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  532. package/dist/esm/assurance/assurance-authority-basis.definitions.js +821 -87
  533. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  534. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +100 -34
  535. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  536. package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
  537. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  538. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  539. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  540. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  541. package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
  542. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  543. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
  544. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  545. package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
  546. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  547. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
  548. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
  549. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
  550. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
  551. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -46
  552. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  553. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1613 -406
  554. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  555. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  556. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
  557. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  558. package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
  559. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  560. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +2 -2
  561. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  562. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +108 -5
  563. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  564. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
  565. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  566. package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
  567. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  568. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
  569. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  570. package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
  571. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  572. package/dist/esm/assurance/assurance-program.schemas.d.ts +1180 -347
  573. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  574. package/dist/esm/assurance/assurance-program.schemas.js +458 -74
  575. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  576. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  577. package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
  578. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  579. package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
  580. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  581. package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
  582. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  583. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  584. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +179 -6
  585. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  586. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  587. package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
  588. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
  589. package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
  590. package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
  591. package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
  592. package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
  593. package/dist/esm/assurance/governed-document-release.d.ts +211 -0
  594. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
  595. package/dist/esm/assurance/governed-document-release.js +314 -0
  596. package/dist/esm/assurance/governed-document-release.js.map +1 -0
  597. package/dist/esm/assurance.exports.d.ts +5 -0
  598. package/dist/esm/assurance.exports.d.ts.map +1 -1
  599. package/dist/esm/assurance.exports.js +5 -0
  600. package/dist/esm/assurance.exports.js.map +1 -1
  601. package/dist/esm/companion-exports.d.ts +135 -11
  602. package/dist/esm/companion-exports.d.ts.map +1 -1
  603. package/dist/esm/companion-exports.js.map +1 -1
  604. package/dist/esm/engine/_bootstrap.d.ts +1 -1
  605. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  606. package/dist/esm/engine/_bootstrap.js +1 -1
  607. package/dist/esm/engine/_bootstrap.js.map +1 -1
  608. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  609. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  610. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  611. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
  612. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
  614. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  615. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
  616. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  617. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +110 -28
  618. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  619. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
  620. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
  622. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  623. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  624. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  625. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  626. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  627. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  628. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +11 -1
  629. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +67 -10
  631. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  632. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  634. package/dist/esm/engine/auth/resources/index.d.ts +1 -0
  635. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  636. package/dist/esm/engine/auth/resources/index.js +1 -0
  637. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  638. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  639. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  640. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  641. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  642. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
  643. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  644. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +57 -6
  645. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  646. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
  647. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
  648. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
  649. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
  650. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
  651. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  652. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
  653. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  654. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  656. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  657. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
  658. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  659. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  660. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  661. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  662. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  663. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
  664. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
  665. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
  666. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
  667. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
  668. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  669. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
  670. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  671. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
  672. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  673. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +5 -26
  674. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  675. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +6 -2
  676. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  677. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +16 -3
  678. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  679. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +5 -2
  680. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  681. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +10 -16
  682. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  683. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  684. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  685. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
  686. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  687. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  688. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
  689. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
  690. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
  691. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
  692. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
  693. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
  694. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
  695. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
  696. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
  697. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
  698. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
  699. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
  700. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
  701. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
  702. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
  703. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
  704. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  705. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  706. package/dist/esm/engine/billing/resources/index.d.ts +4 -0
  707. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  708. package/dist/esm/engine/billing/resources/index.js +4 -0
  709. package/dist/esm/engine/billing/resources/index.js.map +1 -1
  710. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  711. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  712. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
  713. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  714. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  715. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
  716. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  717. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  718. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  719. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  720. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  721. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  722. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  723. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  724. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
  725. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  726. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  727. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  729. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -7
  730. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +72 -13
  732. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  733. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
  734. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  735. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  736. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  737. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  738. package/dist/esm/engine/compliance/resources/index.js +1 -0
  739. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  740. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
  741. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
  742. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
  743. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
  744. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  745. package/dist/esm/engine/engine-resource-specifications.registry.js +24 -0
  746. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  747. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  748. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  749. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  750. package/dist/esm/engine/errors/error-messages.specification.js +104 -19
  751. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  752. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  753. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  754. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  755. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  756. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  757. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  758. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  759. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  760. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  761. package/dist/esm/engine/features/index.d.ts.map +1 -1
  762. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  763. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  764. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
  765. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  766. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  767. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  768. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +1 -0
  769. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  770. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  771. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  772. package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
  773. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  774. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  775. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  776. package/dist/esm/engine/files/index.d.ts.map +1 -1
  777. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  778. package/dist/esm/engine/files/resources/files.resource.specification.js +14 -2
  779. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  780. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  781. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  783. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  784. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  785. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
  786. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  787. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +1 -1
  788. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  789. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  790. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  791. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
  792. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
  793. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
  794. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
  795. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  796. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  797. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  798. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
  799. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
  800. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  801. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  802. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
  803. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
  804. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  805. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
  806. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
  807. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  808. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  809. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  810. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
  811. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
  812. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
  813. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
  814. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  815. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  816. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  817. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  818. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  819. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  820. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  822. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  823. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  824. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  825. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  826. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  827. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  828. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  830. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  831. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  832. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  833. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  834. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  836. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  837. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  838. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  839. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  840. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  841. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  843. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  844. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  845. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  846. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  847. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
  848. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
  849. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  850. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  851. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  852. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  853. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  854. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
  855. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
  856. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
  857. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
  858. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +6 -5
  860. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  861. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
  862. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
  863. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
  864. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
  865. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
  866. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
  867. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
  868. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
  869. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  870. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  871. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  872. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  873. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  874. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  875. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
  876. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
  877. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
  878. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -0
  879. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  880. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  881. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  882. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  883. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -1
  884. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -1
  885. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  886. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +4 -2
  887. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  888. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  889. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  890. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
  891. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
  892. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  893. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  894. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
  895. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
  896. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  897. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
  898. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
  899. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  900. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
  901. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
  902. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  903. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  904. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  905. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  906. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  907. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
  908. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
  909. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
  910. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
  911. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  912. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
  913. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  914. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  915. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  916. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  917. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  918. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
  919. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
  920. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  921. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
  922. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
  923. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
  924. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
  925. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
  926. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
  927. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  928. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
  929. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
  930. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  931. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
  932. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  933. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  934. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
  935. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
  936. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  937. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
  938. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
  939. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  940. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  941. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  942. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  943. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
  944. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
  945. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  946. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
  947. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
  948. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
  949. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
  950. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  951. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
  952. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
  953. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
  954. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
  955. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  956. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  957. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  958. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  959. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  960. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  961. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  962. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  963. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  964. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
  965. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
  966. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  967. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  968. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  969. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  970. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  971. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  972. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  973. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  974. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  975. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  976. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  977. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  978. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  979. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  980. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  981. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  982. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  983. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
  984. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
  985. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
  986. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
  987. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
  988. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
  989. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
  990. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
  991. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  992. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
  993. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
  994. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
  995. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
  996. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  997. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
  998. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
  999. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  1000. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  1001. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  1002. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  1003. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  1004. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  1005. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  1006. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  1007. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  1008. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  1009. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  1010. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  1011. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  1012. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  1013. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  1014. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  1015. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  1016. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  1017. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  1018. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  1019. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  1020. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  1021. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  1022. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  1023. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  1024. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  1025. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  1026. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  1027. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  1028. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  1029. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  1030. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  1031. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  1032. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  1033. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  1034. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  1035. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  1036. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  1037. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  1038. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  1039. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  1040. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  1041. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  1042. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  1043. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  1044. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  1045. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  1046. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  1047. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  1048. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  1049. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  1050. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  1051. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  1052. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  1053. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  1054. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  1055. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  1056. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  1057. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  1058. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  1059. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  1060. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  1061. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  1062. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  1063. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  1064. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  1065. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  1066. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  1067. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  1068. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  1069. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  1070. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  1071. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  1072. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  1073. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
  1074. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
  1075. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
  1076. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
  1077. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  1078. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  1079. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  1080. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  1081. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
  1082. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
  1083. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
  1084. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
  1085. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1086. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  1087. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  1088. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  1089. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  1090. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  1091. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  1092. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
  1093. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
  1094. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  1095. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
  1096. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
  1097. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  1098. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  1099. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  1100. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1101. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  1102. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  1103. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  1104. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  1105. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  1106. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  1107. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  1108. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  1109. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  1110. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  1111. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  1112. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  1113. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  1114. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  1115. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  1116. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  1117. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  1118. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  1119. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  1120. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  1121. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  1122. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  1123. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  1124. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  1125. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  1126. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  1127. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  1128. package/dist/esm/engine/frontend-components/index.d.ts +12 -0
  1129. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  1130. package/dist/esm/engine/frontend-components/index.js +40 -0
  1131. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  1132. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
  1133. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  1134. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
  1135. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
  1136. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  1137. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  1138. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  1139. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  1140. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  1141. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  1142. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  1143. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  1144. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  1145. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  1146. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  1147. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  1148. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  1149. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  1150. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  1151. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  1152. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
  1153. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
  1154. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  1155. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  1156. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  1157. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  1158. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  1159. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  1160. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  1161. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  1162. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1163. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  1164. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  1165. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  1166. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  1167. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  1168. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  1169. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  1170. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  1171. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  1172. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  1173. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  1174. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  1175. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  1176. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  1177. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  1178. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
  1179. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  1180. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
  1181. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
  1182. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  1183. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  1184. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1185. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  1186. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  1187. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  1188. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  1189. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  1190. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  1191. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  1192. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  1193. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  1194. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  1195. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  1196. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  1197. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  1198. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  1199. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  1200. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  1201. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  1202. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  1203. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  1204. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  1205. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  1206. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  1207. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  1208. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
  1209. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
  1210. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  1211. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
  1212. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
  1213. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  1214. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
  1215. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
  1216. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  1217. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  1218. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  1219. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  1220. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  1221. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
  1222. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
  1223. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  1224. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  1225. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  1226. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  1227. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
  1228. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
  1229. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  1230. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  1231. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  1232. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  1233. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
  1234. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  1235. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  1236. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  1237. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  1238. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  1239. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  1240. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  1241. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  1242. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
  1243. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  1244. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  1245. package/dist/esm/engine/index.d.ts.map +1 -1
  1246. package/dist/esm/engine/index.js.map +1 -1
  1247. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  1248. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  1249. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  1250. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
  1251. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
  1252. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
  1253. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
  1254. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  1255. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +3 -2
  1256. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  1257. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  1258. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
  1259. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  1260. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
  1261. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  1262. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
  1263. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  1264. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
  1265. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  1266. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
  1267. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
  1268. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
  1269. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
  1270. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  1271. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  1272. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  1273. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
  1274. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  1275. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  1276. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  1277. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  1278. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  1279. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
  1280. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  1281. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  1282. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  1283. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  1284. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  1285. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
  1286. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  1287. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
  1288. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  1289. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  1290. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  1291. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  1292. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  1293. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  1294. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  1295. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  1296. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  1297. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  1298. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
  1299. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  1300. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  1301. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  1302. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
  1303. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  1304. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
  1305. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  1306. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +1 -1
  1307. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  1308. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
  1309. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  1310. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
  1311. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -1
  1312. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  1313. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  1314. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  1315. package/dist/esm/engine/providers/apple.provider.specification.js +2 -0
  1316. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  1317. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
  1318. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
  1319. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  1320. package/dist/esm/engine/providers/github.provider.specification.js +2 -0
  1321. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  1322. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  1323. package/dist/esm/engine/providers/google.provider.specification.js +2 -0
  1324. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  1325. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  1326. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  1327. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  1328. package/dist/esm/engine/providers/index.js.map +1 -1
  1329. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  1330. package/dist/esm/engine/providers/microsoft.provider.specification.js +12 -0
  1331. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  1332. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  1333. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  1334. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  1335. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  1336. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
  1337. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
  1338. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  1339. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  1340. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  1341. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  1342. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  1343. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  1344. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  1345. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  1346. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  1347. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  1348. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  1349. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  1350. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  1351. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  1352. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
  1353. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
  1354. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
  1355. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
  1356. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  1357. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  1358. package/dist/esm/engine/roles/index.d.ts +4 -3
  1359. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  1360. package/dist/esm/engine/roles/index.js +6 -4
  1361. package/dist/esm/engine/roles/index.js.map +1 -1
  1362. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  1363. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  1364. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  1365. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  1366. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  1367. package/dist/esm/engine/users/index.d.ts.map +1 -1
  1368. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
  1369. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  1370. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
  1371. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  1372. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
  1373. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  1374. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
  1375. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  1376. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  1377. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  1378. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  1379. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  1380. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
  1381. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  1382. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -3
  1383. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  1384. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
  1385. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  1386. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
  1387. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  1388. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
  1389. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  1390. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
  1391. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  1392. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  1393. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  1394. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
  1395. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  1396. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
  1397. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  1398. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  1399. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  1400. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  1401. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  1402. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  1403. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  1404. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +1 -0
  1405. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  1406. package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
  1407. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  1408. package/dist/esm/index.d.ts +39 -0
  1409. package/dist/esm/index.d.ts.map +1 -1
  1410. package/dist/esm/index.js +39 -0
  1411. package/dist/esm/index.js.map +1 -1
  1412. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
  1413. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
  1414. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
  1415. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
  1416. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
  1417. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
  1418. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
  1419. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
  1420. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
  1421. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
  1422. package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
  1423. package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
  1424. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
  1425. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
  1426. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
  1427. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
  1428. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
  1429. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
  1430. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
  1431. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
  1432. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  1433. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
  1434. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  1435. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  1436. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  1437. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
  1438. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
  1439. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  1440. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
  1441. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
  1442. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  1443. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
  1444. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
  1445. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  1446. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  1447. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
  1448. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
  1449. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  1450. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
  1451. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
  1452. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  1453. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
  1454. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
  1455. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
  1456. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  1457. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
  1458. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  1459. package/dist/esm/technical-documentation.exports.d.ts +4 -0
  1460. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  1461. package/dist/esm/technical-documentation.exports.js +24 -0
  1462. package/dist/esm/technical-documentation.exports.js.map +1 -1
  1463. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1464. package/package.json +8 -13
  1465. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
  1466. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
  1467. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
  1468. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
  1469. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
  1470. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
  1471. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
  1472. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
  1473. package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
  1474. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
  1475. package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
  1476. package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"engine-documentation-specification-catalog.companion.js","sourceRoot":"","sources":["../../../src/technical-documentation/engine-documentation-specification-catalog.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,wBAAwB,EACxB,sBAAsB,EACtB,YAAY,EACZ,WAAW,EACX,UAAU,EACV,cAAc,EACd,6BAA6B,EAC7B,6BAA6B,EAC7B,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,2BAA2B,EAC3B,6BAA6B,EAC7B,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,4BAA4B,EAC5B,0BAA0B,EAC1B,qBAAqB,EACrB,iCAAiC,EACjC,eAAe,EACf,aAAa,EACb,YAAY,EACZ,aAAa,EACb,cA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AAG,sBAAsB,CAAC,QAAQ,CAAC,CAAC;IACxD,MAAM,aAAa,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACtD,MAAM,qBAAqB,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,aAAa;QACtB,mHAAmH;QACnH,IAAI,cAAc;YAChB,OAAO,qBAAqB,CAAC,KAAK,EAAE,CAAC;QACvC,CAAC;KACF,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n API_KEY_CREDENTIAL_PRESENTATION,\n AUTH_METHOD_CATEGORY_MAP,\n AUTH_METHOD_FACTOR_MAP,\n ApiKeyStatus,\n ApiKeyScope,\n AuthMethod,\n AuthFactorType,\n AUDIT_EVENT_CATEGORY_MEANINGS,\n AUDIT_EVENT_SEVERITY_MEANINGS,\n AuditEventCategory,\n AuditEventSeverity,\n CoreResourceType,\n CoreResourceOperation,\n EngineCapability,\n ErrorCustomMessageReference,\n OAuthClientRegistrationOrigin,\n OAuthClientSchemaBase,\n OAuthClientStatus,\n OAuthGrantType,\n OAuthTokenEndpointAuthMethod,\n OrgOAuthClients_Operations,\n OrgApiKeys_Operations,\n AdministrativeContinuityErrorCode,\n BillingInterval,\n BillingTiming,\n DiscountType,\n InvoiceStatus,\n LimitGrantMode,\n OrganizationMemberSchema,\n OrganizationMemberStatus,\n OrganizationUnitMemberSchema,\n OrganizationUnitSchema,\n OrganizationUnitType,\n OrganizationUnit_PermissionInheritanceType,\n OrganizationUnitStatus,\n ProductType,\n PricingModel,\n PromotionDuration,\n PromotionType,\n ProrationBehavior,\n SCIM_SERVICE_BASE_PATH,\n ScimAttributeMappingSchema,\n ScimOrganizationUnitMappingEntrySchema,\n ScimProvisioningConfigBaseSchema,\n SIEMAuthMethod,\n SIEM_DELIVERY_RELIABILITY_CONTRACT,\n SIEMEventCategory,\n SIEMEventFormat,\n SIEMFilterSeverity,\n SiemExportConfigBaseSchema,\n SsoConnectionBaseSchema,\n SsoConnection_Operations,\n SsoProtocol,\n SubscriptionStatus,\n TaxDisplayMode,\n UsageSourceType,\n WebhookConfigBaseSchema,\n WildoHeaderKeys,\n COLLECTION_QUERY_PARAMETERS,\n CoreM2MNotificationChannel,\n ERROR_DEFINITIONS,\n ErrorResponseSchema,\n ErrorType,\n M2M_WEBHOOK_DELIVERY_CONTRACT,\n M2MWebhookDeliveryLogBaseSchema,\n M2MWebhookDeliveryLogStatus,\n Resources_PaginationRequestSchema,\n Resources_PaginationResponseMetadataSchema,\n WebhookEndpointProbeOutcome,\n WebhookEndpointSchema,\n ResourceOperationVariantType,\n ResourcesConfig_OperationPathUtils,\n} from \"@wildo-ai/saas-models\";\nimport {\n getZodType,\n isBackendOnlyField,\n isExcludedFromCreate,\n isExcludedFromUpdate,\n isWriteOnlySecretField,\n unwrapSchema,\n} from \"@wildo-ai/zod-decorators\";\n\nimport type { ExtractedFieldSpec } from \"../_core/utils/extract-field-specs\";\nimport { extractFieldSpecsFromFieldMap } from \"../_core/utils/extract-field-specs\";\nimport { appLevelFeatureSpecificationKeyFor, type FeatureSpecificationConfig } from \"../_core/definition-specification.schemas\";\nimport type {\n AnyResourceSpecificationConfig,\n ResourceOperationM2MSpecification,\n ResourceOperationSpecification,\n} from \"../_core/resource-specification.schemas\";\nimport type { SystemEmailTemplateSpecificationConfig } from \"../_core/system-email-template-specification.schemas\";\nimport { m2mWebhookDeliveryFeatureSpecification } from \"../engine/features/m2m-webhook-delivery.feature.specification\";\nimport { engineErrorMessageSpecifications } from \"../engine/errors/error-messages.specification\";\nimport { applicationWebhookConfigResourceSpecification, organizationWebhookConfigResourceSpecification } from \"../engine/notifications/resources/webhook-config.resource.specification\";\nimport {\n applicationM2mWebhookDeliveryLogResourceSpecification,\n organizationM2mWebhookDeliveryLogResourceSpecification,\n} from \"../engine/notifications/resources/m2m-webhook-delivery-log.resource.specification\";\nimport { authenticationSystemEmailTemplateSpecifications } from \"../engine/notifications/system-emails/authentication.system-emails.specification\";\nimport { organizationSystemEmailTemplateSpecifications } from \"../engine/notifications/system-emails/organization.system-emails.specification\";\nimport { securitySystemEmailTemplateSpecifications } from \"../engine/notifications/system-emails/security.system-emails.specification\";\nimport { subscriptionSystemEmailTemplateSpecifications } from \"../engine/notifications/system-emails/subscription.system-emails.specification\";\nimport { organizationScimProvisioningConfigResourceSpecification } from \"../engine/auth/resources/scim-provisioning-config.resource.specification\";\nimport { organizationApiKeysResourceSpecification } from \"../engine/auth/resources/organization-api-keys.resource.specification\";\nimport { organizationOAuthClientsResourceSpecification } from \"../engine/auth/resources/organization-oauth-clients.resource.specification\";\nimport { organizationSiemExportConfigResourceSpecification } from \"../engine/auth/resources/siem-export-config.resource.specification\";\nimport { auditLogsResourceSpecification } from \"../engine/compliance/resources/audit-logs.resource.specification\";\nimport { organizationSsoConnectionsResourceSpecification } from \"../engine/auth/resources/sso-connections.resource.specification\";\nimport { organizationMembersResourceSpecification } from \"../engine/organizations/resources/organization-members.resource.specification\";\nimport { organizationNotificationsResourceSpecification } from \"../engine/organizations/resources/organization-notifications.resource.specification\";\nimport { organizationPreferencesResourceSpecification } from \"../engine/organizations/resources/organization-preferences.resource.specification\";\nimport { organizationProfilesResourceSpecification } from \"../engine/organizations/resources/organization-profiles.resource.specification\";\nimport { organizationUnitMembersResourceSpecification } from \"../engine/organizations/resources/organization-unit-members.resource.specification\";\nimport { organizationUnitsResourceSpecification } from \"../engine/organizations/resources/organization-units.resource.specification\";\nimport { organizationsResourceSpecification } from \"../engine/organizations/resources/organizations.resource.specification\";\nimport { applicationApiKeysResourceSpecification } from \"../engine/applications/resources/application-api-keys.resource.specification\";\nimport { applicationOAuthClientsResourceSpecification } from \"../engine/applications/resources/application-oauth-clients.resource.specification\";\nimport { canonicalizeTechnicalDocumentationJson } from \"./technical-documentation-common.schemas\";\nimport {\n EngineDocumentationSpecificationCatalogIdentityV1Schema,\n type EngineDocumentationSpecificationCatalogIdentityV1,\n} from \"./technical-documentation-evidence.schemas\";\n\ntype JsonPrimitive = boolean | number | string | null;\nexport type EngineDocumentationSpecificationSemanticDto = JsonPrimitive | readonly EngineDocumentationSpecificationSemanticDto[] | {\n readonly [key: string]: EngineDocumentationSpecificationSemanticDto;\n};\n\n/** Closed catalog families. They describe application behavior for consumers; they are not Wildo authoring families. */\nexport enum EngineDocumentationSpecificationFamilyRef {\n CONSUMER_FACT = \"specification-family:consumer-fact\",\n ENGINE_CAPABILITY = \"specification-family:engine-capability\",\n ERROR_VOCABULARY = \"specification-family:error-vocabulary\",\n FEATURE = \"specification-family:feature\",\n RESOURCE = \"specification-family:resource\",\n SYSTEM_EMAIL_TEMPLATE_GROUP = \"specification-family:system-email-template-group\",\n}\n\nexport enum EngineDocumentationErrorCoverageState {\n AUTHORED_APPLICATION_CONSUMER_SEMANTICS = \"AUTHORED_APPLICATION_CONSUMER_SEMANTICS\",\n DELIBERATELY_WITHOUT_AUTHORED_APPLICATION_CONSUMER_SEMANTICS = \"DELIBERATELY_WITHOUT_AUTHORED_APPLICATION_CONSUMER_SEMANTICS\",\n}\n\nexport enum EngineDocumentationPublicKeyWritePolicy {\n READ_ONLY = \"READ_ONLY\",\n}\n\nexport const ENGINE_DOCUMENTATION_SPECIFICATION_CATALOG_PROJECTOR_REF = \"projector:engine-documentation-specification-catalog:v1\";\nexport const ENGINE_DOCUMENTATION_SPECIFICATION_CATALOG_PROJECTOR_VERSION = 1;\n\ninterface EngineDocumentationSpecificationManagedSource<TSource = unknown> {\n readonly sourceRef: string;\n readonly specificationFamilyRef: EngineDocumentationSpecificationFamilyRef;\n readonly sourceModuleBinding: string;\n readonly projectorRef: string;\n readonly source: TSource;\n readonly project: (source: TSource) => EngineDocumentationSpecificationSemanticDto;\n}\n\nexport interface EngineDocumentationSpecificationManagedSourceDescriptor {\n readonly sourceRef: string;\n readonly specificationFamilyRef: EngineDocumentationSpecificationFamilyRef;\n readonly sourceModuleBinding: string;\n readonly projectorRef: string;\n}\n\nexport interface EngineDocumentationSpecificationCatalogEntryV1 {\n readonly sourceRef: string;\n readonly specificationFamilyRef: EngineDocumentationSpecificationFamilyRef;\n readonly sourceModuleBinding: string;\n readonly projectorRef: string;\n readonly semanticDto: EngineDocumentationSpecificationSemanticDto;\n}\n\nexport interface EngineDocumentationSpecificationCatalogV1 {\n readonly identity: EngineDocumentationSpecificationCatalogIdentityV1;\n readonly entries: readonly EngineDocumentationSpecificationCatalogEntryV1[];\n /** Exact UTF-8 bytes of the canonical self-describing catalog document. */\n readonly canonicalBytes: Uint8Array;\n}\n\ninterface ErrorVocabularySource {\n readonly vocabulary: typeof ErrorCustomMessageReference;\n readonly specifications: typeof engineErrorMessageSpecifications;\n}\n\ninterface EngineCapabilitySource {\n readonly capability: EngineCapability;\n}\n\ninterface ResourceSpecificationSourceBinding {\n readonly resourceType: string;\n readonly specification: AnyResourceSpecificationConfig;\n}\n\n/**\n * A deliberately small, positive projection of a model contract that is safe\n * to put into application-consumer documentation. It is not a generic schema\n * extractor: each fact has an explicit source binding and a purpose-built\n * projector, so backend-only and write-only fields cannot enter by accident.\n */\ninterface AuthenticationMethodsConsumerFactSource {\n readonly methods: typeof AuthMethod;\n readonly categories: typeof AUTH_METHOD_CATEGORY_MAP;\n readonly factorTypes: typeof AUTH_METHOD_FACTOR_MAP;\n}\n\ninterface ApiKeysConsumerFactSource {\n readonly authorizationHeader: string;\n readonly prefixesByScope: Readonly<Record<ApiKeyScope, string>>;\n readonly statuses: typeof ApiKeyStatus;\n readonly organizationSpecification: AnyResourceSpecificationConfig;\n readonly applicationSpecification: AnyResourceSpecificationConfig;\n}\n\ninterface SingleSignOnConsumerFactSource {\n readonly protocols: typeof SsoProtocol;\n readonly connectionFieldNames: readonly string[];\n readonly specification: AnyResourceSpecificationConfig;\n readonly defaults: {\n readonly shared: Readonly<Record<string, boolean | readonly string[] | string | null>>;\n readonly oidc: Readonly<Record<string, boolean | number | readonly string[] | string | null>>;\n readonly saml: Readonly<Record<string, boolean | number | string | null>>;\n };\n}\n\ninterface OAuthClientsConsumerFactSource {\n readonly grantTypes: typeof OAuthGrantType;\n readonly tokenEndpointAuthMethods: typeof OAuthTokenEndpointAuthMethod;\n readonly registrationOrigins: typeof OAuthClientRegistrationOrigin;\n readonly statuses: typeof OAuthClientStatus;\n readonly clientFieldNames: readonly string[];\n readonly organizationSpecification: AnyResourceSpecificationConfig;\n readonly applicationSpecification: AnyResourceSpecificationConfig;\n}\n\ninterface ScimProvisioningConsumerFactSource {\n readonly provisioningFieldNames: readonly string[];\n readonly organizationUnitMappingFieldNames: readonly string[];\n readonly specification: AnyResourceSpecificationConfig;\n readonly defaults: {\n readonly autoCreateUsers: boolean;\n readonly autoVerifyEmail: boolean;\n readonly autoDeactivateUsers: boolean;\n readonly attributeMapping: {\n readonly email: string;\n readonly firstName: string;\n readonly lastName: string;\n readonly displayName: string;\n };\n };\n}\n\ninterface SiemExportConsumerFactSource {\n readonly configurationFieldNames: readonly string[];\n readonly specification: AnyResourceSpecificationConfig;\n readonly defaults: {\n readonly enabled: boolean;\n readonly webhookUrl: string;\n readonly authMethod: string;\n readonly authHeaderName: string;\n readonly eventFormat: string;\n readonly eventFilter: {\n readonly categories: readonly string[];\n readonly severityMinimum: string;\n readonly specificEventTypes?: readonly string[];\n };\n readonly delivery: {\n readonly batchSize: number;\n readonly batchWindowSeconds: number;\n readonly retryAttempts: number;\n readonly retryBackoffSeconds: number;\n readonly timeoutSeconds: number;\n };\n readonly includeRawEventData: boolean;\n readonly includeDeviceContext: boolean;\n };\n}\n\ninterface RestConventionsConsumerFactSource {\n readonly errorDefinitions: typeof ERROR_DEFINITIONS;\n readonly errorEnvelopeFieldNames: readonly string[];\n readonly queryParameters: typeof COLLECTION_QUERY_PARAMETERS;\n readonly pagination: {\n readonly defaultPage: number;\n readonly defaultLimit: number;\n readonly maxLimit: number;\n readonly requestFieldNames: readonly string[];\n readonly responseFieldNames: readonly string[];\n };\n readonly headers: {\n readonly authorization: string;\n readonly ifMatch: string;\n readonly etag: string;\n readonly rateLimitLimit: string;\n readonly rateLimitRemaining: string;\n readonly rateLimitReset: string;\n };\n}\n\ninterface OutboundWebhooksConsumerFactSource {\n readonly contract: typeof M2M_WEBHOOK_DELIVERY_CONTRACT;\n readonly endpointFieldNames: readonly string[];\n readonly configurationFieldNames: readonly string[];\n readonly deliveryLogFieldNames: readonly string[];\n readonly deliveryStatuses: typeof M2MWebhookDeliveryLogStatus;\n readonly probeOutcomes: typeof WebhookEndpointProbeOutcome;\n readonly channels: typeof CoreM2MNotificationChannel;\n}\n\ninterface OrganizationUnitsConsumerFactSource {\n readonly unitFieldNames: readonly string[];\n readonly unitMemberFieldNames: readonly string[];\n readonly types: typeof OrganizationUnitType;\n readonly statuses: typeof OrganizationUnitStatus;\n readonly inheritanceTypes: typeof OrganizationUnit_PermissionInheritanceType;\n}\n\n/**\n * Public membership semantics deliberately projected from the organization\n * membership model. The source contains additional internal presentation and\n * audit fields, but this fact is intentionally limited to the invitation and\n * access lifecycle that an organization administrator must understand.\n */\ninterface OrganizationMembershipAdministrationConsumerFactSource {\n readonly membershipFieldNames: readonly string[];\n readonly statuses: typeof OrganizationMemberStatus;\n readonly continuityCodes: typeof AdministrativeContinuityErrorCode;\n}\n\n/**\n * Public billing vocabulary used by customer and organization-administrator\n * guidance. The projection intentionally excludes provider identifiers,\n * checkout metadata, payment details and backend synchronization topology.\n */\ninterface BillingLifecycleConsumerFactSource {\n readonly productTypes: typeof ProductType;\n readonly pricingModels: typeof PricingModel;\n readonly billingIntervals: typeof BillingInterval;\n readonly taxDisplayModes: typeof TaxDisplayMode;\n readonly limitGrantModes: typeof LimitGrantMode;\n readonly promotionTypes: typeof PromotionType;\n readonly discountTypes: typeof DiscountType;\n readonly promotionDurations: typeof PromotionDuration;\n readonly usageSourceTypes: typeof UsageSourceType;\n readonly subscriptionStatuses: typeof SubscriptionStatus;\n readonly invoiceStatuses: typeof InvoiceStatus;\n readonly changeTimings: typeof BillingTiming;\n readonly prorationBehaviors: typeof ProrationBehavior;\n}\n\nfunction optionalString(value: unknown): string | null {\n return typeof value === \"string\" ? value : null;\n}\n\nfunction encodeUtf8(value: string): Uint8Array {\n const bytes: number[] = [];\n for (const character of value) {\n const codePoint = character.codePointAt(0);\n if (codePoint === undefined) continue;\n if (codePoint <= 0x7f) bytes.push(codePoint);\n else if (codePoint <= 0x7ff) bytes.push(0xc0 | (codePoint >> 6), 0x80 | (codePoint & 0x3f));\n else if (codePoint <= 0xffff) bytes.push(0xe0 | (codePoint >> 12), 0x80 | ((codePoint >> 6) & 0x3f), 0x80 | (codePoint & 0x3f));\n else bytes.push(0xf0 | (codePoint >> 18), 0x80 | ((codePoint >> 12) & 0x3f), 0x80 | ((codePoint >> 6) & 0x3f), 0x80 | (codePoint & 0x3f));\n }\n return Uint8Array.from(bytes);\n}\n\nfunction deepFreezeCatalogValue<T>(value: T): T {\n if (value !== null && typeof value === \"object\") {\n for (const member of Object.values(value)) deepFreezeCatalogValue(member);\n Object.freeze(value);\n }\n return value;\n}\n\nfunction optionalNumber(value: unknown): number | null {\n return typeof value === \"number\" && Number.isFinite(value) ? value : null;\n}\n\nfunction optionalBoolean(value: unknown): boolean | null {\n return typeof value === \"boolean\" ? value : null;\n}\n\n/**\n * Customer-facing words for the closed vocabularies these facts print.\n *\n * They replace a helper that title-cased a constant — the shape\n * `.claude/rules/display-text-comes-from-i18n.md` forbids: text nobody wrote, untranslatable,\n * unsearchable, and wrong on every acronym it met (`ORG_SAML` reached a shipped page as \"Org Saml\").\n * The sign-in-method and audit vocabularies were fixed this way earlier; these are the rest, and\n * with them the helper goes.\n *\n * ## Why they live here and not in the i18n tree\n *\n * The rule's home for display text is the application's label tree, and that is right for anything a\n * running application RENDERS. This is a build-time document: the companion projects these words\n * into markdown once, with no locale in play and no bundle to resolve against, so an i18n key here\n * would be a lookup with no table behind it. What the rule forbids is DERIVING text from an\n * identifier, and a `Record<Enum, …>` is the opposite — authored words, beside the vocabulary they\n * explain, where a new member is a compile error rather than a new piece of invented English on a\n * page that has already shipped.\n *\n * ## Where a WIRE VALUE is the honest label\n *\n * `authorization_code` is what an integrator types into a client registration, and \"Authorization\n * Code\" is not. So those tables print the value in code font beside an authored meaning, which is\n * what the status tables next to them already did.\n */\nconst API_KEY_SCOPE_MEANINGS: Readonly<Record<ApiKeyScope, { readonly name: string; readonly meaning: string }>> = {\n [ApiKeyScope.ORGANIZATION]: {\n name: 'Organization key',\n meaning: 'Acts inside one organization, and can reach only what that organization can see.',\n },\n [ApiKeyScope.APPLICATION]: {\n name: 'Application key',\n meaning: 'Acts for the application itself, across organizations, for operator and integration work.',\n },\n};\n\n/** What each OAuth grant is FOR, said to somebody deciding which one to register. */\nconst OAUTH_GRANT_TYPE_MEANINGS: Readonly<Record<OAuthGrantType, string>> = {\n [OAuthGrantType.AUTHORIZATION_CODE]: 'A person signs in and authorizes your client, which then acts on their behalf.',\n [OAuthGrantType.CLIENT_CREDENTIALS]: 'Your client acts as itself, with no person involved — server-to-server work.',\n [OAuthGrantType.REFRESH_TOKEN]: 'Your client exchanges a refresh token for a new access token without asking the person again.',\n};\n\n/** The membership states, as a reader meets them in the interface. */\nconst ORGANIZATION_MEMBER_STATUS_NAMES: Readonly<Record<OrganizationMemberStatus, string>> = {\n [OrganizationMemberStatus.INVITED]: 'Invited',\n [OrganizationMemberStatus.ACTIVE]: 'Active',\n [OrganizationMemberStatus.INACTIVE]: 'Inactive',\n [OrganizationMemberStatus.SUSPENDED]: 'Suspended',\n};\n\n/**\n * The credential lifecycle actions, named once for both the API-key and the OAuth-client tables.\n *\n * Keyed by the operation identifier the specification is addressed by, and EXHAUSTIVE BY TYPE over\n * `OrgApiKeys_Operations`: adding an operation there fails to compile here rather than reaching a\n * customer's page as a title-cased identifier.\n *\n * `OrgOAuthClients_Operations` is deliberately NOT in the key union even though the OAuth table\n * reads this map. Its two members are a value-subset of the API-key enum (`rotate`, `regenerate`),\n * and TypeScript cannot hold two enum members with the same string as distinct keys — so including\n * it makes the object literal uncompilable rather than stricter. The lookup is by VALUE, which is\n * why that works today and why the runtime refusal below is not decoration: an OAuth-client\n * operation added with no API-key namesake is exactly the case no type here can see.\n */\ntype CredentialLifecycleAction =\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.DELETE\n | OrgApiKeys_Operations;\n\nconst CREDENTIAL_LIFECYCLE_ACTION_NAMES: Readonly<Record<CredentialLifecycleAction, string>> = {\n [CoreResourceOperation.CREATE]: 'Create',\n [CoreResourceOperation.DELETE]: 'Delete',\n [OrgApiKeys_Operations.ROTATE]: 'Rotate',\n [OrgApiKeys_Operations.REGENERATE]: 'Regenerate',\n [OrgApiKeys_Operations.DEACTIVATE]: 'Deactivate',\n [OrgApiKeys_Operations.REACTIVATE]: 'Reactivate',\n [OrgApiKeys_Operations.EXTEND_EXPIRY]: 'Extend expiry',\n [OrgApiKeys_Operations.USAGE_STATS]: 'Usage statistics',\n /*\n * Present because the map is EXHAUSTIVE BY TYPE, not because a customer page renders it: the\n * lifecycle tables below enumerate an authored array, and `expire` is deliberately absent from it.\n * It is an INTERNAL_CALL verb the nightly sweep dispatches (#413) — nobody performs it, so listing\n * it beside Rotate and Deactivate would document an action with no door.\n */\n [OrgApiKeys_Operations.EXPIRE]: 'Expire',\n};\n\n/** The authored name for a credential lifecycle action, or a refusal — never a derived one. */\nfunction credentialLifecycleActionName(operationId: string): string {\n const name = (CREDENTIAL_LIFECYCLE_ACTION_NAMES as Readonly<Record<string, string | undefined>>)[operationId];\n if (name === undefined) {\n throw new Error(`Credential lifecycle action '${operationId}' has no authored customer-facing name`);\n }\n return name;\n}\n\n/**\n * Customer-facing words for each sign-in method.\n *\n * Authored, not derived. The helper this replaced title-cased a constant, which turned `ORG_SAML` into\n * \"Org Saml\", `SMS_OTP` into \"Sms Otp\" and `TOTP` into \"Totp\" — text no product would print, and\n * text no reader can search for. A closed vocabulary's WORDS belong beside the vocabulary, and the\n * `Record<AuthMethod, …>` makes a new method a compile error here rather than a new piece of\n * invented English on a shipped page.\n */\nconst AUTH_METHOD_CONSUMER_MEANINGS: Readonly<Record<AuthMethod, { readonly name: string; readonly meaning: string }>> = {\n [AuthMethod.PASSWORD]: { name: 'Password', meaning: 'A password the person sets and the application stores only as a verifier.' },\n [AuthMethod.MAGIC_LINK]: { name: 'Magic link', meaning: 'A single-use link sent to the person\\'s email address; no password is involved.' },\n [AuthMethod.EXTERNAL_OAUTH2]: { name: 'External identity provider', meaning: 'Sign-in through a third-party account the application accepts, such as a social or vendor login.' },\n [AuthMethod.ORG_SAML]: { name: 'Organization SAML single sign-on', meaning: 'The organization\\'s own identity provider authenticates the person over SAML.' },\n [AuthMethod.ORG_OPENID_CONNECT]: { name: 'Organization OpenID Connect single sign-on', meaning: 'The organization\\'s own identity provider authenticates the person over OpenID Connect.' },\n [AuthMethod.TOTP]: { name: 'Authenticator app code', meaning: 'A rotating six-digit code from an authenticator app, used as a second factor.' },\n [AuthMethod.SMS_OTP]: { name: 'SMS code', meaning: 'A one-time code sent by text message.' },\n [AuthMethod.EMAIL_OTP]: { name: 'Email code', meaning: 'A one-time code sent by email, used as a second factor.' },\n [AuthMethod.PASSKEY]: { name: 'Passkey', meaning: 'A device-held credential unlocked by the device\\'s own biometric or screen lock; nothing is typed.' },\n};\n\n/** Where a method may sit in the sign-in sequence, said the way a reader experiences it. */\nconst AUTH_FACTOR_POSITION_MEANINGS: Readonly<Record<AuthFactorType, string>> = {\n [AuthFactorType.FIRST_ONLY]: 'Starts the sign-in',\n [AuthFactorType.SECOND_ONLY]: 'Confirms a sign-in already started',\n [AuthFactorType.FIRST_OR_SECOND]: 'Starts a sign-in or confirms one',\n [AuthFactorType.ANY]: 'Usable at any point in the sign-in',\n};\n\n/**\n * The customer-facing words for one sign-in method.\n *\n * Exported because the application-side projection names the SUBSET a given application enables,\n * and both surfaces must call a method the same thing. The words live here, beside the vocabulary\n * they describe, rather than being derived from the constant's spelling.\n */\ninterface AuditTrailConsumerFactSource {\n readonly categories: typeof AuditEventCategory;\n readonly severities: typeof AuditEventSeverity;\n readonly filterFieldNames: readonly string[];\n readonly sortFieldNames: readonly string[];\n readonly maxRecordsPerPage: number;\n readonly specification: AnyResourceSpecificationConfig;\n}\n\n/** What a reader can narrow the trail by, said in the words the search screen and the API use. */\nfunction projectAuditTrailConsumerFact(source: AuditTrailConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const categoryRows = Object.values(source.categories).map((category) => {\n const meanings = AUDIT_EVENT_CATEGORY_MEANINGS[category];\n if (meanings === undefined) throw new Error(`no customer-facing words are authored for audit category ${category}`);\n return `| ${meanings.name} | \\`${category}\\` | ${meanings.meaning} |`;\n }).join(\"\\n\");\n const severityRows = Object.values(source.severities).map((severity) => {\n const meanings = AUDIT_EVENT_SEVERITY_MEANINGS[severity];\n if (meanings === undefined) throw new Error(`no customer-facing words are authored for audit severity ${severity}`);\n return `| ${meanings.name} | \\`${severity}\\` | ${meanings.meaning} |`;\n }).join(\"\\n\");\n const filters = source.filterFieldNames.map((field) => `\\`${field}\\``).join(', ');\n const sorts = source.sortFieldNames.map((field) => `\\`${field}\\``).join(', ');\n return {\n categoriesMarkdown: `| Category | Filter value | What it selects |\\n| --- | --- | --- |\\n${categoryRows}`,\n severitiesMarkdown: `| Severity | Filter value | What it means |\\n| --- | --- | --- |\\n${severityRows}`,\n queryMarkdown: `You can narrow the trail by ${filters}, and order it by ${sorts}. A single page returns at most ${source.maxRecordsPerPage} records; ask for the next page rather than widening the range until everything fits.`,\n filterFieldNames: source.filterFieldNames,\n sortFieldNames: source.sortFieldNames,\n maxRecordsPerPage: source.maxRecordsPerPage,\n };\n}\n\nexport function authenticationMethodConsumerWords(method: AuthMethod): { readonly name: string; readonly meaning: string } {\n const meanings = AUTH_METHOD_CONSUMER_MEANINGS[method];\n if (meanings === undefined) throw new Error(`no customer-facing words are authored for sign-in method ${method}`);\n return meanings;\n}\n\nfunction projectAuthenticationMethodsConsumerFact(source: AuthenticationMethodsConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const rows = Object.values(source.methods).map((method) => {\n const meanings = AUTH_METHOD_CONSUMER_MEANINGS[method];\n if (meanings === undefined) throw new Error(`authentication-methods consumer fact has no customer-facing words for ${method}`);\n const factorType = source.factorTypes[method];\n const position = AUTH_FACTOR_POSITION_MEANINGS[factorType];\n if (position === undefined) throw new Error(`authentication-methods consumer fact has no reader meaning for factor position ${factorType}`);\n return { method, name: meanings.name, meaning: meanings.meaning, category: source.categories[method], factorType, position };\n });\n const table = rows.map((row) => `| ${row.name} | ${row.meaning} | ${row.position} |`).join(\"\\n\");\n return {\n markdown: `These are the sign-in methods this application can present. It is a catalogue, not a promise: which of them are offered depends on how the application is configured, and an organization can narrow that further for its own people. The sign-in screen shows the methods actually available to you.\\n\\n| Method | What it is | Where it fits |\\n| --- | --- | --- |\\n${table}`,\n methods: rows,\n };\n}\n\nfunction projectApiKeysConsumerFact(source: ApiKeysConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const rows = Object.values(ApiKeyScope).map((scope) => ({ scope, prefix: source.prefixesByScope[scope] }));\n const table = rows.map((row) => `| ${API_KEY_SCOPE_MEANINGS[row.scope].name} | \\`${row.prefix}\\` | ${API_KEY_SCOPE_MEANINGS[row.scope].meaning} |`).join(\"\\n\");\n const organizationCredential = `${source.prefixesByScope[ApiKeyScope.ORGANIZATION]}<api-key>`;\n\n const statusField = projectResourceFields(source.organizationSpecification).find((candidate) => {\n return candidate !== null && typeof candidate === \"object\" && !Array.isArray(candidate)\n && (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).fieldName === \"status\";\n });\n if (statusField === undefined || statusField === null || typeof statusField !== \"object\" || Array.isArray(statusField)) {\n throw new Error(\"API-key consumer fact is missing the specification-owned status field\");\n }\n const statusValues = (statusField as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).enumValues;\n if (!Array.isArray(statusValues)) throw new Error(\"API-key consumer fact is missing specification-owned status meanings\");\n const statusRows = statusValues.map((candidate) => {\n if (candidate === null || typeof candidate !== \"object\" || Array.isArray(candidate)) {\n throw new Error(\"API-key consumer fact has an invalid status meaning\");\n }\n const value = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).value;\n const meaning = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).meaning;\n if (typeof value !== \"string\" || typeof meaning !== \"string\") throw new Error(\"API-key consumer fact has an incomplete status meaning\");\n return { value, meaning };\n });\n\n const specificationSummary = (label: string, specification: AnyResourceSpecificationConfig): string => {\n const { purpose, businessRole, lifecycleRole } = specification;\n if (typeof purpose !== \"string\" || typeof businessRole !== \"string\" || typeof lifecycleRole !== \"string\") {\n throw new Error(`API-key consumer fact is missing the ${label} resource summary`);\n }\n return `| ${label} | ${purpose} | ${businessRole} | ${lifecycleRole} |`;\n };\n\n const operationSummary = (operationId: string): { readonly action: string; readonly purpose: string; readonly outcome: string } => {\n const operation = source.organizationSpecification.operations?.[operationId] as ResourceOperationSpecification | undefined;\n if (operation === undefined || typeof operation.purpose !== \"string\" || typeof operation.outcome !== \"string\") {\n throw new Error(`API-key consumer fact is missing specification operation ${operationId}`);\n }\n const applicationOperation = source.applicationSpecification.operations?.[operationId] as ResourceOperationSpecification | undefined;\n if (applicationOperation === undefined) throw new Error(`Application API-key specification is missing operation ${operationId}`);\n return { action: credentialLifecycleActionName(operationId), purpose: operation.purpose, outcome: operation.outcome };\n };\n const lifecycle = [\n CoreResourceOperation.CREATE,\n OrgApiKeys_Operations.ROTATE,\n OrgApiKeys_Operations.REGENERATE,\n OrgApiKeys_Operations.DEACTIVATE,\n OrgApiKeys_Operations.REACTIVATE,\n OrgApiKeys_Operations.EXTEND_EXPIRY,\n ].map(operationSummary);\n const usageStats = operationSummary(OrgApiKeys_Operations.USAGE_STATS);\n\n return {\n markdown: `Present the complete opaque key in the \\`${source.authorizationHeader}\\` field, without a \\`Bearer\\` scheme. This raw scheme-less presentation is the application's API-key wire contract, not OAuth bearer-token syntax. The prefix identifies the credential scope; it does not grant broader permissions.\\n\\n| Key scope | Credential prefix | What it can reach |\\n| --- | --- | --- |\\n${table}`,\n authorizationHeader: source.authorizationHeader,\n requestHeader: `Authorization: ${organizationCredential}`,\n curlRequestHeader: `--header \"Authorization: ${organizationCredential}\"`,\n scopes: rows,\n scopeComparisonMarkdown: `| Scope | Intended use | Identity boundary | Lifecycle owner |\\n| --- | --- | --- | --- |\\n${specificationSummary(\"Organization key\", source.organizationSpecification)}\\n${specificationSummary(\"Application key\", source.applicationSpecification)}`,\n statusMarkdown: `| Status | Maintained meaning |\\n| --- | --- |\\n${statusRows.map(({ value, meaning }) => `| \\`${value}\\` | ${meaning} |`).join(\"\\n\")}`,\n lifecycleMarkdown: `| Action | Maintained purpose | Result to verify |\\n| --- | --- | --- |\\n${lifecycle.map(({ action, purpose, outcome }) => `| ${action} | ${purpose} | ${outcome} |`).join(\"\\n\")}`,\n usageStatisticsLimitationMarkdown: `> **Current usage-statistics limitation:** ${usageStats.outcome}`,\n statuses: statusRows,\n lifecycle,\n };\n}\n\nfunction assertConsumerFactFields(sourceRef: string, fieldNames: readonly string[], requiredFields: readonly string[]): void {\n const missing = requiredFields.filter((field) => !fieldNames.includes(field));\n if (missing.length > 0) throw new Error(`${sourceRef} source contract is missing required fields: ${missing.join(', ')}`);\n}\n\nfunction createSingleSignOnConsumerFactDefaults(): SingleSignOnConsumerFactSource['defaults'] {\n const samlConnection = SsoConnectionBaseSchema.parse({\n _id: 'consumer-fact-saml',\n protocol: SsoProtocol.SAML,\n displayName: 'Consumer fact projection',\n saml: {\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n x509Certificates: ['consumer-fact-projection'],\n attributeMapping: {},\n auditSettings: {},\n },\n });\n const oidcConnection = SsoConnectionBaseSchema.parse({\n _id: 'consumer-fact-oidc',\n protocol: SsoProtocol.OIDC,\n displayName: 'Consumer fact projection',\n oidc: {\n clientId: 'consumer-fact-projection',\n clientSecret: 'consumer-fact-projection',\n claimsMapping: {},\n auditSettings: {},\n },\n });\n if (samlConnection.saml === undefined || oidcConnection.oidc === undefined) {\n throw new Error('single-sign-on consumer defaults require both protocol configurations');\n }\n\n // Copy only explicitly approved public configuration values. The parsed\n // fixtures also contain certificate and client-secret material required to\n // exercise schema defaults; those values never enter this projection.\n return {\n shared: {\n enabled: samlConnection.enabled,\n isDefault: samlConnection.isDefault,\n autoCreateUsers: samlConnection.autoCreateUsers,\n autoVerifyEmail: samlConnection.autoVerifyEmail,\n bypassAppMFA: samlConnection.bypassAppMFA,\n defaultRole: samlConnection.defaultRole ?? null,\n allowedDomains: [...samlConnection.allowedDomains],\n roleMapping: samlConnection.roleMapping === undefined ? null : 'configured map',\n groupMapping: samlConnection.groupMapping === undefined ? null : 'configured map',\n },\n oidc: {\n templateMode: oidcConnection.oidc.templateMode,\n scopes: [...oidcConnection.oidc.scopes],\n responseType: oidcConnection.oidc.responseType,\n responseMode: oidcConnection.oidc.responseMode ?? null,\n // No `validateIssuer` / `validateAudience` / `clockTolerance`: removed from the schema on\n // 2026-09-08 (#419) because the ID-token verification is unconditional and they could only\n // have weakened it. Documenting them as \"accepted values\" told an operator the opposite.\n acrValues: oidcConnection.oidc.acrValues ? [...oidcConnection.oidc.acrValues] : null,\n maxAge: oidcConnection.oidc.maxAge ?? null,\n prompt: oidcConnection.oidc.prompt ?? null,\n pkceEnabled: oidcConnection.oidc.pkceEnabled,\n pkceMethod: oidcConnection.oidc.pkceMethod,\n },\n saml: {\n signRequests: samlConnection.saml.signRequests,\n wantAssertionsSigned: samlConnection.saml.wantAssertionsSigned,\n allowedClockDrift: samlConnection.saml.allowedClockDrift,\n forceAuthn: samlConnection.saml.forceAuthn,\n maxAuthAge: samlConnection.saml.maxAuthAge ?? null,\n nameIdFormat: samlConnection.saml.nameIdFormat,\n allowIdpInitiated: samlConnection.saml.allowIdpInitiated,\n },\n };\n}\n\nfunction projectSingleSignOnConsumerFact(source: SingleSignOnConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('single-sign-on', source.connectionFieldNames, [\n 'protocol',\n 'enabled',\n 'isDefault',\n 'autoCreateUsers',\n 'autoVerifyEmail',\n 'bypassAppMFA',\n 'defaultRole',\n 'allowedDomains',\n 'roleMapping',\n 'groupMapping',\n ]);\n const protocols = Object.values(source.protocols).map((protocol) => ({\n protocol,\n label: protocol === SsoProtocol.OIDC ? 'OpenID Connect' : 'SAML',\n }));\n const table = protocols.map(({ label }) => `| ${label} |`).join('\\n');\n const operationByKey = source.specification.operations ?? {};\n const testConnection = operationByKey[SsoConnection_Operations.TEST_CONNECTION];\n const discoverEndpoints = operationByKey[SsoConnection_Operations.DISCOVER_ENDPOINTS];\n if (testConnection === undefined || discoverEndpoints === undefined) {\n throw new Error('single-sign-on consumer fact requires TEST_CONNECTION and DISCOVER_ENDPOINTS operation semantics');\n }\n const shared = source.defaults.shared;\n const oidc = source.defaults.oidc;\n const saml = source.defaults.saml;\n return {\n markdown: `An organization can configure one or more SSO connections. A connection has an explicit enabled state and can be selected as the default sign-in connection; the application’s sign-in experience remains authoritative for the current person and organization.\\n\\n| Supported connection protocol |\\n| --- |\\n${table}`,\n protocols,\n connectionControls: { enabled: true, defaultConnection: true },\n connectionConfigurationMarkdown: `| Configuration | Accepted/default value | What it changes |\\n| --- | --- | --- |\\n| \\`enabled\\` | **${String(shared.enabled)}** | Controls whether this connection can participate in sign-in. Keep it off until a controlled end-to-end sign-in has passed. |\\n| \\`isDefault\\` | **${String(shared.isDefault)}** | Lets the sign-in journey choose this connection automatically. It does not prove the connection is healthy. |\\n| \\`allowedDomains\\` | **Empty list** by default | Restricts accepted identities by email domain. An empty list means no connection-level domain restriction, so configure an explicit allow-list for an organization connection. |\\n| \\`autoCreateUsers\\` | **${String(shared.autoCreateUsers)}** | Allows an eligible first SSO sign-in to create the application user and organization membership. Turn it off when membership must already exist. |\\n| \\`autoVerifyEmail\\` | **${String(shared.autoVerifyEmail)}** | Treats the provider-supplied email as verified during enterprise provisioning. Use only with a provider and mapping that establish the email claim reliably. |\\n| \\`defaultRole\\` | **Not set** | Supplies the fallback organization role when no external role/group mapping produces one. Keep this non-administrative. |\\n| \\`roleMapping\\` | **Not set** | Maps exact external role values to application organization roles. Unmapped values do not become roles. |\\n| \\`groupMapping\\` | **Not set** | Maps exact external group values to one or more application organization roles. Review it as an access-control change. |\\n| \\`bypassAppMFA\\` | **${String(shared.bypassAppMFA)}** | Declares an intended application-MFA bypass. The current authentication runtime does not consume this field; keep it off and do not use it as evidence that MFA was bypassed or enforced. |`,\n oidcConfigurationMarkdown: `| OIDC configuration | Accepted/default value | Operational meaning |\\n| --- | --- | --- |\\n| \\`templateMode\\` | **${String(oidc.templateMode)}** | Chooses provider template, issuer discovery, or manually supplied endpoints. |\\n| \\`discoveryUrl\\` / \\`issuer\\` | Optional URL | In discovery mode, identifies the provider metadata and issuer trust boundary. |\\n| \\`authorizationEndpoint\\` / \\`tokenEndpoint\\` | Required in manual mode | Browser authorization destination and backend code-exchange destination. Both must belong to the same provider environment. |\\n| \\`userInfoEndpoint\\` / \\`jwksUri\\` | Optional URLs | Supplies identity claims and signing keys when the selected provider journey uses them. |\\n| \\`clientId\\` | Required | Public identity of this application registration at the provider. |\\n| \\`clientSecret\\` | Required, write-only | Backend credential for the token exchange. It is masked on client reads and must never appear in documentation evidence. |\\n| \\`scopes\\` | **${(oidc.scopes as readonly string[]).map((scope) => `\\`${scope}\\``).join(', ')}** | Requests the identity claims needed to map the person. These scopes do not grant application roles. |\\n| \\`responseType\\` | **${String(oidc.responseType)}** | Uses the authorization-code journey by default. |\\n| \\`responseMode\\` | Provider default when unset | Chooses how the provider returns the authorization response. |\\n| \\`acrValues\\` | Optional list | Authentication context classes this connection REQUIRES of the provider — the step-up demand. Sent as \\`acr_values\\`; a provider that cannot satisfy them decides what to do. |\\n| \\`maxAge\\` / \\`prompt\\` | Optional | Maximum acceptable age of the person's existing provider authentication, and whether the provider must re-authenticate, re-consent, or must not prompt. |\\n| ID-token verification | Always on | Issuer and audience are verified on every ID token and the maximum token age is fixed. It is not configurable, deliberately: the only available adjustment would be to weaken it. |\\n| \\`pkceEnabled\\` / \\`pkceMethod\\` | **${String(oidc.pkceEnabled)} / ${String(oidc.pkceMethod)}** | Binds the authorization request to its code exchange. Keep S256 enabled. |\\n| Claims mapping | \\`email\\`, \\`given_name\\`, \\`family_name\\` | Maps stable provider claims to the application person; optional role, group, department and employee-id claims remain explicit. |`,\n samlConfigurationMarkdown: `| SAML configuration | Accepted/default value | Operational meaning |\\n| --- | --- | --- |\\n| \\`entityId\\` | Required | Stable identity of the provider tenant the application trusts. |\\n| \\`ssoUrl\\` | Required URL | Destination for SAML authentication requests. |\\n| \\`sloUrl\\` | Optional URL | Provider destination used when single logout is configured. |\\n| Signing certificates | At least one required | Public certificates used to validate provider signatures. Plan overlap during certificate rotation. |\\n| \\`signRequests\\` | **${String(saml.signRequests)}** | Declares that application authentication requests are signed. |\\n| \\`wantAssertionsSigned\\` | **${String(saml.wantAssertionsSigned)}** | Requires signed assertions; keep this enabled. |\\n| \\`allowedClockDrift\\` | **${String(saml.allowedClockDrift)} seconds** (0–300) | Small allowance when checking assertion validity windows. |\\n| \\`nameIdFormat\\` | **${String(saml.nameIdFormat)}** | Requests the subject identifier format. Prefer a stable identifier and map email separately when the provider supports it. |\\n| \\`allowIdpInitiated\\` | **${String(saml.allowIdpInitiated)}** | Allows an unsolicited provider-started sign-in. Leave off unless that journey is deliberately operated and tested. |\\n| Attribute mapping | Standard email/given-name/surname claim URIs | Maps provider attributes to the application person; optional role, group, department and employee-id attributes remain explicit. |\\n| \\`forceAuthn\\` / \\`maxAuthAge\\` | **${String(saml.forceAuthn)} / not set** | These fields are present in configuration but are not currently applied when building the SAML request. Do not use them as proof of provider reauthentication. |`,\n diagnosticsMarkdown: `| Administrative operation | Current supported result |\\n| --- | --- |\\n| Test connection | **SAML:** endpoint, certificate and service-provider metadata diagnostics. **OIDC:** returns \\`supported: false\\`; no provider handshake is attempted. |\\n| Discover endpoints | **SAML:** fetches and parses provider metadata without persisting it. **OIDC:** returns \\`supported: false\\`; issuer metadata is not fetched by this admin operation. Runtime OIDC sign-in can still use discovery mode when its issuer/discovery URL is configured. |\\n\\nThe maintained operation contract describes the test as: ${testConnection.purpose ?? 'No maintained purpose.'}\\n\\nThe maintained discovery contract describes the operation as: ${discoverEndpoints.purpose ?? 'No maintained purpose.'}`,\n diagnosticSupport: {\n samlConnectionTest: true,\n oidcConnectionTest: false,\n samlMetadataDiscovery: true,\n oidcAdministrativeDiscovery: false,\n },\n };\n}\n\nfunction projectOAuthClientsConsumerFact(source: OAuthClientsConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('OAuth client', source.clientFieldNames, ['roles', 'allowedScopes', 'allowedGrants', 'redirectUris', 'postLogoutRedirectUris', 'requiresConsent', 'tokenEndpointAuthMethod']);\n const grants = Object.values(source.grantTypes).map((grantType) => ({ grantType, label: grantType, meaning: OAUTH_GRANT_TYPE_MEANINGS[grantType] }));\n const tokenEndpointAuthMethods = Object.values(source.tokenEndpointAuthMethods).map((method) => ({\n method,\n clientClass: method === OAuthTokenEndpointAuthMethod.NONE ? 'public' : 'confidential',\n }));\n\n const fieldFacts = projectResourceFields(source.organizationSpecification);\n const fieldByName = (fieldName: string): Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>> => {\n const field = fieldFacts.find((candidate) => candidate !== null && typeof candidate === 'object' && !Array.isArray(candidate)\n && (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).fieldName === fieldName);\n if (field === undefined || field === null || typeof field !== 'object' || Array.isArray(field)) {\n throw new Error(`OAuth-client consumer fact is missing specification field ${fieldName}`);\n }\n return field as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n };\n const fieldMeaning = (fieldName: string): string => {\n const meaning = fieldByName(fieldName).meaning;\n if (typeof meaning !== 'string') throw new Error(`OAuth-client consumer fact is missing the meaning of ${fieldName}`);\n return meaning;\n };\n\n const statusValues = fieldByName('status').enumValues;\n if (!Array.isArray(statusValues)) throw new Error('OAuth-client consumer fact is missing specification-owned status meanings');\n const statuses = statusValues.map((candidate) => {\n if (candidate === null || typeof candidate !== 'object' || Array.isArray(candidate)) {\n throw new Error('OAuth-client consumer fact has an invalid status meaning');\n }\n const value = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).value;\n const meaning = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).meaning;\n if (typeof value !== 'string' || typeof meaning !== 'string') throw new Error('OAuth-client consumer fact has an incomplete status meaning');\n return { value, meaning };\n });\n if (statuses.length !== Object.values(source.statuses).length) {\n throw new Error('OAuth-client consumer fact does not explain every maintained status');\n }\n\n const operationSummary = (operationId: string) => {\n const operation = source.organizationSpecification.operations?.[operationId] as ResourceOperationSpecification | undefined;\n const applicationOperation = source.applicationSpecification.operations?.[operationId] as ResourceOperationSpecification | undefined;\n if (operation === undefined || applicationOperation === undefined || typeof operation.purpose !== 'string' || typeof operation.outcome !== 'string'\n || typeof applicationOperation.purpose !== 'string' || typeof applicationOperation.outcome !== 'string') {\n throw new Error(`OAuth-client consumer fact is missing specification operation ${operationId}`);\n }\n return {\n action: credentialLifecycleActionName(operationId),\n organizationPurpose: operation.purpose,\n organizationOutcome: operation.outcome,\n applicationPurpose: applicationOperation.purpose,\n applicationOutcome: applicationOperation.outcome,\n };\n };\n const lifecycle = [\n CoreResourceOperation.CREATE,\n OrgOAuthClients_Operations.ROTATE,\n OrgOAuthClients_Operations.REGENERATE,\n CoreResourceOperation.DELETE,\n ].map(operationSummary);\n\n const scopeRow = (label: string, specification: AnyResourceSpecificationConfig): string => {\n if (typeof specification.purpose !== 'string' || typeof specification.businessRole !== 'string') {\n throw new Error(`OAuth-client consumer fact is missing the ${label} resource summary`);\n }\n return `| ${label} | ${specification.purpose} | ${specification.businessRole} |`;\n };\n\n return {\n markdown: `OAuth clients can be registered with these grant types. A client’s roles are the authorization axis for operations; its allowed scopes describe identity claims and do not grant application permissions. Redirect URIs are an exact allowlist, and delegated access can require explicit user consent.\\n\\n| Supported grant | What it is for |\\n| --- | --- |\\n${grants.map(({ label, meaning }) => `| \\`${label}\\` | ${meaning} |`).join('\\n')}`,\n grants,\n tokenEndpointAuthMethods,\n registrationOrigins: Object.values(source.registrationOrigins),\n statuses,\n authorizationAxis: 'roles',\n identityScopeAxis: 'allowedScopes',\n redirectUriMatching: 'exact',\n scopeComparisonMarkdown: `| Client scope | Intended use | Identity boundary |\\n| --- | --- | --- |\\n${scopeRow('Organization client', source.organizationSpecification)}\\n${scopeRow('Application client', source.applicationSpecification)}`,\n statusMarkdown: `| Status | Maintained meaning |\\n| --- | --- |\\n${statuses.map(({ value, meaning }) => `| \\`${value}\\` | ${meaning} |`).join('\\n')}`,\n lifecycleMarkdown: `| Action | Organization-scoped client | Application-scoped client |\\n| --- | --- | --- |\\n${lifecycle.map(({ action, organizationPurpose, organizationOutcome, applicationPurpose, applicationOutcome }) => `| ${action} | ${organizationPurpose} **Verify:** ${organizationOutcome} | ${applicationPurpose} **Verify:** ${applicationOutcome} |`).join('\\n')}`,\n clientConfigurationMarkdown: `| Client setting | Maintained meaning |\\n| --- | --- |\\n| \\`roles\\` | ${fieldMeaning('roles')} |\\n| \\`allowedScopes\\` | ${fieldMeaning('allowedScopes')} |\\n| \\`allowedGrants\\` | ${fieldMeaning('allowedGrants')} |\\n| \\`redirectUris\\` | ${fieldMeaning('redirectUris')} |\\n| \\`postLogoutRedirectUris\\` | ${fieldMeaning('postLogoutRedirectUris')} |\\n| \\`requiresConsent\\` | ${fieldMeaning('requiresConsent')} |\\n| \\`tokenEndpointAuthMethod\\` | ${fieldMeaning('tokenEndpointAuthMethod')} |\\n| \\`registrationOrigin\\` | ${fieldMeaning('registrationOrigin')} |`,\n currentUsageEvidenceMarkdown: '> **Current usage-evidence limitation:** the client record exposes `lastUsedAt`, but the current OAuth token paths do not populate it. Do not use an absent or old value as proof that a client is unused. Correlate token-exchange audit records, resource-server activity, workload logs and secret-manager access before retirement.',\n lifecycle,\n };\n}\n\nfunction projectScimProvisioningConsumerFact(source: ScimProvisioningConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('SCIM provisioning', source.provisioningFieldNames, [\n 'autoCreateUsers',\n 'autoVerifyEmail',\n 'autoDeactivateUsers',\n 'defaultRole',\n 'attributeMapping',\n 'organizationUnitMapping',\n 'defaultUnitRole',\n 'scimEndpointUrl',\n 'allowedDomains',\n ]);\n assertConsumerFactFields('SCIM organization-unit mapping', source.organizationUnitMappingFieldNames, ['directoryValue', 'organizationUnitId']);\n\n // This is a positive, consumer-safe projection: field identity comes from the\n // public SCIM configuration schema, meanings come from its maintained resource\n // specification, and defaults come from parsing the schema itself. Keep the\n // presentation allowlist explicit here so adding a backend-only field to the\n // resource specification cannot silently expose it in customer documentation.\n const projectedFieldByName = new Map(projectResourceFields(source.specification).map((candidate) => {\n const field = candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n return [String(field.fieldName), field] as const;\n }));\n const fieldMeaning = (fieldName: string): string => {\n const meaning = projectedFieldByName.get(fieldName)?.meaning;\n if (typeof meaning !== 'string') throw new Error(`SCIM consumer fact is missing specification meaning for ${fieldName}`);\n return meaning;\n };\n const configurationRows = [\n {\n field: 'autoCreateUsers',\n acceptedValue: '`true` or `false`',\n defaultValue: source.defaults.autoCreateUsers ? '**On** (`true`)' : '**Off** (`false`)',\n meaning: fieldMeaning('autoCreateUsers'),\n example: '`true`',\n },\n {\n field: 'autoVerifyEmail',\n acceptedValue: '`true` or `false`',\n defaultValue: source.defaults.autoVerifyEmail ? '**On** (`true`)' : '**Off** (`false`)',\n meaning: fieldMeaning('autoVerifyEmail'),\n example: '`true`',\n },\n {\n field: 'autoDeactivateUsers',\n acceptedValue: '`true` or `false`',\n defaultValue: source.defaults.autoDeactivateUsers ? '**On** (`true`)' : '**Off** (`false`)',\n meaning: fieldMeaning('autoDeactivateUsers'),\n example: '`true`',\n },\n {\n field: 'defaultRole',\n acceptedValue: 'One non-administrative organization-role identifier',\n defaultValue: 'The organization type\\'s default member role can apply',\n meaning: fieldMeaning('defaultRole'),\n example: '`organization-member`',\n },\n {\n field: 'attributeMapping',\n acceptedValue: 'An object containing SCIM path expressions',\n defaultValue: 'The maintained profile paths shown below',\n meaning: fieldMeaning('attributeMapping'),\n example: '`emails[primary eq true].value`',\n },\n {\n field: 'organizationUnitMapping',\n acceptedValue: 'A list of exact department-to-unit bindings',\n defaultValue: 'Absent; no unit reconciliation',\n meaning: fieldMeaning('organizationUnitMapping'),\n example: '`Engineering` → `unit_…`',\n },\n {\n field: 'defaultUnitRole',\n acceptedValue: 'One unit-role identifier',\n defaultValue: 'Absent; no directory-managed unit role',\n meaning: fieldMeaning('defaultUnitRole'),\n example: '`member`',\n },\n {\n field: 'scimEndpointUrl',\n acceptedValue: 'Read-only, application-derived path',\n defaultValue: `\\`${SCIM_SERVICE_BASE_PATH}\\``,\n meaning: fieldMeaning('scimEndpointUrl'),\n // Resolved by the connection projection AFTER consumer facts are inlined, so this reaches the\n // page as the application's own SCIM base. It used to read `https://api.example.com/...` — a\n // correct path under a host that does not exist, which is the worst shape for a value an\n // administrator is meant to paste into their identity provider: it looks usable.\n example: '`{{APPLICATION_CONNECTION_VALUE:scimBaseUrl}}`',\n },\n {\n field: 'allowedDomains',\n acceptedValue: 'Read-only list of verified email domains',\n defaultValue: 'Empty means unrestricted; absent means undetermined',\n meaning: fieldMeaning('allowedDomains'),\n example: '`identity.example.com`',\n },\n ];\n const configurationMarkdown = `| Configuration field | Accepted value | Default | What it changes | Example |\n| --- | --- | --- | --- | --- |\n${configurationRows.map((row) => `| \\`${row.field}\\` | ${row.acceptedValue} | ${row.defaultValue} | ${row.meaning} | ${row.example} |`).join('\\n')}`;\n const attributeMappingMarkdown = `| Application profile value | Maintained SCIM path |\n| --- | --- |\n| Email | \\`${source.defaults.attributeMapping.email}\\` |\n| Given name | \\`${source.defaults.attributeMapping.firstName}\\` |\n| Family name | \\`${source.defaults.attributeMapping.lastName}\\` |\n| Display name | \\`${source.defaults.attributeMapping.displayName}\\` |`;\n\n return {\n markdown: `SCIM is configured separately from single sign-on. There is no SCIM “enabled” switch on this record: availability is chosen for the organization type, while this configuration decides what a connected directory is allowed to do after it is available.\n\n| Configuration | What to decide | Default |\n| --- | --- | --- |\n| Create users automatically | Whether a directory user can create a local user and organization membership | On |\n| Verify email automatically | Whether the trusted directory assertion verifies the email during provisioning | On |\n| Deactivate users automatically | Whether a directory deactivation marks the user and addressed organization membership inactive | On |\n| Default organization role | The organization-wide role granted to a SCIM-created membership; when absent, the organization type’s default member role can apply | Organization-type fallback |\n| Profile attribute mapping | Which SCIM paths supply email, given name, family name and display name | Standard SCIM user paths |\n| Organization-unit mapping | An explicit directory \\`department\\` value to organization-unit identifier and unit role mapping | No unit reconciliation |\n| Default unit role | The role attached to every directory-managed unit assignment | No automatic unit role |\n\nThe SCIM endpoint is an API-relative path supplied by the application; compose it with the application’s public API base URL rather than inventing a tenant-specific route. Email-domain admission is owned by the verified-domain configuration of SSO and is displayed here only as a live mirror—SCIM does not keep a second, drifting list. A non-empty verified-domain list restricts admitted email domains; an empty list means no domain restriction.\n\nWhen unit mapping is configured, matching is exact after trimming: it does not use a unit name, unit code, fuzzy search, or automatic unit creation. Unit reconciliation runs only when there is at least one explicit mapping **and** a default unit role. On supported direct user creation and full-replacement operations, the directory becomes authoritative for those assignments: the desired set replaces the person’s existing unit assignments, including assignments made manually. PATCH and Bulk operations do not currently perform this reconciliation, so test the exact operation used by the identity provider before rollout.`,\n configurationMarkdown,\n attributeMappingMarkdown,\n provisioningControls: { automaticCreation: true, automaticEmailVerification: true, automaticDeactivation: true },\n organizationUnitMapping: { directoryAttribute: 'department', matching: 'explicit', reconciliation: 'authoritative-on-supported-direct-create-or-full-replacement' },\n };\n}\n\nfunction projectSiemExportConsumerFact(source: SiemExportConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('organization SIEM export', source.configurationFieldNames, [\n 'enabled',\n 'webhookUrl',\n 'authMethod',\n 'authCredential',\n 'authHeaderName',\n 'eventFormat',\n 'eventFilter',\n 'delivery',\n 'customHeaders',\n 'includeRawEventData',\n 'includeDeviceContext',\n ]);\n\n // The resource specification is the only prose authority for field and enum\n // meanings, while schema parsing supplies defaults and bounds. Keep this\n // projector as a positive allowlist: credentials remain described as a\n // lifecycle contract and are never copied into the semantic DTO.\n const projectedFieldByName = new Map(projectResourceFields(source.specification).map((candidate) => {\n const field = candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n return [String(field.fieldName), field] as const;\n }));\n const fieldRecord = (fieldName: string): Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>> => {\n const field = projectedFieldByName.get(fieldName);\n if (field === undefined) throw new Error(`SIEM consumer fact is missing specification field ${fieldName}`);\n return field;\n };\n const fieldMeaning = (fieldName: string): string => {\n const meaning = fieldRecord(fieldName).meaning;\n if (typeof meaning !== 'string') throw new Error(`SIEM consumer fact is missing specification meaning for ${fieldName}`);\n return meaning;\n };\n const enumValueRows = (fieldName: string): readonly { readonly value: string; readonly meaning: string }[] => {\n const values = fieldRecord(fieldName).enumValues;\n if (!Array.isArray(values)) throw new Error(`SIEM consumer fact is missing enum meanings for ${fieldName}`);\n return values.map((candidate) => {\n if (candidate === null || typeof candidate !== 'object' || Array.isArray(candidate)) {\n throw new Error(`SIEM consumer fact has an invalid enum meaning for ${fieldName}`);\n }\n const value = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).value;\n const meaning = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).meaning;\n if (typeof value !== 'string' || typeof meaning !== 'string') {\n throw new Error(`SIEM consumer fact has an incomplete enum meaning for ${fieldName}`);\n }\n return { value, meaning };\n });\n };\n const tableRows = (rows: readonly { readonly value: string; readonly meaning: string }[]): string =>\n rows.map(({ value, meaning }) => `| \\`${value}\\` | ${meaning} |`).join('\\n');\n\n const configurationRows = [\n { field: 'enabled', accepted: '`true` or `false`', defaultValue: String(source.defaults.enabled), meaning: fieldMeaning('enabled') },\n { field: 'webhookUrl', accepted: 'HTTPS URL or empty while disabled', defaultValue: 'Empty', meaning: fieldMeaning('webhookUrl') },\n { field: 'authMethod', accepted: 'One authentication value listed below', defaultValue: `\\`${source.defaults.authMethod}\\``, meaning: fieldMeaning('authMethod') },\n { field: 'authCredential', accepted: 'Secret string required by the selected authentication method', defaultValue: 'Absent', meaning: fieldMeaning('authCredential') },\n { field: 'authHeaderName', accepted: 'HTTP header name for `api_key_header`', defaultValue: `\\`${source.defaults.authHeaderName}\\``, meaning: fieldMeaning('authHeaderName') },\n { field: 'eventFormat', accepted: 'One wire format listed below', defaultValue: `\\`${source.defaults.eventFormat}\\``, meaning: fieldMeaning('eventFormat') },\n { field: 'eventFilter', accepted: 'Categories, severity minimum and optional exact event-type allowlist', defaultValue: 'All categories, `info`, no event-type restriction', meaning: fieldMeaning('eventFilter') },\n { field: 'delivery', accepted: 'Retry, timeout and reserved batching values shown below', defaultValue: 'See delivery table', meaning: fieldMeaning('delivery') },\n { field: 'customHeaders', accepted: 'String-to-string HTTP header map', defaultValue: 'Absent', meaning: fieldMeaning('customHeaders') },\n { field: 'includeRawEventData', accepted: '`true` or `false`', defaultValue: String(source.defaults.includeRawEventData), meaning: fieldMeaning('includeRawEventData') },\n { field: 'includeDeviceContext', accepted: '`true` or `false`', defaultValue: String(source.defaults.includeDeviceContext), meaning: fieldMeaning('includeDeviceContext') },\n ];\n const configurationMarkdown = `| Configuration field | Accepted value | Schema default | What it changes |\n| --- | --- | --- | --- |\n${configurationRows.map((row) => `| \\`${row.field}\\` | ${row.accepted} | ${row.defaultValue} | ${row.meaning} |`).join('\\n')}`;\n const authenticationValuesMarkdown = `| Authentication value | Meaning and header behavior |\n| --- | --- |\n${tableRows(enumValueRows('authMethod'))}`;\n const formatValuesMarkdown = `| Format value | Meaning and transport |\n| --- | --- |\n${tableRows(enumValueRows('eventFormat'))}`;\n const categoryMeanings: Readonly<Record<string, string>> = {\n [SIEMEventCategory.AUTHENTICATION]: 'Sign-in, session, credential and authentication-factor activity.',\n [SIEMEventCategory.AUTHORIZATION]: 'Permission decisions, role changes, grants and denied operations.',\n [SIEMEventCategory.USER_LIFECYCLE]: 'User creation, profile/lifecycle changes, provisioning and deactivation.',\n [SIEMEventCategory.ORG_MANAGEMENT]: 'Organization, membership, unit and security-configuration administration.',\n [SIEMEventCategory.DATA_ACCESS]: 'Reads, writes, exports and other access to protected application data.',\n };\n const severityMeanings: Readonly<Record<string, string>> = {\n [SIEMFilterSeverity.INFO]: 'Routine security-relevant activity and successful lifecycle events.',\n [SIEMFilterSeverity.WARNING]: 'Material access, configuration, credential or failed-operation activity requiring attention.',\n [SIEMFilterSeverity.CRITICAL]: 'High-risk enforcement, replay, account-lockout or control-boundary events requiring prompt review.',\n };\n const filterValuesMarkdown = `### Event categories\n\n| Value | Events selected |\n| --- | --- |\n${tableRows(Object.values(SIEMEventCategory).map((value) => ({ value, meaning: categoryMeanings[value] ?? value })))}\n\n### Minimum severity\n\n| Value | Meaning |\n| --- | --- |\n${tableRows(Object.values(SIEMFilterSeverity).map((value) => ({ value, meaning: severityMeanings[value] ?? value })))}`;\n const deliveryValuesMarkdown = `| Delivery value | Bounds | Schema default | Current behavior |\n| --- | --- | --- | --- |\n| \\`retryAttempts\\` | 0–5 retries after the first attempt | ${source.defaults.delivery.retryAttempts} | Enforced per event |\n| \\`retryBackoffSeconds\\` | 1–300 seconds | ${source.defaults.delivery.retryBackoffSeconds} | Base delay; later attempts use exponential backoff |\n| \\`timeoutSeconds\\` | 1–60 seconds | ${source.defaults.delivery.timeoutSeconds} | Enforced for each HTTP request |\n| \\`batchSize\\` | 1–100 | ${source.defaults.delivery.batchSize} | **Reserved:** stored, but the current worker sends one event per request |\n| \\`batchWindowSeconds\\` | 0–60 seconds | ${source.defaults.delivery.batchWindowSeconds} | **Reserved:** stored, but the current worker does not aggregate a time window |`;\n\n const reliabilityMarkdown = `A destination that keeps failing is paused rather than retried forever. After **${SIEM_DELIVERY_RELIABILITY_CONTRACT.circuitBreakerFailureThreshold} consecutive failed deliveries** to the same destination, delivery to it stops for **${SIEM_DELIVERY_RELIABILITY_CONTRACT.circuitBreakerCooldownMinutes} minutes**, then one delivery is tried again. That pause is fixed and is not part of the per-organization retry settings above: those govern one delivery attempt, this governs whether attempts continue at all. Events produced while a destination is paused are not lost — they follow the same failure path as any other undelivered event.`;\n\n return {\n deliveryReliabilityMarkdown: reliabilityMarkdown,\n markdown: 'Organization SIEM export is a filtered outbound copy of the authoritative audit trail. Only the organization-scoped producer is active in this framework version; an application-scoped configuration does not create an application event stream.',\n configurationMarkdown,\n authenticationValuesMarkdown,\n formatValuesMarkdown,\n filterValuesMarkdown,\n deliveryValuesMarkdown,\n };\n}\n\n/**\n * Meanings a REST caller needs for each error type, keyed by the runtime enum so\n * a new member fails this projection instead of silently shipping undocumented.\n */\nconst ERROR_TYPE_CONSUMER_MEANINGS: Readonly<Record<ErrorType, string>> = {\n [ErrorType.VALIDATION]: \"The request is malformed or breaks a field rule. Fix the request; repeating it unchanged fails again. `validationErrors` names the fields.\",\n [ErrorType.PAYLOAD_TOO_LARGE]: \"The request body exceeds the accepted size. Send less data.\",\n [ErrorType.AUTHENTICATION]: \"No credential, or a credential the application does not accept: missing, expired, revoked or sent in the wrong form.\",\n [ErrorType.AUTHORIZATION]: \"The credential is valid but this identity may not perform this operation in this scope.\",\n [ErrorType.FEATURE_NOT_AVAILABLE]: \"The organization's plan does not include this capability.\",\n [ErrorType.FEATURE_LIMIT_EXCEEDED]: \"The organization has reached a plan limit for this capability.\",\n [ErrorType.INSUFFICIENT_CREDITS]: \"The organization has no remaining credit for this metered capability.\",\n [ErrorType.NOT_FOUND]: \"The resource does not exist, or is not visible to this identity in this organization. The two cases are deliberately indistinguishable.\",\n [ErrorType.CONFLICT]: \"The current state refuses the change: a uniqueness rule, a stale `If-Match` version, or a transition the state machine forbids. Read the resource again before deciding.\",\n [ErrorType.BUSINESS_RULE]: \"The request is well-formed but a domain rule refuses it. `customMessageReference` names the rule.\",\n [ErrorType.RATE_LIMIT]: \"Too many requests in a window. Wait for `Retry-After` seconds before sending again.\",\n [ErrorType.INTERNAL]: \"The application failed while handling the request. Quote `correlationId` to support.\",\n [ErrorType.DATABASE]: \"The application's data store failed. Quote `correlationId` to support.\",\n [ErrorType.UNKNOWN]: \"An unclassified failure. Quote `correlationId` to support.\",\n [ErrorType.UNCAUGHT_EXCEPTION]: \"An unexpected failure inside the application. Quote `correlationId` to support.\",\n [ErrorType.UNHANDLED_REJECTION]: \"An unexpected asynchronous failure inside the application. Quote `correlationId` to support.\",\n [ErrorType.CONFIGURATION]: \"The application is misconfigured for this operation. An operator must correct it; a retry does not help.\",\n [ErrorType.EXTERNAL_SERVICE]: \"A provider the application depends on failed. Usually transient.\",\n [ErrorType.INFRASTRUCTURE]: \"A platform service the application depends on is unavailable. Usually transient.\",\n [ErrorType.NETWORK]: \"The application could not reach a dependency. Usually transient.\",\n};\n\nconst ERROR_ENVELOPE_FIELD_MEANINGS: Readonly<Record<string, string>> = {\n type: \"Machine-readable class of the failure. Branch on it, never on `message`.\",\n severity: \"How serious the application considers the failure.\",\n message: \"The same reference key as `customMessageReference`. It is not prose and not localized; do not display it or branch on it.\",\n customMessage: \"Also the reference key. Localized wording is produced by the client from `customMessageReference`, not sent on the wire.\",\n customMessageReference: \"Stable key of the user-facing message (for example `conflict`, `version_conflict`). Resolve it to text in your own language layer.\",\n code: \"Stable, operation-specific refusal code when the operation defines one (for example `LAST_ORGANIZATION_OWNER`), also repeated as `details.code`. Branch on it for known refusals.\",\n operationPath: \"Key of the operation that produced the error, as `resource | operation | variant | …`. It names the operation in the API reference; it is not a URL.\",\n correlationId: \"Request-correlation identifier. Quote it to support; it joins the response to the application's logs and audit trail and contains no personal data.\",\n details: \"Structured context for failures that expose one: `details.code` and `details.message` for a named refusal, `details.versionConflict` with the current and expected versions for a stale `If-Match`, `details.retryAfterSeconds` for a rate limit.\",\n timestamp: \"When the application produced the error.\",\n initiatorIds: \"Identifiers of the caller as the application resolved them, when available.\",\n validationErrors: \"Field-level validation failures keyed by field name.\",\n userGuidance: \"Optional explanation, resolution and next-action text for a person.\",\n};\n\nfunction projectRestConventionsConsumerFact(source: RestConventionsConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const sourceRef = \"source:consumer-fact:rest-conventions\";\n assertConsumerFactFields(sourceRef, source.errorEnvelopeFieldNames, Object.keys(ERROR_ENVELOPE_FIELD_MEANINGS));\n const undocumentedEnvelopeFields = source.errorEnvelopeFieldNames.filter((field) => !(field in ERROR_ENVELOPE_FIELD_MEANINGS));\n if (undocumentedEnvelopeFields.length > 0) {\n throw new Error(`${sourceRef} error envelope has fields without a consumer meaning: ${undocumentedEnvelopeFields.join(\", \")}`);\n }\n assertConsumerFactFields(sourceRef, source.pagination.requestFieldNames, [\"page\", \"limit\"]);\n assertConsumerFactFields(sourceRef, source.pagination.responseFieldNames, [\"page\", \"limit\", \"total\", \"totalPages\"]);\n\n const errorRows = Object.values(ErrorType).map((type) => {\n const definition = source.errorDefinitions[type];\n if (definition === undefined) throw new Error(`${sourceRef} has no definition for error type ${type}`);\n return { status: Number(definition.statusCode), type, meaning: ERROR_TYPE_CONSUMER_MEANINGS[type] };\n }).sort((left, right) => left.status - right.status || left.type.localeCompare(right.type, \"en-US\"));\n const errorStatusMarkdown = `| HTTP status | \\`error.type\\` | What it means for the caller |\\n| --- | --- | --- |\\n${errorRows.map((row) => `| ${row.status} | \\`${row.type}\\` | ${row.meaning} |`).join(\"\\n\")}`;\n\n const envelopeRows = source.errorEnvelopeFieldNames.map((field) => `| \\`error.${field}\\` | ${ERROR_ENVELOPE_FIELD_MEANINGS[field]} |`).join(\"\\n\");\n const errorEnvelopeMarkdown = `Every error response carries one JSON object under \\`error\\`:\\n\\n| Field | Meaning |\\n| --- | --- |\\n${envelopeRows}`;\n // Mirrors what `ErrorHandlerService` serializes for the owner-floor refusal: `message` and\n // `customMessage` carry the reference key, the refusal code rides both `code` and `details.code`,\n // and `operationPath` is the operation KEY. Change this only against the handler.\n const errorExampleJson = JSON.stringify({\n error: {\n type: ErrorType.CONFLICT,\n severity: \"medium\",\n message: \"conflict\",\n customMessage: \"conflict\",\n customMessageReference: \"conflict\",\n code: \"LAST_ORGANIZATION_OWNER\",\n // Derived through the same utility the error builder uses, never typed by hand.\n operationPath: ResourcesConfig_OperationPathUtils.createOperationPathKey({\n resourceIdentifier: CoreResourceType.ORGANIZATION_MEMBERS,\n operationIdentifier: CoreResourceOperation.DELETE,\n variantType: ResourceOperationVariantType.API_CALL,\n isOperationDefault: true,\n }),\n correlationId: \"4f0b2c6e-8d3a-4e1f-9b7c-2a5d6e8f0c13\",\n timestamp: \"2026-09-03T10:15:00.000Z\",\n details: {\n code: \"LAST_ORGANIZATION_OWNER\",\n message: \"Refused: this would leave an organization with no usable owner. Grant owner access to another active member first.\",\n },\n },\n }, null, 2);\n\n const { queryParameters, pagination } = source;\n const collectionQueryMarkdown = `| Query parameter | Applies to | Meaning |\\n| --- | --- | --- |\\n| \\`${queryParameters.page}\\` | list, search | 1-based page number. Default ${pagination.defaultPage}. |\\n| \\`${queryParameters.limit}\\` | list, search | Items per page. Default ${pagination.defaultLimit}, at most ${pagination.maxLimit} unless the operation states a different ceiling. |\\n| \\`${queryParameters.sort}\\` | list, search | Comma-separated \\`field:asc\\` or \\`field:desc\\` pairs, highest priority first, for example \\`${queryParameters.sort}=createdAt:desc,title:asc\\`. |\\n| \\`${queryParameters.search}\\` | search | Free-text term matched against the operation's searchable fields. |\\n| one parameter per filter field | list, search | The API reference lists each operation's filter fields. Date ranges use bracket notation: \\`createdAt[startDate]=2026-09-01T00:00:00Z&createdAt[endDate]=2026-09-30T23:59:59Z\\`. |`;\n const paginationResponseMarkdown = `A collection response is one object with \\`data\\` (the page) and \\`pagination\\`:\\n\\n| Field | Meaning |\\n| --- | --- |\\n| \\`pagination.page\\` | The page that was returned. |\\n| \\`pagination.limit\\` | The page size the operation applied. |\\n| \\`pagination.total\\` | Matching records for the whole query. |\\n| \\`pagination.totalPages\\` | Number of pages at this limit. Stop when \\`page\\` equals it; do not infer the end from a short page. |`;\n const rateLimitMarkdown = `| Response header | Meaning |\\n| --- | --- |\\n| \\`${source.headers.rateLimitLimit}\\` | Requests allowed in the tightest active window. |\\n| \\`${source.headers.rateLimitRemaining}\\` | Requests left in that window. |\\n| \\`${source.headers.rateLimitReset}\\` | Seconds until that window resets. |\\n| \\`Retry-After\\` | Sent with a 429 only: seconds to wait before the next attempt. Every tripped window must recover, so wait the full value. |`;\n const concurrencyMarkdown = `Records carry an integer \\`_version\\` that increases on every write. To refuse a write that would overwrite a change you have not seen, send the version you read in the \\`${source.headers.ifMatch}\\` header. A mismatch answers **409** with \\`error.details.versionConflict\\` carrying the current version; read the record again, merge, and resend with the new version.`;\n\n return {\n markdown: errorStatusMarkdown,\n errorStatusMarkdown,\n errorEnvelopeMarkdown,\n errorExampleJson,\n collectionQueryMarkdown,\n paginationResponseMarkdown,\n rateLimitMarkdown,\n concurrencyMarkdown,\n authorizationHeader: source.headers.authorization,\n queryParameters: { ...queryParameters },\n pagination: { defaultPage: pagination.defaultPage, defaultLimit: pagination.defaultLimit, maxLimit: pagination.maxLimit },\n errors: errorRows,\n };\n}\n\nconst WEBHOOK_DELIVERY_STATUS_MEANINGS: Readonly<Record<M2MWebhookDeliveryLogStatus, { readonly meaning: string; readonly action: string }>> = {\n [M2MWebhookDeliveryLogStatus.PENDING]: { meaning: \"Waiting for its first attempt or for a scheduled retry.\", action: \"Compare `nextAttemptAt` with the retry ladder. Do not send it yourself.\" },\n [M2MWebhookDeliveryLogStatus.IN_FLIGHT]: { meaning: \"A worker currently holds the row and is making one HTTP attempt.\", action: \"Wait for the attempt to finish; the timeout bounds it.\" },\n [M2MWebhookDeliveryLogStatus.DELIVERED]: { meaning: \"Your receiver answered 2xx to one attempt.\", action: \"Confirm your receiver stored the `jti` and finished the work; the application cannot see that.\" },\n [M2MWebhookDeliveryLogStatus.FAILED]: { meaning: \"A terminal response (3xx, or a 4xx other than 408 and 429) was received, or every attempt was used.\", action: \"Fix the cause, then use the retry operation on that one row.\" },\n};\n\nconst WEBHOOK_PROBE_OUTCOME_MEANINGS: Readonly<Record<WebhookEndpointProbeOutcome, { readonly meaning: string; readonly action: string }>> = {\n [WebhookEndpointProbeOutcome.ACCEPTED]: { meaning: \"The endpoint answered 2xx to the signed synthetic request.\", action: \"Check your receiver's log shows signature and body-hash verification ran before it answered.\" },\n [WebhookEndpointProbeOutcome.REJECTED]: { meaning: \"The endpoint answered, but not with 2xx.\", action: \"Read the recorded status and body; the receiver refused or failed.\" },\n [WebhookEndpointProbeOutcome.UNREACHABLE]: { meaning: \"No HTTP response arrived within the timeout.\", action: \"Check public reachability, DNS, TLS and the receiver's own timeout.\" },\n [WebhookEndpointProbeOutcome.NOT_SENT]: { meaning: \"The application refused to send: the URL failed policy (private address, embedded credentials) or signing was not possible.\", action: \"Correct the endpoint URL or the application's signing configuration.\" },\n};\n\nfunction projectOutboundWebhooksConsumerFact(source: OutboundWebhooksConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const sourceRef = \"source:consumer-fact:outbound-webhooks\";\n const { contract } = source;\n // The receiver contract says \"every enabled endpoint receives every event\". That is\n // only true while an endpoint has no event filter, so this projection fails closed the\n // day a filter field appears on the endpoint schema.\n const expectedEndpointFields = [\"id\", \"url\", \"description\", \"enabled\", \"createdAt\", \"updatedAt\"];\n assertConsumerFactFields(sourceRef, source.endpointFieldNames, expectedEndpointFields);\n const unexpectedEndpointFields = source.endpointFieldNames.filter((field) => !expectedEndpointFields.includes(field));\n if (unexpectedEndpointFields.length > 0) {\n throw new Error(`${sourceRef} endpoint schema grew fields the documented delivery model does not cover: ${unexpectedEndpointFields.join(\", \")}`);\n }\n assertConsumerFactFields(sourceRef, source.configurationFieldNames, [\"enabled\", \"endpoints\", \"applicationPublicKeyPem\"]);\n assertConsumerFactFields(sourceRef, source.deliveryLogFieldNames, [\"endpointId\", \"channel\", \"resourceIdentifier\", \"operationIdentifier\", \"httpUrl\", \"attemptCount\", \"nextAttemptAt\", \"responseStatus\", \"responseBodyTruncated\", \"failureReason\", \"signatureJti\"]);\n for (const status of Object.values(source.deliveryStatuses)) {\n if (WEBHOOK_DELIVERY_STATUS_MEANINGS[status] === undefined) throw new Error(`${sourceRef} has no meaning for delivery status ${status}`);\n }\n for (const outcome of Object.values(source.probeOutcomes)) {\n if (WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome] === undefined) throw new Error(`${sourceRef} has no meaning for endpoint test outcome ${outcome}`);\n }\n\n const claims = contract.signatureClaims;\n const signatureMarkdown = `Every delivery is a \\`POST\\` whose \\`${contract.signatureHeader}\\` header carries a JSON Web Token signed with **${contract.signatureAlgorithm}** by the application's webhook key. The public key is the \\`applicationPublicKeyPem\\` value on the webhook configuration. The JWT header's \\`kid\\` is the RFC 7638 thumbprint of that key: do not pin a fixed value, verify with the PEM you hold, and treat a \\`kid\\` you have not seen as the signal that the key rotated. The body itself is not inside the token, only its hash.\\n\\n| Claim | Value or meaning |\\n| --- | --- |\\n| \\`iss\\` | \\`${contract.signature.issuer}\\` |\\n| \\`aud\\` | \\`${contract.signature.audience}\\` |\\n| \\`iat\\`, \\`exp\\` | Issued per attempt; a token lives ${contract.signature.expiresIn}. |\\n| \\`${claims.deliveryId}\\` | Identifier of this delivery. Identical on every retry of the same delivery, different for every other delivery, even one carrying the same body. Deduplicate on it. |\\n| \\`${claims.bodyHash}\\` | Hex ${contract.bodyHashAlgorithm.toUpperCase()} digest of the exact raw request bytes. |\\n| \\`${claims.bodyHashAlgorithm}\\` | \\`${contract.bodyHashAlgorithm}\\` |\\n| \\`${claims.eventChannel}\\` | Which configuration produced it: \\`${Object.values(source.channels).join(\"\\` or \\`\")}\\`. |\\n| \\`${claims.resourceIdentifier}\\`, \\`${claims.operationIdentifier}\\` | The resource and operation that fired the event, as named in the API reference. |`;\n const claimsExampleJson = JSON.stringify({\n iss: contract.signature.issuer,\n aud: contract.signature.audience,\n iat: 1788174900,\n exp: 1788196500,\n [claims.deliveryId]: \"9d2b5f3c-1e8a-4c6f-b0d7-3a4e5f6c7d8e\",\n [claims.bodyHash]: \"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\",\n [claims.bodyHashAlgorithm]: contract.bodyHashAlgorithm,\n [claims.eventChannel]: source.channels.WEBHOOK_ORGANIZATION,\n [claims.resourceIdentifier]: \"organizationMembers\",\n [claims.operationIdentifier]: \"create\",\n }, null, 2);\n\n const ladder = contract.backoffScheduleSeconds.map((seconds, index) => {\n const label = seconds >= 3600 ? `${seconds / 3600} h` : `${seconds / 60} min`;\n return `| ${index + 2} | after ${label} |`;\n }).join(\"\\n\");\n const retryMarkdown = `| Attempt | When |\\n| --- | --- |\\n| 1 | Immediately after the event |\\n${ladder}\\n\\nAt most **${contract.maxAttempts}** attempts. Each attempt times out after ${contract.requestTimeoutMs / 1000} seconds. A network failure, a timeout, a **5xx**, a **${contract.retryableHttpStatuses.join(\"** or a **\")}** schedules the next attempt; any other **4xx** and every **3xx** ends the delivery as failed, because the same bytes would be refused again. The first ${contract.responseBodyTruncationBytes / 1024} KiB of your response body is recorded on the delivery for diagnosis. Requests carry \\`User-Agent: ${contract.userAgent}\\`.`;\n\n const deliveryStatesMarkdown = `| Status | Meaning | What to do |\\n| --- | --- | --- |\\n${Object.values(source.deliveryStatuses).map((status) => `| \\`${status}\\` | ${WEBHOOK_DELIVERY_STATUS_MEANINGS[status].meaning} | ${WEBHOOK_DELIVERY_STATUS_MEANINGS[status].action} |`).join(\"\\n\")}`;\n const testOutcomesMarkdown = `| Outcome | Meaning | What to do |\\n| --- | --- | --- |\\n${Object.values(source.probeOutcomes).map((outcome) => `| \\`${outcome}\\` | ${WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome].meaning} | ${WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome].action} |`).join(\"\\n\")}`;\n const endpointMarkdown = `A webhook configuration holds a master \\`enabled\\` switch, the \\`endpoints\\` list and the read-only \\`applicationPublicKeyPem\\`. Each endpoint has exactly these fields: ${expectedEndpointFields.map((field) => `\\`${field}\\``).join(\", \")}. **There is no per-endpoint event filter.** Every enabled endpoint receives every event the application publishes on that channel; route or ignore events inside your receiver using the \\`${claims.resourceIdentifier}\\` and \\`${claims.operationIdentifier}\\` claims.`;\n\n const verifierSampleNode = [\n \"const crypto = require('node:crypto');\",\n \"const express = require('express');\",\n \"const jwt = require('jsonwebtoken');\",\n \"\",\n \"// Copy applicationPublicKeyPem from the webhook configuration into your secret store.\",\n \"const PUBLIC_KEY_PEM = process.env.APP_WEBHOOK_PUBLIC_KEY_PEM;\",\n \"\",\n \"const app = express();\",\n \"\",\n \"// Keep the raw bytes: any JSON parser before this handler changes the body hash.\",\n \"app.post('/webhooks/app', express.raw({ type: '*/*' }), async (req, res) => {\",\n ` const token = req.get('${contract.signatureHeader}');`,\n \" if (!token) return res.status(401).end();\",\n \"\",\n \" let claims;\",\n \" try {\",\n \" claims = jwt.verify(token, PUBLIC_KEY_PEM, {\",\n ` algorithms: ['${contract.signatureAlgorithm}'],`,\n ` issuer: '${contract.signature.issuer}',`,\n ` audience: '${contract.signature.audience}',`,\n \" });\",\n \" } catch {\",\n \" return res.status(401).end();\",\n \" }\",\n \"\",\n ` const bodyHash = crypto.createHash('${contract.bodyHashAlgorithm}').update(req.body).digest('hex');`,\n ` const expected = Buffer.from(String(claims.${claims.bodyHash}));`,\n \" if (expected.length !== bodyHash.length || !crypto.timingSafeEqual(Buffer.from(bodyHash), expected)) {\",\n \" return res.status(401).end();\",\n \" }\",\n \"\",\n ` // Claim the delivery id atomically; a retry of the same delivery carries the same ${claims.deliveryId}.`,\n ` const firstTime = await claimDeliveryOnce(claims.${claims.deliveryId});`,\n \" if (!firstTime) return res.status(200).end();\",\n \"\",\n \" const event = JSON.parse(req.body.toString('utf8'));\",\n ` await enqueue({ resource: claims.${claims.resourceIdentifier}, operation: claims.${claims.operationIdentifier}, event });`,\n \" return res.status(202).end();\",\n \"});\",\n ].join(\"\\n\");\n\n return {\n markdown: signatureMarkdown,\n signatureMarkdown,\n claimsExampleJson,\n retryMarkdown,\n deliveryStatesMarkdown,\n testOutcomesMarkdown,\n endpointMarkdown,\n verifierSampleNode,\n signatureHeader: contract.signatureHeader,\n signatureAlgorithm: contract.signatureAlgorithm,\n maxAttempts: contract.maxAttempts,\n backoffScheduleSeconds: [...contract.backoffScheduleSeconds],\n requestTimeoutMs: contract.requestTimeoutMs,\n claims: { ...claims },\n };\n}\n\nfunction projectOrganizationUnitsConsumerFact(source: OrganizationUnitsConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('organization unit', source.unitFieldNames, ['organizationId', 'parentUnitId', 'inheritanceType', 'status']);\n assertConsumerFactFields('organization unit membership', source.unitMemberFieldNames, ['organizationMemberId', 'organizationUnitId', 'role']);\n return {\n markdown: `Organization units describe the parts of one organization that need separately scoped access—for example teams, regions, departments or delivery groups. They do not replace organization membership: a person must first be a member of the organization, then can be assigned one role in each relevant unit.\n\nA unit role is separate from the roles on the person’s organization membership. A unit assignment can grant access only to resources that explicitly use organization-unit narrowing; it never becomes organization-wide authority. On a narrowed resource, a role granted at a unit can apply to descendants only when that unit uses downward permission inheritance.\n\n| Unit setting | Meaning |\n| --- | --- |\n| Parent unit | Builds the organization’s hierarchy; root units have no parent |\n| Type | Describes the unit as a company, division, department, team, subteam, project group, geographic area, function, or custom structure; it is descriptive and does not grant access by itself |\n| Status | Records whether the unit is active, inactive, archived, or suspended; **status does not revoke existing unit assignments or hide the records they cover** |\n| Permission inheritance | Choose whether a unit’s narrowed access applies to descendants or stays only at that unit |\n| Unit assignment | One membership, one unit, one role—the person’s organization-wide role remains unchanged |\n\n> **Do not use a unit status as an access-revocation control.** Archiving or suspending a unit keeps its existing access relationship intact so historical records do not disappear unexpectedly. Remove or change the affected unit assignments, or change the person’s organization membership, when access must stop.\n\nBefore changing a hierarchy or a unit role, identify which resources are narrowed by units and who will lose or gain access. When SCIM manages unit mappings, make the change in the directory mapping rather than re-creating it manually in the application.`,\n types: Object.values(source.types),\n statuses: Object.values(source.statuses),\n permissionInheritanceTypes: Object.values(source.inheritanceTypes),\n assignmentCardinality: 'one-role-per-membership-per-unit',\n };\n}\n\nfunction projectOrganizationMembershipAdministrationConsumerFact(\n source: OrganizationMembershipAdministrationConsumerFactSource,\n): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('organization membership', source.membershipFieldNames, ['userEmail', 'organizationId', 'roles', 'status']);\n const lifecycle = Object.values(source.statuses).map((status) => ({\n status,\n meaning: {\n [OrganizationMemberStatus.INVITED]: 'Invitation is pending; the membership does not yet confer active organization access.',\n [OrganizationMemberStatus.ACTIVE]: 'Membership is active and its organization roles can authorize operations.',\n [OrganizationMemberStatus.INACTIVE]: 'Membership has been deactivated, for example by directory deprovisioning.',\n [OrganizationMemberStatus.SUSPENDED]: 'Membership is temporarily suspended; it can be deliberately reactivated.',\n }[status],\n }));\n const lifecycleTable = lifecycle.map(({ status, meaning }) => `| ${ORGANIZATION_MEMBER_STATUS_NAMES[status]} | ${meaning} |`).join('\\n');\n return {\n markdown: `An organization membership is the invitation record: there is no separate invitation object. Inviting by email creates an **Invited** membership; accepting it activates that same membership. A membership carries roles inside one organization, so changing organization never copies authority from another membership.\\n\\n| Membership state | Meaning |\\n| --- | --- |\\n${lifecycleTable}\\n\\nOnly an active membership can contribute organization authority. Before removing, suspending or demoting a member, grant owner authority to another active member when needed: the application refuses a change that would leave the organization without an administratively usable owner. The refusal is HTTP **409** with \\`error.type\\` \\`CONFLICT\\` and the stable code \\`${source.continuityCodes.LAST_ORGANIZATION_OWNER}\\` in \\`error.code\\`.`,\n lifecycle,\n invitationRecord: 'membership',\n authorizationStatus: OrganizationMemberStatus.ACTIVE,\n ownerContinuityErrorCode: source.continuityCodes.LAST_ORGANIZATION_OWNER,\n };\n}\n\nfunction projectBillingLifecycleConsumerFact(source: BillingLifecycleConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const productMeanings: Readonly<Record<ProductType, string>> = {\n [ProductType.PLAN]: 'The primary recurring subscription and its base features and limits.',\n [ProductType.ADDON]: 'An optional recurring feature or capacity added to a plan.',\n [ProductType.METERED]: 'A recurring product whose charge depends on recorded usage.',\n [ProductType.ONE_TIME]: 'A non-recurring purchase that can be bought once for the billing account.',\n [ProductType.CREDIT_PACK]: 'A repeatable purchase that adds prepaid credits to a balance.',\n [ProductType.ITEM]: 'A repeatable one-off item that does not create a subscription.',\n };\n const subscriptionMeanings: Readonly<Record<SubscriptionStatus, string>> = {\n [SubscriptionStatus.ACTIVE]: 'The subscription is current and contributes its billing-derived access.',\n [SubscriptionStatus.TRIALING]: 'The subscription is in its trial period and contributes its billing-derived access.',\n [SubscriptionStatus.PAST_DUE]: 'Payment is overdue at the provider; it does not contribute billing-derived access.',\n [SubscriptionStatus.UNPAID]: 'The provider considers the subscription unpaid; it does not contribute billing-derived access.',\n [SubscriptionStatus.CANCELLED]: 'The subscription has ended and remains visible as billing history.',\n [SubscriptionStatus.INCOMPLETE]: 'Checkout or the first payment has not completed; do not treat the purchase as active.',\n [SubscriptionStatus.INCOMPLETE_EXPIRED]: 'The incomplete first-payment window expired; start a new approved purchase if access is still needed.',\n [SubscriptionStatus.PAUSED]: 'The provider has paused the subscription; it does not contribute billing-derived access.',\n };\n const invoiceMeanings: Readonly<Record<InvoiceStatus, string>> = {\n [InvoiceStatus.DRAFT]: 'The invoice has not been finalized for collection.',\n [InvoiceStatus.OPEN]: 'The finalized invoice is awaiting payment.',\n [InvoiceStatus.PAID]: 'The invoice was paid successfully.',\n [InvoiceStatus.VOID]: 'The provider voided the invoice.',\n [InvoiceStatus.UNCOLLECTIBLE]: 'The provider marked the invoice uncollectible or a payment-failure event was recorded.',\n };\n const pricingModelMeanings: Readonly<Record<PricingModel, string>> = {\n [PricingModel.FLAT]: 'One fixed price for the line item; quantity does not select a different unit rate.',\n [PricingModel.PER_UNIT]: 'The amount scales linearly with quantity, such as seats or purchased units.',\n [PricingModel.TIERED]: 'Volume pricing: the reached tier supplies the unit rate applied to the whole quantity.',\n [PricingModel.GRADUATED]: 'Graduated pricing: each quantity bracket is priced independently, then the brackets are added.',\n [PricingModel.PACKAGE]: 'Units are sold in fixed-size packages; a partial package rounds up to the next package.',\n };\n const billingIntervalMeanings: Readonly<Record<BillingInterval, string>> = {\n [BillingInterval.MONTH]: 'The recurring price renews in month-based periods; interval count can make this every several months.',\n [BillingInterval.YEAR]: 'The recurring price renews in year-based periods; interval count can make this every several years.',\n };\n const taxDisplayMeanings: Readonly<Record<TaxDisplayMode, string>> = {\n [TaxDisplayMode.EXCLUSIVE]: 'The displayed price excludes tax; the provider can add tax at checkout or invoicing.',\n [TaxDisplayMode.INCLUSIVE]: 'The displayed price already includes tax; the provider separates the tax component in billing evidence.',\n };\n const limitGrantMeanings: Readonly<Record<LimitGrantMode, string>> = {\n [LimitGrantMode.SET]: 'Establishes an absolute capacity. A plan commonly uses this for its base limit; an add-on can raise it to a larger value.',\n [LimitGrantMode.ADD]: 'Adds capacity to the current value. Add-ons commonly use this for extra seats, runs or storage.',\n };\n const promotionTypeMeanings: Readonly<Record<PromotionType, string>> = {\n [PromotionType.COUPON]: 'A discount selected or applied without a customer-entered code.',\n [PromotionType.PROMOTION_CODE]: 'A discount activated by a customer-entered code at checkout.',\n [PromotionType.REFERRAL]: 'A promotion issued through a referral programme.',\n [PromotionType.DEAL]: 'A negotiated or specially targeted commercial offer.',\n };\n const discountTypeMeanings: Readonly<Record<DiscountType, string>> = {\n [DiscountType.PERCENTAGE]: 'Reduces an eligible amount by a percentage.',\n [DiscountType.FIXED_AMOUNT]: 'Reduces an eligible amount by a fixed amount in its stated currency.',\n };\n const promotionDurationMeanings: Readonly<Record<PromotionDuration, string>> = {\n [PromotionDuration.ONCE]: 'Applies to one eligible charge.',\n [PromotionDuration.REPEATING]: 'Applies for the configured number of billing months.',\n [PromotionDuration.FOREVER]: 'Applies to eligible recurring charges while the promotion remains valid.',\n };\n const usageSourceMeanings: Readonly<Record<UsageSourceType, string>> = {\n [UsageSourceType.OPERATION]: 'Usage was recorded from a named application operation.',\n [UsageSourceType.RESOURCE_COUNT]: 'Usage was measured from the size of a resource collection.',\n [UsageSourceType.CUSTOM]: 'Usage came from an application-specific metering source.',\n };\n const productTypes = Object.values(source.productTypes).map((value) => ({ value, meaning: productMeanings[value] }));\n const pricingModels = Object.values(source.pricingModels).map((value) => ({ value, meaning: pricingModelMeanings[value] }));\n const billingIntervals = Object.values(source.billingIntervals).map((value) => ({ value, meaning: billingIntervalMeanings[value] }));\n const taxDisplayModes = Object.values(source.taxDisplayModes).map((value) => ({ value, meaning: taxDisplayMeanings[value] }));\n const limitGrantModes = Object.values(source.limitGrantModes).map((value) => ({ value, meaning: limitGrantMeanings[value] }));\n const promotionTypes = Object.values(source.promotionTypes).map((value) => ({ value, meaning: promotionTypeMeanings[value] }));\n const discountTypes = Object.values(source.discountTypes).map((value) => ({ value, meaning: discountTypeMeanings[value] }));\n const promotionDurations = Object.values(source.promotionDurations).map((value) => ({ value, meaning: promotionDurationMeanings[value] }));\n const usageSourceTypes = Object.values(source.usageSourceTypes).map((value) => ({ value, meaning: usageSourceMeanings[value] }));\n const subscriptionStatuses = Object.values(source.subscriptionStatuses).map((value) => ({ value, meaning: subscriptionMeanings[value] }));\n const invoiceStatuses = Object.values(source.invoiceStatuses).map((value) => ({ value, meaning: invoiceMeanings[value] }));\n const table = (rows: readonly { readonly value: string; readonly meaning: string }[]) =>\n rows.map(({ value, meaning }) => `| \\`${value}\\` | ${meaning} |`).join('\\n');\n\n return {\n markdown: `Billing state is application state, not a browser redirect. A hosted checkout or billing portal collects provider-managed payment and customer details; the application updates subscriptions, invoices, usage and billing-derived access from its verified billing flow. Only **Active** and **Trialing** subscriptions contribute billing-derived features and limits.`,\n productTypesMarkdown: `| Product kind | What it means |\\n| --- | --- |\\n${table(productTypes)}`,\n pricingModelsMarkdown: `| Pricing model | How quantity changes the amount |\\n| --- | --- |\\n${table(pricingModels)}`,\n billingIntervalsMarkdown: `| Recurring interval | What to verify |\\n| --- | --- |\\n${table(billingIntervals)}`,\n taxDisplayModesMarkdown: `| Tax display | What the displayed amount means |\\n| --- | --- |\\n${table(taxDisplayModes)}`,\n limitGrantModesMarkdown: `| Capacity rule | How it combines |\\n| --- | --- |\\n${table(limitGrantModes)}`,\n promotionVocabularyMarkdown: `| Promotion kind | What it means |\\n| --- | --- |\\n${table(promotionTypes)}\\n\\n| Discount calculation | What it changes |\\n| --- | --- |\\n${table(discountTypes)}\\n\\n| Promotion duration | How long it applies |\\n| --- | --- |\\n${table(promotionDurations)}`,\n usageSourceTypesMarkdown: `| Usage source | What it records |\\n| --- | --- |\\n${table(usageSourceTypes)}`,\n subscriptionStatusesMarkdown: `| Subscription state | What it means for the reader |\\n| --- | --- |\\n${table(subscriptionStatuses)}`,\n invoiceStatusesMarkdown: `| Invoice state | What it means |\\n| --- | --- |\\n${table(invoiceStatuses)}`,\n changeTimingMarkdown: `A billing change can be **Immediate** or **At period end**. Proration can create prorations, create no proration, or invoice the adjustment immediately. The product presented by the application owns the actual timing and proration policy; a connector may apply immediately when it cannot schedule a deferred change.`,\n productTypes,\n pricingModels,\n billingIntervals,\n taxDisplayModes,\n limitGrantModes,\n promotionTypes,\n discountTypes,\n promotionDurations,\n usageSourceTypes,\n subscriptionStatuses,\n invoiceStatuses,\n entitlementSubscriptionStatuses: [SubscriptionStatus.ACTIVE, SubscriptionStatus.TRIALING],\n changeTimings: Object.values(source.changeTimings),\n prorationBehaviors: Object.values(source.prorationBehaviors),\n };\n}\n\nfunction projectEnumValues(value: unknown): Array<{ value: string; meaning: string }> {\n if (value === null || typeof value !== \"object\" || Array.isArray(value)) return [];\n return Object.entries(value)\n .flatMap(([enumValue, config]) => {\n if (config === null || typeof config !== \"object\" || Array.isArray(config)) return [];\n const meaning = (config as Readonly<Record<string, unknown>>).meaning;\n return typeof meaning === \"string\" ? [{ value: enumValue, meaning }] : [];\n })\n .sort((left, right) => left.value.localeCompare(right.value));\n}\n\nfunction projectFieldSpecification(field: ExtractedFieldSpec): EngineDocumentationSpecificationSemanticDto {\n const params = field.params as Readonly<Record<string, unknown>>;\n const origin = field.origin;\n const variantPath = origin?.variantPath?.map((variant) => ({\n discriminatorField: variant.discriminatorField,\n discriminatorValue: variant.discriminatorValue,\n })) ?? [];\n\n return {\n fieldName: field.fieldName,\n meaning: field.params.meaning,\n importance: optionalString(params.importance),\n semanticRole: optionalString(params.semanticRole),\n unit: optionalString(params.unit),\n temporalRole: optionalString(params.temporalRole),\n relationshipContext: optionalString(params.relationshipContext),\n elementMeaning: optionalString(params.elementMeaning),\n enumValues: projectEnumValues(params.values),\n origin: {\n scope: optionalString(origin?.scope),\n variantPath,\n },\n derived: {\n collectionElementKind: optionalString(field.derived?.arrayElement?.kind),\n primitiveType: optionalString(field.derived?.arrayElement?.primitiveType),\n foreignKeyTargetResourceType: optionalString(field.derived?.foreignKeyTarget?.resourceType),\n },\n };\n}\n\nfunction projectResourceFields(specification: AnyResourceSpecificationConfig): EngineDocumentationSpecificationSemanticDto[] {\n const decoratedFields = specification.fields === undefined\n ? []\n : extractFieldSpecsFromFieldMap(specification.fields as unknown as Parameters<typeof extractFieldSpecsFromFieldMap>[0]);\n const candidates = [...decoratedFields, ...(specification.additionalFieldSpecs ?? [])].map(projectFieldSpecification);\n const byIdentity = new Map<string, EngineDocumentationSpecificationSemanticDto>();\n\n for (const candidate of candidates) {\n const record = candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n const identity = canonicalizeTechnicalDocumentationJson({ fieldName: record.fieldName, origin: record.origin });\n const existing = byIdentity.get(identity);\n if (existing !== undefined && canonicalizeTechnicalDocumentationJson(existing) !== canonicalizeTechnicalDocumentationJson(candidate)) {\n throw new Error(`conflicting application-consumer field semantics in resource catalog for ${identity}`);\n }\n byIdentity.set(identity, candidate);\n }\n\n return [...byIdentity.entries()]\n .sort(([left], [right]) => left.localeCompare(right))\n .map(([, candidate]) => candidate);\n}\n\nfunction projectM2mCommunications(communications: ResourceOperationM2MSpecification | undefined): EngineDocumentationSpecificationSemanticDto | null {\n if (communications === undefined) return null;\n const requiredFeatures = communications.requiredFeatures;\n return {\n purpose: communications.purpose,\n useWhen: optionalString(communications.useWhen),\n avoidWhen: optionalString(communications.avoidWhen),\n deliveries: [...communications.deliveries]\n .map((delivery) => ({\n audience: delivery.audience,\n channelRef: delivery.channelRef,\n level: optionalString(delivery.level),\n variantRef: optionalString(delivery.variantRef),\n customDeliveryRef: optionalString(delivery.customDeliveryRef),\n }))\n .sort((left, right) => canonicalizeTechnicalDocumentationJson(left).localeCompare(canonicalizeTechnicalDocumentationJson(right))),\n requiredFeatures: requiredFeatures === undefined ? null : {\n featureRefs: [...requiredFeatures.featureRefs].sort((left, right) => left.localeCompare(right)),\n mode: optionalString(requiredFeatures.mode),\n limitChecks: [...(requiredFeatures.limitChecks ?? [])]\n .map((limitCheck) => ({ featureRef: limitCheck.featureRef, increment: optionalNumber(limitCheck.increment) }))\n .sort((left, right) => left.featureRef.localeCompare(right.featureRef)),\n },\n };\n}\n\nfunction projectOperationVariant(variant: Readonly<Record<string, unknown>>): EngineDocumentationSpecificationSemanticDto {\n return {\n purpose: optionalString(variant.purpose),\n outcome: optionalString(variant.outcome),\n whenToUse: optionalString(variant.whenToUse),\n importance: optionalString(variant.importance),\n audienceOverride: optionalString(variant.audienceOverride),\n };\n}\n\nfunction projectResourceOperation(operationKey: string, operation: ResourceOperationSpecification): EngineDocumentationSpecificationSemanticDto {\n const variants = Object.entries(operation.variants ?? {})\n .flatMap(([variantRef, variant]) => variant === undefined ? [] : [{ variantRef, semantics: projectOperationVariant(variant as unknown as Readonly<Record<string, unknown>>) }])\n .sort((left, right) => left.variantRef.localeCompare(right.variantRef));\n\n return {\n operationKey,\n operationId: optionalString(operation.operationId),\n purpose: optionalString(operation.purpose),\n outcome: optionalString(operation.outcome),\n whenToUse: optionalString(operation.whenToUse),\n importance: optionalString(operation.importance),\n variants,\n responseStatuses: [...(operation.responseStatuses ?? [])]\n .map((response) => ({ code: response.code, meaning: response.meaning }))\n .sort((left, right) => left.code.localeCompare(right.code)),\n errorScenarios: [...(operation.errorScenarios ?? [])]\n .map((scenario) => ({ code: scenario.code, when: scenario.when, errorCode: optionalString(scenario.errorCode) }))\n .sort((left, right) => canonicalizeTechnicalDocumentationJson(left).localeCompare(canonicalizeTechnicalDocumentationJson(right))),\n idempotent: optionalBoolean(operation.idempotent),\n rateLimitNote: optionalString(operation.rateLimitNote),\n m2mCommunications: projectM2mCommunications(operation.communications?.m2m),\n };\n}\n\nfunction projectResourceSpecification(source: readonly ResourceSpecificationSourceBinding[]): EngineDocumentationSpecificationSemanticDto {\n const resources = source\n .map(({ resourceType, specification }) => ({\n resourceType: String(resourceType),\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole: optionalString(specification.lifecycleRole),\n audience: String(specification.audience),\n resourcePrimaryScope: optionalString(specification.resourcePrimaryScope),\n fields: projectResourceFields(specification),\n operations: Object.entries(specification.operations ?? {})\n .flatMap(([operationKey, operation]) => operation === undefined ? [] : [projectResourceOperation(operationKey, operation)])\n .sort((left, right) => canonicalizeTechnicalDocumentationJson(left).localeCompare(canonicalizeTechnicalDocumentationJson(right))),\n }))\n .sort((left, right) => left.resourceType.localeCompare(right.resourceType));\n\n return { resources };\n}\n\nfunction projectSystemEmailTemplateGroup(source: readonly SystemEmailTemplateSpecificationConfig[]): EngineDocumentationSpecificationSemanticDto {\n return {\n templates: [...source]\n .map((specification) => ({\n templateRef: specification.templateRef,\n purpose: specification.purpose,\n emailType: optionalString(specification.emailType),\n frequency: optionalString(specification.frequency),\n scope: optionalString(specification.scope),\n useWhen: optionalString(specification.useWhen),\n avoidWhen: optionalString(specification.avoidWhen),\n }))\n .sort((left, right) => left.templateRef.localeCompare(right.templateRef)),\n };\n}\n\nfunction projectErrorVocabulary(source: ErrorVocabularySource): EngineDocumentationSpecificationSemanticDto {\n const authoredByRef = new Map(Object.values(source.specifications).map((specification) => [specification.ref, specification]));\n return {\n errors: Object.values(source.vocabulary)\n .sort((left, right) => left.localeCompare(right))\n .map((errorCode) => {\n const specification = authoredByRef.get(errorCode);\n return {\n errorCode,\n coverageState: specification === undefined\n ? EngineDocumentationErrorCoverageState.DELIBERATELY_WITHOUT_AUTHORED_APPLICATION_CONSUMER_SEMANTICS\n : EngineDocumentationErrorCoverageState.AUTHORED_APPLICATION_CONSUMER_SEMANTICS,\n audience: optionalString(specification?.audience),\n purpose: optionalString(specification?.purpose),\n businessRole: optionalString(specification?.businessRole),\n };\n }),\n };\n}\n\nfunction projectEngineCapability(source: EngineCapabilitySource): EngineDocumentationSpecificationSemanticDto {\n return {\n capability: source.capability,\n };\n}\n\nfunction projectFeatureSpecification(source: FeatureSpecificationConfig): EngineDocumentationSpecificationSemanticDto {\n return {\n features: [{\n registryKey: appLevelFeatureSpecificationKeyFor(source.ref),\n ref: source.ref,\n resourceType: null,\n purpose: source.purpose,\n businessRole: source.businessRole,\n lifecycleRole: optionalString(source.lifecycleRole),\n availabilityRole: optionalString(source.availabilityRole),\n useWhen: optionalString(source.useWhen),\n avoidWhen: optionalString(source.avoidWhen),\n }],\n };\n}\n\nfunction projectWebhookPublicKeyPublicationContract(): EngineDocumentationSpecificationSemanticDto {\n const candidates = Object.entries(WebhookConfigBaseSchema.shape).filter(([, fieldSchema]) => {\n const compatibleSchema = fieldSchema as unknown as Parameters<typeof isExcludedFromCreate>[0];\n return getZodType(unwrapSchema(fieldSchema as unknown as Parameters<typeof unwrapSchema>[0])) === \"string\"\n && isExcludedFromCreate(compatibleSchema)\n && isExcludedFromUpdate(compatibleSchema)\n && !isBackendOnlyField(compatibleSchema)\n && !isWriteOnlySecretField(compatibleSchema);\n });\n if (candidates.length !== 1) {\n throw new Error(\n `outbound webhook application documentation requires exactly one client-visible string response field excluded from both CREATE and UPDATE; found ${candidates.length}`,\n );\n }\n const [publicKeyResponseField] = candidates[0];\n return {\n signatureHeader: WildoHeaderKeys.X_WEBHOOK_SIGNATURE,\n publicKeyResponseField,\n publicKeyWritePolicy: EngineDocumentationPublicKeyWritePolicy.READ_ONLY,\n };\n}\n\nfunction managedSource<TSource>(entry: EngineDocumentationSpecificationManagedSource<TSource>): EngineDocumentationSpecificationManagedSource<TSource> {\n return Object.freeze(entry);\n}\n\n/**\n * The catalog entry that carries the outbound-webhook signature publication\n * contract (`outboundSignaturePublication`).\n *\n * Exported so an evidence producer can ask whether the engine still publishes a\n * signature scheme to document, without duplicating the source-ref literal. The\n * signature-verification documentation unit gates on exactly this entry: prose\n * describing how to verify a signature is only publishable while a contract\n * describing that signature is in the catalog.\n */\nexport const ENGINE_DOCUMENTATION_OUTBOUND_WEBHOOK_SIGNATURE_SOURCE_REF =\n \"source:resource_specification:engine/saas-specifications/src/engine/notifications/resources/webhook-config.resource.specification.ts\";\n\nconst RESOURCE_SPECIFICATION_FAMILY_PROJECTOR_REF = \"projector:technical-documentation:resource-specification:v1\";\nconst SYSTEM_EMAIL_GROUP_FAMILY_PROJECTOR_REF = \"projector:technical-documentation:system-email-template-group:v1\";\n\nconst MANAGED_SOURCES_UNSORTED: readonly EngineDocumentationSpecificationManagedSource<unknown>[] = [\n managedSource({\n sourceRef: \"source:consumer-fact:billing-lifecycle\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/billing/billing-enums.shared.schemas.ts#ProductType|PricingModel|BillingInterval|TaxDisplayMode|LimitGrantMode|PromotionType|DiscountType|PromotionDuration|UsageSourceType|SubscriptionStatus|InvoiceStatus|BillingTiming|ProrationBehavior\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n productTypes: ProductType,\n pricingModels: PricingModel,\n billingIntervals: BillingInterval,\n taxDisplayModes: TaxDisplayMode,\n limitGrantModes: LimitGrantMode,\n promotionTypes: PromotionType,\n discountTypes: DiscountType,\n promotionDurations: PromotionDuration,\n usageSourceTypes: UsageSourceType,\n subscriptionStatuses: SubscriptionStatus,\n invoiceStatuses: InvoiceStatus,\n changeTimings: BillingTiming,\n prorationBehaviors: ProrationBehavior,\n } satisfies BillingLifecycleConsumerFactSource,\n project: (source) => projectBillingLifecycleConsumerFact(source as BillingLifecycleConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-membership-administration\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/organizations/organization-members.shared.schemas.ts#OrganizationMemberSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n membershipFieldNames: Object.keys(OrganizationMemberSchema.shape),\n statuses: OrganizationMemberStatus,\n continuityCodes: AdministrativeContinuityErrorCode,\n } satisfies OrganizationMembershipAdministrationConsumerFactSource,\n project: (source) => projectOrganizationMembershipAdministrationConsumerFact(source as OrganizationMembershipAdministrationConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:access-oauth-clients\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/oauth-clients/oauth-clients.shared.schemas.ts#OAuthClientSchemaBase|engine/saas-specifications/src/engine/auth/resources/organization-oauth-clients.resource.specification.ts#organizationOAuthClientsResourceSpecification|engine/saas-specifications/src/engine/applications/resources/application-oauth-clients.resource.specification.ts#applicationOAuthClientsResourceSpecification\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n grantTypes: OAuthGrantType,\n tokenEndpointAuthMethods: OAuthTokenEndpointAuthMethod,\n registrationOrigins: OAuthClientRegistrationOrigin,\n statuses: OAuthClientStatus,\n clientFieldNames: Object.keys(OAuthClientSchemaBase.shape),\n organizationSpecification: organizationOAuthClientsResourceSpecification,\n applicationSpecification: applicationOAuthClientsResourceSpecification,\n } satisfies OAuthClientsConsumerFactSource,\n project: (source) => projectOAuthClientsConsumerFact(source as OAuthClientsConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:access-single-sign-on\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/authentications/sso/sso-connection.shared.schemas.ts#SsoConnectionBaseSchema|engine/saas-specifications/src/engine/auth/resources/sso-connections.resource.specification.ts#organizationSsoConnectionsResourceSpecification\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n protocols: SsoProtocol,\n connectionFieldNames: Object.keys(SsoConnectionBaseSchema.shape),\n specification: organizationSsoConnectionsResourceSpecification,\n defaults: createSingleSignOnConsumerFactDefaults(),\n } satisfies SingleSignOnConsumerFactSource,\n project: (source) => projectSingleSignOnConsumerFact(source as SingleSignOnConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:access-api-keys\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/api-keys/api-keys.shared.schemas.ts#API_KEY_CREDENTIAL_PRESENTATION|engine/saas-specifications/src/engine/auth/resources/organization-api-keys.resource.specification.ts#organizationApiKeysResourceSpecification|engine/saas-specifications/src/engine/applications/resources/application-api-keys.resource.specification.ts#applicationApiKeysResourceSpecification\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n ...API_KEY_CREDENTIAL_PRESENTATION,\n statuses: ApiKeyStatus,\n organizationSpecification: organizationApiKeysResourceSpecification,\n applicationSpecification: applicationApiKeysResourceSpecification,\n } satisfies ApiKeysConsumerFactSource,\n project: (source) => projectApiKeysConsumerFact(source as ApiKeysConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:access-authentication-methods\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/authentications/authentication.shared.schemas.ts#AuthMethod\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n methods: AuthMethod,\n categories: AUTH_METHOD_CATEGORY_MAP,\n factorTypes: AUTH_METHOD_FACTOR_MAP,\n } satisfies AuthenticationMethodsConsumerFactSource,\n project: (source) => projectAuthenticationMethodsConsumerFact(source as AuthenticationMethodsConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-scim-provisioning\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/authentications/scim/scim-provisioning-config.shared.schemas.ts#ScimProvisioningConfigBaseSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n provisioningFieldNames: Object.keys(ScimProvisioningConfigBaseSchema.shape),\n organizationUnitMappingFieldNames: Object.keys(ScimOrganizationUnitMappingEntrySchema.shape),\n specification: organizationScimProvisioningConfigResourceSpecification,\n defaults: {\n autoCreateUsers: ScimProvisioningConfigBaseSchema.shape.autoCreateUsers.parse(undefined),\n autoVerifyEmail: ScimProvisioningConfigBaseSchema.shape.autoVerifyEmail.parse(undefined),\n autoDeactivateUsers: ScimProvisioningConfigBaseSchema.shape.autoDeactivateUsers.parse(undefined),\n attributeMapping: ScimAttributeMappingSchema.parse({}),\n },\n } satisfies ScimProvisioningConsumerFactSource,\n project: (source) => projectScimProvisioningConsumerFact(source as ScimProvisioningConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-audit-trail\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/compliance/audit-trails/auditable-events.shared.schema.ts#AuditEventCategory|engine/saas-models/src/compliance/audit-trails/audit-logs.shared.resources-config.schemas.ts#AuditLogs_FilterSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n categories: AuditEventCategory,\n severities: AuditEventSeverity,\n // The exact fields the LIST operation declares; a reader cannot filter by anything else.\n filterFieldNames: ['eventType', 'eventCategory', 'severity', 'userId', 'organizationId', 'applicationId', 'correlationId', 'clientInstanceId', 'createdAt'],\n sortFieldNames: ['createdAt', 'severity', 'eventType', 'eventId'],\n maxRecordsPerPage: 100,\n specification: auditLogsResourceSpecification,\n } satisfies AuditTrailConsumerFactSource,\n project: (source) => projectAuditTrailConsumerFact(source as AuditTrailConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-siem-export\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/authentications/siem/siem-export-config.shared.schemas.ts#SiemExportConfigBaseSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n configurationFieldNames: Object.keys(SiemExportConfigBaseSchema.shape),\n specification: organizationSiemExportConfigResourceSpecification,\n defaults: {\n enabled: SiemExportConfigBaseSchema.shape.enabled.parse(undefined),\n webhookUrl: SiemExportConfigBaseSchema.shape.webhookUrl.parse(undefined),\n authMethod: SiemExportConfigBaseSchema.shape.authMethod.parse(undefined),\n authHeaderName: SiemExportConfigBaseSchema.shape.authHeaderName.parse(undefined),\n eventFormat: SiemExportConfigBaseSchema.shape.eventFormat.parse(undefined),\n eventFilter: SiemExportConfigBaseSchema.shape.eventFilter.parse({}),\n delivery: SiemExportConfigBaseSchema.shape.delivery.parse({}),\n includeRawEventData: SiemExportConfigBaseSchema.shape.includeRawEventData.parse(undefined),\n includeDeviceContext: SiemExportConfigBaseSchema.shape.includeDeviceContext.parse(undefined),\n },\n } satisfies SiemExportConsumerFactSource,\n project: (source) => projectSiemExportConsumerFact(source as SiemExportConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-units\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/organizations/organization-units.shared.schemas.ts#OrganizationUnitSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n unitFieldNames: Object.keys(OrganizationUnitSchema.shape),\n unitMemberFieldNames: Object.keys(OrganizationUnitMemberSchema.shape),\n types: OrganizationUnitType,\n statuses: OrganizationUnitStatus,\n inheritanceTypes: OrganizationUnit_PermissionInheritanceType,\n } satisfies OrganizationUnitsConsumerFactSource,\n project: (source) => projectOrganizationUnitsConsumerFact(source as OrganizationUnitsConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:rest-conventions\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/errors/errors.shared.definitions.ts#ERROR_DEFINITIONS|engine/saas-models/src/errors/errors.shared.schemas.ts#ErrorResponseSchema|engine/saas-models/src/resources/collection-query-parameters.shared.ts#COLLECTION_QUERY_PARAMETERS|engine/saas-models/src/resources/resources-config.shared.schemas.ts#Resources_PaginationRequestSchema|engine/saas-models/src/requests/header-keys.shared.ts#WildoHeaderKeys\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n errorDefinitions: ERROR_DEFINITIONS,\n errorEnvelopeFieldNames: Object.keys(ErrorResponseSchema.shape.error.shape),\n queryParameters: COLLECTION_QUERY_PARAMETERS,\n pagination: {\n defaultPage: Resources_PaginationRequestSchema.shape.page.parse(undefined),\n defaultLimit: Resources_PaginationRequestSchema.shape.limit.parse(undefined),\n maxLimit: (() => {\n const limit = unwrapSchema(Resources_PaginationRequestSchema.shape.limit) as { readonly maxValue?: number | null };\n if (typeof limit.maxValue !== \"number\") throw new Error(\"pagination limit schema has no maximum\");\n return limit.maxValue;\n })(),\n requestFieldNames: Object.keys(Resources_PaginationRequestSchema.shape),\n responseFieldNames: Object.keys(Resources_PaginationResponseMetadataSchema.shape),\n },\n headers: {\n authorization: WildoHeaderKeys.AUTHORIZATION,\n ifMatch: WildoHeaderKeys.IF_MATCH,\n etag: WildoHeaderKeys.ETAG,\n rateLimitLimit: WildoHeaderKeys.RATE_LIMIT_LIMIT,\n rateLimitRemaining: WildoHeaderKeys.RATE_LIMIT_REMAINING,\n rateLimitReset: WildoHeaderKeys.RATE_LIMIT_RESET,\n },\n } satisfies RestConventionsConsumerFactSource,\n project: (source) => projectRestConventionsConsumerFact(source as RestConventionsConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:outbound-webhooks\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/notifications/m2m/m2m-webhook-delivery-contract.shared.ts#M2M_WEBHOOK_DELIVERY_CONTRACT|engine/saas-models/src/notifications/m2m/webhook-config.shared.schemas.ts#WebhookEndpointSchema|WebhookConfigBaseSchema|WebhookEndpointProbeOutcome|engine/saas-models/src/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.ts#M2MWebhookDeliveryLogBaseSchema|M2MWebhookDeliveryLogStatus\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n contract: M2M_WEBHOOK_DELIVERY_CONTRACT,\n endpointFieldNames: Object.keys(WebhookEndpointSchema.shape),\n configurationFieldNames: Object.keys(WebhookConfigBaseSchema.shape),\n deliveryLogFieldNames: Object.keys(M2MWebhookDeliveryLogBaseSchema.shape),\n deliveryStatuses: M2MWebhookDeliveryLogStatus,\n probeOutcomes: WebhookEndpointProbeOutcome,\n channels: CoreM2MNotificationChannel,\n } satisfies OutboundWebhooksConsumerFactSource,\n project: (source) => projectOutboundWebhooksConsumerFact(source as OutboundWebhooksConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:engine-capability:ORGANIZATIONS\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.ENGINE_CAPABILITY,\n sourceModuleBinding: \"engine/saas-models/src/external-providers/engine-capabilities.shared.schemas.ts#EngineCapability.ORGANIZATIONS\",\n projectorRef: \"projector:technical-documentation:engine-capability:v1\",\n source: { capability: EngineCapability.ORGANIZATIONS },\n project: (source) => projectEngineCapability(source as EngineCapabilitySource),\n }),\n ...[\n [\"organization-members.resource.specification.ts\", CoreResourceType.ORGANIZATION_MEMBERS, organizationMembersResourceSpecification],\n [\"organization-notifications.resource.specification.ts\", CoreResourceType.ORGANIZATION_NOTIFICATIONS, organizationNotificationsResourceSpecification],\n [\"organization-preferences.resource.specification.ts\", CoreResourceType.ORGANIZATION_PREFERENCES, organizationPreferencesResourceSpecification],\n [\"organization-profiles.resource.specification.ts\", CoreResourceType.ORGANIZATION_PROFILES, organizationProfilesResourceSpecification],\n [\"organization-unit-members.resource.specification.ts\", CoreResourceType.ORGANIZATION_UNIT_MEMBERS, organizationUnitMembersResourceSpecification],\n [\"organization-units.resource.specification.ts\", CoreResourceType.ORGANIZATION_UNITS, organizationUnitsResourceSpecification],\n [\"organizations.resource.specification.ts\", CoreResourceType.ORGANIZATIONS, organizationsResourceSpecification],\n ].map(([fileName, resourceType, specification]) => managedSource({\n sourceRef: `source:resource_specification:engine/saas-specifications/src/engine/organizations/resources/${fileName as string}`,\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.RESOURCE,\n sourceModuleBinding: `engine/saas-specifications/src/engine/organizations/resources/${fileName as string}`,\n projectorRef: RESOURCE_SPECIFICATION_FAMILY_PROJECTOR_REF,\n source: [{ resourceType: resourceType as string, specification: specification as AnyResourceSpecificationConfig }],\n project: (candidate) => projectResourceSpecification(candidate as readonly ResourceSpecificationSourceBinding[]),\n })),\n ...[\n [\"authentication.system-emails.specification.ts\", authenticationSystemEmailTemplateSpecifications],\n [\"organization.system-emails.specification.ts\", organizationSystemEmailTemplateSpecifications],\n [\"security.system-emails.specification.ts\", securitySystemEmailTemplateSpecifications],\n [\"subscription.system-emails.specification.ts\", subscriptionSystemEmailTemplateSpecifications],\n ].map(([fileName, source]) => managedSource({\n sourceRef: `source:system_email_specification_group:engine/saas-specifications/src/engine/notifications/system-emails/${fileName as string}`,\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.SYSTEM_EMAIL_TEMPLATE_GROUP,\n sourceModuleBinding: `engine/saas-specifications/src/engine/notifications/system-emails/${fileName as string}`,\n projectorRef: SYSTEM_EMAIL_GROUP_FAMILY_PROJECTOR_REF,\n source,\n project: (candidate) => projectSystemEmailTemplateGroup(candidate as readonly SystemEmailTemplateSpecificationConfig[]),\n })),\n managedSource({\n sourceRef: \"source:error_specification:engine/saas-specifications/src/engine/errors/error-messages.specification.ts\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.ERROR_VOCABULARY,\n sourceModuleBinding: \"engine/saas-specifications/src/engine/errors/error-messages.specification.ts#engineErrorMessageSpecifications\",\n projectorRef: \"projector:technical-documentation:error-vocabulary:v1\",\n source: { vocabulary: ErrorCustomMessageReference, specifications: engineErrorMessageSpecifications },\n project: (source) => projectErrorVocabulary(source as ErrorVocabularySource),\n }),\n managedSource({\n sourceRef: \"source:feature_specification:engine/saas-specifications/src/engine/features/m2m-webhook-delivery.feature.specification.ts\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.FEATURE,\n sourceModuleBinding: \"engine/saas-specifications/src/engine/features/m2m-webhook-delivery.feature.specification.ts#m2mWebhookDeliveryFeatureSpecification\",\n projectorRef: \"projector:technical-documentation:feature-specification:v1\",\n source: m2mWebhookDeliveryFeatureSpecification,\n project: (source) => projectFeatureSpecification(source as FeatureSpecificationConfig),\n }),\n managedSource({\n sourceRef: \"source:resource_specification:engine/saas-specifications/src/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.ts\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.RESOURCE,\n sourceModuleBinding: \"engine/saas-specifications/src/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.ts\",\n projectorRef: RESOURCE_SPECIFICATION_FAMILY_PROJECTOR_REF,\n source: [\n { resourceType: CoreResourceType.APPLICATION_M2M_WEBHOOK_DELIVERY_LOG, specification: applicationM2mWebhookDeliveryLogResourceSpecification },\n { resourceType: CoreResourceType.ORGANIZATION_M2M_WEBHOOK_DELIVERY_LOG, specification: organizationM2mWebhookDeliveryLogResourceSpecification },\n ],\n project: (source) => projectResourceSpecification(source as readonly ResourceSpecificationSourceBinding[]),\n }),\n managedSource({\n sourceRef: ENGINE_DOCUMENTATION_OUTBOUND_WEBHOOK_SIGNATURE_SOURCE_REF,\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.RESOURCE,\n sourceModuleBinding: \"engine/saas-specifications/src/engine/notifications/resources/webhook-config.resource.specification.ts\",\n projectorRef: RESOURCE_SPECIFICATION_FAMILY_PROJECTOR_REF,\n source: [\n { resourceType: CoreResourceType.APPLICATION_WEBHOOK_CONFIG, specification: applicationWebhookConfigResourceSpecification },\n { resourceType: CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG, specification: organizationWebhookConfigResourceSpecification },\n ],\n project: (source) => {\n const resourceProjection = projectResourceSpecification(source as readonly ResourceSpecificationSourceBinding[]) as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n return {\n ...resourceProjection,\n outboundSignaturePublication: projectWebhookPublicKeyPublicationContract(),\n };\n },\n }),\n];\n\n/**\n * Explicit engine source registry for documentation of generated applications.\n *\n * Application-owned specifications and live runtime/provider observations are intentionally absent. They enter later through accepted-application projections and\n * operational evidence, so this catalog cannot misrepresent authoring intent or static engine support as a live application fact.\n */\nconst ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_REGISTRY: readonly EngineDocumentationSpecificationManagedSource<unknown>[] = Object.freeze(\n [...MANAGED_SOURCES_UNSORTED].sort((left, right) => left.sourceRef.localeCompare(right.sourceRef)),\n);\n\n/** Immutable non-executable registry inventory for diagnostics and coverage checks. */\nexport const ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_DESCRIPTORS: readonly EngineDocumentationSpecificationManagedSourceDescriptor[] = Object.freeze(\n ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_REGISTRY.map(({ sourceRef, specificationFamilyRef, sourceModuleBinding, projectorRef }) => Object.freeze({\n sourceRef,\n specificationFamilyRef,\n sourceModuleBinding,\n projectorRef,\n })),\n);\n\nfunction assertManagedRegistry(registry: readonly EngineDocumentationSpecificationManagedSource<unknown>[]): void {\n const seen = new Set<string>();\n let previousSourceRef: string | undefined;\n for (const entry of registry) {\n if (seen.has(entry.sourceRef)) throw new Error(`duplicate engine documentation specification sourceRef: ${entry.sourceRef}`);\n if (previousSourceRef !== undefined && previousSourceRef.localeCompare(entry.sourceRef) >= 0) {\n throw new Error(\"engine documentation specification managed-source registry must be strictly sorted by sourceRef\");\n }\n if (typeof entry.project !== \"function\" || entry.projectorRef.length === 0) {\n throw new Error(`engine documentation specification source ${entry.sourceRef} has no family-safe projector`);\n }\n seen.add(entry.sourceRef);\n previousSourceRef = entry.sourceRef;\n }\n}\n\nfunction assertSemanticDto(value: EngineDocumentationSpecificationSemanticDto, sourceRef: string): void {\n const canonical = canonicalizeTechnicalDocumentationJson(value);\n const roundTrip = JSON.parse(canonical) as unknown;\n if (canonicalizeTechnicalDocumentationJson(roundTrip) !== canonical) {\n throw new Error(`engine documentation specification projector for ${sourceRef} did not produce an exact JSON-safe DTO`);\n }\n}\n\n/** Evaluates only the explicit managed bindings and returns the exact application-consumer catalog bytes plus their semantic identity. */\nexport function createEngineDocumentationSpecificationCatalogV1(): EngineDocumentationSpecificationCatalogV1 {\n assertManagedRegistry(ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_REGISTRY);\n const entries = ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_REGISTRY.map((managed) => {\n const semanticDto = managed.project(managed.source);\n assertSemanticDto(semanticDto, managed.sourceRef);\n return {\n sourceRef: managed.sourceRef,\n specificationFamilyRef: managed.specificationFamilyRef,\n sourceModuleBinding: managed.sourceModuleBinding,\n projectorRef: managed.projectorRef,\n semanticDto,\n } satisfies EngineDocumentationSpecificationCatalogEntryV1;\n });\n\n const identity = EngineDocumentationSpecificationCatalogIdentityV1Schema.parse({\n schemaVersion: 1,\n projectorRef: ENGINE_DOCUMENTATION_SPECIFICATION_CATALOG_PROJECTOR_REF,\n projectorVersion: ENGINE_DOCUMENTATION_SPECIFICATION_CATALOG_PROJECTOR_VERSION,\n entries: entries.map((entry) => ({\n sourceRef: entry.sourceRef,\n specificationFamilyRef: entry.specificationFamilyRef,\n projectorRef: entry.projectorRef,\n })),\n });\n\n const canonicalDocument = canonicalizeTechnicalDocumentationJson({\n identity,\n entries,\n });\n const sealedIdentity = deepFreezeCatalogValue(identity);\n const sealedEntries = deepFreezeCatalogValue(entries);\n const privateCanonicalBytes = encodeUtf8(canonicalDocument);\n return Object.freeze({\n identity: sealedIdentity,\n entries: sealedEntries,\n /** A fresh copy prevents callers from mutating bytes while retaining the producer's original semantic identity. */\n get canonicalBytes(): Uint8Array {\n return privateCanonicalBytes.slice();\n },\n });\n}\n"]}
1
+ {"version":3,"file":"engine-documentation-specification-catalog.companion.js","sourceRoot":"","sources":["../../../../src/technical-documentation/engine-documentation-specification-catalog.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,wBAAwB,EACxB,sBAAsB,EACtB,YAAY,EACZ,WAAW,EACX,UAAU,EACV,cAAc,EACd,6BAA6B,EAC7B,6BAA6B,EAC7B,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,2BAA2B,EAC3B,6BAA6B,EAC7B,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,4BAA4B,EAC5B,0BAA0B,EAC1B,qBAAqB,EACrB,iCAAiC,EACjC,eAAe,EACf,aAAa,EACb,YAAY,EACZ,aAAa,EACb,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,EAC5B,sBAAsB,EACtB,oBAAoB,EACpB,0CAA0C,EAC1C,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,0BAA0B,EAC1B,sCAAsC,EACtC,gCAAgC,EAEhC,kCAAkC,EAClC,iBAAiB,EAEjB,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,OAAO,CAAC,YAAY;YAClC,WAAW;SAC6C,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,uDAAuD,CAAC,KAAK,CAAC;QAC7E,aAAa,EAAE,CAAC;QAChB,YAAY,EAAE,wDAAwD;QACtE,gBAAgB,EAAE,4DAA4D;QAC9E,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YAC/B,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,sBAAsB,EAAE,KAAK,CAAC,sBAAsB;YACpD,YAAY,EAAE,KAAK,CAAC,YAAY;SACjC,CAAC,CAAC;KACJ,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,sCAAsC,CAAC;QAC/D,QAAQ;QACR,OAAO;KACR,CAAC,CAAC;IACH,MAAM,cAAc,GAAG,sBAAsB,CAAC,QAAQ,CAAC,CAAC;IACxD,MAAM,aAAa,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACtD,MAAM,qBAAqB,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,aAAa;QACtB,mHAAmH;QACnH,IAAI,cAAc;YAChB,OAAO,qBAAqB,CAAC,KAAK,EAAE,CAAC;QACvC,CAAC;KACF,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n API_KEY_CREDENTIAL_PRESENTATION,\n AUTH_METHOD_CATEGORY_MAP,\n AUTH_METHOD_FACTOR_MAP,\n ApiKeyStatus,\n ApiKeyScope,\n AuthMethod,\n AuthFactorType,\n AUDIT_EVENT_CATEGORY_MEANINGS,\n AUDIT_EVENT_SEVERITY_MEANINGS,\n AuditEventCategory,\n AuditEventSeverity,\n CoreResourceType,\n CoreResourceOperation,\n EngineCapability,\n ErrorCustomMessageReference,\n OAuthClientRegistrationOrigin,\n OAuthClientSchemaBase,\n OAuthClientStatus,\n OAuthGrantType,\n OAuthTokenEndpointAuthMethod,\n OrgOAuthClients_Operations,\n OrgApiKeys_Operations,\n AdministrativeContinuityErrorCode,\n BillingInterval,\n BillingTiming,\n DiscountType,\n InvoiceStatus,\n LimitGrantMode,\n OrganizationMemberSchema,\n OrganizationMemberStatus,\n OrganizationUnitMemberSchema,\n OrganizationUnitSchema,\n OrganizationUnitType,\n OrganizationUnit_PermissionInheritanceType,\n OrganizationUnitStatus,\n ProductType,\n PricingModel,\n PromotionDuration,\n PromotionType,\n ProrationBehavior,\n SCIM_SERVICE_BASE_PATH,\n ScimAttributeMappingSchema,\n ScimOrganizationUnitMappingEntrySchema,\n ScimProvisioningConfigBaseSchema,\n SIEMAuthMethod,\n SIEM_DELIVERY_RELIABILITY_CONTRACT,\n SIEMEventCategory,\n SIEMEventFormat,\n SIEMFilterSeverity,\n SiemExportConfigBaseSchema,\n SsoConnectionBaseSchema,\n SsoConnection_Operations,\n SsoProtocol,\n SubscriptionStatus,\n TaxDisplayMode,\n UsageSourceType,\n WebhookConfigBaseSchema,\n WildoHeaderKeys,\n COLLECTION_QUERY_PARAMETERS,\n CoreM2MNotificationChannel,\n ERROR_DEFINITIONS,\n ErrorResponseSchema,\n ErrorType,\n M2M_WEBHOOK_DELIVERY_CONTRACT,\n M2MWebhookDeliveryLogBaseSchema,\n M2MWebhookDeliveryLogStatus,\n Resources_PaginationRequestSchema,\n Resources_PaginationResponseMetadataSchema,\n WebhookEndpointProbeOutcome,\n WebhookEndpointSchema,\n ResourceOperationVariantType,\n ResourcesConfig_OperationPathUtils,\n} from \"@wildo-ai/saas-models\";\nimport {\n getZodType,\n isBackendOnlyField,\n isExcludedFromCreate,\n isExcludedFromUpdate,\n isWriteOnlySecretField,\n unwrapSchema,\n} from \"@wildo-ai/zod-decorators\";\n\nimport type { ExtractedFieldSpec } from \"../_core/utils/extract-field-specs\";\nimport { extractFieldSpecsFromFieldMap } from \"../_core/utils/extract-field-specs\";\nimport { appLevelFeatureSpecificationKeyFor, type FeatureSpecificationConfig } from \"../_core/definition-specification.schemas\";\nimport type {\n AnyResourceSpecificationConfig,\n ResourceOperationM2MSpecification,\n ResourceOperationSpecification,\n} from \"../_core/resource-specification.schemas\";\nimport type { SystemEmailTemplateSpecificationConfig } from \"../_core/system-email-template-specification.schemas\";\nimport { m2mWebhookDeliveryFeatureSpecification } from \"../engine/features/m2m-webhook-delivery.feature.specification\";\nimport { engineErrorMessageSpecifications } from \"../engine/errors/error-messages.specification\";\nimport { applicationWebhookConfigResourceSpecification, organizationWebhookConfigResourceSpecification } from \"../engine/notifications/resources/webhook-config.resource.specification\";\nimport {\n applicationM2mWebhookDeliveryLogResourceSpecification,\n organizationM2mWebhookDeliveryLogResourceSpecification,\n} from \"../engine/notifications/resources/m2m-webhook-delivery-log.resource.specification\";\nimport { authenticationSystemEmailTemplateSpecifications } from \"../engine/notifications/system-emails/authentication.system-emails.specification\";\nimport { organizationSystemEmailTemplateSpecifications } from \"../engine/notifications/system-emails/organization.system-emails.specification\";\nimport { securitySystemEmailTemplateSpecifications } from \"../engine/notifications/system-emails/security.system-emails.specification\";\nimport { subscriptionSystemEmailTemplateSpecifications } from \"../engine/notifications/system-emails/subscription.system-emails.specification\";\nimport { organizationScimProvisioningConfigResourceSpecification } from \"../engine/auth/resources/scim-provisioning-config.resource.specification\";\nimport { organizationApiKeysResourceSpecification } from \"../engine/auth/resources/organization-api-keys.resource.specification\";\nimport { organizationOAuthClientsResourceSpecification } from \"../engine/auth/resources/organization-oauth-clients.resource.specification\";\nimport { organizationSiemExportConfigResourceSpecification } from \"../engine/auth/resources/siem-export-config.resource.specification\";\nimport { auditLogsResourceSpecification } from \"../engine/compliance/resources/audit-logs.resource.specification\";\nimport { organizationSsoConnectionsResourceSpecification } from \"../engine/auth/resources/sso-connections.resource.specification\";\nimport { organizationMembersResourceSpecification } from \"../engine/organizations/resources/organization-members.resource.specification\";\nimport { organizationNotificationsResourceSpecification } from \"../engine/organizations/resources/organization-notifications.resource.specification\";\nimport { organizationPreferencesResourceSpecification } from \"../engine/organizations/resources/organization-preferences.resource.specification\";\nimport { organizationProfilesResourceSpecification } from \"../engine/organizations/resources/organization-profiles.resource.specification\";\nimport { organizationUnitMembersResourceSpecification } from \"../engine/organizations/resources/organization-unit-members.resource.specification\";\nimport { organizationUnitsResourceSpecification } from \"../engine/organizations/resources/organization-units.resource.specification\";\nimport { organizationsResourceSpecification } from \"../engine/organizations/resources/organizations.resource.specification\";\nimport { applicationApiKeysResourceSpecification } from \"../engine/applications/resources/application-api-keys.resource.specification\";\nimport { applicationOAuthClientsResourceSpecification } from \"../engine/applications/resources/application-oauth-clients.resource.specification\";\nimport { canonicalizeTechnicalDocumentationJson } from \"./technical-documentation-common.schemas\";\nimport {\n EngineDocumentationSpecificationCatalogIdentityV1Schema,\n type EngineDocumentationSpecificationCatalogIdentityV1,\n} from \"./technical-documentation-evidence.schemas\";\n\ntype JsonPrimitive = boolean | number | string | null;\nexport type EngineDocumentationSpecificationSemanticDto = JsonPrimitive | readonly EngineDocumentationSpecificationSemanticDto[] | {\n readonly [key: string]: EngineDocumentationSpecificationSemanticDto;\n};\n\n/** Closed catalog families. They describe application behavior for consumers; they are not Wildo authoring families. */\nexport enum EngineDocumentationSpecificationFamilyRef {\n CONSUMER_FACT = \"specification-family:consumer-fact\",\n ENGINE_CAPABILITY = \"specification-family:engine-capability\",\n ERROR_VOCABULARY = \"specification-family:error-vocabulary\",\n FEATURE = \"specification-family:feature\",\n RESOURCE = \"specification-family:resource\",\n SYSTEM_EMAIL_TEMPLATE_GROUP = \"specification-family:system-email-template-group\",\n}\n\nexport enum EngineDocumentationErrorCoverageState {\n AUTHORED_APPLICATION_CONSUMER_SEMANTICS = \"AUTHORED_APPLICATION_CONSUMER_SEMANTICS\",\n DELIBERATELY_WITHOUT_AUTHORED_APPLICATION_CONSUMER_SEMANTICS = \"DELIBERATELY_WITHOUT_AUTHORED_APPLICATION_CONSUMER_SEMANTICS\",\n}\n\nexport enum EngineDocumentationPublicKeyWritePolicy {\n READ_ONLY = \"READ_ONLY\",\n}\n\nexport const ENGINE_DOCUMENTATION_SPECIFICATION_CATALOG_PROJECTOR_REF = \"projector:engine-documentation-specification-catalog:v1\";\nexport const ENGINE_DOCUMENTATION_SPECIFICATION_CATALOG_PROJECTOR_VERSION = 1;\n\ninterface EngineDocumentationSpecificationManagedSource<TSource = unknown> {\n readonly sourceRef: string;\n readonly specificationFamilyRef: EngineDocumentationSpecificationFamilyRef;\n readonly sourceModuleBinding: string;\n readonly projectorRef: string;\n readonly source: TSource;\n readonly project: (source: TSource) => EngineDocumentationSpecificationSemanticDto;\n}\n\nexport interface EngineDocumentationSpecificationManagedSourceDescriptor {\n readonly sourceRef: string;\n readonly specificationFamilyRef: EngineDocumentationSpecificationFamilyRef;\n readonly sourceModuleBinding: string;\n readonly projectorRef: string;\n}\n\nexport interface EngineDocumentationSpecificationCatalogEntryV1 {\n readonly sourceRef: string;\n readonly specificationFamilyRef: EngineDocumentationSpecificationFamilyRef;\n readonly sourceModuleBinding: string;\n readonly projectorRef: string;\n readonly semanticDto: EngineDocumentationSpecificationSemanticDto;\n}\n\nexport interface EngineDocumentationSpecificationCatalogV1 {\n readonly identity: EngineDocumentationSpecificationCatalogIdentityV1;\n readonly entries: readonly EngineDocumentationSpecificationCatalogEntryV1[];\n /** Exact UTF-8 bytes of the canonical self-describing catalog document. */\n readonly canonicalBytes: Uint8Array;\n}\n\ninterface ErrorVocabularySource {\n readonly vocabulary: typeof ErrorCustomMessageReference;\n readonly specifications: typeof engineErrorMessageSpecifications;\n}\n\ninterface EngineCapabilitySource {\n readonly capability: EngineCapability;\n}\n\ninterface ResourceSpecificationSourceBinding {\n readonly resourceType: string;\n readonly specification: AnyResourceSpecificationConfig;\n}\n\n/**\n * A deliberately small, positive projection of a model contract that is safe\n * to put into application-consumer documentation. It is not a generic schema\n * extractor: each fact has an explicit source binding and a purpose-built\n * projector, so backend-only and write-only fields cannot enter by accident.\n */\ninterface AuthenticationMethodsConsumerFactSource {\n readonly methods: typeof AuthMethod;\n readonly categories: typeof AUTH_METHOD_CATEGORY_MAP;\n readonly factorTypes: typeof AUTH_METHOD_FACTOR_MAP;\n}\n\ninterface ApiKeysConsumerFactSource {\n readonly authorizationHeader: string;\n readonly prefixesByScope: Readonly<Record<ApiKeyScope, string>>;\n readonly statuses: typeof ApiKeyStatus;\n readonly organizationSpecification: AnyResourceSpecificationConfig;\n readonly applicationSpecification: AnyResourceSpecificationConfig;\n}\n\ninterface SingleSignOnConsumerFactSource {\n readonly protocols: typeof SsoProtocol;\n readonly connectionFieldNames: readonly string[];\n readonly specification: AnyResourceSpecificationConfig;\n readonly defaults: {\n readonly shared: Readonly<Record<string, boolean | readonly string[] | string | null>>;\n readonly oidc: Readonly<Record<string, boolean | number | readonly string[] | string | null>>;\n readonly saml: Readonly<Record<string, boolean | number | string | null>>;\n };\n}\n\ninterface OAuthClientsConsumerFactSource {\n readonly grantTypes: typeof OAuthGrantType;\n readonly tokenEndpointAuthMethods: typeof OAuthTokenEndpointAuthMethod;\n readonly registrationOrigins: typeof OAuthClientRegistrationOrigin;\n readonly statuses: typeof OAuthClientStatus;\n readonly clientFieldNames: readonly string[];\n readonly organizationSpecification: AnyResourceSpecificationConfig;\n readonly applicationSpecification: AnyResourceSpecificationConfig;\n}\n\ninterface ScimProvisioningConsumerFactSource {\n readonly provisioningFieldNames: readonly string[];\n readonly organizationUnitMappingFieldNames: readonly string[];\n readonly specification: AnyResourceSpecificationConfig;\n readonly defaults: {\n readonly autoCreateUsers: boolean;\n readonly autoVerifyEmail: boolean;\n readonly autoDeactivateUsers: boolean;\n readonly attributeMapping: {\n readonly email: string;\n readonly firstName: string;\n readonly lastName: string;\n readonly displayName: string;\n };\n };\n}\n\ninterface SiemExportConsumerFactSource {\n readonly configurationFieldNames: readonly string[];\n readonly specification: AnyResourceSpecificationConfig;\n readonly defaults: {\n readonly enabled: boolean;\n readonly webhookUrl: string;\n readonly authMethod: string;\n readonly authHeaderName: string;\n readonly eventFormat: string;\n readonly eventFilter: {\n readonly categories: readonly string[];\n readonly severityMinimum: string;\n readonly specificEventTypes?: readonly string[];\n };\n readonly delivery: {\n readonly retryAttempts: number;\n readonly retryBackoffSeconds: number;\n readonly timeoutSeconds: number;\n };\n };\n}\n\ninterface RestConventionsConsumerFactSource {\n readonly errorDefinitions: typeof ERROR_DEFINITIONS;\n readonly errorEnvelopeFieldNames: readonly string[];\n readonly queryParameters: typeof COLLECTION_QUERY_PARAMETERS;\n readonly pagination: {\n readonly defaultPage: number;\n readonly defaultLimit: number;\n readonly maxLimit: number;\n readonly requestFieldNames: readonly string[];\n readonly responseFieldNames: readonly string[];\n };\n readonly headers: {\n readonly authorization: string;\n readonly ifMatch: string;\n readonly etag: string;\n readonly rateLimitLimit: string;\n readonly rateLimitRemaining: string;\n readonly rateLimitReset: string;\n };\n}\n\ninterface OutboundWebhooksConsumerFactSource {\n readonly contract: typeof M2M_WEBHOOK_DELIVERY_CONTRACT;\n readonly endpointFieldNames: readonly string[];\n readonly configurationFieldNames: readonly string[];\n readonly deliveryLogFieldNames: readonly string[];\n readonly deliveryStatuses: typeof M2MWebhookDeliveryLogStatus;\n readonly probeOutcomes: typeof WebhookEndpointProbeOutcome;\n readonly channels: typeof CoreM2MNotificationChannel;\n}\n\ninterface OrganizationUnitsConsumerFactSource {\n readonly unitFieldNames: readonly string[];\n readonly unitMemberFieldNames: readonly string[];\n readonly types: typeof OrganizationUnitType;\n readonly statuses: typeof OrganizationUnitStatus;\n readonly inheritanceTypes: typeof OrganizationUnit_PermissionInheritanceType;\n}\n\n/**\n * Public membership semantics deliberately projected from the organization\n * membership model. The source contains additional internal presentation and\n * audit fields, but this fact is intentionally limited to the invitation and\n * access lifecycle that an organization administrator must understand.\n */\ninterface OrganizationMembershipAdministrationConsumerFactSource {\n readonly membershipFieldNames: readonly string[];\n readonly statuses: typeof OrganizationMemberStatus;\n readonly continuityCodes: typeof AdministrativeContinuityErrorCode;\n}\n\n/**\n * Public billing vocabulary used by customer and organization-administrator\n * guidance. The projection intentionally excludes provider identifiers,\n * checkout metadata, payment details and backend synchronization topology.\n */\ninterface BillingLifecycleConsumerFactSource {\n readonly productTypes: typeof ProductType;\n readonly pricingModels: typeof PricingModel;\n readonly billingIntervals: typeof BillingInterval;\n readonly taxDisplayModes: typeof TaxDisplayMode;\n readonly limitGrantModes: typeof LimitGrantMode;\n readonly promotionTypes: typeof PromotionType;\n readonly discountTypes: typeof DiscountType;\n readonly promotionDurations: typeof PromotionDuration;\n readonly usageSourceTypes: typeof UsageSourceType;\n readonly subscriptionStatuses: typeof SubscriptionStatus;\n readonly invoiceStatuses: typeof InvoiceStatus;\n readonly changeTimings: typeof BillingTiming;\n readonly prorationBehaviors: typeof ProrationBehavior;\n}\n\nfunction optionalString(value: unknown): string | null {\n return typeof value === \"string\" ? value : null;\n}\n\nfunction encodeUtf8(value: string): Uint8Array {\n const bytes: number[] = [];\n for (const character of value) {\n const codePoint = character.codePointAt(0);\n if (codePoint === undefined) continue;\n if (codePoint <= 0x7f) bytes.push(codePoint);\n else if (codePoint <= 0x7ff) bytes.push(0xc0 | (codePoint >> 6), 0x80 | (codePoint & 0x3f));\n else if (codePoint <= 0xffff) bytes.push(0xe0 | (codePoint >> 12), 0x80 | ((codePoint >> 6) & 0x3f), 0x80 | (codePoint & 0x3f));\n else bytes.push(0xf0 | (codePoint >> 18), 0x80 | ((codePoint >> 12) & 0x3f), 0x80 | ((codePoint >> 6) & 0x3f), 0x80 | (codePoint & 0x3f));\n }\n return Uint8Array.from(bytes);\n}\n\nfunction deepFreezeCatalogValue<T>(value: T): T {\n if (value !== null && typeof value === \"object\") {\n for (const member of Object.values(value)) deepFreezeCatalogValue(member);\n Object.freeze(value);\n }\n return value;\n}\n\nfunction optionalNumber(value: unknown): number | null {\n return typeof value === \"number\" && Number.isFinite(value) ? value : null;\n}\n\nfunction optionalBoolean(value: unknown): boolean | null {\n return typeof value === \"boolean\" ? value : null;\n}\n\n/**\n * Customer-facing words for the closed vocabularies these facts print.\n *\n * They replace a helper that title-cased a constant — the shape\n * `.claude/rules/display-text-comes-from-i18n.md` forbids: text nobody wrote, untranslatable,\n * unsearchable, and wrong on every acronym it met (`ORG_SAML` reached a shipped page as \"Org Saml\").\n * The sign-in-method and audit vocabularies were fixed this way earlier; these are the rest, and\n * with them the helper goes.\n *\n * ## Why they live here and not in the i18n tree\n *\n * The rule's home for display text is the application's label tree, and that is right for anything a\n * running application RENDERS. This is a build-time document: the companion projects these words\n * into markdown once, with no locale in play and no bundle to resolve against, so an i18n key here\n * would be a lookup with no table behind it. What the rule forbids is DERIVING text from an\n * identifier, and a `Record<Enum, …>` is the opposite — authored words, beside the vocabulary they\n * explain, where a new member is a compile error rather than a new piece of invented English on a\n * page that has already shipped.\n *\n * ## Where a WIRE VALUE is the honest label\n *\n * `authorization_code` is what an integrator types into a client registration, and \"Authorization\n * Code\" is not. So those tables print the value in code font beside an authored meaning, which is\n * what the status tables next to them already did.\n */\nconst API_KEY_SCOPE_MEANINGS: Readonly<Record<ApiKeyScope, { readonly name: string; readonly meaning: string }>> = {\n [ApiKeyScope.ORGANIZATION]: {\n name: 'Organization key',\n meaning: 'Acts inside one organization, and can reach only what that organization can see.',\n },\n [ApiKeyScope.APPLICATION]: {\n name: 'Application key',\n meaning: 'Acts for the application itself, across organizations, for operator and integration work.',\n },\n};\n\n/** What each OAuth grant is FOR, said to somebody deciding which one to register. */\nconst OAUTH_GRANT_TYPE_MEANINGS: Readonly<Record<OAuthGrantType, string>> = {\n [OAuthGrantType.AUTHORIZATION_CODE]: 'A person signs in and authorizes your client, which then acts on their behalf.',\n [OAuthGrantType.CLIENT_CREDENTIALS]: 'Your client acts as itself, with no person involved — server-to-server work.',\n [OAuthGrantType.REFRESH_TOKEN]: 'Your client exchanges a refresh token for a new access token without asking the person again.',\n};\n\n/** The membership states, as a reader meets them in the interface. */\nconst ORGANIZATION_MEMBER_STATUS_NAMES: Readonly<Record<OrganizationMemberStatus, string>> = {\n [OrganizationMemberStatus.INVITED]: 'Invited',\n [OrganizationMemberStatus.ACTIVE]: 'Active',\n [OrganizationMemberStatus.INACTIVE]: 'Inactive',\n [OrganizationMemberStatus.SUSPENDED]: 'Suspended',\n};\n\n/**\n * The credential lifecycle actions, named once for both the API-key and the OAuth-client tables.\n *\n * Keyed by the operation identifier the specification is addressed by, and EXHAUSTIVE BY TYPE over\n * `OrgApiKeys_Operations`: adding an operation there fails to compile here rather than reaching a\n * customer's page as a title-cased identifier.\n *\n * `OrgOAuthClients_Operations` is deliberately NOT in the key union even though the OAuth table\n * reads this map. Its two members are a value-subset of the API-key enum (`rotate`, `regenerate`),\n * and TypeScript cannot hold two enum members with the same string as distinct keys — so including\n * it makes the object literal uncompilable rather than stricter. The lookup is by VALUE, which is\n * why that works today and why the runtime refusal below is not decoration: an OAuth-client\n * operation added with no API-key namesake is exactly the case no type here can see.\n */\ntype CredentialLifecycleAction =\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.DELETE\n | OrgApiKeys_Operations;\n\nconst CREDENTIAL_LIFECYCLE_ACTION_NAMES: Readonly<Record<CredentialLifecycleAction, string>> = {\n [CoreResourceOperation.CREATE]: 'Create',\n [CoreResourceOperation.DELETE]: 'Delete',\n [OrgApiKeys_Operations.ROTATE]: 'Rotate',\n [OrgApiKeys_Operations.REGENERATE]: 'Regenerate',\n [OrgApiKeys_Operations.DEACTIVATE]: 'Deactivate',\n [OrgApiKeys_Operations.REACTIVATE]: 'Reactivate',\n [OrgApiKeys_Operations.EXTEND_EXPIRY]: 'Extend expiry',\n [OrgApiKeys_Operations.USAGE_STATS]: 'Usage statistics',\n /*\n * Present because the map is EXHAUSTIVE BY TYPE, not because a customer page renders it: the\n * lifecycle tables below enumerate an authored array, and `expire` is deliberately absent from it.\n * It is an INTERNAL_CALL verb the nightly sweep dispatches (#413) — nobody performs it, so listing\n * it beside Rotate and Deactivate would document an action with no door.\n */\n [OrgApiKeys_Operations.EXPIRE]: 'Expire',\n};\n\n/** The authored name for a credential lifecycle action, or a refusal — never a derived one. */\nfunction credentialLifecycleActionName(operationId: string): string {\n const name = (CREDENTIAL_LIFECYCLE_ACTION_NAMES as Readonly<Record<string, string | undefined>>)[operationId];\n if (name === undefined) {\n throw new Error(`Credential lifecycle action '${operationId}' has no authored customer-facing name`);\n }\n return name;\n}\n\n/**\n * Customer-facing words for each sign-in method.\n *\n * Authored, not derived. The helper this replaced title-cased a constant, which turned `ORG_SAML` into\n * \"Org Saml\", `SMS_OTP` into \"Sms Otp\" and `TOTP` into \"Totp\" — text no product would print, and\n * text no reader can search for. A closed vocabulary's WORDS belong beside the vocabulary, and the\n * `Record<AuthMethod, …>` makes a new method a compile error here rather than a new piece of\n * invented English on a shipped page.\n */\nconst AUTH_METHOD_CONSUMER_MEANINGS: Readonly<Record<AuthMethod, { readonly name: string; readonly meaning: string }>> = {\n [AuthMethod.PASSWORD]: { name: 'Password', meaning: 'A password the person sets and the application stores only as a verifier.' },\n [AuthMethod.MAGIC_LINK]: { name: 'Magic link', meaning: 'A single-use link sent to the person\\'s email address; no password is involved.' },\n [AuthMethod.EXTERNAL_OAUTH2]: { name: 'External identity provider', meaning: 'Sign-in through a third-party account the application accepts, such as a social or vendor login.' },\n [AuthMethod.ORG_SAML]: { name: 'Organization SAML single sign-on', meaning: 'The organization\\'s own identity provider authenticates the person over SAML.' },\n [AuthMethod.ORG_OPENID_CONNECT]: { name: 'Organization OpenID Connect single sign-on', meaning: 'The organization\\'s own identity provider authenticates the person over OpenID Connect.' },\n [AuthMethod.TOTP]: { name: 'Authenticator app code', meaning: 'A rotating six-digit code from an authenticator app, used as a second factor.' },\n [AuthMethod.SMS_OTP]: { name: 'SMS code', meaning: 'A one-time code sent by text message.' },\n [AuthMethod.EMAIL_OTP]: { name: 'Email code', meaning: 'A one-time code sent by email, used as a second factor.' },\n [AuthMethod.PASSKEY]: { name: 'Passkey', meaning: 'A device-held credential unlocked by the device\\'s own biometric or screen lock; nothing is typed.' },\n};\n\n/** Where a method may sit in the sign-in sequence, said the way a reader experiences it. */\nconst AUTH_FACTOR_POSITION_MEANINGS: Readonly<Record<AuthFactorType, string>> = {\n [AuthFactorType.FIRST_ONLY]: 'Starts the sign-in',\n [AuthFactorType.SECOND_ONLY]: 'Confirms a sign-in already started',\n [AuthFactorType.FIRST_OR_SECOND]: 'Starts a sign-in or confirms one',\n [AuthFactorType.ANY]: 'Usable at any point in the sign-in',\n};\n\n/**\n * The customer-facing words for one sign-in method.\n *\n * Exported because the application-side projection names the SUBSET a given application enables,\n * and both surfaces must call a method the same thing. The words live here, beside the vocabulary\n * they describe, rather than being derived from the constant's spelling.\n */\ninterface AuditTrailConsumerFactSource {\n readonly categories: typeof AuditEventCategory;\n readonly severities: typeof AuditEventSeverity;\n readonly filterFieldNames: readonly string[];\n readonly sortFieldNames: readonly string[];\n readonly maxRecordsPerPage: number;\n readonly specification: AnyResourceSpecificationConfig;\n}\n\n/** What a reader can narrow the trail by, said in the words the search screen and the API use. */\nfunction projectAuditTrailConsumerFact(source: AuditTrailConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const categoryRows = Object.values(source.categories).map((category) => {\n const meanings = AUDIT_EVENT_CATEGORY_MEANINGS[category];\n if (meanings === undefined) throw new Error(`no customer-facing words are authored for audit category ${category}`);\n return `| ${meanings.name} | \\`${category}\\` | ${meanings.meaning} |`;\n }).join(\"\\n\");\n const severityRows = Object.values(source.severities).map((severity) => {\n const meanings = AUDIT_EVENT_SEVERITY_MEANINGS[severity];\n if (meanings === undefined) throw new Error(`no customer-facing words are authored for audit severity ${severity}`);\n return `| ${meanings.name} | \\`${severity}\\` | ${meanings.meaning} |`;\n }).join(\"\\n\");\n const filters = source.filterFieldNames.map((field) => `\\`${field}\\``).join(', ');\n const sorts = source.sortFieldNames.map((field) => `\\`${field}\\``).join(', ');\n return {\n categoriesMarkdown: `| Category | Filter value | What it selects |\\n| --- | --- | --- |\\n${categoryRows}`,\n severitiesMarkdown: `| Severity | Filter value | What it means |\\n| --- | --- | --- |\\n${severityRows}`,\n queryMarkdown: `You can narrow the trail by ${filters}, and order it by ${sorts}. A single page returns at most ${source.maxRecordsPerPage} records; ask for the next page rather than widening the range until everything fits.`,\n filterFieldNames: source.filterFieldNames,\n sortFieldNames: source.sortFieldNames,\n maxRecordsPerPage: source.maxRecordsPerPage,\n };\n}\n\nexport function authenticationMethodConsumerWords(method: AuthMethod): { readonly name: string; readonly meaning: string } {\n const meanings = AUTH_METHOD_CONSUMER_MEANINGS[method];\n if (meanings === undefined) throw new Error(`no customer-facing words are authored for sign-in method ${method}`);\n return meanings;\n}\n\nfunction projectAuthenticationMethodsConsumerFact(source: AuthenticationMethodsConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const rows = Object.values(source.methods).map((method) => {\n const meanings = AUTH_METHOD_CONSUMER_MEANINGS[method];\n if (meanings === undefined) throw new Error(`authentication-methods consumer fact has no customer-facing words for ${method}`);\n const factorType = source.factorTypes[method];\n const position = AUTH_FACTOR_POSITION_MEANINGS[factorType];\n if (position === undefined) throw new Error(`authentication-methods consumer fact has no reader meaning for factor position ${factorType}`);\n return { method, name: meanings.name, meaning: meanings.meaning, category: source.categories[method], factorType, position };\n });\n const table = rows.map((row) => `| ${row.name} | ${row.meaning} | ${row.position} |`).join(\"\\n\");\n return {\n markdown: `These are the sign-in methods this application can present. It is a catalogue, not a promise: which of them are offered depends on how the application is configured, and an organization can narrow that further for its own people. The sign-in screen shows the methods actually available to you.\\n\\n| Method | What it is | Where it fits |\\n| --- | --- | --- |\\n${table}`,\n methods: rows,\n };\n}\n\nfunction projectApiKeysConsumerFact(source: ApiKeysConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const rows = Object.values(ApiKeyScope).map((scope) => ({ scope, prefix: source.prefixesByScope[scope] }));\n const table = rows.map((row) => `| ${API_KEY_SCOPE_MEANINGS[row.scope].name} | \\`${row.prefix}\\` | ${API_KEY_SCOPE_MEANINGS[row.scope].meaning} |`).join(\"\\n\");\n const organizationCredential = `${source.prefixesByScope[ApiKeyScope.ORGANIZATION]}<api-key>`;\n\n const statusField = projectResourceFields(source.organizationSpecification).find((candidate) => {\n return candidate !== null && typeof candidate === \"object\" && !Array.isArray(candidate)\n && (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).fieldName === \"status\";\n });\n if (statusField === undefined || statusField === null || typeof statusField !== \"object\" || Array.isArray(statusField)) {\n throw new Error(\"API-key consumer fact is missing the specification-owned status field\");\n }\n const statusValues = (statusField as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).enumValues;\n if (!Array.isArray(statusValues)) throw new Error(\"API-key consumer fact is missing specification-owned status meanings\");\n const statusRows = statusValues.map((candidate) => {\n if (candidate === null || typeof candidate !== \"object\" || Array.isArray(candidate)) {\n throw new Error(\"API-key consumer fact has an invalid status meaning\");\n }\n const value = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).value;\n const meaning = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).meaning;\n if (typeof value !== \"string\" || typeof meaning !== \"string\") throw new Error(\"API-key consumer fact has an incomplete status meaning\");\n return { value, meaning };\n });\n\n const specificationSummary = (label: string, specification: AnyResourceSpecificationConfig): string => {\n const { purpose, businessRole, lifecycleRole } = specification;\n if (typeof purpose !== \"string\" || typeof businessRole !== \"string\" || typeof lifecycleRole !== \"string\") {\n throw new Error(`API-key consumer fact is missing the ${label} resource summary`);\n }\n return `| ${label} | ${purpose} | ${businessRole} | ${lifecycleRole} |`;\n };\n\n const operationSummary = (operationId: string): { readonly action: string; readonly purpose: string; readonly outcome: string } => {\n const operation = source.organizationSpecification.operations?.[operationId] as ResourceOperationSpecification | undefined;\n if (operation === undefined || typeof operation.purpose !== \"string\" || typeof operation.outcome !== \"string\") {\n throw new Error(`API-key consumer fact is missing specification operation ${operationId}`);\n }\n const applicationOperation = source.applicationSpecification.operations?.[operationId] as ResourceOperationSpecification | undefined;\n if (applicationOperation === undefined) throw new Error(`Application API-key specification is missing operation ${operationId}`);\n return { action: credentialLifecycleActionName(operationId), purpose: operation.purpose, outcome: operation.outcome };\n };\n const lifecycle = [\n CoreResourceOperation.CREATE,\n OrgApiKeys_Operations.ROTATE,\n OrgApiKeys_Operations.REGENERATE,\n OrgApiKeys_Operations.DEACTIVATE,\n OrgApiKeys_Operations.REACTIVATE,\n OrgApiKeys_Operations.EXTEND_EXPIRY,\n ].map(operationSummary);\n const usageStats = operationSummary(OrgApiKeys_Operations.USAGE_STATS);\n\n return {\n markdown: `Present the complete opaque key in the \\`${source.authorizationHeader}\\` field, without a \\`Bearer\\` scheme. This raw scheme-less presentation is the application's API-key wire contract, not OAuth bearer-token syntax. The prefix identifies the credential scope; it does not grant broader permissions.\\n\\n| Key scope | Credential prefix | What it can reach |\\n| --- | --- | --- |\\n${table}`,\n authorizationHeader: source.authorizationHeader,\n requestHeader: `Authorization: ${organizationCredential}`,\n curlRequestHeader: `--header \"Authorization: ${organizationCredential}\"`,\n scopes: rows,\n scopeComparisonMarkdown: `| Scope | Intended use | Identity boundary | Lifecycle owner |\\n| --- | --- | --- | --- |\\n${specificationSummary(\"Organization key\", source.organizationSpecification)}\\n${specificationSummary(\"Application key\", source.applicationSpecification)}`,\n statusMarkdown: `| Status | Maintained meaning |\\n| --- | --- |\\n${statusRows.map(({ value, meaning }) => `| \\`${value}\\` | ${meaning} |`).join(\"\\n\")}`,\n lifecycleMarkdown: `| Action | Maintained purpose | Result to verify |\\n| --- | --- | --- |\\n${lifecycle.map(({ action, purpose, outcome }) => `| ${action} | ${purpose} | ${outcome} |`).join(\"\\n\")}`,\n usageStatisticsLimitationMarkdown: `> **Current usage-statistics limitation:** ${usageStats.outcome}`,\n statuses: statusRows,\n lifecycle,\n };\n}\n\nfunction assertConsumerFactFields(sourceRef: string, fieldNames: readonly string[], requiredFields: readonly string[]): void {\n const missing = requiredFields.filter((field) => !fieldNames.includes(field));\n if (missing.length > 0) throw new Error(`${sourceRef} source contract is missing required fields: ${missing.join(', ')}`);\n}\n\nfunction createSingleSignOnConsumerFactDefaults(): SingleSignOnConsumerFactSource['defaults'] {\n const samlConnection = SsoConnectionBaseSchema.parse({\n _id: 'consumer-fact-saml',\n protocol: SsoProtocol.SAML,\n displayName: 'Consumer fact projection',\n saml: {\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n x509Certificates: ['consumer-fact-projection'],\n attributeMapping: {},\n auditSettings: {},\n },\n });\n const oidcConnection = SsoConnectionBaseSchema.parse({\n _id: 'consumer-fact-oidc',\n protocol: SsoProtocol.OIDC,\n displayName: 'Consumer fact projection',\n oidc: {\n clientId: 'consumer-fact-projection',\n clientSecret: 'consumer-fact-projection',\n claimsMapping: {},\n auditSettings: {},\n },\n });\n if (samlConnection.saml === undefined || oidcConnection.oidc === undefined) {\n throw new Error('single-sign-on consumer defaults require both protocol configurations');\n }\n\n // Copy only explicitly approved public configuration values. The parsed\n // fixtures also contain certificate and client-secret material required to\n // exercise schema defaults; those values never enter this projection.\n return {\n shared: {\n enabled: samlConnection.enabled,\n isDefault: samlConnection.isDefault,\n autoCreateUsers: samlConnection.autoCreateUsers,\n autoVerifyEmail: samlConnection.autoVerifyEmail,\n defaultRole: samlConnection.defaultRole ?? null,\n allowedDomains: [...samlConnection.allowedDomains],\n roleMapping: samlConnection.roleMapping === undefined ? null : 'configured map',\n groupMapping: samlConnection.groupMapping === undefined ? null : 'configured map',\n },\n oidc: {\n templateMode: oidcConnection.oidc.templateMode,\n scopes: [...oidcConnection.oidc.scopes],\n responseType: oidcConnection.oidc.responseType,\n responseMode: oidcConnection.oidc.responseMode ?? null,\n // No `validateIssuer` / `validateAudience` / `clockTolerance`: removed from the schema on\n // 2026-09-08 (#419) because the ID-token verification is unconditional and they could only\n // have weakened it. Documenting them as \"accepted values\" told an operator the opposite.\n acrValues: oidcConnection.oidc.acrValues ? [...oidcConnection.oidc.acrValues] : null,\n maxAge: oidcConnection.oidc.maxAge ?? null,\n prompt: oidcConnection.oidc.prompt ?? null,\n reAuthenticationEnabled: oidcConnection.oidc.reAuthenticationEnabled,\n pkceEnabled: oidcConnection.oidc.pkceEnabled,\n pkceMethod: oidcConnection.oidc.pkceMethod,\n },\n saml: {\n signRequests: samlConnection.saml.signRequests,\n wantAssertionsSigned: samlConnection.saml.wantAssertionsSigned,\n allowedClockDrift: samlConnection.saml.allowedClockDrift,\n forceAuthn: samlConnection.saml.forceAuthn,\n reAuthenticationEnabled: samlConnection.saml.reAuthenticationEnabled,\n maxAuthAge: samlConnection.saml.maxAuthAge ?? null,\n nameIdFormat: samlConnection.saml.nameIdFormat,\n allowIdpInitiated: samlConnection.saml.allowIdpInitiated,\n },\n };\n}\n\nfunction projectSingleSignOnConsumerFact(source: SingleSignOnConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('single-sign-on', source.connectionFieldNames, [\n 'protocol',\n 'enabled',\n 'isDefault',\n 'autoCreateUsers',\n 'autoVerifyEmail',\n 'defaultRole',\n 'allowedDomains',\n 'roleMapping',\n 'groupMapping',\n ]);\n const protocols = Object.values(source.protocols).map((protocol) => ({\n protocol,\n label: protocol === SsoProtocol.OIDC ? 'OpenID Connect' : 'SAML',\n }));\n const table = protocols.map(({ label }) => `| ${label} |`).join('\\n');\n const operationByKey = source.specification.operations ?? {};\n const testConnection = operationByKey[SsoConnection_Operations.TEST_CONNECTION];\n const discoverEndpoints = operationByKey[SsoConnection_Operations.DISCOVER_ENDPOINTS];\n if (testConnection === undefined || discoverEndpoints === undefined) {\n throw new Error('single-sign-on consumer fact requires TEST_CONNECTION and DISCOVER_ENDPOINTS operation semantics');\n }\n const shared = source.defaults.shared;\n const oidc = source.defaults.oidc;\n const saml = source.defaults.saml;\n return {\n markdown: `An organization can configure one or more SSO connections. A connection has an explicit enabled state and can be selected as the default sign-in connection; the application’s sign-in experience remains authoritative for the current person and organization.\\n\\n| Supported connection protocol |\\n| --- |\\n${table}`,\n protocols,\n connectionControls: { enabled: true, defaultConnection: true },\n connectionConfigurationMarkdown: `| Configuration | Accepted/default value | What it changes |\\n| --- | --- | --- |\\n| \\`enabled\\` | **${String(shared.enabled)}** | Controls whether this connection can participate in sign-in. Keep it off until a controlled end-to-end sign-in has passed. |\\n| \\`isDefault\\` | **${String(shared.isDefault)}** | Lets the sign-in journey choose this connection automatically. It does not prove the connection is healthy. |\\n| \\`allowedDomains\\` | **Empty list** by default | Restricts accepted identities by email domain. An empty list means no connection-level domain restriction, so configure an explicit allow-list for an organization connection. |\\n| \\`autoCreateUsers\\` | **${String(shared.autoCreateUsers)}** | Allows an eligible first SSO sign-in to create the application user and organization membership. Turn it off when membership must already exist. |\\n| \\`autoVerifyEmail\\` | **${String(shared.autoVerifyEmail)}** | Treats the provider-supplied email as verified during enterprise provisioning. Use only with a provider and mapping that establish the email claim reliably. |\\n| \\`defaultRole\\` | **Not set** | Supplies the fallback organization role when no external role/group mapping produces one. Keep this non-administrative. |\\n| \\`roleMapping\\` | **Not set** | Maps exact external role values to application organization roles. Unmapped values do not become roles. |\\n| \\`groupMapping\\` | **Not set** | Maps exact external group values to one or more application organization roles. Review it as an access-control change. |\\n`,\n oidcConfigurationMarkdown: `| OIDC configuration | Accepted/default value | Operational meaning |\\n| --- | --- | --- |\\n| \\`templateMode\\` | **${String(oidc.templateMode)}** | Chooses provider template, issuer discovery, or manually supplied endpoints. |\\n| \\`templateOverrides\\` | Required in template mode when the provider's template declares placeholders | Fills the placeholders in the provider's endpoints — for Microsoft, \\`tenantid\\` must be this organization's own Entra tenant id. A connection that leaves one unfilled is REFUSED at sign-in rather than resolved, because the unresolved form is not a narrower trust boundary but a wider one: the tenant would otherwise be read from the token being authenticated, and any Microsoft tenant would be accepted. |\\n| \\`discoveryUrl\\` / \\`issuer\\` | Optional URL | In discovery mode, identifies the provider metadata and issuer trust boundary. |\\n| \\`authorizationEndpoint\\` / \\`tokenEndpoint\\` | Required in manual mode | Browser authorization destination and backend code-exchange destination. Both must belong to the same provider environment. |\\n| \\`userInfoEndpoint\\` / \\`jwksUri\\` | Optional URLs | Supplies identity claims and signing keys when the selected provider journey uses them. |\\n| \\`clientId\\` | Required | Public identity of this application registration at the provider. |\\n| \\`clientSecret\\` | Required, write-only | Backend credential for the token exchange. It is masked on client reads and must never appear in documentation evidence. |\\n| \\`scopes\\` | **${(oidc.scopes as readonly string[]).map((scope) => `\\`${scope}\\``).join(', ')}** | Requests the identity claims needed to map the person. These scopes do not grant application roles. |\\n| \\`responseType\\` | **${String(oidc.responseType)}** | Uses the authorization-code journey by default. |\\n| \\`responseMode\\` | Provider default when unset | Chooses how the provider returns the authorization response. |\\n| \\`acrValues\\` | Optional list | Authentication context classes this connection REQUIRES of the provider — the step-up demand. Sent as \\`acr_values\\`; a provider that cannot satisfy them decides what to do. |\\n| \\`maxAge\\` / \\`prompt\\` | Optional | Maximum acceptable age of the person's existing provider authentication, and whether the provider must re-authenticate, re-consent, or must not prompt. |\\n| \\`reAuthenticationEnabled\\` | **${String(oidc.reAuthenticationEnabled)}** | Lets a person whose account is linked through this connection confirm it is them by signing in again here, when adding or removing a way to sign in. The request forces a fresh sign-in (\\`prompt=login\\`, \\`max_age=0\\`) and requires \\`auth_time\\` in the ID token; a sign-in older than the request is refused. Turn it on only for a provider that honours both. |\\n| ID-token verification | Always on | Issuer and audience are verified on every ID token and the maximum token age is fixed. It is not configurable, deliberately: the only available adjustment would be to weaken it. |\\n| \\`pkceEnabled\\` / \\`pkceMethod\\` | **${String(oidc.pkceEnabled)} / ${String(oidc.pkceMethod)}** | Binds the authorization request to its code exchange. Keep S256 enabled. |\\n| Claims mapping | \\`email\\`, \\`given_name\\`, \\`family_name\\` | Maps stable provider claims to the application person; optional role, group, department and employee-id claims remain explicit. |`,\n samlConfigurationMarkdown: `| SAML configuration | Accepted/default value | Operational meaning |\\n| --- | --- | --- |\\n| \\`entityId\\` | Required | Stable identity of the provider tenant the application trusts. |\\n| \\`ssoUrl\\` | Required URL | Destination for SAML authentication requests. |\\n| \\`sloUrl\\` | Optional URL | Provider destination used when single logout is configured. |\\n| Signing certificates | At least one required | Public certificates used to validate provider signatures. Plan overlap during certificate rotation. |\\n| \\`signRequests\\` | **${String(saml.signRequests)}** | Declares that application authentication requests are signed. |\\n| \\`wantAssertionsSigned\\` | **${String(saml.wantAssertionsSigned)}** | Requires signed assertions; keep this enabled. |\\n| \\`allowedClockDrift\\` | **${String(saml.allowedClockDrift)} seconds** (0–300) | Small allowance when checking assertion validity windows. |\\n| \\`nameIdFormat\\` | **${String(saml.nameIdFormat)}** | Requests the subject identifier format. Prefer a stable identifier and map email separately when the provider supports it. |\\n| \\`allowIdpInitiated\\` | **${String(saml.allowIdpInitiated)}** | Allows an unsolicited provider-started sign-in. Leave off unless that journey is deliberately operated and tested. |\\n| Attribute mapping | Standard email/given-name/surname claim URIs | Maps provider attributes to the application person; optional role, group, department and employee-id attributes remain explicit. |\\n| \\`forceAuthn\\` | **${String(saml.forceAuthn)}** | Sets \\`ForceAuthn\\` on the authentication request, asking the provider not to reuse an existing session. |\\n| \\`maxAuthAge\\` | **${saml.maxAuthAge === null ? 'not set' : String(saml.maxAuthAge) + ' seconds'}** | Refuses an assertion whose \\`AuthnInstant\\` is older than this, allowing \\`allowedClockDrift\\`. SAML has no request-side maximum, so this is checked on the assertion that comes back. Not set means no limit. |\\n| \\`reAuthenticationEnabled\\` | **${String(saml.reAuthenticationEnabled)}** | Lets a person whose account is linked through this connection confirm it is them by signing in again here, when adding or removing a way to sign in. The request is sent with \\`ForceAuthn\\` whatever \\`forceAuthn\\` says, and an assertion whose \\`AuthnInstant\\` is older than the request is refused. Turn it on only for an IdP that honours \\`ForceAuthn\\`. |`,\n diagnosticsMarkdown: `| Administrative operation | Current supported result |\\n| --- | --- |\\n| Test connection | **SAML:** endpoint, certificate and service-provider metadata diagnostics. **OIDC:** returns \\`supported: false\\`; no provider handshake is attempted. |\\n| Discover endpoints | **SAML:** fetches and parses provider metadata without persisting it. **OIDC:** returns \\`supported: false\\`; issuer metadata is not fetched by this admin operation. Runtime OIDC sign-in can still use discovery mode when its issuer/discovery URL is configured. |\\n\\nThe maintained operation contract describes the test as: ${testConnection.purpose ?? 'No maintained purpose.'}\\n\\nThe maintained discovery contract describes the operation as: ${discoverEndpoints.purpose ?? 'No maintained purpose.'}`,\n diagnosticSupport: {\n samlConnectionTest: true,\n oidcConnectionTest: false,\n samlMetadataDiscovery: true,\n oidcAdministrativeDiscovery: false,\n },\n };\n}\n\nfunction projectOAuthClientsConsumerFact(source: OAuthClientsConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('OAuth client', source.clientFieldNames, ['roles', 'allowedScopes', 'allowedGrants', 'redirectUris', 'postLogoutRedirectUris', 'requiresConsent', 'tokenEndpointAuthMethod']);\n const grants = Object.values(source.grantTypes).map((grantType) => ({ grantType, label: grantType, meaning: OAUTH_GRANT_TYPE_MEANINGS[grantType] }));\n const tokenEndpointAuthMethods = Object.values(source.tokenEndpointAuthMethods).map((method) => ({\n method,\n clientClass: method === OAuthTokenEndpointAuthMethod.NONE ? 'public' : 'confidential',\n }));\n\n const fieldFacts = projectResourceFields(source.organizationSpecification);\n const fieldByName = (fieldName: string): Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>> => {\n const field = fieldFacts.find((candidate) => candidate !== null && typeof candidate === 'object' && !Array.isArray(candidate)\n && (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).fieldName === fieldName);\n if (field === undefined || field === null || typeof field !== 'object' || Array.isArray(field)) {\n throw new Error(`OAuth-client consumer fact is missing specification field ${fieldName}`);\n }\n return field as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n };\n const fieldMeaning = (fieldName: string): string => {\n const meaning = fieldByName(fieldName).meaning;\n if (typeof meaning !== 'string') throw new Error(`OAuth-client consumer fact is missing the meaning of ${fieldName}`);\n return meaning;\n };\n\n const statusValues = fieldByName('status').enumValues;\n if (!Array.isArray(statusValues)) throw new Error('OAuth-client consumer fact is missing specification-owned status meanings');\n const statuses = statusValues.map((candidate) => {\n if (candidate === null || typeof candidate !== 'object' || Array.isArray(candidate)) {\n throw new Error('OAuth-client consumer fact has an invalid status meaning');\n }\n const value = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).value;\n const meaning = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).meaning;\n if (typeof value !== 'string' || typeof meaning !== 'string') throw new Error('OAuth-client consumer fact has an incomplete status meaning');\n return { value, meaning };\n });\n if (statuses.length !== Object.values(source.statuses).length) {\n throw new Error('OAuth-client consumer fact does not explain every maintained status');\n }\n\n const operationSummary = (operationId: string) => {\n const operation = source.organizationSpecification.operations?.[operationId] as ResourceOperationSpecification | undefined;\n const applicationOperation = source.applicationSpecification.operations?.[operationId] as ResourceOperationSpecification | undefined;\n if (operation === undefined || applicationOperation === undefined || typeof operation.purpose !== 'string' || typeof operation.outcome !== 'string'\n || typeof applicationOperation.purpose !== 'string' || typeof applicationOperation.outcome !== 'string') {\n throw new Error(`OAuth-client consumer fact is missing specification operation ${operationId}`);\n }\n return {\n action: credentialLifecycleActionName(operationId),\n organizationPurpose: operation.purpose,\n organizationOutcome: operation.outcome,\n applicationPurpose: applicationOperation.purpose,\n applicationOutcome: applicationOperation.outcome,\n };\n };\n const lifecycle = [\n CoreResourceOperation.CREATE,\n OrgOAuthClients_Operations.ROTATE,\n OrgOAuthClients_Operations.REGENERATE,\n CoreResourceOperation.DELETE,\n ].map(operationSummary);\n\n const scopeRow = (label: string, specification: AnyResourceSpecificationConfig): string => {\n if (typeof specification.purpose !== 'string' || typeof specification.businessRole !== 'string') {\n throw new Error(`OAuth-client consumer fact is missing the ${label} resource summary`);\n }\n return `| ${label} | ${specification.purpose} | ${specification.businessRole} |`;\n };\n\n return {\n markdown: `OAuth clients can be registered with these grant types. A client’s roles are the authorization axis for operations; its allowed scopes describe identity claims and do not grant application permissions. Redirect URIs are an exact allowlist, and delegated access can require explicit user consent.\\n\\n| Supported grant | What it is for |\\n| --- | --- |\\n${grants.map(({ label, meaning }) => `| \\`${label}\\` | ${meaning} |`).join('\\n')}`,\n grants,\n tokenEndpointAuthMethods,\n registrationOrigins: Object.values(source.registrationOrigins),\n statuses,\n authorizationAxis: 'roles',\n identityScopeAxis: 'allowedScopes',\n redirectUriMatching: 'exact',\n scopeComparisonMarkdown: `| Client scope | Intended use | Identity boundary |\\n| --- | --- | --- |\\n${scopeRow('Organization client', source.organizationSpecification)}\\n${scopeRow('Application client', source.applicationSpecification)}`,\n statusMarkdown: `| Status | Maintained meaning |\\n| --- | --- |\\n${statuses.map(({ value, meaning }) => `| \\`${value}\\` | ${meaning} |`).join('\\n')}`,\n lifecycleMarkdown: `| Action | Organization-scoped client | Application-scoped client |\\n| --- | --- | --- |\\n${lifecycle.map(({ action, organizationPurpose, organizationOutcome, applicationPurpose, applicationOutcome }) => `| ${action} | ${organizationPurpose} **Verify:** ${organizationOutcome} | ${applicationPurpose} **Verify:** ${applicationOutcome} |`).join('\\n')}`,\n clientConfigurationMarkdown: `| Client setting | Maintained meaning |\\n| --- | --- |\\n| \\`roles\\` | ${fieldMeaning('roles')} |\\n| \\`allowedScopes\\` | ${fieldMeaning('allowedScopes')} |\\n| \\`allowedGrants\\` | ${fieldMeaning('allowedGrants')} |\\n| \\`redirectUris\\` | ${fieldMeaning('redirectUris')} |\\n| \\`postLogoutRedirectUris\\` | ${fieldMeaning('postLogoutRedirectUris')} |\\n| \\`requiresConsent\\` | ${fieldMeaning('requiresConsent')} |\\n| \\`tokenEndpointAuthMethod\\` | ${fieldMeaning('tokenEndpointAuthMethod')} |\\n| \\`registrationOrigin\\` | ${fieldMeaning('registrationOrigin')} |`,\n currentUsageEvidenceMarkdown: '> **Current usage-evidence limitation:** the client record exposes `lastUsedAt`, but the current OAuth token paths do not populate it. Do not use an absent or old value as proof that a client is unused. Correlate token-exchange audit records, resource-server activity, workload logs and secret-manager access before retirement.',\n lifecycle,\n };\n}\n\nfunction projectScimProvisioningConsumerFact(source: ScimProvisioningConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('SCIM provisioning', source.provisioningFieldNames, [\n 'autoCreateUsers',\n 'autoVerifyEmail',\n 'autoDeactivateUsers',\n 'defaultRole',\n 'attributeMapping',\n 'organizationUnitMapping',\n 'defaultUnitRole',\n 'scimEndpointUrl',\n 'allowedDomains',\n ]);\n assertConsumerFactFields('SCIM organization-unit mapping', source.organizationUnitMappingFieldNames, ['directoryValue', 'organizationUnitId']);\n\n // This is a positive, consumer-safe projection: field identity comes from the\n // public SCIM configuration schema, meanings come from its maintained resource\n // specification, and defaults come from parsing the schema itself. Keep the\n // presentation allowlist explicit here so adding a backend-only field to the\n // resource specification cannot silently expose it in customer documentation.\n const projectedFieldByName = new Map(projectResourceFields(source.specification).map((candidate) => {\n const field = candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n return [String(field.fieldName), field] as const;\n }));\n const fieldMeaning = (fieldName: string): string => {\n const meaning = projectedFieldByName.get(fieldName)?.meaning;\n if (typeof meaning !== 'string') throw new Error(`SCIM consumer fact is missing specification meaning for ${fieldName}`);\n return meaning;\n };\n const configurationRows = [\n {\n field: 'autoCreateUsers',\n acceptedValue: '`true` or `false`',\n defaultValue: source.defaults.autoCreateUsers ? '**On** (`true`)' : '**Off** (`false`)',\n meaning: fieldMeaning('autoCreateUsers'),\n example: '`true`',\n },\n {\n field: 'autoVerifyEmail',\n acceptedValue: '`true` or `false`',\n defaultValue: source.defaults.autoVerifyEmail ? '**On** (`true`)' : '**Off** (`false`)',\n meaning: fieldMeaning('autoVerifyEmail'),\n example: '`true`',\n },\n {\n field: 'autoDeactivateUsers',\n acceptedValue: '`true` or `false`',\n defaultValue: source.defaults.autoDeactivateUsers ? '**On** (`true`)' : '**Off** (`false`)',\n meaning: fieldMeaning('autoDeactivateUsers'),\n example: '`true`',\n },\n {\n field: 'defaultRole',\n acceptedValue: 'One non-administrative organization-role identifier',\n defaultValue: 'The organization type\\'s default member role can apply',\n meaning: fieldMeaning('defaultRole'),\n example: '`organization-member`',\n },\n {\n field: 'attributeMapping',\n acceptedValue: 'An object containing SCIM path expressions',\n defaultValue: 'The maintained profile paths shown below',\n meaning: fieldMeaning('attributeMapping'),\n example: '`emails[primary eq true].value`',\n },\n {\n field: 'organizationUnitMapping',\n acceptedValue: 'A list of exact department-to-unit bindings',\n defaultValue: 'Absent; no unit reconciliation',\n meaning: fieldMeaning('organizationUnitMapping'),\n example: '`Engineering` → `unit_…`',\n },\n {\n field: 'defaultUnitRole',\n acceptedValue: 'One unit-role identifier',\n defaultValue: 'Absent; no directory-managed unit role',\n meaning: fieldMeaning('defaultUnitRole'),\n example: '`member`',\n },\n {\n field: 'scimEndpointUrl',\n acceptedValue: 'Read-only, application-derived path',\n defaultValue: `\\`${SCIM_SERVICE_BASE_PATH}\\``,\n meaning: fieldMeaning('scimEndpointUrl'),\n // Resolved by the connection projection AFTER consumer facts are inlined, so this reaches the\n // page as the application's own SCIM base. It used to read `https://api.example.com/...` — a\n // correct path under a host that does not exist, which is the worst shape for a value an\n // administrator is meant to paste into their identity provider: it looks usable.\n example: '`{{APPLICATION_CONNECTION_VALUE:scimBaseUrl}}`',\n },\n {\n field: 'allowedDomains',\n acceptedValue: 'Read-only list of verified email domains',\n defaultValue: 'Empty means unrestricted; absent means undetermined',\n meaning: fieldMeaning('allowedDomains'),\n example: '`identity.example.com`',\n },\n ];\n const configurationMarkdown = `| Configuration field | Accepted value | Default | What it changes | Example |\n| --- | --- | --- | --- | --- |\n${configurationRows.map((row) => `| \\`${row.field}\\` | ${row.acceptedValue} | ${row.defaultValue} | ${row.meaning} | ${row.example} |`).join('\\n')}`;\n const attributeMappingMarkdown = `| Application profile value | Maintained SCIM path |\n| --- | --- |\n| Email | \\`${source.defaults.attributeMapping.email}\\` |\n| Given name | \\`${source.defaults.attributeMapping.firstName}\\` |\n| Family name | \\`${source.defaults.attributeMapping.lastName}\\` |\n| Display name | \\`${source.defaults.attributeMapping.displayName}\\` |`;\n\n return {\n markdown: `SCIM is configured separately from single sign-on. There is no SCIM “enabled” switch on this record: availability is chosen for the organization type, while this configuration decides what a connected directory is allowed to do after it is available.\n\n| Configuration | What to decide | Default |\n| --- | --- | --- |\n| Create users automatically | Whether a directory user can create a local user and organization membership | On |\n| Verify email automatically | Whether the trusted directory assertion verifies the email during provisioning | On |\n| Deactivate users automatically | Whether a directory deactivation marks the user and addressed organization membership inactive | On |\n| Default organization role | The organization-wide role granted to a SCIM-created membership; when absent, the organization type’s default member role can apply | Organization-type fallback |\n| Profile attribute mapping | Which SCIM paths supply email, given name, family name and display name | Standard SCIM user paths |\n| Organization-unit mapping | An explicit directory \\`department\\` value to organization-unit identifier and unit role mapping | No unit reconciliation |\n| Default unit role | The role attached to every directory-managed unit assignment | No automatic unit role |\n\nThe SCIM endpoint is an API-relative path supplied by the application; compose it with the application’s public API base URL rather than inventing a tenant-specific route. Email-domain admission is owned by the verified-domain configuration of SSO and is displayed here only as a live mirror—SCIM does not keep a second, drifting list. A non-empty verified-domain list restricts admitted email domains; an empty list means no domain restriction.\n\nWhen unit mapping is configured, matching is exact after trimming: it does not use a unit name, unit code, fuzzy search, or automatic unit creation. Unit reconciliation runs only when there is at least one explicit mapping **and** a default unit role. On supported direct user creation and full-replacement operations, the directory becomes authoritative for those assignments: the desired set replaces the person’s existing unit assignments, including assignments made manually. PATCH and Bulk operations do not currently perform this reconciliation, so test the exact operation used by the identity provider before rollout.`,\n configurationMarkdown,\n attributeMappingMarkdown,\n provisioningControls: { automaticCreation: true, automaticEmailVerification: true, automaticDeactivation: true },\n organizationUnitMapping: { directoryAttribute: 'department', matching: 'explicit', reconciliation: 'authoritative-on-supported-direct-create-or-full-replacement' },\n };\n}\n\nfunction projectSiemExportConsumerFact(source: SiemExportConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('organization SIEM export', source.configurationFieldNames, [\n 'enabled',\n 'webhookUrl',\n 'authMethod',\n 'authCredential',\n 'authHeaderName',\n 'eventFormat',\n 'eventFilter',\n 'delivery',\n 'customHeaders',\n ]);\n\n // The resource specification is the only prose authority for field and enum\n // meanings, while schema parsing supplies defaults and bounds. Keep this\n // projector as a positive allowlist: credentials remain described as a\n // lifecycle contract and are never copied into the semantic DTO.\n const projectedFieldByName = new Map(projectResourceFields(source.specification).map((candidate) => {\n const field = candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n return [String(field.fieldName), field] as const;\n }));\n const fieldRecord = (fieldName: string): Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>> => {\n const field = projectedFieldByName.get(fieldName);\n if (field === undefined) throw new Error(`SIEM consumer fact is missing specification field ${fieldName}`);\n return field;\n };\n const fieldMeaning = (fieldName: string): string => {\n const meaning = fieldRecord(fieldName).meaning;\n if (typeof meaning !== 'string') throw new Error(`SIEM consumer fact is missing specification meaning for ${fieldName}`);\n return meaning;\n };\n const enumValueRows = (fieldName: string): readonly { readonly value: string; readonly meaning: string }[] => {\n const values = fieldRecord(fieldName).enumValues;\n if (!Array.isArray(values)) throw new Error(`SIEM consumer fact is missing enum meanings for ${fieldName}`);\n return values.map((candidate) => {\n if (candidate === null || typeof candidate !== 'object' || Array.isArray(candidate)) {\n throw new Error(`SIEM consumer fact has an invalid enum meaning for ${fieldName}`);\n }\n const value = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).value;\n const meaning = (candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>).meaning;\n if (typeof value !== 'string' || typeof meaning !== 'string') {\n throw new Error(`SIEM consumer fact has an incomplete enum meaning for ${fieldName}`);\n }\n return { value, meaning };\n });\n };\n const tableRows = (rows: readonly { readonly value: string; readonly meaning: string }[]): string =>\n rows.map(({ value, meaning }) => `| \\`${value}\\` | ${meaning} |`).join('\\n');\n\n const configurationRows = [\n { field: 'enabled', accepted: '`true` or `false`', defaultValue: String(source.defaults.enabled), meaning: fieldMeaning('enabled') },\n { field: 'webhookUrl', accepted: 'HTTPS URL or empty while disabled', defaultValue: 'Empty', meaning: fieldMeaning('webhookUrl') },\n { field: 'authMethod', accepted: 'One authentication value listed below', defaultValue: `\\`${source.defaults.authMethod}\\``, meaning: fieldMeaning('authMethod') },\n { field: 'authCredential', accepted: 'Secret string required by the selected authentication method', defaultValue: 'Absent', meaning: fieldMeaning('authCredential') },\n { field: 'authHeaderName', accepted: 'HTTP header name for `api_key_header`', defaultValue: `\\`${source.defaults.authHeaderName}\\``, meaning: fieldMeaning('authHeaderName') },\n { field: 'eventFormat', accepted: 'One wire format listed below', defaultValue: `\\`${source.defaults.eventFormat}\\``, meaning: fieldMeaning('eventFormat') },\n { field: 'eventFilter', accepted: 'Categories, severity minimum and optional exact event-type allowlist', defaultValue: 'All categories, `info`, no event-type restriction', meaning: fieldMeaning('eventFilter') },\n { field: 'delivery', accepted: 'Retry and timeout values shown below', defaultValue: 'See delivery table', meaning: fieldMeaning('delivery') },\n { field: 'customHeaders', accepted: 'String-to-string HTTP header map', defaultValue: 'Absent', meaning: fieldMeaning('customHeaders') },\n ];\n const configurationMarkdown = `| Configuration field | Accepted value | Schema default | What it changes |\n| --- | --- | --- | --- |\n${configurationRows.map((row) => `| \\`${row.field}\\` | ${row.accepted} | ${row.defaultValue} | ${row.meaning} |`).join('\\n')}`;\n const authenticationValuesMarkdown = `| Authentication value | Meaning and header behavior |\n| --- | --- |\n${tableRows(enumValueRows('authMethod'))}`;\n const formatValuesMarkdown = `| Format value | Meaning and transport |\n| --- | --- |\n${tableRows(enumValueRows('eventFormat'))}`;\n const categoryMeanings: Readonly<Record<string, string>> = {\n [SIEMEventCategory.AUTHENTICATION]: 'Sign-in, session, credential and authentication-factor activity.',\n [SIEMEventCategory.AUTHORIZATION]: 'Permission decisions, role changes, grants and denied operations.',\n [SIEMEventCategory.USER_LIFECYCLE]: 'User creation, profile/lifecycle changes, provisioning and deactivation.',\n [SIEMEventCategory.ORG_MANAGEMENT]: 'Organization, membership, unit and security-configuration administration.',\n [SIEMEventCategory.DATA_ACCESS]: 'Reads, writes, exports and other access to protected application data.',\n };\n const severityMeanings: Readonly<Record<string, string>> = {\n [SIEMFilterSeverity.INFO]: 'Routine security-relevant activity and successful lifecycle events.',\n [SIEMFilterSeverity.WARNING]: 'Material access, configuration, credential or failed-operation activity requiring attention.',\n [SIEMFilterSeverity.CRITICAL]: 'High-risk enforcement, replay, account-lockout or control-boundary events requiring prompt review.',\n };\n const filterValuesMarkdown = `### Event categories\n\n| Value | Events selected |\n| --- | --- |\n${tableRows(Object.values(SIEMEventCategory).map((value) => ({ value, meaning: categoryMeanings[value] ?? value })))}\n\n### Minimum severity\n\n| Value | Meaning |\n| --- | --- |\n${tableRows(Object.values(SIEMFilterSeverity).map((value) => ({ value, meaning: severityMeanings[value] ?? value })))}`;\n const deliveryValuesMarkdown = `| Delivery value | Bounds | Schema default | Current behavior |\n| --- | --- | --- | --- |\n| \\`retryAttempts\\` | 0–5 retries after the first attempt | ${source.defaults.delivery.retryAttempts} | Enforced per event |\n| \\`retryBackoffSeconds\\` | 1–300 seconds | ${source.defaults.delivery.retryBackoffSeconds} | Base delay; later attempts use exponential backoff |\n| \\`timeoutSeconds\\` | 1–60 seconds | ${source.defaults.delivery.timeoutSeconds} | Enforced for each HTTP request |`;\n\n const reliabilityMarkdown = `A destination that keeps failing is paused rather than retried forever. After **${SIEM_DELIVERY_RELIABILITY_CONTRACT.circuitBreakerFailureThreshold} consecutive failed deliveries** to the same destination, delivery to it stops for **${SIEM_DELIVERY_RELIABILITY_CONTRACT.circuitBreakerCooldownMinutes} minutes**, then one delivery is tried again. That pause is fixed and is not part of the per-organization retry settings above: those govern one delivery attempt, this governs whether attempts continue at all. Events produced while a destination is paused are not lost — they follow the same failure path as any other undelivered event.`;\n\n return {\n deliveryReliabilityMarkdown: reliabilityMarkdown,\n markdown: 'Organization SIEM export is a filtered outbound copy of the authoritative audit trail. Only the organization-scoped producer is active in this framework version; an application-scoped configuration does not create an application event stream.',\n configurationMarkdown,\n authenticationValuesMarkdown,\n formatValuesMarkdown,\n filterValuesMarkdown,\n deliveryValuesMarkdown,\n };\n}\n\n/**\n * Meanings a REST caller needs for each error type, keyed by the runtime enum so\n * a new member fails this projection instead of silently shipping undocumented.\n */\nconst ERROR_TYPE_CONSUMER_MEANINGS: Readonly<Record<ErrorType, string>> = {\n [ErrorType.VALIDATION]: \"The request is malformed or breaks a field rule. Fix the request; repeating it unchanged fails again. `validationErrors` names the fields.\",\n [ErrorType.PAYLOAD_TOO_LARGE]: \"The request body exceeds the accepted size. Send less data.\",\n [ErrorType.AUTHENTICATION]: \"No credential, or a credential the application does not accept: missing, expired, revoked or sent in the wrong form.\",\n [ErrorType.AUTHORIZATION]: \"The credential is valid but this identity may not perform this operation in this scope.\",\n [ErrorType.FEATURE_NOT_AVAILABLE]: \"The organization's plan does not include this capability.\",\n [ErrorType.FEATURE_LIMIT_EXCEEDED]: \"The organization has reached a plan limit for this capability.\",\n [ErrorType.INSUFFICIENT_CREDITS]: \"The organization has no remaining credit for this metered capability.\",\n [ErrorType.NOT_FOUND]: \"The resource does not exist, or is not visible to this identity in this organization. The two cases are deliberately indistinguishable.\",\n [ErrorType.CONFLICT]: \"The current state refuses the change: a uniqueness rule, a stale `If-Match` version, or a transition the state machine forbids. Read the resource again before deciding.\",\n [ErrorType.BUSINESS_RULE]: \"The request is well-formed but a domain rule refuses it. `customMessageReference` names the rule.\",\n [ErrorType.RATE_LIMIT]: \"Too many requests in a window. Wait for `Retry-After` seconds before sending again.\",\n [ErrorType.INTERNAL]: \"The application failed while handling the request. Quote `correlationId` to support.\",\n [ErrorType.DATABASE]: \"The application's data store failed. Quote `correlationId` to support.\",\n [ErrorType.UNKNOWN]: \"An unclassified failure. Quote `correlationId` to support.\",\n [ErrorType.UNCAUGHT_EXCEPTION]: \"An unexpected failure inside the application. Quote `correlationId` to support.\",\n [ErrorType.UNHANDLED_REJECTION]: \"An unexpected asynchronous failure inside the application. Quote `correlationId` to support.\",\n [ErrorType.CONFIGURATION]: \"The application is misconfigured for this operation. An operator must correct it; a retry does not help.\",\n [ErrorType.EXTERNAL_SERVICE]: \"A provider the application depends on failed. Usually transient.\",\n [ErrorType.INFRASTRUCTURE]: \"A platform service the application depends on is unavailable. Usually transient.\",\n [ErrorType.NETWORK]: \"The application could not reach a dependency. Usually transient.\",\n};\n\nconst ERROR_ENVELOPE_FIELD_MEANINGS: Readonly<Record<string, string>> = {\n type: \"Machine-readable class of the failure. Branch on it, never on `message`.\",\n severity: \"How serious the application considers the failure.\",\n message: \"The same reference key as `customMessageReference`. It is not prose and not localized; do not display it or branch on it.\",\n customMessage: \"Also the reference key. Localized wording is produced by the client from `customMessageReference`, not sent on the wire.\",\n customMessageReference: \"Stable key of the user-facing message (for example `conflict`, `version_conflict`). Resolve it to text in your own language layer.\",\n code: \"Stable, operation-specific refusal code when the operation defines one (for example `LAST_ORGANIZATION_OWNER`), also repeated as `details.code`. Branch on it for known refusals.\",\n operationPath: \"Key of the operation that produced the error, as `resource | operation | variant | …`. It names the operation in the API reference; it is not a URL.\",\n correlationId: \"Request-correlation identifier. Quote it to support; it joins the response to the application's logs and audit trail and contains no personal data.\",\n details: \"Structured context for failures that expose one: `details.code` and `details.message` for a named refusal, `details.versionConflict` with the current and expected versions for a stale `If-Match`, `details.retryAfterSeconds` for a rate limit.\",\n timestamp: \"When the application produced the error.\",\n initiatorIds: \"Identifiers of the caller as the application resolved them, when available.\",\n validationErrors: \"Field-level validation failures keyed by field name.\",\n userGuidance: \"Optional explanation, resolution and next-action text for a person.\",\n};\n\nfunction projectRestConventionsConsumerFact(source: RestConventionsConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const sourceRef = \"source:consumer-fact:rest-conventions\";\n assertConsumerFactFields(sourceRef, source.errorEnvelopeFieldNames, Object.keys(ERROR_ENVELOPE_FIELD_MEANINGS));\n const undocumentedEnvelopeFields = source.errorEnvelopeFieldNames.filter((field) => !(field in ERROR_ENVELOPE_FIELD_MEANINGS));\n if (undocumentedEnvelopeFields.length > 0) {\n throw new Error(`${sourceRef} error envelope has fields without a consumer meaning: ${undocumentedEnvelopeFields.join(\", \")}`);\n }\n assertConsumerFactFields(sourceRef, source.pagination.requestFieldNames, [\"page\", \"limit\"]);\n assertConsumerFactFields(sourceRef, source.pagination.responseFieldNames, [\"page\", \"limit\", \"total\", \"totalPages\"]);\n\n const errorRows = Object.values(ErrorType).map((type) => {\n const definition = source.errorDefinitions[type];\n if (definition === undefined) throw new Error(`${sourceRef} has no definition for error type ${type}`);\n return { status: Number(definition.statusCode), type, meaning: ERROR_TYPE_CONSUMER_MEANINGS[type] };\n }).sort((left, right) => left.status - right.status || left.type.localeCompare(right.type, \"en-US\"));\n const errorStatusMarkdown = `| HTTP status | \\`error.type\\` | What it means for the caller |\\n| --- | --- | --- |\\n${errorRows.map((row) => `| ${row.status} | \\`${row.type}\\` | ${row.meaning} |`).join(\"\\n\")}`;\n\n const envelopeRows = source.errorEnvelopeFieldNames.map((field) => `| \\`error.${field}\\` | ${ERROR_ENVELOPE_FIELD_MEANINGS[field]} |`).join(\"\\n\");\n const errorEnvelopeMarkdown = `Every error response carries one JSON object under \\`error\\`:\\n\\n| Field | Meaning |\\n| --- | --- |\\n${envelopeRows}`;\n // Mirrors what `ErrorHandlerService` serializes for the owner-floor refusal: `message` and\n // `customMessage` carry the reference key, the refusal code rides both `code` and `details.code`,\n // and `operationPath` is the operation KEY. Change this only against the handler.\n const errorExampleJson = JSON.stringify({\n error: {\n type: ErrorType.CONFLICT,\n severity: \"medium\",\n message: \"conflict\",\n customMessage: \"conflict\",\n customMessageReference: \"conflict\",\n code: \"LAST_ORGANIZATION_OWNER\",\n // Derived through the same utility the error builder uses, never typed by hand.\n operationPath: ResourcesConfig_OperationPathUtils.createOperationPathKey({\n resourceIdentifier: CoreResourceType.ORGANIZATION_MEMBERS,\n operationIdentifier: CoreResourceOperation.DELETE,\n variantType: ResourceOperationVariantType.API_CALL,\n isOperationDefault: true,\n }),\n correlationId: \"4f0b2c6e-8d3a-4e1f-9b7c-2a5d6e8f0c13\",\n timestamp: \"2026-09-03T10:15:00.000Z\",\n details: {\n code: \"LAST_ORGANIZATION_OWNER\",\n message: \"Refused: this would leave an organization with no usable owner. Grant owner access to another active member first.\",\n },\n },\n }, null, 2);\n\n const { queryParameters, pagination } = source;\n const collectionQueryMarkdown = `| Query parameter | Applies to | Meaning |\\n| --- | --- | --- |\\n| \\`${queryParameters.page}\\` | list, search | 1-based page number. Default ${pagination.defaultPage}. |\\n| \\`${queryParameters.limit}\\` | list, search | Items per page. Default ${pagination.defaultLimit}, at most ${pagination.maxLimit} unless the operation states a different ceiling. |\\n| \\`${queryParameters.sort}\\` | list, search | Comma-separated \\`field:asc\\` or \\`field:desc\\` pairs, highest priority first, for example \\`${queryParameters.sort}=createdAt:desc,title:asc\\`. |\\n| \\`${queryParameters.search}\\` | search | Free-text term matched against the operation's searchable fields. |\\n| one parameter per filter field | list, search | The API reference lists each operation's filter fields. Date ranges use bracket notation: \\`createdAt[startDate]=2026-09-01T00:00:00Z&createdAt[endDate]=2026-09-30T23:59:59Z\\`. |`;\n const paginationResponseMarkdown = `A collection response is one object with \\`data\\` (the page) and \\`pagination\\`:\\n\\n| Field | Meaning |\\n| --- | --- |\\n| \\`pagination.page\\` | The page that was returned. |\\n| \\`pagination.limit\\` | The page size the operation applied. |\\n| \\`pagination.total\\` | Matching records for the whole query. |\\n| \\`pagination.totalPages\\` | Number of pages at this limit. Stop when \\`page\\` equals it; do not infer the end from a short page. |`;\n const rateLimitMarkdown = `| Response header | Meaning |\\n| --- | --- |\\n| \\`${source.headers.rateLimitLimit}\\` | Requests allowed in the tightest active window. |\\n| \\`${source.headers.rateLimitRemaining}\\` | Requests left in that window. |\\n| \\`${source.headers.rateLimitReset}\\` | Seconds until that window resets. |\\n| \\`Retry-After\\` | Sent with a 429 only: seconds to wait before the next attempt. Every tripped window must recover, so wait the full value. |`;\n const concurrencyMarkdown = `Records carry an integer \\`_version\\` that increases on every write. To refuse a write that would overwrite a change you have not seen, send the version you read in the \\`${source.headers.ifMatch}\\` header. A mismatch answers **409** with \\`error.details.versionConflict\\` carrying the current version; read the record again, merge, and resend with the new version.`;\n\n return {\n markdown: errorStatusMarkdown,\n errorStatusMarkdown,\n errorEnvelopeMarkdown,\n errorExampleJson,\n collectionQueryMarkdown,\n paginationResponseMarkdown,\n rateLimitMarkdown,\n concurrencyMarkdown,\n authorizationHeader: source.headers.authorization,\n queryParameters: { ...queryParameters },\n pagination: { defaultPage: pagination.defaultPage, defaultLimit: pagination.defaultLimit, maxLimit: pagination.maxLimit },\n errors: errorRows,\n };\n}\n\nconst WEBHOOK_DELIVERY_STATUS_MEANINGS: Readonly<Record<M2MWebhookDeliveryLogStatus, { readonly meaning: string; readonly action: string }>> = {\n [M2MWebhookDeliveryLogStatus.PENDING]: { meaning: \"Waiting for its first attempt or for a scheduled retry.\", action: \"Compare `nextAttemptAt` with the retry ladder. Do not send it yourself.\" },\n [M2MWebhookDeliveryLogStatus.IN_FLIGHT]: { meaning: \"A worker currently holds the row and is making one HTTP attempt.\", action: \"Wait for the attempt to finish; the timeout bounds it.\" },\n [M2MWebhookDeliveryLogStatus.DELIVERED]: { meaning: \"Your receiver answered 2xx to one attempt.\", action: \"Confirm your receiver stored the `jti` and finished the work; the application cannot see that.\" },\n [M2MWebhookDeliveryLogStatus.FAILED]: { meaning: \"A terminal response (3xx, or a 4xx other than 408 and 429) was received, or every attempt was used.\", action: \"Fix the cause, then use the retry operation on that one row.\" },\n};\n\nconst WEBHOOK_PROBE_OUTCOME_MEANINGS: Readonly<Record<WebhookEndpointProbeOutcome, { readonly meaning: string; readonly action: string }>> = {\n [WebhookEndpointProbeOutcome.ACCEPTED]: { meaning: \"The endpoint answered 2xx to the signed synthetic request.\", action: \"Check your receiver's log shows signature and body-hash verification ran before it answered.\" },\n [WebhookEndpointProbeOutcome.REJECTED]: { meaning: \"The endpoint answered, but not with 2xx.\", action: \"Read the recorded status and body; the receiver refused or failed.\" },\n [WebhookEndpointProbeOutcome.UNREACHABLE]: { meaning: \"No HTTP response arrived within the timeout.\", action: \"Check public reachability, DNS, TLS and the receiver's own timeout.\" },\n [WebhookEndpointProbeOutcome.NOT_SENT]: { meaning: \"The application refused to send: the URL failed policy (private address, embedded credentials) or signing was not possible.\", action: \"Correct the endpoint URL or the application's signing configuration.\" },\n};\n\nfunction projectOutboundWebhooksConsumerFact(source: OutboundWebhooksConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const sourceRef = \"source:consumer-fact:outbound-webhooks\";\n const { contract } = source;\n // The receiver contract says \"every enabled endpoint receives every event\". That is\n // only true while an endpoint has no event filter, so this projection fails closed the\n // day a filter field appears on the endpoint schema.\n const expectedEndpointFields = [\"id\", \"url\", \"description\", \"enabled\", \"createdAt\", \"updatedAt\"];\n assertConsumerFactFields(sourceRef, source.endpointFieldNames, expectedEndpointFields);\n const unexpectedEndpointFields = source.endpointFieldNames.filter((field) => !expectedEndpointFields.includes(field));\n if (unexpectedEndpointFields.length > 0) {\n throw new Error(`${sourceRef} endpoint schema grew fields the documented delivery model does not cover: ${unexpectedEndpointFields.join(\", \")}`);\n }\n assertConsumerFactFields(sourceRef, source.configurationFieldNames, [\"enabled\", \"endpoints\", \"applicationPublicKeyPem\"]);\n assertConsumerFactFields(sourceRef, source.deliveryLogFieldNames, [\"endpointId\", \"channel\", \"resourceIdentifier\", \"operationIdentifier\", \"httpUrl\", \"attemptCount\", \"nextAttemptAt\", \"responseStatus\", \"responseBodyTruncated\", \"failureReason\", \"signatureJti\"]);\n for (const status of Object.values(source.deliveryStatuses)) {\n if (WEBHOOK_DELIVERY_STATUS_MEANINGS[status] === undefined) throw new Error(`${sourceRef} has no meaning for delivery status ${status}`);\n }\n for (const outcome of Object.values(source.probeOutcomes)) {\n if (WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome] === undefined) throw new Error(`${sourceRef} has no meaning for endpoint test outcome ${outcome}`);\n }\n\n const claims = contract.signatureClaims;\n const signatureMarkdown = `Every delivery is a \\`POST\\` whose \\`${contract.signatureHeader}\\` header carries a JSON Web Token signed with **${contract.signatureAlgorithm}** by the application's webhook key. The public key is the \\`applicationPublicKeyPem\\` value on the webhook configuration. The JWT header's \\`kid\\` is the RFC 7638 thumbprint of that key: do not pin a fixed value, verify with the PEM you hold, and treat a \\`kid\\` you have not seen as the signal that the key rotated. The body itself is not inside the token, only its hash.\\n\\n| Claim | Value or meaning |\\n| --- | --- |\\n| \\`iss\\` | \\`${contract.signature.issuer}\\` |\\n| \\`aud\\` | \\`${contract.signature.audience}\\` |\\n| \\`iat\\`, \\`exp\\` | Issued per attempt; a token lives ${contract.signature.expiresIn}. |\\n| \\`${claims.deliveryId}\\` | Identifier of this delivery. Identical on every retry of the same delivery, different for every other delivery, even one carrying the same body. Deduplicate on it. |\\n| \\`${claims.bodyHash}\\` | Hex ${contract.bodyHashAlgorithm.toUpperCase()} digest of the exact raw request bytes. |\\n| \\`${claims.bodyHashAlgorithm}\\` | \\`${contract.bodyHashAlgorithm}\\` |\\n| \\`${claims.eventChannel}\\` | Which configuration produced it: \\`${Object.values(source.channels).join(\"\\` or \\`\")}\\`. |\\n| \\`${claims.resourceIdentifier}\\`, \\`${claims.operationIdentifier}\\` | The resource and operation that fired the event, as named in the API reference. |`;\n const claimsExampleJson = JSON.stringify({\n iss: contract.signature.issuer,\n aud: contract.signature.audience,\n iat: 1788174900,\n exp: 1788196500,\n [claims.deliveryId]: \"9d2b5f3c-1e8a-4c6f-b0d7-3a4e5f6c7d8e\",\n [claims.bodyHash]: \"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\",\n [claims.bodyHashAlgorithm]: contract.bodyHashAlgorithm,\n [claims.eventChannel]: source.channels.WEBHOOK_ORGANIZATION,\n [claims.resourceIdentifier]: \"organizationMembers\",\n [claims.operationIdentifier]: \"create\",\n }, null, 2);\n\n const ladder = contract.backoffScheduleSeconds.map((seconds, index) => {\n const label = seconds >= 3600 ? `${seconds / 3600} h` : `${seconds / 60} min`;\n return `| ${index + 2} | after ${label} |`;\n }).join(\"\\n\");\n const retryMarkdown = `| Attempt | When |\\n| --- | --- |\\n| 1 | Immediately after the event |\\n${ladder}\\n\\nAt most **${contract.maxAttempts}** attempts. Each attempt times out after ${contract.requestTimeoutMs / 1000} seconds. A network failure, a timeout, a **5xx**, a **${contract.retryableHttpStatuses.join(\"** or a **\")}** schedules the next attempt; any other **4xx** and every **3xx** ends the delivery as failed, because the same bytes would be refused again. The first ${contract.responseBodyTruncationBytes / 1024} KiB of your response body is recorded on the delivery for diagnosis. Requests carry \\`User-Agent: ${contract.userAgent}\\`.`;\n\n const deliveryStatesMarkdown = `| Status | Meaning | What to do |\\n| --- | --- | --- |\\n${Object.values(source.deliveryStatuses).map((status) => `| \\`${status}\\` | ${WEBHOOK_DELIVERY_STATUS_MEANINGS[status].meaning} | ${WEBHOOK_DELIVERY_STATUS_MEANINGS[status].action} |`).join(\"\\n\")}`;\n const testOutcomesMarkdown = `| Outcome | Meaning | What to do |\\n| --- | --- | --- |\\n${Object.values(source.probeOutcomes).map((outcome) => `| \\`${outcome}\\` | ${WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome].meaning} | ${WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome].action} |`).join(\"\\n\")}`;\n const endpointMarkdown = `A webhook configuration holds a master \\`enabled\\` switch, the \\`endpoints\\` list and the read-only \\`applicationPublicKeyPem\\`. Each endpoint has exactly these fields: ${expectedEndpointFields.map((field) => `\\`${field}\\``).join(\", \")}. **There is no per-endpoint event filter.** Every enabled endpoint receives every event the application publishes on that channel; route or ignore events inside your receiver using the \\`${claims.resourceIdentifier}\\` and \\`${claims.operationIdentifier}\\` claims.`;\n\n const verifierSampleNode = [\n \"const crypto = require('node:crypto');\",\n \"const express = require('express');\",\n \"const jwt = require('jsonwebtoken');\",\n \"\",\n \"// Copy applicationPublicKeyPem from the webhook configuration into your secret store.\",\n \"const PUBLIC_KEY_PEM = process.env.APP_WEBHOOK_PUBLIC_KEY_PEM;\",\n \"\",\n \"const app = express();\",\n \"\",\n \"// Keep the raw bytes: any JSON parser before this handler changes the body hash.\",\n \"app.post('/webhooks/app', express.raw({ type: '*/*' }), async (req, res) => {\",\n ` const token = req.get('${contract.signatureHeader}');`,\n \" if (!token) return res.status(401).end();\",\n \"\",\n \" let claims;\",\n \" try {\",\n \" claims = jwt.verify(token, PUBLIC_KEY_PEM, {\",\n ` algorithms: ['${contract.signatureAlgorithm}'],`,\n ` issuer: '${contract.signature.issuer}',`,\n ` audience: '${contract.signature.audience}',`,\n \" });\",\n \" } catch {\",\n \" return res.status(401).end();\",\n \" }\",\n \"\",\n ` const bodyHash = crypto.createHash('${contract.bodyHashAlgorithm}').update(req.body).digest('hex');`,\n ` const expected = Buffer.from(String(claims.${claims.bodyHash}));`,\n \" if (expected.length !== bodyHash.length || !crypto.timingSafeEqual(Buffer.from(bodyHash), expected)) {\",\n \" return res.status(401).end();\",\n \" }\",\n \"\",\n ` // Claim the delivery id atomically; a retry of the same delivery carries the same ${claims.deliveryId}.`,\n ` const firstTime = await claimDeliveryOnce(claims.${claims.deliveryId});`,\n \" if (!firstTime) return res.status(200).end();\",\n \"\",\n \" const event = JSON.parse(req.body.toString('utf8'));\",\n ` await enqueue({ resource: claims.${claims.resourceIdentifier}, operation: claims.${claims.operationIdentifier}, event });`,\n \" return res.status(202).end();\",\n \"});\",\n ].join(\"\\n\");\n\n return {\n markdown: signatureMarkdown,\n signatureMarkdown,\n claimsExampleJson,\n retryMarkdown,\n deliveryStatesMarkdown,\n testOutcomesMarkdown,\n endpointMarkdown,\n verifierSampleNode,\n signatureHeader: contract.signatureHeader,\n signatureAlgorithm: contract.signatureAlgorithm,\n maxAttempts: contract.maxAttempts,\n backoffScheduleSeconds: [...contract.backoffScheduleSeconds],\n requestTimeoutMs: contract.requestTimeoutMs,\n claims: { ...claims },\n };\n}\n\nfunction projectOrganizationUnitsConsumerFact(source: OrganizationUnitsConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('organization unit', source.unitFieldNames, ['organizationId', 'parentUnitId', 'inheritanceType', 'status']);\n assertConsumerFactFields('organization unit membership', source.unitMemberFieldNames, ['organizationMemberId', 'organizationUnitId', 'role']);\n return {\n markdown: `Organization units describe the parts of one organization that need separately scoped access—for example teams, regions, departments or delivery groups. They do not replace organization membership: a person must first be a member of the organization, then can be assigned one role in each relevant unit.\n\nA unit role is separate from the roles on the person’s organization membership. A unit assignment can grant access only to resources that explicitly use organization-unit narrowing; it never becomes organization-wide authority. On a narrowed resource, a role granted at a unit can apply to descendants only when that unit uses downward permission inheritance.\n\n| Unit setting | Meaning |\n| --- | --- |\n| Parent unit | Builds the organization’s hierarchy; root units have no parent |\n| Type | Describes the unit as a company, division, department, team, subteam, project group, geographic area, function, or custom structure; it is descriptive and does not grant access by itself |\n| Status | Records whether the unit is active, inactive, archived, or suspended; **status does not revoke existing unit assignments or hide the records they cover** |\n| Permission inheritance | Choose whether a unit’s narrowed access applies to descendants or stays only at that unit |\n| Unit assignment | One membership, one unit, one role—the person’s organization-wide role remains unchanged |\n\n> **Do not use a unit status as an access-revocation control.** Archiving or suspending a unit keeps its existing access relationship intact so historical records do not disappear unexpectedly. Remove or change the affected unit assignments, or change the person’s organization membership, when access must stop.\n\nBefore changing a hierarchy or a unit role, identify which resources are narrowed by units and who will lose or gain access. When SCIM manages unit mappings, make the change in the directory mapping rather than re-creating it manually in the application.`,\n types: Object.values(source.types),\n statuses: Object.values(source.statuses),\n permissionInheritanceTypes: Object.values(source.inheritanceTypes),\n assignmentCardinality: 'one-role-per-membership-per-unit',\n };\n}\n\nfunction projectOrganizationMembershipAdministrationConsumerFact(\n source: OrganizationMembershipAdministrationConsumerFactSource,\n): EngineDocumentationSpecificationSemanticDto {\n assertConsumerFactFields('organization membership', source.membershipFieldNames, ['userEmail', 'organizationId', 'roles', 'status']);\n const lifecycle = Object.values(source.statuses).map((status) => ({\n status,\n meaning: {\n [OrganizationMemberStatus.INVITED]: 'Invitation is pending; the membership does not yet confer active organization access.',\n [OrganizationMemberStatus.ACTIVE]: 'Membership is active and its organization roles can authorize operations.',\n [OrganizationMemberStatus.INACTIVE]: 'Membership has been deactivated, for example by directory deprovisioning.',\n [OrganizationMemberStatus.SUSPENDED]: 'Membership is temporarily suspended; it can be deliberately reactivated.',\n }[status],\n }));\n const lifecycleTable = lifecycle.map(({ status, meaning }) => `| ${ORGANIZATION_MEMBER_STATUS_NAMES[status]} | ${meaning} |`).join('\\n');\n return {\n markdown: `An organization membership is the invitation record: there is no separate invitation object. Inviting by email creates an **Invited** membership; accepting it activates that same membership. A membership carries roles inside one organization, so changing organization never copies authority from another membership.\\n\\n| Membership state | Meaning |\\n| --- | --- |\\n${lifecycleTable}\\n\\nOnly an active membership can contribute organization authority. Before removing, suspending or demoting a member, grant owner authority to another active member when needed: the application refuses a change that would leave the organization without an administratively usable owner. The refusal is HTTP **409** with \\`error.type\\` \\`CONFLICT\\` and the stable code \\`${source.continuityCodes.LAST_ORGANIZATION_OWNER}\\` in \\`error.code\\`.`,\n lifecycle,\n invitationRecord: 'membership',\n authorizationStatus: OrganizationMemberStatus.ACTIVE,\n ownerContinuityErrorCode: source.continuityCodes.LAST_ORGANIZATION_OWNER,\n };\n}\n\nfunction projectBillingLifecycleConsumerFact(source: BillingLifecycleConsumerFactSource): EngineDocumentationSpecificationSemanticDto {\n const productMeanings: Readonly<Record<ProductType, string>> = {\n [ProductType.PLAN]: 'The primary recurring subscription and its base features and limits.',\n [ProductType.ADDON]: 'An optional recurring feature or capacity added to a plan.',\n [ProductType.METERED]: 'A recurring product whose charge depends on recorded usage.',\n [ProductType.ONE_TIME]: 'A non-recurring purchase that can be bought once for the billing account.',\n [ProductType.CREDIT_PACK]: 'A repeatable purchase that adds prepaid credits to a balance.',\n [ProductType.ITEM]: 'A repeatable one-off item that does not create a subscription.',\n };\n const subscriptionMeanings: Readonly<Record<SubscriptionStatus, string>> = {\n [SubscriptionStatus.ACTIVE]: 'The subscription is current and contributes its billing-derived access.',\n [SubscriptionStatus.TRIALING]: 'The subscription is in its trial period and contributes its billing-derived access.',\n [SubscriptionStatus.PAST_DUE]: 'Payment is overdue at the provider; it does not contribute billing-derived access.',\n [SubscriptionStatus.UNPAID]: 'The provider considers the subscription unpaid; it does not contribute billing-derived access.',\n [SubscriptionStatus.CANCELLED]: 'The subscription has ended and remains visible as billing history.',\n [SubscriptionStatus.INCOMPLETE]: 'Checkout or the first payment has not completed; do not treat the purchase as active.',\n [SubscriptionStatus.INCOMPLETE_EXPIRED]: 'The incomplete first-payment window expired; start a new approved purchase if access is still needed.',\n [SubscriptionStatus.PAUSED]: 'The provider has paused the subscription; it does not contribute billing-derived access.',\n };\n const invoiceMeanings: Readonly<Record<InvoiceStatus, string>> = {\n [InvoiceStatus.DRAFT]: 'The invoice has not been finalized for collection.',\n [InvoiceStatus.OPEN]: 'The finalized invoice is awaiting payment.',\n [InvoiceStatus.PAID]: 'The invoice was paid successfully.',\n [InvoiceStatus.VOID]: 'The provider voided the invoice.',\n [InvoiceStatus.UNCOLLECTIBLE]: 'The provider marked the invoice uncollectible or a payment-failure event was recorded.',\n };\n const pricingModelMeanings: Readonly<Record<PricingModel, string>> = {\n [PricingModel.FLAT]: 'One fixed price for the line item; quantity does not select a different unit rate.',\n [PricingModel.PER_UNIT]: 'The amount scales linearly with quantity, such as seats or purchased units.',\n [PricingModel.TIERED]: 'Volume pricing: the reached tier supplies the unit rate applied to the whole quantity.',\n [PricingModel.GRADUATED]: 'Graduated pricing: each quantity bracket is priced independently, then the brackets are added.',\n [PricingModel.PACKAGE]: 'Units are sold in fixed-size packages; a partial package rounds up to the next package.',\n };\n const billingIntervalMeanings: Readonly<Record<BillingInterval, string>> = {\n [BillingInterval.MONTH]: 'The recurring price renews in month-based periods; interval count can make this every several months.',\n [BillingInterval.YEAR]: 'The recurring price renews in year-based periods; interval count can make this every several years.',\n };\n const taxDisplayMeanings: Readonly<Record<TaxDisplayMode, string>> = {\n [TaxDisplayMode.EXCLUSIVE]: 'The displayed price excludes tax; the provider can add tax at checkout or invoicing.',\n [TaxDisplayMode.INCLUSIVE]: 'The displayed price already includes tax; the provider separates the tax component in billing evidence.',\n };\n const limitGrantMeanings: Readonly<Record<LimitGrantMode, string>> = {\n [LimitGrantMode.SET]: 'Establishes an absolute capacity. A plan commonly uses this for its base limit; an add-on can raise it to a larger value.',\n [LimitGrantMode.ADD]: 'Adds capacity to the current value. Add-ons commonly use this for extra seats, runs or storage.',\n };\n const promotionTypeMeanings: Readonly<Record<PromotionType, string>> = {\n [PromotionType.COUPON]: 'A discount selected or applied without a customer-entered code.',\n [PromotionType.PROMOTION_CODE]: 'A discount activated by a customer-entered code at checkout.',\n [PromotionType.REFERRAL]: 'A promotion issued through a referral programme.',\n [PromotionType.DEAL]: 'A negotiated or specially targeted commercial offer.',\n };\n const discountTypeMeanings: Readonly<Record<DiscountType, string>> = {\n [DiscountType.PERCENTAGE]: 'Reduces an eligible amount by a percentage.',\n [DiscountType.FIXED_AMOUNT]: 'Reduces an eligible amount by a fixed amount in its stated currency.',\n };\n const promotionDurationMeanings: Readonly<Record<PromotionDuration, string>> = {\n [PromotionDuration.ONCE]: 'Applies to one eligible charge.',\n [PromotionDuration.REPEATING]: 'Applies for the configured number of billing months.',\n [PromotionDuration.FOREVER]: 'Applies to eligible recurring charges while the promotion remains valid.',\n };\n const usageSourceMeanings: Readonly<Record<UsageSourceType, string>> = {\n [UsageSourceType.OPERATION]: 'Usage was recorded from a named application operation.',\n [UsageSourceType.RESOURCE_COUNT]: 'Usage was measured from the size of a resource collection.',\n [UsageSourceType.CUSTOM]: 'Usage came from an application-specific metering source.',\n };\n const productTypes = Object.values(source.productTypes).map((value) => ({ value, meaning: productMeanings[value] }));\n const pricingModels = Object.values(source.pricingModels).map((value) => ({ value, meaning: pricingModelMeanings[value] }));\n const billingIntervals = Object.values(source.billingIntervals).map((value) => ({ value, meaning: billingIntervalMeanings[value] }));\n const taxDisplayModes = Object.values(source.taxDisplayModes).map((value) => ({ value, meaning: taxDisplayMeanings[value] }));\n const limitGrantModes = Object.values(source.limitGrantModes).map((value) => ({ value, meaning: limitGrantMeanings[value] }));\n const promotionTypes = Object.values(source.promotionTypes).map((value) => ({ value, meaning: promotionTypeMeanings[value] }));\n const discountTypes = Object.values(source.discountTypes).map((value) => ({ value, meaning: discountTypeMeanings[value] }));\n const promotionDurations = Object.values(source.promotionDurations).map((value) => ({ value, meaning: promotionDurationMeanings[value] }));\n const usageSourceTypes = Object.values(source.usageSourceTypes).map((value) => ({ value, meaning: usageSourceMeanings[value] }));\n const subscriptionStatuses = Object.values(source.subscriptionStatuses).map((value) => ({ value, meaning: subscriptionMeanings[value] }));\n const invoiceStatuses = Object.values(source.invoiceStatuses).map((value) => ({ value, meaning: invoiceMeanings[value] }));\n const table = (rows: readonly { readonly value: string; readonly meaning: string }[]) =>\n rows.map(({ value, meaning }) => `| \\`${value}\\` | ${meaning} |`).join('\\n');\n\n return {\n markdown: `Billing state is application state, not a browser redirect. A hosted checkout or billing portal collects provider-managed payment and customer details; the application updates subscriptions, invoices, usage and billing-derived access from its verified billing flow. Only **Active** and **Trialing** subscriptions contribute billing-derived features and limits.`,\n productTypesMarkdown: `| Product kind | What it means |\\n| --- | --- |\\n${table(productTypes)}`,\n pricingModelsMarkdown: `| Pricing model | How quantity changes the amount |\\n| --- | --- |\\n${table(pricingModels)}`,\n billingIntervalsMarkdown: `| Recurring interval | What to verify |\\n| --- | --- |\\n${table(billingIntervals)}`,\n taxDisplayModesMarkdown: `| Tax display | What the displayed amount means |\\n| --- | --- |\\n${table(taxDisplayModes)}`,\n limitGrantModesMarkdown: `| Capacity rule | How it combines |\\n| --- | --- |\\n${table(limitGrantModes)}`,\n promotionVocabularyMarkdown: `| Promotion kind | What it means |\\n| --- | --- |\\n${table(promotionTypes)}\\n\\n| Discount calculation | What it changes |\\n| --- | --- |\\n${table(discountTypes)}\\n\\n| Promotion duration | How long it applies |\\n| --- | --- |\\n${table(promotionDurations)}`,\n usageSourceTypesMarkdown: `| Usage source | What it records |\\n| --- | --- |\\n${table(usageSourceTypes)}`,\n subscriptionStatusesMarkdown: `| Subscription state | What it means for the reader |\\n| --- | --- |\\n${table(subscriptionStatuses)}`,\n invoiceStatusesMarkdown: `| Invoice state | What it means |\\n| --- | --- |\\n${table(invoiceStatuses)}`,\n changeTimingMarkdown: `A billing change can be **Immediate** or **At period end**. Proration can create prorations, create no proration, or invoice the adjustment immediately. The product presented by the application owns the actual timing and proration policy; a connector may apply immediately when it cannot schedule a deferred change.`,\n productTypes,\n pricingModels,\n billingIntervals,\n taxDisplayModes,\n limitGrantModes,\n promotionTypes,\n discountTypes,\n promotionDurations,\n usageSourceTypes,\n subscriptionStatuses,\n invoiceStatuses,\n entitlementSubscriptionStatuses: [SubscriptionStatus.ACTIVE, SubscriptionStatus.TRIALING],\n changeTimings: Object.values(source.changeTimings),\n prorationBehaviors: Object.values(source.prorationBehaviors),\n };\n}\n\nfunction projectEnumValues(value: unknown): Array<{ value: string; meaning: string }> {\n if (value === null || typeof value !== \"object\" || Array.isArray(value)) return [];\n return Object.entries(value)\n .flatMap(([enumValue, config]) => {\n if (config === null || typeof config !== \"object\" || Array.isArray(config)) return [];\n const meaning = (config as Readonly<Record<string, unknown>>).meaning;\n return typeof meaning === \"string\" ? [{ value: enumValue, meaning }] : [];\n })\n .sort((left, right) => left.value.localeCompare(right.value));\n}\n\nfunction projectFieldSpecification(field: ExtractedFieldSpec): EngineDocumentationSpecificationSemanticDto {\n const params = field.params as Readonly<Record<string, unknown>>;\n const origin = field.origin;\n const variantPath = origin?.variantPath?.map((variant) => ({\n discriminatorField: variant.discriminatorField,\n discriminatorValue: variant.discriminatorValue,\n })) ?? [];\n\n return {\n fieldName: field.fieldName,\n meaning: field.params.meaning,\n importance: optionalString(params.importance),\n semanticRole: optionalString(params.semanticRole),\n unit: optionalString(params.unit),\n temporalRole: optionalString(params.temporalRole),\n relationshipContext: optionalString(params.relationshipContext),\n elementMeaning: optionalString(params.elementMeaning),\n enumValues: projectEnumValues(params.values),\n origin: {\n scope: optionalString(origin?.scope),\n variantPath,\n },\n derived: {\n collectionElementKind: optionalString(field.derived?.arrayElement?.kind),\n primitiveType: optionalString(field.derived?.arrayElement?.primitiveType),\n foreignKeyTargetResourceType: optionalString(field.derived?.foreignKeyTarget?.resourceType),\n },\n };\n}\n\nfunction projectResourceFields(specification: AnyResourceSpecificationConfig): EngineDocumentationSpecificationSemanticDto[] {\n const decoratedFields = specification.fields === undefined\n ? []\n : extractFieldSpecsFromFieldMap(specification.fields as unknown as Parameters<typeof extractFieldSpecsFromFieldMap>[0]);\n const candidates = [...decoratedFields, ...(specification.additionalFieldSpecs ?? [])].map(projectFieldSpecification);\n const byIdentity = new Map<string, EngineDocumentationSpecificationSemanticDto>();\n\n for (const candidate of candidates) {\n const record = candidate as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n const identity = canonicalizeTechnicalDocumentationJson({ fieldName: record.fieldName, origin: record.origin });\n const existing = byIdentity.get(identity);\n if (existing !== undefined && canonicalizeTechnicalDocumentationJson(existing) !== canonicalizeTechnicalDocumentationJson(candidate)) {\n throw new Error(`conflicting application-consumer field semantics in resource catalog for ${identity}`);\n }\n byIdentity.set(identity, candidate);\n }\n\n return [...byIdentity.entries()]\n .sort(([left], [right]) => left.localeCompare(right))\n .map(([, candidate]) => candidate);\n}\n\nfunction projectM2mCommunications(communications: ResourceOperationM2MSpecification | undefined): EngineDocumentationSpecificationSemanticDto | null {\n if (communications === undefined) return null;\n const requiredFeatures = communications.requiredFeatures;\n return {\n purpose: communications.purpose,\n useWhen: optionalString(communications.useWhen),\n avoidWhen: optionalString(communications.avoidWhen),\n deliveries: [...communications.deliveries]\n .map((delivery) => ({\n audience: delivery.audience,\n channelRef: delivery.channelRef,\n level: optionalString(delivery.level),\n variantRef: optionalString(delivery.variantRef),\n customDeliveryRef: optionalString(delivery.customDeliveryRef),\n }))\n .sort((left, right) => canonicalizeTechnicalDocumentationJson(left).localeCompare(canonicalizeTechnicalDocumentationJson(right))),\n requiredFeatures: requiredFeatures === undefined ? null : {\n featureRefs: [...requiredFeatures.featureRefs].sort((left, right) => left.localeCompare(right)),\n mode: optionalString(requiredFeatures.mode),\n limitChecks: [...(requiredFeatures.limitChecks ?? [])]\n .map((limitCheck) => ({ featureRef: limitCheck.featureRef, increment: optionalNumber(limitCheck.increment) }))\n .sort((left, right) => left.featureRef.localeCompare(right.featureRef)),\n },\n };\n}\n\nfunction projectOperationVariant(variant: Readonly<Record<string, unknown>>): EngineDocumentationSpecificationSemanticDto {\n return {\n purpose: optionalString(variant.purpose),\n outcome: optionalString(variant.outcome),\n whenToUse: optionalString(variant.whenToUse),\n importance: optionalString(variant.importance),\n audienceOverride: optionalString(variant.audienceOverride),\n };\n}\n\nfunction projectResourceOperation(operationKey: string, operation: ResourceOperationSpecification): EngineDocumentationSpecificationSemanticDto {\n const variants = Object.entries(operation.variants ?? {})\n .flatMap(([variantRef, variant]) => variant === undefined ? [] : [{ variantRef, semantics: projectOperationVariant(variant as unknown as Readonly<Record<string, unknown>>) }])\n .sort((left, right) => left.variantRef.localeCompare(right.variantRef));\n\n return {\n operationKey,\n operationId: optionalString(operation.operationId),\n purpose: optionalString(operation.purpose),\n outcome: optionalString(operation.outcome),\n whenToUse: optionalString(operation.whenToUse),\n importance: optionalString(operation.importance),\n variants,\n responseStatuses: [...(operation.responseStatuses ?? [])]\n .map((response) => ({ code: response.code, meaning: response.meaning }))\n .sort((left, right) => left.code.localeCompare(right.code)),\n errorScenarios: [...(operation.errorScenarios ?? [])]\n .map((scenario) => ({ code: scenario.code, when: scenario.when, errorCode: optionalString(scenario.errorCode) }))\n .sort((left, right) => canonicalizeTechnicalDocumentationJson(left).localeCompare(canonicalizeTechnicalDocumentationJson(right))),\n idempotent: optionalBoolean(operation.idempotent),\n rateLimitNote: optionalString(operation.rateLimitNote),\n m2mCommunications: projectM2mCommunications(operation.communications?.m2m),\n };\n}\n\nfunction projectResourceSpecification(source: readonly ResourceSpecificationSourceBinding[]): EngineDocumentationSpecificationSemanticDto {\n const resources = source\n .map(({ resourceType, specification }) => ({\n resourceType: String(resourceType),\n purpose: specification.purpose,\n businessRole: specification.businessRole,\n lifecycleRole: optionalString(specification.lifecycleRole),\n audience: String(specification.audience),\n resourcePrimaryScope: optionalString(specification.resourcePrimaryScope),\n fields: projectResourceFields(specification),\n operations: Object.entries(specification.operations ?? {})\n .flatMap(([operationKey, operation]) => operation === undefined ? [] : [projectResourceOperation(operationKey, operation)])\n .sort((left, right) => canonicalizeTechnicalDocumentationJson(left).localeCompare(canonicalizeTechnicalDocumentationJson(right))),\n }))\n .sort((left, right) => left.resourceType.localeCompare(right.resourceType));\n\n return { resources };\n}\n\nfunction projectSystemEmailTemplateGroup(source: readonly SystemEmailTemplateSpecificationConfig[]): EngineDocumentationSpecificationSemanticDto {\n return {\n templates: [...source]\n .map((specification) => ({\n templateRef: specification.templateRef,\n purpose: specification.purpose,\n emailType: optionalString(specification.emailType),\n frequency: optionalString(specification.frequency),\n scope: optionalString(specification.scope),\n useWhen: optionalString(specification.useWhen),\n avoidWhen: optionalString(specification.avoidWhen),\n }))\n .sort((left, right) => left.templateRef.localeCompare(right.templateRef)),\n };\n}\n\nfunction projectErrorVocabulary(source: ErrorVocabularySource): EngineDocumentationSpecificationSemanticDto {\n const authoredByRef = new Map(Object.values(source.specifications).map((specification) => [specification.ref, specification]));\n return {\n errors: Object.values(source.vocabulary)\n .sort((left, right) => left.localeCompare(right))\n .map((errorCode) => {\n const specification = authoredByRef.get(errorCode);\n return {\n errorCode,\n coverageState: specification === undefined\n ? EngineDocumentationErrorCoverageState.DELIBERATELY_WITHOUT_AUTHORED_APPLICATION_CONSUMER_SEMANTICS\n : EngineDocumentationErrorCoverageState.AUTHORED_APPLICATION_CONSUMER_SEMANTICS,\n audience: optionalString(specification?.audience),\n purpose: optionalString(specification?.purpose),\n businessRole: optionalString(specification?.businessRole),\n };\n }),\n };\n}\n\nfunction projectEngineCapability(source: EngineCapabilitySource): EngineDocumentationSpecificationSemanticDto {\n return {\n capability: source.capability,\n };\n}\n\nfunction projectFeatureSpecification(source: FeatureSpecificationConfig): EngineDocumentationSpecificationSemanticDto {\n return {\n features: [{\n registryKey: appLevelFeatureSpecificationKeyFor(source.ref),\n ref: source.ref,\n resourceType: null,\n purpose: source.purpose,\n businessRole: source.businessRole,\n lifecycleRole: optionalString(source.lifecycleRole),\n availabilityRole: optionalString(source.availabilityRole),\n useWhen: optionalString(source.useWhen),\n avoidWhen: optionalString(source.avoidWhen),\n }],\n };\n}\n\nfunction projectWebhookPublicKeyPublicationContract(): EngineDocumentationSpecificationSemanticDto {\n const candidates = Object.entries(WebhookConfigBaseSchema.shape).filter(([, fieldSchema]) => {\n const compatibleSchema = fieldSchema as unknown as Parameters<typeof isExcludedFromCreate>[0];\n return getZodType(unwrapSchema(fieldSchema as unknown as Parameters<typeof unwrapSchema>[0])) === \"string\"\n && isExcludedFromCreate(compatibleSchema)\n && isExcludedFromUpdate(compatibleSchema)\n && !isBackendOnlyField(compatibleSchema)\n && !isWriteOnlySecretField(compatibleSchema);\n });\n if (candidates.length !== 1) {\n throw new Error(\n `outbound webhook application documentation requires exactly one client-visible string response field excluded from both CREATE and UPDATE; found ${candidates.length}`,\n );\n }\n const [publicKeyResponseField] = candidates[0];\n return {\n signatureHeader: WildoHeaderKeys.X_WEBHOOK_SIGNATURE,\n publicKeyResponseField,\n publicKeyWritePolicy: EngineDocumentationPublicKeyWritePolicy.READ_ONLY,\n };\n}\n\nfunction managedSource<TSource>(entry: EngineDocumentationSpecificationManagedSource<TSource>): EngineDocumentationSpecificationManagedSource<TSource> {\n return Object.freeze(entry);\n}\n\n/**\n * The catalog entry that carries the outbound-webhook signature publication\n * contract (`outboundSignaturePublication`).\n *\n * Exported so an evidence producer can ask whether the engine still publishes a\n * signature scheme to document, without duplicating the source-ref literal. The\n * signature-verification documentation unit gates on exactly this entry: prose\n * describing how to verify a signature is only publishable while a contract\n * describing that signature is in the catalog.\n */\nexport const ENGINE_DOCUMENTATION_OUTBOUND_WEBHOOK_SIGNATURE_SOURCE_REF =\n \"source:resource_specification:engine/saas-specifications/src/engine/notifications/resources/webhook-config.resource.specification.ts\";\n\nconst RESOURCE_SPECIFICATION_FAMILY_PROJECTOR_REF = \"projector:technical-documentation:resource-specification:v1\";\nconst SYSTEM_EMAIL_GROUP_FAMILY_PROJECTOR_REF = \"projector:technical-documentation:system-email-template-group:v1\";\n\nconst MANAGED_SOURCES_UNSORTED: readonly EngineDocumentationSpecificationManagedSource<unknown>[] = [\n managedSource({\n sourceRef: \"source:consumer-fact:billing-lifecycle\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/billing/billing-enums.shared.schemas.ts#ProductType|PricingModel|BillingInterval|TaxDisplayMode|LimitGrantMode|PromotionType|DiscountType|PromotionDuration|UsageSourceType|SubscriptionStatus|InvoiceStatus|BillingTiming|ProrationBehavior\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n productTypes: ProductType,\n pricingModels: PricingModel,\n billingIntervals: BillingInterval,\n taxDisplayModes: TaxDisplayMode,\n limitGrantModes: LimitGrantMode,\n promotionTypes: PromotionType,\n discountTypes: DiscountType,\n promotionDurations: PromotionDuration,\n usageSourceTypes: UsageSourceType,\n subscriptionStatuses: SubscriptionStatus,\n invoiceStatuses: InvoiceStatus,\n changeTimings: BillingTiming,\n prorationBehaviors: ProrationBehavior,\n } satisfies BillingLifecycleConsumerFactSource,\n project: (source) => projectBillingLifecycleConsumerFact(source as BillingLifecycleConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-membership-administration\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/organizations/organization-members.shared.schemas.ts#OrganizationMemberSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n membershipFieldNames: Object.keys(OrganizationMemberSchema.shape),\n statuses: OrganizationMemberStatus,\n continuityCodes: AdministrativeContinuityErrorCode,\n } satisfies OrganizationMembershipAdministrationConsumerFactSource,\n project: (source) => projectOrganizationMembershipAdministrationConsumerFact(source as OrganizationMembershipAdministrationConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:access-oauth-clients\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/oauth-clients/oauth-clients.shared.schemas.ts#OAuthClientSchemaBase|engine/saas-specifications/src/engine/auth/resources/organization-oauth-clients.resource.specification.ts#organizationOAuthClientsResourceSpecification|engine/saas-specifications/src/engine/applications/resources/application-oauth-clients.resource.specification.ts#applicationOAuthClientsResourceSpecification\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n grantTypes: OAuthGrantType,\n tokenEndpointAuthMethods: OAuthTokenEndpointAuthMethod,\n registrationOrigins: OAuthClientRegistrationOrigin,\n statuses: OAuthClientStatus,\n clientFieldNames: Object.keys(OAuthClientSchemaBase.shape),\n organizationSpecification: organizationOAuthClientsResourceSpecification,\n applicationSpecification: applicationOAuthClientsResourceSpecification,\n } satisfies OAuthClientsConsumerFactSource,\n project: (source) => projectOAuthClientsConsumerFact(source as OAuthClientsConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:access-single-sign-on\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/authentications/sso/sso-connection.shared.schemas.ts#SsoConnectionBaseSchema|engine/saas-specifications/src/engine/auth/resources/sso-connections.resource.specification.ts#organizationSsoConnectionsResourceSpecification\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n protocols: SsoProtocol,\n connectionFieldNames: Object.keys(SsoConnectionBaseSchema.shape),\n specification: organizationSsoConnectionsResourceSpecification,\n defaults: createSingleSignOnConsumerFactDefaults(),\n } satisfies SingleSignOnConsumerFactSource,\n project: (source) => projectSingleSignOnConsumerFact(source as SingleSignOnConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:access-api-keys\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/api-keys/api-keys.shared.schemas.ts#API_KEY_CREDENTIAL_PRESENTATION|engine/saas-specifications/src/engine/auth/resources/organization-api-keys.resource.specification.ts#organizationApiKeysResourceSpecification|engine/saas-specifications/src/engine/applications/resources/application-api-keys.resource.specification.ts#applicationApiKeysResourceSpecification\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n ...API_KEY_CREDENTIAL_PRESENTATION,\n statuses: ApiKeyStatus,\n organizationSpecification: organizationApiKeysResourceSpecification,\n applicationSpecification: applicationApiKeysResourceSpecification,\n } satisfies ApiKeysConsumerFactSource,\n project: (source) => projectApiKeysConsumerFact(source as ApiKeysConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:access-authentication-methods\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/authentications/authentication.shared.schemas.ts#AuthMethod\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n methods: AuthMethod,\n categories: AUTH_METHOD_CATEGORY_MAP,\n factorTypes: AUTH_METHOD_FACTOR_MAP,\n } satisfies AuthenticationMethodsConsumerFactSource,\n project: (source) => projectAuthenticationMethodsConsumerFact(source as AuthenticationMethodsConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-scim-provisioning\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/authentications/scim/scim-provisioning-config.shared.schemas.ts#ScimProvisioningConfigBaseSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n provisioningFieldNames: Object.keys(ScimProvisioningConfigBaseSchema.shape),\n organizationUnitMappingFieldNames: Object.keys(ScimOrganizationUnitMappingEntrySchema.shape),\n specification: organizationScimProvisioningConfigResourceSpecification,\n defaults: {\n autoCreateUsers: ScimProvisioningConfigBaseSchema.shape.autoCreateUsers.parse(undefined),\n autoVerifyEmail: ScimProvisioningConfigBaseSchema.shape.autoVerifyEmail.parse(undefined),\n autoDeactivateUsers: ScimProvisioningConfigBaseSchema.shape.autoDeactivateUsers.parse(undefined),\n attributeMapping: ScimAttributeMappingSchema.parse({}),\n },\n } satisfies ScimProvisioningConsumerFactSource,\n project: (source) => projectScimProvisioningConsumerFact(source as ScimProvisioningConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-audit-trail\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/compliance/audit-trails/auditable-events.shared.schema.ts#AuditEventCategory|engine/saas-models/src/compliance/audit-trails/audit-logs.shared.resources-config.schemas.ts#AuditLogs_FilterSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n categories: AuditEventCategory,\n severities: AuditEventSeverity,\n // The exact fields the LIST operation declares; a reader cannot filter by anything else.\n filterFieldNames: ['eventType', 'eventCategory', 'severity', 'userId', 'organizationId', 'applicationId', 'correlationId', 'clientInstanceId', 'createdAt'],\n sortFieldNames: ['createdAt', 'severity', 'eventType', 'eventId'],\n maxRecordsPerPage: 100,\n specification: auditLogsResourceSpecification,\n } satisfies AuditTrailConsumerFactSource,\n project: (source) => projectAuditTrailConsumerFact(source as AuditTrailConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-siem-export\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/security/authentications/siem/siem-export-config.shared.schemas.ts#SiemExportConfigBaseSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n configurationFieldNames: Object.keys(SiemExportConfigBaseSchema.shape),\n specification: organizationSiemExportConfigResourceSpecification,\n defaults: {\n enabled: SiemExportConfigBaseSchema.shape.enabled.parse(undefined),\n webhookUrl: SiemExportConfigBaseSchema.shape.webhookUrl.parse(undefined),\n authMethod: SiemExportConfigBaseSchema.shape.authMethod.parse(undefined),\n authHeaderName: SiemExportConfigBaseSchema.shape.authHeaderName.parse(undefined),\n eventFormat: SiemExportConfigBaseSchema.shape.eventFormat.parse(undefined),\n eventFilter: SiemExportConfigBaseSchema.shape.eventFilter.parse({}),\n delivery: SiemExportConfigBaseSchema.shape.delivery.parse({}),\n },\n } satisfies SiemExportConsumerFactSource,\n project: (source) => projectSiemExportConsumerFact(source as SiemExportConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:organization-units\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/organizations/organization-units.shared.schemas.ts#OrganizationUnitSchema\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n unitFieldNames: Object.keys(OrganizationUnitSchema.shape),\n unitMemberFieldNames: Object.keys(OrganizationUnitMemberSchema.shape),\n types: OrganizationUnitType,\n statuses: OrganizationUnitStatus,\n inheritanceTypes: OrganizationUnit_PermissionInheritanceType,\n } satisfies OrganizationUnitsConsumerFactSource,\n project: (source) => projectOrganizationUnitsConsumerFact(source as OrganizationUnitsConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:rest-conventions\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/errors/errors.shared.definitions.ts#ERROR_DEFINITIONS|engine/saas-models/src/errors/errors.shared.schemas.ts#ErrorResponseSchema|engine/saas-models/src/resources/collection-query-parameters.shared.ts#COLLECTION_QUERY_PARAMETERS|engine/saas-models/src/resources/resources-config.shared.schemas.ts#Resources_PaginationRequestSchema|engine/saas-models/src/requests/header-keys.shared.ts#WildoHeaderKeys\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n errorDefinitions: ERROR_DEFINITIONS,\n errorEnvelopeFieldNames: Object.keys(ErrorResponseSchema.shape.error.shape),\n queryParameters: COLLECTION_QUERY_PARAMETERS,\n pagination: {\n defaultPage: Resources_PaginationRequestSchema.shape.page.parse(undefined),\n defaultLimit: Resources_PaginationRequestSchema.shape.limit.parse(undefined),\n maxLimit: (() => {\n const limit = unwrapSchema(Resources_PaginationRequestSchema.shape.limit) as { readonly maxValue?: number | null };\n if (typeof limit.maxValue !== \"number\") throw new Error(\"pagination limit schema has no maximum\");\n return limit.maxValue;\n })(),\n requestFieldNames: Object.keys(Resources_PaginationRequestSchema.shape),\n responseFieldNames: Object.keys(Resources_PaginationResponseMetadataSchema.shape),\n },\n headers: {\n authorization: WildoHeaderKeys.AUTHORIZATION,\n ifMatch: WildoHeaderKeys.IF_MATCH,\n etag: WildoHeaderKeys.ETAG,\n rateLimitLimit: WildoHeaderKeys.RATE_LIMIT_LIMIT,\n rateLimitRemaining: WildoHeaderKeys.RATE_LIMIT_REMAINING,\n rateLimitReset: WildoHeaderKeys.RATE_LIMIT_RESET,\n },\n } satisfies RestConventionsConsumerFactSource,\n project: (source) => projectRestConventionsConsumerFact(source as RestConventionsConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:consumer-fact:outbound-webhooks\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,\n sourceModuleBinding: \"engine/saas-models/src/notifications/m2m/m2m-webhook-delivery-contract.shared.ts#M2M_WEBHOOK_DELIVERY_CONTRACT|engine/saas-models/src/notifications/m2m/webhook-config.shared.schemas.ts#WebhookEndpointSchema|WebhookConfigBaseSchema|WebhookEndpointProbeOutcome|engine/saas-models/src/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.ts#M2MWebhookDeliveryLogBaseSchema|M2MWebhookDeliveryLogStatus\",\n projectorRef: \"projector:technical-documentation:consumer-fact:v1\",\n source: {\n contract: M2M_WEBHOOK_DELIVERY_CONTRACT,\n endpointFieldNames: Object.keys(WebhookEndpointSchema.shape),\n configurationFieldNames: Object.keys(WebhookConfigBaseSchema.shape),\n deliveryLogFieldNames: Object.keys(M2MWebhookDeliveryLogBaseSchema.shape),\n deliveryStatuses: M2MWebhookDeliveryLogStatus,\n probeOutcomes: WebhookEndpointProbeOutcome,\n channels: CoreM2MNotificationChannel,\n } satisfies OutboundWebhooksConsumerFactSource,\n project: (source) => projectOutboundWebhooksConsumerFact(source as OutboundWebhooksConsumerFactSource),\n }),\n managedSource({\n sourceRef: \"source:engine-capability:ORGANIZATIONS\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.ENGINE_CAPABILITY,\n sourceModuleBinding: \"engine/saas-models/src/external-providers/engine-capabilities.shared.schemas.ts#EngineCapability.ORGANIZATIONS\",\n projectorRef: \"projector:technical-documentation:engine-capability:v1\",\n source: { capability: EngineCapability.ORGANIZATIONS },\n project: (source) => projectEngineCapability(source as EngineCapabilitySource),\n }),\n ...[\n [\"organization-members.resource.specification.ts\", CoreResourceType.ORGANIZATION_MEMBERS, organizationMembersResourceSpecification],\n [\"organization-notifications.resource.specification.ts\", CoreResourceType.ORGANIZATION_NOTIFICATIONS, organizationNotificationsResourceSpecification],\n [\"organization-preferences.resource.specification.ts\", CoreResourceType.ORGANIZATION_PREFERENCES, organizationPreferencesResourceSpecification],\n [\"organization-profiles.resource.specification.ts\", CoreResourceType.ORGANIZATION_PROFILES, organizationProfilesResourceSpecification],\n [\"organization-unit-members.resource.specification.ts\", CoreResourceType.ORGANIZATION_UNIT_MEMBERS, organizationUnitMembersResourceSpecification],\n [\"organization-units.resource.specification.ts\", CoreResourceType.ORGANIZATION_UNITS, organizationUnitsResourceSpecification],\n [\"organizations.resource.specification.ts\", CoreResourceType.ORGANIZATIONS, organizationsResourceSpecification],\n ].map(([fileName, resourceType, specification]) => managedSource({\n sourceRef: `source:resource_specification:engine/saas-specifications/src/engine/organizations/resources/${fileName as string}`,\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.RESOURCE,\n sourceModuleBinding: `engine/saas-specifications/src/engine/organizations/resources/${fileName as string}`,\n projectorRef: RESOURCE_SPECIFICATION_FAMILY_PROJECTOR_REF,\n source: [{ resourceType: resourceType as string, specification: specification as AnyResourceSpecificationConfig }],\n project: (candidate) => projectResourceSpecification(candidate as readonly ResourceSpecificationSourceBinding[]),\n })),\n ...[\n [\"authentication.system-emails.specification.ts\", authenticationSystemEmailTemplateSpecifications],\n [\"organization.system-emails.specification.ts\", organizationSystemEmailTemplateSpecifications],\n [\"security.system-emails.specification.ts\", securitySystemEmailTemplateSpecifications],\n [\"subscription.system-emails.specification.ts\", subscriptionSystemEmailTemplateSpecifications],\n ].map(([fileName, source]) => managedSource({\n sourceRef: `source:system_email_specification_group:engine/saas-specifications/src/engine/notifications/system-emails/${fileName as string}`,\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.SYSTEM_EMAIL_TEMPLATE_GROUP,\n sourceModuleBinding: `engine/saas-specifications/src/engine/notifications/system-emails/${fileName as string}`,\n projectorRef: SYSTEM_EMAIL_GROUP_FAMILY_PROJECTOR_REF,\n source,\n project: (candidate) => projectSystemEmailTemplateGroup(candidate as readonly SystemEmailTemplateSpecificationConfig[]),\n })),\n managedSource({\n sourceRef: \"source:error_specification:engine/saas-specifications/src/engine/errors/error-messages.specification.ts\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.ERROR_VOCABULARY,\n sourceModuleBinding: \"engine/saas-specifications/src/engine/errors/error-messages.specification.ts#engineErrorMessageSpecifications\",\n projectorRef: \"projector:technical-documentation:error-vocabulary:v1\",\n source: { vocabulary: ErrorCustomMessageReference, specifications: engineErrorMessageSpecifications },\n project: (source) => projectErrorVocabulary(source as ErrorVocabularySource),\n }),\n managedSource({\n sourceRef: \"source:feature_specification:engine/saas-specifications/src/engine/features/m2m-webhook-delivery.feature.specification.ts\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.FEATURE,\n sourceModuleBinding: \"engine/saas-specifications/src/engine/features/m2m-webhook-delivery.feature.specification.ts#m2mWebhookDeliveryFeatureSpecification\",\n projectorRef: \"projector:technical-documentation:feature-specification:v1\",\n source: m2mWebhookDeliveryFeatureSpecification,\n project: (source) => projectFeatureSpecification(source as FeatureSpecificationConfig),\n }),\n managedSource({\n sourceRef: \"source:resource_specification:engine/saas-specifications/src/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.ts\",\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.RESOURCE,\n sourceModuleBinding: \"engine/saas-specifications/src/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.ts\",\n projectorRef: RESOURCE_SPECIFICATION_FAMILY_PROJECTOR_REF,\n source: [\n { resourceType: CoreResourceType.APPLICATION_M2M_WEBHOOK_DELIVERY_LOG, specification: applicationM2mWebhookDeliveryLogResourceSpecification },\n { resourceType: CoreResourceType.ORGANIZATION_M2M_WEBHOOK_DELIVERY_LOG, specification: organizationM2mWebhookDeliveryLogResourceSpecification },\n ],\n project: (source) => projectResourceSpecification(source as readonly ResourceSpecificationSourceBinding[]),\n }),\n managedSource({\n sourceRef: ENGINE_DOCUMENTATION_OUTBOUND_WEBHOOK_SIGNATURE_SOURCE_REF,\n specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.RESOURCE,\n sourceModuleBinding: \"engine/saas-specifications/src/engine/notifications/resources/webhook-config.resource.specification.ts\",\n projectorRef: RESOURCE_SPECIFICATION_FAMILY_PROJECTOR_REF,\n source: [\n { resourceType: CoreResourceType.APPLICATION_WEBHOOK_CONFIG, specification: applicationWebhookConfigResourceSpecification },\n { resourceType: CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG, specification: organizationWebhookConfigResourceSpecification },\n ],\n project: (source) => {\n const resourceProjection = projectResourceSpecification(source as readonly ResourceSpecificationSourceBinding[]) as Readonly<Record<string, EngineDocumentationSpecificationSemanticDto>>;\n return {\n ...resourceProjection,\n outboundSignaturePublication: projectWebhookPublicKeyPublicationContract(),\n };\n },\n }),\n];\n\n/**\n * Explicit engine source registry for documentation of generated applications.\n *\n * Application-owned specifications and live runtime/provider observations are intentionally absent. They enter later through accepted-application projections and\n * operational evidence, so this catalog cannot misrepresent authoring intent or static engine support as a live application fact.\n */\nconst ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_REGISTRY: readonly EngineDocumentationSpecificationManagedSource<unknown>[] = Object.freeze(\n [...MANAGED_SOURCES_UNSORTED].sort((left, right) => left.sourceRef.localeCompare(right.sourceRef)),\n);\n\n/** Immutable non-executable registry inventory for diagnostics and coverage checks. */\nexport const ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_DESCRIPTORS: readonly EngineDocumentationSpecificationManagedSourceDescriptor[] = Object.freeze(\n ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_REGISTRY.map(({ sourceRef, specificationFamilyRef, sourceModuleBinding, projectorRef }) => Object.freeze({\n sourceRef,\n specificationFamilyRef,\n sourceModuleBinding,\n projectorRef,\n })),\n);\n\nfunction assertManagedRegistry(registry: readonly EngineDocumentationSpecificationManagedSource<unknown>[]): void {\n const seen = new Set<string>();\n let previousSourceRef: string | undefined;\n for (const entry of registry) {\n if (seen.has(entry.sourceRef)) throw new Error(`duplicate engine documentation specification sourceRef: ${entry.sourceRef}`);\n if (previousSourceRef !== undefined && previousSourceRef.localeCompare(entry.sourceRef) >= 0) {\n throw new Error(\"engine documentation specification managed-source registry must be strictly sorted by sourceRef\");\n }\n if (typeof entry.project !== \"function\" || entry.projectorRef.length === 0) {\n throw new Error(`engine documentation specification source ${entry.sourceRef} has no family-safe projector`);\n }\n seen.add(entry.sourceRef);\n previousSourceRef = entry.sourceRef;\n }\n}\n\nfunction assertSemanticDto(value: EngineDocumentationSpecificationSemanticDto, sourceRef: string): void {\n const canonical = canonicalizeTechnicalDocumentationJson(value);\n const roundTrip = JSON.parse(canonical) as unknown;\n if (canonicalizeTechnicalDocumentationJson(roundTrip) !== canonical) {\n throw new Error(`engine documentation specification projector for ${sourceRef} did not produce an exact JSON-safe DTO`);\n }\n}\n\n/** Evaluates only the explicit managed bindings and returns the exact application-consumer catalog bytes plus their semantic identity. */\nexport function createEngineDocumentationSpecificationCatalogV1(): EngineDocumentationSpecificationCatalogV1 {\n assertManagedRegistry(ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_REGISTRY);\n const entries = ENGINE_DOCUMENTATION_SPECIFICATION_MANAGED_SOURCE_REGISTRY.map((managed) => {\n const semanticDto = managed.project(managed.source);\n assertSemanticDto(semanticDto, managed.sourceRef);\n return {\n sourceRef: managed.sourceRef,\n specificationFamilyRef: managed.specificationFamilyRef,\n sourceModuleBinding: managed.sourceModuleBinding,\n projectorRef: managed.projectorRef,\n semanticDto,\n } satisfies EngineDocumentationSpecificationCatalogEntryV1;\n });\n\n const identity = EngineDocumentationSpecificationCatalogIdentityV1Schema.parse({\n schemaVersion: 1,\n projectorRef: ENGINE_DOCUMENTATION_SPECIFICATION_CATALOG_PROJECTOR_REF,\n projectorVersion: ENGINE_DOCUMENTATION_SPECIFICATION_CATALOG_PROJECTOR_VERSION,\n entries: entries.map((entry) => ({\n sourceRef: entry.sourceRef,\n specificationFamilyRef: entry.specificationFamilyRef,\n projectorRef: entry.projectorRef,\n })),\n });\n\n const canonicalDocument = canonicalizeTechnicalDocumentationJson({\n identity,\n entries,\n });\n const sealedIdentity = deepFreezeCatalogValue(identity);\n const sealedEntries = deepFreezeCatalogValue(entries);\n const privateCanonicalBytes = encodeUtf8(canonicalDocument);\n return Object.freeze({\n identity: sealedIdentity,\n entries: sealedEntries,\n /** A fresh copy prevents callers from mutating bytes while retaining the producer's original semantic identity. */\n get canonicalBytes(): Uint8Array {\n return privateCanonicalBytes.slice();\n },\n });\n}\n"]}