@wildo-ai/saas-models 1.1.5 → 1.1.6

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 (888) hide show
  1. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
  2. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +2 -1
  3. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
  4. package/dist/esm/applications/applications-context.schemas.d.ts +176 -2
  5. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  6. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  7. package/dist/esm/applications/applications.shared.resources-config.schemas.js +3 -2
  8. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  9. package/dist/esm/applications/applications.shared.schemas.d.ts +7 -5
  10. package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
  11. package/dist/esm/applications/applications.shared.schemas.js +6 -4
  12. package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
  13. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +10 -1
  14. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
  15. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js +49 -15
  16. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
  17. package/dist/esm/billing/billing-account.shared.schemas.js +2 -2
  18. package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
  19. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +25 -0
  20. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
  21. package/dist/esm/billing/billing-configuration.shared.schemas.js +19 -0
  22. package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
  23. package/dist/esm/billing/billing-enums.shared.schemas.d.ts +27 -5
  24. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  25. package/dist/esm/billing/billing-enums.shared.schemas.js +30 -4
  26. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  27. package/dist/esm/billing/billing-types.shared.schemas.d.ts +37 -11
  28. package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
  29. package/dist/esm/billing/billing-types.shared.schemas.js +31 -19
  30. package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
  31. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts +2 -0
  32. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
  33. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js +18 -7
  34. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
  35. package/dist/esm/billing/credit-pool.shared.schemas.d.ts +2 -0
  36. package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
  37. package/dist/esm/billing/credit-pool.shared.schemas.js +7 -1
  38. package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
  39. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js +6 -6
  40. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
  41. package/dist/esm/billing/invoice-ref.shared.schemas.js +1 -1
  42. package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
  43. package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
  44. package/dist/esm/billing/price.shared.schemas.js +5 -3
  45. package/dist/esm/billing/price.shared.schemas.js.map +1 -1
  46. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts +11 -1
  47. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  48. package/dist/esm/billing/product-behavior-policy.shared.schemas.js +39 -23
  49. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  50. package/dist/esm/billing/product-definition.shared.schemas.d.ts +30 -2
  51. package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
  52. package/dist/esm/billing/product-definition.shared.schemas.js +35 -0
  53. package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
  54. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +6 -3
  55. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
  56. package/dist/esm/billing/product.shared.schemas.d.ts +7 -3
  57. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  58. package/dist/esm/billing/product.shared.schemas.js +22 -7
  59. package/dist/esm/billing/product.shared.schemas.js.map +1 -1
  60. package/dist/esm/billing/promotions.shared.resources-config.schemas.js +8 -8
  61. package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
  62. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts +135 -0
  63. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts.map +1 -0
  64. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js +112 -0
  65. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js.map +1 -0
  66. package/dist/esm/billing/public-pricing-catalog.shared.d.ts +30 -0
  67. package/dist/esm/billing/public-pricing-catalog.shared.d.ts.map +1 -0
  68. package/dist/esm/billing/public-pricing-catalog.shared.js +53 -0
  69. package/dist/esm/billing/public-pricing-catalog.shared.js.map +1 -0
  70. package/dist/esm/billing/referral-reward.shared.schemas.d.ts +51 -0
  71. package/dist/esm/billing/referral-reward.shared.schemas.d.ts.map +1 -0
  72. package/dist/esm/billing/referral-reward.shared.schemas.js +92 -0
  73. package/dist/esm/billing/referral-reward.shared.schemas.js.map +1 -0
  74. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts +54 -33
  75. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
  76. package/dist/esm/billing/referral.shared.resources-config.schemas.js +56 -2
  77. package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
  78. package/dist/esm/billing/referral.shared.schemas.d.ts +22 -37
  79. package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
  80. package/dist/esm/billing/referral.shared.schemas.js +24 -44
  81. package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
  82. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +9 -1
  83. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  84. package/dist/esm/billing/subscription.shared.resources-config.schemas.js +55 -22
  85. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  86. package/dist/esm/billing/subscription.shared.schemas.d.ts +80 -5
  87. package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
  88. package/dist/esm/billing/subscription.shared.schemas.js +85 -25
  89. package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
  90. package/dist/esm/billing/usage-record.shared.schemas.js +5 -5
  91. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  92. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +143 -2
  93. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  94. package/dist/esm/companion/provider-discovery.shared.schemas.js +84 -1
  95. package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
  96. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -1
  97. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  98. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +4 -0
  99. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
  100. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts +70 -0
  101. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -1
  102. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js +87 -0
  103. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -1
  104. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +34 -0
  105. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -1
  106. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +137 -3
  107. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -1
  108. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts +7 -0
  109. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
  110. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -1
  111. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +28 -2
  112. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  113. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js +29 -8
  114. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js.map +1 -1
  115. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +29 -6
  116. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  117. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +38 -9
  118. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  119. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +1822 -146
  120. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  121. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +1777 -87
  122. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  123. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts +10 -0
  124. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  125. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +148 -7
  126. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  127. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +2 -0
  128. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
  129. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +2 -0
  130. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
  131. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +0 -8
  132. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +0 -1
  133. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +0 -1
  134. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +17 -8
  135. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -1
  136. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +43 -20
  137. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -1
  138. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts +38 -0
  139. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
  140. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js +39 -0
  141. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
  142. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts +35 -0
  143. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts.map +1 -0
  144. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js +82 -0
  145. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js.map +1 -0
  146. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts +37 -0
  147. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts.map +1 -0
  148. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js +223 -0
  149. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js.map +1 -0
  150. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts +222 -0
  151. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts.map +1 -0
  152. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js +331 -0
  153. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js.map +1 -0
  154. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +37 -3
  155. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
  156. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +33 -4
  157. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
  158. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts +52 -0
  159. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts.map +1 -0
  160. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js +116 -0
  161. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js.map +1 -0
  162. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts +11 -0
  163. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts.map +1 -0
  164. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js +11 -0
  165. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js.map +1 -0
  166. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts +93 -0
  167. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts.map +1 -0
  168. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js +149 -0
  169. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js.map +1 -0
  170. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts +43 -0
  171. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts.map +1 -0
  172. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js +106 -0
  173. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js.map +1 -0
  174. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts +209 -0
  175. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts.map +1 -0
  176. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js +226 -0
  177. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js.map +1 -0
  178. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts +129 -5
  179. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
  180. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js +128 -4
  181. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -1
  182. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts +53 -0
  183. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts.map +1 -0
  184. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js +74 -0
  185. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js.map +1 -0
  186. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts +311 -0
  187. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts.map +1 -0
  188. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js +355 -0
  189. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js.map +1 -0
  190. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +178 -39
  191. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
  192. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +145 -35
  193. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
  194. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
  195. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js +26 -0
  196. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -1
  197. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts +9 -0
  198. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
  199. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
  200. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +109 -1
  201. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  202. package/dist/esm/config/app-configuration-shared.shared.schemas.js +57 -0
  203. package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
  204. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +69 -0
  205. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  206. package/dist/esm/config/entity-identity-config.shared.schemas.js +93 -0
  207. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  208. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +16 -16
  209. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +160 -61
  210. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
  211. package/dist/esm/config/frontend/navigation.shared.schemas.js +297 -65
  212. package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
  213. package/dist/esm/errors/caught-error-description.shared.utils.d.ts +69 -0
  214. package/dist/esm/errors/caught-error-description.shared.utils.d.ts.map +1 -0
  215. package/dist/esm/errors/caught-error-description.shared.utils.js +77 -0
  216. package/dist/esm/errors/caught-error-description.shared.utils.js.map +1 -0
  217. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +76 -3
  218. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  219. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +76 -2
  220. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  221. package/dist/esm/errors/errors.shared.schemas.d.ts +20 -1
  222. package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
  223. package/dist/esm/errors/errors.shared.schemas.js +16 -9
  224. package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
  225. package/dist/esm/errors/errors.shared.utils.d.ts +0 -24
  226. package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
  227. package/dist/esm/errors/errors.shared.utils.js +0 -39
  228. package/dist/esm/errors/errors.shared.utils.js.map +1 -1
  229. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +6 -7
  230. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -1
  231. package/dist/esm/errors/thrown-value-description.shared.utils.js +6 -7
  232. package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -1
  233. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts +70 -0
  234. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts.map +1 -0
  235. package/dist/esm/external-data/external-data-pipeline-description.shared.js +92 -0
  236. package/dist/esm/external-data/external-data-pipeline-description.shared.js.map +1 -0
  237. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts +154 -0
  238. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts.map +1 -0
  239. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js +161 -0
  240. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js.map +1 -0
  241. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +1071 -23
  242. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  243. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +1065 -17
  244. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  245. package/dist/esm/external-data/external-data-provenance.shared.d.ts +71 -0
  246. package/dist/esm/external-data/external-data-provenance.shared.d.ts.map +1 -0
  247. package/dist/esm/external-data/external-data-provenance.shared.js +88 -0
  248. package/dist/esm/external-data/external-data-provenance.shared.js.map +1 -0
  249. package/dist/esm/external-data.exports.d.ts +5 -0
  250. package/dist/esm/external-data.exports.d.ts.map +1 -1
  251. package/dist/esm/external-data.exports.js +11 -0
  252. package/dist/esm/external-data.exports.js.map +1 -1
  253. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +17 -2
  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 +22 -4
  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.map +1 -1
  258. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +3 -0
  259. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  260. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -1
  261. package/dist/esm/external-providers/engine-capability-surface.shared.js +2 -0
  262. package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -1
  263. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +152 -1
  264. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  265. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +4 -3
  266. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
  267. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +4 -3
  268. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
  269. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts +45 -0
  270. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
  271. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js +14 -0
  272. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
  273. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +188 -4
  274. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  275. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +76 -9
  276. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  277. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +175 -33
  278. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
  279. package/dist/esm/external-providers/frontend-provider-public-config.shared.js +247 -42
  280. package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
  281. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts +53 -0
  282. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts.map +1 -0
  283. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js +41 -0
  284. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js.map +1 -0
  285. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts +150 -0
  286. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts.map +1 -0
  287. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js +22 -0
  288. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js.map +1 -0
  289. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts +42 -0
  290. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts.map +1 -0
  291. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js +49 -0
  292. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js.map +1 -0
  293. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +53 -0
  294. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -1
  295. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +56 -0
  296. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -1
  297. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +34 -0
  298. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  299. package/dist/esm/external-providers/provider-capability.shared.schemas.js +34 -0
  300. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  301. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +341 -4
  302. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  303. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +270 -20
  304. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  305. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts +6 -2
  306. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
  307. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +6 -2
  308. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
  309. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +174 -1
  310. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
  311. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +125 -0
  312. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
  313. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +3 -3
  314. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts +42 -0
  315. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts.map +1 -0
  316. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js +57 -0
  317. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js.map +1 -0
  318. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +6 -0
  319. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
  320. package/dist/esm/external-providers/provider-protocol.shared.schemas.js +6 -0
  321. package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
  322. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts +58 -0
  323. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts.map +1 -0
  324. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js +35 -0
  325. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js.map +1 -0
  326. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts +115 -0
  327. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts.map +1 -0
  328. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js +137 -0
  329. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js.map +1 -0
  330. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts +73 -0
  331. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts.map +1 -0
  332. package/dist/esm/external-providers/provider-usage-cost.shared.js +171 -0
  333. package/dist/esm/external-providers/provider-usage-cost.shared.js.map +1 -0
  334. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts +12 -0
  335. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts.map +1 -0
  336. package/dist/esm/external-providers/provider-usage-pricing.example.js +40 -0
  337. package/dist/esm/external-providers/provider-usage-pricing.example.js.map +1 -0
  338. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts +68 -32
  339. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
  340. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js +63 -52
  341. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -1
  342. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +5 -5
  343. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
  344. package/dist/esm/features/application-features.shared.resources-config.schemas.js +13 -5
  345. package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
  346. package/dist/esm/features/connected-feature.example.d.ts.map +1 -1
  347. package/dist/esm/features/connected-feature.example.js +2 -1
  348. package/dist/esm/features/connected-feature.example.js.map +1 -1
  349. package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
  350. package/dist/esm/features/core-feature-definitions.shared.js +2 -1
  351. package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
  352. package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
  353. package/dist/esm/features/feature-builders.shared.js.map +1 -1
  354. package/dist/esm/features/feature-definition.shared.schemas.d.ts +2 -11
  355. package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
  356. package/dist/esm/features/feature-definition.shared.schemas.js +0 -12
  357. package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
  358. package/dist/esm/features/scope-features.shared.schemas.d.ts +31 -17
  359. package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
  360. package/dist/esm/features/scope-features.shared.schemas.js +27 -5
  361. package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
  362. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +5 -5
  363. package/dist/esm/flows-actors/actors.shared.schemas.d.ts +127 -11
  364. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  365. package/dist/esm/flows-actors/actors.shared.schemas.js +32 -1
  366. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  367. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +16 -0
  368. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
  369. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js +7 -0
  370. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -1
  371. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts +68 -0
  372. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts.map +1 -0
  373. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js +276 -0
  374. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js.map +1 -0
  375. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts +468 -0
  376. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts.map +1 -0
  377. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js +472 -0
  378. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js.map +1 -0
  379. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts +118 -0
  380. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts.map +1 -0
  381. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js +144 -0
  382. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js.map +1 -0
  383. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +142 -8
  384. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  385. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +209 -11
  386. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  387. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +37 -2
  388. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  389. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +30 -2
  390. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  391. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts +0 -11
  392. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
  393. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js +12 -5
  394. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
  395. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts +45 -6
  396. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
  397. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js +31 -5
  398. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
  399. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js +30 -30
  400. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
  401. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +15 -7
  402. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  403. package/dist/esm/flows-actors/flows.shared.schemas.d.ts +15 -0
  404. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  405. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +506 -0
  406. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -1
  407. package/dist/esm/flows-actors/human-decision.shared.schemas.js +502 -0
  408. package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -1
  409. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts +46 -0
  410. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts.map +1 -0
  411. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js +65 -0
  412. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js.map +1 -0
  413. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts +120 -0
  414. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts.map +1 -0
  415. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js +165 -0
  416. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js.map +1 -0
  417. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts +45 -0
  418. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts.map +1 -0
  419. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js +127 -0
  420. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js.map +1 -0
  421. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts +83 -0
  422. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts.map +1 -0
  423. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js +97 -0
  424. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js.map +1 -0
  425. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts +136 -0
  426. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts.map +1 -0
  427. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js +90 -0
  428. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js.map +1 -0
  429. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +5 -1
  430. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -1
  431. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +19 -4
  432. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -1
  433. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +13 -15
  434. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -1
  435. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +30 -17
  436. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -1
  437. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts +268 -0
  438. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts.map +1 -0
  439. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js +576 -0
  440. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js.map +1 -0
  441. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +30 -0
  442. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
  443. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts +129 -0
  444. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts.map +1 -0
  445. package/dist/esm/flows-actors/work-attribution.shared.schemas.js +141 -0
  446. package/dist/esm/flows-actors/work-attribution.shared.schemas.js.map +1 -0
  447. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts +22 -1
  448. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map +1 -1
  449. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js +23 -0
  450. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
  451. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +61 -0
  452. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
  453. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +61 -0
  454. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
  455. package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
  456. package/dist/esm/guidance/guidance-state.shared.schemas.js +11 -10
  457. package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
  458. package/dist/esm/guidance/lifecycle-state.shared.schemas.js +6 -6
  459. package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
  460. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  461. package/dist/esm/guidance/progression-state.shared.schemas.js +8 -7
  462. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  463. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +1 -1
  464. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
  465. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +550 -30
  466. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  467. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +498 -34
  468. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  469. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts +62 -0
  470. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts.map +1 -0
  471. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js +66 -0
  472. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js.map +1 -0
  473. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts +133 -0
  474. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts.map +1 -0
  475. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js +191 -0
  476. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js.map +1 -0
  477. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +37 -6
  478. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -1
  479. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +37 -6
  480. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -1
  481. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts +36 -0
  482. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts.map +1 -0
  483. package/dist/esm/i18n/application-config-vocabulary.shared.js +39 -0
  484. package/dist/esm/i18n/application-config-vocabulary.shared.js.map +1 -0
  485. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts +11 -0
  486. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts.map +1 -0
  487. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js +14 -0
  488. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js.map +1 -0
  489. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts +20 -0
  490. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts.map +1 -0
  491. package/dist/esm/i18n/engine-open-vocabulary.shared.js +21 -0
  492. package/dist/esm/i18n/engine-open-vocabulary.shared.js.map +1 -0
  493. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts +94 -0
  494. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts.map +1 -0
  495. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js +206 -0
  496. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js.map +1 -0
  497. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts +169 -0
  498. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts.map +1 -0
  499. package/dist/esm/inbound/conversation-threads.shared.schemas.js +231 -0
  500. package/dist/esm/inbound/conversation-threads.shared.schemas.js.map +1 -0
  501. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts +195 -0
  502. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts.map +1 -0
  503. package/dist/esm/inbound/inbound-channels.shared.schemas.js +244 -0
  504. package/dist/esm/inbound/inbound-channels.shared.schemas.js.map +1 -0
  505. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts +36 -0
  506. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts.map +1 -0
  507. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js +169 -0
  508. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js.map +1 -0
  509. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts +404 -0
  510. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts.map +1 -0
  511. package/dist/esm/inbound/inbound-delivery.shared.schemas.js +449 -0
  512. package/dist/esm/inbound/inbound-delivery.shared.schemas.js.map +1 -0
  513. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts +46 -0
  514. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts.map +1 -0
  515. package/dist/esm/inbound/inbound-endpoint-env.shared.js +57 -0
  516. package/dist/esm/inbound/inbound-endpoint-env.shared.js.map +1 -0
  517. package/dist/esm/index.d.ts +58 -1
  518. package/dist/esm/index.d.ts.map +1 -1
  519. package/dist/esm/index.js +67 -1
  520. package/dist/esm/index.js.map +1 -1
  521. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +28 -0
  522. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -1
  523. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js +29 -0
  524. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
  525. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +95 -1
  526. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -1
  527. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +121 -0
  528. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -1
  529. package/dist/esm/meta-workflows.exports.d.ts +0 -1
  530. package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
  531. package/dist/esm/meta-workflows.exports.js +0 -1
  532. package/dist/esm/meta-workflows.exports.js.map +1 -1
  533. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +7 -1
  534. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  535. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js +35 -0
  536. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  537. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts +131 -0
  538. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts.map +1 -0
  539. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js +258 -0
  540. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js.map +1 -0
  541. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts +448 -0
  542. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts.map +1 -0
  543. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js +530 -0
  544. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js.map +1 -0
  545. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  546. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -3
  547. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
  548. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +16 -1
  549. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  550. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +46 -16
  551. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  552. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +19 -12
  553. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
  554. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +77 -12
  555. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
  556. package/dist/esm/notifications/notification-badges.schemas.d.ts +35 -3
  557. package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
  558. package/dist/esm/notifications/notification-badges.schemas.js +43 -3
  559. package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
  560. package/dist/esm/notifications/notifications.shared.schemas.d.ts +66 -399
  561. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  562. package/dist/esm/notifications/notifications.shared.schemas.js +111 -58
  563. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  564. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +5 -5
  565. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +6 -6
  566. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
  567. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +3 -0
  568. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
  569. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +60 -14
  570. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
  571. package/dist/esm/organizations/organization-members.shared.schemas.d.ts +3 -0
  572. package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
  573. package/dist/esm/organizations/organization-members.shared.schemas.js +30 -0
  574. package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
  575. package/dist/esm/organizations/organization-notifications.shared.schemas.js +9 -9
  576. package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
  577. package/dist/esm/organizations/organization-preferences.shared.schemas.js +4 -4
  578. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  579. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts +0 -1
  580. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
  581. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +5 -5
  582. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  583. package/dist/esm/organizations/organization-profile.shared.schemas.js +15 -10
  584. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  585. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js +1 -1
  586. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -1
  587. package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
  588. package/dist/esm/organizations/organization-unit-members.shared.schemas.js +2 -1
  589. package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -1
  590. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts +63 -1
  591. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
  592. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js +106 -5
  593. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -1
  594. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  595. package/dist/esm/organizations/organization-unit-narrowing.shared.js +9 -0
  596. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  597. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
  598. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js +7 -2
  599. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
  600. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +3 -1
  601. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  602. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +12 -8
  603. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  604. package/dist/esm/organizations/organizations.shared.schemas.d.ts +7 -2
  605. package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
  606. package/dist/esm/organizations/organizations.shared.schemas.js +51 -1
  607. package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
  608. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts +58 -0
  609. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts.map +1 -0
  610. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js +188 -0
  611. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js.map +1 -0
  612. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts +122 -0
  613. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts.map +1 -0
  614. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js +136 -0
  615. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js.map +1 -0
  616. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts +36 -0
  617. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts.map +1 -0
  618. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js +155 -0
  619. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js.map +1 -0
  620. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts +229 -0
  621. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts.map +1 -0
  622. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js +290 -0
  623. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js.map +1 -0
  624. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts +48 -0
  625. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts.map +1 -0
  626. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js +50 -0
  627. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js.map +1 -0
  628. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts +97 -0
  629. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts.map +1 -0
  630. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js +572 -0
  631. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js.map +1 -0
  632. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts +590 -0
  633. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts.map +1 -0
  634. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js +869 -0
  635. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js.map +1 -0
  636. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +36 -6
  637. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
  638. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +57 -16
  639. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
  640. package/dist/esm/provider-registration-runtime.exports.d.ts +0 -1
  641. package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
  642. package/dist/esm/provider-registration-runtime.exports.js +0 -1
  643. package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
  644. package/dist/esm/public-runtime/index.d.ts +30 -11
  645. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  646. package/dist/esm/public-runtime/index.js +30 -11
  647. package/dist/esm/public-runtime/index.js.map +1 -1
  648. package/dist/esm/queue/jobs.shared.schemas.d.ts +36 -8
  649. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  650. package/dist/esm/queue/jobs.shared.schemas.js +12 -0
  651. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  652. package/dist/esm/requests/header-keys.shared.d.ts +6 -0
  653. package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
  654. package/dist/esm/requests/header-keys.shared.js +7 -0
  655. package/dist/esm/requests/header-keys.shared.js.map +1 -1
  656. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
  657. package/dist/esm/requests/manual-controllers-routes-documentation.js +147 -8
  658. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
  659. package/dist/esm/requests/manual-controllers-routes-urls.d.ts +51 -23
  660. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  661. package/dist/esm/requests/manual-controllers-routes-urls.js +64 -0
  662. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  663. package/dist/esm/requests/websocket.shared.schemas.d.ts +78 -13
  664. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  665. package/dist/esm/requests/websocket.shared.schemas.js +91 -18
  666. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  667. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts +21 -0
  668. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts.map +1 -0
  669. package/dist/esm/resources/embedded-resource-mark.shared.utils.js +22 -0
  670. package/dist/esm/resources/embedded-resource-mark.shared.utils.js.map +1 -0
  671. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  672. package/dist/esm/resources/resources-config.shared.factory.js +812 -32
  673. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  674. package/dist/esm/resources/resources-config.shared.schemas.d.ts +244 -48
  675. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  676. package/dist/esm/resources/resources-config.shared.schemas.js +151 -17
  677. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  678. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  679. package/dist/esm/resources/resources-registry.shared.core.definitions.js +353 -12
  680. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  681. package/dist/esm/resources/resources.shared.core.definitions.d.ts +45 -0
  682. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  683. package/dist/esm/resources/resources.shared.core.definitions.js +92 -0
  684. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  685. package/dist/esm/resources/resources.shared.schemas.d.ts +2 -17
  686. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  687. package/dist/esm/resources/resources.shared.schemas.js +24 -20
  688. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  689. package/dist/esm/resources/resources.shared.utils.d.ts +16 -8
  690. package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
  691. package/dist/esm/resources/resources.shared.utils.js +16 -8
  692. package/dist/esm/resources/resources.shared.utils.js.map +1 -1
  693. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts +2 -2
  694. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
  695. package/dist/esm/resources/utils/collection-export.shared.utils.js +4 -2
  696. package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -1
  697. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts +103 -0
  698. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts.map +1 -0
  699. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js +275 -0
  700. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js.map +1 -0
  701. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts +51 -0
  702. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts.map +1 -0
  703. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js +28 -0
  704. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js.map +1 -0
  705. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -1
  706. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +30 -19
  707. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -1
  708. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts +2 -0
  709. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts.map +1 -0
  710. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js +33 -0
  711. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js.map +1 -0
  712. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts +15 -0
  713. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
  714. package/dist/esm/resources/utils/resource-polymorphism.factory.js +6 -1
  715. package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
  716. package/dist/esm/resources/utils/resource-polymorphism.schemas.js +30 -4
  717. package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
  718. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +46 -0
  719. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
  720. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +205 -22
  721. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
  722. package/dist/esm/resources/utils/resources-serialization.utils.d.ts +19 -2
  723. package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
  724. package/dist/esm/resources/utils/resources-serialization.utils.js +4 -0
  725. package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
  726. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  727. package/dist/esm/resources/utils/shared-persistence-collection.utils.js +15 -9
  728. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  729. package/dist/esm/resources/work-unit.shared.schemas.d.ts +20 -0
  730. package/dist/esm/resources/work-unit.shared.schemas.d.ts.map +1 -0
  731. package/dist/esm/resources/work-unit.shared.schemas.js +19 -0
  732. package/dist/esm/resources/work-unit.shared.schemas.js.map +1 -0
  733. package/dist/esm/runtime/execution-context.shared.schemas.d.ts +48 -1
  734. package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
  735. package/dist/esm/runtime/execution-context.shared.schemas.js +101 -9
  736. package/dist/esm/runtime/execution-context.shared.schemas.js.map +1 -1
  737. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +1 -0
  738. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  739. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +37 -20
  740. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  741. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts +1 -0
  742. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  743. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +61 -48
  744. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  745. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts +26 -0
  746. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
  747. package/dist/esm/security/api-keys/api-keys.shared.schemas.js +39 -5
  748. package/dist/esm/security/api-keys/api-keys.shared.schemas.js.map +1 -1
  749. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +5 -3
  750. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  751. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +6 -0
  752. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  753. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +2 -2
  754. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
  755. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts +11 -0
  756. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
  757. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +19 -8
  758. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
  759. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +1 -1
  760. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +5 -5
  761. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  762. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +11 -11
  763. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
  764. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts +2 -0
  765. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
  766. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js +9 -0
  767. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
  768. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts +169 -0
  769. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts.map +1 -0
  770. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js +162 -0
  771. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js.map +1 -0
  772. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
  773. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +10 -8
  774. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
  775. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +8 -8
  776. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
  777. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  778. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +17 -16
  779. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  780. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  781. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +28 -25
  782. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  783. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts +17 -6
  784. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
  785. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +90 -38
  786. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
  787. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +0 -24
  788. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  789. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +79 -68
  790. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  791. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +8 -1
  792. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
  793. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +7 -0
  794. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
  795. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +1 -1
  796. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
  797. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +7 -7
  798. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
  799. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
  800. package/dist/esm/security/authorizations/roles.shared.defaults.js +56 -0
  801. package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
  802. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +77 -1
  803. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
  804. package/dist/esm/security/authorizations/roles.shared.schemas.js +90 -0
  805. package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
  806. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts +86 -0
  807. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts.map +1 -0
  808. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js +40 -0
  809. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js.map +1 -0
  810. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +2 -1
  811. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
  812. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js +2 -1
  813. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
  814. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +2 -1
  815. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
  816. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +2 -1
  817. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
  818. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +46 -14
  819. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
  820. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +81 -21
  821. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
  822. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts +69 -0
  823. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts.map +1 -0
  824. package/dist/esm/security/credential-rotation-grace.shared.utils.js +77 -0
  825. package/dist/esm/security/credential-rotation-grace.shared.utils.js.map +1 -0
  826. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  827. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +28 -8
  828. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  829. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +3 -1
  830. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  831. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +89 -14
  832. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  833. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +1 -0
  834. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
  835. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +25 -4
  836. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
  837. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +7 -1
  838. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -1
  839. package/dist/esm/security/outbound-target-control.shared.schemas.js +6 -0
  840. package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -1
  841. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts +143 -0
  842. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts.map +1 -0
  843. package/dist/esm/security/submission-challenge/submission-challenge.shared.js +123 -0
  844. package/dist/esm/security/submission-challenge/submission-challenge.shared.js.map +1 -0
  845. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts +384 -0
  846. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts.map +1 -0
  847. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js +327 -0
  848. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js.map +1 -0
  849. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +121 -8
  850. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -1
  851. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +83 -4
  852. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -1
  853. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +266 -8
  854. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -1
  855. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +291 -7
  856. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -1
  857. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +313 -3
  858. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -1
  859. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +369 -3
  860. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -1
  861. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -1
  862. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +2 -1
  863. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -1
  864. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +5 -3
  865. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
  866. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js +19 -10
  867. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
  868. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
  869. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +6 -0
  870. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
  871. package/dist/esm/users/user-preferences-reset.shared.utils.js +2 -2
  872. package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
  873. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +0 -3
  874. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  875. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +0 -3
  876. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  877. package/dist/esm/users/user-self.shared.resources-config.schemas.js +1 -1
  878. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  879. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  880. package/dist/esm/users/users.shared.resources-config.schemas.js +82 -20
  881. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  882. package/dist/esm/users/users.shared.schemas.d.ts +12 -9
  883. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  884. package/dist/esm/users/users.shared.schemas.js +49 -18
  885. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  886. package/package.json +4 -4
  887. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js +0 -7
  888. package/dist/tsconfig.build.tsbuildinfo +0 -1
