@wildo-ai/saas-models 1.1.4 → 1.1.5

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 (1032) hide show
  1. package/dist/esm/__tests__/setup.d.ts.map +1 -1
  2. package/dist/esm/_inspect.d.ts.map +1 -1
  3. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts +1 -1
  4. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
  5. package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
  6. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts +1 -1
  7. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
  8. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +2 -2
  9. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
  10. package/dist/esm/applications/applications-context.schemas.d.ts +236 -18
  11. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  12. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts +1 -0
  13. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  14. package/dist/esm/applications/applications.shared.resources-config.schemas.js +1 -1
  15. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  16. package/dist/esm/applications/applications.shared.schemas.d.ts +3 -2
  17. package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
  18. package/dist/esm/applications/applications.shared.schemas.js +40 -5
  19. package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
  20. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +1 -2
  21. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
  22. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js +1 -2
  23. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
  24. package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
  25. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
  26. package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
  27. package/dist/esm/billing/billing-enums.shared.schemas.d.ts +87 -5
  28. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  29. package/dist/esm/billing/billing-enums.shared.schemas.js +91 -5
  30. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  31. package/dist/esm/billing/billing-types.shared.schemas.d.ts +24 -4
  32. package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
  33. package/dist/esm/billing/billing-types.shared.schemas.js +24 -8
  34. package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
  35. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
  36. package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
  37. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts.map +1 -1
  38. package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
  39. package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
  40. package/dist/esm/billing/price.shared.resources-config.schemas.js +32 -2
  41. package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
  42. package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
  43. package/dist/esm/billing/price.shared.schemas.js.map +1 -1
  44. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  45. package/dist/esm/billing/product-behavior-policy.shared.schemas.js +1 -1
  46. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  47. package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
  48. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
  49. package/dist/esm/billing/product.shared.resources-config.schemas.js +32 -2
  50. package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
  51. package/dist/esm/billing/product.shared.schemas.d.ts +1 -0
  52. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  53. package/dist/esm/billing/product.shared.schemas.js +3 -0
  54. package/dist/esm/billing/product.shared.schemas.js.map +1 -1
  55. package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
  56. package/dist/esm/billing/promotions.shared.resources-config.schemas.js +33 -3
  57. package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
  58. package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
  59. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
  60. package/dist/esm/billing/referral.shared.resources-config.schemas.js +22 -2
  61. package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
  62. package/dist/esm/billing/referral.shared.schemas.d.ts +1 -0
  63. package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
  64. package/dist/esm/billing/referral.shared.schemas.js +3 -0
  65. package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
  66. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +23 -1
  67. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  68. package/dist/esm/billing/subscription.shared.resources-config.schemas.js +48 -2
  69. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  70. package/dist/esm/billing/subscription.shared.schemas.d.ts +1 -0
  71. package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
  72. package/dist/esm/billing/subscription.shared.schemas.js +3 -0
  73. package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
  74. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts +49 -0
  75. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -0
  76. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js +48 -0
  77. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -0
  78. package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts.map +1 -1
  79. package/dist/esm/billing/usage-record.shared.schemas.d.ts +1 -0
  80. package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
  81. package/dist/esm/billing/usage-record.shared.schemas.js +3 -0
  82. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  83. package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
  84. package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
  85. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +7 -1
  86. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  87. package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
  88. package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -1
  89. package/dist/esm/companion-exports.d.ts.map +1 -1
  90. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -3
  91. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  92. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +21 -7
  93. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
  94. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +450 -0
  95. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -0
  96. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +723 -0
  97. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -0
  98. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
  99. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +2 -2
  100. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  101. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +8 -0
  102. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  103. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +15 -0
  104. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  105. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +610 -16
  106. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  107. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +769 -38
  108. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  109. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  110. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +29 -0
  111. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  112. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts +463 -0
  113. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -0
  114. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js +526 -0
  115. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -0
  116. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +539 -15
  117. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
  118. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +402 -14
  119. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
  120. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts +18 -0
  121. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -0
  122. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js +89 -0
  123. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -0
  124. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts +47 -0
  125. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -0
  126. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js +73 -0
  127. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -0
  128. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +21 -0
  129. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
  130. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +39 -1
  131. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
  132. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts +33 -0
  133. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -0
  134. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js +30 -0
  135. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -0
  136. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts +6 -5
  137. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
  138. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js +15 -5
  139. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
  140. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts +127 -0
  141. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -0
  142. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js +94 -0
  143. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -0
  144. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts +125 -0
  145. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -0
  146. package/dist/esm/compliance/privacy/consent-purposes.shared.js +136 -0
  147. package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -0
  148. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +1 -1
  149. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +91 -0
  150. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -0
  151. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +123 -0
  152. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -0
  153. package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
  154. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
  155. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
  156. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
  157. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +68 -25
  158. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
  159. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +74 -22
  160. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
  161. package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -1
  162. package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
  163. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +9 -17
  164. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
  165. package/dist/esm/compliance/privacy/privacy.shared.schemas.js +74 -31
  166. package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
  167. package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
  168. package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
  169. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
  170. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts +47 -0
  171. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -0
  172. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js +98 -0
  173. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -0
  174. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +368 -35
  175. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
  176. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +403 -17
  177. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
  178. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
  179. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
  180. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
  181. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts +56 -0
  182. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -0
  183. package/dist/esm/compliance/review-cadence.shared.schemas.js +71 -0
  184. package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -0
  185. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts +161 -0
  186. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -0
  187. package/dist/esm/compliance/risk-posture.shared.schemas.js +166 -0
  188. package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -0
  189. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +4 -3
  190. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
  191. package/dist/esm/config/analytics-value-moments.shared.schemas.js +4 -3
  192. package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
  193. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +222 -9
  194. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  195. package/dist/esm/config/app-configuration-shared.shared.schemas.js +232 -9
  196. package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
  197. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +75 -3
  198. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
  199. package/dist/esm/config/auth-config-resolution.shared.utils.js +93 -4
  200. package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
  201. package/dist/esm/config/brand-assets.shared.schemas.d.ts +5 -4
  202. package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
  203. package/dist/esm/config/brand-assets.shared.schemas.js +14 -4
  204. package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
  205. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +463 -19
  206. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  207. package/dist/esm/config/entity-identity-config.shared.schemas.js +535 -28
  208. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  209. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +24 -24
  210. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
  211. package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
  212. package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
  213. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +21 -17
  214. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
  215. package/dist/esm/config/frontend/navigation.shared.schemas.js +58 -40
  216. package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
  217. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts +90 -133
  218. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
  219. package/dist/esm/config/frontend/onboarding.shared.schemas.js +148 -100
  220. package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
  221. package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
  222. package/dist/esm/config-authoring.entry.d.ts.map +1 -1
  223. package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
  224. package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -1
  225. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +140 -43
  226. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  227. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +141 -42
  228. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  229. package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
  230. package/dist/esm/errors/errors.shared.definitions.js +1 -1
  231. package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
  232. package/dist/esm/errors/errors.shared.schemas.d.ts +29 -40
  233. package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
  234. package/dist/esm/errors/errors.shared.schemas.js +37 -54
  235. package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
  236. package/dist/esm/errors/errors.shared.utils.d.ts +24 -0
  237. package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
  238. package/dist/esm/errors/errors.shared.utils.js +39 -0
  239. package/dist/esm/errors/errors.shared.utils.js.map +1 -1
  240. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +27 -0
  241. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -0
  242. package/dist/esm/errors/thrown-value-description.shared.utils.js +67 -0
  243. package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -0
  244. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +48 -73
  245. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  246. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +103 -9
  247. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  248. package/dist/esm/external-data.exports.d.ts +1 -0
  249. package/dist/esm/external-data.exports.d.ts.map +1 -1
  250. package/dist/esm/external-data.exports.js +1 -0
  251. package/dist/esm/external-data.exports.js.map +1 -1
  252. package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
  253. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +11 -12
  254. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
  255. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +11 -12
  256. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
  257. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts +5 -3
  258. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
  259. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +5 -3
  260. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  261. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts +77 -0
  262. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -0
  263. package/dist/esm/external-providers/engine-capability-surface.shared.js +173 -0
  264. package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -0
  265. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts +2 -0
  266. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
  267. package/dist/esm/external-providers/external-providers.shared.schemas.js +21 -0
  268. package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
  269. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +129 -9
  270. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  271. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +114 -0
  272. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
  273. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +148 -0
  274. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
  275. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
  276. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
  277. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +54 -3
  278. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  279. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +58 -1
  280. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  281. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +12 -3
  282. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
  283. package/dist/esm/external-providers/frontend-provider-public-config.shared.js +14 -5
  284. package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
  285. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts +30 -0
  286. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -0
  287. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js +32 -0
  288. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -0
  289. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +86 -0
  290. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -0
  291. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +85 -0
  292. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -0
  293. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +14 -13
  294. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  295. package/dist/esm/external-providers/provider-capability.shared.schemas.js +10 -10
  296. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  297. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  298. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  299. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
  300. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
  301. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +7 -5
  302. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
  303. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +7 -5
  304. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
  305. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +8 -5
  306. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
  307. package/dist/esm/external-providers/provider-metadata.shared.schemas.js +5 -2
  308. package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
  309. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
  310. package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
  311. package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -1
  312. package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -1
  313. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
  314. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +2 -0
  315. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
  316. package/dist/esm/features/application-features.shared.resources-config.schemas.js +30 -3
  317. package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
  318. package/dist/esm/features/connected-feature.example.d.ts +64 -0
  319. package/dist/esm/features/connected-feature.example.d.ts.map +1 -0
  320. package/dist/esm/features/connected-feature.example.js +86 -0
  321. package/dist/esm/features/connected-feature.example.js.map +1 -0
  322. package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
  323. package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
  324. package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
  325. package/dist/esm/features/feature-builders.shared.js.map +1 -1
  326. package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
  327. package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
  328. package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
  329. package/dist/esm/features/scope-features.shared.schemas.d.ts +53 -0
  330. package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
  331. package/dist/esm/features/scope-features.shared.schemas.js +37 -0
  332. package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
  333. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +1 -1
  334. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
  335. package/dist/esm/features/user-features.shared.resources-config.schemas.js +34 -52
  336. package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
  337. package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -1
  338. package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -1
  339. package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
  340. package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
  341. package/dist/esm/files/files.shared.resources-config.schemas.d.ts +3 -3
  342. package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
  343. package/dist/esm/files/files.shared.resources-config.schemas.js +3 -3
  344. package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
  345. package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
  346. package/dist/esm/files/files.shared.schemas.js.map +1 -1
  347. package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
  348. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  349. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -1
  350. package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -1
  351. package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
  352. package/dist/esm/flows-actors/actors.shared.schemas.d.ts +152 -129
  353. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  354. package/dist/esm/flows-actors/actors.shared.schemas.js +99 -2
  355. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  356. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +6 -0
  357. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
  358. package/dist/esm/flows-actors/agents.shared.schemas.d.ts +3 -3
  359. package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
  360. package/dist/esm/flows-actors/agents.shared.schemas.js +11 -5
  361. package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
  362. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +13 -0
  363. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
  364. package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
  365. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts +45 -0
  366. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -0
  367. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js +51 -0
  368. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -0
  369. package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -1
  370. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +31 -0
  371. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  372. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +61 -3
  373. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  374. package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -1
  375. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts +2 -2
  376. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -1
  377. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +16 -8
  378. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  379. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +23 -11
  380. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  381. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts +0 -189
  382. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
  383. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js +14 -50
  384. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
  385. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts +0 -3
  386. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
  387. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js +0 -1
  388. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
  389. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
  390. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
  391. package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -1
  392. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +1 -67
  393. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  394. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js +1 -2
  395. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
  396. package/dist/esm/flows-actors/flows.shared.schemas.d.ts +0 -1
  397. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  398. package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
  399. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +121 -0
  400. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -0
  401. package/dist/esm/flows-actors/human-decision.shared.schemas.js +252 -0
  402. package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -0
  403. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
  404. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js +4 -2
  405. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
  406. package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
  407. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +24 -0
  408. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -0
  409. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +80 -0
  410. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -0
  411. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +123 -0
  412. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -0
  413. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +181 -0
  414. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -0
  415. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +58 -81
  416. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
  417. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js +75 -38
  418. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
  419. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +106 -1
  420. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
  421. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +117 -0
  422. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
  423. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts +106 -24
  424. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
  425. package/dist/esm/guidance/guidance-flow.shared.schemas.js +152 -14
  426. package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
  427. package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts.map +1 -1
  428. package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
  429. package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
  430. package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
  431. package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
  432. package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts.map +1 -1
  433. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts +0 -6
  434. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
  435. package/dist/esm/guidance/lifecycle-state.shared.schemas.js +0 -19
  436. package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
  437. package/dist/esm/guidance/milestone-builders.shared.d.ts +4 -2
  438. package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
  439. package/dist/esm/guidance/milestone-builders.shared.js +4 -2
  440. package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
  441. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts +66 -4
  442. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
  443. package/dist/esm/guidance/milestone-definition.shared.schemas.js +50 -0
  444. package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
  445. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts +71 -0
  446. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -0
  447. package/dist/esm/guidance/progression-presentation.shared.schemas.js +72 -0
  448. package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -0
  449. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +2 -0
  450. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
  451. package/dist/esm/guidance/progression-state.shared.schemas.d.ts +4 -0
  452. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  453. package/dist/esm/guidance/progression-state.shared.schemas.js +5 -0
  454. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  455. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
  456. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +2 -1
  457. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
  458. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +181 -412
  459. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  460. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +249 -199
  461. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  462. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +107 -0
  463. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -0
  464. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +108 -0
  465. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -0
  466. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts +38 -0
  467. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -0
  468. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js +42 -0
  469. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -0
  470. package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
  471. package/dist/esm/index.d.ts +41 -4
  472. package/dist/esm/index.d.ts.map +1 -1
  473. package/dist/esm/index.js +71 -16
  474. package/dist/esm/index.js.map +1 -1
  475. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -0
  476. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -0
  477. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -0
  478. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -0
  479. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts +130 -0
  480. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -0
  481. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js +104 -0
  482. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -0
  483. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -0
  484. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -0
  485. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.d.ts +64 -0
  486. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -0
  487. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.js +47 -0
  488. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -0
  489. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +544 -0
  490. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -0
  491. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +638 -0
  492. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -0
  493. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.d.ts +15 -8
  494. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -0
  495. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.js +15 -8
  496. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -0
  497. package/dist/esm/meta-workflows.exports.d.ts +21 -25
  498. package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
  499. package/dist/esm/meta-workflows.exports.js +21 -25
  500. package/dist/esm/meta-workflows.exports.js.map +1 -1
  501. package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
  502. package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
  503. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts +16 -0
  504. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -0
  505. package/dist/esm/notifications/email/email-submission.shared.enums.js +17 -0
  506. package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -0
  507. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +36 -0
  508. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  509. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js +50 -3
  510. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  511. package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
  512. package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
  513. package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -1
  514. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  515. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -1
  516. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
  517. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts +2 -1
  518. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
  519. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js +3 -2
  520. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
  521. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  522. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +44 -3
  523. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  524. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
  525. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
  526. package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
  527. package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
  528. package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
  529. package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
  530. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts +1 -1
  531. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
  532. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js +12 -33
  533. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
  534. package/dist/esm/notifications/notifications.shared.schemas.d.ts +19 -8
  535. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  536. package/dist/esm/notifications/notifications.shared.schemas.js +19 -8
  537. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  538. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts +145 -0
  539. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -0
  540. package/dist/esm/organizations/application-owner-organization.shared.schemas.js +146 -0
  541. package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -0
  542. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +2 -0
  543. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
  544. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +26 -3
  545. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
  546. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +1 -1
  547. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
  548. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +18 -14
  549. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
  550. package/dist/esm/organizations/organization-members.shared.schemas.d.ts +1 -1
  551. package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
  552. package/dist/esm/organizations/organization-members.shared.schemas.js +9 -1
  553. package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
  554. package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts.map +1 -1
  555. package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
  556. package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
  557. package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  558. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +2 -1
  559. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
  560. package/dist/esm/organizations/organization-preferences.shared.schemas.js +3 -0
  561. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  562. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
  563. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +3 -1
  564. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  565. package/dist/esm/organizations/organization-profile.shared.schemas.js +4 -2
  566. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  567. package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -1
  568. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -1
  569. package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
  570. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
  571. package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
  572. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +29 -2
  573. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  574. package/dist/esm/organizations/organization-unit-narrowing.shared.js +27 -0
  575. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  576. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts +2 -0
  577. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
  578. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js +3 -0
  579. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
  580. package/dist/esm/organizations/organization-units.shared.schemas.d.ts +17 -5
  581. package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
  582. package/dist/esm/organizations/organization-units.shared.schemas.js +65 -5
  583. package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
  584. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +51 -7
  585. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  586. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +151 -7
  587. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  588. package/dist/esm/organizations/organizations.shared.schemas.d.ts +18 -83
  589. package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
  590. package/dist/esm/organizations/organizations.shared.schemas.js +37 -19
  591. package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
  592. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
  593. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
  594. package/dist/esm/provider-registration-runtime.exports.d.ts +1 -0
  595. package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
  596. package/dist/esm/provider-registration-runtime.exports.js +1 -0
  597. package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
  598. package/dist/esm/public-runtime/index.d.ts +39 -10
  599. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  600. package/dist/esm/public-runtime/index.js +39 -10
  601. package/dist/esm/public-runtime/index.js.map +1 -1
  602. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +7 -8
  603. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
  604. package/dist/esm/queue/jobs.shared.resources-config.schemas.js +30 -6
  605. package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
  606. package/dist/esm/queue/jobs.shared.schemas.d.ts +388 -2
  607. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  608. package/dist/esm/queue/jobs.shared.schemas.js +315 -11
  609. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  610. package/dist/esm/queue/jobs.shared.utils.d.ts +6 -4
  611. package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
  612. package/dist/esm/queue/jobs.shared.utils.js +5 -4
  613. package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
  614. package/dist/esm/queue/queues.shared.schemas.d.ts +20 -8
  615. package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
  616. package/dist/esm/queue/queues.shared.schemas.js +23 -18
  617. package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
  618. package/dist/esm/queue/queues.shared.utils.d.ts +4 -2
  619. package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
  620. package/dist/esm/queue/queues.shared.utils.js +4 -2
  621. package/dist/esm/queue/queues.shared.utils.js.map +1 -1
  622. package/dist/esm/rag/rag-retrieval-health.shared.d.ts +27 -0
  623. package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -0
  624. package/dist/esm/rag/rag-retrieval-health.shared.js +29 -0
  625. package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -0
  626. package/dist/esm/requests/header-keys.shared.d.ts +6 -0
  627. package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
  628. package/dist/esm/requests/header-keys.shared.js +7 -0
  629. package/dist/esm/requests/header-keys.shared.js.map +1 -1
  630. package/dist/esm/requests/idempotency-key.shared.d.ts +76 -0
  631. package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -0
  632. package/dist/esm/requests/idempotency-key.shared.js +112 -0
  633. package/dist/esm/requests/idempotency-key.shared.js.map +1 -0
  634. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
  635. package/dist/esm/requests/manual-controllers-routes-documentation.js +218 -17
  636. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
  637. package/dist/esm/requests/manual-controllers-routes-urls.d.ts +87 -0
  638. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  639. package/dist/esm/requests/manual-controllers-routes-urls.js +102 -0
  640. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  641. package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
  642. package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
  643. package/dist/esm/requests/websocket.shared.schemas.d.ts +200 -24
  644. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  645. package/dist/esm/requests/websocket.shared.schemas.js +219 -5
  646. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  647. package/dist/esm/resources/child-operations.shared.schemas.d.ts +56 -5
  648. package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
  649. package/dist/esm/resources/child-operations.shared.schemas.js +97 -5
  650. package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
  651. package/dist/esm/resources/context-policy.shared.schemas.d.ts +20 -0
  652. package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
  653. package/dist/esm/resources/context-policy.shared.schemas.js +3 -0
  654. package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
  655. package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
  656. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  657. package/dist/esm/resources/resources-config.shared.factory.js +498 -29
  658. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  659. package/dist/esm/resources/resources-config.shared.schemas.d.ts +623 -45
  660. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  661. package/dist/esm/resources/resources-config.shared.schemas.js +315 -22
  662. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  663. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  664. package/dist/esm/resources/resources-registry.shared.core.definitions.js +377 -69
  665. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  666. package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
  667. package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
  668. package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
  669. package/dist/esm/resources/resources.shared.core.definitions.d.ts +19 -0
  670. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  671. package/dist/esm/resources/resources.shared.core.definitions.js +28 -0
  672. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  673. package/dist/esm/resources/resources.shared.schemas.d.ts +256 -10
  674. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  675. package/dist/esm/resources/resources.shared.schemas.js +209 -9
  676. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  677. package/dist/esm/resources/resources.shared.utils.d.ts +3 -2
  678. package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
  679. package/dist/esm/resources/resources.shared.utils.js +38 -6
  680. package/dist/esm/resources/resources.shared.utils.js.map +1 -1
  681. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
  682. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts +44 -12
  683. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
  684. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js +46 -23
  685. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
  686. package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
  687. package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
  688. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts +61 -0
  689. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -0
  690. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js +79 -0
  691. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -0
  692. package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
  693. package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -1
  694. package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -1
  695. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts +60 -0
  696. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -0
  697. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js +80 -0
  698. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -0
  699. package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
  700. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts +21 -0
  701. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -0
  702. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +159 -0
  703. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -0
  704. package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
  705. package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
  706. package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
  707. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
  708. package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
  709. package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
  710. package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
  711. package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
  712. package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts.map +1 -1
  713. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts +15 -0
  714. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
  715. package/dist/esm/resources/utils/resources-config-naming.utils.js +56 -11
  716. package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
  717. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +51 -1
  718. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
  719. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +210 -51
  720. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
  721. package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts.map +1 -1
  722. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts +34 -0
  723. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
  724. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js +45 -1
  725. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
  726. package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
  727. package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
  728. package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
  729. package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
  730. package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
  731. package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
  732. package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
  733. package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
  734. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts +29 -0
  735. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  736. package/dist/esm/resources/utils/shared-persistence-collection.utils.js +30 -0
  737. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  738. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
  739. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js +49 -11
  740. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
  741. package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
  742. package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
  743. package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
  744. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  745. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +4 -1
  746. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  747. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  748. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +4 -1
  749. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  750. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
  751. package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -1
  752. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +128 -16
  753. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  754. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +160 -6
  755. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  756. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +324 -9
  757. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
  758. package/dist/esm/security/authentications/authentication.shared.schemas.js +411 -8
  759. package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
  760. package/dist/esm/security/authentications/authentication.shared.utils.d.ts +87 -4
  761. package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
  762. package/dist/esm/security/authentications/authentication.shared.utils.js +95 -6
  763. package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
  764. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts +23 -1
  765. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
  766. package/dist/esm/security/authentications/consumable-token.shared.schemas.js +23 -1
  767. package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
  768. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts +7 -1
  769. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
  770. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js +7 -1
  771. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
  772. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts +74 -0
  773. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -0
  774. package/dist/esm/security/authentications/password-blocklist.shared.utils.js +122 -0
  775. package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -0
  776. package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
  777. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +88 -2
  778. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
  779. package/dist/esm/security/authentications/registration.shared.dto.schemas.js +149 -2
  780. package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
  781. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts +57 -11
  782. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
  783. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +44 -11
  784. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
  785. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
  786. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +20 -7
  787. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
  788. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +16 -2
  789. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
  790. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +32 -2
  791. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  792. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
  793. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +7 -1
  794. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
  795. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
  796. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
  797. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +4 -1
  798. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
  799. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts.map +1 -1
  800. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts +27 -0
  801. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -0
  802. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js +109 -0
  803. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -0
  804. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts +66 -0
  805. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -0
  806. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js +107 -0
  807. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -0
  808. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -1
  809. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -1
  810. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts +19 -0
  811. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
  812. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js +50 -13
  813. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
  814. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts +18 -6
  815. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
  816. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +133 -4
  817. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
  818. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts +26 -0
  819. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  820. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +46 -17
  821. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  822. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts +0 -40
  823. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  824. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +100 -26
  825. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  826. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts +9 -1
  827. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
  828. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +9 -1
  829. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
  830. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +6 -2
  831. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  832. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +76 -4
  833. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  834. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +5 -4
  835. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
  836. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +5 -4
  837. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
  838. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts +4 -0
  839. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  840. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +8 -0
  841. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
  842. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts +44 -0
  843. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -1
  844. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js +52 -0
  845. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -1
  846. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  847. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
  848. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
  849. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
  850. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
  851. package/dist/esm/security/authorizations/roles.shared.defaults.js +6 -0
  852. package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
  853. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +14 -0
  854. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
  855. package/dist/esm/security/authorizations/roles.shared.schemas.js +19 -0
  856. package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
  857. package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
  858. package/dist/esm/security/authorizations/roles.shared.utils.js +2 -0
  859. package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
  860. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +4 -1
  861. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
  862. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
  863. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +5 -2
  864. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
  865. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +13 -42
  866. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
  867. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +201 -14
  868. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
  869. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +237 -49
  870. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
  871. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +6 -3
  872. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  873. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +74 -4
  874. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  875. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +5 -2
  876. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  877. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +105 -3
  878. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  879. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
  880. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
  881. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -1
  882. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
  883. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
  884. package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
  885. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +67 -0
  886. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -0
  887. package/dist/esm/security/outbound-target-control.shared.schemas.js +69 -0
  888. package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -0
  889. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts +159 -0
  890. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -0
  891. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js +164 -0
  892. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -0
  893. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +209 -0
  894. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -0
  895. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +150 -0
  896. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -0
  897. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts +79 -0
  898. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -0
  899. package/dist/esm/systems-of-record/system-of-record-env.shared.js +116 -0
  900. package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -0
  901. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +145 -0
  902. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -0
  903. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +146 -0
  904. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -0
  905. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +478 -0
  906. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -0
  907. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +619 -0
  908. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -0
  909. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts +31 -0
  910. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -0
  911. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +232 -0
  912. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -0
  913. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts +127 -0
  914. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -0
  915. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js +204 -0
  916. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -0
  917. package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
  918. package/dist/esm/testing/resource-config-builders.js +10 -4
  919. package/dist/esm/testing/resource-config-builders.js.map +1 -1
  920. package/dist/esm/testing.d.ts.map +1 -1
  921. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts +2 -1
  922. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
  923. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js +2 -1
  924. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
  925. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +139 -24
  926. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
  927. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js +255 -0
  928. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
  929. package/dist/esm/users/anonymous-users.shared.schema.d.ts +5 -3
  930. package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
  931. package/dist/esm/users/anonymous-users.shared.schema.js +18 -1
  932. package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
  933. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts +2 -1
  934. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
  935. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +23 -0
  936. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
  937. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts +2 -1
  938. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
  939. package/dist/esm/users/user-consent-decision.shared.utils.d.ts +127 -0
  940. package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -0
  941. package/dist/esm/users/user-consent-decision.shared.utils.js +189 -0
  942. package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -0
  943. package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts.map +1 -1
  944. package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
  945. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts +1 -0
  946. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
  947. package/dist/esm/users/user-identity-links.shared.schemas.d.ts +1 -0
  948. package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
  949. package/dist/esm/users/user-identity-links.shared.schemas.js +30 -0
  950. package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
  951. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts +6 -6
  952. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
  953. package/dist/esm/users/user-preferences-reset.shared.utils.js +6 -6
  954. package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
  955. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +74 -29
  956. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  957. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js +99 -0
  958. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
  959. package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  960. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js +25 -9
  961. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
  962. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +4 -4
  963. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  964. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js +12 -1
  965. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
  966. package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  967. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts +1 -0
  968. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
  969. package/dist/esm/users/user-self.shared.resources-config.schemas.js +2 -2
  970. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  971. package/dist/esm/users/users.shared.resources-config.schemas.d.ts +1 -0
  972. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  973. package/dist/esm/users/users.shared.resources-config.schemas.js +2 -2
  974. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  975. package/dist/esm/users/users.shared.schemas.d.ts +11 -9
  976. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  977. package/dist/esm/users/users.shared.schemas.js +68 -9
  978. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  979. package/dist/tsconfig.build.tsbuildinfo +1 -1
  980. package/package.json +14 -35
  981. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts +0 -19
  982. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts.map +0 -1
  983. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js +0 -35
  984. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js.map +0 -1
  985. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts +0 -213
  986. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts.map +0 -1
  987. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js +0 -287
  988. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js.map +0 -1
  989. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts +0 -236
  990. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts.map +0 -1
  991. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js +0 -212
  992. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js.map +0 -1
  993. package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +0 -1
  994. package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js.map +0 -1
  995. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +0 -17
  996. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +0 -1
  997. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +0 -31
  998. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +0 -1
  999. package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +0 -1
  1000. package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +0 -1
  1001. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +0 -1
  1002. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +0 -1
  1003. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts +0 -28
  1004. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts.map +0 -1
  1005. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js +0 -28
  1006. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js.map +0 -1
  1007. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +0 -1
  1008. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +0 -1
  1009. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +0 -100
  1010. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +0 -1
  1011. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +0 -232
  1012. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +0 -1
  1013. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts +0 -29
  1014. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts.map +0 -1
  1015. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js +0 -58
  1016. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js.map +0 -1
  1017. package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +0 -1
  1018. package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +0 -1
  1019. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts +0 -81
  1020. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts.map +0 -1
  1021. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js +0 -82
  1022. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js.map +0 -1
  1023. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts +0 -2
  1024. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts.map +0 -1
  1025. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js +0 -1
  1026. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js.map +0 -1
  1027. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.d.ts +0 -0
  1028. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.js +0 -0
  1029. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.d.ts +0 -0
  1030. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.js +0 -0
  1031. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.d.ts +0 -0
  1032. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.js +0 -0
