@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
@@ -1 +1 @@
1
- {"version":3,"file":"requirements-snapshot-validation.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAI3E,OAAO,EACL,kCAAkC,EAClC,sCAAsC,GACvC,MAAM,mCAAmC,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,CAAN,IAAY,6BAsCX;AAtCD,WAAY,6BAA6B;IACvC;;;;;OAKG;IACH,0EAAyC,CAAA;IACzC;;;;OAIG;IACH,gEAA+B,CAAA;IAC/B;;;;;;;OAOG;IACH,4EAA2C,CAAA;IAC3C,2EAA2E;IAC3E,0FAAyD,CAAA;IACzD,4EAA4E;IAC5E,kEAAiC,CAAA;IACjC;;;;OAIG;IACH,oEAAmC,CAAA;IACnC;;;OAGG;IACH,oEAAmC,CAAA;AACrC,CAAC,EAtCW,6BAA6B,KAA7B,6BAA6B,QAsCxC;AAED,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,oDAAe,CAAA;IACf,kDAAa,CAAA;AACf,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAgDD;;;;GAIG;AACH,MAAM,sBAAsB,GAAkC;IAC5D,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;IACzB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,EAAE;IAC3B,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE;IAC7B,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,GAAG;IAC3B,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,iBAAiB;CACpD,CAAC;AAEF,MAAM,UAAU,4BAA4B,CAC1C,QAA8B,EAC9B,OAA6C;IAE7C,MAAM,MAAM,GAAgC,EAAE,CAAC;IAE/C,uBAAuB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;I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G,UAAU,IAAI,KAAK,aAAa,QAAQ,GAAG;oBACpD,OAAO,EAAE,YAAY,MAAM,qBAAqB,KAAK,CAAC,GAAG,iDAAiD;oBAC1G,QAAQ,EAAE,iCAAiC,CAAC,KAAK;iBAClD,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC;IAEF,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC;IACvF,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC,CAAC;AAC/F,CAAC;AACD,8DAA8D","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { FunctionalRequirementConfig } from './functional-requirement.schemas';\nimport type { NonFunctionalRequirementConfig } from './non-functional-requirement.schemas';\nimport type { RequirementsAuthoredMetadata } from './requirements-authored-metadata.schemas';\nimport {\n FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n} from './requirements-references.schemas';\nimport type { RequirementsSnapshot } from './requirements-snapshot.schemas';\n\n/**\n * @wildo_source:part:start requirements.snapshot.validation facet:layer:specification facet:family:requirements\n *\n * Authoring-consistency validator for an assembled `RequirementsSnapshot`.\n *\n * The function is a **pure**, **typed** graph walker over the snapshot —\n * no Zod introspection, no registry access, no I/O (the `_core`\n * validator convention shared with `validateMarketSnapshot` /\n * `validateVisionSnapshot` / `validateAssertionSpecificationSnapshot`).\n * Zod already enforces structural validity (ref formats at parse time);\n * this walker adds the cross-entity + completeness checks Zod cannot\n * express, the defence-in-depth ref-format check for type-asserted\n * fixtures that bypass parsing, and the fail-soft cross-family ICP/job\n * ref resolution.\n *\n * Rule table — 7 kinds (scaffold depth, Phase J1 — deeper requirement\n * quality / prioritization / dependency analysis is Phase J2):\n *\n * | Kind | Severity | Trigger |\n * |-------------------------------|----------|--------------------------------------------------------------------------------|\n * | `INVALID_REF_FORMAT` | ERROR | A functional / non-functional ref fails its shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |\n * | `DUPLICATE_REF` | ERROR | Two functional (or two non-functional) requirements share a ref — the collection silently loses one entity to last-wins indexing. |\n * | `DUPLICATE_CROSS_REF` | WARN | The same `icpRefs` (or `jobRefs`) entry is listed more than once on ONE requirement — the repeat is noise the catalog silently dedupes (or double-counts in coverage). Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — mirrors the assertions family's `DUPLICATE_PIN_REF`. |\n * | `NO_FUNCTIONAL_REQUIREMENTS` | WARN | `functional` empty — the requirements brief states no capability the product must provide. |\n * | `STALE_AUTHORED` | WARN | Any entity's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |\n * | `UNKNOWN_ICP_REF` | ERROR | An `icpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |\n * | `UNKNOWN_JOB_REF` | ERROR | A `jobRefs` entry does not resolve in `options.availableJobRefs`. SKIPPED (fail-soft) when no set is passed. |\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates the snapshot. Issue ordering is detector-order\n * then walk-order — NOT a stable contract; callers group/sort by `kind` +\n * `severity` themselves.\n */\nexport enum RequirementsSnapshotIssueKind {\n /**\n * A functional / non-functional ref violates its kebab-case prefix\n * contract. The Zod schema rejects this at parse time; the detector\n * remains as defence in depth for callers that bypass parsing (tests\n * building snapshots with type-asserted fixtures). ERROR.\n */\n INVALID_REF_FORMAT = 'invalid_ref_format',\n /**\n * Two entities in the same collection share a ref. The collection is\n * addressed by ref downstream, so a duplicate silently drops one\n * entity. ERROR.\n */\n DUPLICATE_REF = 'duplicate_ref',\n /**\n * The same ICP / job ref appears more than once on ONE requirement's\n * cross-ref list. The repeat carries no meaning — the catalog dedupes\n * it (or double-counts it in coverage). WARN, not ERROR: the\n * requirement is still valid, the authoring is just untidy. Runs\n * unconditionally (intra-snapshot, needs no external set) — mirrors\n * the assertions family's `DUPLICATE_PIN_REF`.\n */\n DUPLICATE_CROSS_REF = 'duplicate_cross_ref',\n /** `functional` empty — the brief states no required capability (WARN). */\n NO_FUNCTIONAL_REQUIREMENTS = 'no_functional_requirements',\n /** `lastAuthoredAt + reviewCadence < now` (WARN — market/vision parity). */\n STALE_AUTHORED = 'stale_authored',\n /**\n * An `icpRefs` entry does not resolve against the supplied ICP-ref set\n * — a dangling cross-family reference. ERROR when a set is supplied;\n * the whole check is SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_ICP_REF = 'unknown_icp_ref',\n /**\n * A `jobRefs` entry does not resolve against the supplied job-ref set.\n * ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_JOB_REF = 'unknown_job_ref',\n}\n\nexport enum RequirementsSnapshotIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface RequirementsSnapshotIssue {\n kind: RequirementsSnapshotIssueKind;\n /** Dotted path inside the snapshot (e.g. `'nonFunctional[2].ref'`). */\n path: string;\n message: string;\n severity: RequirementsSnapshotIssueSeverity;\n}\n\nexport interface RequirementsSnapshotValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: RequirementsSnapshotIssue[];\n}\n\n/**\n * Options for this family validator.\n *\n * ## The cross-family sets are OPT-IN, and omitting one SKIPS its check\n *\n * A family validator sees one family. It cannot resolve a reference into another family's\n * vocabulary unless you hand it that family's refs — so each `available*Refs` option is the caller\n * saying \"I have this context, use it\". Omit one and the matching check does not run: no issue is\n * reported, and the absence looks exactly like a snapshot with no such reference.\n *\n * That is deliberate — the families are decoupled on purpose — but it means a validator called with\n * the snapshot alone is checking this family's INTERNAL consistency only. If you want dangling\n * cross-family references caught, supply the sets; if you validate one family in isolation, expect\n * them to be found later by whatever holds every family at once.\n */\nexport interface ValidateRequirementsSnapshotOptions {\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n /**\n * Resolvable market ICP refs. When supplied, every `icpRefs` entry not\n * in the set is reported as `UNKNOWN_ICP_REF`. When omitted, the check\n * is skipped entirely (fail-soft — the requirements family is\n * decoupled from the market family; the catalog owns resolution).\n */\n availableIcpRefs?: ReadonlySet<string>;\n /**\n * Resolvable market job refs. Same skip-when-omitted semantics as\n * `availableIcpRefs`, reported as `UNKNOWN_JOB_REF`.\n */\n availableJobRefs?: ReadonlySet<string>;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market / vision / assertions\n * validators (module-local there too — a shared promotion is part of the\n * deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateRequirementsSnapshot(\n snapshot: RequirementsSnapshot,\n options?: ValidateRequirementsSnapshotOptions,\n): RequirementsSnapshotValidationResult {\n const issues: RequirementsSnapshotIssue[] = [];\n\n detectInvalidRefFormats(snapshot, issues);\n detectDuplicateRefs(snapshot, issues);\n detectDuplicateCrossRefs(snapshot, issues);\n detectIncompleteness(snapshot, issues);\n detectStaleAuthored(snapshot, options?.now ?? new Date(), issues);\n detectUnknownCrossRefs(snapshot, options, issues);\n\n const ok = issues.every(\n issue => issue.severity !== RequirementsSnapshotIssueSeverity.ERROR,\n );\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per rule, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectInvalidRefFormats(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n snapshot.functional.forEach((entry, index) => {\n if (FUNCTIONAL_REQUIREMENT_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `functional[${index}].ref`,\n message: `Functional-requirement ref \"${entry.ref}\" is not kebab-case with the \"functional-requirement-\" prefix.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n snapshot.nonFunctional.forEach((entry, index) => {\n if (NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `nonFunctional[${index}].ref`,\n message: `Non-functional-requirement ref \"${entry.ref}\" is not kebab-case with the \"nfr-\" prefix.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRefs(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n reportDuplicates(\n snapshot.functional.map(entry => entry.ref),\n 'functional',\n issues,\n );\n reportDuplicates(\n snapshot.nonFunctional.map(entry => entry.ref),\n 'nonFunctional',\n issues,\n );\n}\n\nfunction reportDuplicates(\n refs: string[],\n collection: string,\n issues: RequirementsSnapshotIssue[],\n): void {\n const seen = new Set<string>();\n refs.forEach((ref, index) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: RequirementsSnapshotIssueKind.DUPLICATE_REF,\n path: `${collection}[${index}].ref`,\n message: `Duplicate ref \"${ref}\" in ${collection} — refs must be unique; the collection is addressed by ref downstream.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCrossRefs(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkList = (\n refs: readonly string[] | undefined,\n entity: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n path: string,\n ): void => {\n if (refs === undefined) return;\n const seen = new Set<string>();\n refs.forEach((ref, refIndex) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: RequirementsSnapshotIssueKind.DUPLICATE_CROSS_REF,\n path: `${path}[${refIndex}]`,\n message: `Cross-ref \"${ref}\" is listed more than once on requirement \"${entity.ref}\" (${path}). Remove the duplicate.`,\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n });\n };\n\n const checkEntity = (\n entry: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n collection: string,\n index: number,\n ): void => {\n checkList(entry.icpRefs, entry, `${collection}[${index}].icpRefs`);\n checkList(entry.jobRefs, entry, `${collection}[${index}].jobRefs`);\n };\n\n snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));\n snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));\n}\n\nfunction detectIncompleteness(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n if (snapshot.functional.length === 0) {\n issues.push({\n kind: RequirementsSnapshotIssueKind.NO_FUNCTIONAL_REQUIREMENTS,\n path: 'functional',\n message: 'Requirements brief states no functional requirements — it describes no capability the product must provide.',\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n }\n}\n\nfunction detectStaleAuthored(\n snapshot: RequirementsSnapshot,\n now: Date,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkOne = (authored: RequirementsAuthoredMetadata | undefined, path: string): void => {\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.STALE_AUTHORED,\n path,\n message: `Requirements entity at \"${path}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-author or remove the cadence.`,\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n };\n\n snapshot.functional.forEach((entry, index) =>\n checkOne(entry.authored, `functional[${index}].authored`),\n );\n snapshot.nonFunctional.forEach((entry, index) =>\n checkOne(entry.authored, `nonFunctional[${index}].authored`),\n );\n}\n\nfunction detectUnknownCrossRefs(\n snapshot: RequirementsSnapshot,\n options: ValidateRequirementsSnapshotOptions | undefined,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkEntity = (\n entry: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n collection: string,\n index: number,\n ): void => {\n if (options?.availableIcpRefs !== undefined) {\n entry.icpRefs?.forEach((icpRef, refIndex) => {\n if (options.availableIcpRefs!.has(icpRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_ICP_REF,\n path: `${collection}[${index}].icpRefs[${refIndex}]`,\n message: `ICP ref \"${icpRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied ICP-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availableJobRefs !== undefined) {\n entry.jobRefs?.forEach((jobRef, refIndex) => {\n if (options.availableJobRefs!.has(jobRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_JOB_REF,\n path: `${collection}[${index}].jobRefs[${refIndex}]`,\n message: `Job ref \"${jobRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied job-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n };\n\n snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));\n snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));\n}\n/** @wildo_source:part:end requirements.snapshot.validation */\n"]}
1
+ {"version":3,"file":"requirements-snapshot-validation.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,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AC,QAAQ,CAAC,OAAO,CAAC;gBAAE,OAAO;YAC7D,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,6BAA6B,CAAC,gBAAgB;gBACpD,IAAI,EAAE,uBAAuB,KAAK,WAAW;gBAC7C,OAAO,EAAE,kBAAkB,QAAQ,CAAC,OAAO,kDAAkD;gBAC7F,QAAQ,EAAE,iCAAiC,CAAC,KAAK;aAClD,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AACD,8DAA8D","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { FunctionalRequirementConfig } from './functional-requirement.schemas';\nimport type { NonFunctionalRequirementConfig } from './non-functional-requirement.schemas';\nimport type { RequirementsAuthoredMetadata } from './requirements-authored-metadata.schemas';\nimport {\n FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n} from './requirements-references.schemas';\nimport type { RequirementsSnapshot } from './requirements-snapshot.schemas';\n\n/**\n * @wildo_source:part:start requirements.snapshot.validation facet:layer:specification facet:family:requirements\n *\n * Authoring-consistency validator for an assembled `RequirementsSnapshot`.\n *\n * The function is a **pure**, **typed** graph walker over the snapshot —\n * no Zod introspection, no registry access, no I/O (the `_core`\n * validator convention shared with `validateMarketSnapshot` /\n * `validateVisionSnapshot` / `validateAssertionSpecificationSnapshot`).\n * Zod already enforces structural validity (ref formats at parse time);\n * this walker adds the cross-entity + completeness checks Zod cannot\n * express, the defence-in-depth ref-format check for type-asserted\n * fixtures that bypass parsing, and the fail-soft cross-family ICP/job\n * ref resolution.\n *\n * Rule table — 7 kinds (scaffold depth, Phase J1 — deeper requirement\n * quality / prioritization / dependency analysis is Phase J2):\n *\n * | Kind | Severity | Trigger |\n * |-------------------------------|----------|--------------------------------------------------------------------------------|\n * | `INVALID_REF_FORMAT` | ERROR | A functional / non-functional ref fails its shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |\n * | `DUPLICATE_REF` | ERROR | Two functional (or two non-functional) requirements share a ref — the collection silently loses one entity to last-wins indexing. |\n * | `DUPLICATE_CROSS_REF` | WARN | The same `icpRefs` (or `jobRefs`, or `painRefs`) entry is listed more than once on ONE requirement — the repeat is noise the catalog silently dedupes (or double-counts in coverage). Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — mirrors the assertions family's `DUPLICATE_PIN_REF`. |\n * | `NO_FUNCTIONAL_REQUIREMENTS` | WARN | `functional` empty — the requirements brief states no capability the product must provide. |\n * | `STALE_AUTHORED` | WARN | Any entity's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |\n * | `UNKNOWN_ICP_REF` | ERROR | An `icpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |\n * | `UNKNOWN_JOB_REF` | ERROR | A `jobRefs` entry does not resolve in `options.availableJobRefs`. SKIPPED (fail-soft) when no set is passed. |\n * | `UNKNOWN_PAIN_REF` | ERROR | A `painRefs` entry or an excluded pain does not resolve in `options.availablePainRefs` (#2500). SKIPPED (fail-soft) when no set is passed. |\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates the snapshot. Issue ordering is detector-order\n * then walk-order — NOT a stable contract; callers group/sort by `kind` +\n * `severity` themselves.\n */\nexport enum RequirementsSnapshotIssueKind {\n /**\n * A functional / non-functional ref violates its kebab-case prefix\n * contract. The Zod schema rejects this at parse time; the detector\n * remains as defence in depth for callers that bypass parsing (tests\n * building snapshots with type-asserted fixtures). ERROR.\n */\n INVALID_REF_FORMAT = 'invalid_ref_format',\n /**\n * Two entities in the same collection share a ref. The collection is\n * addressed by ref downstream, so a duplicate silently drops one\n * entity. ERROR.\n */\n DUPLICATE_REF = 'duplicate_ref',\n /**\n * The same ICP / job ref appears more than once on ONE requirement's\n * cross-ref list. The repeat carries no meaning — the catalog dedupes\n * it (or double-counts it in coverage). WARN, not ERROR: the\n * requirement is still valid, the authoring is just untidy. Runs\n * unconditionally (intra-snapshot, needs no external set) — mirrors\n * the assertions family's `DUPLICATE_PIN_REF`.\n */\n DUPLICATE_CROSS_REF = 'duplicate_cross_ref',\n /** `functional` empty — the brief states no required capability (WARN). */\n NO_FUNCTIONAL_REQUIREMENTS = 'no_functional_requirements',\n /** `lastAuthoredAt + reviewCadence < now` (WARN — market/vision parity). */\n STALE_AUTHORED = 'stale_authored',\n /**\n * An `icpRefs` entry does not resolve against the supplied ICP-ref set\n * — a dangling cross-family reference. ERROR when a set is supplied;\n * the whole check is SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_ICP_REF = 'unknown_icp_ref',\n /**\n * A `jobRefs` entry does not resolve against the supplied job-ref set.\n * ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_JOB_REF = 'unknown_job_ref',\n /**\n * A `painRefs` entry, or an `excludedMarketPains[].painRef`, does not resolve against the supplied pain-ref set\n * (#2500). ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_PAIN_REF = 'unknown_pain_ref',\n}\n\nexport enum RequirementsSnapshotIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface RequirementsSnapshotIssue {\n kind: RequirementsSnapshotIssueKind;\n /** Dotted path inside the snapshot (e.g. `'nonFunctional[2].ref'`). */\n path: string;\n message: string;\n severity: RequirementsSnapshotIssueSeverity;\n}\n\nexport interface RequirementsSnapshotValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: RequirementsSnapshotIssue[];\n}\n\n/**\n * Options for this family validator.\n *\n * ## The cross-family sets are OPT-IN, and omitting one SKIPS its check\n *\n * A family validator sees one family. It cannot resolve a reference into another family's\n * vocabulary unless you hand it that family's refs — so each `available*Refs` option is the caller\n * saying \"I have this context, use it\". Omit one and the matching check does not run: no issue is\n * reported, and the absence looks exactly like a snapshot with no such reference.\n *\n * That is deliberate — the families are decoupled on purpose — but it means a validator called with\n * the snapshot alone is checking this family's INTERNAL consistency only. If you want dangling\n * cross-family references caught, supply the sets; if you validate one family in isolation, expect\n * them to be found later by whatever holds every family at once.\n */\nexport interface ValidateRequirementsSnapshotOptions {\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n /**\n * Resolvable market ICP refs. When supplied, every `icpRefs` entry not\n * in the set is reported as `UNKNOWN_ICP_REF`. When omitted, the check\n * is skipped entirely (fail-soft — the requirements family is\n * decoupled from the market family; the catalog owns resolution).\n */\n availableIcpRefs?: ReadonlySet<string>;\n /**\n * Resolvable market job refs. Same skip-when-omitted semantics as\n * `availableIcpRefs`, reported as `UNKNOWN_JOB_REF`.\n */\n availableJobRefs?: ReadonlySet<string>;\n /**\n * Resolvable market pain refs (#2500). Same skip-when-omitted semantics as `availableIcpRefs`, reported as\n * `UNKNOWN_PAIN_REF`, for a requirement's `painRefs` and for an excluded pain.\n */\n availablePainRefs?: ReadonlySet<string>;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market / vision / assertions\n * validators (module-local there too — a shared promotion is part of the\n * deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateRequirementsSnapshot(\n snapshot: RequirementsSnapshot,\n options?: ValidateRequirementsSnapshotOptions,\n): RequirementsSnapshotValidationResult {\n const issues: RequirementsSnapshotIssue[] = [];\n\n detectInvalidRefFormats(snapshot, issues);\n detectDuplicateRefs(snapshot, issues);\n detectDuplicateCrossRefs(snapshot, issues);\n detectIncompleteness(snapshot, issues);\n detectStaleAuthored(snapshot, options?.now ?? new Date(), issues);\n detectUnknownCrossRefs(snapshot, options, issues);\n\n const ok = issues.every(\n issue => issue.severity !== RequirementsSnapshotIssueSeverity.ERROR,\n );\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per rule, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectInvalidRefFormats(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n snapshot.functional.forEach((entry, index) => {\n if (FUNCTIONAL_REQUIREMENT_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `functional[${index}].ref`,\n message: `Functional-requirement ref \"${entry.ref}\" is not kebab-case with the \"functional-requirement-\" prefix.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n snapshot.nonFunctional.forEach((entry, index) => {\n if (NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `nonFunctional[${index}].ref`,\n message: `Non-functional-requirement ref \"${entry.ref}\" is not kebab-case with the \"nfr-\" prefix.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRefs(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n reportDuplicates(\n snapshot.functional.map(entry => entry.ref),\n 'functional',\n issues,\n );\n reportDuplicates(\n snapshot.nonFunctional.map(entry => entry.ref),\n 'nonFunctional',\n issues,\n );\n}\n\nfunction reportDuplicates(\n refs: string[],\n collection: string,\n issues: RequirementsSnapshotIssue[],\n): void {\n const seen = new Set<string>();\n refs.forEach((ref, index) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: RequirementsSnapshotIssueKind.DUPLICATE_REF,\n path: `${collection}[${index}].ref`,\n message: `Duplicate ref \"${ref}\" in ${collection} — refs must be unique; the collection is addressed by ref downstream.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCrossRefs(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkList = (\n refs: readonly string[] | undefined,\n entity: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n path: string,\n ): void => {\n if (refs === undefined) return;\n const seen = new Set<string>();\n refs.forEach((ref, refIndex) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: RequirementsSnapshotIssueKind.DUPLICATE_CROSS_REF,\n path: `${path}[${refIndex}]`,\n message: `Cross-ref \"${ref}\" is listed more than once on requirement \"${entity.ref}\" (${path}). Remove the duplicate.`,\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n });\n };\n\n const checkEntity = (\n entry: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n collection: string,\n index: number,\n ): void => {\n checkList(entry.icpRefs, entry, `${collection}[${index}].icpRefs`);\n checkList(entry.jobRefs, entry, `${collection}[${index}].jobRefs`);\n checkList(entry.painRefs, entry, `${collection}[${index}].painRefs`);\n };\n\n snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));\n snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));\n}\n\nfunction detectIncompleteness(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n if (snapshot.functional.length === 0) {\n issues.push({\n kind: RequirementsSnapshotIssueKind.NO_FUNCTIONAL_REQUIREMENTS,\n path: 'functional',\n message: 'Requirements brief states no functional requirements — it describes no capability the product must provide.',\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n }\n}\n\nfunction detectStaleAuthored(\n snapshot: RequirementsSnapshot,\n now: Date,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkOne = (authored: RequirementsAuthoredMetadata | undefined, path: string): void => {\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.STALE_AUTHORED,\n path,\n message: `Requirements entity at \"${path}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-author or remove the cadence.`,\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n };\n\n snapshot.functional.forEach((entry, index) =>\n checkOne(entry.authored, `functional[${index}].authored`),\n );\n snapshot.nonFunctional.forEach((entry, index) =>\n checkOne(entry.authored, `nonFunctional[${index}].authored`),\n );\n}\n\nfunction detectUnknownCrossRefs(\n snapshot: RequirementsSnapshot,\n options: ValidateRequirementsSnapshotOptions | undefined,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkEntity = (\n entry: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n collection: string,\n index: number,\n ): void => {\n if (options?.availableIcpRefs !== undefined) {\n entry.icpRefs?.forEach((icpRef, refIndex) => {\n if (options.availableIcpRefs!.has(icpRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_ICP_REF,\n path: `${collection}[${index}].icpRefs[${refIndex}]`,\n message: `ICP ref \"${icpRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied ICP-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availableJobRefs !== undefined) {\n entry.jobRefs?.forEach((jobRef, refIndex) => {\n if (options.availableJobRefs!.has(jobRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_JOB_REF,\n path: `${collection}[${index}].jobRefs[${refIndex}]`,\n message: `Job ref \"${jobRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied job-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availablePainRefs !== undefined) {\n entry.painRefs?.forEach((painRef, refIndex) => {\n if (options.availablePainRefs!.has(painRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_PAIN_REF,\n path: `${collection}[${index}].painRefs[${refIndex}]`,\n message: `Pain ref \"${painRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied pain-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n };\n\n snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));\n snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));\n if (options?.availablePainRefs !== undefined) {\n (snapshot.excludedMarketPains ?? []).forEach((excluded, index) => {\n if (options.availablePainRefs!.has(excluded.painRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_PAIN_REF,\n path: `excludedMarketPains[${index}].painRef`,\n message: `Excluded pain \"${excluded.painRef}\" does not resolve in the supplied pain-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n}\n/** @wildo_source:part:end requirements.snapshot.validation */\n"]}
@@ -12,6 +12,49 @@ import { z } from 'zod';
12
12
  export declare enum RequirementsSnapshotVersion {
13
13
  V1 = "v1"
14
14
  }
