@wildo-ai/saas-specifications 1.1.3 → 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 (950) hide show
  1. package/dist/assurance/external-framework-mapping.json +1228 -0
  2. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
  3. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
  4. package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
  5. package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
  6. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
  7. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
  8. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
  9. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
  10. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
  11. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
  12. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
  13. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
  14. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
  15. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
  16. package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
  17. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
  18. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
  19. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  20. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
  21. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
  22. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
  23. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
  24. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  25. package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
  26. package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
  27. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
  28. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  29. package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
  30. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  31. package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
  32. package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
  33. package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
  34. package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
  35. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
  36. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  37. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
  38. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
  39. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
  40. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
  41. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  42. package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
  43. package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
  44. package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
  45. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  46. package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
  47. package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
  48. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
  49. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
  51. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  52. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
  53. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  54. package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
  55. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
  56. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
  57. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
  59. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  60. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
  61. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  62. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +215 -2
  63. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  64. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +703 -14
  65. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  66. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +536 -7
  67. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  68. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  69. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
  70. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  71. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
  72. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  73. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
  74. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
  75. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
  76. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
  77. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
  78. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
  79. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
  81. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  82. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
  83. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  84. package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
  85. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  86. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
  87. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
  88. package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
  89. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
  90. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
  91. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
  92. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
  93. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
  94. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
  95. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
  96. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
  97. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
  98. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +160 -0
  99. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  100. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +124 -4
  101. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  102. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
  103. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
  104. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
  105. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
  106. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +743 -14
  107. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +699 -22
  109. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  110. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
  111. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  112. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
  113. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
  114. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
  115. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
  116. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
  117. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
  118. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
  120. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  121. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
  122. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
  123. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +220 -4
  124. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  125. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +149 -2
  126. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  127. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
  128. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  129. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
  130. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  131. package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
  132. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  133. package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
  134. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  135. package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
  136. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  137. package/dist/esm/_core/cross-registry-assertions.js +7 -5
  138. package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
  139. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
  140. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
  142. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  143. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +30 -0
  144. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  145. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +99 -6
  146. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  147. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
  148. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
  149. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
  150. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
  151. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
  152. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
  153. package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
  154. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
  155. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
  156. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
  157. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
  158. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
  159. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
  160. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
  161. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
  162. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
  163. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
  164. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  165. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
  166. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
  167. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
  168. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  169. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +7 -0
  170. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  171. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
  172. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
  173. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
  174. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
  175. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
  176. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
  178. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  179. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  180. package/dist/esm/_core/family-aspects.registry.js +22 -1
  181. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  182. package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
  183. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  184. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  185. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +27 -27
  186. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
  187. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
  188. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  189. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  190. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
  191. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  192. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
  193. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  194. package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
  195. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  196. package/dist/esm/_core/index.d.ts +16 -0
  197. package/dist/esm/_core/index.d.ts.map +1 -1
  198. package/dist/esm/_core/index.js +16 -0
  199. package/dist/esm/_core/index.js.map +1 -1
  200. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
  201. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
  202. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
  203. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
  204. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
  205. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
  206. package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
  207. package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
  208. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
  209. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
  210. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
  211. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
  212. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
  213. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
  214. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
  215. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
  216. package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
  217. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  218. package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
  219. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  220. package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
  221. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  222. package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
  223. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  224. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
  225. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  226. package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
  227. package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
  228. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
  229. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  230. package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
  231. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  232. package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
  233. package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
  234. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  235. package/dist/esm/_core/market/market-channel.schemas.js +6 -3
  236. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  237. package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
  238. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  239. package/dist/esm/_core/market/market-gain.schemas.js +4 -1
  240. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  241. package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
  242. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  243. package/dist/esm/_core/market/market-icp.schemas.js +12 -9
  244. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  245. package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
  246. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  247. package/dist/esm/_core/market/market-job.schemas.js +4 -1
  248. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  249. package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
  250. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  251. package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
  252. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  253. package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
  254. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  255. package/dist/esm/_core/market/market-objection.schemas.js +4 -1
  256. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  257. package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
  258. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  259. package/dist/esm/_core/market/market-pain.schemas.js +4 -1
  260. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  261. package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
  262. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  263. package/dist/esm/_core/market/market-persona.schemas.js +5 -2
  264. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  265. package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
  266. package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
  267. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  268. package/dist/esm/_core/market/market-proof.schemas.js +4 -1
  269. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  270. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +54 -54
  271. package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
  272. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
  273. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  274. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
  275. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  276. package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
  277. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  278. package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
  279. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  280. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  281. package/dist/esm/_core/market/market.family-aspects.js +25 -1
  282. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  283. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
  284. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  285. package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
  286. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  287. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
  288. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +30 -16
  289. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  290. package/dist/esm/_core/placement-plan/placement-plan-validation.js +34 -12
  291. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  292. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  293. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
  294. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  295. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +78 -47
  296. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  297. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +62 -24
  298. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  299. package/dist/esm/_core/provider-specification.schemas.d.ts +19 -0
  300. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
  301. package/dist/esm/_core/provider-specification.schemas.js +0 -20
  302. package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
  303. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
  304. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
  305. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
  306. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  307. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
  308. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
  309. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
  310. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  311. package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
  312. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  313. package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
  314. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  315. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  316. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
  317. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  318. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
  319. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
  320. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
  321. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
  322. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  323. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
  324. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  325. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
  326. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
  327. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
  328. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  329. package/dist/esm/_core/utils/extract-field-specs.js +4 -2
  330. package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
  331. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
  332. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  333. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
  334. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
  335. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
  336. package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
  337. package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
  338. package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
  339. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
  340. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
  341. package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
  342. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
  343. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
  344. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
  345. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
  346. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
  347. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
  348. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
  349. package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
  350. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
  351. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
  352. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
  353. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
  354. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
  355. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
  356. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
  357. package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
  358. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
  359. package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
  360. package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
  361. package/dist/esm/_core/zod-core-nameability.js +1 -0
  362. package/dist/esm/_core/zod-core-nameability.js.map +1 -0
  363. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
  364. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
  365. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
  366. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
  367. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
  368. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  369. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +182 -11
  370. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  371. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
  372. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  373. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
  374. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  375. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
  376. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
  377. package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
  378. package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
  379. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  380. package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
  381. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
  382. package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
  383. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
  384. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
  385. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  386. package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
  387. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  388. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -495
  389. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  390. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -534
  391. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  392. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +10 -0
  393. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  394. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +10 -0
  395. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  396. package/dist/esm/application-creation.exports.d.ts +73 -8
  397. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  398. package/dist/esm/application-creation.exports.js +103 -8
  399. package/dist/esm/application-creation.exports.js.map +1 -1
  400. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
  401. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
  402. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
  403. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
  404. package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
  405. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  406. package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
  407. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  408. package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
  409. package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
  410. package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
  411. package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
  412. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
  413. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
  414. package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
  415. package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
  416. package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
  417. package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
  418. package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
  419. package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
  420. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
  421. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
  422. package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
  423. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
  424. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +257 -13
  425. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  426. package/dist/esm/assurance/assurance-authority-basis.definitions.js +836 -69
  427. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  428. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +99 -33
  429. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  430. package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
  431. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  432. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
  433. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  434. package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
  435. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  436. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  437. package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
  438. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  439. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
  440. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  441. package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
  442. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  443. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
  444. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
  445. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
  446. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
  447. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -33
  448. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  449. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +3339 -159
  450. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  451. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
  452. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  453. package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
  454. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  455. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +32 -2
  456. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  457. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +148 -5
  458. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  459. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
  460. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  461. package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
  462. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  463. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
  464. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  465. package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
  466. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  467. package/dist/esm/assurance/assurance-program.schemas.d.ts +1182 -333
  468. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  469. package/dist/esm/assurance/assurance-program.schemas.js +460 -68
  470. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  471. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  472. package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
  473. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  474. package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
  475. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  476. package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
  477. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  478. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  479. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +205 -3
  480. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  481. package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
  482. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
  483. package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
  484. package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
  485. package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
  486. package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
  487. package/dist/esm/assurance/governed-document-release.d.ts +211 -0
  488. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
  489. package/dist/esm/assurance/governed-document-release.js +314 -0
  490. package/dist/esm/assurance/governed-document-release.js.map +1 -0
  491. package/dist/esm/assurance.exports.d.ts +5 -0
  492. package/dist/esm/assurance.exports.d.ts.map +1 -1
  493. package/dist/esm/assurance.exports.js +5 -0
  494. package/dist/esm/assurance.exports.js.map +1 -1
  495. package/dist/esm/companion-exports.d.ts +135 -11
  496. package/dist/esm/companion-exports.d.ts.map +1 -1
  497. package/dist/esm/companion-exports.js.map +1 -1
  498. package/dist/esm/engine/_bootstrap.d.ts +1 -1
  499. package/dist/esm/engine/_bootstrap.js +1 -1
  500. package/dist/esm/engine/_bootstrap.js.map +1 -1
  501. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
  502. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
  503. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  504. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
  505. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +110 -28
  507. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  508. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
  509. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
  510. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  511. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  512. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  513. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +57 -0
  514. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
  515. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +412 -0
  516. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
  517. package/dist/esm/engine/auth/resources/index.d.ts +2 -0
  518. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  519. package/dist/esm/engine/auth/resources/index.js +2 -0
  520. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  521. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
  522. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  523. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +57 -6
  524. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  525. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
  526. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
  527. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
  528. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
  529. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
  530. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  531. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
  532. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  533. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  534. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
  535. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  536. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
  537. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
  538. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
  539. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
  540. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
  541. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
  543. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  544. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
  545. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  546. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +14 -27
  547. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  548. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +8 -2
  549. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  550. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +16 -3
  551. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  552. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +5 -2
  553. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  554. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +10 -16
  555. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  556. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
  558. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  559. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
  560. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
  561. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
  562. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
  563. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
  564. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
  565. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
  566. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
  567. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
  568. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
  569. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
  570. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
  571. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
  572. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
  573. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
  574. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
  575. package/dist/esm/engine/billing/resources/index.d.ts +4 -0
  576. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  577. package/dist/esm/engine/billing/resources/index.js +4 -0
  578. package/dist/esm/engine/billing/resources/index.js.map +1 -1
  579. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
  580. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
  581. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  582. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  583. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  584. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
  585. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  586. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +77 -0
  587. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
  588. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +375 -0
  589. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
  590. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
  591. package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
  592. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  593. package/dist/esm/engine/compliance/resources/index.js +2 -0
  594. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  595. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
  596. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
  597. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
  598. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
  599. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  600. package/dist/esm/engine/engine-resource-specifications.registry.js +28 -0
  601. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  602. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  603. package/dist/esm/engine/errors/error-messages.specification.js +123 -19
  604. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  605. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  606. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
  607. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  608. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  609. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +1 -0
  610. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  611. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  612. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
  614. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  615. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  616. package/dist/esm/engine/files/resources/files.resource.specification.js +15 -3
  617. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  618. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
  619. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  620. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +1 -1
  621. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  622. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  623. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
  624. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
  625. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
  626. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
  627. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
  628. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
  629. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
  631. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
  632. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
  634. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
  635. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
  636. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
  637. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
  638. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
  639. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
  640. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
  641. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
  642. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
  643. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
  644. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
  645. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  646. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +6 -5
  647. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  648. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
  649. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
  650. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
  651. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
  652. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
  653. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
  654. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
  655. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
  656. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
  657. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
  658. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
  659. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -0
  660. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +4 -2
  662. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  663. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
  664. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
  665. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
  667. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
  668. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
  669. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
  670. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
  671. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
  672. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
  673. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
  674. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
  675. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
  676. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
  677. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  678. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  679. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
  680. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
  681. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
  682. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
  683. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
  684. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
  685. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
  686. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
  687. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
  688. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
  689. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
  690. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  691. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
  692. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
  693. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
  694. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
  695. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  696. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
  697. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
  698. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
  699. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
  700. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
  701. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
  702. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
  703. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
  704. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
  705. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
  706. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  707. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
  708. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
  709. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
  710. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
  711. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
  712. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
  713. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
  714. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
  715. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
  716. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
  717. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
  718. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
  719. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
  720. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
  721. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  722. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
  723. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
  724. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  725. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  726. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
  727. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
  728. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
  729. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
  730. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
  731. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
  732. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
  733. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
  734. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
  735. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
  736. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
  737. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
  738. package/dist/esm/engine/frontend-components/index.d.ts +12 -0
  739. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  740. package/dist/esm/engine/frontend-components/index.js +40 -0
  741. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  742. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
  743. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  744. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
  745. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
  746. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
  747. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
  748. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
  749. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  750. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
  751. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
  752. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  753. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
  754. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
  755. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  756. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
  757. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
  758. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
  759. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
  760. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  761. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
  762. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
  763. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
  764. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
  765. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  766. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
  767. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  768. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
  769. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  770. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
  771. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
  772. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
  773. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
  774. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  775. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +3 -2
  776. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  777. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
  778. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  779. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
  780. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  781. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
  782. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  783. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
  784. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  785. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
  786. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
  787. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
  788. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
  789. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
  790. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  791. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  792. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
  793. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  794. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
  795. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  796. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  797. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
  798. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  799. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
  800. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  801. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
  802. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  803. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +1 -1
  804. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  805. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
  806. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  807. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  808. package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
  809. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  810. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  811. package/dist/esm/engine/providers/apple.provider.specification.js +12 -1
  812. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  813. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
  814. package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
  815. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
  816. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  817. package/dist/esm/engine/providers/github.provider.specification.js +12 -1
  818. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  819. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  820. package/dist/esm/engine/providers/google.provider.specification.js +12 -1
  821. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  822. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  823. package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
  824. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  825. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  826. package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -1
  827. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  828. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
  830. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  831. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  832. package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
  833. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  834. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
  836. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
  837. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  838. package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
  839. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  840. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  841. package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
  842. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  843. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  844. package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
  845. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  846. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  847. package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
  848. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  849. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
  850. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
  851. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
  852. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
  853. package/dist/esm/engine/roles/index.d.ts +4 -3
  854. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  855. package/dist/esm/engine/roles/index.js +6 -4
  856. package/dist/esm/engine/roles/index.js.map +1 -1
  857. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
  858. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
  860. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  861. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
  862. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  863. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
  864. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  865. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
  866. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  867. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -3
  868. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  869. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
  870. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
  871. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  872. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
  873. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
  874. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  875. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
  876. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
  877. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  878. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  879. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  880. package/dist/esm/engine/users/resources/user-self.resource.specification.js +1 -1
  881. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  882. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +1 -0
  883. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  884. package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
  885. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  886. package/dist/esm/index.d.ts +39 -0
  887. package/dist/esm/index.d.ts.map +1 -1
  888. package/dist/esm/index.js +39 -0
  889. package/dist/esm/index.js.map +1 -1
  890. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
  891. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
  892. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
  893. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
  894. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
  895. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
  896. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
  897. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
  898. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
  899. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
  900. package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
  901. package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
  902. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
  903. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
  904. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
  905. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
  906. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
  907. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
  908. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
  909. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
  910. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  911. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
  912. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  913. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
  914. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
  915. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
  916. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
  917. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
  918. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
  919. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
  920. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
  921. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
  922. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
  923. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
  924. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
  925. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
  926. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  927. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
  928. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  929. package/dist/esm/technical-documentation.exports.d.ts +4 -0
  930. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  931. package/dist/esm/technical-documentation.exports.js +24 -0
  932. package/dist/esm/technical-documentation.exports.js.map +1 -1
  933. package/dist/tsconfig.build.tsbuildinfo +1 -1
  934. package/package.json +8 -13
  935. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
  936. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
  937. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
  938. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
  939. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
  940. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
  941. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
  942. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
  943. package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
  944. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
  945. package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
  946. package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
  947. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
  948. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
  949. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
  950. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"scim-provisioning-config.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/scim-provisioning-config.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,gCAAgC,EAChC,0CAA0C,GAC3C,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAE/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAU3E,SAAS,CAAC,CAAC,MAAwC,EAAE,EAAS,EAAE,IAAY;IAC1E,MAAM,CAAC,GAAG,MAAM,CAAC,EAAE,CAAkB,CAAC;IACtC,IAAI,CAAC,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,QAAQ,IAAI,GAAG,CAAC,CAAC;IACvD,OAAO,CAAC,CAAC;AACX,CAAC;AACD,MAAM,KAAK,GAAwC;IACjD,CAAC,gBAAgB,CAAC,qCAAqC,CAAC,EAAE,oBAAoB,CAAC,aAAa;IAC5F,CAAC,gBAAgB,CAAC,oCAAoC,CAAC,EAAE,oBAAoB,CAAC,WAAW;CAC1F,CAAC;AAEF,MAAM,0BAA0B,GAAG,sBAAsB,CAAC;AAE1D;;;;;GAKG;AACH,SAAS,oCAAoC,CAAC,EAAS;IACrD,MAAM,cAAc,GAAG,EAA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,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,gCAAgC,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,qDAAqD,EAAE,EAAE,EAAE;aAC3W;SACF;QACD,KAAK,EAAE;YACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,+IAA+I,EAAE,SAAS,EAAE,2DAA2D,EAAE;SAChP;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,uDAAuD,GAAG,KAAK,CAC1E,gBAAgB,CAAC,qCAAqC,EACtD,uCAAuC,CACxC,CAAC;AACF,MAAM,CAAC,MAAM,sDAAsD,GAAG,KAAK,CACzE,gBAAgB,CAAC,oCAAoC,EACrD,sCAAsC,CACvC,CAAC","sourcesContent":["import { securityAdminPresets, securityMainPresets } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n ScimProvisioningConfigBaseSchema,\n scimProvisioningConfigPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n type ResourceSpecificationConfig,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype RType = CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG | CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG;\ntype RMember = 'ORGANIZATION_SCIM_PROVISIONING_CONFIG' | 'APPLICATION_SCIM_PROVISIONING_CONFIG';\ntype Cfg = ReturnType<(typeof scimProvisioningConfigPolymorphicFactories)[CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG]>;\ntype Custom = undefined;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof ScimProvisioningConfigBaseSchema;\ntype F = ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nfunction r(source: Partial<Record<string, unknown>>, rt: RType, name: string): F {\n const u = source[rt] as F | undefined;\n if (!u) throw new Error(`Missing \"${rt}\" in ${name}.`);\n return u;\n}\nconst scope: Record<RType, ResourcePrimaryScope> = {\n [CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG]: ResourcePrimaryScope.APPLICATION,\n};\n\nconst SCIM_CONFIG_DOMAIN_EXAMPLE = 'identity.example.com';\n\n/**\n * Builds all public READ representations from one directory-provisioning policy\n * snapshot. The scope identifier and context relation differ between the two\n * polymorphic resources, while the SCIM endpoint and mapping semantics remain\n * framework-owned. No bearer token or other credential belongs in this config.\n */\nfunction createScimProvisioningConfigExamples(rt: RType) {\n const isOrganization = rt === CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG;\n const scopeId = isOrganization ? 'org_01JSCIMEXAMPLE' : 'app_01JSCIMEXAMPLE';\n const scopeIdentifier = isOrganization ? { organizationId: scopeId } : { applicationId: scopeId };\n const scopeContext = isOrganization ? { organization: { _id: scopeId } } : { application: { _id: scopeId } };\n const response = {\n _id: 'scimcfg_01JSCIMEXAMPLE',\n autoCreateUsers: true,\n autoVerifyEmail: true,\n autoDeactivateUsers: true,\n defaultRole: isOrganization ? 'organization-member' : 'application-user',\n attributeMapping: {\n email: 'emails[primary eq true].value',\n firstName: 'name.givenName',\n lastName: 'name.familyName',\n displayName: 'displayName',\n },\n organizationUnitMapping: [{\n directoryValue: 'Engineering',\n organizationUnitId: 'unit_01JSCIMENGINEERING',\n }],\n defaultUnitRole: 'member',\n scimEndpointUrl: '/api/v1/scim/v2',\n allowedDomains: [SCIM_CONFIG_DOMAIN_EXAMPLE],\n createdAt: '2026-08-20T08:00:00.000Z',\n updatedAt: '2026-08-20T08:15:00.000Z',\n ...scopeIdentifier,\n };\n\n return {\n response,\n contextResponse: { ...response, ...scopeContext },\n summaryResponse: {\n _id: response._id,\n autoCreateUsers: response.autoCreateUsers,\n },\n };\n}\n\nfunction buildBase(rt: RType, member: RMember): ResourceSpecificationConfig<Custom, Core, Main> {\n const examples = createScimProvisioningConfigExamples(rt);\n\n return resourceSpecification<Custom, Core, Main>(\n scimProvisioningConfigPolymorphicFactories[rt],\n ScimProvisioningConfigBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'SCIM provisioning behavior for directory-managed users: default roles, attribute mappings, and automatic create and deactivate handling. This resource governs what happens after an authenticated SCIM request; organization-scoped SCIM bearer credentials authenticate the identity provider, while SSO sign-in and just-in-time provisioning are a separate channel.',\n businessRole: 'Controls how identity-provider directory data becomes application users and memberships, including the authorization defaults applied during provisioning.',\n lifecycleRole: 'Configure it while connecting the identity provider, then review it whenever directory attributes, role policy, or user-lifecycle policy changes.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'ScimProvisioningConfigBaseSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactoryCollectionEntry: { collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'scimProvisioningConfigPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY }, identifierField: 'collectionKey', identifierValue: rt },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: member },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'securityMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: rt },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'securityAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: rt },\n ],\n },\n fields: {\n autoCreateUsers: schemaShape.autoCreateUsers.booleanSpec({ meaning: 'Whether SCIM `POST /Users` can create new users during directory synchronization. When false, creation requests for users who do not already exist are rejected.', importance: FieldSemanticImportance.PRIMARY }),\n autoVerifyEmail: schemaShape.autoVerifyEmail.booleanSpec({ meaning: 'Whether a trusted SCIM assertion marks a newly provisioned email as verified. When false, the new user remains in the application email-verification journey instead of becoming verified from the directory assertion.' }),\n autoDeactivateUsers: schemaShape.autoDeactivateUsers.booleanSpec({ meaning: 'Whether SCIM `DELETE /Users/{id}` and updates with `active: false` deactivate the user and their membership. When false, directory removals leave the application account active.' }),\n defaultRole: schemaShape.defaultRole.stringSpec({ meaning: 'Fallback role for newly provisioned members when the IdP payload does not supply a stronger mapping.' }),\n attributeMapping: schemaShape.attributeMapping.objectSpec({ meaning: 'Path expressions that map the incoming SCIM document to email, name, and profile fields. Supports dotted paths, array indexes such as `emails[0].value`, and SCIM filters such as `emails[primary eq true].value`. A malformed or unmatched expression produces no value instead of a validation error, so test every custom mapping with a representative identity-provider payload.' }),\n organizationUnitMapping: schemaShape.organizationUnitMapping.arraySpec({\n meaning: 'Explicit mappings from the directory’s SCIM Enterprise User `department` value to organization-unit identifiers. Unmapped values are ignored and never create units. When this list is non-empty and `defaultUnitRole` is set, supported user creation and full-replacement requests make SCIM authoritative for unit assignments: the mapped set replaces existing assignments, including assignments made manually. SCIM PATCH and Bulk requests do not currently reconcile organization units.',\n elementMeaning: 'One case-sensitive mapping from the trimmed directory department value to an existing organization-unit identifier.',\n }),\n defaultUnitRole: schemaShape.defaultUnitRole.stringSpec({ meaning: 'Role granted on every organization-unit assignment created through SCIM. It is separate from `defaultRole`, which controls organization-wide membership. Changing this setting changes the access granted to subsequently reconciled directory-managed users.' }),\n scimEndpointUrl: schemaShape.scimEndpointUrl.stringSpec({ meaning: 'Read-only API-relative base path for the SCIM service, for example `/api/v1/scim/v2`. Combine it with the deployment’s API base URL when configuring the identity provider. Tenant selection comes from the SCIM bearer credential, not from the URL path.' }),\n allowedDomains: schemaShape.allowedDomains.arraySpec({\n meaning: 'Read-only email domains accepted by SCIM provisioning. The list reflects the scope’s currently verified SSO domains. An empty list means no verified-domain restriction is configured; an absent value means domain policy could not be determined.',\n elementMeaning: 'One DNS-verified email domain accepted by SCIM provisioning.',\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the current SCIM provisioning behavior for this scope.',\n outcome: 'Administrators can review user-creation, deactivation, attribute-mapping, domain, and role policy before connecting or changing an identity provider.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SCIM provisioning config for this scope was found and its gating/mapping is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the admin role required to inspect SCIM provisioning settings.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SCIM provisioning config has been provisioned for this org/app scope yet.' },\n ],\n examples: [{\n title: 'Read the complete SCIM provisioning policy',\n response: examples.response,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Read the SCIM policy with its owning scope context',\n response: examples.contextResponse,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Read the SCIM account-creation summary',\n response: examples.summaryResponse,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Provision the initial SCIM config document for a scope (INTERNAL_CALL create — no public HTTP route; seed / system-context lazy-create only; HIGH risk).',\n outcome: 'A new settings row; combined with `ScimTokens` for a working endpoint when enabled.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A SCIM provisioning config record was provisioned for the scope with the supplied gating and mapping.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The config payload fails schema validation, for example because a typed setting or role value is invalid. Attribute-mapping expressions are strings and must be behavior-tested separately.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform/security admin; this is a HIGH-risk internal-only (INTERNAL_CALL) provisioning path.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A SCIM provisioning config already exists for this org/app scope — the resource is one-per-scope, so a second create collides.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Provision SCIM provisioning config for a scope',\n request: {\n autoCreateUsers: true,\n autoDeactivateUsers: true,\n defaultRole: 'member',\n attributeMapping: {\n email: 'emails[primary eq true].value',\n displayName: 'displayName',\n },\n },\n response: {\n _id: 'scimcfg_01HX2…',\n autoCreateUsers: true,\n defaultRole: 'member',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Change mapping, toggles, and defaults as the IdP app evolves (INTERNAL_CALL update — no public HTTP route; reached through `AuthOrganizationConfigurationService.saveScimProvisioningConfig` on the admin’s execution context, preserving admin audit attribution; HIGH risk).',\n outcome: 'Subsequent sync runs follow the new mapping; expect eventual consistency, not instant retroactive rewrite of all users in general.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SCIM gating, mapping, and defaults were updated; subsequent sync runs follow the new mapping.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The patched mapping or toggles fail schema validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the HIGH-risk admin role required to change SCIM provisioning settings.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SCIM provisioning config exists for this scope to update.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the SCIM provisioning config row when its owning org/app is deleted (composition `onParentDelete` cascade).',\n outcome: 'The one-per-scope config row is removed together with its parent — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SCIM provisioning config record was deleted as part of the deletion cascade of its owning scope.' },\n ],\n // REPOSITORY_ONLY variant (org/app admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Organization-scoped SCIM bearer credentials authenticate the identity provider. This resource governs what accepted SCIM events do to users and memberships.',\n ],\n }),\n { resourcePrimaryScope: scope[rt] },\n );\n}\n\nfunction build(rt: RType, member: RMember): ResourceSpecificationConfig<Custom, Core, Main> {\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(r(securityMainPresets as Partial<Record<string, unknown>>, rt, 'securityMainPresets')),\n resourceFrontendConfiguration(r(securityAdminPresets as Partial<Record<string, unknown>>, rt, 'securityAdminPresets')),\n ),\n buildBase(rt, member),\n () => ({\n layout: {\n purpose: 'Sections `overview`, `mapping`, and `lifecycle` in `security` templates for the SCIM provisioning config editor and read views.',\n displayPurpose: 'Read vs edit: edit focuses on boolean gates and string maps; read surfaces the same in display layout components in the preset file.',\n sections: {\n overview: { purpose: 'High-level auto-create / deactivate / verify-email lifecycle toggles for the push. (Enablement itself lives on the org-type config, not here.)', whenToUse: 'Tuning what SCIM does to users once it is enabled for the org type.', textSlots: { title: { purpose: 'SCIM overview.' }, description: { purpose: 'Mention that whether SCIM is on is an org-type setting, and that tokens are managed in the sibling SCIM token resource — not in this form.' } } },\n mapping: { purpose: 'Attribute mapping and default role; ties IdP field paths to internal profile fields when defined.', whenToUse: 'IdP schema differences require mapping changes.', textSlots: { title: { purpose: 'Attribute mapping block.' }, description: { purpose: 'Explain that unmatched or malformed expressions can resolve to no value and therefore must be tested against the real IdP payload.' } } },\n lifecycle: { purpose: 'Create/update metadata timestamps for the config row; not user lifecycle, which is event-driven on SCIM traffic.', whenToUse: 'Support proving when the mapping last changed in incidents.', textSlots: { title: { purpose: 'Config lifecycle / timestamps.' }, description: { purpose: 'Distinguish from user lifecycle in domain language.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Addressable read for the security SCIM page in org (app scope may use empty `views` in main `variantOverrides`—factory op exists regardless).', whenToUse: 'Admins review SCIM gating and mapping in merged consoles.' },\n },\n }),\n );\n}\n\nexport const organizationScimProvisioningConfigResourceSpecification = build(\n CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG,\n 'ORGANIZATION_SCIM_PROVISIONING_CONFIG',\n);\nexport const applicationScimProvisioningConfigResourceSpecification = build(\n CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG,\n 'APPLICATION_SCIM_PROVISIONING_CONFIG',\n);\n"]}