@@ -1,12 +1,18 @@
1
+ import { AuditApplicationReadAccess } from './audit-trail-config.shared.schemas.js';
2
+ import { ExternalAssuranceAssessmentSchema } from '../../external-providers/provider-authentication-assurance.shared.schemas.js';
1
3
  import { z } from "zod";
4
+ import { ExternalProvider_Connection_DelegationMode } from "@wildo-ai/external-connectors-models";
5
+ import { GovernedDocumentInteractionSchema } from "../documents/governed-document-interactions.shared.schemas.js";
2
6
  import { PersonalDataCategory } from "../privacy/personal-data-category.shared.schemas.js";
7
+ import { RegistrationAcquisitionChannel } from "../../config/entity-identity-config.shared.schemas.js";
3
8
  import { ResourceOperationRiskLevel, ResourceOperationVariantType } from "../../resources/resources.shared.schemas.js";
4
9
  import { CoreResourceOperation } from "../../resources/resources.shared.core.definitions.js";
5
10
  import { PlatformAccessGrantAutoApprovalReason, PlatformAccessGrantLifecycleTransition, PlatformAccessGrantScope, PlatformAccessGrantStatus, } from "../../security/authorizations/platform-access-grants.shared.schemas.js";
6
- import { ExecutionContext_ExecutionType } from "../../runtime/execution-context.shared.schemas.js";
11
+ import { SystemOfRecordPartitionAssignmentTransition } from "../../systems-of-record/system-of-record-partition-assignments.shared.schemas.js";
12
+ import { ExecutionContext_ExecutionType, ExecutionContext_MachineCredentialSchema } from "../../runtime/execution-context.shared.schemas.js";
7
13
  import { AuthScopeType, SsoConnectionType, } from "../../security/authentications/authentication.shared.schemas.js";
