@wildo-ai/saas-models 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (888) hide show
  1. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
  2. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +2 -1
  3. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
  4. package/dist/esm/applications/applications-context.schemas.d.ts +176 -2
  5. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  6. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  7. package/dist/esm/applications/applications.shared.resources-config.schemas.js +3 -2
  8. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  9. package/dist/esm/applications/applications.shared.schemas.d.ts +7 -5
  10. package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
  11. package/dist/esm/applications/applications.shared.schemas.js +6 -4
  12. package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
  13. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +10 -1
  14. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
  15. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js +49 -15
  16. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
  17. package/dist/esm/billing/billing-account.shared.schemas.js +2 -2
  18. package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
  19. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +25 -0
  20. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
  21. package/dist/esm/billing/billing-configuration.shared.schemas.js +19 -0
  22. package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
  23. package/dist/esm/billing/billing-enums.shared.schemas.d.ts +27 -5
  24. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  25. package/dist/esm/billing/billing-enums.shared.schemas.js +30 -4
  26. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  27. package/dist/esm/billing/billing-types.shared.schemas.d.ts +37 -11
  28. package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
  29. package/dist/esm/billing/billing-types.shared.schemas.js +31 -19
  30. package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
  31. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts +2 -0
  32. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
  33. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js +18 -7
  34. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
  35. package/dist/esm/billing/credit-pool.shared.schemas.d.ts +2 -0
  36. package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
  37. package/dist/esm/billing/credit-pool.shared.schemas.js +7 -1
  38. package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
  39. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js +6 -6
  40. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
  41. package/dist/esm/billing/invoice-ref.shared.schemas.js +1 -1
  42. package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
  43. package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
  44. package/dist/esm/billing/price.shared.schemas.js +5 -3
  45. package/dist/esm/billing/price.shared.schemas.js.map +1 -1
  46. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts +11 -1
  47. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  48. package/dist/esm/billing/product-behavior-policy.shared.schemas.js +39 -23
  49. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  50. package/dist/esm/billing/product-definition.shared.schemas.d.ts +30 -2
  51. package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
  52. package/dist/esm/billing/product-definition.shared.schemas.js +35 -0
  53. package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
  54. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +6 -3
  55. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
  56. package/dist/esm/billing/product.shared.schemas.d.ts +7 -3
  57. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  58. package/dist/esm/billing/product.shared.schemas.js +22 -7
  59. package/dist/esm/billing/product.shared.schemas.js.map +1 -1
  60. package/dist/esm/billing/promotions.shared.resources-config.schemas.js +8 -8
  61. package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
  62. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts +135 -0
  63. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts.map +1 -0
  64. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js +112 -0
  65. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js.map +1 -0
  66. package/dist/esm/billing/public-pricing-catalog.shared.d.ts +30 -0
  67. package/dist/esm/billing/public-pricing-catalog.shared.d.ts.map +1 -0
  68. package/dist/esm/billing/public-pricing-catalog.shared.js +53 -0
  69. package/dist/esm/billing/public-pricing-catalog.shared.js.map +1 -0
  70. package/dist/esm/billing/referral-reward.shared.schemas.d.ts +51 -0
  71. package/dist/esm/billing/referral-reward.shared.schemas.d.ts.map +1 -0
  72. package/dist/esm/billing/referral-reward.shared.schemas.js +92 -0
  73. package/dist/esm/billing/referral-reward.shared.schemas.js.map +1 -0
  74. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts +54 -33
  75. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
  76. package/dist/esm/billing/referral.shared.resources-config.schemas.js +56 -2
  77. package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
  78. package/dist/esm/billing/referral.shared.schemas.d.ts +22 -37
  79. package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
  80. package/dist/esm/billing/referral.shared.schemas.js +24 -44
  81. package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
  82. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +9 -1
  83. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  84. package/dist/esm/billing/subscription.shared.resources-config.schemas.js +55 -22
  85. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  86. package/dist/esm/billing/subscription.shared.schemas.d.ts +80 -5
  87. package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
  88. package/dist/esm/billing/subscription.shared.schemas.js +85 -25
  89. package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
  90. package/dist/esm/billing/usage-record.shared.schemas.js +5 -5
  91. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  92. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +143 -2
  93. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  94. package/dist/esm/companion/provider-discovery.shared.schemas.js +84 -1
  95. package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
  96. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -1
  97. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  98. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +4 -0
  99. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
  100. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts +70 -0
  101. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -1
  102. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js +87 -0
  103. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -1
  104. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +34 -0
  105. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -1
  106. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +137 -3
  107. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -1
  108. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts +7 -0
  109. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
  110. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -1
  111. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +28 -2
  112. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  113. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js +29 -8
  114. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js.map +1 -1
  115. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +29 -6
  116. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  117. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +38 -9
  118. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  119. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +1822 -146
  120. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  121. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +1777 -87
  122. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  123. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts +10 -0
  124. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  125. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +148 -7
  126. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  127. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +2 -0
  128. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
  129. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +2 -0
  130. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
  131. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +0 -8
  132. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +0 -1
  133. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +0 -1
  134. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +17 -8
  135. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -1
  136. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +43 -20
  137. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -1
  138. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts +38 -0
  139. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
  140. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js +39 -0
  141. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
  142. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts +35 -0
  143. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts.map +1 -0
  144. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js +82 -0
  145. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js.map +1 -0
  146. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts +37 -0
  147. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts.map +1 -0
  148. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js +223 -0
  149. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js.map +1 -0
  150. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts +222 -0
  151. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts.map +1 -0
  152. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js +331 -0
  153. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js.map +1 -0
  154. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +37 -3
  155. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
  156. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +33 -4
  157. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
  158. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts +52 -0
  159. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts.map +1 -0
  160. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js +116 -0
  161. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js.map +1 -0
  162. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts +11 -0
  163. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts.map +1 -0
  164. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js +11 -0
  165. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js.map +1 -0
  166. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts +93 -0
  167. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts.map +1 -0
  168. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js +149 -0
  169. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js.map +1 -0
  170. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts +43 -0
  171. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts.map +1 -0
  172. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js +106 -0
  173. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js.map +1 -0
  174. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts +209 -0
  175. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts.map +1 -0
  176. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js +226 -0
  177. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js.map +1 -0
  178. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts +129 -5
  179. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
  180. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js +128 -4
  181. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -1
  182. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts +53 -0
  183. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts.map +1 -0
  184. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js +74 -0
  185. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js.map +1 -0
  186. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts +311 -0
  187. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts.map +1 -0
  188. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js +355 -0
  189. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js.map +1 -0
  190. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +178 -39
  191. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
  192. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +145 -35
  193. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
  194. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
  195. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js +26 -0
  196. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -1
  197. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts +9 -0
  198. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
  199. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
  200. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +109 -1
  201. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  202. package/dist/esm/config/app-configuration-shared.shared.schemas.js +57 -0
  203. package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
  204. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +69 -0
  205. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  206. package/dist/esm/config/entity-identity-config.shared.schemas.js +93 -0
  207. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  208. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +16 -16
  209. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +160 -61
  210. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
  211. package/dist/esm/config/frontend/navigation.shared.schemas.js +297 -65
  212. package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
  213. package/dist/esm/errors/caught-error-description.shared.utils.d.ts +69 -0
  214. package/dist/esm/errors/caught-error-description.shared.utils.d.ts.map +1 -0
  215. package/dist/esm/errors/caught-error-description.shared.utils.js +77 -0
  216. package/dist/esm/errors/caught-error-description.shared.utils.js.map +1 -0
  217. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +76 -3
  218. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  219. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +76 -2
  220. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  221. package/dist/esm/errors/errors.shared.schemas.d.ts +20 -1
  222. package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
  223. package/dist/esm/errors/errors.shared.schemas.js +16 -9
  224. package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
  225. package/dist/esm/errors/errors.shared.utils.d.ts +0 -24
  226. package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
  227. package/dist/esm/errors/errors.shared.utils.js +0 -39
  228. package/dist/esm/errors/errors.shared.utils.js.map +1 -1
  229. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +6 -7
  230. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -1
  231. package/dist/esm/errors/thrown-value-description.shared.utils.js +6 -7
  232. package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -1
  233. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts +70 -0
  234. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts.map +1 -0
  235. package/dist/esm/external-data/external-data-pipeline-description.shared.js +92 -0
  236. package/dist/esm/external-data/external-data-pipeline-description.shared.js.map +1 -0
  237. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts +154 -0
  238. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts.map +1 -0
  239. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js +161 -0
  240. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js.map +1 -0
  241. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +1071 -23
  242. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  243. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +1065 -17
  244. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  245. package/dist/esm/external-data/external-data-provenance.shared.d.ts +71 -0
  246. package/dist/esm/external-data/external-data-provenance.shared.d.ts.map +1 -0
  247. package/dist/esm/external-data/external-data-provenance.shared.js +88 -0
  248. package/dist/esm/external-data/external-data-provenance.shared.js.map +1 -0
  249. package/dist/esm/external-data.exports.d.ts +5 -0
  250. package/dist/esm/external-data.exports.d.ts.map +1 -1
  251. package/dist/esm/external-data.exports.js +11 -0
  252. package/dist/esm/external-data.exports.js.map +1 -1
  253. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +17 -2
  254. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
  255. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +22 -4
  256. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
  257. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
  258. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +3 -0
  259. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  260. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -1
  261. package/dist/esm/external-providers/engine-capability-surface.shared.js +2 -0
  262. package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -1
  263. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +152 -1
  264. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  265. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +4 -3
  266. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
  267. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +4 -3
  268. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
  269. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts +45 -0
  270. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
  271. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js +14 -0
  272. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
  273. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +188 -4
  274. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  275. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +76 -9
  276. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  277. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +175 -33
  278. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
  279. package/dist/esm/external-providers/frontend-provider-public-config.shared.js +247 -42
  280. package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
  281. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts +53 -0
  282. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts.map +1 -0
  283. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js +41 -0
  284. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js.map +1 -0
  285. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts +150 -0
  286. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts.map +1 -0
  287. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js +22 -0
  288. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js.map +1 -0
  289. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts +42 -0
  290. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts.map +1 -0
  291. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js +49 -0
  292. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js.map +1 -0
  293. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +53 -0
  294. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -1
  295. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +56 -0
  296. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -1
  297. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +34 -0
  298. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  299. package/dist/esm/external-providers/provider-capability.shared.schemas.js +34 -0
  300. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  301. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +341 -4
  302. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  303. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +270 -20
  304. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  305. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts +6 -2
  306. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
  307. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +6 -2
  308. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
  309. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +174 -1
  310. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
  311. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +125 -0
  312. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
  313. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +3 -3
  314. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts +42 -0
  315. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts.map +1 -0
  316. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js +57 -0
  317. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js.map +1 -0
  318. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +6 -0
  319. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
  320. package/dist/esm/external-providers/provider-protocol.shared.schemas.js +6 -0
  321. package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
  322. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts +58 -0
  323. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts.map +1 -0
  324. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js +35 -0
  325. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js.map +1 -0
  326. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts +115 -0
  327. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts.map +1 -0
  328. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js +137 -0
  329. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js.map +1 -0
  330. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts +73 -0
  331. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts.map +1 -0
  332. package/dist/esm/external-providers/provider-usage-cost.shared.js +171 -0
  333. package/dist/esm/external-providers/provider-usage-cost.shared.js.map +1 -0
  334. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts +12 -0
  335. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts.map +1 -0
  336. package/dist/esm/external-providers/provider-usage-pricing.example.js +40 -0
  337. package/dist/esm/external-providers/provider-usage-pricing.example.js.map +1 -0
  338. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts +68 -32
  339. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
  340. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js +63 -52
  341. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -1
  342. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +5 -5
  343. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
  344. package/dist/esm/features/application-features.shared.resources-config.schemas.js +13 -5
  345. package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
  346. package/dist/esm/features/connected-feature.example.d.ts.map +1 -1
  347. package/dist/esm/features/connected-feature.example.js +2 -1
  348. package/dist/esm/features/connected-feature.example.js.map +1 -1
  349. package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
  350. package/dist/esm/features/core-feature-definitions.shared.js +2 -1
  351. package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
  352. package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
  353. package/dist/esm/features/feature-builders.shared.js.map +1 -1
  354. package/dist/esm/features/feature-definition.shared.schemas.d.ts +2 -11
  355. package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
  356. package/dist/esm/features/feature-definition.shared.schemas.js +0 -12
  357. package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
  358. package/dist/esm/features/scope-features.shared.schemas.d.ts +31 -17
  359. package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
  360. package/dist/esm/features/scope-features.shared.schemas.js +27 -5
  361. package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
  362. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +5 -5
  363. package/dist/esm/flows-actors/actors.shared.schemas.d.ts +127 -11
  364. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  365. package/dist/esm/flows-actors/actors.shared.schemas.js +32 -1
  366. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  367. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +16 -0
  368. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
  369. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js +7 -0
  370. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -1
  371. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts +68 -0
  372. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts.map +1 -0
  373. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js +276 -0
  374. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js.map +1 -0
  375. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts +468 -0
  376. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts.map +1 -0
  377. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js +472 -0
  378. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js.map +1 -0
  379. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts +118 -0
  380. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts.map +1 -0
  381. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js +144 -0
  382. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js.map +1 -0
  383. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +142 -8
  384. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  385. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +209 -11
  386. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  387. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +37 -2
  388. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  389. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +30 -2
  390. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  391. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts +0 -11
  392. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
  393. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js +12 -5
  394. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
  395. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts +45 -6
  396. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
  397. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js +31 -5
  398. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
  399. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js +30 -30
  400. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
  401. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +15 -7
  402. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  403. package/dist/esm/flows-actors/flows.shared.schemas.d.ts +15 -0
  404. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  405. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +506 -0
  406. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -1
  407. package/dist/esm/flows-actors/human-decision.shared.schemas.js +502 -0
  408. package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -1
  409. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts +46 -0
  410. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts.map +1 -0
  411. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js +65 -0
  412. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js.map +1 -0
  413. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts +120 -0
  414. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts.map +1 -0
  415. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js +165 -0
  416. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js.map +1 -0
  417. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts +45 -0
  418. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts.map +1 -0
  419. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js +127 -0
  420. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js.map +1 -0
  421. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts +83 -0
  422. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts.map +1 -0
  423. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js +97 -0
  424. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js.map +1 -0
  425. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts +136 -0
  426. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts.map +1 -0
  427. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js +90 -0
  428. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js.map +1 -0
  429. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +5 -1
  430. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -1
  431. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +19 -4
  432. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -1
  433. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +13 -15
  434. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -1
  435. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +30 -17
  436. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -1
  437. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts +268 -0
  438. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts.map +1 -0
  439. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js +576 -0
  440. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js.map +1 -0
  441. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +30 -0
  442. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
  443. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts +129 -0
  444. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts.map +1 -0
  445. package/dist/esm/flows-actors/work-attribution.shared.schemas.js +141 -0
  446. package/dist/esm/flows-actors/work-attribution.shared.schemas.js.map +1 -0
  447. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts +22 -1
  448. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map +1 -1
  449. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js +23 -0
  450. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
  451. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +61 -0
  452. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
  453. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +61 -0
  454. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
  455. package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
  456. package/dist/esm/guidance/guidance-state.shared.schemas.js +11 -10
  457. package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
  458. package/dist/esm/guidance/lifecycle-state.shared.schemas.js +6 -6
  459. package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
  460. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  461. package/dist/esm/guidance/progression-state.shared.schemas.js +8 -7
  462. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  463. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +1 -1
  464. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
  465. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +550 -30
  466. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  467. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +498 -34
  468. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  469. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts +62 -0
  470. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts.map +1 -0
  471. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js +66 -0
  472. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js.map +1 -0
  473. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts +133 -0
  474. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts.map +1 -0
  475. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js +191 -0
  476. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js.map +1 -0
  477. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +37 -6
  478. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -1
  479. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +37 -6
  480. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -1
  481. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts +36 -0
  482. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts.map +1 -0
  483. package/dist/esm/i18n/application-config-vocabulary.shared.js +39 -0
  484. package/dist/esm/i18n/application-config-vocabulary.shared.js.map +1 -0
  485. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts +11 -0
  486. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts.map +1 -0
  487. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js +14 -0
  488. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js.map +1 -0
  489. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts +20 -0
  490. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts.map +1 -0
  491. package/dist/esm/i18n/engine-open-vocabulary.shared.js +21 -0
  492. package/dist/esm/i18n/engine-open-vocabulary.shared.js.map +1 -0
  493. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts +94 -0
  494. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts.map +1 -0
  495. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js +206 -0
  496. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js.map +1 -0
  497. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts +169 -0
  498. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts.map +1 -0
  499. package/dist/esm/inbound/conversation-threads.shared.schemas.js +231 -0
  500. package/dist/esm/inbound/conversation-threads.shared.schemas.js.map +1 -0
  501. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts +195 -0
  502. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts.map +1 -0
  503. package/dist/esm/inbound/inbound-channels.shared.schemas.js +244 -0
  504. package/dist/esm/inbound/inbound-channels.shared.schemas.js.map +1 -0
  505. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts +36 -0
  506. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts.map +1 -0
  507. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js +169 -0
  508. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js.map +1 -0
  509. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts +404 -0
  510. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts.map +1 -0
  511. package/dist/esm/inbound/inbound-delivery.shared.schemas.js +449 -0
  512. package/dist/esm/inbound/inbound-delivery.shared.schemas.js.map +1 -0
  513. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts +46 -0
  514. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts.map +1 -0
  515. package/dist/esm/inbound/inbound-endpoint-env.shared.js +57 -0
  516. package/dist/esm/inbound/inbound-endpoint-env.shared.js.map +1 -0
  517. package/dist/esm/index.d.ts +58 -1
  518. package/dist/esm/index.d.ts.map +1 -1
  519. package/dist/esm/index.js +67 -1
  520. package/dist/esm/index.js.map +1 -1
  521. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +28 -0
  522. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -1
  523. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js +29 -0
  524. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
  525. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +95 -1
  526. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -1
  527. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +121 -0
  528. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -1
  529. package/dist/esm/meta-workflows.exports.d.ts +0 -1
  530. package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
  531. package/dist/esm/meta-workflows.exports.js +0 -1
  532. package/dist/esm/meta-workflows.exports.js.map +1 -1
  533. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +7 -1
  534. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  535. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js +35 -0
  536. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  537. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts +131 -0
  538. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts.map +1 -0
  539. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js +258 -0
  540. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js.map +1 -0
  541. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts +448 -0
  542. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts.map +1 -0
  543. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js +530 -0
  544. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js.map +1 -0
  545. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  546. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -3
  547. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
  548. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +16 -1
  549. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  550. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +46 -16
  551. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  552. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +19 -12
  553. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
  554. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +77 -12
  555. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
  556. package/dist/esm/notifications/notification-badges.schemas.d.ts +35 -3
  557. package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
  558. package/dist/esm/notifications/notification-badges.schemas.js +43 -3
  559. package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
  560. package/dist/esm/notifications/notifications.shared.schemas.d.ts +66 -399
  561. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  562. package/dist/esm/notifications/notifications.shared.schemas.js +111 -58
  563. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  564. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +5 -5
  565. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +6 -6
  566. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
  567. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +3 -0
  568. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
  569. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +60 -14
  570. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
  571. package/dist/esm/organizations/organization-members.shared.schemas.d.ts +3 -0
  572. package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
  573. package/dist/esm/organizations/organization-members.shared.schemas.js +30 -0
  574. package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
  575. package/dist/esm/organizations/organization-notifications.shared.schemas.js +9 -9
  576. package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
  577. package/dist/esm/organizations/organization-preferences.shared.schemas.js +4 -4
  578. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  579. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts +0 -1
  580. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
  581. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +5 -5
  582. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  583. package/dist/esm/organizations/organization-profile.shared.schemas.js +15 -10
  584. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  585. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js +1 -1
  586. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -1
  587. package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
  588. package/dist/esm/organizations/organization-unit-members.shared.schemas.js +2 -1
  589. package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -1
  590. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts +63 -1
  591. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
  592. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js +106 -5
  593. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -1
  594. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  595. package/dist/esm/organizations/organization-unit-narrowing.shared.js +9 -0
  596. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  597. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
  598. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js +7 -2
  599. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
  600. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +3 -1
  601. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  602. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +12 -8
  603. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  604. package/dist/esm/organizations/organizations.shared.schemas.d.ts +7 -2
  605. package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
  606. package/dist/esm/organizations/organizations.shared.schemas.js +51 -1
  607. package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
  608. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts +58 -0
  609. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts.map +1 -0
  610. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js +188 -0
  611. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js.map +1 -0
  612. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts +122 -0
  613. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts.map +1 -0
  614. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js +136 -0
  615. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js.map +1 -0
  616. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts +36 -0
  617. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts.map +1 -0
  618. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js +155 -0
  619. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js.map +1 -0
  620. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts +229 -0
  621. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts.map +1 -0
  622. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js +290 -0
  623. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js.map +1 -0
  624. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts +48 -0
  625. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts.map +1 -0
  626. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js +50 -0
  627. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js.map +1 -0
  628. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts +97 -0
  629. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts.map +1 -0
  630. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js +572 -0
  631. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js.map +1 -0
  632. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts +590 -0
  633. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts.map +1 -0
  634. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js +869 -0
  635. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js.map +1 -0
  636. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +36 -6
  637. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
  638. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +57 -16
  639. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
  640. package/dist/esm/provider-registration-runtime.exports.d.ts +0 -1
  641. package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
  642. package/dist/esm/provider-registration-runtime.exports.js +0 -1
  643. package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
  644. package/dist/esm/public-runtime/index.d.ts +30 -11
  645. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  646. package/dist/esm/public-runtime/index.js +30 -11
  647. package/dist/esm/public-runtime/index.js.map +1 -1
  648. package/dist/esm/queue/jobs.shared.schemas.d.ts +36 -8
  649. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  650. package/dist/esm/queue/jobs.shared.schemas.js +12 -0
  651. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  652. package/dist/esm/requests/header-keys.shared.d.ts +6 -0
  653. package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
  654. package/dist/esm/requests/header-keys.shared.js +7 -0
  655. package/dist/esm/requests/header-keys.shared.js.map +1 -1
  656. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
  657. package/dist/esm/requests/manual-controllers-routes-documentation.js +147 -8
  658. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
  659. package/dist/esm/requests/manual-controllers-routes-urls.d.ts +51 -23
  660. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  661. package/dist/esm/requests/manual-controllers-routes-urls.js +64 -0
  662. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  663. package/dist/esm/requests/websocket.shared.schemas.d.ts +78 -13
  664. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  665. package/dist/esm/requests/websocket.shared.schemas.js +91 -18
  666. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  667. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts +21 -0
  668. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts.map +1 -0
  669. package/dist/esm/resources/embedded-resource-mark.shared.utils.js +22 -0
  670. package/dist/esm/resources/embedded-resource-mark.shared.utils.js.map +1 -0
  671. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  672. package/dist/esm/resources/resources-config.shared.factory.js +812 -32
  673. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  674. package/dist/esm/resources/resources-config.shared.schemas.d.ts +244 -48
  675. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  676. package/dist/esm/resources/resources-config.shared.schemas.js +151 -17
  677. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  678. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  679. package/dist/esm/resources/resources-registry.shared.core.definitions.js +353 -12
  680. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  681. package/dist/esm/resources/resources.shared.core.definitions.d.ts +45 -0
  682. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  683. package/dist/esm/resources/resources.shared.core.definitions.js +92 -0
  684. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  685. package/dist/esm/resources/resources.shared.schemas.d.ts +2 -17
  686. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  687. package/dist/esm/resources/resources.shared.schemas.js +24 -20
  688. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  689. package/dist/esm/resources/resources.shared.utils.d.ts +16 -8
  690. package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
  691. package/dist/esm/resources/resources.shared.utils.js +16 -8
  692. package/dist/esm/resources/resources.shared.utils.js.map +1 -1
  693. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts +2 -2
  694. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
  695. package/dist/esm/resources/utils/collection-export.shared.utils.js +4 -2
  696. package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -1
  697. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts +103 -0
  698. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts.map +1 -0
  699. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js +275 -0
  700. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js.map +1 -0
  701. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts +51 -0
  702. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts.map +1 -0
  703. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js +28 -0
  704. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js.map +1 -0
  705. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -1
  706. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +30 -19
  707. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -1
  708. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts +2 -0
  709. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts.map +1 -0
  710. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js +33 -0
  711. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js.map +1 -0
  712. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts +15 -0
  713. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
  714. package/dist/esm/resources/utils/resource-polymorphism.factory.js +6 -1
  715. package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
  716. package/dist/esm/resources/utils/resource-polymorphism.schemas.js +30 -4
  717. package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
  718. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +46 -0
  719. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
  720. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +205 -22
  721. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
  722. package/dist/esm/resources/utils/resources-serialization.utils.d.ts +19 -2
  723. package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
  724. package/dist/esm/resources/utils/resources-serialization.utils.js +4 -0
  725. package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
  726. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  727. package/dist/esm/resources/utils/shared-persistence-collection.utils.js +15 -9
  728. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  729. package/dist/esm/resources/work-unit.shared.schemas.d.ts +20 -0
  730. package/dist/esm/resources/work-unit.shared.schemas.d.ts.map +1 -0
  731. package/dist/esm/resources/work-unit.shared.schemas.js +19 -0
  732. package/dist/esm/resources/work-unit.shared.schemas.js.map +1 -0
  733. package/dist/esm/runtime/execution-context.shared.schemas.d.ts +48 -1
  734. package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
  735. package/dist/esm/runtime/execution-context.shared.schemas.js +101 -9
  736. package/dist/esm/runtime/execution-context.shared.schemas.js.map +1 -1
  737. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +1 -0
  738. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  739. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +37 -20
  740. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  741. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts +1 -0
  742. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  743. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +61 -48
  744. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  745. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts +26 -0
  746. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
  747. package/dist/esm/security/api-keys/api-keys.shared.schemas.js +39 -5
  748. package/dist/esm/security/api-keys/api-keys.shared.schemas.js.map +1 -1
  749. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +5 -3
  750. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  751. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +6 -0
  752. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  753. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +2 -2
  754. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
  755. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts +11 -0
  756. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
  757. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +19 -8
  758. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
  759. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +1 -1
  760. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +5 -5
  761. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  762. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +11 -11
  763. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
  764. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts +2 -0
  765. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
  766. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js +9 -0
  767. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
  768. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts +169 -0
  769. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts.map +1 -0
  770. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js +162 -0
  771. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js.map +1 -0
  772. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
  773. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +10 -8
  774. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
  775. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +8 -8
  776. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
  777. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  778. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +17 -16
  779. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  780. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  781. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +28 -25
  782. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  783. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts +17 -6
  784. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
  785. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +90 -38
  786. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
  787. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +0 -24
  788. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  789. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +79 -68
  790. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  791. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +8 -1
  792. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
  793. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +7 -0
  794. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
  795. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +1 -1
  796. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
  797. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +7 -7
  798. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
  799. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
  800. package/dist/esm/security/authorizations/roles.shared.defaults.js +56 -0
  801. package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
  802. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +77 -1
  803. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
  804. package/dist/esm/security/authorizations/roles.shared.schemas.js +90 -0
  805. package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
  806. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts +86 -0
  807. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts.map +1 -0
  808. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js +40 -0
  809. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js.map +1 -0
  810. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +2 -1
  811. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
  812. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js +2 -1
  813. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
  814. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +2 -1
  815. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
  816. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +2 -1
  817. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
  818. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +46 -14
  819. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
  820. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +81 -21
  821. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
  822. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts +69 -0
  823. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts.map +1 -0
  824. package/dist/esm/security/credential-rotation-grace.shared.utils.js +77 -0
  825. package/dist/esm/security/credential-rotation-grace.shared.utils.js.map +1 -0
  826. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  827. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +28 -8
  828. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  829. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +3 -1
  830. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  831. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +89 -14
  832. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  833. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +1 -0
  834. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
  835. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +25 -4
  836. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
  837. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +7 -1
  838. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -1
  839. package/dist/esm/security/outbound-target-control.shared.schemas.js +6 -0
  840. package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -1
  841. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts +143 -0
  842. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts.map +1 -0
  843. package/dist/esm/security/submission-challenge/submission-challenge.shared.js +123 -0
  844. package/dist/esm/security/submission-challenge/submission-challenge.shared.js.map +1 -0
  845. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts +384 -0
  846. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts.map +1 -0
  847. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js +327 -0
  848. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js.map +1 -0
  849. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +121 -8
  850. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -1
  851. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +83 -4
  852. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -1
  853. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +266 -8
  854. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -1
  855. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +291 -7
  856. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -1
  857. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +313 -3
  858. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -1
  859. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +369 -3
  860. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -1
  861. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -1
  862. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +2 -1
  863. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -1
  864. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +5 -3
  865. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
  866. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js +19 -10
  867. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
  868. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
  869. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +6 -0
  870. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
  871. package/dist/esm/users/user-preferences-reset.shared.utils.js +2 -2
  872. package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
  873. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +0 -3
  874. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  875. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +0 -3
  876. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  877. package/dist/esm/users/user-self.shared.resources-config.schemas.js +1 -1
  878. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  879. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  880. package/dist/esm/users/users.shared.resources-config.schemas.js +82 -20
  881. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  882. package/dist/esm/users/users.shared.schemas.d.ts +12 -9
  883. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  884. package/dist/esm/users/users.shared.schemas.js +49 -18
  885. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  886. package/package.json +4 -4
  887. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js +0 -7
  888. package/dist/tsconfig.build.tsbuildinfo +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"websocket.shared.schemas.js","sourceRoot":"","sources":["../../../../src/requests/websocket.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AACzH,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EACL,yBAAyB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC5H,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAA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CAAiF,CAAC;AAC/G,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAC1C,KAAQ,EACR,OAAgB;IAEhB,MAAM,MAAM,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACzC,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,IAAoF,EAAE,CAAC;IAC9H,CAAC;IACD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC;AACjD,CAAC","sourcesContent":["import { z } from 'zod';\nimport { DataMode } from '../resources/resources-config.shared.schemas';\nimport { FrontendDisplayHintsSchema, UserNotificationTargetSchema } from '../notifications/notifications.shared.schemas';\nimport { ValueMomentRole, ValueMomentScope } from '../config/analytics-value-moments.shared.schemas';\nimport { OnboardingStatus } from '../config/frontend/onboarding.shared.schemas';\nimport { GuidanceFlowScope, GuidanceRenderMode } from '../guidance/guidance-flow.shared.schemas';\nimport { CelebrationDisplayMode } from '../notifications/notifications.shared.schemas';\nimport {\n MilestoneCelebrationLevel, ProgressionScope, MilestoneRewardType } from '../guidance/milestone-definition.shared.schemas';\nimport { LifecycleStage, LifecycleScope } from '../guidance/lifecycle-state.shared.schemas';\nimport { ResourceOperationVariantType } from '../resources/resources.shared.schemas';\nimport { ResourcePrimaryScope } from '../resources/resources.shared.schemas';\n\n// =====================================================\n// WebSocket Event Types (Core Framework Events)\n// =====================================================\n\n/**\n * Core WebSocket events defined by the engine.\n * Custom events use the RESOURCE_CUSTOM type with eventName field.\n */\nexport enum CoreWebSocketEvent {\n // === Room Management Events (client → server) ===\n RESOURCE_SUBSCRIBE = 'resource:subscribe',\n RESOURCE_UNSUBSCRIBE = 'resource:unsubscribe',\n RESOURCE_SUBSCRIBED = 'resource:subscribed', // Server confirmation\n RESOURCE_UNSUBSCRIBED = 'resource:unsubscribed', // Server confirmation\n\n // === Target-Based Notification Events (server → client, via identity rooms) ===\n RESOURCE_NOTIFICATION = 'resource:notification',\n USER_NOTIFICATION = 'user:notification', // Direct user notification (not tied to resource operation)\n BADGE_UPDATE = 'badge:update',\n BADGE_GET = 'badge:get',\n BADGE_GET_ALL = 'badge:get-all',\n\n // === Resource Room Events (bidirectional, via resource rooms) ===\n RESOURCE_UPDATED = 'resource:updated',\n RESOURCE_DELETED = 'resource:deleted',\n RESOURCE_EDITING_START = 'resource:editing:start',\n RESOURCE_EDITING_END = 'resource:editing:end',\n RESOURCE_EDITING_STARTED = 'resource:editing:started', // Server confirmation\n RESOURCE_EDITING_ERROR = 'resource:editing:error',\n RESOURCE_LOCKED = 'resource:locked',\n RESOURCE_UNLOCKED = 'resource:unlocked',\n RESOURCE_CUSTOM = 'resource:custom',\n RESOURCE_CUSTOM_ERROR = 'resource:custom:error',\n\n /**\n * How far a BACKGROUND BULK run has got, sent to the person who started it (server → client).\n *\n * Addressed to the USER rather than to a resource room: the run spans many rows, so no row's room\n * is the right place, and the job's own row is an internal record most people cannot read. The\n * rows themselves still broadcast their ordinary sync events as they change, so the listing\n * updates itself; this event is what lets the surface say how much is left (#1461).\n */\n BULK_JOB_PROGRESS = 'bulk-job:progress',\n\n // === FlowsActors Events (bidirectional) ===\n FLOWS_ACTORS_START = 'flows-actors:start',\n FLOWS_ACTORS_STARTED = 'flows-actors:started',\n FLOWS_ACTORS_MESSAGE = 'flows-actors:message',\n FLOWS_ACTORS_APPROVAL_REQUEST = 'flows-actors:approval-request',\n FLOWS_ACTORS_APPROVAL_RESPONSE = 'flows-actors:approval-response',\n FLOWS_ACTORS_STATUS_UPDATE = 'flows-actors:status-update',\n FLOWS_ACTORS_COMPLETED = 'flows-actors:completed',\n FLOWS_ACTORS_ERROR = 'flows-actors:error',\n\n // === Billing Events (server → client, invalidation triggers) ===\n BILLING_STATUS_CHANGED = 'billing:status_changed',\n BILLING_SUBSCRIPTION_UPDATED = 'billing:subscription_updated',\n BILLING_ACCOUNT_CHANGED = 'billing:account_changed',\n BILLING_USAGE_UPDATED = 'billing:usage_updated',\n BILLING_CREDIT_POOL_UPDATED = 'billing:credit_pool_updated',\n BILLING_FEATURES_UPDATED = 'billing:features_updated',\n\n // === Analytics Events ===\n ANALYTICS_MOMENT_ACHIEVED = 'analytics:moment-achieved',\n\n // === Guidance Events ===\n GUIDANCE_STATE_CHANGED = 'guidance:state-changed',\n\n // === Progression Events ===\n MILESTONE_ACHIEVED = 'progression:milestone-achieved',\n /**\n * Emitted after a milestone-triggering operation increments a scope's\n * `operationCounts` — even when NO milestone was achieved. Lets the frontend\n * advance in-progress milestone bars live (e.g. 8/10 → 9/10) instead of only\n * on achievement or a page reload.\n */\n PROGRESSION_UPDATED = 'progression:updated',\n\n // === Lifecycle Events ===\n LIFECYCLE_STAGE_CHANGED = 'lifecycle:stage-changed',\n\n // === System Events ===\n AUTH_REFRESH = 'auth:refresh',\n ORGANIZATION_SWITCH = 'organization:switch',\n SYSTEM_TOKEN_REFRESHED = 'system:token-refreshed',\n SYSTEM_ERROR = 'system:error',\n}\n\n/**\n * Machine-readable codes attached to a Socket.IO handshake rejection.\n *\n * A rejecting server-side auth middleware calls `next(err)`; Socket.IO forwards\n * the error's `data` field verbatim to the client's `connect_error` handler as\n * `err.data`. Emitting a stable code there lets the client react to WHY the\n * handshake was rejected WITHOUT matching on the human-readable error message\n * (which is localisation- and refactor-fragile).\n *\n * `AUTHENTICATION_FAILED` specifically flags an access-token problem the client\n * can self-heal: the frontend re-runs its token-renewal handler and reconnects\n * with a fresh token. This is what keeps a backgrounded / unfocused tab's socket\n * alive across access-token expiry, when no HTTP traffic is flowing to trigger a\n * reactive refresh (background real-time jobs keep delivering instead of stalling\n * until the user refocuses the window).\n */\nexport enum CoreWebSocketConnectionErrorCode {\n AUTHENTICATION_FAILED = 'AUTHENTICATION_FAILED',\n}\n\nexport enum ResourceAction {\n CREATED = 'created',\n UPDATED = 'updated',\n DELETED = 'deleted',\n}\n\nexport const ResourceActionSchema = z.union([z.enum(ResourceAction), z.string()]);\n\nexport enum WebSocketResourceDeliveryTarget {\n RESOURCE_ROOM_SYNC = 'resource-room-sync',\n RESOURCE_ROOM_NOTIFICATION = 'resource-room-notification',\n SCOPE_ROOM_NOTIFICATION = 'scope-room-notification',\n}\n\nexport const WebSocketResourceDeliveryTargetSchema = z.enum(WebSocketResourceDeliveryTarget);\n\n/**\n * Union type for WebSocket event names (core + custom string events)\n */\nexport type WebSocketEventName = CoreWebSocketEvent | `custom:${string}`;\n\n// =====================================================\n// Common Schemas (reusable across payloads)\n// =====================================================\n\nexport const ContextResourceIdentifiersSchema = z.record(z.string(), z.string());\nexport type ContextResourceIdentifiers = z.infer<typeof ContextResourceIdentifiersSchema>;\n\nconst WebSocketTimestampInputSchema = z.union([\n z.date(),\n z.string().datetime({ offset: true }),\n]);\nconst WebSocketTimestampSchema = WebSocketTimestampInputSchema.pipe(z.coerce.date());\nconst WebSocketOptionalTimestampSchema = WebSocketTimestampSchema.optional();\n\n\n// =====================================================\n// Room Management Payloads (client → server)\n// =====================================================\n\nconst WS_ResourceSubscribePayloadBaseSchema = z.object({\n resourceType: z.string().min(1),\n contextResourceIdentifiers: ContextResourceIdentifiersSchema,\n});\n\n/** Subscribe to a specific resource room. */\nconst WS_ResourceSubscribeSinglePayloadSchema = WS_ResourceSubscribePayloadBaseSchema.extend({\n resourceId: z.string().min(1),\n scopeKey: z.undefined().optional(),\n scopeId: z.undefined().optional(),\n});\n\n/** Subscribe to a scoped collection room. */\nconst WS_ResourceSubscribeScopePayloadSchema = WS_ResourceSubscribePayloadBaseSchema.extend({\n resourceId: z.undefined().optional(),\n scopeKey: z.string().min(1),\n scopeId: z.string().min(1),\n});\n\n/** Subscribe to a resource room - either single-resource or scoped collection. */\nexport const WS_ResourceSubscribePayloadSchema = z.union([\n WS_ResourceSubscribeSinglePayloadSchema,\n WS_ResourceSubscribeScopePayloadSchema,\n]);\nexport type WS_ResourceSubscribePayload = z.infer<typeof WS_ResourceSubscribePayloadSchema>;\n\n/** Server confirmation of subscription */\nexport const WS_ResourceSubscribedPayloadSchema = z.object({\n roomName: z.string(),\n success: z.boolean(),\n error: z.string().optional(),\n /** List of user IDs currently editing this resource (only for single resource subscriptions) */\n editingUsers: z.array(z.string()).optional(),\n});\nexport type WS_ResourceSubscribedPayload = z.infer<typeof WS_ResourceSubscribedPayloadSchema>;\n\n// =====================================================\n// Notification Payloads (server → client, target-based)\n// =====================================================\n\n/**\n * Notification level enum for typed notifications\n */\nexport enum NotificationLevel {\n INFO = 'info',\n SUCCESS = 'success',\n WARNING = 'warning',\n ERROR = 'error',\n}\n\nexport const NotificationLevelSchema = z.enum(NotificationLevel);\n\n/** Resource notification via identity rooms (org, role, user) */\nexport const WS_ResourceNotificationPayloadSchema = z.object({\n // Operation path fields (for EventBus matching)\n resourceType: z.string(),\n operationIdentifier: z.string(),\n operationPathKey: z.string().optional(),\n variantType: z.enum(ResourceOperationVariantType).optional(),\n isOperationDefault: z.boolean().default(false),\n isBulkOperation: z.boolean().default(false),\n variantKey: z.string().optional(),\n\n // Context for scoped matching\n contextResourceIdentifiers: ContextResourceIdentifiersSchema.optional(),\n\n /** Server-authored delivery policy. Keep the frame for data refresh even when its message is suppressed. */\n deliveryPolicy: z.object({\n target: UserNotificationTargetSchema,\n alwaysDeliver: z.boolean(),\n }),\n\n // Notification data\n action: ResourceActionSchema,\n /** Explicit notification level (overrides action-based default) */\n notificationLevel: NotificationLevelSchema.optional(),\n affectedIds: z.array(z.string()),\n notificationIdentifier: z.string().optional(),\n initiatorUserId: z.string().optional(),\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n\n /**\n * Frontend display hints (only populated for FRONT_END_SUCCESS channel).\n * Contains optional celebration mode and next-step suggestion.\n * Backend passes these through without interpreting them — the frontend\n * reads them to decide rendering (toast vs overlay vs confetti, with or without CTA).\n */\n frontendDisplayHints: FrontendDisplayHintsSchema.optional(),\n});\nexport type WS_ResourceNotificationPayload = z.infer<typeof WS_ResourceNotificationPayloadSchema>;\n\n/** Badge count update */\nexport const WS_BadgeUpdatePayloadSchema = z.object({\n badgeReference: z.string(),\n badgeCount: z.number().int().min(0),\n organizationId: z.string().optional(),\n});\nexport type WS_BadgeUpdatePayload = z.infer<typeof WS_BadgeUpdatePayloadSchema>;\n\n/**\n * Display target enum for user notifications\n */\nexport enum NotificationDisplayTarget {\n TOAST = 'toast',\n CENTER = 'center',\n BOTH = 'both',\n}\n\nexport const NotificationDisplayTargetSchema = z.enum(NotificationDisplayTarget);\n\n/**\n * Direct user notification (not tied to resource operation)\n * Used for arbitrary backend-initiated notifications like:\n * - \"Your export is ready\"\n * - \"Payment received\"\n * - \"System maintenance scheduled\"\n */\nexport const WS_UserNotificationPayloadSchema = z.object({\n /** Notification level (info, success, warning, error) */\n notificationLevel: NotificationLevelSchema,\n /** i18n identifier for message lookup (FrontendNotificationCustomMessageRefs) */\n identifier: z.string().optional(),\n /** Direct message (fallback if identifier not found or not provided) */\n message: z.string().optional(),\n /** Optional notification title */\n title: z.string().optional(),\n /** Additional context data */\n data: z.record(z.string(), z.unknown()).optional(),\n /** Where to display the notification */\n displayTarget: NotificationDisplayTargetSchema.default(NotificationDisplayTarget.BOTH),\n /** Organization context (if notification is org-scoped) */\n organizationId: z.string().optional(),\n /** Timestamp */\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n});\nexport type WS_UserNotificationPayload = z.infer<typeof WS_UserNotificationPayloadSchema>;\n\n// =====================================================\n// Analytics Payloads (server → client)\n// =====================================================\n\n/** Analytics moment achievement notification */\nexport const WS_AnalyticsMomentAchievedPayloadSchema = z.object({\n momentIdentifier: z.string(),\n role: z.enum(ValueMomentRole),\n scope: z.enum(ValueMomentScope),\n scopeEntityId: z.string(),\n achievedAt: WebSocketTimestampSchema,\n triggerSource: z.enum(['frontend', 'backend'] as const),\n});\nexport type WS_AnalyticsMomentAchievedPayload = z.infer<typeof WS_AnalyticsMomentAchievedPayloadSchema>;\n\n// =====================================================\n// Guidance Event Payloads\n// =====================================================\n\n/** Guidance state changed event — pushed by backend or frontend for real-time sync */\nexport const GuidanceRealtimeStatusSchema = z.union([\n z.literal(OnboardingStatus.IN_PROGRESS),\n z.literal(OnboardingStatus.COMPLETED),\n z.literal(OnboardingStatus.DISMISSED),\n]);\n\n/** Guidance state changed event — only statuses broadcast through the realtime bridge. */\nexport const WS_GuidanceStateChangedPayloadSchema = z.object({\n flowRef: z.string(),\n status: GuidanceRealtimeStatusSchema,\n elementRef: z.string().optional(),\n triggerSource: z.enum(['frontend', 'backend'] as const),\n /** Which scope this event pertains to — determines how frontend routes state updates */\n scope: z.enum(GuidanceFlowScope),\n renderMode: z.enum(GuidanceRenderMode).optional(),\n});\nexport type WS_GuidanceStateChangedPayload = z.infer<typeof WS_GuidanceStateChangedPayloadSchema>;\n\n// =====================================================\n// Progression Event Payloads\n// =====================================================\n\n/** Milestone achieved event — pushed by backend when a milestone condition is met */\nexport const WS_MilestoneAchievedPayloadSchema = z.object({\n milestoneRef: z.string(),\n category: z.string(),\n points: z.number().int().optional(),\n /** Which scope this milestone belongs to — determines how frontend routes state updates */\n scope: z.enum(ProgressionScope),\n reward: z.object({\n type: z.enum(MilestoneRewardType),\n featureRef: z.string().optional(),\n guidanceFlowRef: z.string().optional(),\n /*\n * Typed against the named vocabulary rather than the inline union it was — the same correction\n * the lifecycle fields below record, for the same reason: this payload is what the frontend\n * derives a presentation from, and an untyped copy of a vocabulary drifts from it in silence.\n */\n celebrationLevel: z.enum(MilestoneCelebrationLevel).optional(),\n /** An explicit presentation, overriding whatever the level would have chosen. */\n celebrationMode: z.enum(CelebrationDisplayMode).optional(),\n }),\n /** Phase 5 integration: lifecycle transition triggered by this milestone */\n /**\n * Typed against the named vocabulary, like `WS_LifecycleStageChangedPayloadSchema` a few\n * declarations below — these two were `z.string()` while their neighbour used\n * `z.enum(LifecycleStage)` for the same fact. See `MilestoneLifecycleTransition` for what the\n * untyped form cost.\n */\n lifecycleTransition: z.object({\n from: z.enum(LifecycleStage),\n to: z.enum(LifecycleStage),\n }).optional(),\n /** Timestamp of achievement */\n achievedAt: WebSocketTimestampSchema,\n /** Updated total points (post-achievement) */\n totalPoints: z.number().int(),\n});\nexport type WS_MilestoneAchievedPayload = z.infer<typeof WS_MilestoneAchievedPayloadSchema>;\n\n/**\n * Progression progress event — pushed by backend after a milestone-triggering\n * operation increments the scope's `operationCounts`, regardless of whether a\n * milestone was achieved. Carries the authoritative post-increment counts so\n * the frontend can advance in-progress bars without a refetch (the backend\n * evaluation is fire-and-forget, so the frontend cannot re-read counts\n * race-free on its own).\n */\nexport const WS_ProgressionUpdatedPayloadSchema = z.object({\n /** Which scope's progression state changed. */\n scope: z.enum(ProgressionScope),\n /** Full post-increment operation-count map for the scope (`{ 'todos:create': 9 }`). */\n operationCounts: z.record(z.string(), z.number().int()),\n /** Current total points for the scope (unchanged unless a milestone also fired). */\n totalPoints: z.number().int(),\n /** When the increment was applied. */\n updatedAt: WebSocketTimestampSchema,\n});\nexport type WS_ProgressionUpdatedPayload = z.infer<typeof WS_ProgressionUpdatedPayloadSchema>;\n\n// =====================================================\n// Lifecycle Event Payloads\n// =====================================================\n\n/** Lifecycle stage changed event — pushed by backend when a lifecycle transition occurs */\nexport const WS_LifecycleStageChangedPayloadSchema = z.object({\n /** Previous stage before transition */\n previousStage: z.enum(LifecycleStage),\n /** New stage after transition */\n newStage: z.enum(LifecycleStage),\n /** Which scope this lifecycle state belongs to */\n scope: z.enum(LifecycleScope),\n /** What triggered the transition */\n trigger: z.string().optional(),\n /** When the transition occurred */\n changedAt: WebSocketTimestampSchema,\n /** Activation progress snapshot (for SIGNED_UP → ACTIVATED tracking) */\n activationCriteriaMet: z.record(z.string(), z.boolean()).optional(),\n});\nexport type WS_LifecycleStageChangedPayload = z.infer<typeof WS_LifecycleStageChangedPayloadSchema>;\n\n// =====================================================\n// CRDT Field Metadata (shared between backend + frontend)\n// =====================================================\n\n/**\n * Per-field CRDT metadata: server-authoritative timestamp + last editor.\n * `meta` is an extensibility slot for future per-field metadata (e.g. merge strategy hints,\n * conflict resolution context) without requiring a schema migration.\n */\nexport const FieldMetaEntrySchema = z.object({\n ts: z.number(),\n by: z.string(),\n meta: z.record(z.string(), z.unknown()).optional(),\n});\nexport type FieldMetaEntry = z.infer<typeof FieldMetaEntrySchema>;\n\nexport const FieldMetaMapSchema = z.record(z.string(), FieldMetaEntrySchema);\nexport type FieldMetaMap = z.infer<typeof FieldMetaMapSchema>;\n\n// =====================================================\n// Resource Room Payloads (path-independent collaboration)\n// =====================================================\n\nconst ResourceUpdateSyncActionSchema = z.union([\n z.literal(ResourceAction.CREATED),\n z.literal(ResourceAction.UPDATED),\n]);\n\nconst WS_ResourceEventCommonPayloadSchema = z.object({\n resourceType: z.string(),\n resourceId: z.string(),\n contextResourceIdentifiers: ContextResourceIdentifiersSchema,\n affectedIds: z.array(z.string()).optional(),\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n});\n\nconst WS_ResourceUpdateNotificationPayloadCommonSchema = WS_ResourceEventCommonPayloadSchema.extend({\n affectedIds: z.array(z.string()).min(1),\n action: ResourceActionSchema,\n operationIdentifier: z.string().optional(),\n operationPathKey: z.string().optional(),\n variantType: z.enum(ResourceOperationVariantType).optional(),\n isOperationDefault: z.boolean().optional(),\n isBulkOperation: z.boolean().optional(),\n variantKey: z.string().optional(),\n initiatorUserId: z.string().optional(),\n version: z.number().optional(),\n resourceData: z.unknown().optional(),\n fieldMeta: FieldMetaMapSchema.optional(),\n // DataMode values match directly: DataMode.RAW === 'raw', etc.\n dataMode: z.enum(DataMode).optional(),\n});\n/** Notification-grade resource update event delivered to scope rooms. */\nexport const WS_ScopeRoomUpdateNotificationPayloadSchema = WS_ResourceUpdateNotificationPayloadCommonSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.SCOPE_ROOM_NOTIFICATION),\n});\nexport type WS_ScopeRoomUpdateNotificationPayload = z.infer<typeof WS_ScopeRoomUpdateNotificationPayloadSchema>;\n\n/** Notification-grade resource update event delivered to resource rooms. */\nexport const WS_ResourceRoomUpdateNotificationPayloadSchema = WS_ResourceUpdateNotificationPayloadCommonSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.RESOURCE_ROOM_NOTIFICATION),\n});\nexport type WS_ResourceRoomUpdateNotificationPayload = z.infer<typeof WS_ResourceRoomUpdateNotificationPayloadSchema>;\n\nexport const WS_ResourceUpdateNotificationPayloadSchema = z.discriminatedUnion('deliveryTarget', [\n WS_ScopeRoomUpdateNotificationPayloadSchema,\n WS_ResourceRoomUpdateNotificationPayloadSchema,\n]);\nexport type WS_ResourceUpdateNotificationPayload = z.infer<typeof WS_ResourceUpdateNotificationPayloadSchema>;\n\n/** Synchronization-grade resource update event (resource rooms, RMM replay). */\nexport const WS_ResourceSyncUpdatedPayloadSchema = WS_ResourceEventCommonPayloadSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.RESOURCE_ROOM_SYNC),\n action: ResourceUpdateSyncActionSchema,\n operationIdentifier: z.string().min(1),\n operationPathKey: z.string().optional(),\n variantType: z.enum(ResourceOperationVariantType).optional(),\n isOperationDefault: z.boolean().optional(),\n isBulkOperation: z.boolean().optional(),\n variantKey: z.string().optional(),\n initiatorUserId: z.string().optional(),\n version: z.number(),\n resourceData: z.record(z.string(), z.unknown()),\n fieldMeta: FieldMetaMapSchema.optional(),\n dataMode: z.enum(DataMode).optional(),\n});\nexport type WS_ResourceSyncUpdatedPayload = z.infer<typeof WS_ResourceSyncUpdatedPayloadSchema>;\n\n/** Update events can be either notification-grade or sync-grade, distinguished explicitly. */\nexport const WS_ResourceUpdatedPayloadSchema = z.discriminatedUnion('deliveryTarget', [\n WS_ScopeRoomUpdateNotificationPayloadSchema,\n WS_ResourceRoomUpdateNotificationPayloadSchema,\n WS_ResourceSyncUpdatedPayloadSchema,\n]);\nexport type WS_ResourceUpdatedPayload = z.infer<typeof WS_ResourceUpdatedPayloadSchema>;\n\n/** Resource deleted event for resource rooms. */\nexport const WS_ResourceDeletedPayloadSchema = WS_ResourceEventCommonPayloadSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.RESOURCE_ROOM_SYNC),\n action: z.literal(ResourceAction.DELETED),\n operationIdentifier: z.string().min(1),\n operationPathKey: z.string().optional(),\n variantType: z.enum(ResourceOperationVariantType).optional(),\n isOperationDefault: z.boolean().optional(),\n isBulkOperation: z.boolean().optional(),\n variantKey: z.string().optional(),\n initiatorUserId: z.string().optional(),\n});\nexport type WS_ResourceDeletedPayload = z.infer<typeof WS_ResourceDeletedPayloadSchema>;\n\n/** Lightweight resource-room state payload for lock/unlock style events. */\nexport const WS_ResourceRoomStatePayloadSchema = WS_ResourceEventCommonPayloadSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.RESOURCE_ROOM_SYNC),\n action: ResourceActionSchema.optional(),\n operationIdentifier: z.string().optional(),\n initiatorUserId: z.string().optional(),\n});\nexport type WS_ResourceRoomStatePayload = z.infer<typeof WS_ResourceRoomStatePayloadSchema>;\n\n/**\n * Editing start/end payload\n * - Incoming: contextResourceIdentifiers REQUIRED for UPDATE authorization\n * - Outgoing (broadcast): contextResourceIdentifiers omitted\n */\nexport const WS_ResourceEditingPayloadSchema = z.object({\n resourceType: z.string(),\n resourceId: z.string(),\n contextResourceIdentifiers: ContextResourceIdentifiersSchema.optional(), // Required on input\n initiatorUserId: z.string().optional(),\n timestamp: WebSocketOptionalTimestampSchema,\n reason: z.enum(['manual', 'disconnect', 'timeout', 'auth_refresh', 'organization_switch']).optional(), // For editing:end\n});\nexport type WS_ResourceEditingPayload = z.infer<typeof WS_ResourceEditingPayloadSchema>;\n\n/** Editing confirmation/error */\nexport const WS_ResourceEditingResultPayloadSchema = z.object({\n resourceType: z.string(),\n resourceId: z.string(),\n success: z.boolean(),\n error: z.string().optional(),\n});\nexport type WS_ResourceEditingResultPayload = z.infer<typeof WS_ResourceEditingResultPayloadSchema>;\n\n/**\n * Custom collaboration event\n * - Incoming: contextResourceIdentifiers REQUIRED for READ authorization\n * - Outgoing (broadcast): contextResourceIdentifiers omitted\n */\nexport const WS_ResourceCustomEventPayloadSchema = z.object({\n resourceType: z.string(),\n resourceId: z.string(),\n eventName: z.string().min(1), // Custom event name (e.g., 'cursor:move', 'comment:add')\n data: z.unknown().optional(),\n contextResourceIdentifiers: ContextResourceIdentifiersSchema.optional(), // Required on input\n initiatorUserId: z.string().optional(),\n includeSelf: z.boolean().optional(), // Only for outgoing\n timestamp: WebSocketOptionalTimestampSchema,\n // Phase 7.1: Optional resource data for custom events with resource context\n // When included, will be validated against appropriate DTO based on dataMode.\n resourceData: z.unknown().optional(),\n // DataMode values match directly: DataMode.RAW === 'raw', etc.\n dataMode: z.enum(DataMode).optional(),\n});\nexport type WS_ResourceCustomEventPayload = z.infer<typeof WS_ResourceCustomEventPayloadSchema>;\n\n/**\n * How far a background bulk run has got.\n *\n * `attemptedCount` is what the run was GIVEN, and it never changes during the run — it is the\n * denominator a progress bar needs. `processedCount` counts rows the run has finished with, whether\n * they succeeded or were refused, so `processed / attempted` is honest progress rather than a\n * success rate; `failedCount` is how many of those were refusals.\n *\n * `finished` is explicit rather than inferred from `processedCount === attemptedCount`: a run that\n * ends early — a worker lost, a job that failed outright — would otherwise leave a bar sitting at\n * 94% forever with nothing to say it had stopped.\n */\nexport const WS_BulkJobProgressPayloadSchema = z.object({\n jobId: z.string().min(1),\n resourceType: z.string().min(1),\n operationIdentifier: z.string().min(1),\n attemptedCount: z.number().int().min(0),\n processedCount: z.number().int().min(0),\n failedCount: z.number().int().min(0),\n finished: z.boolean(),\n /**\n * WHICH rows were refused, and why — sent on the FINAL event only, and capped at\n * {@link BULK_JOB_REPORTED_FAILURE_LIMIT}.\n *\n * A count tells a person something went wrong; it does not tell them what to do. The refusal's\n * REFERENCE is what does, because it is the thing a locale turns into words and a client branches\n * on — so the reasons arrive as references and the surface says them in the reader's language.\n *\n * Capped because a run may be given thousands of rows and a socket message is not a report: past\n * the cap, `failedCount` remains exact while the list is a sample. Every refusal is in the job\n * result regardless, which is the durable record.\n *\n * Sent only when finished, deliberately: a list that grew with each progress event would make the\n * surface re-render its whole failure panel on every row, and a person cannot read a list that is\n * still moving.\n */\n failures: z.array(z.object({\n resourceId: z.string().min(1),\n customMessageReference: z.string().optional(),\n errorType: z.string().optional(),\n })).optional(),\n timestamp: WebSocketOptionalTimestampSchema,\n});\n\n/**\n * How many individual refusals a finished bulk run reports over the wire.\n *\n * 50 is what a person can actually read in a panel before it stops being a summary; the exact count\n * is always `failedCount`, and the complete list is in the job result. A larger number would make\n * the message bigger without making it more useful.\n */\nexport const BULK_JOB_REPORTED_FAILURE_LIMIT = 50 as const;\nexport type WS_BulkJobProgressPayload = z.infer<typeof WS_BulkJobProgressPayloadSchema>;\n\n/** Error response for custom events */\nexport const WS_ResourceCustomErrorPayloadSchema = z.object({\n eventName: z.string(),\n error: z.string(),\n});\nexport type WS_ResourceCustomErrorPayload = z.infer<typeof WS_ResourceCustomErrorPayloadSchema>;\n\n// =====================================================\n// Badge Request/Response Payloads\n// =====================================================\n\n/** Badge get request (client → server) */\nexport const WS_BadgeGetRequestSchema = z.object({\n identifier: z.string(),\n scope: z.string(),\n scopeId: z.string(),\n});\n\nexport type WS_BadgeGetRequest = z.infer<typeof WS_BadgeGetRequestSchema>;\n\n/** Badge get-all request (client → server) */\nexport const WS_BadgeGetAllRequestSchema = z.object({\n scope: z.string(),\n scopeId: z.string(),\n});\nexport type WS_BadgeGetAllRequest = z.infer<typeof WS_BadgeGetAllRequestSchema>;\n\n/** Badge get-all response (server → client) */\nexport const WS_BadgeGetAllResponseSchema = z.array(z.object({\n identifier: z.string(),\n count: z.number().min(0),\n}));\nexport type WS_BadgeGetAllResponse = z.infer<typeof WS_BadgeGetAllResponseSchema>;\n\n// =====================================================\n// FlowsActors Payloads (bidirectional)\n// =====================================================\n\n/** Start a FlowActorSystem execution (client → server) */\nexport const WS_FlowsActorsStartPayloadSchema = z.object({\n systemRef: z.string().min(1),\n executionId: z.string().optional(), // Server generates if not provided\n contextResourceIdentifiers: ContextResourceIdentifiersSchema,\n initialInput: z.record(z.string(), z.unknown()).optional(),\n});\nexport type WS_FlowsActorsStartPayload = z.infer<typeof WS_FlowsActorsStartPayloadSchema>;\n\n/** Confirmation of FlowActorSystem start (server → client) */\nexport const WS_FlowsActorsStartedPayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n success: z.boolean(),\n error: z.string().optional(),\n});\nexport type WS_FlowsActorsStartedPayload = z.infer<typeof WS_FlowsActorsStartedPayloadSchema>;\n\n/** Message from agent/flow (server → client) */\nexport const WS_FlowsActorsMessagePayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n messageType: z.enum(['text', 'markdown', 'progress', 'data']),\n content: z.string(),\n data: z.record(z.string(), z.unknown()).optional(),\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n\n /**\n * Correlates streamed token deltas to a single logical message. When present,\n * consecutive `messageId`-sharing events belong to the same assistant turn:\n * non-final events (`isFinal !== true`) carry an incremental delta to APPEND to\n * that message's content; the final event (`isFinal === true`) carries the FULL\n * assembled content as the authoritative value. When absent, the event is a\n * standalone message (legacy/one-shot behavior — append a new entry).\n */\n messageId: z.string().optional(),\n /** True on the terminal event of a streamed message (`content` is the full text). */\n isFinal: z.boolean().optional(),\n});\nexport type WS_FlowsActorsMessagePayload = z.infer<typeof WS_FlowsActorsMessagePayloadSchema>;\n\n/**\n * The approval announcement that is ACTUALLY sent, carried in the `data` bag of a\n * `FLOWS_ACTORS_MESSAGE` of type `PROGRESS`.\n *\n * It is a named schema rather than a shape both ends open-code, because the `data` bag is\n * `z.record(z.string(), z.unknown())` — so nothing typed the announcement, and the browser\n * listened on `FLOWS_ACTORS_APPROVAL_REQUEST` instead, an event **nothing has ever emitted**.\n * The result: `pendingApproval` was never set, no shipped screen could observe a paused turn,\n * and `resourceServerInstanceRef` — which the server sends precisely so a decision can echo it —\n * was discarded, leaving an approval raised on a NAMED agent instance unresumable (#528).\n *\n * Producer: `persistApprovalSuspension`. Consumer: `FlowsActorsContext`.\n */\nexport const WS_FlowsActorsApprovalAnnouncementDataSchema = z.object({\n /** Discriminator. The `data` bag carries other kinds of payload on other messages. */\n approvalRequested: z.literal(true),\n approvalId: z.string(),\n /** The tool call being gated. */\n toolName: z.string(),\n /**\n * The tool call's ARGUMENTS — the structured thing a person is actually being asked to approve.\n * Loose here because the shape belongs to the tool, not to the transport; a surface that renders\n * these gets their schema from the tool declaration.\n */\n toolArgs: z.record(z.string(), z.unknown()).optional(),\n /**\n * The gated tool's INPUT SCHEMA, as the `SerializableZodSchema` descriptor `serializeZodSchema`\n * (`@wildo-ai/zod-decorators`) produces from the tool's own `inputSchema` (#587).\n *\n * It exists so an approver who edits the call is shown the tool's fields — which arguments exist,\n * which are required, which are enumerations — instead of a JSON blob. It is a RENDERING HINT and\n * never the control: the server re-validates `modifiedToolArgs` against the tool's live schema and\n * refuses a violation whatever the browser believed, and the descriptor drops refinements (min/max,\n * patterns) by construction.\n *\n * Absent when the tool cannot be resolved from the paused turn. A client that finds a shape it\n * cannot render as fields falls back to the raw editor rather than to no editor.\n *\n * Loose on the wire for the same reason as `toolArgs`: the shape belongs to the descriptor type,\n * which this transport does not re-validate.\n */\n toolInputSchema: z.record(z.string(), z.unknown()).optional(),\n requestedAt: z.string(),\n /** When the pause lapses. Written since #465; it reaches a client only through this block. */\n expiresAt: z.string().optional(),\n /**\n * The isolation axis the DECISION must carry back, sent unconditionally — including when it is\n * the default sentinel — so a client echoes one field rather than branching on whether the value\n * is meaningful.\n */\n resourceServerInstanceRef: z.string(),\n});\nexport type WS_FlowsActorsApprovalAnnouncementData = z.infer<typeof WS_FlowsActorsApprovalAnnouncementDataSchema>;\n\n/**\n * A TOOL-STATUS announcement, carried in the `data` bag of a `FLOWS_ACTORS_MESSAGE` of type\n * `PROGRESS` — one per tool CALL while an assistant turn is working.\n *\n * It carries FACTS, never words. The server used to send `content: \"Looking up your todos…\"`,\n * composed from the tool name by a humanizer: English produced by code, untranslatable, and wrong\n * for any resource whose identifier is not also its name (#1283,\n * `.claude/rules/display-text-comes-from-i18n.md`). The person's words are now resolved in the\n * browser from the label tree — the component's status labels, and the resource's own authored\n * title — and `content` carries the tool name verbatim, a value rather than a sentence.\n *\n * Producer: `ConversationalExecutionBackendService` (`onToolEvent`). Consumer: the flows-actors\n * view's status line. The A2A plane ignores tool-status frames (they carry no `messageId`).\n */\nexport const WS_FlowsActorsToolStatusDataSchema = z.object({\n /** Discriminator. The `data` bag carries other kinds of payload on other messages. */\n toolStatus: z.literal(true),\n /** The tool being called, as the agent runtime names it. */\n tool: z.string(),\n /**\n * The resource the tool READS, when it is one of the engine's resource-read tools. Lets the\n * status name the resource through its authored title; absent for every other tool.\n */\n readsResourceType: z.string().optional(),\n});\nexport type WS_FlowsActorsToolStatusData = z.infer<typeof WS_FlowsActorsToolStatusDataSchema>;\n\n/** Human approval request (server → client) */\nexport const WS_FlowsActorsApprovalRequestPayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n approvalId: z.string(),\n actionDescription: z.string(),\n riskLevel: z.enum(['low', 'medium', 'high', 'critical']),\n requiredRoles: z.array(z.string()).optional(),\n expiresAt: WebSocketOptionalTimestampSchema,\n});\n\nexport type WS_FlowsActorsApprovalRequestPayload = z.infer<typeof WS_FlowsActorsApprovalRequestPayloadSchema>;\n\n/** Human approval response (client → server) */\nexport const WS_FlowsActorsApprovalResponsePayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n approvalId: z.string(),\n approved: z.boolean(),\n comment: z.string().optional(),\n /**\n * The agent instance the paused conversation belongs to — ECHOED from the approval REQUEST.\n *\n * A conversation is isolated by owner FK, machine credential AND agent instance, so a resume that\n * omits this axis is filtered against the DEFAULT instance sentinel. An approval raised on a NAMED\n * A2A agent instance therefore matched no row and the decision was dropped silently — logged as\n * \"no pending approval matches\" and returned, with the turn left paused forever.\n *\n * Optional because the in-app conversational plane runs on the default instance and has nothing to\n * echo; absent means default, which is the value those executions were written with.\n */\n resourceServerInstanceRef: z.string().optional(),\n /**\n * APPROVE-WITH-MODIFICATIONS (#566): the arguments the approver authored, replacing the ones the\n * model proposed. Meaningful only when `approved` is true — a denial resumes so the model can\n * respond, and there is no call to edit.\n *\n * Absent means \"run the call as proposed\", which is what every decision before this field meant\n * and what the overwhelming majority of decisions will keep meaning. Present means the approver\n * has become an AUTHOR of the call: the server re-validates the arguments against the tool's own\n * `inputSchema`, rewrites the SDK message array it holds, re-signs the approval so the binding\n * still describes the call that will actually run, and records on the audit trail that what\n * executed was not what was proposed.\n *\n * `unknown` values rather than a shaped object, deliberately: the shape is the TOOL's, declared by\n * whichever `FunctionTool` the agent named, and this schema cannot know it. Validation is the\n * server's, against that tool — the browser's is a convenience, never the control.\n */\n modifiedToolArgs: z.record(z.string(), z.unknown()).optional(),\n});\nexport type WS_FlowsActorsApprovalResponsePayload = z.infer<typeof WS_FlowsActorsApprovalResponsePayloadSchema>;\n\n/** Status update during execution (server → client) */\nexport const WS_FlowsActorsStatusUpdatePayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n status: z.string(),\n progress: z.number().min(0).max(100).optional(),\n currentStep: z.string().optional(),\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n});\nexport type WS_FlowsActorsStatusUpdatePayload = z.infer<typeof WS_FlowsActorsStatusUpdatePayloadSchema>;\n\n/** Execution completed (server → client) */\nexport const WS_FlowsActorsCompletedPayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n success: z.boolean(),\n result: z.record(z.string(), z.unknown()).optional(),\n duration: z.number().optional(), // in ms\n});\nexport type WS_FlowsActorsCompletedPayload = z.infer<typeof WS_FlowsActorsCompletedPayloadSchema>;\n\n/** Execution error (server → client) */\n/**\n * Why a flows-actors request reported an error on `FLOWS_ACTORS_ERROR` — from the socket boundary\n * (an unauthenticated or malformed request) or from the conversational turn itself.\n *\n * One named vocabulary, so a client that must BRANCH on a code — the approval surface keeps a refused\n * modification on screen rather than dropping it (#587) — compares against a member instead of a\n * string it copied from the producer.\n */\nexport enum FlowsActors_ExecutionErrorCode {\n /** The socket carries no authenticated user, so a conversation cannot be started. */\n UNAUTHENTICATED = 'UNAUTHENTICATED',\n /** The inbound flows-actors payload failed validation. */\n INVALID_PAYLOAD = 'INVALID_PAYLOAD',\n /** The conversation has no resolvable owner scope. */\n NO_OWNER = 'NO_OWNER',\n /** The system has no agentic actor bound to an agent to converse with. */\n NO_CHAT_ACTOR = 'NO_CHAT_ACTOR',\n /** No user message was provided to start the conversation. */\n EMPTY_INPUT = 'EMPTY_INPUT',\n /** The execution record could not be opened. */\n PERSIST_FAILED = 'PERSIST_FAILED',\n /** The assistant failed to produce a response. */\n AGENT_FAILED = 'AGENT_FAILED',\n /**\n * The approver's edited tool arguments were refused. RECOVERABLE: the approval is still pending and\n * can be answered again, so a surface must keep it — this is the one code a client branches on.\n */\n APPROVAL_MODIFICATION_REJECTED = 'APPROVAL_MODIFICATION_REJECTED',\n /** The system is a FLOW system, and conversational execution of flows is not implemented. */\n FLOW_CONVERSATION_NOT_IMPLEMENTED = 'FLOW_CONVERSATION_NOT_IMPLEMENTED',\n /** No actor system is registered under the requested ref. */\n SYSTEM_NOT_FOUND = 'SYSTEM_NOT_FOUND',\n /**\n * The application requires consent purposes the person has not granted\n * (`compliance.serviceConsentRequirement.requiredPurposes`), so no turn is started. Terminal for this turn,\n * and cured by the person recording their consent in their own preferences — the same refusal every other\n * user-initiated surface answers (#534).\n */\n SERVICE_CONSENT_REQUIRED = 'SERVICE_CONSENT_REQUIRED',\n /**\n * CLIENT-DETECTED — no server emits it. The socket that started this turn dropped before the turn\n * ended. A turn's events are emitted to the socket that started it, so after a drop none of them can\n * arrive, whether the server went away (a restart) or only the connection did; without this the turn\n * stays `STARTING` / `RUNNING` forever and the composer never comes back (#1464, 2026-09-24).\n * RECOVERABLE: when the server survived, the turn still completes and is persisted, and the thread's\n * own history carries the reply.\n */\n CONNECTION_LOST = 'CONNECTION_LOST',\n}\n\n/**\n * Why the server refused an approver's EDIT to a tool call's arguments (#1186).\n *\n * The refusal used to travel as English prose in `errorMessage`, which the approval card printed after a\n * localized prefix — untranslatable, and the one place on the card a person read a server sentence. Each\n * member is a different diagnosis with a different remedy, so the card renders a label per member; the\n * prose stays in `errorMessage` for logs.\n */\nexport enum FlowsActors_ApprovalModificationRefusalReason {\n /** The agent that raised the approval is no longer registered, so nothing can check the arguments. */\n AGENT_NOT_REGISTERED = 'agent_not_registered',\n /** The agent no longer declares the tool the approval names. */\n TOOL_NOT_DECLARED = 'tool_not_declared',\n /** The tool no longer requires approval, so the pending decision is stale. */\n TOOL_NO_LONGER_GATED = 'tool_no_longer_gated',\n /** The edited arguments fail the tool's own input schema; `argumentPaths` names the offending ones. */\n ARGUMENTS_INVALID = 'arguments_invalid',\n /** The approval-signing key is not configured, so a modified call cannot be re-bound. */\n SIGNING_KEY_NOT_CONFIGURED = 'signing_key_not_configured',\n /** The paused turn's resume payload does not contain the call the approval names. */\n CALL_NOT_REWRITABLE = 'call_not_rewritable',\n}\n\n/**\n * The structured half of an `APPROVAL_MODIFICATION_REJECTED` error: what the card needs to say, in labels.\n * `reason` is a {@link FlowsActors_ApprovalModificationRefusalReason} member, kept a STRING on the wire for\n * the same reason `errorCode` is — a client older than a new reason must still parse the payload.\n */\nexport const WS_FlowsActorsApprovalModificationRefusalSchema = z.object({\n reason: z.string(),\n /** The tool the approval names, for the reasons that mention it. */\n toolName: z.string().optional(),\n /** The argument paths the tool's schema refused — names only, never the values the approver typed. */\n argumentPaths: z.array(z.string()).optional(),\n});\nexport type WS_FlowsActorsApprovalModificationRefusal = z.infer<typeof WS_FlowsActorsApprovalModificationRefusalSchema>;\n\nexport const WS_FlowsActorsErrorPayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n /**\n * A {@link FlowsActors_ExecutionErrorCode} member. Kept a STRING on the wire so a client built\n * before a code was added still parses the payload; producers emit the enum and consumers compare\n * against it.\n */\n errorCode: z.string(),\n errorMessage: z.string(),\n recoverable: z.boolean().default(false),\n /** Present on `APPROVAL_MODIFICATION_REJECTED`: the refusal as labels can say it (#1186). */\n approvalModificationRefusal: WS_FlowsActorsApprovalModificationRefusalSchema.optional(),\n});\nexport type WS_FlowsActorsErrorPayload = z.infer<typeof WS_FlowsActorsErrorPayloadSchema>;\n\n// =====================================================\n// System Payloads\n// =====================================================\n\nexport const WS_AuthRefreshPayloadSchema = z.object({\n token: z.string(),\n});\nexport type WS_AuthRefreshPayload = z.infer<typeof WS_AuthRefreshPayloadSchema>;\n\nexport const WS_SystemTokenRefreshedPayloadSchema = z.object({\n success: z.literal(true),\n});\nexport type WS_SystemTokenRefreshedPayload = z.infer<typeof WS_SystemTokenRefreshedPayloadSchema>;\n\nexport const WS_OrganizationSwitchPayloadSchema = z.object({\n organizationId: z.string(),\n previousOrganizationId: z.string().optional(),\n});\nexport type WS_OrganizationSwitchPayload = z.infer<typeof WS_OrganizationSwitchPayloadSchema>;\n\nexport const WS_SystemErrorPayloadSchema = z.object({\n code: z.string(),\n message: z.string(),\n details: z.unknown().optional(),\n});\nexport type WS_SystemErrorPayload = z.infer<typeof WS_SystemErrorPayloadSchema>;\n\n// =====================================================\n// Billing Payloads (server → client, invalidation triggers)\n// =====================================================\n\nexport const WS_BillingEventPayloadSchema = z.object({\n scopeType: z.enum(ResourcePrimaryScope),\n scopeEntityId: z.string(),\n billingAccountId: z.string(),\n});\n export type WS_BillingEventPayload = z.infer<typeof WS_BillingEventPayloadSchema>;\n\n// =====================================================\n// Event-to-Schema Map (for validation)\n// =====================================================\n\nexport const WebSocketEventSchemas = {\n // Room management\n [CoreWebSocketEvent.RESOURCE_SUBSCRIBE]: WS_ResourceSubscribePayloadSchema,\n [CoreWebSocketEvent.RESOURCE_UNSUBSCRIBE]: WS_ResourceSubscribePayloadSchema,\n [CoreWebSocketEvent.RESOURCE_SUBSCRIBED]: WS_ResourceSubscribedPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_UNSUBSCRIBED]: WS_ResourceSubscribedPayloadSchema,\n\n // Notifications\n [CoreWebSocketEvent.RESOURCE_NOTIFICATION]: WS_ResourceNotificationPayloadSchema,\n [CoreWebSocketEvent.USER_NOTIFICATION]: WS_UserNotificationPayloadSchema,\n [CoreWebSocketEvent.BADGE_UPDATE]: WS_BadgeUpdatePayloadSchema,\n [CoreWebSocketEvent.BADGE_GET]: WS_BadgeGetRequestSchema,\n [CoreWebSocketEvent.BADGE_GET_ALL]: WS_BadgeGetAllRequestSchema,\n\n // Resource room events\n [CoreWebSocketEvent.RESOURCE_UPDATED]: WS_ResourceUpdatedPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_DELETED]: WS_ResourceDeletedPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_EDITING_START]: WS_ResourceEditingPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_EDITING_END]: WS_ResourceEditingPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_EDITING_STARTED]: WS_ResourceEditingResultPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_EDITING_ERROR]: WS_ResourceEditingResultPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_LOCKED]: WS_ResourceRoomStatePayloadSchema,\n [CoreWebSocketEvent.RESOURCE_UNLOCKED]: WS_ResourceRoomStatePayloadSchema,\n [CoreWebSocketEvent.RESOURCE_CUSTOM]: WS_ResourceCustomEventPayloadSchema,\n [CoreWebSocketEvent.BULK_JOB_PROGRESS]: WS_BulkJobProgressPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_CUSTOM_ERROR]: WS_ResourceCustomErrorPayloadSchema,\n\n // FlowsActors\n [CoreWebSocketEvent.FLOWS_ACTORS_START]: WS_FlowsActorsStartPayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_STARTED]: WS_FlowsActorsStartedPayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_MESSAGE]: WS_FlowsActorsMessagePayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_APPROVAL_REQUEST]: WS_FlowsActorsApprovalRequestPayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_APPROVAL_RESPONSE]: WS_FlowsActorsApprovalResponsePayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_STATUS_UPDATE]: WS_FlowsActorsStatusUpdatePayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_COMPLETED]: WS_FlowsActorsCompletedPayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_ERROR]: WS_FlowsActorsErrorPayloadSchema,\n\n // Billing\n [CoreWebSocketEvent.BILLING_STATUS_CHANGED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_SUBSCRIPTION_UPDATED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_ACCOUNT_CHANGED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_USAGE_UPDATED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_CREDIT_POOL_UPDATED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_FEATURES_UPDATED]: WS_BillingEventPayloadSchema,\n\n // Analytics\n [CoreWebSocketEvent.ANALYTICS_MOMENT_ACHIEVED]: WS_AnalyticsMomentAchievedPayloadSchema,\n\n // Guidance\n [CoreWebSocketEvent.GUIDANCE_STATE_CHANGED]: WS_GuidanceStateChangedPayloadSchema,\n\n // Progression\n [CoreWebSocketEvent.MILESTONE_ACHIEVED]: WS_MilestoneAchievedPayloadSchema,\n [CoreWebSocketEvent.PROGRESSION_UPDATED]: WS_ProgressionUpdatedPayloadSchema,\n\n // Lifecycle\n [CoreWebSocketEvent.LIFECYCLE_STAGE_CHANGED]: WS_LifecycleStageChangedPayloadSchema,\n\n // System\n [CoreWebSocketEvent.AUTH_REFRESH]: WS_AuthRefreshPayloadSchema,\n [CoreWebSocketEvent.ORGANIZATION_SWITCH]: WS_OrganizationSwitchPayloadSchema,\n [CoreWebSocketEvent.SYSTEM_TOKEN_REFRESHED]: WS_SystemTokenRefreshedPayloadSchema,\n [CoreWebSocketEvent.SYSTEM_ERROR]: WS_SystemErrorPayloadSchema,\n} as const;\n\n// =====================================================\n// Typed Payload Map (for TypeScript inference)\n// =====================================================\n\nexport type WebSocketEventPayloads = {\n [CoreWebSocketEvent.RESOURCE_SUBSCRIBE]: WS_ResourceSubscribePayload;\n [CoreWebSocketEvent.RESOURCE_UNSUBSCRIBE]: WS_ResourceSubscribePayload;\n [CoreWebSocketEvent.RESOURCE_SUBSCRIBED]: WS_ResourceSubscribedPayload;\n [CoreWebSocketEvent.RESOURCE_UNSUBSCRIBED]: WS_ResourceSubscribedPayload;\n\n [CoreWebSocketEvent.RESOURCE_NOTIFICATION]: WS_ResourceNotificationPayload;\n [CoreWebSocketEvent.USER_NOTIFICATION]: WS_UserNotificationPayload;\n [CoreWebSocketEvent.BADGE_UPDATE]: WS_BadgeUpdatePayload;\n [CoreWebSocketEvent.BADGE_GET]: WS_BadgeGetRequest;\n [CoreWebSocketEvent.BADGE_GET_ALL]: WS_BadgeGetAllRequest;\n\n [CoreWebSocketEvent.RESOURCE_UPDATED]: WS_ResourceUpdatedPayload;\n [CoreWebSocketEvent.RESOURCE_DELETED]: WS_ResourceDeletedPayload;\n [CoreWebSocketEvent.RESOURCE_EDITING_START]: WS_ResourceEditingPayload;\n [CoreWebSocketEvent.RESOURCE_EDITING_END]: WS_ResourceEditingPayload;\n [CoreWebSocketEvent.RESOURCE_EDITING_STARTED]: WS_ResourceEditingResultPayload;\n [CoreWebSocketEvent.RESOURCE_EDITING_ERROR]: WS_ResourceEditingResultPayload;\n [CoreWebSocketEvent.RESOURCE_LOCKED]: WS_ResourceRoomStatePayload;\n [CoreWebSocketEvent.RESOURCE_UNLOCKED]: WS_ResourceRoomStatePayload;\n [CoreWebSocketEvent.RESOURCE_CUSTOM]: WS_ResourceCustomEventPayload;\n [CoreWebSocketEvent.RESOURCE_CUSTOM_ERROR]: WS_ResourceCustomErrorPayload;\n\n [CoreWebSocketEvent.FLOWS_ACTORS_START]: WS_FlowsActorsStartPayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_STARTED]: WS_FlowsActorsStartedPayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_MESSAGE]: WS_FlowsActorsMessagePayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_APPROVAL_REQUEST]: WS_FlowsActorsApprovalRequestPayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_APPROVAL_RESPONSE]: WS_FlowsActorsApprovalResponsePayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_STATUS_UPDATE]: WS_FlowsActorsStatusUpdatePayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_COMPLETED]: WS_FlowsActorsCompletedPayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_ERROR]: WS_FlowsActorsErrorPayload;\n\n [CoreWebSocketEvent.BILLING_STATUS_CHANGED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_SUBSCRIPTION_UPDATED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_ACCOUNT_CHANGED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_USAGE_UPDATED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_CREDIT_POOL_UPDATED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_FEATURES_UPDATED]: WS_BillingEventPayload;\n\n [CoreWebSocketEvent.ANALYTICS_MOMENT_ACHIEVED]: WS_AnalyticsMomentAchievedPayload;\n\n [CoreWebSocketEvent.GUIDANCE_STATE_CHANGED]: WS_GuidanceStateChangedPayload;\n\n [CoreWebSocketEvent.MILESTONE_ACHIEVED]: WS_MilestoneAchievedPayload;\n [CoreWebSocketEvent.PROGRESSION_UPDATED]: WS_ProgressionUpdatedPayload;\n\n [CoreWebSocketEvent.LIFECYCLE_STAGE_CHANGED]: WS_LifecycleStageChangedPayload;\n\n [CoreWebSocketEvent.AUTH_REFRESH]: WS_AuthRefreshPayload;\n [CoreWebSocketEvent.ORGANIZATION_SWITCH]: WS_OrganizationSwitchPayload;\n [CoreWebSocketEvent.SYSTEM_TOKEN_REFRESHED]: WS_SystemTokenRefreshedPayload;\n [CoreWebSocketEvent.SYSTEM_ERROR]: WS_SystemErrorPayload;\n};\n\n// =====================================================\n// Room Naming Utilities\n// =====================================================\n\n/**\n * WebSocket room name prefixes for different room types.\n * These prefixes are used to create room names for Socket.IO.\n */\nexport enum WebSocketRoomPrefix {\n /** User-specific room: user:{userId} */\n USER = 'user',\n /** Organization room: org:{organizationId} */\n ORGANIZATION = 'org',\n /** Organization role room: org:{organizationId}:role:{role} */\n ORGANIZATION_ROLE = 'role',\n /** Application-level role room: app:role:{role} */\n APP_ROLE = 'app:role',\n /** Resource room: resource:{resourceType}:{resourceId} */\n RESOURCE = 'resource',\n /** Public room for unauthenticated users */\n PUBLIC = 'public',\n}\n\n/**\n * Build a user room name\n */\nexport function buildUserRoomName(userId: string): string {\n return `${WebSocketRoomPrefix.USER}:${userId}`;\n}\n\n/**\n * Build an organization room name\n */\nexport function buildOrganizationRoomName(organizationId: string): string {\n return `${WebSocketRoomPrefix.ORGANIZATION}:${organizationId}`;\n}\n\n/**\n * Build an organization role room name\n */\nexport function buildOrganizationRoleRoomName(organizationId: string, role: string): string {\n return `${WebSocketRoomPrefix.ORGANIZATION}:${organizationId}:${WebSocketRoomPrefix.ORGANIZATION_ROLE}:${role}`;\n}\n\n/**\n * Build an application-level role room name\n */\nexport function buildAppRoleRoomName(role: string): string {\n return `${WebSocketRoomPrefix.APP_ROLE}:${role}`;\n}\n\n/**\n * Build a resource room name\n */\nexport function buildResourceRoomName(resourceType: string, resourceId: string): string {\n return `${WebSocketRoomPrefix.RESOURCE}:${resourceType}:${resourceId}`;\n}\n\n/**\n * Build a scope room name for collection subscriptions\n */\nexport function buildScopeRoomName(resourceType: string, scopeKey: string, scopeId: string): string {\n return `${WebSocketRoomPrefix.RESOURCE}:${resourceType}:${scopeKey}:${scopeId}`;\n}\n\n/**\n * The scope keys a resource room can be qualified by that the FRAMEWORK owns.\n *\n * Closed, and named because each member carries a different meaning that a bare string cannot: `app`\n * scopes a resource to the whole application, `user` to one principal's own rows, `org` to a tenant.\n * A resource can additionally be scoped by a PARENT RESOURCE, and those keys are genuinely open —\n * they are derived from the application's own resource names — so they stay strings.\n */\nexport enum ResourceScopeRoomKey {\n /**\n * The whole application.\n *\n * **`'app'`, while the APPLICATION resource's field identifier is `applicationId`** — and that\n * mismatch is load-bearing rather than sloppy, so it is stated here instead of being \"tidied\".\n *\n * `mapScopeKeyToResourceType` on the server resolves a scope key by searching the registry for a\n * resource whose field identifier is `<scopeKey>Id`. Renaming this member to `'application'` would\n * make that search succeed and route APPLICATION scope through the generic PARENT-scope branch,\n * which authorizes READ on the `applications` row — a row `ORG_MEMBER` may read, while ten of the\n * eleven APPLICATION-scoped resource configs require `APP_ADMIN_SUPER_ADMIN`. The rename would\n * therefore hand every org member notification streams naming rows of SSO connections, SIEM\n * configuration and webhook configs (issue #247).\n *\n * APPLICATION scope has its own branch in `verifyScopeAccess` that authorizes the SUBSCRIBED\n * resource instead, because a single constant discriminates nothing and so cannot stand in for\n * authorization the way a tenant or a parent row does.\n */\n APPLICATION = 'app',\n /** One principal's own rows. */\n USER = 'user',\n /** One tenant. */\n ORGANIZATION = 'org',\n}\n\n/** One scope a resource room can be qualified by. */\nexport interface ResourceScopeRoomQualifier {\n readonly scopeKey: string;\n readonly scopeId: string;\n}\n\n/**\n * Which scope rooms a resource operation's rows belong to.\n *\n * ## Why this lives in the SHARED models rather than on the backend\n *\n * Both ends need the same answer and for opposite reasons: the backend emits a list/cache-refresh\n * notification INTO these rooms after a mutation, and a client that caches a read has to be IN them\n * to hear it. Two implementations of one rule would agree only until one side gained a case — the\n * shape this repository refuses everywhere else — and the failure would be silent, because a client\n * subscribed to the wrong room does not error, it simply never hears that its cache is stale.\n *\n * Ported verbatim from the notifications dispatcher, quirks included, because moving code must not\n * change which rooms are emitted to. Two of those quirks are worth naming so the next reader does not\n * \"fix\" them into a behaviour change:\n *\n * - the parent-scope branch tests `key.endsWith('Id') && !key.includes('Parent')` with a CAPITAL P,\n * so `myParentId` is excluded while `parentTodoListId` is not;\n * - `organizationId` enters that branch and is then skipped by the inner test, having already been\n * pushed above.\n */\nexport function deriveResourceScopeRoomQualifiers(\n contextResourceIdentifiers: Record<string, string>,\n primaryScope: ResourcePrimaryScope,\n): ResourceScopeRoomQualifier[] {\n const scopes: ResourceScopeRoomQualifier[] = [];\n const seenScopes = new Set<string>();\n const pushScope = (scopeKey: string, scopeId: string | undefined): void => {\n if (!scopeId) {\n return;\n }\n const dedupeKey = `${scopeKey}:${scopeId}`;\n if (seenScopes.has(dedupeKey)) {\n return;\n }\n seenScopes.add(dedupeKey);\n scopes.push({ scopeKey, scopeId });\n };\n\n if (primaryScope === ResourcePrimaryScope.APPLICATION && contextResourceIdentifiers.applicationId) {\n pushScope(ResourceScopeRoomKey.APPLICATION, contextResourceIdentifiers.applicationId);\n }\n\n if (primaryScope === ResourcePrimaryScope.USER_SELF && contextResourceIdentifiers.userId) {\n pushScope(ResourceScopeRoomKey.USER, contextResourceIdentifiers.userId);\n }\n\n if (contextResourceIdentifiers.organizationId) {\n pushScope(ResourceScopeRoomKey.ORGANIZATION, contextResourceIdentifiers.organizationId);\n }\n\n for (const [key, value] of Object.entries(contextResourceIdentifiers)) {\n if (key === 'organizationId' || (key.endsWith('Id') && !key.includes('Parent'))) {\n const scopeKey = key.replace(/Id$/, '').toLowerCase();\n /*\n * `organization` and `application` are SKIPPED because the dedicated branches above already\n * emitted their rooms under the keys the server actually knows — `org` and `app`.\n *\n * Stripping `Id` yields the FIELD's name, not the room's: `applicationId` becomes\n * `application`, and `ResourceScopeRoomKey.APPLICATION` is `'app'`. That divergence is\n * deliberate and documented on the enum, so the generic loop cannot be allowed to invent the\n * long form beside the short one.\n *\n * It was inert for as long as no caller put an `applicationId` into this map. The moment one\n * did (issue #283, so a client could name its own APPLICATION room), every such read claimed a\n * FIFTH room the server refuses — measured live:\n * `resource:workbenchDomainResources:application:… -> success: false`. A refused room is not\n * merely wasted: the read cache's `covers()` requires EVERY room confirmed, so one permanently\n * unconfirmable room disabled the cache outright for every APPLICATION-scoped resource.\n */\n if (scopeKey !== 'organization' && scopeKey !== 'application' && value) {\n pushScope(scopeKey, value);\n }\n }\n }\n\n return scopes;\n}\n\n/**\n * Parse a resource room name into its components\n */\nexport function parseResourceRoomName(roomName: string): {\n resourceType: string;\n resourceId?: string;\n scopeKey?: string;\n scopeId?: string;\n} | null {\n const parts = roomName.split(':');\n if (parts.length < 3 || parts[0] !== WebSocketRoomPrefix.RESOURCE) return null;\n\n if (parts.length === 3) {\n return { resourceType: parts[1], resourceId: parts[2] };\n } else if (parts.length === 4) {\n return { resourceType: parts[1], scopeKey: parts[2], scopeId: parts[3] };\n }\n return null;\n}\n\n/**\n * Extract organization ID from an organization room name\n */\nexport function parseOrganizationRoomName(roomName: string): string | null {\n if (roomName.startsWith(`${WebSocketRoomPrefix.ORGANIZATION}:`)) {\n // Handle both org:{orgId} and org:{orgId}:role:{role}\n const parts = roomName.split(':');\n return parts[1] || null;\n }\n return null;\n}\n\n// =====================================================\n// Validation Helpers\n// =====================================================\n\n/**\n * Validate an incoming WebSocket event payload\n */\nexport function validateWebSocketPayload<E extends keyof typeof WebSocketEventSchemas>(\n event: E,\n payload: unknown\n): E extends keyof WebSocketEventPayloads ? WebSocketEventPayloads[E] : unknown {\n const schema = WebSocketEventSchemas[event];\n return schema.parse(payload) as E extends keyof WebSocketEventPayloads ? WebSocketEventPayloads[E] : unknown;\n}\n\n/**\n * Safe validation (returns result instead of throwing)\n */\nexport function safeValidateWebSocketPayload<E extends keyof typeof WebSocketEventSchemas>(\n event: E,\n payload: unknown\n): { success: true; data: E extends keyof WebSocketEventPayloads ? WebSocketEventPayloads[E] : unknown } | { success: false; error: z.ZodError } {\n const schema = WebSocketEventSchemas[event];\n const result = schema.safeParse(payload);\n if (result.success) {\n return { success: true, data: result.data as E extends keyof WebSocketEventPayloads ? WebSocketEventPayloads[E] : unknown };\n }\n return { success: false, error: result.error };\n}\n"]}