1
+ {"version":3,"file":"scim-provisioning-config.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/scim-provisioning-config.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,gCAAgC,EAChC,0CAA0C,GAC3C,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAE/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;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AAiI;YAC1I,cAAc,EAAE,sIAAsI;YACtJ,QAAQ,EAAE;gBACR,QAAQ,EAAE,EAAE,OAAO,EAAE,gJAAgJ,EAAE,SAAS,EAAE,qEAAqE,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,4IAA4I,EAAE,EAAE,EAAE;gBACtd,OAAO,EAAE,EAAE,OAAO,EAAE,mGAAmG,EAAE,SAAS,EAAE,iDAAiD,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,oIAAoI,EAAE,EAAE,EAAE;gBACtZ,SAAS,EAAE,EAAE,OAAO,EAAE,kHAAkH,EAAE,SAAS,EAAE,6DAA6D,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,gCAAgC,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,qDAAqD,EAAE,EAAE,EAAE;aAC3W;SACF;QACD,KAAK,EAAE;YACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,+IAA+I,EAAE,SAAS,EAAE,2DAA2D,EAAE;YAC/O,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,2JAA2J,EAAE,SAAS,EAAE,oHAAoH,EAAE;SACvT;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,uDAAuD,GAAG,KAAK,CAC1E,gBAAgB,CAAC,qCAAqC,EACtD,uCAAuC,CACxC,CAAC;AACF,MAAM,CAAC,MAAM,sDAAsD,GAAG,KAAK,CACzE,gBAAgB,CAAC,oCAAoC,EACrD,sCAAsC,CACvC,CAAC","sourcesContent":["import { securityAdminPresets, securityMainPresets } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n ScimProvisioningConfigBaseSchema,\n scimProvisioningConfigPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n type ResourceSpecificationConfig,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype RType = CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG | CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG;\ntype RMember = 'ORGANIZATION_SCIM_PROVISIONING_CONFIG' | 'APPLICATION_SCIM_PROVISIONING_CONFIG';\ntype Cfg = ReturnType<(typeof scimProvisioningConfigPolymorphicFactories)[CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG]>;\ntype Custom = undefined;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof ScimProvisioningConfigBaseSchema;\ntype F = ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nfunction r(source: Partial<Record<string, unknown>>, rt: RType, name: string): F {\n const u = source[rt] as F | undefined;\n if (!u) throw new Error(`Missing \"${rt}\" in ${name}.`);\n return u;\n}\nconst scope: Record<RType, ResourcePrimaryScope> = {\n [CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG]: ResourcePrimaryScope.APPLICATION,\n};\n\nconst SCIM_CONFIG_DOMAIN_EXAMPLE = 'identity.example.com';\n\n/**\n * Builds all public READ representations from one directory-provisioning policy\n * snapshot. The scope identifier and context relation differ between the two\n * polymorphic resources, while the SCIM endpoint and mapping semantics remain\n * framework-owned. No bearer token or other credential belongs in this config.\n */\nfunction createScimProvisioningConfigExamples(rt: RType) {\n const isOrganization = rt === CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG;\n const scopeId = isOrganization ? 'org_01JSCIMEXAMPLE' : 'app_01JSCIMEXAMPLE';\n const scopeIdentifier = isOrganization ? { organizationId: scopeId } : { applicationId: scopeId };\n const scopeContext = isOrganization ? { organization: { _id: scopeId } } : { application: { _id: scopeId } };\n const response = {\n _id: 'scimcfg_01JSCIMEXAMPLE',\n autoCreateUsers: true,\n autoVerifyEmail: true,\n autoDeactivateUsers: true,\n defaultRole: isOrganization ? 'organization-member' : 'application-user',\n attributeMapping: {\n email: 'emails[primary eq true].value',\n firstName: 'name.givenName',\n lastName: 'name.familyName',\n displayName: 'displayName',\n },\n organizationUnitMapping: [{\n directoryValue: 'Engineering',\n organizationUnitId: 'unit_01JSCIMENGINEERING',\n }],\n defaultUnitRole: 'member',\n scimEndpointUrl: '/api/v1/scim/v2',\n allowedDomains: [SCIM_CONFIG_DOMAIN_EXAMPLE],\n createdAt: '2026-08-20T08:00:00.000Z',\n updatedAt: '2026-08-20T08:15:00.000Z',\n ...scopeIdentifier,\n };\n\n return {\n response,\n contextResponse: { ...response, ...scopeContext },\n summaryResponse: {\n _id: response._id,\n autoCreateUsers: response.autoCreateUsers,\n },\n };\n}\n\nfunction buildBase(rt: RType, member: RMember): ResourceSpecificationConfig<Custom, Core, Main> {\n const examples = createScimProvisioningConfigExamples(rt);\n\n return resourceSpecification<Custom, Core, Main>(\n scimProvisioningConfigPolymorphicFactories[rt],\n ScimProvisioningConfigBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'SCIM provisioning behavior for directory-managed users: default roles, attribute mappings, and automatic create and deactivate handling. This resource governs what happens after an authenticated SCIM request; organization-scoped SCIM bearer credentials authenticate the identity provider, while SSO sign-in and just-in-time provisioning are a separate channel.',\n businessRole: 'Controls how identity-provider directory data becomes application users and memberships, including the authorization defaults applied during provisioning.',\n lifecycleRole: 'Configure it while connecting the identity provider, then review it whenever directory attributes, role policy, or user-lifecycle policy changes.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'ScimProvisioningConfigBaseSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactoryCollectionEntry: { collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'scimProvisioningConfigPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY }, identifierField: 'collectionKey', identifierValue: rt },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: member },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'securityMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: rt },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'securityAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: rt },\n ],\n },\n fields: {\n autoCreateUsers: schemaShape.autoCreateUsers.booleanSpec({ meaning: 'Whether SCIM `POST /Users` can create new users during directory synchronization. When false, creation requests for users who do not already exist are rejected.', importance: FieldSemanticImportance.PRIMARY }),\n autoVerifyEmail: schemaShape.autoVerifyEmail.booleanSpec({ meaning: 'Whether a trusted SCIM assertion marks a newly provisioned email as verified. When false, the new user remains in the application email-verification journey instead of becoming verified from the directory assertion.' }),\n autoDeactivateUsers: schemaShape.autoDeactivateUsers.booleanSpec({ meaning: 'Whether SCIM `DELETE /Users/{id}` and updates with `active: false` withdraw the addressed organization membership and dependent grants. Global account status and other organization memberships remain unchanged. When false, directory removals do not withdraw this membership.' }),\n defaultRole: schemaShape.defaultRole.stringSpec({ meaning: 'Fallback role for newly provisioned members when the IdP payload does not supply a stronger mapping.' }),\n attributeMapping: schemaShape.attributeMapping.objectSpec({ meaning: 'Path expressions that map the incoming SCIM document to email, name, and profile fields. Supports dotted paths, array indexes such as `emails[0].value`, and SCIM filters such as `emails[primary eq true].value`. A malformed or unmatched expression produces no value instead of a validation error, so test every custom mapping with a representative identity-provider payload.' }),\n organizationUnitMapping: schemaShape.organizationUnitMapping.arraySpec({\n meaning: 'Explicit mappings from the directory’s SCIM Enterprise User `department` value to organization-unit identifiers. Unmapped values are ignored and never create units. When this list is non-empty and `defaultUnitRole` is set, SCIM becomes authoritative for unit assignments: the mapped set replaces the member’s existing assignments, including assignments made manually. Every write route reconciles — creation, full replacement, PATCH and their Bulk equivalents alike. Units created by the directory’s own GROUPS are the one exception: this path never adds or removes assignments on those, because the group that created them is authoritative for their membership.',\n elementMeaning: 'One case-sensitive mapping from the trimmed directory department value to an existing organization-unit identifier.',\n }),\n defaultUnitRole: schemaShape.defaultUnitRole.stringSpec({ meaning: 'Role granted on every organization-unit assignment created through SCIM. It is separate from `defaultRole`, which controls organization-wide membership. Changing this setting changes the access granted to subsequently reconciled directory-managed users. It is also the organization’s opt-in to SCIM group provisioning: with no value here, every `/scim/v2/Groups` request — reads included — is refused with 403 naming this field, because an assignment cannot exist without a role. Unlike the `department` binding, group provisioning needs nothing else declared, so setting this alone lets the directory create organization units and grant this role in them.' }),\n scimEndpointUrl: schemaShape.scimEndpointUrl.stringSpec({ meaning: 'Read-only API-relative base path for the SCIM service, for example `/api/v1/scim/v2`. Combine it with the deployment’s API base URL when configuring the identity provider. Tenant selection comes from the SCIM bearer credential, not from the URL path.' }),\n allowedDomains: schemaShape.allowedDomains.arraySpec({\n meaning: 'Read-only email domains accepted by SCIM provisioning. The list reflects the scope’s currently verified SSO domains. An empty list means no verified-domain restriction is configured; an absent value means domain policy could not be determined.',\n elementMeaning: 'One DNS-verified email domain accepted by SCIM provisioning.',\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the current SCIM provisioning behavior for this scope.',\n outcome: 'Administrators can review user-creation, deactivation, attribute-mapping, domain, and role policy before connecting or changing an identity provider.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SCIM provisioning config for this scope was found and its gating/mapping is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the admin role required to inspect SCIM provisioning settings.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SCIM provisioning config has been provisioned for this org/app scope yet.' },\n ],\n examples: [{\n title: 'Read the complete SCIM provisioning policy',\n response: examples.response,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Read the SCIM policy with its owning scope context',\n response: examples.contextResponse,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Read the SCIM account-creation summary',\n response: examples.summaryResponse,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Provision the initial SCIM config document for a scope (INTERNAL_CALL create — no public HTTP route; seed / system-context lazy-create only; HIGH risk).',\n outcome: 'A new settings row; combined with `ScimTokens` for a working endpoint when enabled.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A SCIM provisioning config record was provisioned for the scope with the supplied gating and mapping.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The config payload fails schema validation, for example because a typed setting or role value is invalid. Attribute-mapping expressions are strings and must be behavior-tested separately.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform/security admin; this is a HIGH-risk internal-only (INTERNAL_CALL) provisioning path.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A SCIM provisioning config already exists for this org/app scope — the resource is one-per-scope, so a second create collides.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Provision SCIM provisioning config for a scope',\n request: {\n autoCreateUsers: true,\n autoDeactivateUsers: true,\n defaultRole: 'member',\n attributeMapping: {\n email: 'emails[primary eq true].value',\n displayName: 'displayName',\n },\n },\n response: {\n _id: 'scimcfg_01HX2…',\n autoCreateUsers: true,\n defaultRole: 'member',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Change mapping, toggles, and defaults as the IdP app evolves (API_CALL update — the administrator’s edit door, gated on the same org-admin / app-super-admin roles as the read; HIGH risk). `AuthOrganizationConfigurationService.saveScimProvisioningConfig` resolves this SAME default through `getServiceOperationPathDefault` on the admin’s execution context, preserving admin audit attribution. It was INTERNAL_CALL and route-less, so the four decisions on this row — create users, verify their email, deactivate on deprovision, and the role they land with — were readable and unsettable.',\n outcome: 'Subsequent sync runs follow the new mapping; expect eventual consistency, not instant retroactive rewrite of all users in general.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SCIM gating, mapping, and defaults were updated; subsequent sync runs follow the new mapping.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The patched mapping or toggles fail schema validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the HIGH-risk admin role required to change SCIM provisioning settings.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SCIM provisioning config exists for this scope to update.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the SCIM provisioning config row when its owning org/app is deleted (composition `onParentDelete` cascade).',\n outcome: 'The one-per-scope config row is removed together with its parent — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SCIM provisioning config record was deleted as part of the deletion cascade of its owning scope.' },\n ],\n // REPOSITORY_ONLY variant (org/app admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Organization-scoped SCIM bearer credentials authenticate the identity provider. This resource governs what accepted SCIM events do to users and memberships.',\n ],\n }),\n { resourcePrimaryScope: scope[rt] },\n );\n}\n\nfunction build(rt: RType, member: RMember): ResourceSpecificationConfig<Custom, Core, Main> {\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(r(securityMainPresets as Partial<Record<string, unknown>>, rt, 'securityMainPresets')),\n resourceFrontendConfiguration(r(securityAdminPresets as Partial<Record<string, unknown>>, rt, 'securityAdminPresets')),\n ),\n buildBase(rt, member),\n () => ({\n layout: {\n purpose: 'Sections `overview`, `mapping`, and `lifecycle` in `security` templates for the SCIM provisioning config editor and read views.',\n displayPurpose: 'Read vs edit: edit focuses on boolean gates and string maps; read surfaces the same in display layout components in the preset file.',\n sections: {\n overview: { purpose: 'High-level auto-create / deactivate / verify-email lifecycle toggles for the push. (Enablement itself lives on the org-type config, not here.)', whenToUse: 'Tuning what SCIM does to users once it is enabled for the org type.', textSlots: { title: { purpose: 'SCIM overview.' }, description: { purpose: 'Mention that whether SCIM is on is an org-type setting, and that tokens are managed in the sibling SCIM token resource — not in this form.' } } },\n mapping: { purpose: 'Attribute mapping and default role; ties IdP field paths to internal profile fields when defined.', whenToUse: 'IdP schema differences require mapping changes.', textSlots: { title: { purpose: 'Attribute mapping block.' }, description: { purpose: 'Explain that unmatched or malformed expressions can resolve to no value and therefore must be tested against the real IdP payload.' } } },\n lifecycle: { purpose: 'Create/update metadata timestamps for the config row; not user lifecycle, which is event-driven on SCIM traffic.', whenToUse: 'Support proving when the mapping last changed in incidents.', textSlots: { title: { purpose: 'Config lifecycle / timestamps.' }, description: { purpose: 'Distinguish from user lifecycle in domain language.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Addressable read for the security SCIM page in org (app scope may use empty `views` in main `variantOverrides`—factory op exists regardless).', whenToUse: 'Admins review SCIM gating and mapping in merged consoles.' },\n [Op.UPDATE]: { purpose: 'The administrator’s edit of the provisioning policy, declared `notAddressable` so it opens from the READ view rather than adding a rail entry of its own.', whenToUse: 'Changing auto-create / auto-verify / auto-deactivate or the default role from the User provisioning settings pane.' },\n },\n }),\n );\n}\n\nexport const organizationScimProvisioningConfigResourceSpecification = build(\n CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG,\n 'ORGANIZATION_SCIM_PROVISIONING_CONFIG',\n);\nexport const applicationScimProvisioningConfigResourceSpecification = build(\n CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG,\n 'APPLICATION_SCIM_PROVISIONING_CONFIG',\n);\n"]}
@@ -0,0 +1,4 @@
1
+ import { type AnyResourceSpecificationConfig } from '../../../_core';
2
+ export declare const organizationSiemDeliveryOutboxResourceSpecification: AnyResourceSpecificationConfig;
3
+ export declare const applicationSiemDeliveryOutboxResourceSpecification: AnyResourceSpecificationConfig;
4
+ //# sourceMappingURL=siem-delivery-outbox.resource.specification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"siem-delivery-outbox.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/siem-delivery-outbox.resource.specification.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,8BAA8B,EAGpC,MAAM,6BAA6B,CAAC;AAsIrC,eAAO,MAAM,mDAAmD,gCAG/D,CAAC;AACF,eAAO,MAAM,kDAAkD,gCAG9D,CAAC"}
@@ -0,0 +1,129 @@
1
+ import { LabelAudience } from '@wildo-ai/presets-components-models';
2
+ import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
3
+ import { CoreResourceOperation as Op, CoreResourceType, ResourcePrimaryScope, SiemDeliveryOutboxBaseSchema, } from '@wildo-ai/saas-models';
4
+ import { HttpResponseStatusCode, resourceSpecification, } from '../../../_core/index.js';
5
+ import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
6
+ const scope = {
7
+ [CoreResourceType.ORGANIZATION_SIEM_DELIVERY_OUTBOX]: ResourcePrimaryScope.ORGANIZATIONS,
8
+ [CoreResourceType.APPLICATION_SIEM_DELIVERY_OUTBOX]: ResourcePrimaryScope.APPLICATION,
9
+ };
10
+ /**
11
+ * The pending half of SIEM export — events accepted for delivery and not yet sent.
12
+ *
13
+ * Deliberately has NO frontend configuration, which is what separates it from its DLQ sibling in
14
+ * this same folder. The DLQ is a surface an operator works: rows sit there until somebody retries
15
+ * or purges them. An outbox row is machinery in flight, owned by a collector between acceptance and
16
+ * the request that carries it — ordinarily under a minute — so there is no question an operator has
17
+ * of it that the DLQ does not already answer, and an affordance over rows a flush may be claiming
18
+ * would only create races.
19
+ *
20
+ * Both variants are specified because both are registered; only ORGANIZATION is ever populated, for
21
+ * the same reason as every other SIEM resource — the sole delivery producer is org-scoped.
22
+ */
23
+ function build(rt, member) {
24
+ const isApplication = rt === CoreResourceType.APPLICATION_SIEM_DELIVERY_OUTBOX;
25
+ const scopeField = isApplication ? 'applicationId' : 'organizationId';
26
+ return resourceSpecification(
27
+ // The factory is reached through the polymorphic collection, as the DLQ's is: one authored
28
+ // declaration produces both variants, so neither has a factory symbol of its own to name.
29
+ undefined, SiemDeliveryOutboxBaseSchema, ({ schemaShape }) => ({
30
+ purpose: 'Hold security audit events accepted for a SIEM destination until a collector sends them together as one request.',
31
+ businessRole: 'Transient per-destination delivery buffer — the reason an export can batch at all.',
32
+ lifecycleRole: 'Written when an event is accepted; claimed by exactly one collector run; deleted once that run resolves the event, whether the receiver took it or refused it.',
33
+ audience: LabelAudience.DEVELOPER,
34
+ subDomain: EngineResourceSubDomain.AUTH,
35
+ codeHandling: {
36
+ mainSchema: {
37
+ packageName: '@wildo-ai/saas-models',
38
+ importPath: '@wildo-ai/saas-models',
39
+ exportName: 'SiemDeliveryOutboxBaseSchema',
40
+ symbolKind: CodeSymbolKind.SCHEMA,
41
+ declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
42
+ },
43
+ resourceFactoryCollectionEntry: {
44
+ collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'siemDeliveryOutboxPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },
45
+ identifierField: 'collectionKey',
46
+ identifierValue: rt,
47
+ },
48
+ resourceType: {
49
+ enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },
50
+ memberName: member,
51
+ },
52
+ operationVocabulary: {
53
+ coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },
54
+ },
55
+ notes: [
56
+ '`deliveryPayload` is `z.unknown()` in the schema — it carries the delivery job payload verbatim so the collector sends exactly what the one-event path would have sent; this spec omits a typed field spec for the same reason the DLQ omits one for `eventPayload`.',
57
+ 'Every operation is REPOSITORY_ONLY: there is no HTTP surface, so the declared roles gate repository-tier resolution and are never exercised by a request.',
58
+ ],
59
+ },
60
+ fields: {
61
+ _id: schemaShape._id.stringSpec({ meaning: 'Identity of this pending delivery.' }),
62
+ eventId: schemaShape.eventId.stringSpec({
63
+ meaning: 'The audit event awaiting export. Also the idempotency key for acceptance — a broker redelivery must not place one event in a batch twice.',
64
+ importance: FieldSemanticImportance.PRIMARY,
65
+ }),
66
+ destinationKey: schemaShape.destinationKey.stringSpec({
67
+ meaning: 'Fingerprint of the transport configuration (URL, auth method, credential, format, headers) this event is bound for. Events may share a request only when this matches, so one request carries one destination and one credential.',
68
+ importance: FieldSemanticImportance.PRIMARY,
69
+ }),
70
+ deliveryAttempt: schemaShape.deliveryAttempt.numberSpec({
71
+ meaning: 'Which attempt this event is on, carried across flushes so a refused event spends its own retry budget rather than the batch’s.',
72
+ }),
73
+ claimId: schemaShape.claimId.stringSpec({
74
+ meaning: 'The collector run that owns this row. Set under a compare-and-set, so two concurrent flushes partition the pending set instead of both sending it.',
75
+ }),
76
+ claimedAt: schemaShape.claimedAt.dateSpec({ meaning: 'When the owning collector run claimed this row.' }),
77
+ nextAttemptAt: schemaShape.nextAttemptAt.dateSpec({ meaning: 'When this event may next be attempted; absent means eligible now.' }),
78
+ },
79
+ operations: {
80
+ [Op.CREATE]: {
81
+ purpose: 'Accept an event for batched delivery.',
82
+ outcome: 'The event is durably pending for its destination and will leave with whatever else is pending when the collector runs.',
83
+ idempotent: false,
84
+ responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The event is pending delivery.' }],
85
+ },
86
+ [Op.READ]: {
87
+ purpose: 'Read one pending delivery back after a claim.',
88
+ outcome: 'The claimed row is returned to the collector that owns it.',
89
+ idempotent: true,
90
+ responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pending delivery was found.' }],
91
+ },
92
+ [Op.LIST]: {
93
+ purpose: 'Find what is pending for one destination, oldest first.',
94
+ outcome: 'The collector learns which events a request should carry, and whether the batch size has been reached.',
95
+ idempotent: true,
96
+ responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pending set for the destination was returned.' }],
97
+ },
98
+ [Op.UPDATE]: {
99
+ purpose: 'Claim a pending delivery for exactly one collector run.',
100
+ outcome: 'The row belongs to one run; a concurrent run sees it as taken and leaves it alone.',
101
+ idempotent: false,
102
+ responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The claim succeeded.' }],
103
+ },
104
+ [Op.DELETE]: {
105
+ purpose: 'Retire one resolved pending delivery.',
106
+ outcome: 'The buffer no longer holds the event.',
107
+ idempotent: true,
108
+ responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pending delivery was retired.' }],
109
+ },
110
+ [Op.DELETE_MANY]: {
111
+ purpose: 'Retire every event a collector run resolved, in one statement.',
112
+ outcome: 'Accepted events are done and refused ones are already carried by the broker or the dead-letter queue, so the buffer is cleared either way.',
113
+ idempotent: true,
114
+ responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The resolved rows were retired.' }],
115
+ },
116
+ },
117
+ businessConstraints: [
118
+ 'A row is deleted once its collector run resolves it, whatever the outcome: leaving a refused event behind would put it in both the buffer and the retry path and deliver it twice.',
119
+ 'Events may only share a request when their `destinationKey` matches — a batch carries one URL and one credential.',
120
+ `Rows are scoped by \`${scopeField}\` and cascade when the scope is deleted: a scope that is gone has nothing left to export.`,
121
+ ...(isApplication
122
+ ? ['Application-scoped SIEM delivery is reserved in this framework version: no application event producer accepts events, so this collection is never populated.']
123
+ : []),
124
+ ],
125
+ }), { resourcePrimaryScope: scope[rt] });
126
+ }
127
+ export const organizationSiemDeliveryOutboxResourceSpecification = build(CoreResourceType.ORGANIZATION_SIEM_DELIVERY_OUTBOX, 'ORGANIZATION_SIEM_DELIVERY_OUTBOX');
128
+ export const applicationSiemDeliveryOutboxResourceSpecification = build(CoreResourceType.APPLICATION_SIEM_DELIVERY_OUTBOX, 'APPLICATION_SIEM_DELIVERY_OUTBOX');
129
+ //# sourceMappingURL=siem-delivery-outbox.resource.specification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"siem-delivery-outbox.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/siem-delivery-outbox.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,6BAA6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AsB,CAAC,MAAM,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;aACxG;SACF;QACD,mBAAmB,EAAE;YACnB,oLAAoL;YACpL,mHAAmH;YACnH,wBAAwB,UAAU,4FAA4F;YAC9H,GAAG,CAAC,aAAa;gBACf,CAAC,CAAC,CAAC,8JAA8J,CAAC;gBAClK,CAAC,CAAC,EAAE,CAAC;SACR;KACF,CAAC,EACF,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,EAAE,CACpC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,mDAAmD,GAAG,KAAK,CACtE,gBAAgB,CAAC,iCAAiC,EAClD,mCAAmC,CACpC,CAAC;AACF,MAAM,CAAC,MAAM,kDAAkD,GAAG,KAAK,CACrE,gBAAgB,CAAC,gCAAgC,EACjD,kCAAkC,CACnC,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n SiemDeliveryOutboxBaseSchema,\n} from '@wildo-ai/saas-models';\nimport {\n type AnyResourceSpecificationConfig,\n HttpResponseStatusCode,\n resourceSpecification,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype RType = CoreResourceType.ORGANIZATION_SIEM_DELIVERY_OUTBOX | CoreResourceType.APPLICATION_SIEM_DELIVERY_OUTBOX;\ntype RMember = 'ORGANIZATION_SIEM_DELIVERY_OUTBOX' | 'APPLICATION_SIEM_DELIVERY_OUTBOX';\n\nconst scope: Record<RType, ResourcePrimaryScope> = {\n [CoreResourceType.ORGANIZATION_SIEM_DELIVERY_OUTBOX]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_SIEM_DELIVERY_OUTBOX]: ResourcePrimaryScope.APPLICATION,\n};\n\n/**\n * The pending half of SIEM export — events accepted for delivery and not yet sent.\n *\n * Deliberately has NO frontend configuration, which is what separates it from its DLQ sibling in\n * this same folder. The DLQ is a surface an operator works: rows sit there until somebody retries\n * or purges them. An outbox row is machinery in flight, owned by a collector between acceptance and\n * the request that carries it — ordinarily under a minute — so there is no question an operator has\n * of it that the DLQ does not already answer, and an affordance over rows a flush may be claiming\n * would only create races.\n *\n * Both variants are specified because both are registered; only ORGANIZATION is ever populated, for\n * the same reason as every other SIEM resource — the sole delivery producer is org-scoped.\n */\nfunction build(rt: RType, member: RMember): AnyResourceSpecificationConfig {\n const isApplication = rt === CoreResourceType.APPLICATION_SIEM_DELIVERY_OUTBOX;\n const scopeField = isApplication ? 'applicationId' : 'organizationId';\n\n return resourceSpecification(\n // The factory is reached through the polymorphic collection, as the DLQ's is: one authored\n // declaration produces both variants, so neither has a factory symbol of its own to name.\n undefined,\n SiemDeliveryOutboxBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Hold security audit events accepted for a SIEM destination until a collector sends them together as one request.',\n businessRole: 'Transient per-destination delivery buffer — the reason an export can batch at all.',\n lifecycleRole: 'Written when an event is accepted; claimed by exactly one collector run; deleted once that run resolves the event, whether the receiver took it or refused it.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n importPath: '@wildo-ai/saas-models',\n exportName: 'SiemDeliveryOutboxBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'siemDeliveryOutboxPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: rt,\n },\n resourceType: {\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n memberName: member,\n },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n notes: [\n '`deliveryPayload` is `z.unknown()` in the schema — it carries the delivery job payload verbatim so the collector sends exactly what the one-event path would have sent; this spec omits a typed field spec for the same reason the DLQ omits one for `eventPayload`.',\n 'Every operation is REPOSITORY_ONLY: there is no HTTP surface, so the declared roles gate repository-tier resolution and are never exercised by a request.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of this pending delivery.' }),\n eventId: schemaShape.eventId.stringSpec({\n meaning: 'The audit event awaiting export. Also the idempotency key for acceptance — a broker redelivery must not place one event in a batch twice.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n destinationKey: schemaShape.destinationKey.stringSpec({\n meaning: 'Fingerprint of the transport configuration (URL, auth method, credential, format, headers) this event is bound for. Events may share a request only when this matches, so one request carries one destination and one credential.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n deliveryAttempt: schemaShape.deliveryAttempt.numberSpec({\n meaning: 'Which attempt this event is on, carried across flushes so a refused event spends its own retry budget rather than the batch’s.',\n }),\n claimId: schemaShape.claimId.stringSpec({\n meaning: 'The collector run that owns this row. Set under a compare-and-set, so two concurrent flushes partition the pending set instead of both sending it.',\n }),\n claimedAt: schemaShape.claimedAt.dateSpec({ meaning: 'When the owning collector run claimed this row.' }),\n nextAttemptAt: schemaShape.nextAttemptAt.dateSpec({ meaning: 'When this event may next be attempted; absent means eligible now.' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Accept an event for batched delivery.',\n outcome: 'The event is durably pending for its destination and will leave with whatever else is pending when the collector runs.',\n idempotent: false,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The event is pending delivery.' }],\n },\n [Op.READ]: {\n purpose: 'Read one pending delivery back after a claim.',\n outcome: 'The claimed row is returned to the collector that owns it.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pending delivery was found.' }],\n },\n [Op.LIST]: {\n purpose: 'Find what is pending for one destination, oldest first.',\n outcome: 'The collector learns which events a request should carry, and whether the batch size has been reached.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pending set for the destination was returned.' }],\n },\n [Op.UPDATE]: {\n purpose: 'Claim a pending delivery for exactly one collector run.',\n outcome: 'The row belongs to one run; a concurrent run sees it as taken and leaves it alone.',\n idempotent: false,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The claim succeeded.' }],\n },\n [Op.DELETE]: {\n purpose: 'Retire one resolved pending delivery.',\n outcome: 'The buffer no longer holds the event.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pending delivery was retired.' }],\n },\n [Op.DELETE_MANY]: {\n purpose: 'Retire every event a collector run resolved, in one statement.',\n outcome: 'Accepted events are done and refused ones are already carried by the broker or the dead-letter queue, so the buffer is cleared either way.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The resolved rows were retired.' }],\n },\n },\n businessConstraints: [\n 'A row is deleted once its collector run resolves it, whatever the outcome: leaving a refused event behind would put it in both the buffer and the retry path and deliver it twice.',\n 'Events may only share a request when their `destinationKey` matches — a batch carries one URL and one credential.',\n `Rows are scoped by \\`${scopeField}\\` and cascade when the scope is deleted: a scope that is gone has nothing left to export.`,\n ...(isApplication\n ? ['Application-scoped SIEM delivery is reserved in this framework version: no application event producer accepts events, so this collection is never populated.']\n : []),\n ],\n }),\n { resourcePrimaryScope: scope[rt] },\n );\n}\n\nexport const organizationSiemDeliveryOutboxResourceSpecification = build(\n CoreResourceType.ORGANIZATION_SIEM_DELIVERY_OUTBOX,\n 'ORGANIZATION_SIEM_DELIVERY_OUTBOX',\n);\nexport const applicationSiemDeliveryOutboxResourceSpecification = build(\n CoreResourceType.APPLICATION_SIEM_DELIVERY_OUTBOX,\n 'APPLICATION_SIEM_DELIVERY_OUTBOX',\n);\n"]}
@@ -1,4 +1,4 @@
1
- import { CoreResourceOperation as Op } from '@wildo-ai/saas-models';
1
+ import { AuditExportDisclosureTier, AuditExportEventDataDisclosure, CoreResourceOperation as Op } from '@wildo-ai/saas-models';
2
2
  import { type ResourceSpecificationConfig } from '../../../_core';