8
14
  import { WebhookEndpointProbeOutcome } from "../../notifications/m2m/webhook-config.shared.schemas.js";
9
- import { ProviderCredentialDeletionReason, ProviderCredentialResolutionSource, } from "../../security/connected-accounts/provider-credentials.shared.schemas.js";
15
+ import { ProviderCredentialDeletionReason, ProviderOAuth2RevocationOutcomeValues, ProviderCredentialResolutionSource, } from "../../security/connected-accounts/provider-credentials.shared.schemas.js";
10
16
  export var CoreAuditableEventType;
11
17
  (function (CoreAuditableEventType) {
12
18
  // Authentication Events
@@ -106,6 +112,11 @@ export var CoreAuditableEventType;
106
112
  CoreAuditableEventType["ORGANIZATION_CREATED"] = "organization_created";
107
113
  // audit-event-unemitted: covered by the generic `RESOURCE_OPERATION_PERFORMED` row — see USER_CREATED.
108
114
  CoreAuditableEventType["ORGANIZATION_UPDATED"] = "organization_updated";
115
+ /**
116
+ * The engine assigned an organization its `type`, at boot, with no actor — see
117
+ * {@link AuditableEvent_Organization_TypeAssignedEventDataSchema} for why this is not an `ORGANIZATION_UPDATED`.
118
+ */
119
+ CoreAuditableEventType["ORGANIZATION_TYPE_ASSIGNED"] = "organization_type_assigned";
109
120
  CoreAuditableEventType["ORGANIZATION_DELETED"] = "organization_deleted";
110
121
  /** The tenant was MARKED for deletion (soft-delete). Its access dies here; its data dies at the purge. */
111
122
  CoreAuditableEventType["ORGANIZATION_DELETION_REQUESTED"] = "organization_deletion_requested";
@@ -168,11 +179,47 @@ export var CoreAuditableEventType;
168
179
  // SSO Authentication Events
169
180
  CoreAuditableEventType["USER_SSO_LOGIN"] = "user_sso_login";
170
181
  CoreAuditableEventType["USER_SSO_LOGIN_FAILED"] = "user_sso_login_failed";
182
+ /**
183
+ * A tenant that mandates its identity provider refused a local sign-in or an acquisition.
184
+ *
185
+ * Emitted since #1214/#1242 by `_enforceEnterpriseSsoOnLocalFirstFactor` (every local first-factor
186
+ * door), by the grace-login gate's three refusal clauses, and by the registration door's
187
+ * `blockForSSODomains` block. `enforcementPolicy` carries WHICH clause refused, because "the tenant
188
+ * allows no fallback" and "this account has spent its grace logins" have different remedies and a
189
+ * bare `sso_required` cannot tell them apart.
190
+ *
191
+ * ONE refusal site remains unwired and is tracked on #1242: the SOCIAL-vs-enforcement refusal in
192
+ * `oauth2-authentication.backend.service.ts`, whose sibling provider-restriction refusal ten lines
193
+ * below it already emits `logOAuth2ProviderBlocked`.
194
+ *
195
+ * Deliberately NOT emitted by the fail-closed refusals that share the same error — a Redis read
196
+ * that failed, the outer catch. Those are infrastructure outcomes, and recording them as an
197
+ * enforcement decision would assert a policy judgement nobody made.
198
+ */
171
199
  CoreAuditableEventType["USER_SSO_ENFORCEMENT_BLOCKED"] = "user_sso_enforcement_blocked";
172
200
  CoreAuditableEventType["USER_TOKEN_REFRESHED"] = "user_token_refreshed";
173
201
  // Organization Security Management Events
202
+ // audit-event-unemitted: covered by the generic `RESOURCE_OPERATION_PERFORMED` row — see USER_CREATED.
203
+ // Every SSO-config write is HIGH or CRITICAL (UPDATE, CREATE, and the three domain-ownership verbs),
204
+ // and its authentication-authority blocks carry `.isAuditEvidence()`, so the row names what changed
205
+ // and its before/after values. Its emit method had no caller and was removed (#591).
174
206
  CoreAuditableEventType["ORGANIZATION_SSO_CONFIGURATION_CHANGED"] = "organization_sso_configuration_changed";
207
+ /** A change to where an organization's security events are exported: enabled, or a field other than the destination edited. INFO. */
175
208
  CoreAuditableEventType["ORGANIZATION_SIEM_EXPORT_CONFIGURED"] = "organization_siem_export_configured";
209
+ /**
210
+ * Security-event export was turned OFF (#986). Its own kind, at CRITICAL, because the envelope's rule
211
+ * is that severity is a property of the event TYPE and danger rides the row's `riskLevel` — and
212
+ * `riskLevel` never reaches the SIEM. As one INFO kind, "export disabled" was filtered out by any
213
+ * organization that raised its severity minimum, on the one destination that most needed it.
214
+ * Delivered to the destination that STOPPED, as its last event (`dispatchToRetiredSiemSink`).
215
+ */
216
+ CoreAuditableEventType["ORGANIZATION_SIEM_EXPORT_DISABLED"] = "organization_siem_export_disabled";
217
+ /**
218
+ * Security-event export was re-pointed at another destination (#986). WARNING: a destination move is
219
+ * how an attacker who reached the tenant's administration diverts the trail. Delivered to BOTH the
220
+ * old and the new destination.
221
+ */
222
+ CoreAuditableEventType["ORGANIZATION_SIEM_EXPORT_DESTINATION_CHANGED"] = "organization_siem_export_destination_changed";
176
223
  // Organization Provider Credential Events
177
224
  //
178
225
  // An organization's OWN credential toward a third party. The four verbs are separate members
@@ -223,6 +270,7 @@ export var CoreAuditableEventType;
223
270
  CoreAuditableEventType["ORGANIZATION_PROVIDER_CONNECTION_GRANTED"] = "organization_provider_connection_granted";
224
271
  CoreAuditableEventType["USER_PROVIDER_CONNECTION_GRANTED"] = "user_provider_connection_granted";
225
272
  // Application Security Configuration Events
273
+ // Also records the effective authored audit-viewer admission policy, with independently typed before/after evidence.
226
274
  // The per-user-type authentication policy (`userTypes.<type>.auth` — MFA, password, and lockout
227
275
  // requirements) is STATIC application configuration authored in code and taken into effect at
228
276
  // backend startup. A change to it — most consequentially a WEAKENING such as turning MFA off — is
@@ -245,9 +293,17 @@ export var CoreAuditableEventType;
245
293
  // SCIM Directory Provisioning Events
246
294
  // audit-event-unemitted: covered by the generic `RESOURCE_OPERATION_PERFORMED` row — see USER_CREATED.
247
295
  CoreAuditableEventType["SCIM_TOKEN_CREATED"] = "scim_token_created";
296
+ // audit-event-unemitted: covered by the generic `RESOURCE_OPERATION_PERFORMED` row — see USER_CREATED.
297
+ // `revoke_token` is a HIGH operation and `isActive` carries `.isAuditEvidence()`. Its emit method had no
298
+ // caller and was removed (#591), so a requirement body must not demand this member.
248
299
  CoreAuditableEventType["SCIM_TOKEN_REVOKED"] = "scim_token_revoked";
300
+ // audit-event-unemitted: covered by the generic row — `generate_token` is HIGH. See SCIM_TOKEN_REVOKED.
249
301
  CoreAuditableEventType["SCIM_TOKEN_GENERATED"] = "scim_token_generated";
302
+ // audit-event-unemitted: covered by the generic row — `rotate_token` is HIGH. See SCIM_TOKEN_REVOKED.
250
303
  CoreAuditableEventType["SCIM_TOKEN_ROTATED"] = "scim_token_rotated";
304
+ // audit-event-unemitted: covered by the generic `RESOURCE_OPERATION_PERFORMED` row — see USER_CREATED.
305
+ // The provisioning-config UPDATE is HIGH and `autoCreateUsers`, `autoDeactivateUsers`, `defaultRole`,
306
+ // `organizationUnitMapping` and `defaultUnitRole` carry `.isAuditEvidence()`. Emit method removed (#591).
251
307
  CoreAuditableEventType["SCIM_PROVISIONING_CONFIG_UPDATED"] = "scim_provisioning_config_updated";
252
308
  CoreAuditableEventType["SCIM_PROVISIONING_FAILED"] = "scim_provisioning_failed";
253
309
  CoreAuditableEventType["SCIM_USER_PROVISIONED"] = "scim_user_provisioned";
@@ -329,6 +385,15 @@ export var CoreAuditableEventType;
329
385
  CoreAuditableEventType["FILE_UPLOAD_GRANT_ISSUED"] = "file_upload_grant_issued";
330
386
  CoreAuditableEventType["FILE_UPLOAD_GRANT_REDEEMED"] = "file_upload_grant_redeemed";
331
387
  CoreAuditableEventType["FILE_UPLOAD_GRANT_REVOKED"] = "file_upload_grant_revoked";
388
+ /**
389
+ * File share links (#1567). A share is a bearer link that serves ONE file to whoever holds it, with no
390
+ * session at all — the widest disclosure the file plane can make, so minting one is audited like a
391
+ * grant. `ISSUED` carries the file, its owning record/field binding, the expiry and the use budget —
392
+ * never the token value. `REVOKED` is "stop sharing this file" (`DELETE /files/:fileId/shares`) and
393
+ * carries how many live links it ended; a revocation that ended none records nothing.
394
+ */
395
+ CoreAuditableEventType["FILE_SHARE_LINK_ISSUED"] = "file_share_link_issued";
396
+ CoreAuditableEventType["FILE_SHARE_LINKS_REVOKED"] = "file_share_links_revoked";
332
397
  // File content-inspection outcomes (#506)
333
398
  /**
334
399
  * A scanner concluded that an uploaded file is INFECTED, and the file was quarantined.
@@ -424,6 +489,27 @@ export var CoreAuditableEventType;
424
489
  CoreAuditableEventType["RESOURCE_OPERATION_DENIED"] = "resource_operation_denied";
425
490
  CoreAuditableEventType["CROSS_TENANT_ADMINISTRATIVE_ACCESS"] = "cross_tenant_administrative_access";
426
491
  CoreAuditableEventType["PLATFORM_ACCESS_GRANT_LIFECYCLE"] = "platform_access_grant_lifecycle";
492
+ /**
493
+ * A remote partition of a system of record was assigned to, moved between, or removed from an
494
+ * organization unit.
495
+ *
496
+ * ONE event for the whole life of the edge, with a {@link SystemOfRecordPartitionAssignmentTransition}
497
+ * field — the `platformAccessGrants` shape rather than three event types. Three types would put the
498
+ * same row's timeline in three buckets a reviewer has to reassemble, and the questions an auditor
499
+ * actually asks ("who has been able to see the German company, and since when?") are answered by
500
+ * reading one bucket in order.
501
+ *
502
+ * ## Why this exists beside the automatic row
503
+ *
504
+ * All three write verbs are HIGH, which is inside `AUTOMATIC_AUDIT_RISK_FLOOR`, so
505
+ * `RESOURCE_OPERATION_PERFORMED` already fires for each. What that row cannot carry is the thing a
506
+ * reviewer needs: which unit, and — on a move — which unit it was BEFORE. A generic operation row
507
+ * says an assignment changed; this one says what it changed from and to.
508
+ *
509
+ * assurance-control: WILDO.ACCESS.LEAST_PRIVILEGE — the reach of each remote partition is recorded.
510
+ * assurance-control: WILDO.ACCESS.PRIVILEGE_EVIDENCE — evidence of the full life of that reach.
511
+ */
512
+ CoreAuditableEventType["SYSTEM_OF_RECORD_PARTITION_ASSIGNMENT_LIFECYCLE"] = "system_of_record_partition_assignment_lifecycle";
427
513
  /**
428
514
  * An operator enumerated an APPLICATION-WIDE directory — a collection read that is deliberately
429
515
  * not confined to any one tenant.
@@ -481,6 +567,8 @@ export var CoreAuditableEventType;
481
567
  // is more sensitive than a read, so it is audited as its own distinct event
482
568
  // rather than folded into SYSTEM_CONTEXT_READ.
483
569
  CoreAuditableEventType["SYSTEM_CONTEXT_WRITE"] = "system_context_write";
570
+ /** Platform owner publication of application/service configuration; safe field names, caller and outcome only. */
571
+ CoreAuditableEventType["PLATFORM_CONFIGURATION_PUBLICATION"] = "platform_configuration_publication";
484
572
  // Retained-Data (Impersonalization) Access Events
485
573
  // Emitted when a privileged SEE-THROUGH read reveals RETAINED (impersonalized-and-retained) records
486
574
  // that the default retention hide-predicate keeps hidden. SYSTEM_CONTEXT_READ names only the RUNTIME
@@ -497,6 +585,28 @@ export var CoreAuditableEventType;
497
585
  // and what was in it?". The four routed export operations this capability replaced emitted
498
586
  // NOTHING at all, which is the gap this closes. Classified DATA_ACCESS / WARNING: an authorized
499
587
  // but maximally-sensitive disclosure, not an anomaly.
588
+ // A person MET a governed document — was shown a notice, acknowledged one, accepted terms,
589
+ // gave or withdrew a consent — and WHICH RELEASE they met (issue #54).
590
+ //
591
+ // The identity is the point. `documentRef` + `releaseId` + `releaseVersion` names a file in a
592
+ // commit, so a reviewer asking "what exactly did this person accept" reads the terms as they
593
+ // stood rather than as they stand now. Nothing here is digest-sealed: the previous lane's
594
+ // interaction RECEIPTS were removed with the rest of the sealed publication machine on
595
+ // 2026-08-28, and `.claude/rules/one-source-of-truth.md` Rule 0 keeps none of it.
596
+ //
597
+ // Classified USER_LIFECYCLE / INFO, beside USER_REGISTERED, because it records a change in the
598
+ // person's relationship with the OPERATOR rather than a read of data or an access decision.
599
+ // INFO because recording an acceptance is routine expected activity whose whole value is that the
600
+ // trail can be queried years later; an alarm on it would fire on every registration. What is NOT
601
+ // routine rides the payload instead — `releaseApprovalState` says whether anybody had approved
602
+ // the document at the moment a person was bound by it.
603
+ //
604
+ // assurance-control: WILDO.PRIVACY.CONSENT_RECORD — a person's decision about a governed document is
605
+ // recorded against the exact release version in force at that instant, together with the notice they
606
+ // were given before being asked (`acceptanceMode`) — or, when the surface declared none, an advisory
607
+ // saying so. It does NOT claim the document was SHOWN: only `EXPLICIT_AFTER_READING` presents it, and
608
+ // the other two modes link it (#1382).
609
+ CoreAuditableEventType["GOVERNED_DOCUMENT_INTERACTION_RECORDED"] = "governed_document_interaction_recorded";
500
610
  CoreAuditableEventType["SUBJECT_DATA_EXPORT"] = "subject_data_export";
501
611
  // A resource LISTING was exported to a file (CSV/JSON) by an operator. Distinct from
502
612
  // SUBJECT_DATA_EXPORT, which answers a data subject's own right over their own data: this one is
@@ -563,6 +673,21 @@ export var CoreAuditableEventType;
563
673
  // assurance-control: WILDO.AUDIT.ATTRIBUTION — an outbound call made on a user's behalf is
564
674
  // recorded with the real initiating user carried through whichever account it spent.
565
675
  CoreAuditableEventType["PROVIDER_OPERATION_CALL"] = "provider_operation_call";
676
+ // A signed-in person's BROWSER asked for a provider operation and the door REFUSED it (#367).
677
+ //
678
+ // A sibling of `PROVIDER_OPERATION_CALL`, not a failure case of it, because nothing was called: the
679
+ // refusal happens before any catalogue lookup, credential read or outbound request, so the call
680
+ // member's required `method`, `domain` and `classification` do not exist for it — an operation the
681
+ // application never declared browser-reachable may not even be in the catalogue. What it records is
682
+ // an ACCESS DECISION, which is the other half of "record access decisions" for this door, exactly as
683
+ // `RESOURCE_OPERATION_DENIED` is for the resource authorizer.
684
+ //
685
+ // Classified AUTHORIZATION / WARNING for that sibling's reason: a refusal is not routine traffic, and a
686
+ // run of them against one operation is a person probing what a browser can make the backend do.
687
+ //
688
+ // assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT — refusals at the browser door to a
689
+ // third-party operation are attributable and reviewable.
690
+ CoreAuditableEventType["PROVIDER_OPERATION_DENIED"] = "provider_operation_denied";
566
691
  // An AGENT reached an MCP server on somebody's behalf (#491).
567
692
  //
568
693
  // A sibling of `PROVIDER_OPERATION_CALL`, not a case of it, and the split is the same one that
@@ -736,6 +861,67 @@ export function describeAuditVocabulary(lead, meanings) {
736
861
  const legend = Object.entries(meanings).map(([value, words]) => `- \`${value}\`: ${words.meaning}`).join('\n');
737
862
  return `${lead}\n\nValues:\n${legend}`;
738
863
  }
864
+ /**
865
+ * Why the browser door to a provider operation refused a request (#367). A CLOSED vocabulary: the door
866
+ * resolves exactly one of these per refusal, in the order listed, and a reviewer groups by it.
867
+ *
868
+ * Deliberately NOT a reuse of {@link ResourceOperationDenialReason}. The two doors ask different
869
+ * questions of different declarations — that one checks an operation variant's roles and a row's scope,
870
+ * this one checks an application's browser-reachability policy and whose third-party account is named —
871
+ * and sharing members would make "insufficient roles" mean two things in one column.
872
+ */
873
+ /**
874
+ * What a provider operation's `requiredScopes` check concluded for one call (#979).
875
+ *
876
+ * Carried on {@link AuditableEvent_ProviderOperationCall_EventDataSchema} only when the operation declares required
877
+ * scopes; an operation declaring none carries no scope field at all, rather than a verdict about nothing.
878
+ */
879
+ export var ProviderOperationScopeCheck;
880
+ (function (ProviderOperationScopeCheck) {
881
+ /** The grant recorded its scopes and every required one is among them. The call proceeded. */
882
+ ProviderOperationScopeCheck["VERIFIED"] = "verified";
883
+ /**
884
+ * The spent credential records no granted scopes — a pasted key, the application's own credential, or a vendor
885
+ * that did not echo `scope`. The call proceeded UNCHECKED, and this row is what says so.
886
+ */
887
+ ProviderOperationScopeCheck["NOT_RECORDED"] = "not_recorded";
888
+ /** The grant recorded its scopes and lacks at least one required scope. The call was refused before any request. */
889
+ ProviderOperationScopeCheck["MISSING"] = "missing";
890
+ })(ProviderOperationScopeCheck || (ProviderOperationScopeCheck = {}));
891
+ export var ProviderOperationDenialReason;
892
+ (function (ProviderOperationDenialReason) {
893
+ /**
894
+ * The caller authenticated without a person — an application API key, a machine identity. This door
895
+ * exists for a signed-in person's browser, and the policy's roles and the target-authorization port
896
+ * both reason about a person; a backend caller has the executor and the typed client instead.
897
+ */
898
+ ProviderOperationDenialReason["MISSING_USER_SESSION"] = "missing_user_session";
899
+ /**
900
+ * The application's `providers.browserOperations` names no policy for this provider and operation.
901
+ * The fail-closed default: nothing is reachable from a browser unless declared. Also the answer for an
902
+ * operation that does not exist, so a refusal never reveals what a catalogue contains.
903
+ */
904
+ ProviderOperationDenialReason["NOT_BROWSER_REACHABLE"] = "not_browser_reachable";
905
+ /** The request names a connection shape — owner scope × delegation — the operation's policy does not admit. */
906
+ ProviderOperationDenialReason["CONNECTION_NOT_ADMITTED"] = "connection_not_admitted";
907
+ /**
908
+ * The policy declares roles and the target is the caller's OWN user account, over which nobody holds a
909
+ * role. A policy mistake rather than a caller's, recorded as its own reason so it is not read as a
910
+ * person lacking a role they could be granted.
911
+ */
912
+ ProviderOperationDenialReason["ROLES_NOT_APPLICABLE_TO_TARGET"] = "roles_not_applicable_to_target";
913
+ /**
914
+ * The target-authorization port refused: the caller named an organization they do not belong to
915
+ * organization-wide, or a user account that is not their own.
916
+ */
917
+ ProviderOperationDenialReason["TARGET_NOT_AUTHORIZED"] = "target_not_authorized";
918
+ /**
919
+ * The caller may act for the account, and holds none of the policy's roles — after hierarchy
920
+ * expansion, in the scope of that account. Checked AFTER {@link TARGET_NOT_AUTHORIZED}, so a person
921
+ * naming a tenant they do not belong to is recorded as that, not as a person short of a role.
922
+ */
923
+ ProviderOperationDenialReason["INSUFFICIENT_ROLES"] = "insufficient_roles";
924
+ })(ProviderOperationDenialReason || (ProviderOperationDenialReason = {}));
739
925
  /**
740
926
  * Why the authorizer refused an operation. A CLOSED vocabulary — the authorizer resolves exactly
741
927
  * one of these per refusal, and a SOC dashboard groups by it.
@@ -747,6 +933,20 @@ export function describeAuditVocabulary(lead, meanings) {
747
933
  */
748
934
  export var ResourceOperationDenialReason;
749
935
  (function (ResourceOperationDenialReason) {
936
+ /**
937
+ * The application requires consent purposes before it may be used
938
+ * (`compliance.serviceConsentRequirement`), and this person has not granted them (#534). The person is
939
+ * authenticated and may hold every role the operation needs; what is missing is their own decision.
940
+ * Distinct from every role/scope reason, because the remedy is the person's choice, not an administrator's.
941
+ */
942
+ ResourceOperationDenialReason["SERVICE_CONSENT_REQUIRED"] = "service_consent_required";
943
+ /**
944
+ * ONE operation declared the purpose its own processing rests on
945
+ * (`ResourceOperationConsentGateDeclaration`), and this person has not granted it (#1258 Step 3).
946
+ * Distinct from {@link SERVICE_CONSENT_REQUIRED}: only this operation was refused, never the whole
947
+ * application.
948
+ */
949
+ ResourceOperationDenialReason["CAPABILITY_CONSENT_REQUIRED"] = "capability_consent_required";
750
950
  /**
751
951
  * No initiator identity or roles on the execution context. Fail-closed: the authorizer refuses
752
952
  * rather than assuming an anonymous caller.
@@ -813,6 +1013,69 @@ export var ResourceOperationDenialReason;
813
1013
  * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT
814
1014
  */
815
1015
  ResourceOperationDenialReason["APPLICATION_WIDE_ELEVATION_MISSING"] = "application_wide_elevation_missing";
1016
+ /**
1017
+ * The caller tried to GRANT authority it does not itself hold — a privilege-escalation attempt,
1018
+ * refused by the role-ceiling gate (`assertRequestedRolesWithinCallerCeiling`).
1019
+ *
1020
+ * Its own member rather than {@link INSUFFICIENT_ROLES}, for the same reason
1021
+ * {@link APPLICATION_WIDE_ELEVATION_MISSING} is: the caller PASSED the operation's role check —
1022
+ * an `ORG_ADMIN` really may update a membership — and was refused on the CONTENT of the write.
1023
+ * Folding the two together would make the single refusal an access review most wants to see
1024
+ * indistinguishable from the everyday "you are not an admin", and a reviewer asking "has anyone
1025
+ * tried to escalate?" would have nothing to count.
1026
+ *
1027
+ * Uniquely among the members here, the row carries {@link
1028
+ * AuditableEvent_ResourceOperationDenied_EventDataSchema.escalatedRoles} — the roles that were
1029
+ * actually asked for. `requiredRoles` and `initiatorRoles` cannot express it: neither is the set
1030
+ * the caller tried to confer on somebody else.
1031
+ *
1032
+ * Raised OUTSIDE the authorization phase — the gate runs in custom-implementation prefixes, after
1033
+ * the authorizer has returned — so it does not reach `classifyAuthorizationDenial`. The gate emits
1034
+ * it directly through the same chokepoint, keeping the dedup window, the logarithmic escalation
1035
+ * ladder and the loss counters.
1036
+ *
1037
+ * assurance-control: WILDO.ACCESS.LEAST_PRIVILEGE — an attempt to grant authority the caller does
1038
+ * not hold is refused AND recorded.
1039
+ * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT
1040
+ */
1041
+ ResourceOperationDenialReason["ROLE_CEILING_EXCEEDED"] = "role_ceiling_exceeded";
1042
+ /**
1043
+ * A high-impact action was refused because the operation ITSELF demands a fresh re-proof of
1044
+ * identity (`requiresStepUpAuthentication`), and the caller presented none.
1045
+ *
1046
+ * The caller is authenticated and may hold every role the operation needs. What is missing is a
1047
+ * ceremony, so this belongs with {@link SERVICE_CONSENT_REQUIRED} rather than with
1048
+ * {@link INSUFFICIENT_ROLES}: the remedy is an act by the same person, not a grant by an
1049
+ * administrator.
1050
+ *
1051
+ * Paired with {@link STEP_UP_REQUIRED_BY_FRESHNESS} for the reason the two consent members are
1052
+ * paired — the missing thing is the same and the party that DEMANDED it is not, and the two read
1053
+ * very differently in a review. A burst of these is somebody repeatedly attempting an action the
1054
+ * application has declared dangerous; a burst of the other is sessions ageing out.
1055
+ *
1056
+ * Raised OUTSIDE the authorization phase, like {@link ROLE_CEILING_EXCEEDED}: the step-up gate is
1057
+ * a private check at the services-registry tier that throws without passing through the
1058
+ * authorizer, so it reaches no `classifyAuthorizationDenial`. It emits through the same chokepoint
1059
+ * instead, keeping the dedup window, the escalation ladder and the loss counters.
1060
+ *
1061
+ * assurance-control: WILDO.IDENTITY.STEP_UP_AUTHENTICATION — a refused high-impact action is
1062
+ * recorded, not merely refused.
1063
+ * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT
1064
+ */
1065
+ ResourceOperationDenialReason["STEP_UP_REQUIRED_BY_OPERATION"] = "step_up_required_by_operation";
1066
+ /**
1067
+ * The same refusal, demanded by the USER TYPE's freshness policy (`UserTypeAuthPolicy.stepUpAuth`)
1068
+ * rather than by the operation: the caller's authentication is older than the declared maximum age.
1069
+ *
1070
+ * Distinct from {@link STEP_UP_REQUIRED_BY_OPERATION} because the two send a reviewer to different
1071
+ * places — one to the operation's own declaration, the other to the user-type policy — and because
1072
+ * only this one varies with how long a person has been signed in. The refusal's own error context
1073
+ * already carried the distinction before either was audited; this keeps it in the durable record.
1074
+ *
1075
+ * assurance-control: WILDO.IDENTITY.STEP_UP_AUTHENTICATION
1076
+ * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT
1077
+ */
1078
+ ResourceOperationDenialReason["STEP_UP_REQUIRED_BY_FRESHNESS"] = "step_up_required_by_freshness";
816
1079
  })(ResourceOperationDenialReason || (ResourceOperationDenialReason = {}));
817
1080
  /** SSO configuration change type. */
818
1081
  export var SsoConfigChangeType;
@@ -880,7 +1143,32 @@ export var MachineAccessOperation;
880
1143
  MachineAccessOperation["A2A_TASKS_LIST"] = "a2a_tasks_list";
881
1144
  MachineAccessOperation["MCP_TOOLS_LIST"] = "mcp_tools_list";
882
1145
  MachineAccessOperation["MCP_TOOLS_CALL"] = "mcp_tools_call";
1146
+ /**
1147
+ * A MACHINE principal's READ / LIST / SEARCH on a DECLARED cross-tenant REST door
1148
+ * (`admitsCrossTenantPlatformAdministration`) — today the application audit-log door.
1149
+ *
1150
+ * Deliberately NOT every REST call a machine makes: the plain resource API is audited per operation
1151
+ * through `RESOURCE_OPERATION_PERFORMED`, which carries `machineCredentialId`. These three exist because a
1152
+ * declared crossing's only other row, `CROSS_TENANT_ADMINISTRATIVE_ACCESS`, is written per TENANT REACHED —
1153
+ * so a machine read returning only application-wide rows, or nothing, left no row naming who read (#297).
1154
+ * One member per verb, like the A2A task members: a LIST enumerates, a READ fetches a row somebody named.
1155
+ */
1156
+ MachineAccessOperation["API_READ"] = "api_read";
1157
+ MachineAccessOperation["API_LIST"] = "api_list";
1158
+ MachineAccessOperation["API_SEARCH"] = "api_search";
883
1159
  })(MachineAccessOperation || (MachineAccessOperation = {}));