@@ -1,15 +1,39 @@
1
1
  import { AuditApplicationReadAccess } from './audit-trail-config.shared.schemas.js';
2
+ import { EngineOpenVocabulary } from '../../i18n/engine-open-vocabulary.shared.js';
3
+ import { ApplicationConfigVocabulary } from '../../i18n/application-config-vocabulary.shared.js';
4
+ import { AuditActorKind, AuditAgentActorSchema } from './audit-actor.shared.schemas.js';
5
+ import { HumanDecision_Act, HumanDecision_Outcome, HumanDecision_Plane, HumanDecision_RefusalReason, HumanDecision_RequesterKind, HumanDecision_RouteChangeTrigger, HumanDecision_RouteKind, ReviewClockBasis, ReviewDeadlineKind, ReviewDeadlineOutcome, ReviewDeadlineStage, ReviewEscalationActionKind, } from '../../flows-actors/human-decision.shared.schemas.js';
6
+ import { AutonomousPrincipalSource, AutonomousTurnRefusalReason, AutonomousTurnTrigger } from '../../flows-actors/autonomous-agents.shared.schemas.js';
7
+ import { EvaluationDatasetExportRefusalReason } from '../../flows-actors/agent-work-decisions.shared.schemas.js';
8
+ import { WorkUnitRefSchema } from '../../resources/work-unit.shared.schemas.js';
2
9
  import { ExternalAssuranceAssessmentSchema } from '../../external-providers/provider-authentication-assurance.shared.schemas.js';
3
10
  import { z } from "zod";
4
- import { ExternalProvider_Connection_DelegationMode } from "@wildo-ai/external-connectors-models";
11
+ import '@wildo-ai/zod-decorators';
12
+ import { AuthMethod } from "../../security/authentications/authentication.shared.schemas.js";
13
+ import { FactorSatisfactionSource } from "../../security/authentications/service-provider-client-authentication.shared.schemas.js";
14
+ import { ServiceProviderActivityFeedDisclosure, ServiceProviderMfaTrust } from "../../organizations/service-provider-client-controls.shared.schemas.js";
15
+ import { ServiceProviderActivityFeedStatus } from "../../organizations/service-provider-activity-feed.shared.schemas.js";
16
+ import { ExternalProvider_Connection_DelegationMode, RateBudgetCounting } from "@wildo-ai/external-connectors-models";
5
17
  import { GovernedDocumentInteractionSchema } from "../documents/governed-document-interactions.shared.schemas.js";
6
18
  import { PersonalDataCategory } from "../privacy/personal-data-category.shared.schemas.js";
19
+ import { ExternalDataConflictDecisionSource, ExternalDataConflictWinner, ExternalDataOutboundUnknownAnswer, ExternalDataPipelinePassMode, ExternalDataPipelineResetMode } from '../../external-data/external-data-pipeline-pass-mode.shared.js';
20
+ import { LegalHoldGround, LegalHoldPlacementTier, LegalHoldScopeKind } from "../privacy/legal-holds.shared.schemas.js";
21
+ import { DataRetentionClass } from "../privacy/retention-schedule.shared.schemas.js";
22
+ import { RetentionEnforcementOutcome } from "../privacy/retention-enforcement-records.shared.schemas.js";
23
+ import { SubjectErasureExternalEffectStatus } from "../privacy/subject-erasure.shared.schemas.js";
24
+ import { SubjectDataRecipientObligation, SubjectDataRecipientReach, SubjectDataRecipientRelevance, SubjectDataRecipientsStatementStatus, } from "../privacy/subject-data-recipients.shared.schemas.js";
7
25
  import { RegistrationAcquisitionChannel } from "../../config/entity-identity-config.shared.schemas.js";
8
26
  import { ResourceOperationRiskLevel, ResourceOperationVariantType } from "../../resources/resources.shared.schemas.js";
9
27
  import { CoreResourceOperation } from "../../resources/resources.shared.core.definitions.js";
10
28
  import { PlatformAccessGrantAutoApprovalReason, PlatformAccessGrantLifecycleTransition, PlatformAccessGrantScope, PlatformAccessGrantStatus, } from "../../security/authorizations/platform-access-grants.shared.schemas.js";
11
29
  import { SystemOfRecordPartitionAssignmentTransition } from "../../systems-of-record/system-of-record-partition-assignments.shared.schemas.js";
30
+ import { DelegatedAdministrativeCapability, ServiceProviderCapabilityGrantEndCause } from "../../organizations/service-provider-capability-grants.shared.schemas.js";
31
+ import { ServiceProviderExpertAdmissionPolicy, ServiceProviderExpertApprovalDenialReason, ServiceProviderRelationshipStatus, ServiceProviderRelationshipTransition, } from "../../organizations/service-provider-relationships.shared.schemas.js";
12
32
  import { ExecutionContext_ExecutionType, ExecutionContext_MachineCredentialSchema } from "../../runtime/execution-context.shared.schemas.js";
33
+ import { InboundDeliveryRejectionReason, InboundDeliveryUnroutableReason, InboundResolvedScopeKind, InboundSourceKind } from "../../inbound/inbound-delivery.shared.schemas.js";
34
+ import { InboundBelowMinimumDisposition, InboundChannelKind, InboundSenderAssurance, ReplyTokenDowngradeReason } from "../../inbound/inbound-channels.shared.schemas.js";
35
+ import { ReplyTokenRevocationReason } from "../../inbound/conversation-threads.shared.schemas.js";
36
+ import { InboundEmailLimit, InboundEmailWithheldReason, OrganizationEmailDomainRemovalTrigger, OrganizationEmailDomainStatus, OrganizationEmailDomainSuspensionReason, } from "../../notifications/inbound-email/inbound-email.shared.schemas.js";
13
37
  import { AuthScopeType, SsoConnectionType, } from "../../security/authentications/authentication.shared.schemas.js";
14
38
  import { WebhookEndpointProbeOutcome } from "../../notifications/m2m/webhook-config.shared.schemas.js";
15
39
  import { ProviderCredentialDeletionReason, ProviderOAuth2RevocationOutcomeValues, ProviderCredentialResolutionSource, } from "../../security/connected-accounts/provider-credentials.shared.schemas.js";
@@ -282,6 +306,12 @@ export var CoreAuditableEventType;
282
306
  // assurance-control: WILDO.IDENTITY.SESSION_ASSURANCE — a change to the authentication assurance
283
307
  // requirements (MFA / password / lockout) must be attributable and evidenced.
284
308
  CoreAuditableEventType["APPLICATION_AUTH_POLICY_CHANGED"] = "application_auth_policy_changed";
309
+ // Retention Enforcement (#1636)
310
+ // One per retention-class sweep run, by the system: per-class totals of what the run deleted, skipped and
311
+ // failed on. The queryable per-resource record is `retentionEnforcementRecords`; this event exists to reach
312
+ // the SIEM. Its row risk is HIGH when any resource failed, LOW otherwise.
313
+ // assurance-control: WILDO.PRIVACY.STORAGE_LIMITATION — records evidence that declared retention was enforced.
314
+ CoreAuditableEventType["RETENTION_ENFORCEMENT_RECORDED"] = "retention_enforcement_recorded";
285
315
  // Outbound M2M Webhook Events
286
316
  // An admin firing `webhookConfig.testEndpoint` makes the platform emit a signed HTTP
287
317
  // request to an operator-supplied URL. That is an outbound-traffic primitive reachable
@@ -290,6 +320,57 @@ export var CoreAuditableEventType;
290
320
  // assurance-control: WILDO.INTEGRATION.OUTBOUND_ACTIVITY_AUDIT — outbound connection initiated from an
291
321
  // administrative surface is attributable and monitorable.
292
322
  CoreAuditableEventType["WEBHOOK_ENDPOINT_TEST_DISPATCHED"] = "webhook_endpoint_test_dispatched";
323
+ // Inbound Delivery Events (#1596)
324
+ // Every verified message another system sends the application leaves a trail from the wire to its
325
+ // outcome: refused at the door, stored, never routable, processed, failed and retried, dead, replayed.
326
+ // The terminal and refused transitions are the ones an operator investigates; ACCEPTED and PROCESSED
327
+ // make the successes countable too, so a SIEM can see a sender's volume and not only its failures.
328
+ // assurance-control: WILDO.SECURITY.FAIL_CLOSED — a message whose signature, timestamp, size or media
329
+ // type does not verify is refused whole and the refusal is recorded.
330
+ CoreAuditableEventType["INBOUND_DELIVERY_REJECTED"] = "inbound_delivery_rejected";
331
+ // assurance-control: WILDO.AUDIT.SECURITY_EVENT — a verified external message entering the system is recorded.
332
+ CoreAuditableEventType["INBOUND_DELIVERY_ACCEPTED"] = "inbound_delivery_accepted";
333
+ // assurance-control: WILDO.OPERATIONS.EXECUTION_INTEGRITY — a message that resolves to no admissible scope is
334
+ // recorded as never run, rather than run somewhere it does not belong.
335
+ CoreAuditableEventType["INBOUND_DELIVERY_UNROUTABLE"] = "inbound_delivery_unroutable";
336
+ CoreAuditableEventType["INBOUND_DELIVERY_PROCESSED"] = "inbound_delivery_processed";
337
+ CoreAuditableEventType["INBOUND_DELIVERY_FAILED"] = "inbound_delivery_failed";
338
+ // assurance-control: WILDO.OPERATIONS.EXECUTION_INTEGRITY — work a sender was told was received and that never
339
+ // completed is recorded as such, so it can be found and replayed.
340
+ CoreAuditableEventType["INBOUND_DELIVERY_DEAD"] = "inbound_delivery_dead";
341
+ // assurance-control: WILDO.AUDIT.EVIDENCE_INTEGRITY — a privileged re-run of stored input is attributable
342
+ // and carries its written justification.
343
+ CoreAuditableEventType["INBOUND_DELIVERY_REPLAYED"] = "inbound_delivery_replayed";
344
+ // Inbound Channel Events (#1630) — a message on a channel, and the replies that answer it.
345
+ // assurance-control: WILDO.SECURITY.FAIL_CLOSED — a message whose sender assurance is below the handler's
346
+ // minimum never reaches that handler, and what happened to it instead is recorded.
347
+ CoreAuditableEventType["INBOUND_DELIVERY_BELOW_ASSURANCE"] = "inbound_delivery_below_assurance";
348
+ // assurance-control: WILDO.INTEGRATION.OUTBOUND_ACTIVITY_AUDIT — every reply a handler sends on a thread is
349
+ // attributable to the delivery and thread it answered.
350
+ CoreAuditableEventType["INBOUND_REPLY_SENT"] = "inbound_reply_sent";
351
+ CoreAuditableEventType["INBOUND_REPLY_FAILED"] = "inbound_reply_failed";
352
+ // assurance-control: WILDO.AUDIT.SECURITY_EVENT — a reply address (a bearer secret) stopping to bind replies is recorded with why.
353
+ CoreAuditableEventType["INBOUND_REPLY_TOKEN_REVOKED"] = "inbound_reply_token_revoked";
354
+ // assurance-control: WILDO.AUDIT.SECURITY_EVENT — a live reply address presented by a sender it was not issued
355
+ // to, or on an unauthenticated domain, is recorded: it is what a leaked address looks like.
356
+ CoreAuditableEventType["INBOUND_REPLY_TOKEN_DOWNGRADED"] = "inbound_reply_token_downgraded";
357
+ // Receiving Email Events (#1600) — the domains an organization proves, provisions and loses, the client
358
+ // mailboxes a firm keeps, and the parts of a received message that were not made available.
359
+ // assurance-control: WILDO.DATA.TENANT_ISOLATION — a claim on a domain is recorded; nothing routes on it until ownership is proven.
360
+ CoreAuditableEventType["ORGANIZATION_EMAIL_DOMAIN_CLAIMED"] = "organization_email_domain_claimed";
361
+ // assurance-control: WILDO.DATA.TENANT_ISOLATION — the moment an organization proved it controls a domain, which decides where that domain's mail may go.
362
+ CoreAuditableEventType["ORGANIZATION_EMAIL_DOMAIN_OWNERSHIP_VERIFIED"] = "organization_email_domain_ownership_verified";
363
+ CoreAuditableEventType["ORGANIZATION_EMAIL_DOMAIN_VERIFIED"] = "organization_email_domain_verified";
364
+ // assurance-control: WILDO.SECURITY.FAIL_CLOSED — a domain whose ownership or records disappeared stops routing and sending, and the stop is recorded.
365
+ CoreAuditableEventType["ORGANIZATION_EMAIL_DOMAIN_SUSPENDED"] = "organization_email_domain_suspended";
366
+ CoreAuditableEventType["ORGANIZATION_EMAIL_DOMAIN_REMOVED"] = "organization_email_domain_removed";
367
+ // assurance-control: WILDO.DATA.TENANT_ISOLATION — a mailbox routing a firm's domain into a client organization exists only under an active relationship, and is recorded.
368
+ CoreAuditableEventType["CLIENT_MAILBOX_CREATED"] = "client_mailbox_created";
369
+ CoreAuditableEventType["CLIENT_MAILBOX_REMOVED"] = "client_mailbox_removed";
370
+ // assurance-control: WILDO.SECURITY.INGESTED_CONTENT_INSPECTION — an attachment not proven clean is never exposed, and withholding it is recorded.
371
+ CoreAuditableEventType["INBOUND_EMAIL_ATTACHMENT_WITHHELD"] = "inbound_email_attachment_withheld";
372
+ // assurance-control: WILDO.OPERATIONS.RESOURCE_LIMIT — a message over a declared limit is kept as an envelope only, and recorded.
373
+ CoreAuditableEventType["INBOUND_EMAIL_REJECTED_LIMIT"] = "inbound_email_rejected_limit";
293
374
  // SCIM Directory Provisioning Events
294
375
  // audit-event-unemitted: covered by the generic `RESOURCE_OPERATION_PERFORMED` row — see USER_CREATED.
295
376
  CoreAuditableEventType["SCIM_TOKEN_CREATED"] = "scim_token_created";
@@ -489,6 +570,105 @@ export var CoreAuditableEventType;
489
570
  CoreAuditableEventType["RESOURCE_OPERATION_DENIED"] = "resource_operation_denied";
490
571
  CoreAuditableEventType["CROSS_TENANT_ADMINISTRATIVE_ACCESS"] = "cross_tenant_administrative_access";
491
572
  CoreAuditableEventType["PLATFORM_ACCESS_GRANT_LIFECYCLE"] = "platform_access_grant_lifecycle";