3
3
  export declare const organizationSiemExportConfigResourceSpecification: ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.DELETE | Op.CREATE, import("zod").ZodObject<{
4
4
  _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
@@ -35,14 +35,20 @@ export declare const organizationSiemExportConfigResourceSpecification: Resource
35
35
  }, import("zod/v4/core").$strip>;
36
36
  delivery: import("zod").ZodObject<{
37
37
  batchSize: import("zod").ZodDefault<import("zod").ZodNumber>;
38
- batchWindowSeconds: import("zod").ZodDefault<import("zod").ZodNumber>;
38
+ batchWindowSeconds: import("zod").ZodPipe<import("zod").ZodTransform<unknown, unknown>, import("zod").ZodDefault<import("zod").ZodNumber>>;
39
39
  retryAttempts: import("zod").ZodDefault<import("zod").ZodNumber>;
40
40
  retryBackoffSeconds: import("zod").ZodDefault<import("zod").ZodNumber>;
41
41
  timeoutSeconds: import("zod").ZodDefault<import("zod").ZodNumber>;
42
42
  }, import("zod/v4/core").$strip>;
43
43
  customHeaders: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
44
- includeRawEventData: import("zod").ZodDefault<import("zod").ZodBoolean>;
45
- includeDeviceContext: import("zod").ZodDefault<import("zod").ZodBoolean>;
44
+ exportProjection: import("zod").ZodOptional<import("zod").ZodObject<{
45
+ disclosedTiers: import("zod").ZodDefault<import("zod").ZodArray<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<{
46
+ readonly CONTEXT: import("@wildo-ai/saas-models").AuditExportDisclosureTier.CONTEXT;
47
+ readonly ATTRIBUTION: import("@wildo-ai/saas-models").AuditExportDisclosureTier.ATTRIBUTION;
48
+ readonly DETAIL: import("@wildo-ai/saas-models").AuditExportDisclosureTier.DETAIL;
49
+ }>>>>;
50
+ disclosedEventDataClasses: import("zod").ZodDefault<import("zod").ZodArray<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").AuditExportEventDataDisclosure>>>>;
51
+ }, import("zod/v4/core").$strip>>;
46
52
  createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>;
