@wildo-ai/saas-specifications 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (633) hide show
  1. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
  2. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  3. package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
  4. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  5. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
  6. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  7. package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
  8. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  9. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
  10. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  11. package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
  12. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  13. package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
  14. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
  15. package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
  16. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
  17. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
  19. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  20. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
  21. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  22. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
  23. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  24. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
  25. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
  26. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
  27. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
  28. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  29. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
  30. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  31. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
  32. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  33. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  34. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
  35. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
  36. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
  37. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
  38. package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
  39. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  40. package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
  41. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
  42. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  43. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
  44. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  45. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
  46. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  47. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +115 -9
  48. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  49. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
  50. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
  51. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
  52. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
  53. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  54. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
  55. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  56. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
  57. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
  58. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
  59. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
  60. package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
  61. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  62. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  63. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
  64. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
  65. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
  66. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
  67. package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
  68. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  69. package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
  70. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
  71. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  72. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
  73. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  74. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
  75. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  76. package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
  77. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  78. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
  79. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
  81. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  82. package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
  83. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
  84. package/dist/esm/_core/family-aspects.registry.js +60 -0
  85. package/dist/esm/_core/family-aspects.registry.js.map +1 -0
  86. package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
  87. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
  88. package/dist/esm/_core/family-aspects.schemas.js +15 -0
  89. package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
  90. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
  91. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
  92. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
  93. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
  94. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
  95. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  96. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
  97. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  98. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
  99. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  100. package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
  101. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
  103. package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
  104. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
  105. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  106. package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
  107. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
  108. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  109. package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
  110. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  111. package/dist/esm/_core/index.d.ts +3 -0
  112. package/dist/esm/_core/index.d.ts.map +1 -1
  113. package/dist/esm/_core/index.js +3 -0
  114. package/dist/esm/_core/index.js.map +1 -1
  115. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
  116. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
  118. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  119. package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
  120. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  121. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  122. package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
  123. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
  124. package/dist/esm/_core/market/market.family-aspects.js +227 -0
  125. package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
  126. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
  127. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  128. package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
  129. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  130. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  131. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
  132. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  133. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +66 -9
  134. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  135. package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
  136. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  137. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts +3 -0
  138. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
  139. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
  140. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
  141. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
  142. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  143. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
  144. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  145. package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
  146. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
  147. package/dist/esm/_core/provider-specification.schemas.js +144 -0
  148. package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
  149. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  150. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
  151. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  152. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
  153. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  154. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  155. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
  156. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
  157. package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
  158. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
  159. package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
  160. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  161. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  162. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  163. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
  164. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  165. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
  166. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  167. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  168. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
  169. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
  170. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
  171. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
  172. package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
  173. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
  174. package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
  175. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
  176. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
  178. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  179. package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
  180. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
  181. package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
  182. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
  183. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
  184. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
  185. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +193 -38
  186. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  187. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +157 -57
  188. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  189. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
  190. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
  191. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  192. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
  193. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  194. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
  195. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  196. package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
  197. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
  198. package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
  199. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
  200. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
  201. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
  202. package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
  203. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
  204. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
  205. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  206. package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
  207. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  208. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +101 -85
  209. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  210. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
  211. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  212. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
  213. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  214. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
  215. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  216. package/dist/esm/application-creation.exports.d.ts +11 -0
  217. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  218. package/dist/esm/application-creation.exports.js +11 -0
  219. package/dist/esm/application-creation.exports.js.map +1 -1
  220. package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
  221. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  222. package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
  223. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  224. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +999 -2
  225. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  226. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
  227. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  228. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
  229. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  230. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  231. package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
  232. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  233. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
  234. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  235. package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
  236. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  237. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
  238. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
  239. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
  240. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
  241. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
  242. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
  243. package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
  244. package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
  245. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
  246. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  247. package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
  248. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  249. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +78 -1
  250. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  251. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
  252. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  253. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
  254. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
  255. package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
  256. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
  257. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
  258. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
  259. package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
  260. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
  261. package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
  262. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  263. package/dist/esm/assurance/assurance-program.schemas.js +319 -8
  264. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  265. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
  266. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  267. package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
  268. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  269. package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
  270. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  271. package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
  272. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  273. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
  274. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
  275. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
  276. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
  277. package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
  278. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
  279. package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
  280. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
  281. package/dist/esm/assurance.exports.d.ts +2 -0
  282. package/dist/esm/assurance.exports.d.ts.map +1 -1
  283. package/dist/esm/assurance.exports.js +2 -0
  284. package/dist/esm/assurance.exports.js.map +1 -1
  285. package/dist/esm/companion-exports.d.ts +26 -8
  286. package/dist/esm/companion-exports.d.ts.map +1 -1
  287. package/dist/esm/companion-exports.js.map +1 -1
  288. package/dist/esm/engine/_bootstrap.js +3 -1
  289. package/dist/esm/engine/_bootstrap.js.map +1 -1
  290. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +15 -1
  292. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  293. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  294. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +4 -2
  295. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  296. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
  297. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  298. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +17 -3
  299. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  300. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  301. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
  302. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  304. package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
  305. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  306. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
  307. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
  308. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
  309. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
  310. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
  311. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  312. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +3 -1
  313. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  314. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  315. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +15 -1
  316. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  317. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
  318. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  319. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +17 -3
  320. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  321. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
  322. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
  323. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
  324. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
  325. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
  326. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  327. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +6 -4
  328. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  329. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  330. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -2
  331. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  332. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  333. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -6
  334. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  335. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  336. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +11 -9
  337. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  338. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  339. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
  340. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  341. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
  342. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  343. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +106 -10
  344. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  345. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
  346. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  347. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +2 -0
  348. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  349. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
  350. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
  351. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
  352. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
  353. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
  354. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +6 -3
  356. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  357. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
  358. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  359. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -2
  360. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  361. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -2
  362. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  363. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -3
  364. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  365. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  366. package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
  367. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  368. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  369. package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
  370. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  371. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +16 -12
  373. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  374. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  375. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
  376. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  377. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
  378. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  379. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -3
  380. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  381. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +13 -9
  382. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  383. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +30 -11
  384. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  385. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +10 -8
  387. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
  389. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  390. package/dist/esm/engine/engine-resource-specifications.registry.js +11 -2
  391. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  392. package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
  393. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
  394. package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
  395. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
  396. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  397. package/dist/esm/engine/errors/error-messages.specification.js +44 -1
  398. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  399. package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
  400. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  401. package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
  402. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  403. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  404. package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -3
  405. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  406. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +5 -3
  408. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  409. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  410. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  411. package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
  412. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  413. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  414. package/dist/esm/engine/files/resources/files.resource.specification.js +12 -10
  415. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  416. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +3 -3
  417. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  418. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +22 -10
  419. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  420. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +3 -3
  421. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  422. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -4
  423. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  424. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
  425. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  426. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +4 -2
  427. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  428. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  429. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  430. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
  431. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  432. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
  433. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
  434. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
  435. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
  436. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
  437. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
  438. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
  439. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
  440. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  441. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
  442. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  443. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
  444. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
  445. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
  446. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
  447. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
  448. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
  449. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
  450. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
  451. package/dist/esm/engine/frontend-components/index.d.ts +0 -2
  452. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  453. package/dist/esm/engine/frontend-components/index.js +4 -6
  454. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  455. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
  456. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  457. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -12
  458. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  459. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
  460. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -9
  462. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  463. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +9 -1
  464. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  465. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +9 -6
  466. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  467. package/dist/esm/engine/index.d.ts +2 -0
  468. package/dist/esm/engine/index.d.ts.map +1 -1
  469. package/dist/esm/engine/index.js +2 -0
  470. package/dist/esm/engine/index.js.map +1 -1
  471. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  472. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +19 -17
  473. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  474. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  475. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -7
  476. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  477. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  478. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -8
  479. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  480. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
  481. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  482. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +12 -5
  483. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  484. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -15
  486. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  487. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  488. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  489. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +14 -10
  490. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  491. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  492. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +31 -6
  493. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  494. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  495. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  496. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +11 -9
  497. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  498. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  499. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -3
  500. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  501. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  502. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -4
  503. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  504. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  505. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -2
  506. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  507. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  508. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +3 -1
  509. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  510. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  511. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
  512. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  513. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  514. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -7
  515. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  516. package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
  517. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
  518. package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
  519. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
  520. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
  521. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
  522. package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
  523. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
  524. package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
  525. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
  526. package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
  527. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
  528. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
  529. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
  530. package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
  531. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
  532. package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
  533. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
  534. package/dist/esm/engine/providers/github.provider.specification.js +30 -0
  535. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
  536. package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
  537. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
  538. package/dist/esm/engine/providers/google.provider.specification.js +34 -0
  539. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
  540. package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
  541. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
  542. package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
  543. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
  544. package/dist/esm/engine/providers/index.d.ts +23 -0
  545. package/dist/esm/engine/providers/index.d.ts.map +1 -0
  546. package/dist/esm/engine/providers/index.js +37 -0
  547. package/dist/esm/engine/providers/index.js.map +1 -0
  548. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
  549. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
  550. package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
  551. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
  552. package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
  553. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
  554. package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
  555. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
  556. package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
  557. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
  558. package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
  559. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
  560. package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
  561. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
  562. package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
  563. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
  564. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
  565. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
  566. package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
  567. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
  568. package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
  569. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
  570. package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
  571. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
  572. package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
  573. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
  574. package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
  575. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
  576. package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
  577. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
  578. package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
  579. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
  580. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  581. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +9 -7
  582. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  583. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +1 -1
  584. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  585. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -9
  586. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  587. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
  588. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  589. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -2
  590. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  591. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  592. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +10 -8
  594. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  595. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
  596. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  597. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +6 -4
  598. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  599. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
  600. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -2
  602. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  603. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +5 -5
  604. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +15 -11
  606. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  607. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
  608. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  609. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -1
  610. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  611. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  612. package/dist/esm/engine/users/resources/user-self.resource.specification.js +11 -9
  613. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  614. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  615. package/dist/esm/engine/users/resources/users.resource.specification.js +95 -0
  616. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  617. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts +5 -0
  618. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  619. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +451 -25
  620. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  621. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
  622. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  623. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +37 -1
  624. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  625. package/dist/tsconfig.build.tsbuildinfo +1 -0
  626. package/package.json +8 -8
  627. package/dist/esm/.builder.pid +0 -9
  628. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
  629. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
  630. package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
  631. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
  632. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
  633. package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
