@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":"computed-document-facts.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/computed-document-facts.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAC1B,iBAAiB,EACjB,iCAAiC,GAUlC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,0DAA0D,EAC1D,0CAA0C,EAC1C,sCAAsC,EACtC,oBAAoB,EACpB,sBAAsB,GAGvB,MAAM,iGAAiG,CAAC;AACzG,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,kCAAkC,GAEnC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,iCAAiC,EAAE,6BAA6B,EAA4B,MAAM,gCAAgC,CAAC;AAC5I,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAA+B,MAAM,iCAAiC,CAAC;AACtI,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAwFxF;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,wBAWX;AAXD,WAAY,wBAAwB;IAClC,yGAAyG;IACzG,2EAA+C,CAAA;IAC/C,gHAAgH;IAChH,2DAA+B,CAAA;IAC/B;;;;OAIG;IACH,6DAAiC,CAAA;AACnC,CAAC,EAXW,wBAAwB,KAAxB,wBAAwB,QAWnC;AAED,kHAAkH;AAClH,MAAM,UAAU,yBAAyB,CAAC,SAA6B,EAAE,kBAA0B;IACjG,MAAM,UAAU,GAA+B,EAAE,CAAC;IAClD,IAAI,kBAAkB,GAAG,CAAC;QAAE,UAAU,CAAC,IAAI,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,CAAC;IAC5F,IAAI,SAAS,KAAK,kBAAkB,CAAC,KAAK;QAAE,UAAU,CAAC,IAAI,CAAC,wB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B,EAAE,MAAM,CAAC,oBAAoB;QACjD,YAAY;KACb,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n complaintRouteUnderRegime,\n dataProtectionRegimeOf,\n OperatorProcessingRole,\n rightsUnderRegime,\n subjectRequestResponderFor,\n DataRetentionClass,\n undeclaredRetentionClasses,\n isKeptUntilErased,\n RETENTION_CLASS_SWEEP_INTERVAL_MS,\n type ApplicationOperatorComplianceIdentity,\n type OperatorLawfulBasis,\n type ApplicationProviderComplianceChoices,\n type RetentionEnforcementEvidence,\n type ApplicationRetentionSchedule,\n type ErasureRetentionMode,\n type ResourceRetentionBinding,\n type ResourceStatutoryRetention,\n type SystemOfRecordPersonalDataOrigin,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n ApplicationAssuranceDocumentFactContributionResolutionKind,\n ApplicationDocumentFactSpecificationSchema,\n COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS,\n ComputedDocumentFact,\n computedDocumentFactOf,\n type ApplicationDerivedDocumentFactDeclaration,\n type ApplicationDocumentFactSpecification,\n} from \"../../application-creation/application-document-fact-specification.application-creation.schemas\";\nimport { AssuranceDocumentFactAuthorityKind } from \"../../assurance.exports\";\nimport {\n processorProcessingRegions,\n ProcessorRegisterEntryKind,\n ProcessorTransferDeterminationKind,\n type ApplicationProcessorRegister,\n} from \"./processor-register.schemas\";\nimport { joinRecipientPopulationToRegister, RecipientPopulationMemberKind, type RecipientPopulation } from \"./recipient-population.schemas\";\nimport { deriveRecipientDisclosures, SystemOfRecordDataFlowKind, type SystemOfRecordDataFlow } from \"./recipient-disclosures.schemas\";\nimport { deriveRetentionEnforcementFacts } from \"./retention-enforcement-facts.schemas\";\n\n/**\n * Computing the {@link ComputedDocumentFact} members, and laying them over the facts a file declares.\n *\n * See the vocabulary's own JSDoc for why these facts are computed at read and never stored. This module\n * is the one place their values are built: the companion calls it where the application's facts are\n * read, and nothing writes its output to disk.\n */\n\n/** The value type a KNOWN derived declaration carries. */\ntype DocumentFactValue = Extract<\n ApplicationDerivedDocumentFactDeclaration,\n { resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN }\n>[\"value\"];\n\n/** The typed declarations the computed facts are read from. Each is `undefined` when the application declares none. */\nexport interface ApplicationDocumentFactComputationInputs {\n readonly operatorComplianceIdentity: ApplicationOperatorComplianceIdentity | undefined;\n readonly processorRegister: ApplicationProcessorRegister | undefined;\n /**\n * WHO receives personal data, from {@link computeRecipientPopulation} — the same population the evidence\n * collector and the drafting brief read, so the three cannot disagree about who a recipient is (#1707).\n */\n readonly recipientPopulation: RecipientPopulation;\n /**\n * The system-of-record flows every resource declares (#1709), read off the materialized resources. OPTIONAL:\n * `undefined` means they could not be read, and each system-of-record recipient then reports its categories as not\n * derivable rather than as none.\n */\n readonly systemOfRecordFlows?: readonly SystemOfRecordDataFlow[] | undefined;\n /**\n * The `systemsOfRecord.<name>.vendor` of each declared instance (#1745), from {@link systemOfRecordVendorsOf} — what\n * the `system-of-record-sources` fact names beside the instance. OPTIONAL: an instance absent here is stated with no\n * vendor rather than guessed.\n */\n readonly systemOfRecordVendors?: Readonly<Record<string, string>> | undefined;\n /**\n * The `systemsOfRecord.<name>.personalDataOrigin` of each instance that declares one (#1745), from\n * `systemOfRecordPersonalDataOriginsOf` — whether its personal data can have come from publicly accessible sources.\n * An instance absent here has not stated it, and its sources carry no origin, so the notice marks it owed.\n */\n readonly systemOfRecordPersonalDataOrigins?: Readonly<Record<string, SystemOfRecordPersonalDataOrigin>> | undefined;\n /** `providerComplianceChoices`, read for the purposes each recipient links to (#1709). */\n readonly providerComplianceChoices?: ApplicationProviderComplianceChoices | undefined;\n /** `dataRetention` — the period per data class. Partial by design; absent means no schedule was declared. */\n readonly retentionSchedule: ApplicationRetentionSchedule | undefined;\n /**\n * What erasure does to each resource's rows, as the resources declare it. `undefined` when the resources\n * could not be read, which is not the same as \"none declared\" and must answer nothing.\n */\n readonly resourceErasureTreatments: readonly ResourceErasureTreatment[] | undefined;\n /**\n * How long each resource's rows are kept, as the resources declare it (#1613): its retention-class\n * binding, and whether a fixed `.ttl()` deletes its rows instead. OPTIONAL and separate from the\n * erasure treatments on purpose — the two are different axes. `undefined` means the bindings could not\n * be read, and the fact then states no mechanism rather than claiming none exists.\n */\n readonly resourceRetentionBindings?: readonly ResourceRetentionBindingFact[] | undefined;\n /** The `operatingJurisdictions` slugs — where the data comes FROM. `undefined` when none are declared. */\n readonly operatingJurisdictionSlugs: readonly string[] | undefined;\n /**\n * The retention-enforcement records of a window, as the evidence door answered them and the assurance\n * collector recorded them (#1636). OPTIONAL: `undefined` means no evidence was readable, and the\n * `retention-enforcement` fact then answers nothing — its clause is marked owed rather than claiming either\n * enforcement or its absence.\n */\n readonly retentionEnforcementEvidence?: RetentionEnforcementEvidence | undefined;\n}\n\n/** One resource's declared erasure treatment. `erasureRetentionMode` is absent when the resource declares none. */\nexport interface ResourceErasureTreatment {\n readonly resourceType: string;\n readonly erasureRetentionMode?: ErasureRetentionMode;\n /**\n * The statute that keeps the rows through an erasure (#1635). Present only where the resource declares\n * `retentionPolicy.statutoryRetention`; an erasure then restricts those rows until their period ends.\n */\n readonly statutoryRetention?: ResourceStatutoryRetention;\n}\n\n/** One resource's retention binding, as the retention-rules fact reads it. */\nexport interface ResourceRetentionBindingFact {\n readonly resourceType: string;\n readonly retentionBinding?: ResourceRetentionBinding;\n readonly declaresRowTtl: boolean;\n}\n\n/**\n * WHAT deletes data of a declared class when its period ends — the mechanism a retention clause may name.\n *\n * A statement about the application's CONFIGURATION (which mechanism the declarations wire up), not\n * runtime evidence that the mechanism ran: that is `ComputedDocumentFact.RETENTION_ENFORCEMENT`, computed\n * from the sweep's records (#1636). An empty list here means no mechanism is even wired for the class — a\n * notice must not describe a period nothing applies.\n */\nexport enum RetentionPeriodMechanism {\n /** At least one resource binds the class; the retention-class sweep deletes its rows past the period. */\n RETENTION_CLASS_SWEEP = \"RETENTION_CLASS_SWEEP\",\n /** The FILES class: file bytes released from their rows are destroyed by the files cleanup after the period. */\n FILES_CLEANUP = \"FILES_CLEANUP\",\n /**\n * The AUDIT_LOGS class: the audit trail is IMMUTABLE and never deleted; the period is its live-store\n * horizon, after which records are copied to the audit archive. A notice must not say audit records\n * are deleted.\n */\n AUDIT_ARCHIVAL = \"AUDIT_ARCHIVAL\",\n}\n\n/** The mechanisms that act on a declared class, given which resources bind it. Pure, so it is pinned directly. */\nexport function retentionPeriodMechanisms(dataClass: DataRetentionClass, boundResourceCount: number): RetentionPeriodMechanism[] {\n const mechanisms: RetentionPeriodMechanism[] = [];\n if (boundResourceCount > 0) mechanisms.push(RetentionPeriodMechanism.RETENTION_CLASS_SWEEP);\n if (dataClass === DataRetentionClass.FILES) mechanisms.push(RetentionPeriodMechanism.FILES_CLEANUP);\n if (dataClass === DataRetentionClass.AUDIT_LOGS) mechanisms.push(RetentionPeriodMechanism.AUDIT_ARCHIVAL);\n return mechanisms;\n}\n\n/** One computed fact's answer. Always KNOWN: a fact whose inputs are absent produces no answer at all. */\nexport interface ComputedDocumentFactAnswer {\n readonly fact: ComputedDocumentFact;\n readonly value: DocumentFactValue;\n /**\n * For a fact computed from RECORDS (`RUNTIME_EVIDENCE` in {@link COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS}):\n * the instant the evidence describes up to. Required for such a fact, absent for every other.\n */\n readonly observedAt?: string;\n}\n\n/**\n * How public each computed fact is. Every one is published in a privacy notice, so every one is public;\n * the table exists so a member added later must state its own sensitivity rather than inherit one.\n */\nconst COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS: Readonly<Record<ComputedDocumentFact, string>> = {\n [ComputedDocumentFact.CONTROLLER_AND_CONTACT]: \"sensitivity:public\",\n [ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: \"sensitivity:public\",\n [ComputedDocumentFact.LAWFUL_BASES]: \"sensitivity:public\",\n [ComputedDocumentFact.RETENTION_RULES]: \"sensitivity:public\",\n [ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: \"sensitivity:public\",\n [ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: \"sensitivity:public\",\n // Counts and resource types, published in the notice's retention section.\n [ComputedDocumentFact.RETENTION_ENFORCEMENT]: \"sensitivity:public\",\n // Instance names, vendors, resource types and categories, published in the notice's data-and-sources section.\n [ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES]: \"sensitivity:public\",\n};\n\n/**\n * The operator as controller or processor, and how a person reaches it about privacy.\n *\n * Answers nothing unless the legal entity, the privacy contact and the role allocations are ALL declared:\n * the blueprint's question is \"every party acting as controller … and the public privacy contact route\",\n * and a partial answer to it would read as a complete one.\n *\n * A `JOINT_CONTROLLER` allocation also answers nothing. The question asks for EVERY such party, and the\n * identity records the operator's role without naming the other controller, so no function can state\n * the whole answer. The fact stays absent and the clause is marked owed.\n */\nfunction computeControllerAndContact(identity: ApplicationOperatorComplianceIdentity | undefined): DocumentFactValue | undefined {\n if (identity?.legalEntityName === undefined || identity.privacyContact === undefined || identity.roleAllocations === undefined) {\n return undefined;\n }\n if (identity.roleAllocations.some((allocation) => allocation.role === OperatorProcessingRole.JOINT_CONTROLLER)) return undefined;\n return {\n legalEntityName: identity.legalEntityName,\n ...(identity.registeredAddress === undefined ? {} : { registeredAddress: identity.registeredAddress }),\n privacyContact: identity.privacyContact,\n ...(identity.representative === undefined\n ? {}\n : { representative: { name: identity.representative.name, address: identity.representative.address } }),\n roleAllocations: identity.roleAllocations.map((allocation) => ({ dataScope: allocation.dataScope, role: allocation.role })),\n };\n}\n\n/**\n * Who else receives personal data: the declared processors, plus every gap the join finds.\n *\n * Answers nothing when there is NO processor register. An absent register means nobody has looked,\n * and an answer computed from it would state \"no recipients\" about an application whose recipients\n * are simply undeclared.\n *\n * With a register, the gaps are part of the answer rather than a reason to withhold it. An operator\n * sub-processor with no established identity is IN USE, and saying so is true. A register entry that no\n * data path reaches is named so a drafter does not publish it. A self-hosted provider is named as\n * operator-run, so it is never mistaken for a third party. A TENANT recipient — a vendor reached only\n * through a tenant's or a person's own connected account — is named separately: it is the tenant's vendor,\n * not the operator's sub-processor, and a register entry for one is named as a misstatement. A declared\n * member no data path reaches is named so it is neither published nor lost. The classification is\n * {@link joinRecipientPopulationToRegister} over {@link computeRecipientPopulation}, the same one the\n * drafter's brief renders and the evidence collector measures.\n */\nfunction computeRecipientsAndProcessors(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const register = inputs.processorRegister;\n if (register === undefined) return undefined;\n const classification = joinRecipientPopulationToRegister(inputs.recipientPopulation, register);\n return {\n // A JSON round trip rather than a hand-listed projection: the register is already JSON-shaped, and a\n // field added to it later must reach the fact without an edit here. It also drops absent optional keys.\n processors: JSON.parse(JSON.stringify(register.processors)) as DocumentFactValue,\n processingRegions: [...processorProcessingRegions(register)],\n configuredProvidersWithoutEstablishedIdentity: [...classification.undeclaredProviderRefs],\n registeredProvidersNotConfigured: [...classification.staleProviderRefs],\n operatorRunProviderRefs: [...classification.operatorRunProviderRefs],\n tenantRecipientRefs: [...classification.tenantRecipientRefs],\n registeredTenantRecipientRefs: [...classification.registeredTenantRecipientRefs],\n declaredWithoutDataPathRefs: [...classification.declaredWithoutDataPathRefs],\n /*\n * Per recipient: the categories its DECLARED flows carry, and the purposes its choice links to (#1709). A\n * recipient whose flow declares no field map carries `categoriesNotDerivable` — the notice must say what is\n * not established rather than list nothing. The law asks for categories of data and of recipients (GDPR Art.\n * 30(1)(c), (d); Art. 13(1)(e)); stating which reach which is the practice that keeps them consistent.\n */\n recipientDisclosures: JSON.parse(JSON.stringify(deriveRecipientDisclosures({\n population: inputs.recipientPopulation,\n systemOfRecordFlows: inputs.systemOfRecordFlows,\n providerComplianceChoices: inputs.providerComplianceChoices,\n lawfulBases: inputs.operatorComplianceIdentity?.lawfulBases,\n }))) as DocumentFactValue,\n };\n}\n\n/**\n * Each processing purpose and the basis relied on for it, with the balancing assessment where there is one.\n *\n * Answers nothing when no basis is declared: absent means nobody has decided, and \"no lawful basis\" is a\n * statement no function may make on the operator's behalf. The assessment travels with its basis because\n * Art. 13(1)(d) requires a notice relying on legitimate interests to state WHICH interests.\n */\nfunction computeLawfulBases(identity: ApplicationOperatorComplianceIdentity | undefined): DocumentFactValue | undefined {\n if (identity?.lawfulBases === undefined) return undefined;\n return {\n bases: identity.lawfulBases.map((entry) => ({\n purpose: entry.purpose,\n // The stable id recipients link to (#1709), so a drafter can join a recipient's purposes to this list.\n ...(entry.purposeRef === undefined ? {} : { purposeRef: entry.purposeRef }),\n basis: entry.basis,\n ...(entry.assessmentNote === undefined ? {} : { assessmentNote: entry.assessmentNote }),\n })),\n };\n}\n\n/**\n * How long each class of data is kept and why, which classes have no period yet, and what erasure does to\n * each resource's rows.\n *\n * The blueprint asks for both halves — the period and \"the verified deletion or anonymization behavior\" —\n * and they come from two declarations on two axes: the period is the app-level `dataRetention` schedule\n * over `DataRetentionClass`, the treatment is each resource's `retentionPolicy.mode`. Neither stands in for\n * the other: a confident paragraph about impersonalization reads as an answer about how long, which is why\n * the schedule exists at all.\n *\n * Answers nothing without a schedule (nobody has decided a period, and \"kept forever\" is not what silence\n * means) or when the resources could not be read (the treatment half would be missing, and a fact reading\n * as complete without it is the failure above). With both, undeclared classes and resources declaring no\n * treatment are PART of the answer, named, exactly as the recipients fact names its gaps: the schedule is\n * partial on purpose and a notice marks the rest as owed.\n *\n * When the resources' retention bindings were readable (#1613), each period also names the resources bound\n * to it and the {@link RetentionPeriodMechanism}s that act on it — an EMPTY list is \"declared, not yet\n * enforced\", so a notice never describes a period nothing applies — and the resources bound to no class are\n * named, because they are kept until erased and nobody decided otherwise.\n */\nfunction computeRetentionRules(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const schedule = inputs.retentionSchedule;\n const treatments = inputs.resourceErasureTreatments;\n if (schedule === undefined || treatments === undefined) return undefined;\n const byResource = [...treatments].sort((left, right) => (left.resourceType < right.resourceType ? -1 : 1));\n // #1613: which resources bind each class, and which bind nothing. Only when the bindings were readable —\n // otherwise the fact names no mechanism rather than implying none exists.\n const bindings = inputs.resourceRetentionBindings;\n const boundByClass = new Map<string, string[]>();\n for (const binding of bindings ?? []) {\n if (!binding.retentionBinding) continue;\n const list = boundByClass.get(binding.retentionBinding.retentionClass) ?? [];\n list.push(binding.resourceType);\n boundByClass.set(binding.retentionBinding.retentionClass, list);\n }\n return {\n periods: Object.entries(schedule)\n .filter((entry): entry is [string, NonNullable<(typeof entry)[1]>] => entry[1] !== undefined)\n .map(([dataClass, period]) => {\n const bound = [...(boundByClass.get(dataClass) ?? [])].sort();\n return {\n dataClass,\n retentionDays: period.retentionDays,\n rationale: period.rationale,\n ...(bindings === undefined ? {} : {\n boundResourceTypes: bound,\n mechanisms: retentionPeriodMechanisms(dataClass as DataRetentionClass, bound.length) as string[],\n }),\n };\n })\n .sort((left, right) => (left.dataClass < right.dataClass ? -1 : 1)),\n ...(bindings === undefined ? {} : {\n // Kept until erased: no class binding and no `.ttl()`. Undecided, and named so it stays visible.\n resourcesBoundToNoRetentionClass: bindings\n .filter(isKeptUntilErased)\n .map((binding) => binding.resourceType)\n .sort(),\n }),\n classesWithoutDeclaredPeriod: [...undeclaredRetentionClasses(schedule)],\n erasureTreatments: byResource\n .filter((treatment) => treatment.erasureRetentionMode !== undefined)\n .map((treatment) => ({\n resourceType: treatment.resourceType,\n erasureRetentionMode: treatment.erasureRetentionMode as string,\n // #1635: the rows are kept RESTRICTED through an erasure because a statute requires it, until the period\n // ends. The notice names the ground and the law; it never says the erasure is refused because of them.\n ...(treatment.statutoryRetention === undefined\n ? {}\n : { statutoryRetention: { ground: treatment.statutoryRetention.ground as string, rationale: treatment.statutoryRetention.rationale } }),\n })),\n resourcesWithoutDeclaredErasureTreatment: byResource\n .filter((treatment) => treatment.erasureRetentionMode === undefined)\n .map((treatment) => treatment.resourceType),\n };\n}\n\n/**\n * Which processors are reached by a transfer out of the jurisdictions the data comes from, and under which\n * safeguard for each origin jurisdiction.\n *\n * Built from the operator's per-entry `transferDetermination` in the processor register, never from the\n * regions: those are free text, and the framework cannot tell whether `United States` or `eu-west-1` lies\n * outside a declared jurisdiction. It answers NOTHING without a register (nobody has looked) or without an\n * operating jurisdiction (the origin is unknown).\n *\n * Otherwise every gap is PART of the answer, as in the recipients fact, because each is a true statement a\n * notice must make rather than a reason to say nothing:\n * - `undeterminedRecipients` — a register entry with no determination, and a configured recipient candidate\n * the register does not establish at all (the same classification the recipients fact uses). Data may be\n * leaving through either, so neither may be left out of what reads as the transfer position;\n * - `safeguardGaps` — a declared origin jurisdiction a TRANSFER names no safeguard for.\n * An EMPTY register with no configured recipient states that nothing is transferred through a processor;\n * the operator's own establishment is stated by `controller-and-contact`.\n *\n * `operatorHostingRegions` is WHERE the operator's own infrastructure holds the data\n * (`operatorComplianceIdentity.hostingRegions`, #2285), beside the processors' regions, because a register says\n * nothing about the operator's own processing. `null` means the operator has not declared it, and is stated as\n * such: never \"hosted nowhere\", and never a reason to round the position up to \"no international transfer\".\n * Whether a hosting region makes a transfer stays the operator's recorded determination, never computed here.\n */\nfunction computeInternationalTransfers(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const register = inputs.processorRegister;\n const origins = inputs.operatingJurisdictionSlugs;\n if (register === undefined || origins === undefined) return undefined;\n const refOf = (processor: ApplicationProcessorRegister[\"processors\"][number]): string =>\n processor.kind === ProcessorRegisterEntryKind.CONFIGURED_PROVIDER ? processor.providerRef : processor.subprocessorRef;\n const classification = joinRecipientPopulationToRegister(inputs.recipientPopulation, register);\n const safeguardGaps: { processorRef: string; originJurisdictionSlug: string }[] = [];\n for (const processor of register.processors) {\n const determination = processor.transferDetermination;\n if (determination?.kind !== ProcessorTransferDeterminationKind.TRANSFER) continue;\n const covered = new Set(determination.safeguards.map((safeguard) => safeguard.originJurisdictionSlug));\n for (const origin of origins) if (!covered.has(origin)) safeguardGaps.push({ processorRef: refOf(processor), originJurisdictionSlug: origin });\n }\n const determined = register.processors.filter((processor) => processor.transferDetermination !== undefined);\n return {\n originJurisdictions: [...origins].sort(),\n processors: determined.map((processor) => ({\n processorRef: refOf(processor),\n legalEntityName: processor.legalEntityName,\n processingRegions: [...processor.processingRegions],\n // A JSON round trip for the same reason as the recipients fact: a field added to the determination later\n // must reach the fact without an edit here.\n transferDetermination: JSON.parse(JSON.stringify(processor.transferDetermination)) as DocumentFactValue,\n })),\n undeterminedRecipients: [\n ...register.processors.filter((processor) => processor.transferDetermination === undefined).map(refOf),\n ...classification.undeclaredProviderRefs,\n ],\n safeguardGaps,\n operatorHostingRegions: inputs.operatorComplianceIdentity?.hostingRegions === undefined ? null : [...inputs.operatorComplianceIdentity.hostingRegions],\n };\n}\n\n/**\n * Which rights a person holds, how they ask, how they are verified, who answers, and where they may complain.\n *\n * Every part is a declaration or follows from one. The rights and the complaint route follow from the law of\n * the regime each operating jurisdiction falls under, conditioned on the declared lawful bases\n * (`rightsUnderRegime`); the channel is `privacyContact`; the verification step is\n * `subjectRequestIdentityVerification`; who answers follows from the role the operator holds over each\n * population (`subjectRequestResponderFor`).\n *\n * Answers nothing when any of those declarations is missing, or when a joint controllership leaves \"who\n * answers\" to an arrangement nothing records. A jurisdiction no known regime reaches is NAMED in the answer\n * rather than withheld: the rights the application owes there are unknown to the framework, and a notice\n * must say so instead of presenting the known regimes as the whole.\n */\nfunction computeRightsAndComplaintRoute(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const identity = inputs.operatorComplianceIdentity;\n const origins = inputs.operatingJurisdictionSlugs;\n if (\n identity?.lawfulBases === undefined\n || identity.privacyContact === undefined\n || identity.roleAllocations === undefined\n || identity.subjectRequestIdentityVerification === undefined\n || origins === undefined\n ) {\n return undefined;\n }\n const responsibility = identity.roleAllocations.map((allocation) => ({ dataScope: allocation.dataScope, respondedBy: subjectRequestResponderFor(allocation.role) }));\n if (responsibility.some((entry) => entry.respondedBy === undefined)) return undefined;\n const sortedOrigins = [...origins].sort();\n const regimes = [...new Set(sortedOrigins.map((slug) => dataProtectionRegimeOf(slug)).filter((regime) => regime !== undefined))];\n return {\n regimes: regimes.map((regime) => ({\n regime,\n jurisdictions: sortedOrigins.filter((slug) => dataProtectionRegimeOf(slug) === regime),\n rights: rightsUnderRegime(regime, identity.lawfulBases!).map((entry) => ({ right: entry.right, provision: entry.provision, purposes: [...entry.purposes] })),\n complaintRoute: complaintRouteUnderRegime(regime),\n })),\n jurisdictionsWithoutKnownRegime: sortedOrigins.filter((slug) => dataProtectionRegimeOf(slug) === undefined),\n requestChannel: identity.privacyContact,\n identityVerification: identity.subjectRequestIdentityVerification,\n responseOwnership: responsibility.map((entry) => ({ dataScope: entry.dataScope, respondedBy: entry.respondedBy as string })),\n };\n}\n\n/**\n * Per declared class, whether its period is ENFORCED, only DECLARED, or FAILING — read from the records the\n * retention-class sweep wrote (#1636). The first `RUNTIME_EVIDENCE` answer.\n *\n * Answers nothing unless the schedule, the bindings AND the evidence were all readable: without the schedule\n * there is no declared class to speak of, without the bindings \"no bound resource\" cannot be told from \"could\n * not read them\", and without the evidence nothing is known about what the product did. Each absence leaves the\n * fact absent, so the clause resting on it is marked owed rather than reading \"declared, not enforced\" about an\n * application whose records simply were not collected.\n */\nfunction computeRetentionEnforcement(inputs: ApplicationDocumentFactComputationInputs): ComputedDocumentFactAnswer | undefined {\n const evidence = inputs.retentionEnforcementEvidence;\n if (inputs.retentionSchedule === undefined || inputs.resourceRetentionBindings === undefined || evidence === undefined) return undefined;\n const observedAt = new Date(evidence.window.to);\n if (Number.isNaN(observedAt.getTime())) return undefined;\n const facts = deriveRetentionEnforcementFacts({\n evidence,\n schedule: inputs.retentionSchedule,\n bindings: inputs.resourceRetentionBindings,\n observedAt,\n sweepIntervalMs: RETENTION_CLASS_SWEEP_INTERVAL_MS,\n });\n // Per class, the mechanisms that act on it and that these records CANNOT evidence (#1636 review): the audit trail\n // is archived, never swept, and file bytes are destroyed by the files cleanup. So ENFORCED on AUDIT_LOGS or FILES\n // speaks only for the resources bound to the class — the side tables — and a notice must not read it as covering\n // the audit trail or the stored files. Derived from `retentionPeriodMechanisms`, the same table retention-rules uses.\n const classes = facts.classes.map((entry) => ({\n ...entry,\n mechanismsNotEvidencedByTheseRecords: retentionPeriodMechanisms(entry.dataClass as DataRetentionClass, entry.boundResourceTypes.length)\n .filter((mechanism) => mechanism !== RetentionPeriodMechanism.RETENTION_CLASS_SWEEP) as string[],\n }));\n // A JSON round trip: the derivation's answer is JSON-shaped by construction and drops absent optional keys.\n return {\n fact: ComputedDocumentFact.RETENTION_ENFORCEMENT,\n value: JSON.parse(JSON.stringify({ ...facts, classes })) as DocumentFactValue,\n observedAt: facts.observedAt,\n };\n}\n\n/** One source of personal data the application did not collect from the person: one resource bound to, or piped from, a system of record. */\nexport interface SystemOfRecordSource {\n readonly system: string;\n /** `systemsOfRecord.<name>.vendor`, or `null` when the instance declares none. */\n readonly vendor: string | null;\n readonly resourceType: string;\n readonly flowKind: SystemOfRecordDataFlowKind;\n /**\n * The instance's declared `personalDataOrigin` — the Art. 14(2)(f) \"publicly accessible sources\" half. ABSENT when the\n * instance states none: that half is then owed, and is never read as \"not from public sources\".\n */\n readonly personalDataOrigin?: SystemOfRecordPersonalDataOrigin;\n readonly categories: readonly string[];\n readonly uncategorizedPersonalFields: readonly string[];\n readonly purposes: readonly { readonly purposeRef: string; readonly purpose: string; readonly basis: string }[];\n readonly purposeRefsNamingNoPurpose: readonly string[];\n /** `true` for a pipeline (a local copy), `false` for a read-through binding (nothing kept locally). */\n readonly copiedLocally: boolean;\n /** For a copy, when the bindings were read: no retention class and no `.ttl()` (#1613). Absent otherwise. */\n readonly keptUntilErased?: boolean;\n /** For a copy bound to a retention class, that class. */\n readonly retentionClass?: string;\n}\n\n/**\n * Where personal data the application did NOT collect from the person comes from: every resource bound to, or piped\n * from, a declared system of record (#1745) — the ONE derivation the `system-of-record-sources` fact and the evidence\n * collector both call, so what a notice states and what the evidence measures cannot disagree.\n *\n * A notice owes, for such data, \"from which source the personal data originate, and if applicable, whether it came\n * from publicly accessible sources\", beside the categories and the purposes and legal basis for the processing.\n * spec-cite: GDPR Art. 14(2)(f), 14(1)(c) and 14(1)(d), https://gdpr-info.eu/art-14-gdpr/.\n *\n * Every part of an entry is a declaration or follows from one:\n * - the SOURCE is the instance the binding names, with its declared vendor — the PROXIMATE source, a deployment the\n * operator runs and reads with its own service identity (#1049 Q2);\n * - the CATEGORIES are the `.dataCategories()` of the fields that come from it ({@link SystemOfRecordDataFlow}), and\n * personal fields that name none are named, so a list that is incomplete says so;\n * - the PURPOSES are the ones the binding links (`binding.purposeRefs`), resolved against the lawful bases; a flow that\n * links none states no purpose, and a ref naming no declared purpose is reported as a broken link;\n * - for a PIPELINE (a local copy), whether the copied rows are kept until erased — no retention class and no `.ttl()`\n * (#1613), which is exactly where a copy of a record the source keeps for years goes unnoticed. A read-through\n * binding keeps nothing locally, so it states `copiedLocally: false` instead.\n *\n * A flow that carries no personal data is not a source of personal data and is left out.\n *\n * Whether the data ORIGINATED from publicly accessible sources (the second half of Art. 14(2)(f)) is not a property of\n * the binding: an ERP contact may have been entered from a public register or website. The operator states it per\n * instance (`systemsOfRecord.<name>.personalDataOrigin`) and the entry carries that declaration; an instance stating\n * none gives an entry with no origin, and a notice marks that half owed. Rejected: a constant\n * `publiclyAccessibleSource: false`, which would state a legal fact about the data's origin that nothing derives.\n *\n * Answers `[]` when no system of record is declared — a true statement, not a gap, since no binding can name an\n * undeclared instance. Answers `undefined` when instances are declared and the flows could not be read: an empty list\n * then would say \"nothing is obtained from them\" about an application whose declarations were simply not read.\n */\nexport function deriveSystemOfRecordSources(inputs: {\n readonly recipientPopulation: RecipientPopulation;\n readonly systemOfRecordFlows: readonly SystemOfRecordDataFlow[] | undefined;\n readonly systemOfRecordVendors: Readonly<Record<string, string>> | undefined;\n readonly systemOfRecordPersonalDataOrigins?: Readonly<Record<string, SystemOfRecordPersonalDataOrigin>> | undefined;\n readonly lawfulBases: readonly OperatorLawfulBasis[] | undefined;\n readonly resourceRetentionBindings?: readonly ResourceRetentionBindingFact[] | undefined;\n}): readonly SystemOfRecordSource[] | undefined {\n const declaresInstance = inputs.recipientPopulation.members.some((member) => member.kind === RecipientPopulationMemberKind.SYSTEM_OF_RECORD);\n if (!declaresInstance) return [];\n const flows = inputs.systemOfRecordFlows;\n if (flows === undefined) return undefined;\n const basesByRef = new Map((inputs.lawfulBases ?? []).flatMap((entry) => (entry.purposeRef === undefined ? [] : [[entry.purposeRef, entry] as const])));\n const bindingByResource = inputs.resourceRetentionBindings === undefined ? undefined\n : new Map(inputs.resourceRetentionBindings.map((binding) => [binding.resourceType, binding]));\n return flows\n .filter((flow) => flow.categories.length > 0 || flow.uncategorizedPersonalFields.length > 0)\n .map((flow): SystemOfRecordSource => {\n const copied = flow.kind === SystemOfRecordDataFlowKind.PIPELINE;\n const binding = bindingByResource?.get(flow.resourceType);\n const personalDataOrigin = inputs.systemOfRecordPersonalDataOrigins?.[flow.system];\n return {\n system: flow.system,\n vendor: inputs.systemOfRecordVendors?.[flow.system] ?? null,\n resourceType: flow.resourceType,\n flowKind: flow.kind,\n ...(personalDataOrigin === undefined ? {} : { personalDataOrigin }),\n categories: [...flow.categories],\n uncategorizedPersonalFields: [...flow.uncategorizedPersonalFields],\n purposes: flow.purposeRefs.flatMap((purposeRef) => {\n const basis = basesByRef.get(purposeRef);\n return basis === undefined ? [] : [{ purposeRef, purpose: basis.purpose, basis: basis.basis }];\n }),\n purposeRefsNamingNoPurpose: flow.purposeRefs.filter((purposeRef) => !basesByRef.has(purposeRef)),\n copiedLocally: copied,\n // Only for a copy, and only when the bindings were readable: otherwise \"kept until erased\" cannot be told from\n // \"not read\", and the key is absent rather than false.\n ...(copied && binding !== undefined\n ? { keptUntilErased: isKeptUntilErased(binding), ...(binding.retentionBinding === undefined ? {} : { retentionClass: binding.retentionBinding.retentionClass }) }\n : {}),\n };\n })\n .sort((left, right) => (`${left.system}/${left.resourceType}/${left.flowKind}` < `${right.system}/${right.resourceType}/${right.flowKind}` ? -1 : 1));\n}\n\n/** The `system-of-record-sources` fact: {@link deriveSystemOfRecordSources}, JSON-shaped. */\nfunction computeSystemOfRecordSources(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const sources = deriveSystemOfRecordSources({\n recipientPopulation: inputs.recipientPopulation,\n systemOfRecordFlows: inputs.systemOfRecordFlows,\n systemOfRecordVendors: inputs.systemOfRecordVendors,\n systemOfRecordPersonalDataOrigins: inputs.systemOfRecordPersonalDataOrigins,\n lawfulBases: inputs.operatorComplianceIdentity?.lawfulBases,\n resourceRetentionBindings: inputs.resourceRetentionBindings,\n });\n // A JSON round trip: the derivation's answer is JSON-shaped by construction and drops absent optional keys.\n return sources === undefined ? undefined : (JSON.parse(JSON.stringify({ sources })) as DocumentFactValue);\n}\n\n/** Every computed fact the inputs can answer, in vocabulary order. */\nexport function computeApplicationDocumentFacts(inputs: ApplicationDocumentFactComputationInputs): readonly ComputedDocumentFactAnswer[] {\n const declared = (fact: ComputedDocumentFact, value: DocumentFactValue | undefined): ComputedDocumentFactAnswer | undefined =>\n value === undefined ? undefined : { fact, value };\n const computers: Readonly<Record<ComputedDocumentFact, () => ComputedDocumentFactAnswer | undefined>> = {\n [ComputedDocumentFact.CONTROLLER_AND_CONTACT]: () => declared(ComputedDocumentFact.CONTROLLER_AND_CONTACT, computeControllerAndContact(inputs.operatorComplianceIdentity)),\n [ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: () => declared(ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS, computeRecipientsAndProcessors(inputs)),\n [ComputedDocumentFact.LAWFUL_BASES]: () => declared(ComputedDocumentFact.LAWFUL_BASES, computeLawfulBases(inputs.operatorComplianceIdentity)),\n [ComputedDocumentFact.RETENTION_RULES]: () => declared(ComputedDocumentFact.RETENTION_RULES, computeRetentionRules(inputs)),\n [ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: () => declared(ComputedDocumentFact.INTERNATIONAL_TRANSFERS, computeInternationalTransfers(inputs)),\n [ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: () => declared(ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE, computeRightsAndComplaintRoute(inputs)),\n [ComputedDocumentFact.RETENTION_ENFORCEMENT]: () => computeRetentionEnforcement(inputs),\n [ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES]: () => declared(ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES, computeSystemOfRecordSources(inputs)),\n };\n return Object.values(ComputedDocumentFact).flatMap((fact) => {\n const answer = computers[fact]();\n return answer === undefined ? [] : [answer];\n });\n}\n\n/**\n * The derived facts with the computed ones laid over them — what a reader of the application's facts sees.\n *\n * A computed answer REPLACES any declaration of the same fact, whatever its scope. A stored copy is refused\n * by the family validator, so replacing it is not a precedence rule: the stored copy is never the answer.\n * Declared facts pass through untouched, and the computed declarations adopt the stored file's governance\n * scope and specification ref, so one document reads one scope.\n *\n * ## Only over a family that exists\n *\n * `stored` is required. An application that has not produced its facts yet has nothing to enrich, and a\n * facts set synthesized from the computed ones alone would change what every reader concludes: \"no facts\n * produced yet\" makes a citation check skip, while \"declares only these two\" makes it refuse every other\n * citation. The computed facts join the application's facts; they do not stand in for them.\n */\n/**\n * The authority a computed answer is stamped with: the fact's tier from {@link COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS},\n * never a default. A RUNTIME_EVIDENCE fact carries the instant its evidence describes; one produced without\n * that instant is a defect in its computation and is refused here rather than stamped as specification.\n */\nfunction computedFactAuthority(answer: ComputedDocumentFactAnswer) {\n const common = { authorityRef: `document-fact-authority:${answer.fact}`, authorityVersion: 1 };\n if (COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS[answer.fact] === AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE) {\n if (answer.observedAt === undefined) throw new Error(`Computed fact \"${answer.fact}\" is runtime evidence and was produced without its observedAt instant`);\n return { factAuthorityKind: AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE, ...common, observedAt: answer.observedAt };\n }\n return { factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION, ...common };\n}\n\nexport function overlayComputedDocumentFacts(\n stored: ApplicationDocumentFactSpecification,\n answers: readonly ComputedDocumentFactAnswer[],\n): ApplicationDocumentFactSpecification {\n const declarationRefOf = (fact: ComputedDocumentFact): string => `document-fact-declaration:${fact}`;\n const everyComputedDeclarationRef = new Set(Object.values(ComputedDocumentFact).map(declarationRefOf));\n // A stored copy of ANY computed fact is dropped, answered or not (#1636 review). It used to be dropped only\n // when the runtime had an answer to replace it with, so an unanswered fact let the copy through — and for\n // `retention-enforcement` that is a typed \"ENFORCED\" under RUNTIME_EVIDENCE authority reaching a notice\n // whose records were never collected. A stored copy is never the answer; absent is.\n const isComputedCopy = (declaration: ApplicationDocumentFactSpecification[\"declarations\"][number]): boolean =>\n computedDocumentFactOf(declaration.factRef) !== undefined || everyComputedDeclarationRef.has(declaration.declarationRef);\n if (answers.length === 0 && !stored.declarations.some(isComputedCopy)) return stored;\n // The family schema requires at least one declaration, so a parsed specification always has a first.\n const governanceScope = stored.declarations[0]!.governanceScope;\n let kept = stored.declarations.filter((declaration) => !isComputedCopy(declaration));\n if (kept.length === 0 && answers.length === 0) {\n // Degenerate: the file holds nothing but copies of computed facts, and nothing was computed. The family\n // cannot be empty, so keep the copies that claim no runtime evidence (the validator reports them at every\n // landing) and never one that claims RUNTIME_EVIDENCE. A file of runtime-evidence copies alone is returned\n // as it is — the one residual, and one only a hand edit could produce (landing validation reports it as\n // DOCUMENT_FACT_IS_COMPUTED). It exists because the stored-file schema must admit RUNTIME_EVIDENCE for the\n // overlaid view to validate; the clean closure is a separate schema for the overlaid view, keeping that tier\n // out of the stored-file schema — not done yet, and recorded here rather than left implicit.\n kept = stored.declarations.filter((declaration) => declaration.authority?.factAuthorityKind !== AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE);\n if (kept.length === 0) return stored;\n }\n const computed = answers.map((answer) => ({\n declarationRef: declarationRefOf(answer.fact),\n declarationVersion: 1,\n factRef: `document-fact:${answer.fact}`,\n factVersion: 1,\n governanceScope,\n sensitivityRef: COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS[answer.fact],\n authority: computedFactAuthority(answer),\n resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN,\n value: answer.value,\n }));\n const declarations = [...kept, ...computed].sort((left, right) =>\n `${left.declarationRef}@${left.declarationVersion}` < `${right.declarationRef}@${right.declarationVersion}` ? -1 : 1,\n );\n return ApplicationDocumentFactSpecificationSchema.parse({\n schemaVersion: 1,\n specificationRef: stored.specificationRef,\n specificationVersion: stored.specificationVersion,\n declarations,\n });\n}\n"]}
1
+ {"version":3,"file":"computed-document-facts.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/computed-document-facts.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAC1B,iBAAiB,EACjB,iCAAiC,GAYlC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,0DAA0D,EAC1D,0CAA0C,EAC1C,sCAAsC,EACtC,oBAAoB,EACpB,sBAAsB,GAGvB,MAAM,iGAAiG,CAAC;AACzG,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,kCAAkC,GAEnC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,iCAAiC,EAAE,6BAA6B,EAA4B,MAAM,gCAAgC,CAAC;AAC5I,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAiE,MAAM,iCAAiC,CAAC;AACxK,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,GAGrB,MAAM,6BAA6B,CAAC;AA6GrC;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,wBAWX;AAXD,WAA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I,EAAE,KAAK,EAAE,EAAE,CAC/D,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,kBAAkB,EAAE,GAAG,GAAG,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CACrH,CAAC;IACF,OAAO,0CAA0C,CAAC,KAAK,CAAC;QACtD,aAAa,EAAE,CAAC;QAChB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,oBAAoB,EAAE,MAAM,CAAC,oBAAoB;QACjD,YAAY;KACb,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n complaintRouteUnderRegime,\n dataProtectionRegimeOf,\n OperatorProcessingRole,\n rightsUnderRegime,\n subjectRequestResponderFor,\n DataRetentionClass,\n undeclaredRetentionClasses,\n isKeptUntilErased,\n RETENTION_CLASS_SWEEP_INTERVAL_MS,\n type ApplicationOperatorComplianceIdentity,\n type OperatorLawfulBasis,\n type ApplicationProviderComplianceChoices,\n type RetentionEnforcementEvidence,\n type ApplicationRetentionSchedule,\n type ErasureRetentionMode,\n type ResourceRetentionBinding,\n type ResourceStatutoryRetention,\n type SystemOfRecordPersonalDataOrigin,\n type SystemOfRecordSubjectRightsPosture,\n type SubjectErasureExecutedTreatment,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n ApplicationAssuranceDocumentFactContributionResolutionKind,\n ApplicationDocumentFactSpecificationSchema,\n COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS,\n ComputedDocumentFact,\n computedDocumentFactOf,\n type ApplicationDerivedDocumentFactDeclaration,\n type ApplicationDocumentFactSpecification,\n} from \"../../application-creation/application-document-fact-specification.application-creation.schemas\";\nimport { AssuranceDocumentFactAuthorityKind } from \"../../assurance.exports\";\nimport {\n processorProcessingRegions,\n ProcessorRegisterEntryKind,\n ProcessorTransferDeterminationKind,\n type ApplicationProcessorRegister,\n} from \"./processor-register.schemas\";\nimport { joinRecipientPopulationToRegister, RecipientPopulationMemberKind, type RecipientPopulation } from \"./recipient-population.schemas\";\nimport { deriveRecipientDisclosures, SystemOfRecordDataFlowKind, type ConditionallyHeldCategories, type SystemOfRecordDataFlow } from \"./recipient-disclosures.schemas\";\nimport { deriveRetentionEnforcementFacts } from \"./retention-enforcement-facts.schemas\";\nimport {\n deriveAiContentGuardrailFacts,\n deriveAiUseInventory,\n type AiContentGuardrailEvidence,\n type ApplicationAiUseInventoryInput,\n} from \"./ai-document-facts.schemas\";\n\n/**\n * Computing the {@link ComputedDocumentFact} members, and laying them over the facts a file declares.\n *\n * See the vocabulary's own JSDoc for why these facts are computed at read and never stored. This module\n * is the one place their values are built: the companion calls it where the application's facts are\n * read, and nothing writes its output to disk.\n */\n\n/** The value type a KNOWN derived declaration carries. */\ntype DocumentFactValue = Extract<\n ApplicationDerivedDocumentFactDeclaration,\n { resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN }\n>[\"value\"];\n\n/** The typed declarations the computed facts are read from. Each is `undefined` when the application declares none. */\nexport interface ApplicationDocumentFactComputationInputs {\n readonly operatorComplianceIdentity: ApplicationOperatorComplianceIdentity | undefined;\n readonly processorRegister: ApplicationProcessorRegister | undefined;\n /**\n * WHO receives personal data, from {@link computeRecipientPopulation} — the same population the evidence\n * collector and the drafting brief read, so the three cannot disagree about who a recipient is (#1707).\n */\n readonly recipientPopulation: RecipientPopulation;\n /**\n * The system-of-record flows every resource declares (#1709), read off the materialized resources. OPTIONAL:\n * `undefined` means they could not be read, and each system-of-record recipient then reports its categories as not\n * derivable rather than as none.\n */\n readonly systemOfRecordFlows?: readonly SystemOfRecordDataFlow[] | undefined;\n /**\n * The `systemsOfRecord.<name>.vendor` of each declared instance (#1745), from {@link systemOfRecordVendorsOf} — what\n * the `system-of-record-sources` fact names beside the instance. OPTIONAL: an instance absent here is stated with no\n * vendor rather than guessed.\n */\n readonly systemOfRecordVendors?: Readonly<Record<string, string>> | undefined;\n /**\n * The `systemsOfRecord.<name>.personalDataOrigin` of each instance that declares one (#1745), from\n * `systemOfRecordPersonalDataOriginsOf` — whether its personal data can have come from publicly accessible sources.\n * An instance absent here has not stated it, and its sources carry no origin, so the notice marks it owed.\n */\n readonly systemOfRecordPersonalDataOrigins?: Readonly<Record<string, SystemOfRecordPersonalDataOrigin>> | undefined;\n /** `providerComplianceChoices`, read for the purposes each recipient links to (#1709). */\n readonly providerComplianceChoices?: ApplicationProviderComplianceChoices | undefined;\n /** `dataRetention` — the period per data class. Partial by design; absent means no schedule was declared. */\n readonly retentionSchedule: ApplicationRetentionSchedule | undefined;\n /**\n * What erasure does to each resource's rows, as the resources declare it. `undefined` when the resources\n * could not be read, which is not the same as \"none declared\" and must answer nothing.\n */\n readonly resourceErasureTreatments: readonly ResourceErasureTreatment[] | undefined;\n /**\n * How long each resource's rows are kept, as the resources declare it (#1613): its retention-class\n * binding, and whether a fixed `.ttl()` deletes its rows instead. OPTIONAL and separate from the\n * erasure treatments on purpose — the two are different axes. `undefined` means the bindings could not\n * be read, and the fact then states no mechanism rather than claiming none exists.\n */\n readonly resourceRetentionBindings?: readonly ResourceRetentionBindingFact[] | undefined;\n /** The `operatingJurisdictions` slugs — where the data comes FROM. `undefined` when none are declared. */\n readonly operatingJurisdictionSlugs: readonly string[] | undefined;\n /**\n * The retention-enforcement records of a window, as the evidence door answered them and the assurance\n * collector recorded them (#1636). OPTIONAL: `undefined` means no evidence was readable, and the\n * `retention-enforcement` fact then answers nothing — its clause is marked owed rather than claiming either\n * enforcement or its absence.\n */\n readonly retentionEnforcementEvidence?: RetentionEnforcementEvidence | undefined;\n /**\n * The application's AI-use declarations (#2838), read through the agent-population door, with the contracted-service\n * partition of its capabilities (#2847). OPTIONAL: `undefined` means they were not read, and `ai-use-inventory` and\n * `ai-content-guardrails` then answer nothing rather than \"no AI\".\n */\n readonly aiUses?: ApplicationAiUseInventoryInput | undefined;\n /**\n * The agent-operation evidence and guardrail audit-event measurements the assurance collectors committed (#2847).\n * OPTIONAL: `undefined` means none was readable, and `ai-content-guardrails` then answers nothing — its clause is\n * marked owed rather than claiming a guardrail ran or did not.\n */\n readonly aiContentGuardrailEvidence?: AiContentGuardrailEvidence | undefined;\n}\n\n/** One resource's declared erasure treatment. `erasureRetentionMode` is absent when the resource declares none. */\nexport interface ResourceErasureTreatment {\n readonly resourceType: string;\n readonly erasureRetentionMode?: ErasureRetentionMode;\n /**\n * The statute that keeps the rows through an erasure (#1635). Present only where the resource declares\n * `retentionPolicy.statutoryRetention`; an erasure then restricts those rows until their period ends.\n */\n readonly statutoryRetention?: ResourceStatutoryRetention;\n /**\n * What an ACCOUNT HOLDER's erasure (a `users` subject) executes on these rows (#2960): whether they are that erasure's\n * subject, the dispositions of the erasure-graph edges that reach the resource, and the treatments the engine's\n * subject-reference severers report for it. All empty means that erasure keeps the rows as they are, whatever\n * {@link erasureRetentionMode} declares. It says nothing about erasing the resource's OWN rows as a subject (a CRM\n * contact asking to be erased), which applies the declared mode. Absent when the producer could not derive it; the\n * fact then states the declared mode alone, and says nothing about what runs.\n */\n readonly erasureExecution?: SubjectErasureExecutedTreatment;\n}\n\n/** One resource's retention binding, as the retention-rules fact reads it. */\nexport interface ResourceRetentionBindingFact {\n readonly resourceType: string;\n readonly retentionBinding?: ResourceRetentionBinding;\n readonly declaresRowTtl: boolean;\n}\n\n/**\n * WHAT deletes data of a declared class when its period ends — the mechanism a retention clause may name.\n *\n * A statement about the application's CONFIGURATION (which mechanism the declarations wire up), not\n * runtime evidence that the mechanism ran: that is `ComputedDocumentFact.RETENTION_ENFORCEMENT`, computed\n * from the sweep's records (#1636). An empty list here means no mechanism is even wired for the class — a\n * notice must not describe a period nothing applies.\n */\nexport enum RetentionPeriodMechanism {\n /** At least one resource binds the class; the retention-class sweep deletes its rows past the period. */\n RETENTION_CLASS_SWEEP = \"RETENTION_CLASS_SWEEP\",\n /** The FILES class: file bytes released from their rows are destroyed by the files cleanup after the period. */\n FILES_CLEANUP = \"FILES_CLEANUP\",\n /**\n * The AUDIT_LOGS class: the audit trail is IMMUTABLE and never deleted; the period is its live-store\n * horizon, after which records are copied to the audit archive. A notice must not say audit records\n * are deleted.\n */\n AUDIT_ARCHIVAL = \"AUDIT_ARCHIVAL\",\n}\n\n/** The mechanisms that act on a declared class, given which resources bind it. Pure, so it is pinned directly. */\nexport function retentionPeriodMechanisms(dataClass: DataRetentionClass, boundResourceCount: number): RetentionPeriodMechanism[] {\n const mechanisms: RetentionPeriodMechanism[] = [];\n if (boundResourceCount > 0) mechanisms.push(RetentionPeriodMechanism.RETENTION_CLASS_SWEEP);\n if (dataClass === DataRetentionClass.FILES) mechanisms.push(RetentionPeriodMechanism.FILES_CLEANUP);\n if (dataClass === DataRetentionClass.AUDIT_LOGS) mechanisms.push(RetentionPeriodMechanism.AUDIT_ARCHIVAL);\n return mechanisms;\n}\n\n/**\n * One computed fact's answer: KNOWN with a value, or a recorded NOT_APPLICABLE with its reason. A fact whose inputs are\n * absent produces no answer at all.\n *\n * NOT_APPLICABLE is a computed FINDING, never silence (#2847): the family schema requires its reason, a clause may cite\n * it, and it states the matching negative. `ai-use-inventory` answers it when no AI capability reaches the contracted\n * service. Written as a union where each arm forbids the other's field, so a reader of `value` still compiles and gets\n * `undefined` for a NOT_APPLICABLE answer, and no answer can carry both.\n */\nexport type ComputedDocumentFactAnswer = ComputedDocumentFactKnownAnswer | ComputedDocumentFactNotApplicableAnswer;\n\ninterface ComputedDocumentFactAnswerCommon {\n readonly fact: ComputedDocumentFact;\n /**\n * For a fact computed from RECORDS (`RUNTIME_EVIDENCE` in {@link COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS}):\n * the instant the evidence describes up to. Required for such a fact, absent for every other.\n */\n readonly observedAt?: string;\n}\n\nexport interface ComputedDocumentFactKnownAnswer extends ComputedDocumentFactAnswerCommon {\n readonly value: DocumentFactValue;\n readonly notApplicableReason?: never;\n}\n\nexport interface ComputedDocumentFactNotApplicableAnswer extends ComputedDocumentFactAnswerCommon {\n readonly notApplicableReason: string;\n readonly value?: never;\n}\n\n/**\n * How public each computed fact is. Every one is published in a privacy notice, so every one is public;\n * the table exists so a member added later must state its own sensitivity rather than inherit one.\n */\nconst COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS: Readonly<Record<ComputedDocumentFact, string>> = {\n [ComputedDocumentFact.CONTROLLER_AND_CONTACT]: \"sensitivity:public\",\n [ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: \"sensitivity:public\",\n [ComputedDocumentFact.LAWFUL_BASES]: \"sensitivity:public\",\n [ComputedDocumentFact.RETENTION_RULES]: \"sensitivity:public\",\n [ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: \"sensitivity:public\",\n [ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: \"sensitivity:public\",\n // Counts and resource types, published in the notice's retention section.\n [ComputedDocumentFact.RETENTION_ENFORCEMENT]: \"sensitivity:public\",\n // Instance names, vendors, resource types and categories, published in the notice's data-and-sources section.\n [ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES]: \"sensitivity:public\",\n // Uses, domains, providers and their register identity, published in the notice's automated-decisions section and the terms.\n [ComputedDocumentFact.AI_USE_INVENTORY]: \"sensitivity:public\",\n // Agent refs, declared guardrails and counts, published in the terms' AI clause.\n [ComputedDocumentFact.AI_CONTENT_GUARDRAILS]: \"sensitivity:public\",\n};\n\n/**\n * The operator as controller or processor, and how a person reaches it about privacy.\n *\n * Answers nothing unless the legal entity, the privacy contact and the role allocations are ALL declared:\n * the blueprint's question is \"every party acting as controller … and the public privacy contact route\",\n * and a partial answer to it would read as a complete one.\n *\n * A `JOINT_CONTROLLER` allocation also answers nothing. The question asks for EVERY such party, and the\n * identity records the operator's role without naming the other controller, so no function can state\n * the whole answer. The fact stays absent and the clause is marked owed.\n */\nfunction computeControllerAndContact(identity: ApplicationOperatorComplianceIdentity | undefined): DocumentFactValue | undefined {\n if (identity?.legalEntityName === undefined || identity.privacyContact === undefined || identity.roleAllocations === undefined) {\n return undefined;\n }\n if (identity.roleAllocations.some((allocation) => allocation.role === OperatorProcessingRole.JOINT_CONTROLLER)) return undefined;\n return {\n legalEntityName: identity.legalEntityName,\n ...(identity.registeredAddress === undefined ? {} : { registeredAddress: identity.registeredAddress }),\n privacyContact: identity.privacyContact,\n ...(identity.representative === undefined\n ? {}\n : { representative: { name: identity.representative.name, address: identity.representative.address } }),\n roleAllocations: identity.roleAllocations.map((allocation) => ({ dataScope: allocation.dataScope, role: allocation.role })),\n };\n}\n\n/**\n * Who else receives personal data: the declared processors, plus every gap the join finds.\n *\n * Answers nothing when there is NO processor register. An absent register means nobody has looked,\n * and an answer computed from it would state \"no recipients\" about an application whose recipients\n * are simply undeclared.\n *\n * With a register, the gaps are part of the answer rather than a reason to withhold it. An operator\n * sub-processor with no established identity is IN USE, and saying so is true. A register entry that no\n * data path reaches is named so a drafter does not publish it. A self-hosted provider is named as\n * operator-run, so it is never mistaken for a third party. A TENANT recipient — a vendor reached only\n * through a tenant's or a person's own connected account — is named separately: it is the tenant's vendor,\n * not the operator's sub-processor, and a register entry for one is named as a misstatement. A declared\n * member no data path reaches is named so it is neither published nor lost. The classification is\n * {@link joinRecipientPopulationToRegister} over {@link computeRecipientPopulation}, the same one the\n * drafter's brief renders and the evidence collector measures.\n */\nfunction computeRecipientsAndProcessors(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const register = inputs.processorRegister;\n if (register === undefined) return undefined;\n const classification = joinRecipientPopulationToRegister(inputs.recipientPopulation, register);\n return {\n // A JSON round trip rather than a hand-listed projection: the register is already JSON-shaped, and a\n // field added to it later must reach the fact without an edit here. It also drops absent optional keys.\n processors: JSON.parse(JSON.stringify(register.processors)) as DocumentFactValue,\n processingRegions: [...processorProcessingRegions(register)],\n configuredProvidersWithoutEstablishedIdentity: [...classification.undeclaredProviderRefs],\n registeredProvidersNotConfigured: [...classification.staleProviderRefs],\n operatorRunProviderRefs: [...classification.operatorRunProviderRefs],\n tenantRecipientRefs: [...classification.tenantRecipientRefs],\n registeredTenantRecipientRefs: [...classification.registeredTenantRecipientRefs],\n declaredWithoutDataPathRefs: [...classification.declaredWithoutDataPathRefs],\n /*\n * Per recipient: the categories its DECLARED flows carry, and the purposes its choice links to (#1709). A\n * recipient whose flow declares no field map carries `categoriesNotDerivable` — the notice must say what is\n * not established rather than list nothing. The law asks for categories of data and of recipients (GDPR Art.\n * 30(1)(c), (d); Art. 13(1)(e)); stating which reach which is the practice that keeps them consistent.\n */\n recipientDisclosures: JSON.parse(JSON.stringify(deriveRecipientDisclosures({\n population: inputs.recipientPopulation,\n systemOfRecordFlows: inputs.systemOfRecordFlows,\n providerComplianceChoices: inputs.providerComplianceChoices,\n lawfulBases: inputs.operatorComplianceIdentity?.lawfulBases,\n }))) as DocumentFactValue,\n };\n}\n\n/**\n * Each processing purpose and the basis relied on for it, with the balancing assessment where there is one.\n *\n * Answers nothing when no basis is declared: absent means nobody has decided, and \"no lawful basis\" is a\n * statement no function may make on the operator's behalf. The assessment travels with its basis because\n * Art. 13(1)(d) requires a notice relying on legitimate interests to state WHICH interests.\n */\nfunction computeLawfulBases(identity: ApplicationOperatorComplianceIdentity | undefined): DocumentFactValue | undefined {\n if (identity?.lawfulBases === undefined) return undefined;\n return {\n bases: identity.lawfulBases.map((entry) => ({\n purpose: entry.purpose,\n // The stable id recipients link to (#1709), so a drafter can join a recipient's purposes to this list.\n ...(entry.purposeRef === undefined ? {} : { purposeRef: entry.purposeRef }),\n basis: entry.basis,\n ...(entry.assessmentNote === undefined ? {} : { assessmentNote: entry.assessmentNote }),\n })),\n };\n}\n\n/**\n * How long each class of data is kept and why, which classes have no period yet, and what erasure does to\n * each resource's rows.\n *\n * The blueprint asks for both halves — the period and \"the verified deletion or anonymization behavior\" —\n * and they come from two declarations on two axes: the period is the app-level `dataRetention` schedule\n * over `DataRetentionClass`, the treatment is each resource's `retentionPolicy.mode`. Neither stands in for\n * the other: a confident paragraph about impersonalization reads as an answer about how long, which is why\n * the schedule exists at all.\n *\n * Answers nothing without a schedule (nobody has decided a period, and \"kept forever\" is not what silence\n * means) or when the resources could not be read (the treatment half would be missing, and a fact reading\n * as complete without it is the failure above). With both, undeclared classes and resources declaring no\n * treatment are PART of the answer, named, exactly as the recipients fact names its gaps: the schedule is\n * partial on purpose and a notice marks the rest as owed.\n *\n * When the resources' retention bindings were readable (#1613), each period also names the resources bound\n * to it and the {@link RetentionPeriodMechanism}s that act on it — an EMPTY list is \"declared, not yet\n * enforced\", so a notice never describes a period nothing applies — and the resources bound to no class are\n * named, because they are kept until erased and nobody decided otherwise.\n */\nfunction computeRetentionRules(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const schedule = inputs.retentionSchedule;\n const treatments = inputs.resourceErasureTreatments;\n if (schedule === undefined || treatments === undefined) return undefined;\n const byResource = [...treatments].sort((left, right) => (left.resourceType < right.resourceType ? -1 : 1));\n // #1613: which resources bind each class, and which bind nothing. Only when the bindings were readable —\n // otherwise the fact names no mechanism rather than implying none exists.\n const bindings = inputs.resourceRetentionBindings;\n const boundByClass = new Map<string, string[]>();\n for (const binding of bindings ?? []) {\n if (!binding.retentionBinding) continue;\n const list = boundByClass.get(binding.retentionBinding.retentionClass) ?? [];\n list.push(binding.resourceType);\n boundByClass.set(binding.retentionBinding.retentionClass, list);\n }\n return {\n periods: Object.entries(schedule)\n .filter((entry): entry is [string, NonNullable<(typeof entry)[1]>] => entry[1] !== undefined)\n .map(([dataClass, period]) => {\n const bound = [...(boundByClass.get(dataClass) ?? [])].sort();\n return {\n dataClass,\n retentionDays: period.retentionDays,\n rationale: period.rationale,\n ...(bindings === undefined ? {} : {\n boundResourceTypes: bound,\n mechanisms: retentionPeriodMechanisms(dataClass as DataRetentionClass, bound.length) as string[],\n }),\n };\n })\n .sort((left, right) => (left.dataClass < right.dataClass ? -1 : 1)),\n ...(bindings === undefined ? {} : {\n // Kept until erased: no class binding and no `.ttl()`. Undecided, and named so it stays visible.\n resourcesBoundToNoRetentionClass: bindings\n .filter(isKeptUntilErased)\n .map((binding) => binding.resourceType)\n .sort(),\n }),\n classesWithoutDeclaredPeriod: [...undeclaredRetentionClasses(schedule)],\n erasureTreatments: byResource\n .filter((treatment) => treatment.erasureRetentionMode !== undefined)\n .map((treatment) => ({\n resourceType: treatment.resourceType,\n erasureRetentionMode: treatment.erasureRetentionMode as string,\n // #2960: what an account holder's erasure RUNS on the rows, beside what the resource declares. A notice states this.\n ...(treatment.erasureExecution === undefined ? {} : { accountHolderErasure: accountHolderErasureOf(treatment.erasureExecution) }),\n // #1635: the rows are kept RESTRICTED through an erasure because a statute requires it, until the period\n // ends. The notice names the ground and the law; it never says the erasure is refused because of them.\n ...(treatment.statutoryRetention === undefined\n ? {}\n : { statutoryRetention: { ground: treatment.statutoryRetention.ground as string, rationale: treatment.statutoryRetention.rationale } }),\n })),\n resourcesWithoutDeclaredErasureTreatment: byResource\n .filter((treatment) => treatment.erasureRetentionMode === undefined)\n .map((treatment) => treatment.resourceType),\n // #2960, only when the execution was derived. A resource with a declared treatment that an account holder's erasure\n // keeps as it is (the billing records, #2946; a person-without-account record, changed only when its own rows are\n // erased), and a resource that erasure changes although it declares no treatment (a dependent it deletes, a record a\n // severer changes). Without these two a notice drafted from the declarations over-claims one and under-reports the other.\n ...(byResource.some((treatment) => treatment.erasureExecution !== undefined) ? {\n keptAsTheyAreByAnAccountHoldersErasure: byResource\n .filter((treatment) => treatment.erasureRetentionMode !== undefined && treatment.erasureExecution !== undefined && !erasureExecutesAnything(treatment.erasureExecution))\n .map((treatment) => treatment.resourceType),\n changedByAnAccountHoldersErasureWithoutDeclaredTreatment: byResource\n .filter((treatment) => treatment.erasureRetentionMode === undefined && treatment.erasureExecution !== undefined && erasureExecutesAnything(treatment.erasureExecution))\n .map((treatment) => ({ resourceType: treatment.resourceType, ...accountHolderErasureOf(treatment.erasureExecution!) })),\n } : {}),\n };\n}\n\n/** Whether an account holder's erasure executes anything on a resource: as its subject, a graph disposition, or a severer (#2960). */\nfunction erasureExecutesAnything(execution: SubjectErasureExecutedTreatment): boolean {\n return execution.erasedAsTheSubject || execution.dispositions.length > 0 || execution.severerTreatments.length > 0;\n}\n\n/** The fact's statement of what an account holder's erasure runs on a resource (#2960). */\nfunction accountHolderErasureOf(execution: SubjectErasureExecutedTreatment): { erasedAsTheSubject: boolean; dispositions: string[]; severerTreatments: string[]; rowsKeptAsTheyAre: boolean } {\n return {\n erasedAsTheSubject: execution.erasedAsTheSubject,\n dispositions: [...execution.dispositions].map(String).sort(),\n severerTreatments: [...execution.severerTreatments].map(String).sort(),\n rowsKeptAsTheyAre: !erasureExecutesAnything(execution),\n };\n}\n\n/**\n * Which processors are reached by a transfer out of the jurisdictions the data comes from, and under which\n * safeguard for each origin jurisdiction.\n *\n * Built from the operator's per-entry `transferDetermination` in the processor register, never from the\n * regions: those are free text, and the framework cannot tell whether `United States` or `eu-west-1` lies\n * outside a declared jurisdiction. It answers NOTHING without a register (nobody has looked) or without an\n * operating jurisdiction (the origin is unknown).\n *\n * Otherwise every gap is PART of the answer, as in the recipients fact, because each is a true statement a\n * notice must make rather than a reason to say nothing:\n * - `undeterminedRecipients` — a register entry with no determination, and a configured recipient candidate\n * the register does not establish at all (the same classification the recipients fact uses). Data may be\n * leaving through either, so neither may be left out of what reads as the transfer position;\n * - `safeguardGaps` — a declared origin jurisdiction a TRANSFER names no safeguard for.\n * An EMPTY register with no configured recipient states that nothing is transferred through a processor;\n * the operator's own establishment is stated by `controller-and-contact`.\n *\n * `operatorHostingRegions` is WHERE the operator's own infrastructure holds the data\n * (`operatorComplianceIdentity.hostingRegions`, #2285), beside the processors' regions, because a register says\n * nothing about the operator's own processing. `null` means the operator has not declared it, and is stated as\n * such: never \"hosted nowhere\", and never a reason to round the position up to \"no international transfer\".\n * Whether a hosting region makes a transfer stays the operator's recorded determination, never computed here.\n */\nfunction computeInternationalTransfers(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const register = inputs.processorRegister;\n const origins = inputs.operatingJurisdictionSlugs;\n if (register === undefined || origins === undefined) return undefined;\n const refOf = (processor: ApplicationProcessorRegister[\"processors\"][number]): string =>\n processor.kind === ProcessorRegisterEntryKind.CONFIGURED_PROVIDER ? processor.providerRef : processor.subprocessorRef;\n const classification = joinRecipientPopulationToRegister(inputs.recipientPopulation, register);\n const safeguardGaps: { processorRef: string; originJurisdictionSlug: string }[] = [];\n for (const processor of register.processors) {\n const determination = processor.transferDetermination;\n if (determination?.kind !== ProcessorTransferDeterminationKind.TRANSFER) continue;\n const covered = new Set(determination.safeguards.map((safeguard) => safeguard.originJurisdictionSlug));\n for (const origin of origins) if (!covered.has(origin)) safeguardGaps.push({ processorRef: refOf(processor), originJurisdictionSlug: origin });\n }\n const determined = register.processors.filter((processor) => processor.transferDetermination !== undefined);\n return {\n originJurisdictions: [...origins].sort(),\n processors: determined.map((processor) => ({\n processorRef: refOf(processor),\n legalEntityName: processor.legalEntityName,\n processingRegions: [...processor.processingRegions],\n // A JSON round trip for the same reason as the recipients fact: a field added to the determination later\n // must reach the fact without an edit here.\n transferDetermination: JSON.parse(JSON.stringify(processor.transferDetermination)) as DocumentFactValue,\n })),\n undeterminedRecipients: [\n ...register.processors.filter((processor) => processor.transferDetermination === undefined).map(refOf),\n ...classification.undeclaredProviderRefs,\n ],\n safeguardGaps,\n operatorHostingRegions: inputs.operatorComplianceIdentity?.hostingRegions === undefined ? null : [...inputs.operatorComplianceIdentity.hostingRegions],\n };\n}\n\n/**\n * Which rights a person holds, how they ask, how they are verified, who answers, and where they may complain.\n *\n * Every part is a declaration or follows from one. The rights and the complaint route follow from the law of\n * the regime each operating jurisdiction falls under, conditioned on the declared lawful bases\n * (`rightsUnderRegime`); the channel is `privacyContact`; the verification step is\n * `subjectRequestIdentityVerification`; who answers follows from the role the operator holds over each\n * population (`subjectRequestResponderFor`).\n *\n * Answers nothing when any of those declarations is missing, or when a joint controllership leaves \"who\n * answers\" to an arrangement nothing records. A jurisdiction no known regime reaches is NAMED in the answer\n * rather than withheld: the rights the application owes there are unknown to the framework, and a notice\n * must say so instead of presenting the known regimes as the whole.\n */\nfunction computeRightsAndComplaintRoute(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const identity = inputs.operatorComplianceIdentity;\n const origins = inputs.operatingJurisdictionSlugs;\n if (\n identity?.lawfulBases === undefined\n || identity.privacyContact === undefined\n || identity.roleAllocations === undefined\n || identity.subjectRequestIdentityVerification === undefined\n || origins === undefined\n ) {\n return undefined;\n }\n const responsibility = identity.roleAllocations.map((allocation) => ({ dataScope: allocation.dataScope, respondedBy: subjectRequestResponderFor(allocation.role) }));\n if (responsibility.some((entry) => entry.respondedBy === undefined)) return undefined;\n const sortedOrigins = [...origins].sort();\n const regimes = [...new Set(sortedOrigins.map((slug) => dataProtectionRegimeOf(slug)).filter((regime) => regime !== undefined))];\n return {\n regimes: regimes.map((regime) => ({\n regime,\n jurisdictions: sortedOrigins.filter((slug) => dataProtectionRegimeOf(slug) === regime),\n rights: rightsUnderRegime(regime, identity.lawfulBases!).map((entry) => ({ right: entry.right, provision: entry.provision, purposes: [...entry.purposes] })),\n complaintRoute: complaintRouteUnderRegime(regime),\n })),\n jurisdictionsWithoutKnownRegime: sortedOrigins.filter((slug) => dataProtectionRegimeOf(slug) === undefined),\n requestChannel: identity.privacyContact,\n identityVerification: identity.subjectRequestIdentityVerification,\n responseOwnership: responsibility.map((entry) => ({ dataScope: entry.dataScope, respondedBy: entry.respondedBy as string })),\n };\n}\n\n/**\n * Per declared class, whether its period is ENFORCED, only DECLARED, or FAILING — read from the records the\n * retention-class sweep wrote (#1636). The first `RUNTIME_EVIDENCE` answer.\n *\n * Answers nothing unless the schedule, the bindings AND the evidence were all readable: without the schedule\n * there is no declared class to speak of, without the bindings \"no bound resource\" cannot be told from \"could\n * not read them\", and without the evidence nothing is known about what the product did. Each absence leaves the\n * fact absent, so the clause resting on it is marked owed rather than reading \"declared, not enforced\" about an\n * application whose records simply were not collected.\n */\nfunction computeRetentionEnforcement(inputs: ApplicationDocumentFactComputationInputs): ComputedDocumentFactAnswer | undefined {\n const evidence = inputs.retentionEnforcementEvidence;\n if (inputs.retentionSchedule === undefined || inputs.resourceRetentionBindings === undefined || evidence === undefined) return undefined;\n const observedAt = new Date(evidence.window.to);\n if (Number.isNaN(observedAt.getTime())) return undefined;\n const facts = deriveRetentionEnforcementFacts({\n evidence,\n schedule: inputs.retentionSchedule,\n bindings: inputs.resourceRetentionBindings,\n observedAt,\n sweepIntervalMs: RETENTION_CLASS_SWEEP_INTERVAL_MS,\n });\n // Per class, the mechanisms that act on it and that these records CANNOT evidence (#1636 review): the audit trail\n // is archived, never swept, and file bytes are destroyed by the files cleanup. So ENFORCED on AUDIT_LOGS or FILES\n // speaks only for the resources bound to the class — the side tables — and a notice must not read it as covering\n // the audit trail or the stored files. Derived from `retentionPeriodMechanisms`, the same table retention-rules uses.\n const classes = facts.classes.map((entry) => ({\n ...entry,\n mechanismsNotEvidencedByTheseRecords: retentionPeriodMechanisms(entry.dataClass as DataRetentionClass, entry.boundResourceTypes.length)\n .filter((mechanism) => mechanism !== RetentionPeriodMechanism.RETENTION_CLASS_SWEEP) as string[],\n }));\n // A JSON round trip: the derivation's answer is JSON-shaped by construction and drops absent optional keys.\n return {\n fact: ComputedDocumentFact.RETENTION_ENFORCEMENT,\n value: JSON.parse(JSON.stringify({ ...facts, classes })) as DocumentFactValue,\n observedAt: facts.observedAt,\n };\n}\n\n/** One source of personal data the application did not collect from the person: one resource bound to, or piped from, a system of record. */\nexport interface SystemOfRecordSource {\n readonly system: string;\n /** `systemsOfRecord.<name>.vendor`, or `null` when the instance declares none. */\n readonly vendor: string | null;\n readonly resourceType: string;\n readonly flowKind: SystemOfRecordDataFlowKind;\n /**\n * The instance's declared `personalDataOrigin` — the Art. 14(2)(f) \"publicly accessible sources\" half. ABSENT when the\n * instance states none: that half is then owed, and is never read as \"not from public sources\".\n */\n readonly personalDataOrigin?: SystemOfRecordPersonalDataOrigin;\n readonly categories: readonly string[];\n /** The categories that come from the source on EVERY row; equal to `categories` when no field is conditional (#2119). */\n readonly unconditionalCategories: readonly string[];\n /** Per condition, the categories that come from the source only under it (#2119) — the clause words them conditionally. */\n readonly conditionalCategories: readonly ConditionallyHeldCategories[];\n readonly uncategorizedPersonalFields: readonly string[];\n readonly purposes: readonly { readonly purposeRef: string; readonly purpose: string; readonly basis: string }[];\n readonly purposeRefsNamingNoPurpose: readonly string[];\n /** `true` for a pipeline (a local copy), `false` for a read-through binding (nothing kept locally). */\n readonly copiedLocally: boolean;\n /**\n * Who answers a person's requests about these records (#2561), the flow's {@link SystemOfRecordDataFlow.subjectRightsPosture}:\n * the source system, which decides and answers for its own records (HANDLED_AT_SOURCE); the source, with the application\n * also forwarding an erasure to it, best effort (FORWARDED_TO_SOURCE); the source for its own records and the application\n * for the copy it keeps and erases itself (OWNED_COPY). The notice states it beside the source — never a guess at what\n * the source does.\n */\n readonly subjectRightsPosture: SystemOfRecordSubjectRightsPosture;\n /** For a copy, when the bindings were read: no retention class and no `.ttl()` (#1613). Absent otherwise. */\n readonly keptUntilErased?: boolean;\n /** For a copy bound to a retention class, that class. */\n readonly retentionClass?: string;\n}\n\n/**\n * Where personal data the application did NOT collect from the person comes from: every resource bound to, or piped\n * from, a declared system of record (#1745) — the ONE derivation the `system-of-record-sources` fact and the evidence\n * collector both call, so what a notice states and what the evidence measures cannot disagree.\n *\n * A notice owes, for such data, \"from which source the personal data originate, and if applicable, whether it came\n * from publicly accessible sources\", beside the categories and the purposes and legal basis for the processing.\n * spec-cite: GDPR Art. 14(2)(f), 14(1)(c) and 14(1)(d), https://gdpr-info.eu/art-14-gdpr/.\n *\n * Every part of an entry is a declaration or follows from one:\n * - the SOURCE is the instance the binding names, with its declared vendor — the PROXIMATE source, a deployment the\n * operator runs and reads with its own service identity (#1049 Q2);\n * - the CATEGORIES are the `.dataCategories()` of the fields that come from it ({@link SystemOfRecordDataFlow}), and\n * personal fields that name none are named, so a list that is incomplete says so;\n * - the PURPOSES are the ones the binding links (`binding.purposeRefs`), resolved against the lawful bases; a flow that\n * links none states no purpose, and a ref naming no declared purpose is reported as a broken link;\n * - for a PIPELINE (a local copy), whether the copied rows are kept until erased — no retention class and no `.ttl()`\n * (#1613), which is exactly where a copy of a record the source keeps for years goes unnoticed. A read-through\n * binding keeps nothing locally, so it states `copiedLocally: false` instead.\n *\n * A flow that carries no personal data is not a source of personal data and is left out.\n *\n * Whether the data ORIGINATED from publicly accessible sources (the second half of Art. 14(2)(f)) is not a property of\n * the binding: an ERP contact may have been entered from a public register or website. The operator states it per\n * instance (`systemsOfRecord.<name>.personalDataOrigin`) and the entry carries that declaration; an instance stating\n * none gives an entry with no origin, and a notice marks that half owed. Rejected: a constant\n * `publiclyAccessibleSource: false`, which would state a legal fact about the data's origin that nothing derives.\n *\n * Answers `[]` when no system of record is declared — a true statement, not a gap, since no binding can name an\n * undeclared instance. Answers `undefined` when instances are declared and the flows could not be read: an empty list\n * then would say \"nothing is obtained from them\" about an application whose declarations were simply not read.\n */\nexport function deriveSystemOfRecordSources(inputs: {\n readonly recipientPopulation: RecipientPopulation;\n readonly systemOfRecordFlows: readonly SystemOfRecordDataFlow[] | undefined;\n readonly systemOfRecordVendors: Readonly<Record<string, string>> | undefined;\n readonly systemOfRecordPersonalDataOrigins?: Readonly<Record<string, SystemOfRecordPersonalDataOrigin>> | undefined;\n readonly lawfulBases: readonly OperatorLawfulBasis[] | undefined;\n readonly resourceRetentionBindings?: readonly ResourceRetentionBindingFact[] | undefined;\n}): readonly SystemOfRecordSource[] | undefined {\n const declaresInstance = inputs.recipientPopulation.members.some((member) => member.kind === RecipientPopulationMemberKind.SYSTEM_OF_RECORD);\n if (!declaresInstance) return [];\n const flows = inputs.systemOfRecordFlows;\n if (flows === undefined) return undefined;\n const basesByRef = new Map((inputs.lawfulBases ?? []).flatMap((entry) => (entry.purposeRef === undefined ? [] : [[entry.purposeRef, entry] as const])));\n const bindingByResource = inputs.resourceRetentionBindings === undefined ? undefined\n : new Map(inputs.resourceRetentionBindings.map((binding) => [binding.resourceType, binding]));\n return flows\n // A system an OUTBOUND pipeline only sends to is not a SOURCE of what it receives (#2560): stating it here would tell\n // a reader the data was obtained from it. What it receives is the recipient side's statement.\n .filter((flow) => flow.kind !== SystemOfRecordDataFlowKind.OUTBOUND_PIPELINE)\n .filter((flow) => flow.categories.length > 0 || flow.uncategorizedPersonalFields.length > 0)\n .map((flow): SystemOfRecordSource => {\n const copied = flow.kind === SystemOfRecordDataFlowKind.PIPELINE;\n const binding = bindingByResource?.get(flow.resourceType);\n const personalDataOrigin = inputs.systemOfRecordPersonalDataOrigins?.[flow.system];\n return {\n system: flow.system,\n vendor: inputs.systemOfRecordVendors?.[flow.system] ?? null,\n resourceType: flow.resourceType,\n flowKind: flow.kind,\n ...(personalDataOrigin === undefined ? {} : { personalDataOrigin }),\n categories: [...flow.categories],\n unconditionalCategories: [...flow.unconditionalCategories],\n conditionalCategories: flow.conditionalCategories.map((entry) => ({ condition: entry.condition, categories: [...entry.categories] })),\n uncategorizedPersonalFields: [...flow.uncategorizedPersonalFields],\n purposes: flow.purposeRefs.flatMap((purposeRef) => {\n const basis = basesByRef.get(purposeRef);\n return basis === undefined ? [] : [{ purposeRef, purpose: basis.purpose, basis: basis.basis }];\n }),\n purposeRefsNamingNoPurpose: flow.purposeRefs.filter((purposeRef) => !basesByRef.has(purposeRef)),\n copiedLocally: copied,\n subjectRightsPosture: flow.subjectRightsPosture,\n // Only for a copy, and only when the bindings were readable: otherwise \"kept until erased\" cannot be told from\n // \"not read\", and the key is absent rather than false.\n ...(copied && binding !== undefined\n ? { keptUntilErased: isKeptUntilErased(binding), ...(binding.retentionBinding === undefined ? {} : { retentionClass: binding.retentionBinding.retentionClass }) }\n : {}),\n };\n })\n .sort((left, right) => (`${left.system}/${left.resourceType}/${left.flowKind}` < `${right.system}/${right.resourceType}/${right.flowKind}` ? -1 : 1));\n}\n\n/** The `system-of-record-sources` fact: {@link deriveSystemOfRecordSources}, JSON-shaped. */\nfunction computeSystemOfRecordSources(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const sources = deriveSystemOfRecordSources({\n recipientPopulation: inputs.recipientPopulation,\n systemOfRecordFlows: inputs.systemOfRecordFlows,\n systemOfRecordVendors: inputs.systemOfRecordVendors,\n systemOfRecordPersonalDataOrigins: inputs.systemOfRecordPersonalDataOrigins,\n lawfulBases: inputs.operatorComplianceIdentity?.lawfulBases,\n resourceRetentionBindings: inputs.resourceRetentionBindings,\n });\n // A JSON round trip: the derivation's answer is JSON-shaped by construction and drops absent optional keys.\n return sources === undefined ? undefined : (JSON.parse(JSON.stringify({ sources })) as DocumentFactValue);\n}\n\n/** The `ai-use-inventory` fact: {@link deriveAiUseInventory}, KNOWN or NOT_APPLICABLE. */\nfunction computeAiUseInventory(inputs: ApplicationDocumentFactComputationInputs): ComputedDocumentFactAnswer | undefined {\n const answer = deriveAiUseInventory({\n aiUses: inputs.aiUses,\n recipientPopulation: inputs.recipientPopulation,\n processorRegister: inputs.processorRegister,\n operatingJurisdictionSlugs: inputs.operatingJurisdictionSlugs,\n });\n if (answer === undefined) return undefined;\n // `in`, not the `applies` flag: this package compiles without strictNullChecks, where a boolean discriminant does not narrow.\n return \"notApplicableReason\" in answer\n ? { fact: ComputedDocumentFact.AI_USE_INVENTORY, notApplicableReason: answer.notApplicableReason }\n : { fact: ComputedDocumentFact.AI_USE_INVENTORY, value: answer.value as DocumentFactValue };\n}\n\n/** The `ai-content-guardrails` fact: {@link deriveAiContentGuardrailFacts}, RUNTIME_EVIDENCE as of its window's end. */\nfunction computeAiContentGuardrails(inputs: ApplicationDocumentFactComputationInputs): ComputedDocumentFactAnswer | undefined {\n const answer = deriveAiContentGuardrailFacts({ aiUses: inputs.aiUses, evidence: inputs.aiContentGuardrailEvidence });\n return answer === undefined\n ? undefined\n : { fact: ComputedDocumentFact.AI_CONTENT_GUARDRAILS, value: answer.value as DocumentFactValue, observedAt: answer.observedAt };\n}\n\n/** Every computed fact the inputs can answer, in vocabulary order. */\nexport function computeApplicationDocumentFacts(inputs: ApplicationDocumentFactComputationInputs): readonly ComputedDocumentFactAnswer[] {\n const declared = (fact: ComputedDocumentFact, value: DocumentFactValue | undefined): ComputedDocumentFactAnswer | undefined =>\n value === undefined ? undefined : { fact, value };\n const computers: Readonly<Record<ComputedDocumentFact, () => ComputedDocumentFactAnswer | undefined>> = {\n [ComputedDocumentFact.CONTROLLER_AND_CONTACT]: () => declared(ComputedDocumentFact.CONTROLLER_AND_CONTACT, computeControllerAndContact(inputs.operatorComplianceIdentity)),\n [ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: () => declared(ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS, computeRecipientsAndProcessors(inputs)),\n [ComputedDocumentFact.LAWFUL_BASES]: () => declared(ComputedDocumentFact.LAWFUL_BASES, computeLawfulBases(inputs.operatorComplianceIdentity)),\n [ComputedDocumentFact.RETENTION_RULES]: () => declared(ComputedDocumentFact.RETENTION_RULES, computeRetentionRules(inputs)),\n [ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: () => declared(ComputedDocumentFact.INTERNATIONAL_TRANSFERS, computeInternationalTransfers(inputs)),\n [ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: () => declared(ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE, computeRightsAndComplaintRoute(inputs)),\n [ComputedDocumentFact.RETENTION_ENFORCEMENT]: () => computeRetentionEnforcement(inputs),\n [ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES]: () => declared(ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES, computeSystemOfRecordSources(inputs)),\n [ComputedDocumentFact.AI_USE_INVENTORY]: () => computeAiUseInventory(inputs),\n [ComputedDocumentFact.AI_CONTENT_GUARDRAILS]: () => computeAiContentGuardrails(inputs),\n };\n return Object.values(ComputedDocumentFact).flatMap((fact) => {\n const answer = computers[fact]();\n return answer === undefined ? [] : [answer];\n });\n}\n\n/**\n * The derived facts with the computed ones laid over them — what a reader of the application's facts sees.\n *\n * A computed answer REPLACES any declaration of the same fact, whatever its scope. A stored copy is refused\n * by the family validator, so replacing it is not a precedence rule: the stored copy is never the answer.\n * Declared facts pass through untouched, and the computed declarations adopt the stored file's governance\n * scope and specification ref, so one document reads one scope.\n *\n * ## Only over a family that exists\n *\n * `stored` is required. An application that has not produced its facts yet has nothing to enrich, and a\n * facts set synthesized from the computed ones alone would change what every reader concludes: \"no facts\n * produced yet\" makes a citation check skip, while \"declares only these two\" makes it refuse every other\n * citation. The computed facts join the application's facts; they do not stand in for them.\n */\n/**\n * The authority a computed answer is stamped with: the fact's tier from {@link COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS},\n * never a default. A RUNTIME_EVIDENCE fact carries the instant its evidence describes; one produced without\n * that instant is a defect in its computation and is refused here rather than stamped as specification.\n */\nfunction computedFactAuthority(answer: ComputedDocumentFactAnswer) {\n const common = { authorityRef: `document-fact-authority:${answer.fact}`, authorityVersion: 1 };\n if (COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS[answer.fact] === AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE) {\n if (answer.observedAt === undefined) throw new Error(`Computed fact \"${answer.fact}\" is runtime evidence and was produced without its observedAt instant`);\n return { factAuthorityKind: AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE, ...common, observedAt: answer.observedAt };\n }\n return { factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION, ...common };\n}\n\nexport function overlayComputedDocumentFacts(\n stored: ApplicationDocumentFactSpecification,\n answers: readonly ComputedDocumentFactAnswer[],\n): ApplicationDocumentFactSpecification {\n const declarationRefOf = (fact: ComputedDocumentFact): string => `document-fact-declaration:${fact}`;\n const everyComputedDeclarationRef = new Set(Object.values(ComputedDocumentFact).map(declarationRefOf));\n // A stored copy of ANY computed fact is dropped, answered or not (#1636 review). It used to be dropped only\n // when the runtime had an answer to replace it with, so an unanswered fact let the copy through — and for\n // `retention-enforcement` that is a typed \"ENFORCED\" under RUNTIME_EVIDENCE authority reaching a notice\n // whose records were never collected. A stored copy is never the answer; absent is.\n const isComputedCopy = (declaration: ApplicationDocumentFactSpecification[\"declarations\"][number]): boolean =>\n computedDocumentFactOf(declaration.factRef) !== undefined || everyComputedDeclarationRef.has(declaration.declarationRef);\n if (answers.length === 0 && !stored.declarations.some(isComputedCopy)) return stored;\n // The family schema requires at least one declaration, so a parsed specification always has a first.\n const governanceScope = stored.declarations[0]!.governanceScope;\n let kept = stored.declarations.filter((declaration) => !isComputedCopy(declaration));\n if (kept.length === 0 && answers.length === 0) {\n // Degenerate: the file holds nothing but copies of computed facts, and nothing was computed. The family\n // cannot be empty, so keep the copies that claim no runtime evidence (the validator reports them at every\n // landing) and never one that claims RUNTIME_EVIDENCE. A file of runtime-evidence copies alone is returned\n // as it is — the one residual, and one only a hand edit could produce (landing validation reports it as\n // DOCUMENT_FACT_IS_COMPUTED). It exists because the stored-file schema must admit RUNTIME_EVIDENCE for the\n // overlaid view to validate; the clean closure is a separate schema for the overlaid view, keeping that tier\n // out of the stored-file schema — not done yet, and recorded here rather than left implicit.\n kept = stored.declarations.filter((declaration) => declaration.authority?.factAuthorityKind !== AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE);\n if (kept.length === 0) return stored;\n }\n const computed = answers.map((answer) => ({\n declarationRef: declarationRefOf(answer.fact),\n declarationVersion: 1,\n factRef: `document-fact:${answer.fact}`,\n factVersion: 1,\n governanceScope,\n sensitivityRef: COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS[answer.fact],\n authority: computedFactAuthority(answer),\n // A computed NOT_APPLICABLE is a recorded finding with its reason (#2847), which the family schema carries as is.\n ...(answer.notApplicableReason !== undefined\n ? { resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.NOT_APPLICABLE, reason: answer.notApplicableReason }\n : { resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN, value: answer.value }),\n }));\n const declarations = [...kept, ...computed].sort((left, right) =>\n `${left.declarationRef}@${left.declarationVersion}` < `${right.declarationRef}@${right.declarationVersion}` ? -1 : 1,\n );\n return ApplicationDocumentFactSpecificationSchema.parse({\n schemaVersion: 1,\n specificationRef: stored.specificationRef,\n specificationVersion: stored.specificationVersion,\n declarations,\n });\n}\n"]}
@@ -25,10 +25,12 @@
25
25
  * | entry | derived from |