573
+ /**
574
+ * A legal hold was placed (#1634): from this instant every deletion path skips or refuses the held scope.
575
+ * HIGH — it suspends a tenant's retention schedule and its data subjects' erasures.
576
+ *
577
+ * assurance-control: WILDO.PRIVACY.STORAGE_LIMITATION — deletion suspended under a recorded legal hold.
578
+ */
579
+ CoreAuditableEventType["LEGAL_HOLD_PLACED"] = "legal_hold_placed";
580
+ /**
581
+ * A legal hold was released (#1634): deletion of its scope resumes on the next sweep, purge or erasure.
582
+ *
583
+ * assurance-control: WILDO.PRIVACY.STORAGE_LIMITATION — deletion resumes only on a recorded release.
584
+ */
585
+ CoreAuditableEventType["LEGAL_HOLD_RELEASED"] = "legal_hold_released";
586
+ /**
587
+ * A model-cost period aggregate was linked to the invoice that bills it (#1598). A retention-deciding act: the
588
+ * link is what keeps the aggregate past its tenant's deletion, for the statutory bookkeeping period.
589
+ *
590
+ * assurance-control: WILDO.PRIVACY.ERASURE_PROPAGATION — only an aggregate an invoice bills outlives its tenant.
591
+ */
592
+ CoreAuditableEventType["MODEL_COST_AGGREGATE_INVOICE_LINKED"] = "model_cost_aggregate_invoice_linked";
593
+ /**
594
+ * An organization changed whether it keeps the CONTENT of its experts' corrections to agent work (#1599): the
595
+ * opt-in, its purpose, its reader role or its narrowing.
596
+ *
597
+ * assurance-control: WILDO.PRIVACY.DATA_MINIMIZATION — every change to what the tenant keeps of its client material is recorded.
598
+ */
599
+ CoreAuditableEventType["CORRECTION_CAPTURE_SETTING_CHANGED"] = "correction_capture_setting_changed";
600
+ /**
601
+ * An organization recorded, changed or revoked its basis for exporting its experts' corrections as evaluation
602
+ * data (#1599).
603
+ *
604
+ * assurance-control: WILDO.PRIVACY.COLLECTION_DATA_EXPORT — the authorisation an export relies on is recorded.
605
+ */
606
+ CoreAuditableEventType["EVALUATION_EXPORT_AUTHORIZATION_CHANGED"] = "evaluation_export_authorization_changed";
607
+ /** A tenant's corrections were exported as an evaluation dataset under its recorded authorisation (#1599). */
608
+ CoreAuditableEventType["EVALUATION_DATASET_EXPORTED"] = "evaluation_dataset_exported";
609
+ /**
610
+ * An export of a tenant's corrections was REFUSED: no ACTIVE authorisation of that organization (#1599 I7).
611
+ *
612
+ * assurance-control: WILDO.PRIVACY.COLLECTION_DATA_EXPORT — a refused export is recorded, not only prevented.
613
+ */
614
+ CoreAuditableEventType["EVALUATION_DATASET_EXPORT_REFUSED"] = "evaluation_dataset_export_refused";
615
+ /**
616
+ * A service-provider relationship moved (#1597) — proposed, accepted, declined, suspended, resumed,
617
+ * scope amended, terminated, withdrawn or expired. ONE event for the relationship's whole life with a
618
+ * {@link ServiceProviderRelationshipTransition} field (the `platformAccessGrants` shape), written to
619
+ * BOTH the client's and the firm's trail so each reads the relationship's timeline in its own.
620
+ */
621
+ CoreAuditableEventType["SERVICE_PROVIDER_RELATIONSHIP_LIFECYCLE"] = "service_provider_relationship_lifecycle";
622
+ /** A firm-owned OAuth client was admitted into, or removed from, a client organization (#1597, S3). */
623
+ CoreAuditableEventType["SERVICE_PROVIDER_MACHINE_CLIENT_ADMISSION_CHANGED"] = "service_provider_machine_client_admission_changed";
624
+ /** A firm assigned one of its experts to serve a client relationship (#1597). */
625
+ CoreAuditableEventType["SERVICE_PROVIDER_EXPERT_ASSIGNED"] = "service_provider_expert_assigned";
626
+ /** A firm ended an expert's assignment to a client relationship (#1597). */
627
+ CoreAuditableEventType["SERVICE_PROVIDER_EXPERT_UNASSIGNED"] = "service_provider_expert_unassigned";
628
+ /**
629
+ * A firm assigned an expert under a relationship whose client approves each expert, so the assignment now waits
630
+ * for the client's administrators (#1612). The approval is a human decision; this row carries its `decisionRef`,
631
+ * so it joins that decision's own REQUESTED / RESOLVED rows rather than duplicating them. Both organizations' trails.
632
+ */
633
+ CoreAuditableEventType["SERVICE_PROVIDER_EXPERT_APPROVAL_REQUESTED"] = "service_provider_expert_approval_requested";
634
+ /** The client approved the expert and the expert was admitted — a provider membership now exists (#1612). Both trails. */
635
+ CoreAuditableEventType["SERVICE_PROVIDER_EXPERT_APPROVAL_GRANTED"] = "service_provider_expert_approval_granted";
636
+ /**
637
+ * The expert was NOT admitted (#1612): the client refused, or approved when the relationship, the expert's firm
638
+ * membership or the (person, client) slot no longer allowed it. `denialReason` says which. Both trails.
639
+ */
640
+ CoreAuditableEventType["SERVICE_PROVIDER_EXPERT_APPROVAL_DENIED"] = "service_provider_expert_approval_denied";
641
+ /** Nobody in the client answered before the approval's lapse; nothing was created (#1612). Both trails. */
642
+ CoreAuditableEventType["SERVICE_PROVIDER_EXPERT_APPROVAL_LAPSED"] = "service_provider_expert_approval_lapsed";
643
+ /**
644
+ * A client lent a service firm's experts a named administrative capability, until a stated end (#1631). HIGH, CRITICAL
645
+ * for a security-critical capability. Written to both organizations' trails.
646
+ */
647
+ CoreAuditableEventType["SERVICE_PROVIDER_CAPABILITY_GRANTED"] = "service_provider_capability_granted";
648
+ /** A client revoked a lent capability — or the relationship ended, which revokes them all (#1631). Both trails. */
649
+ CoreAuditableEventType["SERVICE_PROVIDER_CAPABILITY_REVOKED"] = "service_provider_capability_revoked";
650
+ /**
651
+ * A client organization changed whether it trusts the firm's own identity provider's MFA on one relationship
652
+ * (#1633). HIGH: turning it on lets a proof made outside this application satisfy the client's authentication
653
+ * policy for the firm's experts. Written to the client's trail and the firm's.
654
+ */
655
+ CoreAuditableEventType["SERVICE_PROVIDER_MFA_TRUST_CHANGED"] = "service_provider_mfa_trust_changed";
656
+ /**
657
+ * A firm's expert satisfied a CLIENT organization's authentication policy (#1633): a factor was recorded on the
658
+ * session for that client, with where it came from — a step-up answered here, or the firm's trusted identity
659
+ * provider. The client's answer to "was this expert's work MFA-protected, and by whom?". Client trail only.
660
+ */
661
+ CoreAuditableEventType["SERVICE_PROVIDER_CLIENT_AUTHENTICATION_SATISFIED"] = "service_provider_client_authentication_satisfied";
662
+ /**
663
+ * A firm switched its expert-activity feed on or off (#1632). The record of a worker-monitoring decision: who,
664
+ * when, and whether the consultation notice was acknowledged. Firm trail.
665
+ */
666
+ CoreAuditableEventType["SERVICE_PROVIDER_ACTIVITY_FEED_DECIDED"] = "service_provider_activity_feed_decided";
667
+ /**
668
+ * A client organization changed how much a firm's activity feed may say about work done in it (#1632). Written to
669
+ * the client's trail and the firm's, so the firm sees why its feed went quiet.
670
+ */
671
+ CoreAuditableEventType["SERVICE_PROVIDER_ACTIVITY_FEED_DISCLOSURE_CHANGED"] = "service_provider_activity_feed_disclosure_changed";
492
672
  /**
493
673
  * A remote partition of a system of record was assigned to, moved between, or removed from an
494
674
  * organization unit.
@@ -608,7 +788,7 @@ export var CoreAuditableEventType;
608
788
  // the other two modes link it (#1382).
609
789
  CoreAuditableEventType["GOVERNED_DOCUMENT_INTERACTION_RECORDED"] = "governed_document_interaction_recorded";
610
790
  CoreAuditableEventType["SUBJECT_DATA_EXPORT"] = "subject_data_export";
611
- // A resource LISTING was exported to a file (CSV/JSON) by an operator. Distinct from
791
+ // A resource LISTING was exported to a file (CSV, JSON or PDF) by an operator. Distinct from
612
792
  // SUBJECT_DATA_EXPORT, which answers a data subject's own right over their own data: this one is
613
793
  // an authorized operator taking rows they can already read and carrying them OUT of the system, so
614
794
  // the questions it must answer are "which resource, how many rows, and was it the page they were
@@ -629,6 +809,55 @@ export var CoreAuditableEventType;
629
809
  // probes the services tier never sees. Classified DATA_ACCESS / INFO: routine, authorized
630
810
  // operation — the value is the queryable trail, not an alarm.
631
811
  CoreAuditableEventType["HTTP_API_READ_THROUGH_ACCESS"] = "http_api_read_through_access";
812
+ // A row was WRITTEN THROUGH an HTTP-API resource binding (#1679) — a create, update or delete sent to a
813
+ // system of record the platform does not own, or refused before it was sent. The outbound twin of
814
+ // HTTP_API_READ_THROUGH_ACCESS and deliberately not folded into it: a read brings rows IN, this pushes a
815
+ // change OUT, and the reviewer's question is different — "who changed which row of which external
816
+ // system, which FIELDS did they change, and did it land". One event per write ATTEMPT, emitted at the
817
+ // adapter (the only tier that witnesses every remote write, repository-direct callers included), on
818
+ // every outcome: applied, refused before sending, refused by the remote, UNKNOWN, and replayed from an
819
+ // earlier attempt under the same Idempotency-Key. Carries field NAMES, never values: the trail must
820
+ // never become a second copy of what was written into someone else's system.
821
+ //
822
+ // Beside RESOURCE_OPERATION_PERFORMED, not instead of it, and the two cannot contradict each other:
823
+ // that row records that the OPERATION completed and is emitted only after it did; this one records
824
+ // what happened at the REMOTE and is emitted whatever the operation's fate. An applied write whose
825
+ // follow-up failed therefore shows this row (APPLIED) and no operation row — which is exactly the
826
+ // state the WRITE_APPLIED_FOLLOW_UP_FAILED answer describes.
827
+ CoreAuditableEventType["HTTP_API_WRITE_THROUGH"] = "http_api_write_through";
828
+ // A declared ACTION of a system of record was run (#1678) — a vendor operation that is not a row write (posting an
829
+ // invoice, confirming an order, an OData action), sent under the instance's service identity. One row per attempt that
830
+ // reached the remote, or was replayed from an earlier attempt under the same Idempotency-Key: applied, refused by the
831
+ // remote, of unknown outcome, replayed. Not folded into HTTP_API_WRITE_THROUGH: that row names the FIELDS a row write
832
+ // changed, this one names an OPERATION and whether it landed, and a reviewer asks different questions of each.
833
+ //
834
+ // It is also the action's OUTBOUND record, and subject-free in the #1712 sense: the instance, the action, the remote
835
+ // entity, the outcome and the time. No input VALUE (only the input's field names), no payload, no subject id — the
836
+ // record describes the application's egress, not a person. The initiating actor rides the audit row's own `userId`,
837
+ // as it does on every audit row; that is attribution, not a subject.
838
+ CoreAuditableEventType["SYSTEM_OF_RECORD_ACTION_EXECUTED"] = "system_of_record_action_executed";
839
+ // A declared ACTION of a system of record was REFUSED before anything was sent (#1678) — a non-owner organization, a
840
+ // role the caller does not hold, a context not admitted to initiate it, a record outside the caller's partition, an
841
+ // invalid input, a reused or missing Idempotency-Key. Its own type rather than an outcome of the row above because it
842
+ // is an AUTHORIZATION decision, classified and alerted on as one; the executed row is data access. Every refusal is
843
+ // recorded, so a probe for records one may not see leaves a trail even though it learns nothing.
844
+ CoreAuditableEventType["SYSTEM_OF_RECORD_ACTION_REFUSED"] = "system_of_record_action_refused";
845
+ // An operator RESET a pipeline through the admin door (#1734) — discarded its in-flight full pass (cursor, checkpoint,
846
+ // membership journal) and, for a full resync, its incremental watermark. Its own type because it is an administrative
847
+ // act on how a copy of a system of record is kept, not a read or a write of the records: the next run re-reads what
848
+ // the reset discarded, and the row names what that was, so a reviewer can tell a deliberate resync from a pipeline that
849
+ // lost its place. Classified ORG_MANAGEMENT / WARNING, like a platform configuration publication.
850
+ CoreAuditableEventType["EXTERNAL_DATA_PIPELINE_RESET"] = "external_data_pipeline_reset";
851
+ // An operator ANSWERED an outbound write of unknown outcome through the admin door (#2039): it landed (and, for a
852
+ // create, here is the remote key of the record found) or it did not (send it again). Its own type because it is a
853
+ // claim about ANOTHER system that nothing in the engine can check — the answer decides whether a record is linked or
854
+ // sent a second time — so the record is the control. Classified ORG_MANAGEMENT / WARNING, like a pipeline reset.
855
+ CoreAuditableEventType["EXTERNAL_DATA_OUTBOUND_UNKNOWN_RESOLVED"] = "external_data_outbound_unknown_resolved";
856
+ // A BIDIRECTIONAL pipeline RESOLVED a row changed on both sides since they last agreed (#1723): the system of record's
857
+ // values were loaded over the local ones, or the local ones were kept to be sent over the remote ones. One side's change
858
+ // to the named fields is discarded, by the declared policy or an operator's choice, so the record is the control.
859
+ // Classified DATA_ACCESS / WARNING: data was overwritten, by design, and a reviewer reads it beside the write-through.
860
+ CoreAuditableEventType["EXTERNAL_DATA_CONFLICT_RESOLVED"] = "external_data_conflict_resolved";
632
861
  // A subject erasure INVOKED the declared external-erasure operation of an HTTP_API-bound
633
862
  // resource (ETL D6 stance 6b) — rows linked to the erased subject were DELETED in a system the
634
863
  // platform does not own (OData canonical DELETE / Odoo `unlink` / a declared REST_JSON call).
@@ -648,6 +877,15 @@ export var CoreAuditableEventType;
648
877
  // USER_LIFECYCLE / CRITICAL: one event per acknowledged resource per erasure, never a standing
649
878
  // posture.
650
879
  CoreAuditableEventType["HTTP_API_NON_ERASURE_ACKNOWLEDGED"] = "http_api_non_erasure_acknowledged";
880
+ // A subject erasure's outcome at ONE RECIPIENT of the subject's data — a provider the
881
+ // application's declared flows reach (#1710). One row per recipient per erasure, naming the recipient, whose
882
+ // account reached it, who owes the Art. 19 communication and the outcome (a registered effect's status, or the
883
+ // status the recipient's declared erasure stance decides: UNMEASURED when it declares none). The queryable half of
884
+ // the per-recipient receipt `SubjectErasureReport.recipients` carries, so an evidence collector can read per-vendor
885
+ // outcomes without the application persisting reports. Vendor facts only — no personal data. USER_LIFECYCLE / INFO
886
+ // for every outcome: severity is fixed per event type, so a reader separates the recipients whose data stayed live by
887
+ // the row's `status`, never by its severity.
888
+ CoreAuditableEventType["SUBJECT_ERASURE_RECIPIENT_OUTCOME"] = "subject_erasure_recipient_outcome";
651
889
  // The application CALLED a declared operation on a third-party provider — one event per outbound
652
890
  // call, on both the success and the failure path.
653
891
  //
@@ -709,36 +947,85 @@ export var CoreAuditableEventType;
709
947
  // assurance-control: WILDO.AUDIT.ATTRIBUTION — an agent's outbound tool call is recorded with the
710
948
  // real initiating user carried through whichever account it spent.
711
949
  CoreAuditableEventType["MCP_TOOL_CALL"] = "mcp_tool_call";
712
- // A human APPROVER changed a proposed tool call's arguments and approved the changed call (#566).
713
- //
714
- // The strongest act available on the approval plane, and the reason it is its own member rather
715
- // than a flag on some broader "approval decided" event: on every other decision the approver
716
- // ASSENTS to a call the model authored, and here they AUTHOR one the model never proposed. An
717
- // incident reader asking "who wrote the arguments this tool ran with" is asking a different
718
- // question from "who let it run", and folding the two would make the first unanswerable by query.
950
+ // The application's BACKEND called a vendor to discharge an engine CAPABILITY (#1712): sent a
951
+ // transactional email or an SMS, called the billing provider, moved bytes to or from a storage vendor.
719
952
  //
720
- // Emitted ONLY when the executed input differs from the proposed one. An ordinary approval is not
721
- // this event and is deliberately not recorded here — the plane has no approval-decision trail at
722
- // all yet, which is a separate gap with its own issue; adding half of one under this name would
723
- // make `mcp_tool_call`'s mistake in the other direction, an event that answers two questions and
724
- // neither well.
953
+ // A sibling of `PROVIDER_OPERATION_CALL`, not a case of it, for the reason `MCP_TOOL_CALL` is one: a
954
+ // capability call is not a CATALOGUE operation. It has no `operationId`, no catalogue `domain` and no
955
+ // declared READ/WRITE classification; its act is named by the capability and a closed action instead.
956
+ // Folding them would make "which catalogue operations ran" answer with emails. The ATTRIBUTION fields
957
+ // are identical, so "what did this application send to that vendor" is one shape of query over all three.
725
958
  //
726
- // NAMES AND DIGESTS ONLY — never argument values. Identical reasoning to
727
- // `RESOURCE_OPERATION_PERFORMED`'s `changedFields` / `fieldEvidence` split: audit rows replicate
728
- // to the per-org SIEM and to an immutable ledger that cannot be scrubbed, so copying arbitrary
729
- // tool arguments here would manufacture an unerasable duplicate of whatever a person typed, in
730
- // direct conflict with GDPR Art. 17. The two digests prove executed ≠ proposed; the key names say
731
- // WHICH arguments a person authored. Neither can leak content.
959
+ // NO SUBJECT by construction, and that is a decision rather than an omission. #412 declined any
960
+ // persisted record of a sent email — even metadata-only, recipient and template included — because it
961
+ // would be a new personal-data store owing export, erasure and a retention class. So no field here
962
+ // names a recipient, a phone number, a file, a customer or a payload: the row describes the
963
+ // application's EGRESS, not the person the data is about. It still carries ATTRIBUTION like every audit
964
+ // row — the initiating actor where the egress knows one, and `connectionOwnerId`, whose account was
965
+ // spent (a person, for a file in their Drive) — which is why it exports at SUBJECT_DETAIL like its
966
+ // siblings. Email, SMS and billing are reached without an execution context and carry no actor.
732
967
  //
733
- // Classified AUTHORIZATION / WARNING. Authorization because the act IS a human authorization
734
- // decision, not a data access. WARNING rather than CRITICAL for the same reading the OAuth grant
735
- // rows take: it is notable, dashboard-worthy and worth reviewing, and it is an AUTHORIZED action
736
- // taken by an identified person with the pause in front of them — reserving CRITICAL for the rows
737
- // that mean something is wrong is what keeps a severity filter usable.
968
+ // Classified DATA_ACCESS / INFO for its siblings' reason: routine, authorized activity whose value is
969
+ // the queryable trail rather than an alarm.
738
970
  //
739
- // assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT — the approver who authored the
740
- // executed arguments is recorded beside proof that they differed from the proposal.
741
- CoreAuditableEventType["AGENT_TOOL_APPROVAL_MODIFIED"] = "agent_tool_approval_modified";
971
+ // assurance-control: WILDO.INTEGRATION.OUTBOUND_ACTIVITY_AUDIT — every physical call a capability
972
+ // makes to a vendor is recorded with its provider, capability and outcome.
973
+ CoreAuditableEventType["PROVIDER_CAPABILITY_CALL"] = "provider_capability_call";
974
+ // ── Human decisions on an agent's work (#1594) ──
975
+ // One family for BOTH planes — the conversational tool approval and the actor-system suspension —
976
+ // keyed by one `decisionRef`. Every row carries names and ids only: no argument values and no
977
+ // digests (#1595 D5), because a trail that holds what an agent was about to write cannot be scrubbed.
978
+ // All AUTHORIZATION: each records who may, or did, authorize an agent's action.
979
+ /** A decision was raised and is waiting. Actor: the requester's principal, with the agent. */
980
+ CoreAuditableEventType["HUMAN_DECISION_REQUESTED"] = "human_decision_requested";
981
+ /**
982
+ * A decision ended — answered, lapsed, withdrawn, or its requester's authority lapsed. Exactly one
983
+ * per `decisionRef`, written only by whoever won the compare-and-swap that released the pause.
984
+ * `outcome` says which; a SIEM that wants modified approvals filters on it.
985
+ *
986
+ * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT — every human decision on an agent's action is recorded once, with its decider and outcome.
987
+ */
988
+ CoreAuditableEventType["HUMAN_DECISION_RESOLVED"] = "human_decision_resolved";
989
+ /** A decision was moved to another person (an answerer's handover, or a supervisor's takeover). */
990
+ CoreAuditableEventType["HUMAN_DECISION_REASSIGNED"] = "human_decision_reassigned";
991
+ /** A decision was escalated — moved up, never denied. */
992
+ CoreAuditableEventType["HUMAN_DECISION_ESCALATED"] = "human_decision_escalated";
993
+ /** A role-routed decision was claimed by one holder, or given back to the role (`claimed: false`). */
994
+ CoreAuditableEventType["HUMAN_DECISION_CLAIMED"] = "human_decision_claimed";
995
+ /** Someone tried to act on a decision and the predicate refused them. WARNING: the refusal is the evidence. */
996
+ CoreAuditableEventType["HUMAN_DECISION_ANSWER_REFUSED"] = "human_decision_answer_refused";
997
+ // #1628 — deadlines. A deadline changes who is asked and who is told, never the outcome, so none of
998
+ // these rows is a decision: RESOLVED stays the one row that says how a decision ended.
999
+ /** A decision's CLAIM or DECISION deadline passed with nobody having taken or answered it. Actor: the application. */
1000
+ CoreAuditableEventType["HUMAN_DECISION_DEADLINE_MISSED"] = "human_decision_deadline_missed";
1001
+ /**
1002
+ * A deadline stage's escalation rule fired: who was notified, and — for a REASSIGN rule — whether its
1003
+ * target resolved and could answer. Actor: the application.
1004
+ *
1005
+ * assurance-control: WILDO.AUDIT.SECURITY_EVENT — every rule-driven change to who is asked about an agent's action is recorded, including a reassignment refused because its target could not answer.
1006
+ */
1007
+ CoreAuditableEventType["HUMAN_DECISION_ESCALATION_FIRED"] = "human_decision_escalation_fired";
1008
+ /** A person admitted to answer stopped the decision's CLAIM and DECISION clocks, naming a declared pause state. */
1009
+ CoreAuditableEventType["HUMAN_DECISION_CLOCK_PAUSED"] = "human_decision_clock_paused";
1010
+ /** A person admitted to answer restarted the clocks; the paused time was added to both deadlines. */
1011
+ CoreAuditableEventType["HUMAN_DECISION_CLOCK_RESUMED"] = "human_decision_clock_resumed";
1012
+ // ── Autonomous agents (#1611) ──
1013
+ // An agent that runs with nobody on a socket, under a tenant-granted machine credential. The binding is
1014
+ // a grant of standing authority, so both directions are recorded; every turn the entry point starts or
1015
+ // refuses is recorded too, so an unattended action is never unexplained.
1016
+ /**
1017
+ * An autonomous agent may now run in an organization: a client of that organization was bound to it,
1018
+ * or a firm's client that runs it was admitted by the organization's service-provider relationship.
1019
+ *
1020
+ * assurance-control: WILDO.ACCESS.PRIVILEGE_EVIDENCE — granting an agent standing authority to act unattended is recorded.
1021
+ */
1022
+ CoreAuditableEventType["AUTONOMOUS_AGENT_BOUND"] = "autonomous_agent_bound";
1023
+ /** An autonomous agent may no longer run in an organization: its binding or its admission was removed. */
1024
+ CoreAuditableEventType["AUTONOMOUS_AGENT_UNBOUND"] = "autonomous_agent_unbound";
1025
+ /** The autonomous entry point opened a turn. Actor: the machine principal it resolved. */
1026
+ CoreAuditableEventType["AUTONOMOUS_AGENT_TURN_STARTED"] = "autonomous_agent_turn_started";
1027
+ /** The autonomous entry point refused to open a turn, and created nothing. WARNING: `reason` says why. */
1028
+ CoreAuditableEventType["AUTONOMOUS_AGENT_TURN_REFUSED"] = "autonomous_agent_turn_refused";
742
1029
  // ── OAuth2 / OIDC Provider Events (Wildo AS the authorization server) ──
743
1030
  // Distinct from the `OAUTH2_*` family above, which records Wildo CONSUMING an
744
1031
  // EXTERNAL social OAuth provider. These record the app-issued OAuth2/OIDC provider
@@ -888,6 +1175,52 @@ export var ProviderOperationScopeCheck;
888
1175
  /** The grant recorded its scopes and lacks at least one required scope. The call was refused before any request. */
889
1176
  ProviderOperationScopeCheck["MISSING"] = "missing";
890
1177
  })(ProviderOperationScopeCheck || (ProviderOperationScopeCheck = {}));