@@ -23,8 +23,25 @@ export declare enum TechnicalDocumentationReaderAudience {
23
23
  ORGANIZATION_ADMINISTRATOR = "ORGANIZATION_ADMINISTRATOR",
24
24
  ORGANIZATION_INTEGRATION_DEVELOPER = "ORGANIZATION_INTEGRATION_DEVELOPER"
25
25
  }
26
+ /**
27
+ * How far a piece of PROVENANCE may travel — the classification of the SOURCE a unit was derived
28
+ * from, not of the unit itself (that is {@link TechnicalDocumentationAccessClass}).
29
+ *
30
+ * A unit whose provenance carries anything but `PUBLIC` is suppressed from the public portal, and
31
+ * the public-bundle validator refuses one that slipped through. Both halves existed before
32
+ * `RESTRICTED` did: the vocabulary had a single member, so no unit could carry a restricted source
33
+ * and the suppression path had no producer at all (#474).
34
+ */
26
35
  export declare enum TechnicalDocumentationSourceClassification {
27
- PUBLIC = "PUBLIC"
36
+ /** Derived from something the framework already publishes; safe to attribute in a public portal. */
37
+ PUBLIC = "PUBLIC",
38
+ /**
39
+ * Derived from a source the public portal must not attribute or expose — an internal design note,
40
+ * a private specification, an operational record. The unit is suppressed rather than redacted:
41
+ * provenance is not a field that can be trimmed and leave the unit honest, because a reader who
42
+ * cannot see where a statement came from cannot check it.
43
+ */
44
+ RESTRICTED = "RESTRICTED"
28
45
  }