26
26
  * |---|---|
27
27
  * | operator identity part | {@link outstandingOperatorComplianceIdentityParts}, total over {@link OperatorComplianceIdentityPart} |
28
+ * | legal notice | {@link legalNoticeOwed} (establishment undeclared), {@link outstandingLegalNoticeParticulars} (`owed` only), and whether {@link LEGAL_NOTICE_GENERATED_RELATIVE_PATH} exists |
28
29
  * | retention class | {@link undeclaredRetentionClasses}, total over `DataRetentionClass` |
29
30
  * | subject-data recipients | the generated recipients module is absent — the predicate behind `wildo config validate`'s warning |
30
31
  * | governance question | the creation question queue's `GOVERNANCE_FACT` items (`wildo creation questions`) |
31
32
  * | sign-up acceptance | the recorded governed-document releases in force, their approval, and whether their runtime module exists |
33
+ * | brand name not cleared | the chosen brand name against its trademark screening — `deriveBrandNameChoiceStanding`, the predicate the coherence report and the risk signal use (#2338) |
32
34
  *
33
35
  * The governance population is the QUEUE's, deliberately: a fact still needed by a DRAFTED governed document. A document
34
36
  * not drafted yet asks nothing, so its facts are not listed here — the creation run drafting it is what surfaces them.
@@ -53,6 +55,23 @@ export declare enum LaunchBlockerKind {
53
55
  OPERATOR_IDENTITY_PART_UNDECLARED = "operator-identity-part-undeclared",
54
56
  /** A governed-document question waits on the person; it is answered in the workbench's governance panel. */
55
57
  GOVERNANCE_QUESTION_UNANSWERED = "governance-question-unanswered",
58
+ /**
59
+ * Where the operator is established is undeclared, so whether the service owes a legal notice (imprint) is unknown
60
+ * (#2588). Establishment decides it (the EU and EEA under Directive 2000/31/EC Art. 5(1), the UK under its 2002 Regulations, Switzerland under UWG Art. 3 Abs. 1 Bst. s), not the markets served.
61
+ */
62
+ LEGAL_NOTICE_ESTABLISHMENT_UNDECLARED = "legal-notice-establishment-undeclared",
63
+ /**
64
+ * A particular every established provider's notice states (its direct contact) is undeclared, so the
65
+ * `/legal-notice` page marks it "not yet declared". The name and the address are reported as identity parts, being
66
+ * the same fields; the particulars that apply only to some operators (register, VAT, legal form…) are not listed,
67
+ * because nothing could ever settle them for an operator they do not apply to.
68
+ */
69
+ LEGAL_NOTICE_PARTICULAR_UNDECLARED = "legal-notice-particular-undeclared",
70
+ /**
71
+ * A notice is owed, but its runtime module was never generated, so the running application's `/legal-notice` page
72
+ * says no notice is required. A STALE module is the `legal-notice` validate domain's failure, not this item.
73
+ */
74
+ LEGAL_NOTICE_NOT_CARRIED = "legal-notice-not-carried",
56
75
  /** A `DataRetentionClass` has no declared period in `dataRetention`. */
57
76
  RETENTION_CLASS_UNDECLARED = "retention-class-undeclared",
58
77
  /** No subject-data recipients module, so every subject export says recipients are not declared. */
@@ -66,7 +85,14 @@ export declare enum LaunchBlockerKind {
66
85
  * is off; once the gate is armed — which Gate 3 does — registration offers nothing. Marked whatever the gate's state today,
67
86
  * because this list is what Gate 3 reads.
68
87
  */
69
- SIGN_UP_ACCEPTANCE_UNAPPROVED = "sign-up-acceptance-unapproved"
88
+ SIGN_UP_ACCEPTANCE_UNAPPROVED = "sign-up-acceptance-unapproved",
89
+ /**
90
+ * The brand's chosen name is not cleared by its trademark screening (#2338): a register was not read, none was,
91
+ * or a live mark or a product doing the same job already uses the name. A name printed on every surface is the
92
+ * one decision a real user sees first, and choosing it with the screening open was recorded — this keeps it in
93
+ * view until the screening reads every register with no conflict.
94
+ */
95
+ BRAND_NAME_NOT_CLEARED = "brand-name-not-cleared"
70
96
  }
71
97
  /** An input the list is derived from — named so an unreadable one can be reported as such. */
72
98
  export declare enum LaunchBlockerSource {
@@ -75,7 +101,9 @@ export declare enum LaunchBlockerSource {
75
101
  /** The creation question queue: the governance questions. */
76
102
  QUESTION_QUEUE = "question-queue",
77
103
  /** The specifications package's recorded governed-document releases: sign-up acceptance. */
78
- DOCUMENT_RELEASES = "document-releases"
104
+ DOCUMENT_RELEASES = "document-releases",
105
+ /** The landed brand, brand-name screening, market snapshot and dossier: the brand name's standing. */
106
+ BRAND_NAMING = "brand-naming"
79
107
  }
80
108
  /** One open decision. */
81
109
  export declare const LaunchBlockerSchema: z.ZodObject<{
@@ -135,12 +163,24 @@ export interface LaunchBlockerInputs {
135
163
  };
136
164
  /** Whether {@link SUBJECT_DATA_RECIPIENTS_GENERATED_RELATIVE_PATH} exists in the application. */
137
165
  readonly subjectDataRecipientsModulePresent: boolean;
166
+ /** Whether {@link LEGAL_NOTICE_GENERATED_RELATIVE_PATH} exists in the application. */
167
+ readonly legalNoticeModulePresent: boolean;
138
168
  /** The governed-document questions waiting on the person. `undefined` when the queue could not be read. */
139
169
  readonly governanceQuestions?: readonly LaunchBlockerGovernanceQuestion[];
140
170
  /** The recorded releases (`documentReleaseSet`). `undefined` when the specifications package could not be read. */
141
171
  readonly documentReleases?: readonly GovernedDocumentRelease[];
142
172
  /** Whether {@link GOVERNED_DOCUMENT_RELEASES_GENERATED_RELATIVE_PATH} exists in the application. */
143
173
  readonly documentReleasesModulePresent: boolean;
174
+ /**
175
+ * The landed families the brand name's standing is derived from, RAW (each is parsed here, as the risk signal
176
+ * parses them). `undefined` when the specifications package could not be read.
177
+ */
178
+ readonly brandNaming?: {
179
+ readonly brand: unknown;
180
+ readonly screening: unknown;
181
+ readonly market: unknown;
182
+ readonly creatorInputs: unknown;
183
+ };
144
184
  /** Why each unreadable input could not be read, for the report. */
145
185
  readonly unreadableReasons?: Partial<Record<LaunchBlockerSource, string>>;
146
186
  }
@@ -1 +1 @@
1
- {"version":3,"file":"launch-blockers.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/launch-blockers.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA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