47
53
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>;
48
54
  }, import("zod/v4/core").$strip>>;
@@ -81,14 +87,20 @@ export declare const applicationSiemExportConfigResourceSpecification: ResourceS
81
87
  }, import("zod/v4/core").$strip>;
82
88
  delivery: import("zod").ZodObject<{
83
89
  batchSize: import("zod").ZodDefault<import("zod").ZodNumber>;
84
- batchWindowSeconds: import("zod").ZodDefault<import("zod").ZodNumber>;
90
+ batchWindowSeconds: import("zod").ZodPipe<import("zod").ZodTransform<unknown, unknown>, import("zod").ZodDefault<import("zod").ZodNumber>>;
85
91
  retryAttempts: import("zod").ZodDefault<import("zod").ZodNumber>;
86
92
  retryBackoffSeconds: import("zod").ZodDefault<import("zod").ZodNumber>;
87
93
  timeoutSeconds: import("zod").ZodDefault<import("zod").ZodNumber>;
88
94
  }, import("zod/v4/core").$strip>;
89
95
  customHeaders: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
90
- includeRawEventData: import("zod").ZodDefault<import("zod").ZodBoolean>;
91
- includeDeviceContext: import("zod").ZodDefault<import("zod").ZodBoolean>;
96
+ exportProjection: import("zod").ZodOptional<import("zod").ZodObject<{
97
+ disclosedTiers: import("zod").ZodDefault<import("zod").ZodArray<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<{
98
+ readonly CONTEXT: import("@wildo-ai/saas-models").AuditExportDisclosureTier.CONTEXT;
99
+ readonly ATTRIBUTION: import("@wildo-ai/saas-models").AuditExportDisclosureTier.ATTRIBUTION;
100
+ readonly DETAIL: import("@wildo-ai/saas-models").AuditExportDisclosureTier.DETAIL;
101
+ }>>>>;
102
+ disclosedEventDataClasses: import("zod").ZodDefault<import("zod").ZodArray<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").AuditExportEventDataDisclosure>>>>;
103
+ }, import("zod/v4/core").$strip>>;
92
104
  createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>;