29
46
  export declare enum TechnicalDocumentationChannel {
30
47
  PUBLIC_PORTAL = "PUBLIC_PORTAL"
@@ -48,12 +65,31 @@ export declare enum TechnicalDocumentationPublicationDecision {
48
65
  REDACT = "REDACT",
49
66
  SUPPRESS = "SUPPRESS"
50
67
  }
68
+ /**
69
+ * Why the publication policy decided what it did about one unit. This is the decision RECORD an
70
+ * operator reads, so two different decisions must never share a reason — see `RESTRICTED_SOURCE`
71
+ * and `RESTRICTED_ASSET_REDACTED` below, which did until 2026-09-08 (#474).
72
+ */
51
73
  export declare enum TechnicalDocumentationPublicationReason {
52
74
  ACCESS_CLASS_MISMATCH = "ACCESS_CLASS_MISMATCH",
53
75
  APPLICABILITY_NOT_PROVEN = "APPLICABILITY_NOT_PROVEN",
54
76
  EDITORIAL_NOT_APPROVED = "EDITORIAL_NOT_APPROVED",
55
77
  INCLUDED_BY_POLICY = "INCLUDED_BY_POLICY",
78
+ /**
79
+ * The WHOLE unit was suppressed: its provenance names a non-`PUBLIC` source, so nothing about it
80
+ * may be published.
81
+ */
56
82
  RESTRICTED_SOURCE = "RESTRICTED_SOURCE",
83
+ /**
84
+ * The unit was PUBLISHED with one or more asset requests dropped, because their access class is
85
+ * not `PUBLIC`. The reader gets the unit; they do not get those assets.
86
+ *
87
+ * Distinct from `RESTRICTED_SOURCE` deliberately. Both used to emit `RESTRICTED_SOURCE`, so a
88
+ * decision record could not distinguish "this unit was withheld" from "this unit shipped with
89
+ * fewer pictures" — opposite outcomes for a reader, and the first is the one an operator needs
90
+ * to find.
91
+ */
92
+ RESTRICTED_ASSET_REDACTED = "RESTRICTED_ASSET_REDACTED",
57
93
  SUPERSEDED = "SUPERSEDED"
58
94
  }
59
95
  export declare const TechnicalDocumentationSectionV1Schema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"technical-documentation-units.schemas.d.ts","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,EAClD,MAAM,4CAA4C,CAAC;AAEpD,oBAAY,8BAA8B;IACxC,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,eAAe,oBAAoB;CACpC;AAED,oBAAY,qCAAqC;IAC/C,qFAAqF;IACrF,gCAAgC,qCAAqC;IACrE,sBAAsB,2BAA2B;CAClD;AAED,6FAA6F;AAC7F,oBAAY,oCAAoC;IAC9C,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,0BAA0B,+BAA+B;IACzD,kCAAkC,uCAAuC;CAC1E;AAED,oBAAY,0CAA0C;IACpD,MAAM,WAAW;CAClB;AAED,oBAAY,6BAA6B;IACvC,aAAa,kBAAkB;CAChC;AAED,oBAAY,iCAAiC;IAC3C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K,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,4BAA4B,GAAG,4BAA4B,CAgBpH"}
1
+ {"version":3,"file":"technical-documentation-units.schemas.d.ts","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,EAClD,MAAM,4CAA4C,CAAC;AAEpD,oBAAY,8BAA8B;IACxC,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,eAAe,oBAAoB;CACpC;AAED,oBAAY,qCAAqC;IAC/C,qFAAqF;IACrF,gCAAgC,qCAAqC;IACrE,sBAAsB,2BAA2B;CAClD;AAED,6FAA6F;AAC7F,oBAAY,oCAAoC;IAC9C,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,0BAA0B,+BAA+B;IACzD,kCAAkC,uCAAuC;CAC1E;AAED;;;;;;;;GAQG;AACH,oBAAY,0CAA0C;IACpD,oGAAoG;IACpG,MAAM,WAAW;IACjB;;;;;OAKG;IACH,UAAU,eAAe;CAC1B;AAED,oBAAY,6BAA6B;IACvC,aAAa,kBAAkB;CAChC;AAED,oBAAY,iCAAiC;IAC3C,MAAM,WAAW;CAClB;AAED,oBAAY,qCAAqC;IAC/C,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,eAAe,oBAAoB;CACpC;AAED,oBAAY,8BAA8B;IACxC,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,yCAAyC;IACnD,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;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_ADMINISTRATOR";
31
31
  TechnicalDocumentationReaderAudience["ORGANIZATION_INTEGRATION_DEVELOPER"] = "ORGANIZATION_INTEGRATION_DEVELOPER";
32
32
  })(TechnicalDocumentationReaderAudience || (TechnicalDocumentationReaderAudience = {}));
33
+ /**
34
+ * How far a piece of PROVENANCE may travel — the classification of the SOURCE a unit was derived
35
+ * from, not of the unit itself (that is {@link TechnicalDocumentationAccessClass}).
36
+ *
37
+ * A unit whose provenance carries anything but `PUBLIC` is suppressed from the public portal, and
38
+ * the public-bundle validator refuses one that slipped through. Both halves existed before
39
+ * `RESTRICTED` did: the vocabulary had a single member, so no unit could carry a restricted source
40
+ * and the suppression path had no producer at all (#474).
41
+ */
33
42
  export var TechnicalDocumentationSourceClassification;
34
43
  (function (TechnicalDocumentationSourceClassification) {
44
+ /** Derived from something the framework already publishes; safe to attribute in a public portal. */
35
45
  TechnicalDocumentationSourceClassification["PUBLIC"] = "PUBLIC";
46
+ /**
47
+ * Derived from a source the public portal must not attribute or expose — an internal design note,
48
+ * a private specification, an operational record. The unit is suppressed rather than redacted:
49
+ * provenance is not a field that can be trimmed and leave the unit honest, because a reader who
50
+ * cannot see where a statement came from cannot check it.
51
+ */
52
+ TechnicalDocumentationSourceClassification["RESTRICTED"] = "RESTRICTED";
36
53
  })(TechnicalDocumentationSourceClassification || (TechnicalDocumentationSourceClassification = {}));
37
54
  export var TechnicalDocumentationChannel;
38
55
  (function (TechnicalDocumentationChannel) {
@@ -61,13 +78,32 @@ export var TechnicalDocumentationPublicationDecision;
61
78
  TechnicalDocumentationPublicationDecision["REDACT"] = "REDACT";
62
79
  TechnicalDocumentationPublicationDecision["SUPPRESS"] = "SUPPRESS";
63
80
  })(TechnicalDocumentationPublicationDecision || (TechnicalDocumentationPublicationDecision = {}));
81
+ /**
82
+ * Why the publication policy decided what it did about one unit. This is the decision RECORD an
83
+ * operator reads, so two different decisions must never share a reason — see `RESTRICTED_SOURCE`
84
+ * and `RESTRICTED_ASSET_REDACTED` below, which did until 2026-09-08 (#474).
85
+ */
64
86
  export var TechnicalDocumentationPublicationReason;