1
+ {"version":3,"file":"websocket.shared.schemas.js","sourceRoot":"","sources":["../../../../src/requests/websocket.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AACzH,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EACL,yBAAyB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC5H,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAEnH,wDAAwD;AACxD,gDAAgD;AAChD,wDAAwD;AAExD;;;GAGG;AACH,MAAM,CAAN,IAAY,kBAoFX;AApFD,WAAY,kBAAkB;IAC5B,mDAAmD;IACnD,+DAAyC,CAAA;IACzC,mEAA6C,CAAA;IAC7C,iEAA2C,CAAA;IAC3C,qEAA+C,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AC,CAAC,CAAC,EAAE,CAAC;IAC3E,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,yBAAyB,CAAC,QAAgB;IACxD,IAAI,QAAQ,CAAC,UAAU,CAAC,GAAG,mBAAmB,CAAC,YAAY,GAAG,CAAC,EAAE,CAAC;QAChE,sDAAsD;QACtD,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAClC,OAAO,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;IAC1B,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,wDAAwD;AACxD,qBAAqB;AACrB,wDAAwD;AAExD;;GAEG;AACH,MAAM,UAAU,wBAAwB,CACtC,KAAQ,EACR,OAAgB;IAEhB,MAAM,MAAM,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAC5C,OAAO,MAAM,CAAC,KAAK,CAAC,OAAO,CAAiF,CAAC;AAC/G,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAC1C,KAAQ,EACR,OAAgB;IAEhB,MAAM,MAAM,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACzC,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,IAAoF,EAAE,CAAC;IAC9H,CAAC;IACD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC;AACjD,CAAC","sourcesContent":["import { z } from 'zod';\nimport { DataMode } from '../resources/resources-config.shared.schemas';\nimport { WorkUnitRefSchema } from '../resources/work-unit.shared.schemas';\nimport { FrontendDisplayHintsSchema, UserNotificationTargetSchema } from '../notifications/notifications.shared.schemas';\nimport { ValueMomentRole, ValueMomentScope } from '../config/analytics-value-moments.shared.schemas';\nimport { OnboardingStatus } from '../config/frontend/onboarding.shared.schemas';\nimport { GuidanceFlowScope, GuidanceRenderMode } from '../guidance/guidance-flow.shared.schemas';\nimport { CelebrationDisplayMode } from '../notifications/notifications.shared.schemas';\nimport {\n MilestoneCelebrationLevel, ProgressionScope, MilestoneRewardType } from '../guidance/milestone-definition.shared.schemas';\nimport { LifecycleStage, LifecycleScope } from '../guidance/lifecycle-state.shared.schemas';\nimport { ResourceOperationVariantType } from '../resources/resources.shared.schemas';\nimport { ResourcePrimaryScope } from '../resources/resources.shared.schemas';\nimport { AgentWorkReasonCodeSchema, HumanDecision_RouteKind } from '../flows-actors/human-decision.shared.schemas';\n\n// =====================================================\n// WebSocket Event Types (Core Framework Events)\n// =====================================================\n\n/**\n * Core WebSocket events defined by the engine.\n * Custom events use the RESOURCE_CUSTOM type with eventName field.\n */\nexport enum CoreWebSocketEvent {\n // === Room Management Events (client → server) ===\n RESOURCE_SUBSCRIBE = 'resource:subscribe',\n RESOURCE_UNSUBSCRIBE = 'resource:unsubscribe',\n RESOURCE_SUBSCRIBED = 'resource:subscribed', // Server confirmation\n RESOURCE_UNSUBSCRIBED = 'resource:unsubscribed', // Server confirmation\n\n // === Target-Based Notification Events (server → client, via identity rooms) ===\n RESOURCE_NOTIFICATION = 'resource:notification',\n USER_NOTIFICATION = 'user:notification', // Direct user notification (not tied to resource operation)\n BADGE_UPDATE = 'badge:update',\n BADGE_GET = 'badge:get',\n BADGE_GET_ALL = 'badge:get-all',\n\n // === Resource Room Events (bidirectional, via resource rooms) ===\n RESOURCE_UPDATED = 'resource:updated',\n RESOURCE_DELETED = 'resource:deleted',\n RESOURCE_EDITING_START = 'resource:editing:start',\n RESOURCE_EDITING_END = 'resource:editing:end',\n RESOURCE_EDITING_STARTED = 'resource:editing:started', // Server confirmation\n RESOURCE_EDITING_ERROR = 'resource:editing:error',\n RESOURCE_LOCKED = 'resource:locked',\n RESOURCE_UNLOCKED = 'resource:unlocked',\n RESOURCE_CUSTOM = 'resource:custom',\n RESOURCE_CUSTOM_ERROR = 'resource:custom:error',\n\n /**\n * How far a BACKGROUND BULK run has got, sent to the person who started it (server → client).\n *\n * Addressed to the USER rather than to a resource room: the run spans many rows, so no row's room\n * is the right place, and the job's own row is an internal record most people cannot read. The\n * rows themselves still broadcast their ordinary sync events as they change, so the listing\n * updates itself; this event is what lets the surface say how much is left (#1461).\n */\n BULK_JOB_PROGRESS = 'bulk-job:progress',\n\n // === FlowsActors Events (bidirectional) ===\n FLOWS_ACTORS_START = 'flows-actors:start',\n FLOWS_ACTORS_STARTED = 'flows-actors:started',\n FLOWS_ACTORS_MESSAGE = 'flows-actors:message',\n FLOWS_ACTORS_APPROVAL_REQUEST = 'flows-actors:approval-request',\n FLOWS_ACTORS_APPROVAL_RESPONSE = 'flows-actors:approval-response',\n FLOWS_ACTORS_STATUS_UPDATE = 'flows-actors:status-update',\n FLOWS_ACTORS_COMPLETED = 'flows-actors:completed',\n FLOWS_ACTORS_ERROR = 'flows-actors:error',\n /**\n * A pending decision was routed to this person — assigned, reassigned or escalated to them (#1594 D6).\n * Pushed to that person's own room only: broadcasting to the organization would tell everyone in it that\n * a decision exists. It carries the decision id and nothing else; the inbox reads the card.\n */\n FLOWS_ACTORS_DECISION_ROUTED = 'flows-actors:decision-routed',\n\n // === Billing Events (server → client, invalidation triggers) ===\n BILLING_STATUS_CHANGED = 'billing:status_changed',\n BILLING_SUBSCRIPTION_UPDATED = 'billing:subscription_updated',\n BILLING_ACCOUNT_CHANGED = 'billing:account_changed',\n BILLING_USAGE_UPDATED = 'billing:usage_updated',\n BILLING_CREDIT_POOL_UPDATED = 'billing:credit_pool_updated',\n BILLING_FEATURES_UPDATED = 'billing:features_updated',\n\n // === Analytics Events ===\n ANALYTICS_MOMENT_ACHIEVED = 'analytics:moment-achieved',\n\n // === Guidance Events ===\n GUIDANCE_STATE_CHANGED = 'guidance:state-changed',\n\n // === Progression Events ===\n MILESTONE_ACHIEVED = 'progression:milestone-achieved',\n /**\n * Emitted after a milestone-triggering operation increments a scope's\n * `operationCounts` — even when NO milestone was achieved. Lets the frontend\n * advance in-progress milestone bars live (e.g. 8/10 → 9/10) instead of only\n * on achievement or a page reload.\n */\n PROGRESSION_UPDATED = 'progression:updated',\n\n // === Lifecycle Events ===\n LIFECYCLE_STAGE_CHANGED = 'lifecycle:stage-changed',\n\n // === System Events ===\n AUTH_REFRESH = 'auth:refresh',\n ORGANIZATION_SWITCH = 'organization:switch',\n SYSTEM_TOKEN_REFRESHED = 'system:token-refreshed',\n SYSTEM_ERROR = 'system:error',\n}\n\n/**\n * Machine-readable codes attached to a Socket.IO handshake rejection.\n *\n * A rejecting server-side auth middleware calls `next(err)`; Socket.IO forwards\n * the error's `data` field verbatim to the client's `connect_error` handler as\n * `err.data`. Emitting a stable code there lets the client react to WHY the\n * handshake was rejected WITHOUT matching on the human-readable error message\n * (which is localisation- and refactor-fragile).\n *\n * `AUTHENTICATION_FAILED` specifically flags an access-token problem the client\n * can self-heal: the frontend re-runs its token-renewal handler and reconnects\n * with a fresh token. This is what keeps a backgrounded / unfocused tab's socket\n * alive across access-token expiry, when no HTTP traffic is flowing to trigger a\n * reactive refresh (background real-time jobs keep delivering instead of stalling\n * until the user refocuses the window).\n */\nexport enum CoreWebSocketConnectionErrorCode {\n AUTHENTICATION_FAILED = 'AUTHENTICATION_FAILED',\n}\n\nexport enum ResourceAction {\n CREATED = 'created',\n UPDATED = 'updated',\n DELETED = 'deleted',\n}\n\nexport const ResourceActionSchema = z.union([z.enum(ResourceAction), z.string()]);\n\nexport enum WebSocketResourceDeliveryTarget {\n RESOURCE_ROOM_SYNC = 'resource-room-sync',\n RESOURCE_ROOM_NOTIFICATION = 'resource-room-notification',\n SCOPE_ROOM_NOTIFICATION = 'scope-room-notification',\n}\n\nexport const WebSocketResourceDeliveryTargetSchema = z.enum(WebSocketResourceDeliveryTarget);\n\n/**\n * Union type for WebSocket event names (core + custom string events)\n */\nexport type WebSocketEventName = CoreWebSocketEvent | `custom:${string}`;\n\n// =====================================================\n// Common Schemas (reusable across payloads)\n// =====================================================\n\nexport const ContextResourceIdentifiersSchema = z.record(z.string(), z.string());\nexport type ContextResourceIdentifiers = z.infer<typeof ContextResourceIdentifiersSchema>;\n\nconst WebSocketTimestampInputSchema = z.union([\n z.date(),\n z.string().datetime({ offset: true }),\n]);\nconst WebSocketTimestampSchema = WebSocketTimestampInputSchema.pipe(z.coerce.date());\nconst WebSocketOptionalTimestampSchema = WebSocketTimestampSchema.optional();\n\n\n// =====================================================\n// Room Management Payloads (client → server)\n// =====================================================\n\nconst WS_ResourceSubscribePayloadBaseSchema = z.object({\n resourceType: z.string().min(1),\n contextResourceIdentifiers: ContextResourceIdentifiersSchema,\n});\n\n/** Subscribe to a specific resource room. */\nconst WS_ResourceSubscribeSinglePayloadSchema = WS_ResourceSubscribePayloadBaseSchema.extend({\n resourceId: z.string().min(1),\n scopeKey: z.undefined().optional(),\n scopeId: z.undefined().optional(),\n});\n\n/** Subscribe to a scoped collection room. */\nconst WS_ResourceSubscribeScopePayloadSchema = WS_ResourceSubscribePayloadBaseSchema.extend({\n resourceId: z.undefined().optional(),\n scopeKey: z.string().min(1),\n scopeId: z.string().min(1),\n});\n\n/** Subscribe to a resource room - either single-resource or scoped collection. */\nexport const WS_ResourceSubscribePayloadSchema = z.union([\n WS_ResourceSubscribeSinglePayloadSchema,\n WS_ResourceSubscribeScopePayloadSchema,\n]);\nexport type WS_ResourceSubscribePayload = z.infer<typeof WS_ResourceSubscribePayloadSchema>;\n\n/** Server confirmation of subscription */\nexport const WS_ResourceSubscribedPayloadSchema = z.object({\n roomName: z.string(),\n success: z.boolean(),\n error: z.string().optional(),\n /** List of user IDs currently editing this resource (only for single resource subscriptions) */\n editingUsers: z.array(z.string()).optional(),\n});\nexport type WS_ResourceSubscribedPayload = z.infer<typeof WS_ResourceSubscribedPayloadSchema>;\n\n// =====================================================\n// Notification Payloads (server → client, target-based)\n// =====================================================\n\n/**\n * Notification level enum for typed notifications\n */\nexport enum NotificationLevel {\n INFO = 'info',\n SUCCESS = 'success',\n WARNING = 'warning',\n ERROR = 'error',\n}\n\nexport const NotificationLevelSchema = z.enum(NotificationLevel);\n\n/** Resource notification via identity rooms (org, role, user) */\nexport const WS_ResourceNotificationPayloadSchema = z.object({\n // Operation path fields (for EventBus matching)\n resourceType: z.string(),\n operationIdentifier: z.string(),\n operationPathKey: z.string().optional(),\n variantType: z.enum(ResourceOperationVariantType).optional(),\n isOperationDefault: z.boolean().default(false),\n isBulkOperation: z.boolean().default(false),\n variantKey: z.string().optional(),\n\n // Context for scoped matching\n contextResourceIdentifiers: ContextResourceIdentifiersSchema.optional(),\n\n /** Server-authored delivery policy. Keep the frame for data refresh even when its message is suppressed. */\n deliveryPolicy: z.object({\n target: UserNotificationTargetSchema,\n alwaysDeliver: z.boolean(),\n }),\n\n // Notification data\n action: ResourceActionSchema,\n /** Explicit notification level (overrides action-based default) */\n notificationLevel: NotificationLevelSchema.optional(),\n affectedIds: z.array(z.string()),\n notificationIdentifier: z.string().optional(),\n initiatorUserId: z.string().optional(),\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n\n /**\n * Frontend display hints (only populated for FRONT_END_SUCCESS channel).\n * Contains optional celebration mode and next-step suggestion.\n * Backend passes these through without interpreting them — the frontend\n * reads them to decide rendering (toast vs overlay vs confetti, with or without CTA).\n */\n frontendDisplayHints: FrontendDisplayHintsSchema.optional(),\n});\nexport type WS_ResourceNotificationPayload = z.infer<typeof WS_ResourceNotificationPayloadSchema>;\n\n/** Badge count update */\nexport const WS_BadgeUpdatePayloadSchema = z.object({\n badgeReference: z.string(),\n badgeCount: z.number().int().min(0),\n organizationId: z.string().optional(),\n});\nexport type WS_BadgeUpdatePayload = z.infer<typeof WS_BadgeUpdatePayloadSchema>;\n\n/**\n * Display target enum for user notifications\n */\nexport enum NotificationDisplayTarget {\n TOAST = 'toast',\n CENTER = 'center',\n BOTH = 'both',\n}\n\nexport const NotificationDisplayTargetSchema = z.enum(NotificationDisplayTarget);\n\n/**\n * Direct user notification (not tied to resource operation)\n * Used for arbitrary backend-initiated notifications like:\n * - \"Your export is ready\"\n * - \"Payment received\"\n * - \"System maintenance scheduled\"\n */\nexport const WS_UserNotificationPayloadSchema = z.object({\n /** Notification level (info, success, warning, error) */\n notificationLevel: NotificationLevelSchema,\n /** i18n identifier for message lookup (FrontendNotificationCustomMessageRefs) */\n identifier: z.string().optional(),\n /** Direct message (fallback if identifier not found or not provided) */\n message: z.string().optional(),\n /** Optional notification title */\n title: z.string().optional(),\n /** Additional context data */\n data: z.record(z.string(), z.unknown()).optional(),\n /** Where to display the notification */\n displayTarget: NotificationDisplayTargetSchema.default(NotificationDisplayTarget.BOTH),\n /** Organization context (if notification is org-scoped) */\n organizationId: z.string().optional(),\n /** Timestamp */\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n});\nexport type WS_UserNotificationPayload = z.infer<typeof WS_UserNotificationPayloadSchema>;\n\n// =====================================================\n// Analytics Payloads (server → client)\n// =====================================================\n\n/** Analytics moment achievement notification */\nexport const WS_AnalyticsMomentAchievedPayloadSchema = z.object({\n momentIdentifier: z.string(),\n role: z.enum(ValueMomentRole),\n scope: z.enum(ValueMomentScope),\n scopeEntityId: z.string(),\n achievedAt: WebSocketTimestampSchema,\n triggerSource: z.enum(['frontend', 'backend'] as const),\n});\nexport type WS_AnalyticsMomentAchievedPayload = z.infer<typeof WS_AnalyticsMomentAchievedPayloadSchema>;\n\n// =====================================================\n// Guidance Event Payloads\n// =====================================================\n\n/** Guidance state changed event — pushed by backend or frontend for real-time sync */\nexport const GuidanceRealtimeStatusSchema = z.union([\n z.literal(OnboardingStatus.IN_PROGRESS),\n z.literal(OnboardingStatus.COMPLETED),\n z.literal(OnboardingStatus.DISMISSED),\n]);\n\n/** Guidance state changed event — only statuses broadcast through the realtime bridge. */\nexport const WS_GuidanceStateChangedPayloadSchema = z.object({\n flowRef: z.string(),\n status: GuidanceRealtimeStatusSchema,\n elementRef: z.string().optional(),\n triggerSource: z.enum(['frontend', 'backend'] as const),\n /** Which scope this event pertains to — determines how frontend routes state updates */\n scope: z.enum(GuidanceFlowScope),\n renderMode: z.enum(GuidanceRenderMode).optional(),\n});\nexport type WS_GuidanceStateChangedPayload = z.infer<typeof WS_GuidanceStateChangedPayloadSchema>;\n\n// =====================================================\n// Progression Event Payloads\n// =====================================================\n\n/** Milestone achieved event — pushed by backend when a milestone condition is met */\nexport const WS_MilestoneAchievedPayloadSchema = z.object({\n milestoneRef: z.string(),\n category: z.string(),\n points: z.number().int().optional(),\n /** Which scope this milestone belongs to — determines how frontend routes state updates */\n scope: z.enum(ProgressionScope),\n reward: z.object({\n type: z.enum(MilestoneRewardType),\n featureRef: z.string().optional(),\n guidanceFlowRef: z.string().optional(),\n /*\n * Typed against the named vocabulary rather than the inline union it was — the same correction\n * the lifecycle fields below record, for the same reason: this payload is what the frontend\n * derives a presentation from, and an untyped copy of a vocabulary drifts from it in silence.\n */\n celebrationLevel: z.enum(MilestoneCelebrationLevel).optional(),\n /** An explicit presentation, overriding whatever the level would have chosen. */\n celebrationMode: z.enum(CelebrationDisplayMode).optional(),\n }),\n /** Phase 5 integration: lifecycle transition triggered by this milestone */\n /**\n * Typed against the named vocabulary, like `WS_LifecycleStageChangedPayloadSchema` a few\n * declarations below — these two were `z.string()` while their neighbour used\n * `z.enum(LifecycleStage)` for the same fact. See `MilestoneLifecycleTransition` for what the\n * untyped form cost.\n */\n lifecycleTransition: z.object({\n from: z.enum(LifecycleStage),\n to: z.enum(LifecycleStage),\n }).optional(),\n /** Timestamp of achievement */\n achievedAt: WebSocketTimestampSchema,\n /** Updated total points (post-achievement) */\n totalPoints: z.number().int(),\n});\nexport type WS_MilestoneAchievedPayload = z.infer<typeof WS_MilestoneAchievedPayloadSchema>;\n\n/**\n * Progression progress event — pushed by backend after a milestone-triggering\n * operation increments the scope's `operationCounts`, regardless of whether a\n * milestone was achieved. Carries the authoritative post-increment counts so\n * the frontend can advance in-progress bars without a refetch (the backend\n * evaluation is fire-and-forget, so the frontend cannot re-read counts\n * race-free on its own).\n */\nexport const WS_ProgressionUpdatedPayloadSchema = z.object({\n /** Which scope's progression state changed. */\n scope: z.enum(ProgressionScope),\n /** Full post-increment operation-count map for the scope (`{ 'todos:create': 9 }`). */\n operationCounts: z.record(z.string(), z.number().int()),\n /** Current total points for the scope (unchanged unless a milestone also fired). */\n totalPoints: z.number().int(),\n /** When the increment was applied. */\n updatedAt: WebSocketTimestampSchema,\n});\nexport type WS_ProgressionUpdatedPayload = z.infer<typeof WS_ProgressionUpdatedPayloadSchema>;\n\n// =====================================================\n// Lifecycle Event Payloads\n// =====================================================\n\n/** Lifecycle stage changed event — pushed by backend when a lifecycle transition occurs */\nexport const WS_LifecycleStageChangedPayloadSchema = z.object({\n /** Previous stage before transition */\n previousStage: z.enum(LifecycleStage),\n /** New stage after transition */\n newStage: z.enum(LifecycleStage),\n /** Which scope this lifecycle state belongs to */\n scope: z.enum(LifecycleScope),\n /** What triggered the transition */\n trigger: z.string().optional(),\n /** When the transition occurred */\n changedAt: WebSocketTimestampSchema,\n /** Activation progress snapshot (for SIGNED_UP → ACTIVATED tracking) */\n activationCriteriaMet: z.record(z.string(), z.boolean()).optional(),\n});\nexport type WS_LifecycleStageChangedPayload = z.infer<typeof WS_LifecycleStageChangedPayloadSchema>;\n\n// =====================================================\n// CRDT Field Metadata (shared between backend + frontend)\n// =====================================================\n\n/**\n * Per-field CRDT metadata: server-authoritative timestamp + last editor.\n * `meta` is an extensibility slot for future per-field metadata (e.g. merge strategy hints,\n * conflict resolution context) without requiring a schema migration.\n */\nexport const FieldMetaEntrySchema = z.object({\n ts: z.number(),\n by: z.string(),\n meta: z.record(z.string(), z.unknown()).optional(),\n});\nexport type FieldMetaEntry = z.infer<typeof FieldMetaEntrySchema>;\n\nexport const FieldMetaMapSchema = z.record(z.string(), FieldMetaEntrySchema);\nexport type FieldMetaMap = z.infer<typeof FieldMetaMapSchema>;\n\n// =====================================================\n// Resource Room Payloads (path-independent collaboration)\n// =====================================================\n\nconst ResourceUpdateSyncActionSchema = z.union([\n z.literal(ResourceAction.CREATED),\n z.literal(ResourceAction.UPDATED),\n]);\n\nconst WS_ResourceEventCommonPayloadSchema = z.object({\n resourceType: z.string(),\n resourceId: z.string(),\n contextResourceIdentifiers: ContextResourceIdentifiersSchema,\n affectedIds: z.array(z.string()).optional(),\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n});\n\nconst WS_ResourceUpdateNotificationPayloadCommonSchema = WS_ResourceEventCommonPayloadSchema.extend({\n affectedIds: z.array(z.string()).min(1),\n action: ResourceActionSchema,\n operationIdentifier: z.string().optional(),\n operationPathKey: z.string().optional(),\n variantType: z.enum(ResourceOperationVariantType).optional(),\n isOperationDefault: z.boolean().optional(),\n isBulkOperation: z.boolean().optional(),\n variantKey: z.string().optional(),\n initiatorUserId: z.string().optional(),\n version: z.number().optional(),\n resourceData: z.unknown().optional(),\n fieldMeta: FieldMetaMapSchema.optional(),\n // DataMode values match directly: DataMode.RAW === 'raw', etc.\n dataMode: z.enum(DataMode).optional(),\n});\n/** Notification-grade resource update event delivered to scope rooms. */\nexport const WS_ScopeRoomUpdateNotificationPayloadSchema = WS_ResourceUpdateNotificationPayloadCommonSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.SCOPE_ROOM_NOTIFICATION),\n});\nexport type WS_ScopeRoomUpdateNotificationPayload = z.infer<typeof WS_ScopeRoomUpdateNotificationPayloadSchema>;\n\n/** Notification-grade resource update event delivered to resource rooms. */\nexport const WS_ResourceRoomUpdateNotificationPayloadSchema = WS_ResourceUpdateNotificationPayloadCommonSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.RESOURCE_ROOM_NOTIFICATION),\n});\nexport type WS_ResourceRoomUpdateNotificationPayload = z.infer<typeof WS_ResourceRoomUpdateNotificationPayloadSchema>;\n\nexport const WS_ResourceUpdateNotificationPayloadSchema = z.discriminatedUnion('deliveryTarget', [\n WS_ScopeRoomUpdateNotificationPayloadSchema,\n WS_ResourceRoomUpdateNotificationPayloadSchema,\n]);\nexport type WS_ResourceUpdateNotificationPayload = z.infer<typeof WS_ResourceUpdateNotificationPayloadSchema>;\n\n/** Synchronization-grade resource update event (resource rooms, RMM replay). */\nexport const WS_ResourceSyncUpdatedPayloadSchema = WS_ResourceEventCommonPayloadSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.RESOURCE_ROOM_SYNC),\n action: ResourceUpdateSyncActionSchema,\n operationIdentifier: z.string().min(1),\n operationPathKey: z.string().optional(),\n variantType: z.enum(ResourceOperationVariantType).optional(),\n isOperationDefault: z.boolean().optional(),\n isBulkOperation: z.boolean().optional(),\n variantKey: z.string().optional(),\n initiatorUserId: z.string().optional(),\n version: z.number(),\n resourceData: z.record(z.string(), z.unknown()),\n fieldMeta: FieldMetaMapSchema.optional(),\n dataMode: z.enum(DataMode).optional(),\n});\nexport type WS_ResourceSyncUpdatedPayload = z.infer<typeof WS_ResourceSyncUpdatedPayloadSchema>;\n\n/** Update events can be either notification-grade or sync-grade, distinguished explicitly. */\nexport const WS_ResourceUpdatedPayloadSchema = z.discriminatedUnion('deliveryTarget', [\n WS_ScopeRoomUpdateNotificationPayloadSchema,\n WS_ResourceRoomUpdateNotificationPayloadSchema,\n WS_ResourceSyncUpdatedPayloadSchema,\n]);\nexport type WS_ResourceUpdatedPayload = z.infer<typeof WS_ResourceUpdatedPayloadSchema>;\n\n/** Resource deleted event for resource rooms. */\nexport const WS_ResourceDeletedPayloadSchema = WS_ResourceEventCommonPayloadSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.RESOURCE_ROOM_SYNC),\n action: z.literal(ResourceAction.DELETED),\n operationIdentifier: z.string().min(1),\n operationPathKey: z.string().optional(),\n variantType: z.enum(ResourceOperationVariantType).optional(),\n isOperationDefault: z.boolean().optional(),\n isBulkOperation: z.boolean().optional(),\n variantKey: z.string().optional(),\n initiatorUserId: z.string().optional(),\n});\nexport type WS_ResourceDeletedPayload = z.infer<typeof WS_ResourceDeletedPayloadSchema>;\n\n/** Lightweight resource-room state payload for lock/unlock style events. */\nexport const WS_ResourceRoomStatePayloadSchema = WS_ResourceEventCommonPayloadSchema.extend({\n deliveryTarget: z.literal(WebSocketResourceDeliveryTarget.RESOURCE_ROOM_SYNC),\n action: ResourceActionSchema.optional(),\n operationIdentifier: z.string().optional(),\n initiatorUserId: z.string().optional(),\n});\nexport type WS_ResourceRoomStatePayload = z.infer<typeof WS_ResourceRoomStatePayloadSchema>;\n\n/**\n * Editing start/end payload\n * - Incoming: contextResourceIdentifiers REQUIRED for UPDATE authorization\n * - Outgoing (broadcast): contextResourceIdentifiers omitted\n */\nexport const WS_ResourceEditingPayloadSchema = z.object({\n resourceType: z.string(),\n resourceId: z.string(),\n contextResourceIdentifiers: ContextResourceIdentifiersSchema.optional(), // Required on input\n initiatorUserId: z.string().optional(),\n timestamp: WebSocketOptionalTimestampSchema,\n reason: z.enum(['manual', 'disconnect', 'timeout', 'auth_refresh', 'organization_switch']).optional(), // For editing:end\n});\nexport type WS_ResourceEditingPayload = z.infer<typeof WS_ResourceEditingPayloadSchema>;\n\n/** Editing confirmation/error */\nexport const WS_ResourceEditingResultPayloadSchema = z.object({\n resourceType: z.string(),\n resourceId: z.string(),\n success: z.boolean(),\n error: z.string().optional(),\n});\nexport type WS_ResourceEditingResultPayload = z.infer<typeof WS_ResourceEditingResultPayloadSchema>;\n\n/**\n * Custom collaboration event\n * - Incoming: contextResourceIdentifiers REQUIRED for READ authorization\n * - Outgoing (broadcast): contextResourceIdentifiers omitted\n */\nexport const WS_ResourceCustomEventPayloadSchema = z.object({\n resourceType: z.string(),\n resourceId: z.string(),\n eventName: z.string().min(1), // Custom event name (e.g., 'cursor:move', 'comment:add')\n data: z.unknown().optional(),\n contextResourceIdentifiers: ContextResourceIdentifiersSchema.optional(), // Required on input\n initiatorUserId: z.string().optional(),\n includeSelf: z.boolean().optional(), // Only for outgoing\n timestamp: WebSocketOptionalTimestampSchema,\n // Phase 7.1: Optional resource data for custom events with resource context\n // When included, will be validated against appropriate DTO based on dataMode.\n resourceData: z.unknown().optional(),\n // DataMode values match directly: DataMode.RAW === 'raw', etc.\n dataMode: z.enum(DataMode).optional(),\n});\nexport type WS_ResourceCustomEventPayload = z.infer<typeof WS_ResourceCustomEventPayloadSchema>;\n\n/**\n * How far a background bulk run has got.\n *\n * `attemptedCount` is what the run was GIVEN, and it never changes during the run — it is the\n * denominator a progress bar needs. `processedCount` counts rows the run has finished with, whether\n * they succeeded or were refused, so `processed / attempted` is honest progress rather than a\n * success rate; `failedCount` is how many of those were refusals.\n *\n * `finished` is explicit rather than inferred from `processedCount === attemptedCount`: a run that\n * ends early — a worker lost, a job that failed outright — would otherwise leave a bar sitting at\n * 94% forever with nothing to say it had stopped.\n */\nexport const WS_BulkJobProgressPayloadSchema = z.object({\n jobId: z.string().min(1),\n resourceType: z.string().min(1),\n operationIdentifier: z.string().min(1),\n attemptedCount: z.number().int().min(0),\n processedCount: z.number().int().min(0),\n failedCount: z.number().int().min(0),\n finished: z.boolean(),\n /**\n * WHICH rows were refused, and why — sent on the FINAL event only, and capped at\n * {@link BULK_JOB_REPORTED_FAILURE_LIMIT}.\n *\n * A count tells a person something went wrong; it does not tell them what to do. The refusal's\n * REFERENCE is what does, because it is the thing a locale turns into words and a client branches\n * on — so the reasons arrive as references and the surface says them in the reader's language.\n *\n * Capped because a run may be given thousands of rows and a socket message is not a report: past\n * the cap, `failedCount` remains exact while the list is a sample. Every refusal is in the job\n * result regardless, which is the durable record.\n *\n * Sent only when finished, deliberately: a list that grew with each progress event would make the\n * surface re-render its whole failure panel on every row, and a person cannot read a list that is\n * still moving.\n */\n failures: z.array(z.object({\n resourceId: z.string().min(1),\n customMessageReference: z.string().optional(),\n errorType: z.string().optional(),\n })).optional(),\n timestamp: WebSocketOptionalTimestampSchema,\n});\n\n/**\n * How many individual refusals a finished bulk run reports over the wire.\n *\n * 50 is what a person can actually read in a panel before it stops being a summary; the exact count\n * is always `failedCount`, and the complete list is in the job result. A larger number would make\n * the message bigger without making it more useful.\n */\nexport const BULK_JOB_REPORTED_FAILURE_LIMIT = 50 as const;\nexport type WS_BulkJobProgressPayload = z.infer<typeof WS_BulkJobProgressPayloadSchema>;\n\n/** Error response for custom events */\nexport const WS_ResourceCustomErrorPayloadSchema = z.object({\n eventName: z.string(),\n error: z.string(),\n});\nexport type WS_ResourceCustomErrorPayload = z.infer<typeof WS_ResourceCustomErrorPayloadSchema>;\n\n// =====================================================\n// Badge Request/Response Payloads\n// =====================================================\n\n/** Badge get request (client → server) */\nexport const WS_BadgeGetRequestSchema = z.object({\n identifier: z.string(),\n scope: z.string(),\n scopeId: z.string(),\n});\n\nexport type WS_BadgeGetRequest = z.infer<typeof WS_BadgeGetRequestSchema>;\n\n/** Badge get-all request (client → server) */\nexport const WS_BadgeGetAllRequestSchema = z.object({\n scope: z.string(),\n scopeId: z.string(),\n});\nexport type WS_BadgeGetAllRequest = z.infer<typeof WS_BadgeGetAllRequestSchema>;\n\n/** Badge get-all response (server → client) */\nexport const WS_BadgeGetAllResponseSchema = z.array(z.object({\n identifier: z.string(),\n count: z.number().min(0),\n}));\nexport type WS_BadgeGetAllResponse = z.infer<typeof WS_BadgeGetAllResponseSchema>;\n\n// =====================================================\n// FlowsActors Payloads (bidirectional)\n// =====================================================\n\n/** Start a FlowActorSystem execution (client → server) */\nexport const WS_FlowsActorsStartPayloadSchema = z.object({\n systemRef: z.string().min(1),\n executionId: z.string().optional(), // Server generates if not provided\n contextResourceIdentifiers: ContextResourceIdentifiersSchema,\n initialInput: z.record(z.string(), z.unknown()).optional(),\n /**\n * The CASE this conversation works on (#1598): a row of a resource declared `workUnit: true`. Admitted only if\n * the connected user can READ it; its model calls, and its resumes', are then attributed to it. Kept for the\n * thread's life: a later turn of the same thread keeps the case it was opened on.\n */\n caseRef: WorkUnitRefSchema.optional(),\n});\nexport type WS_FlowsActorsStartPayload = z.infer<typeof WS_FlowsActorsStartPayloadSchema>;\n\n/** Confirmation of FlowActorSystem start (server → client) */\nexport const WS_FlowsActorsStartedPayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n success: z.boolean(),\n error: z.string().optional(),\n});\nexport type WS_FlowsActorsStartedPayload = z.infer<typeof WS_FlowsActorsStartedPayloadSchema>;\n\n/** Message from agent/flow (server → client) */\nexport const WS_FlowsActorsMessagePayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n messageType: z.enum(['text', 'markdown', 'progress', 'data']),\n content: z.string(),\n data: z.record(z.string(), z.unknown()).optional(),\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n\n /**\n * Correlates streamed token deltas to a single logical message. When present,\n * consecutive `messageId`-sharing events belong to the same assistant turn:\n * non-final events (`isFinal !== true`) carry an incremental delta to APPEND to\n * that message's content; the final event (`isFinal === true`) carries the FULL\n * assembled content as the authoritative value. When absent, the event is a\n * standalone message (legacy/one-shot behavior — append a new entry).\n */\n messageId: z.string().optional(),\n /** True on the terminal event of a streamed message (`content` is the full text). */\n isFinal: z.boolean().optional(),\n});\nexport type WS_FlowsActorsMessagePayload = z.infer<typeof WS_FlowsActorsMessagePayloadSchema>;\n\n/**\n * The approval announcement that is ACTUALLY sent, carried in the `data` bag of a\n * `FLOWS_ACTORS_MESSAGE` of type `PROGRESS`.\n *\n * It is a named schema rather than a shape both ends open-code, because the `data` bag is\n * `z.record(z.string(), z.unknown())` — so nothing typed the announcement, and the browser\n * listened on `FLOWS_ACTORS_APPROVAL_REQUEST` instead, an event **nothing has ever emitted**.\n * The result: `pendingApproval` was never set and no shipped screen could observe a paused turn (#528).\n * Since #1594 the one thing a client echoes back is `decisionRef`; the agent instance, which the answer\n * once had to carry, is read off the row.\n *\n * Producer: `persistApprovalSuspension`. Consumer: `FlowsActorsContext`.\n */\nexport const WS_FlowsActorsApprovalAnnouncementDataSchema = z.object({\n /** Discriminator. The `data` bag carries other kinds of payload on other messages. */\n approvalRequested: z.literal(true),\n approvalId: z.string(),\n /**\n * The decision's one id (#1594) — what every answer, reassignment and audit row names, and the one\n * value a client echoes back. Absent only on a turn paused before decisions were routed.\n */\n decisionRef: z.string().optional(),\n /**\n * Who answers it (#1594). OWNER: the person whose conversation this is — the page showing it may answer.\n * ASSIGNEE / ROLE: a reviewer answers from their inbox, and the requester may not (separation of duties),\n * so a page showing the conversation shows the question as waiting for review, with nothing to press.\n */\n routeKind: z.enum(HumanDecision_RouteKind).optional(),\n /** The tool call being gated. */\n toolName: z.string(),\n /**\n * The tool call's ARGUMENTS — the structured thing a person is actually being asked to approve.\n * Loose here because the shape belongs to the tool, not to the transport; a surface that renders\n * these gets their schema from the tool declaration.\n */\n toolArgs: z.record(z.string(), z.unknown()).optional(),\n /**\n * The gated tool's INPUT SCHEMA, as the `SerializableZodSchema` descriptor `serializeZodSchema`\n * (`@wildo-ai/zod-decorators`) produces from the tool's own `inputSchema` (#587).\n *\n * It exists so an approver who edits the call is shown the tool's fields — which arguments exist,\n * which are required, which are enumerations — instead of a JSON blob. It is a RENDERING HINT and\n * never the control: the server re-validates `modifiedToolArgs` against the tool's live schema and\n * refuses a violation whatever the browser believed, and the descriptor drops refinements (min/max,\n * patterns) by construction.\n *\n * Absent when the tool cannot be resolved from the paused turn. A client that finds a shape it\n * cannot render as fields falls back to the raw editor rather than to no editor.\n *\n * Loose on the wire for the same reason as `toolArgs`: the shape belongs to the descriptor type,\n * which this transport does not re-validate.\n */\n toolInputSchema: z.record(z.string(), z.unknown()).optional(),\n requestedAt: z.string(),\n /** When the pause lapses. Written since #465; it reaches a client only through this block. */\n expiresAt: z.string().optional(),\n /**\n * The reason codes the answer may carry (#1921) — the application's declared vocabulary\n * (`agentWorkReview.reasonCodes`), offered by the approval card when the approver changes or rejects the call.\n * Absent when the application declares none. A tool approval is always a review of agent work, so it always\n * carries the vocabulary when there is one.\n */\n reasonCodes: z.array(AgentWorkReasonCodeSchema).optional(),\n});\nexport type WS_FlowsActorsApprovalAnnouncementData = z.infer<typeof WS_FlowsActorsApprovalAnnouncementDataSchema>;\n\n/**\n * A TOOL-STATUS announcement, carried in the `data` bag of a `FLOWS_ACTORS_MESSAGE` of type\n * `PROGRESS` — one per tool CALL while an assistant turn is working.\n *\n * It carries FACTS, never words. The server used to send `content: \"Looking up your todos…\"`,\n * composed from the tool name by a humanizer: English produced by code, untranslatable, and wrong\n * for any resource whose identifier is not also its name (#1283,\n * `.claude/rules/display-text-comes-from-i18n.md`). The person's words are now resolved in the\n * browser from the label tree — the component's status labels, and the resource's own authored\n * title — and `content` carries the tool name verbatim, a value rather than a sentence.\n *\n * Producer: `ConversationalExecutionBackendService` (`onToolEvent`). Consumer: the flows-actors\n * view's status line. The A2A plane ignores tool-status frames (they carry no `messageId`).\n */\nexport const WS_FlowsActorsToolStatusDataSchema = z.object({\n /** Discriminator. The `data` bag carries other kinds of payload on other messages. */\n toolStatus: z.literal(true),\n /** The tool being called, as the agent runtime names it. */\n tool: z.string(),\n /**\n * The resource the tool READS, when it is one of the engine's resource-read tools. Lets the\n * status name the resource through its authored title; absent for every other tool.\n */\n readsResourceType: z.string().optional(),\n});\nexport type WS_FlowsActorsToolStatusData = z.infer<typeof WS_FlowsActorsToolStatusDataSchema>;\n\n/** Human approval request (server → client) */\nexport const WS_FlowsActorsApprovalRequestPayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n approvalId: z.string(),\n actionDescription: z.string(),\n riskLevel: z.enum(['low', 'medium', 'high', 'critical']),\n requiredRoles: z.array(z.string()).optional(),\n expiresAt: WebSocketOptionalTimestampSchema,\n});\n\nexport type WS_FlowsActorsApprovalRequestPayload = z.infer<typeof WS_FlowsActorsApprovalRequestPayloadSchema>;\n\n/** Human approval response (client → server) */\nexport const WS_FlowsActorsApprovalResponsePayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n approvalId: z.string(),\n /**\n * The decision being answered (#1594), echoed from the announcement. When present it is the ONLY\n * key the server addresses the decision by: everything else — who owns the conversation, its machine\n * credential and its agent instance — is read from the row. When absent the server resolves it from\n * `executionId` + `approvalId`.\n *\n * The agent instance used to be echoed here as well, because the answer filtered on it and a missing\n * value matched the default instance and silently dropped a named-instance decision (#528). An answer\n * now reads the instance off the row, so an echoed one could only ever disagree with it; the field is gone.\n */\n decisionRef: z.string().optional(),\n approved: z.boolean(),\n comment: z.string().optional(),\n /**\n * APPROVE-WITH-MODIFICATIONS (#566): the arguments the approver authored, replacing the ones the\n * model proposed. Meaningful only when `approved` is true — a denial resumes so the model can\n * respond, and there is no call to edit.\n *\n * Absent means \"run the call as proposed\", which is what every decision before this field meant\n * and what the overwhelming majority of decisions will keep meaning. Present means the approver\n * has become an AUTHOR of the call: the server re-validates the arguments against the tool's own\n * `inputSchema`, rewrites the SDK message array it holds, re-signs the approval so the binding\n * still describes the call that will actually run, and records on the audit trail that what\n * executed was not what was proposed.\n *\n * `unknown` values rather than a shaped object, deliberately: the shape is the TOOL's, declared by\n * whichever `FunctionTool` the agent named, and this schema cannot know it. Validation is the\n * server's, against that tool — the browser's is a convenience, never the control.\n */\n modifiedToolArgs: z.record(z.string(), z.unknown()).optional(),\n /**\n * A reason code of the application's declared vocabulary (`agentWorkReview.reasonCodes`, #1599), recorded on the\n * agent-work decision beside the outcome. An undeclared code is refused and the decision stands.\n */\n reasonCode: AgentWorkReasonCodeSchema.optional(),\n});\nexport type WS_FlowsActorsApprovalResponsePayload = z.infer<typeof WS_FlowsActorsApprovalResponsePayloadSchema>;\n\n/** A decision was routed to the recipient (server → client). The id only; the inbox reads the card. */\nexport const WS_FlowsActorsDecisionRoutedPayloadSchema = z.object({\n decisionRef: z.string(),\n});\nexport type WS_FlowsActorsDecisionRoutedPayload = z.infer<typeof WS_FlowsActorsDecisionRoutedPayloadSchema>;\n\n/** Status update during execution (server → client) */\nexport const WS_FlowsActorsStatusUpdatePayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n status: z.string(),\n progress: z.number().min(0).max(100).optional(),\n currentStep: z.string().optional(),\n timestamp: WebSocketTimestampSchema.default(() => new Date()),\n});\nexport type WS_FlowsActorsStatusUpdatePayload = z.infer<typeof WS_FlowsActorsStatusUpdatePayloadSchema>;\n\n/** Execution completed (server → client) */\nexport const WS_FlowsActorsCompletedPayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n success: z.boolean(),\n result: z.record(z.string(), z.unknown()).optional(),\n duration: z.number().optional(), // in ms\n});\nexport type WS_FlowsActorsCompletedPayload = z.infer<typeof WS_FlowsActorsCompletedPayloadSchema>;\n\n/** Execution error (server → client) */\n/**\n * Why a flows-actors request reported an error on `FLOWS_ACTORS_ERROR` — from the socket boundary\n * (an unauthenticated or malformed request) or from the conversational turn itself.\n *\n * One named vocabulary, so a client that must BRANCH on a code — the approval surface keeps a refused\n * modification on screen rather than dropping it (#587) — compares against a member instead of a\n * string it copied from the producer.\n */\nexport enum FlowsActors_ExecutionErrorCode {\n /** The socket carries no authenticated user, so a conversation cannot be started. */\n UNAUTHENTICATED = 'UNAUTHENTICATED',\n /** The inbound flows-actors payload failed validation. */\n INVALID_PAYLOAD = 'INVALID_PAYLOAD',\n /** The conversation has no resolvable owner scope. */\n NO_OWNER = 'NO_OWNER',\n /** The system has no agentic actor bound to an agent to converse with. */\n NO_CHAT_ACTOR = 'NO_CHAT_ACTOR',\n /** No user message was provided to start the conversation. */\n EMPTY_INPUT = 'EMPTY_INPUT',\n /** The execution record could not be opened. */\n PERSIST_FAILED = 'PERSIST_FAILED',\n /** The assistant failed to produce a response. */\n AGENT_FAILED = 'AGENT_FAILED',\n /**\n * The approver's edited tool arguments were refused. RECOVERABLE: the approval is still pending and\n * can be answered again, so a surface must keep it — this is the one code a client branches on.\n */\n APPROVAL_MODIFICATION_REJECTED = 'APPROVAL_MODIFICATION_REJECTED',\n /**\n * The answer's reason code is not one the application declares (#1599). RECOVERABLE, like a refused edit: the\n * approval is still pending and can be answered again, with a declared code or none.\n */\n APPROVAL_REASON_CODE_REJECTED = 'APPROVAL_REASON_CODE_REJECTED',\n /** The system is a FLOW system, and conversational execution of flows is not implemented. */\n FLOW_CONVERSATION_NOT_IMPLEMENTED = 'FLOW_CONVERSATION_NOT_IMPLEMENTED',\n /** No actor system is registered under the requested ref. */\n SYSTEM_NOT_FOUND = 'SYSTEM_NOT_FOUND',\n /**\n * The application requires consent purposes the person has not granted\n * (`compliance.serviceConsentRequirement.requiredPurposes`), so no turn is started. Terminal for this turn,\n * and cured by the person recording their consent in their own preferences — the same refusal every other\n * user-initiated surface answers (#534).\n */\n SERVICE_CONSENT_REQUIRED = 'SERVICE_CONSENT_REQUIRED',\n /**\n * CLIENT-DETECTED — no server emits it. The socket that started this turn dropped before the turn\n * ended. A turn's events are emitted to the socket that started it, so after a drop none of them can\n * arrive, whether the server went away (a restart) or only the connection did; without this the turn\n * stays `STARTING` / `RUNNING` forever and the composer never comes back (#1464, 2026-09-24).\n * RECOVERABLE: when the server survived, the turn still completes and is persisted, and the thread's\n * own history carries the reply.\n */\n CONNECTION_LOST = 'CONNECTION_LOST',\n /**\n * The person cannot answer this decision (#1594): it does not exist, it was already settled, or the\n * route does not admit them. One code for all three on purpose — telling someone that a decision\n * EXISTS but is not theirs is itself a disclosure. The refusal is recorded on the audit trail.\n */\n DECISION_NOT_ANSWERABLE = 'DECISION_NOT_ANSWERABLE',\n /**\n * The decision was answered, but the authority the work was raised under no longer holds (a revoked\n * membership, a suspended user, a revoked delegation). The approved work did NOT run, and the turn is\n * over; the requester must ask again (#1594).\n */\n DECISION_REQUESTER_AUTHORITY_LAPSED = 'DECISION_REQUESTER_AUTHORITY_LAPSED',\n}\n\n/**\n * Why the server refused an approver's EDIT to a tool call's arguments (#1186).\n *\n * The refusal used to travel as English prose in `errorMessage`, which the approval card printed after a\n * localized prefix — untranslatable, and the one place on the card a person read a server sentence. Each\n * member is a different diagnosis with a different remedy, so the card renders a label per member; the\n * prose stays in `errorMessage` for logs.\n */\nexport enum FlowsActors_ApprovalModificationRefusalReason {\n /** The agent that raised the approval is no longer registered, so nothing can check the arguments. */\n AGENT_NOT_REGISTERED = 'agent_not_registered',\n /** The agent no longer declares the tool the approval names. */\n TOOL_NOT_DECLARED = 'tool_not_declared',\n /** The tool no longer requires approval, so the pending decision is stale. */\n TOOL_NO_LONGER_GATED = 'tool_no_longer_gated',\n /** The edited arguments fail the tool's own input schema; `argumentPaths` names the offending ones. */\n ARGUMENTS_INVALID = 'arguments_invalid',\n /** The approval-signing key is not configured, so a modified call cannot be re-bound. */\n SIGNING_KEY_NOT_CONFIGURED = 'signing_key_not_configured',\n /** The paused turn's resume payload does not contain the call the approval names. */\n CALL_NOT_REWRITABLE = 'call_not_rewritable',\n}\n\n/**\n * The structured half of an `APPROVAL_MODIFICATION_REJECTED` error: what the card needs to say, in labels.\n * `reason` is a {@link FlowsActors_ApprovalModificationRefusalReason} member, kept a STRING on the wire for\n * the same reason `errorCode` is — a client older than a new reason must still parse the payload.\n */\nexport const WS_FlowsActorsApprovalModificationRefusalSchema = z.object({\n reason: z.string(),\n /** The tool the approval names, for the reasons that mention it. */\n toolName: z.string().optional(),\n /** The argument paths the tool's schema refused — names only, never the values the approver typed. */\n argumentPaths: z.array(z.string()).optional(),\n});\nexport type WS_FlowsActorsApprovalModificationRefusal = z.infer<typeof WS_FlowsActorsApprovalModificationRefusalSchema>;\n\nexport const WS_FlowsActorsErrorPayloadSchema = z.object({\n systemRef: z.string(),\n executionId: z.string(),\n /**\n * A {@link FlowsActors_ExecutionErrorCode} member. Kept a STRING on the wire so a client built\n * before a code was added still parses the payload; producers emit the enum and consumers compare\n * against it.\n */\n errorCode: z.string(),\n errorMessage: z.string(),\n recoverable: z.boolean().default(false),\n /** Present on `APPROVAL_MODIFICATION_REJECTED`: the refusal as labels can say it (#1186). */\n approvalModificationRefusal: WS_FlowsActorsApprovalModificationRefusalSchema.optional(),\n});\nexport type WS_FlowsActorsErrorPayload = z.infer<typeof WS_FlowsActorsErrorPayloadSchema>;\n\n// =====================================================\n// System Payloads\n// =====================================================\n\nexport const WS_AuthRefreshPayloadSchema = z.object({\n token: z.string(),\n});\nexport type WS_AuthRefreshPayload = z.infer<typeof WS_AuthRefreshPayloadSchema>;\n\nexport const WS_SystemTokenRefreshedPayloadSchema = z.object({\n success: z.literal(true),\n});\nexport type WS_SystemTokenRefreshedPayload = z.infer<typeof WS_SystemTokenRefreshedPayloadSchema>;\n\nexport const WS_OrganizationSwitchPayloadSchema = z.object({\n organizationId: z.string(),\n previousOrganizationId: z.string().optional(),\n});\nexport type WS_OrganizationSwitchPayload = z.infer<typeof WS_OrganizationSwitchPayloadSchema>;\n\n/**\n * The codes a `SYSTEM_ERROR` carries — what a client BRANCHES on, so each one names the client's remedy.\n *\n * `code` on the payload stays a plain string on the wire so a client decoding a newer server's code does not fail to\n * parse the whole event; this enum is the vocabulary both sides compare against.\n */\nexport enum WebSocketSystemErrorCode {\n /** A live AUTH_REFRESH was rejected. The client renews its token and refreshes again. */\n AUTH_REFRESH_FAILED = 'AUTH_REFRESH_FAILED',\n /**\n * An ORGANIZATION_SWITCH was refused: the connection stays in its PREVIOUS organization — its rooms, its subscription\n * checks. The client re-handshakes with the organization it intended (#1597), which re-derives everything server-side\n * with the latest token. The handshake applies its own rules: a revoked session or an expired token fails it; an\n * organization the user holds no entry in is simply not honoured (it falls back to the user's sole membership, or\n * none), so the connection never gains that organization's rooms.\n */\n ORGANIZATION_SWITCH_FORBIDDEN = 'ORGANIZATION_SWITCH_FORBIDDEN',\n /** Too many real-time requests. The client slows down; nothing is retried automatically. */\n RATE_LIMIT_EXCEEDED = 'RATE_LIMIT_EXCEEDED',\n}\n\nexport const WS_SystemErrorPayloadSchema = z.object({\n code: z.string(),\n message: z.string(),\n details: z.unknown().optional(),\n});\nexport type WS_SystemErrorPayload = z.infer<typeof WS_SystemErrorPayloadSchema>;\n\n// =====================================================\n// Billing Payloads (server → client, invalidation triggers)\n// =====================================================\n\nexport const WS_BillingEventPayloadSchema = z.object({\n scopeType: z.enum(ResourcePrimaryScope),\n scopeEntityId: z.string(),\n billingAccountId: z.string(),\n});\n export type WS_BillingEventPayload = z.infer<typeof WS_BillingEventPayloadSchema>;\n\n// =====================================================\n// Event-to-Schema Map (for validation)\n// =====================================================\n\nexport const WebSocketEventSchemas = {\n // Room management\n [CoreWebSocketEvent.RESOURCE_SUBSCRIBE]: WS_ResourceSubscribePayloadSchema,\n [CoreWebSocketEvent.RESOURCE_UNSUBSCRIBE]: WS_ResourceSubscribePayloadSchema,\n [CoreWebSocketEvent.RESOURCE_SUBSCRIBED]: WS_ResourceSubscribedPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_UNSUBSCRIBED]: WS_ResourceSubscribedPayloadSchema,\n\n // Notifications\n [CoreWebSocketEvent.RESOURCE_NOTIFICATION]: WS_ResourceNotificationPayloadSchema,\n [CoreWebSocketEvent.USER_NOTIFICATION]: WS_UserNotificationPayloadSchema,\n [CoreWebSocketEvent.BADGE_UPDATE]: WS_BadgeUpdatePayloadSchema,\n [CoreWebSocketEvent.BADGE_GET]: WS_BadgeGetRequestSchema,\n [CoreWebSocketEvent.BADGE_GET_ALL]: WS_BadgeGetAllRequestSchema,\n\n // Resource room events\n [CoreWebSocketEvent.RESOURCE_UPDATED]: WS_ResourceUpdatedPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_DELETED]: WS_ResourceDeletedPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_EDITING_START]: WS_ResourceEditingPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_EDITING_END]: WS_ResourceEditingPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_EDITING_STARTED]: WS_ResourceEditingResultPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_EDITING_ERROR]: WS_ResourceEditingResultPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_LOCKED]: WS_ResourceRoomStatePayloadSchema,\n [CoreWebSocketEvent.RESOURCE_UNLOCKED]: WS_ResourceRoomStatePayloadSchema,\n [CoreWebSocketEvent.RESOURCE_CUSTOM]: WS_ResourceCustomEventPayloadSchema,\n [CoreWebSocketEvent.BULK_JOB_PROGRESS]: WS_BulkJobProgressPayloadSchema,\n [CoreWebSocketEvent.RESOURCE_CUSTOM_ERROR]: WS_ResourceCustomErrorPayloadSchema,\n\n // FlowsActors\n [CoreWebSocketEvent.FLOWS_ACTORS_START]: WS_FlowsActorsStartPayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_STARTED]: WS_FlowsActorsStartedPayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_MESSAGE]: WS_FlowsActorsMessagePayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_APPROVAL_REQUEST]: WS_FlowsActorsApprovalRequestPayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_APPROVAL_RESPONSE]: WS_FlowsActorsApprovalResponsePayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_STATUS_UPDATE]: WS_FlowsActorsStatusUpdatePayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_COMPLETED]: WS_FlowsActorsCompletedPayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_ERROR]: WS_FlowsActorsErrorPayloadSchema,\n [CoreWebSocketEvent.FLOWS_ACTORS_DECISION_ROUTED]: WS_FlowsActorsDecisionRoutedPayloadSchema,\n\n // Billing\n [CoreWebSocketEvent.BILLING_STATUS_CHANGED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_SUBSCRIPTION_UPDATED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_ACCOUNT_CHANGED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_USAGE_UPDATED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_CREDIT_POOL_UPDATED]: WS_BillingEventPayloadSchema,\n [CoreWebSocketEvent.BILLING_FEATURES_UPDATED]: WS_BillingEventPayloadSchema,\n\n // Analytics\n [CoreWebSocketEvent.ANALYTICS_MOMENT_ACHIEVED]: WS_AnalyticsMomentAchievedPayloadSchema,\n\n // Guidance\n [CoreWebSocketEvent.GUIDANCE_STATE_CHANGED]: WS_GuidanceStateChangedPayloadSchema,\n\n // Progression\n [CoreWebSocketEvent.MILESTONE_ACHIEVED]: WS_MilestoneAchievedPayloadSchema,\n [CoreWebSocketEvent.PROGRESSION_UPDATED]: WS_ProgressionUpdatedPayloadSchema,\n\n // Lifecycle\n [CoreWebSocketEvent.LIFECYCLE_STAGE_CHANGED]: WS_LifecycleStageChangedPayloadSchema,\n\n // System\n [CoreWebSocketEvent.AUTH_REFRESH]: WS_AuthRefreshPayloadSchema,\n [CoreWebSocketEvent.ORGANIZATION_SWITCH]: WS_OrganizationSwitchPayloadSchema,\n [CoreWebSocketEvent.SYSTEM_TOKEN_REFRESHED]: WS_SystemTokenRefreshedPayloadSchema,\n [CoreWebSocketEvent.SYSTEM_ERROR]: WS_SystemErrorPayloadSchema,\n} as const;\n\n// =====================================================\n// Typed Payload Map (for TypeScript inference)\n// =====================================================\n\nexport type WebSocketEventPayloads = {\n [CoreWebSocketEvent.RESOURCE_SUBSCRIBE]: WS_ResourceSubscribePayload;\n [CoreWebSocketEvent.RESOURCE_UNSUBSCRIBE]: WS_ResourceSubscribePayload;\n [CoreWebSocketEvent.RESOURCE_SUBSCRIBED]: WS_ResourceSubscribedPayload;\n [CoreWebSocketEvent.RESOURCE_UNSUBSCRIBED]: WS_ResourceSubscribedPayload;\n\n [CoreWebSocketEvent.RESOURCE_NOTIFICATION]: WS_ResourceNotificationPayload;\n [CoreWebSocketEvent.USER_NOTIFICATION]: WS_UserNotificationPayload;\n [CoreWebSocketEvent.BADGE_UPDATE]: WS_BadgeUpdatePayload;\n [CoreWebSocketEvent.BADGE_GET]: WS_BadgeGetRequest;\n [CoreWebSocketEvent.BADGE_GET_ALL]: WS_BadgeGetAllRequest;\n\n [CoreWebSocketEvent.RESOURCE_UPDATED]: WS_ResourceUpdatedPayload;\n [CoreWebSocketEvent.RESOURCE_DELETED]: WS_ResourceDeletedPayload;\n [CoreWebSocketEvent.RESOURCE_EDITING_START]: WS_ResourceEditingPayload;\n [CoreWebSocketEvent.RESOURCE_EDITING_END]: WS_ResourceEditingPayload;\n [CoreWebSocketEvent.RESOURCE_EDITING_STARTED]: WS_ResourceEditingResultPayload;\n [CoreWebSocketEvent.RESOURCE_EDITING_ERROR]: WS_ResourceEditingResultPayload;\n [CoreWebSocketEvent.RESOURCE_LOCKED]: WS_ResourceRoomStatePayload;\n [CoreWebSocketEvent.RESOURCE_UNLOCKED]: WS_ResourceRoomStatePayload;\n [CoreWebSocketEvent.RESOURCE_CUSTOM]: WS_ResourceCustomEventPayload;\n [CoreWebSocketEvent.RESOURCE_CUSTOM_ERROR]: WS_ResourceCustomErrorPayload;\n\n [CoreWebSocketEvent.FLOWS_ACTORS_START]: WS_FlowsActorsStartPayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_STARTED]: WS_FlowsActorsStartedPayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_MESSAGE]: WS_FlowsActorsMessagePayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_APPROVAL_REQUEST]: WS_FlowsActorsApprovalRequestPayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_APPROVAL_RESPONSE]: WS_FlowsActorsApprovalResponsePayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_STATUS_UPDATE]: WS_FlowsActorsStatusUpdatePayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_COMPLETED]: WS_FlowsActorsCompletedPayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_ERROR]: WS_FlowsActorsErrorPayload;\n [CoreWebSocketEvent.FLOWS_ACTORS_DECISION_ROUTED]: WS_FlowsActorsDecisionRoutedPayload;\n\n [CoreWebSocketEvent.BILLING_STATUS_CHANGED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_SUBSCRIPTION_UPDATED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_ACCOUNT_CHANGED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_USAGE_UPDATED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_CREDIT_POOL_UPDATED]: WS_BillingEventPayload;\n [CoreWebSocketEvent.BILLING_FEATURES_UPDATED]: WS_BillingEventPayload;\n\n [CoreWebSocketEvent.ANALYTICS_MOMENT_ACHIEVED]: WS_AnalyticsMomentAchievedPayload;\n\n [CoreWebSocketEvent.GUIDANCE_STATE_CHANGED]: WS_GuidanceStateChangedPayload;\n\n [CoreWebSocketEvent.MILESTONE_ACHIEVED]: WS_MilestoneAchievedPayload;\n [CoreWebSocketEvent.PROGRESSION_UPDATED]: WS_ProgressionUpdatedPayload;\n\n [CoreWebSocketEvent.LIFECYCLE_STAGE_CHANGED]: WS_LifecycleStageChangedPayload;\n\n [CoreWebSocketEvent.AUTH_REFRESH]: WS_AuthRefreshPayload;\n [CoreWebSocketEvent.ORGANIZATION_SWITCH]: WS_OrganizationSwitchPayload;\n [CoreWebSocketEvent.SYSTEM_TOKEN_REFRESHED]: WS_SystemTokenRefreshedPayload;\n [CoreWebSocketEvent.SYSTEM_ERROR]: WS_SystemErrorPayload;\n};\n\n// =====================================================\n// Room Naming Utilities\n// =====================================================\n\n/**\n * WebSocket room name prefixes for different room types.\n * These prefixes are used to create room names for Socket.IO.\n */\nexport enum WebSocketRoomPrefix {\n /** User-specific room: user:{userId} */\n USER = 'user',\n /** Organization room: org:{organizationId} */\n ORGANIZATION = 'org',\n /** Organization role room: org:{organizationId}:role:{role} */\n ORGANIZATION_ROLE = 'role',\n /** Application-level role room: app:role:{role} */\n APP_ROLE = 'app:role',\n /** Resource room: resource:{resourceType}:{resourceId} */\n RESOURCE = 'resource',\n /** Public room for unauthenticated users */\n PUBLIC = 'public',\n}\n\n/**\n * Build a user room name\n */\nexport function buildUserRoomName(userId: string): string {\n return `${WebSocketRoomPrefix.USER}:${userId}`;\n}\n\n/**\n * Build an organization room name\n */\nexport function buildOrganizationRoomName(organizationId: string): string {\n return `${WebSocketRoomPrefix.ORGANIZATION}:${organizationId}`;\n}\n\n/**\n * Build an organization role room name\n */\nexport function buildOrganizationRoleRoomName(organizationId: string, role: string): string {\n return `${WebSocketRoomPrefix.ORGANIZATION}:${organizationId}:${WebSocketRoomPrefix.ORGANIZATION_ROLE}:${role}`;\n}\n\n/**\n * Build an application-level role room name\n */\nexport function buildAppRoleRoomName(role: string): string {\n return `${WebSocketRoomPrefix.APP_ROLE}:${role}`;\n}\n\n/**\n * Build a resource room name\n */\nexport function buildResourceRoomName(resourceType: string, resourceId: string): string {\n return `${WebSocketRoomPrefix.RESOURCE}:${resourceType}:${resourceId}`;\n}\n\n/**\n * Build a scope room name for collection subscriptions\n */\nexport function buildScopeRoomName(resourceType: string, scopeKey: string, scopeId: string): string {\n return `${WebSocketRoomPrefix.RESOURCE}:${resourceType}:${scopeKey}:${scopeId}`;\n}\n\n/**\n * The scope keys a resource room can be qualified by that the FRAMEWORK owns.\n *\n * Closed, and named because each member carries a different meaning that a bare string cannot: `app`\n * scopes a resource to the whole application, `user` to one principal's own rows, `org` to a tenant.\n * A resource can additionally be scoped by a PARENT RESOURCE, and those keys are genuinely open —\n * they are derived from the application's own resource names — so they stay strings.\n */\nexport enum ResourceScopeRoomKey {\n /**\n * The whole application.\n *\n * **`'app'`, while the APPLICATION resource's field identifier is `applicationId`** — and that\n * mismatch is load-bearing rather than sloppy, so it is stated here instead of being \"tidied\".\n *\n * `mapScopeKeyToResourceType` on the server resolves a scope key by searching the registry for a\n * resource whose field identifier is `<scopeKey>Id`. Renaming this member to `'application'` would\n * make that search succeed and route APPLICATION scope through the generic PARENT-scope branch,\n * which authorizes READ on the `applications` row — a row `ORG_MEMBER` may read, while ten of the\n * eleven APPLICATION-scoped resource configs require `APP_ADMIN_SUPER_ADMIN`. The rename would\n * therefore hand every org member notification streams naming rows of SSO connections, SIEM\n * configuration and webhook configs (issue #247).\n *\n * APPLICATION scope has its own branch in `verifyScopeAccess` that authorizes the SUBSCRIBED\n * resource instead, because a single constant discriminates nothing and so cannot stand in for\n * authorization the way a tenant or a parent row does.\n */\n APPLICATION = 'app',\n /** One principal's own rows. */\n USER = 'user',\n /** One tenant. */\n ORGANIZATION = 'org',\n}\n\n/** One scope a resource room can be qualified by. */\nexport interface ResourceScopeRoomQualifier {\n readonly scopeKey: string;\n readonly scopeId: string;\n}\n\n/**\n * Which scope rooms a resource operation's rows belong to.\n *\n * ## Why this lives in the SHARED models rather than on the backend\n *\n * Both ends need the same answer and for opposite reasons: the backend emits a list/cache-refresh\n * notification INTO these rooms after a mutation, and a client that caches a read has to be IN them\n * to hear it. Two implementations of one rule would agree only until one side gained a case — the\n * shape this repository refuses everywhere else — and the failure would be silent, because a client\n * subscribed to the wrong room does not error, it simply never hears that its cache is stale.\n *\n * Ported verbatim from the notifications dispatcher, quirks included, because moving code must not\n * change which rooms are emitted to. Two of those quirks are worth naming so the next reader does not\n * \"fix\" them into a behaviour change:\n *\n * - the parent-scope branch tests `key.endsWith('Id') && !key.includes('Parent')` with a CAPITAL P,\n * so `myParentId` is excluded while `parentTodoListId` is not;\n * - `organizationId` enters that branch and is then skipped by the inner test, having already been\n * pushed above.\n */\nexport function deriveResourceScopeRoomQualifiers(\n contextResourceIdentifiers: Record<string, string>,\n primaryScope: ResourcePrimaryScope,\n): ResourceScopeRoomQualifier[] {\n const scopes: ResourceScopeRoomQualifier[] = [];\n const seenScopes = new Set<string>();\n const pushScope = (scopeKey: string, scopeId: string | undefined): void => {\n if (!scopeId) {\n return;\n }\n const dedupeKey = `${scopeKey}:${scopeId}`;\n if (seenScopes.has(dedupeKey)) {\n return;\n }\n seenScopes.add(dedupeKey);\n scopes.push({ scopeKey, scopeId });\n };\n\n if (primaryScope === ResourcePrimaryScope.APPLICATION && contextResourceIdentifiers.applicationId) {\n pushScope(ResourceScopeRoomKey.APPLICATION, contextResourceIdentifiers.applicationId);\n }\n\n if (primaryScope === ResourcePrimaryScope.USER_SELF && contextResourceIdentifiers.userId) {\n pushScope(ResourceScopeRoomKey.USER, contextResourceIdentifiers.userId);\n }\n\n if (contextResourceIdentifiers.organizationId) {\n pushScope(ResourceScopeRoomKey.ORGANIZATION, contextResourceIdentifiers.organizationId);\n }\n\n for (const [key, value] of Object.entries(contextResourceIdentifiers)) {\n if (key === 'organizationId' || (key.endsWith('Id') && !key.includes('Parent'))) {\n const scopeKey = key.replace(/Id$/, '').toLowerCase();\n /*\n * `organization` and `application` are SKIPPED because the dedicated branches above already\n * emitted their rooms under the keys the server actually knows — `org` and `app`.\n *\n * Stripping `Id` yields the FIELD's name, not the room's: `applicationId` becomes\n * `application`, and `ResourceScopeRoomKey.APPLICATION` is `'app'`. That divergence is\n * deliberate and documented on the enum, so the generic loop cannot be allowed to invent the\n * long form beside the short one.\n *\n * It was inert for as long as no caller put an `applicationId` into this map. The moment one\n * did (issue #283, so a client could name its own APPLICATION room), every such read claimed a\n * FIFTH room the server refuses — measured live:\n * `resource:workbenchDomainResources:application:… -> success: false`. A refused room is not\n * merely wasted: the read cache's `covers()` requires EVERY room confirmed, so one permanently\n * unconfirmable room disabled the cache outright for every APPLICATION-scoped resource.\n */\n if (scopeKey !== 'organization' && scopeKey !== 'application' && value) {\n pushScope(scopeKey, value);\n }\n }\n }\n\n return scopes;\n}\n\n/**\n * Parse a resource room name into its components\n */\nexport function parseResourceRoomName(roomName: string): {\n resourceType: string;\n resourceId?: string;\n scopeKey?: string;\n scopeId?: string;\n} | null {\n const parts = roomName.split(':');\n if (parts.length < 3 || parts[0] !== WebSocketRoomPrefix.RESOURCE) return null;\n\n if (parts.length === 3) {\n return { resourceType: parts[1], resourceId: parts[2] };\n } else if (parts.length === 4) {\n return { resourceType: parts[1], scopeKey: parts[2], scopeId: parts[3] };\n }\n return null;\n}\n\n/**\n * Extract organization ID from an organization room name\n */\nexport function parseOrganizationRoomName(roomName: string): string | null {\n if (roomName.startsWith(`${WebSocketRoomPrefix.ORGANIZATION}:`)) {\n // Handle both org:{orgId} and org:{orgId}:role:{role}\n const parts = roomName.split(':');\n return parts[1] || null;\n }\n return null;\n}\n\n// =====================================================\n// Validation Helpers\n// =====================================================\n\n/**\n * Validate an incoming WebSocket event payload\n */\nexport function validateWebSocketPayload<E extends keyof typeof WebSocketEventSchemas>(\n event: E,\n payload: unknown\n): E extends keyof WebSocketEventPayloads ? WebSocketEventPayloads[E] : unknown {\n const schema = WebSocketEventSchemas[event];\n return schema.parse(payload) as E extends keyof WebSocketEventPayloads ? WebSocketEventPayloads[E] : unknown;\n}\n\n/**\n * Safe validation (returns result instead of throwing)\n */\nexport function safeValidateWebSocketPayload<E extends keyof typeof WebSocketEventSchemas>(\n event: E,\n payload: unknown\n): { success: true; data: E extends keyof WebSocketEventPayloads ? WebSocketEventPayloads[E] : unknown } | { success: false; error: z.ZodError } {\n const schema = WebSocketEventSchemas[event];\n const result = schema.safeParse(payload);\n if (result.success) {\n return { success: true, data: result.data as E extends keyof WebSocketEventPayloads ? WebSocketEventPayloads[E] : unknown };\n }\n return { success: false, error: result.error };\n}\n"]}
@@ -0,0 +1,21 @@
1
+ import type { z } from 'zod';
2
+ /**
3
+ * The JSON-Schema key that names the resource an embedded record belongs to (#1625).
4
+ *
5
+ * A response often carries whole records of ANOTHER resource: a context read embeds its related
6
+ * records under a relationship-derived name (`todos`, `user`), and an aggregate response such as the
7
+ * billing state embeds products, prices and promotions. Their fields are that other resource's, so
8
+ * the response's own resource has no documentation for them.
9
+ *
10
+ * Carried as schema metadata, so `z.toJSONSchema` writes it beside the embedded schema. The API
11
+ * reference's projector reads it, describes the record's fields from that resource's own
12
+ * specification, and removes it: it is an input to documentation, not published API. Metadata
13
+ * only, so it changes nothing a parse accepts.
14
+ *
15
+ * The value is a projected resource type, not a polymorphic base: a record that is one variant or
16
+ * another depending on the caller's scope has no single resource to name.
17
+ */
18
+ export declare const EMBEDDED_RESOURCE_SCHEMA_KEY = "x-wildo-embedded-resource";
19
+ /** `schema`, marked as a record of `resourceType` (see {@link EMBEDDED_RESOURCE_SCHEMA_KEY}). */
20
+ export declare function markEmbeddedResourceSchema<TSchema extends z.ZodTypeAny>(schema: TSchema, resourceType: string): TSchema;
21
+ //# sourceMappingURL=embedded-resource-mark.shared.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embedded-resource-mark.shared.utils.d.ts","sourceRoot":"","sources":["../../../../src/resources/embedded-resource-mark.shared.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,4BAA4B,8BAA8B,CAAC;AAExE,iGAAiG;AACjG,wBAAgB,0BAA0B,CAAC,OAAO,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAEvH"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * The JSON-Schema key that names the resource an embedded record belongs to (#1625).
3
+ *
4
+ * A response often carries whole records of ANOTHER resource: a context read embeds its related
5
+ * records under a relationship-derived name (`todos`, `user`), and an aggregate response such as the
6
+ * billing state embeds products, prices and promotions. Their fields are that other resource's, so
7
+ * the response's own resource has no documentation for them.
8
+ *
9
+ * Carried as schema metadata, so `z.toJSONSchema` writes it beside the embedded schema. The API
10
+ * reference's projector reads it, describes the record's fields from that resource's own
11
+ * specification, and removes it: it is an input to documentation, not published API. Metadata
12
+ * only, so it changes nothing a parse accepts.
13
+ *
14
+ * The value is a projected resource type, not a polymorphic base: a record that is one variant or
15
+ * another depending on the caller's scope has no single resource to name.
16
+ */
17
+ export const EMBEDDED_RESOURCE_SCHEMA_KEY = 'x-wildo-embedded-resource';
18
+ /** `schema`, marked as a record of `resourceType` (see {@link EMBEDDED_RESOURCE_SCHEMA_KEY}). */
19
+ export function markEmbeddedResourceSchema(schema, resourceType) {
20
+ return schema.meta({ [EMBEDDED_RESOURCE_SCHEMA_KEY]: resourceType });
21
+ }
22
+ //# sourceMappingURL=embedded-resource-mark.shared.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embedded-resource-mark.shared.utils.js","sourceRoot":"","sources":["../../../../src/resources/embedded-resource-mark.shared.utils.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,2BAA2B,CAAC;AAExE,iGAAiG;AACjG,MAAM,UAAU,0BAA0B,CAA+B,MAAe,EAAE,YAAoB;IAC5G,OAAO,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,4BAA4B,CAAC,EAAE,YAAY,EAAE,CAAY,CAAC;AAClF,CAAC","sourcesContent":["import type { z } from 'zod';\n\n/**\n * The JSON-Schema key that names the resource an embedded record belongs to (#1625).\n *\n * A response often carries whole records of ANOTHER resource: a context read embeds its related\n * records under a relationship-derived name (`todos`, `user`), and an aggregate response such as the\n * billing state embeds products, prices and promotions. Their fields are that other resource's, so\n * the response's own resource has no documentation for them.\n *\n * Carried as schema metadata, so `z.toJSONSchema` writes it beside the embedded schema. The API\n * reference's projector reads it, describes the record's fields from that resource's own\n * specification, and removes it: it is an input to documentation, not published API. Metadata\n * only, so it changes nothing a parse accepts.\n *\n * The value is a projected resource type, not a polymorphic base: a record that is one variant or\n * another depending on the caller's scope has no single resource to name.\n */\nexport const EMBEDDED_RESOURCE_SCHEMA_KEY = 'x-wildo-embedded-resource';\n\n/** `schema`, marked as a record of `resourceType` (see {@link EMBEDDED_RESOURCE_SCHEMA_KEY}). */\nexport function markEmbeddedResourceSchema<TSchema extends z.ZodTypeAny>(schema: TSchema, resourceType: string): TSchema {\n return schema.meta({ [EMBEDDED_RESOURCE_SCHEMA_KEY]: resourceType }) as TSchema;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"resources-config.shared.factory.d.ts","sourceRoot":"","sources":["../../../../src/resources/resources-config.shared.factory.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAGH,OAAO,EACL,YAAY,EAEZ,gBAAgB,EAqBjB,MAAM,0BA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O,CAAC;IACpB;;;;;;;;;;OAUG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;CACzC,GAAG,gCAAgC,CAAC,aAAa,EAAE,WAAW,CAAC,CA6F/D;AA4GD;;;;GAIG;AACH,wBAAgB,0CAA0C,CACxD,oBAAoB,SAAS,YAAY,GAAG,SAAS,EACrD,kBAAkB,SAAS,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,EACrE,WAAW,SAAS,CAAC,CAAC,UAAU,EAChC,MAAM,EAAE,uCAAuC,CAC/C,oBAAoB,EAAE,kBAAkB,EAAE,WAAW,CACtD,GAAG,qBAAqB,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,WAAW,CAAC,CAy8E/E"}
1
+ {"version":3,"file":"resources-config.shared.factory.d.ts","sourceRoot":"","sources":["../../../../src/resources/resources-config.shared.factory.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AAGH,OAAO,EACL,YAAY,EAEZ,gBAAgB,EAuBjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiFxB,OAAO,EAEL,KAAK,wBAAwB,EAe7B,qBAAqB,EAKrB,uCAAuC,EAKvC,gCAAgC,EAWjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAwD,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEhJ,OAAO,EAUL,oBAAoB,EAarB,MAAM,4BAA4B,CAAC;AAsbpC,wBAAgB,4CAA4C,CAC1D,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,EAChE,wBAAwB,EAAE,oBAAoB,EAAE,EAChD,2BAA2B,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC1F,IAAI,CA0BN;AA+gBD,+EAA+E;AAI/E;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,qBAAqB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