15
+ /**
16
+ * A fact the product's creator STATED that the requirements deliberately do not turn into a requirement, with the
17
+ * reason.
18
+ *
19
+ * Every stated fact (a data class the product holds, a regulation that applies, a country it serves, a workflow stage,
20
+ * a user group, a scope boundary) is either carried by a requirement or listed here. Without this list, a fact the
21
+ * requirements leave out cannot be told apart from one nobody considered.
22
+ *
23
+ * Not a requirement: it carries no ref and nothing plans against it. Keep `statedFact` close to the creator's words,
24
+ * and make `reason` say why the product does not take it on (out of this horizon, left to another tool, contradicted by
25
+ * a later answer).
26
+ *
27
+ * @example
28
+ * excludedStatedFacts: [
29
+ * { statedFact: 'Invoices are issued from the product.', reason: 'Invoicing stays in the customer\'s accounting tool.' },
30
+ * ]
31
+ */
32
+ export declare const RequirementsExcludedStatedFactSchema: z.ZodObject<{
33
+ /** The creator's statement, quoted or closely paraphrased ("Quotes carry the customer's VAT identification number"). */
34
+ statedFact: z.ZodString;
35
+ /** Why no requirement carries it (out of this horizon, left to another tool, contradicted by a later answer). */
36
+ reason: z.ZodString;
37
+ }, z.core.$strict>;
38
+ export type RequirementsExcludedStatedFact = z.infer<typeof RequirementsExcludedStatedFactSchema>;
39
+ /**
40
+ * A market PAIN the requirements deliberately do not relieve, with the reason.
41
+ *
42
+ * Every high-severity pain of the targeted customers (severity 7 or more on a CORE or EXPANSION ICP, or on one of its
43
+ * personas) is either relieved by a requirement (`painRefs`) or listed here. Without the list, a pain the product chose
44
+ * not to take on cannot be told apart from one nobody read.
45
+ *
46
+ * @example
47
+ * excludedMarketPains: [
48
+ * { painRef: 'pain-missed-follow-ups', reason: 'Follow-up reminders are the next horizon; the first ships quoting.' },
49
+ * ]
50
+ */
51
+ export declare const RequirementsExcludedMarketPainSchema: z.ZodObject<{
52
+ /** The market pain's ref (`pain-…`). */
53
+ painRef: z.ZodString;
54
+ /** Why no requirement relieves it (a later horizon, outside the product, served by another tool). */
55
+ reason: z.ZodString;
56
+ }, z.core.$strict>;
57
+ export type RequirementsExcludedMarketPain = z.infer<typeof RequirementsExcludedMarketPainSchema>;
15
58
  /**
16
59
  * THE requirements-snapshot payload — a **single aggregate per product**
17
60
  * (market / vision-snapshot style), NOT a keyed entries map (assertions
@@ -45,10 +88,17 @@ export declare enum RequirementsSnapshotVersion {
45
88
  * `NonFunctionalRequirementKind` (incl. `COMPLIANCE`, the seam the
46
89
  * compliance-posture playbook (U10) reads alongside vision compliance
47
90
  * constraints).
91
+ * - **`excludedStatedFacts`** — facts the creator stated that no
92
+ * requirement carries, each with its reason (`default([])`). Not
93
+ * ref-addressable: an exclusion is a recorded decision, not something
94
+ * later steps plan against.
95
+ * - **`excludedMarketPains`** — high-severity market pains no requirement
96
+ * relieves, each with its reason (`default([])`), the pain-side twin of
97
+ * `excludedStatedFacts`.
48
98
  *
49
99
  * Authored entirely in English (like the vision / market families).
50
100
  * Authoring-consistency (duplicate refs, ref format, incompleteness,
51
- * staleness, dangling ICP/job cross-refs) is checked by
101
+ * staleness, dangling ICP/job/pain cross-refs) is checked by
52
102
  * `validateRequirementsSnapshot` (see
53
103
  * `requirements-snapshot-validation.ts`); Zod enforces only structural
54
104
  * validity here.
@@ -62,6 +112,7 @@ export declare const RequirementsSnapshotSchema: z.ZodObject<{
62
112
  acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
63
113
  icpRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
114
  jobRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
+ painRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
116
  authored: z.ZodOptional<z.ZodObject<{
66
117
  lastAuthoredAt: z.ZodISODateTime;
67
118
  confidence: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("..").AuthoredConfidence>>;
@@ -79,6 +130,7 @@ export declare const RequirementsSnapshotSchema: z.ZodObject<{
79
130
  acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
80
131
  icpRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
81
132
  jobRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
133
+ painRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
82
134
  authored: z.ZodOptional<z.ZodObject<{
83
135
  lastAuthoredAt: z.ZodISODateTime;
84
136
  confidence: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("..").AuthoredConfidence>>;
@@ -87,6 +139,18 @@ export declare const RequirementsSnapshotSchema: z.ZodObject<{
87
139
  notes: z.ZodOptional<z.ZodString>;
88
140
  }, z.core.$strip>>;
89
141
  }, z.core.$strip>>>;
142
+ excludedStatedFacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
143
+ /** The creator's statement, quoted or closely paraphrased ("Quotes carry the customer's VAT identification number"). */
144
+ statedFact: z.ZodString;
145
+ /** Why no requirement carries it (out of this horizon, left to another tool, contradicted by a later answer). */
146
+ reason: z.ZodString;
147
+ }, z.core.$strict>>>;
148
+ excludedMarketPains: z.ZodDefault<z.ZodArray<z.ZodObject<{
149
+ /** The market pain's ref (`pain-…`). */
150
+ painRef: z.ZodString;
151
+ /** Why no requirement relieves it (a later horizon, outside the product, served by another tool). */
152
+ reason: z.ZodString;
153
+ }, z.core.$strict>>>;
90
154
  }, z.core.$strip>;