65
87
  (function (TechnicalDocumentationPublicationReason) {
66
88
  TechnicalDocumentationPublicationReason["ACCESS_CLASS_MISMATCH"] = "ACCESS_CLASS_MISMATCH";
67
89
  TechnicalDocumentationPublicationReason["APPLICABILITY_NOT_PROVEN"] = "APPLICABILITY_NOT_PROVEN";
68
90
  TechnicalDocumentationPublicationReason["EDITORIAL_NOT_APPROVED"] = "EDITORIAL_NOT_APPROVED";
69
91
  TechnicalDocumentationPublicationReason["INCLUDED_BY_POLICY"] = "INCLUDED_BY_POLICY";
92
+ /**
93
+ * The WHOLE unit was suppressed: its provenance names a non-`PUBLIC` source, so nothing about it
94
+ * may be published.
95
+ */
70
96
  TechnicalDocumentationPublicationReason["RESTRICTED_SOURCE"] = "RESTRICTED_SOURCE";
97
+ /**
98
+ * The unit was PUBLISHED with one or more asset requests dropped, because their access class is
99
+ * not `PUBLIC`. The reader gets the unit; they do not get those assets.
100
+ *
101
+ * Distinct from `RESTRICTED_SOURCE` deliberately. Both used to emit `RESTRICTED_SOURCE`, so a
102
+ * decision record could not distinguish "this unit was withheld" from "this unit shipped with
103
+ * fewer pictures" — opposite outcomes for a reader, and the first is the one an operator needs
104
+ * to find.
105
+ */
106
+ TechnicalDocumentationPublicationReason["RESTRICTED_ASSET_REDACTED"] = "RESTRICTED_ASSET_REDACTED";
71
107
  TechnicalDocumentationPublicationReason["SUPERSEDED"] = "SUPERSEDED";
72
108
  })(TechnicalDocumentationPublicationReason || (TechnicalDocumentationPublicationReason = {}));
73
109
  const PortableMarkdownSchema = z
@@ -192,7 +228,7 @@ export function createTechnicalDocumentationUnitV1(input) {
192
228
  applicabilityRequirements: canonicalizeTechnicalDocumentationRows(input.applicabilityRequirements.map((requirement) => ({
193
229
  ...requirement,
194
230
  acceptableStatuses: [...new Set(requirement.acceptableStatuses)].sort(),
195
- })), (requirement) => `${requirement.axis}${requirement.subjectRef}`),
231
+ })), (requirement) => `${requirement.axis}\0${requirement.subjectRef}`),
196
232
  assetRequests: canonicalizeTechnicalDocumentationRows(input.assetRequests, (asset) => asset.assetRef),
197
233
  };
198
234
  return TechnicalDocumentationUnitV1Schema.parse(canonicalInput);
