@wildo-ai/saas-specifications 1.1.9 → 1.1.11

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 (928) hide show
  1. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/index.js +1 -1
  6. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
  7. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
  8. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
  9. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  10. package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
  11. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  12. package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
  13. package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
  14. package/dist/esm/_core/brand/brand-name-choice.js +144 -24
  15. package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
  16. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
  17. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
  19. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
  20. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
  21. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
  22. package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
  23. package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
  24. package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
  25. package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
  26. package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
  27. package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
  28. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
  29. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
  30. package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
  31. package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
  32. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
  33. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
  35. package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
  36. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -0
  37. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  38. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +7 -2
  39. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  40. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +21 -3
  41. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  42. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
  43. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  44. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
  45. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  46. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
  47. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  48. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
  49. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
  51. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  52. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
  53. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  54. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
  55. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  56. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
  57. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
  59. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
  61. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  62. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
  63. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  64. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
  65. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  66. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
  67. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
  68. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
  69. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
  70. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
  71. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  72. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
  73. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  74. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
  75. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
  76. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
  77. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
  78. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
  79. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
  81. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  82. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
  83. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
  84. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
  85. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
  86. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
  87. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
  88. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
  89. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
  90. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
  91. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  92. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
  93. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  94. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
  95. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
  96. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
  97. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
  98. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  99. package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
  100. package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
  101. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
  102. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
  104. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
  105. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
  106. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  107. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
  108. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
  109. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
  110. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
  112. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  113. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
  114. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  115. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
  116. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  117. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
  118. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
  120. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
  121. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
  122. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
  123. package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
  124. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
  125. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
  126. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
  127. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
  128. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
  129. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
  131. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  132. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
  133. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
  135. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  136. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  137. package/dist/esm/_core/family-aspects.registry.js +2 -0
  138. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  139. package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
  140. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/family-aspects.schemas.js +20 -0
  142. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  143. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
  144. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
  145. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  146. package/dist/esm/_core/index.d.ts +6 -0
  147. package/dist/esm/_core/index.d.ts.map +1 -1
  148. package/dist/esm/_core/index.js +6 -0
  149. package/dist/esm/_core/index.js.map +1 -1
  150. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
  151. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  152. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  153. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
  154. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  155. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
  156. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
  158. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  159. package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
  160. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  161. package/dist/esm/_core/market/market-references.schemas.js +13 -1
  162. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  163. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
  164. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  165. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
  166. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  167. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  168. package/dist/esm/_core/market/market.family-aspects.js +4 -1
  169. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  170. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
  171. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  172. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
  173. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  174. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -1
  175. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  176. package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
  177. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  178. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  179. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
  180. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  181. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
  182. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  183. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
  184. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  185. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
  186. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
  188. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  189. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
  190. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  191. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
  192. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
  193. package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
  194. package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
  195. package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
  196. package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
  197. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
  198. package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
  199. package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
  200. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
  201. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  202. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
  203. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  204. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
  205. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  206. package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
  207. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  208. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
  209. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  210. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
  211. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
  212. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  213. package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
  214. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  215. package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
  216. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/resource-specification.schemas.js +73 -13
  218. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  219. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
  220. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  221. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
  222. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
  223. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
  224. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  225. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
  226. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  227. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
  228. package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
  229. package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
  230. package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
  231. package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
  232. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
  233. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
  234. package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
  235. package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
  236. package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
  237. package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
  238. package/dist/esm/_core/service-method/service-method-validation.js +75 -0
  239. package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
  240. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
  241. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
  242. package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
  243. package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
  244. package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
  245. package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
  246. package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
  247. package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
  248. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
  249. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
  250. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
  251. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
  252. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
  253. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
  254. package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
  255. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
  256. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
  257. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
  258. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
  259. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
  260. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  261. package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
  262. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  263. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
  264. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
  265. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
  266. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
  267. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
  268. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  269. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
  270. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  271. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
  272. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  273. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
  274. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  275. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
  276. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
  277. package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
  278. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
  279. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
  280. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  281. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
  282. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
  283. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
  284. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  285. package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
  286. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  287. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
  288. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  289. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
  290. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  291. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
  292. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  293. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
  294. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  295. package/dist/esm/application-creation.exports.d.ts +7 -0
  296. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  297. package/dist/esm/application-creation.exports.js +7 -0
  298. package/dist/esm/application-creation.exports.js.map +1 -1
  299. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
  300. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
  301. package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
  302. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
  303. package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
  304. package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
  305. package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
  306. package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
  307. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
  308. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  309. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
  310. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  311. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
  312. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  313. package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
  314. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  315. package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
  316. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  317. package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
  318. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  319. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
  320. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  321. package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
  322. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  323. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
  324. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
  325. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
  326. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
  327. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  328. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
  329. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  330. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
  331. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
  332. package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
  333. package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
  334. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
  335. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  336. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
  337. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  338. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
  339. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
  340. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
  341. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
  342. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
  343. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
  344. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
  345. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
  346. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
  347. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  348. package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
  349. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  350. package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
  351. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  352. package/dist/esm/assurance/assurance-program.schemas.js +255 -14
  353. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  354. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
  355. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  356. package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
  357. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  358. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
  359. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
  360. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
  361. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
  362. package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
  363. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  364. package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
  365. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  366. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  367. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
  368. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  369. package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
  370. package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
  371. package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
  372. package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
  373. package/dist/esm/assurance/governed-document-release.d.ts +15 -1
  374. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  375. package/dist/esm/assurance/governed-document-release.js +3 -1
  376. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  377. package/dist/esm/assurance.exports.d.ts +4 -0
  378. package/dist/esm/assurance.exports.d.ts.map +1 -1
  379. package/dist/esm/assurance.exports.js +4 -0
  380. package/dist/esm/assurance.exports.js.map +1 -1
  381. package/dist/esm/companion-exports.d.ts +9 -1
  382. package/dist/esm/companion-exports.d.ts.map +1 -1
  383. package/dist/esm/companion-exports.js.map +1 -1
  384. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
  385. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +33 -5
  387. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
  390. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  391. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +1 -1
  392. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  393. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +60 -6
  394. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  395. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
  396. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  397. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  398. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  399. package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
  400. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  401. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
  402. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  403. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
  404. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  405. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
  406. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
  408. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  409. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -1
  410. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  411. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +40 -11
  412. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  413. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -1
  414. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  415. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +44 -3
  416. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  417. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +7 -3
  418. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  419. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
  420. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  421. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
  422. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  423. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +72 -19
  424. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  425. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +2 -2
  426. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  427. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +6 -6
  428. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  429. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  430. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  431. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +14 -13
  432. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  433. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  434. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
  435. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  436. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
  437. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
  438. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  439. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +68 -12
  440. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  441. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  442. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
  443. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  444. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
  445. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
  447. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  448. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
  449. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  450. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
  451. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  452. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
  453. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  454. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
  455. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  456. package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
  457. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  458. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  459. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  460. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
  461. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  462. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
  463. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  464. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
  465. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
  466. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  467. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
  468. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
  470. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  471. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
  472. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  473. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
  474. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  475. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
  476. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
  477. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
  478. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
  479. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
  480. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  481. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +19 -13
  482. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  483. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
  484. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
  486. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
  487. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
  488. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
  489. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
  490. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
  491. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
  492. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
  493. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  494. package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
  495. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  496. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  497. package/dist/esm/engine/errors/error-messages.specification.js +300 -5
  498. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  499. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
  500. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  501. package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
  502. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  503. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  504. package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
  505. package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
  506. package/dist/esm/engine/features/index.d.ts +4 -2
  507. package/dist/esm/engine/features/index.d.ts.map +1 -1
  508. package/dist/esm/engine/features/index.js +6 -4
  509. package/dist/esm/engine/features/index.js.map +1 -1
  510. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
  511. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  512. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  513. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
  514. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  515. package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
  516. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  517. package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
  518. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  519. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  520. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
  521. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  522. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
  523. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  524. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
  525. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
  526. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
  527. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
  528. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
  529. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
  530. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
  531. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
  532. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
  533. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
  534. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
  535. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
  536. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
  537. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
  538. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
  539. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
  540. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
  541. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
  542. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
  543. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
  544. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
  545. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
  546. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
  547. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
  548. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
  549. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
  550. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
  551. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
  552. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  553. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +118 -18
  554. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  555. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -0
  556. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -4
  558. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  559. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
  560. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
  561. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
  562. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
  563. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
  564. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
  565. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
  566. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
  567. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
  568. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
  569. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
  570. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
  571. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
  572. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
  573. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
  574. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
  575. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
  576. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
  577. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
  578. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
  579. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
  580. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
  581. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
  582. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
  583. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
  584. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
  585. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
  586. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
  587. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
  588. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
  589. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  590. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
  591. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  592. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
  594. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
  595. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
  596. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
  597. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
  598. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
  599. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  600. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
  601. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
  602. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
  603. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  604. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
  606. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
  607. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
  609. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
  610. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
  611. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
  612. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
  613. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
  614. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
  615. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
  616. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
  617. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
  618. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
  619. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
  620. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
  622. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  623. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
  624. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  625. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
  626. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
  627. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
  628. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
  629. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
  630. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
  631. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
  632. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
  633. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
  634. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
  635. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
  636. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
  637. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
  638. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
  639. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
  641. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  642. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
  644. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  645. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
  646. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
  647. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
  648. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
  649. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
  650. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  651. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
  652. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
  653. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
  654. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  655. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
  657. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
  658. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
  659. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
  660. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  661. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  662. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
  663. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  664. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
  665. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
  666. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
  667. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
  668. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
  669. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
  670. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
  671. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
  672. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
  673. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
  674. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
  675. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
  676. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
  677. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
  678. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
  679. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
  680. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
  681. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
  682. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
  683. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
  684. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
  685. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
  686. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
  687. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
  688. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
  689. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
  690. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
  691. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
  692. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
  693. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
  694. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
  695. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  696. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  697. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
  698. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
  699. package/dist/esm/engine/frontend-components/index.d.ts +7 -0
  700. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  701. package/dist/esm/engine/frontend-components/index.js +29 -0
  702. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  703. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
  704. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
  705. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  706. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
  707. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
  708. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
  709. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
  710. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
  711. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
  712. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
  713. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
  714. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
  715. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
  716. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
  717. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
  718. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  719. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
  720. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  721. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
  722. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
  723. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
  724. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
  725. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  726. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
  727. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
  729. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
  730. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
  731. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
  732. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
  734. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
  735. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
  736. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
  737. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
  738. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
  739. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
  740. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
  741. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
  742. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  743. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
  744. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
  745. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
  746. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
  747. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
  748. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
  749. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
  750. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
  752. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  753. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
  754. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
  755. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
  756. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
  757. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  758. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
  759. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  760. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  761. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
  762. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
  763. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
  764. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
  765. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
  766. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
  767. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
  768. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  769. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
  770. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
  771. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
  772. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
  773. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
  774. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
  775. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
  776. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
  777. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
  778. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
  779. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
  780. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
  781. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
  783. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
  784. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
  785. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
  786. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
  787. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
  788. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
  789. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  790. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -4
  791. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  792. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +2 -2
  793. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
  794. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  795. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +3 -3
  796. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  797. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
  798. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
  799. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
  800. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
  801. package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
  802. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  803. package/dist/esm/engine/notifications/system-emails/index.js +1 -3
  804. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  805. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
  806. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  807. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
  808. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
  809. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
  810. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  811. package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
  812. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  813. package/dist/esm/engine/organizations/resources/index.js +1 -2
  814. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  815. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
  816. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  817. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +114 -51
  818. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  819. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
  820. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
  822. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  823. package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
  824. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
  825. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
  826. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
  827. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +1 -1
  828. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +6 -4
  830. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  831. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -2
  832. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  833. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +4 -4
  834. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
  836. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  837. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
  838. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
  839. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
  840. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
  841. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/providers/github.provider.specification.js +8 -5
  843. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  844. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
  845. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
  846. package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
  847. package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
  848. package/dist/esm/engine/providers/index.d.ts +2 -0
  849. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  850. package/dist/esm/engine/providers/index.js +5 -1
  851. package/dist/esm/engine/providers/index.js.map +1 -1
  852. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
  853. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
  854. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
  855. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
  856. package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
  857. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  858. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
  860. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  861. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
  862. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
  863. package/dist/esm/engine/roles/index.d.ts +2 -2
  864. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  865. package/dist/esm/engine/roles/index.js +5 -5
  866. package/dist/esm/engine/roles/index.js.map +1 -1
  867. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
  868. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
  869. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
  870. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
  871. package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
  872. package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
  873. package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
  874. package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
  875. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
  876. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  877. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
  878. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  879. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
  880. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
  881. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  882. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
  883. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  884. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  885. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  886. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
  887. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  888. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
  889. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  890. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
  891. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  892. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
  893. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  894. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +3 -3
  895. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  896. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
  897. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  898. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
  899. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  900. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +6 -2
  901. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  902. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  903. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  904. package/dist/esm/engine/users/resources/user-self.resource.specification.js +33 -0
  905. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  906. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
  907. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  908. package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
  909. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  910. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  911. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
  912. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  913. package/package.json +8 -8
  914. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
  915. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
  916. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
  917. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
  918. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
  919. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
  920. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
  921. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
  922. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
  923. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
  924. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
  925. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
  926. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
  927. package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
  928. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