91
155
  export type RequirementsSnapshot = z.infer<typeof RequirementsSnapshotSchema>;
92
156
  /** @wildo_source:part:end requirements.snapshot.config */
@@ -1 +1 @@
1
- {"version":3,"file":"requirements-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;GASG;AACH,oBAAY,2BAA2B;IACrC,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,0DAA0D"}
1
+ {"version":3,"file":"requirements-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;GASG;AACH,oBAAY,2BAA2B;IACrC,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,oCAAoC;IAC/C,wHAAwH;;IAExH,iHAAiH;;kBAEjH,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oCAAoC;IAC/C,wCAAwC;;IAExC,qGAAqG;;kBAErG,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA3ErC,wHAAwH;;QAExH,iHAAiH;;;;QAkBjH,wCAAwC;;QAExC,qGAAqG;;;iBA+DrG,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,0DAA0D"}
@@ -15,6 +15,47 @@ export var RequirementsSnapshotVersion;
15
15
  (function (RequirementsSnapshotVersion) {
16
16
  RequirementsSnapshotVersion["V1"] = "v1";
17
17
  })(RequirementsSnapshotVersion || (RequirementsSnapshotVersion = {}));
18
+ /**
19
+ * A fact the product's creator STATED that the requirements deliberately do not turn into a requirement, with the
20
+ * reason.
21
+ *
22
+ * Every stated fact (a data class the product holds, a regulation that applies, a country it serves, a workflow stage,
23
+ * a user group, a scope boundary) is either carried by a requirement or listed here. Without this list, a fact the
24
+ * requirements leave out cannot be told apart from one nobody considered.
25
+ *
26
+ * Not a requirement: it carries no ref and nothing plans against it. Keep `statedFact` close to the creator's words,
27
+ * and make `reason` say why the product does not take it on (out of this horizon, left to another tool, contradicted by
28
+ * a later answer).
29
+ *
30
+ * @example
31
+ * excludedStatedFacts: [
32
+ * { statedFact: 'Invoices are issued from the product.', reason: 'Invoicing stays in the customer\'s accounting tool.' },
33
+ * ]
34
+ */
35
+ export const RequirementsExcludedStatedFactSchema = z.strictObject({
36
+ /** The creator's statement, quoted or closely paraphrased ("Quotes carry the customer's VAT identification number"). */
37
+ statedFact: z.string().trim().min(1),
38
+ /** Why no requirement carries it (out of this horizon, left to another tool, contradicted by a later answer). */
39
+ reason: z.string().trim().min(1),
40
+ });
41
+ /**
42
+ * A market PAIN the requirements deliberately do not relieve, with the reason.
43
+ *
44
+ * Every high-severity pain of the targeted customers (severity 7 or more on a CORE or EXPANSION ICP, or on one of its
45
+ * personas) is either relieved by a requirement (`painRefs`) or listed here. Without the list, a pain the product chose
46
+ * not to take on cannot be told apart from one nobody read.
47
+ *
48
+ * @example
49
+ * excludedMarketPains: [
50
+ * { painRef: 'pain-missed-follow-ups', reason: 'Follow-up reminders are the next horizon; the first ships quoting.' },
51
+ * ]
52
+ */
53
+ export const RequirementsExcludedMarketPainSchema = z.strictObject({
54
+ /** The market pain's ref (`pain-…`). */
55
+ painRef: z.string().trim().min(1),
56
+ /** Why no requirement relieves it (a later horizon, outside the product, served by another tool). */
57
+ reason: z.string().trim().min(1),
58
+ });
18
59
  /**
19
60
  * THE requirements-snapshot payload — a **single aggregate per product**
20
61
  * (market / vision-snapshot style), NOT a keyed entries map (assertions
@@ -48,10 +89,17 @@ export var RequirementsSnapshotVersion;
48
89
  * `NonFunctionalRequirementKind` (incl. `COMPLIANCE`, the seam the
49
90
  * compliance-posture playbook (U10) reads alongside vision compliance
50
91
  * constraints).
92
+ * - **`excludedStatedFacts`** — facts the creator stated that no
93
+ * requirement carries, each with its reason (`default([])`). Not
94
+ * ref-addressable: an exclusion is a recorded decision, not something
95
+ * later steps plan against.
96
+ * - **`excludedMarketPains`** — high-severity market pains no requirement
97
+ * relieves, each with its reason (`default([])`), the pain-side twin of
98
+ * `excludedStatedFacts`.
51
99
  *
52
100
  * Authored entirely in English (like the vision / market families).
53
101
  * Authoring-consistency (duplicate refs, ref format, incompleteness,
54
- * staleness, dangling ICP/job cross-refs) is checked by
102
+ * staleness, dangling ICP/job/pain cross-refs) is checked by
55
103
  * `validateRequirementsSnapshot` (see
56
104
  * `requirements-snapshot-validation.ts`); Zod enforces only structural
57
105
  * validity here.
@@ -62,6 +110,10 @@ export const RequirementsSnapshotSchema = z.object({
62
110
  functional: z.array(FunctionalRequirementConfigSchema).default([]),
63
111
  /** Qualities the product must exhibit (incl. compliance). Ref-addressable. */
