@wildo-ai/saas-models 1.1.5 → 1.1.7

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 (1295) hide show
  1. package/dist/esm/__tests__/setup.d.ts.map +1 -1
  2. package/dist/esm/__tests__/setup.js.map +1 -1
  3. package/dist/esm/_inspect.d.ts.map +1 -1
  4. package/dist/esm/_inspect.js.map +1 -1
  5. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
  6. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.js.map +1 -1
  7. package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
  8. package/dist/esm/applications/application-subject.shared.schemas.js.map +1 -1
  9. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
  10. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +2 -1
  11. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
  12. package/dist/esm/applications/applications-context.schemas.d.ts +176 -2
  13. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  14. package/dist/esm/applications/applications-context.schemas.js.map +1 -1
  15. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  16. package/dist/esm/applications/applications.shared.resources-config.schemas.js +3 -2
  17. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  18. package/dist/esm/applications/applications.shared.schemas.d.ts +7 -5
  19. package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
  20. package/dist/esm/applications/applications.shared.schemas.js +6 -4
  21. package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
  22. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +10 -1
  23. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
  24. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js +49 -15
  25. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
  26. package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
  27. package/dist/esm/billing/billing-account.shared.schemas.js +2 -2
  28. package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
  29. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +25 -0
  30. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
  31. package/dist/esm/billing/billing-configuration.shared.schemas.js +19 -0
  32. package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
  33. package/dist/esm/billing/billing-enums.shared.schemas.d.ts +27 -5
  34. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  35. package/dist/esm/billing/billing-enums.shared.schemas.js +30 -4
  36. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  37. package/dist/esm/billing/billing-types.shared.schemas.d.ts +37 -11
  38. package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
  39. package/dist/esm/billing/billing-types.shared.schemas.js +31 -19
  40. package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
  41. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts +2 -0
  42. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
  43. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js +18 -7
  44. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
  45. package/dist/esm/billing/credit-pool.shared.schemas.d.ts +2 -0
  46. package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
  47. package/dist/esm/billing/credit-pool.shared.schemas.js +7 -1
  48. package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
  49. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts.map +1 -1
  50. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js +6 -6
  51. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
  52. package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
  53. package/dist/esm/billing/invoice-ref.shared.schemas.js +1 -1
  54. package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
  55. package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
  56. package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
  57. package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
  58. package/dist/esm/billing/price.shared.schemas.js +5 -3
  59. package/dist/esm/billing/price.shared.schemas.js.map +1 -1
  60. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts +11 -1
  61. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  62. package/dist/esm/billing/product-behavior-policy.shared.schemas.js +39 -23
  63. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  64. package/dist/esm/billing/product-definition.shared.schemas.d.ts +30 -2
  65. package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
  66. package/dist/esm/billing/product-definition.shared.schemas.js +35 -0
  67. package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
  68. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +6 -3
  69. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
  70. package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
  71. package/dist/esm/billing/product.shared.schemas.d.ts +7 -3
  72. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  73. package/dist/esm/billing/product.shared.schemas.js +22 -7
  74. package/dist/esm/billing/product.shared.schemas.js.map +1 -1
  75. package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
  76. package/dist/esm/billing/promotions.shared.resources-config.schemas.js +8 -8
  77. package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
  78. package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
  79. package/dist/esm/billing/promotions.shared.schemas.js.map +1 -1
  80. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts +135 -0
  81. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts.map +1 -0
  82. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js +112 -0
  83. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js.map +1 -0
  84. package/dist/esm/billing/public-pricing-catalog.shared.d.ts +30 -0
  85. package/dist/esm/billing/public-pricing-catalog.shared.d.ts.map +1 -0
  86. package/dist/esm/billing/public-pricing-catalog.shared.js +53 -0
  87. package/dist/esm/billing/public-pricing-catalog.shared.js.map +1 -0
  88. package/dist/esm/billing/referral-reward.shared.schemas.d.ts +51 -0
  89. package/dist/esm/billing/referral-reward.shared.schemas.d.ts.map +1 -0
  90. package/dist/esm/billing/referral-reward.shared.schemas.js +92 -0
  91. package/dist/esm/billing/referral-reward.shared.schemas.js.map +1 -0
  92. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts +54 -33
  93. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
  94. package/dist/esm/billing/referral.shared.resources-config.schemas.js +56 -2
  95. package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
  96. package/dist/esm/billing/referral.shared.schemas.d.ts +22 -37
  97. package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
  98. package/dist/esm/billing/referral.shared.schemas.js +24 -44
  99. package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
  100. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +9 -1
  101. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  102. package/dist/esm/billing/subscription.shared.resources-config.schemas.js +55 -22
  103. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  104. package/dist/esm/billing/subscription.shared.schemas.d.ts +80 -5
  105. package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
  106. package/dist/esm/billing/subscription.shared.schemas.js +85 -25
  107. package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
  108. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -1
  109. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -1
  110. package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts.map +1 -1
  111. package/dist/esm/billing/usage-record.shared.resources-config.schemas.js.map +1 -1
  112. package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
  113. package/dist/esm/billing/usage-record.shared.schemas.js +5 -5
  114. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  115. package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
  116. package/dist/esm/charts/aggregation-query.shared.schemas.js.map +1 -1
  117. package/dist/esm/charts/aggregation.shared.definitions.d.ts.map +1 -1
  118. package/dist/esm/charts/aggregation.shared.definitions.js.map +1 -1
  119. package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
  120. package/dist/esm/charts/chart-definition-builder.shared.js.map +1 -1
  121. package/dist/esm/companion/artifact-placement.shared.definitions.d.ts.map +1 -1
  122. package/dist/esm/companion/artifact-placement.shared.definitions.js.map +1 -1
  123. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +143 -2
  124. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  125. package/dist/esm/companion/provider-discovery.shared.schemas.js +84 -1
  126. package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
  127. package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -1
  128. package/dist/esm/companion/shared-library-companion.shared.definitions.js.map +1 -1
  129. package/dist/esm/companion-exports.d.ts.map +1 -1
  130. package/dist/esm/companion-exports.js.map +1 -1
  131. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -1
  132. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  133. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +4 -0
  134. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
  135. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts +70 -0
  136. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -1
  137. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js +87 -0
  138. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -1
  139. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +34 -0
  140. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -1
  141. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +137 -3
  142. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -1
  143. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts +7 -0
  144. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
  145. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -1
  146. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +28 -2
  147. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  148. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js +29 -8
  149. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js.map +1 -1
  150. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +29 -6
  151. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  152. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +38 -9
  153. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  154. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +1822 -146
  155. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  156. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +1777 -87
  157. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  158. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts +10 -0
  159. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  160. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +148 -7
  161. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  162. package/dist/esm/compliance/data-classification/data-classification.shared.schemas.d.ts.map +1 -1
  163. package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js.map +1 -1
  164. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -1
  165. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -1
  166. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
  167. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
  168. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -1
  169. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -1
  170. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -1
  171. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -1
  172. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +2 -0
  173. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
  174. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +2 -0
  175. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
  176. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -1
  177. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -1
  178. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
  179. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
  180. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -1
  181. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -1
  182. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -1
  183. package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -1
  184. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +17 -8
  185. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -1
  186. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +43 -20
  187. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -1
  188. package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
  189. package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js.map +1 -1
  190. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts +38 -0
  191. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
  192. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js +39 -0
  193. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
  194. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts +35 -0
  195. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts.map +1 -0
  196. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js +82 -0
  197. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js.map +1 -0
  198. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts +37 -0
  199. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts.map +1 -0
  200. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js +223 -0
  201. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js.map +1 -0
  202. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts +222 -0
  203. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts.map +1 -0
  204. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js +331 -0
  205. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js.map +1 -0
  206. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
  207. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
  208. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +37 -3
  209. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
  210. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +33 -4
  211. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
  212. package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -1
  213. package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.js.map +1 -1
  214. package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
  215. package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js.map +1 -1
  216. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
  217. package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
  218. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts +52 -0
  219. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts.map +1 -0
  220. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js +116 -0
  221. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js.map +1 -0
  222. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts +11 -0
  223. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts.map +1 -0
  224. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js +11 -0
  225. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js.map +1 -0
  226. package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
  227. package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
  228. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts +93 -0
  229. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts.map +1 -0
  230. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js +149 -0
  231. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js.map +1 -0
  232. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts +43 -0
  233. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts.map +1 -0
  234. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js +106 -0
  235. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js.map +1 -0
  236. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts +209 -0
  237. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts.map +1 -0
  238. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js +226 -0
  239. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js.map +1 -0
  240. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts +129 -5
  241. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
  242. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js +128 -4
  243. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -1
  244. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts +53 -0
  245. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts.map +1 -0
  246. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js +74 -0
  247. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js.map +1 -0
  248. package/dist/esm/compliance/privacy/sharing.shared.schemas.d.ts.map +1 -1
  249. package/dist/esm/compliance/privacy/sharing.shared.schemas.js.map +1 -1
  250. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts +311 -0
  251. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts.map +1 -0
  252. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js +355 -0
  253. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js.map +1 -0
  254. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -1
  255. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -1
  256. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +178 -39
  257. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
  258. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +145 -35
  259. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
  260. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
  261. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js +26 -0
  262. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -1
  263. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts +9 -0
  264. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
  265. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
  266. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -1
  267. package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -1
  268. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -1
  269. package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -1
  270. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
  271. package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
  272. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +109 -1
  273. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  274. package/dist/esm/config/app-configuration-shared.shared.schemas.js +57 -0
  275. package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
  276. package/dist/esm/config/app-frontend-type.shared.schemas.d.ts.map +1 -1
  277. package/dist/esm/config/app-frontend-type.shared.schemas.js.map +1 -1
  278. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
  279. package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
  280. package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
  281. package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
  282. package/dist/esm/config/configuration-validation.shared.schemas.d.ts.map +1 -1
  283. package/dist/esm/config/configuration-validation.shared.schemas.js.map +1 -1
  284. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +69 -0
  285. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  286. package/dist/esm/config/entity-identity-config.shared.schemas.js +93 -0
  287. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  288. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +16 -16
  289. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
  290. package/dist/esm/config/frontend/chart-definition.shared.schemas.js.map +1 -1
  291. package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
  292. package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
  293. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +160 -61
  294. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
  295. package/dist/esm/config/frontend/navigation.shared.schemas.js +297 -65
  296. package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
  297. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
  298. package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
  299. package/dist/esm/config/postgresql.shared.schemas.d.ts.map +1 -1
  300. package/dist/esm/config/postgresql.shared.schemas.js.map +1 -1
  301. package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
  302. package/dist/esm/config/registration-acquisition-policy.shared.utils.js.map +1 -1
  303. package/dist/esm/config-authoring.entry.d.ts.map +1 -1
  304. package/dist/esm/config-authoring.entry.js.map +1 -1
  305. package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
  306. package/dist/esm/crdt/crdt-merge.shared.utils.js.map +1 -1
  307. package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -1
  308. package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js.map +1 -1
  309. package/dist/esm/errors/caught-error-description.shared.utils.d.ts +69 -0
  310. package/dist/esm/errors/caught-error-description.shared.utils.d.ts.map +1 -0
  311. package/dist/esm/errors/caught-error-description.shared.utils.js +77 -0
  312. package/dist/esm/errors/caught-error-description.shared.utils.js.map +1 -0
  313. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +76 -3
  314. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  315. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +76 -2
  316. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  317. package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
  318. package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
  319. package/dist/esm/errors/errors.shared.schemas.d.ts +20 -1
  320. package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
  321. package/dist/esm/errors/errors.shared.schemas.js +16 -9
  322. package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
  323. package/dist/esm/errors/errors.shared.utils.d.ts +0 -24
  324. package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
  325. package/dist/esm/errors/errors.shared.utils.js +0 -39
  326. package/dist/esm/errors/errors.shared.utils.js.map +1 -1
  327. package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts.map +1 -1
  328. package/dist/esm/errors/resource-access-forbidden.shared.error.js.map +1 -1
  329. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +6 -7
  330. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -1
  331. package/dist/esm/errors/thrown-value-description.shared.utils.js +6 -7
  332. package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -1
  333. package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts.map +1 -1
  334. package/dist/esm/errors/zod-issue-formatting.shared.utils.js.map +1 -1
  335. package/dist/esm/exports/tabular-csv.shared.utils.d.ts.map +1 -1
  336. package/dist/esm/exports/tabular-csv.shared.utils.js.map +1 -1
  337. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts +70 -0
  338. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts.map +1 -0
  339. package/dist/esm/external-data/external-data-pipeline-description.shared.js +92 -0
  340. package/dist/esm/external-data/external-data-pipeline-description.shared.js.map +1 -0
  341. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts +154 -0
  342. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts.map +1 -0
  343. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js +161 -0
  344. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js.map +1 -0
  345. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +1071 -23
  346. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  347. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +1065 -17
  348. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  349. package/dist/esm/external-data/external-data-provenance.shared.d.ts +71 -0
  350. package/dist/esm/external-data/external-data-provenance.shared.d.ts.map +1 -0
  351. package/dist/esm/external-data/external-data-provenance.shared.js +88 -0
  352. package/dist/esm/external-data/external-data-provenance.shared.js.map +1 -0
  353. package/dist/esm/external-data.exports.d.ts +5 -0
  354. package/dist/esm/external-data.exports.d.ts.map +1 -1
  355. package/dist/esm/external-data.exports.js +11 -0
  356. package/dist/esm/external-data.exports.js.map +1 -1
  357. package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
  358. package/dist/esm/external-providers/compose-provider-registry.shared.js.map +1 -1
  359. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +17 -2
  360. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
  361. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +22 -4
  362. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
  363. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
  364. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +3 -0
  365. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  366. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -1
  367. package/dist/esm/external-providers/engine-capability-surface.shared.js +2 -0
  368. package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -1
  369. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
  370. package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
  371. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +152 -1
  372. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  373. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js.map +1 -1
  374. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +4 -3
  375. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
  376. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +4 -3
  377. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
  378. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts +45 -0
  379. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
  380. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js +14 -0
  381. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
  382. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +188 -4
  383. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  384. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +76 -9
  385. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  386. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +175 -33
  387. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
  388. package/dist/esm/external-providers/frontend-provider-public-config.shared.js +247 -42
  389. package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
  390. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts +53 -0
  391. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts.map +1 -0
  392. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js +41 -0
  393. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js.map +1 -0
  394. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts +150 -0
  395. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts.map +1 -0
  396. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js +22 -0
  397. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js.map +1 -0
  398. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts +42 -0
  399. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts.map +1 -0
  400. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js +49 -0
  401. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js.map +1 -0
  402. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -1
  403. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -1
  404. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +53 -0
  405. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -1
  406. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +56 -0
  407. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -1
  408. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +34 -0
  409. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  410. package/dist/esm/external-providers/provider-capability.shared.schemas.js +34 -0
  411. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  412. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +341 -4
  413. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  414. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +270 -20
  415. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  416. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts +6 -2
  417. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
  418. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +6 -2
  419. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
  420. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +174 -1
  421. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
  422. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +125 -0
  423. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
  424. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +3 -3
  425. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
  426. package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
  427. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts +42 -0
  428. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts.map +1 -0
  429. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js +57 -0
  430. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js.map +1 -0
  431. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +6 -0
  432. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
  433. package/dist/esm/external-providers/provider-protocol.shared.schemas.js +6 -0
  434. package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
  435. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts +58 -0
  436. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts.map +1 -0
  437. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js +35 -0
  438. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js.map +1 -0
  439. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts +115 -0
  440. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts.map +1 -0
  441. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js +137 -0
  442. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js.map +1 -0
  443. package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -1
  444. package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -1
  445. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts +73 -0
  446. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts.map +1 -0
  447. package/dist/esm/external-providers/provider-usage-cost.shared.js +171 -0
  448. package/dist/esm/external-providers/provider-usage-cost.shared.js.map +1 -0
  449. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts +12 -0
  450. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts.map +1 -0
  451. package/dist/esm/external-providers/provider-usage-pricing.example.js +40 -0
  452. package/dist/esm/external-providers/provider-usage-pricing.example.js.map +1 -0
  453. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts +68 -32
  454. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
  455. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js +63 -52
  456. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -1
  457. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +5 -5
  458. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
  459. package/dist/esm/features/application-features.shared.resources-config.schemas.js +13 -5
  460. package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
  461. package/dist/esm/features/connected-feature.example.d.ts.map +1 -1
  462. package/dist/esm/features/connected-feature.example.js +2 -1
  463. package/dist/esm/features/connected-feature.example.js.map +1 -1
  464. package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
  465. package/dist/esm/features/core-feature-definitions.shared.js +2 -1
  466. package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
  467. package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
  468. package/dist/esm/features/feature-builders.shared.js.map +1 -1
  469. package/dist/esm/features/feature-definition.shared.schemas.d.ts +2 -11
  470. package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
  471. package/dist/esm/features/feature-definition.shared.schemas.js +0 -12
  472. package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
  473. package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
  474. package/dist/esm/features/feature-registry.shared.js.map +1 -1
  475. package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
  476. package/dist/esm/features/feature-resolution.shared.schemas.js.map +1 -1
  477. package/dist/esm/features/scope-features.shared.schemas.d.ts +31 -17
  478. package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
  479. package/dist/esm/features/scope-features.shared.schemas.js +27 -5
  480. package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
  481. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +5 -5
  482. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
  483. package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
  484. package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -1
  485. package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -1
  486. package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
  487. package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
  488. package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
  489. package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
  490. package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
  491. package/dist/esm/files/files.shared.schemas.js.map +1 -1
  492. package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
  493. package/dist/esm/files/files.shared.utils.js.map +1 -1
  494. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  495. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js.map +1 -1
  496. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -1
  497. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.js.map +1 -1
  498. package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -1
  499. package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js.map +1 -1
  500. package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
  501. package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js.map +1 -1
  502. package/dist/esm/flows-actors/actors.shared.schemas.d.ts +127 -11
  503. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  504. package/dist/esm/flows-actors/actors.shared.schemas.js +32 -1
  505. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  506. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +16 -0
  507. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
  508. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js +7 -0
  509. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -1
  510. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts +68 -0
  511. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts.map +1 -0
  512. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js +276 -0
  513. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js.map +1 -0
  514. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts +468 -0
  515. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts.map +1 -0
  516. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js +472 -0
  517. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js.map +1 -0
  518. package/dist/esm/flows-actors/agents.shared.schemas.d.ts +2 -2
  519. package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
  520. package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
  521. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts +118 -0
  522. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts.map +1 -0
  523. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js +144 -0
  524. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js.map +1 -0
  525. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
  526. package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
  527. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -1
  528. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -1
  529. package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -1
  530. package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.js.map +1 -1
  531. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +142 -8
  532. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  533. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +209 -11
  534. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  535. package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -1
  536. package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.js.map +1 -1
  537. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -1
  538. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.js.map +1 -1
  539. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +37 -2
  540. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  541. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +30 -2
  542. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  543. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts +0 -11
  544. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
  545. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js +12 -5
  546. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
  547. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts +45 -6
  548. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
  549. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js +31 -5
  550. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
  551. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
  552. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js +30 -30
  553. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
  554. package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -1
  555. package/dist/esm/flows-actors/flows-actors.system.shared.definitions.js.map +1 -1
  556. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +15 -7
  557. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  558. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
  559. package/dist/esm/flows-actors/flows.shared.schemas.d.ts +15 -0
  560. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  561. package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
  562. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +506 -0
  563. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -1
  564. package/dist/esm/flows-actors/human-decision.shared.schemas.js +502 -0
  565. package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -1
  566. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
  567. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
  568. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts +46 -0
  569. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts.map +1 -0
  570. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js +65 -0
  571. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js.map +1 -0
  572. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts +120 -0
  573. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts.map +1 -0
  574. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js +165 -0
  575. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js.map +1 -0
  576. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts +45 -0
  577. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts.map +1 -0
  578. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js +127 -0
  579. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js.map +1 -0
  580. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts +83 -0
  581. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts.map +1 -0
  582. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js +97 -0
  583. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js.map +1 -0
  584. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts +136 -0
  585. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts.map +1 -0
  586. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js +90 -0
  587. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js.map +1 -0
  588. package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
  589. package/dist/esm/flows-actors/prompt-ir.shared.schemas.js.map +1 -1
  590. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +5 -1
  591. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -1
  592. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +19 -4
  593. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -1
  594. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +13 -15
  595. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -1
  596. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +30 -17
  597. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -1
  598. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts +268 -0
  599. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts.map +1 -0
  600. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js +576 -0
  601. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js.map +1 -0
  602. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +30 -0
  603. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
  604. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
  605. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts +129 -0
  606. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts.map +1 -0
  607. package/dist/esm/flows-actors/work-attribution.shared.schemas.js +141 -0
  608. package/dist/esm/flows-actors/work-attribution.shared.schemas.js.map +1 -0
  609. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts +22 -1
  610. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map +1 -1
  611. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js +23 -0
  612. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
  613. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +61 -0
  614. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
  615. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +61 -0
  616. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
  617. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
  618. package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
  619. package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts.map +1 -1
  620. package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.js.map +1 -1
  621. package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
  622. package/dist/esm/guidance/guidance-state.shared.schemas.js +11 -10
  623. package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
  624. package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
  625. package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
  626. package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
  627. package/dist/esm/guidance/lifecycle-config.shared.schemas.js.map +1 -1
  628. package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts.map +1 -1
  629. package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.js.map +1 -1
  630. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
  631. package/dist/esm/guidance/lifecycle-state.shared.schemas.js +6 -6
  632. package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
  633. package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
  634. package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
  635. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
  636. package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
  637. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -1
  638. package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -1
  639. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
  640. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.js.map +1 -1
  641. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  642. package/dist/esm/guidance/progression-state.shared.schemas.js +8 -7
  643. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  644. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
  645. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +1 -1
  646. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
  647. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +550 -30
  648. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  649. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +498 -34
  650. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  651. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts +62 -0
  652. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts.map +1 -0
  653. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js +66 -0
  654. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js.map +1 -0
  655. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts +133 -0
  656. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts.map +1 -0
  657. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js +191 -0
  658. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js.map +1 -0
  659. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +37 -6
  660. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -1
  661. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +37 -6
  662. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -1
  663. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -1
  664. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -1
  665. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts +36 -0
  666. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts.map +1 -0
  667. package/dist/esm/i18n/application-config-vocabulary.shared.js +39 -0
  668. package/dist/esm/i18n/application-config-vocabulary.shared.js.map +1 -0
  669. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts +11 -0
  670. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts.map +1 -0
  671. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js +14 -0
  672. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js.map +1 -0
  673. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts +20 -0
  674. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts.map +1 -0
  675. package/dist/esm/i18n/engine-open-vocabulary.shared.js +21 -0
  676. package/dist/esm/i18n/engine-open-vocabulary.shared.js.map +1 -0
  677. package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts.map +1 -1
  678. package/dist/esm/i18n/interpolate-label-params.shared.utils.js.map +1 -1
  679. package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
  680. package/dist/esm/i18n/labelling.dto.shared.schemas.js.map +1 -1
  681. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts +94 -0
  682. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts.map +1 -0
  683. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js +206 -0
  684. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js.map +1 -0
  685. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts +169 -0
  686. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts.map +1 -0
  687. package/dist/esm/inbound/conversation-threads.shared.schemas.js +231 -0
  688. package/dist/esm/inbound/conversation-threads.shared.schemas.js.map +1 -0
  689. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts +195 -0
  690. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts.map +1 -0
  691. package/dist/esm/inbound/inbound-channels.shared.schemas.js +244 -0
  692. package/dist/esm/inbound/inbound-channels.shared.schemas.js.map +1 -0
  693. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts +36 -0
  694. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts.map +1 -0
  695. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js +169 -0
  696. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js.map +1 -0
  697. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts +404 -0
  698. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts.map +1 -0
  699. package/dist/esm/inbound/inbound-delivery.shared.schemas.js +449 -0
  700. package/dist/esm/inbound/inbound-delivery.shared.schemas.js.map +1 -0
  701. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts +46 -0
  702. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts.map +1 -0
  703. package/dist/esm/inbound/inbound-endpoint-env.shared.js +57 -0
  704. package/dist/esm/inbound/inbound-endpoint-env.shared.js.map +1 -0
  705. package/dist/esm/index.d.ts +58 -1
  706. package/dist/esm/index.d.ts.map +1 -1
  707. package/dist/esm/index.js +67 -1
  708. package/dist/esm/index.js.map +1 -1
  709. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -1
  710. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -1
  711. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -1
  712. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -1
  713. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -1
  714. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -1
  715. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -1
  716. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -1
  717. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +28 -0
  718. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -1
  719. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js +29 -0
  720. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
  721. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +95 -1
  722. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -1
  723. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +121 -0
  724. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -1
  725. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -1
  726. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -1
  727. package/dist/esm/meta-workflows.exports.d.ts +0 -1
  728. package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
  729. package/dist/esm/meta-workflows.exports.js +0 -1
  730. package/dist/esm/meta-workflows.exports.js.map +1 -1
  731. package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
  732. package/dist/esm/monitoring/monitoring.shared.schemas.js.map +1 -1
  733. package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
  734. package/dist/esm/notifications/email/email-context.shared.schemas.js.map +1 -1
  735. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -1
  736. package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -1
  737. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +7 -1
  738. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  739. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js +35 -0
  740. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  741. package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
  742. package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
  743. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts +131 -0
  744. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts.map +1 -0
  745. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js +258 -0
  746. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js.map +1 -0
  747. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts +448 -0
  748. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts.map +1 -0
  749. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js +530 -0
  750. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js.map +1 -0
  751. package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -1
  752. package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.js.map +1 -1
  753. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  754. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -3
  755. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
  756. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
  757. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
  758. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +16 -1
  759. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  760. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +46 -16
  761. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  762. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +19 -12
  763. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
  764. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +77 -12
  765. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
  766. package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
  767. package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
  768. package/dist/esm/notifications/notification-badges.schemas.d.ts +35 -3
  769. package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
  770. package/dist/esm/notifications/notification-badges.schemas.js +43 -3
  771. package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
  772. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
  773. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
  774. package/dist/esm/notifications/notifications.shared.schemas.d.ts +66 -399
  775. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  776. package/dist/esm/notifications/notifications.shared.schemas.js +111 -58
  777. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  778. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -1
  779. package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -1
  780. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +5 -5
  781. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
  782. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +6 -6
  783. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
  784. package/dist/esm/organizations/organization-features.shared.schemas.d.ts.map +1 -1
  785. package/dist/esm/organizations/organization-features.shared.schemas.js.map +1 -1
  786. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +3 -0
  787. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
  788. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +60 -14
  789. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
  790. package/dist/esm/organizations/organization-members.shared.schemas.d.ts +3 -0
  791. package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
  792. package/dist/esm/organizations/organization-members.shared.schemas.js +30 -0
  793. package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
  794. package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts.map +1 -1
  795. package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.js.map +1 -1
  796. package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
  797. package/dist/esm/organizations/organization-notifications.shared.schemas.js +9 -9
  798. package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
  799. package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  800. package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.js.map +1 -1
  801. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
  802. package/dist/esm/organizations/organization-preferences.shared.schemas.js +4 -4
  803. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  804. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts +0 -1
  805. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
  806. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.js.map +1 -1
  807. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +5 -5
  808. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  809. package/dist/esm/organizations/organization-profile.shared.schemas.js +15 -10
  810. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  811. package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -1
  812. package/dist/esm/organizations/organization-unit-inheritance.shared.js.map +1 -1
  813. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -1
  814. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js +1 -1
  815. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -1
  816. package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
  817. package/dist/esm/organizations/organization-unit-members.shared.schemas.js +2 -1
  818. package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -1
  819. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts +63 -1
  820. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
  821. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js +106 -5
  822. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -1
  823. package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
  824. package/dist/esm/organizations/organization-unit-narrowing.example.js.map +1 -1
  825. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  826. package/dist/esm/organizations/organization-unit-narrowing.shared.js +9 -0
  827. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  828. package/dist/esm/organizations/organization-units.shared.path.d.ts.map +1 -1
  829. package/dist/esm/organizations/organization-units.shared.path.js.map +1 -1
  830. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
  831. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js +7 -2
  832. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
  833. package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
  834. package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
  835. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +3 -1
  836. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  837. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +12 -8
  838. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  839. package/dist/esm/organizations/organizations.shared.schemas.d.ts +7 -2
  840. package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
  841. package/dist/esm/organizations/organizations.shared.schemas.js +51 -1
  842. package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
  843. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts +58 -0
  844. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts.map +1 -0
  845. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js +188 -0
  846. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js.map +1 -0
  847. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts +122 -0
  848. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts.map +1 -0
  849. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js +136 -0
  850. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js.map +1 -0
  851. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts +36 -0
  852. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts.map +1 -0
  853. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js +155 -0
  854. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js.map +1 -0
  855. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts +229 -0
  856. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts.map +1 -0
  857. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js +290 -0
  858. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js.map +1 -0
  859. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts +48 -0
  860. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts.map +1 -0
  861. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js +50 -0
  862. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js.map +1 -0
  863. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts +97 -0
  864. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts.map +1 -0
  865. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js +572 -0
  866. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js.map +1 -0
  867. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts +590 -0
  868. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts.map +1 -0
  869. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js +869 -0
  870. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js.map +1 -0
  871. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +36 -6
  872. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
  873. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +57 -16
  874. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
  875. package/dist/esm/provider-registration-runtime.exports.d.ts +0 -1
  876. package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
  877. package/dist/esm/provider-registration-runtime.exports.js +0 -1
  878. package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
  879. package/dist/esm/public-runtime/index.d.ts +30 -11
  880. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  881. package/dist/esm/public-runtime/index.js +30 -11
  882. package/dist/esm/public-runtime/index.js.map +1 -1
  883. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
  884. package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
  885. package/dist/esm/queue/jobs.shared.schemas.d.ts +30 -2
  886. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  887. package/dist/esm/queue/jobs.shared.schemas.js +12 -0
  888. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  889. package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
  890. package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
  891. package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
  892. package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
  893. package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
  894. package/dist/esm/queue/queues.shared.utils.js.map +1 -1
  895. package/dist/esm/queue/rabbitmq-queue-args.shared.d.ts.map +1 -1
  896. package/dist/esm/queue/rabbitmq-queue-args.shared.js.map +1 -1
  897. package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -1
  898. package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -1
  899. package/dist/esm/requests/header-keys.shared.d.ts +6 -0
  900. package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
  901. package/dist/esm/requests/header-keys.shared.js +7 -0
  902. package/dist/esm/requests/header-keys.shared.js.map +1 -1
  903. package/dist/esm/requests/http-requests.shared.d.ts.map +1 -1
  904. package/dist/esm/requests/http-requests.shared.js.map +1 -1
  905. package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -1
  906. package/dist/esm/requests/idempotency-key.shared.js.map +1 -1
  907. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
  908. package/dist/esm/requests/manual-controllers-routes-documentation.js +147 -8
  909. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
  910. package/dist/esm/requests/manual-controllers-routes-urls.d.ts +51 -23
  911. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  912. package/dist/esm/requests/manual-controllers-routes-urls.js +64 -0
  913. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  914. package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
  915. package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
  916. package/dist/esm/requests/websocket.shared.schemas.d.ts +78 -13
  917. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  918. package/dist/esm/requests/websocket.shared.schemas.js +91 -18
  919. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  920. package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
  921. package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
  922. package/dist/esm/resources/collection-query-parameters.shared.d.ts.map +1 -1
  923. package/dist/esm/resources/collection-query-parameters.shared.js.map +1 -1
  924. package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
  925. package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
  926. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts +21 -0
  927. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts.map +1 -0
  928. package/dist/esm/resources/embedded-resource-mark.shared.utils.js +22 -0
  929. package/dist/esm/resources/embedded-resource-mark.shared.utils.js.map +1 -0
  930. package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
  931. package/dist/esm/resources/relationship-display.shared.schemas.js.map +1 -1
  932. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  933. package/dist/esm/resources/resources-config.shared.factory.js +812 -32
  934. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  935. package/dist/esm/resources/resources-config.shared.schemas.d.ts +244 -48
  936. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  937. package/dist/esm/resources/resources-config.shared.schemas.js +151 -17
  938. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  939. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  940. package/dist/esm/resources/resources-registry.shared.core.definitions.js +369 -12
  941. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  942. package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
  943. package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
  944. package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
  945. package/dist/esm/resources/resources-serialization.shared.schemas.js.map +1 -1
  946. package/dist/esm/resources/resources.shared.core.definitions.d.ts +45 -0
  947. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  948. package/dist/esm/resources/resources.shared.core.definitions.js +92 -0
  949. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  950. package/dist/esm/resources/resources.shared.schemas.d.ts +2 -17
  951. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  952. package/dist/esm/resources/resources.shared.schemas.js +24 -20
  953. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  954. package/dist/esm/resources/resources.shared.utils.d.ts +16 -8
  955. package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
  956. package/dist/esm/resources/resources.shared.utils.js +16 -8
  957. package/dist/esm/resources/resources.shared.utils.js.map +1 -1
  958. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts +2 -2
  959. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
  960. package/dist/esm/resources/utils/collection-export.shared.utils.js +4 -2
  961. package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -1
  962. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
  963. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
  964. package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
  965. package/dist/esm/resources/utils/composition-seedability.validation.js.map +1 -1
  966. package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
  967. package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js.map +1 -1
  968. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -1
  969. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -1
  970. package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
  971. package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js.map +1 -1
  972. package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -1
  973. package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -1
  974. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts +103 -0
  975. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts.map +1 -0
  976. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js +275 -0
  977. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js.map +1 -0
  978. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -1
  979. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -1
  980. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts +51 -0
  981. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts.map +1 -0
  982. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js +28 -0
  983. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js.map +1 -0
  984. package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
  985. package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js.map +1 -1
  986. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -1
  987. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +30 -19
  988. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -1
  989. package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
  990. package/dist/esm/resources/utils/repository-dto-builder.utils.js.map +1 -1
  991. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts +2 -0
  992. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts.map +1 -0
  993. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js +33 -0
  994. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js.map +1 -0
  995. package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
  996. package/dist/esm/resources/utils/required-fk-fillability.validation.js.map +1 -1
  997. package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
  998. package/dist/esm/resources/utils/resource-operation-type-guards.utils.js.map +1 -1
  999. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts +15 -0
  1000. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
  1001. package/dist/esm/resources/utils/resource-polymorphism.factory.js +6 -1
  1002. package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
  1003. package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
  1004. package/dist/esm/resources/utils/resource-polymorphism.relationships.js.map +1 -1
  1005. package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
  1006. package/dist/esm/resources/utils/resource-polymorphism.schemas.js +30 -4
  1007. package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
  1008. package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
  1009. package/dist/esm/resources/utils/resource-polymorphism.utils.js.map +1 -1
  1010. package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
  1011. package/dist/esm/resources/utils/resource-subtree.utils.js.map +1 -1
  1012. package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts.map +1 -1
  1013. package/dist/esm/resources/utils/resources-config-context-needs.utils.js.map +1 -1
  1014. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
  1015. package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
  1016. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +46 -0
  1017. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
  1018. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +205 -22
  1019. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
  1020. package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts.map +1 -1
  1021. package/dist/esm/resources/utils/resources-config-operations.path.utils.js.map +1 -1
  1022. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
  1023. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
  1024. package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
  1025. package/dist/esm/resources/utils/resources-config-operations.utils.js.map +1 -1
  1026. package/dist/esm/resources/utils/resources-serialization.utils.d.ts +19 -2
  1027. package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
  1028. package/dist/esm/resources/utils/resources-serialization.utils.js +4 -0
  1029. package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
  1030. package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
  1031. package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
  1032. package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
  1033. package/dist/esm/resources/utils/schema-family-builder.utils.js.map +1 -1
  1034. package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
  1035. package/dist/esm/resources/utils/schema-type-inference.utils.js.map +1 -1
  1036. package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
  1037. package/dist/esm/resources/utils/schema-type-utils.js.map +1 -1
  1038. package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
  1039. package/dist/esm/resources/utils/schema-variant-resolver.utils.js.map +1 -1
  1040. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  1041. package/dist/esm/resources/utils/shared-persistence-collection.utils.js +15 -9
  1042. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  1043. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
  1044. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
  1045. package/dist/esm/resources/work-unit.shared.schemas.d.ts +20 -0
  1046. package/dist/esm/resources/work-unit.shared.schemas.d.ts.map +1 -0
  1047. package/dist/esm/resources/work-unit.shared.schemas.js +19 -0
  1048. package/dist/esm/resources/work-unit.shared.schemas.js.map +1 -0
  1049. package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
  1050. package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
  1051. package/dist/esm/runtime/execution-context.shared.schemas.d.ts +48 -1
  1052. package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
  1053. package/dist/esm/runtime/execution-context.shared.schemas.js +101 -9
  1054. package/dist/esm/runtime/execution-context.shared.schemas.js.map +1 -1
  1055. package/dist/esm/runtime/runtime.shared.schemas.d.ts.map +1 -1
  1056. package/dist/esm/runtime/runtime.shared.schemas.js.map +1 -1
  1057. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +1 -0
  1058. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  1059. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +37 -20
  1060. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  1061. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts +1 -0
  1062. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  1063. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +61 -48
  1064. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  1065. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts +26 -0
  1066. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
  1067. package/dist/esm/security/api-keys/api-keys.shared.schemas.js +39 -5
  1068. package/dist/esm/security/api-keys/api-keys.shared.schemas.js.map +1 -1
  1069. package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -1
  1070. package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js.map +1 -1
  1071. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +5 -3
  1072. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  1073. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +6 -0
  1074. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  1075. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
  1076. package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
  1077. package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
  1078. package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
  1079. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
  1080. package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
  1081. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
  1082. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
  1083. package/dist/esm/security/authentications/mfa-backup-code-contract.shared.d.ts.map +1 -1
  1084. package/dist/esm/security/authentications/mfa-backup-code-contract.shared.js.map +1 -1
  1085. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -1
  1086. package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -1
  1087. package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
  1088. package/dist/esm/security/authentications/password-reset.shared.dto.schemas.js.map +1 -1
  1089. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
  1090. package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
  1091. package/dist/esm/security/authentications/same-origin-redirect-path.shared.d.ts.map +1 -1
  1092. package/dist/esm/security/authentications/same-origin-redirect-path.shared.js.map +1 -1
  1093. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
  1094. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +2 -2
  1095. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
  1096. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts +11 -0
  1097. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
  1098. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +19 -8
  1099. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
  1100. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +1 -1
  1101. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
  1102. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +5 -5
  1103. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  1104. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
  1105. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +11 -11
  1106. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
  1107. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts +2 -0
  1108. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
  1109. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js +9 -0
  1110. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
  1111. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts +169 -0
  1112. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts.map +1 -0
  1113. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js +162 -0
  1114. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js.map +1 -0
  1115. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
  1116. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +10 -8
  1117. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
  1118. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts.map +1 -1
  1119. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.js.map +1 -1
  1120. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -1
  1121. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -1
  1122. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -1
  1123. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -1
  1124. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -1
  1125. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -1
  1126. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
  1127. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
  1128. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
  1129. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +8 -8
  1130. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
  1131. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  1132. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +17 -16
  1133. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  1134. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  1135. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +28 -25
  1136. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  1137. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts +17 -6
  1138. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
  1139. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +90 -38
  1140. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
  1141. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +0 -24
  1142. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  1143. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +79 -68
  1144. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  1145. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +8 -1
  1146. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
  1147. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +7 -0
  1148. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
  1149. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  1150. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +1 -1
  1151. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
  1152. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -1
  1153. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -1
  1154. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  1155. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +7 -7
  1156. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
  1157. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
  1158. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
  1159. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
  1160. package/dist/esm/security/authorizations/roles.shared.defaults.js +56 -0
  1161. package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
  1162. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +77 -1
  1163. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
  1164. package/dist/esm/security/authorizations/roles.shared.schemas.js +90 -0
  1165. package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
  1166. package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
  1167. package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
  1168. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts +86 -0
  1169. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts.map +1 -0
  1170. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js +40 -0
  1171. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js.map +1 -0
  1172. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +2 -1
  1173. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
  1174. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js +2 -1
  1175. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
  1176. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +2 -1
  1177. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
  1178. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +2 -1
  1179. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
  1180. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +46 -14
  1181. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
  1182. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +81 -21
  1183. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
  1184. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts +69 -0
  1185. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts.map +1 -0
  1186. package/dist/esm/security/credential-rotation-grace.shared.utils.js +77 -0
  1187. package/dist/esm/security/credential-rotation-grace.shared.utils.js.map +1 -0
  1188. package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.d.ts.map +1 -1
  1189. package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.js.map +1 -1
  1190. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  1191. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +28 -8
  1192. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  1193. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +3 -1
  1194. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  1195. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +89 -14
  1196. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  1197. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +1 -0
  1198. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
  1199. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +25 -4
  1200. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
  1201. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -1
  1202. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js.map +1 -1
  1203. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
  1204. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
  1205. package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
  1206. package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js.map +1 -1
  1207. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +7 -1
  1208. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -1
  1209. package/dist/esm/security/outbound-target-control.shared.schemas.js +6 -0
  1210. package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -1
  1211. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts +143 -0
  1212. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts.map +1 -0
  1213. package/dist/esm/security/submission-challenge/submission-challenge.shared.js +123 -0
  1214. package/dist/esm/security/submission-challenge/submission-challenge.shared.js.map +1 -0
  1215. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts +384 -0
  1216. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts.map +1 -0
  1217. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js +327 -0
  1218. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js.map +1 -0
  1219. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -1
  1220. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -1
  1221. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +121 -8
  1222. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -1
  1223. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +83 -4
  1224. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -1
  1225. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -1
  1226. package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -1
  1227. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +266 -8
  1228. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -1
  1229. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +291 -7
  1230. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -1
  1231. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +313 -3
  1232. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -1
  1233. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +369 -3
  1234. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -1
  1235. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -1
  1236. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +2 -1
  1237. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -1
  1238. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -1
  1239. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -1
  1240. package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
  1241. package/dist/esm/testing/resource-config-builders.js.map +1 -1
  1242. package/dist/esm/testing.d.ts.map +1 -1
  1243. package/dist/esm/testing.js.map +1 -1
  1244. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
  1245. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
  1246. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +5 -3
  1247. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
  1248. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js +19 -10
  1249. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
  1250. package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
  1251. package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
  1252. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
  1253. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +6 -0
  1254. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
  1255. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
  1256. package/dist/esm/users/inbound-contacts.shared.schemas.js.map +1 -1
  1257. package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -1
  1258. package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -1
  1259. package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts.map +1 -1
  1260. package/dist/esm/users/user-credentials.shared.resources-config.schemas.js.map +1 -1
  1261. package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
  1262. package/dist/esm/users/user-credentials.shared.schemas.js.map +1 -1
  1263. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
  1264. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.js.map +1 -1
  1265. package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
  1266. package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
  1267. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
  1268. package/dist/esm/users/user-preferences-reset.shared.utils.js +2 -2
  1269. package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
  1270. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +0 -3
  1271. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  1272. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
  1273. package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  1274. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
  1275. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +0 -3
  1276. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  1277. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
  1278. package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  1279. package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.js.map +1 -1
  1280. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
  1281. package/dist/esm/users/user-self.shared.resources-config.schemas.js +1 -1
  1282. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  1283. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  1284. package/dist/esm/users/users.shared.resources-config.schemas.js +82 -20
  1285. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  1286. package/dist/esm/users/users.shared.schemas.d.ts +12 -9
  1287. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  1288. package/dist/esm/users/users.shared.schemas.js +49 -18
  1289. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  1290. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1291. package/package.json +4 -4
  1292. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +0 -8
  1293. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +0 -1
  1294. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js +0 -7
  1295. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"governed-documents.shared.schemas.js","sourceRoot":"","sources":["../../../../../src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,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC,gBAAgB,CAAC;IACpE,yDAAyD;IACzD,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,mCAAmC;CAC7C,CAAC,CAAC;AAGH,iHAAiH;AACjH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC/E,4CAA4C;IAC5C,mDAAmD;CACpD,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport \"@wildo-ai/zod-decorators\";\n\n/**\n * What a GOVERNED DOCUMENT is: its classes, audiences, review and publication vocabulary, its\n * identities, its governance scope, its public content, and the release and publication events that\n * record it being issued and withdrawn.\n *\n * ## What this file used to also be, and why that half is gone (2026-08-28)\n *\n * Until this revision the same file carried a complete SEALED DELIVERY MACHINE beside the\n * vocabulary: public-release and deployment BUNDLES with self-referential digests, deployment\n * OBSERVATIONS carrying canonical bytes plus a detached backend signature and a rotated-key\n * `notAfter` window, publication PROOF digests, interaction RECEIPTS, byte-exact retrieval queries,\n * and a dozen `canonicalize*DigestBasis` functions feeding them. Around it sat a backend registry\n * that revalidated every digest at boot, two controllers, a CLI artifact-sync writing immutable\n * receipts, and a generated module the application loaded at startup.\n *\n * All of it is removed under `.claude/rules/one-source-of-truth.md` Rule 0 — *nothing that is not\n * branchable on git*. A digest chain cannot merge: two branches that publish different content\n * produce a merged tree whose digests belong to neither. What the machine protected — that a\n * published document is exactly the bytes somebody approved — is what git and the forge already\n * provide, per commit, mergeably, to a reviewer reading a diff.\n *\n * Two facts made the removal cheap rather than risky, and both were measured rather than assumed:\n * **no application had ever produced a bundle** (`.wildo-saas/generated/compliance/` was empty in\n * both example applications), and every read path was built on the seal, so there was no\n * non-sealed serving to preserve.\n *\n * ## What replaces it\n *\n * A read over committed files, not a custody protocol. A governed document is a FILE in the\n * application's specifications package, and a release is a record the application commits — since\n * 2026-09-12 carrying the text it publishes (`GovernedDocumentReleaseSchema.content`, #968), so the\n * commit that introduced the record is what binds a release to its words. What a public page serves\n * is `GovernedDocumentPublicDocument`: a release with its text, or the latest draft of a document\n * never released, chosen by `resolveInForcePublicDocument`. No digest, no bundle, no receipt.\n */\n\n/** Exact media type of the canonical browser-safe governed-document JSON bytes. */\nexport const GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE = \"application/vnd.wildo.governed-document.public+json;version=1\";\n\nconst governedDocumentRefPattern = /^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*(?::[A-Za-z0-9][A-Za-z0-9._-]*)+$/;\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst addUniqueSortedIssue = (values: readonly string[], context: z.RefinementCtx, path: PropertyKey[], label: string): void => {\n if (!valuesAreUnique(values) || !valuesAreLexicallySorted(values)) {\n context.addIssue({ code: \"custom\", message: `${label} must be unique and lexically sorted`, path });\n }\n};\n\nexport const GovernedDocumentRefSchema = z.string().trim().regex(governedDocumentRefPattern).brand<\"GovernedDocumentRef\">();\nexport type GovernedDocumentRef = z.infer<typeof GovernedDocumentRefSchema>;\n\nexport const GovernedDocumentIsoDateTimeSchema = z.iso.datetime({ offset: true });\nexport const GovernedDocumentIsoDateSchema = z.iso.date();\n/** One runtime source for every governed-document version/order identity. */\nexport const GovernedDocumentPositiveSafeIntegerSchema = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);\n\n/** Semantic class of governed content. The class controls review, release and interaction rules; a public label never changes it. */\nexport enum GovernedDocumentClass {\n PUBLIC_NOTICE = \"PUBLIC_NOTICE\",\n CONTRACTUAL_TERMS = \"CONTRACTUAL_TERMS\",\n GOVERNANCE_POLICY = \"GOVERNANCE_POLICY\",\n PROCEDURE_OR_RUNBOOK = \"PROCEDURE_OR_RUNBOOK\",\n PLAN = \"PLAN\",\n REGISTER = \"REGISTER\",\n REVIEW_OR_DECISION_RECORD = \"REVIEW_OR_DECISION_RECORD\",\n ASSESSMENT_OR_REPORT = \"ASSESSMENT_OR_REPORT\",\n EVIDENCE_ARTIFACT = \"EVIDENCE_ARTIFACT\",\n}\n\n/** Whose facts and authority a document may speak for. Shared responsibility is explicit rather than a flattened synthetic owner. */\nexport enum GovernedDocumentGovernanceSubjectKind {\n WILDO_PROVIDER = \"WILDO_PROVIDER\",\n APPLICATION_OPERATOR = \"APPLICATION_OPERATOR\",\n TENANT_ORGANIZATION = \"TENANT_ORGANIZATION\",\n SHARED_RESPONSIBILITY = \"SHARED_RESPONSIBILITY\",\n}\n\nexport enum GovernedDocumentAudienceKind {\n PUBLIC_GENERAL = \"PUBLIC_GENERAL\",\n BUSINESS_CUSTOMER = \"BUSINESS_CUSTOMER\",\n CONSUMER = \"CONSUMER\",\n APPLICATION_USER = \"APPLICATION_USER\",\n WORKFORCE = \"WORKFORCE\",\n TENANT_ADMINISTRATOR = \"TENANT_ADMINISTRATOR\",\n QUALIFIED_REVIEWER = \"QUALIFIED_REVIEWER\",\n}\n\nexport enum GovernedDocumentApplicabilityStatus {\n APPLICABLE = \"APPLICABLE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n DEFERRED = \"DEFERRED\",\n}\n\nexport enum GovernedDocumentFactResolutionStatus {\n KNOWN = \"KNOWN\",\n MISSING = \"MISSING\",\n CONFLICTING = \"CONFLICTING\",\n STALE = \"STALE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n}\n\nexport enum GovernedDocumentCandidateStatus {\n DRAFT = \"DRAFT\",\n BLOCKED = \"BLOCKED\",\n READY_FOR_REVIEW = \"READY_FOR_REVIEW\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\nexport enum GovernedDocumentReviewKind {\n CONTENT = \"CONTENT\",\n TECHNICAL = \"TECHNICAL\",\n PRIVACY = \"PRIVACY\",\n SECURITY = \"SECURITY\",\n LEGAL = \"LEGAL\",\n BUSINESS = \"BUSINESS\",\n INDEPENDENT_ASSESSMENT = \"INDEPENDENT_ASSESSMENT\",\n}\n\nexport enum GovernedDocumentReviewDecisionKind {\n APPROVED = \"APPROVED\",\n CHANGES_REQUIRED = \"CHANGES_REQUIRED\",\n REJECTED = \"REJECTED\",\n CONFLICT = \"CONFLICT\",\n}\n\nexport enum GovernedDocumentPublicationChannelKind {\n PUBLIC_WEB = \"PUBLIC_WEB\",\n AUTHENTICATED_WEB = \"AUTHENTICATED_WEB\",\n DURABLE_DOWNLOAD = \"DURABLE_DOWNLOAD\",\n DIRECT_DELIVERY = \"DIRECT_DELIVERY\",\n GOVERNANCE_REPOSITORY = \"GOVERNANCE_REPOSITORY\",\n}\n\nexport enum GovernedDocumentPublicationEventKind {\n PUBLISHED = \"PUBLISHED\",\n WITHDRAWN = \"WITHDRAWN\",\n}\n\n/** Distinct legal/user interactions. A notice interaction, contract acceptance and consent decision are never aliases. */\nexport enum GovernedDocumentInteractionKind {\n NOTICE_DELIVERED = \"NOTICE_DELIVERED\",\n NOTICE_ACKNOWLEDGED = \"NOTICE_ACKNOWLEDGED\",\n CONTRACT_ACCEPTED = \"CONTRACT_ACCEPTED\",\n CONSENT_GIVEN = \"CONSENT_GIVEN\",\n CONSENT_WITHDRAWN = \"CONSENT_WITHDRAWN\",\n}\n\n/** @wildo_source:part:start saas.models.governed-document-acceptance-mode facet:layer:shared facet:audience:app-developer */\n/**\n * HOW an application asks a registrant to accept the documents it requires accepting — the three\n * shapes courts actually distinguish, declared once per application (#1258).\n *\n * Declared on `compliance.governedDocumentAcceptanceMode` in the application's own\n * `backend-api/src/saas-config.backend.ts`, beside `governedDocumentReleases` and `publicDocuments`.\n *\n * It is a RENDERING posture, not a server-side gate. The backend records whichever accepted release\n * ids a registration carries and does not know which mode produced them, so a client that does not\n * use the form is bound by none of the three. That is the honest scope: what the mode decides is how\n * strong a notice a person is given and what the form withholds until they act — the things a\n * registration screen can actually control.\n *\n * ## Why this is a declared CHOICE rather than one shipped behaviour\n *\n * Registration shipped with exactly one shape — an unticked box gating the submit button — and no\n * way to ask for another. That is the strongest of the three and it is the right DEFAULT, but it is\n * not the right answer for every application: a product whose terms are a one-paragraph acceptable-use\n * statement and a product whose terms carry an arbitration clause are not asking the same thing of the\n * same person, and the framework should let each say which it is asking.\n *\n * ## The enforceability ladder, which is what the members are ordered by\n *\n * Enforceability turns on whether the person had REASONABLE NOTICE of the terms and took an action\n * MANIFESTING ASSENT to them. Clickwrap — an affirmative act aimed at the terms themselves — is the\n * shape courts uphold most consistently; sign-in-wrap, where the act is the registration and the\n * notice sits beside it, is upheld when the notice is conspicuous and fails when it is buried;\n * browsewrap, where nothing but a footer link exists, is the shape that routinely fails. This\n * vocabulary offers the first two and does NOT offer the third, because an application that asks for\n * nothing is already representable by declaring no release that permits `CONTRACT_ACCEPTED`.\n *\n * (Drawn from the settled shape of US and EU practice on online contract formation, not from a single\n * cited authority. Not legal advice — an operator's counsel decides which their terms warrant.)\n *\n * ## Every member DOES something, deliberately\n *\n * Each one changes what the registration form renders and what it refuses. A member that only named a\n * posture without changing behaviour is the defect removed from this lane one commit earlier, when a\n * stored privacy-level field was deleted for meaning nothing at any call site.\n */\nexport enum GovernedDocumentAcceptanceMode {\n /**\n * SIGN-IN-WRAP — \"by registering you agree to our terms and privacy policy\", beside the button.\n *\n * No checkbox and no separate act: submitting the registration IS the act of assent, so the\n * accepted release ids still travel with it and the interaction is still recorded. What changes is\n * that nothing is withheld — the button is available from the first keystroke.\n *\n * The notice is rendered immediately above the submit control rather than in a footer, because\n * conspicuousness is the whole of what distinguishes this from the browsewrap shape that fails.\n */\n IMPLIED_BY_REGISTERING = \"IMPLIED_BY_REGISTERING\",\n /**\n * CLICKWRAP — an unticked box the person ticks, with the submit control unavailable until they do.\n *\n * The DEFAULT, and the framework default may not silently weaken: an application that declared\n * nothing shipped this behaviour before the vocabulary existed, and must keep shipping it.\n *\n * The box is never pre-ticked. A pre-ticked box is not an affirmative act, so it undermines the one\n * property this mode exists to provide — the same reason the consent gate's own optional purposes\n * start unticked.\n */\n EXPLICIT_CHECKBOX = \"EXPLICIT_CHECKBOX\",\n /**\n * CLICKWRAP WITH A READING GATE — the document is shown, and the box cannot be ticked until the\n * reader has scrolled to the end of it.\n *\n * The strongest available notice: the terms are not merely linked, they are placed in front of the\n * person and the affirmative act is unavailable until they have passed over all of them.\n *\n * Two things it deliberately does NOT claim. It does not claim the person READ the document — no\n * mechanism can — only that the text was presented in full and the act came after. And it does not\n * replace the public document page: the pane shows the same content that page serves, and links to\n * it, because the page is where the document is rendered with its own typography.\n */\n EXPLICIT_AFTER_READING = \"EXPLICIT_AFTER_READING\",\n}\n\n/**\n * Does this mode require a SEPARATE affirmative act before the registration may be submitted?\n *\n * Two readers, one answer: the form disables its submit control on it, and the same form decides on\n * it whether the accepted release ids travel with the request. Those had to agree — a submit the\n * person could press without the ids being sent records nothing while reporting success — so the\n * predicate is named once here rather than spelled twice at the two call sites.\n *\n * Written as \"anything but implied\" deliberately: a fourth mode added tomorrow is treated as needing\n * the act until somebody says otherwise, which is the direction that fails safe. The inverse spelling\n * ({@link GovernedDocumentAcceptanceMode.EXPLICIT_CHECKBOX} or `EXPLICIT_AFTER_READING`) would let a\n * new member fall through to \"registering is enough\" silently.\n */\nexport const governedDocumentAcceptanceRequiresExplicitAct = (mode: GovernedDocumentAcceptanceMode): boolean =>\n mode !== GovernedDocumentAcceptanceMode.IMPLIED_BY_REGISTERING;\n\n/**\n * Must the document be placed in front of the reader, and the affirmative act withheld until they\n * have passed over all of it?\n *\n * Named rather than compared inline for the same reason as its sibling, and spelled the other way\n * round for the same fail-safe reason read in the other direction: a new mode does NOT acquire a\n * reading gate nobody asked for.\n */\nexport const governedDocumentAcceptanceRequiresReading = (mode: GovernedDocumentAcceptanceMode): boolean =>\n mode === GovernedDocumentAcceptanceMode.EXPLICIT_AFTER_READING;\n/** @wildo_source:part:end saas.models.governed-document-acceptance-mode */\n\nexport enum GovernedDocumentChangeAction {\n NO_PUBLIC_ACTION = \"NO_PUBLIC_ACTION\",\n REVISE_CANDIDATE = \"REVISE_CANDIDATE\",\n REPUBLISH = \"REPUBLISH\",\n NOTIFY = \"NOTIFY\",\n REQUEST_REACKNOWLEDGEMENT = \"REQUEST_REACKNOWLEDGEMENT\",\n REQUEST_REACCEPTANCE = \"REQUEST_REACCEPTANCE\",\n WITHDRAW = \"WITHDRAW\",\n ESCALATE_FOR_QUALIFIED_REVIEW = \"ESCALATE_FOR_QUALIFIED_REVIEW\",\n}\n\nexport const GovernedDocumentDefinitionIdentitySchema = z.strictObject({\n definitionRef: GovernedDocumentRefSchema,\n definitionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentDefinitionIdentity = z.infer<typeof GovernedDocumentDefinitionIdentitySchema>;\n\nexport const GovernedDocumentIdentitySchema = z.strictObject({\n documentRef: GovernedDocumentRefSchema,\n documentVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentIdentity = z.infer<typeof GovernedDocumentIdentitySchema>;\n\nexport const GovernedDocumentReleaseIdentitySchema = z.strictObject({\n document: GovernedDocumentIdentitySchema,\n releaseId: GovernedDocumentRefSchema,\n releaseVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentReleaseIdentity = z.infer<typeof GovernedDocumentReleaseIdentitySchema>;\n\nexport const governedDocumentReleaseIdentityKey = (identity: GovernedDocumentReleaseIdentity): string =>\n `${identity.document.documentRef}@${identity.document.documentVersion}:${identity.releaseId}@${identity.releaseVersion}`;\n\n/** Exact immutable approval-decision identity retained by an issued release without exposing private review content publicly. */\nexport const GovernedDocumentApprovalDecisionIdentitySchema = z.strictObject({\n decisionRef: GovernedDocumentRefSchema,\n decisionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentApprovalDecisionIdentity = z.infer<typeof GovernedDocumentApprovalDecisionIdentitySchema>;\n\n/**\n * Whether a release has been APPROVED yet — and it is a MARK, never a gate on producing one.\n *\n * Wildo is agent-first: the mechanism composes the artifact and says what is true about it. Approval\n * is a workflow act that happens at the END, so requiring it in order to compose a release would put\n * a compliance workflow in front of the application-creation mechanism — which is the one thing that\n * must never block. `approvalDecisions` was `.min(1)` until 2026-09-11, and that single constraint\n * meant an unapproved release could not be REPRESENTED at all: an application either forged an\n * approval identity or had no release, and the honest third answer did not exist.\n *\n * What replaces the refusal is this field. A release always exists and always states its own\n * standing, so nothing downstream has to infer it and nothing can mistake a draft for a published\n * document. Arming the gate that actually withholds an UNAPPROVED release from a real reader belongs\n * to Gate 3 (\"an application may face a real user\"), per `one-source-of-truth.md` D5: critical gate\n * points stay MARKED in every mechanism so they can be switched on when the posture changes.\n */\nexport enum GovernedDocumentReleaseApprovalState {\n /** At least one approval decision is retained. The release may be served as a published document. */\n APPROVED = \"APPROVED\",\n /**\n * Composed, coherent, and NOT approved.\n *\n * A true record of a real draft — not a defect and not a placeholder. It is what an application\n * holds between drafting and approval, which for most of its life is where it is.\n */\n UNAPPROVED = \"UNAPPROVED\",\n}\n\n/**\n * Exact private materiality-decision identity retained when one release\n * replaces another. The full decision and authority evidence remain in\n * application-creation custody; this identity makes the replacement and any\n * required renewed interaction causally auditable without exposing the\n * decision publicly.\n */\nexport const GovernedDocumentMaterialityDecisionIdentitySchema = z\n .strictObject({\n decisionRef: GovernedDocumentRefSchema,\n decisionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n previousRelease: GovernedDocumentReleaseIdentitySchema,\n requiredInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.requiredInteractionKinds, context, [\"requiredInteractionKinds\"], \"requiredInteractionKinds\");\n });\nexport type GovernedDocumentMaterialityDecisionIdentity = z.infer<typeof GovernedDocumentMaterialityDecisionIdentitySchema>;\n\n/** Exact immutable reviewer-authority grant selected by a review decision. */\nexport const GovernedDocumentReviewerAuthorityIdentitySchema = z.strictObject({\n authorityRef: GovernedDocumentRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentReviewerAuthorityIdentity = z.infer<typeof GovernedDocumentReviewerAuthorityIdentitySchema>;\n\n/** Exact immutable authority identity selected for a document materiality decision; never interchangeable with candidate-review authority. */\nexport const GovernedDocumentMaterialityAuthorityIdentitySchema = z.strictObject({\n authorityRef: GovernedDocumentRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentMaterialityAuthorityIdentity = z.infer<typeof GovernedDocumentMaterialityAuthorityIdentitySchema>;\n\n/**\n * Exact ownership boundary for one governed document.\n *\n * Shared-responsibility output must retain at least two attributed parties and an explicit precedence rule. A single-subject output must not carry those shared-only\n * fields, preventing provider, operator and tenant statements from being silently flattened into one voice.\n */\nexport const GovernedDocumentGovernanceScopeSchema = z\n .strictObject({\n // Declared so any surface wording this scope reads the one authored vocabulary (#966).\n subjectKind: z.enum(GovernedDocumentGovernanceSubjectKind).systemEnum(\"GovernedDocumentGovernanceSubjectKind\"),\n subjectRef: GovernedDocumentRefSchema,\n scopeRef: GovernedDocumentRefSchema,\n scopeVersion: GovernedDocumentPositiveSafeIntegerSchema,\n participantRefs: z.array(GovernedDocumentRefSchema),\n precedenceRuleRefs: z.array(GovernedDocumentRefSchema),\n })\n .superRefine((scope, context) => {\n addUniqueSortedIssue(scope.participantRefs, context, [\"participantRefs\"], \"participantRefs\");\n addUniqueSortedIssue(scope.precedenceRuleRefs, context, [\"precedenceRuleRefs\"], \"precedenceRuleRefs\");\n if (scope.subjectKind === GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY) {\n if (scope.participantRefs.length < 2) {\n context.addIssue({ code: \"custom\", message: \"shared responsibility requires at least two attributed participants\", path: [\"participantRefs\"] });\n }\n if (scope.precedenceRuleRefs.length === 0) {\n context.addIssue({ code: \"custom\", message: \"shared responsibility requires an explicit precedence rule\", path: [\"precedenceRuleRefs\"] });\n }\n } else if (scope.participantRefs.length > 0 || scope.precedenceRuleRefs.length > 0) {\n context.addIssue({\n code: \"custom\",\n message: \"single-subject governance cannot carry shared-responsibility participants or precedence rules\",\n path: [\"participantRefs\"],\n });\n }\n });\nexport type GovernedDocumentGovernanceScope = z.infer<typeof GovernedDocumentGovernanceScopeSchema>;\n\n/**\n * Whether a published clause states something the application has ESTABLISHED — the one fact about a\n * draft's completeness a READER is owed.\n *\n * It is the public projection of the candidate's `ComplianceStatementCompleteness`\n * (`@wildo-ai/saas-specifications`): `DERIVED` becomes `ESTABLISHED`, and each of the three `NEEDS_*`\n * members becomes `NOT_YET_ESTABLISHED`. Coarser ON PURPOSE, the way the public release projection\n * withholds `governanceScope`: which party closes a gap (a framework change, an operator decision, an\n * application configuration) and how (`closedBy` — issue refs, owners) is the publisher's custody.\n * What a person reading the document is owed is that this statement is not yet established, and what\n * is missing.\n *\n * Decided 2026-09-12 (wildo-ai/wildo-ai#968): an unestablished clause is MARKED on the page. Omitting it\n * would narrow the document (#454 rejects that), and refusing the whole document would put a workflow\n * fact in front of the page. Projecting it as plain text would state as settled what the drafter wrote\n * down as unsettled.\n */\nexport enum GovernedDocumentPublicClauseStanding {\n ESTABLISHED = \"ESTABLISHED\",\n NOT_YET_ESTABLISHED = \"NOT_YET_ESTABLISHED\",\n}\n\n/**\n * Browser-safe public projection of governed document content.\n *\n * Internal fact, authority, source-policy and review evidence stays in the\n * candidate/release records. Public routes render this exact projection as\n * text; `bodyMarkdown` is never trusted as raw HTML.\n *\n * Carried `clauseVersion` (and its section `sectionVersion`) until 2026-09-12 (#968). Nothing read\n * either, no draft carries one, and a clause's revision history is the commits that changed it — so a\n * required integer here could only be stamped, which would assert a history nothing tracks.\n */\nexport const GovernedDocumentPublicClauseSchema = z\n .strictObject({\n clauseRef: GovernedDocumentRefSchema,\n order: GovernedDocumentPositiveSafeIntegerSchema,\n bodyMarkdown: z.string().trim().min(1),\n standing: z.enum(GovernedDocumentPublicClauseStanding),\n /**\n * What is missing, in the reader's terms — the drafter's own `needs` text. Present exactly when the\n * clause is `NOT_YET_ESTABLISHED`: a marked clause that does not say what it lacks tells a reader\n * nothing they can use, and an established clause carrying one would contradict itself.\n */\n missingInformation: z.string().trim().min(1).optional(),\n })\n .superRefine((clause, context) => {\n const marked = clause.standing === GovernedDocumentPublicClauseStanding.NOT_YET_ESTABLISHED;\n if (marked && clause.missingInformation === undefined) {\n context.addIssue({ code: \"custom\", message: \"a clause that is not yet established must say what is missing\", path: [\"missingInformation\"] });\n }\n if (!marked && clause.missingInformation !== undefined) {\n context.addIssue({ code: \"custom\", message: \"an established clause cannot carry missing information\", path: [\"missingInformation\"] });\n }\n });\nexport type GovernedDocumentPublicClause = z.infer<typeof GovernedDocumentPublicClauseSchema>;\n\nexport const GovernedDocumentPublicSectionSchema = z\n .strictObject({\n sectionRef: GovernedDocumentRefSchema,\n order: GovernedDocumentPositiveSafeIntegerSchema,\n title: z.string().trim().min(1),\n clauses: z.array(GovernedDocumentPublicClauseSchema).min(1),\n })\n .superRefine((section, context) => {\n if (!valuesAreUnique(section.clauses.map((clause) => clause.clauseRef))) {\n context.addIssue({ code: \"custom\", message: \"public document clause references must be unique\", path: [\"clauses\"] });\n }\n section.clauses.forEach((clause, index) => {\n if (clause.order !== index + 1) {\n context.addIssue({\n code: \"custom\",\n message: \"public document clause order must be contiguous and match array order\",\n path: [\"clauses\", index, \"order\"],\n });\n }\n });\n });\nexport type GovernedDocumentPublicSection = z.infer<typeof GovernedDocumentPublicSectionSchema>;\n\nexport const GovernedDocumentPublicContentSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n title: z.string().trim().min(1),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n sections: z.array(GovernedDocumentPublicSectionSchema).min(1),\n })\n .superRefine((content, context) => {\n addUniqueSortedIssue(content.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n if (!valuesAreUnique(content.sections.map((section) => section.sectionRef))) {\n context.addIssue({ code: \"custom\", message: \"public document section references must be unique\", path: [\"sections\"] });\n }\n content.sections.forEach((section, index) => {\n if (section.order !== index + 1) {\n context.addIssue({\n code: \"custom\",\n message: \"public document section order must be contiguous and match array order\",\n path: [\"sections\", index, \"order\"],\n });\n }\n });\n });\nexport type GovernedDocumentPublicContent = z.infer<typeof GovernedDocumentPublicContentSchema>;\n\n/**\n * Content-branch-neutral immutable release metadata.\n *\n * Historical public releases and current internal structured releases add\n * their own explicit schema/content discriminators to this shared invariant\n * basis. Consumers must select one complete branch rather than accepting this\n * common shape directly.\n */\nexport const GovernedDocumentReleaseCommonSchema = z\n .strictObject({\n identity: GovernedDocumentReleaseIdentitySchema,\n definition: GovernedDocumentDefinitionIdentitySchema,\n governanceScope: GovernedDocumentGovernanceScopeSchema,\n documentClass: z.enum(GovernedDocumentClass),\n audienceKinds: z.array(z.enum(GovernedDocumentAudienceKind)).min(1),\n publicationChannelKinds: z.array(z.enum(GovernedDocumentPublicationChannelKind)).min(1),\n allowedInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n /*\n * The content's MEDIA TYPE. The content itself is carried by `GovernedDocumentReleaseSchema.content`.\n *\n * It carried `candidateDigest`, `contentDigest` and `contentArtifactRef` until 2026-08-28 — a\n * seal binding the release to exact bytes in a content-addressed store. The store and the\n * verifier are gone with the rest of the digest machinery and are not coming back: since\n * 2026-09-12 (#968) the release holds its published text directly, and the commit that\n * introduced the release record is what a reader audits.\n */\n contentMediaType: z.string().trim().min(1),\n issuedAt: GovernedDocumentIsoDateTimeSchema,\n effectiveAt: GovernedDocumentIsoDateTimeSchema,\n expiresAt: GovernedDocumentIsoDateTimeSchema.optional(),\n /**\n * NOT `.min(1)`: see {@link GovernedDocumentReleaseApprovalState}. An unapproved release carries\n * none, and says so in `approvalState` rather than being unrepresentable.\n */\n approvalDecisions: z.array(GovernedDocumentApprovalDecisionIdentitySchema),\n approvalState: z.enum(GovernedDocumentReleaseApprovalState),\n replacesRelease: GovernedDocumentReleaseIdentitySchema.optional(),\n materialityDecision: GovernedDocumentMaterialityDecisionIdentitySchema.optional(),\n })\n .superRefine((release, context) => {\n addUniqueSortedIssue(release.audienceKinds, context, [\"audienceKinds\"], \"audienceKinds\");\n addUniqueSortedIssue(release.publicationChannelKinds, context, [\"publicationChannelKinds\"], \"publicationChannelKinds\");\n addUniqueSortedIssue(release.allowedInteractionKinds, context, [\"allowedInteractionKinds\"], \"allowedInteractionKinds\");\n addUniqueSortedIssue(release.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n addUniqueSortedIssue(\n release.approvalDecisions.map((decision) => `${decision.decisionRef}@${decision.decisionVersion}`),\n context,\n [\"approvalDecisions\"],\n \"approvalDecisions\",\n );\n /*\n * The state and the evidence must agree. APPROVED with nothing retained would be a claim with no\n * basis; UNAPPROVED while holding decisions would hide an approval that happened. Neither is a\n * workflow gate — both are the record contradicting itself.\n */\n if (release.approvalState === GovernedDocumentReleaseApprovalState.APPROVED && release.approvalDecisions.length === 0) {\n context.addIssue({ code: \"custom\", message: \"an APPROVED release must retain at least one approval decision\", path: [\"approvalDecisions\"] });\n }\n if (release.approvalState === GovernedDocumentReleaseApprovalState.UNAPPROVED && release.approvalDecisions.length > 0) {\n context.addIssue({ code: \"custom\", message: \"an UNAPPROVED release must retain no approval decision\", path: [\"approvalDecisions\"] });\n }\n if (Date.parse(release.effectiveAt) < Date.parse(release.issuedAt)) {\n context.addIssue({ code: \"custom\", message: \"effectiveAt cannot precede issuedAt\", path: [\"effectiveAt\"] });\n }\n if (release.expiresAt && Date.parse(release.expiresAt) <= Date.parse(release.effectiveAt)) {\n context.addIssue({ code: \"custom\", message: \"expiresAt must follow effectiveAt\", path: [\"expiresAt\"] });\n }\n if (\n release.replacesRelease &&\n release.replacesRelease.document.documentRef === release.identity.document.documentRef &&\n release.replacesRelease.releaseId === release.identity.releaseId &&\n release.replacesRelease.releaseVersion === release.identity.releaseVersion\n ) {\n context.addIssue({ code: \"custom\", message: \"a release cannot replace itself\", path: [\"replacesRelease\"] });\n }\n if (release.replacesRelease && release.replacesRelease.document.documentRef !== release.identity.document.documentRef) {\n context.addIssue({ code: \"custom\", message: \"a release can replace only a prior release of the same governed document\", path: [\"replacesRelease\"] });\n }\n if ((release.replacesRelease === undefined) !== (release.materialityDecision === undefined)) {\n context.addIssue({\n code: \"custom\",\n message: \"replacement release identity and exact materiality decision must be present together\",\n path: [\"materialityDecision\"],\n });\n }\n if (\n release.replacesRelease &&\n release.materialityDecision &&\n governedDocumentReleaseIdentityKey(release.replacesRelease) !== governedDocumentReleaseIdentityKey(release.materialityDecision.previousRelease)\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"materiality decision must bind the exact release being replaced\",\n path: [\"materialityDecision\", \"previousRelease\"],\n });\n }\n if (release.materialityDecision?.requiredInteractionKinds.some((interactionKind) => !release.allowedInteractionKinds.includes(interactionKind))) {\n context.addIssue({\n code: \"custom\",\n message: \"required renewed interactions must be authorized by the replacement release\",\n path: [\"materialityDecision\", \"requiredInteractionKinds\"],\n });\n }\n });\n\n/**\n * An issued release — and, since 2026-09-12, the TEXT it publishes (wildo-ai/wildo-ai#968).\n *\n * ## Why the release carries its content\n *\n * A release says which drafted content takes effect, and until #968 it could not say WHICH text: the\n * sealed content binding went with the digest machinery on 2026-08-28, leaving only \"the commit that\n * introduced both the release and its content file\". But a draft keeps changing after it is released,\n * so pairing a release with \"the draft of the same document\" at read time shows every release — the\n * one in force, the one it superseded, the one scheduled next — the SAME, current text. Two releases\n * of one document could not differ at all.\n *\n * So the release holds its own published text, captured when it is composed. Retrieving \"release N of\n * a document\" is one read. Intermediate drafts are NOT kept here — their history is the commits that\n * changed the draft — and neither is anything the public projection withholds: `content` is already\n * the browser-safe shape (no fact refs, no source policies, no `closedBy`).\n *\n * ## The text is only frozen if the RECORD is\n *\n * This field makes the binding representable; committing the record as data is what keeps it. An\n * application that recomposes its releases from the live draft on every import would carry today's\n * draft in every release, which is the defect above one layer later.\n *\n * ## What it refuses\n *\n * Content in a language or for jurisdictions the release does not name: publishing `fr-FR` text under\n * an `en-GB` release is a false legal statement, the same lie `GovernedDocumentPublicDocumentSchema`\n * refuses.\n */\nexport const GovernedDocumentReleaseSchema = GovernedDocumentReleaseCommonSchema.safeExtend({\n schemaVersion: z.literal(1),\n content: GovernedDocumentPublicContentSchema,\n /*\n * Pinned, because it now names the shape of `content` rather than an external rendering: a release\n * whose text is the structured public JSON and whose media type said `text/html` would contradict\n * itself, and the public projection already accepts nothing else.\n */\n contentMediaType: z.literal(GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE),\n}).superRefine((release, context) => {\n if (release.content.locale !== release.locale) {\n context.addIssue({ code: \"custom\", message: \"release content locale must match the release\", path: [\"content\", \"locale\"] });\n }\n if (release.content.jurisdictionRefs.join(\"\\u0000\") !== release.jurisdictionRefs.join(\"\\u0000\")) {\n context.addIssue({ code: \"custom\", message: \"release content jurisdictions must match the release\", path: [\"content\", \"jurisdictionRefs\"] });\n }\n});\nexport type GovernedDocumentRelease = z.infer<typeof GovernedDocumentReleaseSchema>;\n\n/**\n * The governed documents an application SERVES as public pages, named once for every layer.\n *\n * These two live HERE, in the shared wire layer, and not with their four governance siblings in\n * `saas-specifications/_core/compliance-documents` — because these are the only two a BROWSER has\n * to name. `AppRouter` mounts `/privacy` and `/terms` and must say which document each serves, and\n * `saas-frontend-lib` neither depends on `saas-specifications` nor should: that is the design-time\n * layer. The alternative was a second copy of two strings in the router, which is exactly the\n * closed-vocabulary-with-no-named-source shape `CLAUDE.md` refuses.\n *\n * `required-document-set.schemas.ts` imports them rather than re-declaring them, so the composer\n * and the page agree about which document they are talking about by construction.\n */\nexport const PUBLIC_GOVERNED_DOCUMENT_REFS = Object.freeze({\n PRIVACY_NOTICE: \"document:public.privacy-notice\",\n SERVICE_TERMS: \"document:public.service-terms\",\n} as const);\nexport type PublicGovernedDocumentRefName = keyof typeof PUBLIC_GOVERNED_DOCUMENT_REFS;\n\n/**\n * Which public page serves which governed document — the pairing every surface that links to one needs.\n *\n * TOTAL over {@link PUBLIC_GOVERNED_DOCUMENT_REFS} by its type, so a third public document added to\n * that vocabulary is a compile error here rather than a document with no page. A hand-kept list of\n * pairings is the thing that rots; a total over the vocabulary is the thing that cannot.\n *\n * ## Why the PATH lives here and not with the frontend's other routes\n *\n * The same reason the refs beside it do, and it took a SECOND reader to make it obvious. `AppRouter`\n * MOUNTS these paths; the consent panel LINKS to the privacy notice from `presets-components`, and\n * the registration form links to each required document from `saas-frontend-lib`. Only the router can\n * reach that package's internal route module, so the panel would have hard-coded a copy — the\n * closed-vocabulary-with-no-named-source shape `CLAUDE.md` refuses, and a copy nothing renders is the\n * one that drifts. `CommonRoutePaths.privacy` / `.terms` are derived from this, so the router still\n * spells its routes in one place and that place agrees with the links.\n *\n * A MARKETING WEBSITE is deliberately NOT one of the readers, although an earlier version of this\n * note claimed it was. `saas-website` may import only `@wildo-ai/saas-models/public-runtime` under\n * bundle discipline, and this is not exported there — so the claim named a reader that could not\n * reach it. If a website ever needs these paths, carve them into `public-runtime` through the K-2\n * protocol rather than restoring the sentence.\n */\nexport const PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS: Readonly<Record<(typeof PUBLIC_GOVERNED_DOCUMENT_REFS)[PublicGovernedDocumentRefName], string>> =\n Object.freeze({\n [PUBLIC_GOVERNED_DOCUMENT_REFS.PRIVACY_NOTICE]: \"/privacy\",\n [PUBLIC_GOVERNED_DOCUMENT_REFS.SERVICE_TERMS]: \"/terms\",\n });\n\n/**\n * The page serving this document, or `undefined` when it has none.\n *\n * A governed document an application requires acceptance of need NOT be one of the two public pages\n * — an application may require a data-processing agreement served elsewhere entirely — so a caller\n * gets `undefined` and omits the link rather than being handed a route that leads nowhere.\n */\nexport const resolvePublicGovernedDocumentRoutePath = (documentRef: string): string | undefined =>\n (PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS as Record<string, string | undefined>)[documentRef];\n\n/** Locator kind is explicit so a channel cannot reinterpret an arbitrary string. */\nexport enum GovernedDocumentPublicationLocatorKind {\n WEB_URL = \"WEB_URL\",\n RECORD_REF = \"RECORD_REF\",\n}\n\nexport const GovernedDocumentPublicationWebLocatorSchema = z.strictObject({\n kind: z.literal(GovernedDocumentPublicationLocatorKind.WEB_URL),\n url: z.url().refine((value) => new URL(value).protocol === \"https:\", \"published web locations require HTTPS\"),\n});\nexport const GovernedDocumentPublicationRecordLocatorSchema = z.strictObject({\n kind: z.literal(GovernedDocumentPublicationLocatorKind.RECORD_REF),\n recordRef: GovernedDocumentRefSchema,\n});\nexport const GovernedDocumentPublicationLocatorSchema = z.discriminatedUnion(\"kind\", [\n GovernedDocumentPublicationWebLocatorSchema,\n GovernedDocumentPublicationRecordLocatorSchema,\n]);\nexport type GovernedDocumentPublicationLocator = z.infer<typeof GovernedDocumentPublicationLocatorSchema>;\n\nconst GovernedDocumentPublicationEventCommonSchema = z.strictObject({\n schemaVersion: z.literal(1),\n eventRef: GovernedDocumentRefSchema,\n release: GovernedDocumentReleaseIdentitySchema,\n channel: z.enum(GovernedDocumentPublicationChannelKind),\n occurredAt: GovernedDocumentIsoDateTimeSchema,\n publicationLocator: GovernedDocumentPublicationLocatorSchema,\n});\n\nconst addGovernedDocumentPublicationLocatorIssue = (\n event: { readonly channel: GovernedDocumentPublicationChannelKind; readonly publicationLocator?: GovernedDocumentPublicationLocator },\n context: z.RefinementCtx,\n): void => {\n // Zod invokes refinements over its input shape, where a required nested\n // object may still be absent before the base object reports that issue.\n // Leave requiredness to the property schema and validate channel semantics\n // only once a locator has successfully parsed.\n if (!event.publicationLocator) return;\n const requiresWebUrl =\n event.channel === GovernedDocumentPublicationChannelKind.PUBLIC_WEB || event.channel === GovernedDocumentPublicationChannelKind.AUTHENTICATED_WEB;\n if (requiresWebUrl !== (event.publicationLocator.kind === GovernedDocumentPublicationLocatorKind.WEB_URL)) {\n context.addIssue({\n code: \"custom\",\n message: requiresWebUrl ? \"web publication channels require an HTTPS locator\" : \"non-web publication channels require a durable record reference\",\n path: [\"publicationLocator\"],\n });\n }\n};\n\nexport const GovernedDocumentPublishedEventSchema = GovernedDocumentPublicationEventCommonSchema.extend({\n eventKind: z.literal(GovernedDocumentPublicationEventKind.PUBLISHED),\n /*\n * It carried `servedContentDigest`, `exactByteProofDigest` and an optional `deploymentObservation`\n * — the latter a signed record of bytes read back from a deployed bundle — until 2026-08-28. The\n * event's own JSDoc called the observation the difference between \"evidence of deployed bytes\" and\n * \"a self-assertion over custody\", which was a fair description of a machine that had never once\n * run. A publication is now what it says it is: this release, on this channel, at this locator, at\n * this time — recorded in a file, in a commit, which a reviewer can read.\n */\n}).superRefine(addGovernedDocumentPublicationLocatorIssue);\nexport type GovernedDocumentPublishedEvent = z.infer<typeof GovernedDocumentPublishedEventSchema>;\n\nexport const GovernedDocumentWithdrawnEventSchema = GovernedDocumentPublicationEventCommonSchema.extend({\n eventKind: z.literal(GovernedDocumentPublicationEventKind.WITHDRAWN),\n withdrawalReason: z.string().trim().min(1),\n}).superRefine(addGovernedDocumentPublicationLocatorIssue);\nexport type GovernedDocumentWithdrawnEvent = z.infer<typeof GovernedDocumentWithdrawnEventSchema>;\n\nexport const GovernedDocumentPublicationEventSchema = z.discriminatedUnion(\"eventKind\", [\n GovernedDocumentPublishedEventSchema,\n GovernedDocumentWithdrawnEventSchema,\n]);\nexport type GovernedDocumentPublicationEvent = z.infer<typeof GovernedDocumentPublicationEventSchema>;\n\n/**\n * Browser-safe immutable release projection.\n *\n * Governance scope, candidate digest, approval-decision identities and the\n * internal content-artifact ref remain in the retained release/bundle custody\n * boundary. Public consumers receive only the fields needed to route, display\n * and independently verify the published bytes and effective interval.\n */\nexport const GovernedDocumentPublicReleaseProjectionSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n identity: GovernedDocumentReleaseIdentitySchema,\n definition: GovernedDocumentDefinitionIdentitySchema,\n documentClass: z.enum(GovernedDocumentClass),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n contentMediaType: z.literal(GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE),\n issuedAt: GovernedDocumentIsoDateTimeSchema,\n effectiveAt: GovernedDocumentIsoDateTimeSchema,\n expiresAt: GovernedDocumentIsoDateTimeSchema.optional(),\n /**\n * What a person may DO with this release — carried onto the public projection so the serving\n * surface can tell whether recording a `NOTICE_DELIVERED` (#1258 Step 5) is something the\n * release actually permits, without a second, wider read of the release's own custody record.\n * Not new authority: `composeGovernedDocumentInteraction` already refuses an interaction kind a\n * release does not permit, so a reader without this field could only guess.\n */\n allowedInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n })\n .superRefine((release, context) => {\n addUniqueSortedIssue(release.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n if (Date.parse(release.effectiveAt) < Date.parse(release.issuedAt)) {\n context.addIssue({ code: \"custom\", message: \"effectiveAt cannot precede issuance\", path: [\"effectiveAt\"] });\n }\n if (release.expiresAt && Date.parse(release.expiresAt) <= Date.parse(release.effectiveAt)) {\n context.addIssue({ code: \"custom\", message: \"expiresAt must follow effectiveAt\", path: [\"expiresAt\"] });\n }\n });\nexport type GovernedDocumentPublicReleaseProjection = z.infer<typeof GovernedDocumentPublicReleaseProjectionSchema>;\n\n/** Explicit allow-list projection from retained internal release to public release metadata. */\nexport const projectGovernedDocumentPublicRelease = (releaseInput: GovernedDocumentRelease): GovernedDocumentPublicReleaseProjection => {\n const release = GovernedDocumentReleaseSchema.parse(releaseInput);\n return GovernedDocumentPublicReleaseProjectionSchema.parse({\n schemaVersion: 1,\n identity: release.identity,\n definition: release.definition,\n documentClass: release.documentClass,\n locale: release.locale,\n jurisdictionRefs: release.jurisdictionRefs,\n contentMediaType: release.contentMediaType,\n issuedAt: release.issuedAt,\n effectiveAt: release.effectiveAt,\n ...(release.expiresAt ? { expiresAt: release.expiresAt } : {}),\n allowedInteractionKinds: release.allowedInteractionKinds,\n });\n};\n\n/**\n * A governed document AS A PUBLIC PAGE CAN HOLD IT — the release metadata a reader is entitled to,\n * paired with the exact content bytes it names. Issue #168.\n *\n * ## Why this pair, and why it is one record\n *\n * The two halves already existed and had never been joined. `GovernedDocumentPublicReleaseProjection`\n * answers *which release is this, in what language, for which jurisdictions, in force when* —\n * deliberately narrower than the internal release, withholding `governanceScope` and\n * `approvalDecisions` as custody detail. `GovernedDocumentPublicContent` answers *what does it say*.\n * A page needs both and must not be able to show one release's date above another release's prose,\n * so they travel together and their agreement is checked here rather than at each reader.\n *\n * ## What the guard refuses, and what it deliberately does not\n *\n * It refuses a record that would be a LIE: content whose `locale` or `jurisdictionRefs` disagree\n * with the release naming it, and a media type the release does not declare. Serving an `en-GB`\n * notice under a release that says `fr-FR` is a false legal statement, and that is the one thing a\n * public document may never be.\n *\n * It does NOT refuse an UNAPPROVED release, and that is the directive'''s own instruction rather than\n * an oversight: *\"Composing a release harms nobody; serving an unapproved one to a real reader is a\n * legally-binding statement leaving the system. So the filter lives on the READ, defaults to off,\n * and says at its own site that it is the gate point.\"* The approval gate is\n * {@link resolveInForcePublicDocument}'''s `requireApproved`, MARKED there and armed at Gate 3.\n * Refusing here would make an application unable to REPRESENT a draft notice at all, which is the\n * shape `.claude/rules/application-creation-directive.md` records as the reference defect.\n *\n * The release'''s own `approvalState` is not carried, because this projection deliberately withholds\n * it (a reader is not told about internal custody). The approval decision is made where the document\n * is SELECTED, from the authored release, before it reaches a browser.\n */\nexport enum GovernedDocumentPublicDocumentKind {\n /** A composed release and the text that release carries. */\n RELEASED = \"RELEASED\",\n /**\n * The latest draft of a document the application has NEVER released (wildo-ai/wildo-ai#968 decision 5).\n *\n * It exists so that neither a missing approval nor a missing release leaves a page with nothing. It\n * carries no release projection and no approval state because neither exists — inventing either\n * would claim a release nobody composed — and a page showing one must SAY it is a draft.\n */\n UNRELEASED_DRAFT = \"UNRELEASED_DRAFT\",\n}\n\nexport const GovernedDocumentReleasedPublicDocumentSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n kind: z.literal(GovernedDocumentPublicDocumentKind.RELEASED),\n release: GovernedDocumentPublicReleaseProjectionSchema,\n content: GovernedDocumentPublicContentSchema,\n /**\n * Whether the release this content belongs to has been approved.\n *\n * Carried HERE rather than on the release projection because it is a fact about the PUBLISHER'''s\n * process, not about the document, and the projection is the shape a reader receives. A serving\n * surface needs it to decide whether it may render at all; it is never displayed.\n */\n approvalState: z.enum(GovernedDocumentReleaseApprovalState),\n })\n .superRefine((document, context) => {\n if (document.content.locale !== document.release.locale) {\n context.addIssue({\n code: \"custom\",\n message: \"public content locale must match the release that names it\",\n path: [\"content\", \"locale\"],\n });\n }\n const releaseJurisdictions = document.release.jurisdictionRefs.join(\"\\u0000\");\n if (document.content.jurisdictionRefs.join(\"\\u0000\") !== releaseJurisdictions) {\n context.addIssue({\n code: \"custom\",\n message: \"public content jurisdictions must match the release that names it\",\n path: [\"content\", \"jurisdictionRefs\"],\n });\n }\n });\nexport type GovernedDocumentReleasedPublicDocument = z.infer<typeof GovernedDocumentReleasedPublicDocumentSchema>;\n\n/** See {@link GovernedDocumentPublicDocumentKind.UNRELEASED_DRAFT}. */\nexport const GovernedDocumentUnreleasedDraftPublicDocumentSchema = z.strictObject({\n schemaVersion: z.literal(1),\n kind: z.literal(GovernedDocumentPublicDocumentKind.UNRELEASED_DRAFT),\n /** The governed document this is the latest draft of. */\n documentRef: GovernedDocumentRefSchema,\n content: GovernedDocumentPublicContentSchema,\n});\nexport type GovernedDocumentUnreleasedDraftPublicDocument = z.infer<typeof GovernedDocumentUnreleasedDraftPublicDocumentSchema>;\n\n/** A document a public page may render: a composed release, or the latest draft of a never-released document. */\nexport const GovernedDocumentPublicDocumentSchema = z.discriminatedUnion(\"kind\", [\n GovernedDocumentReleasedPublicDocumentSchema,\n GovernedDocumentUnreleasedDraftPublicDocumentSchema,\n]);\nexport type GovernedDocumentPublicDocument = z.infer<typeof GovernedDocumentPublicDocumentSchema>;\n\n"]}