@@ -8,7 +8,8 @@
8
8
  * - Custom operations: `LegalHolds_Operations` (place, release), in the schemas module.
9
9
  *
10
10
  * The organization-settings surface is `legal-holds.resource-presets.tsx` (Settings Hub destination
11
- * `organization-legal-holds`). This spec documents the backend contract only, like the service-provider
11
+ * `organization-legal-holds`). The operator's surface is the same file's `admin` entry, placed on the tenant
12
+ * directory's page for one organization (#2315). This spec documents the backend contract only, like the organization
12
13
  * relationships spec beside a preset of the same shape: the preset has no layout sections, label strategy
13
14
  * beyond the matter, or guidance that an overlay would have to document.
14
15
  *
@@ -23,16 +24,20 @@ export declare const legalHoldsResourceSpecification: import("../../../_core").R
23
24
  scopeKind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof LegalHoldScopeKind>>>>>>;
24
25
  resourceType: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
25
26
  rowIds: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>>>;
26
- subjectUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>;
27
+ subjectUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>>;
27
28
  legalGround: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof LegalHoldGround>>>>>;
28
- justification: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
29
+ justification: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
29
30
  placementTier: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof LegalHoldPlacementTier>>>>>>;
30
31
  status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof LegalHoldStatus>>>>>>>>;
31
- placedByUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
32
+ placedByUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>>>;
32
33
  placedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>>;
33
- releasedByUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>;
34
+ releasedByUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>>>;
35
+ subjectName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
36
+ placedByName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
37
+ releasedByName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
34
38
  releasedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>>>;
35
- releaseReason: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>;
39
+ releaseReason: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>;
40
+ tenantMarkedForDeletion: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodBoolean>>;
36
41
  createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
37
42
  updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
38
43
  }, import("zod/v4/core").$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"legal-holds.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/compliance/resources/legal-holds.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAQH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,eAAe,EACf,sBAAsB,EAEtB,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EAGtB,MAAM,uBAAuB,CAAC;AAgD/B,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;iCA+Q3C,CAAC"}
1
+ {"version":3,"file":"legal-holds.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/compliance/resources/legal-holds.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAQH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,eAAe,EACf,sBAAsB,EAEtB,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EAGtB,MAAM,uBAAuB,CAAC;AAgD/B,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;iCAyR3C,CAAC"}
@@ -8,7 +8,8 @@
8
8
  * - Custom operations: `LegalHolds_Operations` (place, release), in the schemas module.
9
9
  *
10
10
  * The organization-settings surface is `legal-holds.resource-presets.tsx` (Settings Hub destination
11
- * `organization-legal-holds`). This spec documents the backend contract only, like the service-provider
11
+ * `organization-legal-holds`). The operator's surface is the same file's `admin` entry, placed on the tenant
12
+ * directory's page for one organization (#2315). This spec documents the backend contract only, like the organization
12
13
  * relationships spec beside a preset of the same shape: the preset has no layout sections, label strategy
13
14
  * beyond the matter, or guidance that an overlay would have to document.
14
15
  *
@@ -145,6 +146,9 @@ export const legalHoldsResourceSpecification = resourceSpecification(legalHoldsR
145
146
  elementMeaning: 'The id of one held row of that resource.',
146
147
  whyItMatters: 'An explicit list rather than a query, so which rows were held is answerable from the hold alone, without re-running a filter against data that has since changed.',
147
148
  }),
