@wildo-ai/saas-models 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (890) hide show
  1. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts +1 -1
  2. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts +1 -1
  3. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +2 -2
  4. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
  5. package/dist/esm/applications/applications-context.schemas.d.ts +236 -18
  6. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  7. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts +1 -0
  8. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  9. package/dist/esm/applications/applications.shared.resources-config.schemas.js +1 -1
  10. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  11. package/dist/esm/applications/applications.shared.schemas.d.ts +3 -2
  12. package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
  13. package/dist/esm/applications/applications.shared.schemas.js +40 -5
  14. package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
  15. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +1 -2
  16. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
  17. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js +1 -2
  18. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
  19. package/dist/esm/billing/billing-enums.shared.schemas.d.ts +87 -5
  20. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  21. package/dist/esm/billing/billing-enums.shared.schemas.js +91 -5
  22. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  23. package/dist/esm/billing/billing-types.shared.schemas.d.ts +25 -4
  24. package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
  25. package/dist/esm/billing/billing-types.shared.schemas.js +61 -0
  26. package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
  27. package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
  28. package/dist/esm/billing/price.shared.resources-config.schemas.js +32 -2
  29. package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
  30. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  31. package/dist/esm/billing/product-behavior-policy.shared.schemas.js +1 -1
  32. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  33. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
  34. package/dist/esm/billing/product.shared.resources-config.schemas.js +32 -2
  35. package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
  36. package/dist/esm/billing/product.shared.schemas.d.ts +1 -0
  37. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  38. package/dist/esm/billing/product.shared.schemas.js +3 -0
  39. package/dist/esm/billing/product.shared.schemas.js.map +1 -1
  40. package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
  41. package/dist/esm/billing/promotions.shared.resources-config.schemas.js +33 -3
  42. package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
  43. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
  44. package/dist/esm/billing/referral.shared.resources-config.schemas.js +22 -2
  45. package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
  46. package/dist/esm/billing/referral.shared.schemas.d.ts +1 -0
  47. package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
  48. package/dist/esm/billing/referral.shared.schemas.js +3 -0
  49. package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
  50. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +23 -1
  51. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  52. package/dist/esm/billing/subscription.shared.resources-config.schemas.js +48 -2
  53. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  54. package/dist/esm/billing/subscription.shared.schemas.d.ts +1 -0
  55. package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
  56. package/dist/esm/billing/subscription.shared.schemas.js +3 -0
  57. package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
  58. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts +49 -0
  59. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -0
  60. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js +48 -0
  61. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -0
  62. package/dist/esm/billing/usage-record.shared.schemas.d.ts +1 -0
  63. package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
  64. package/dist/esm/billing/usage-record.shared.schemas.js +3 -0
  65. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  66. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +8 -0
  67. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  68. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -3
  69. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  70. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +21 -7
  71. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
  72. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +450 -0
  73. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -0
  74. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +723 -0
  75. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -0
  76. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +2 -2
  77. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +8 -0
  78. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  79. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +15 -0
  80. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  81. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +787 -21
  82. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  83. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +1079 -26
  84. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  85. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  86. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +51 -0
  87. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  88. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts +463 -0
  89. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -0
  90. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js +526 -0
  91. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -0
  92. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +539 -15
  93. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
  94. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +402 -14
  95. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
  96. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts +18 -0
  97. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -0
  98. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js +89 -0
  99. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -0
  100. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts +47 -0
  101. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -0
  102. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js +73 -0
  103. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -0
  104. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +21 -0
  105. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
  106. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +39 -1
  107. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
  108. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts +33 -0
  109. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -0
  110. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js +30 -0
  111. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -0
  112. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts +6 -5
  113. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
  114. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js +15 -5
  115. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
  116. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts +127 -0
  117. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -0
  118. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js +94 -0
  119. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -0
  120. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts +125 -0
  121. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -0
  122. package/dist/esm/compliance/privacy/consent-purposes.shared.js +136 -0
  123. package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -0
  124. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +91 -0
  125. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -0
  126. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +123 -0
  127. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -0
  128. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts +27 -0
  129. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
  130. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js +36 -2
  131. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
  132. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +68 -25
  133. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
  134. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +74 -22
  135. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
  136. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +9 -17
  137. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
  138. package/dist/esm/compliance/privacy/privacy.shared.schemas.js +74 -31
  139. package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
  140. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts +47 -0
  141. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -0
  142. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js +98 -0
  143. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -0
  144. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +368 -35
  145. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
  146. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +403 -17
  147. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
  148. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts +56 -0
  149. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -0
  150. package/dist/esm/compliance/review-cadence.shared.schemas.js +71 -0
  151. package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -0
  152. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts +161 -0
  153. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -0
  154. package/dist/esm/compliance/risk-posture.shared.schemas.js +166 -0
  155. package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -0
  156. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +4 -3
  157. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
  158. package/dist/esm/config/analytics-value-moments.shared.schemas.js +4 -3
  159. package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
  160. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +222 -9
  161. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  162. package/dist/esm/config/app-configuration-shared.shared.schemas.js +232 -9
  163. package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
  164. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +75 -3
  165. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
  166. package/dist/esm/config/auth-config-resolution.shared.utils.js +93 -4
  167. package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
  168. package/dist/esm/config/brand-assets.shared.schemas.d.ts +5 -4
  169. package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
  170. package/dist/esm/config/brand-assets.shared.schemas.js +14 -4
  171. package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
  172. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +463 -19
  173. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  174. package/dist/esm/config/entity-identity-config.shared.schemas.js +535 -28
  175. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  176. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +14 -14
  177. package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts +139 -3
  178. package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
  179. package/dist/esm/config/frontend/chart-registration-alignment.shared.js +151 -4
  180. package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
  181. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +21 -17
  182. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
  183. package/dist/esm/config/frontend/navigation.shared.schemas.js +58 -40
  184. package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
  185. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts +90 -133
  186. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
  187. package/dist/esm/config/frontend/onboarding.shared.schemas.js +148 -100
  188. package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
  189. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +146 -43
  190. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  191. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +147 -42
  192. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  193. package/dist/esm/errors/errors.shared.definitions.js +1 -1
  194. package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
  195. package/dist/esm/errors/errors.shared.schemas.d.ts +29 -40
  196. package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
  197. package/dist/esm/errors/errors.shared.schemas.js +37 -54
  198. package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
  199. package/dist/esm/errors/errors.shared.utils.d.ts +24 -0
  200. package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
  201. package/dist/esm/errors/errors.shared.utils.js +39 -0
  202. package/dist/esm/errors/errors.shared.utils.js.map +1 -1
  203. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +27 -0
  204. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -0
  205. package/dist/esm/errors/thrown-value-description.shared.utils.js +67 -0
  206. package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -0
  207. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +48 -73
  208. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  209. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +103 -9
  210. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  211. package/dist/esm/external-data.exports.d.ts +1 -0
  212. package/dist/esm/external-data.exports.d.ts.map +1 -1
  213. package/dist/esm/external-data.exports.js +1 -0
  214. package/dist/esm/external-data.exports.js.map +1 -1
  215. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +18 -12
  216. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
  217. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +18 -12
  218. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
  219. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts +5 -3
  220. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
  221. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +5 -3
  222. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  223. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts +77 -0
  224. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -0
  225. package/dist/esm/external-providers/engine-capability-surface.shared.js +173 -0
  226. package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -0
  227. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts +2 -0
  228. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
  229. package/dist/esm/external-providers/external-providers.shared.schemas.js +21 -0
  230. package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
  231. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +131 -7
  232. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  233. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +114 -0
  234. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
  235. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +148 -0
  236. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
  237. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +108 -0
  238. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  239. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +86 -0
  240. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  241. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +184 -0
  242. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -0
  243. package/dist/esm/external-providers/frontend-provider-public-config.shared.js +216 -0
  244. package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -0
  245. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts +30 -0
  246. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -0
  247. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js +32 -0
  248. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -0
  249. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +86 -0
  250. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -0
  251. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +85 -0
  252. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -0
  253. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +14 -13
  254. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  255. package/dist/esm/external-providers/provider-capability.shared.schemas.js +10 -10
  256. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  257. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +18 -8
  258. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  259. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +10 -4
  260. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  261. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts +165 -0
  262. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -0
  263. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +39 -0
  264. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -0
  265. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +7 -5
  266. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
  267. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +7 -5
  268. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
  269. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +8 -5
  270. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
  271. package/dist/esm/external-providers/provider-metadata.shared.schemas.js +5 -2
  272. package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
  273. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +2 -0
  274. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
  275. package/dist/esm/features/application-features.shared.resources-config.schemas.js +42 -3
  276. package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
  277. package/dist/esm/features/connected-feature.example.d.ts +64 -0
  278. package/dist/esm/features/connected-feature.example.d.ts.map +1 -0
  279. package/dist/esm/features/connected-feature.example.js +86 -0
  280. package/dist/esm/features/connected-feature.example.js.map +1 -0
  281. package/dist/esm/features/scope-features.shared.schemas.d.ts +53 -0
  282. package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
  283. package/dist/esm/features/scope-features.shared.schemas.js +37 -0
  284. package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
  285. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +1 -1
  286. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
  287. package/dist/esm/features/user-features.shared.resources-config.schemas.js +42 -48
  288. package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
  289. package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts +73 -0
  290. package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -0
  291. package/dist/esm/files/file-remote-reference-link.shared.schemas.js +62 -0
  292. package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -0
  293. package/dist/esm/files/files.shared.resources-config.schemas.d.ts +3 -3
  294. package/dist/esm/files/files.shared.resources-config.schemas.js +3 -3
  295. package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
  296. package/dist/esm/flows-actors/actors.shared.schemas.d.ts +152 -129
  297. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  298. package/dist/esm/flows-actors/actors.shared.schemas.js +99 -2
  299. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  300. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +6 -0
  301. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
  302. package/dist/esm/flows-actors/agents.shared.schemas.d.ts +3 -3
  303. package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
  304. package/dist/esm/flows-actors/agents.shared.schemas.js +11 -5
  305. package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
  306. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +13 -0
  307. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
  308. package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
  309. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts +45 -0
  310. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -0
  311. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js +51 -0
  312. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -0
  313. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +31 -0
  314. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  315. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +61 -3
  316. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  317. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts +2 -2
  318. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +16 -8
  319. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  320. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +23 -11
  321. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  322. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts +0 -189
  323. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
  324. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js +14 -50
  325. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
  326. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts +0 -3
  327. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
  328. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js +0 -1
  329. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
  330. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +1 -67
  331. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  332. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js +1 -2
  333. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
  334. package/dist/esm/flows-actors/flows.shared.schemas.d.ts +0 -1
  335. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  336. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +121 -0
  337. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -0
  338. package/dist/esm/flows-actors/human-decision.shared.schemas.js +252 -0
  339. package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -0
  340. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts +2 -0
  341. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
  342. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js +13 -0
  343. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
  344. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +24 -0
  345. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -0
  346. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +80 -0
  347. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -0
  348. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +123 -0
  349. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -0
  350. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +181 -0
  351. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -0
  352. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +58 -81
  353. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
  354. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js +75 -38
  355. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
  356. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +217 -0
  357. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -0
  358. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +230 -0
  359. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -0
  360. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts +106 -24
  361. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
  362. package/dist/esm/guidance/guidance-flow.shared.schemas.js +152 -14
  363. package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
  364. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts +0 -6
  365. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
  366. package/dist/esm/guidance/lifecycle-state.shared.schemas.js +0 -19
  367. package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
  368. package/dist/esm/guidance/milestone-builders.shared.d.ts +4 -2
  369. package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
  370. package/dist/esm/guidance/milestone-builders.shared.js +4 -2
  371. package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
  372. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts +66 -4
  373. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
  374. package/dist/esm/guidance/milestone-definition.shared.schemas.js +50 -0
  375. package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
  376. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts +71 -0
  377. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -0
  378. package/dist/esm/guidance/progression-presentation.shared.schemas.js +72 -0
  379. package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -0
  380. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +2 -0
  381. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
  382. package/dist/esm/guidance/progression-state.shared.schemas.d.ts +4 -0
  383. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  384. package/dist/esm/guidance/progression-state.shared.schemas.js +5 -0
  385. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  386. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
  387. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +2 -1
  388. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
  389. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +181 -412
  390. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  391. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +249 -199
  392. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  393. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +107 -0
  394. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -0
  395. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +108 -0
  396. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -0
  397. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts +38 -0
  398. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -0
  399. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js +42 -0
  400. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -0
  401. package/dist/esm/index.d.ts +47 -4
  402. package/dist/esm/index.d.ts.map +1 -1
  403. package/dist/esm/index.js +77 -16
  404. package/dist/esm/index.js.map +1 -1
  405. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -0
  406. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -0
  407. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -0
  408. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -0
  409. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts +130 -0
  410. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -0
  411. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js +104 -0
  412. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -0
  413. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -0
  414. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -0
  415. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.d.ts +64 -0
  416. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -0
  417. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.js +47 -0
  418. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -0
  419. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +544 -0
  420. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -0
  421. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +638 -0
  422. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -0
  423. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.d.ts +15 -8
  424. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -0
  425. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.js +15 -8
  426. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -0
  427. package/dist/esm/meta-workflows.exports.d.ts +21 -25
  428. package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
  429. package/dist/esm/meta-workflows.exports.js +21 -25
  430. package/dist/esm/meta-workflows.exports.js.map +1 -1
  431. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts +16 -0
  432. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -0
  433. package/dist/esm/notifications/email/email-submission.shared.enums.js +17 -0
  434. package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -0
  435. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +36 -0
  436. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  437. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js +50 -3
  438. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  439. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  440. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -1
  441. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
  442. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts +2 -1
  443. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
  444. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js +3 -2
  445. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
  446. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  447. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +44 -3
  448. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  449. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts +1 -1
  450. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
  451. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js +12 -33
  452. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
  453. package/dist/esm/notifications/notifications.shared.schemas.d.ts +68 -6
  454. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  455. package/dist/esm/notifications/notifications.shared.schemas.js +68 -6
  456. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  457. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts +145 -0
  458. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -0
  459. package/dist/esm/organizations/application-owner-organization.shared.schemas.js +146 -0
  460. package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -0
  461. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +2 -0
  462. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
  463. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +39 -3
  464. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
  465. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +1 -1
  466. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
  467. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +18 -14
  468. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
  469. package/dist/esm/organizations/organization-members.shared.schemas.d.ts +1 -1
  470. package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
  471. package/dist/esm/organizations/organization-members.shared.schemas.js +9 -1
  472. package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
  473. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +2 -1
  474. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
  475. package/dist/esm/organizations/organization-preferences.shared.schemas.js +3 -0
  476. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  477. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +3 -1
  478. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  479. package/dist/esm/organizations/organization-profile.shared.schemas.js +4 -2
  480. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  481. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +29 -2
  482. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  483. package/dist/esm/organizations/organization-unit-narrowing.shared.js +27 -0
  484. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  485. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts +2 -0
  486. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
  487. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js +3 -0
  488. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
  489. package/dist/esm/organizations/organization-units.shared.schemas.d.ts +17 -5
  490. package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
  491. package/dist/esm/organizations/organization-units.shared.schemas.js +65 -5
  492. package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
  493. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +51 -7
  494. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  495. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +151 -7
  496. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  497. package/dist/esm/organizations/organizations.shared.schemas.d.ts +18 -83
  498. package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
  499. package/dist/esm/organizations/organizations.shared.schemas.js +37 -19
  500. package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
  501. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +13 -0
  502. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
  503. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +13 -0
  504. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
  505. package/dist/esm/provider-registration-runtime.exports.d.ts +1 -0
  506. package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
  507. package/dist/esm/provider-registration-runtime.exports.js +1 -0
  508. package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
  509. package/dist/esm/public-runtime/index.d.ts +53 -2
  510. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  511. package/dist/esm/public-runtime/index.js +45 -2
  512. package/dist/esm/public-runtime/index.js.map +1 -1
  513. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +7 -8
  514. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
  515. package/dist/esm/queue/jobs.shared.resources-config.schemas.js +30 -6
  516. package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
  517. package/dist/esm/queue/jobs.shared.schemas.d.ts +388 -2
  518. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  519. package/dist/esm/queue/jobs.shared.schemas.js +315 -11
  520. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  521. package/dist/esm/queue/jobs.shared.utils.d.ts +6 -4
  522. package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
  523. package/dist/esm/queue/jobs.shared.utils.js +5 -4
  524. package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
  525. package/dist/esm/queue/queues.shared.schemas.d.ts +20 -8
  526. package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
  527. package/dist/esm/queue/queues.shared.schemas.js +23 -18
  528. package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
  529. package/dist/esm/queue/queues.shared.utils.d.ts +4 -2
  530. package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
  531. package/dist/esm/queue/queues.shared.utils.js +4 -2
  532. package/dist/esm/queue/queues.shared.utils.js.map +1 -1
  533. package/dist/esm/rag/rag-retrieval-health.shared.d.ts +27 -0
  534. package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -0
  535. package/dist/esm/rag/rag-retrieval-health.shared.js +29 -0
  536. package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -0
  537. package/dist/esm/requests/header-keys.shared.d.ts +6 -0
  538. package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
  539. package/dist/esm/requests/header-keys.shared.js +7 -0
  540. package/dist/esm/requests/header-keys.shared.js.map +1 -1
  541. package/dist/esm/requests/idempotency-key.shared.d.ts +76 -0
  542. package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -0
  543. package/dist/esm/requests/idempotency-key.shared.js +112 -0
  544. package/dist/esm/requests/idempotency-key.shared.js.map +1 -0
  545. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
  546. package/dist/esm/requests/manual-controllers-routes-documentation.js +275 -20
  547. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
  548. package/dist/esm/requests/manual-controllers-routes-urls.d.ts +134 -0
  549. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  550. package/dist/esm/requests/manual-controllers-routes-urls.js +153 -0
  551. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  552. package/dist/esm/requests/websocket.shared.schemas.d.ts +198 -20
  553. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  554. package/dist/esm/requests/websocket.shared.schemas.js +236 -5
  555. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  556. package/dist/esm/resources/child-operations.shared.schemas.d.ts +56 -5
  557. package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
  558. package/dist/esm/resources/child-operations.shared.schemas.js +97 -5
  559. package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
  560. package/dist/esm/resources/context-policy.shared.schemas.d.ts +20 -0
  561. package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
  562. package/dist/esm/resources/context-policy.shared.schemas.js +3 -0
  563. package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
  564. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  565. package/dist/esm/resources/resources-config.shared.factory.js +596 -34
  566. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  567. package/dist/esm/resources/resources-config.shared.schemas.d.ts +665 -40
  568. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  569. package/dist/esm/resources/resources-config.shared.schemas.js +315 -22
  570. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  571. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  572. package/dist/esm/resources/resources-registry.shared.core.definitions.js +431 -69
  573. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  574. package/dist/esm/resources/resources.shared.core.definitions.d.ts +36 -0
  575. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  576. package/dist/esm/resources/resources.shared.core.definitions.js +46 -0
  577. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  578. package/dist/esm/resources/resources.shared.schemas.d.ts +256 -10
  579. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  580. package/dist/esm/resources/resources.shared.schemas.js +209 -9
  581. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  582. package/dist/esm/resources/resources.shared.utils.d.ts +34 -8
  583. package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
  584. package/dist/esm/resources/resources.shared.utils.js +69 -12
  585. package/dist/esm/resources/resources.shared.utils.js.map +1 -1
  586. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts +44 -12
  587. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
  588. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js +46 -23
  589. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
  590. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts +61 -0
  591. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -0
  592. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js +79 -0
  593. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -0
  594. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts +60 -0
  595. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -0
  596. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js +80 -0
  597. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -0
  598. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts +21 -0
  599. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -0
  600. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +159 -0
  601. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -0
  602. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts +15 -0
  603. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
  604. package/dist/esm/resources/utils/resources-config-naming.utils.js +56 -11
  605. package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
  606. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +51 -1
  607. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
  608. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +210 -51
  609. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
  610. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts +34 -0
  611. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
  612. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js +45 -1
  613. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
  614. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts +29 -0
  615. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  616. package/dist/esm/resources/utils/shared-persistence-collection.utils.js +30 -0
  617. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  618. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
  619. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js +49 -11
  620. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
  621. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  622. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +4 -1
  623. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  624. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  625. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +4 -1
  626. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  627. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +129 -17
  628. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  629. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +160 -6
  630. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  631. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +324 -9
  632. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
  633. package/dist/esm/security/authentications/authentication.shared.schemas.js +411 -8
  634. package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
  635. package/dist/esm/security/authentications/authentication.shared.utils.d.ts +87 -4
  636. package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
  637. package/dist/esm/security/authentications/authentication.shared.utils.js +95 -6
  638. package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
  639. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts +23 -1
  640. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
  641. package/dist/esm/security/authentications/consumable-token.shared.schemas.js +23 -1
  642. package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
  643. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts +7 -1
  644. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
  645. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js +7 -1
  646. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
  647. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts +74 -0
  648. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -0
  649. package/dist/esm/security/authentications/password-blocklist.shared.utils.js +122 -0
  650. package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -0
  651. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +88 -2
  652. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
  653. package/dist/esm/security/authentications/registration.shared.dto.schemas.js +149 -2
  654. package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
  655. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts +57 -11
  656. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
  657. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +44 -11
  658. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
  659. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
  660. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +20 -7
  661. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
  662. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +16 -2
  663. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
  664. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +32 -2
  665. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  666. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
  667. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +7 -1
  668. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
  669. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
  670. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +4 -1
  671. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
  672. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts +27 -0
  673. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -0
  674. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js +109 -0
  675. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -0
  676. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts +66 -0
  677. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -0
  678. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js +107 -0
  679. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -0
  680. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts +19 -0
  681. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
  682. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js +50 -13
  683. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
  684. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts +18 -6
  685. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
  686. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +133 -4
  687. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
  688. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts +29 -3
  689. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  690. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +81 -22
  691. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  692. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts +0 -40
  693. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  694. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +100 -26
  695. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  696. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts +9 -1
  697. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
  698. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +9 -1
  699. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
  700. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +8 -2
  701. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  702. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +91 -4
  703. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  704. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +50 -6
  705. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
  706. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +50 -6
  707. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
  708. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts +39 -0
  709. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -0
  710. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +265 -0
  711. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -0
  712. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts +187 -0
  713. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -0
  714. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js +271 -0
  715. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -0
  716. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts +23 -0
  717. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
  718. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js +24 -0
  719. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
  720. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
  721. package/dist/esm/security/authorizations/roles.shared.defaults.js +6 -0
  722. package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
  723. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +14 -0
  724. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
  725. package/dist/esm/security/authorizations/roles.shared.schemas.js +19 -0
  726. package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
  727. package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
  728. package/dist/esm/security/authorizations/roles.shared.utils.js +2 -0
  729. package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
  730. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +4 -1
  731. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
  732. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +5 -2
  733. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
  734. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +13 -42
  735. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
  736. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +257 -13
  737. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
  738. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +281 -49
  739. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
  740. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +6 -3
  741. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  742. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +74 -4
  743. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  744. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +5 -2
  745. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  746. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +105 -3
  747. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  748. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +67 -0
  749. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -0
  750. package/dist/esm/security/outbound-target-control.shared.schemas.js +69 -0
  751. package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -0
  752. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts +159 -0
  753. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -0
  754. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js +164 -0
  755. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -0
  756. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +209 -0
  757. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -0
  758. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +150 -0
  759. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -0
  760. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts +79 -0
  761. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -0
  762. package/dist/esm/systems-of-record/system-of-record-env.shared.js +116 -0
  763. package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -0
  764. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +145 -0
  765. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -0
  766. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +146 -0
  767. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -0
  768. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +478 -0
  769. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -0
  770. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +619 -0
  771. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -0
  772. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts +31 -0
  773. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -0
  774. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +232 -0
  775. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -0
  776. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts +127 -0
  777. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -0
  778. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js +204 -0
  779. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -0
  780. package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
  781. package/dist/esm/testing/resource-config-builders.js +10 -4
  782. package/dist/esm/testing/resource-config-builders.js.map +1 -1
  783. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts +2 -1
  784. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
  785. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js +2 -1
  786. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
  787. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +139 -24
  788. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
  789. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js +255 -0
  790. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
  791. package/dist/esm/users/anonymous-users.shared.schema.d.ts +5 -3
  792. package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
  793. package/dist/esm/users/anonymous-users.shared.schema.js +18 -1
  794. package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
  795. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts +2 -1
  796. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
  797. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +23 -0
  798. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
  799. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts +2 -1
  800. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
  801. package/dist/esm/users/user-consent-decision.shared.utils.d.ts +127 -0
  802. package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -0
  803. package/dist/esm/users/user-consent-decision.shared.utils.js +189 -0
  804. package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -0
  805. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts +1 -0
  806. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
  807. package/dist/esm/users/user-identity-links.shared.schemas.d.ts +1 -0
  808. package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
  809. package/dist/esm/users/user-identity-links.shared.schemas.js +30 -0
  810. package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
  811. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts +6 -6
  812. package/dist/esm/users/user-preferences-reset.shared.utils.js +6 -6
  813. package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
  814. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +74 -29
  815. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  816. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js +99 -0
  817. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
  818. package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  819. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js +25 -9
  820. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
  821. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +4 -4
  822. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  823. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js +12 -1
  824. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
  825. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts +1 -0
  826. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
  827. package/dist/esm/users/user-self.shared.resources-config.schemas.js +2 -2
  828. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  829. package/dist/esm/users/users.shared.resources-config.schemas.d.ts +1 -0
  830. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  831. package/dist/esm/users/users.shared.resources-config.schemas.js +2 -2
  832. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  833. package/dist/esm/users/users.shared.schemas.d.ts +28 -10
  834. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  835. package/dist/esm/users/users.shared.schemas.js +86 -11
  836. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  837. package/dist/tsconfig.build.tsbuildinfo +1 -1
  838. package/package.json +14 -35
  839. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts +0 -19
  840. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts.map +0 -1
  841. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js +0 -35
  842. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js.map +0 -1
  843. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts +0 -213
  844. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts.map +0 -1
  845. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js +0 -287
  846. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js.map +0 -1
  847. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts +0 -236
  848. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts.map +0 -1
  849. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js +0 -212
  850. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js.map +0 -1
  851. package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +0 -1
  852. package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js.map +0 -1
  853. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +0 -17
  854. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +0 -1
  855. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +0 -31
  856. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +0 -1
  857. package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +0 -1
  858. package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +0 -1
  859. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +0 -1
  860. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +0 -1
  861. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts +0 -28
  862. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts.map +0 -1
  863. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js +0 -28
  864. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js.map +0 -1
  865. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +0 -1
  866. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +0 -1
  867. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +0 -100
  868. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +0 -1
  869. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +0 -232
  870. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +0 -1
  871. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts +0 -29
  872. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts.map +0 -1
  873. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js +0 -58
  874. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js.map +0 -1
  875. package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +0 -1
  876. package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +0 -1
  877. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts +0 -81
  878. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts.map +0 -1
  879. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js +0 -82
  880. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js.map +0 -1
  881. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts +0 -2
  882. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts.map +0 -1
  883. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js +0 -1
  884. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js.map +0 -1
  885. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.d.ts +0 -0
  886. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.js +0 -0
  887. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.d.ts +0 -0
  888. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.js +0 -0
  889. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.d.ts +0 -0
  890. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.js +0 -0