1160
+ const API_READ_MACHINE_ACCESS_OPERATIONS = {
1161
+ [CoreResourceOperation.READ]: MachineAccessOperation.API_READ,
1162
+ [CoreResourceOperation.LIST]: MachineAccessOperation.API_LIST,
1163
+ [CoreResourceOperation.SEARCH]: MachineAccessOperation.API_SEARCH,
1164
+ };
1165
+ /**
1166
+ * The MACHINE_ACCESS identifier for an executed REST read, or `undefined` for any verb that is not one.
1167
+ * The one place the core-operation → audit-vocabulary mapping lives, so a recorder never spells it.
1168
+ */
1169
+ export function resolveApiReadMachineAccessOperation(operation) {
1170
+ return operation === undefined ? undefined : API_READ_MACHINE_ACCESS_OPERATIONS[operation];
1171
+ }
884
1172
  export const AuditableEventTypeSchema = z.union([
885
1173
  z.enum(CoreAuditableEventType),
886
1174
  z.string()
@@ -1011,9 +1299,9 @@ export const AuditableEvent_MachineAccess_EventDataSchema = z.object({
1011
1299
  * single authorization axis; recorded so a SIEM sees the authority the access ran under.
1012
1300
  */
1013
1301
  roles: z.array(z.string()).optional(),
1014
- /** ResourceServerKind of the surface accessed: `a2a` | `mcp`. */
1302
+ /** ResourceServerKind of the surface accessed: `a2a` | `mcp` | `api` (a declared cross-tenant REST read). */
1015
1303
  resourceServer: z.string(),
1016
- /** The resource-server audience / agent endpoint / systemRef the token was bound to and hit. */
1304
+ /** A2A/MCP: the resource-server audience / agent endpoint / systemRef hit. `api`: the resource type read. */
1017
1305
  resourceIdentifier: z.string().optional(),
1018
1306
  /** Normalised MachineAccessOperation value (e.g. `a2a_message_send`, `mcp_tools_call`). */
1019
1307
  operationIdentifier: z.string(),
@@ -1263,6 +1551,15 @@ export const AuditableEvent_OrganizationMember_RoleChangedEventDataSchema = z.ob
1263
1551
  /** Which write path produced the change — the operation identifier (`create`, `update`, …). */
1264
1552
  operation: z.string(),
1265
1553
  changedBy: z.string(),
1554
+ /**
1555
+ * The actor's stated reason, on the paths that REQUIRE one — today `grantOwnership`, the
1556
+ * platform-tier repair door that crosses into a tenant the caller is not a member of. There the
1557
+ * justification is the whole control: no downstream check can second-guess an operator acting
1558
+ * outside the tenant, so the record of WHY is what makes the crossing accountable. It was required
1559
+ * on the request and discarded at the service boundary until #593. Absent on `create` / `update`,
1560
+ * which collect none. Bounded by the request DTO (1000 characters).
1561
+ */
1562
+ justification: z.string().optional(),
1266
1563
  });
1267
1564
  /**
1268
1565
  * Per-unit role assignment on an `ORGANIZATION_UNIT_MEMBERS` row.
@@ -1470,6 +1767,104 @@ export const AuditableEvent_Organization_UpdatedEventDataSchema = z.object({
1470
1767
  changes: z.record(z.string(), z.any()),
1471
1768
  updatedBy: z.string(),
1472
1769
  });
1770
+ /**
1771
+ * WHY an organization was assigned the type it now carries, when no person chose it.
1772
+ *
1773
+ * A closed vocabulary, deliberately named rather than implied: the assignment is only defensible because the answer
1774
+ * was DERIVED, and a reader of the audit row must be able to see which derivation produced it without re-deriving
1775
+ * the application's configuration — or its membership rows — as they stood at that boot. The two members answer
1776
+ * from different evidence, which is exactly why a single "derived" value would not do: one is a fact about the
1777
+ * DECLARATION and stays true however the tenant changes, the other is a fact about the ORGANIZATION on one day.
1778
+ */
1779
+ export var OrganizationTypeAssignmentBasis;
1780
+ (function (OrganizationTypeAssignmentBasis) {
1781
+ /**
1782
+ * The application declares exactly one organization type, so an organization whose type resolves to nothing —
1783
+ * none stored, or one the declaration no longer carries — can only be that type: it is the only policy the
1784
+ * application has. Nothing is guessed, and nothing about the organization was read.
1785
+ */
1786
+ OrganizationTypeAssignmentBasis["SOLE_DECLARED_TYPE"] = "sole_declared_type";
1787
+ /**
1788
+ * The application declares several organization types, and exactly one of them covers every user type held by
1789
+ * this organization's own members — so the others are types this organization cannot be. Nothing is guessed: it
1790
+ * is the coverage test the first-administrator organization's type is already derived by, asked of the members.
1791
+ *
1792
+ * Narrower than {@link SOLE_DECLARED_TYPE} in what it proves. It reports the answer for the membership as it
1793
+ * stood at that boot; an organization whose members later span two declared types would not derive again. That is
1794
+ * why the row records the basis rather than only the outcome — a reviewer asking "could this have been wrong?"
1795
+ * needs to know which question was answered.
1796
+ */
1797
+ OrganizationTypeAssignmentBasis["MEMBER_USER_TYPES"] = "member_user_types";
1798
+ /**
1799
+ * An operator promoted this organization to the one that OWNS the application, through
1800
+ * `organizations.promoteToOwnerOrganization` (#1054).
1801
+ *
1802
+ * The odd one out of the three, and deliberately kept in the same event rather than given its own.
1803
+ * What the event records is "this organization's `type` changed, and here is what decided it" — true
1804
+ * of all three — and an access reviewer asking "how did this tenant come to be typed this way?" must
1805
+ * find one row wherever the answer lies, not two events they have to know to look for separately.
1806
+ *
1807
+ * What differs is everything a derivation does not have: there IS an actor (the audit row carries
1808
+ * them, and {@link AuditableEvent_Organization_TypeAssignedEventData.justification} carries their
1809
+ * stated reason), the previous type is always present, and the decision was a human's. A row
1810
+ * carrying this basis is the only one on which `justification` may appear — the other two are
1811
+ * derivations, and a derivation has nothing to justify.
1812
+ */
1813
+ OrganizationTypeAssignmentBasis["OPERATOR_PROMOTION"] = "operator_promotion";
1814
+ })(OrganizationTypeAssignmentBasis || (OrganizationTypeAssignmentBasis = {}));
1815
+ /**
1816
+ * An organization whose type resolved to nothing — none stored, or one no longer declared — was assigned one by the
1817
+ * engine at boot.
1818
+ *
1819
+ * ## Why this is its own event rather than an `ORGANIZATION_UPDATED`
1820
+ *
1821
+ * An organization's type is not a label. It decides which user types its members hold, which authentication
1822
+ * methods they may use, and which step-up policy applies to them — so assigning one changes what every member of
1823
+ * that tenant can do at sign-in. Folded into a generic `changes` map it would be an authentication-relevant
1824
+ * change with no actor, filed where an access review does not look.
1825
+ *
1826
+ * ## Who the actor is, per basis
1827
+ *
1828
+ * For the two DERIVATIONS there is none, and that is the point: organizations minted before the type was required
1829
+ * (the platform's own seeds, the first-administrator bootstrap) were typeless, and the engine repairs them before
1830
+ * the first read that would refuse them. `basis` is what makes that repair legible as a derivation instead of a
1831
+ * write nobody made, and those rows carry no `userId` because the application-scope repair has no initiator.
1832
+ *
1833
+ * For {@link OrganizationTypeAssignmentBasis.OPERATOR_PROMOTION} there IS one. It rides where every other
1834
+ * operator action's actor does — on the audit ROW, resolved from the execution context — rather than as a field
1835
+ * here, so an access review reads it the same way it reads a suspension or an ownership grant. What this schema
1836
+ * adds for that basis is the one thing the row cannot carry: the operator's stated REASON (`RESOURCE_OPERATION_PERFORMED`
1837
+ * carries no request payload, which is how `grantOwnership`'s required justification went unrecorded for months — #593).
1838
+ *
1839
+ * assurance-control: WILDO.AUDIT.SECURITY_EVENT — an authentication-relevant attribute of a tenant changed, and the
1840
+ * record says what decided it and, when a person did, who and why.
1841
+ */
1842
+ export const AuditableEvent_Organization_TypeAssignedEventDataSchema = z.object({
1843
+ eventType: z.literal(CoreAuditableEventType.ORGANIZATION_TYPE_ASSIGNED),
1844
+ organizationId: z.string(),
1845
+ /** The declared organization type now stored on the row. */
1846
+ organizationType: z.string(),
1847
+ /**
1848
+ * The type the row stored before, when it stored one the configuration no longer declares. Absent for an organization
1849
+ * that had no type. Recorded because this assignment REPLACES a value someone once chose: a type removed from the
1850
+ * declaration by mistake is recovered from exactly this field.
1851
+ */
1852
+ previousType: z.string().optional(),
1853
+ basis: z.enum(OrganizationTypeAssignmentBasis),
1854
+ /**
1855
+ * The operator's stated reason, on the ONE basis that has a person behind it —
1856
+ * {@link OrganizationTypeAssignmentBasis.OPERATOR_PROMOTION}, whose `requestDto` requires it.
1857
+ *
1858
+ * Optional on the schema because the two derivation bases have nothing to justify: a required field
1859
+ * would force the boot repair to invent a sentence, and an invented justification is worse than an
1860
+ * absent one — it reads as a decision somebody made.
1861
+ *
1862
+ * Recorded HERE rather than left on the request because a required field nothing stores is a promise
1863
+ * nobody keeps, and `RESOURCE_OPERATION_PERFORMED` (which the CRITICAL promotion also emits) carries
1864
+ * no request payload.
1865
+ */
1866
+ justification: z.string().optional(),
1867
+ });
1473
1868
  export const AuditableEvent_Organization_DeletedEventDataSchema = z.object({
1474
1869
  eventType: z.literal(CoreAuditableEventType.ORGANIZATION_DELETED),
1475
1870
  organizationId: z.string(),
@@ -1618,13 +2013,14 @@ export const AuditableEvent_Organization_ActivatedEventDataSchema = z.object({
1618
2013
  */
1619
2014
  export const ApplicationAuthPolicySnapshotSchema = z.record(z.string(), z.unknown());
1620
2015
  /**
1621
- * The application's authored authentication policy changed between two boots.
2016
+ * The application's authored authentication or audit-viewer admission policy changed between two boots.
1622
2017
  *
1623
2018
  * The per-user-type authentication policy (`userTypes.<type>.auth` — MFA, password, and lockout
1624
2019
  * requirements) is STATIC application configuration authored in code and taken into effect at backend
1625
2020
  * startup. A change to it — most consequentially a WEAKENING such as turning MFA off — is a
1626
2021
  * security-posture decision that, before this event, left no product-side record: only the source
1627
- * history showed it. This event closes that gap.
2022
+ * history showed it. This event closes that gap. The effective `auditTrail.applicationReadAccess`
2023
+ * posture is recorded separately from the user-type snapshots and compared independently.
1628
2024
  *
1629
2025
  * It is emitted at boot, by the system, when the resolved policy snapshot differs from the last one
1630
2026
  * recorded in the trail (detected by comparing against the most recent event of this type for the
@@ -1642,28 +2038,15 @@ export const ApplicationAuthPolicySnapshotSchema = z.record(z.string(), z.unknow
1642
2038
  */
1643
2039
  export const AuditableEvent_ApplicationAuthPolicyChanged_EventDataSchema = z.object({
1644
2040
  eventType: z.literal(CoreAuditableEventType.APPLICATION_AUTH_POLICY_CHANGED),
1645
- /*
1646
- * NO `applicationId` HERE — removed 2026-09-09, and the removal is the fix for a real defect.
1647
- *
1648
- * The row this payload rides on ALREADY carries `applicationId` as its scope column, injected by
1649
- * the repository's write-path enrichment from the writer's own execution context. A second copy in
1650
- * the payload could only ever agree with it or contradict it, and it contradicted it: the boot
1651
- * emitter had no application id to hand — `appIdentity.applicationId` is merged in for the FRONTEND
1652
- * projection only — so it passed `appIdentity.appName`, the SLUG, into both. Measured on the
1653
- * dogfood trail: 2,175 rows carried the correct id and this event's one row carried `wonder-todos`,
1654
- * which made it reachable through no API, on the door built for exactly that population (#317).
1655
- *
1656
- * Dropping the field is what makes the two-copies question unaskable, rather than answering it
1657
- * again per emitter. Nothing read it: no SIEM projection, no OCSF mapping, no consumer. Old stored
1658
- * rows keep parsing — `z.object` strips an unknown key rather than refusing it — so the change is
1659
- * a shrink with no migration.
1660
- */
1661
- /** Which user types' policies differed from the previously-recorded snapshot. Sorted, non-empty. */
2041
+ // The owning application identity lives on the audit row, resolved by the shared writer before
2042
+ // database/SIEM/immutable-sink fanout. It is not duplicated inside this policy payload.
2043
+ /** Which user types' policies differed. Sorted; empty when only the audit-viewer access posture changed. */
1662
2044
  changedUserTypes: z.array(z.string()),
1663
2045
  /**
1664
2046
  * A stable digest of the `after` snapshot. Boot change-detection compares the current digest
1665
2047
  * against the digest carried by the most recent recorded event of this type; equal digests are the
1666
- * signal to emit nothing, so the trail carries one row per genuine change, not one per boot.
2048
+ * authentication-policy comparison. Audit-viewer access is compared independently; equal digests
2049
+ * alone do not suppress an access-policy change.
1667
2050
  */
1668
2051
  snapshotDigest: z.string(),
1669
2052
  /**
@@ -1673,6 +2056,15 @@ export const AuditableEvent_ApplicationAuthPolicyChanged_EventDataSchema = z.obj
1673
2056
  before: z.record(z.string(), ApplicationAuthPolicySnapshotSchema).nullable(),
1674
2057
  /** The per-user-type policy snapshot that took effect at this boot. Keys are user-type identifiers. */
1675
2058
  after: z.record(z.string(), ApplicationAuthPolicySnapshotSchema),
2059
+ /**
2060
+ * Effective audit-viewer access posture, separately typed from authentication user types.
2061
+ * Absent on historical events predating this evidence. A null before means no prior recorded
2062
+ * policy is known, not that an earlier deployment was strict or role based.
2063
+ */
2064
+ auditApplicationReadAccess: z.object({
2065
+ before: z.enum(AuditApplicationReadAccess).nullable(),
2066
+ after: z.enum(AuditApplicationReadAccess),
2067
+ }).optional(),
1676
2068
  });
1677
2069
  /**
1678
2070
  * A governed lifecycle transition changed a subject's `status`.
@@ -1747,6 +2139,7 @@ export const AuditableEvent_OrganizationUnit_UpdatedEventDataSchema = z.object({
1747
2139
  });
1748
2140
  // SSO Authentication Event Data Schemas
1749
2141
  export const AuditableEvent_User_SSOLoginEventDataSchema = z.object({
2142
+ assurance: ExternalAssuranceAssessmentSchema.optional(),
1750
2143
  eventType: z.literal(CoreAuditableEventType.USER_SSO_LOGIN),
1751
2144
  userId: z.string(),
1752
2145
  email: z.email(),
@@ -1787,6 +2180,7 @@ export const AuditableEvent_User_SSOLoginEventDataSchema = z.object({
1787
2180
  }
1788
2181
  });
1789
2182
  export const AuditableEvent_User_SSOLoginFailedEventDataSchema = z.object({
2183
+ assurance: ExternalAssuranceAssessmentSchema.optional(),
1790
2184
  eventType: z.literal(CoreAuditableEventType.USER_SSO_LOGIN_FAILED),
1791
2185
  email: z.email().optional(),
1792
2186
  providerRef: z.string().optional(),
@@ -1799,15 +2193,46 @@ export const AuditableEvent_User_SSOLoginFailedEventDataSchema = z.object({
1799
2193
  ipAddress: z.string(),
1800
2194
  userAgent: z.string(),
1801
2195
  });
2196
+ /**
2197
+ * A sign-in was refused because the claiming scope requires SSO (#1242).
2198
+ *
2199
+ * `organizationId` was REQUIRED here, and that is what made the event unemittable at half its own
2200
+ * refusal sites: `enforcement.requireSSO` lives on the POLYMORPHIC SSO config, so an APPLICATION-scope
2201
+ * policy refuses sign-ins for the application itself and there is no organization to name. Requiring
2202
+ * one would have left exactly those refusals with no trail — the outcome this CRITICAL event exists to
2203
+ * prevent. It now carries either scope and refuses anything but exactly one, following
2204
+ * `EMERGENCY_ACCESS_USED`, which was widened for the same reason on the same config.
2205
+ *
2206
+ * `attemptedProviderRef` and `attemptedConnectionType` are OPTIONAL because two of the four refusal
2207
+ * sites have no attempted provider at all: a password sign-in and a registration are refused BECAUSE
2208
+ * no SSO was attempted. Requiring them would have forced a placeholder, and a placeholder in an
2209
+ * audit row is worse than an absent field — it is a fact nobody can distinguish from a real one.
2210
+ */
1802
2211
  export const AuditableEvent_User_SSOEnforcementBlockedEventDataSchema = z.object({
1803
2212
  eventType: z.literal(CoreAuditableEventType.USER_SSO_ENFORCEMENT_BLOCKED),
1804
2213
  email: z.email(),
1805
- attemptedProviderRef: z.string(),
1806
- attemptedConnectionType: z.enum(SsoConnectionType),
1807
- organizationId: z.string(),
2214
+ attemptedProviderRef: z.string().optional(),
2215
+ attemptedConnectionType: z.enum(SsoConnectionType).optional(),
2216
+ scopeType: z.enum(AuthScopeType),
2217
+ organizationId: z.string().optional(),
2218
+ applicationId: z.string().optional(),
1808
2219
  enforcementPolicy: z.string(),
1809
2220
  ipAddress: z.string(),
1810
2221
  userAgent: z.string(),
2222
+ }).superRefine((event, ctx) => {
2223
+ const hasOrganizationScope = event.scopeType === AuthScopeType.ORGANIZATION
2224
+ && event.organizationId !== undefined
2225
+ && event.applicationId === undefined;
2226
+ const hasApplicationScope = event.scopeType === AuthScopeType.APPLICATION
2227
+ && event.applicationId !== undefined
2228
+ && event.organizationId === undefined;
2229
+ if (!hasOrganizationScope && !hasApplicationScope) {
2230
+ ctx.addIssue({
2231
+ code: 'custom',
2232
+ path: ['scopeType'],
2233
+ message: 'SSO-enforcement-blocked events require exactly one explicit tenant scope',
2234
+ });
2235
+ }
1811
2236
  });
1812
2237
  export const AuditableEvent_User_TokenRefreshedEventDataSchema = z.object({
1813
2238
  eventType: z.literal(CoreAuditableEventType.USER_TOKEN_REFRESHED),
@@ -1825,13 +2250,33 @@ export const AuditableEvent_Organization_SSOConfigurationChangedEventDataSchema
1825
2250
  affectedProviderRef: z.string().optional(),
1826
2251
  changes: z.record(z.string(), z.any()).optional(),
1827
2252
  });
1828
- export const AuditableEvent_Organization_SIEMExportConfiguredEventDataSchema = z.object({
1829
- eventType: z.literal(CoreAuditableEventType.ORGANIZATION_SIEM_EXPORT_CONFIGURED),
2253
+ /**
2254
+ * The fields every SIEM export-configuration event carries; three kinds share them (#986) and differ
2255
+ * only in what they SAY happened, which is what a SIEM rule keys on.
2256
+ */
2257
+ const SIEM_EXPORT_CONFIGURATION_EVENT_FIELDS = {
1830
2258
  organizationId: z.string(),
1831
2259
  changedBy: z.string(),
1832
2260
  changeType: z.enum(SiemExportChangeType),
2261
+ /** The destination HOST only — a collector secret can live in the URL path, and this row is immutable. */
1833
2262
  webhookUrlDomain: z.string().optional(),
1834
2263
  eventFormatConfigured: z.string().optional(),
2264
+ /** NAMES of the configuration fields the write changed; never their values (the credential is among them). */
2265
+ changedFields: z.array(z.string()).optional(),
2266
+ };
2267
+ export const AuditableEvent_Organization_SIEMExportConfiguredEventDataSchema = z.object({
2268
+ eventType: z.literal(CoreAuditableEventType.ORGANIZATION_SIEM_EXPORT_CONFIGURED),
2269
+ ...SIEM_EXPORT_CONFIGURATION_EVENT_FIELDS,
2270
+ });
2271
+ /** Export turned OFF (#986). Same fields; its own kind so it classifies CRITICAL. */
2272
+ export const AuditableEvent_Organization_SIEMExportDisabledEventDataSchema = z.object({
2273
+ eventType: z.literal(CoreAuditableEventType.ORGANIZATION_SIEM_EXPORT_DISABLED),
2274
+ ...SIEM_EXPORT_CONFIGURATION_EVENT_FIELDS,
2275
+ });
2276
+ /** Export re-pointed at another destination (#986). Same fields; its own kind so it classifies WARNING. */
2277
+ export const AuditableEvent_Organization_SIEMExportDestinationChangedEventDataSchema = z.object({
2278
+ eventType: z.literal(CoreAuditableEventType.ORGANIZATION_SIEM_EXPORT_DESTINATION_CHANGED),
2279
+ ...SIEM_EXPORT_CONFIGURATION_EVENT_FIELDS,
1835
2280
  });
1836
2281
  // Organization Provider Credential Event Data Schemas
1837
2282
  //
@@ -1903,6 +2348,13 @@ export const AuditableEvent_OrganizationProviderCredential_UsedEventDataSchema =
1903
2348
  resolvedFrom: z.enum(ProviderCredentialResolutionSource),
1904
2349
  /** Absent when `resolvedFrom` is the deployment environment — there is no row to name. */
1905
2350
  credentialId: z.string().optional(),
2351
+ /**
2352
+ * WHOSE credential was spent: the member who set it. For a USER-delegated organization connection
2353
+ * that is the person whose own vendor account every member's call acts through — the vendor
2354
+ * attributes the act to them, so the trail must too (decision on wildo-ai/wildo-ai#18). Absent for
2355
+ * a deployment-environment resolution, and for a row set with no recorded member.
2356
+ */
2357
+ credentialSetByUserId: z.string().optional(),
1906
2358
  });
1907
2359
  /**
1908
2360
  * The grant ended — by the tenant removing it, or by the tenant itself being purged.
@@ -1921,6 +2373,20 @@ export const AuditableEvent_OrganizationProviderCredential_DeletedEventDataSchem
1921
2373
  deletedBy: z.string().optional(),
1922
2374
  credentialId: z.string(),
1923
2375
  reason: z.enum(ProviderCredentialDeletionReason),
2376
+ /**
2377
+ * What telling the VENDOR achieved, when the delete ended an OAuth2 grant (#545).
2378
+ *
2379
+ * Deleting our copy stops the application using a token; it does not end the grant at the vendor,
2380
+ * and a refresh token frequently never expires on its own. So this field is the difference between
2381
+ * a trail that says "we deleted our copy" and one that says whether the person's access was
2382
+ * actually withdrawn where it lives.
2383
+ *
2384
+ * ABSENT rather than a member when nothing was attempted — an organization purge through the raw
2385
+ * repository has no token to hand back. `not_declared` is the ordinary answer for a vendor whose
2386
+ * revocation is not RFC 7009-shaped, and for a pasted credential that was never a grant; it is a
2387
+ * recorded fact, not a failure.
2388
+ */
2389
+ vendorRevocation: z.enum(ProviderOAuth2RevocationOutcomeValues).optional(),
1924
2390
  });
1925
2391
  /**
1926
2392
  * A PERSON connected their own account at a third party to this application.
@@ -2006,6 +2472,14 @@ export const AuditableEvent_OrganizationProviderConnection_GrantedEventDataSchem
2006
2472
  grantedScopes: z.array(z.string()).optional(),
2007
2473
  accountRef: z.string().optional(),
2008
2474
  replacedExistingConnection: z.boolean(),
2475
+ /**
2476
+ * On whose behalf the linked account acts. `user` means `grantedByUserId` linked THEIR OWN vendor
2477
+ * account for the organization, and every member's call will act through it (decision on
2478
+ * wildo-ai/wildo-ai#18) — which is why the grantor is named and the acknowledgement below recorded.
2479
+ */
2480
+ delegation: z.enum(ExternalProvider_Connection_DelegationMode).optional(),
2481
+ /** The grantor acknowledged, before consenting at the vendor, that the whole organization will use their account. */
2482
+ organizationWideUseAcknowledged: z.boolean().optional(),
2009
2483
  });
2010
2484
  /**
2011
2485
  * The stored VALUE changed for a person's credential that already existed.
@@ -2046,25 +2520,47 @@ export const AuditableEvent_UserProviderCredential_UsedEventDataSchema = z.objec
2046
2520
  credentialId: z.string(),
2047
2521
  });
2048
2522
  /**
2049
- * The person's grant ended — by them removing it, or by their own erasure.
2523
+ * The person's grant ended — by them removing it, by their own erasure, or by their account being deleted.
2050
2524
  *
2051
2525
  * `reason` matters more here than on the organization sibling. A credential removed by a cascade
2052
2526
  * from a subject-erasure request is EVIDENCE that the erasure reached this store, and it is the
2053
2527
  * evidence an operator produces when asked whether a person's third-party keys were destroyed. The
2054
2528
  * row itself is gone by then, so the event is all that remains.
2055
2529
  *
2530
+ * `deletedBy` exists for the one reason whose actor is NOT the person: `reason: USER_DELETED`, an
2531
+ * account deletion (#1016) — an administrator's hard delete or the invitation sweep reaping a pending
2532
+ * user — where it names the deleting principal (the administrator's user id, or the `SYSTEM` sentinel).
2533
+ * Absent on the owner's own revoke, whose actor is `userId` by construction.
2534
+ *
2056
2535
  * assurance-control: WILDO.IDENTITY.DELEGATED_AUTHORIZATION — evidence that delegated authority
2057
2536
  * was withdrawn.
2058
- * assurance-control: WILDO.PRIVACY.ERASURE — evidence that erasure destroyed the subject's
2059
- * third-party credentials.
2537
+ * assurance-control: WILDO.PRIVACY.ERASURE_PROPAGATION — evidence that erasure destroyed the
2538
+ * subject's third-party credentials: one row per destroyed credential with `reason: USER_ERASED`,
2539
+ * written by the credential resource's parent-cascade removal observer because the erasure cascade
2540
+ * removes these rows through the raw repository (#975).
2060
2541
  */
2061
2542
  export const AuditableEvent_UserProviderCredential_DeletedEventDataSchema = z.object({
2062
2543
  eventType: z.literal(CoreAuditableEventType.USER_PROVIDER_CREDENTIAL_DELETED),
2063
2544
  userId: z.string(),
2064
2545
  providerRef: z.string(),
2065
2546
  secretSlug: z.string(),
2547
+ deletedBy: z.string().optional(),
2066
2548
  credentialId: z.string(),
2067
2549
  reason: z.enum(ProviderCredentialDeletionReason),
2550
+ /**
2551
+ * What telling the VENDOR achieved, when the delete ended an OAuth2 grant (#545).
2552
+ *
2553
+ * Deleting our copy stops the application using a token; it does not end the grant at the vendor,
2554
+ * and a refresh token frequently never expires on its own. So this field is the difference between
2555
+ * a trail that says "we deleted our copy" and one that says whether the person's access was
2556
+ * actually withdrawn where it lives.
2557
+ *
2558
+ * ABSENT rather than a member when nothing was attempted — an organization purge through the raw
2559
+ * repository has no token to hand back. `not_declared` is the ordinary answer for a vendor whose
2560
+ * revocation is not RFC 7009-shaped, and for a pasted credential that was never a grant; it is a
2561
+ * recorded fact, not a failure.
2562
+ */
2563
+ vendorRevocation: z.enum(ProviderOAuth2RevocationOutcomeValues).optional(),
2068
2564
  });
2069
2565
  // Outbound M2M Webhook Event Data Schemas
2070
2566
  /**
@@ -2190,6 +2686,18 @@ export const AuditableEvent_User_RegisteredEventDataSchema = z.object({
2190
2686
  email: z.string(),
2191
2687
  ipAddress: z.string(),
2192
2688
  userAgent: z.string(),
2689
+ /**
2690
+ * HOW the account was acquired — the same vocabulary the registration policy is authored in, so "who
2691
+ * registered through which door" is answered by the trail rather than reconstructed from neighbouring
2692
+ * events. A first social or enterprise sign-in creates an account exactly as `/auth/register` does, and
2693
+ * until #1141 only the password door recorded it.
2694
+ *
2695
+ * Optional on the schema only because rows written before the field existed carry none; every emitter
2696
+ * states it (`logUserRegistered` requires it).
2697
+ */
2698
+ acquisitionChannel: z.enum(RegistrationAcquisitionChannel).optional(),
2699
+ /** The external identity provider that vouched for the account, for a social or enterprise sign-in. */
2700
+ providerRef: z.string().optional(),
2193
2701
  });