1178
+ /**
1179
+ * WHICH engine capability an outbound capability call discharged (#1712) — the egress, not the vendor.
1180
+ *
1181
+ * Deliberately not {@link EngineCapability}: file storage is not an engine capability (a storage is selected
1182
+ * per field, not per application), and email is two capabilities (transactional and marketing) with one
1183
+ * egress. The finer engine capability, where one exists, rides `engineCapability` beside it.
1184
+ */
1185
+ export var ProviderCapabilityEgress;
1186
+ (function (ProviderCapabilityEgress) {
1187
+ ProviderCapabilityEgress["EMAIL"] = "email";
1188
+ ProviderCapabilityEgress["SMS"] = "sms";
1189
+ ProviderCapabilityEgress["BILLING"] = "billing";
1190
+ ProviderCapabilityEgress["FILE_STORAGE"] = "file_storage";
1191
+ /** A captcha vendor's backend verification of a token a public form submitted (#1735). */
1192
+ ProviderCapabilityEgress["CAPTCHA"] = "captcha";
1193
+ })(ProviderCapabilityEgress || (ProviderCapabilityEgress = {}));
1194
+ /** WHAT a capability call did (#1712). One member per act the egress performs; billing names its adapter method apart. */
1195
+ export var ProviderCapabilityCallAction;
1196
+ (function (ProviderCapabilityCallAction) {
1197
+ ProviderCapabilityCallAction["EMAIL_SEND"] = "email_send";
1198
+ ProviderCapabilityCallAction["SMS_SEND"] = "sms_send";
1199
+ /** One call of the billing adapter; `billingOperation` names which. */
1200
+ ProviderCapabilityCallAction["BILLING_OPERATION"] = "billing_operation";
1201
+ ProviderCapabilityCallAction["FILE_STORAGE_UPLOAD"] = "file_storage_upload";
1202
+ ProviderCapabilityCallAction["FILE_STORAGE_DOWNLOAD"] = "file_storage_download";
1203
+ ProviderCapabilityCallAction["FILE_STORAGE_READ_METADATA"] = "file_storage_read_metadata";
1204
+ ProviderCapabilityCallAction["FILE_STORAGE_DELETE"] = "file_storage_delete";
1205
+ /** One token sent to a captcha vendor's verification endpoint (reCAPTCHA `siteverify`). */
1206
+ ProviderCapabilityCallAction["CAPTCHA_VERIFY"] = "captcha_verify";
1207
+ })(ProviderCapabilityCallAction || (ProviderCapabilityCallAction = {}));
1208
+ /**
1209
+ * How ONE capability call ended, as far as the application can know (#1712).
1210
+ *
1211
+ * Three members, not two, because a call can leave and never be answered: an email whose transport timed out after
1212
+ * the request was sent may or may not have been accepted. Reporting that as a failure would invite a resend the
1213
+ * vendor may already have honoured; reporting it as a success would claim what nobody observed.
1214
+ */
1215
+ export var ProviderCapabilityCallOutcome;
1216
+ (function (ProviderCapabilityCallOutcome) {
1217
+ /** The vendor answered and accepted the call. */
1218
+ ProviderCapabilityCallOutcome["SUCCEEDED"] = "succeeded";
1219
+ /** The call was refused — by the vendor, or before it left (a missing credential, a refused request). */
1220
+ ProviderCapabilityCallOutcome["FAILED"] = "failed";
1221
+ /** The call left and its result was not observed (a timeout or a broken connection after sending). */
1222
+ ProviderCapabilityCallOutcome["OUTCOME_UNKNOWN"] = "outcome_unknown";
1223
+ })(ProviderCapabilityCallOutcome || (ProviderCapabilityCallOutcome = {}));
891
1224
  export var ProviderOperationDenialReason;
892
1225
  (function (ProviderOperationDenialReason) {
893
1226
  /**
@@ -1076,6 +1409,18 @@ export var ResourceOperationDenialReason;
1076
1409
  * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT
1077
1410
  */
1078
1411
  ResourceOperationDenialReason["STEP_UP_REQUIRED_BY_FRESHNESS"] = "step_up_required_by_freshness";
1412
+ /**
1413
+ * A service firm's expert was refused in a CLIENT organization because the client organization type's
1414
+ * authentication policy asks for a factor the session has not satisfied FOR THAT CLIENT (#1633).
1415
+ *
1416
+ * Distinct from the two above because the party that demanded the proof is a third one: not the operation, not the
1417
+ * expert's own user type, but the TENANT the expert is working in. A reviewer reading the client's trail sees its
1418
+ * own policy being enforced on outside staff; the row carries the relationship through the usual attribution.
1419
+ *
1420
+ * assurance-control: WILDO.ACCESS.LEAST_PRIVILEGE — the resource tenant's authentication policy is enforced on external experts, per request.
1421
+ * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT
1422
+ */
1423
+ ResourceOperationDenialReason["STEP_UP_REQUIRED_BY_CLIENT_ORGANIZATION_POLICY"] = "step_up_required_by_client_organization_policy";
1079
1424
  })(ResourceOperationDenialReason || (ResourceOperationDenialReason = {}));
1080
1425
  /** SSO configuration change type. */
1081
1426
  export var SsoConfigChangeType;
@@ -1842,8 +2187,8 @@ export var OrganizationTypeAssignmentBasis;
1842
2187
  export const AuditableEvent_Organization_TypeAssignedEventDataSchema = z.object({
1843
2188
  eventType: z.literal(CoreAuditableEventType.ORGANIZATION_TYPE_ASSIGNED),
1844
2189
  organizationId: z.string(),
1845
- /** The declared organization type now stored on the row. */
1846
- organizationType: z.string(),
2190
+ /** The declared organization type now stored on the row, shown as its word (`system_enums.OrganizationType.<type>`). */
2191
+ organizationType: z.string().systemEnum(ApplicationConfigVocabulary.ORGANIZATION_TYPE),
1847
2192
  /**
1848
2193
  * The type the row stored before, when it stored one the configuration no longer declares. Absent for an organization
1849
2194
  * that had no type. Recorded because this assignment REPLACES a value someone once chose: a type removed from the
@@ -2290,7 +2635,8 @@ export const AuditableEvent_Organization_SIEMExportDestinationChangedEventDataSc
2290
2635
  //
2291
2636
  // ## Why a provider ref and a slug, and nothing about the value
2292
2637
  //
2293
- // A reader needs to know WHICH authority moved. `providerRef` + `secretSlug` say that completely.
2638
+ // A reader needs to know WHICH authority moved. `connectionRef` + `secretSlug` say that completely — the
2639
+ // stored credential's key (#1670) — and `providerRef` says which ref the act went through.
2294
2640
  // A fingerprint of the value was considered and rejected: it is a stable oracle for confirming a
2295
2641
  // guessed secret, so it would put a verification oracle into the one store designed never to
2296
2642
  // forget.
@@ -2304,6 +2650,13 @@ export const AuditableEvent_OrganizationProviderCredential_SetEventDataSchema =
2304
2650
  eventType: z.literal(CoreAuditableEventType.ORGANIZATION_PROVIDER_CREDENTIAL_SET),
2305
2651
  organizationId: z.string(),
2306
2652
  providerRef: z.string(),
2653
+ /**
2654
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2655
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
2656
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
2657
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
2658
+ */
2659
+ connectionRef: z.string().optional(),
2307
2660
  secretSlug: z.string(),
2308
2661
  /** The acting administrator. Absent only on a system-initiated write, which none exists today. */
2309
2662
  setBy: z.string().optional(),
@@ -2322,6 +2675,13 @@ export const AuditableEvent_OrganizationProviderCredential_RotatedEventDataSchem
2322
2675
  eventType: z.literal(CoreAuditableEventType.ORGANIZATION_PROVIDER_CREDENTIAL_ROTATED),
2323
2676
  organizationId: z.string(),
2324
2677
  providerRef: z.string(),
2678
+ /**
2679
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2680
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
2681
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
2682
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
2683
+ */
2684
+ connectionRef: z.string().optional(),
2325
2685
  secretSlug: z.string(),
2326
2686
  rotatedBy: z.string().optional(),
2327
2687
  credentialId: z.string(),
@@ -2344,6 +2704,18 @@ export const AuditableEvent_OrganizationProviderCredential_UsedEventDataSchema =
2344
2704
  eventType: z.literal(CoreAuditableEventType.ORGANIZATION_PROVIDER_CREDENTIAL_USED),
2345
2705
  organizationId: z.string(),
2346
2706
  providerRef: z.string(),
2707
+ /**
2708
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2709
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
2710
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
2711
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
2712
+ */
2713
+ connectionRef: z.string().optional(),
2714
+ /**
2715
+ * The npm package that owns the ref the grant was spent or granted through (#1725). On a shared connection several
2716
+ * refs — from several packages — spend one grant, so the connection alone does not say whose code acted.
2717
+ */
2718
+ providerPackageName: z.string().optional(),
2347
2719
  secretSlug: z.string(),
2348
2720
  resolvedFrom: z.enum(ProviderCredentialResolutionSource),
2349
2721
  /** Absent when `resolvedFrom` is the deployment environment — there is no row to name. */
@@ -2369,6 +2741,13 @@ export const AuditableEvent_OrganizationProviderCredential_DeletedEventDataSchem
2369
2741
  eventType: z.literal(CoreAuditableEventType.ORGANIZATION_PROVIDER_CREDENTIAL_DELETED),
2370
2742
  organizationId: z.string(),
2371
2743
  providerRef: z.string(),
2744
+ /**
2745
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2746
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
2747
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
2748
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
2749
+ */
2750
+ connectionRef: z.string().optional(),
2372
2751
  secretSlug: z.string(),
2373
2752
  deletedBy: z.string().optional(),
2374
2753
  credentialId: z.string(),
@@ -2381,10 +2760,13 @@ export const AuditableEvent_OrganizationProviderCredential_DeletedEventDataSchem
2381
2760
  * a trail that says "we deleted our copy" and one that says whether the person's access was
2382
2761
  * actually withdrawn where it lives.
2383
2762
  *
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.
2763
+ * Written by EVERY door that destroys a credential: the revoke doors (#545), and since #1711 the
2764
+ * cascade observers for a subject erasure, a hard delete of the user row, the invitation sweep and an
2765
+ * organization purge — each reads the token out of the pre-deletion row the cascade hands over. ABSENT
2766
+ * only on a row written before #1711, when the cascades attempted nothing. `not_declared` is the
2767
+ * ordinary answer for a vendor whose revocation is not RFC 7009-shaped, and for a pasted credential that
2768
+ * was never a grant; it is a recorded fact, not a failure. There is no retry: the token existed only in
2769
+ * the destroyed row, so this value is the whole record.
2388
2770
  */
2389
2771
  vendorRevocation: z.enum(ProviderOAuth2RevocationOutcomeValues).optional(),
2390
2772
  });
@@ -2409,6 +2791,13 @@ export const AuditableEvent_UserProviderCredential_SetEventDataSchema = z.object
2409
2791
  eventType: z.literal(CoreAuditableEventType.USER_PROVIDER_CREDENTIAL_SET),
2410
2792
  userId: z.string(),
2411
2793
  providerRef: z.string(),
2794
+ /**
2795
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2796
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
2797
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
2798
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
2799
+ */
2800
+ connectionRef: z.string().optional(),
2412
2801
  secretSlug: z.string(),
2413
2802
  credentialId: z.string(),
2414
2803
  });
@@ -2420,9 +2809,12 @@ export const AuditableEvent_UserProviderCredential_SetEventDataSchema = z.object
2420
2809
  *
2421
2810
  * `grantedScopes` is what the VENDOR said it issued, not what was asked for. The two differ often
2422
2811
  * enough to matter: a vendor may narrow a request against what the account is permitted, and the
2423
- * answer to "what could this application actually do as them" is the granted set. Optional because
2424
- * several vendors return no scope at all on a token response, and an empty array would assert
2425
- * something stronger than silence.
2812
+ * answer to "what could this application actually do as them" is the granted set. Since #1671 it is the
2813
+ * set the stored grant RECORDS after this authorization: a token answer without `scope` granted what was
2814
+ * requested (RFC 6749 §5.1), and a re-authorization of a vendor that accumulates consent unites the new
2815
+ * answer with the previous consent (`consentAccumulated`). Optional because a grant may record none, and an
2816
+ * empty array would assert something stronger than silence.
2817
+ * spec-cite: RFC 6749 §5.1 (the `scope` row of the access token response).
2426
2818
  *
2427
2819
  * assurance-control: WILDO.IDENTITY.DELEGATED_AUTHORIZATION — a user authorizes third-party
2428
2820
  * delegated access, and the authorization's extent is recorded with it.
@@ -2431,6 +2823,18 @@ export const AuditableEvent_UserProviderConnection_GrantedEventDataSchema = z.ob
2431
2823
  eventType: z.literal(CoreAuditableEventType.USER_PROVIDER_CONNECTION_GRANTED),
2432
2824
  userId: z.string(),
2433
2825
  providerRef: z.string(),
2826
+ /**
2827
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2828
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
2829
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
2830
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
2831
+ */
2832
+ connectionRef: z.string().optional(),
2833
+ /**
2834
+ * The npm package that owns the ref the grant was spent or granted through (#1725). On a shared connection several
2835
+ * refs — from several packages — spend one grant, so the connection alone does not say whose code acted.
2836
+ */
2837
+ providerPackageName: z.string().optional(),
2434
2838
  secretSlug: z.string(),
2435
2839
  credentialId: z.string(),
2436
2840
  grantedScopes: z.array(z.string()).optional(),
@@ -2448,6 +2852,17 @@ export const AuditableEvent_UserProviderConnection_GrantedEventDataSchema = z.ob
2448
2852
  * which is exactly the sequence worth being able to see.
2449
2853
  */
2450
2854
  replacedExistingConnection: z.boolean(),
2855
+ /**
2856
+ * Present when this authorization GREW an existing grant (#1671): the scopes the re-authorization was started to
2857
+ * add, the operation whose refusal offered it and the package whose code that operation is (an opted-in
2858
+ * augmentation's, or the ref's own). `addedForOperationId` is as the start request named it; the scopes were
2859
+ * checked against the connection's ceiling. `consentAccumulated` says whether the stored granted set was united
2860
+ * with the previous consent (a vendor that accumulates consent) or replaced by a restated authorization.
2861
+ */
2862
+ addedScopes: z.array(z.string()).optional(),
2863
+ addedForOperationId: z.string().optional(),
2864
+ addedForPackageName: z.string().optional(),
2865
+ consentAccumulated: z.boolean().optional(),
2451
2866
  });
2452
2867
  /**
2453
2868
  * An ORGANIZATION's delegated authorization toward a vendor was granted.
@@ -2466,6 +2881,18 @@ export const AuditableEvent_OrganizationProviderConnection_GrantedEventDataSchem
2466
2881
  eventType: z.literal(CoreAuditableEventType.ORGANIZATION_PROVIDER_CONNECTION_GRANTED),
2467
2882
  organizationId: z.string(),
2468
2883
  providerRef: z.string(),
2884
+ /**
2885
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2886
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
2887
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
2888
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
2889
+ */
2890
+ connectionRef: z.string().optional(),
2891
+ /**
2892
+ * The npm package that owns the ref the grant was spent or granted through (#1725). On a shared connection several
2893
+ * refs — from several packages — spend one grant, so the connection alone does not say whose code acted.
2894
+ */
2895
+ providerPackageName: z.string().optional(),
2469
2896
  secretSlug: z.string(),
2470
2897
  credentialId: z.string(),
2471
2898
  grantedByUserId: z.string().optional(),
@@ -2480,6 +2907,11 @@ export const AuditableEvent_OrganizationProviderConnection_GrantedEventDataSchem
2480
2907
  delegation: z.enum(ExternalProvider_Connection_DelegationMode).optional(),
2481
2908
  /** The grantor acknowledged, before consenting at the vendor, that the whole organization will use their account. */
2482
2909
  organizationWideUseAcknowledged: z.boolean().optional(),
2910
+ /** See the person's event: the re-authorization that grew the grant (#1671). */
2911
+ addedScopes: z.array(z.string()).optional(),
2912
+ addedForOperationId: z.string().optional(),
2913
+ addedForPackageName: z.string().optional(),
2914
+ consentAccumulated: z.boolean().optional(),
2483
2915
  });
2484
2916
  /**
2485
2917
  * The stored VALUE changed for a person's credential that already existed.
@@ -2495,6 +2927,13 @@ export const AuditableEvent_UserProviderCredential_RotatedEventDataSchema = z.ob
2495
2927
  eventType: z.literal(CoreAuditableEventType.USER_PROVIDER_CREDENTIAL_ROTATED),
2496
2928
  userId: z.string(),
2497
2929
  providerRef: z.string(),
2930
+ /**
2931
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2932
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
2933
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
2934
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
2935
+ */
2936
+ connectionRef: z.string().optional(),
2498
2937
  secretSlug: z.string(),
2499
2938
  credentialId: z.string(),
2500
2939
  /** When the value it replaced was set — how long the retired secret was live. */
@@ -2515,6 +2954,18 @@ export const AuditableEvent_UserProviderCredential_UsedEventDataSchema = z.objec
2515
2954
  eventType: z.literal(CoreAuditableEventType.USER_PROVIDER_CREDENTIAL_USED),
2516
2955
  userId: z.string(),
2517
2956
  providerRef: z.string(),
2957
+ /**
2958
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2959
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
2960
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
2961
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
2962
+ */
2963
+ connectionRef: z.string().optional(),
2964
+ /**
2965
+ * The npm package that owns the ref the grant was spent or granted through (#1725). On a shared connection several
2966
+ * refs — from several packages — spend one grant, so the connection alone does not say whose code acted.
2967
+ */
2968
+ providerPackageName: z.string().optional(),
2518
2969
  secretSlug: z.string(),
2519
2970
  resolvedFrom: z.enum(ProviderCredentialResolutionSource),
2520
2971
  credentialId: z.string(),
@@ -2543,6 +2994,13 @@ export const AuditableEvent_UserProviderCredential_DeletedEventDataSchema = z.ob
2543
2994
  eventType: z.literal(CoreAuditableEventType.USER_PROVIDER_CREDENTIAL_DELETED),
2544
2995
  userId: z.string(),
2545
2996
  providerRef: z.string(),
2997
+ /**
2998
+ * The CONNECTION the credential belongs to (#1670) — the row's key and what its seal binds. `providerRef`
2999
+ * beside it names the ref the act went through (or, on a write, the ref that created the row); the two
3000
+ * differ once several refs of one vendor share a connection (#1725). Optional only because rows written
3001
+ * before #1670 in the immutable trail do not carry it; every emitter since sets it.
3002
+ */
3003
+ connectionRef: z.string().optional(),
2546
3004
  secretSlug: z.string(),
2547
3005
  deletedBy: z.string().optional(),
2548
3006
  credentialId: z.string(),
@@ -2555,10 +3013,13 @@ export const AuditableEvent_UserProviderCredential_DeletedEventDataSchema = z.ob
2555
3013
  * a trail that says "we deleted our copy" and one that says whether the person's access was
2556
3014
  * actually withdrawn where it lives.
2557
3015
  *
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.
3016
+ * Written by EVERY door that destroys a credential: the revoke doors (#545), and since #1711 the
3017
+ * cascade observers for a subject erasure, a hard delete of the user row, the invitation sweep and an
3018
+ * organization purge — each reads the token out of the pre-deletion row the cascade hands over. ABSENT
3019
+ * only on a row written before #1711, when the cascades attempted nothing. `not_declared` is the
3020
+ * ordinary answer for a vendor whose revocation is not RFC 7009-shaped, and for a pasted credential that
3021
+ * was never a grant; it is a recorded fact, not a failure. There is no retry: the token existed only in
3022
+ * the destroyed row, so this value is the whole record.
2562
3023
  */
2563
3024
  vendorRevocation: z.enum(ProviderOAuth2RevocationOutcomeValues).optional(),
2564
3025
  });
@@ -2593,6 +3054,214 @@ export const AuditableEvent_Webhook_EndpointTestDispatchedEventDataSchema = z.ob
2593
3054
  /** `jti` of the signed probe, for correlation with the consumer's own logs. */
2594
3055
  signatureJti: z.string(),
2595
3056
  });