@@ -0,0 +1,723 @@
1
+ /**
2
+ * Audit-export projection — what a SIEM destination MAY receive, declared once.
3
+ *
4
+ * ## Why this exists at all, and why it is `_core` rather than a SIEM feature
5
+ *
6
+ * A tenant sending audit events to a third-party SIEM is sending them to a processor of its own
7
+ * choosing, in a jurisdiction of its own choosing. Data minimisation is that operator's duty, and
8
+ * until this contract existed the only place they could discharge it was AT THE RECEIVER — after
9
+ * the data had already left the building. An export that cannot be trimmed is an export some
10
+ * customers cannot lawfully switch on.
11
+ *
12
+ * The obvious-looking place to put the answer did not exist. The dispatcher assembles the envelope
13
+ * by hand-picking values off `auditEvent.eventData` (`userEmail: eventData.email`, and its
14
+ * neighbours), so there was no object to attach a projection to: the contract had to exist FIRST.
15
+ * Two accepted-and-ignored booleans (`includeRawEventData`, `includeDeviceContext`) had occupied
16
+ * the space and were removed in `be001548` precisely because a stored flag that changes nothing is
17
+ * worse than its absence — their own removal note says the capability they named "would be built on
18
+ * the envelope contract, not on two booleans beside the retry policy". This is that contract.
19
+ *
20
+ * ## This is NOT `.isAuditEvidence()`, and the two must never be merged
21
+ *
22
+ * `.isAuditEvidence()` decides which FIELD VALUES are copied INTO the immutable audit row. It
23
+ * answers *what must the application be able to prove to itself*, it is correct as it is, and its
24
+ * answer is deliberately maximal — the ledger is the evidence.
25
+ *
26
+ * This contract answers a different question with a different answer: *what may this application
27
+ * disclose to a processor of the tenant's choosing*. The two diverge by design. A row the ledger
28
+ * must retain forever is routinely a row a tenant's DPA forbids exporting, and one decorator
29
+ * meaning both would force the weaker answer onto the stronger obligation.
30
+ *
31
+ * ## Two declarations, and the ORDER between them is the design
32
+ *
33
+ * - **The EVENT TYPE declares what MAY leave** ({@link AUDIT_EXPORT_EVENT_DATA_DISCLOSURE}), total
34
+ * over `CoreAuditableEventType`, so an event added tomorrow has to answer the question.
35
+ * - **The DESTINATION narrows it** ({@link AuditExportProjectionDeclaration}), per tenant and per
36
+ * agreement, which is what a customer actually negotiates.
37
+ *
38
+ * The event-type half is built first and is not optional, because a destination cannot narrow a set
39
+ * nobody has enumerated: shipping only the destination half would mean the first tenant to
40
+ * configure one is choosing from an undeclared surface.
41
+ *
42
+ * ## The floor cannot be trimmed, and that is structural rather than advisory
43
+ *
44
+ * {@link AuditExportDisclosureTier.FLOOR} fields survive whatever a destination declares —
45
+ * {@link resolveDisclosedEnvelopeFields} unions them in unconditionally, so a declaration of `[]`
46
+ * still yields a correlatable event. Three independent reasons, and only the first is about
47
+ * privacy:
48
+ *
49
+ * 1. **`eventId` IS the receiver's dedup key** in every wire format (CEF `externalId`, LEEF
50
+ * `eventId`, OCSF `metadata.uid`, `json_structured`'s top-level `eventId`), and the DLQ drain
51
+ * re-sends a stored envelope. Minimise past it and the feed stops being idempotent against a
52
+ * service that retries — a "minimised" export nobody can correlate is not a privacy win, it is
53
+ * an unusable feed that still left the building.
54
+ * 2. **`eventType`, `severity` and `sourceVersion` are CEF/LEEF HEADER slots.** A header field
55
+ * cannot be omitted without shifting every field after it, so trimming one does not minimise a
56
+ * record — it corrupts it.
57
+ * 3. **The remaining floor members are the record's own identity** — when, in which tenant, by
58
+ * which actor reference, with what outcome. A row that cannot say those things is not a
59
+ * shorter audit event; it is not an audit event.
60
+ *
61
+ * `sourceEnvironment` is FLOOR and is the one member worth justifying, because it is neither an
62
+ * identity nor a header slot: it names the deployment environment (`production`), it is not data
63
+ * about any person, it is REQUIRED on the envelope type, and the CEF contract records it as the
64
+ * cheapest triage filter a SOC has. Trimming it would cost a receiver real capability and protect
65
+ * nobody.
66
+ *
67
+ * ## Applied ONCE, at the ENQUEUE SEAM — which is what makes every format consistent
68
+ *
69
+ * The projection is applied inside `AuditEventDispatcherBackendService.enqueueSiemWebhookDelivery`,
70
+ * before the F6 HMAC and before the job is enqueued. So the minimised envelope is the ONLY envelope
71
+ * that exists downstream: it is what is signed, what is queued, what a DLQ row stores, and what a
72
+ * drain replays.
73
+ *
74
+ * **The seam rather than the call site, and the difference is not stylistic.** It landed at the
75
+ * dispatch call site first, which left that public method able to enqueue an un-minimised envelope
76
+ * for any producer that found it — the one-of-N shape `invariant-call-site-enumeration.md` exists
77
+ * for, and live rather than hypothetical, since the batching lane is extending that very seam. The
78
+ * seam already owned the other two elements of the delivery contract (the HMAC and the batch ref);
79
+ * the projection is the third.
80
+ *
81
+ * Moving it also FIXED the dead-letter retry, which the call-site version could not: a drain
82
+ * re-enqueues stored bytes with a freshly loaded configuration, so a tenant that narrows its
83
+ * projection on discovering over-disclosure now has that narrowing reach rows already
84
+ * dead-lettered. Re-application is safe both ways, because the projection only ever DELETES.
85
+ *
86
+ * Four consequences, each of which would have been a separate defect had the projection been
87
+ * applied per-format instead:
88
+ *
89
+ * - **All four wire formats carry it identically, for free.** Every CEF/LEEF render already guards
90
+ * `e.x ? c.pair(...) : undefined` (for the DLQ-replay reason), and every OCSF assignment does the
91
+ * same — so a trimmed field emits NO key rather than an empty one. That distinction is not
92
+ * cosmetic in CEF: a `csN` slot is emitted as a `csNLabel`/`csN` PAIR, and an empty `cs4=` with
93
+ * its label still present would tell a receiver the field exists and is blank. Absent is absent.
94
+ * - **The DLQ stores less.** A dead-lettered delivery holds only what the destination was allowed
95
+ * to receive, so a queue outage does not park un-minimised personal data.
96
+ * - **A retry cannot drift from the attempt it continues** — the same property the single enqueue
97
+ * seam already guards.
98
+ * - **The HMAC covers the bytes that actually leave.**
99
+ *
100
+ * @see `.claude/context/audit-trails.md` — the SIEM wire-format projections this rides on top of.
101
+ */
102
+ import { z } from 'zod';
103
+ // Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be
104
+ // installed first — never by the importer's luck (#966). A named import used only as a type would
105
+ // be elided and install nothing.
106
+ import '@wildo-ai/zod-decorators';
107
+ import { CoreAuditableEventType } from './auditable-events.shared.schema.js';
108
+ /**
109
+ * What KIND of thing an envelope field is, for the purpose of deciding whether a destination may
110
+ * receive it.
111
+ *
112
+ * Deliberately a SMALL closed vocabulary rather than per-field switches on the destination. A DPA
113
+ * is negotiated in these terms — *"we will not send you identifiers of our users"* — and a tenant
114
+ * choosing from 27 field names would be choosing from an implementation detail that moves. The tiers
115
+ * are the stable surface; the field-to-tier assignment is the framework's judgement and is
116
+ * compile-enforced to be total.
117
+ */
118
+ export var AuditExportDisclosureTier;
119
+ (function (AuditExportDisclosureTier) {
120
+ /**
121
+ * Never trimmable, whatever a destination declares. The record's identity, its outcome, its
122
+ * actor reference, and the header slots the text grammars structurally require. See this module's
123
+ * header for the three independent reasons.
124
+ */
125
+ AuditExportDisclosureTier["FLOOR"] = "floor";
126
+ /**
127
+ * Who the person is and where they were — the personal-data surface of the envelope. The tier a
128
+ * tenant exporting to a processor in another jurisdiction most often wants dropped.
129
+ */
130
+ AuditExportDisclosureTier["ATTRIBUTION"] = "attribution";
131
+ /**
132
+ * Operational context that is not about a person: which request, which surface, which tenant
133
+ * label, which authentication mechanism, which identity source.
134
+ *
135
+ * Note what is NOT here: `outcomeReason`. It reads like context and is DETAIL, because it is
136
+ * lifted out of the event's own bag — see that tier's note.
137
+ */
138
+ AuditExportDisclosureTier["CONTEXT"] = "context";
139
+ /**
140
+ * Content that CAME FROM the per-event `eventData` bag — the bag itself, and any envelope field
141
+ * the dispatcher lifted out of it. Disclosure is decided a second time by the event type's own
142
+ * {@link AuditExportEventDataDisclosure}.
143
+ *
144
+ * **"Came from the bag" rather than "is the bag", and the difference was a real hole.** The
145
+ * dispatcher PROMOTES values onto the envelope — `outcomeReason` is
146
+ * `eventData.failureReason || eventData.reason` — so a promoted field classified by what it looks
147
+ * like (a short reason string, plausibly CONTEXT) outlives the bag it was copied from.
148
+ *
149
+ * **The population is defined by those two keys, because they are the only ones the dispatcher
150
+ * reads.** Measured over the core vocabulary: **27** event schemas declare a top-level
151
+ * `failureReason` or `reason` and can therefore put text into `outcomeReason`, and **19** of them
152
+ * carry the operator-typed `reason` — including every organization-lifecycle event whose
153
+ * `SUBJECT_DETAIL` classification rests on precisely that free text. A destination that withheld
154
+ * those bags was still receiving their prose.
155
+ *
156
+ * An earlier note said "22 … `reason` or `justification`", which is a real count of a population
157
+ * this field does not have: `justification` is never read here, so three of those 22 could not
158
+ * reach `outcomeReason` at all while eight schemas that can (`failureReason` only) were left out.
159
+ * Both numbers were arithmetically right and the denominator was chosen rather than derived —
160
+ * `derive-before-you-ask.md` Shape 2, inside the very rationale written to fix a leak.
161
+ *
162
+ * The operative rule is the general one: **a field's declared tier must be TRUE of every value it
163
+ * can carry.** `userEmail` is promoted from the bag too and is ATTRIBUTION, because every value it
164
+ * can hold is an address — the tier is true of all of them. `outcomeReason` is DETAIL because the
165
+ * tier CONTEXT was not true of the free-text values it can hold, and nothing narrower than the
166
+ * bag's own class can separate those from the enum-ish ones.
167
+ *
168
+ * So the practical test when adding a promoted field is not "where did it come from" alone — it
169
+ * is "can this field carry something its tier would be a lie about?". Where the answer is yes and
170
+ * the value comes from the bag, DETAIL is the only tier that can gate it honestly.
171
+ */
172
+ AuditExportDisclosureTier["DETAIL"] = "detail";
173
+ })(AuditExportDisclosureTier || (AuditExportDisclosureTier = {}));
174
+ /**
175
+ * What an event type's `eventData` bag CONTAINS — the event-type half of the contract.
176
+ *
177
+ * The question this answers is narrow on purpose: *does the bag carry content about a person,
178
+ * beyond the actor reference the envelope already carries?* It is asked of the EVENT TYPE because
179
+ * that is the only place it can be answered once — the bag is an open record whose shape is decided
180
+ * by the emitter, so no property of the envelope can decide it.
181
+ *
182
+ * Only TWO members, and the binary is the point: a third "it depends" member would be a place to
183
+ * put the entries nobody wanted to judge, and every entry that landed there would be read as safe.
184
+ */
185
+ export var AuditExportEventDataDisclosure;
186
+ (function (AuditExportEventDataDisclosure) {
187
+ /**
188
+ * The bag carries data ABOUT a person — an email address, an IP, a name, a value they supplied,
189
+ * or free text somebody wrote which may name anyone.
190
+ *
191
+ * **This is the fail-closed answer and the default for anything not verified.** An event wrongly
192
+ * marked here costs a minimising tenant a bag they could have had; an event wrongly marked
193
+ * {@link ADMINISTRATIVE} discloses personal data to a destination that asked not to receive it.
194
+ * The two errors are not symmetric, so the doubt resolves here.
195
+ */
196
+ AuditExportEventDataDisclosure["SUBJECT_DETAIL"] = "subject-detail";
197
+ /**
198
+ * The bag describes CONFIGURATION or SYSTEM STATE. Any identifier in it is an actor or resource
199
+ * reference the envelope already implies, and it carries no contact data, no supplied values and
200
+ * no free text.
201
+ *
202
+ * Mark an event here only after READING its `eventData` schema. The set is deliberately small;
203
+ * growing it is a per-event decision with the schema in front of you, not a sweep.
204
+ */
205
+ AuditExportEventDataDisclosure["ADMINISTRATIVE"] = "administrative";
206
+ })(AuditExportEventDataDisclosure || (AuditExportEventDataDisclosure = {}));
207
+ export const AUDIT_EXPORT_FIELD_DISCLOSURE = {
208
+ // ── FLOOR ────────────────────────────────────────────────────────────────────────────────────
209
+ /** The receiver's dedup key AND the only handle joining a SIEM record back to its audit row. */
210
+ eventId: AuditExportDisclosureTier.FLOOR,
211
+ /** CEF `Device Event Class ID` + `Name`, LEEF `EventID` — header slots in both text grammars. */
212
+ eventType: AuditExportDisclosureTier.FLOOR,
213
+ /** What the record IS. A receiver's own category filter is written against it. */
214
+ eventCategory: AuditExportDisclosureTier.FLOOR,
215
+ /** CEF's mandatory `agentSeverity` header slot, and what a SOC alerts on. */
216
+ severity: AuditExportDisclosureTier.FLOOR,
217
+ /** When. An audit event without a time is not a shorter audit event. */
218
+ timestamp: AuditExportDisclosureTier.FLOOR,
219
+ /** Which tenant. Also the scope the feed is routed on, so a record denying it is unreadable. */
220
+ organizationId: AuditExportDisclosureTier.FLOOR,
221
+ /**
222
+ * The ACTOR REFERENCE — an opaque id, never a name or an address. Deliberately FLOOR while
223
+ * `userEmail` is ATTRIBUTION: an id lets a receiver correlate one actor's events without learning
224
+ * who they are, which is exactly the trade a minimising tenant is trying to make. Dropping it
225
+ * would leave a feed in which nothing can be attributed to anything.
226
+ */
227
+ userId: AuditExportDisclosureTier.FLOOR,
228
+ /** Which application emitted it. Required on the envelope and names no person. */
229
+ sourceService: AuditExportDisclosureTier.FLOOR,
230
+ /** CEF `Device Version`, LEEF `Product Version` — header slots in both text grammars. */
231
+ sourceVersion: AuditExportDisclosureTier.FLOOR,
232
+ /** See the module header: required, impersonal, and the cheapest triage filter a SOC has. */
233
+ sourceEnvironment: AuditExportDisclosureTier.FLOOR,
234
+ /** Success or failure. Half of what an audit record is for. */
235
+ outcome: AuditExportDisclosureTier.FLOOR,
236
+ // ── ATTRIBUTION ──────────────────────────────────────────────────────────────────────────────
237
+ /** A person's address. The single field most DPAs name first. */
238
+ userEmail: AuditExportDisclosureTier.ATTRIBUTION,
239
+ /** Personal data in its own right, and the field that places a person geographically. */
240
+ ipAddress: AuditExportDisclosureTier.ATTRIBUTION,
241
+ /** Device and software fingerprint of a person's client. */
242
+ userAgent: AuditExportDisclosureTier.ATTRIBUTION,
243
+ /** Where a person was. */
244
+ geoLocation: AuditExportDisclosureTier.ATTRIBUTION,
245
+ /**
246
+ * A pseudonymous identifier under GDPR Art. 4(5) by its own schema declaration, and the axis that
247
+ * groups one person ACROSS sessions and logins — which is precisely what makes it more disclosing
248
+ * than a per-request id, not less.
249
+ */
250
+ clientInstanceId: AuditExportDisclosureTier.ATTRIBUTION,
251
+ // ── CONTEXT ──────────────────────────────────────────────────────────────────────────────────
252
+ /** Groups the events of one request. About the request, not the person who made it. */
253
+ correlationId: AuditExportDisclosureTier.CONTEXT,
254
+ /** Which frontend surface (app / website / docs). */
255
+ frontendServiceName: AuditExportDisclosureTier.CONTEXT,
256
+ /** A tenant LABEL. A legal person is not a data subject, but it is still the tenant's to withhold. */
257
+ organizationName: AuditExportDisclosureTier.CONTEXT,
258
+ applicationId: AuditExportDisclosureTier.CONTEXT,
259
+ applicationName: AuditExportDisclosureTier.CONTEXT,
260
+ /** How the principal authenticated. A mechanism, not an identity. */
261
+ authMethod: AuditExportDisclosureTier.CONTEXT,
262
+ /** Which identity source. A configuration reference. */
263
+ authSource: AuditExportDisclosureTier.CONTEXT,
264
+ providerRef: AuditExportDisclosureTier.CONTEXT,
265
+ connectionType: AuditExportDisclosureTier.CONTEXT,
266
+ // ── DETAIL ───────────────────────────────────────────────────────────────────────────────────
267
+ /** The open per-event bag. Gated a second time by the event type's own disclosure class. */
268
+ eventData: AuditExportDisclosureTier.DETAIL,
269
+ /**
270
+ * DETAIL, not CONTEXT, because it is not a field of its own — it is a value the dispatcher LIFTED
271
+ * OUT of the bag (`eventData.failureReason || eventData.reason`), so it travels with the bag it
272
+ * came from. The operator is `||` rather than `??`, which is not pedantry here: an EMPTY
273
+ * `failureReason` falls through to `reason`, so an event can reach the free-text branch even when
274
+ * it declares the enum-ish one.
275
+ *
276
+ * It was CONTEXT, classified by its shape: usually an enum-ish failure reason, which reads as
277
+ * impersonal operational context. That was wrong in the direction that matters. **27** core event
278
+ * schemas declare a top-level `failureReason` or `reason` — the two keys the dispatcher reads, so
279
+ * that is the population — and **19** of them carry the operator-typed `reason`: the organization
280
+ * lifecycle events, `EMERGENCY_ACCESS_USED`, `RETAINED_DATA_ACCESS` (whose `reason` is required
281
+ * and is the #954 operator justification), `USER_PASSWORD_RESET_FORCED`,
282
+ * `RESOURCE_OPERATION_PERFORMED`. The organization-lifecycle entries in the event-data map below
283
+ * give that free text as the WHOLE reason their bags are `SUBJECT_DETAIL`. So the contract
284
+ * refused those bags and then handed their prose over anyway, through a field labelled context.
285
+ *
286
+ * The cost of the correction is real and is the right way round: a tenant that withholds detail
287
+ * now also loses the ordinary enum-shaped failure reason on, say, `USER_LOGIN_FAILED`. It can get
288
+ * it back by admitting `DETAIL` with `ADMINISTRATIVE` bags, and a reason it cannot have is one
289
+ * that may name somebody.
290
+ */
291
+ outcomeReason: AuditExportDisclosureTier.DETAIL,
292
+ };
293
+ /**
294
+ * COMPILE-TIME GUARD, not a runtime value — the constant is never read.
295
+ *
296
+ * It fails to typecheck, naming the offending field, if anyone classifies a REQUIRED envelope field
297
+ * as trimmable. That is the one way this contract could promise a minimisation it cannot perform:
298
+ * the applier would leave the field in place and a tenant would receive data it declared it would
299
+ * not. The failure is silent at runtime and total at compile time, which is the right way round.
300
+ *
301
+ * If a new required field genuinely must be trimmable, make it optional on the envelope (every
302
+ * wire-format render already guards for absence, for the DLQ-replay reason) rather than widening
303
+ * this guard.
304
+ */
305
+ export const AUDIT_EXPORT_TRIMMABLE_FIELDS_ARE_OMITTABLE = true;
306
+ /**
307
+ * Every core auditable event's `eventData` disclosure class — the EVENT-TYPE half of the contract.
308
+ *
309
+ * **Total over `CoreAuditableEventType`**, so a member added to the vocabulary is a compile error
310
+ * until its author answers the question. That totality is the whole reason this is a map rather
311
+ * than a per-destination list: a destination enumerating event types is a hand-kept list against a
312
+ * vocabulary that moves, and a newly-added event would silently export everything or nothing
313
+ * depending on which way its default fell.
314
+ *
315
+ * **Unverified entries are {@link AuditExportEventDataDisclosure.SUBJECT_DETAIL}, deliberately.**
316
+ * Only the events below carry `ADMINISTRATIVE`, and each was classified by READING its
317
+ * `eventData` schema and confirming it holds configuration or counts and no free text. Everything
318
+ * else takes the fail-closed answer — including events whose bag is very likely harmless — because
319
+ * the cost of being wrong in that direction is a tenant losing detail it could have had, while the
320
+ * other direction discloses personal data to a destination that asked not to receive it.
321
+ *
322
+ * An application's OWN event types are not in this map and resolve to `SUBJECT_DETAIL` through
323
+ * {@link resolveEventDataDisclosure}, for the same reason.
324
+ */
325
+ export const AUDIT_EXPORT_EVENT_DATA_DISCLOSURE = {
326
+ // ── Authentication ───────────────────────────────────────────────────────────────────────────
327
+ // Every bag here carries some combination of email, IP, user-agent and session id.
328
+ [CoreAuditableEventType.USER_LOGIN]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
329
+ [CoreAuditableEventType.USER_LOGOUT]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
330
+ [CoreAuditableEventType.USER_LOGIN_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
331
+ [CoreAuditableEventType.USER_ACCOUNT_LOCKED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
332
+ [CoreAuditableEventType.USER_PASSWORD_CHANGED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
333
+ [CoreAuditableEventType.USER_MFA_ENABLED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
334
+ [CoreAuditableEventType.USER_MFA_DISABLED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
335
+ [CoreAuditableEventType.USER_SESSION_EXPIRED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
336
+ [CoreAuditableEventType.USER_SESSION_EVICTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
337
+ [CoreAuditableEventType.MACHINE_AUTH_SUCCESS]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
338
+ [CoreAuditableEventType.MACHINE_AUTH_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
339
+ [CoreAuditableEventType.MACHINE_ACCESS]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
340
+ // ── User lifecycle ───────────────────────────────────────────────────────────────────────────
341
+ [CoreAuditableEventType.USER_CREATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
342
+ [CoreAuditableEventType.USER_UPDATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
343
+ [CoreAuditableEventType.USER_DELETED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
344
+ [CoreAuditableEventType.USER_APP_ROLES_CHANGED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
345
+ /**
346
+ * VERIFIED ADMINISTRATIVE: counts, the conferring role names, and the statuses that count as
347
+ * usable. The event is about the APPLICATION having no administrator; it names no person.
348
+ */
349
+ [CoreAuditableEventType.APPLICATION_SUPER_ADMIN_FLOOR_BREACHED]: AuditExportEventDataDisclosure.ADMINISTRATIVE,
350
+ // Its organization twin is NOT administrative: the bag carries `reducedMemberIds` and
351
+ // `subjectUserId`, which is a list of people rather than the envelope's single actor reference.
352
+ [CoreAuditableEventType.ORGANIZATION_OWNER_FLOOR_BREACHED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
353
+ // ── Organization lifecycle ───────────────────────────────────────────────────────────────────
354
+ // Read, and NOT administrative — but by THREE different routes, which an earlier version of this
355
+ // comment flattened into one ("every one of these bags carries an operator-typed `reason`").
356
+ // Measured, that was false for three of the nine, and a rationale that overstates its own
357
+ // evidence is the invented-denominator shape `derive-before-you-ask.md` warns about — sitting,
358
+ // here, inside the justification that a later fix leaned on.
359
+ //
360
+ // - MOST carry an operator-typed `reason` / `justification` / `suspensionReason`: free text that
361
+ // may name anybody. `_DELETED`, `_DELETION_REQUESTED`, `_RESTORED`, `_ACTIVATED`,
362
+ // `_TYPE_ASSIGNED`, `_SUSPENDED`, `RESOURCE_STATUS_TRANSITION_PERFORMED`.
363
+ // - `ORGANIZATION_UPDATED` carries `changes: z.record(z.string(), z.any())` — an OPEN bag, which
364
+ // cannot be asserted to hold no data about a person. Same argument that reclassified
365
+ // `ORGANIZATION_SSO_CONFIGURATION_CHANGED` below.
366
+ // - `ORGANIZATION_CREATED` carries only `name`, `slug` and `createdBy`, and is SUBJECT_DETAIL on
367
+ // the fail-closed default alone — no free text, no open bag, simply not verified as safe. That
368
+ // is the honest entry, and naming it as such is what stops the next reader assuming the whole
369
+ // group was measured.
370
+ [CoreAuditableEventType.ORGANIZATION_CREATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
371
+ [CoreAuditableEventType.ORGANIZATION_UPDATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
372
+ [CoreAuditableEventType.ORGANIZATION_TYPE_ASSIGNED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
373
+ [CoreAuditableEventType.ORGANIZATION_DELETED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
374
+ [CoreAuditableEventType.ORGANIZATION_DELETION_REQUESTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
375
+ [CoreAuditableEventType.ORGANIZATION_RESTORED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
376
+ [CoreAuditableEventType.ORGANIZATION_SUSPENDED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
377
+ [CoreAuditableEventType.ORGANIZATION_ACTIVATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
378
+ [CoreAuditableEventType.RESOURCE_STATUS_TRANSITION_PERFORMED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
379
+ // ── Organization membership ──────────────────────────────────────────────────────────────────
380
+ // Membership bags name the member, the inviter and the roles — people, throughout.
381
+ [CoreAuditableEventType.ORGANIZATION_MEMBER_INVITED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
382
+ [CoreAuditableEventType.ORGANIZATION_MEMBER_JOINED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
383
+ [CoreAuditableEventType.ORGANIZATION_MEMBER_UPDATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
384
+ [CoreAuditableEventType.ORGANIZATION_MEMBER_ROLE_CHANGED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
385
+ [CoreAuditableEventType.ORGANIZATION_MEMBER_STATUS_CHANGED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
386
+ [CoreAuditableEventType.ORGANIZATION_MEMBER_REMOVED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
387
+ [CoreAuditableEventType.ORGANIZATION_NOTIFICATIONS_UPDATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
388
+ [CoreAuditableEventType.ORGANIZATION_PREFERENCES_UPDATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
389
+ [CoreAuditableEventType.ORGANIZATION_PROFILE_UPDATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
390
+ [CoreAuditableEventType.ORGANIZATION_UNIT_UPDATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
391
+ [CoreAuditableEventType.ORGANIZATION_UNIT_MEMBER_ROLE_CHANGED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
392
+ [CoreAuditableEventType.ORGANIZATION_UNIT_MEMBER_REMOVED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
393
+ // ── SSO authentication ───────────────────────────────────────────────────────────────────────
394
+ [CoreAuditableEventType.USER_SSO_LOGIN]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
395
+ [CoreAuditableEventType.USER_SSO_LOGIN_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
396
+ [CoreAuditableEventType.USER_SSO_ENFORCEMENT_BLOCKED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
397
+ [CoreAuditableEventType.USER_TOKEN_REFRESHED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
398
+ // ── Organization security configuration ──────────────────────────────────────────────────────
399
+ /**
400
+ * SUBJECT_DETAIL, and it was ADMINISTRATIVE for one review cycle on the stated grounds "a config
401
+ * diff, its change type and the provider ref. No free text." The diff is
402
+ * `changes: z.record(z.string(), z.any())` — an UNBOUNDED OPEN BAG, which cannot be asserted to
403
+ * hold no data about a person whatever it happens to contain today. The same source file names
404
+ * that exact shape as the one an audit payload must not have.
405
+ *
406
+ * The reclassification costs nothing measurable and is worth reading as a warning: the event has
407
+ * **no emitter anywhere in production source** (its emit method was removed in #591), so the
408
+ * "verification" behind the original entry was a reading of a schema that nothing populates. An
409
+ * open record is unverifiable by construction — fail closed and say so.
410
+ */
411
+ [CoreAuditableEventType.ORGANIZATION_SSO_CONFIGURATION_CHANGED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
412
+ /**
413
+ * VERIFIED ADMINISTRATIVE: the three SIEM-export change events carry the tenant, the actor
414
+ * reference, the change type, the destination's DOMAIN (never the full URL, never the
415
+ * credential), the configured format and the names of the changed fields. Configuration
416
+ * throughout, and no free text.
417
+ *
418
+ * They are also the events a retired destination receives as its LAST event (#986), so a
419
+ * minimising tenant keeping them is exactly the intended outcome.
420
+ */
421
+ [CoreAuditableEventType.ORGANIZATION_SIEM_EXPORT_CONFIGURED]: AuditExportEventDataDisclosure.ADMINISTRATIVE,
422
+ [CoreAuditableEventType.ORGANIZATION_SIEM_EXPORT_DISABLED]: AuditExportEventDataDisclosure.ADMINISTRATIVE,
423
+ [CoreAuditableEventType.ORGANIZATION_SIEM_EXPORT_DESTINATION_CHANGED]: AuditExportEventDataDisclosure.ADMINISTRATIVE,
424
+ // ── Provider credentials and connections ─────────────────────────────────────────────────────
425
+ // No payload here carries a credential VALUE — that is structural. But the user-scoped half names
426
+ // a person's relationship with a named vendor, and the organization-scoped half carries the
427
+ // account and scopes a principal authorized, so both are subject detail.
428
+ [CoreAuditableEventType.ORGANIZATION_PROVIDER_CREDENTIAL_SET]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
429
+ [CoreAuditableEventType.ORGANIZATION_PROVIDER_CREDENTIAL_ROTATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
430
+ [CoreAuditableEventType.ORGANIZATION_PROVIDER_CREDENTIAL_USED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
431
+ [CoreAuditableEventType.ORGANIZATION_PROVIDER_CREDENTIAL_DELETED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
432
+ [CoreAuditableEventType.USER_PROVIDER_CREDENTIAL_SET]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
433
+ [CoreAuditableEventType.USER_PROVIDER_CREDENTIAL_ROTATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
434
+ [CoreAuditableEventType.USER_PROVIDER_CREDENTIAL_USED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
435
+ [CoreAuditableEventType.USER_PROVIDER_CREDENTIAL_DELETED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
436
+ [CoreAuditableEventType.ORGANIZATION_PROVIDER_CONNECTION_GRANTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
437
+ [CoreAuditableEventType.USER_PROVIDER_CONNECTION_GRANTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
438
+ // ── Application security configuration ───────────────────────────────────────────────────────
439
+ /**
440
+ * VERIFIED ADMINISTRATIVE: the changed user types, a snapshot digest, and the before/after policy
441
+ * blocks. Authored configuration with no human actor at all — the event is emitted at boot.
442
+ */
443
+ [CoreAuditableEventType.APPLICATION_AUTH_POLICY_CHANGED]: AuditExportEventDataDisclosure.ADMINISTRATIVE,
444
+ // ── Outbound webhook ─────────────────────────────────────────────────────────────────────────
445
+ /**
446
+ * VERIFIED ADMINISTRATIVE: the dispatching actor reference, the endpoint id, the destination
447
+ * HOST, the outcome and a duration. An operator-supplied URL is configuration, not a person.
448
+ */
449
+ [CoreAuditableEventType.WEBHOOK_ENDPOINT_TEST_DISPATCHED]: AuditExportEventDataDisclosure.ADMINISTRATIVE,
450
+ // ── SCIM directory provisioning ──────────────────────────────────────────────────────────────
451
+ // Provisioning is ABOUT people by definition; the token events ride the same lane and are not
452
+ // separately verified.
453
+ [CoreAuditableEventType.SCIM_TOKEN_CREATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
454
+ [CoreAuditableEventType.SCIM_TOKEN_REVOKED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
455
+ [CoreAuditableEventType.SCIM_TOKEN_GENERATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
456
+ [CoreAuditableEventType.SCIM_TOKEN_ROTATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
457
+ [CoreAuditableEventType.SCIM_PROVISIONING_CONFIG_UPDATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
458
+ [CoreAuditableEventType.SCIM_PROVISIONING_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
459
+ [CoreAuditableEventType.SCIM_USER_PROVISIONED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
460
+ [CoreAuditableEventType.SCIM_USER_UPDATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
461
+ [CoreAuditableEventType.SCIM_USER_DEACTIVATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
462
+ // ── Credential and factor lifecycle ──────────────────────────────────────────────────────────
463
+ // Every bag names the person whose credential or factor moved.
464
+ [CoreAuditableEventType.USER_PASSWORD_RESET_REQUESTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
465
+ [CoreAuditableEventType.USER_PASSWORD_RESET_COMPLETED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
466
+ [CoreAuditableEventType.USER_PASSWORD_RESET_FORCED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
467
+ [CoreAuditableEventType.USER_REGISTERED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
468
+ [CoreAuditableEventType.USER_EMAIL_VERIFIED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
469
+ [CoreAuditableEventType.USER_VERIFICATION_EMAIL_RESENT]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
470
+ [CoreAuditableEventType.USER_PASSWORD_SET]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
471
+ [CoreAuditableEventType.USER_TOTP_DISABLED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
472
+ [CoreAuditableEventType.USER_IDENTITY_LINK_REMOVED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
473
+ [CoreAuditableEventType.USER_MFA_SETUP_STARTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
474
+ [CoreAuditableEventType.USER_MFA_SETUP_COMPLETED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
475
+ [CoreAuditableEventType.USER_MFA_EMAIL_OTP_SENT]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
476
+ [CoreAuditableEventType.USER_PASSKEY_REGISTERED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
477
+ [CoreAuditableEventType.USER_PASSKEY_AUTHENTICATION_SUCCESS]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
478
+ [CoreAuditableEventType.USER_PASSKEY_AUTHENTICATION_FAILURE]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
479
+ [CoreAuditableEventType.USER_PASSKEY_REMOVED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
480
+ [CoreAuditableEventType.USER_PASSKEY_CLONE_SUSPECTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
481
+ [CoreAuditableEventType.USER_MAGIC_LINK_SENT]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
482
+ [CoreAuditableEventType.USER_MAGIC_LINK_VERIFIED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
483
+ [CoreAuditableEventType.USER_MAGIC_LINK_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
484
+ [CoreAuditableEventType.USER_SMS_OTP_SENT]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
485
+ [CoreAuditableEventType.USER_SMS_OTP_VERIFIED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
486
+ [CoreAuditableEventType.USER_SMS_OTP_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
487
+ [CoreAuditableEventType.USER_PHONE_VERIFIED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
488
+ [CoreAuditableEventType.USER_PHONE_VERIFICATION_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
489
+ // ── SAML ─────────────────────────────────────────────────────────────────────────────────────
490
+ // None of these has a typed eventData schema, so nothing can be verified about their bags. The
491
+ // two that LOOK administrative (`SAML_CERT_EXPIRING`, `SAML_METADATA_PARSED`) are exactly the
492
+ // entries a guess would get wrong, and are fail-closed with the rest.
493
+ [CoreAuditableEventType.SAML_LOGIN_INITIATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
494
+ [CoreAuditableEventType.SAML_LOGIN_SUCCESS]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
495
+ [CoreAuditableEventType.SAML_LOGIN_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
496
+ [CoreAuditableEventType.SAML_ASSERTION_REPLAY_DETECTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
497
+ [CoreAuditableEventType.SAML_CERT_EXPIRING]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
498
+ [CoreAuditableEventType.SAML_SLO_INITIATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
499
+ [CoreAuditableEventType.SAML_SLO_COMPLETED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
500
+ [CoreAuditableEventType.SAML_METADATA_PARSED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
501
+ [CoreAuditableEventType.SAML_EMAIL_CHANGED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
502
+ // ── OAuth / OIDC provider ────────────────────────────────────────────────────────────────────
503
+ [CoreAuditableEventType.OAUTH2_PROVIDER_BLOCKED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
504
+ [CoreAuditableEventType.OIDC_ACR_DEMAND_UNSATISFIED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
505
+ [CoreAuditableEventType.OAUTH_DELEGATED_TOKEN_ISSUED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
506
+ [CoreAuditableEventType.OAUTH_CONSENT_GRANTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
507
+ [CoreAuditableEventType.OAUTH_CONSENT_DENIED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
508
+ [CoreAuditableEventType.OAUTH_CONSENT_GRANT_PERSISTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
509
+ [CoreAuditableEventType.OAUTH_DYNAMIC_CLIENT_REGISTERED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
510
+ [CoreAuditableEventType.OAUTH_CIMD_CLIENT_REFUSED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
511
+ [CoreAuditableEventType.OAUTH_TOKEN_REFRESHED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
512
+ [CoreAuditableEventType.OAUTH_TOKEN_REVOKED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
513
+ [CoreAuditableEventType.OAUTH_RP_INITIATED_LOGOUT]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
514
+ [CoreAuditableEventType.OAUTH_CODE_EXCHANGE_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
515
+ [CoreAuditableEventType.OAUTH_CONSENT_BINDING_VIOLATION]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
516
+ [CoreAuditableEventType.USER_REFRESH_TOKEN_REUSE_DETECTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
517
+ // ── Files and one-off tokens ─────────────────────────────────────────────────────────────────
518
+ [CoreAuditableEventType.FILE_UPLOAD_GRANT_ISSUED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
519
+ [CoreAuditableEventType.FILE_UPLOAD_GRANT_REDEEMED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
520
+ [CoreAuditableEventType.FILE_UPLOAD_GRANT_REVOKED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
521
+ [CoreAuditableEventType.FILE_SHARE_LINK_ISSUED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
522
+ [CoreAuditableEventType.FILE_SHARE_LINKS_REVOKED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
523
+ [CoreAuditableEventType.FILE_MALWARE_DETECTED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
524
+ [CoreAuditableEventType.FILE_MALWARE_SCAN_FAILED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
525
+ [CoreAuditableEventType.ONE_OFF_TOKEN_CREATED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
526
+ [CoreAuditableEventType.ONE_OFF_TOKEN_EXCHANGED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
527
+ [CoreAuditableEventType.ONE_OFF_TOKEN_REVOKED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
528
+ [CoreAuditableEventType.USER_CROSS_FRONTEND_HANDOFF_ISSUED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
529
+ // ── Access, disclosure and administrative reach ──────────────────────────────────────────────
530
+ // The generic resource and field events carry whatever the operation touched, including
531
+ // before/after values of `.isAuditEvidence()` fields — the broadest bags in the vocabulary.
532
+ [CoreAuditableEventType.EMERGENCY_ACCESS_USED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
533
+ [CoreAuditableEventType.FIELD_ACCESS]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
534
+ [CoreAuditableEventType.RESOURCE_OPERATION_PERFORMED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
535
+ [CoreAuditableEventType.RESOURCE_OPERATION_DENIED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
536
+ [CoreAuditableEventType.CROSS_TENANT_ADMINISTRATIVE_ACCESS]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
537
+ [CoreAuditableEventType.PLATFORM_ACCESS_GRANT_LIFECYCLE]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
538
+ [CoreAuditableEventType.PLATFORM_DIRECTORY_ACCESS]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
539
+ [CoreAuditableEventType.SYSTEM_CONTEXT_READ]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
540
+ [CoreAuditableEventType.SYSTEM_CONTEXT_WRITE]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
541
+ [CoreAuditableEventType.PLATFORM_CONFIGURATION_PUBLICATION]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
542
+ [CoreAuditableEventType.RETAINED_DATA_ACCESS]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
543
+ [CoreAuditableEventType.GOVERNED_DOCUMENT_INTERACTION_RECORDED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
544
+ [CoreAuditableEventType.SUBJECT_DATA_EXPORT]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
545
+ [CoreAuditableEventType.COLLECTION_DATA_EXPORT]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
546
+ // ── External integration ─────────────────────────────────────────────────────────────────────
547
+ [CoreAuditableEventType.HTTP_API_READ_THROUGH_ACCESS]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
548
+ [CoreAuditableEventType.HTTP_API_EXTERNAL_ERASURE]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
549
+ [CoreAuditableEventType.HTTP_API_NON_ERASURE_ACKNOWLEDGED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
550
+ [CoreAuditableEventType.PROVIDER_OPERATION_CALL]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
551
+ [CoreAuditableEventType.PROVIDER_OPERATION_DENIED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
552
+ [CoreAuditableEventType.MCP_TOOL_CALL]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
553
+ [CoreAuditableEventType.AGENT_TOOL_APPROVAL_MODIFIED]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
554
+ /*
555
+ * Everything else in this bag IS configuration — the transition, the assignment row, the declared
556
+ * instance, the remote partition key, and the units on either side of the move. On those alone it
557
+ * would be ADMINISTRATIVE.
558
+ *
559
+ * `justification` decides it. The operator's stated reason is FREE TEXT a person wrote, recorded on
560
+ * every transition, and free text may name anyone — which is this vocabulary's own criterion for
561
+ * SUBJECT_DETAIL rather than a cautious reading of it. `assignedByUserId` is only the actor the
562
+ * envelope already implies and would not have been enough on its own.
563
+ */
564
+ [CoreAuditableEventType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENT_LIFECYCLE]: AuditExportEventDataDisclosure.SUBJECT_DETAIL,
565
+ };
566
+ /**
567
+ * What one DESTINATION has declared it may receive — the per-tenant, per-agreement half.
568
+ *
569
+ * Two arrays rather than one, and the interaction between them is the reason. A tenant that drops
570
+ * {@link AuditExportDisclosureTier.ATTRIBUTION} while keeping the detail bag would still receive
571
+ * the email address inside `eventData` for every authentication event — a minimisation that reads
572
+ * as a control and is not one. {@link disclosedEventDataClasses} is what closes that: declaring
573
+ * `[ADMINISTRATIVE]` keeps the bags that carry configuration and drops the ones that carry people.
574
+ */
575
+ /*
576
+ * Both members declare `.systemEnum(...)` ON THE ELEMENT, which is where the decorator goes for an
577
+ * array of enums (`organizationPreferences.supportedLanguages` is the precedent).
578
+ *
579
+ * Without it these two vocabularies would get words authored per FIELD PATH rather than once per
580
+ * enum, and a reader of the SIEM pane would be choosing between raw wire values like
581
+ * `subject-detail` — see `.claude/rules/display-text-comes-from-i18n.md`. A new closed vocabulary
582
+ * reaching a UI is exactly the moment to declare it; the words themselves are authored by the
583
+ * labelling pipeline under `system_enums.<Name>.<value>` and are never hand-written here.
584
+ */
585
+ export const SiemExportProjectionDeclarationSchema = z.object({
586
+ /**
587
+ * Which tiers, beyond the floor, this destination may receive.
588
+ *
589
+ * **`FLOOR` is not a choice, so it is not offered.** The floor is added unconditionally by
590
+ * {@link resolveDisclosedEnvelopeFields}, and declaring `[]` yields a floor-only feed rather than
591
+ * an empty one.
592
+ *
593
+ * This used to accept the whole vocabulary, on the reasoning that declaring `FLOOR` was
594
+ * "redundant rather than wrong". That was true of the API and false of the SCREEN: the settings
595
+ * pane renders one checkbox per member, so it offered a `floor` toggle — and on every destination
596
+ * that had not ticked it, displayed it UNCHECKED. An operator reading "floor ☐" believes the event
597
+ * id, type, timestamp and user id are withheld, and none of them is. That is the exact shape this
598
+ * contract exists to remove — a control that renders and does nothing — and it was found by
599
+ * opening the pane in a browser, not by any test (#1395).
600
+ *
601
+ * Derived from the one named vocabulary with `.exclude(['FLOOR'])` rather than declared as a
602
+ * second enum: the tiers a destination may choose are a SUBSET of the tiers a field may have, and
603
+ * a parallel list would be a second copy to keep in step. The key is type-checked against the
604
+ * enum, so renaming the member is a compile error here rather than a silent drift.
605
+ *
606
+ * Defaults to everything: a destination that has declared no minimisation has not asked for one,
607
+ * and silently narrowing an existing tenant's feed would be a worse failure than not narrowing a
608
+ * new one.
609
+ */
610
+ disclosedTiers: z.array(z.enum(AuditExportDisclosureTier).exclude(['FLOOR']).systemEnum('AuditExportDisclosureTier')).default([
611
+ AuditExportDisclosureTier.ATTRIBUTION,
612
+ AuditExportDisclosureTier.CONTEXT,
613
+ AuditExportDisclosureTier.DETAIL,
614
+ ]),
615
+ /**
616
+ * Which `eventData` bags this destination may receive, by the EVENT TYPE's declared class. Read
617
+ * only when {@link AuditExportDisclosureTier.DETAIL} is disclosed; an event type outside the core
618
+ * vocabulary resolves to `SUBJECT_DETAIL`.
619
+ */
620
+ disclosedEventDataClasses: z.array(z.enum(AuditExportEventDataDisclosure).systemEnum('AuditExportEventDataDisclosure')).default([
621
+ AuditExportEventDataDisclosure.SUBJECT_DETAIL,
622
+ AuditExportEventDataDisclosure.ADMINISTRATIVE,
623
+ ]),
624
+ });
625
+ /**
626
+ * The projection a destination that has declared nothing receives: everything.
627
+ *
628
+ * FAIL-OPEN, deliberately, and it is the one place in this contract where that is right. An absent
629
+ * declaration is not a tenant asking for minimisation — it is a tenant that has not configured one,
630
+ * and every existing destination is in that state. Failing closed here would silently stop
631
+ * delivering fields to feeds that are working today, which is a bigger and quieter harm than
632
+ * continuing the current behaviour until an operator narrows it deliberately.
633
+ */
634
+ export const FULL_AUDIT_EXPORT_PROJECTION = {
635
+ disclosedTiers: [
636
+ AuditExportDisclosureTier.ATTRIBUTION,
637
+ AuditExportDisclosureTier.CONTEXT,
638
+ AuditExportDisclosureTier.DETAIL,
639
+ ],
640
+ disclosedEventDataClasses: [
641
+ AuditExportEventDataDisclosure.SUBJECT_DETAIL,
642
+ AuditExportEventDataDisclosure.ADMINISTRATIVE,
643
+ ],
644
+ };
645
+ /**
646
+ * What an event type's `eventData` bag carries, including for event types an APPLICATION defined.
647
+ *
648
+ * An unknown type resolves to {@link AuditExportEventDataDisclosure.SUBJECT_DETAIL} — the opposite
649
+ * direction from `getAuditEventClassification`, whose fallback exists to give an application event
650
+ * a usable category. Here the fallback decides a DISCLOSURE, so it takes the safe answer: an
651
+ * application's own bag is the one this framework knows least about.
652
+ */
653
+ export function resolveEventDataDisclosure(eventType) {
654
+ return (AUDIT_EXPORT_EVENT_DATA_DISCLOSURE[eventType]
655
+ ?? AuditExportEventDataDisclosure.SUBJECT_DETAIL);
656
+ }
657
+ /**
658
+ * The envelope fields one destination may receive for one event.
659
+ *
660
+ * The floor is unioned in unconditionally — **this is where "a floor cannot be trimmed" is
661
+ * enforced**, not in the applier and not in the schema's defaults, so no declaration a tenant can
662
+ * write and no future caller can produce a feed without it.
663
+ *
664
+ * assurance-control: WILDO.PRIVACY.DATA_MINIMIZATION — the destination's declaration decides which
665
+ * envelope fields may leave for an external processor, and the floor is the part of that decision
666
+ * the framework keeps: a record that cannot be correlated or de-duplicated is not a minimised
667
+ * export.
668
+ */
669
+ export function resolveDisclosedEnvelopeFields(eventType, declaration) {
670
+ const disclosedTiers = new Set(declaration.disclosedTiers);
671
+ const eventDataAdmitted = disclosedTiers.has(AuditExportDisclosureTier.DETAIL)
672
+ && declaration.disclosedEventDataClasses.includes(resolveEventDataDisclosure(eventType));
673
+ const disclosed = new Set();
674
+ for (const [field, tier] of Object.entries(AUDIT_EXPORT_FIELD_DISCLOSURE)) {
675
+ if (tier === AuditExportDisclosureTier.FLOOR) {
676
+ disclosed.add(field);
677
+ continue;
678
+ }
679
+ if (tier === AuditExportDisclosureTier.DETAIL) {
680
+ if (eventDataAdmitted)
681
+ disclosed.add(field);
682
+ continue;
683
+ }
684
+ if (disclosedTiers.has(tier))
685
+ disclosed.add(field);
686
+ }
687
+ return disclosed;
688
+ }
689
+ /**
690
+ * Apply a destination's projection to an envelope, returning the envelope that may actually leave.
691
+ *
692
+ * Returns a NEW object — the caller fans one audit event out to several tenants' sinks, each with
693
+ * its own declaration, so mutating in place would let the first destination's minimisation reach
694
+ * the second's delivery.
695
+ *
696
+ * **Omitted is not empty**, which the CEF `csN` slots make more than a nicety: a trimmed optional
697
+ * field is DELETED, so a render that guards `e.x ? … : undefined` emits neither the value nor its
698
+ * `csNLabel` companion. `eventData` is the one exception — it is required by the envelope type, so
699
+ * it is emptied to `{}`, which every format already reads as "no detail" (both text grammars omit
700
+ * their detail key for an empty bag; OCSF omits `unmapped` for the same reason). The compile-time
701
+ * guard {@link AUDIT_EXPORT_TRIMMABLE_FIELDS_ARE_OMITTABLE} is what keeps that exception the only
702
+ * one.
703
+ *
704
+ * assurance-control: WILDO.PRIVACY.DATA_MINIMIZATION — the act itself: only the fields the
705
+ * destination's declaration admits survive into the envelope that is signed, queued and delivered
706
+ * to a third-party processor of the tenant's choosing.
707
+ */
708
+ export function applyAuditExportProjection(envelope, declaration) {
709
+ const disclosed = resolveDisclosedEnvelopeFields(envelope.eventType, declaration);
710
+ const projected = { ...envelope };
711
+ for (const field of Object.keys(AUDIT_EXPORT_FIELD_DISCLOSURE)) {
712
+ if (disclosed.has(field))
713
+ continue;
714
+ if (field === 'eventData') {
715
+ projected.eventData = {};
716
+ continue;
717
+ }
718
+ // Every other trimmable field is optional on the envelope — see the compile-time guard above.
719
+ delete projected[field];
720
+ }
721
+ return projected;
722
+ }
723
+ //# sourceMappingURL=audit-export-projection.shared.schemas.js.map