2194
2702
  export const AuditableEvent_User_EmailVerifiedEventDataSchema = z.object({
2195
2703
  eventType: z.literal(CoreAuditableEventType.USER_EMAIL_VERIFIED),
@@ -2545,7 +3053,8 @@ export const AuditableEvent_FieldAccess_EventDataSchema = z.object({
2545
3053
  *
2546
3054
  * ## Correlation across a cascade
2547
3055
  *
2548
- * Every execution surface emits — API, internal call, and repository-only — so one tenant deletion
3056
+ * The framework-managed lane covers API, internal call and repository-only writes; OVERRIDE_ALL
3057
+ * implementations own their committed emission. A framework-managed tenant deletion
2549
3058
  * produces one row per cascaded child. The top-level `correlationId` is inherited by every sub-call
2550
3059
  * context and preserved across mid-flight operation corrections, so it groups the whole fan-out to one request;
2551
3060
  * `subCallDepth` separates the initiating operation (0) from what it cascaded into.
@@ -2554,7 +3063,8 @@ export const AuditableEvent_FieldAccess_EventDataSchema = z.object({
2554
3063
  *
2555
3064
  * `changedFields` names every field the write touched — a field NAME is not personal data, so it is
2556
3065
  * always safe and always recorded. `fieldEvidence` carries before/after VALUES only for fields the
2557
- * schema marks `.isAuditEvidence()`.
3066
+ * schema marks `.isAuditEvidence()`. The separate `reason` records an explicitly selected operator
3067
+ * justification, not an arbitrary request payload or a copy of a mutable resource reason field.
2558
3068
  *
2559
3069
  * Values are limited on purpose: audit rows replicate to the per-org SIEM and to the immutable
2560
3070
  * ledger, and **the immutable ledger cannot be scrubbed** — so copying arbitrary personal data into
@@ -2584,10 +3094,26 @@ export const AuditableEvent_ResourceOperationPerformed_EventDataSchema = z.objec
2584
3094
  /** `true` for the bulk form, whose subject is a set rather than one row. */
2585
3095
  isBulkOperation: z.boolean().optional(),
2586
3096
  // ── Subject ──
2587
- /** The row acted on. Absent for bulk operations, which name a count instead. */
3097
+ /** The row acted on. Absent for bulk operations, whose subject is the set below. */
2588
3098
  resourceId: z.string().optional(),
2589
3099
  /** Bulk operations only: how many rows the write affected. */
2590
3100
  affectedRecordCount: z.number().optional(),
3101
+ /**
3102
+ * Bulk operations only: WHICH rows the write affected.
3103
+ *
3104
+ * A count answers "how much"; a trail has to answer "what". Without this, one actor changing
3105
+ * forty rows left a single record saying `affectedRecordCount: 40` and naming none of them — so
3106
+ * the question an investigator asks first, "who changed THIS row", had no answer for any write
3107
+ * that was not single-row, which is exactly the case where one actor touches many records at once.
3108
+ *
3109
+ * Bounded by the batch maximum a synchronous bulk already enforces, so this is a complete list
3110
+ * rather than a sample: the background lane does not produce it at all, because it runs the
3111
+ * single-row twin per id and each row audits itself.
3112
+ *
3113
+ * Rides `eventData`, which the audit store persists as an unparsed record — so naming the rows
3114
+ * costs no column and no migration.
3115
+ */
3116
+ affectedResourceIds: z.array(z.string()).optional(),
2591
3117
  // ── Principal (the row's `userId` / `organizationId` / `applicationId` carry the identity) ──
2592
3118
  /**
2593
3119
  * The caller's roles AS THEY WERE at decision time. Roles are the framework's single
@@ -2604,6 +3130,12 @@ export const AuditableEvent_ResourceOperationPerformed_EventDataSchema = z.objec
2604
3130
  /** `0` for the operation the caller invoked; deeper for what it cascaded into. */
2605
3131
  subCallDepth: z.number(),
2606
3132
  // ── Effect ──
3133
+ /**
3134
+ * Operator justification explicitly selected from the request by the operation's audit contract.
3135
+ * Historical evidence, independent of mutable resource fields such as cancellationReason.
3136
+ * It is not inferred from arbitrary request fields and must not contain secrets.
3137
+ */
3138
+ reason: z.string().optional(),
2607
3139
  /** Every field the write touched. Names only — always safe, always recorded. */
2608
3140
  changedFields: z.array(z.string()).optional(),
2609
3141
  /**
@@ -2766,6 +3298,51 @@ export const AuditableEvent_PlatformAccessGrantLifecycle_EventDataSchema = z.obj
2766
3298
  decidedByUserId: z.string().optional(),
2767
3299
  /** Their stated reason, when they gave one. */
2768
3300
  decisionReason: z.string().optional(),
3301
+ /**
3302
+ * The machine credential an application-wide grant is bound to, when it is (#297). Present on EVERY transition
3303
+ * of such a grant, so the second administrator's signature and every later reader see which credential the
3304
+ * elevation reaches — a request naming a machine must never read, in the trail, as the requester's own window.
3305
+ */
3306
+ grantedMachineCredential: ExecutionContext_MachineCredentialSchema.optional(),
3307
+ });
3308
+ /**
3309
+ * One transition in the life of a system-of-record partition assignment.
3310
+ *
3311
+ * Read it to answer "who could see this remote company, and when did that start or stop". The row
3312
+ * names both units on a move, so a timeline reconstructed from these events is complete without
3313
+ * joining anything: each row carries the state it left as well as the state it reached.
3314
+ *
3315
+ * assurance-control: WILDO.ACCESS.LEAST_PRIVILEGE
3316
+ * assurance-control: WILDO.ACCESS.PRIVILEGE_EVIDENCE
3317
+ */
3318
+ export const AuditableEvent_SystemOfRecordPartitionAssignmentLifecycle_EventDataSchema = z.object({
3319
+ eventType: z.literal(CoreAuditableEventType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENT_LIFECYCLE),
3320
+ /** Which transition this row records. */
3321
+ transition: z.enum(SystemOfRecordPartitionAssignmentTransition),
3322
+ /** The assignment row, so its whole timeline can be reassembled. */
3323
+ assignmentId: z.string(),
3324
+ /** The declared instance — `systemsOfRecord.<name>`. Instance, never vendor: two Odoo deployments have unrelated company ids. */
3325
+ system: z.string(),
3326
+ /** The partition's key as the remote spells it, in canonical text. */
3327
+ remoteKey: z.string(),
3328
+ /**
3329
+ * The unit the partition belongs to AFTER this transition.
3330
+ *
3331
+ * Absent exactly when the transition is `UNASSIGNED` — there is no resulting unit, and writing the
3332
+ * departed one here would make an unassignment read as an assignment to the unit that lost it.
3333
+ */
3334
+ organizationUnitId: z.string().optional(),
3335
+ /**
3336
+ * The unit the partition belonged to BEFORE this transition.
3337
+ *
3338
+ * Present on `REASSIGNED` and `UNASSIGNED`, absent on `ASSIGNED`. This is the field the automatic
3339
+ * `RESOURCE_OPERATION_PERFORMED` row cannot carry, and the reason this event type exists.
3340
+ */
3341
+ previousOrganizationUnitId: z.string().optional(),
3342
+ /** The operator's stated reason. Recorded on every transition, not only the first. */
3343
+ justification: z.string().optional(),
3344
+ /** The operator who made the change. */
3345
+ assignedByUserId: z.string().optional(),
2769
3346
  });
2770
3347
  export const AuditableEvent_CrossTenantAdministrativeAccess_EventDataSchema = z.object({
2771
3348
  eventType: z.literal(CoreAuditableEventType.CROSS_TENANT_ADMINISTRATIVE_ACCESS),
@@ -2813,6 +3390,12 @@ export const AuditableEvent_CrossTenantAdministrativeAccess_EventDataSchema = z.
2813
3390
  initiatorRoles: z.array(z.string()),
2814
3391
  /** How the call was initiated — separates a human operator from framework machinery. */
2815
3392
  executionType: z.enum(ExecutionContext_ExecutionType),
3393
+ /**
3394
+ * The credential that read, when the reader is a MACHINE. A machine has no `userId`, so without this the
3395
+ * row names no reader at all — an assurance collector's reads would be unattributable in the very trail it
3396
+ * measures, and could not be told apart from its own earlier runs (#297). Absent for a human operator.
3397
+ */
3398
+ machineCredential: ExecutionContext_MachineCredentialSchema.optional(),
2816
3399
  });
2817
3400
  /**
2818
3401
  * An application-wide directory enumeration.
@@ -2900,6 +3483,30 @@ export const AuditableEvent_ResourceOperationDenied_EventDataSchema = z.object({
2900
3483
  * the operation's config as it stood that day.
2901
3484
  */
2902
3485
  requiredRoles: z.array(z.string()).optional(),
3486
+ /**
3487
+ * The roles the caller tried to GRANT and could not — present only on
3488
+ * {@link ResourceOperationDenialReason.ROLE_CEILING_EXCEEDED}.
3489
+ *
3490
+ * A third set, distinct from both of its neighbours and not expressible by either: `requiredRoles`
3491
+ * is what the OPERATION demanded of the caller, `initiatorRoles` is what the caller HELD, and this
3492
+ * is what the caller attempted to confer on somebody else. It is the whole content of an
3493
+ * escalation attempt — "an ORG_ADMIN asked for ORG_OWNER" — and without it the row says only that
3494
+ * a ceiling was hit.
3495
+ *
3496
+ * Only the REFUSED subset is recorded, not the whole requested array: the roles the caller was
3497
+ * entitled to grant are not evidence of anything, and the difference is what a reviewer reads.
3498
+ */
3499
+ escalatedRoles: z.array(z.string()).optional(),
3500
+ /**
3501
+ * The surface the person called, when the refusal happened on one that is NOT a resource operation — a
3502
+ * manual-controller route (`GET /api/v1/charts/:chartId/data`) or a WebSocket event (`badge:get`).
3503
+ *
3504
+ * On such a surface the operation fields above name only the context it was authorized under (an
3505
+ * application read), which on its own cannot tell a chart from a feature resolution (#534 third review L3).
3506
+ * Absent on a resource operation, whose operation fields already ARE the surface. Carries a route TEMPLATE
3507
+ * where one is known, so the trail records which door was refused rather than which row was asked for.
3508
+ */
3509
+ refusedSurface: z.string().optional(),
2903
3510
  /**
2904
3511
  * The caller's roles AS THEY WERE at decision time — empty when the refusal WAS the absence of
2905
3512
  * them ({@link ResourceOperationDenialReason.MISSING_INITIATOR}).
@@ -2969,6 +3576,58 @@ export const AuditableEvent_RetainedDataAccess_EventDataSchema = z.object({
2969
3576
  organizationId: z.string().optional(),
2970
3577
  ipAddress: z.string().optional(),
2971
3578
  });
3579
+ /**
3580
+ * A person met a governed document, and this is the release they met.
3581
+ *
3582
+ * `interaction` is the composed record from `composeGovernedDocumentInteraction`, which has already
3583
+ * refused anything the release does not permit and marked anything the workflow has not finished.
3584
+ * It is nested rather than flattened so there is ONE shape for a governed-document interaction — a
3585
+ * second, flatter copy here would be a second thing to keep in step with the release vocabulary.
3586
+ *
3587
+ * The SUBJECT is the audit envelope's own actor attribution plus `userId` here, never a third
3588
+ * spelling inside the record; see the interaction schema's JSDoc for why.
3589
+ *
3590
+ * assurance-control: WILDO.PRIVACY.CONSENT_RECORD
3591
+ */
3592
+ export const AuditableEvent_GovernedDocument_InteractionRecordedEventDataSchema = z.object({
3593
+ eventType: z.literal(CoreAuditableEventType.GOVERNED_DOCUMENT_INTERACTION_RECORDED),
3594
+ /**
3595
+ * The identified person who met the document. Absent exactly when `anonymousUserId` is present
3596
+ * (#1258 Step 5) — a signed-in registrant or an already-identified reader has one; a visitor
3597
+ * reading a public notice before ever creating an account does not.
3598
+ */
3599
+ userId: z.string().optional(),
3600
+ /**
3601
+ * The pre-identity visitor who met the document, when nobody is signed in (#1258 Step 5).
3602
+ * `AnonymousUser._id` / `ExecutionContext.anonymousUserId` — the same identity Step 1's consent
3603
+ * carry is keyed on, never a second visitor-identity concept.
3604
+ */
3605
+ anonymousUserId: z.string().optional(),
3606
+ /** What they did, which release they did it to, and that release's standing at the time. */
3607
+ interaction: GovernedDocumentInteractionSchema,
3608
+ /**
3609
+ * TRUE-but-unfinished notes carried from composition — today, that the release was UNAPPROVED.
3610
+ *
3611
+ * Recorded rather than discarded because an advisory is the only trace that the mechanism
3612
+ * proceeded deliberately rather than by omission.
3613
+ */
3614
+ advisoryKinds: z.array(z.string()),
3615
+ ipAddress: z.string().optional(),
3616
+ }).superRefine((event, context) => {
3617
+ // Exactly one subject, never zero (a record naming nobody is not a record) and never both (two
3618
+ // identities for one act is two different claims about who acted).
3619
+ const hasUser = event.userId !== undefined;
3620
+ const hasAnonymous = event.anonymousUserId !== undefined;
3621
+ if (hasUser === hasAnonymous) {
3622
+ context.addIssue({
3623
+ code: 'custom',
3624
+ path: hasUser ? ['anonymousUserId'] : ['userId'],
3625
+ message: hasUser
3626
+ ? 'a governed-document interaction names both userId and anonymousUserId — exactly one subject met the document'
3627
+ : 'a governed-document interaction names neither userId nor anonymousUserId — a record must name who met the document',
3628
+ });
3629
+ }
3630
+ });
2972
3631
  /**
2973
3632
  * A DATA SUBJECT EXPORT — the compliance record of the framework assembling everything it holds
2974
3633
  * about one person and disclosing it.
@@ -3108,6 +3767,13 @@ export const AuditableEvent_ProviderOperationCall_EventDataSchema = z.object({
3108
3767
  status: z.number().int().optional(),
3109
3768
  /** Present when the call failed, naming the failure KIND rather than the vendor's prose. */
3110
3769
  failureKind: z.string().optional(),
3770
+ /**
3771
+ * The `requiredScopes` verdict (#979) — present only when the operation declares required scopes. `not_recorded`
3772
+ * is the one to read twice: the call went out without its scopes being checked.
3773
+ */
3774
+ scopeCheck: z.enum(ProviderOperationScopeCheck).optional(),
3775
+ /** The required scopes the grant lacked — present with `scopeCheck: missing`. Scope names only, never a token. */
3776
+ missingScopes: z.array(z.string()).optional(),
3111
3777
  /** The REAL initiating user — absent only for genuine machine/internal executions. */
3112
3778
  initiatorUserId: z.string().optional(),
3113
3779
  /** The execution type that acted, for the machine/internal cases. */
@@ -3115,6 +3781,46 @@ export const AuditableEvent_ProviderOperationCall_EventDataSchema = z.object({
3115
3781
  /** The tenant the REQUEST was scoped to — see `connectionOwnerScope`. */
3116
3782
  organizationId: z.string().optional(),
3117
3783
  });
3784
+ /**
3785
+ * The browser door REFUSED a provider operation (#367) — see the enum member for why this is not a
3786
+ * failed call.
3787
+ *
3788
+ * Ids and shape only, like its call sibling: the request's `input` is never recorded. What the caller
3789
+ * ASKED FOR is recorded even when it names nothing real, because a refusal records an attempt rather
3790
+ * than proving the provider or operation exists.
3791
+ *
3792
+ * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT
3793
+ */
3794
+ export const AuditableEvent_ProviderOperationDenied_EventDataSchema = z.object({
3795
+ eventType: z.literal(CoreAuditableEventType.PROVIDER_OPERATION_DENIED),
3796
+ denialReason: z.enum(ProviderOperationDenialReason),
3797
+ /** The provider the request named. */
3798
+ providerRef: z.string().trim().min(1),
3799
+ /** The operation id the request named. */
3800
+ operationId: z.string().trim().min(1),
3801
+ /** The account the request asked to spend: `application` | `organization` | `user`. */
3802
+ connectionOwnerScope: z.string().trim().min(1),
3803
+ /** The owner's id, absent for an application-owned request. */
3804
+ connectionOwnerId: z.string().optional(),
3805
+ /** `service` | `user`, as requested. */
3806
+ connectionDelegation: z.string().trim().min(1),
3807
+ /**
3808
+ * The roles the policy required — present on {@link ProviderOperationDenialReason.INSUFFICIENT_ROLES}
3809
+ * and {@link ProviderOperationDenialReason.ROLES_NOT_APPLICABLE_TO_TARGET}.
3810
+ */
3811
+ requiredRoles: z.array(z.string()).optional(),
3812
+ /**
3813
+ * The roles the caller held IN THE SCOPE THAT WAS CHECKED, at decision time — present on
3814
+ * {@link ProviderOperationDenialReason.INSUFFICIENT_ROLES}, so the row explains itself.
3815
+ */
3816
+ heldRoles: z.array(z.string()).optional(),
3817
+ /** The refused person. Absent only on {@link ProviderOperationDenialReason.MISSING_USER_SESSION}. */
3818
+ initiatorUserId: z.string().optional(),
3819
+ /** The execution type that asked, which is what explains a missing user. */
3820
+ executionType: z.string().optional(),
3821
+ /** The tenant the REQUEST was scoped to. */
3822
+ organizationId: z.string().optional(),
3823
+ });
3118
3824
  /**
3119
3825
  * An agent reached an MCP server — the outbound trail for a tool call that leaves the trust
3120
3826
  * boundary (#491).
@@ -3154,6 +3860,12 @@ export const AuditableEvent_McpToolCall_EventDataSchema = z.object({
3154
3860
  connectionOwnerScope: z.string().optional(),
3155
3861
  /** The credential row that was spent, for the audit trail. */
3156
3862
  credentialId: z.string().optional(),
3863
+ /**
3864
+ * WHOSE credential it was: the member who set an organization credential. For an organization-lent
3865
+ * member account (decision on wildo-ai/wildo-ai#18) that is the person the far server attributes the
3866
+ * call to, captured at call time rather than joined later, since a reconnect moves it.
3867
+ */
3868
+ credentialSetByUserId: z.string().optional(),
3157
3869
  /** The REAL initiating user — absent only for genuine machine/internal executions. */
3158
3870
  initiatorUserId: z.string().optional(),
3159
3871
  /** The tenant the turn was scoped to — see `connectionOwnerScope`. */
@@ -3253,6 +3965,9 @@ export const AuditableEvent_HttpApiReadThroughAccess_EventDataSchema = z.object(
3253
3965
  * assurance-control: WILDO.AUDIT.ATTRIBUTION — the outbound deletion names the subject it served
3254
3966
  * and the external system it reached; the erasure report is the per-request receipt, this row is
3255
3967
  * the queryable trail.
3968
+ *
3969
+ * assurance-control: WILDO.PRIVACY.ERASURE_PROPAGATION — an erasure that deleted rows in an external
3970
+ * system leaves a durable record naming that system and how many rows it deleted there.
3256
3971
  */
3257
3972
  export const AuditableEvent_HttpApiExternalErasure_EventDataSchema = z.object({
3258
3973
  eventType: z.literal(CoreAuditableEventType.HTTP_API_EXTERNAL_ERASURE),
@@ -3284,6 +3999,9 @@ export const AuditableEvent_HttpApiExternalErasure_EventDataSchema = z.object({
3284
3999
  *
3285
4000
  * assurance-control: WILDO.AUDIT.ATTRIBUTION — an acknowledged erasure hole is recorded per
3286
4001
  * resource, per erasure request, never as a standing posture.
4002
+ *
4003
+ * assurance-control: WILDO.PRIVACY.ERASURE_PROPAGATION — a store the erasure deliberately did not
4004
+ * reach is recorded as such, so the accounting cannot read as complete.
3287
4005
  */
3288
4006
  export const AuditableEvent_HttpApiNonErasureAcknowledged_EventDataSchema = z.object({
3289
4007
  eventType: z.literal(CoreAuditableEventType.HTTP_API_NON_ERASURE_ACKNOWLEDGED),
@@ -3548,16 +4266,23 @@ export const AuditableEvent_DataSchema = z.record(z.string(), z.any());
3548
4266
  export const AuditableEvent_BaseSchema = z.object({
3549
4267
  _id: z.string().isPrimaryKey().isSummaryField(),
3550
4268
  /**
3551
- * Store-agnostic, server-minted correlation key (UUID). The Mongo `_id` is
4269
+ * Store-agnostic, server-assigned correlation key (UUID). The Mongo `_id` is
3552
4270
  * THIS store's primary key, but immudb (and any future audit sink) has its
3553
4271
  * own native key — so cross-store correlation needs an id that belongs to the
3554
- * EVENT, not to one store. Minted in `AuditLogsBackendService._createAuditLog`
4272
+ * EVENT, not to one store. Fixed in `AuditLogsBackendService._createAuditLog`
4273
+ * — minted there, or supplied deterministically by a deferred recording (#535) —
3555
4274
  * BEFORE the DB write and carried on BOTH the DB row AND the provider fan-out
3556
4275
  * emission, so the Phase-3 completeness reconciler can match DB rows ⇄ immudb
3557
4276
  * records (and `AuditLogVerification.verifyAuditEvent(eventId)` resolves the
3558
4277
  * same key). Not the primary key: `_id` stays the DB PK.
4278
+ *
4279
+ * UNIQUE, because it names ONE event (#535). A caller that delivers an event at least once — an outbox relay replaying
4280
+ * an audit record after a crash — supplies a deterministic `eventId`, and a redelivery then collides here instead of
4281
+ * writing a second row. immudb (write-if-absent by `eventId`) and every SIEM wire format (whose dedup key is this
4282
+ * value) are idempotent on the same id, so all three destinations agree on "once". Sparse, as `.isUnique()` defaults:
4283
+ * a row written before `eventId` existed carries none and is not a duplicate of another.
3559
4284
  */
3560
- eventId: z.string().isDBIndexed(),
4285
+ eventId: z.string().isDBIndexed().isUnique(),
3561
4286
  // Note: .optional() must come AFTER decorators to preserve optionality in TypeScript type inference
3562
4287
  userId: z.string().isSummaryField().optional(),
3563
4288
  /**
@@ -3673,6 +4398,7 @@ export const AuditableEvent_TypedDataSchema = z.discriminatedUnion('eventType',
3673
4398
  AuditableEvent_User_AppRolesChangedEventDataSchema,
3674
4399
  AuditableEvent_Application_SuperAdminFloorBreachedEventDataSchema,
3675
4400
  AuditableEvent_Organization_OwnerFloorBreachedEventDataSchema,
4401
+ AuditableEvent_Organization_TypeAssignedEventDataSchema,
3676
4402
  AuditableEvent_OrganizationMember_InvitedEventDataSchema,
3677
4403
  AuditableEvent_OrganizationMember_JoinedEventDataSchema,
3678
4404
  AuditableEvent_OrganizationMember_UpdatedEventDataSchema,
@@ -3700,6 +4426,8 @@ export const AuditableEvent_TypedDataSchema = z.discriminatedUnion('eventType',
3700
4426
  AuditableEvent_User_TokenRefreshedEventDataSchema,
3701
4427
  AuditableEvent_Organization_SSOConfigurationChangedEventDataSchema,
3702
4428
  AuditableEvent_Organization_SIEMExportConfiguredEventDataSchema,
4429
+ AuditableEvent_Organization_SIEMExportDisabledEventDataSchema,
4430
+ AuditableEvent_Organization_SIEMExportDestinationChangedEventDataSchema,
3703
4431
  AuditableEvent_OrganizationProviderCredential_SetEventDataSchema,
3704
4432
  AuditableEvent_OrganizationProviderCredential_RotatedEventDataSchema,
3705
4433
  AuditableEvent_OrganizationProviderCredential_UsedEventDataSchema,
@@ -3742,12 +4470,15 @@ export const AuditableEvent_TypedDataSchema = z.discriminatedUnion('eventType',
3742
4470
  AuditableEvent_CrossTenantAdministrativeAccess_EventDataSchema,
3743
4471
  AuditableEvent_PlatformDirectoryAccess_EventDataSchema,
3744
4472
  AuditableEvent_PlatformAccessGrantLifecycle_EventDataSchema,
4473
+ AuditableEvent_SystemOfRecordPartitionAssignmentLifecycle_EventDataSchema,
3745
4474
  AuditableEvent_RetainedDataAccess_EventDataSchema,
4475
+ AuditableEvent_GovernedDocument_InteractionRecordedEventDataSchema,
3746
4476
  AuditableEvent_SubjectDataExport_EventDataSchema,
3747
4477
  AuditableEvent_CollectionDataExport_EventDataSchema,
3748
4478
  AuditableEvent_User_SessionEvictedEventDataSchema,
3749
4479
  AuditableEvent_HttpApiReadThroughAccess_EventDataSchema,
3750
4480
  AuditableEvent_ProviderOperationCall_EventDataSchema,
4481
+ AuditableEvent_ProviderOperationDenied_EventDataSchema,
3751
4482
  AuditableEvent_HttpApiExternalErasure_EventDataSchema,
3752
4483
  AuditableEvent_HttpApiNonErasureAcknowledged_EventDataSchema,
3753
4484
  AuditableEvent_User_CrossFrontendHandoffIssuedEventDataSchema,