3057
+ // Inbound Delivery Event Data Schemas (#1596)
3058
+ //
3059
+ // None of these carries the payload, a header value or an error message: the payload is the sender's
3060
+ // data (routinely a client's personal data) and lives on the delivery row, which is erased with its
3061
+ // organization. The trail names the delivery and says what happened to it.
3062
+ const InboundDeliveryAuditBase = {
3063
+ sourceKind: z.enum(InboundSourceKind),
3064
+ /** `{providerRef}:{endpointKey}`, `app` for an application endpoint. */
3065
+ sourceKey: z.string(),
3066
+ };
3067
+ export const AuditableEvent_InboundDelivery_RejectedEventDataSchema = z.object({
3068
+ eventType: z.literal(CoreAuditableEventType.INBOUND_DELIVERY_REJECTED),
3069
+ ...InboundDeliveryAuditBase,
3070
+ reason: z.enum(InboundDeliveryRejectionReason),
3071
+ /**
3072
+ * How many identical refusals (same source, same reason) this row records. Refusals are aggregated to
3073
+ * one row per source and reason per minute, so a flood of unsigned requests cannot grow the audit trail
3074
+ * without bound: the first refusal of a window is written at once (1), and the ones folded after it are
3075
+ * written when the window closes, as one row carrying their count. Summing `refusalCount` over the rows
3076
+ * gives the number of refusals — no row is counted twice. The one count that can be lost is the window
3077
+ * open when the backend process stops.
3078
+ */
3079
+ refusalCount: z.number().int().positive(),
3080
+ });
3081
+ export const AuditableEvent_InboundDelivery_AcceptedEventDataSchema = z.object({
3082
+ eventType: z.literal(CoreAuditableEventType.INBOUND_DELIVERY_ACCEPTED),
3083
+ ...InboundDeliveryAuditBase,
3084
+ inboundDeliveryId: z.string(),
3085
+ handlerRef: z.string(),
3086
+ resolvedScopeKind: z.enum(InboundResolvedScopeKind),
3087
+ organizationId: z.string().optional(),
3088
+ /**
3089
+ * The channel and how well the sender was known when the delivery was accepted (#1630, I8) — the record
3090
+ * of what a handler's work was triggered by. Identification only: the handler's roles are its declared
3091
+ * `actingRoles` whatever this says. Never the sender's address.
3092
+ */
3093
+ channel: z.enum(InboundChannelKind),
3094
+ senderAssurance: z.enum(InboundSenderAssurance),
3095
+ });
3096
+ export const AuditableEvent_InboundDelivery_UnroutableEventDataSchema = z.object({
3097
+ eventType: z.literal(CoreAuditableEventType.INBOUND_DELIVERY_UNROUTABLE),
3098
+ ...InboundDeliveryAuditBase,
3099
+ inboundDeliveryId: z.string(),
3100
+ handlerRef: z.string(),
3101
+ reason: z.enum(InboundDeliveryUnroutableReason),
3102
+ });
3103
+ export const AuditableEvent_InboundDelivery_ProcessedEventDataSchema = z.object({
3104
+ eventType: z.literal(CoreAuditableEventType.INBOUND_DELIVERY_PROCESSED),
3105
+ ...InboundDeliveryAuditBase,
3106
+ inboundDeliveryId: z.string(),
3107
+ handlerRef: z.string(),
3108
+ attempt: z.number().int().positive(),
3109
+ });
3110
+ export const AuditableEvent_InboundDelivery_FailedEventDataSchema = z.object({
3111
+ eventType: z.literal(CoreAuditableEventType.INBOUND_DELIVERY_FAILED),
3112
+ ...InboundDeliveryAuditBase,
3113
+ inboundDeliveryId: z.string(),
3114
+ handlerRef: z.string(),
3115
+ attempt: z.number().int().positive(),
3116
+ /** A classification (an error type or reference), never an error message. */
3117
+ errorCode: z.string(),
3118
+ nextAttemptAt: z.date(),
3119
+ });
3120
+ export const AuditableEvent_InboundDelivery_DeadEventDataSchema = z.object({
3121
+ eventType: z.literal(CoreAuditableEventType.INBOUND_DELIVERY_DEAD),
3122
+ ...InboundDeliveryAuditBase,
3123
+ inboundDeliveryId: z.string(),
3124
+ handlerRef: z.string(),
3125
+ attempts: z.number().int().positive(),
3126
+ errorCode: z.string(),
3127
+ });
3128
+ export const AuditableEvent_InboundDelivery_ReplayedEventDataSchema = z.object({
3129
+ eventType: z.literal(CoreAuditableEventType.INBOUND_DELIVERY_REPLAYED),
3130
+ ...InboundDeliveryAuditBase,
3131
+ inboundDeliveryId: z.string(),
3132
+ handlerRef: z.string(),
3133
+ replayedBy: z.string(),
3134
+ /** The operator's written reason — free text, so this event's bag is SUBJECT_DETAIL for export. */
3135
+ justification: z.string(),
3136
+ });
3137
+ // Inbound Channel Event Data Schemas (#1630). Ids and named outcomes only — never an address, a subject
3138
+ // or a body: the correspondence lives in its thread and channel record, erasable there.
3139
+ export const AuditableEvent_InboundDelivery_BelowAssuranceEventDataSchema = z.object({
3140
+ eventType: z.literal(CoreAuditableEventType.INBOUND_DELIVERY_BELOW_ASSURANCE),
3141
+ channel: z.enum(InboundChannelKind),
3142
+ /** The handler selected for the message, whose minimum it did not meet. */
3143
+ handlerRef: z.string(),
3144
+ senderAssurance: z.enum(InboundSenderAssurance),
3145
+ minimumSenderAssurance: z.enum(InboundSenderAssurance),
3146
+ disposition: z.enum(InboundBelowMinimumDisposition),
3147
+ /** For `ROUTED_TO_BELOW_MINIMUM_HANDLER`: the handler that received it instead, and its delivery. */
3148
+ belowMinimumHandlerRef: z.string().optional(),
3149
+ inboundDeliveryId: z.string().optional(),
3150
+ /** The channel's id for the message (the provider message id for email). */
3151
+ channelMessageId: z.string(),
3152
+ organizationId: z.string(),
3153
+ });
3154
+ const InboundReplyAuditBase = {
3155
+ channel: z.enum(InboundChannelKind),
3156
+ threadId: z.string(),
3157
+ conversationMessageId: z.string(),
3158
+ submissionId: z.string(),
3159
+ };
3160
+ export const AuditableEvent_InboundReply_SentEventDataSchema = z.object({
3161
+ eventType: z.literal(CoreAuditableEventType.INBOUND_REPLY_SENT),
3162
+ ...InboundReplyAuditBase,
3163
+ templateRef: z.string(),
3164
+ recipientCount: z.number().int().positive(),
3165
+ /** True when the provider reported it had already accepted this submission — a retried send, not a second email. */
3166
+ deduplicated: z.boolean(),
3167
+ });
3168
+ export const AuditableEvent_InboundReply_FailedEventDataSchema = z.object({
3169
+ eventType: z.literal(CoreAuditableEventType.INBOUND_REPLY_FAILED),
3170
+ ...InboundReplyAuditBase,
3171
+ /** A classification, never an error message. */
3172
+ failureCode: z.string(),
3173
+ });
3174
+ export const AuditableEvent_InboundReplyToken_RevokedEventDataSchema = z.object({
3175
+ eventType: z.literal(CoreAuditableEventType.INBOUND_REPLY_TOKEN_REVOKED),
3176
+ threadId: z.string(),
3177
+ replyTokenId: z.string(),
3178
+ reason: z.enum(ReplyTokenRevocationReason),
3179
+ });
3180
+ export const AuditableEvent_InboundReplyToken_DowngradedEventDataSchema = z.object({
3181
+ eventType: z.literal(CoreAuditableEventType.INBOUND_REPLY_TOKEN_DOWNGRADED),
3182
+ threadId: z.string(),
3183
+ replyTokenId: z.string(),
3184
+ reason: z.enum(ReplyTokenDowngradeReason),
3185
+ /** The level the message was given instead of `THREAD_TOKEN_BOUND`. */
3186
+ derivedAssurance: z.enum(InboundSenderAssurance),
3187
+ });
3188
+ // Receiving Email Event Data Schemas (#1600). A domain and a client mailbox address are an ORGANIZATION's
3189
+ // infrastructure, not a person's data, so they are named. A received message is named by its row id only:
3190
+ // its sender, subject and filenames live in the `inboundEmails` row, erasable there.
3191
+ const OrganizationEmailDomainAuditBase = {
3192
+ organizationId: z.string(),
3193
+ organizationEmailDomainId: z.string(),
3194
+ domain: z.string(),
3195
+ };
3196
+ export const AuditableEvent_OrganizationEmailDomain_ClaimedEventDataSchema = z.object({
3197
+ eventType: z.literal(CoreAuditableEventType.ORGANIZATION_EMAIL_DOMAIN_CLAIMED),
3198
+ ...OrganizationEmailDomainAuditBase,
3199
+ sending: z.boolean(),
3200
+ receiving: z.boolean(),
3201
+ });
3202
+ export const AuditableEvent_OrganizationEmailDomain_OwnershipVerifiedEventDataSchema = z.object({
3203
+ eventType: z.literal(CoreAuditableEventType.ORGANIZATION_EMAIL_DOMAIN_OWNERSHIP_VERIFIED),
3204
+ ...OrganizationEmailDomainAuditBase,
3205
+ providerRef: z.string(),
3206
+ providerDomainId: z.string(),
3207
+ });
3208
+ export const AuditableEvent_OrganizationEmailDomain_VerifiedEventDataSchema = z.object({
3209
+ eventType: z.literal(CoreAuditableEventType.ORGANIZATION_EMAIL_DOMAIN_VERIFIED),
3210
+ ...OrganizationEmailDomainAuditBase,
3211
+ /** What the provider answered: VERIFIED, FAILED, or still PROVIDER_PENDING (its verification is asynchronous). */
3212
+ status: z.enum(OrganizationEmailDomainStatus),
3213
+ });
3214
+ export const AuditableEvent_OrganizationEmailDomain_SuspendedEventDataSchema = z.object({
3215
+ eventType: z.literal(CoreAuditableEventType.ORGANIZATION_EMAIL_DOMAIN_SUSPENDED),
3216
+ ...OrganizationEmailDomainAuditBase,
3217
+ reason: z.enum(OrganizationEmailDomainSuspensionReason),
3218
+ });
3219
+ export const AuditableEvent_OrganizationEmailDomain_RemovedEventDataSchema = z.object({
3220
+ eventType: z.literal(CoreAuditableEventType.ORGANIZATION_EMAIL_DOMAIN_REMOVED),
3221
+ ...OrganizationEmailDomainAuditBase,
3222
+ trigger: z.enum(OrganizationEmailDomainRemovalTrigger),
3223
+ /** Whether a provider domain existed and was deleted there (false for a claim that never proved ownership). */
3224
+ providerDomainDeleted: z.boolean(),
3225
+ });
3226
+ /**
3227
+ * A client mailbox links two organizations, so the event is written to BOTH trails: the firm that owns the mailbox,
3228
+ * and the client whose organization it routes mail into. `organizationId` is the trail the row is in.
3229
+ */
3230
+ const ClientMailboxAuditBase = {
3231
+ organizationId: z.string(),
3232
+ clientMailboxId: z.string(),
3233
+ address: z.string(),
3234
+ emailDomainId: z.string(),
3235
+ serviceProviderRelationshipId: z.string(),
3236
+ /** The firm that owns the domain and the mailbox. */
3237
+ firmOrganizationId: z.string(),
3238
+ /** The client organization the mailbox routes into. */
3239
+ clientOrganizationId: z.string(),
3240
+ };
3241
+ export const AuditableEvent_ClientMailbox_CreatedEventDataSchema = z.object({
3242
+ eventType: z.literal(CoreAuditableEventType.CLIENT_MAILBOX_CREATED),
3243
+ ...ClientMailboxAuditBase,
3244
+ });
3245
+ export const AuditableEvent_ClientMailbox_RemovedEventDataSchema = z.object({
3246
+ eventType: z.literal(CoreAuditableEventType.CLIENT_MAILBOX_REMOVED),
3247
+ ...ClientMailboxAuditBase,
3248
+ });
3249
+ export const AuditableEvent_InboundEmail_AttachmentWithheldEventDataSchema = z.object({
3250
+ eventType: z.literal(CoreAuditableEventType.INBOUND_EMAIL_ATTACHMENT_WITHHELD),
3251
+ organizationId: z.string(),
3252
+ inboundEmailId: z.string(),
3253
+ reason: z.enum(InboundEmailWithheldReason),
3254
+ /** The stored (quarantined) file, when one was stored. */
3255
+ fileId: z.string().optional(),
3256
+ });
3257
+ export const AuditableEvent_InboundEmail_RejectedLimitEventDataSchema = z.object({
3258
+ eventType: z.literal(CoreAuditableEventType.INBOUND_EMAIL_REJECTED_LIMIT),
3259
+ organizationId: z.string(),
3260
+ inboundEmailId: z.string(),
3261
+ limit: z.enum(InboundEmailLimit),
3262
+ sizeBytes: z.number().int().nonnegative(),
3263
+ attachmentCount: z.number().int().nonnegative(),
3264
+ });
2596
3265
  // SCIM Directory Provisioning Event Data Schemas
2597
3266
  export const AuditableEvent_SCIM_TokenCreatedEventDataSchema = z.object({
2598
3267
  eventType: z.literal(CoreAuditableEventType.SCIM_TOKEN_CREATED),
@@ -3259,6 +3928,101 @@ export const AuditableEvent_ResourceOperationPerformed_EventDataSchema = z.objec
3259
3928
  * assurance-control: WILDO.ACCESS.CROSS_TENANT_ADMINISTRATION
3260
3929
  * assurance-control: WILDO.ACCESS.PRIVILEGE_EVIDENCE — evidence of a privileged assignment's full life.
3261
3930
  */
3931
+ /**
3932
+ * The fields both legal-hold events carry: which hold, which tenant, what it covers and on what ground.
3933
+ * The `justification` / `releaseReason` prose is NOT carried — it is free text most likely to name a third
3934
+ * party, and it stays on the hold row, which the tenant and the operator can read.
3935
+ */
3936
+ const LegalHoldAuditEventFields = {
3937
+ holdId: z.string(),
3938
+ heldOrganizationId: z.string(),
3939
+ scopeKind: z.enum(LegalHoldScopeKind),
3940
+ legalGround: z.enum(LegalHoldGround),
3941
+ placementTier: z.enum(LegalHoldPlacementTier),
3942
+ /** `RESOURCE_ROWS` only. */
3943
+ heldResourceType: z.string().optional(),
3944
+ /** `RESOURCE_ROWS` only: how many rows the hold lists (absent = every row of the resource type). */
3945
+ heldRowCount: z.number().int().min(0).optional(),
3946
+ /** `DATA_SUBJECT` only. */
3947
+ subjectUserId: z.string().optional(),
3948
+ };
3949
+ /** A legal hold was placed (#1634). */
3950
+ export const AuditableEvent_LegalHoldPlaced_EventDataSchema = z.object({
3951
+ eventType: z.literal(CoreAuditableEventType.LEGAL_HOLD_PLACED),
3952
+ ...LegalHoldAuditEventFields,
3953
+ placedByUserId: z.string(),
3954
+ });
3955
+ /**
3956
+ * A model-cost period aggregate was linked to its invoice (#1598). Identifiers, the period and the currency
3957
+ * only: no amount (the aggregate row holds it), no personal data.
3958
+ */
3959
+ export const AuditableEvent_ModelCostAggregateInvoiceLinked_EventDataSchema = z.object({
3960
+ eventType: z.literal(CoreAuditableEventType.MODEL_COST_AGGREGATE_INVOICE_LINKED),
3961
+ aggregateId: z.string(),
3962
+ /** The tenant whose cost the aggregate records, and whose invoice it is. */
3963
+ billedOrganizationId: z.string(),
3964
+ /** First instant of the aggregate's calendar month (UTC), ISO. */
3965
+ periodStart: z.string(),
3966
+ currency: z.string(),
3967
+ organizationInvoiceRefId: z.string(),
3968
+ /** The administrator (or the billing flow's principal) who linked it. */
3969
+ linkedByUserId: z.string().optional(),
3970
+ });
3971
+ /** An organization's content-capture setting changed (#1599). The setting, never any content. */
3972
+ export const AuditableEvent_CorrectionCaptureSettingChanged_EventDataSchema = z.object({
3973
+ eventType: z.literal(CoreAuditableEventType.CORRECTION_CAPTURE_SETTING_CHANGED),
3974
+ settingOrganizationId: z.string(),
3975
+ /** `metadata_only` / `with_content`, before and after. */
3976
+ previousContentCapture: z.string().optional(),
3977
+ contentCapture: z.string(),
3978
+ /** Whether a purpose is stated (the purpose text is on the setting row, not on the trail). */
3979
+ purposeStated: z.boolean(),
3980
+ contentReaderRole: z.string().optional(),
3981
+ narrowedToCaseCount: z.number().int().min(0),
3982
+ changedByUserId: z.string().optional(),
3983
+ });
3984
+ /** An organization's evaluation-export authorisation changed (#1599). The basis and counts, never case identities. */
3985
+ export const AuditableEvent_EvaluationExportAuthorizationChanged_EventDataSchema = z.object({
3986
+ eventType: z.literal(CoreAuditableEventType.EVALUATION_EXPORT_AUTHORIZATION_CHANGED),
3987
+ authorizationOrganizationId: z.string(),
3988
+ status: z.string(),
3989
+ previousStatus: z.string().optional(),
3990
+ /** Absent when the authorisation holds none (NOT_GRANTED). */
3991
+ basis: z.string().optional(),
3992
+ clientConsentCount: z.number().int().min(0),
3993
+ excludedCaseCount: z.number().int().min(0),
3994
+ changedByUserId: z.string().optional(),
3995
+ });
3996
+ /** An evaluation dataset was exported (#1599). The ledger row names every record; the trail names the export. */
3997
+ export const AuditableEvent_EvaluationDatasetExported_EventDataSchema = z.object({
3998
+ eventType: z.literal(CoreAuditableEventType.EVALUATION_DATASET_EXPORTED),
3999
+ exportId: z.string(),
4000
+ exportOrganizationId: z.string(),
4001
+ agentRef: z.string(),
4002
+ basis: z.string(),
4003
+ recordCount: z.number().int().min(0),
4004
+ windowFrom: z.string(),
4005
+ windowTo: z.string(),
4006
+ destination: z.string(),
4007
+ exportedByUserId: z.string().optional(),
4008
+ });
4009
+ /** An evaluation-dataset export was refused (#1599 I7). */
4010
+ export const AuditableEvent_EvaluationDatasetExportRefused_EventDataSchema = z.object({
4011
+ eventType: z.literal(CoreAuditableEventType.EVALUATION_DATASET_EXPORT_REFUSED),
4012
+ exportOrganizationId: z.string(),
4013
+ agentRef: z.string(),
4014
+ /** Why: no authorisation recorded, or it is revoked. */
4015
+ reason: z.enum(EvaluationDatasetExportRefusalReason),
4016
+ attemptedByUserId: z.string().optional(),
4017
+ });
4018
+ /** A legal hold was released (#1634). */
4019
+ export const AuditableEvent_LegalHoldReleased_EventDataSchema = z.object({
4020
+ eventType: z.literal(CoreAuditableEventType.LEGAL_HOLD_RELEASED),
4021
+ ...LegalHoldAuditEventFields,
4022
+ releasedByUserId: z.string(),
4023
+ /** How long the hold was in force, so a reviewer sees the suspension window without a join. */
4024
+ heldForSeconds: z.number().int().min(0),
4025
+ });
3262
4026
  export const AuditableEvent_PlatformAccessGrantLifecycle_EventDataSchema = z.object({
3263
4027
  eventType: z.literal(CoreAuditableEventType.PLATFORM_ACCESS_GRANT_LIFECYCLE),
3264
4028
  /** Which transition this row records. */
@@ -3305,6 +4069,198 @@ export const AuditableEvent_PlatformAccessGrantLifecycle_EventDataSchema = z.obj
3305
4069
  */
3306
4070
  grantedMachineCredential: ExecutionContext_MachineCredentialSchema.optional(),
3307
4071
  });
4072
+ /**
4073
+ * One transition in the life of a service-provider relationship (#1597).
4074
+ *
4075
+ * Read it to answer "which firm could reach this tenant, under what scope, since when — and who decided".
4076
+ * Written once to the CLIENT's trail and once to the FIRM's: the same facts, each organization reading
4077
+ * them in its own tenant. `purpose` and `decisionReason` are free text people typed, so they are carried
4078
+ * for the tenants' own trails and are NOT exported to a SIEM by default.
4079
+ *
4080
+ * assurance-control: WILDO.ACCESS.PRIVILEGE_EVIDENCE
4081
+ * assurance-control: WILDO.PRIVACY.THIRD_PARTY_PROCESSING
4082
+ */
4083
+ export const AuditableEvent_ServiceProviderRelationshipLifecycle_EventDataSchema = z.object({
4084
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_RELATIONSHIP_LIFECYCLE),
4085
+ transition: z.enum(ServiceProviderRelationshipTransition),
4086
+ relationshipId: z.string(),
4087
+ clientOrganizationId: z.string(),
4088
+ providerOrganizationId: z.string(),
4089
+ resultingStatus: z.enum(ServiceProviderRelationshipStatus),
4090
+ /** The role the relationship confers after this transition. */
4091
+ role: z.string(),
4092
+ /** Its scope after this transition; empty ⇒ organization-wide. */
4093
+ organizationUnitIds: z.array(z.string()),
4094
+ endsAt: z.date().optional(),
4095
+ proposedByOrganizationId: z.string(),
4096
+ /** The person who acted, and on which side. Absent for the expiry sweep. */
4097
+ actorUserId: z.string().optional(),
4098
+ actorOrganizationId: z.string().optional(),
4099
+ purpose: z.string().optional(),
4100
+ decisionReason: z.string().optional(),
4101
+ /** How the firm's experts are admitted after this transition (#1612) — what `EXPERT_ADMISSION_POLICY_CHANGED` changed. */
4102
+ expertAdmissionPolicy: z.enum(ServiceProviderExpertAdmissionPolicy).optional(),
4103
+ });
4104
+ /** A firm machine client admitted into / removed from a client organization under a relationship (#1597, S3). */
4105
+ export const AuditableEvent_ServiceProviderMachineClientAdmissionChanged_EventDataSchema = z.object({
4106
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_MACHINE_CLIENT_ADMISSION_CHANGED),
4107
+ admitted: z.boolean(),
4108
+ relationshipId: z.string(),
4109
+ clientOrganizationId: z.string(),
4110
+ providerOrganizationId: z.string(),
4111
+ oauthClientId: z.string(),
4112
+ actorUserId: z.string().optional(),
4113
+ });
4114
+ /** An expert assigned to a client relationship by their firm (#1597). */
4115
+ export const AuditableEvent_ServiceProviderExpertAssigned_EventDataSchema = z.object({
4116
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_EXPERT_ASSIGNED),
4117
+ assignmentId: z.string(),
4118
+ relationshipId: z.string(),
4119
+ clientOrganizationId: z.string(),
4120
+ providerOrganizationId: z.string(),
4121
+ expertUserId: z.string(),
4122
+ actorUserId: z.string().optional(),
4123
+ });
4124
+ /** An expert's assignment to a client relationship ended by their firm (#1597). */
4125
+ export const AuditableEvent_ServiceProviderExpertUnassigned_EventDataSchema = z.object({
4126
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_EXPERT_UNASSIGNED),
4127
+ assignmentId: z.string(),
4128
+ relationshipId: z.string(),
4129
+ clientOrganizationId: z.string(),
4130
+ providerOrganizationId: z.string(),
4131
+ expertUserId: z.string(),
4132
+ actorUserId: z.string().optional(),
4133
+ });
4134
+ /**
4135
+ * The facts every per-expert approval event carries (#1612). Identical in the client's and the firm's trail — which
4136
+ * is why none of them names the client administrator who answered: the firm reads its copy, and the decider is on
4137
+ * the decision's own `human_decision_resolved` row in the CLIENT's trail, joined by `decisionRef`.
4138
+ *
4139
+ * assurance-control: WILDO.ACCESS.LEAST_PRIVILEGE
4140
+ * assurance-control: WILDO.PRIVACY.THIRD_PARTY_PROCESSING
4141
+ */
4142
+ const ServiceProviderExpertApprovalEventShape = {
4143
+ /** The human decision this approval is — the key that joins every row about it. */
4144
+ decisionRef: z.string().trim().min(1),
4145
+ assignmentId: z.string(),
4146
+ relationshipId: z.string(),
4147
+ clientOrganizationId: z.string(),
4148
+ providerOrganizationId: z.string(),
4149
+ expertUserId: z.string(),
4150
+ };
4151
+ /** A firm's assignment now waits for the client's approval (#1612). Actor: the firm administrator who assigned. */
4152
+ export const AuditableEvent_ServiceProviderExpertApprovalRequested_EventDataSchema = z.object({
4153
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_EXPERT_APPROVAL_REQUESTED),
4154
+ ...ServiceProviderExpertApprovalEventShape,
4155
+ /** The policy that made the assignment wait — the client's, read at assignment time. */
4156
+ expertAdmissionPolicy: z.enum(ServiceProviderExpertAdmissionPolicy),
4157
+ /** The role the expert would receive. */
4158
+ role: z.string(),
4159
+ actorUserId: z.string().optional(),
4160
+ });
4161
+ /** The client approved, and the expert was admitted (#1612). */
4162
+ export const AuditableEvent_ServiceProviderExpertApprovalGranted_EventDataSchema = z.object({
4163
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_EXPERT_APPROVAL_GRANTED),
4164
+ ...ServiceProviderExpertApprovalEventShape,
4165
+ role: z.string(),
4166
+ });
4167
+ /** The expert was not admitted (#1612). */
4168
+ export const AuditableEvent_ServiceProviderExpertApprovalDenied_EventDataSchema = z.object({
4169
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_EXPERT_APPROVAL_DENIED),
4170
+ ...ServiceProviderExpertApprovalEventShape,
4171
+ denialReason: z.enum(ServiceProviderExpertApprovalDenialReason),
4172
+ });
4173
+ /** Nobody answered in time (#1612). */
4174
+ export const AuditableEvent_ServiceProviderExpertApprovalLapsed_EventDataSchema = z.object({
4175
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_EXPERT_APPROVAL_LAPSED),
4176
+ ...ServiceProviderExpertApprovalEventShape,
4177
+ });
4178
+ /**
4179
+ * The facts of one delegated capability grant (#1631), identical in the client's and the firm's trail: which
4180
+ * capability, lent through which relationship, until when.
4181
+ *
4182
+ * assurance-control: WILDO.ACCESS.LEAST_PRIVILEGE
4183
+ * assurance-control: WILDO.ACCESS.PRIVILEGE_EVIDENCE
4184
+ */
4185
+ const ServiceProviderCapabilityGrantEventShape = {
4186
+ grantId: z.string(),
4187
+ relationshipId: z.string(),
4188
+ clientOrganizationId: z.string(),
4189
+ providerOrganizationId: z.string(),
4190
+ capability: z.enum(DelegatedAdministrativeCapability),
4191
+ /** Whether only an owner could lend it — the CRITICAL rows. */
4192
+ securityCritical: z.boolean(),
4193
+ endsAt: z.date(),
4194
+ /** The client person who acted. Absent when the relationship's end revoked it with nobody acting. */
4195
+ actorUserId: z.string().optional(),
4196
+ };
4197
+ /** A capability was lent (#1631). */
4198
+ export const AuditableEvent_ServiceProviderCapabilityGranted_EventDataSchema = z.object({
4199
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_CAPABILITY_GRANTED),
4200
+ ...ServiceProviderCapabilityGrantEventShape,
4201
+ });
4202
+ /** A lent capability was revoked (#1631). */
4203
+ export const AuditableEvent_ServiceProviderCapabilityRevoked_EventDataSchema = z.object({
4204
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_CAPABILITY_REVOKED),
4205
+ ...ServiceProviderCapabilityGrantEventShape,
4206
+ /** True when the relationship's ending revoked it, rather than a client administrator. */
4207
+ byRelationshipEnd: z.boolean(),
4208
+ /**
4209
+ * Why it ended (#1631 review F10): a client administrator revoked it, the relationship ended, or the relationship was
4210
+ * narrowed to organization units (which no capability can be carried by). Tells a narrowing apart from a manual
4211
+ * revocation, which `byRelationshipEnd` alone cannot.
4212
+ */
4213
+ endCause: z.enum(ServiceProviderCapabilityGrantEndCause).optional(),
4214
+ /** How many standing credentials the firm had obtained under the grant were ended with it (review F2). */
4215
+ endedCredentials: z.number().int().nonnegative().optional(),
4216
+ });
4217
+ /** A client's decision about trusting a firm's identity provider's MFA on one relationship (#1633). */
4218
+ export const AuditableEvent_ServiceProviderMfaTrustChanged_EventDataSchema = z.object({
4219
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_MFA_TRUST_CHANGED),
4220
+ relationshipId: z.string(),
4221
+ clientOrganizationId: z.string(),
4222
+ providerOrganizationId: z.string(),
4223
+ previousProviderMfaTrust: z.enum(ServiceProviderMfaTrust),
4224
+ providerMfaTrust: z.enum(ServiceProviderMfaTrust),
4225
+ actorUserId: z.string().optional(),
4226
+ });
4227
+ /**
4228
+ * A factor recorded on an expert's session for one client organization (#1633).
4229
+ *
4230
+ * Names the factor and its SOURCE, never the proof itself. `identityProviderOrganizationId` is present exactly when
4231
+ * the source is the firm's trusted identity provider.
4232
+ *
4233
+ * assurance-control: WILDO.ACCESS.LEAST_PRIVILEGE — the resource tenant's authentication policy is enforced on external experts, per request.
4234
+ */
4235
+ export const AuditableEvent_ServiceProviderClientAuthenticationSatisfied_EventDataSchema = z.object({
4236
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_CLIENT_AUTHENTICATION_SATISFIED),
4237
+ organizationId: z.string(),
4238
+ relationshipId: z.string(),
4239
+ providerOrganizationId: z.string(),
4240
+ expertUserId: z.string(),
4241
+ factor: z.enum(AuthMethod),
4242
+ source: z.enum(FactorSatisfactionSource),
4243
+ identityProviderOrganizationId: z.string().optional(),
4244
+ });
4245
+ /** A firm's decision about collecting activity metadata on its own experts' client work (#1632). */
4246
+ export const AuditableEvent_ServiceProviderActivityFeedDecided_EventDataSchema = z.object({
4247
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_ACTIVITY_FEED_DECIDED),
4248
+ providerOrganizationId: z.string(),
4249
+ previousStatus: z.enum(ServiceProviderActivityFeedStatus),
4250
+ status: z.enum(ServiceProviderActivityFeedStatus),
4251
+ acknowledgedWorkerConsultationNotice: z.boolean(),
4252
+ actorUserId: z.string().optional(),
4253
+ });
4254
+ /** A client's decision about how much a firm's activity feed may say about work in it (#1632). */
4255
+ export const AuditableEvent_ServiceProviderActivityFeedDisclosureChanged_EventDataSchema = z.object({
4256
+ eventType: z.literal(CoreAuditableEventType.SERVICE_PROVIDER_ACTIVITY_FEED_DISCLOSURE_CHANGED),
4257
+ relationshipId: z.string(),
4258
+ clientOrganizationId: z.string(),
4259
+ providerOrganizationId: z.string(),
4260
+ previousActivityFeedDisclosure: z.enum(ServiceProviderActivityFeedDisclosure),
4261
+ activityFeedDisclosure: z.enum(ServiceProviderActivityFeedDisclosure),
4262
+ actorUserId: z.string().optional(),
4263
+ });
3308
4264
  /**
3309
4265
  * One transition in the life of a system-of-record partition assignment.
3310
4266
  *
@@ -3675,6 +4631,13 @@ export const AuditableEvent_SubjectDataExport_EventDataSchema = z.object({
3675
4631
  fieldsWithheldAsNonDisclosable: z.array(z.string()),
3676
4632
  /** Tenant scope, when the export ran org-scoped. */