93
105
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>;
94
106
  }, import("zod/v4/core").$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"siem-export-config.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/siem-export-config.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAU5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAML,KAAK,2BAA2B,EACjC,MAAM,6BAA6B,CAAC;AA4YrC,eAAO,MAAM,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG7D,CAAC;AACF,eAAO,MAAM,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG5D,CAAC"}
1
+ {"version":3,"file":"siem-export-config.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/siem-export-config.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,yBAAyB,EACzB,8BAA8B,EAC9B,qBAAqB,IAAI,EAAE,EAU5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAML,KAAK,2BAA2B,EACjC,MAAM,6BAA6B,CAAC;AAuZrC,eAAO,MAAM,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG7D,CAAC;AACF,eAAO,MAAM,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG5D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { securityAdminPresets, securityMainPresets, } from '@wildo-ai/presets-components';
2
2
  import { LabelAudience } from '@wildo-ai/presets-components-models';
3
3
  import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
4
- import { CoreResourceOperation as Op, CoreResourceType, ResourcePrimaryScope, SIEMEventCategory, SIEMEventFormat, SIEMFilterSeverity, SIEMAuthMethod, SiemExportConfigBaseSchema, WildoHeaderKeys, siemExportConfigPolymorphicFactories, } from '@wildo-ai/saas-models';
4
+ import { AuditExportDisclosureTier, AuditExportEventDataDisclosure, CoreResourceOperation as Op, CoreResourceType, ResourcePrimaryScope, SIEMEventCategory, SIEMEventFormat, SIEMFilterSeverity, SIEMAuthMethod, SiemExportConfigBaseSchema, WildoHeaderKeys, siemExportConfigPolymorphicFactories, } from '@wildo-ai/saas-models';
5
5
  import { HttpResponseStatusCode, mergeResourceFrontendConfigurations, resourceFrontendConfiguration, resourceSpecification, resourceSpecificationFromFrontendConfiguration, } from '../../../_core/index.js';
6
6
  import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
7
7
  function resolveSiemExportUI(source, resourceType, sourceName) {
@@ -16,8 +16,6 @@ const siemExportResourcePrimaryScope = {
16
16
  [CoreResourceType.APPLICATION_SIEM_EXPORT_CONFIG]: ResourcePrimaryScope.APPLICATION,
17
17
  };
18
18
  const SIEM_EXPORT_DELIVERY_EXAMPLE = {
19
- batchSize: 20,
20
- batchWindowSeconds: 10,
21
19
  retryAttempts: 3,
22
20
  retryBackoffSeconds: 30,
23
21
  timeoutSeconds: 10,
@@ -47,8 +45,16 @@ function createSiemExportReferenceExamples(resourceType) {
47
45
  },
48
46
  delivery: SIEM_EXPORT_DELIVERY_EXAMPLE,
49
47
  customHeaders: { 'x-customer-tenant': isApplication ? 'wonder-todos' : 'northwind' },
50
- includeRawEventData: true,
51
- includeDeviceContext: true,
48
+ /**
49
+ * A destination whose agreement forbids exporting user identifiers: attribution withheld,
50
+ * operational context kept, and only configuration-shaped detail bags. Shown NARROWED rather
51
+ * than at the default, because the default is "everything" and an example that equals the
52
+ * default teaches a reader nothing about what the field is for.
53
+ */
54
+ exportProjection: {
55
+ disclosedTiers: [AuditExportDisclosureTier.CONTEXT, AuditExportDisclosureTier.DETAIL],
56
+ disclosedEventDataClasses: [AuditExportEventDataDisclosure.ADMINISTRATIVE],
57
+ },
52
58
  createdAt: '2026-08-01T09:00:00.000Z',
53
59
  updatedAt: '2026-08-18T13:40:00.000Z',
54
60
  ...scopeIdentity,
@@ -179,16 +185,21 @@ function buildSiemExportBase(resourceType, memberName) {
179
185
  meaning: 'Filter block: selected high-level event categories, minimum SIEM severity, and an optional exact allowlist of event-type identifiers. `specificEventTypes` uses exact string equality, not substring or wildcard matching.',
180
186
  }),
181
187
  delivery: schemaShape.delivery.objectSpec({
182
- meaning: 'Retry and timeout policy for each outbound event. `retryAttempts`, `retryBackoffSeconds` and `timeoutSeconds` are enforced. `batchSize` and `batchWindowSeconds` are accepted and stored but the current worker still posts one event per request; do not size a receiver on the assumption that batching occurs.',
188
+ meaning: 'Retry and timeout policy for each outbound event: `retryAttempts` is the ceiling, `retryBackoffSeconds` the exponential base, `timeoutSeconds` the per-request deadline. All three are enforced by the delivery worker. `batchSize` and `batchWindowSeconds` used to sit here, accepted and stored and read by nothing, and were removed — the worker posts ONE event per HTTP request, and a stored number that does not change that is worse than its absence.',
183
189
  }),
184
190
  customHeaders: schemaShape.customHeaders.codeSpec({
185
191
  meaning: 'Additional static HTTP headers included with every delivery. The selected authentication method is applied afterward and overrides a custom header with the same name.',
186
192
  }),
187
- includeRawEventData: schemaShape.includeRawEventData.booleanSpec({
188
- meaning: 'Reserved configuration flag. It is currently accepted and stored but is not read by the event-envelope or delivery path; changing it does not remove `eventData` from emitted events.',
189
- }),
190
- includeDeviceContext: schemaShape.includeDeviceContext.booleanSpec({
191
- meaning: 'Reserved configuration flag. It is currently accepted and stored but is not read by the event-envelope or delivery path; changing it does not remove available IP address or user-agent context.',
193
+ exportProjection: schemaShape.exportProjection.objectSpec({
194
+ meaning: 'What this destination may RECEIVE — the data-minimisation control, and the only place an operator can limit an export before it leaves. '
195
+ + '`disclosedTiers` names which classes of envelope field are admitted beyond the floor: `attribution` (user email, IP address, user agent, geolocation, client-install id), '
196
+ + '`context` (correlation id, frontend surface, tenant and application names, authentication method and source) and `detail` (the per-event `eventData` bag AND the outcome reason, which is lifted out of that bag and so travels with it). '
197
+ + '`disclosedEventDataClasses` then decides WHICH bags, by what the event type carries: `subject-detail` bags hold data about a person, `administrative` bags hold configuration or system state. '
198
+ + 'Declaring `detail` without `administrative` only is the common mistake — an authentication event’s bag carries the email address that dropping `attribution` was meant to withhold. '
199
+ + 'A FLOOR always survives whatever is declared: event id, type, category, severity, timestamp, organization, the actor’s user id, source service, source version, source environment and outcome. '
200
+ + 'That is not a courtesy — the event id is the receiver’s de-duplication key, and the event type, severity and source version are header slots the CEF and LEEF grammars cannot omit without corrupting the record. '
201
+ + 'The projection is applied once, before the event is signed and queued, so all four wire formats carry it identically and a withheld field is ABSENT rather than present and empty. '
202
+ + 'Omitting the whole block means full disclosure, which is what every destination configured before this control existed receives.',
192
203
  }),
193
204
  },
194
205
  operations: {
@@ -273,14 +284,14 @@ function buildSiemExportBase(resourceType, memberName) {
273
284
  ],
274
285
  },
275
286
  [Op.UPDATE]: {
276
- purpose: 'Update webhook, format, event filter, or delivery block after validation (INTERNAL_CALL update — no public HTTP route; reached through `AuthOrganizationConfigurationService.saveSiemExportConfig` on the admin’s execution context, preserving admin audit attribution).',
287
+ purpose: 'Update the destination, credential, format, event filter, or delivery block after validation. This is the administrator\u2019s write door (API_CALL): an organization admin on the organization variant, an application super-administrator on the application variant, which is settable but delivers nothing until an application-scoped producer exists. `authCredential` is sealed to the scope before it is stored, and sending the write-only mask back keeps the stored credential. HIGH risk, so every edit is audited; on the organization variant the edit also emits `ORGANIZATION_SIEM_EXPORT_CONFIGURED` — or `ORGANIZATION_SIEM_EXPORT_DISABLED` (CRITICAL) when it turns export off and `ORGANIZATION_SIEM_EXPORT_DESTINATION_CHANGED` (WARNING) when it moves the destination, each delivered to the destination that stopped receiving events as its last event.',
277
288
  outcome: 'Downstream services pick up changes for subsequent deliveries.',
278
289
  responseStatuses: [
279
290
  { code: HttpResponseStatusCode.OK_200, meaning: 'The SIEM export configuration was updated and the new settings (secrets redacted) are returned.' },
280
291
  ],
281
292
  errorScenarios: [
282
293
  { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited destination, format, filter, or delivery block fails schema validation.', errorCode: 'VALIDATION_FAILED' },
283
- { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to change SIEM export settings.' },
294
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin of this organization (organization variant) or an application super-administrator (application variant).' },
284
295
  { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SIEM export configuration exists for this scope to update.' },
285
296
  ],
286
297
  idempotent: true,