@@ -1 +1 @@
1
- {"version":3,"file":"technical-documentation-units.schemas.js","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAE5H,OAAO,EAAE,0CAA0C,EAAE,MAAM,0CAA0C,CAAC;AACtG,OAAO,EAAE,gDAAgD,EAAE,MAAM,yDAAyD,CAAC;AAC3H,OAAO,EACL,sCAAsC,EACtC,8CAA8C,GAC/C,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,GAClD,MAAM,4CAA4C,CAAC;AAEpD,MAAM,CAAN,IAAY,8BASX;AATD,WAAY,8BAA8B;IACxC,mDAAiB,CAAA;IACjB,qDAAmB,CAAA;IACnB,mDAAiB,CAAA;IACjB,6DAA2B,CAAA;IAC3B,2DAAyB,CAAA;IACzB,yDAAuB,CAAA;IACvB,qDAAmB,CAAA;IACnB,qEAAmC,CAAA;AACrC,CAAC,EATW,8BAA8B,KAA9B,8BAA8B,QASzC;AAED,MAAM,CAAN,IAAY,qCAIX;AAJD,WAAY,qCAAqC;IAC/C,qFAAqF;IACrF,8GAAqE,CAAA;IACrE,0FAAiD,CAAA;AACnD,CAAC,EAJW,qCAAqC,KAArC,qCAAqC,QAIhD;AAED,6FAA6F;AAC7F,MAAM,CAAN,IAAY,oCAMX;AAND,WAAY,oCAAoC;IAC9C,qGAA6D,CAAA;IAC7D,iGAAyD,CAAA;IACzD,yGAAiE,CAAA;IACjE,iGAAyD,CAAA;IACzD,iHAAyE,CAAA;AAC3E,CAAC,EANW,oCAAoC,K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AAU,EAAE,CACjE;QACD,aAAa,EAAE,sCAAsC,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;KACtG,CAAC;IACF,OAAO,kCAAkC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAClE,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema } from \"@wildo-ai/saas-models/meta-workflows\";\n\nimport { TechnicalDocumentationAssetRequestV1Schema } from \"./technical-documentation-assets.schemas\";\nimport { TechnicalDocumentationApiReferenceTargetV1Schema } from \"./technical-documentation-api-reference-targets.schemas\";\nimport {\n canonicalizeTechnicalDocumentationRows,\n technicalDocumentationValuesAreUniqueAndSorted,\n} from \"./technical-documentation-common.schemas\";\nimport {\n TechnicalDocumentationApplicabilityEvidenceAxis,\n TechnicalDocumentationApplicabilityEvidenceStatus,\n} from \"./technical-documentation-evidence.schemas\";\n\nexport enum TechnicalDocumentationUnitKind {\n CHANGE = \"CHANGE\",\n CONCEPT = \"CONCEPT\",\n HOW_TO = \"HOW_TO\",\n ORIENTATION = \"ORIENTATION\",\n QUICKSTART = \"QUICKSTART\",\n REFERENCE = \"REFERENCE\",\n RUNBOOK = \"RUNBOOK\",\n TROUBLESHOOTING = \"TROUBLESHOOTING\",\n}\n\nexport enum TechnicalDocumentationSourceOwnership {\n /** A resolved application configuration projected by the application's companion. */\n APPLICATION_COMPANION_PROJECTION = \"APPLICATION_COMPANION_PROJECTION\",\n ENGINE_GENERIC_CONTENT = \"ENGINE_GENERIC_CONTENT\",\n}\n\n/** Readers of the generated application's documentation, never Wildo application authors. */\nexport enum TechnicalDocumentationReaderAudience {\n APPLICATION_OPERATIONS_STAFF = \"APPLICATION_OPERATIONS_STAFF\",\n CONSUMING_INTERNAL_SERVICE = \"CONSUMING_INTERNAL_SERVICE\",\n EXTERNAL_INTEGRATION_DEVELOPER = \"EXTERNAL_INTEGRATION_DEVELOPER\",\n ORGANIZATION_ADMINISTRATOR = \"ORGANIZATION_ADMINISTRATOR\",\n ORGANIZATION_INTEGRATION_DEVELOPER = \"ORGANIZATION_INTEGRATION_DEVELOPER\",\n}\n\nexport enum TechnicalDocumentationSourceClassification {\n PUBLIC = \"PUBLIC\",\n}\n\nexport enum TechnicalDocumentationChannel {\n PUBLIC_PORTAL = \"PUBLIC_PORTAL\",\n}\n\nexport enum TechnicalDocumentationAccessClass {\n PUBLIC = \"PUBLIC\",\n}\n\nexport enum TechnicalDocumentationEditorialStatus {\n APPROVED = \"APPROVED\",\n DRAFT = \"DRAFT\",\n REVIEW_REQUIRED = \"REVIEW_REQUIRED\",\n}\n\nexport enum TechnicalDocumentationLinkKind {\n API_REFERENCE = \"API_REFERENCE\",\n EXTERNAL = \"EXTERNAL\",\n SOURCE = \"SOURCE\",\n UNIT = \"UNIT\",\n}\n\nexport enum TechnicalDocumentationPublicationDecision {\n INCLUDE = \"INCLUDE\",\n REDACT = \"REDACT\",\n SUPPRESS = \"SUPPRESS\",\n}\n\nexport enum TechnicalDocumentationPublicationReason {\n ACCESS_CLASS_MISMATCH = \"ACCESS_CLASS_MISMATCH\",\n APPLICABILITY_NOT_PROVEN = \"APPLICABILITY_NOT_PROVEN\",\n EDITORIAL_NOT_APPROVED = \"EDITORIAL_NOT_APPROVED\",\n INCLUDED_BY_POLICY = \"INCLUDED_BY_POLICY\",\n RESTRICTED_SOURCE = \"RESTRICTED_SOURCE\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\n\nconst PortableMarkdownSchema = z\n .string()\n .trim()\n .min(1)\n .superRefine((markdown, context) => {\n if (/^\\s*(?:import|export)\\s/m.test(markdown) || /<\\/?[A-Z][A-Za-z0-9.]*(?:\\s|>|\\/)/.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain executable MDX imports, exports or components\" });\n }\n if (/<\\/?(?:script|iframe|object|embed|style)\\b|\\bon[a-z]+\\s*=|javascript:/i.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain active HTML or script URLs\" });\n }\n });\n\nconst TechnicalDocumentationExternalUrlSchema = z.url().regex(/^https?:\\/\\//, { message: \"external documentation links must use HTTP or HTTPS\" });\n\nexport const TechnicalDocumentationSectionV1Schema = z.strictObject({\n sectionRef: MetaWorkflow_NamespacedRefSchema,\n heading: z.string().trim().min(1),\n bodyMarkdown: PortableMarkdownSchema,\n});\nexport type TechnicalDocumentationSectionV1 = z.infer<typeof TechnicalDocumentationSectionV1Schema>;\n\nexport const TechnicalDocumentationLinkV1Schema = z\n .strictObject({\n linkRef: MetaWorkflow_NamespacedRefSchema,\n kind: z.enum(TechnicalDocumentationLinkKind),\n label: z.string().trim().min(1),\n targetUnitRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n targetRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n externalUrl: TechnicalDocumentationExternalUrlSchema.nullable(),\n apiReferenceTarget: TechnicalDocumentationApiReferenceTargetV1Schema.nullable(),\n })\n .superRefine((link, context) => {\n const populatedTargets = [link.targetUnitRef, link.targetRef, link.externalUrl, link.apiReferenceTarget].filter((value) => value !== null).length;\n if (populatedTargets !== 1) {\n context.addIssue({ code: \"custom\", message: \"a typed link must define exactly one matching target\", path: [\"kind\"] });\n return;\n }\n if (link.kind === TechnicalDocumentationLinkKind.UNIT && link.targetUnitRef === null) {\n context.addIssue({ code: \"custom\", message: \"UNIT links require targetUnitRef\", path: [\"targetUnitRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.SOURCE && link.targetRef === null) {\n context.addIssue({ code: \"custom\", message: \"SOURCE links require targetRef\", path: [\"targetRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.EXTERNAL && link.externalUrl === null) {\n context.addIssue({ code: \"custom\", message: \"EXTERNAL links require externalUrl\", path: [\"externalUrl\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.API_REFERENCE && link.apiReferenceTarget === null) {\n context.addIssue({ code: \"custom\", message: \"API_REFERENCE links require apiReferenceTarget\", path: [\"apiReferenceTarget\"] });\n }\n });\nexport type TechnicalDocumentationLinkV1 = z.infer<typeof TechnicalDocumentationLinkV1Schema>;\n\nexport const TechnicalDocumentationSourceProvenanceV1Schema = z.strictObject({\n sourceRef: MetaWorkflow_NamespacedRefSchema,\n ownership: z.enum(TechnicalDocumentationSourceOwnership),\n classification: z.enum(TechnicalDocumentationSourceClassification),\n /**\n * The version of the source this unit was derived from. Two units citing one `sourceRef` at\n * different versions disagree about their input and are refused at bundle assembly; two citing\n * the same version agree. That is the whole question the retired `sourceSemanticDigest` answered,\n * and this form survives a merge.\n */\n sourceVersion: MetaWorkflow_PositiveVersionSchema,\n sourceAnchorRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n});\nexport type TechnicalDocumentationSourceProvenanceV1 = z.infer<typeof TechnicalDocumentationSourceProvenanceV1Schema>;\n\nexport const TechnicalDocumentationApplicabilityRequirementV1Schema = z\n .strictObject({\n axis: z.enum(TechnicalDocumentationApplicabilityEvidenceAxis),\n subjectRef: MetaWorkflow_NamespacedRefSchema,\n acceptableStatuses: z.array(z.enum(TechnicalDocumentationApplicabilityEvidenceStatus)).min(1),\n })\n .superRefine((requirement, context) => {\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirement.acceptableStatuses)) {\n context.addIssue({ code: \"custom\", message: \"acceptableStatuses must be unique and sorted\", path: [\"acceptableStatuses\"] });\n }\n });\nexport type TechnicalDocumentationApplicabilityRequirementV1 = z.infer<typeof TechnicalDocumentationApplicabilityRequirementV1Schema>;\n\nexport const TechnicalDocumentationUnitV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n unitRef: MetaWorkflow_NamespacedRefSchema,\n unitVersion: MetaWorkflow_PositiveVersionSchema,\n kind: z.enum(TechnicalDocumentationUnitKind),\n readerAudiences: z.array(z.enum(TechnicalDocumentationReaderAudience)).min(1),\n title: z.string().trim().min(1),\n summary: z.string().trim().min(1),\n sections: z.array(TechnicalDocumentationSectionV1Schema).min(1),\n links: z.array(TechnicalDocumentationLinkV1Schema),\n provenance: z.array(TechnicalDocumentationSourceProvenanceV1Schema).min(1),\n applicabilityRequirements: z.array(TechnicalDocumentationApplicabilityRequirementV1Schema),\n accessClass: z.enum(TechnicalDocumentationAccessClass),\n editorialStatus: z.enum(TechnicalDocumentationEditorialStatus),\n assetRequests: z.array(TechnicalDocumentationAssetRequestV1Schema),\n })\n .superRefine((unit, context) => {\n const sectionRefs = unit.sections.map((section) => section.sectionRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(unit.readerAudiences)) {\n context.addIssue({ code: \"custom\", message: \"readerAudiences must be unique and sorted\", path: [\"readerAudiences\"] });\n }\n if (new Set(sectionRefs).size !== sectionRefs.length) {\n context.addIssue({ code: \"custom\", message: \"section refs must be unique while retaining authored order\", path: [\"sections\"] });\n }\n const linkRefs = unit.links.map((link) => link.linkRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(linkRefs)) {\n context.addIssue({ code: \"custom\", message: \"links must be unique and sorted by linkRef\", path: [\"links\"] });\n }\n const sourceRefs = unit.provenance.map((source) => source.sourceRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(sourceRefs)) {\n context.addIssue({ code: \"custom\", message: \"provenance must be unique and sorted by sourceRef\", path: [\"provenance\"] });\n }\n const requirementKeys = unit.applicabilityRequirements.map((requirement) => `${requirement.axis}\\0${requirement.subjectRef}`);\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirementKeys)) {\n context.addIssue({ code: \"custom\", message: \"applicability requirements must be unique and sorted\", path: [\"applicabilityRequirements\"] });\n }\n const assetRefs = unit.assetRequests.map((asset) => asset.assetRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(assetRefs)) {\n context.addIssue({ code: \"custom\", message: \"asset requests must be unique and sorted by assetRef\", path: [\"assetRequests\"] });\n }\n });\nexport type TechnicalDocumentationUnitV1 = z.infer<typeof TechnicalDocumentationUnitV1Schema>;\n\nexport function createTechnicalDocumentationUnitV1(input: TechnicalDocumentationUnitV1): TechnicalDocumentationUnitV1 {\n const canonicalInput: TechnicalDocumentationUnitV1 = {\n ...input,\n readerAudiences: [...new Set(input.readerAudiences)].sort(),\n links: canonicalizeTechnicalDocumentationRows(input.links, (link) => link.linkRef),\n provenance: canonicalizeTechnicalDocumentationRows(input.provenance, (source) => source.sourceRef),\n applicabilityRequirements: canonicalizeTechnicalDocumentationRows(\n input.applicabilityRequirements.map((requirement) => ({\n ...requirement,\n acceptableStatuses: [...new Set(requirement.acceptableStatuses)].sort(),\n })),\n (requirement) => `${requirement.axis}\u0000${requirement.subjectRef}`,\n ),\n assetRequests: canonicalizeTechnicalDocumentationRows(input.assetRequests, (asset) => asset.assetRef),\n };\n return TechnicalDocumentationUnitV1Schema.parse(canonicalInput);\n}\n"]}
1
+ {"version":3,"file":"technical-documentation-units.schemas.js","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAE5H,OAAO,EAAE,0CAA0C,EAAE,MAAM,0CAA0C,CAAC;AACtG,OAAO,EAAE,gDAAgD,EAAE,MAAM,yDAAyD,CAAC;AAC3H,OAAO,EACL,sCAAsC,EACtC,8CAA8C,GAC/C,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,GAClD,MAAM,4CAA4C,CAAC;AAEpD,MAAM,CAAN,IAAY,8BASX;AATD,WAAY,8BAA8B;IACxC,mDAAiB,CAAA;IACjB,qDAAmB,CAAA;IACnB,mDAAiB,CAAA;IACjB,6DAA2B,CAAA;IAC3B,2DAAyB,CAAA;IACzB,yDAAuB,CAAA;IACvB,qDAAmB,CAAA;IACnB,qEAAmC,CAAA;AACrC,CAAC,EATW,8BAA8B,KAA9B,8BAA8B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KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;QAClF,UAAU,EAAE,sCAAsC,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC;QAClG,yBAAyB,EAAE,sCAAsC,CAC/D,KAAK,CAAC,yBAAyB,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;YACpD,GAAG,WAAW;YACd,kBAAkB,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,EAAE;SACxE,CAAC,CAAC,EACH,CAAC,WAAW,EAAE,EAAE,CAAC,GAAG,WAAW,CAAC,IAAI,KAAK,WAAW,CAAC,UAAU,EAAE,CAClE;QACD,aAAa,EAAE,sCAAsC,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;KACtG,CAAC;IACF,OAAO,kCAAkC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAClE,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema } from \"@wildo-ai/saas-models/meta-workflows\";\n\nimport { TechnicalDocumentationAssetRequestV1Schema } from \"./technical-documentation-assets.schemas\";\nimport { TechnicalDocumentationApiReferenceTargetV1Schema } from \"./technical-documentation-api-reference-targets.schemas\";\nimport {\n canonicalizeTechnicalDocumentationRows,\n technicalDocumentationValuesAreUniqueAndSorted,\n} from \"./technical-documentation-common.schemas\";\nimport {\n TechnicalDocumentationApplicabilityEvidenceAxis,\n TechnicalDocumentationApplicabilityEvidenceStatus,\n} from \"./technical-documentation-evidence.schemas\";\n\nexport enum TechnicalDocumentationUnitKind {\n CHANGE = \"CHANGE\",\n CONCEPT = \"CONCEPT\",\n HOW_TO = \"HOW_TO\",\n ORIENTATION = \"ORIENTATION\",\n QUICKSTART = \"QUICKSTART\",\n REFERENCE = \"REFERENCE\",\n RUNBOOK = \"RUNBOOK\",\n TROUBLESHOOTING = \"TROUBLESHOOTING\",\n}\n\nexport enum TechnicalDocumentationSourceOwnership {\n /** A resolved application configuration projected by the application's companion. */\n APPLICATION_COMPANION_PROJECTION = \"APPLICATION_COMPANION_PROJECTION\",\n ENGINE_GENERIC_CONTENT = \"ENGINE_GENERIC_CONTENT\",\n}\n\n/** Readers of the generated application's documentation, never Wildo application authors. */\nexport enum TechnicalDocumentationReaderAudience {\n APPLICATION_OPERATIONS_STAFF = \"APPLICATION_OPERATIONS_STAFF\",\n CONSUMING_INTERNAL_SERVICE = \"CONSUMING_INTERNAL_SERVICE\",\n EXTERNAL_INTEGRATION_DEVELOPER = \"EXTERNAL_INTEGRATION_DEVELOPER\",\n ORGANIZATION_ADMINISTRATOR = \"ORGANIZATION_ADMINISTRATOR\",\n ORGANIZATION_INTEGRATION_DEVELOPER = \"ORGANIZATION_INTEGRATION_DEVELOPER\",\n}\n\n/**\n * How far a piece of PROVENANCE may travel — the classification of the SOURCE a unit was derived\n * from, not of the unit itself (that is {@link TechnicalDocumentationAccessClass}).\n *\n * A unit whose provenance carries anything but `PUBLIC` is suppressed from the public portal, and\n * the public-bundle validator refuses one that slipped through. Both halves existed before\n * `RESTRICTED` did: the vocabulary had a single member, so no unit could carry a restricted source\n * and the suppression path had no producer at all (#474).\n */\nexport enum TechnicalDocumentationSourceClassification {\n /** Derived from something the framework already publishes; safe to attribute in a public portal. */\n PUBLIC = \"PUBLIC\",\n /**\n * Derived from a source the public portal must not attribute or expose — an internal design note,\n * a private specification, an operational record. The unit is suppressed rather than redacted:\n * provenance is not a field that can be trimmed and leave the unit honest, because a reader who\n * cannot see where a statement came from cannot check it.\n */\n RESTRICTED = \"RESTRICTED\",\n}\n\nexport enum TechnicalDocumentationChannel {\n PUBLIC_PORTAL = \"PUBLIC_PORTAL\",\n}\n\nexport enum TechnicalDocumentationAccessClass {\n PUBLIC = \"PUBLIC\",\n}\n\nexport enum TechnicalDocumentationEditorialStatus {\n APPROVED = \"APPROVED\",\n DRAFT = \"DRAFT\",\n REVIEW_REQUIRED = \"REVIEW_REQUIRED\",\n}\n\nexport enum TechnicalDocumentationLinkKind {\n API_REFERENCE = \"API_REFERENCE\",\n EXTERNAL = \"EXTERNAL\",\n SOURCE = \"SOURCE\",\n UNIT = \"UNIT\",\n}\n\nexport enum TechnicalDocumentationPublicationDecision {\n INCLUDE = \"INCLUDE\",\n REDACT = \"REDACT\",\n SUPPRESS = \"SUPPRESS\",\n}\n\n/**\n * Why the publication policy decided what it did about one unit. This is the decision RECORD an\n * operator reads, so two different decisions must never share a reason — see `RESTRICTED_SOURCE`\n * and `RESTRICTED_ASSET_REDACTED` below, which did until 2026-09-08 (#474).\n */\nexport enum TechnicalDocumentationPublicationReason {\n ACCESS_CLASS_MISMATCH = \"ACCESS_CLASS_MISMATCH\",\n APPLICABILITY_NOT_PROVEN = \"APPLICABILITY_NOT_PROVEN\",\n EDITORIAL_NOT_APPROVED = \"EDITORIAL_NOT_APPROVED\",\n INCLUDED_BY_POLICY = \"INCLUDED_BY_POLICY\",\n /**\n * The WHOLE unit was suppressed: its provenance names a non-`PUBLIC` source, so nothing about it\n * may be published.\n */\n RESTRICTED_SOURCE = \"RESTRICTED_SOURCE\",\n /**\n * The unit was PUBLISHED with one or more asset requests dropped, because their access class is\n * not `PUBLIC`. The reader gets the unit; they do not get those assets.\n *\n * Distinct from `RESTRICTED_SOURCE` deliberately. Both used to emit `RESTRICTED_SOURCE`, so a\n * decision record could not distinguish \"this unit was withheld\" from \"this unit shipped with\n * fewer pictures\" — opposite outcomes for a reader, and the first is the one an operator needs\n * to find.\n */\n RESTRICTED_ASSET_REDACTED = \"RESTRICTED_ASSET_REDACTED\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\n\nconst PortableMarkdownSchema = z\n .string()\n .trim()\n .min(1)\n .superRefine((markdown, context) => {\n if (/^\\s*(?:import|export)\\s/m.test(markdown) || /<\\/?[A-Z][A-Za-z0-9.]*(?:\\s|>|\\/)/.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain executable MDX imports, exports or components\" });\n }\n if (/<\\/?(?:script|iframe|object|embed|style)\\b|\\bon[a-z]+\\s*=|javascript:/i.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain active HTML or script URLs\" });\n }\n });\n\nconst TechnicalDocumentationExternalUrlSchema = z.url().regex(/^https?:\\/\\//, { message: \"external documentation links must use HTTP or HTTPS\" });\n\nexport const TechnicalDocumentationSectionV1Schema = z.strictObject({\n sectionRef: MetaWorkflow_NamespacedRefSchema,\n heading: z.string().trim().min(1),\n bodyMarkdown: PortableMarkdownSchema,\n});\nexport type TechnicalDocumentationSectionV1 = z.infer<typeof TechnicalDocumentationSectionV1Schema>;\n\nexport const TechnicalDocumentationLinkV1Schema = z\n .strictObject({\n linkRef: MetaWorkflow_NamespacedRefSchema,\n kind: z.enum(TechnicalDocumentationLinkKind),\n label: z.string().trim().min(1),\n targetUnitRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n targetRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n externalUrl: TechnicalDocumentationExternalUrlSchema.nullable(),\n apiReferenceTarget: TechnicalDocumentationApiReferenceTargetV1Schema.nullable(),\n })\n .superRefine((link, context) => {\n const populatedTargets = [link.targetUnitRef, link.targetRef, link.externalUrl, link.apiReferenceTarget].filter((value) => value !== null).length;\n if (populatedTargets !== 1) {\n context.addIssue({ code: \"custom\", message: \"a typed link must define exactly one matching target\", path: [\"kind\"] });\n return;\n }\n if (link.kind === TechnicalDocumentationLinkKind.UNIT && link.targetUnitRef === null) {\n context.addIssue({ code: \"custom\", message: \"UNIT links require targetUnitRef\", path: [\"targetUnitRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.SOURCE && link.targetRef === null) {\n context.addIssue({ code: \"custom\", message: \"SOURCE links require targetRef\", path: [\"targetRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.EXTERNAL && link.externalUrl === null) {\n context.addIssue({ code: \"custom\", message: \"EXTERNAL links require externalUrl\", path: [\"externalUrl\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.API_REFERENCE && link.apiReferenceTarget === null) {\n context.addIssue({ code: \"custom\", message: \"API_REFERENCE links require apiReferenceTarget\", path: [\"apiReferenceTarget\"] });\n }\n });\nexport type TechnicalDocumentationLinkV1 = z.infer<typeof TechnicalDocumentationLinkV1Schema>;\n\nexport const TechnicalDocumentationSourceProvenanceV1Schema = z.strictObject({\n sourceRef: MetaWorkflow_NamespacedRefSchema,\n ownership: z.enum(TechnicalDocumentationSourceOwnership),\n classification: z.enum(TechnicalDocumentationSourceClassification),\n /**\n * The version of the source this unit was derived from. Two units citing one `sourceRef` at\n * different versions disagree about their input and are refused at bundle assembly; two citing\n * the same version agree. That is the whole question the retired `sourceSemanticDigest` answered,\n * and this form survives a merge.\n */\n sourceVersion: MetaWorkflow_PositiveVersionSchema,\n sourceAnchorRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n});\nexport type TechnicalDocumentationSourceProvenanceV1 = z.infer<typeof TechnicalDocumentationSourceProvenanceV1Schema>;\n\nexport const TechnicalDocumentationApplicabilityRequirementV1Schema = z\n .strictObject({\n axis: z.enum(TechnicalDocumentationApplicabilityEvidenceAxis),\n subjectRef: MetaWorkflow_NamespacedRefSchema,\n acceptableStatuses: z.array(z.enum(TechnicalDocumentationApplicabilityEvidenceStatus)).min(1),\n })\n .superRefine((requirement, context) => {\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirement.acceptableStatuses)) {\n context.addIssue({ code: \"custom\", message: \"acceptableStatuses must be unique and sorted\", path: [\"acceptableStatuses\"] });\n }\n });\nexport type TechnicalDocumentationApplicabilityRequirementV1 = z.infer<typeof TechnicalDocumentationApplicabilityRequirementV1Schema>;\n\nexport const TechnicalDocumentationUnitV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n unitRef: MetaWorkflow_NamespacedRefSchema,\n unitVersion: MetaWorkflow_PositiveVersionSchema,\n kind: z.enum(TechnicalDocumentationUnitKind),\n readerAudiences: z.array(z.enum(TechnicalDocumentationReaderAudience)).min(1),\n title: z.string().trim().min(1),\n summary: z.string().trim().min(1),\n sections: z.array(TechnicalDocumentationSectionV1Schema).min(1),\n links: z.array(TechnicalDocumentationLinkV1Schema),\n provenance: z.array(TechnicalDocumentationSourceProvenanceV1Schema).min(1),\n applicabilityRequirements: z.array(TechnicalDocumentationApplicabilityRequirementV1Schema),\n accessClass: z.enum(TechnicalDocumentationAccessClass),\n editorialStatus: z.enum(TechnicalDocumentationEditorialStatus),\n assetRequests: z.array(TechnicalDocumentationAssetRequestV1Schema),\n })\n .superRefine((unit, context) => {\n const sectionRefs = unit.sections.map((section) => section.sectionRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(unit.readerAudiences)) {\n context.addIssue({ code: \"custom\", message: \"readerAudiences must be unique and sorted\", path: [\"readerAudiences\"] });\n }\n if (new Set(sectionRefs).size !== sectionRefs.length) {\n context.addIssue({ code: \"custom\", message: \"section refs must be unique while retaining authored order\", path: [\"sections\"] });\n }\n const linkRefs = unit.links.map((link) => link.linkRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(linkRefs)) {\n context.addIssue({ code: \"custom\", message: \"links must be unique and sorted by linkRef\", path: [\"links\"] });\n }\n const sourceRefs = unit.provenance.map((source) => source.sourceRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(sourceRefs)) {\n context.addIssue({ code: \"custom\", message: \"provenance must be unique and sorted by sourceRef\", path: [\"provenance\"] });\n }\n const requirementKeys = unit.applicabilityRequirements.map((requirement) => `${requirement.axis}\\0${requirement.subjectRef}`);\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirementKeys)) {\n context.addIssue({ code: \"custom\", message: \"applicability requirements must be unique and sorted\", path: [\"applicabilityRequirements\"] });\n }\n const assetRefs = unit.assetRequests.map((asset) => asset.assetRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(assetRefs)) {\n context.addIssue({ code: \"custom\", message: \"asset requests must be unique and sorted by assetRef\", path: [\"assetRequests\"] });\n }\n });\nexport type TechnicalDocumentationUnitV1 = z.infer<typeof TechnicalDocumentationUnitV1Schema>;\n\nexport function createTechnicalDocumentationUnitV1(input: TechnicalDocumentationUnitV1): TechnicalDocumentationUnitV1 {\n const canonicalInput: TechnicalDocumentationUnitV1 = {\n ...input,\n readerAudiences: [...new Set(input.readerAudiences)].sort(),\n links: canonicalizeTechnicalDocumentationRows(input.links, (link) => link.linkRef),\n provenance: canonicalizeTechnicalDocumentationRows(input.provenance, (source) => source.sourceRef),\n applicabilityRequirements: canonicalizeTechnicalDocumentationRows(\n input.applicabilityRequirements.map((requirement) => ({\n ...requirement,\n acceptableStatuses: [...new Set(requirement.acceptableStatuses)].sort(),\n })),\n (requirement) => `${requirement.axis}\\0${requirement.subjectRef}`,\n ),\n assetRequests: canonicalizeTechnicalDocumentationRows(input.assetRequests, (asset) => asset.assetRef),\n };\n return TechnicalDocumentationUnitV1Schema.parse(canonicalInput);\n}\n"]}