3677
4633
  organizationId: z.string().optional(),
4634
+ /**
4635
+ * Whether the application declares its subject-data recipients (#1710) — `declared` or `not-declared`. The value an
4636
+ * evidence collector tallies: an export answering Art. 15(1)(c) from a declaration, versus one that could not.
4637
+ */
4638
+ recipientsStatus: z.enum(SubjectDataRecipientsStatementStatus),
4639
+ /** The recipients (provider refs) the export named for this subject, sorted. Systems of record are accounted on their own lane. */
4640
+ recipientRefs: z.array(z.string().trim().min(1)),
3678
4641
  });
3679
4642
  /**
3680
4643
  * A COLLECTION EXPORT — an operator rendered a resource listing to a file and downloaded it.
@@ -3711,7 +4674,7 @@ export const AuditableEvent_CollectionDataExport_EventDataSchema = z.object({
3711
4674
  resourceType: z.string().trim().min(1),
3712
4675
  /** The LIST/SEARCH operation whose result set was exported. */
3713
4676
  sourceOperationIdentifier: z.string().trim().min(1),
3714
- /** `csv` | `json` — the rendered wire format. */
4677
+ /** The rendered wire format — a `ResourceCollectionExportFormat` value (`csv`, `json` or `pdf`). */
3715
4678
  format: z.string().trim().min(1),
3716
4679
  /** `visible_page` | `full_result_set` — see the docstring; this is the field that matters most. */
3717
4680
  rowScope: z.string().trim().min(1),
@@ -3780,6 +4743,96 @@ export const AuditableEvent_ProviderOperationCall_EventDataSchema = z.object({
3780
4743
  executionType: z.string().optional(),
3781
4744
  /** The tenant the REQUEST was scoped to — see `connectionOwnerScope`. */
3782
4745
  organizationId: z.string().optional(),
4746
+ /**
4747
+ * The package that CONTRIBUTED this operation when it is not the provider's own (#1672) — an augmentation
4748
+ * an application opted into, adding operations to a provider it does not own. Absent for an operation the
4749
+ * provider's own module declares.
4750
+ *
4751
+ * The question it answers is the one a shared grant raises: when a call spends a connection the base
4752
+ * provider owns, whose code wrote the request? Without it a reviewer sees the base ref and cannot tell the
4753
+ * base's own operation from a third party's.
4754
+ */
4755
+ augmentationPackage: z.string().optional(),
4756
+ /** The installed version of {@link augmentationPackage}, as `wildo config sync` recorded it. */
4757
+ augmentationPackageVersion: z.string().optional(),
4758
+ /**
4759
+ * The CONNECTION whose grant the call spent (#1725) — the declared base of a shared connection, or the ref itself.
4760
+ * On a shared connection `providerRef` names only the ref the call went THROUGH; this names the grant.
4761
+ */
4762
+ connectionRef: z.string().optional(),
4763
+ /** The npm package that owns `providerRef` — whose code the call ran, when several packages share one grant. */
4764
+ providerPackageName: z.string().optional(),
4765
+ /**
4766
+ * The resource AUDIENCE whose token was attached (#1725) — `graph`, `dataverse` — when the connection's grant spans
4767
+ * several resources. Absent for a provider that mints one token for one resource.
4768
+ */
4769
+ tokenAudience: z.string().optional(),
4770
+ /**
4771
+ * What the call's RATE BUDGETS cost it (#1729). A vendor's allowance belongs to the connection (and, where the vendor
4772
+ * counts per account, to the account it spends), so every call names the budgets it drew on — keys only, never a
4773
+ * count of anyone's traffic — how long it waited for room, and whether the count was the deployment's SHARED one or
4774
+ * this process's alone. On a refusal, `exhaustedBudgetKey` names the budget that was still full: an exhausted
4775
+ * allowance is visible here instead of arriving as a vendor `429`.
4776
+ */
4777
+ rateBudget: z.object({
4778
+ budgetKeys: z.array(z.string()),
4779
+ counting: z.enum(RateBudgetCounting),
4780
+ waitedMs: z.number().nonnegative(),
4781
+ exhaustedBudgetKey: z.string().optional(),
4782
+ }).optional(),
4783
+ });
4784
+ /**
4785
+ * The backend CALLED a vendor to discharge an engine capability (#1712) — see the enum member for why this is
4786
+ * neither a catalogue operation call nor a record about the data's subject.
4787
+ *
4788
+ * One event per PHYSICAL call the egress controls, on the success and the failure path. The granularity is the
4789
+ * egress's own act: one email submission, one SMS, one storage verb, one billing adapter call. A billing adapter
4790
+ * call that pages through a list may make several HTTP requests to the vendor under one row, as an agent turn does
4791
+ * under one `providerCallRecords` row; the count is of the application's acts, not of the vendor's requests.
4792
+ *
4793
+ * No field names a subject — no recipient, number, file, customer or payload — so the schema, not a redaction
4794
+ * step, is what keeps it out of the personal-data population.
4795
+ *
4796
+ * assurance-control: WILDO.INTEGRATION.OUTBOUND_ACTIVITY_AUDIT — records which vendor each capability reached,
4797
+ * with what outcome, for every call the application made.
4798
+ */
4799
+ export const AuditableEvent_ProviderCapabilityCall_EventDataSchema = z.object({
4800
+ eventType: z.literal(CoreAuditableEventType.PROVIDER_CAPABILITY_CALL),
4801
+ /** The egress the call went out through. */
4802
+ capability: z.enum(ProviderCapabilityEgress),
4803
+ /** What it did. */
4804
+ action: z.enum(ProviderCapabilityCallAction),
4805
+ /**
4806
+ * The vendor: the provider ref the capability resolved (`resend`, `twilio`, `stripe`), or, for file storage, the
4807
+ * storage the file is kept in (`wildo_managed`, `google_drive`).
4808
+ */
4809
+ providerRef: z.string().trim().min(1),
4810
+ /** The engine capability the egress served, when it serves several (email: transactional or marketing). */
4811
+ engineCapability: z.string().optional(),
4812
+ /** The billing adapter method, for {@link ProviderCapabilityCallAction.BILLING_OPERATION}. A method NAME, never its arguments. */
4813
+ billingOperation: z.string().optional(),
4814
+ outcome: z.enum(ProviderCapabilityCallOutcome),
4815
+ /** HTTP status of the vendor's answer, when the egress observes one. */
4816
+ status: z.number().int().optional(),
4817
+ /**
4818
+ * The failure KIND (an error type or a submission outcome), never the vendor's prose, which may quote the request. The
4819
+ * recorder keeps it to an identifier-shaped token and replaces anything else with `unclassified`, so an SDK error
4820
+ * that carried text in its code cannot put that text on the trail.
4821
+ */
4822
+ failureKind: z.string().optional(),
4823
+ /** WHOSE account the call spent: `application` | `organization` | `user` — the vocabulary its siblings use. */
4824
+ connectionOwnerScope: z.string().trim().min(1),
4825
+ /**
4826
+ * The owner's id; absent for the application's own account. For a person's Drive this is the file's LINKER, who may
4827
+ * not be the reader — the reason this event exports at SUBJECT_DETAIL.
4828
+ */
4829
+ connectionOwnerId: z.string().optional(),
4830
+ /** The REAL initiating user, when the egress runs under an execution context that has one. */
4831
+ initiatorUserId: z.string().optional(),
4832
+ /** The execution type that acted, when the egress runs under an execution context. */
4833
+ executionType: z.string().optional(),
4834
+ /** The tenant the call was made for, when the egress knows one (an email sent for an organization). */
4835
+ organizationId: z.string().optional(),
3783
4836
  });
3784
4837
  /**
3785
4838
  * The browser door REFUSED a provider operation (#367) — see the enum member for why this is not a
@@ -3848,7 +4901,10 @@ export const AuditableEvent_McpToolCall_EventDataSchema = z.object({
3848
4901
  destinationHost: z.string().trim().min(1),
3849
4902
  /** The tool called. Absent when the attempt failed before any tool was chosen (discovery). */
3850
4903
  toolName: z.string().optional(),
3851
- /** The client's outcome kind — `ok`, `refused_target`, `unreachable`, `timed_out`, `protocol_error`, `tool_error`. */
4904
+ /**
4905
+ * The client's outcome kind — `ok`, `refused_target`, `unreachable`, `timed_out`, `protocol_error`, `tool_error`, or
4906
+ * `rate_budget_exhausted` (the connection's rate budget stayed full; nothing was sent — #1938).
4907
+ */
3852
4908
  outcome: z.string().trim().min(1),
3853
4909
  /**
3854
4910
  * WHOSE ACCOUNT the call spent: `user` | `organization`. Absent when no credential was resolved,
@@ -3874,45 +4930,211 @@ export const AuditableEvent_McpToolCall_EventDataSchema = z.object({
3874
4930
  agentRef: z.string().optional(),
3875
4931
  });
3876
4932
  /**
3877
- * A human approver AUTHORED the arguments an approval-gated tool ran with (#566).
3878
- *
3879
- * One row per MODIFIED approval — never per approval. See the enum member's docstring for why an
3880
- * ordinary approval is not this event, and for why no argument VALUE appears in this schema.
3881
- *
3882
- * `proposedInputDigest` / `executedInputDigest` are the model SDK's own canonical input digests, the
3883
- * same values its approval signature is computed over. That is what makes them evidence rather than
3884
- * a convenience: a reader holding the executed call can recompute the second and see it match, and
3885
- * the two differing is proof that the call which ran is not the call which was proposed — with no
3886
- * copy of either payload on the trail.
3887
- *
3888
- * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT — records that an authorization
3889
- * decision REWROTE the act it authorized, and who made it.
4933
+ * The fields every human-decision event carries: which decision, on which plane, raised by which
4934
+ * agent's work, routed how. Ids and names only (#1595 D5).
3890
4935
  */
3891
- export const AuditableEvent_AgentToolApprovalModified_EventDataSchema = z.object({
3892
- eventType: z.literal(CoreAuditableEventType.AGENT_TOOL_APPROVAL_MODIFIED),
3893
- /** The conversational execution whose turn was paused. */
4936
+ const HumanDecisionEventBaseShape = {
4937
+ /** The one decision id (`HumanDecision_Request.decisionId`), shared by both planes and every row about this decision. */
4938
+ decisionRef: z.string().trim().min(1),
4939
+ /** The execution whose work is waiting — the conversational execution or the actor-system execution. */
3894
4940
  executionId: z.string().trim().min(1),
3895
- /** The pending decision's id — correlates this row with the pause and the resume in the logs. */
3896
- approvalId: z.string().trim().min(1),
3897
- /** The actor system the turn belongs to. */
3898
- systemRef: z.string().trim().min(1),
3899
- /** The agent whose declaration gated the tool, so a trail reads back to a configuration. */
3900
- agentRef: z.string().trim().min(1),
3901
- /** The approval-gated tool, as the model was shown it. */
3902
- toolName: z.string().trim().min(1),
3903
- /** Canonical digest of the arguments the MODEL proposed. */
3904
- proposedInputDigest: z.string().trim().min(1),
3905
- /** Canonical digest of the arguments that actually RAN. Differs from the above by construction. */
3906
- executedInputDigest: z.string().trim().min(1),
3907
- /**
3908
- * The argument NAMES the approver changed, sorted. Names only — a field name is not personal data,
3909
- * which is exactly why it is always safe and always recorded.
3910
- */
3911
- modifiedArgumentKeys: z.array(z.string()),
3912
- /** The approver. Absent never happens on this plane — only a present human can answer — but the envelope owns the field. */
3913
- approverUserId: z.string().optional(),
3914
- /** The tenant the turn was scoped to. */
4941
+ plane: z.enum(HumanDecision_Plane),
4942
+ /** The actor system the work belongs to. */
4943
+ systemRef: z.string().trim().min(1).optional(),
4944
+ /** The agent whose gate raised the decision. */
4945
+ agentRef: z.string().trim().min(1).optional(),
4946
+ /** The gated tool, when the decision is a tool approval. */
4947
+ toolName: z.string().trim().min(1).optional(),
4948
+ routeKind: z.enum(HumanDecision_RouteKind),
4949
+ /** The route's eligible role — the floor every holder must meet. Absent for OWNER. */
4950
+ routeEligibleRole: z.string().trim().min(1).optional(),
4951
+ /** The tenant the decision is routed within. */
3915
4952
  organizationId: z.string().optional(),
4953
+ };
4954
+ /** A decision was raised. */
4955
+ export const AuditableEvent_HumanDecisionRequested_EventDataSchema = z.object({
4956
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_REQUESTED),
4957
+ ...HumanDecisionEventBaseShape,
4958
+ requesterKind: z.enum(HumanDecision_RequesterKind),
4959
+ /** ASSIGNEE routes only: who it was routed to. */
4960
+ assigneeUserId: z.string().optional(),
4961
+ /** When answering is refused. Absent means the decision does not lapse. */
4962
+ expiresAt: z.string().optional(),
4963
+ /** #1628: the armed CLAIM deadline, and the clock it counts on. Absent on the actor plane before a host arms one. */
4964
+ claimDeadlineAt: z.string().optional(),
4965
+ claimClockBasis: z.enum(ReviewClockBasis).optional(),
4966
+ /** #1628: the armed DECISION deadline, and the clock it counts on. */
4967
+ decisionDeadlineAt: z.string().optional(),
4968
+ decisionClockBasis: z.enum(ReviewClockBasis).optional(),
4969
+ });
4970
+ /** A decision ended. Exactly one per `decisionRef`. */
4971
+ export const AuditableEvent_HumanDecisionResolved_EventDataSchema = z.object({
4972
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_RESOLVED),
4973
+ ...HumanDecisionEventBaseShape,
4974
+ outcome: z.enum(HumanDecision_Outcome),
4975
+ /** The person who decided. Absent for LAPSED and for a WITHDRAWN nobody answered. */
4976
+ decidedByUserId: z.string().optional(),
4977
+ /** The decider's roles in the decision's organization at the moment they decided. */
4978
+ deciderRoles: z.array(z.string()).optional(),
4979
+ /** The route role that admitted the decider (ROLE and ASSIGNEE routes). */
4980
+ admittedByRouteRole: z.string().optional(),
4981
+ /** ACCEPTED_WITH_MODIFICATIONS: the argument NAMES the decider changed, sorted. Never their values. */
4982
+ modifiedArgumentNames: z.array(z.string()).default([]),
4983
+ /** Whether the decider gave a reason. The reason itself stays in the transcript, not on the trail. */
4984
+ reasonGiven: z.boolean(),
4985
+ /** LAPSED only: a person who answered after the deadline, whose answer was therefore refused. */
4986
+ lateDecisionUserId: z.string().optional(),
4987
+ /** #1628: whether each armed service target was met. A clock that was never armed is absent, never guessed. */
4988
+ deadlineOutcomes: z.partialRecord(z.enum(ReviewDeadlineKind), z.enum(ReviewDeadlineOutcome)).optional(),
4989
+ });
4990
+ /** A decision was moved — reassigned or escalated. */
4991
+ const HumanDecisionMoveShape = {
4992
+ ...HumanDecisionEventBaseShape,
4993
+ /** Who held it before the move. Absent when it moved off a ROLE route nobody had claimed. */
4994
+ fromAssigneeUserId: z.string().optional(),
4995
+ /** Who holds it now. */
4996
+ toAssigneeUserId: z.string().trim().min(1),
4997
+ /** The route version after the move; an answer read under an older version loses. */
4998
+ routeVersion: z.number().int().nonnegative(),
4999
+ /** Whether the mover gave a reason. The reason itself is not recorded here. */
5000
+ reasonGiven: z.boolean(),
5001
+ };
5002
+ export const AuditableEvent_HumanDecisionReassigned_EventDataSchema = z.object({
5003
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_REASSIGNED),
5004
+ ...HumanDecisionMoveShape,
5005
+ /** #1628: a person's move, or a deadline's REASSIGN rule — so a rule-driven move is never read as a choice. */
5006
+ trigger: z.enum(HumanDecision_RouteChangeTrigger),
5007
+ /** ESCALATION_RULE only: the stage whose rule moved it. */
5008
+ stage: z.enum(ReviewDeadlineStage).optional(),
5009
+ });
5010
+ export const AuditableEvent_HumanDecisionEscalated_EventDataSchema = z.object({
5011
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_ESCALATED),
5012
+ ...HumanDecisionMoveShape,
5013
+ /** True when the target came from the gate's declared `escalateTo`, false when the escalator named it. */
5014
+ toDeclaredTarget: z.boolean(),
5015
+ });
5016
+ /** A role-routed decision was claimed (`claimed: true`) or given back to its role (`claimed: false`). */
5017
+ export const AuditableEvent_HumanDecisionClaimed_EventDataSchema = z.object({
5018
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_CLAIMED),
5019
+ ...HumanDecisionEventBaseShape,
5020
+ claimed: z.boolean(),
5021
+ /** The holder who claimed, or who gave it back. */
5022
+ assigneeUserId: z.string().trim().min(1),
5023
+ routeVersion: z.number().int().nonnegative(),
5024
+ });
5025
+ /** Someone tried to act on a decision and was refused. The decision is unchanged. */
5026
+ export const AuditableEvent_HumanDecisionAnswerRefused_EventDataSchema = z.object({
5027
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_ANSWER_REFUSED),
5028
+ ...HumanDecisionEventBaseShape,
5029
+ act: z.enum(HumanDecision_Act),
5030
+ reason: z.enum(HumanDecision_RefusalReason),
5031
+ /** Who tried. Absent when the attempt carried no person at all (a machine principal). */
5032
+ attemptedByUserId: z.string().optional(),
5033
+ });
5034
+ /** A CLAIM or DECISION deadline passed (#1628). The decision is unchanged and still answerable. */
5035
+ export const AuditableEvent_HumanDecisionDeadlineMissed_EventDataSchema = z.object({
5036
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_DEADLINE_MISSED),
5037
+ ...HumanDecisionEventBaseShape,
5038
+ kind: z.enum(ReviewDeadlineKind),
5039
+ /** The deadline that passed, after any pause was added to it. */
5040
+ deadlineAt: z.string().trim().min(1),
5041
+ basis: z.enum(ReviewClockBasis),
5042
+ });
5043
+ /**
5044
+ * A deadline stage's rule fired (#1628). Ids and counts only: who was told is the route's candidates at
5045
+ * that moment, recorded as a count so the row holds no list of people that would need scrubbing.
5046
+ */
5047
+ export const AuditableEvent_HumanDecisionEscalationFired_EventDataSchema = z.object({
5048
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_ESCALATION_FIRED),
5049
+ ...HumanDecisionEventBaseShape,
5050
+ stage: z.enum(ReviewDeadlineStage),
5051
+ /** What the stage did. A REASSIGN whose target did not resolve, or could not answer, did NOTIFY instead. */
5052
+ action: z.enum(ReviewEscalationActionKind),
5053
+ /** Whether a REASSIGN rule was declared for this stage and attempted. */
5054
+ reassignAttempted: z.boolean(),
5055
+ /** REASSIGN attempted: whether its target resolved to someone who may answer. False: the decision did not move. */
5056
+ targetResolved: z.boolean().optional(),
5057
+ /** REASSIGN attempted and refused: why the resolved target may not answer (#1594 I8). */
5058
+ targetRefusalReason: z.enum(HumanDecision_RefusalReason).optional(),
5059
+ /** REASSIGN applied: who held it before (absent for an unclaimed ROLE route) and who holds it now. */
5060
+ fromAssigneeUserId: z.string().optional(),
5061
+ toAssigneeUserId: z.string().optional(),
5062
+ /** REASSIGN applied: the route version after the move. */
5063
+ routeVersion: z.number().int().nonnegative().optional(),
5064
+ /** How many people were told. Zero is recorded, not hidden: it is the finding. */
5065
+ recipientCount: z.number().int().nonnegative(),
5066
+ });
5067
+ /** A person stopped a decision's CLAIM and DECISION clocks (#1628). The lapse keeps running. */
5068
+ export const AuditableEvent_HumanDecisionClockPaused_EventDataSchema = z.object({
5069
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_CLOCK_PAUSED),
5070
+ ...HumanDecisionEventBaseShape,
5071
+ /** The gate-declared pause state. An application identifier, never free text. */
5072
+ pauseStateRef: z.string().trim().min(1),
5073
+ pausedByUserId: z.string().trim().min(1),
5074
+ });
5075
+ /** A person restarted a decision's clocks (#1628); `pausedMs` was added to both service targets. */
5076
+ export const AuditableEvent_HumanDecisionClockResumed_EventDataSchema = z.object({
5077
+ eventType: z.literal(CoreAuditableEventType.HUMAN_DECISION_CLOCK_RESUMED),
5078
+ ...HumanDecisionEventBaseShape,
5079
+ pauseStateRef: z.string().trim().min(1),
5080
+ resumedByUserId: z.string().trim().min(1),
5081
+ /** How long this pause lasted, in wall-clock milliseconds. */
5082
+ pausedMs: z.number().int().nonnegative(),
5083
+ });
5084
+ /**
5085
+ * The fields every autonomous-agent binding event carries (#1611). Ids and refs only: an agent's
5086
+ * instruction lives in the application's code, and a turn's input stays in its transcript.
5087
+ */
5088
+ const AutonomousAgentBindingEventShape = {
5089
+ /** The application-declared autonomous agent. */
5090
+ autonomousAgentRef: z.string().trim().min(1),
5091
+ /** The organization the agent may (or may no longer) act in. */
5092
+ organizationId: z.string().trim().min(1),
5093
+ /** The OAuth client whose authority the agent's turns carry. */
5094
+ oauthClientId: z.string().trim().min(1),
5095
+ principalSource: z.enum(AutonomousPrincipalSource),
5096
+ /** RELATIONSHIP_ADMITTED_CLIENT only: the firm that owns the client. */
5097
+ providerOrganizationId: z.string().trim().min(1).optional(),
5098
+ /** RELATIONSHIP_ADMITTED_CLIENT only: the relationship whose admission carries it. */
5099
+ serviceProviderRelationshipId: z.string().trim().min(1).optional(),
5100
+ };
5101
+ export const AuditableEvent_AutonomousAgent_BoundEventDataSchema = z.object({
5102
+ eventType: z.literal(CoreAuditableEventType.AUTONOMOUS_AGENT_BOUND),
5103
+ ...AutonomousAgentBindingEventShape,
5104
+ });
5105
+ export const AuditableEvent_AutonomousAgent_UnboundEventDataSchema = z.object({
5106
+ eventType: z.literal(CoreAuditableEventType.AUTONOMOUS_AGENT_UNBOUND),
5107
+ ...AutonomousAgentBindingEventShape,
5108
+ });
5109
+ /** The fields every autonomous-turn event carries: which agent, where, on which occurrence, started by what. */
5110
+ const AutonomousAgentTurnEventShape = {
5111
+ autonomousAgentRef: z.string().trim().min(1),
5112
+ organizationId: z.string().trim().min(1),
5113
+ /** The schedule occurrence or the inbound delivery id. The same occurrence twice is one turn. */
5114
+ occurrenceKey: z.string().trim().min(1),
5115
+ trigger: z.enum(AutonomousTurnTrigger),
5116
+ /** The case the turn was started for, when one was named. */
5117
+ caseRef: WorkUnitRefSchema.optional(),
5118
+ };
5119
+ export const AuditableEvent_AutonomousAgent_TurnStartedEventDataSchema = z.object({
5120
+ eventType: z.literal(CoreAuditableEventType.AUTONOMOUS_AGENT_TURN_STARTED),
5121
+ ...AutonomousAgentTurnEventShape,
5122
+ /** The conversational execution the turn runs in. Deterministic from the agent, organization and occurrence. */
5123
+ executionId: z.string().trim().min(1),
5124
+ systemRef: z.string().trim().min(1),
5125
+ oauthClientId: z.string().trim().min(1),
5126
+ principalSource: z.enum(AutonomousPrincipalSource),
5127
+ });
5128
+ export const AuditableEvent_AutonomousAgent_TurnRefusedEventDataSchema = z.object({
5129
+ eventType: z.literal(CoreAuditableEventType.AUTONOMOUS_AGENT_TURN_REFUSED),
5130
+ ...AutonomousAgentTurnEventShape,
5131
+ reason: z.enum(AutonomousTurnRefusalReason),
5132
+ /** OVER_BUDGET: the budget gate's own reason (exhausted, or unverifiable). */
5133
+ budgetDenialReason: z.string().trim().min(1).optional(),
5134
+ /** RUNTIME_REFUSED: the runtime's error code. */
5135
+ runtimeErrorCode: z.string().trim().min(1).optional(),
5136
+ /** The OAuth client, when one had been resolved before the refusal. */
5137
+ oauthClientId: z.string().trim().min(1).optional(),
3916
5138
  });