149
+ subjectName: schemaShape.subjectName.stringSpec({ meaning: 'The person whose rows are held, by name: `subjectUserId`\'s label fallback. Resolved at read time from the person\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),
150
+ placedByName: schemaShape.placedByName.stringSpec({ meaning: 'The person who placed the hold, by name: `placedByUserId`\'s label fallback. Resolved at read time from the person\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'A tenant administrator usually may not read the platform operator who placed a hold. Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),
151
+ releasedByName: schemaShape.releasedByName.stringSpec({ meaning: 'The person who released the hold, by name: `releasedByUserId`\'s label fallback. Resolved at read time from the person\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),
148
152
  subjectUserId: schemaShape.subjectUserId.foreignKeySpec({
149
153
  meaning: 'For a data-subject hold, the person whose data is held.',
150
154
  whyItMatters: 'Must name an existing user. Their erasure leaves held rows as they are and reports the ground.',
@@ -220,6 +224,10 @@ export const legalHoldsResourceSpecification = resourceSpecification(legalHoldsR
220
224
  meaning: 'Why the preservation duty ended.',
221
225
  whyItMatters: 'The other half of the record: a release with no stated reason cannot be reviewed.',
222
226
  }),
227
+ tenantMarkedForDeletion: schemaShape.tenantMarkedForDeletion.booleanSpec({
228
+ meaning: 'Whether the hold\'s organization is marked for deletion, read from the organization at read time and never stored. Absent when the organization could not be read.',
229
+ whyItMatters: 'It decides whether an operator is offered Release on an organization\'s own hold: the platform tier may release one only once the organization is marked for deletion. The server checks the organization itself, so an absent value leaves the action offered and the server decides.',
230
+ }),
223
231
  createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the hold row was written.', whyItMatters: 'Ordering key for the organization\'s hold history.', temporalRole: 'creation' }),
224
232
  updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the hold row last changed — its release.', whyItMatters: 'A hold changes once at most.', temporalRole: 'modified' }),
225
233
  },
@@ -229,7 +237,10 @@ export const legalHoldsResourceSpecification = resourceSpecification(legalHoldsR
229
237
  outcome: 'The hold, with its scope, ground, tier and status.',
230
238
  whenToUse: 'An owner reviewing why data is not being deleted, or an operator (through the admin variant and a usable grant) reviewing a hold it placed.',
231
239
  responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The hold was found and returned.' }],
232
- errorScenarios: [READ_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No hold with that id is visible in the organization.' }],
240
+ errorScenarios: [
241
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither the organization\'s owner nor an application super-administrator.' },
242
+ { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No hold with that id is visible in the organization. On the `admin` variant, also when the caller holds no usable platform access grant for the tenant: a crossed read is refused exactly like a missing row, so nobody can probe which ids exist.' },
243
+ ],
233
244
  idempotent: true,
234
245
  examples: [{ title: 'Inspect an active data-subject hold', request: { organizationId: EXAMPLE_ORGANIZATION_ID, legalHoldId: EXAMPLE_HOLD_ID }, response: activeHoldExample, forStatus: HttpResponseStatusCode.OK_200 }],
235
246
  variants: {
@@ -261,7 +272,7 @@ export const legalHoldsResourceSpecification = resourceSpecification(legalHoldsR
261
272
  purpose: 'SWEEP ONLY — dispose of a released hold once its AUDIT_LOGS period has passed. No client door.',
262
273
  outcome: 'The released hold is deleted by the retention-class sweep. INTERNAL_CALL, so it has no HTTP route.',
263
274
  whenToUse: 'Never directly.',
264
- responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The released hold was removed by the sweep. Not observable over HTTP.' }],
275
+ responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The released hold was removed by the sweep. Not observable over HTTP.' }],
265
276
  idempotent: true,
266
277
  },
267
278
  [LegalHolds_Operations.PLACE]: {
@@ -1 +1 @@
1
- {"version":3,"file":"legal-holds.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/compliance/resources/legal-holds.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,kBA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AAmB;oBAC7B,SAAS,EAAE,sBAAsB,CAAC,MAAM;iBACzC,CAAC;YACF,QAAQ,EAAE;gBACR,OAAO,EAAE,EAAE,OAAO,EAAE,oEAAoE,EAAE,SAAS,EAAE,iDAAiD,EAAE;gBACxJ,KAAK,EAAE,EAAE,OAAO,EAAE,uJAAuJ,EAAE,SAAS,EAAE,8IAA8I,EAAE;aACvU;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,+JAA+J;QAC/J,kbAAkb;QAClb,iKAAiK;QACjK,iEAAiE;QACjE,0IAA0I;QAC1I,2JAA2J;QAC3J,oIAAoI;QACpI,gGAAgG;KACjG;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resource: `legalHolds` — Wildo SaaS engine specification (backend-only, organization-scoped). #1634.\n *\n * Inputs:\n * - Schema: engine/saas-models/src/compliance/privacy/legal-holds.shared.schemas.ts → `LegalHoldSchema`\n * - Factory: engine/saas-models/src/compliance/privacy/legal-holds.shared.resources-config.schemas.ts\n * → `legalHoldsResourceConfiguration_InitializationFactory`\n * - Custom operations: `LegalHolds_Operations` (place, release), in the schemas module.\n *\n * The organization-settings surface is `legal-holds.resource-presets.tsx` (Settings Hub destination\n * `organization-legal-holds`). This spec documents the backend contract only, like the service-provider\n * relationships spec beside a preset of the same shape: the preset has no layout sections, label strategy\n * beyond the matter, or guidance that an overlay would have to document.\n *\n * Why `ORGANIZATIONS` scope: a hold is stored in the tenant it holds, so the tenant sees every hold on its\n * data whichever tier placed it. Expressed once, by the registry relationship ORGANIZATIONS → LEGAL_HOLDS\n * carrying `isPrimaryScope: true`.\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n LegalHoldGround,\n LegalHoldPlacementTier,\n LegalHoldSchema,\n LegalHoldScopeKind,\n LegalHoldStatus,\n LegalHolds_Operations,\n ResourcePrimaryScope,\n legalHoldsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst EXAMPLE_ORGANIZATION_ID = 'org_01J4P8F1M2N3Q4R5S6T7V8W9XY';\nconst EXAMPLE_HOLD_ID = 'legal_hold_01J4Q1A2B3C4D5E6F7G8H9J0KA';\nconst EXAMPLE_OWNER_ID = 'user_01J4Q1B2C3D4E5F6G7H8J9K0LB';\nconst EXAMPLE_MEMBER_ID = 'user_01J4Q1C3D4E5F6G7H8J9K0L1MC';\n\nconst activeHoldExample = {\n _id: EXAMPLE_HOLD_ID,\n organizationId: EXAMPLE_ORGANIZATION_ID,\n scopeKind: LegalHoldScopeKind.DATA_SUBJECT,\n subjectUserId: EXAMPLE_MEMBER_ID,\n legalGround: LegalHoldGround.LEGAL_CLAIMS,\n justification: 'Employment dispute, matter 2026-17: preserve the member\\'s records until the claim is settled.',\n placementTier: LegalHoldPlacementTier.ORGANIZATION,\n status: LegalHoldStatus.ACTIVE,\n placedByUserId: EXAMPLE_OWNER_ID,\n placedAt: '2026-09-27T09:00:00.000Z',\n createdAt: '2026-09-27T09:00:00.000Z',\n updatedAt: '2026-09-27T09:00:00.000Z',\n};\n\nconst releasedHoldExample = {\n ...activeHoldExample,\n status: LegalHoldStatus.RELEASED,\n releasedByUserId: EXAMPLE_OWNER_ID,\n releasedAt: '2026-12-01T10:00:00.000Z',\n releaseReason: 'Claim settled; counsel confirmed the preservation duty has ended.',\n updatedAt: '2026-12-01T10:00:00.000Z',\n};\n\nconst holdSummaryExample = {\n _id: activeHoldExample._id,\n organizationId: activeHoldExample.organizationId,\n scopeKind: activeHoldExample.scopeKind,\n legalGround: activeHoldExample.legalGround,\n placementTier: activeHoldExample.placementTier,\n status: activeHoldExample.status,\n placedAt: activeHoldExample.placedAt,\n};\n\nconst PAGE_REQUEST = { organizationId: EXAMPLE_ORGANIZATION_ID, page: 1, limit: 20, sort: 'createdAt:desc' };\nconst page = <T>(data: readonly T[]) => ({ data, pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 } });\n\nconst READ_FORBIDDEN = { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither the organization\\'s owner nor an application super-administrator holding a usable platform access grant for this organization.' };\n\nexport const legalHoldsResourceSpecification = resourceSpecification(\n legalHoldsResourceConfiguration_InitializationFactory,\n LegalHoldSchema,\n ({ schemaShape }) => ({\n purpose: 'Let an organization, or the application operator, suspend the deletion of a defined scope of the organization\\'s data while litigation, an investigation or a legal obligation requires it, and keep proof that it did.',\n businessRole: 'The organization\\'s record of preservation duties. Every deletion path reads its active holds before destroying anything: the retention-class sweep skips held rows, a subject erasure leaves them as they are and reports the ground, the tenant purge does not run, file bytes are kept and a delete is refused with 409 `legal_hold_active`.',\n lifecycleRole: 'Placed ACTIVE by the organization\\'s owner or by an application super-administrator, and released by the same tier when the duty ends (or, once the organization is marked for deletion and its owners hold no authority, by the platform tier). A hold never expires on its own. A released hold is kept, unchanged, as evidence for the AUDIT_LOGS retention period counted from its release, then deleted by the retention-class sweep; it is never reactivated — a new duty is a new hold.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.COMPLIANCE,\n\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'legalHoldsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'LEGAL_HOLDS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHolds_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'No public CREATE, UPDATE or DELETE. `place` is the only writer of a hold and `release` the only transition. The server authors `placementTier`, `status`, `placedByUserId`, `placedAt`, `releasedByUserId` and `releasedAt`; a caller never can.',\n 'DELETE is INTERNAL_CALL only, for the retention-class sweep to dispose of a RELEASED hold at the end of its AUDIT_LOGS period. An ACTIVE hold has no release instant, so it never reaches that point.',\n 'Placing and releasing emit `LEGAL_HOLD_PLACED` / `LEGAL_HOLD_RELEASED` (HIGH) on the held organization\\'s audit trail. Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).',\n 'The hold predicate lives in the backend (`resolveLegalHeldRows`); this resource only stores the decisions it reads. Not retention-governed on purpose: a scrubbed-and-hidden hold would be invisible to that predicate.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Identifier of one preservation decision.',\n whyItMatters: 'Named by every refusal and erasure report the hold causes, and by its placement and release audit events.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The organization whose data is held.',\n whyItMatters: 'The scope anchor: the organization sees every hold on its data, and no hold reaches another organization\\'s rows.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n scopeKind: schemaShape.scopeKind.enumSpec({\n meaning: 'What the hold covers.',\n whyItMatters: 'Decides which rows every deletion path treats as held.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldScopeKind',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [LegalHoldScopeKind.ORGANIZATION]: { meaning: 'Every row the organization owns, and the organization itself — it is not purged while the hold is active.' },\n [LegalHoldScopeKind.RESOURCE_ROWS]: { meaning: 'The listed rows of one resource type in the organization, or every row of that type when no rows are listed.' },\n [LegalHoldScopeKind.DATA_SUBJECT]: { meaning: 'Every row the subject-export graph attributes to one person — the same rows an access request about them would disclose. A row that cannot be attributed from its own fields is held too.' },\n },\n }),\n resourceType: schemaShape.resourceType.stringSpec({\n meaning: 'For a resource-rows hold, the resource type it holds.',\n whyItMatters: 'Refused when it names no registered resource, and a hold cannot hold holds.',\n }),\n rowIds: schemaShape.rowIds.arraySpec({\n meaning: 'For a resource-rows hold, the held rows (at most 1000).',\n elementMeaning: 'The id of one held row of that resource.',\n whyItMatters: 'An explicit list rather than a query, so which rows were held is answerable from the hold alone, without re-running a filter against data that has since changed.',\n }),\n subjectUserId: schemaShape.subjectUserId.foreignKeySpec({\n meaning: 'For a data-subject hold, the person whose data is held.',\n whyItMatters: 'Must name an existing user. Their erasure leaves held rows as they are and reports the ground.',\n }),\n legalGround: schemaShape.legalGround.enumSpec({\n meaning: 'Why the data must be preserved.',\n whyItMatters: 'Travels into every refusal and erasure report: it is what a data subject is told when their erasure is not completed.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldGround',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [LegalHoldGround.LEGAL_CLAIMS]: { meaning: 'Litigation, a dispute or a reasonably anticipated claim (GDPR Art. 17(3)(e)).' },\n [LegalHoldGround.REGULATORY_INVESTIGATION]: { meaning: 'A regulator\\'s or an authority\\'s investigation that requires preservation.' },\n [LegalHoldGround.LEGAL_OBLIGATION]: { meaning: 'Another legal obligation to keep the data (GDPR Art. 17(3)(b)) — not a statutory retention period, which is a retention class.' },\n },\n }),\n justification: schemaShape.justification.stringSpec({\n meaning: 'The matter or case the hold preserves data for, in the placer\\'s words.',\n whyItMatters: 'Required. Kept with the hold as defence evidence and never scrubbed; never carried into refusals, audit events or SIEM exports, where free text could name a third party.',\n }),\n placementTier: schemaShape.placementTier.enumSpec({\n meaning: 'Which tier placed the hold, and therefore which tier may release it.',\n whyItMatters: 'The organization must not lift a duty the operator placed on it, and the operator must not lift a live organization\\'s own litigation hold. The one exception: once the organization is marked for deletion its owners hold no authority, so the platform tier may release the organization\\'s own holds, or the tenant could never be purged.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldPlacementTier',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [LegalHoldPlacementTier.ORGANIZATION]: { meaning: 'Placed by the organization\\'s owner for its own data.' },\n [LegalHoldPlacementTier.PLATFORM]: { meaning: 'Placed by an application super-administrator through the declared cross-tenant door, with a usable platform access grant.' },\n },\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Whether the hold is in force.',\n whyItMatters: 'Only ACTIVE holds suspend deletion. There is no expiry state: litigation ends by decision, not by clock.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [LegalHoldStatus.ACTIVE]: { meaning: 'In force: every deletion path skips or refuses the held scope.' },\n [LegalHoldStatus.RELEASED]: { meaning: 'Ended by the tier that placed it. Kept as evidence and never reactivated.' },\n },\n }),\n placedByUserId: schemaShape.placedByUserId.foreignKeySpec({\n meaning: 'The person who placed the hold, from the authenticated session.',\n whyItMatters: 'Answers who suspended the organization\\'s deletion schedule.',\n }),\n placedAt: schemaShape.placedAt.dateSpec({\n meaning: 'When the hold was placed.',\n whyItMatters: 'The start of the suspension window.',\n temporalRole: 'occurred',\n }),\n releasedByUserId: schemaShape.releasedByUserId.foreignKeySpec({\n meaning: 'The person who released the hold.',\n whyItMatters: 'Answers who let deletion resume.',\n }),\n releasedAt: schemaShape.releasedAt.dateSpec({\n meaning: 'When the hold was released.',\n whyItMatters: 'The end of the suspension window, and the start of the AUDIT_LOGS retention period of the hold itself. Absent while active, so an active hold never expires.',\n temporalRole: 'occurred',\n }),\n releaseReason: schemaShape.releaseReason.stringSpec({\n meaning: 'Why the preservation duty ended.',\n whyItMatters: 'The other half of the record: a release with no stated reason cannot be reviewed.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the hold row was written.', whyItMatters: 'Ordering key for the organization\\'s hold history.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the hold row last changed — its release.', whyItMatters: 'A hold changes once at most.', temporalRole: 'modified' }),\n },\n\n operations: {\n [Op.READ]: {\n purpose: 'Inspect one legal hold on your organization.',\n outcome: 'The hold, with its scope, ground, tier and status.',\n whenToUse: 'An owner reviewing why data is not being deleted, or an operator (through the admin variant and a usable grant) reviewing a hold it placed.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The hold was found and returned.' }],\n errorScenarios: [READ_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No hold with that id is visible in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Inspect an active data-subject hold', request: { organizationId: EXAMPLE_ORGANIZATION_ID, legalHoldId: EXAMPLE_HOLD_ID }, response: activeHoldExample, forStatus: HttpResponseStatusCode.OK_200 }],\n variants: {\n summary: { examples: [{ title: 'Inspect the compact hold summary', request: { organizationId: EXAMPLE_ORGANIZATION_ID, legalHoldId: EXAMPLE_HOLD_ID }, response: holdSummaryExample, forStatus: HttpResponseStatusCode.OK_200 }] },\n },\n },\n [Op.LIST]: {\n purpose: 'List the legal holds on your organization, active and released.',\n outcome: 'A page of the organization\\'s holds.',\n whenToUse: 'A compliance review, or answering why a retention period is not being enforced.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of holds.' }],\n errorScenarios: [READ_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'List the organization\\'s holds', request: PAGE_REQUEST, response: page([activeHoldExample, releasedHoldExample]), forStatus: HttpResponseStatusCode.OK_200 }],\n variants: {\n summary: { examples: [{ title: 'List compact hold summaries', request: PAGE_REQUEST, response: page([holdSummaryExample]), forStatus: HttpResponseStatusCode.OK_200 }] },\n },\n },\n [Op.COUNT]: {\n purpose: 'Count the legal holds on your organization.',\n outcome: 'The matching total, without the hold records.',\n whenToUse: 'A settings badge or a review that needs the number of active holds.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The number of matching holds.' }],\n errorScenarios: [READ_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'Count active holds', request: { organizationId: EXAMPLE_ORGANIZATION_ID, status: LegalHoldStatus.ACTIVE }, response: { count: 1 }, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.DELETE]: {\n purpose: 'SWEEP ONLY — dispose of a released hold once its AUDIT_LOGS period has passed. No client door.',\n outcome: 'The released hold is deleted by the retention-class sweep. INTERNAL_CALL, so it has no HTTP route.',\n whenToUse: 'Never directly.',\n responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The released hold was removed by the sweep. Not observable over HTTP.' }],\n idempotent: true,\n },\n [LegalHolds_Operations.PLACE]: {\n operationId: LegalHolds_Operations.PLACE,\n purpose: 'Place a legal hold that suspends every deletion of a scope of the organization\\'s data until it is released.',\n outcome: 'An ACTIVE hold is recorded with the caller as placer and the tier of the variant used. From that instant the retention sweep skips the held rows, erasures leave them as they are, the organization is not purged and deletes are refused. `LEGAL_HOLD_PLACED` is written to the organization\\'s audit trail.',\n whenToUse: 'Litigation, a claim, an investigation or a legal obligation requires data to be preserved. Requires recent re-authentication (step-up).',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The hold is in force.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The scope is incoherent (an organization hold with a resource type, a resource-rows hold without one, a data-subject hold without a subject); the resource type is unknown or does not belong to an organization (which includes every resource whose rows expire by the database\\'s own row TTL); or the subject is not a member of the organization (the platform tier: names no user). \"Not a member\" and \"no such user\" read the same.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\\'s owner, or an application super-administrator without a usable platform access grant for this organization, or has not re-authenticated recently.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Hold one member\\'s data for a claim',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, scopeKind: LegalHoldScopeKind.DATA_SUBJECT, subjectUserId: EXAMPLE_MEMBER_ID, legalGround: LegalHoldGround.LEGAL_CLAIMS, justification: activeHoldExample.justification },\n response: activeHoldExample,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n variants: {\n default: { purpose: 'The organization\\'s owner holds the organization\\'s own data.', whenToUse: 'The organization is party to a claim or dispute.' },\n admin: { purpose: 'An application super-administrator holds a tenant\\'s data, through the declared cross-tenant door.', whenToUse: 'A regulator or court requires the operator to preserve a tenant\\'s data. Needs a usable platform access grant for the tenant.' },\n },\n },\n [LegalHolds_Operations.RELEASE]: {\n operationId: LegalHolds_Operations.RELEASE,\n purpose: 'Release an active legal hold so deletion of its scope can resume.',\n outcome: 'The hold becomes RELEASED with the caller and reason recorded. The next sweep, purge or erasure proceeds; rows whose period already passed are deleted by the next sweep run. `LEGAL_HOLD_RELEASED` is written to the organization\\'s audit trail.',\n whenToUse: 'The preservation duty has ended. Only the tier that placed the hold may release it, except that the platform tier may release an organization\\'s own hold once the organization is marked for deletion. Requires step-up.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The hold is released.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'No release reason was given.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller holds neither tier\\'s role, or has not re-authenticated recently.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The hold is already released, or was placed by the other tier (for the platform tier: by a live organization).' },\n ],\n idempotent: false,\n examples: [{\n title: 'Release a hold after settlement',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, legalHoldId: EXAMPLE_HOLD_ID, releaseReason: releasedHoldExample.releaseReason },\n response: releasedHoldExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n default: { purpose: 'The organization\\'s owner releases a hold the organization placed.', whenToUse: 'The organization\\'s claim or dispute has ended.' },\n admin: { purpose: 'An application super-administrator releases a hold the platform placed, or an organization\\'s own hold once that organization is marked for deletion.', whenToUse: 'The authority\\'s preservation requirement has ended, or a marked organization\\'s own duty has ended and its owners can no longer release it.' },\n },\n },\n },\n\n businessConstraints: [\n 'A hold never expires. It ends only by an explicit release from the tier that placed it — or, for an organization marked for deletion, from the platform tier.',\n 'An organization may hold only a person it still has a membership row for, whatever its status. A hold on a person also covers that person\\'s rows outside any organization, so this confines a tenant to its own people. Removing a member deletes that row, so hold a person BEFORE removing them; for someone already removed, hold the organization or the rows concerned (RESOURCE_ROWS), or ask the platform tier, which may name any user.',\n 'Framework plumbing is outside a hold: rows that expire by the database\\'s own row TTL, and delivery queues whose records are copies of evidence kept elsewhere.',\n 'A released hold is never reactivated; a new duty is a new hold.',\n 'A tenant under ANY active hold is not purged, even when only some of its rows or one of its people are held: a purge destroys every row.',\n 'A hold suspends deletion and scrubbing, not reads or updates. Restricting the processing of kept data is a statutory restriction, a different obligation.',\n 'A delete addressing several rows is refused whole when any of them is held; a batch skips and counts held rows instead of failing.',\n 'Deletion is refused when the active holds cannot be read. A read error never means \"not held\".',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
1
+ {"version":3,"file":"legal-holds.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/compliance/resources/legal-holds.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,qDAAqD,GACtD,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,uBAAuB,GAAG,gCAAgC,CAAC;AACjE,MAAM,eAAe,GAAG,uCAAuC,CAAC;AAChE,MAAM,gBAAgB,GAAG,iCAAiC,CAAC;AAC3D,MAAM,iBAAiB,GAAG,iCAAiC,CAAC;AAE5D,MAAM,iBAAiB,GAAG;IACxB,GAAG,EAAE,eAAe;IACpB,cAAc,EAAE,uBAAuB;IACvC,SAAS,EAAE,kBAAkB,CAAC,YAAY;IAC1C,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe,CAAC,YAAY;IACzC,aAAa,EAAE,gGAAgG;IAC/G,aAAa,EAAE,sBAAsB,CAAC,YAAY;IAClD,MAAM,EAAE,eAAe,CAAC,MAAM;IAC9B,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,0BAA0B;IACpC,SAAS,EAAE,0BAA0B;IACrC,SAAS,EAAE,0BAA0B;CACtC,CAAC;AAEF,MAAM,mBAAmB,GAAG;IAC1B,GAAG,iBAAiB;IACpB,MAAM,EAAE,eAAe,CAA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;QAClb,iKAAiK;QACjK,iEAAiE;QACjE,0IAA0I;QAC1I,2JAA2J;QAC3J,oIAAoI;QACpI,gGAAgG;KACjG;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resource: `legalHolds` — Wildo SaaS engine specification (backend-only, organization-scoped). #1634.\n *\n * Inputs:\n * - Schema: engine/saas-models/src/compliance/privacy/legal-holds.shared.schemas.ts → `LegalHoldSchema`\n * - Factory: engine/saas-models/src/compliance/privacy/legal-holds.shared.resources-config.schemas.ts\n * → `legalHoldsResourceConfiguration_InitializationFactory`\n * - Custom operations: `LegalHolds_Operations` (place, release), in the schemas module.\n *\n * The organization-settings surface is `legal-holds.resource-presets.tsx` (Settings Hub destination\n * `organization-legal-holds`). The operator's surface is the same file's `admin` entry, placed on the tenant\n * directory's page for one organization (#2315). This spec documents the backend contract only, like the organization\n * relationships spec beside a preset of the same shape: the preset has no layout sections, label strategy\n * beyond the matter, or guidance that an overlay would have to document.\n *\n * Why `ORGANIZATIONS` scope: a hold is stored in the tenant it holds, so the tenant sees every hold on its\n * data whichever tier placed it. Expressed once, by the registry relationship ORGANIZATIONS → LEGAL_HOLDS\n * carrying `isPrimaryScope: true`.\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n LegalHoldGround,\n LegalHoldPlacementTier,\n LegalHoldSchema,\n LegalHoldScopeKind,\n LegalHoldStatus,\n LegalHolds_Operations,\n ResourcePrimaryScope,\n legalHoldsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst EXAMPLE_ORGANIZATION_ID = 'org_01J4P8F1M2N3Q4R5S6T7V8W9XY';\nconst EXAMPLE_HOLD_ID = 'legal_hold_01J4Q1A2B3C4D5E6F7G8H9J0KA';\nconst EXAMPLE_OWNER_ID = 'user_01J4Q1B2C3D4E5F6G7H8J9K0LB';\nconst EXAMPLE_MEMBER_ID = 'user_01J4Q1C3D4E5F6G7H8J9K0L1MC';\n\nconst activeHoldExample = {\n _id: EXAMPLE_HOLD_ID,\n organizationId: EXAMPLE_ORGANIZATION_ID,\n scopeKind: LegalHoldScopeKind.DATA_SUBJECT,\n subjectUserId: EXAMPLE_MEMBER_ID,\n legalGround: LegalHoldGround.LEGAL_CLAIMS,\n justification: 'Employment dispute, matter 2026-17: preserve the member\\'s records until the claim is settled.',\n placementTier: LegalHoldPlacementTier.ORGANIZATION,\n status: LegalHoldStatus.ACTIVE,\n placedByUserId: EXAMPLE_OWNER_ID,\n placedAt: '2026-09-27T09:00:00.000Z',\n createdAt: '2026-09-27T09:00:00.000Z',\n updatedAt: '2026-09-27T09:00:00.000Z',\n};\n\nconst releasedHoldExample = {\n ...activeHoldExample,\n status: LegalHoldStatus.RELEASED,\n releasedByUserId: EXAMPLE_OWNER_ID,\n releasedAt: '2026-12-01T10:00:00.000Z',\n releaseReason: 'Claim settled; counsel confirmed the preservation duty has ended.',\n updatedAt: '2026-12-01T10:00:00.000Z',\n};\n\nconst holdSummaryExample = {\n _id: activeHoldExample._id,\n organizationId: activeHoldExample.organizationId,\n scopeKind: activeHoldExample.scopeKind,\n legalGround: activeHoldExample.legalGround,\n placementTier: activeHoldExample.placementTier,\n status: activeHoldExample.status,\n placedAt: activeHoldExample.placedAt,\n};\n\nconst PAGE_REQUEST = { organizationId: EXAMPLE_ORGANIZATION_ID, page: 1, limit: 20, sort: 'createdAt:desc' };\nconst page = <T>(data: readonly T[]) => ({ data, pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 } });\n\nconst READ_FORBIDDEN = { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither the organization\\'s owner nor an application super-administrator holding a usable platform access grant for this organization.' };\n\nexport const legalHoldsResourceSpecification = resourceSpecification(\n legalHoldsResourceConfiguration_InitializationFactory,\n LegalHoldSchema,\n ({ schemaShape }) => ({\n purpose: 'Let an organization, or the application operator, suspend the deletion of a defined scope of the organization\\'s data while litigation, an investigation or a legal obligation requires it, and keep proof that it did.',\n businessRole: 'The organization\\'s record of preservation duties. Every deletion path reads its active holds before destroying anything: the retention-class sweep skips held rows, a subject erasure leaves them as they are and reports the ground, the tenant purge does not run, file bytes are kept and a delete is refused with 409 `legal_hold_active`.',\n lifecycleRole: 'Placed ACTIVE by the organization\\'s owner or by an application super-administrator, and released by the same tier when the duty ends (or, once the organization is marked for deletion and its owners hold no authority, by the platform tier). A hold never expires on its own. A released hold is kept, unchanged, as evidence for the AUDIT_LOGS retention period counted from its release, then deleted by the retention-class sweep; it is never reactivated — a new duty is a new hold.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.COMPLIANCE,\n\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'legalHoldsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'LEGAL_HOLDS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHolds_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'No public CREATE, UPDATE or DELETE. `place` is the only writer of a hold and `release` the only transition. The server authors `placementTier`, `status`, `placedByUserId`, `placedAt`, `releasedByUserId` and `releasedAt`; a caller never can.',\n 'DELETE is INTERNAL_CALL only, for the retention-class sweep to dispose of a RELEASED hold at the end of its AUDIT_LOGS period. An ACTIVE hold has no release instant, so it never reaches that point.',\n 'Placing and releasing emit `LEGAL_HOLD_PLACED` / `LEGAL_HOLD_RELEASED` (HIGH) on the held organization\\'s audit trail. Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).',\n 'The hold predicate lives in the backend (`resolveLegalHeldRows`); this resource only stores the decisions it reads. Not retention-governed on purpose: a scrubbed-and-hidden hold would be invisible to that predicate.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Identifier of one preservation decision.',\n whyItMatters: 'Named by every refusal and erasure report the hold causes, and by its placement and release audit events.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The organization whose data is held.',\n whyItMatters: 'The scope anchor: the organization sees every hold on its data, and no hold reaches another organization\\'s rows.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n scopeKind: schemaShape.scopeKind.enumSpec({\n meaning: 'What the hold covers.',\n whyItMatters: 'Decides which rows every deletion path treats as held.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldScopeKind',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [LegalHoldScopeKind.ORGANIZATION]: { meaning: 'Every row the organization owns, and the organization itself — it is not purged while the hold is active.' },\n [LegalHoldScopeKind.RESOURCE_ROWS]: { meaning: 'The listed rows of one resource type in the organization, or every row of that type when no rows are listed.' },\n [LegalHoldScopeKind.DATA_SUBJECT]: { meaning: 'Every row the subject-export graph attributes to one person — the same rows an access request about them would disclose. A row that cannot be attributed from its own fields is held too.' },\n },\n }),\n resourceType: schemaShape.resourceType.stringSpec({\n meaning: 'For a resource-rows hold, the resource type it holds.',\n whyItMatters: 'Refused when it names no registered resource, and a hold cannot hold holds.',\n }),\n rowIds: schemaShape.rowIds.arraySpec({\n meaning: 'For a resource-rows hold, the held rows (at most 1000).',\n elementMeaning: 'The id of one held row of that resource.',\n whyItMatters: 'An explicit list rather than a query, so which rows were held is answerable from the hold alone, without re-running a filter against data that has since changed.',\n }),\n subjectName: schemaShape.subjectName.stringSpec({ meaning: 'The person whose rows are held, by name: `subjectUserId`\\'s label fallback. Resolved at read time from the person\\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),\n placedByName: schemaShape.placedByName.stringSpec({ meaning: 'The person who placed the hold, by name: `placedByUserId`\\'s label fallback. Resolved at read time from the person\\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'A tenant administrator usually may not read the platform operator who placed a hold. Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),\n releasedByName: schemaShape.releasedByName.stringSpec({ meaning: 'The person who released the hold, by name: `releasedByUserId`\\'s label fallback. Resolved at read time from the person\\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),\n subjectUserId: schemaShape.subjectUserId.foreignKeySpec({\n meaning: 'For a data-subject hold, the person whose data is held.',\n whyItMatters: 'Must name an existing user. Their erasure leaves held rows as they are and reports the ground.',\n }),\n legalGround: schemaShape.legalGround.enumSpec({\n meaning: 'Why the data must be preserved.',\n whyItMatters: 'Travels into every refusal and erasure report: it is what a data subject is told when their erasure is not completed.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldGround',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [LegalHoldGround.LEGAL_CLAIMS]: { meaning: 'Litigation, a dispute or a reasonably anticipated claim (GDPR Art. 17(3)(e)).' },\n [LegalHoldGround.REGULATORY_INVESTIGATION]: { meaning: 'A regulator\\'s or an authority\\'s investigation that requires preservation.' },\n [LegalHoldGround.LEGAL_OBLIGATION]: { meaning: 'Another legal obligation to keep the data (GDPR Art. 17(3)(b)) — not a statutory retention period, which is a retention class.' },\n },\n }),\n justification: schemaShape.justification.stringSpec({\n meaning: 'The matter or case the hold preserves data for, in the placer\\'s words.',\n whyItMatters: 'Required. Kept with the hold as defence evidence and never scrubbed; never carried into refusals, audit events or SIEM exports, where free text could name a third party.',\n }),\n placementTier: schemaShape.placementTier.enumSpec({\n meaning: 'Which tier placed the hold, and therefore which tier may release it.',\n whyItMatters: 'The organization must not lift a duty the operator placed on it, and the operator must not lift a live organization\\'s own litigation hold. The one exception: once the organization is marked for deletion its owners hold no authority, so the platform tier may release the organization\\'s own holds, or the tenant could never be purged.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldPlacementTier',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [LegalHoldPlacementTier.ORGANIZATION]: { meaning: 'Placed by the organization\\'s owner for its own data.' },\n [LegalHoldPlacementTier.PLATFORM]: { meaning: 'Placed by an application super-administrator through the declared cross-tenant door, with a usable platform access grant.' },\n },\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Whether the hold is in force.',\n whyItMatters: 'Only ACTIVE holds suspend deletion. There is no expiry state: litigation ends by decision, not by clock.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'LegalHoldStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [LegalHoldStatus.ACTIVE]: { meaning: 'In force: every deletion path skips or refuses the held scope.' },\n [LegalHoldStatus.RELEASED]: { meaning: 'Ended by the tier that placed it. Kept as evidence and never reactivated.' },\n },\n }),\n placedByUserId: schemaShape.placedByUserId.foreignKeySpec({\n meaning: 'The person who placed the hold, from the authenticated session.',\n whyItMatters: 'Answers who suspended the organization\\'s deletion schedule.',\n }),\n placedAt: schemaShape.placedAt.dateSpec({\n meaning: 'When the hold was placed.',\n whyItMatters: 'The start of the suspension window.',\n temporalRole: 'occurred',\n }),\n releasedByUserId: schemaShape.releasedByUserId.foreignKeySpec({\n meaning: 'The person who released the hold.',\n whyItMatters: 'Answers who let deletion resume.',\n }),\n releasedAt: schemaShape.releasedAt.dateSpec({\n meaning: 'When the hold was released.',\n whyItMatters: 'The end of the suspension window, and the start of the AUDIT_LOGS retention period of the hold itself. Absent while active, so an active hold never expires.',\n temporalRole: 'occurred',\n }),\n releaseReason: schemaShape.releaseReason.stringSpec({\n meaning: 'Why the preservation duty ended.',\n whyItMatters: 'The other half of the record: a release with no stated reason cannot be reviewed.',\n }),\n tenantMarkedForDeletion: schemaShape.tenantMarkedForDeletion.booleanSpec({\n meaning: 'Whether the hold\\'s organization is marked for deletion, read from the organization at read time and never stored. Absent when the organization could not be read.',\n whyItMatters: 'It decides whether an operator is offered Release on an organization\\'s own hold: the platform tier may release one only once the organization is marked for deletion. The server checks the organization itself, so an absent value leaves the action offered and the server decides.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the hold row was written.', whyItMatters: 'Ordering key for the organization\\'s hold history.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the hold row last changed — its release.', whyItMatters: 'A hold changes once at most.', temporalRole: 'modified' }),\n },\n\n operations: {\n [Op.READ]: {\n purpose: 'Inspect one legal hold on your organization.',\n outcome: 'The hold, with its scope, ground, tier and status.',\n whenToUse: 'An owner reviewing why data is not being deleted, or an operator (through the admin variant and a usable grant) reviewing a hold it placed.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The hold was found and returned.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither the organization\\'s owner nor an application super-administrator.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No hold with that id is visible in the organization. On the `admin` variant, also when the caller holds no usable platform access grant for the tenant: a crossed read is refused exactly like a missing row, so nobody can probe which ids exist.' },\n ],\n idempotent: true,\n examples: [{ title: 'Inspect an active data-subject hold', request: { organizationId: EXAMPLE_ORGANIZATION_ID, legalHoldId: EXAMPLE_HOLD_ID }, response: activeHoldExample, forStatus: HttpResponseStatusCode.OK_200 }],\n variants: {\n summary: { examples: [{ title: 'Inspect the compact hold summary', request: { organizationId: EXAMPLE_ORGANIZATION_ID, legalHoldId: EXAMPLE_HOLD_ID }, response: holdSummaryExample, forStatus: HttpResponseStatusCode.OK_200 }] },\n },\n },\n [Op.LIST]: {\n purpose: 'List the legal holds on your organization, active and released.',\n outcome: 'A page of the organization\\'s holds.',\n whenToUse: 'A compliance review, or answering why a retention period is not being enforced.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of holds.' }],\n errorScenarios: [READ_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'List the organization\\'s holds', request: PAGE_REQUEST, response: page([activeHoldExample, releasedHoldExample]), forStatus: HttpResponseStatusCode.OK_200 }],\n variants: {\n summary: { examples: [{ title: 'List compact hold summaries', request: PAGE_REQUEST, response: page([holdSummaryExample]), forStatus: HttpResponseStatusCode.OK_200 }] },\n },\n },\n [Op.COUNT]: {\n purpose: 'Count the legal holds on your organization.',\n outcome: 'The matching total, without the hold records.',\n whenToUse: 'A settings badge or a review that needs the number of active holds.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The number of matching holds.' }],\n errorScenarios: [READ_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'Count active holds', request: { organizationId: EXAMPLE_ORGANIZATION_ID, status: LegalHoldStatus.ACTIVE }, response: { count: 1 }, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.DELETE]: {\n purpose: 'SWEEP ONLY — dispose of a released hold once its AUDIT_LOGS period has passed. No client door.',\n outcome: 'The released hold is deleted by the retention-class sweep. INTERNAL_CALL, so it has no HTTP route.',\n whenToUse: 'Never directly.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The released hold was removed by the sweep. Not observable over HTTP.' }],\n idempotent: true,\n },\n [LegalHolds_Operations.PLACE]: {\n operationId: LegalHolds_Operations.PLACE,\n purpose: 'Place a legal hold that suspends every deletion of a scope of the organization\\'s data until it is released.',\n outcome: 'An ACTIVE hold is recorded with the caller as placer and the tier of the variant used. From that instant the retention sweep skips the held rows, erasures leave them as they are, the organization is not purged and deletes are refused. `LEGAL_HOLD_PLACED` is written to the organization\\'s audit trail.',\n whenToUse: 'Litigation, a claim, an investigation or a legal obligation requires data to be preserved. Requires recent re-authentication (step-up).',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The hold is in force.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The scope is incoherent (an organization hold with a resource type, a resource-rows hold without one, a data-subject hold without a subject); the resource type is unknown or does not belong to an organization (which includes every resource whose rows expire by the database\\'s own row TTL); or the subject is not a member of the organization (the platform tier: names no user). \"Not a member\" and \"no such user\" read the same.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\\'s owner, or an application super-administrator without a usable platform access grant for this organization, or has not re-authenticated recently.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Hold one member\\'s data for a claim',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, scopeKind: LegalHoldScopeKind.DATA_SUBJECT, subjectUserId: EXAMPLE_MEMBER_ID, legalGround: LegalHoldGround.LEGAL_CLAIMS, justification: activeHoldExample.justification },\n response: activeHoldExample,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n variants: {\n default: { purpose: 'The organization\\'s owner holds the organization\\'s own data.', whenToUse: 'The organization is party to a claim or dispute.' },\n admin: { purpose: 'An application super-administrator holds a tenant\\'s data, through the declared cross-tenant door.', whenToUse: 'A regulator or court requires the operator to preserve a tenant\\'s data. Needs a usable platform access grant for the tenant.' },\n },\n },\n [LegalHolds_Operations.RELEASE]: {\n operationId: LegalHolds_Operations.RELEASE,\n purpose: 'Release an active legal hold so deletion of its scope can resume.',\n outcome: 'The hold becomes RELEASED with the caller and reason recorded. The next sweep, purge or erasure proceeds; rows whose period already passed are deleted by the next sweep run. `LEGAL_HOLD_RELEASED` is written to the organization\\'s audit trail.',\n whenToUse: 'The preservation duty has ended. Only the tier that placed the hold may release it, except that the platform tier may release an organization\\'s own hold once the organization is marked for deletion. Requires step-up.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The hold is released.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'No release reason was given.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller holds neither tier\\'s role, or has not re-authenticated recently.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The hold is already released, or was placed by the other tier (for the platform tier: by a live organization).' },\n ],\n idempotent: false,\n examples: [{\n title: 'Release a hold after settlement',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, legalHoldId: EXAMPLE_HOLD_ID, releaseReason: releasedHoldExample.releaseReason },\n response: releasedHoldExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n default: { purpose: 'The organization\\'s owner releases a hold the organization placed.', whenToUse: 'The organization\\'s claim or dispute has ended.' },\n admin: { purpose: 'An application super-administrator releases a hold the platform placed, or an organization\\'s own hold once that organization is marked for deletion.', whenToUse: 'The authority\\'s preservation requirement has ended, or a marked organization\\'s own duty has ended and its owners can no longer release it.' },\n },\n },\n },\n\n businessConstraints: [\n 'A hold never expires. It ends only by an explicit release from the tier that placed it — or, for an organization marked for deletion, from the platform tier.',\n 'An organization may hold only a person it still has a membership row for, whatever its status. A hold on a person also covers that person\\'s rows outside any organization, so this confines a tenant to its own people. Removing a member deletes that row, so hold a person BEFORE removing them; for someone already removed, hold the organization or the rows concerned (RESOURCE_ROWS), or ask the platform tier, which may name any user.',\n 'Framework plumbing is outside a hold: rows that expire by the database\\'s own row TTL, and delivery queues whose records are copies of evidence kept elsewhere.',\n 'A released hold is never reactivated; a new duty is a new hold.',\n 'A tenant under ANY active hold is not purged, even when only some of its rows or one of its people are held: a purge destroys every row.',\n 'A hold suspends deletion and scrubbing, not reads or updates. Restricting the processing of kept data is a statutory restriction, a different obligation.',\n 'A delete addressing several rows is refused whole when any of them is held; a batch skips and counts held rows instead of failing.',\n 'Deletion is refused when the active holds cannot be read. A read error never means \"not held\".',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
@@ -0,0 +1,37 @@
1
+ import { CoreResourceOperation as Op, CryptoKey_MaterialAccess, CryptoKey_MaterialProvenance, CryptoKey_ProtectionLevel, CryptoKey_Purpose, CryptoKey_Scope, CryptoKey_VersionState } from '@wildo-ai/saas-models';
2
+ /**
3
+ * Framework-owned specification for `publishedVerificationKeys` (#2891): the public half of every key version the
4
+ * platform custodian signs with for this application. No frontend configuration: no route reads or writes a row. The
5
+ * public seal-key routes project the rows into a JWKS and a compromised-keys document. The runtime reasoning lives in the
6
+ * schema file's header and is not restated here.
7
+ */
8
+ export declare const publishedVerificationKeysResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.CREATE | Op.LIST, import("zod").ZodObject<{
9
+ _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
10
+ applicationId: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
11
+ kid: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
12
+ purpose: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof CryptoKey_Purpose>>>>;
13
+ scope: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof CryptoKey_Scope>>;
14
+ scopeId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
15
+ iss: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
16
+ generation: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodNumber>;
17
+ state: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof CryptoKey_VersionState>>>;
18
+ providerRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
19
+ protectionLevel: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof CryptoKey_ProtectionLevel>>;
20
+ materialAccess: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof CryptoKey_MaterialAccess>>;
21
+ provenance: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof CryptoKey_MaterialProvenance>>;
22
+ publicJwk: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
23
+ kty: import("zod").ZodLiteral<"EC">;
24
+ crv: import("zod").ZodLiteral<"P-256">;
25
+ x: import("zod").ZodString;
26
+ y: import("zod").ZodString;
27
+ }, import("zod/v4/core").$strip>>;
28
+ keyCreatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>;
29
+ activatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
30
+ retiredAt: import("zod").ZodOptional<import("zod").ZodDate>;
31
+ compromisedAt: import("zod").ZodOptional<import("zod").ZodDate>;
32
+ compromiseInstant: import("zod").ZodOptional<import("zod").ZodDate>;
33
+ privateMaterialDestroyedAt: import("zod").ZodOptional<import("zod").ZodDate>;
34
+ refreshedAt: import("zod").ZodDate;
35
+ createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
36
+ }, import("zod/v4/core").$strip>>;
37
+ //# sourceMappingURL=published-verification-keys.resource.specification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"published-verification-keys.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/compliance/resources/published-verification-keys.resource.specification.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EAIvB,MAAM,uBAAuB,CAAC;AAW/B;;;;;GAKG;AACH,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAmJ1D,CAAC"}
@@ -0,0 +1,161 @@
1
+ import { LabelAudience } from '@wildo-ai/presets-components-models';
2
+ import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
3
+ import { CoreResourceOperation as Op, CryptoKey_MaterialAccess, CryptoKey_MaterialProvenance, CryptoKey_ProtectionLevel, CryptoKey_Purpose, CryptoKey_Scope, CryptoKey_VersionState, PublishedVerificationKeySchema, ResourcePrimaryScope, publishedVerificationKeysResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
4
+ import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
5
+ import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
6
+ const enumDeclaration = (exportName) => ({
7
+ packageName: '@wildo-ai/saas-models',
8
+ exportName,
9
+ symbolKind: CodeSymbolKind.ENUM,
10
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
11
+ });
12
+ /**
13
+ * Framework-owned specification for `publishedVerificationKeys` (#2891): the public half of every key version the
14
+ * platform custodian signs with for this application. No frontend configuration: no route reads or writes a row. The
15
+ * public seal-key routes project the rows into a JWKS and a compromised-keys document. The runtime reasoning lives in the
16
+ * schema file's header and is not restated here.
17
+ */
18
+ export const publishedVerificationKeysResourceSpecification = resourceSpecification(publishedVerificationKeysResourceConfiguration_InitializationFactory, PublishedVerificationKeySchema, ({ schemaShape }) => ({
19
+ purpose: 'Keep, in the application, the public half of every key the platform custodian signs with for it, so its approval seals verify from the application alone.',
20
+ businessRole: 'What an approval seal is checked against, by the application and by anyone holding a seal: an auditor, a counterparty, a court. Kept independently of the custodian, so a seal survives a rotation, the loss of the platform keyring, a change of key provider and a move to another platform.',
21
+ lifecycleRole: 'Created when the application first learns a version from the custodian\'s signed keyring status (a NEXT version is published before it ever signs). Its state then moves forward as the custodian reports it, never backward and never out of COMPROMISED. Never deleted.',
22
+ audience: LabelAudience.DEVELOPER,
23
+ subDomain: EngineResourceSubDomain.COMPLIANCE,
24
+ codeHandling: {
25
+ mainSchema: {
26
+ packageName: '@wildo-ai/saas-models',
27
+ exportName: 'PublishedVerificationKeySchema',
28
+ symbolKind: CodeSymbolKind.SCHEMA,
29
+ declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
30
+ },
31
+ resourceFactory: {
32
+ packageName: '@wildo-ai/saas-models',
33
+ exportName: 'publishedVerificationKeysResourceConfiguration_InitializationFactory',
34
+ symbolKind: CodeSymbolKind.FACTORY,
35
+ declarationKind: CodeDeclarationKind.FUNCTION,
36
+ },
37
+ resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'PUBLISHED_VERIFICATION_KEYS' },
38
+ operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },
39
+ notes: [
40
+ 'Every operation is REPOSITORY_ONLY: the refresh from the custodian writes rows, and the public routes `GET /approval-seals/jwks` and `GET /approval-seals/compromised-keys` read them. No route reads or writes a row directly.',
41
+ 'Rows come only from the custodian\'s keyring status, a response signed by apps-manager (#2921); a version whose `kid` is not the RFC 7638 thumbprint of its key is refused.',
42
+ 'No DELETE and no retention binding: a public half is not secret, and a seal it verifies may be kept indefinitely.',
43
+ ],
44
+ },
45
+ fields: {
46
+ _id: schemaShape._id.stringSpec({ meaning: 'Identity of this row.', semanticRole: 'identifier' }),
47
+ applicationId: schemaShape.applicationId.stringSpec({ meaning: 'The application record the key belongs to.', semanticRole: 'identifier' }),
48
+ kid: schemaShape.kid.stringSpec({
49
+ meaning: 'The RFC 7638 thumbprint of the public key: the key id a seal names in its header.',
50
+ whyItMatters: 'Derived from the key itself, so it cannot name another key; it is how a verifier finds the key a seal needs.',
51
+ semanticRole: 'identifier',
52
+ importance: FieldSemanticImportance.PRIMARY,
53
+ }),
54
+ purpose: schemaShape.purpose.enumSpec({
55
+ meaning: 'What the key signs. A key verifies only signatures of its own purpose.',
56
+ enumDeclaration: enumDeclaration('CryptoKey_Purpose'),
57
+ values: {
58
+ [CryptoKey_Purpose.APPROVAL_SEAL]: { meaning: 'Approval seals: the operator\'s seal over a person\'s recorded decision.' },
59
+ [CryptoKey_Purpose.PLATFORM_RESPONSE_INTEGRITY]: { meaning: 'apps-manager\'s answers to runtimes. Never published to an application; listed for completeness of the vocabulary.' },
60
+ [CryptoKey_Purpose.SIGNING_LOG_EXPORT]: { meaning: 'Exports of the signing log the operator pulls and keeps: their key, never the seal key. The operator\'s door hands an export this row\'s record of the key that signed it.' },
61
+ },
62
+ importance: FieldSemanticImportance.PRIMARY,
63
+ }),
64
+ scope: schemaShape.scope.enumSpec({
65
+ meaning: 'Whose key it is.',
66
+ whyItMatters: 'An organization-scoped key verifies only seals whose tenant is that organization; the scope is read from this row, never from a key-set member.',
67
+ enumDeclaration: enumDeclaration('CryptoKey_Scope'),
68
+ values: {
69
+ [CryptoKey_Scope.PLATFORM]: { meaning: 'The platform\'s own key.' },
70
+ [CryptoKey_Scope.APPLICATION]: { meaning: 'The application\'s key, the default.' },
71
+ [CryptoKey_Scope.ORGANIZATION]: { meaning: 'A dedicated key of one organization.' },
72
+ [CryptoKey_Scope.RECORD]: { meaning: 'A key of one record.' },
73
+ },
74
+ }),
75
+ scopeId: schemaShape.scopeId.stringSpec({ meaning: 'The application\'s id for an application-scoped key, the organization\'s for an organization-scoped one.', semanticRole: 'identifier' }),
76
+ iss: schemaShape.iss.stringSpec({ meaning: 'The issuer the custodian sets on this key\'s seals, from the application\'s own record.', semanticRole: 'code' }),
77
+ generation: schemaShape.generation.numberSpec({ meaning: 'The version\'s place in its keyring: 1 for the first, one more for each next.' }),
78
+ state: schemaShape.state.enumSpec({
79
+ meaning: 'Where the version is in its lifecycle, as the custodian last reported it.',
80
+ enumDeclaration: enumDeclaration('CryptoKey_VersionState'),
81
+ values: {
82
+ [CryptoKey_VersionState.NEXT]: { meaning: 'Published ahead, not yet signing.' },
83
+ [CryptoKey_VersionState.ACTIVE]: { meaning: 'Signing now.' },
84
+ [CryptoKey_VersionState.RETIRED]: { meaning: 'No longer signs; still verifies what it signed.' },
85
+ [CryptoKey_VersionState.DESTROYED]: { meaning: 'Retired, and its private half destroyed; still verifies what it signed.' },
86
+ [CryptoKey_VersionState.COMPROMISED]: { meaning: 'Its private half may have leaked: seals after the compromise instant cannot be corroborated.' },
87
+ },
88
+ importance: FieldSemanticImportance.PRIMARY,
89
+ }),
90
+ providerRef: schemaShape.providerRef.stringSpec({ meaning: 'The key provider that holds the private half.', semanticRole: 'code' }),
91
+ protectionLevel: schemaShape.protectionLevel.enumSpec({
92
+ meaning: 'What protects the private half, as the provider attested when the version was made.',
93
+ enumDeclaration: enumDeclaration('CryptoKey_ProtectionLevel'),
94
+ values: {
95
+ [CryptoKey_ProtectionLevel.SOFTWARE]: { meaning: 'Software protection.' },
96
+ [CryptoKey_ProtectionLevel.HARDWARE]: { meaning: 'A hardware security module.' },
97
+ },
98
+ }),
99
+ materialAccess: schemaShape.materialAccess.enumSpec({
100
+ meaning: 'Whether the private half ever leaves its provider.',
101
+ enumDeclaration: enumDeclaration('CryptoKey_MaterialAccess'),
102
+ values: {
103
+ [CryptoKey_MaterialAccess.REMOTE_OPERATION_ONLY]: { meaning: 'It never leaves: every signature is a call to the provider.' },
104
+ [CryptoKey_MaterialAccess.RETRIEVAL_ALLOWED]: { meaning: 'An admitted runtime may retrieve it.' },
105
+ },
106
+ }),
107
+ provenance: schemaShape.provenance.enumSpec({
108
+ meaning: 'Where the private half came from.',
109
+ enumDeclaration: enumDeclaration('CryptoKey_MaterialProvenance'),
110
+ values: {
111
+ [CryptoKey_MaterialProvenance.PROVIDER_GENERATED_NON_EXTRACTABLE]: { meaning: 'Generated inside the provider, which cannot export it.' },
112
+ [CryptoKey_MaterialProvenance.IMPORTED]: { meaning: 'Imported into the provider.' },
113
+ [CryptoKey_MaterialProvenance.EXTRACTABLE]: { meaning: 'The provider can export it.' },
114
+ [CryptoKey_MaterialProvenance.LOCAL_SOFTWARE]: { meaning: 'Made by the engine\'s LOCAL provider and sealed under the platform\'s key-encryption root.' },
115
+ },
116
+ }),
117
+ publicJwk: schemaShape.publicJwk.objectSpec({ meaning: 'The public key, as a P-256 JSON Web Key (curve and coordinates only).' }),
118
+ keyCreatedAt: schemaShape.keyCreatedAt.dateSpec({ meaning: 'When the custodian made the version.' }),
119
+ activatedAt: schemaShape.activatedAt.dateSpec({ meaning: 'When the version started signing.' }),
120
+ retiredAt: schemaShape.retiredAt.dateSpec({ meaning: 'When the version stopped signing.' }),
121
+ compromisedAt: schemaShape.compromisedAt.dateSpec({ meaning: 'When the version was marked compromised.' }),
122
+ compromiseInstant: schemaShape.compromiseInstant.dateSpec({
123
+ meaning: 'The earliest instant the private half may have been exposed.',
124
+ whyItMatters: 'A seal made before it can still be corroborated; one made after it cannot, and a verifier says so.',
125
+ }),
126
+ privateMaterialDestroyedAt: schemaShape.privateMaterialDestroyedAt.dateSpec({ meaning: 'When the provider destroyed the private half. The public half stays.' }),
127
+ refreshedAt: schemaShape.refreshedAt.dateSpec({ meaning: 'When this row last changed to agree with the custodian\'s keyring status.' }),
128
+ createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the application first stored the key.' }),
129
+ },
130
+ operations: {
131
+ [Op.CREATE]: {
132
+ purpose: 'Store a key version the custodian reported.',
133
+ outcome: 'The key is served in the seal key set from now on, and every seal it signs verifies from the application.',
134
+ responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The key was stored.' }],
135
+ },
136
+ [Op.READ]: {
137
+ purpose: 'Read one stored key.',
138
+ outcome: 'The key a seal names is found.',
139
+ idempotent: true,
140
+ responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The key was found.' }],
141
+ },
142
+ [Op.LIST]: {
143
+ purpose: 'List the stored keys.',
144
+ outcome: 'The seal key set and the compromised-keys document are projected from them.',
145
+ idempotent: true,
146
+ responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The keys were returned.' }],
147
+ },
148
+ [Op.UPDATE]: {
149
+ purpose: 'Move a stored key\'s state forward as the custodian reports it.',
150
+ outcome: 'A retired or compromised key leaves the signing set; a compromised one moves to the compromised-keys document.',
151
+ idempotent: true,
152
+ responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The state was updated.' }],
153
+ },
154
+ },
155
+ businessConstraints: [
156
+ 'A row is never deleted: a public half verifies what it signed for as long as the seal is kept.',
157
+ 'A state only moves forward, and never out of COMPROMISED, whatever a later keyring status says.',
158
+ 'Rows are written only from the custodian\'s signed keyring status; nothing else creates or changes one.',
159
+ ],
160
+ }), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
161
+ //# sourceMappingURL=published-verification-keys.resource.specification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"published-verification-keys.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/compliance/resources/published-verification-keys.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,8BAA8B,EAC9B,oBAAoB,EACpB,oEAAoE,GACrE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,CAAC;IAC/C,WAAW,EAAE,uBAAuB;IACpC,UAAU;IACV,UAAU,EAAE,cAAc,CAAC,IAAI;IAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;CACrD,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG,qBAAqB,CACjF,oEAAoE,EACpE,8BAA8B,EAC9B,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,2JAA2J;IACpK,YAAY,EAAE,gSAAgS;IAC9S,aAAa,EAAE,2QAA2Q;IAC1R,QAA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, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CryptoKey_MaterialAccess,\n CryptoKey_MaterialProvenance,\n CryptoKey_ProtectionLevel,\n CryptoKey_Purpose,\n CryptoKey_Scope,\n CryptoKey_VersionState,\n PublishedVerificationKeySchema,\n ResourcePrimaryScope,\n publishedVerificationKeysResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst enumDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n});\n\n/**\n * Framework-owned specification for `publishedVerificationKeys` (#2891): the public half of every key version the\n * platform custodian signs with for this application. No frontend configuration: no route reads or writes a row. The\n * public seal-key routes project the rows into a JWKS and a compromised-keys document. The runtime reasoning lives in the\n * schema file's header and is not restated here.\n */\nexport const publishedVerificationKeysResourceSpecification = resourceSpecification(\n publishedVerificationKeysResourceConfiguration_InitializationFactory,\n PublishedVerificationKeySchema,\n ({ schemaShape }) => ({\n purpose: 'Keep, in the application, the public half of every key the platform custodian signs with for it, so its approval seals verify from the application alone.',\n businessRole: 'What an approval seal is checked against, by the application and by anyone holding a seal: an auditor, a counterparty, a court. Kept independently of the custodian, so a seal survives a rotation, the loss of the platform keyring, a change of key provider and a move to another platform.',\n lifecycleRole: 'Created when the application first learns a version from the custodian\\'s signed keyring status (a NEXT version is published before it ever signs). Its state then moves forward as the custodian reports it, never backward and never out of COMPROMISED. Never deleted.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.COMPLIANCE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'PublishedVerificationKeySchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'publishedVerificationKeysResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'PUBLISHED_VERIFICATION_KEYS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },\n notes: [\n 'Every operation is REPOSITORY_ONLY: the refresh from the custodian writes rows, and the public routes `GET /approval-seals/jwks` and `GET /approval-seals/compromised-keys` read them. No route reads or writes a row directly.',\n 'Rows come only from the custodian\\'s keyring status, a response signed by apps-manager (#2921); a version whose `kid` is not the RFC 7638 thumbprint of its key is refused.',\n 'No DELETE and no retention binding: a public half is not secret, and a seal it verifies may be kept indefinitely.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of this row.', semanticRole: 'identifier' }),\n applicationId: schemaShape.applicationId.stringSpec({ meaning: 'The application record the key belongs to.', semanticRole: 'identifier' }),\n kid: schemaShape.kid.stringSpec({\n meaning: 'The RFC 7638 thumbprint of the public key: the key id a seal names in its header.',\n whyItMatters: 'Derived from the key itself, so it cannot name another key; it is how a verifier finds the key a seal needs.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n purpose: schemaShape.purpose.enumSpec({\n meaning: 'What the key signs. A key verifies only signatures of its own purpose.',\n enumDeclaration: enumDeclaration('CryptoKey_Purpose'),\n values: {\n [CryptoKey_Purpose.APPROVAL_SEAL]: { meaning: 'Approval seals: the operator\\'s seal over a person\\'s recorded decision.' },\n [CryptoKey_Purpose.PLATFORM_RESPONSE_INTEGRITY]: { meaning: 'apps-manager\\'s answers to runtimes. Never published to an application; listed for completeness of the vocabulary.' },\n [CryptoKey_Purpose.SIGNING_LOG_EXPORT]: { meaning: 'Exports of the signing log the operator pulls and keeps: their key, never the seal key. The operator\\'s door hands an export this row\\'s record of the key that signed it.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n scope: schemaShape.scope.enumSpec({\n meaning: 'Whose key it is.',\n whyItMatters: 'An organization-scoped key verifies only seals whose tenant is that organization; the scope is read from this row, never from a key-set member.',\n enumDeclaration: enumDeclaration('CryptoKey_Scope'),\n values: {\n [CryptoKey_Scope.PLATFORM]: { meaning: 'The platform\\'s own key.' },\n [CryptoKey_Scope.APPLICATION]: { meaning: 'The application\\'s key, the default.' },\n [CryptoKey_Scope.ORGANIZATION]: { meaning: 'A dedicated key of one organization.' },\n [CryptoKey_Scope.RECORD]: { meaning: 'A key of one record.' },\n },\n }),\n scopeId: schemaShape.scopeId.stringSpec({ meaning: 'The application\\'s id for an application-scoped key, the organization\\'s for an organization-scoped one.', semanticRole: 'identifier' }),\n iss: schemaShape.iss.stringSpec({ meaning: 'The issuer the custodian sets on this key\\'s seals, from the application\\'s own record.', semanticRole: 'code' }),\n generation: schemaShape.generation.numberSpec({ meaning: 'The version\\'s place in its keyring: 1 for the first, one more for each next.' }),\n state: schemaShape.state.enumSpec({\n meaning: 'Where the version is in its lifecycle, as the custodian last reported it.',\n enumDeclaration: enumDeclaration('CryptoKey_VersionState'),\n values: {\n [CryptoKey_VersionState.NEXT]: { meaning: 'Published ahead, not yet signing.' },\n [CryptoKey_VersionState.ACTIVE]: { meaning: 'Signing now.' },\n [CryptoKey_VersionState.RETIRED]: { meaning: 'No longer signs; still verifies what it signed.' },\n [CryptoKey_VersionState.DESTROYED]: { meaning: 'Retired, and its private half destroyed; still verifies what it signed.' },\n [CryptoKey_VersionState.COMPROMISED]: { meaning: 'Its private half may have leaked: seals after the compromise instant cannot be corroborated.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n providerRef: schemaShape.providerRef.stringSpec({ meaning: 'The key provider that holds the private half.', semanticRole: 'code' }),\n protectionLevel: schemaShape.protectionLevel.enumSpec({\n meaning: 'What protects the private half, as the provider attested when the version was made.',\n enumDeclaration: enumDeclaration('CryptoKey_ProtectionLevel'),\n values: {\n [CryptoKey_ProtectionLevel.SOFTWARE]: { meaning: 'Software protection.' },\n [CryptoKey_ProtectionLevel.HARDWARE]: { meaning: 'A hardware security module.' },\n },\n }),\n materialAccess: schemaShape.materialAccess.enumSpec({\n meaning: 'Whether the private half ever leaves its provider.',\n enumDeclaration: enumDeclaration('CryptoKey_MaterialAccess'),\n values: {\n [CryptoKey_MaterialAccess.REMOTE_OPERATION_ONLY]: { meaning: 'It never leaves: every signature is a call to the provider.' },\n [CryptoKey_MaterialAccess.RETRIEVAL_ALLOWED]: { meaning: 'An admitted runtime may retrieve it.' },\n },\n }),\n provenance: schemaShape.provenance.enumSpec({\n meaning: 'Where the private half came from.',\n enumDeclaration: enumDeclaration('CryptoKey_MaterialProvenance'),\n values: {\n [CryptoKey_MaterialProvenance.PROVIDER_GENERATED_NON_EXTRACTABLE]: { meaning: 'Generated inside the provider, which cannot export it.' },\n [CryptoKey_MaterialProvenance.IMPORTED]: { meaning: 'Imported into the provider.' },\n [CryptoKey_MaterialProvenance.EXTRACTABLE]: { meaning: 'The provider can export it.' },\n [CryptoKey_MaterialProvenance.LOCAL_SOFTWARE]: { meaning: 'Made by the engine\\'s LOCAL provider and sealed under the platform\\'s key-encryption root.' },\n },\n }),\n publicJwk: schemaShape.publicJwk.objectSpec({ meaning: 'The public key, as a P-256 JSON Web Key (curve and coordinates only).' }),\n keyCreatedAt: schemaShape.keyCreatedAt.dateSpec({ meaning: 'When the custodian made the version.' }),\n activatedAt: schemaShape.activatedAt.dateSpec({ meaning: 'When the version started signing.' }),\n retiredAt: schemaShape.retiredAt.dateSpec({ meaning: 'When the version stopped signing.' }),\n compromisedAt: schemaShape.compromisedAt.dateSpec({ meaning: 'When the version was marked compromised.' }),\n compromiseInstant: schemaShape.compromiseInstant.dateSpec({\n meaning: 'The earliest instant the private half may have been exposed.',\n whyItMatters: 'A seal made before it can still be corroborated; one made after it cannot, and a verifier says so.',\n }),\n privateMaterialDestroyedAt: schemaShape.privateMaterialDestroyedAt.dateSpec({ meaning: 'When the provider destroyed the private half. The public half stays.' }),\n refreshedAt: schemaShape.refreshedAt.dateSpec({ meaning: 'When this row last changed to agree with the custodian\\'s keyring status.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the application first stored the key.' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Store a key version the custodian reported.',\n outcome: 'The key is served in the seal key set from now on, and every seal it signs verifies from the application.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The key was stored.' }],\n },\n [Op.READ]: {\n purpose: 'Read one stored key.',\n outcome: 'The key a seal names is found.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The key was found.' }],\n },\n [Op.LIST]: {\n purpose: 'List the stored keys.',\n outcome: 'The seal key set and the compromised-keys document are projected from them.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The keys were returned.' }],\n },\n [Op.UPDATE]: {\n purpose: 'Move a stored key\\'s state forward as the custodian reports it.',\n outcome: 'A retired or compromised key leaves the signing set; a compromised one moves to the compromised-keys document.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The state was updated.' }],\n },\n },\n businessConstraints: [\n 'A row is never deleted: a public half verifies what it signed for as long as the seal is kept.',\n 'A state only moves forward, and never out of COMPROMISED, whatever a later keyring status says.',\n 'Rows are written only from the custodian\\'s signed keyring status; nothing else creates or changes one.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
@@ -180,7 +180,7 @@ export const retentionEnforcementRecordsResourceSpecification = resourceSpecific
180
180
  purpose: 'Names a record by the resource the run swept, so an operator scanning a day of runs reads which resources were enforced.',
181
181
  },
182
182
  layout: {
183
- purpose: 'Read-only: a header naming the resource with the outcome badge beside it, then one flat list of the run\'s facts — the class, period and start point, the cutoff, what was deleted and the window of their retention start, what a hold or a statute kept, and why a run failed or skipped. Every row empty for most runs hides.',
183
+ purpose: 'Read-only: a header naming the resource on its title line with the outcome badge on the facts line under it, then one flat list of the run\'s facts — the class, period and start point, the cutoff, what was deleted and the window of their retention start, what a hold or a statute kept, and why a run failed or skipped. Every row empty for most runs hides.',
184
184
  displayPurpose: 'Settings rows on the detail; a list card shows the outcome badge, the class and the count deleted under its day heading. The resource declares no write verb, so there is no edit layout.',
185
185
  },
186
186
  views: {