64
112
  nonFunctional: z.array(NonFunctionalRequirementConfigSchema).default([]),
113
+ /** Stated facts no requirement carries, each with why (#2499). */
114
+ excludedStatedFacts: z.array(RequirementsExcludedStatedFactSchema).default([]),
115
+ /** Market pains no requirement relieves, each with why (#2500). */
116
+ excludedMarketPains: z.array(RequirementsExcludedMarketPainSchema).default([]),
65
117
  });
66
118
  /** @wildo_source:part:end requirements.snapshot.config */
67
119
  //# sourceMappingURL=requirements-snapshot.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"requirements-snapshot.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,sCAAsC,CAAC;AAE5F;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,2BAEX;AAFD,WAAY,2BAA2B;IACrC,wCAAS,CAAA;AACX,CAAC,EAFW,2BAA2B,KAA3B,2BAA2B,QAEtC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC,EAAE,CAAC;IACpF,8DAA8D;IAC9D,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClE,8EAA8E;IAC9E,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CACzE,CAAC,CAAC;AAEH,0DAA0D","sourcesContent":["import { z } from 'zod';\n\nimport { FunctionalRequirementConfigSchema } from './functional-requirement.schemas';\nimport { NonFunctionalRequirementConfigSchema } from './non-functional-requirement.schemas';\n\n/**\n * @wildo_source:part:start requirements.snapshot.config facet:layer:specification facet:family:requirements\n *\n * Versioning for the requirements-snapshot payload format itself.\n * `V1` — initial shape (functional + non-functional requirement\n * collections). The shape grows additively across versions — older\n * callers keep parsing newer payloads via `default([])` semantics on the\n * additive members; the `version` field is the explicit marker for\n * consumers that need to branch on era.\n */\nexport enum RequirementsSnapshotVersion {\n V1 = 'v1',\n}\n\n/**\n * THE requirements-snapshot payload — a **single aggregate per product**\n * (market / vision-snapshot style), NOT a keyed entries map (assertions\n * style): there is exactly one requirements brief per application. It is\n * the requirements-layer artifact the app-creation top-down catalog\n * reads/writes (C-4 definition families), and the primary input the\n * capability-map playbook (U8) consumes to draft spec-first features.\n *\n * **Artifact-family id: `requirements`.** This schema is the shape of the\n * journey artifact selected by\n * `MetaWorkflow_ArtifactSelector.family === 'requirements'` (the id\n * already listed in that selector's JSDoc vocabulary next to\n * `vision-brief` / `market-snapshot`). The `family` vocabulary is an OPEN\n * string by design (owned by the assertion surface, not a frozen enum —\n * see `MetaWorkflow_ArtifactSelectorSchema`), so it is intentionally NOT\n * re-declared as a constant here; this note is the single place that ties\n * the `RequirementsSnapshot` SHAPE to the `requirements` family NAME so\n * the capability-map playbook (U8) and the WT dogfood (D1) select it\n * consistently.\n *\n * Shape decision (framework mindset — each member carries its own\n * semantic weight, no folding into `FeatureSpecification`,\n * `MilestoneSpecification`, or the vision / market families):\n *\n * - **`functional`** — ref-addressable collection of capabilities the\n * product must provide (`default([])`). An empty collection is a\n * first-class \"not yet elicited\" state surfaced as a WARN by\n * `validateRequirementsSnapshot`, never a parse failure.\n * - **`nonFunctional`** — ref-addressable collection of qualities the\n * product must exhibit (`default([])`), classified by\n * `NonFunctionalRequirementKind` (incl. `COMPLIANCE`, the seam the\n * compliance-posture playbook (U10) reads alongside vision compliance\n * constraints).\n *\n * Authored entirely in English (like the vision / market families).\n * Authoring-consistency (duplicate refs, ref format, incompleteness,\n * staleness, dangling ICP/job cross-refs) is checked by\n * `validateRequirementsSnapshot` (see\n * `requirements-snapshot-validation.ts`); Zod enforces only structural\n * validity here.\n */\nexport const RequirementsSnapshotSchema = z.object({\n version: z.enum(RequirementsSnapshotVersion).default(RequirementsSnapshotVersion.V1),\n /** Capabilities the product must provide. Ref-addressable. */\n functional: z.array(FunctionalRequirementConfigSchema).default([]),\n /** Qualities the product must exhibit (incl. compliance). Ref-addressable. */\n nonFunctional: z.array(NonFunctionalRequirementConfigSchema).default([]),\n});\nexport type RequirementsSnapshot = z.infer<typeof RequirementsSnapshotSchema>;\n/** @wildo_source:part:end requirements.snapshot.config */\n"]}