3917
5139
  /**
3918
5140
  * Rows were read THROUGH an HTTP-API resource binding — the read-through trail for data living in
@@ -3938,8 +5160,13 @@ export const AuditableEvent_HttpApiReadThroughAccess_EventDataSchema = z.object(
3938
5160
  resourceType: z.string().trim().min(1),
3939
5161
  /** The read-family member executed: `read` | `list` | `count` | `search`. */
3940
5162
  operationIdentifier: z.string().trim().min(1),
3941
- /** The provider the binding resolves credentials/base-URL through (e.g. `odoo`). */
3942
- providerRef: z.string().trim().min(1),
5163
+ /**
5164
+ * The system-of-record INSTANCE the binding reads (`systemsOfRecord.<name>`, #1055). Was `providerRef`
5165
+ * until #1679 found the emitters had sent `systemOfRecord` since #1055 while this schema still named the
5166
+ * retired provider field — a trail whose declared shape and whose rows disagreed about the one field
5167
+ * that says WHICH external system was reached.
5168
+ */
5169
+ systemOfRecord: z.string().trim().min(1),
3943
5170
  /** The remote entity (OData entity set / Odoo model / declared REST surface). */
3944
5171
  remoteEntityRef: z.string().trim().min(1),
3945
5172
  /** The transport dialect spoken (`odata` | `rest-json` | `odoo-jsonrpc`). */
@@ -3954,6 +5181,35 @@ export const AuditableEvent_HttpApiReadThroughAccess_EventDataSchema = z.object(
3954
5181
  resourceId: z.string().optional(),
3955
5182
  /** Rows returned (list/search), or the count answered (count). Absent for a single READ. */
3956
5183
  rowCount: z.number().int().nonnegative().optional(),
5184
+ /*
5185
+ * ── A PIPELINE RUN's extras (`operationIdentifier: 'externalDataPipelineRun'`) ─────────────
5186
+ *
5187
+ * The run service has emitted `rejectedRows` and `completedPass` since the pipeline landed, and this
5188
+ * schema never declared them — a trail whose rows carried fields its declared shape did not name.
5189
+ * Declared together with the pass mode (#1682) and the erasure-suppression count (#1746), all optional
5190
+ * because a read-through operation has none.
5191
+ */
5192
+ /** Rows the pipeline's transform rejected this run (reported per row in the run log; never loaded). */
5193
+ rejectedRows: z.number().int().nonnegative().optional(),
5194
+ /**
5195
+ * Whether the run finished its pass. Read with `pipelinePassMode`: on a FULL run it means the whole
5196
+ * remote population was read; on an INCREMENTAL run, every change since the watermark was.
5197
+ */
5198
+ completedPass: z.boolean().optional(),
5199
+ /** Which track the run advanced (#1682) — a full pass or an incremental one. */
5200
+ pipelinePassMode: z.enum(ExternalDataPipelinePassMode).optional(),
5201
+ /**
5202
+ * Source rows the run did NOT load because a subject erasure suppresses their remote records (#1746) — the
5203
+ * evidence that an erasure survived the next pass. A count, never a key.
5204
+ *
5205
+ * assurance-control: WILDO.PRIVACY.ERASURE_PROPAGATION — a pipeline run records how many erased records it declined to re-import.
5206
+ */
5207
+ suppressedRows: z.number().int().nonnegative().optional(),
5208
+ /**
5209
+ * Of those suppressed records, how many still have a LIVE row in the destination — an erasure that committed while an
5210
+ * earlier pass was loading, and that pass wrote the row back (#1746). Above zero is an erasure that did not hold.
5211
+ */
5212
+ liveSuppressedRows: z.number().int().nonnegative().optional(),
3957
5213
  });
3958
5214
  /**
3959
5215
  * A subject erasure invoked the DECLARED external-erasure operation of an HTTP_API binding
@@ -3977,8 +5233,8 @@ export const AuditableEvent_HttpApiExternalErasure_EventDataSchema = z.object({
3977
5233
  subjectIds: z.array(z.string().trim().min(1)).min(1),
3978
5234
  /** The HTTP_API-bound Wildo resource whose declared erasure operation ran. */
3979
5235
  resourceType: z.string().trim().min(1),
3980
- /** The provider the binding resolves credentials/base-URL through. */
3981
- providerRef: z.string().trim().min(1),
5236
+ /** The system-of-record INSTANCE the erasure reached (`systemsOfRecord.<name>`) — see the read-through schema for the rename. */
5237
+ systemOfRecord: z.string().trim().min(1),
3982
5238
  /** The remote entity (OData entity set / Odoo model / declared REST surface). */
3983
5239
  remoteEntityRef: z.string().trim().min(1),
3984
5240
  /** The transport dialect spoken (`odata` | `rest-json` | `odoo-jsonrpc`). */
@@ -3988,6 +5244,267 @@ export const AuditableEvent_HttpApiExternalErasure_EventDataSchema = z.object({
3988
5244
  /** Tenant scope, when the erasure request carried one. */
3989
5245
  organizationId: z.string().optional(),
3990
5246
  });
5247
+ /**
5248
+ * What became of ONE write sent (or about to be sent) through an HTTP-API binding (#1679).
5249
+ *
5250
+ * Distinct members because each one sends a reviewer somewhere different, and two of them are the
5251
+ * answers a client must not read as "not written".
5252
+ */
5253
+ export var HttpApiWriteThroughOutcome;
5254
+ (function (HttpApiWriteThroughOutcome) {
5255
+ /** The system of record applied the write. */
5256
+ HttpApiWriteThroughOutcome["APPLIED"] = "applied";
5257
+ /**
5258
+ * The ENGINE refused before anything was sent — a non-owner organization, a partition outside the
5259
+ * caller's grant, an engine-owned field in the payload. Nothing reached the remote.
5260
+ */
5261
+ HttpApiWriteThroughOutcome["REFUSED"] = "refused";
5262
+ /** The request was sent and the system of record refused it with a definite answer; nothing was applied. */
5263
+ HttpApiWriteThroughOutcome["REMOTE_REFUSED"] = "remote_refused";
5264
+ /**
5265
+ * The request was sent and nobody knows whether it was applied — a timeout, a connection dropped after
5266
+ * the request left, a gateway answering for the vendor. A retry under the same Idempotency-Key answers
5267
+ * this again rather than sending a second write.
5268
+ */
5269
+ HttpApiWriteThroughOutcome["OUTCOME_UNKNOWN"] = "outcome_unknown";
5270
+ /**
5271
+ * A retry under an Idempotency-Key whose first attempt was APPLIED. Nothing was sent: the outcome was
5272
+ * replayed from the first attempt's record. Recorded so the second RESOURCE_OPERATION_PERFORMED row such a
5273
+ * retry produces is visibly one that changed nothing remote.
5274
+ */
5275
+ HttpApiWriteThroughOutcome["REPLAYED"] = "replayed";
5276
+ })(HttpApiWriteThroughOutcome || (HttpApiWriteThroughOutcome = {}));
5277
+ /**
5278
+ * A row was written THROUGH an HTTP-API resource binding, or a write was refused (#1679) — see the enum
5279
+ * member's docstring for the vocabulary argument and the relation to RESOURCE_OPERATION_PERFORMED.
5280
+ *
5281
+ * MINIMISATION is the shape of this schema: it names the FIELDS written and never their values. The
5282
+ * values live in the system of record; a copy here would be a second store of that system's content, one
5283
+ * the application's erasure never reaches. `writtenFieldNames` are the LOCAL names the caller sent,
5284
+ * because those are the names a reviewer of this application reads.
5285
+ *
5286
+ * assurance-control: WILDO.AUDIT.ATTRIBUTION — every write sent into an external system through the shared
5287
+ * service identity is recorded with the real initiating user, the row it reached and the fields it changed.
5288
+ */
5289
+ export const AuditableEvent_HttpApiWriteThrough_EventDataSchema = z.object({
5290
+ eventType: z.literal(CoreAuditableEventType.HTTP_API_WRITE_THROUGH),
5291
+ /** The Wildo resource whose binding was written through. */
5292
+ resourceType: z.string().trim().min(1),
5293
+ /** The write verb: `create` | `update` | `delete` — the core operation, so OCSF refines its activity from it. */
5294
+ operationIdentifier: z.string().trim().min(1),
5295
+ /** The system-of-record INSTANCE written (`systemsOfRecord.<name>`). */
5296
+ systemOfRecord: z.string().trim().min(1),
5297
+ /** The remote entity (OData entity set / Odoo model / declared REST surface). */
5298
+ remoteEntityRef: z.string().trim().min(1),
5299
+ /** The transport dialect spoken. */
5300
+ dialect: z.string().trim().min(1),
5301
+ outcome: z.enum(HttpApiWriteThroughOutcome),
5302
+ /**
5303
+ * The written row's synthesized id — its remote key. Present for an update or delete (addressed by it)
5304
+ * and for an applied or replayed create (the remote assigned it). Absent for a create that was refused
5305
+ * or whose outcome is unknown, because no key exists that the engine could honestly name.
5306
+ */
5307
+ resourceId: z.string().optional(),
5308
+ /** The LOCAL names of the fields the write carried, sorted. Never their values. Empty for a delete. */
5309
+ writtenFieldNames: z.array(z.string()),
5310
+ /** The stable refusal code for REFUSED, REMOTE_REFUSED and OUTCOME_UNKNOWN (a `SystemOfRecordErrorCode`, or the transport kind). */
5311
+ refusalCode: z.string().optional(),
5312
+ /** The REAL initiating user — absent only for genuine machine/internal executions. */
5313
+ initiatorUserId: z.string().optional(),
5314
+ /** The execution type that acted. */
5315
+ executionType: z.string().optional(),
5316
+ /** The organization the write was scoped to — the owner organization when it was admitted. */
5317
+ organizationId: z.string().optional(),
5318
+ /** The organization unit whose partition the row belongs to, when the instance is partitioned. */
5319
+ organizationUnitId: z.string().optional(),
5320
+ /**
5321
+ * The LOCAL row whose change the write carried — present only for a write an OUTBOUND pipeline sent (#1690), which is
5322
+ * how a reviewer tells such a write from a caller's write through a read-through resource. `initiatorUserId` is then
5323
+ * the member whose change the pass sent, not whoever triggered the pass.
5324
+ */
5325
+ localResourceId: z.string().optional(),
5326
+ });
5327
+ /**
5328
+ * What became of ONE declared system-of-record action that was sent, or replayed (#1678). Refusals before sending are a
5329
+ * separate event type ({@link CoreAuditableEventType.SYSTEM_OF_RECORD_ACTION_REFUSED}).
5330
+ */
5331
+ export var SystemOfRecordActionOutcome;
5332
+ (function (SystemOfRecordActionOutcome) {
5333
+ /** The system of record performed the action. */
5334
+ SystemOfRecordActionOutcome["APPLIED"] = "applied";
5335
+ /** The action was sent and the system of record refused it with a definite answer; nothing was applied. */
5336
+ SystemOfRecordActionOutcome["REMOTE_REFUSED"] = "remote_refused";
5337
+ /**
5338
+ * The action was sent and nobody knows whether it was performed — a timeout, a connection dropped after the request
5339
+ * left, a gateway answering for the vendor, or an answer the engine could not read after the vendor answered success.
5340
+ * A retry under the same Idempotency-Key answers this again rather than acting twice.
5341
+ */
5342
+ SystemOfRecordActionOutcome["OUTCOME_UNKNOWN"] = "outcome_unknown";
5343
+ /** A retry under an Idempotency-Key whose first attempt was APPLIED. Nothing was sent. */
5344
+ SystemOfRecordActionOutcome["REPLAYED"] = "replayed";
5345
+ })(SystemOfRecordActionOutcome || (SystemOfRecordActionOutcome = {}));
5346
+ /**
5347
+ * A declared system-of-record action was run (#1678) — see the enum member for the vocabulary argument.
5348
+ *
5349
+ * MINIMISATION is the shape: the input's field NAMES, never their values, and no result. The values live in the system
5350
+ * of record; a copy here would be a second store of that system's content, one no erasure reaches.
5351
+ *
5352
+ * assurance-control: WILDO.INTEGRATION.OUTBOUND_ACTIVITY_AUDIT — every physical action call to a system of record is
5353
+ * recorded with the instance, the action, the remote entity and its outcome.
5354
+ * assurance-control: WILDO.AUDIT.ATTRIBUTION — the real initiating actor is recorded through the shared service identity.
5355
+ */
5356
+ export const AuditableEvent_SystemOfRecordActionExecuted_EventDataSchema = z.object({
5357
+ eventType: z.literal(CoreAuditableEventType.SYSTEM_OF_RECORD_ACTION_EXECUTED),
5358
+ /** The system-of-record INSTANCE acted on (`systemsOfRecord.<name>`). */
5359
+ systemOfRecord: z.string().trim().min(1),
5360
+ /** The application's name for the action (`postInvoice`), as the binding declares it. */
5361
+ action: z.string().trim().min(1),
5362
+ /** The read-through resource whose binding declares the action. */
5363
+ resourceType: z.string().trim().min(1),
5364
+ /** The remote entity or model the call was made on (`account.move`, an OData entity set or action import). */
5365
+ remoteEntityRef: z.string().trim().min(1),
5366
+ /** The call shape (`odoo-execute-kw` | `odata-bound-action` | `odata-unbound-action`). Spelled as a string: see `dialect` on the read-through row. */
5367
+ callShape: z.string().trim().min(1),
5368
+ outcome: z.enum(SystemOfRecordActionOutcome),
5369
+ /** Whether the action is declared as changing remote state. */
5370
+ writes: z.boolean(),
5371
+ /** The target record's synthesized id — a remote KEY, never a person's id. Absent for a record-free action. */
5372
+ targetResourceId: z.string().optional(),
5373
+ /** The LOCAL names of the input fields the call carried, sorted. Never their values. */
5374
+ inputFieldNames: z.array(z.string()),
5375
+ /** The stable code for REMOTE_REFUSED and OUTCOME_UNKNOWN (a `SystemOfRecordErrorCode`, or the transport kind). */
5376
+ failureCode: z.string().optional(),
5377
+ /** The REAL initiating user — absent only for machine and system executions. */
5378
+ initiatorUserId: z.string().optional(),
5379
+ /** The execution type that acted. */
5380
+ executionType: z.string().optional(),
5381
+ /** The organization the action was run for — the owner organization, once admitted. */
5382
+ organizationId: z.string().optional(),
5383
+ /** The organization unit whose partition the action landed in, when the instance is partitioned and it is known. */
5384
+ organizationUnitId: z.string().optional(),
5385
+ });
5386
+ /**
5387
+ * A declared system-of-record action was REFUSED before anything was sent (#1678).
5388
+ *
5389
+ * assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT — every refusal of an action on a system of record is
5390
+ * recorded with the caller, the instance, the action and the rule that refused it.
5391
+ */
5392
+ export const AuditableEvent_SystemOfRecordActionRefused_EventDataSchema = z.object({
5393
+ eventType: z.literal(CoreAuditableEventType.SYSTEM_OF_RECORD_ACTION_REFUSED),
5394
+ systemOfRecord: z.string().trim().min(1),
5395
+ action: z.string().trim().min(1),
5396
+ /** The declaring resource, when the action was found at all (absent for ACTION_NOT_DECLARED). */
5397
+ resourceType: z.string().optional(),
5398
+ /** The target the caller named, for a record-targeted action. */
5399
+ targetResourceId: z.string().optional(),
5400
+ /** The `SystemOfRecordErrorCode` that refused it. */
5401
+ refusalCode: z.string().trim().min(1),
5402
+ /** The partition rule that refused it, for ACTION_PARTITION_REFUSED (`SystemOfRecordWritePartitionRefusal`). */
5403
+ refusalReason: z.string().optional(),
5404
+ initiatorUserId: z.string().optional(),
5405
+ executionType: z.string().optional(),
5406
+ /** The organization the caller initiated the action for — possibly NOT the owner, which is what a reviewer looks for. */
5407
+ organizationId: z.string().optional(),
5408
+ });
5409
+ /**
5410
+ * An operator reset a pipeline (#1734) — see {@link CoreAuditableEventType.EXTERNAL_DATA_PIPELINE_RESET}.
5411
+ *
5412
+ * The DISCARDED state is the point of the row: the pass id, cursor and watermark are remote POSITIONS (an id, a
5413
+ * continuation link, a timestamp), never record content, and they are what lets a reviewer say which part of a sync
5414
+ * the reset threw away. The door is authenticated by the application admin secret, which names no person, so the
5415
+ * row's `userId` is empty; `statedOperator` is who the operator SAID they are, recorded as a statement, and `reason`
5416
+ * is their own words — which is why the event exports at SUBJECT_DETAIL.
5417
+ *
5418
+ * assurance-control: WILDO.AUDIT.SECURITY_EVENT — an operator's reset of a pipeline is recorded with what it discarded
5419
+ * and why.
5420
+ */
5421
+ export const AuditableEvent_ExternalDataPipelineReset_EventDataSchema = z.object({
5422
+ eventType: z.literal(CoreAuditableEventType.EXTERNAL_DATA_PIPELINE_RESET),
5423
+ /** The destination resource whose pipeline was reset. */
5424
+ pipelineResourceType: z.string().trim().min(1),
5425
+ /** The system-of-record instance the pipeline reads (`systemsOfRecord.<name>`). */
5426
+ systemOfRecord: z.string().trim().min(1),
5427
+ resetMode: z.enum(ExternalDataPipelineResetMode),
5428
+ /** Why, in the operator's words. Required by the door. */
5429
+ reason: z.string().trim().min(1).max(2000),
5430
+ /** Who the operator said they are, when they said. A statement, not an authenticated identity. */
5431
+ statedOperator: z.string().trim().min(1).max(200).optional(),
5432
+ /** Whether the pipeline had a state row at all. A reset of a pipeline that never ran discards nothing. */
5433
+ stateFound: z.boolean(),
5434
+ /** The discarded full pass's id; null when no pass was in flight. */
5435
+ discardedPassId: z.string().nullable(),
5436
+ /** The discarded full pass's cursor — a remote position; null at the start of a pass or with none in flight. */
5437
+ discardedCursor: z.string().nullable(),
5438
+ /** When the discarded pass started, ISO-8601; null when none was in flight. */
5439
+ discardedPassStartedAt: z.string().nullable(),
5440
+ /** The discarded incremental watermark (FULL_RESYNC only) — a remote position; null when none was discarded. */
5441
+ discardedIncrementalWatermark: z.string().nullable(),
5442
+ /** The discarded in-flight incremental cursor (FULL_RESYNC only); null when none was discarded. */
5443
+ discardedIncrementalCursor: z.string().nullable(),
5444
+ });
5445
+ /**
5446
+ * An operator answered an outbound write of unknown outcome (#2039) — see
5447
+ * {@link CoreAuditableEventType.EXTERNAL_DATA_OUTBOUND_UNKNOWN_RESOLVED}.
5448
+ *
5449
+ * Like the reset, the door is authenticated by the application admin secret, which names no person: the row's `userId`
5450
+ * is empty, `statedOperator` is who the operator SAID they are, and `reason` is their own words (SUBJECT_DETAIL on
5451
+ * export). `remoteKey` is the remote record's identity the operator supplied, never record content.
5452
+ *
5453
+ * assurance-control: WILDO.AUDIT.SECURITY_EVENT — an operator's answer about another system's state is recorded with
5454
+ * what it changed locally and why.
5455
+ */
5456
+ export const AuditableEvent_ExternalDataOutboundUnknownResolved_EventDataSchema = z.object({
5457
+ eventType: z.literal(CoreAuditableEventType.EXTERNAL_DATA_OUTBOUND_UNKNOWN_RESOLVED),
5458
+ /** The OUTBOUND pipeline's destination resource. */
5459
+ pipelineResourceType: z.string().trim().min(1),
5460
+ /** The system-of-record instance the pipeline sends to (`systemsOfRecord.<name>`). */
5461
+ systemOfRecord: z.string().trim().min(1),
5462
+ /** The destination row whose change was of unknown outcome. */
5463
+ localResourceId: z.string().trim().min(1),
5464
+ /** The write that was of unknown outcome, as its core operation (`create` / `update`). */
5465
+ operationIdentifier: z.string().trim().min(1),
5466
+ answer: z.enum(ExternalDataOutboundUnknownAnswer),
5467
+ /** The remote key the operator supplied for an applied CREATE; null otherwise. */
5468
+ remoteKey: z.string().nullable(),
5469
+ /** Whether the answer wrote that key onto the local row (false when the row already held the same key). */
5470
+ remoteKeyWritten: z.boolean(),
5471
+ /** Whether a change is still owed after the answer: a NOT_APPLIED answer, or a local change made since the send. */
5472
+ changeStillOwed: z.boolean(),
5473
+ /** Why, in the operator's words. Required by the door. */
5474
+ reason: z.string().trim().min(1).max(2000),
5475
+ /** Who the operator said they are, when they said. A statement, not an authenticated identity. */
5476
+ statedOperator: z.string().trim().min(1).max(200).optional(),
5477
+ });
5478
+ /**
5479
+ * A BIDIRECTIONAL pipeline resolved a conflict on one row (#1723) — see
5480
+ * {@link CoreAuditableEventType.EXTERNAL_DATA_CONFLICT_RESOLVED}. Identities and field NAMES only, never a field's
5481
+ * value: the row says which side's change to which fields was discarded, and the values are in the two systems.
5482
+ *
5483
+ * assurance-control: WILDO.AUDIT.SECURITY_EVENT — a resolution that overwrites one side's data is recorded with the row,
5484
+ * the fields, the winning side and who chose it.
5485
+ */
5486
+ export const AuditableEvent_ExternalDataConflictResolved_EventDataSchema = z.object({
5487
+ eventType: z.literal(CoreAuditableEventType.EXTERNAL_DATA_CONFLICT_RESOLVED),
5488
+ /** The BIDIRECTIONAL pipeline's destination resource. */
5489
+ pipelineResourceType: z.string().trim().min(1),
5490
+ /** The system-of-record instance on the other side (`systemsOfRecord.<name>`). */
5491
+ systemOfRecord: z.string().trim().min(1),
5492
+ /** The local row. */
5493
+ localResourceId: z.string().trim().min(1),
5494
+ /** The remote record's key. */
5495
+ remoteKey: z.string().trim().min(1),
5496
+ winner: z.enum(ExternalDataConflictWinner),
5497
+ decidedBy: z.enum(ExternalDataConflictDecisionSource),
5498
+ /**
5499
+ * The local fields whose values differ between the two sides, and so are overwritten on the LOSING side: loaded over
5500
+ * now when the remote side wins, sent over by the next outbound pass when the local side wins.
5501
+ */
5502
+ overwrittenFieldNames: z.array(z.string().min(1)),
5503
+ /** The record's row version on the system of record when the conflict was resolved; null when it carried none. */
5504
+ remoteVersion: z.string().nullable(),
5505
+ /** The version the two sides last agreed on; null when they never had. */
5506
+ agreedVersion: z.string().nullable(),
5507
+ });
3991
5508
  /**
3992
5509
  * A subject erasure COMPLETED while rows linked to the subject remain live in an HTTP_API-bound
3993
5510
  * external system, on the controller's explicit per-request acknowledgement (ETL D6 stance 6c).
@@ -4011,8 +5528,8 @@ export const AuditableEvent_HttpApiNonErasureAcknowledged_EventDataSchema = z.ob
4011
5528
  subjectIds: z.array(z.string().trim().min(1)).min(1),
4012
5529
  /** The HTTP_API-bound Wildo resource whose rows remain un-erased. */