1
+ {"version":3,"file":"governed-documents.shared.schemas.js","sourceRoot":"","sources":["../../../../src/compliance/documents/governed-documents.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,mFAAmF;AACnF,MAAM,CAAC,MAAM,2CAA2C,GAAG,+DAA+D,CAAC;AAE3H,MAAM,0BAA0B,GAAG,oEAAoE,CAAC;AACxG,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,KAAa,EAAU,EAAE,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjH,MAAM,eAAe,GAAG,CAAC,MAAyB,EAAW,EAAE,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,MAAM,CAAC;AACvG,MAAM,wBAAwB,GAAG,CAAC,MAAyB,EAAW,EAAE,CACtE,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAE,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtG,MAAM,oBAAoB,GAAG,CAAC,MAAyB,EAAE,OAAwB,EAAE,IAAmB,EAAE,KAAa,E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AAC,QAAQ,CAAC;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,mEAAmE;YAC5E,IAAI,EAAE,CAAC,SAAS,EAAE,kBAAkB,CAAC;SACtC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC;AAGL,uEAAuE;AACvE,MAAM,CAAC,MAAM,mDAAmD,GAAG,CAAC,CAAC,YAAY,CAAC;IAChF,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC,gBAAgB,CAAC;IACpE,yDAAyD;IACzD,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,mCAAmC;CAC7C,CAAC,CAAC;AAGH,iHAAiH;AACjH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC/E,4CAA4C;IAC5C,mDAAmD;CACpD,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport \"@wildo-ai/zod-decorators\";\n\n/**\n * What a GOVERNED DOCUMENT is: its classes, audiences, review and publication vocabulary, its\n * identities, its governance scope, its public content, and the release and publication events that\n * record it being issued and withdrawn.\n *\n * ## What this file used to also be, and why that half is gone (2026-08-28)\n *\n * Until this revision the same file carried a complete SEALED DELIVERY MACHINE beside the\n * vocabulary: public-release and deployment BUNDLES with self-referential digests, deployment\n * OBSERVATIONS carrying canonical bytes plus a detached backend signature and a rotated-key\n * `notAfter` window, publication PROOF digests, interaction RECEIPTS, byte-exact retrieval queries,\n * and a dozen `canonicalize*DigestBasis` functions feeding them. Around it sat a backend registry\n * that revalidated every digest at boot, two controllers, a CLI artifact-sync writing immutable\n * receipts, and a generated module the application loaded at startup.\n *\n * All of it is removed under `.claude/rules/one-source-of-truth.md` Rule 0 — *nothing that is not\n * branchable on git*. A digest chain cannot merge: two branches that publish different content\n * produce a merged tree whose digests belong to neither. What the machine protected — that a\n * published document is exactly the bytes somebody approved — is what git and the forge already\n * provide, per commit, mergeably, to a reviewer reading a diff.\n *\n * Two facts made the removal cheap rather than risky, and both were measured rather than assumed:\n * **no application had ever produced a bundle** (`.wildo-saas/generated/compliance/` was empty in\n * both example applications), and every read path was built on the seal, so there was no\n * non-sealed serving to preserve.\n *\n * ## What replaces it\n *\n * A read over committed files, not a custody protocol. A governed document is a FILE in the\n * application's specifications package, and a release is a record the application commits — since\n * 2026-09-12 carrying the text it publishes (`GovernedDocumentReleaseSchema.content`, #968), so the\n * commit that introduced the record is what binds a release to its words. What a public page serves\n * is `GovernedDocumentPublicDocument`: a release with its text, or the latest draft of a document\n * never released, chosen by `resolveInForcePublicDocument`. No digest, no bundle, no receipt.\n */\n\n/** Exact media type of the canonical browser-safe governed-document JSON bytes. */\nexport const GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE = \"application/vnd.wildo.governed-document.public+json;version=1\";\n\nconst governedDocumentRefPattern = /^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*(?::[A-Za-z0-9][A-Za-z0-9._-]*)+$/;\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst addUniqueSortedIssue = (values: readonly string[], context: z.RefinementCtx, path: PropertyKey[], label: string): void => {\n if (!valuesAreUnique(values) || !valuesAreLexicallySorted(values)) {\n context.addIssue({ code: \"custom\", message: `${label} must be unique and lexically sorted`, path });\n }\n};\n\nexport const GovernedDocumentRefSchema = z.string().trim().regex(governedDocumentRefPattern).brand<\"GovernedDocumentRef\">();\nexport type GovernedDocumentRef = z.infer<typeof GovernedDocumentRefSchema>;\n\nexport const GovernedDocumentIsoDateTimeSchema = z.iso.datetime({ offset: true });\nexport const GovernedDocumentIsoDateSchema = z.iso.date();\n/** One runtime source for every governed-document version/order identity. */\nexport const GovernedDocumentPositiveSafeIntegerSchema = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);\n\n/** Semantic class of governed content. The class controls review, release and interaction rules; a public label never changes it. */\nexport enum GovernedDocumentClass {\n PUBLIC_NOTICE = \"PUBLIC_NOTICE\",\n CONTRACTUAL_TERMS = \"CONTRACTUAL_TERMS\",\n GOVERNANCE_POLICY = \"GOVERNANCE_POLICY\",\n PROCEDURE_OR_RUNBOOK = \"PROCEDURE_OR_RUNBOOK\",\n PLAN = \"PLAN\",\n REGISTER = \"REGISTER\",\n REVIEW_OR_DECISION_RECORD = \"REVIEW_OR_DECISION_RECORD\",\n ASSESSMENT_OR_REPORT = \"ASSESSMENT_OR_REPORT\",\n EVIDENCE_ARTIFACT = \"EVIDENCE_ARTIFACT\",\n}\n\n/** Whose facts and authority a document may speak for. Shared responsibility is explicit rather than a flattened synthetic owner. */\nexport enum GovernedDocumentGovernanceSubjectKind {\n WILDO_PROVIDER = \"WILDO_PROVIDER\",\n APPLICATION_OPERATOR = \"APPLICATION_OPERATOR\",\n TENANT_ORGANIZATION = \"TENANT_ORGANIZATION\",\n SHARED_RESPONSIBILITY = \"SHARED_RESPONSIBILITY\",\n}\n\nexport enum GovernedDocumentAudienceKind {\n PUBLIC_GENERAL = \"PUBLIC_GENERAL\",\n BUSINESS_CUSTOMER = \"BUSINESS_CUSTOMER\",\n CONSUMER = \"CONSUMER\",\n APPLICATION_USER = \"APPLICATION_USER\",\n WORKFORCE = \"WORKFORCE\",\n TENANT_ADMINISTRATOR = \"TENANT_ADMINISTRATOR\",\n QUALIFIED_REVIEWER = \"QUALIFIED_REVIEWER\",\n}\n\nexport enum GovernedDocumentApplicabilityStatus {\n APPLICABLE = \"APPLICABLE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n DEFERRED = \"DEFERRED\",\n}\n\nexport enum GovernedDocumentFactResolutionStatus {\n KNOWN = \"KNOWN\",\n MISSING = \"MISSING\",\n CONFLICTING = \"CONFLICTING\",\n STALE = \"STALE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n}\n\nexport enum GovernedDocumentCandidateStatus {\n DRAFT = \"DRAFT\",\n BLOCKED = \"BLOCKED\",\n READY_FOR_REVIEW = \"READY_FOR_REVIEW\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\nexport enum GovernedDocumentReviewKind {\n CONTENT = \"CONTENT\",\n TECHNICAL = \"TECHNICAL\",\n PRIVACY = \"PRIVACY\",\n SECURITY = \"SECURITY\",\n LEGAL = \"LEGAL\",\n BUSINESS = \"BUSINESS\",\n INDEPENDENT_ASSESSMENT = \"INDEPENDENT_ASSESSMENT\",\n}\n\nexport enum GovernedDocumentReviewDecisionKind {\n APPROVED = \"APPROVED\",\n CHANGES_REQUIRED = \"CHANGES_REQUIRED\",\n REJECTED = \"REJECTED\",\n CONFLICT = \"CONFLICT\",\n}\n\nexport enum GovernedDocumentPublicationChannelKind {\n PUBLIC_WEB = \"PUBLIC_WEB\",\n AUTHENTICATED_WEB = \"AUTHENTICATED_WEB\",\n DURABLE_DOWNLOAD = \"DURABLE_DOWNLOAD\",\n DIRECT_DELIVERY = \"DIRECT_DELIVERY\",\n GOVERNANCE_REPOSITORY = \"GOVERNANCE_REPOSITORY\",\n}\n\nexport enum GovernedDocumentPublicationEventKind {\n PUBLISHED = \"PUBLISHED\",\n WITHDRAWN = \"WITHDRAWN\",\n}\n\n/** Distinct legal/user interactions. A notice interaction, contract acceptance and consent decision are never aliases. */\nexport enum GovernedDocumentInteractionKind {\n NOTICE_DELIVERED = \"NOTICE_DELIVERED\",\n NOTICE_ACKNOWLEDGED = \"NOTICE_ACKNOWLEDGED\",\n CONTRACT_ACCEPTED = \"CONTRACT_ACCEPTED\",\n CONSENT_GIVEN = \"CONSENT_GIVEN\",\n CONSENT_WITHDRAWN = \"CONSENT_WITHDRAWN\",\n}\n\n/** @wildo_source:part:start saas.models.governed-document-acceptance-mode facet:layer:shared facet:audience:app-developer */\n/**\n * HOW an application asks a registrant to accept the documents it requires accepting — the three\n * shapes courts actually distinguish, declared once per application (#1258).\n *\n * Declared on `compliance.governedDocumentAcceptanceMode` in the application's own\n * `backend-api/src/saas-config.backend.ts`, beside `governedDocumentReleases` and `publicDocuments`.\n *\n * It is a RENDERING posture, not a server-side gate. The backend records whichever accepted release\n * ids a registration carries and does not know which mode produced them, so a client that does not\n * use the form is bound by none of the three. That is the honest scope: what the mode decides is how\n * strong a notice a person is given and what the form withholds until they act — the things a\n * registration screen can actually control.\n *\n * ## Why this is a declared CHOICE rather than one shipped behaviour\n *\n * Registration shipped with exactly one shape — an unticked box gating the submit button — and no\n * way to ask for another. That is the strongest of the three and it is the right DEFAULT, but it is\n * not the right answer for every application: a product whose terms are a one-paragraph acceptable-use\n * statement and a product whose terms carry an arbitration clause are not asking the same thing of the\n * same person, and the framework should let each say which it is asking.\n *\n * ## The enforceability ladder, which is what the members are ordered by\n *\n * Enforceability turns on whether the person had REASONABLE NOTICE of the terms and took an action\n * MANIFESTING ASSENT to them. Clickwrap — an affirmative act aimed at the terms themselves — is the\n * shape courts uphold most consistently; sign-in-wrap, where the act is the registration and the\n * notice sits beside it, is upheld when the notice is conspicuous and fails when it is buried;\n * browsewrap, where nothing but a footer link exists, is the shape that routinely fails. This\n * vocabulary offers the first two and does NOT offer the third, because an application that asks for\n * nothing is already representable by declaring no release that permits `CONTRACT_ACCEPTED`.\n *\n * (Drawn from the settled shape of US and EU practice on online contract formation, not from a single\n * cited authority. Not legal advice — an operator's counsel decides which their terms warrant.)\n *\n * ## Every member DOES something, deliberately\n *\n * Each one changes what the registration form renders and what it refuses. A member that only named a\n * posture without changing behaviour is the defect removed from this lane one commit earlier, when a\n * stored privacy-level field was deleted for meaning nothing at any call site.\n */\nexport enum GovernedDocumentAcceptanceMode {\n /**\n * SIGN-IN-WRAP — \"by registering you agree to our terms and privacy policy\", beside the button.\n *\n * No checkbox and no separate act: submitting the registration IS the act of assent, so the\n * accepted release ids still travel with it and the interaction is still recorded. What changes is\n * that nothing is withheld — the button is available from the first keystroke.\n *\n * The notice is rendered immediately above the submit control rather than in a footer, because\n * conspicuousness is the whole of what distinguishes this from the browsewrap shape that fails.\n */\n IMPLIED_BY_REGISTERING = \"IMPLIED_BY_REGISTERING\",\n /**\n * CLICKWRAP — an unticked box the person ticks, with the submit control unavailable until they do.\n *\n * The DEFAULT, and the framework default may not silently weaken: an application that declared\n * nothing shipped this behaviour before the vocabulary existed, and must keep shipping it.\n *\n * The box is never pre-ticked. A pre-ticked box is not an affirmative act, so it undermines the one\n * property this mode exists to provide — the same reason the consent gate's own optional purposes\n * start unticked.\n */\n EXPLICIT_CHECKBOX = \"EXPLICIT_CHECKBOX\",\n /**\n * CLICKWRAP WITH A READING GATE — the document is shown, and the box cannot be ticked until the\n * reader has scrolled to the end of it.\n *\n * The strongest available notice: the terms are not merely linked, they are placed in front of the\n * person and the affirmative act is unavailable until they have passed over all of them.\n *\n * Two things it deliberately does NOT claim. It does not claim the person READ the document — no\n * mechanism can — only that the text was presented in full and the act came after. And it does not\n * replace the public document page: the pane shows the same content that page serves, and links to\n * it, because the page is where the document is rendered with its own typography.\n */\n EXPLICIT_AFTER_READING = \"EXPLICIT_AFTER_READING\",\n}\n\n/**\n * Does this mode require a SEPARATE affirmative act before the registration may be submitted?\n *\n * Two readers, one answer: the form disables its submit control on it, and the same form decides on\n * it whether the accepted release ids travel with the request. Those had to agree — a submit the\n * person could press without the ids being sent records nothing while reporting success — so the\n * predicate is named once here rather than spelled twice at the two call sites.\n *\n * Written as \"anything but implied\" deliberately: a fourth mode added tomorrow is treated as needing\n * the act until somebody says otherwise, which is the direction that fails safe. The inverse spelling\n * ({@link GovernedDocumentAcceptanceMode.EXPLICIT_CHECKBOX} or `EXPLICIT_AFTER_READING`) would let a\n * new member fall through to \"registering is enough\" silently.\n */\nexport const governedDocumentAcceptanceRequiresExplicitAct = (mode: GovernedDocumentAcceptanceMode): boolean =>\n mode !== GovernedDocumentAcceptanceMode.IMPLIED_BY_REGISTERING;\n\n/**\n * Must the document be placed in front of the reader, and the affirmative act withheld until they\n * have passed over all of it?\n *\n * Named rather than compared inline for the same reason as its sibling, and spelled the other way\n * round for the same fail-safe reason read in the other direction: a new mode does NOT acquire a\n * reading gate nobody asked for.\n */\nexport const governedDocumentAcceptanceRequiresReading = (mode: GovernedDocumentAcceptanceMode): boolean =>\n mode === GovernedDocumentAcceptanceMode.EXPLICIT_AFTER_READING;\n/** @wildo_source:part:end saas.models.governed-document-acceptance-mode */\n\nexport enum GovernedDocumentChangeAction {\n NO_PUBLIC_ACTION = \"NO_PUBLIC_ACTION\",\n REVISE_CANDIDATE = \"REVISE_CANDIDATE\",\n REPUBLISH = \"REPUBLISH\",\n NOTIFY = \"NOTIFY\",\n REQUEST_REACKNOWLEDGEMENT = \"REQUEST_REACKNOWLEDGEMENT\",\n REQUEST_REACCEPTANCE = \"REQUEST_REACCEPTANCE\",\n WITHDRAW = \"WITHDRAW\",\n ESCALATE_FOR_QUALIFIED_REVIEW = \"ESCALATE_FOR_QUALIFIED_REVIEW\",\n}\n\nexport const GovernedDocumentDefinitionIdentitySchema = z.strictObject({\n definitionRef: GovernedDocumentRefSchema,\n definitionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentDefinitionIdentity = z.infer<typeof GovernedDocumentDefinitionIdentitySchema>;\n\nexport const GovernedDocumentIdentitySchema = z.strictObject({\n documentRef: GovernedDocumentRefSchema,\n documentVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentIdentity = z.infer<typeof GovernedDocumentIdentitySchema>;\n\nexport const GovernedDocumentReleaseIdentitySchema = z.strictObject({\n document: GovernedDocumentIdentitySchema,\n releaseId: GovernedDocumentRefSchema,\n releaseVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentReleaseIdentity = z.infer<typeof GovernedDocumentReleaseIdentitySchema>;\n\nexport const governedDocumentReleaseIdentityKey = (identity: GovernedDocumentReleaseIdentity): string =>\n `${identity.document.documentRef}@${identity.document.documentVersion}:${identity.releaseId}@${identity.releaseVersion}`;\n\n/** Exact immutable approval-decision identity retained by an issued release without exposing private review content publicly. */\nexport const GovernedDocumentApprovalDecisionIdentitySchema = z.strictObject({\n decisionRef: GovernedDocumentRefSchema,\n decisionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentApprovalDecisionIdentity = z.infer<typeof GovernedDocumentApprovalDecisionIdentitySchema>;\n\n/**\n * Whether a release has been APPROVED yet — and it is a MARK, never a gate on producing one.\n *\n * Wildo is agent-first: the mechanism composes the artifact and says what is true about it. Approval\n * is a workflow act that happens at the END, so requiring it in order to compose a release would put\n * a compliance workflow in front of the application-creation mechanism — which is the one thing that\n * must never block. `approvalDecisions` was `.min(1)` until 2026-09-11, and that single constraint\n * meant an unapproved release could not be REPRESENTED at all: an application either forged an\n * approval identity or had no release, and the honest third answer did not exist.\n *\n * What replaces the refusal is this field. A release always exists and always states its own\n * standing, so nothing downstream has to infer it and nothing can mistake a draft for a published\n * document. Arming the gate that actually withholds an UNAPPROVED release from a real reader belongs\n * to Gate 3 (\"an application may face a real user\"), per `one-source-of-truth.md` D5: critical gate\n * points stay MARKED in every mechanism so they can be switched on when the posture changes.\n */\nexport enum GovernedDocumentReleaseApprovalState {\n /** At least one approval decision is retained. The release may be served as a published document. */\n APPROVED = \"APPROVED\",\n /**\n * Composed, coherent, and NOT approved.\n *\n * A true record of a real draft — not a defect and not a placeholder. It is what an application\n * holds between drafting and approval, which for most of its life is where it is.\n */\n UNAPPROVED = \"UNAPPROVED\",\n}\n\n/**\n * Exact private materiality-decision identity retained when one release\n * replaces another. The full decision and authority evidence remain in\n * application-creation custody; this identity makes the replacement and any\n * required renewed interaction causally auditable without exposing the\n * decision publicly.\n */\nexport const GovernedDocumentMaterialityDecisionIdentitySchema = z\n .strictObject({\n decisionRef: GovernedDocumentRefSchema,\n decisionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n previousRelease: GovernedDocumentReleaseIdentitySchema,\n requiredInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.requiredInteractionKinds, context, [\"requiredInteractionKinds\"], \"requiredInteractionKinds\");\n });\nexport type GovernedDocumentMaterialityDecisionIdentity = z.infer<typeof GovernedDocumentMaterialityDecisionIdentitySchema>;\n\n/** Exact immutable reviewer-authority grant selected by a review decision. */\nexport const GovernedDocumentReviewerAuthorityIdentitySchema = z.strictObject({\n authorityRef: GovernedDocumentRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentReviewerAuthorityIdentity = z.infer<typeof GovernedDocumentReviewerAuthorityIdentitySchema>;\n\n/** Exact immutable authority identity selected for a document materiality decision; never interchangeable with candidate-review authority. */\nexport const GovernedDocumentMaterialityAuthorityIdentitySchema = z.strictObject({\n authorityRef: GovernedDocumentRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentMaterialityAuthorityIdentity = z.infer<typeof GovernedDocumentMaterialityAuthorityIdentitySchema>;\n\n/**\n * Exact ownership boundary for one governed document.\n *\n * Shared-responsibility output must retain at least two attributed parties and an explicit precedence rule. A single-subject output must not carry those shared-only\n * fields, preventing provider, operator and tenant statements from being silently flattened into one voice.\n */\nexport const GovernedDocumentGovernanceScopeSchema = z\n .strictObject({\n // Declared so any surface wording this scope reads the one authored vocabulary (#966).\n subjectKind: z.enum(GovernedDocumentGovernanceSubjectKind).systemEnum(\"GovernedDocumentGovernanceSubjectKind\"),\n subjectRef: GovernedDocumentRefSchema,\n scopeRef: GovernedDocumentRefSchema,\n scopeVersion: GovernedDocumentPositiveSafeIntegerSchema,\n participantRefs: z.array(GovernedDocumentRefSchema),\n precedenceRuleRefs: z.array(GovernedDocumentRefSchema),\n })\n .superRefine((scope, context) => {\n addUniqueSortedIssue(scope.participantRefs, context, [\"participantRefs\"], \"participantRefs\");\n addUniqueSortedIssue(scope.precedenceRuleRefs, context, [\"precedenceRuleRefs\"], \"precedenceRuleRefs\");\n if (scope.subjectKind === GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY) {\n if (scope.participantRefs.length < 2) {\n context.addIssue({ code: \"custom\", message: \"shared responsibility requires at least two attributed participants\", path: [\"participantRefs\"] });\n }\n if (scope.precedenceRuleRefs.length === 0) {\n context.addIssue({ code: \"custom\", message: \"shared responsibility requires an explicit precedence rule\", path: [\"precedenceRuleRefs\"] });\n }\n } else if (scope.participantRefs.length > 0 || scope.precedenceRuleRefs.length > 0) {\n context.addIssue({\n code: \"custom\",\n message: \"single-subject governance cannot carry shared-responsibility participants or precedence rules\",\n path: [\"participantRefs\"],\n });\n }\n });\nexport type GovernedDocumentGovernanceScope = z.infer<typeof GovernedDocumentGovernanceScopeSchema>;\n\n/**\n * Whether a published clause states something the application has ESTABLISHED — the one fact about a\n * draft's completeness a READER is owed.\n *\n * It is the public projection of the candidate's `ComplianceStatementCompleteness`\n * (`@wildo-ai/saas-specifications`): `DERIVED` becomes `ESTABLISHED`, and each of the three `NEEDS_*`\n * members becomes `NOT_YET_ESTABLISHED`. Coarser ON PURPOSE, the way the public release projection\n * withholds `governanceScope`: which party closes a gap (a framework change, an operator decision, an\n * application configuration) and how (`closedBy` — issue refs, owners) is the publisher's custody.\n * What a person reading the document is owed is that this statement is not yet established, and what\n * is missing.\n *\n * Decided 2026-09-12 (wildo-ai/wildo-ai#968): an unestablished clause is MARKED on the page. Omitting it\n * would narrow the document (#454 rejects that), and refusing the whole document would put a workflow\n * fact in front of the page. Projecting it as plain text would state as settled what the drafter wrote\n * down as unsettled.\n */\nexport enum GovernedDocumentPublicClauseStanding {\n ESTABLISHED = \"ESTABLISHED\",\n NOT_YET_ESTABLISHED = \"NOT_YET_ESTABLISHED\",\n}\n\n/**\n * Browser-safe public projection of governed document content.\n *\n * Internal fact, authority, source-policy and review evidence stays in the\n * candidate/release records. Public routes render this exact projection as\n * text; `bodyMarkdown` is never trusted as raw HTML.\n *\n * Carried `clauseVersion` (and its section `sectionVersion`) until 2026-09-12 (#968). Nothing read\n * either, no draft carries one, and a clause's revision history is the commits that changed it — so a\n * required integer here could only be stamped, which would assert a history nothing tracks.\n */\nexport const GovernedDocumentPublicClauseSchema = z\n .strictObject({\n clauseRef: GovernedDocumentRefSchema,\n order: GovernedDocumentPositiveSafeIntegerSchema,\n bodyMarkdown: z.string().trim().min(1),\n standing: z.enum(GovernedDocumentPublicClauseStanding),\n /**\n * What is missing, in the reader's terms — the drafter's own `needs` text. Present exactly when the\n * clause is `NOT_YET_ESTABLISHED`: a marked clause that does not say what it lacks tells a reader\n * nothing they can use, and an established clause carrying one would contradict itself.\n */\n missingInformation: z.string().trim().min(1).optional(),\n })\n .superRefine((clause, context) => {\n const marked = clause.standing === GovernedDocumentPublicClauseStanding.NOT_YET_ESTABLISHED;\n if (marked && clause.missingInformation === undefined) {\n context.addIssue({ code: \"custom\", message: \"a clause that is not yet established must say what is missing\", path: [\"missingInformation\"] });\n }\n if (!marked && clause.missingInformation !== undefined) {\n context.addIssue({ code: \"custom\", message: \"an established clause cannot carry missing information\", path: [\"missingInformation\"] });\n }\n });\nexport type GovernedDocumentPublicClause = z.infer<typeof GovernedDocumentPublicClauseSchema>;\n\nexport const GovernedDocumentPublicSectionSchema = z\n .strictObject({\n sectionRef: GovernedDocumentRefSchema,\n order: GovernedDocumentPositiveSafeIntegerSchema,\n title: z.string().trim().min(1),\n clauses: z.array(GovernedDocumentPublicClauseSchema).min(1),\n })\n .superRefine((section, context) => {\n if (!valuesAreUnique(section.clauses.map((clause) => clause.clauseRef))) {\n context.addIssue({ code: \"custom\", message: \"public document clause references must be unique\", path: [\"clauses\"] });\n }\n section.clauses.forEach((clause, index) => {\n if (clause.order !== index + 1) {\n context.addIssue({\n code: \"custom\",\n message: \"public document clause order must be contiguous and match array order\",\n path: [\"clauses\", index, \"order\"],\n });\n }\n });\n });\nexport type GovernedDocumentPublicSection = z.infer<typeof GovernedDocumentPublicSectionSchema>;\n\nexport const GovernedDocumentPublicContentSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n title: z.string().trim().min(1),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n sections: z.array(GovernedDocumentPublicSectionSchema).min(1),\n })\n .superRefine((content, context) => {\n addUniqueSortedIssue(content.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n if (!valuesAreUnique(content.sections.map((section) => section.sectionRef))) {\n context.addIssue({ code: \"custom\", message: \"public document section references must be unique\", path: [\"sections\"] });\n }\n content.sections.forEach((section, index) => {\n if (section.order !== index + 1) {\n context.addIssue({\n code: \"custom\",\n message: \"public document section order must be contiguous and match array order\",\n path: [\"sections\", index, \"order\"],\n });\n }\n });\n });\nexport type GovernedDocumentPublicContent = z.infer<typeof GovernedDocumentPublicContentSchema>;\n\n/**\n * Content-branch-neutral immutable release metadata.\n *\n * Historical public releases and current internal structured releases add\n * their own explicit schema/content discriminators to this shared invariant\n * basis. Consumers must select one complete branch rather than accepting this\n * common shape directly.\n */\nexport const GovernedDocumentReleaseCommonSchema = z\n .strictObject({\n identity: GovernedDocumentReleaseIdentitySchema,\n definition: GovernedDocumentDefinitionIdentitySchema,\n governanceScope: GovernedDocumentGovernanceScopeSchema,\n documentClass: z.enum(GovernedDocumentClass),\n audienceKinds: z.array(z.enum(GovernedDocumentAudienceKind)).min(1),\n publicationChannelKinds: z.array(z.enum(GovernedDocumentPublicationChannelKind)).min(1),\n allowedInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n /*\n * The content's MEDIA TYPE. The content itself is carried by `GovernedDocumentReleaseSchema.content`.\n *\n * It carried `candidateDigest`, `contentDigest` and `contentArtifactRef` until 2026-08-28 — a\n * seal binding the release to exact bytes in a content-addressed store. The store and the\n * verifier are gone with the rest of the digest machinery and are not coming back: since\n * 2026-09-12 (#968) the release holds its published text directly, and the commit that\n * introduced the release record is what a reader audits.\n */\n contentMediaType: z.string().trim().min(1),\n issuedAt: GovernedDocumentIsoDateTimeSchema,\n effectiveAt: GovernedDocumentIsoDateTimeSchema,\n expiresAt: GovernedDocumentIsoDateTimeSchema.optional(),\n /**\n * NOT `.min(1)`: see {@link GovernedDocumentReleaseApprovalState}. An unapproved release carries\n * none, and says so in `approvalState` rather than being unrepresentable.\n */\n approvalDecisions: z.array(GovernedDocumentApprovalDecisionIdentitySchema),\n approvalState: z.enum(GovernedDocumentReleaseApprovalState),\n replacesRelease: GovernedDocumentReleaseIdentitySchema.optional(),\n materialityDecision: GovernedDocumentMaterialityDecisionIdentitySchema.optional(),\n })\n .superRefine((release, context) => {\n addUniqueSortedIssue(release.audienceKinds, context, [\"audienceKinds\"], \"audienceKinds\");\n addUniqueSortedIssue(release.publicationChannelKinds, context, [\"publicationChannelKinds\"], \"publicationChannelKinds\");\n addUniqueSortedIssue(release.allowedInteractionKinds, context, [\"allowedInteractionKinds\"], \"allowedInteractionKinds\");\n addUniqueSortedIssue(release.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n addUniqueSortedIssue(\n release.approvalDecisions.map((decision) => `${decision.decisionRef}@${decision.decisionVersion}`),\n context,\n [\"approvalDecisions\"],\n \"approvalDecisions\",\n );\n /*\n * The state and the evidence must agree. APPROVED with nothing retained would be a claim with no\n * basis; UNAPPROVED while holding decisions would hide an approval that happened. Neither is a\n * workflow gate — both are the record contradicting itself.\n */\n if (release.approvalState === GovernedDocumentReleaseApprovalState.APPROVED && release.approvalDecisions.length === 0) {\n context.addIssue({ code: \"custom\", message: \"an APPROVED release must retain at least one approval decision\", path: [\"approvalDecisions\"] });\n }\n if (release.approvalState === GovernedDocumentReleaseApprovalState.UNAPPROVED && release.approvalDecisions.length > 0) {\n context.addIssue({ code: \"custom\", message: \"an UNAPPROVED release must retain no approval decision\", path: [\"approvalDecisions\"] });\n }\n if (Date.parse(release.effectiveAt) < Date.parse(release.issuedAt)) {\n context.addIssue({ code: \"custom\", message: \"effectiveAt cannot precede issuedAt\", path: [\"effectiveAt\"] });\n }\n if (release.expiresAt && Date.parse(release.expiresAt) <= Date.parse(release.effectiveAt)) {\n context.addIssue({ code: \"custom\", message: \"expiresAt must follow effectiveAt\", path: [\"expiresAt\"] });\n }\n if (\n release.replacesRelease &&\n release.replacesRelease.document.documentRef === release.identity.document.documentRef &&\n release.replacesRelease.releaseId === release.identity.releaseId &&\n release.replacesRelease.releaseVersion === release.identity.releaseVersion\n ) {\n context.addIssue({ code: \"custom\", message: \"a release cannot replace itself\", path: [\"replacesRelease\"] });\n }\n if (release.replacesRelease && release.replacesRelease.document.documentRef !== release.identity.document.documentRef) {\n context.addIssue({ code: \"custom\", message: \"a release can replace only a prior release of the same governed document\", path: [\"replacesRelease\"] });\n }\n if ((release.replacesRelease === undefined) !== (release.materialityDecision === undefined)) {\n context.addIssue({\n code: \"custom\",\n message: \"replacement release identity and exact materiality decision must be present together\",\n path: [\"materialityDecision\"],\n });\n }\n if (\n release.replacesRelease &&\n release.materialityDecision &&\n governedDocumentReleaseIdentityKey(release.replacesRelease) !== governedDocumentReleaseIdentityKey(release.materialityDecision.previousRelease)\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"materiality decision must bind the exact release being replaced\",\n path: [\"materialityDecision\", \"previousRelease\"],\n });\n }\n if (release.materialityDecision?.requiredInteractionKinds.some((interactionKind) => !release.allowedInteractionKinds.includes(interactionKind))) {\n context.addIssue({\n code: \"custom\",\n message: \"required renewed interactions must be authorized by the replacement release\",\n path: [\"materialityDecision\", \"requiredInteractionKinds\"],\n });\n }\n });\n\n/**\n * An issued release — and, since 2026-09-12, the TEXT it publishes (wildo-ai/wildo-ai#968).\n *\n * ## Why the release carries its content\n *\n * A release says which drafted content takes effect, and until #968 it could not say WHICH text: the\n * sealed content binding went with the digest machinery on 2026-08-28, leaving only \"the commit that\n * introduced both the release and its content file\". But a draft keeps changing after it is released,\n * so pairing a release with \"the draft of the same document\" at read time shows every release — the\n * one in force, the one it superseded, the one scheduled next — the SAME, current text. Two releases\n * of one document could not differ at all.\n *\n * So the release holds its own published text, captured when it is composed. Retrieving \"release N of\n * a document\" is one read. Intermediate drafts are NOT kept here — their history is the commits that\n * changed the draft — and neither is anything the public projection withholds: `content` is already\n * the browser-safe shape (no fact refs, no source policies, no `closedBy`).\n *\n * ## The text is only frozen if the RECORD is\n *\n * This field makes the binding representable; committing the record as data is what keeps it. An\n * application that recomposes its releases from the live draft on every import would carry today's\n * draft in every release, which is the defect above one layer later.\n *\n * ## What it refuses\n *\n * Content in a language or for jurisdictions the release does not name: publishing `fr-FR` text under\n * an `en-GB` release is a false legal statement, the same lie `GovernedDocumentPublicDocumentSchema`\n * refuses.\n */\nexport const GovernedDocumentReleaseSchema = GovernedDocumentReleaseCommonSchema.safeExtend({\n schemaVersion: z.literal(1),\n content: GovernedDocumentPublicContentSchema,\n /*\n * Pinned, because it now names the shape of `content` rather than an external rendering: a release\n * whose text is the structured public JSON and whose media type said `text/html` would contradict\n * itself, and the public projection already accepts nothing else.\n */\n contentMediaType: z.literal(GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE),\n}).superRefine((release, context) => {\n if (release.content.locale !== release.locale) {\n context.addIssue({ code: \"custom\", message: \"release content locale must match the release\", path: [\"content\", \"locale\"] });\n }\n if (release.content.jurisdictionRefs.join(\"\\u0000\") !== release.jurisdictionRefs.join(\"\\u0000\")) {\n context.addIssue({ code: \"custom\", message: \"release content jurisdictions must match the release\", path: [\"content\", \"jurisdictionRefs\"] });\n }\n});\nexport type GovernedDocumentRelease = z.infer<typeof GovernedDocumentReleaseSchema>;\n\n/**\n * The governed documents an application SERVES as public pages, named once for every layer.\n *\n * These two live HERE, in the shared wire layer, and not with their four governance siblings in\n * `saas-specifications/_core/compliance-documents` — because these are the only two a BROWSER has\n * to name. `AppRouter` mounts `/privacy` and `/terms` and must say which document each serves, and\n * `saas-frontend-lib` neither depends on `saas-specifications` nor should: that is the design-time\n * layer. The alternative was a second copy of two strings in the router, which is exactly the\n * closed-vocabulary-with-no-named-source shape `CLAUDE.md` refuses.\n *\n * `required-document-set.schemas.ts` imports them rather than re-declaring them, so the composer\n * and the page agree about which document they are talking about by construction.\n */\nexport const PUBLIC_GOVERNED_DOCUMENT_REFS = Object.freeze({\n PRIVACY_NOTICE: \"document:public.privacy-notice\",\n SERVICE_TERMS: \"document:public.service-terms\",\n} as const);\nexport type PublicGovernedDocumentRefName = keyof typeof PUBLIC_GOVERNED_DOCUMENT_REFS;\n\n/**\n * Which public page serves which governed document — the pairing every surface that links to one needs.\n *\n * TOTAL over {@link PUBLIC_GOVERNED_DOCUMENT_REFS} by its type, so a third public document added to\n * that vocabulary is a compile error here rather than a document with no page. A hand-kept list of\n * pairings is the thing that rots; a total over the vocabulary is the thing that cannot.\n *\n * ## Why the PATH lives here and not with the frontend's other routes\n *\n * The same reason the refs beside it do, and it took a SECOND reader to make it obvious. `AppRouter`\n * MOUNTS these paths; the consent panel LINKS to the privacy notice from `presets-components`, and\n * the registration form links to each required document from `saas-frontend-lib`. Only the router can\n * reach that package's internal route module, so the panel would have hard-coded a copy — the\n * closed-vocabulary-with-no-named-source shape `CLAUDE.md` refuses, and a copy nothing renders is the\n * one that drifts. `CommonRoutePaths.privacy` / `.terms` are derived from this, so the router still\n * spells its routes in one place and that place agrees with the links.\n *\n * A MARKETING WEBSITE is deliberately NOT one of the readers, although an earlier version of this\n * note claimed it was. `saas-website` may import only `@wildo-ai/saas-models/public-runtime` under\n * bundle discipline, and this is not exported there — so the claim named a reader that could not\n * reach it. If a website ever needs these paths, carve them into `public-runtime` through the K-2\n * protocol rather than restoring the sentence.\n */\nexport const PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS: Readonly<Record<(typeof PUBLIC_GOVERNED_DOCUMENT_REFS)[PublicGovernedDocumentRefName], string>> =\n Object.freeze({\n [PUBLIC_GOVERNED_DOCUMENT_REFS.PRIVACY_NOTICE]: \"/privacy\",\n [PUBLIC_GOVERNED_DOCUMENT_REFS.SERVICE_TERMS]: \"/terms\",\n });\n\n/**\n * The page serving this document, or `undefined` when it has none.\n *\n * A governed document an application requires acceptance of need NOT be one of the two public pages\n * — an application may require a data-processing agreement served elsewhere entirely — so a caller\n * gets `undefined` and omits the link rather than being handed a route that leads nowhere.\n */\nexport const resolvePublicGovernedDocumentRoutePath = (documentRef: string): string | undefined =>\n (PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS as Record<string, string | undefined>)[documentRef];\n\n/** Locator kind is explicit so a channel cannot reinterpret an arbitrary string. */\nexport enum GovernedDocumentPublicationLocatorKind {\n WEB_URL = \"WEB_URL\",\n RECORD_REF = \"RECORD_REF\",\n}\n\nexport const GovernedDocumentPublicationWebLocatorSchema = z.strictObject({\n kind: z.literal(GovernedDocumentPublicationLocatorKind.WEB_URL),\n url: z.url().refine((value) => new URL(value).protocol === \"https:\", \"published web locations require HTTPS\"),\n});\nexport const GovernedDocumentPublicationRecordLocatorSchema = z.strictObject({\n kind: z.literal(GovernedDocumentPublicationLocatorKind.RECORD_REF),\n recordRef: GovernedDocumentRefSchema,\n});\nexport const GovernedDocumentPublicationLocatorSchema = z.discriminatedUnion(\"kind\", [\n GovernedDocumentPublicationWebLocatorSchema,\n GovernedDocumentPublicationRecordLocatorSchema,\n]);\nexport type GovernedDocumentPublicationLocator = z.infer<typeof GovernedDocumentPublicationLocatorSchema>;\n\nconst GovernedDocumentPublicationEventCommonSchema = z.strictObject({\n schemaVersion: z.literal(1),\n eventRef: GovernedDocumentRefSchema,\n release: GovernedDocumentReleaseIdentitySchema,\n channel: z.enum(GovernedDocumentPublicationChannelKind),\n occurredAt: GovernedDocumentIsoDateTimeSchema,\n publicationLocator: GovernedDocumentPublicationLocatorSchema,\n});\n\nconst addGovernedDocumentPublicationLocatorIssue = (\n event: { readonly channel: GovernedDocumentPublicationChannelKind; readonly publicationLocator?: GovernedDocumentPublicationLocator },\n context: z.RefinementCtx,\n): void => {\n // Zod invokes refinements over its input shape, where a required nested\n // object may still be absent before the base object reports that issue.\n // Leave requiredness to the property schema and validate channel semantics\n // only once a locator has successfully parsed.\n if (!event.publicationLocator) return;\n const requiresWebUrl =\n event.channel === GovernedDocumentPublicationChannelKind.PUBLIC_WEB || event.channel === GovernedDocumentPublicationChannelKind.AUTHENTICATED_WEB;\n if (requiresWebUrl !== (event.publicationLocator.kind === GovernedDocumentPublicationLocatorKind.WEB_URL)) {\n context.addIssue({\n code: \"custom\",\n message: requiresWebUrl ? \"web publication channels require an HTTPS locator\" : \"non-web publication channels require a durable record reference\",\n path: [\"publicationLocator\"],\n });\n }\n};\n\nexport const GovernedDocumentPublishedEventSchema = GovernedDocumentPublicationEventCommonSchema.extend({\n eventKind: z.literal(GovernedDocumentPublicationEventKind.PUBLISHED),\n /*\n * It carried `servedContentDigest`, `exactByteProofDigest` and an optional `deploymentObservation`\n * — the latter a signed record of bytes read back from a deployed bundle — until 2026-08-28. The\n * event's own JSDoc called the observation the difference between \"evidence of deployed bytes\" and\n * \"a self-assertion over custody\", which was a fair description of a machine that had never once\n * run. A publication is now what it says it is: this release, on this channel, at this locator, at\n * this time — recorded in a file, in a commit, which a reviewer can read.\n */\n}).superRefine(addGovernedDocumentPublicationLocatorIssue);\nexport type GovernedDocumentPublishedEvent = z.infer<typeof GovernedDocumentPublishedEventSchema>;\n\nexport const GovernedDocumentWithdrawnEventSchema = GovernedDocumentPublicationEventCommonSchema.extend({\n eventKind: z.literal(GovernedDocumentPublicationEventKind.WITHDRAWN),\n withdrawalReason: z.string().trim().min(1),\n}).superRefine(addGovernedDocumentPublicationLocatorIssue);\nexport type GovernedDocumentWithdrawnEvent = z.infer<typeof GovernedDocumentWithdrawnEventSchema>;\n\nexport const GovernedDocumentPublicationEventSchema = z.discriminatedUnion(\"eventKind\", [\n GovernedDocumentPublishedEventSchema,\n GovernedDocumentWithdrawnEventSchema,\n]);\nexport type GovernedDocumentPublicationEvent = z.infer<typeof GovernedDocumentPublicationEventSchema>;\n\n/**\n * Browser-safe immutable release projection.\n *\n * Governance scope, candidate digest, approval-decision identities and the\n * internal content-artifact ref remain in the retained release/bundle custody\n * boundary. Public consumers receive only the fields needed to route, display\n * and independently verify the published bytes and effective interval.\n */\nexport const GovernedDocumentPublicReleaseProjectionSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n identity: GovernedDocumentReleaseIdentitySchema,\n definition: GovernedDocumentDefinitionIdentitySchema,\n documentClass: z.enum(GovernedDocumentClass),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n contentMediaType: z.literal(GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE),\n issuedAt: GovernedDocumentIsoDateTimeSchema,\n effectiveAt: GovernedDocumentIsoDateTimeSchema,\n expiresAt: GovernedDocumentIsoDateTimeSchema.optional(),\n /**\n * What a person may DO with this release — carried onto the public projection so the serving\n * surface can tell whether recording a `NOTICE_DELIVERED` (#1258 Step 5) is something the\n * release actually permits, without a second, wider read of the release's own custody record.\n * Not new authority: `composeGovernedDocumentInteraction` already refuses an interaction kind a\n * release does not permit, so a reader without this field could only guess.\n */\n allowedInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n })\n .superRefine((release, context) => {\n addUniqueSortedIssue(release.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n if (Date.parse(release.effectiveAt) < Date.parse(release.issuedAt)) {\n context.addIssue({ code: \"custom\", message: \"effectiveAt cannot precede issuance\", path: [\"effectiveAt\"] });\n }\n if (release.expiresAt && Date.parse(release.expiresAt) <= Date.parse(release.effectiveAt)) {\n context.addIssue({ code: \"custom\", message: \"expiresAt must follow effectiveAt\", path: [\"expiresAt\"] });\n }\n });\nexport type GovernedDocumentPublicReleaseProjection = z.infer<typeof GovernedDocumentPublicReleaseProjectionSchema>;\n\n/** Explicit allow-list projection from retained internal release to public release metadata. */\nexport const projectGovernedDocumentPublicRelease = (releaseInput: GovernedDocumentRelease): GovernedDocumentPublicReleaseProjection => {\n const release = GovernedDocumentReleaseSchema.parse(releaseInput);\n return GovernedDocumentPublicReleaseProjectionSchema.parse({\n schemaVersion: 1,\n identity: release.identity,\n definition: release.definition,\n documentClass: release.documentClass,\n locale: release.locale,\n jurisdictionRefs: release.jurisdictionRefs,\n contentMediaType: release.contentMediaType,\n issuedAt: release.issuedAt,\n effectiveAt: release.effectiveAt,\n ...(release.expiresAt ? { expiresAt: release.expiresAt } : {}),\n allowedInteractionKinds: release.allowedInteractionKinds,\n });\n};\n\n/**\n * A governed document AS A PUBLIC PAGE CAN HOLD IT — the release metadata a reader is entitled to,\n * paired with the exact content bytes it names. Issue #168.\n *\n * ## Why this pair, and why it is one record\n *\n * The two halves already existed and had never been joined. `GovernedDocumentPublicReleaseProjection`\n * answers *which release is this, in what language, for which jurisdictions, in force when* —\n * deliberately narrower than the internal release, withholding `governanceScope` and\n * `approvalDecisions` as custody detail. `GovernedDocumentPublicContent` answers *what does it say*.\n * A page needs both and must not be able to show one release's date above another release's prose,\n * so they travel together and their agreement is checked here rather than at each reader.\n *\n * ## What the guard refuses, and what it deliberately does not\n *\n * It refuses a record that would be a LIE: content whose `locale` or `jurisdictionRefs` disagree\n * with the release naming it, and a media type the release does not declare. Serving an `en-GB`\n * notice under a release that says `fr-FR` is a false legal statement, and that is the one thing a\n * public document may never be.\n *\n * It does NOT refuse an UNAPPROVED release, and that is the directive'''s own instruction rather than\n * an oversight: *\"Composing a release harms nobody; serving an unapproved one to a real reader is a\n * legally-binding statement leaving the system. So the filter lives on the READ, defaults to off,\n * and says at its own site that it is the gate point.\"* The approval gate is\n * {@link resolveInForcePublicDocument}'''s `requireApproved`, MARKED there and armed at Gate 3.\n * Refusing here would make an application unable to REPRESENT a draft notice at all, which is the\n * shape `.claude/rules/application-creation-directive.md` records as the reference defect.\n *\n * The release'''s own `approvalState` is not carried, because this projection deliberately withholds\n * it (a reader is not told about internal custody). The approval decision is made where the document\n * is SELECTED, from the authored release, before it reaches a browser.\n */\nexport enum GovernedDocumentPublicDocumentKind {\n /** A composed release and the text that release carries. */\n RELEASED = \"RELEASED\",\n /**\n * The latest draft of a document the application has NEVER released (wildo-ai/wildo-ai#968 decision 5).\n *\n * It exists so that neither a missing approval nor a missing release leaves a page with nothing. It\n * carries no release projection and no approval state because neither exists — inventing either\n * would claim a release nobody composed — and a page showing one must SAY it is a draft.\n */\n UNRELEASED_DRAFT = \"UNRELEASED_DRAFT\",\n}\n\nexport const GovernedDocumentReleasedPublicDocumentSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n kind: z.literal(GovernedDocumentPublicDocumentKind.RELEASED),\n release: GovernedDocumentPublicReleaseProjectionSchema,\n content: GovernedDocumentPublicContentSchema,\n /**\n * Whether the release this content belongs to has been approved.\n *\n * Carried HERE rather than on the release projection because it is a fact about the PUBLISHER'''s\n * process, not about the document, and the projection is the shape a reader receives. A serving\n * surface needs it to decide whether it may render at all; it is never displayed.\n */\n approvalState: z.enum(GovernedDocumentReleaseApprovalState),\n })\n .superRefine((document, context) => {\n if (document.content.locale !== document.release.locale) {\n context.addIssue({\n code: \"custom\",\n message: \"public content locale must match the release that names it\",\n path: [\"content\", \"locale\"],\n });\n }\n const releaseJurisdictions = document.release.jurisdictionRefs.join(\"\\u0000\");\n if (document.content.jurisdictionRefs.join(\"\\u0000\") !== releaseJurisdictions) {\n context.addIssue({\n code: \"custom\",\n message: \"public content jurisdictions must match the release that names it\",\n path: [\"content\", \"jurisdictionRefs\"],\n });\n }\n });\nexport type GovernedDocumentReleasedPublicDocument = z.infer<typeof GovernedDocumentReleasedPublicDocumentSchema>;\n\n/** See {@link GovernedDocumentPublicDocumentKind.UNRELEASED_DRAFT}. */\nexport const GovernedDocumentUnreleasedDraftPublicDocumentSchema = z.strictObject({\n schemaVersion: z.literal(1),\n kind: z.literal(GovernedDocumentPublicDocumentKind.UNRELEASED_DRAFT),\n /** The governed document this is the latest draft of. */\n documentRef: GovernedDocumentRefSchema,\n content: GovernedDocumentPublicContentSchema,\n});\nexport type GovernedDocumentUnreleasedDraftPublicDocument = z.infer<typeof GovernedDocumentUnreleasedDraftPublicDocumentSchema>;\n\n/** A document a public page may render: a composed release, or the latest draft of a never-released document. */\nexport const GovernedDocumentPublicDocumentSchema = z.discriminatedUnion(\"kind\", [\n GovernedDocumentReleasedPublicDocumentSchema,\n GovernedDocumentUnreleasedDraftPublicDocumentSchema,\n]);\nexport type GovernedDocumentPublicDocument = z.infer<typeof GovernedDocumentPublicDocumentSchema>;\n\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"user-governed-document-acceptances.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,qBAAqB,EAAwD,MAAM,mDAAmD,CAAC;AAChJ,OAAO,EAA4D,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAI1I,eAAO,MAAM,0EAA0E,GACrF,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;kCA4E9C,CAAC"}
1
+ {"version":3,"file":"user-governed-document-acceptances.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../../src/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,qBAAqB,EAAwD,MAAM,mDAAmD,CAAC;AAChJ,OAAO,EAA4D,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAI1I,eAAO,MAAM,0EAA0E,GACrF,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;kCA4E9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"user-governed-document-acceptances.shared.resources-config.schemas.js","sourceRoot":"","sources":["../../../../../src/compliance/documents/user-governed-document-acceptances.sh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,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,aAAa;oBACvD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,qBAAqB,CAAC;oBAC7C,SAAS,EAAE,0BAA0B,CAAC,GAAG;iBAC1C;aACF;SACF;QACD,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE;YAC5B,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,aAAa;oBACvD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,qBAAqB,CAAC;oBAC7C,SAAS,EAAE,0BAA0B,CAAC,GAAG;iBAC1C;aACF;SACF;QACD,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE;YAC9B,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,aAAa;oBACvD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,qBAAqB,CAAC;oBAC7C,SAAS,EAAE,0BAA0B,CAAC,MAAM;iBAC7C;aACF;SACF;KACF;CACF,CAAC,CAAC","sourcesContent":["/**\n * User Governed-Document Acceptances — resource configuration (internal-only).\n *\n * No HTTP surface: every variant is INTERNAL_CALL. The ONE writer is\n * `recordGovernedDocumentAcceptances` (saas-backend-lib), which writes this row and the audit\n * interaction for the same act, so the queryable state and the evidence cannot disagree. Readers go\n * through the system door too — a person meets their own acceptance state through the prompt that\n * asks them for what is owed, never by browsing rows.\n *\n * APPEND-ONLY by construction: there is no UPDATE and no DELETE. An acceptance is a thing that\n * happened; a later acceptance is a new row, never an edit of an old one.\n */\nimport { DataPortabilityProvenance } from '../privacy/subject-export.shared.schemas';\nimport { createResourceConfiguration_Initialization } from '../../resources/resources-config.shared.factory';\nimport { ResourceSystemAccessMode } from '../../resources/resources-config.shared.schemas';\nimport { CoreResourceOperation, CoreResourceType, coreResourceShared_FieldIdentifier } from '../../resources/resources.shared.core.definitions';\nimport { ResourceOperationRiskLevel, ResourceOperationVariantType, ResourceRelationship } from '../../resources/resources.shared.schemas';\nimport { CORE_APP_ROLES } from '../../security/authorizations/roles.shared.schemas';\nimport { UserGovernedDocumentAcceptanceSchema } from './user-governed-document-acceptances.shared.schemas';\n\nexport const userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory = (\n resourcesRelationships: ResourceRelationship[],\n) => createResourceConfiguration_Initialization<undefined,\n CoreResourceOperation.READ | CoreResourceOperation.LIST | CoreResourceOperation.CREATE,\n typeof UserGovernedDocumentAcceptanceSchema\n>({\n mainSchema: UserGovernedDocumentAcceptanceSchema,\n resourceIdentifier: CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES,\n resourceFieldIdentifier: coreResourceShared_FieldIdentifier[CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES],\n resourceRelationships: resourcesRelationships,\n isSystemResource: true,\n\n /*\n * The writer runs on a request-context-less execution context — during registration, and on the\n * return leg of a federated sign-up — so the client-shaped CREATE DTO would strip `userId` by name.\n * The system door re-attaches it from the schema allowlist. `read` / `list` serve the owed-acceptance\n * derivation, which runs for the person but not as a resource request of theirs.\n */\n systemAccessPolicy: {\n exportSubject: ResourceSystemAccessMode.ALLOWED,\n create: ResourceSystemAccessMode.ALLOWED,\n read: ResourceSystemAccessMode.ALLOWED,\n list: ResourceSystemAccessMode.ALLOWED,\n },\n\n /*\n * The person performed the act — ticked the box, pressed the button beside the notice, scrolled the\n * document and accepted. That is a value they supplied, not one observed about them or derived.\n * Exported with the rest of their data: what someone agreed to is squarely theirs to see (Art. 15).\n */\n portabilityPolicy: { defaultProvenance: DataPortabilityProvenance.SUBJECT_PROVIDED },\n\n /*\n * No `dataSubjectPolicy`, deliberately. That declaration describes a resource that can itself be\n * an ERASURE SUBJECT, and the factory refuses it without a `retentionPolicy`, because\n * `eraseSubjectAsSystem` would refuse such a subject anyway. An acceptance is never erased as a\n * subject: it is KEPT by its `USERS →` edge (`onParentDelete` disabled). Declaring a subject kind\n * here would describe an erasure that cannot happen.\n */\n\n coreOperations: [\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.CREATE,\n ],\n operationsConfiguration: {\n [CoreResourceOperation.READ]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n ],\n },\n [CoreResourceOperation.LIST]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n ],\n },\n [CoreResourceOperation.CREATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.MEDIUM,\n },\n ],\n },\n },\n});\n"]}
1
+ {"version":3,"file":"user-governed-document-acceptances.shared.resources-config.schemas.js","sourceRoot":"","sources":["../../../../src/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAC7G,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,kCAAkC,EAAE,MAAM,mDAAmD,CAAC;AAChJ,OAAO,EAAE,0BAA0B,EAAE,4BAA4B,EAAwB,MAAM,0CAA0C,CAAC;AAC1I,OAAO,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACpF,OAAO,EAAE,oCAAoC,EAAE,MAAM,qDAAqD,CAAC;AAE3G,MAAM,CAAC,MAAM,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ACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,aAAa;oBACvD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,qBAAqB,CAAC;oBAC7C,SAAS,EAAE,0BAA0B,CAAC,MAAM;iBAC7C;aACF;SACF;KACF;CACF,CAAC,CAAC","sourcesContent":["/**\n * User Governed-Document Acceptances — resource configuration (internal-only).\n *\n * No HTTP surface: every variant is INTERNAL_CALL. The ONE writer is\n * `recordGovernedDocumentAcceptances` (saas-backend-lib), which writes this row and the audit\n * interaction for the same act, so the queryable state and the evidence cannot disagree. Readers go\n * through the system door too — a person meets their own acceptance state through the prompt that\n * asks them for what is owed, never by browsing rows.\n *\n * APPEND-ONLY by construction: there is no UPDATE and no DELETE. An acceptance is a thing that\n * happened; a later acceptance is a new row, never an edit of an old one.\n */\nimport { DataPortabilityProvenance } from '../privacy/subject-export.shared.schemas';\nimport { createResourceConfiguration_Initialization } from '../../resources/resources-config.shared.factory';\nimport { ResourceSystemAccessMode } from '../../resources/resources-config.shared.schemas';\nimport { CoreResourceOperation, CoreResourceType, coreResourceShared_FieldIdentifier } from '../../resources/resources.shared.core.definitions';\nimport { ResourceOperationRiskLevel, ResourceOperationVariantType, ResourceRelationship } from '../../resources/resources.shared.schemas';\nimport { CORE_APP_ROLES } from '../../security/authorizations/roles.shared.schemas';\nimport { UserGovernedDocumentAcceptanceSchema } from './user-governed-document-acceptances.shared.schemas';\n\nexport const userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory = (\n resourcesRelationships: ResourceRelationship[],\n) => createResourceConfiguration_Initialization<undefined,\n CoreResourceOperation.READ | CoreResourceOperation.LIST | CoreResourceOperation.CREATE,\n typeof UserGovernedDocumentAcceptanceSchema\n>({\n mainSchema: UserGovernedDocumentAcceptanceSchema,\n resourceIdentifier: CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES,\n resourceFieldIdentifier: coreResourceShared_FieldIdentifier[CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES],\n resourceRelationships: resourcesRelationships,\n isSystemResource: true,\n\n /*\n * The writer runs on a request-context-less execution context — during registration, and on the\n * return leg of a federated sign-up — so the client-shaped CREATE DTO would strip `userId` by name.\n * The system door re-attaches it from the schema allowlist. `read` / `list` serve the owed-acceptance\n * derivation, which runs for the person but not as a resource request of theirs.\n */\n systemAccessPolicy: {\n exportSubject: ResourceSystemAccessMode.ALLOWED,\n create: ResourceSystemAccessMode.ALLOWED,\n read: ResourceSystemAccessMode.ALLOWED,\n list: ResourceSystemAccessMode.ALLOWED,\n },\n\n /*\n * The person performed the act — ticked the box, pressed the button beside the notice, scrolled the\n * document and accepted. That is a value they supplied, not one observed about them or derived.\n * Exported with the rest of their data: what someone agreed to is squarely theirs to see (Art. 15).\n */\n portabilityPolicy: { defaultProvenance: DataPortabilityProvenance.SUBJECT_PROVIDED },\n\n /*\n * No `dataSubjectPolicy`, deliberately. That declaration describes a resource that can itself be\n * an ERASURE SUBJECT, and the factory refuses it without a `retentionPolicy`, because\n * `eraseSubjectAsSystem` would refuse such a subject anyway. An acceptance is never erased as a\n * subject: it is KEPT by its `USERS →` edge (`onParentDelete` disabled). Declaring a subject kind\n * here would describe an erasure that cannot happen.\n */\n\n coreOperations: [\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.CREATE,\n ],\n operationsConfiguration: {\n [CoreResourceOperation.READ]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n ],\n },\n [CoreResourceOperation.LIST]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n ],\n },\n [CoreResourceOperation.CREATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.MEDIUM,\n },\n ],\n },\n },\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"user-governed-document-acceptances.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/compliance/documents/user-governed-document-acceptances.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,oCAAoC,EACrC,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;kBAgD/C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
1
+ {"version":3,"file":"user-governed-document-acceptances.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/compliance/documents/user-governed-document-acceptances.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,oCAAoC,EACrC,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;kBAgD/C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"user-governed-document-acceptances.shared.schemas.js","sourceRoot":"","sources":["../../../../../src/compliance/documents/user-governed-document-acceptances.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,CAAC,EAAE,MAA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,EAAE,CAAC,CAAC,iBAAiB,EAAE;IAErE;;;OAGG;IACH,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE,CAAC,iBAAiB,EAAE;IACrF,oFAAoF;IACpF,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAC,iBAAiB,EAAE;IAEtF;;;;OAIG;IACH,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAEvE,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,iBAAiB,EAAE,CAAC,iBAAiB,EAAE;CACpG,CAAC,CAAC,cAAc,CAAC;IAChB;;;;OAIG;IACH,QAAQ;IACR,WAAW;IACX,gBAAgB;CACjB,CAAC,CAAC","sourcesContent":["/**\n * Which governed-document releases a person has ACCEPTED — the queryable state that makes\n * re-acceptance possible at all (#1258, Step 2 / R6).\n *\n * ## Why a resource, when every acceptance is already an audit event\n *\n * `GOVERNED_DOCUMENT_INTERACTION_RECORDED` is the EVIDENCE of an act, written once into a trail built\n * to be appended to and never queried in the ordinary run of a request. \"Has this person accepted the\n * terms now in force?\" is asked on every first session, so answering it by reading the trail would put\n * the audit store on the hot path and make the trail's retention decide the product's behaviour. So the\n * two are separate records of one act, written by ONE function (`recordGovernedDocumentAcceptances`) so\n * they cannot disagree about which acts happened.\n *\n * ## One row per accepted RELEASE, and the release identity is copied rather than joined\n *\n * The same reason `GovernedDocumentInteractionSchema` gives: a record must stay readable when the\n * release file moves on, which is the whole point of binding an acceptance to a version. Locale and\n * jurisdictions are copied as EVIDENCE of which variant was met — never as part of what \"accepted\"\n * means. Accepting the French terms is accepting the terms; see `governedDocumentAcceptancesOwed`.\n *\n * ## It holds no personal data of its own\n *\n * Every value here describes the ACCOUNT's contractual standing — which document, which release, when,\n * how it was asked — with the person as a foreign key. That is the criterion\n * `.claude/context/privacy-erasure-retention.md` gives for a row that is not itself personal data, so\n * no field carries `dataCategories` and nothing is scrubbed. How the row survives an erasure is decided\n * on the `USERS →` edge, not here.\n */\nimport { z } from 'zod';\n\nimport {\n GovernedDocumentAcceptanceMode,\n GovernedDocumentClass,\n GovernedDocumentReleaseApprovalState,\n} from './governed-documents.shared.schemas';\n\nexport const UserGovernedDocumentAcceptanceSchema = z.object({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n\n /** FK → USERS — the person who accepted. */\n userId: z.string().min(1).isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n\n /**\n * The DOCUMENT accepted, independent of variant. This is the axis \"has this person accepted the\n * terms?\" is answered on, which is why it is indexed on its own.\n */\n documentRef: z.string().min(1).isDBIndexed().isSummaryField().excludeFromUpdate(),\n documentVersion: z.number().int().positive().excludeFromUpdate(),\n\n /** The exact RELEASE accepted — a locale + jurisdiction variant of the document, at a version. */\n releaseId: z.string().min(1).isDBIndexed().isSummaryField().excludeFromUpdate(),\n releaseVersion: z.number().int().positive().isSummaryField().excludeFromUpdate(),\n\n /** Copied from the release, as evidence of what kind of document was agreed to. */\n documentClass: z.enum(GovernedDocumentClass).excludeFromUpdate(),\n /** The variant the person met. Evidence only — never part of whether a document counts as accepted. */\n locale: z.string().min(2).excludeFromUpdate(),\n jurisdictionRefs: z.array(z.string()).default([]).excludeFromUpdate(),\n\n /**\n * How the application asked, when its surface declared a mode (#1382). Absent means the surface did\n * not say — the interaction record carries the advisory that marks it.\n */\n acceptanceMode: z.enum(GovernedDocumentAcceptanceMode).optional().excludeFromUpdate(),\n /** The release's standing AT THE MOMENT it was accepted. Not re-derivable later. */\n releaseApprovalState: z.enum(GovernedDocumentReleaseApprovalState).excludeFromUpdate(),\n\n /**\n * When the person accepted — the SAME instant the interaction record carries, supplied by the one\n * writer, never read from the clock separately. `governedDocumentAcceptancesOwed` compares it against\n * a release's `effectiveAt` to decide whether an acceptance predates a change that requires a new one.\n */\n acceptedAt: z.date().isDBIndexed().isSummaryField().excludeFromUpdate(),\n\n createdAt: z.date().default(() => new Date()).isDBIndexed().excludeFromCreate().excludeFromUpdate(),\n}).businessKeySet([\n /*\n * One row per person per RELEASE AT A VERSION. Accepting the same release twice — a re-submitted\n * form, a retried request — is one fact, and a unique key is what makes the writer idempotent rather\n * than a check-then-insert that two concurrent submissions both pass.\n */\n 'userId',\n 'releaseId',\n 'releaseVersion',\n]);\nexport type UserGovernedDocumentAcceptance = z.infer<typeof UserGovernedDocumentAcceptanceSchema>;\n"]}
1
+ {"version":3,"file":"user-governed-document-acceptances.shared.schemas.js","sourceRoot":"","sources":["../../../../src/compliance/documents/user-governed-document-acceptances.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,oCAAoC,GACrC,MAAM,qCAAqC,CAAC;AAE7C,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE;IAEtD,4CAA4C;IAC5C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAE3F;;;OAGG;IACH,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IACjF,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QA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CEPTED — the queryable state that makes\n * re-acceptance possible at all (#1258, Step 2 / R6).\n *\n * ## Why a resource, when every acceptance is already an audit event\n *\n * `GOVERNED_DOCUMENT_INTERACTION_RECORDED` is the EVIDENCE of an act, written once into a trail built\n * to be appended to and never queried in the ordinary run of a request. \"Has this person accepted the\n * terms now in force?\" is asked on every first session, so answering it by reading the trail would put\n * the audit store on the hot path and make the trail's retention decide the product's behaviour. So the\n * two are separate records of one act, written by ONE function (`recordGovernedDocumentAcceptances`) so\n * they cannot disagree about which acts happened.\n *\n * ## One row per accepted RELEASE, and the release identity is copied rather than joined\n *\n * The same reason `GovernedDocumentInteractionSchema` gives: a record must stay readable when the\n * release file moves on, which is the whole point of binding an acceptance to a version. Locale and\n * jurisdictions are copied as EVIDENCE of which variant was met — never as part of what \"accepted\"\n * means. Accepting the French terms is accepting the terms; see `governedDocumentAcceptancesOwed`.\n *\n * ## It holds no personal data of its own\n *\n * Every value here describes the ACCOUNT's contractual standing — which document, which release, when,\n * how it was asked — with the person as a foreign key. That is the criterion\n * `.claude/context/privacy-erasure-retention.md` gives for a row that is not itself personal data, so\n * no field carries `dataCategories` and nothing is scrubbed. How the row survives an erasure is decided\n * on the `USERS →` edge, not here.\n */\nimport { z } from 'zod';\n\nimport {\n GovernedDocumentAcceptanceMode,\n GovernedDocumentClass,\n GovernedDocumentReleaseApprovalState,\n} from './governed-documents.shared.schemas';\n\nexport const UserGovernedDocumentAcceptanceSchema = z.object({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n\n /** FK → USERS — the person who accepted. */\n userId: z.string().min(1).isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n\n /**\n * The DOCUMENT accepted, independent of variant. This is the axis \"has this person accepted the\n * terms?\" is answered on, which is why it is indexed on its own.\n */\n documentRef: z.string().min(1).isDBIndexed().isSummaryField().excludeFromUpdate(),\n documentVersion: z.number().int().positive().excludeFromUpdate(),\n\n /** The exact RELEASE accepted — a locale + jurisdiction variant of the document, at a version. */\n releaseId: z.string().min(1).isDBIndexed().isSummaryField().excludeFromUpdate(),\n releaseVersion: z.number().int().positive().isSummaryField().excludeFromUpdate(),\n\n /** Copied from the release, as evidence of what kind of document was agreed to. */\n documentClass: z.enum(GovernedDocumentClass).excludeFromUpdate(),\n /** The variant the person met. Evidence only — never part of whether a document counts as accepted. */\n locale: z.string().min(2).excludeFromUpdate(),\n jurisdictionRefs: z.array(z.string()).default([]).excludeFromUpdate(),\n\n /**\n * How the application asked, when its surface declared a mode (#1382). Absent means the surface did\n * not say — the interaction record carries the advisory that marks it.\n */\n acceptanceMode: z.enum(GovernedDocumentAcceptanceMode).optional().excludeFromUpdate(),\n /** The release's standing AT THE MOMENT it was accepted. Not re-derivable later. */\n releaseApprovalState: z.enum(GovernedDocumentReleaseApprovalState).excludeFromUpdate(),\n\n /**\n * When the person accepted — the SAME instant the interaction record carries, supplied by the one\n * writer, never read from the clock separately. `governedDocumentAcceptancesOwed` compares it against\n * a release's `effectiveAt` to decide whether an acceptance predates a change that requires a new one.\n */\n acceptedAt: z.date().isDBIndexed().isSummaryField().excludeFromUpdate(),\n\n createdAt: z.date().default(() => new Date()).isDBIndexed().excludeFromCreate().excludeFromUpdate(),\n}).businessKeySet([\n /*\n * One row per person per RELEASE AT A VERSION. Accepting the same release twice — a re-submitted\n * form, a retried request — is one fact, and a unique key is what makes the writer idempotent rather\n * than a check-then-insert that two concurrent submissions both pass.\n */\n 'userId',\n 'releaseId',\n 'releaseVersion',\n]);\nexport type UserGovernedDocumentAcceptance = z.infer<typeof UserGovernedDocumentAcceptanceSchema>;\n"]}
@@ -126,6 +126,8 @@ export declare const AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE: readonly
126
126
  /**
127
127
  * Enabled AI capabilities with no declared posture — what a document must report as outstanding.
128
128
  *
129
+ * assurance-control: WILDO.AI.THIRD_PARTY_COMPONENTS — an enabled AI capability with no declared use is named, never assumed harmless.
130
+ *
129
131
  * Takes the ENABLED set as an argument: a capability the application has not enabled raises no
130
132
  * question, and reporting it would fill a notice with AI the application does not use.
131
133
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ai-use-posture.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/compliance/privacy/ai-use-posture.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAE/F;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,oBAAY,qBAAqB;IAC/B;;;;;;OAMG;IACH,WAAW,gBAAgB;IAC3B;;;;;;;OAOG;IACH,sBAAsB,2BAA2B;IACjD,+FAA+F;IAC/F,oBAAoB,yBAAyB;CAC9C;AAED,4CAA4C;AAC5C,eAAO,MAAM,kBAAkB;;IAG3B;;;;;;OAMG;;IAEH;;;;;;;OAOG;;kBAqBH,CAAC;AACL,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B;;IAhDtC;;;;;;OAMG;;IAEH;;;;;;;OAOG;;mBAiCmG,CAAC;AAC3G,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,gBAAgB,EAqB5D,CAAC;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,gDAAgD,EAAE,SAAS,gBAAgB,EAEvF,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,mBAAmB,EAAE,SAAS,MAAM,EAAE,EACtC,OAAO,EAAE,uBAAuB,GAAG,SAAS,GAC3C,SAAS,gBAAgB,EAAE,CAK7B"}
1
+ {"version":3,"file":"ai-use-posture.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/compliance/privacy/ai-use-posture.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAE/F;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,oBAAY,qBAAqB;IAC/B;;;;;;OAMG;IACH,WAAW,gBAAgB;IAC3B;;;;;;;OAOG;IACH,sBAAsB,2BAA2B;IACjD,+FAA+F;IAC/F,oBAAoB,yBAAyB;CAC9C;AAED,4CAA4C;AAC5C,eAAO,MAAM,kBAAkB;;IAG3B;;;;;;OAMG;;IAEH;;;;;;;OAOG;;kBAqBH,CAAC;AACL,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B;;IAhDtC;;;;;;OAMG;;IAEH;;;;;;;OAOG;;mBAiCmG,CAAC;AAC3G,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,gBAAgB,EAqB5D,CAAC;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,gDAAgD,EAAE,SAAS,gBAAgB,EAEvF,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,mBAAmB,EAAE,SAAS,MAAM,EAAE,EACtC,OAAO,EAAE,uBAAuB,GAAG,SAAS,GAC3C,SAAS,gBAAgB,EAAE,CAK7B"}
@@ -148,6 +148,8 @@ export const AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE = Object.freeze(AI
148
148
  /**
149
149
  * Enabled AI capabilities with no declared posture — what a document must report as outstanding.
150
150
  *
151
+ * assurance-control: WILDO.AI.THIRD_PARTY_COMPONENTS — an enabled AI capability with no declared use is named, never assumed harmless.
152
+ *
151
153
  * Takes the ENABLED set as an argument: a capability the application has not enabled raises no
152
154
  * question, and reporting it would fill a notice with AI the application does not use.
153
155
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ai-use-posture.shared.schemas.js","sourceRoot":"","sources":["../../../../../src/compliance/privacy/ai-use-posture.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,qCAAqC,EAAE,MAAM,2DAA2D,CAAC;AAClH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAE/F;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAN,IAAY,qBAoBX;AApBD,WAAY,qBAAqB;IAC/B;;;;;;OAMG;IACH,oDAA2B,CAAA;IAC3B;;;;;;;OAOG;IACH,0EAAiD,CAAA;IACjD,+FAA+F;IAC/F,sEAA6C,CAAA;AAC/C,CAAC,EApBW,qBAAqB,KAArB,qBAAqB,QAoBhC;AAED,4CAA4C;AAC5C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,YAAY,CAAC;IACZ,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC;IAC1C;;;;;;OAMG;IACH,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC;;;;;;;OAOG;IACH,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC5D,CAAC;KACD,WAAW,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE;IAChC,IAAI,OAAO,CAAC,WAAW,KAAK,qBAAqB,CAAC,WAAW,EAAE,CAAC;QAC9D,IAAI,OAAO,CAAC,sBAAsB,KAAK,IAAI,EAAE,CAAC;YAC5C,OAAO,CAAC,QAAQ,CAAC;gBACf,IAAI,EAAE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AI,OAAO,EAAE,CAAC,UAAU,CAAC,KAAK,SAAS,CAC/E,CAAC;AACJ,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { engineCapabilityReachesRuntimeService } from '../../external-providers/engine-capability-surface.shared';\nimport { EngineCapability } from \"../../external-providers/engine-capabilities.shared.schemas\";\n\n/**\n * **Whether an AI use DECIDES something about a person, and who reviews it if so.**\n *\n * ## What the capability already says, and what it cannot\n *\n * `AI_LLM`, `AI_EMBEDDINGS`, `AI_DOCUMENT_EXTRACTION` and `AI_CODING_AGENT` establish that AI is in use\n * and for what FUNCTION. They cannot establish the two things that carry legal weight (issue #92):\n * whether any of it produces a decision with a legal or similarly significant effect on a person, and\n * whether a human reviews such a decision.\n *\n * Neither is inferable from a capability being enabled — the same `AI_LLM` backs a summarisation\n * feature that decides nothing and a screening feature that decides a great deal.\n *\n * ## Why silence here is worse than silence elsewhere\n *\n * Automated decision-making with significant effects attracts specific obligations: information about\n * the logic involved, and a right to obtain human intervention. A notice that describes AI use and says\n * nothing about consequence does not read as \"unknown\" — it reads as \"nothing significant happens\n * here\", which **silently claims the exemption**. That is why the posture is declared rather than\n * defaulted, and why an undeclared capability is reported as undeclared rather than assumed harmless.\n */\nexport enum AiDecisionConsequence {\n /**\n * The AI produces no decision about a person — it summarises, drafts, classifies content, or assists\n * a task whose outcome affects nobody's rights.\n *\n * A real and common answer, and the one that must be DECLARED rather than assumed: it is exactly the\n * claim a silent notice makes for free.\n */\n NO_DECISION = \"NO_DECISION\",\n /**\n * The AI informs a decision a HUMAN takes. The human is the decision-maker and can disregard it.\n *\n * Distinct from {@link NO_DECISION} because a person is affected, and distinct from\n * {@link DECIDES_AUTONOMOUSLY} because the obligation attaches to solely-automated decisions. Where\n * the human merely rubber-stamps, this is the wrong answer — the review must be capable of changing\n * the outcome.\n */\n ASSISTS_HUMAN_DECISION = \"ASSISTS_HUMAN_DECISION\",\n /** The AI's output IS the decision, with no human able to change it before it takes effect. */\n DECIDES_AUTONOMOUSLY = \"DECIDES_AUTONOMOUSLY\",\n}\n\n/** One AI capability's declared posture. */\nexport const AiUsePostureSchema = z\n .strictObject({\n consequence: z.enum(AiDecisionConsequence),\n /**\n * What the AI is used FOR, in the operator's words.\n *\n * Required, and it is what makes the posture checkable: \"summarising a contact's interaction\n * history\" and \"scoring a lead's creditworthiness\" are the same capability and different postures,\n * so a consequence with no stated use cannot be reviewed by anyone.\n */\n purpose: z.string().trim().min(1),\n /**\n * How a person obtains human intervention — REQUIRED unless the posture is\n * {@link AiDecisionConsequence.NO_DECISION}.\n *\n * The pairing is enforced below rather than left to a reviewer: an application declaring that AI\n * decides something about a person, and saying nothing about review, has described the obligation\n * without answering it.\n */\n humanReviewArrangement: z.string().trim().min(1).nullable(),\n })\n .superRefine((posture, context) => {\n if (posture.consequence === AiDecisionConsequence.NO_DECISION) {\n if (posture.humanReviewArrangement !== null) {\n context.addIssue({\n code: \"custom\",\n path: [\"humanReviewArrangement\"],\n message: \"a use that decides nothing has no human-review arrangement to describe\",\n });\n }\n return;\n }\n if (posture.humanReviewArrangement === null) {\n context.addIssue({\n code: \"custom\",\n path: [\"humanReviewArrangement\"],\n message: `a ${posture.consequence} use affects a person, so it must say how human intervention is obtained`,\n });\n }\n });\nexport type AiUsePosture = z.infer<typeof AiUsePostureSchema>;\n\n/**\n * The application's declared AI postures, keyed by the capability they describe.\n *\n * Keyed by CAPABILITY rather than by feature, deliberately. The issue suggested \"an AI use\", and a\n * feature-level posture is more precise — and it is a granularity nobody maintains, the same trade\n * that settled the retention schedule and the processor register. A capability is the unit the\n * application already declares, there are at most four, and an operator whose single `AI_LLM` capability\n * backs two features with different consequences declares the STRONGER one, which is the safe direction.\n */\nexport const ApplicationAiUsePostureSchema = z.partialRecord(z.enum(EngineCapability), AiUsePostureSchema);\nexport type ApplicationAiUsePosture = z.infer<typeof ApplicationAiUsePostureSchema>;\n\n/**\n * The AI capabilities a document must ask about.\n *\n * Named here rather than derived from a prefix: `AI_` is a spelling, and a capability added tomorrow\n * whose name happens to start with it would silently join the set — while one that processes personal\n * data under a different name would silently stay out.\n */\nexport const AI_ENGINE_CAPABILITIES: readonly EngineCapability[] = Object.freeze([\n EngineCapability.AI_LLM,\n EngineCapability.AI_EMBEDDINGS,\n EngineCapability.AI_DOCUMENT_EXTRACTION,\n EngineCapability.AI_CODING_AGENT,\n /*\n * ADDED 2026-09-12, and its absence was a hole rather than a judgement.\n *\n * Generating an image from a person's prompt, or from their content, is AI processing by any\n * reading a notice has to survive — and because this list is what a document ASKS about, omitting\n * it meant an application offering image generation to its users was asked NOTHING about AI. The\n * omission was silent in the direction that matters: the notice reads complete.\n *\n * It was noticed while adding the surface axis and deliberately not slipped into that change,\n * because widening this vocabulary changes what an application must declare. Measured before\n * landing: Wonder Todos enables the capability and its only provider offering it sits in the\n * COMPANION scope (the brand/logo generator), so the scope resolution keeps it outside the\n * contracted service and its notice is unchanged. An application that binds an image provider to\n * a RUNTIME scope is now asked for a posture, which is the whole point.\n */\n EngineCapability.AI_IMAGE_GENERATION,\n]);\n\n/**\n * The AI capabilities a document about the CONTRACTED SERVICE must ask about.\n *\n * The set above, minus the capabilities that never run while the application serves a user. This is\n * the set a privacy notice, a record of processing and an Article 22 automated-decision statement\n * are about, and the distinction is not cosmetic: `AI_CODING_AGENT` is a build-time tool that writes\n * the application's SOURCE. It decides nothing about a data subject and processes none of their\n * data, so asking an operator to declare its \"posture\" toward people, or listing it as OUTSTANDING\n * in a notice, invents an AI question the service does not raise.\n *\n * That is not hypothetical. Wonder CRM enables `AI_CODING_AGENT` and no other AI capability. Under\n * the unfiltered set the drafter is pushed into the per-capability AI branch — the branch that asks\n * \"whether it DECIDES something about a person\" — for an application whose contracted service\n * performs no AI at all, and whose own declared fact says exactly that.\n *\n * DERIVED rather than listed, and total over the set above, so an AI capability added tomorrow lands\n * on the right side of this line by its DECLARED SURFACE rather than by anyone remembering to add it\n * here. The surface map is itself exhaustive over `EngineCapability`, so there is no default to fall\n * through.\n */\nexport const AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE: readonly EngineCapability[] = Object.freeze(\n AI_ENGINE_CAPABILITIES.filter((capability) => engineCapabilityReachesRuntimeService(capability)),\n);\n\n/**\n * Enabled AI capabilities with no declared posture — what a document must report as outstanding.\n *\n * Takes the ENABLED set as an argument: a capability the application has not enabled raises no\n * question, and reporting it would fill a notice with AI the application does not use.\n */\nexport function undeclaredAiUseCapabilities(\n enabledCapabilities: readonly string[],\n posture: ApplicationAiUsePosture | undefined,\n): readonly EngineCapability[] {\n const enabled = new Set(enabledCapabilities);\n return AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE.filter(\n (capability) => enabled.has(capability) && posture?.[capability] === undefined,\n );\n}\n"]}
1
+ {"version":3,"file":"ai-use-posture.shared.schemas.js","sourceRoot":"","sources":["../../../../src/compliance/privacy/ai-use-posture.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,qCAAqC,EAAE,MAAM,2DAA2D,CAAC;AAClH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAE/F;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAN,IAAY,qBAoBX;AApBD,WAAY,qBAAqB;IAC/B;;;;;;OAMG;IACH,oDAA2B,CAAA;IAC3B;;;;;;;OAOG;IACH,0EAAiD,CAAA;IACjD,+FAA+F;IAC/F,sEAA6C,CAAA;AAC/C,CAAC,EApBW,qBAAqB,KAArB,qBAAqB,QAoBhC;AAED,4CAA4C;AAC5C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,YAAY,CAAC;IACZ,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC;IAC1C;;;;;;OAMG;IACH,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC;;;;;;;OAOG;IACH,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xG,sBAAsB,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,qCAAqC,CAAC,UAAU,CAAC,CAAC,CACjG,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,UAAU,2BAA2B,CACzC,mBAAsC,EACtC,OAA4C;IAE5C,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,mBAAmB,CAAC,CAAC;IAC7C,OAAO,gDAAgD,CAAC,MAAM,CAC5D,CAAC,UAAU,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,OAAO,EAAE,CAAC,UAAU,CAAC,KAAK,SAAS,CAC/E,CAAC;AACJ,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { engineCapabilityReachesRuntimeService } from '../../external-providers/engine-capability-surface.shared';\nimport { EngineCapability } from \"../../external-providers/engine-capabilities.shared.schemas\";\n\n/**\n * **Whether an AI use DECIDES something about a person, and who reviews it if so.**\n *\n * ## What the capability already says, and what it cannot\n *\n * `AI_LLM`, `AI_EMBEDDINGS`, `AI_DOCUMENT_EXTRACTION` and `AI_CODING_AGENT` establish that AI is in use\n * and for what FUNCTION. They cannot establish the two things that carry legal weight (issue #92):\n * whether any of it produces a decision with a legal or similarly significant effect on a person, and\n * whether a human reviews such a decision.\n *\n * Neither is inferable from a capability being enabled — the same `AI_LLM` backs a summarisation\n * feature that decides nothing and a screening feature that decides a great deal.\n *\n * ## Why silence here is worse than silence elsewhere\n *\n * Automated decision-making with significant effects attracts specific obligations: information about\n * the logic involved, and a right to obtain human intervention. A notice that describes AI use and says\n * nothing about consequence does not read as \"unknown\" — it reads as \"nothing significant happens\n * here\", which **silently claims the exemption**. That is why the posture is declared rather than\n * defaulted, and why an undeclared capability is reported as undeclared rather than assumed harmless.\n */\nexport enum AiDecisionConsequence {\n /**\n * The AI produces no decision about a person — it summarises, drafts, classifies content, or assists\n * a task whose outcome affects nobody's rights.\n *\n * A real and common answer, and the one that must be DECLARED rather than assumed: it is exactly the\n * claim a silent notice makes for free.\n */\n NO_DECISION = \"NO_DECISION\",\n /**\n * The AI informs a decision a HUMAN takes. The human is the decision-maker and can disregard it.\n *\n * Distinct from {@link NO_DECISION} because a person is affected, and distinct from\n * {@link DECIDES_AUTONOMOUSLY} because the obligation attaches to solely-automated decisions. Where\n * the human merely rubber-stamps, this is the wrong answer — the review must be capable of changing\n * the outcome.\n */\n ASSISTS_HUMAN_DECISION = \"ASSISTS_HUMAN_DECISION\",\n /** The AI's output IS the decision, with no human able to change it before it takes effect. */\n DECIDES_AUTONOMOUSLY = \"DECIDES_AUTONOMOUSLY\",\n}\n\n/** One AI capability's declared posture. */\nexport const AiUsePostureSchema = z\n .strictObject({\n consequence: z.enum(AiDecisionConsequence),\n /**\n * What the AI is used FOR, in the operator's words.\n *\n * Required, and it is what makes the posture checkable: \"summarising a contact's interaction\n * history\" and \"scoring a lead's creditworthiness\" are the same capability and different postures,\n * so a consequence with no stated use cannot be reviewed by anyone.\n */\n purpose: z.string().trim().min(1),\n /**\n * How a person obtains human intervention — REQUIRED unless the posture is\n * {@link AiDecisionConsequence.NO_DECISION}.\n *\n * The pairing is enforced below rather than left to a reviewer: an application declaring that AI\n * decides something about a person, and saying nothing about review, has described the obligation\n * without answering it.\n */\n humanReviewArrangement: z.string().trim().min(1).nullable(),\n })\n .superRefine((posture, context) => {\n if (posture.consequence === AiDecisionConsequence.NO_DECISION) {\n if (posture.humanReviewArrangement !== null) {\n context.addIssue({\n code: \"custom\",\n path: [\"humanReviewArrangement\"],\n message: \"a use that decides nothing has no human-review arrangement to describe\",\n });\n }\n return;\n }\n if (posture.humanReviewArrangement === null) {\n context.addIssue({\n code: \"custom\",\n path: [\"humanReviewArrangement\"],\n message: `a ${posture.consequence} use affects a person, so it must say how human intervention is obtained`,\n });\n }\n });\nexport type AiUsePosture = z.infer<typeof AiUsePostureSchema>;\n\n/**\n * The application's declared AI postures, keyed by the capability they describe.\n *\n * Keyed by CAPABILITY rather than by feature, deliberately. The issue suggested \"an AI use\", and a\n * feature-level posture is more precise — and it is a granularity nobody maintains, the same trade\n * that settled the retention schedule and the processor register. A capability is the unit the\n * application already declares, there are at most four, and an operator whose single `AI_LLM` capability\n * backs two features with different consequences declares the STRONGER one, which is the safe direction.\n */\nexport const ApplicationAiUsePostureSchema = z.partialRecord(z.enum(EngineCapability), AiUsePostureSchema);\nexport type ApplicationAiUsePosture = z.infer<typeof ApplicationAiUsePostureSchema>;\n\n/**\n * The AI capabilities a document must ask about.\n *\n * Named here rather than derived from a prefix: `AI_` is a spelling, and a capability added tomorrow\n * whose name happens to start with it would silently join the set — while one that processes personal\n * data under a different name would silently stay out.\n */\nexport const AI_ENGINE_CAPABILITIES: readonly EngineCapability[] = Object.freeze([\n EngineCapability.AI_LLM,\n EngineCapability.AI_EMBEDDINGS,\n EngineCapability.AI_DOCUMENT_EXTRACTION,\n EngineCapability.AI_CODING_AGENT,\n /*\n * ADDED 2026-09-12, and its absence was a hole rather than a judgement.\n *\n * Generating an image from a person's prompt, or from their content, is AI processing by any\n * reading a notice has to survive — and because this list is what a document ASKS about, omitting\n * it meant an application offering image generation to its users was asked NOTHING about AI. The\n * omission was silent in the direction that matters: the notice reads complete.\n *\n * It was noticed while adding the surface axis and deliberately not slipped into that change,\n * because widening this vocabulary changes what an application must declare. Measured before\n * landing: Wonder Todos enables the capability and its only provider offering it sits in the\n * COMPANION scope (the brand/logo generator), so the scope resolution keeps it outside the\n * contracted service and its notice is unchanged. An application that binds an image provider to\n * a RUNTIME scope is now asked for a posture, which is the whole point.\n */\n EngineCapability.AI_IMAGE_GENERATION,\n]);\n\n/**\n * The AI capabilities a document about the CONTRACTED SERVICE must ask about.\n *\n * The set above, minus the capabilities that never run while the application serves a user. This is\n * the set a privacy notice, a record of processing and an Article 22 automated-decision statement\n * are about, and the distinction is not cosmetic: `AI_CODING_AGENT` is a build-time tool that writes\n * the application's SOURCE. It decides nothing about a data subject and processes none of their\n * data, so asking an operator to declare its \"posture\" toward people, or listing it as OUTSTANDING\n * in a notice, invents an AI question the service does not raise.\n *\n * That is not hypothetical. Wonder CRM enables `AI_CODING_AGENT` and no other AI capability. Under\n * the unfiltered set the drafter is pushed into the per-capability AI branch — the branch that asks\n * \"whether it DECIDES something about a person\" — for an application whose contracted service\n * performs no AI at all, and whose own declared fact says exactly that.\n *\n * DERIVED rather than listed, and total over the set above, so an AI capability added tomorrow lands\n * on the right side of this line by its DECLARED SURFACE rather than by anyone remembering to add it\n * here. The surface map is itself exhaustive over `EngineCapability`, so there is no default to fall\n * through.\n */\nexport const AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE: readonly EngineCapability[] = Object.freeze(\n AI_ENGINE_CAPABILITIES.filter((capability) => engineCapabilityReachesRuntimeService(capability)),\n);\n\n/**\n * Enabled AI capabilities with no declared posture — what a document must report as outstanding.\n *\n * assurance-control: WILDO.AI.THIRD_PARTY_COMPONENTS — an enabled AI capability with no declared use is named, never assumed harmless.\n *\n * Takes the ENABLED set as an argument: a capability the application has not enabled raises no\n * question, and reporting it would fill a notice with AI the application does not use.\n */\nexport function undeclaredAiUseCapabilities(\n enabledCapabilities: readonly string[],\n posture: ApplicationAiUsePosture | undefined,\n): readonly EngineCapability[] {\n const enabled = new Set(enabledCapabilities);\n return AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE.filter(\n (capability) => enabled.has(capability) && posture?.[capability] === undefined,\n );\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"capability-consent-purposes.shared.utils.d.ts","sourceRoot":"","sources":["../../../../../src/compliance/privacy/capability-consent-purposes.shared.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,0CAA0C,CAAC;AAExG;;;;;;GAMG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,UAAU,EAAE,SAAS;QAAE,QAAQ,CAAC,WAAW,CAAC,EAAE,uCAAuC,CAAA;KAAE,EAAE,CAAC;CACpG;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,wCAAwC,CACtD,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC,GAC7E,cAAc,EAAE,CASlB"}
1
+ {"version":3,"file":"capability-consent-purposes.shared.utils.d.ts","sourceRoot":"","sources":["../../../../src/compliance/privacy/capability-consent-purposes.shared.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,0CAA0C,CAAC;AAExG;;;;;;GAMG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,UAAU,EAAE,SAAS;QAAE,QAAQ,CAAC,WAAW,CAAC,EAAE,uCAAuC,CAAA;KAAE,EAAE,CAAC;CACpG;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,wCAAwC,CACtD,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC,GAC7E,cAAc,EAAE,CASlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"capability-consent-purposes.shared.utils.js","sourceRoot":"","sources":["../../../../../src/compliance/privacy/capability-consent-purposes.shared.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAkB,MAAM,2BAA2B,CAAC;AAc7E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,wCAAwC,CACtD,sBAA8E;IAE9E,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;IAC3C,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,CAAC;QAClE,KAAK,MAAM,SAAS,IAAI,aAAa,CAAC,UAAU,EAAE,CAAC;YACjD,MAAM,OAAO,GAAG,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;YAC/C,IAAI,OAAO,KAAK,SAAS;gBAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;IACD,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;AACrE,CAAC","sourcesContent":["import { CONSENT_PURPOSES, ConsentPurpose } from './consent-purposes.shared';\nimport type { ResourceOperationConsentGateDeclaration } from './consent-gate-vocabulary.shared.schemas';\n\n/**\n * The narrow slice of a resolved resource configuration this derivation reads: every operation, each\n * possibly carrying a `consentGate`. Structural, so `ResourcesRegistry['resourceConfigurations']`\n * values satisfy it without a cast at the call site — the operation record is a discriminated union\n * with no shared `consentGate` member (mirroring how `assertServiceConsentRequirementMet` reads the\n * same field off `executionContext.operation`), so each element is narrowed the same way here.\n */\nexport interface CapabilityConsentGateSubject {\n readonly operations: readonly { readonly consentGate?: ResourceOperationConsentGateDeclaration }[];\n}\n\n/**\n * Every `ConsentPurpose` declared by at least one operation across every resource in the registry\n * (#1462, following #1258 Step 3).\n *\n * Total over the REGISTRY, not over one application's own resources: an engine capability could\n * declare a `consentGate` as validly as an app-authored one, and the person facing a refusal from\n * either needs the same PROMPT surface to grant it from — there is no reader this derivation exists\n * to protect from engine noise the way `collectApplicationResourcesWithNoPersonalDataDeclaration`\n * protects a startup log from ~85 engine resources that never answer a question nobody asked them.\n * This is a SET, not a per-resource report: only the union of what was declared is useful downstream.\n *\n * Pure and import-light on purpose, mirroring `applicationAskedConsentPurposes` in the same\n * directory: the one call site that matters (`ResourcesRegistryBackendService.initialize()`) hands\n * this the live registry and the result travels onward as plain data\n * (`compliance.capabilityDeclaredConsentPurposes`), never as a reason to import registry types where\n * they do not otherwise belong.\n */\nexport function collectCapabilityDeclaredConsentPurposes(\n resourceConfigurations: Readonly<Record<string, CapabilityConsentGateSubject>>,\n): ConsentPurpose[] {\n const declared = new Set<ConsentPurpose>();\n for (const configuration of Object.values(resourceConfigurations)) {\n for (const operation of configuration.operations) {\n const purpose = operation.consentGate?.purpose;\n if (purpose !== undefined) declared.add(purpose);\n }\n }\n return CONSENT_PURPOSES.filter((purpose) => declared.has(purpose));\n}\n"]}
1
+ {"version":3,"file":"capability-consent-purposes.shared.utils.js","sourceRoot":"","sources":["../../../../src/compliance/privacy/capability-consent-purposes.shared.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAkB,MAAM,2BAA2B,CAAC;AAc7E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,wCAAwC,CACtD,sBAA8E;IAE9E,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;IAC3C,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,CAAC;QAClE,KAAK,MAAM,SAAS,IAAI,aAAa,CAAC,UAAU,EAAE,CAAC;YACjD,MAAM,OAAO,GAAG,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;YAC/C,IAAI,OAAO,KAAK,SAAS;gBAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;IACD,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;AACrE,CAAC","sourcesContent":["import { CONSENT_PURPOSES, ConsentPurpose } from './consent-purposes.shared';\nimport type { ResourceOperationConsentGateDeclaration } from './consent-gate-vocabulary.shared.schemas';\n\n/**\n * The narrow slice of a resolved resource configuration this derivation reads: every operation, each\n * possibly carrying a `consentGate`. Structural, so `ResourcesRegistry['resourceConfigurations']`\n * values satisfy it without a cast at the call site — the operation record is a discriminated union\n * with no shared `consentGate` member (mirroring how `assertServiceConsentRequirementMet` reads the\n * same field off `executionContext.operation`), so each element is narrowed the same way here.\n */\nexport interface CapabilityConsentGateSubject {\n readonly operations: readonly { readonly consentGate?: ResourceOperationConsentGateDeclaration }[];\n}\n\n/**\n * Every `ConsentPurpose` declared by at least one operation across every resource in the registry\n * (#1462, following #1258 Step 3).\n *\n * Total over the REGISTRY, not over one application's own resources: an engine capability could\n * declare a `consentGate` as validly as an app-authored one, and the person facing a refusal from\n * either needs the same PROMPT surface to grant it from — there is no reader this derivation exists\n * to protect from engine noise the way `collectApplicationResourcesWithNoPersonalDataDeclaration`\n * protects a startup log from ~85 engine resources that never answer a question nobody asked them.\n * This is a SET, not a per-resource report: only the union of what was declared is useful downstream.\n *\n * Pure and import-light on purpose, mirroring `applicationAskedConsentPurposes` in the same\n * directory: the one call site that matters (`ResourcesRegistryBackendService.initialize()`) hands\n * this the live registry and the result travels onward as plain data\n * (`compliance.capabilityDeclaredConsentPurposes`), never as a reason to import registry types where\n * they do not otherwise belong.\n */\nexport function collectCapabilityDeclaredConsentPurposes(\n resourceConfigurations: Readonly<Record<string, CapabilityConsentGateSubject>>,\n): ConsentPurpose[] {\n const declared = new Set<ConsentPurpose>();\n for (const configuration of Object.values(resourceConfigurations)) {\n for (const operation of configuration.operations) {\n const purpose = operation.consentGate?.purpose;\n if (purpose !== undefined) declared.add(purpose);\n }\n }\n return CONSENT_PURPOSES.filter((purpose) => declared.has(purpose));\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"client-storage.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/compliance/privacy/client-storage.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,sHAAsH;AACtH,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;CACpC;AAED;;;;;;GAMG;AACH,oBAAY,sBAAsB;IAChC,sGAAsG;IACtG,kBAAkB,uBAAuB;IACzC,qGAAqG;IACrG,aAAa,kBAAkB;CAChC;AAED,qEAAqE;AACrE,eAAO,MAAM,wBAAwB;IACnC,kGAAkG;;;IAGlG,mGAAmG;;;IAGnG;;;;;;;OAOG;;IAEH;;;;;;OAMG;;kBAEH,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,6BAA6B,EAAE,SAAS,kBAAkB,EAyBrE,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,uCAAuC;IA5ElD,kGAAkG;;;IAGlG,mGAAmG;;;IAGnG;;;;;;;OAOG;;IAEH;;;;;;OAMG;;oBA0DJ,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC;AAExG;;;;;;GAMG;AACH,wBAAgB,kCAAkC,CAChD,mBAAmB,EAAE,SAAS,MAAM,EAAE,EACtC,SAAS,EAAE,iCAAiC,GAAG,SAAS,GACvD,SAAS,MAAM,EAAE,CAEnB"}
1
+ {"version":3,"file":"client-storage.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/compliance/privacy/client-storage.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,sHAAsH;AACtH,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;CACpC;AAED;;;;;;GAMG;AACH,oBAAY,sBAAsB;IAChC,sGAAsG;IACtG,kBAAkB,uBAAuB;IACzC,qGAAqG;IACrG,aAAa,kBAAkB;CAChC;AAED,qEAAqE;AACrE,eAAO,MAAM,wBAAwB;IACnC,kGAAkG;;;IAGlG,mGAAmG;;;IAGnG;;;;;;;OAOG;;IAEH;;;;;;OAMG;;kBAEH,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,6BAA6B,EAAE,SAAS,kBAAkB,EAyBrE,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,uCAAuC;IA5ElD,kGAAkG;;;IAGlG,mGAAmG;;;IAGnG;;;;;;;OAOG;;IAEH;;;;;;OAMG;;oBA0DJ,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC;AAExG;;;;;;GAMG;AACH,wBAAgB,kCAAkC,CAChD,mBAAmB,EAAE,SAAS,MAAM,EAAE,EACtC,SAAS,EAAE,iCAAiC,GAAG,SAAS,GACvD,SAAS,MAAM,EAAE,CAEnB"}