1
+ {"version":3,"file":"requirements-snapshot.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,sCAAsC,CAAC;AAE5F;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,2BAEX;AAFD,WAAY,2BAA2B;IACrC,wCAAS,CAAA;AACX,CAAC,EAFW,2BAA2B,KAA3B,2BAA2B,QAEtC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAAC;IACjE,wHAAwH;IACxH,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACpC,iHAAiH;IACjH,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACjC,CAAC,CAAC;AAGH;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAAC;IACjE,wCAAwC;IACxC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,qGAAqG;IACrG,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACjC,CAAC,CAAC;AAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC,EAAE,CAAC;IACpF,8DAA8D;IAC9D,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClE,8EAA8E;IAC9E,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACxE,kEAAkE;IAClE,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9E,mEAAmE;IACnE,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC/E,CAAC,CAAC;AAEH,0DAA0D","sourcesContent":["import { z } from 'zod';\n\nimport { FunctionalRequirementConfigSchema } from './functional-requirement.schemas';\nimport { NonFunctionalRequirementConfigSchema } from './non-functional-requirement.schemas';\n\n/**\n * @wildo_source:part:start requirements.snapshot.config facet:layer:specification facet:family:requirements\n *\n * Versioning for the requirements-snapshot payload format itself.\n * `V1` — initial shape (functional + non-functional requirement\n * collections). The shape grows additively across versions — older\n * callers keep parsing newer payloads via `default([])` semantics on the\n * additive members; the `version` field is the explicit marker for\n * consumers that need to branch on era.\n */\nexport enum RequirementsSnapshotVersion {\n V1 = 'v1',\n}\n\n/**\n * A fact the product's creator STATED that the requirements deliberately do not turn into a requirement, with the\n * reason.\n *\n * Every stated fact (a data class the product holds, a regulation that applies, a country it serves, a workflow stage,\n * a user group, a scope boundary) is either carried by a requirement or listed here. Without this list, a fact the\n * requirements leave out cannot be told apart from one nobody considered.\n *\n * Not a requirement: it carries no ref and nothing plans against it. Keep `statedFact` close to the creator's words,\n * and make `reason` say why the product does not take it on (out of this horizon, left to another tool, contradicted by\n * a later answer).\n *\n * @example\n * excludedStatedFacts: [\n * { statedFact: 'Invoices are issued from the product.', reason: 'Invoicing stays in the customer\\'s accounting tool.' },\n * ]\n */\nexport const RequirementsExcludedStatedFactSchema = z.strictObject({\n /** The creator's statement, quoted or closely paraphrased (\"Quotes carry the customer's VAT identification number\"). */\n statedFact: z.string().trim().min(1),\n /** Why no requirement carries it (out of this horizon, left to another tool, contradicted by a later answer). */\n reason: z.string().trim().min(1),\n});\nexport type RequirementsExcludedStatedFact = z.infer<typeof RequirementsExcludedStatedFactSchema>;\n\n/**\n * A market PAIN the requirements deliberately do not relieve, with the reason.\n *\n * Every high-severity pain of the targeted customers (severity 7 or more on a CORE or EXPANSION ICP, or on one of its\n * personas) is either relieved by a requirement (`painRefs`) or listed here. Without the list, a pain the product chose\n * not to take on cannot be told apart from one nobody read.\n *\n * @example\n * excludedMarketPains: [\n * { painRef: 'pain-missed-follow-ups', reason: 'Follow-up reminders are the next horizon; the first ships quoting.' },\n * ]\n */\nexport const RequirementsExcludedMarketPainSchema = z.strictObject({\n /** The market pain's ref (`pain-…`). */\n painRef: z.string().trim().min(1),\n /** Why no requirement relieves it (a later horizon, outside the product, served by another tool). */\n reason: z.string().trim().min(1),\n});\nexport type RequirementsExcludedMarketPain = z.infer<typeof RequirementsExcludedMarketPainSchema>;\n\n/**\n * THE requirements-snapshot payload — a **single aggregate per product**\n * (market / vision-snapshot style), NOT a keyed entries map (assertions\n * style): there is exactly one requirements brief per application. It is\n * the requirements-layer artifact the app-creation top-down catalog\n * reads/writes (C-4 definition families), and the primary input the\n * capability-map playbook (U8) consumes to draft spec-first features.\n *\n * **Artifact-family id: `requirements`.** This schema is the shape of the\n * journey artifact selected by\n * `MetaWorkflow_ArtifactSelector.family === 'requirements'` (the id\n * already listed in that selector's JSDoc vocabulary next to\n * `vision-brief` / `market-snapshot`). The `family` vocabulary is an OPEN\n * string by design (owned by the assertion surface, not a frozen enum —\n * see `MetaWorkflow_ArtifactSelectorSchema`), so it is intentionally NOT\n * re-declared as a constant here; this note is the single place that ties\n * the `RequirementsSnapshot` SHAPE to the `requirements` family NAME so\n * the capability-map playbook (U8) and the WT dogfood (D1) select it\n * consistently.\n *\n * Shape decision (framework mindset — each member carries its own\n * semantic weight, no folding into `FeatureSpecification`,\n * `MilestoneSpecification`, or the vision / market families):\n *\n * - **`functional`** — ref-addressable collection of capabilities the\n * product must provide (`default([])`). An empty collection is a\n * first-class \"not yet elicited\" state surfaced as a WARN by\n * `validateRequirementsSnapshot`, never a parse failure.\n * - **`nonFunctional`** — ref-addressable collection of qualities the\n * product must exhibit (`default([])`), classified by\n * `NonFunctionalRequirementKind` (incl. `COMPLIANCE`, the seam the\n * compliance-posture playbook (U10) reads alongside vision compliance\n * constraints).\n * - **`excludedStatedFacts`** — facts the creator stated that no\n * requirement carries, each with its reason (`default([])`). Not\n * ref-addressable: an exclusion is a recorded decision, not something\n * later steps plan against.\n * - **`excludedMarketPains`** — high-severity market pains no requirement\n * relieves, each with its reason (`default([])`), the pain-side twin of\n * `excludedStatedFacts`.\n *\n * Authored entirely in English (like the vision / market families).\n * Authoring-consistency (duplicate refs, ref format, incompleteness,\n * staleness, dangling ICP/job/pain cross-refs) is checked by\n * `validateRequirementsSnapshot` (see\n * `requirements-snapshot-validation.ts`); Zod enforces only structural\n * validity here.\n */\nexport const RequirementsSnapshotSchema = z.object({\n version: z.enum(RequirementsSnapshotVersion).default(RequirementsSnapshotVersion.V1),\n /** Capabilities the product must provide. Ref-addressable. */\n functional: z.array(FunctionalRequirementConfigSchema).default([]),\n /** Qualities the product must exhibit (incl. compliance). Ref-addressable. */\n nonFunctional: z.array(NonFunctionalRequirementConfigSchema).default([]),\n /** Stated facts no requirement carries, each with why (#2499). */\n excludedStatedFacts: z.array(RequirementsExcludedStatedFactSchema).default([]),\n /** Market pains no requirement relieves, each with why (#2500). */\n excludedMarketPains: z.array(RequirementsExcludedMarketPainSchema).default([]),\n});\nexport type RequirementsSnapshot = z.infer<typeof RequirementsSnapshotSchema>;\n/** @wildo_source:part:end requirements.snapshot.config */\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"requirements.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAM1E;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,wBA6BzC,CAAC"}
1
+ {"version":3,"file":"requirements.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAM1E;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,wBA+BzC,CAAC"}
@@ -23,6 +23,7 @@ export const REQUIREMENTS_FAMILY_ASPECTS = {
23
23
  edges: [
24
24
  { field: 'icpRefs', targetAspects: ['market.icp'] },
25
25
  { field: 'jobRefs', targetAspects: ['market.job'] },
26
+ { field: 'painRefs', targetAspects: ['market.pain'] },
26
27
  ],
27
28
  },
28
29
  {
@@ -35,6 +36,7 @@ export const REQUIREMENTS_FAMILY_ASPECTS = {
35
36
  edges: [
36
37
  { field: 'icpRefs', targetAspects: ['market.icp'] },
37
38
  { field: 'jobRefs', targetAspects: ['market.job'] },
39
+ { field: 'painRefs', targetAspects: ['market.pain'] },
38
40
  ],
39
41
  },
40
42
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"requirements.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAA6B;IACnE,SAAS,EAAE,+CAA+C,CAAC,qBAAqB;IAChF,OAAO,EAAE;QACP;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,iCAAiC;YAC7C,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,WAAW;YAC1B,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBACnD,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;aACpD;SACF;QACD;YACE,GAAG,EAAE,6BAA6B;YAClC,YAAY,EAAE,eAAe;YAC7B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,oCAAoC;YAChD,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,WAAW;YAC1B,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBACnD,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;aACpD;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { FunctionalRequirementConfigSchema } from './functional-requirement.schemas';\nimport { NonFunctionalRequirementConfigSchema } from './non-functional-requirement.schemas';\nimport { MetaWorkflow_ArtifactIntent } from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * The requirements family's aspects. The two collections stay two ASPECT KINDS (they have\n * different anatomies and different key namespaces: `functional-requirement-*` vs `nfr-*`) —\n * consumers that accept either (a roadmap phase's `deliversRequirementRefs`) declare BOTH as\n * edge targets and resolve by key membership.\n */\nexport const REQUIREMENTS_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.REQUIREMENTS_SNAPSHOT,\n aspects: [\n {\n key: 'requirements.functional',\n snapshotPath: 'functional',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FunctionalRequirementConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [\n { field: 'icpRefs', targetAspects: ['market.icp'] },\n { field: 'jobRefs', targetAspects: ['market.job'] },\n ],\n },\n {\n key: 'requirements.non-functional',\n snapshotPath: 'nonFunctional',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: NonFunctionalRequirementConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n edges: [\n { field: 'icpRefs', targetAspects: ['market.icp'] },\n { field: 'jobRefs', targetAspects: ['market.job'] },\n ],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"requirements.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,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AAa,CAAC,EAAE;aACtD;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { FunctionalRequirementConfigSchema } from './functional-requirement.schemas';\nimport { NonFunctionalRequirementConfigSchema } from './non-functional-requirement.schemas';\nimport { MetaWorkflow_ArtifactIntent } from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * The requirements family's aspects. The two collections stay two ASPECT KINDS (they have\n * different anatomies and different key namespaces: `functional-requirement-*` vs `nfr-*`) —\n * consumers that accept either (a roadmap phase's `deliversRequirementRefs`) declare BOTH as\n * edge targets and resolve by key membership.\n */\nexport const REQUIREMENTS_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.REQUIREMENTS_SNAPSHOT,\n aspects: [\n {\n key: 'requirements.functional',\n snapshotPath: 'functional',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FunctionalRequirementConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [\n { field: 'icpRefs', targetAspects: ['market.icp'] },\n { field: 'jobRefs', targetAspects: ['market.job'] },\n { field: 'painRefs', targetAspects: ['market.pain'] },\n ],\n },\n {\n key: 'requirements.non-functional',\n snapshotPath: 'nonFunctional',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: NonFunctionalRequirementConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n edges: [\n { field: 'icpRefs', targetAspects: ['market.icp'] },\n { field: 'jobRefs', targetAspects: ['market.job'] },\n { field: 'painRefs', targetAspects: ['market.pain'] },\n ],\n },\n ],\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { z } from 'zod';
2
2
  import type { CodeEnumMemberRef, CodeSymbolRef, EnumLikeType, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
3
3
  import type { LayoutRefManifest, ObjectShape, ResourceConfigLike, ResourceUIBehaviorConfig, ResourceUIBehavior_EmptyState, ResourceUIBehavior_GuidanceFlow } from '@wildo-ai/saas-frontend-lib/companion';
4
- import { CoreM2MNotificationChannel, CoreResourceOperation, ErrorCustomMessageReference, ErrorType, CoreUserNotificationChannel, CoreUserNotificationTarget, M2MNotificationLevel, ResourceOperationFrontendSurface, ResourcePrimaryScope, SystemEmailTemplateRef } from '@wildo-ai/saas-models';
4
+ import { CoreM2MNotificationChannel, CoreResourceOperation, ErrorCustomMessageReference, ErrorType, CoreUserNotificationChannel, CoreUserNotificationTarget, M2MNotificationLevel, M2MWebhookEventType, ResourceOperationFrontendSurface, ResourcePrimaryScope, SystemEmailTemplateRef } from '@wildo-ai/saas-models';
5
5
  import type { ResourceRelationship, ValidOperationKeys } from '@wildo-ai/saas-models';
6
6
  import { ResourceCollectionExportFormat } from '@wildo-ai/saas-models';
7
7
  import { type ExternalDataPipelineDescription } from '@wildo-ai/saas-models/external-data';
@@ -149,7 +149,7 @@ export interface ResourceOperationEmailDeliverySpecification {
149
149
  * Stable `SystemEmailTemplateRef` THIS delivery resolves to, when the
150
150
  * runtime template path corresponds to an entry registered in
151
151
  * `SystemEmailTemplateRegistry` (system-level emails such as
152
- * `WELCOME_EMAIL`, `ORGANIZATION_INVITATION`, …). Use it to cross-link a
152
+ * `WELCOME_EMAIL`, `RELATIONSHIP_INVITATION`, …). Use it to cross-link a
153
153
  * resource-initiated trigger to its authored
154
154
  * `SystemEmailTemplateSpecification` overlay in companion prompts.
155
155
  *
@@ -428,6 +428,13 @@ export interface ResourceOperationM2MDeliverySpecification {
428
428
  * use `M2MNotificationLevel` members; mirrors the runtime enum.
429
429
  */
430
430
  level?: M2MNotificationLevel | (string & {});
431
+ /**
432
+ * The outcomes this delivery announces — mirrors the runtime declaration's `events` (#2185). Omitted means
433
+ * `[operation.completed]`, as at runtime. `operation.failed` is announced only when a BACKGROUND run of the
434
+ * operation fails; state it here when the operation declares it, so a reader of the specification knows a
435
+ * receiver will hear about failures that no caller was waiting for.
436
+ */
437
+ events?: M2MWebhookEventType[];
431
438
  /**
432
439
  * Operation variant this delivery belongs to. `undefined` means the default
433
440
  * variant. Maps to `variantKey` on the runtime variant when present.
@@ -671,12 +678,19 @@ export type ResourceOperationScheduledExecutionSpecification = NativeCronJobSche
671
678
  * An enum (not a literal union) per the framework rule — a single source of
672
679
  * truth for the renderer and the OpenAPI generator. The string VALUE is the
673
680
  * OpenAPI `responses` key (`'200'`, `'404'`, …) so it splices in verbatim.
681
+ *
682
+ * **There is no `204`, on purpose.** Every operation a resource specification documents is served by
683
+ * the framework's resource controller, which answers `201` for a create, `202` for an operation that
684
+ * runs in the background, and `200` for everything else (or `404` when the row is not there). It never
685
+ * answers `204 No Content`. A delete answers `200` with a body, `{ id }` for one row and
686
+ * `{ deletedIds, deletedCount }` for a bulk delete, and clients read it: the deleted record's identity
687
+ * comes from that body. So document a delete as `OK_200`, for example
688
+ * `{ code: HttpResponseStatusCode.OK_200, meaning: 'The list was deleted; the body carries its id.' }`.
674
689
  */
675
690
  export declare enum HttpResponseStatusCode {
676
691
  OK_200 = "200",
677
692
  CREATED_201 = "201",
678
693
  ACCEPTED_202 = "202",
679
- NO_CONTENT_204 = "204",
680
694
  BAD_REQUEST_400 = "400",
681
695
  UNAUTHORIZED_401 = "401",
682
696
  FORBIDDEN_403 = "403",
@@ -959,7 +973,14 @@ export interface ResourceFrontendLayoutAspect {
959
973
  hasEditTemplate: boolean;
960
974
  }
961
975
  export interface ResourceFrontendConfigurationAspect<TCustomOp extends EnumLikeType | undefined, TCoreOp extends Partial<CoreResourceOperation> | undefined, TSchema extends z.ZodTypeAny> {
976
+ /** The schema the ui-behavior PRESENTS: its `fields` and `schemaOverride` composed in. */
962
977
  schema: TSchema;
978
+ /**
979
+ * The schema the ui-behavior was DECLARED over, before its `fields` (#2918). Two aspects merge when they were
980
+ * declared over the same schema, and each one's presentation is what its `schema` changes relative to this.
981
+ * Absent on an aspect built by hand, which then presents nothing beyond `schema`.
982
+ */
983
+ declaredSchema?: TSchema;
963
984
  label?: ResourceFrontendLabelAspect;
964
985
  emptyState?: ResourceUIBehavior_EmptyState;
965
986
  layout?: ResourceFrontendLayoutAspect;
@@ -1326,9 +1347,10 @@ export type ResourceSpecificationCallbackParams<TCustomOp extends EnumLikeType |
1326
1347
  * Return type of the base `resourceSpecification()` callback.
1327
1348
  *
1328
1349
  * Resource-level prose lives here alongside the per-field decorator container.
1329
- * The `fields` property works identically to `ResourceUIBehaviorConfig.fields`:
1330
- * calling `{primitive}Spec()` on a shape field mutates its metadata in place;
1331
- * the property itself exists for type safety and declaration.
1350
+ * The `fields` property works like `ResourceUIBehaviorConfig.fields`: calling
1351
+ * `{primitive}Spec()` on a shape field returns a decorated COPY (#1308), so the
1352
+ * declaration exists only in this record — which is what the specification layer
1353
+ * reads — and the resource's schema stays as it was declared.
1332
1354
  *
1333
1355
  * **Validator-entry contract — read this before constructing this object
1334
1356
  * directly (M5-9).** The cross-cutting fail-closed validators that protect
@@ -1435,6 +1457,19 @@ export type ResourceSpecificationConfig<TCustomOp extends EnumLikeType | undefin
1435
1457
  * a second copy of the declaration, and the second copy is the one that drifts.
1436
1458
  */
1437
1459
  externalDataPipeline?: ExternalDataPipelineDescription;
1460
+ /**
1461
+ * The fields that name a row of this resource: the resource configuration's `recordLabelFields` (#2779). Since #2775
1462
+ * that is a record's one name on every surface (a chat read command shows it too), and a resource declaring it may
1463
+ * not also carry a ui-behavior `getFrontendResourceLabel`, so the ui-behavior alone no longer says how a record is
1464
+ * named. `resourceSpecificationFromFrontendConfiguration` reads this to give the label aspect a `field-paths`
1465
+ * strategy, which is what lets a specification document `frontend.label` for such a resource.
1466
+ *
1467
+ * DERIVED, never authored, exactly like {@link externalDataPipeline}: `resourceSpecification()` refuses a callback
1468
+ * that returns it, and attaches it when it can materialize the resource configuration (the spec supplies
1469
+ * `resourceRelationships`). A spec on the explicit-scope path passes the configuration to
1470
+ * `resourceSpecificationFromFrontendConfiguration` as `options.resourceConfig` instead.
1471
+ */
1472
+ recordLabelFields?: readonly string[];
1438
1473
  /** Public-import-oriented metadata for downstream code-handling prompts. */
1439
1474
  codeHandling?: ResourceSpecificationCodeHandling;
1440
1475
  /**
@@ -1443,10 +1478,10 @@ export type ResourceSpecificationConfig<TCustomOp extends EnumLikeType | undefin
1443
1478
  * Keys are field names of `TMainSchema`; values are decorated Zod schemas
1444
1479
  * from the same shape (e.g., `shape.status.enumSpec({ ... })`).
1445
1480
  *
1446
- * The merge happens at **module evaluation time** — calling `.enumSpec()`
1447
- * on a shape field mutates its metadata in place. The `fields` property
1448
- * exists primarily for type safety (`keyof ObjectShape<TMainSchema>`) and
1449
- * as a declaration container — same semantics as `ResourceUIBehavior.fields`.
1481
+ * Calling `.enumSpec()` on a shape field returns a decorated COPY of it (#1308);
1482
+ * this record is where that copy lives and where the specification layer reads
1483
+ * it (a nested leaf reaches it inside a copy of its parent, `withObjectFields`).
1484
+ * Keys are typed by `keyof ObjectShape<TMainSchema>`.
1450
1485
  */
1451
1486
  fields?: {
1452
1487
  [K in keyof ObjectShape<TSchema>]?: ObjectShape<TSchema>[K];
@@ -1603,11 +1638,12 @@ export type ResourceSpecificationOptions = {
1603
1638
  * used to resolve `ObjectShape` so that `{primitive}Spec()` decorators
1604
1639
  * are type-checked against real fields.
1605
1640
  *
1606
- * The callback runs immediately at module evaluation time. In the companion
1607
- * context (where specifications are imported), this attaches `{primitive}Spec`
1608
- * metadata to the schema's `customFieldMetadata`. In the frontend context
1609
- * (where specifications are never imported), this code never runs, so no
1610
- * semantic prose ends up in the browser bundle.
1641
+ * The callback runs immediately at module evaluation time. A `{primitive}Spec()`
1642
+ * decorator returns a decorated COPY of the field and leaves the schema as
1643
+ * declared, so the declarations live in the returned `fields` record, which is
1644
+ * what the companion reads. In the frontend context (where specifications are
1645
+ * never imported), this code never runs, so no semantic prose ends up in the
1646
+ * browser bundle.
1611
1647
  *
1612
1648
  * **Explicit scope declaration.** The fourth `options` argument carries an
1613
1649
  * explicit `resourcePrimaryScope`. TypeScript enforces its presence at compile
@@ -1686,6 +1722,11 @@ export declare function resourceFrontendConfiguration<TCustomOp extends EnumLike
1686
1722
  * guidance flows, surfaced operation variants) and last-write-wins where the
1687
1723
  * frontend model is override-based (label strategy, empty state field values,
1688
1724
  * individual relationship override entries).
1725
+ *
1726
+ * The configurations must be declared over the same schema. Their presentations
1727
+ * merge per field and per decorator, the later one winning (#2918): a main and an
1728
+ * admin ui-behavior that each decorate a field present both decorations, where
1729
+ * they used to be refused for no longer sharing that field's instance.
1689
1730
  */
1690
1731
  export declare function mergeResourceFrontendConfigurations<TCustomOp extends EnumLikeType | undefined, TCoreOp extends Partial<CoreResourceOperation> | undefined, TSchema extends z.ZodTypeAny>(...configs: Array<ResourceFrontendConfigurationAspect<TCustomOp, TCoreOp, TSchema>>): ResourceFrontendConfigurationAspect<TCustomOp, TCoreOp, TSchema>;
1691
1732
  /**