4013
5530
  resourceType: z.string().trim().min(1),
4014
- /** The provider the binding resolves credentials/base-URL through. */
4015
- providerRef: z.string().trim().min(1),
5531
+ /** The system-of-record INSTANCE the rows remain in (`systemsOfRecord.<name>`) — see the read-through schema for the rename. */
5532
+ systemOfRecord: z.string().trim().min(1),
4016
5533
  /** The remote entity (OData entity set / Odoo model / declared REST surface). */
4017
5534
  remoteEntityRef: z.string().trim().min(1),
4018
5535
  /** The transport dialect spoken (`odata` | `rest-json` | `odoo-jsonrpc`). */
@@ -4026,6 +5543,40 @@ export const AuditableEvent_HttpApiNonErasureAcknowledged_EventDataSchema = z.ob
4026
5543
  /** Tenant scope, when the erasure request carried one. */
4027
5544
  organizationId: z.string().optional(),
4028
5545
  });
5546
+ /**
5547
+ * A subject erasure's outcome at one RECIPIENT of the subject's data (#1710) — see
5548
+ * {@link CoreAuditableEventType.SUBJECT_ERASURE_RECIPIENT_OUTCOME}.
5549
+ *
5550
+ * Art. 19 asks the controller to communicate an erasure "to each recipient to whom the personal data have been
5551
+ * disclosed" and to tell the data subject who they are on request; this row records, per recipient, what the erasure
5552
+ * did and who owes that communication. `status` is absent for a recipient reached with the TENANT's account, which is
5553
+ * the tenant's to notify and never the operator's effect to run.
5554
+ * spec-cite: GDPR Art. 19, https://gdpr-info.eu/art-19-gdpr/ (fetched 2026-09-29)
5555
+ *
5556
+ * assurance-control: WILDO.PRIVACY.ERASURE_PROPAGATION — every recipient the application declares is accounted for
5557
+ * at every erasure, and one that no effect reached is recorded as unmeasured rather than passing silently.
5558
+ */
5559
+ export const AuditableEvent_SubjectErasureRecipientOutcome_EventDataSchema = z.object({
5560
+ eventType: z.literal(CoreAuditableEventType.SUBJECT_ERASURE_RECIPIENT_OUTCOME),
5561
+ /** The erased subject's resource type. */
5562
+ subjectResourceType: z.string().trim().min(1),
5563
+ /** The erased subject rows. */
5564
+ subjectIds: z.array(z.string().trim().min(1)).min(1),
5565
+ /** The recipient: a provider ref. */
5566
+ recipientRef: z.string().trim().min(1),
5567
+ /** `SubjectDataRecipientReach` — whose account reached it. */
5568
+ reach: z.enum(SubjectDataRecipientReach),
5569
+ /** `SubjectDataRecipientObligation` — who owes the Art. 19 communication. */
5570
+ obligation: z.enum(SubjectDataRecipientObligation),
5571
+ /** `SubjectDataRecipientRelevance` — carries this subject's data, or may have received it. */
5572
+ relevance: z.enum(SubjectDataRecipientRelevance),
5573
+ /** `SubjectErasureExternalEffectStatus` at the recipient. Absent for a tenant-account recipient. */
5574
+ status: z.enum(SubjectErasureExternalEffectStatus).optional(),
5575
+ /** The effects that answered for it (`billing-provider`, `recipient:<ref>`, …). */
5576
+ effectRefs: z.array(z.string().trim().min(1)),
5577
+ /** Tenant scope, when the erasure request carried one. */
5578
+ organizationId: z.string().optional(),
5579
+ });
4029
5580
  /**
4030
5581
  * Audit-log event for cross-frontend session handoff issuance
4031
5582
  * (cross-app-jwt-propagation Step 2).
@@ -4366,6 +5917,59 @@ export const AuditableEvent_BaseSchema = z.object({
4366
5917
  // observation of what they did.
4367
5918
  clientInstanceId: z.string().isDBIndexed().isSummaryField().optional()
4368
5919
  .dataCategories(PersonalDataCategory.IDENTITY),
5920
+ /**
5921
+ * The KIND of principal whose authority was used ({@link AuditActorKind}) — `userId` names the
5922
+ * principal, this says what kind it is. Filled by `_createAuditLog` on every row it writes, and by
5923
+ * nothing else. It resolves from the principal the emitter NAMES when there is one (a sign-in is
5924
+ * audited under a pre-auth context, which is true of the request and wrong about who acted), else
5925
+ * from the request `ExecutionContext`, else — last resort — from the actor id the emitter wrote.
5926
+ * Optional in the schema only because rows written before it existed carry none.
5927
+ *
5928
+ * It is the PRINCIPAL's kind and never the agent's: whether an agent acted is `agentActor`'s presence.
5929
+ */
5930
+ actorKind: z.enum(AuditActorKind).systemEnum('AuditActorKind').isDBIndexed().isSummaryField().optional(),
5931
+ /**
5932
+ * Which AI agent performed the action, and in which execution — present ONLY when an agent acted
5933
+ * ({@link AuditAgentActorSchema}). Taken from the request `ExecutionContext`, else from the ambient
5934
+ * agent frame the framework opens around every tool call, so a tool that builds its own context or
5935
+ * writes as the system is attributed without doing anything. Identifiers only: never argument
5936
+ * values, never digests of them.
5937
+ *
5938
+ * USAGE — its `agentExecutionId` is a pseudonymous key into a transcript the user owns; erasing the
5939
+ * transcript leaves the key resolving to nothing, which is what keeps an unscrubbable ledger
5940
+ * compatible with erasure.
5941
+ */
5942
+ agentActor: AuditAgentActorSchema.optional().dataCategories(PersonalDataCategory.USAGE),
5943
+ /**
5944
+ * The external OAuth client a person delegated to (`actorKind = DELEGATED_CLIENT`) — the verified
5945
+ * token's `azp`, captured after the audience check and never from a header. An opaque string: a
5946
+ * client identified by an HTTPS URL has no row to join to. Evidence only.
5947
+ */
5948
+ delegatingClientId: z.string().isSummaryField().optional(),
5949
+ /**
5950
+ * The machine credential a MACHINE principal authenticated with (`actorKind = MACHINE`): an API key's
5951
+ * or OAuth client's id, or — for a shared platform secret that has no credential record — its stable
5952
+ * name, never its value. Recorded here and never in a `*By` field, whose contract is "a user id or a
5953
+ * sentinel".
5954
+ */
5955
+ principalCredentialId: z.string().isSummaryField().optional(),
5956
+ /**
5957
+ * The service-provider relationship the principal acted THROUGH (#1597) — present only on a row written
5958
+ * in a CLIENT organization by an expert or firm machine client that a live relationship admitted there.
5959
+ * Derived by `_createAuditLog` from the role entry for the row's organization, never supplied by an
5960
+ * emitter. Indexed because the client filters its own trail by relationship ("what did firm X do here?").
5961
+ */
5962
+ actingViaServiceProviderRelationshipId: z.string().isDBIndexed().isSummaryField().optional(),
5963
+ /** The firm behind {@link actingViaServiceProviderRelationshipId}; present exactly when it is. Evidence only. */
5964
+ providerOrganizationId: z.string().isSummaryField().optional(),
5965
+ /**
5966
+ * Where the second factor that satisfied the CLIENT organization's authentication policy came from, on a row a
5967
+ * firm's expert caused in that client (#1633) — present only when the client's policy required one and the
5968
+ * session satisfied it for that client. Derived by `_createAuditLog` from the request's context for the row's own
5969
+ * organization, never supplied by an emitter. The client's answer to "was this action MFA-protected, and by whom?".
5970
+ */
5971
+ serviceProviderFactorSource: z.enum(FactorSatisfactionSource).systemEnum('FactorSatisfactionSource').isSummaryField().optional()
5972
+ .describe('On an action a service firm\'s expert took inside a client organization whose policy requires a second factor: where the factor that satisfied that policy came from, a step-up to this application or the firm\'s own identity provider the client trusts. Absent when the client\'s policy required none.'),
4369
5973
  riskLevel: z.enum(ResourceOperationRiskLevel).isSummaryField(),
4370
5974
  // USAGE — an audit row is a record of what a principal DID. The event type and its data together
4371
5975
  // are the observation, so both carry the category; `riskLevel`, `eventCategory` and `severity` are
@@ -4376,7 +5980,11 @@ export const AuditableEvent_BaseSchema = z.object({
4376
5980
  // immutable ledger cannot be scrubbed. This declaration is about the audit row's OWN fields, which
4377
5981
  // hold personal data whether or not anyone wanted them to — and a notice must say so precisely
4378
5982
  // BECAUSE they are unerasable.
4379
- eventType: z.string().isSummaryField().dataCategories(PersonalDataCategory.USAGE),
5983
+ //
5984
+ // `.systemEnum(CORE_AUDITABLE_EVENT_TYPE)` names the OPEN vocabulary the value belongs to (#1791): the field stays a
5985
+ // string (whoever emits an event writes its type), and every trail shows the type's word
5986
+ // (`system_enums.CoreAuditableEventType.<value>`) instead of its wire value, the missing word showing the value.
5987
+ eventType: z.string().systemEnum(EngineOpenVocabulary.CORE_AUDITABLE_EVENT_TYPE).isSummaryField().dataCategories(PersonalDataCategory.USAGE),
4380
5988
  eventData: AuditableEvent_DataSchema.dataCategories(PersonalDataCategory.USAGE),
4381
5989
  /** Populated by service layer via getAuditEventClassification(). Required for CREATE (audit logs are REPOSITORY_ONLY, no API). */
4382
5990
  eventCategory: z.enum(AuditEventCategory).isSummaryField(),
@@ -4386,6 +5994,34 @@ export const AuditableEvent_BaseSchema = z.object({
4386
5994
  updatedAt: z.date().default(() => new Date()).excludeFromCreate().excludeFromUpdate()
4387
5995
  });
4388
5996
  // Type-safe discriminated union for TypeScript validation (used in service layer)
5997
+ /**
5998
+ * One retention-class sweep run, summarised per class (#1636). Counts only — no row id, no field value, no
5999
+ * person: the per-resource detail is in the `retentionEnforcementRecords` row the same run wrote.
6000
+ */
6001
+ export const AuditableEvent_RetentionEnforcementRecorded_EventDataSchema = z.object({
6002
+ eventType: z.literal(CoreAuditableEventType.RETENTION_ENFORCEMENT_RECORDED),
6003
+ /** The run's `runRef`, shared with every enforcement record it wrote. */
6004
+ runRef: z.string(),
6005
+ /** The instant the run computed its cutoffs from, ISO. */
6006
+ sweptAt: z.string(),
6007
+ /** FAILED when any resource failed; else DEFERRED_BY_CEILING when any stopped at the ceiling; else COMPLETED. */
6008
+ outcome: z.enum(RetentionEnforcementOutcome),
6009
+ boundResourceCount: z.number().int().min(0),
6010
+ deletedCount: z.number().int().min(0),
6011
+ /** Enforcement records this run could not write. Non-zero fails the run: its enforcement is unevidenced. */
6012
+ recordWriteFailureCount: z.number().int().min(0),
6013
+ classes: z.array(z.object({
6014
+ retentionClass: z.enum(DataRetentionClass),
6015
+ resourceCount: z.number().int().min(0),
6016
+ deletedCount: z.number().int().min(0),
6017
+ completedCount: z.number().int().min(0),
6018
+ deferredByCeilingCount: z.number().int().min(0),
6019
+ failedCount: z.number().int().min(0),
6020
+ skippedCount: z.number().int().min(0),
6021
+ /** Absent when no hold check ran for any resource of the class (#1634). */
6022
+ heldSkippedCount: z.number().int().min(0).optional(),
6023
+ })),
6024
+ });
4389
6025
  export const AuditableEvent_TypedDataSchema = z.discriminatedUnion('eventType', [
4390
6026
  AuditableEvent_User_LoginEventDataSchema,
4391
6027
  AuditableEvent_User_LogoutEventDataSchema,
@@ -4433,7 +6069,33 @@ export const AuditableEvent_TypedDataSchema = z.discriminatedUnion('eventType',
4433
6069
  AuditableEvent_OrganizationProviderCredential_UsedEventDataSchema,
4434
6070
  AuditableEvent_OrganizationProviderCredential_DeletedEventDataSchema,
4435
6071
  AuditableEvent_ApplicationAuthPolicyChanged_EventDataSchema,
6072
+ AuditableEvent_RetentionEnforcementRecorded_EventDataSchema,
4436
6073
  AuditableEvent_Webhook_EndpointTestDispatchedEventDataSchema,
6074
+ AuditableEvent_InboundDelivery_RejectedEventDataSchema,
6075
+ AuditableEvent_InboundDelivery_AcceptedEventDataSchema,
6076
+ AuditableEvent_InboundDelivery_UnroutableEventDataSchema,
6077
+ AuditableEvent_InboundDelivery_ProcessedEventDataSchema,
6078
+ AuditableEvent_InboundDelivery_FailedEventDataSchema,
6079
+ AuditableEvent_InboundDelivery_DeadEventDataSchema,
6080
+ AuditableEvent_InboundDelivery_ReplayedEventDataSchema,
6081
+ AuditableEvent_InboundDelivery_BelowAssuranceEventDataSchema,
6082
+ AuditableEvent_InboundReply_SentEventDataSchema,
6083
+ AuditableEvent_InboundReply_FailedEventDataSchema,
6084
+ AuditableEvent_InboundReplyToken_RevokedEventDataSchema,
6085
+ AuditableEvent_InboundReplyToken_DowngradedEventDataSchema,
6086
+ AuditableEvent_OrganizationEmailDomain_ClaimedEventDataSchema,
6087
+ AuditableEvent_OrganizationEmailDomain_OwnershipVerifiedEventDataSchema,
6088
+ AuditableEvent_OrganizationEmailDomain_VerifiedEventDataSchema,
6089
+ AuditableEvent_OrganizationEmailDomain_SuspendedEventDataSchema,
6090
+ AuditableEvent_OrganizationEmailDomain_RemovedEventDataSchema,
6091
+ AuditableEvent_ClientMailbox_CreatedEventDataSchema,
6092
+ AuditableEvent_ClientMailbox_RemovedEventDataSchema,
6093
+ AuditableEvent_InboundEmail_AttachmentWithheldEventDataSchema,
6094
+ AuditableEvent_InboundEmail_RejectedLimitEventDataSchema,
6095
+ AuditableEvent_AutonomousAgent_BoundEventDataSchema,
6096
+ AuditableEvent_AutonomousAgent_UnboundEventDataSchema,
6097
+ AuditableEvent_AutonomousAgent_TurnStartedEventDataSchema,
6098
+ AuditableEvent_AutonomousAgent_TurnRefusedEventDataSchema,
4437
6099
  AuditableEvent_SCIM_TokenCreatedEventDataSchema,
4438
6100
  AuditableEvent_SCIM_TokenRevokedEventDataSchema,
4439
6101
  AuditableEvent_SCIM_UserProvisionedEventDataSchema,
@@ -4470,6 +6132,27 @@ export const AuditableEvent_TypedDataSchema = z.discriminatedUnion('eventType',
4470
6132
  AuditableEvent_CrossTenantAdministrativeAccess_EventDataSchema,
4471
6133
  AuditableEvent_PlatformDirectoryAccess_EventDataSchema,
4472
6134
  AuditableEvent_PlatformAccessGrantLifecycle_EventDataSchema,
6135
+ AuditableEvent_LegalHoldPlaced_EventDataSchema,
6136
+ AuditableEvent_LegalHoldReleased_EventDataSchema,
6137
+ AuditableEvent_ModelCostAggregateInvoiceLinked_EventDataSchema,
6138
+ AuditableEvent_CorrectionCaptureSettingChanged_EventDataSchema,
6139
+ AuditableEvent_EvaluationExportAuthorizationChanged_EventDataSchema,
6140
+ AuditableEvent_EvaluationDatasetExported_EventDataSchema,
6141
+ AuditableEvent_EvaluationDatasetExportRefused_EventDataSchema,
6142
+ AuditableEvent_ServiceProviderRelationshipLifecycle_EventDataSchema,
6143
+ AuditableEvent_ServiceProviderMachineClientAdmissionChanged_EventDataSchema,
6144
+ AuditableEvent_ServiceProviderExpertAssigned_EventDataSchema,
6145
+ AuditableEvent_ServiceProviderExpertUnassigned_EventDataSchema,
6146
+ AuditableEvent_ServiceProviderExpertApprovalRequested_EventDataSchema,
6147
+ AuditableEvent_ServiceProviderExpertApprovalGranted_EventDataSchema,
6148
+ AuditableEvent_ServiceProviderExpertApprovalDenied_EventDataSchema,
6149
+ AuditableEvent_ServiceProviderExpertApprovalLapsed_EventDataSchema,
6150
+ AuditableEvent_ServiceProviderCapabilityGranted_EventDataSchema,
6151
+ AuditableEvent_ServiceProviderCapabilityRevoked_EventDataSchema,
6152
+ AuditableEvent_ServiceProviderMfaTrustChanged_EventDataSchema,
6153
+ AuditableEvent_ServiceProviderClientAuthenticationSatisfied_EventDataSchema,
6154
+ AuditableEvent_ServiceProviderActivityFeedDecided_EventDataSchema,
6155
+ AuditableEvent_ServiceProviderActivityFeedDisclosureChanged_EventDataSchema,
4473
6156
  AuditableEvent_SystemOfRecordPartitionAssignmentLifecycle_EventDataSchema,
4474
6157
  AuditableEvent_RetainedDataAccess_EventDataSchema,
4475
6158
  AuditableEvent_GovernedDocument_InteractionRecordedEventDataSchema,
@@ -4477,10 +6160,17 @@ export const AuditableEvent_TypedDataSchema = z.discriminatedUnion('eventType',
4477
6160
  AuditableEvent_CollectionDataExport_EventDataSchema,
4478
6161
  AuditableEvent_User_SessionEvictedEventDataSchema,
4479
6162
  AuditableEvent_HttpApiReadThroughAccess_EventDataSchema,
6163
+ AuditableEvent_HttpApiWriteThrough_EventDataSchema,
6164
+ AuditableEvent_SystemOfRecordActionExecuted_EventDataSchema,
6165
+ AuditableEvent_SystemOfRecordActionRefused_EventDataSchema,
6166
+ AuditableEvent_ExternalDataPipelineReset_EventDataSchema,
6167
+ AuditableEvent_ExternalDataOutboundUnknownResolved_EventDataSchema,
6168
+ AuditableEvent_ExternalDataConflictResolved_EventDataSchema,
4480
6169
  AuditableEvent_ProviderOperationCall_EventDataSchema,
4481
6170
  AuditableEvent_ProviderOperationDenied_EventDataSchema,
4482
6171
  AuditableEvent_HttpApiExternalErasure_EventDataSchema,
4483
6172
  AuditableEvent_HttpApiNonErasureAcknowledged_EventDataSchema,
6173
+ AuditableEvent_SubjectErasureRecipientOutcome_EventDataSchema,
4484
6174
  AuditableEvent_User_CrossFrontendHandoffIssuedEventDataSchema,
4485
6175
  AuditableEvent_OAuth_DelegatedTokenIssuedEventDataSchema,
4486
6176
  AuditableEvent_OAuth_ConsentGrantedEventDataSchema,