@wildo-ai/saas-models 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1032) hide show
  1. package/dist/esm/__tests__/setup.d.ts.map +1 -1
  2. package/dist/esm/_inspect.d.ts.map +1 -1
  3. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts +1 -1
  4. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
  5. package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
  6. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts +1 -1
  7. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
  8. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +2 -2
  9. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
  10. package/dist/esm/applications/applications-context.schemas.d.ts +236 -18
  11. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  12. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts +1 -0
  13. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  14. package/dist/esm/applications/applications.shared.resources-config.schemas.js +1 -1
  15. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  16. package/dist/esm/applications/applications.shared.schemas.d.ts +3 -2
  17. package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
  18. package/dist/esm/applications/applications.shared.schemas.js +40 -5
  19. package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
  20. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +1 -2
  21. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
  22. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js +1 -2
  23. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
  24. package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
  25. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
  26. package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
  27. package/dist/esm/billing/billing-enums.shared.schemas.d.ts +87 -5
  28. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  29. package/dist/esm/billing/billing-enums.shared.schemas.js +91 -5
  30. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  31. package/dist/esm/billing/billing-types.shared.schemas.d.ts +24 -4
  32. package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
  33. package/dist/esm/billing/billing-types.shared.schemas.js +24 -8
  34. package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
  35. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
  36. package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
  37. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts.map +1 -1
  38. package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
  39. package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
  40. package/dist/esm/billing/price.shared.resources-config.schemas.js +32 -2
  41. package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
  42. package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
  43. package/dist/esm/billing/price.shared.schemas.js.map +1 -1
  44. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  45. package/dist/esm/billing/product-behavior-policy.shared.schemas.js +1 -1
  46. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  47. package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
  48. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
  49. package/dist/esm/billing/product.shared.resources-config.schemas.js +32 -2
  50. package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
  51. package/dist/esm/billing/product.shared.schemas.d.ts +1 -0
  52. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  53. package/dist/esm/billing/product.shared.schemas.js +3 -0
  54. package/dist/esm/billing/product.shared.schemas.js.map +1 -1
  55. package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
  56. package/dist/esm/billing/promotions.shared.resources-config.schemas.js +33 -3
  57. package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
  58. package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
  59. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
  60. package/dist/esm/billing/referral.shared.resources-config.schemas.js +22 -2
  61. package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
  62. package/dist/esm/billing/referral.shared.schemas.d.ts +1 -0
  63. package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
  64. package/dist/esm/billing/referral.shared.schemas.js +3 -0
  65. package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
  66. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +23 -1
  67. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  68. package/dist/esm/billing/subscription.shared.resources-config.schemas.js +48 -2
  69. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  70. package/dist/esm/billing/subscription.shared.schemas.d.ts +1 -0
  71. package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
  72. package/dist/esm/billing/subscription.shared.schemas.js +3 -0
  73. package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
  74. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts +49 -0
  75. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -0
  76. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js +48 -0
  77. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -0
  78. package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts.map +1 -1
  79. package/dist/esm/billing/usage-record.shared.schemas.d.ts +1 -0
  80. package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
  81. package/dist/esm/billing/usage-record.shared.schemas.js +3 -0
  82. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  83. package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
  84. package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
  85. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +7 -1
  86. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  87. package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
  88. package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -1
  89. package/dist/esm/companion-exports.d.ts.map +1 -1
  90. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -3
  91. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  92. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +21 -7
  93. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
  94. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +450 -0
  95. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -0
  96. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +723 -0
  97. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -0
  98. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
  99. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +2 -2
  100. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  101. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +8 -0
  102. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  103. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +15 -0
  104. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  105. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +610 -16
  106. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  107. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +769 -38
  108. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  109. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  110. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +29 -0
  111. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  112. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts +463 -0
  113. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -0
  114. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js +526 -0
  115. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -0
  116. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +539 -15
  117. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
  118. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +402 -14
  119. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
  120. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts +18 -0
  121. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -0
  122. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js +89 -0
  123. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -0
  124. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts +47 -0
  125. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -0
  126. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js +73 -0
  127. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -0
  128. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +21 -0
  129. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
  130. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +39 -1
  131. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
  132. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts +33 -0
  133. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -0
  134. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js +30 -0
  135. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -0
  136. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts +6 -5
  137. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
  138. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js +15 -5
  139. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
  140. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts +127 -0
  141. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -0
  142. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js +94 -0
  143. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -0
  144. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts +125 -0
  145. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -0
  146. package/dist/esm/compliance/privacy/consent-purposes.shared.js +136 -0
  147. package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -0
  148. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +1 -1
  149. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +91 -0
  150. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -0
  151. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +123 -0
  152. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -0
  153. package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
  154. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
  155. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
  156. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
  157. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +68 -25
  158. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
  159. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +74 -22
  160. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
  161. package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -1
  162. package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
  163. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +9 -17
  164. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
  165. package/dist/esm/compliance/privacy/privacy.shared.schemas.js +74 -31
  166. package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
  167. package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
  168. package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
  169. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
  170. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts +47 -0
  171. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -0
  172. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js +98 -0
  173. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -0
  174. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +368 -35
  175. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
  176. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +403 -17
  177. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
  178. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
  179. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
  180. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
  181. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts +56 -0
  182. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -0
  183. package/dist/esm/compliance/review-cadence.shared.schemas.js +71 -0
  184. package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -0
  185. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts +161 -0
  186. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -0
  187. package/dist/esm/compliance/risk-posture.shared.schemas.js +166 -0
  188. package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -0
  189. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +4 -3
  190. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
  191. package/dist/esm/config/analytics-value-moments.shared.schemas.js +4 -3
  192. package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
  193. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +222 -9
  194. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  195. package/dist/esm/config/app-configuration-shared.shared.schemas.js +232 -9
  196. package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
  197. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +75 -3
  198. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
  199. package/dist/esm/config/auth-config-resolution.shared.utils.js +93 -4
  200. package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
  201. package/dist/esm/config/brand-assets.shared.schemas.d.ts +5 -4
  202. package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
  203. package/dist/esm/config/brand-assets.shared.schemas.js +14 -4
  204. package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
  205. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +463 -19
  206. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  207. package/dist/esm/config/entity-identity-config.shared.schemas.js +535 -28
  208. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  209. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +24 -24
  210. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
  211. package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
  212. package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
  213. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +21 -17
  214. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
  215. package/dist/esm/config/frontend/navigation.shared.schemas.js +58 -40
  216. package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
  217. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts +90 -133
  218. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
  219. package/dist/esm/config/frontend/onboarding.shared.schemas.js +148 -100
  220. package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
  221. package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
  222. package/dist/esm/config-authoring.entry.d.ts.map +1 -1
  223. package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
  224. package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -1
  225. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +140 -43
  226. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  227. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +141 -42
  228. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  229. package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
  230. package/dist/esm/errors/errors.shared.definitions.js +1 -1
  231. package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
  232. package/dist/esm/errors/errors.shared.schemas.d.ts +29 -40
  233. package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
  234. package/dist/esm/errors/errors.shared.schemas.js +37 -54
  235. package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
  236. package/dist/esm/errors/errors.shared.utils.d.ts +24 -0
  237. package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
  238. package/dist/esm/errors/errors.shared.utils.js +39 -0
  239. package/dist/esm/errors/errors.shared.utils.js.map +1 -1
  240. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +27 -0
  241. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -0
  242. package/dist/esm/errors/thrown-value-description.shared.utils.js +67 -0
  243. package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -0
  244. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +48 -73
  245. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  246. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +103 -9
  247. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  248. package/dist/esm/external-data.exports.d.ts +1 -0
  249. package/dist/esm/external-data.exports.d.ts.map +1 -1
  250. package/dist/esm/external-data.exports.js +1 -0
  251. package/dist/esm/external-data.exports.js.map +1 -1
  252. package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
  253. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +11 -12
  254. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
  255. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +11 -12
  256. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
  257. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts +5 -3
  258. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
  259. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +5 -3
  260. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  261. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts +77 -0
  262. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -0
  263. package/dist/esm/external-providers/engine-capability-surface.shared.js +173 -0
  264. package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -0
  265. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts +2 -0
  266. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
  267. package/dist/esm/external-providers/external-providers.shared.schemas.js +21 -0
  268. package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
  269. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +129 -9
  270. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  271. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +114 -0
  272. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
  273. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +148 -0
  274. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
  275. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
  276. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
  277. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +54 -3
  278. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  279. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +58 -1
  280. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  281. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +12 -3
  282. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
  283. package/dist/esm/external-providers/frontend-provider-public-config.shared.js +14 -5
  284. package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
  285. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts +30 -0
  286. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -0
  287. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js +32 -0
  288. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -0
  289. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +86 -0
  290. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -0
  291. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +85 -0
  292. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -0
  293. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +14 -13
  294. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  295. package/dist/esm/external-providers/provider-capability.shared.schemas.js +10 -10
  296. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  297. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  298. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  299. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
  300. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
  301. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +7 -5
  302. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
  303. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +7 -5
  304. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
  305. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +8 -5
  306. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
  307. package/dist/esm/external-providers/provider-metadata.shared.schemas.js +5 -2
  308. package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
  309. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
  310. package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
  311. package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -1
  312. package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -1
  313. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
  314. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +2 -0
  315. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
  316. package/dist/esm/features/application-features.shared.resources-config.schemas.js +30 -3
  317. package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
  318. package/dist/esm/features/connected-feature.example.d.ts +64 -0
  319. package/dist/esm/features/connected-feature.example.d.ts.map +1 -0
  320. package/dist/esm/features/connected-feature.example.js +86 -0
  321. package/dist/esm/features/connected-feature.example.js.map +1 -0
  322. package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
  323. package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
  324. package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
  325. package/dist/esm/features/feature-builders.shared.js.map +1 -1
  326. package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
  327. package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
  328. package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
  329. package/dist/esm/features/scope-features.shared.schemas.d.ts +53 -0
  330. package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
  331. package/dist/esm/features/scope-features.shared.schemas.js +37 -0
  332. package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
  333. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +1 -1
  334. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
  335. package/dist/esm/features/user-features.shared.resources-config.schemas.js +34 -52
  336. package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
  337. package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -1
  338. package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -1
  339. package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
  340. package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
  341. package/dist/esm/files/files.shared.resources-config.schemas.d.ts +3 -3
  342. package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
  343. package/dist/esm/files/files.shared.resources-config.schemas.js +3 -3
  344. package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
  345. package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
  346. package/dist/esm/files/files.shared.schemas.js.map +1 -1
  347. package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
  348. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  349. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -1
  350. package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -1
  351. package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
  352. package/dist/esm/flows-actors/actors.shared.schemas.d.ts +152 -129
  353. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  354. package/dist/esm/flows-actors/actors.shared.schemas.js +99 -2
  355. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  356. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +6 -0
  357. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
  358. package/dist/esm/flows-actors/agents.shared.schemas.d.ts +3 -3
  359. package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
  360. package/dist/esm/flows-actors/agents.shared.schemas.js +11 -5
  361. package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
  362. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +13 -0
  363. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
  364. package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
  365. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts +45 -0
  366. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -0
  367. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js +51 -0
  368. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -0
  369. package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -1
  370. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +31 -0
  371. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  372. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +61 -3
  373. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  374. package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -1
  375. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts +2 -2
  376. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -1
  377. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +16 -8
  378. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  379. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +23 -11
  380. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  381. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts +0 -189
  382. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
  383. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js +14 -50
  384. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
  385. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts +0 -3
  386. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
  387. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js +0 -1
  388. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
  389. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
  390. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
  391. package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -1
  392. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +1 -67
  393. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  394. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js +1 -2
  395. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
  396. package/dist/esm/flows-actors/flows.shared.schemas.d.ts +0 -1
  397. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  398. package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
  399. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +121 -0
  400. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -0
  401. package/dist/esm/flows-actors/human-decision.shared.schemas.js +252 -0
  402. package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -0
  403. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
  404. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js +4 -2
  405. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
  406. package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
  407. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +24 -0
  408. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -0
  409. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +80 -0
  410. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -0
  411. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +123 -0
  412. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -0
  413. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +181 -0
  414. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -0
  415. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +58 -81
  416. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
  417. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js +75 -38
  418. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
  419. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +106 -1
  420. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
  421. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +117 -0
  422. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
  423. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts +106 -24
  424. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
  425. package/dist/esm/guidance/guidance-flow.shared.schemas.js +152 -14
  426. package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
  427. package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts.map +1 -1
  428. package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
  429. package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
  430. package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
  431. package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
  432. package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts.map +1 -1
  433. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts +0 -6
  434. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
  435. package/dist/esm/guidance/lifecycle-state.shared.schemas.js +0 -19
  436. package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
  437. package/dist/esm/guidance/milestone-builders.shared.d.ts +4 -2
  438. package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
  439. package/dist/esm/guidance/milestone-builders.shared.js +4 -2
  440. package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
  441. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts +66 -4
  442. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
  443. package/dist/esm/guidance/milestone-definition.shared.schemas.js +50 -0
  444. package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
  445. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts +71 -0
  446. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -0
  447. package/dist/esm/guidance/progression-presentation.shared.schemas.js +72 -0
  448. package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -0
  449. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +2 -0
  450. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
  451. package/dist/esm/guidance/progression-state.shared.schemas.d.ts +4 -0
  452. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  453. package/dist/esm/guidance/progression-state.shared.schemas.js +5 -0
  454. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  455. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
  456. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +2 -1
  457. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
  458. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +181 -412
  459. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  460. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +249 -199
  461. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  462. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +107 -0
  463. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -0
  464. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +108 -0
  465. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -0
  466. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts +38 -0
  467. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -0
  468. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js +42 -0
  469. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -0
  470. package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
  471. package/dist/esm/index.d.ts +41 -4
  472. package/dist/esm/index.d.ts.map +1 -1
  473. package/dist/esm/index.js +71 -16
  474. package/dist/esm/index.js.map +1 -1
  475. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -0
  476. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -0
  477. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -0
  478. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -0
  479. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts +130 -0
  480. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -0
  481. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js +104 -0
  482. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -0
  483. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -0
  484. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -0
  485. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.d.ts +64 -0
  486. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -0
  487. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.js +47 -0
  488. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -0
  489. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +544 -0
  490. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -0
  491. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +638 -0
  492. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -0
  493. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.d.ts +15 -8
  494. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -0
  495. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.js +15 -8
  496. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -0
  497. package/dist/esm/meta-workflows.exports.d.ts +21 -25
  498. package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
  499. package/dist/esm/meta-workflows.exports.js +21 -25
  500. package/dist/esm/meta-workflows.exports.js.map +1 -1
  501. package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
  502. package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
  503. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts +16 -0
  504. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -0
  505. package/dist/esm/notifications/email/email-submission.shared.enums.js +17 -0
  506. package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -0
  507. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +36 -0
  508. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  509. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js +50 -3
  510. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  511. package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
  512. package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
  513. package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -1
  514. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  515. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -1
  516. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
  517. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts +2 -1
  518. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
  519. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js +3 -2
  520. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
  521. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  522. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +44 -3
  523. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  524. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
  525. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
  526. package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
  527. package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
  528. package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
  529. package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
  530. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts +1 -1
  531. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
  532. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js +12 -33
  533. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
  534. package/dist/esm/notifications/notifications.shared.schemas.d.ts +19 -8
  535. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  536. package/dist/esm/notifications/notifications.shared.schemas.js +19 -8
  537. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  538. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts +145 -0
  539. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -0
  540. package/dist/esm/organizations/application-owner-organization.shared.schemas.js +146 -0
  541. package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -0
  542. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +2 -0
  543. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
  544. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +26 -3
  545. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
  546. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +1 -1
  547. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
  548. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +18 -14
  549. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
  550. package/dist/esm/organizations/organization-members.shared.schemas.d.ts +1 -1
  551. package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
  552. package/dist/esm/organizations/organization-members.shared.schemas.js +9 -1
  553. package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
  554. package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts.map +1 -1
  555. package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
  556. package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
  557. package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  558. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +2 -1
  559. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
  560. package/dist/esm/organizations/organization-preferences.shared.schemas.js +3 -0
  561. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  562. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
  563. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +3 -1
  564. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  565. package/dist/esm/organizations/organization-profile.shared.schemas.js +4 -2
  566. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  567. package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -1
  568. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -1
  569. package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
  570. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
  571. package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
  572. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +29 -2
  573. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  574. package/dist/esm/organizations/organization-unit-narrowing.shared.js +27 -0
  575. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  576. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts +2 -0
  577. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
  578. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js +3 -0
  579. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
  580. package/dist/esm/organizations/organization-units.shared.schemas.d.ts +17 -5
  581. package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
  582. package/dist/esm/organizations/organization-units.shared.schemas.js +65 -5
  583. package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
  584. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +51 -7
  585. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  586. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +151 -7
  587. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  588. package/dist/esm/organizations/organizations.shared.schemas.d.ts +18 -83
  589. package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
  590. package/dist/esm/organizations/organizations.shared.schemas.js +37 -19
  591. package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
  592. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
  593. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
  594. package/dist/esm/provider-registration-runtime.exports.d.ts +1 -0
  595. package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
  596. package/dist/esm/provider-registration-runtime.exports.js +1 -0
  597. package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
  598. package/dist/esm/public-runtime/index.d.ts +39 -10
  599. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  600. package/dist/esm/public-runtime/index.js +39 -10
  601. package/dist/esm/public-runtime/index.js.map +1 -1
  602. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +7 -8
  603. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
  604. package/dist/esm/queue/jobs.shared.resources-config.schemas.js +30 -6
  605. package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
  606. package/dist/esm/queue/jobs.shared.schemas.d.ts +388 -2
  607. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  608. package/dist/esm/queue/jobs.shared.schemas.js +315 -11
  609. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  610. package/dist/esm/queue/jobs.shared.utils.d.ts +6 -4
  611. package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
  612. package/dist/esm/queue/jobs.shared.utils.js +5 -4
  613. package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
  614. package/dist/esm/queue/queues.shared.schemas.d.ts +20 -8
  615. package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
  616. package/dist/esm/queue/queues.shared.schemas.js +23 -18
  617. package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
  618. package/dist/esm/queue/queues.shared.utils.d.ts +4 -2
  619. package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
  620. package/dist/esm/queue/queues.shared.utils.js +4 -2
  621. package/dist/esm/queue/queues.shared.utils.js.map +1 -1
  622. package/dist/esm/rag/rag-retrieval-health.shared.d.ts +27 -0
  623. package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -0
  624. package/dist/esm/rag/rag-retrieval-health.shared.js +29 -0
  625. package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -0
  626. package/dist/esm/requests/header-keys.shared.d.ts +6 -0
  627. package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
  628. package/dist/esm/requests/header-keys.shared.js +7 -0
  629. package/dist/esm/requests/header-keys.shared.js.map +1 -1
  630. package/dist/esm/requests/idempotency-key.shared.d.ts +76 -0
  631. package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -0
  632. package/dist/esm/requests/idempotency-key.shared.js +112 -0
  633. package/dist/esm/requests/idempotency-key.shared.js.map +1 -0
  634. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
  635. package/dist/esm/requests/manual-controllers-routes-documentation.js +218 -17
  636. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
  637. package/dist/esm/requests/manual-controllers-routes-urls.d.ts +87 -0
  638. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  639. package/dist/esm/requests/manual-controllers-routes-urls.js +102 -0
  640. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  641. package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
  642. package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
  643. package/dist/esm/requests/websocket.shared.schemas.d.ts +200 -24
  644. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  645. package/dist/esm/requests/websocket.shared.schemas.js +219 -5
  646. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  647. package/dist/esm/resources/child-operations.shared.schemas.d.ts +56 -5
  648. package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
  649. package/dist/esm/resources/child-operations.shared.schemas.js +97 -5
  650. package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
  651. package/dist/esm/resources/context-policy.shared.schemas.d.ts +20 -0
  652. package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
  653. package/dist/esm/resources/context-policy.shared.schemas.js +3 -0
  654. package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
  655. package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
  656. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  657. package/dist/esm/resources/resources-config.shared.factory.js +498 -29
  658. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  659. package/dist/esm/resources/resources-config.shared.schemas.d.ts +623 -45
  660. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  661. package/dist/esm/resources/resources-config.shared.schemas.js +315 -22
  662. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  663. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  664. package/dist/esm/resources/resources-registry.shared.core.definitions.js +377 -69
  665. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  666. package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
  667. package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
  668. package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
  669. package/dist/esm/resources/resources.shared.core.definitions.d.ts +19 -0
  670. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  671. package/dist/esm/resources/resources.shared.core.definitions.js +28 -0
  672. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  673. package/dist/esm/resources/resources.shared.schemas.d.ts +256 -10
  674. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  675. package/dist/esm/resources/resources.shared.schemas.js +209 -9
  676. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  677. package/dist/esm/resources/resources.shared.utils.d.ts +3 -2
  678. package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
  679. package/dist/esm/resources/resources.shared.utils.js +38 -6
  680. package/dist/esm/resources/resources.shared.utils.js.map +1 -1
  681. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
  682. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts +44 -12
  683. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
  684. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js +46 -23
  685. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
  686. package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
  687. package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
  688. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts +61 -0
  689. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -0
  690. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js +79 -0
  691. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -0
  692. package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
  693. package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -1
  694. package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -1
  695. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts +60 -0
  696. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -0
  697. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js +80 -0
  698. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -0
  699. package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
  700. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts +21 -0
  701. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -0
  702. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +159 -0
  703. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -0
  704. package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
  705. package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
  706. package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
  707. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
  708. package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
  709. package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
  710. package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
  711. package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
  712. package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts.map +1 -1
  713. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts +15 -0
  714. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
  715. package/dist/esm/resources/utils/resources-config-naming.utils.js +56 -11
  716. package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
  717. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +51 -1
  718. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
  719. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +210 -51
  720. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
  721. package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts.map +1 -1
  722. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts +34 -0
  723. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
  724. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js +45 -1
  725. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
  726. package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
  727. package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
  728. package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
  729. package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
  730. package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
  731. package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
  732. package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
  733. package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
  734. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts +29 -0
  735. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  736. package/dist/esm/resources/utils/shared-persistence-collection.utils.js +30 -0
  737. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  738. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
  739. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js +49 -11
  740. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
  741. package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
  742. package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
  743. package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
  744. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  745. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +4 -1
  746. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  747. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  748. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +4 -1
  749. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  750. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
  751. package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -1
  752. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +128 -16
  753. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  754. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +160 -6
  755. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  756. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +324 -9
  757. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
  758. package/dist/esm/security/authentications/authentication.shared.schemas.js +411 -8
  759. package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
  760. package/dist/esm/security/authentications/authentication.shared.utils.d.ts +87 -4
  761. package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
  762. package/dist/esm/security/authentications/authentication.shared.utils.js +95 -6
  763. package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
  764. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts +23 -1
  765. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
  766. package/dist/esm/security/authentications/consumable-token.shared.schemas.js +23 -1
  767. package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
  768. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts +7 -1
  769. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
  770. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js +7 -1
  771. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
  772. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts +74 -0
  773. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -0
  774. package/dist/esm/security/authentications/password-blocklist.shared.utils.js +122 -0
  775. package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -0
  776. package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
  777. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +88 -2
  778. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
  779. package/dist/esm/security/authentications/registration.shared.dto.schemas.js +149 -2
  780. package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
  781. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts +57 -11
  782. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
  783. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +44 -11
  784. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
  785. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
  786. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +20 -7
  787. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
  788. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +16 -2
  789. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
  790. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +32 -2
  791. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  792. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
  793. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +7 -1
  794. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
  795. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
  796. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
  797. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +4 -1
  798. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
  799. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts.map +1 -1
  800. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts +27 -0
  801. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -0
  802. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js +109 -0
  803. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -0
  804. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts +66 -0
  805. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -0
  806. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js +107 -0
  807. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -0
  808. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -1
  809. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -1
  810. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts +19 -0
  811. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
  812. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js +50 -13
  813. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
  814. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts +18 -6
  815. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
  816. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +133 -4
  817. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
  818. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts +26 -0
  819. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  820. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +46 -17
  821. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  822. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts +0 -40
  823. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  824. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +100 -26
  825. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  826. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts +9 -1
  827. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
  828. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +9 -1
  829. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
  830. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +6 -2
  831. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  832. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +76 -4
  833. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  834. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +5 -4
  835. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
  836. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +5 -4
  837. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
  838. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts +4 -0
  839. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  840. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +8 -0
  841. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
  842. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts +44 -0
  843. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -1
  844. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js +52 -0
  845. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -1
  846. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  847. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
  848. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
  849. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
  850. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
  851. package/dist/esm/security/authorizations/roles.shared.defaults.js +6 -0
  852. package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
  853. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +14 -0
  854. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
  855. package/dist/esm/security/authorizations/roles.shared.schemas.js +19 -0
  856. package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
  857. package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
  858. package/dist/esm/security/authorizations/roles.shared.utils.js +2 -0
  859. package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
  860. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +4 -1
  861. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
  862. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
  863. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +5 -2
  864. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
  865. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +13 -42
  866. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
  867. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +201 -14
  868. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
  869. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +237 -49
  870. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
  871. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +6 -3
  872. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  873. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +74 -4
  874. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  875. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +5 -2
  876. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  877. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +105 -3
  878. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  879. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
  880. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
  881. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -1
  882. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
  883. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
  884. package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
  885. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +67 -0
  886. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -0
  887. package/dist/esm/security/outbound-target-control.shared.schemas.js +69 -0
  888. package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -0
  889. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts +159 -0
  890. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -0
  891. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js +164 -0
  892. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -0
  893. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +209 -0
  894. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -0
  895. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +150 -0
  896. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -0
  897. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts +79 -0
  898. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -0
  899. package/dist/esm/systems-of-record/system-of-record-env.shared.js +116 -0
  900. package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -0
  901. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +145 -0
  902. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -0
  903. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +146 -0
  904. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -0
  905. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +478 -0
  906. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -0
  907. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +619 -0
  908. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -0
  909. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts +31 -0
  910. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -0
  911. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +232 -0
  912. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -0
  913. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts +127 -0
  914. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -0
  915. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js +204 -0
  916. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -0
  917. package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
  918. package/dist/esm/testing/resource-config-builders.js +10 -4
  919. package/dist/esm/testing/resource-config-builders.js.map +1 -1
  920. package/dist/esm/testing.d.ts.map +1 -1
  921. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts +2 -1
  922. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
  923. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js +2 -1
  924. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
  925. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +139 -24
  926. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
  927. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js +255 -0
  928. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
  929. package/dist/esm/users/anonymous-users.shared.schema.d.ts +5 -3
  930. package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
  931. package/dist/esm/users/anonymous-users.shared.schema.js +18 -1
  932. package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
  933. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts +2 -1
  934. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
  935. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +23 -0
  936. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
  937. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts +2 -1
  938. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
  939. package/dist/esm/users/user-consent-decision.shared.utils.d.ts +127 -0
  940. package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -0
  941. package/dist/esm/users/user-consent-decision.shared.utils.js +189 -0
  942. package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -0
  943. package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts.map +1 -1
  944. package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
  945. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts +1 -0
  946. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
  947. package/dist/esm/users/user-identity-links.shared.schemas.d.ts +1 -0
  948. package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
  949. package/dist/esm/users/user-identity-links.shared.schemas.js +30 -0
  950. package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
  951. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts +6 -6
  952. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
  953. package/dist/esm/users/user-preferences-reset.shared.utils.js +6 -6
  954. package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
  955. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +74 -29
  956. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  957. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js +99 -0
  958. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
  959. package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  960. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js +25 -9
  961. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
  962. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +4 -4
  963. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  964. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js +12 -1
  965. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
  966. package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  967. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts +1 -0
  968. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
  969. package/dist/esm/users/user-self.shared.resources-config.schemas.js +2 -2
  970. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  971. package/dist/esm/users/users.shared.resources-config.schemas.d.ts +1 -0
  972. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  973. package/dist/esm/users/users.shared.resources-config.schemas.js +2 -2
  974. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  975. package/dist/esm/users/users.shared.schemas.d.ts +11 -9
  976. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  977. package/dist/esm/users/users.shared.schemas.js +68 -9
  978. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  979. package/dist/tsconfig.build.tsbuildinfo +1 -1
  980. package/package.json +14 -35
  981. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts +0 -19
  982. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts.map +0 -1
  983. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js +0 -35
  984. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js.map +0 -1
  985. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts +0 -213
  986. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts.map +0 -1
  987. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js +0 -287
  988. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js.map +0 -1
  989. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts +0 -236
  990. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts.map +0 -1
  991. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js +0 -212
  992. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js.map +0 -1
  993. package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +0 -1
  994. package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js.map +0 -1
  995. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +0 -17
  996. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +0 -1
  997. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +0 -31
  998. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +0 -1
  999. package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +0 -1
  1000. package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +0 -1
  1001. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +0 -1
  1002. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +0 -1
  1003. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts +0 -28
  1004. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts.map +0 -1
  1005. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js +0 -28
  1006. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js.map +0 -1
  1007. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +0 -1
  1008. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +0 -1
  1009. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +0 -100
  1010. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +0 -1
  1011. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +0 -232
  1012. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +0 -1
  1013. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts +0 -29
  1014. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts.map +0 -1
  1015. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js +0 -58
  1016. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js.map +0 -1
  1017. package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +0 -1
  1018. package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +0 -1
  1019. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts +0 -81
  1020. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts.map +0 -1
  1021. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js +0 -82
  1022. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js.map +0 -1
  1023. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts +0 -2
  1024. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts.map +0 -1
  1025. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js +0 -1
  1026. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js.map +0 -1
  1027. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.d.ts +0 -0
  1028. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.js +0 -0
  1029. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.d.ts +0 -0
  1030. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.js +0 -0
  1031. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.d.ts +0 -0
  1032. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"flows-actors.system.shared.schemas.js","sourceRoot":"","sources":["../../../src/flows-actors/flows-actors.system.shared.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAE/F,OAAO,EAAE,6BAA6B,EAAE,iCAAiC,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AACxK,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,mCAAmC,EAAE,MAAM,6CAA6C,CAAC;AAGlG,iEAAiE;A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,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,yBAAyB,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjH,CAAC,CAAC","sourcesContent":["\nimport { z } from 'zod';\n\nimport { FlowsActors_Configuration_Schema } from './flows-actors.configuration.shared.schemas';\nimport { ActorsSystem_ExecutionPlan_Schema } from './tasks.actors.shared.schemas';\nimport { FlowsActors_Checkpoint_Schema, FlowsActors_CircuitBreaker_Status, FlowsActors_Status, describeFlowsActorsStatus } from './flows-actors.commons.shared.schemas';\nimport { WildoError_BackendSchema } from '../errors/errors.shared.schemas';\nimport { ExecutionContext_InitiatorIdsSchema } from '../runtime/execution-context.shared.schemas';\n\n\n//===============================================================\n// FlowActorSystem — BASE contract\n// --------\n// This module declares the fields EVERY flow-actor system carries,\n// whatever its `kind`. It is deliberately NOT a complete system.\n//\n// A system is always one of the two kind specializations, and each one\n// declares members this base cannot:\n// - `ActorSystem` (`actors.shared.schemas.ts`) adds `actors`\n// - `FlowSystem` (`flows.shared.schemas.ts`) adds `triggers`,\n// `steps`, `edges`, `finishes`\n//\n// The type meaning \"a system, of either kind\" is `FlowActorSystem`, the\n// discriminated union in `flows-actors.system.shared.definitions.ts`.\n// That is what every consumer signature (registry, factories, services)\n// should name. Naming the BASE there is what previously made\n// `system.actors` unreadable at every call site and forced a cast.\n//\n//===============================================================\n\nexport enum FlowActorSystem_Kind {\n FLOW = \"flow\",\n ACTOR = \"actor\",\n}\n\nexport enum FlowActorSystem_Status {\n DRAFT = \"draft\",\n ACTIVE = \"active\",\n INACTIVE = \"inactive\",\n DEPRECATED = \"deprecated\",\n ARCHIVED = \"archived\",\n}\n\nexport enum FlowActorSystem_Visibility {\n BACKEND_ONLY = \"backend_only\",\n FRONTEND = \"frontend\",\n}\n\n/**\n * The base field set shared by every flow-actor system.\n *\n * **Never parse a whole system with this schema.** `z.object` strips undeclared\n * keys, so `FlowActorSystem_BaseSchema.parse(actorSystem)` returns a value with\n * the `actors` array silently removed. Nothing at the parse site reports it: the\n * call succeeds, and its result type is exactly the base, so the compiler has no\n * loss to complain about — the value only becomes wrong further downstream,\n * wherever the actor list was going to be read. Parse a system with the schema\n * of its kind (`ActorSystemSchema`) instead; this base exists to be\n * `.extend()`ed, not to validate.\n *\n * The name carries the `_Base` suffix precisely so that mistake is visible at\n * the call site rather than hidden behind the unqualified system name.\n */\nexport const FlowActorSystem_BaseSchema = z.object({\n ref : z.string().min(1),\n displayName : z.string().min(1),\n description : z.string(),\n kind : z.enum(FlowActorSystem_Kind),\n status : z.enum(FlowActorSystem_Status),\n visibility : z.enum(FlowActorSystem_Visibility).default(FlowActorSystem_Visibility.BACKEND_ONLY),\n\n config : FlowsActors_Configuration_Schema,\n\n version: z.string().optional(),\n createdAt: z.string().optional(),\n updatedAt: z.string().optional(),\n deletedAt: z.string().optional(),\n deprecatedAt: z.string().optional(),\n publishedAt: z.string().optional(),\n\n tags: z.array(z.string()).optional(),\n category: z.string().optional(),\n metadata: z.record(z.string(), z.string()).optional(),\n});\n\n/**\n * Base fields only — not a usable system on its own. Use `FlowActorSystem`\n * (the `ActorSystem | FlowSystem` union) for \"a system of either kind\".\n */\nexport type FlowActorSystem_Base = z.infer<typeof FlowActorSystem_BaseSchema>;\n\n\n\n//===============================================================\n// FlowActorSystem Execution\n//===============================================================\n\nexport const FlowActorSystem_ErrorStates_Schema = z.object({\n circuitBreakerStatus: z.enum(FlowsActors_CircuitBreaker_Status).optional(),\n errorItems: WildoError_BackendSchema.extend({\n systemRef: z.string(),\n }).array().optional(),\n checkpointChecks: z.array(z.object({\n checkpoint: FlowsActors_Checkpoint_Schema,\n timestamp: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }),\n })),\n});\n\nexport type FlowActorSystem_ErrorStates = z.infer<typeof FlowActorSystem_ErrorStates_Schema>;\n\nexport const FlowActorSystem_ExecutionSchema = z.object({\n _id: z.string().optional(),\n systemRef : z.string(),\n kind : z.enum(FlowActorSystem_Kind),\n status: z.enum(FlowsActors_Status),\n initiator: ExecutionContext_InitiatorIdsSchema.optional(),\n\n statusChanges: z.array(z.object({\n status: z.enum(FlowsActors_Status)\n .describe(describeFlowsActorsStatus(\"The state this run moved into at `timestamp`. The list is the run's history, oldest first.\")),\n timestamp: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }),\n })),\n\n createdAt: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }),\n updatedAt: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }),\n finishedAt: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }).optional(),\n});\n\nexport type FlowActorSystem_Execution = z.infer<typeof FlowActorSystem_ExecutionSchema>;\n\n"]}
1
+ {"version":3,"file":"flows-actors.system.shared.schemas.js","sourceRoot":"","sources":["../../../../src/flows-actors/flows-actors.system.shared.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAE/F,OAAO,EAAE,6BAA6B,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AACrI,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,mCAAmC,EAAE,MAAM,6CAA6C,CAAC;AAGlG,iEAAiE;AACjE,mCAAmC;AACnC,WAAW;AACX,mEAAmE;AACnE,iEAAiE;AACjE,EAAE;AACF,uEAAuE;AACvE,qCAAqC;AACrC,iEAAiE;AACjE,oEAAoE;AACpE,mCAAmC;AACnC,EAAE;AACF,wEAAwE;AACxE,sEAAsE;AACtE,wEAAwE;AACxE,6DAA6D;AAC7D,mEAAmE;AACnE,EAAE;AACF,iEAAiE;A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vC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;IAClC,SAAS,EAAE,mCAAmC,CAAC,QAAQ,EAAE;IAEzD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;aAC/B,QAAQ,CAAC,yBAAyB,CAAC,4FAA4F,CAAC,CAAC;QACpI,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,yBAAyB,EAAE,CAAC;KACrG,CAAC,CAAC;IAEH,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,yBAAyB,EAAE,CAAC;IACpG,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,yBAAyB,EAAE,CAAC;IACpG,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,yBAAyB,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjH,CAAC,CAAC","sourcesContent":["\nimport { z } from 'zod';\n\nimport { FlowsActors_Configuration_Schema } from './flows-actors.configuration.shared.schemas';\nimport { ActorsSystem_ExecutionPlan_Schema } from './tasks.actors.shared.schemas';\nimport { FlowsActors_Checkpoint_Schema, FlowsActors_Status, describeFlowsActorsStatus } from './flows-actors.commons.shared.schemas';\nimport { WildoError_BackendSchema } from '../errors/errors.shared.schemas';\nimport { ExecutionContext_InitiatorIdsSchema } from '../runtime/execution-context.shared.schemas';\n\n\n//===============================================================\n// FlowActorSystem — BASE contract\n// --------\n// This module declares the fields EVERY flow-actor system carries,\n// whatever its `kind`. It is deliberately NOT a complete system.\n//\n// A system is always one of the two kind specializations, and each one\n// declares members this base cannot:\n// - `ActorSystem` (`actors.shared.schemas.ts`) adds `actors`\n// - `FlowSystem` (`flows.shared.schemas.ts`) adds `triggers`,\n// `steps`, `edges`, `finishes`\n//\n// The type meaning \"a system, of either kind\" is `FlowActorSystem`, the\n// discriminated union in `flows-actors.system.shared.definitions.ts`.\n// That is what every consumer signature (registry, factories, services)\n// should name. Naming the BASE there is what previously made\n// `system.actors` unreadable at every call site and forced a cast.\n//\n//===============================================================\n\nexport enum FlowActorSystem_Kind {\n FLOW = \"flow\",\n ACTOR = \"actor\",\n}\n\nexport enum FlowActorSystem_Status {\n DRAFT = \"draft\",\n ACTIVE = \"active\",\n INACTIVE = \"inactive\",\n DEPRECATED = \"deprecated\",\n ARCHIVED = \"archived\",\n}\n\nexport enum FlowActorSystem_Visibility {\n BACKEND_ONLY = \"backend_only\",\n FRONTEND = \"frontend\",\n}\n\n/**\n * The base field set shared by every flow-actor system.\n *\n * **Never parse a whole system with this schema.** `z.object` strips undeclared\n * keys, so `FlowActorSystem_BaseSchema.parse(actorSystem)` returns a value with\n * the `actors` array silently removed. Nothing at the parse site reports it: the\n * call succeeds, and its result type is exactly the base, so the compiler has no\n * loss to complain about — the value only becomes wrong further downstream,\n * wherever the actor list was going to be read. Parse a system with the schema\n * of its kind (`ActorSystemSchema`) instead; this base exists to be\n * `.extend()`ed, not to validate.\n *\n * The name carries the `_Base` suffix precisely so that mistake is visible at\n * the call site rather than hidden behind the unqualified system name.\n */\nexport const FlowActorSystem_BaseSchema = z.object({\n ref : z.string().min(1),\n displayName : z.string().min(1),\n description : z.string(),\n kind : z.enum(FlowActorSystem_Kind),\n status : z.enum(FlowActorSystem_Status),\n visibility : z.enum(FlowActorSystem_Visibility).default(FlowActorSystem_Visibility.BACKEND_ONLY),\n\n config : FlowsActors_Configuration_Schema,\n\n version: z.string().optional(),\n createdAt: z.string().optional(),\n updatedAt: z.string().optional(),\n deletedAt: z.string().optional(),\n deprecatedAt: z.string().optional(),\n publishedAt: z.string().optional(),\n\n tags: z.array(z.string()).optional(),\n category: z.string().optional(),\n metadata: z.record(z.string(), z.string()).optional(),\n});\n\n/**\n * Base fields only — not a usable system on its own. Use `FlowActorSystem`\n * (the `ActorSystem | FlowSystem` union) for \"a system of either kind\".\n */\nexport type FlowActorSystem_Base = z.infer<typeof FlowActorSystem_BaseSchema>;\n\n\n\n//===============================================================\n// FlowActorSystem Execution\n//===============================================================\n\nexport const FlowActorSystem_ErrorStates_Schema = z.object({\n errorItems: WildoError_BackendSchema.extend({\n systemRef: z.string(),\n }).array().optional(),\n checkpointChecks: z.array(z.object({\n checkpoint: FlowsActors_Checkpoint_Schema,\n timestamp: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }),\n })),\n});\n\nexport type FlowActorSystem_ErrorStates = z.infer<typeof FlowActorSystem_ErrorStates_Schema>;\n\nexport const FlowActorSystem_ExecutionSchema = z.object({\n _id: z.string().optional(),\n systemRef : z.string(),\n kind : z.enum(FlowActorSystem_Kind),\n status: z.enum(FlowsActors_Status),\n initiator: ExecutionContext_InitiatorIdsSchema.optional(),\n\n statusChanges: z.array(z.object({\n status: z.enum(FlowsActors_Status)\n .describe(describeFlowsActorsStatus(\"The state this run moved into at `timestamp`. The list is the run's history, oldest first.\")),\n timestamp: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }),\n })),\n\n createdAt: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }),\n updatedAt: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }),\n finishedAt: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }).optional(),\n});\n\nexport type FlowActorSystem_Execution = z.infer<typeof FlowActorSystem_ExecutionSchema>;\n\n"]}
@@ -238,7 +238,6 @@ export declare const FlowSystem_Execution_Schema: z.ZodObject<{
238
238
  }, z.core.$strip>>;
239
239
  }, z.core.$strip>>;
240
240
  errorStates: z.ZodOptional<z.ZodObject<{
241
- circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("./flows-actors.commons.shared.schemas").FlowsActors_CircuitBreaker_Status>>;
242
241
  checkpointChecks: z.ZodArray<z.ZodObject<{
243
242
  checkpoint: z.ZodObject<{
244
243
  point: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"flows.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/flows-actors/flows.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,kBAAkB,EAA6B,MAAM,uCAAuC,CAAC;AACtG,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,oBAAoB,EAAuE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAIvK,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAMD,eAAO,MAAM,eAAe;;;;;;;;;iBAS1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAMxD,oBAAY,iBAAiB;IAC3B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,cAAc,mBAAmB;IACjC,KAAK,UAAU;IACf,eAAe,oBAAoB;CACpC;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAA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kBAAkB,CAAC;iBAC/B,QAAQ,CAAC,yBAAyB,CAAC,4FAA4F,CAAC,CAAC;YACpI,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;SAC5B,CAAC,CAAC;KACJ,CAAC,CAAC,KAAK,EAAE;IAEV,WAAW,EAAG,kCAAkC,CAAC,MAAM,CAAC;QACtD,UAAU,EAAE,wBAAwB,CAAC,MAAM,CAAC;YAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;YACrB,QAAQ,EAAE,4BAA4B;SACvC,CAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;KACtB,CAAC,CAAC,QAAQ,EAAE;CACd,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { WildoError_BackendSchema } from \"../errors/errors.shared.schemas\";\nimport { FlowsActors_Status, describeFlowsActorsStatus } from \"./flows-actors.commons.shared.schemas\";\nimport { FlowsActors_LeafElements_Configuration } from \"./flows-actors.configuration.shared.schemas\";\nimport { FlowActorSystem_Base, FlowActorSystem_ErrorStates_Schema, FlowActorSystem_ExecutionSchema, FlowActorSystem_Kind } from \"./flows-actors.system.shared.schemas\";\nimport { createSchemaFamily } from \"../resources/utils/schema-family-builder.utils\";\n\n\nexport enum Flow_Node_Type {\n TRIGGER = \"trigger\",\n STEP = \"step\",\n FINISH = \"finish\",\n}\n\n//===============================================================\n// Edge\n//===============================================================\n\nexport const Flow_EdgeSchema = z.object({\n from: z.object({\n type: z.enum(Flow_Node_Type),\n ref: z.string(),\n }),\n to: z.object({\n type: z.enum(Flow_Node_Type),\n ref: z.string(),\n }),\n});\nexport type Flow_Edge = z.infer<typeof Flow_EdgeSchema>;\n\n//===============================================================\n// Trigger\n//===============================================================\n\nexport enum Flow_Trigger_Type {\n MANUAL = \"manual\",\n SCHEDULE = \"schedule\",\n WEBHOOK = \"webhook\",\n RESOURCE_EVENT = \"resource_event\",\n EVENT = \"event\",\n TASK_COMPLETION = \"task_completion\",\n}\n\nexport type Flow_Trigger_Base = {\n type : Flow_Trigger_Type;\n ref : string;\n displayName : string;\n description? : string;\n inputSchema? : z.ZodSchema<any>;\n};\n\nexport type Flow_Trigger =\n Flow_Trigger_Base & { type: Flow_Trigger_Type.MANUAL } |\n Flow_Trigger_Base & { type: Flow_Trigger_Type.SCHEDULE, cron: string, timezone: string | undefined } |\n Flow_Trigger_Base & { type: Flow_Trigger_Type.WEBHOOK, path: string, method: string, authentication: any | undefined } |\n Flow_Trigger_Base & { type: Flow_Trigger_Type.RESOURCE_EVENT, resourceType: string, operations: string[] } |\n Flow_Trigger_Base & { type: Flow_Trigger_Type.EVENT, topics: string[] };\n\n\n\n\n\n//===============================================================\n// Step\n//===============================================================\n\nexport enum Flow_Step_Kind {\n // Agentic Steps\n AGENT_CALL = \"agent.call\",\n\n\n FUNCTION = \"function\",\n CONNECTOR = \"connector\",\n COMPUTE_RESOURCE_OPERATION = \"compute.resource.operation\", // operation on a resource\n COMPUTE_CUSTOM = \"compute.custom\", // custom compute step\n FLOW_SUBFLOW = \"flow.subflow\",\n\n ARTIFACT_WRITE = \"artifact.write\", // write artifact\n ARTIFACT_READ = \"artifact.read\", // read artifact\n\n // Control Steps\n CONTROL_BRANCH = \"control.branch\",\n CONTROL_SWITCH = \"control.switch\",\n CONTROL_LOOP = \"control.loop\",\n CONTROL_PARALLEL = \"control.parallel\",\n CONTROL_DELAY = \"control.delay\",\n CONTROL_RETRY = \"control.retry\",\n\n // State Steps\n STATE_MEMORY_READ = \"state.memory.read\", // read from memory\n STATE_MEMORY_WRITE = \"state.memory.write\", // write to memory\n\n // Event Steps\n EVENT_EMIT = \"event.emit\",\n EVENT_WAIT = \"event.wait\",\n // Artifact Steps\n\n // Error Handling\n ERROR_CATCH = \"error.catch\",\n ERROR_COMPENSATE = \"error.compensate\",\n ERROR_FINALLY = \"error.finally\",\n\n // Human\n HUMAN_IN_THE_LOOP = \"human.in.the.loop\",\n ACTOR_SYSTEM_CALL = \"actor.system.call\",\n\n}\n\nexport type Flow_Step_Base = {\n kind: Flow_Step_Kind;\n name: string;\n description?: string;\n inputSchema?: z.ZodSchema<any>;\n outputSchema?: z.ZodSchema<any>;\n config?: FlowsActors_LeafElements_Configuration;\n metadata?: Record<string, unknown>;\n};\n\nexport enum Flow_ControlSwith_Operator {\n EQUAL = \"equal\",\n NOT_EQUAL = \"not_equal\",\n GREATER_THAN = \"greater_than\",\n LESS_THAN = \"less_than\",\n GREATER_THAN_OR_EQUAL = \"greater_than_or_equal\",\n LESS_THAN_OR_EQUAL = \"less_than_or_equal\",\n}\n\nexport const Flow_ControlSwitch_ConditionSchema = z.object({\n operator: z.enum(Flow_ControlSwith_Operator),\n left: z.any(),\n right: z.any(),\n});\nexport type Flow_ControlSwitch_Condition = z.infer<typeof Flow_ControlSwitch_ConditionSchema>;\n\nexport type Flow_Step =\n Flow_Step_Base & { kind: Flow_Step_Kind.AGENT_CALL, agentRef: { /* TODO: add function schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.FUNCTION, functionRef: { /* TODO: add function schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONNECTOR, connector: { /* TODO: add connector schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.COMPUTE_RESOURCE_OPERATION, resourceOperation: { /* TODO: add compute resource operation schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.COMPUTE_CUSTOM, customComputation: { /* TODO: add compute custom schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.FLOW_SUBFLOW, fsubflow: { /* TODO: add flow subflow schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ARTIFACT_WRITE, artifact: { /* TODO: add artifact write schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ARTIFACT_READ, artifactRead: { /* TODO: add artifact read schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_BRANCH, branches: { /* TODO: add control branch schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_SWITCH, switchCases: { /* TODO: add control switch schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_LOOP, loop: { /* TODO: add control loop schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_PARALLEL, parallel: { /* TODO: add control parallel schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_DELAY, delay: { /* TODO: add control delay schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_RETRY, retry: { /* TODO: add control retry schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.STATE_MEMORY_READ, memoryRef: { /* TODO: add state memory read schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.STATE_MEMORY_WRITE, memoryRef: { /* TODO: add state memory write schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.EVENT_EMIT, eventDef: { /* TODO: add event emit schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.EVENT_WAIT, eventDef: { /* TODO: add event wait schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ERROR_CATCH, error: { /* TODO: add error catch schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ERROR_COMPENSATE, error: { /* TODO: add error compensate schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ERROR_FINALLY, error: { /* TODO: add error finally schema */ } }\n\n\n\n//===============================================================\n// FINISH\n//===============================================================\n\nexport const Flow_FinishSchema = z.object({});\nexport type Flow_Finish = z.infer<typeof Flow_FinishSchema>;\n\n//===============================================================\n// Flow System\n//===============================================================\n\n/**\n * The FLOW specialization of the system base — the type that OWNS the flow\n * graph (`triggers` / `steps` / `edges` / `finishes`). Still a hand-written\n * type rather than a Zod schema: `Flow_Trigger` and `Flow_Step` are TypeScript\n * unions with no runtime schema yet (the flow model is still maturing), which\n * is why `FlowActorSystem` can only be a TYPE union today and not a\n * `z.discriminatedUnion`.\n */\nexport type FlowSystem = FlowActorSystem_Base & {\n kind: FlowActorSystem_Kind.FLOW;\n triggers: Flow_Trigger[];\n steps: Flow_Step[];\n edges: Flow_Edge[];\n finishes: Flow_Finish[];\n};\n\n//===============================================================\n// Flow System Execution\n//===============================================================\n\n/** ──────────────────────────────────────────────────────────────\n * Flow Node Relationship Schema Family\n *\n * Uses createSchemaFamily for discriminated union by node type.\n * Each node type has a specific reference field.\n * ────────────────────────────────────────────────────────────── */\n\nconst flowNodeRelationshipSchemaFamily = createSchemaFamily({\n base: z.object({\n kind: z.enum(Flow_Node_Type),\n }),\n discriminator: {\n field: 'kind',\n baseValues: [], // All node types have variants\n },\n variants: {\n [Flow_Node_Type.TRIGGER]: {\n extend: z.object({\n triggerRef: z.string(),\n }),\n },\n [Flow_Node_Type.STEP]: {\n extend: z.object({\n stepRef: z.string(),\n }),\n },\n [Flow_Node_Type.FINISH]: {\n extend: z.object({\n finishRef: z.string(),\n }),\n },\n },\n});\n\n/** Exported schema family for advanced use cases */\nexport const Flow_Node_RelationshipSchemaFamily = flowNodeRelationshipSchemaFamily;\n\n/** Union of all flow node relationship types (from schema family) */\nexport const Flow_Node_RelationshipSchema = flowNodeRelationshipSchemaFamily.union;\nexport type Flow_Node_Relationship = z.infer<typeof Flow_Node_RelationshipSchema>;\n\n\n\nexport const FlowSystem_Execution_Schema = FlowActorSystem_ExecutionSchema.extend({\n kind: z.literal(FlowActorSystem_Kind.FLOW),\n\n nodeStates: z.object({\n node: Flow_Node_RelationshipSchema,\n status: z.enum(FlowsActors_Status),\n updatedAt: z.iso.datetime(),\n statusChanges: z.array(z.object({\n status: z.enum(FlowsActors_Status)\n .describe(describeFlowsActorsStatus(\"The state this run moved into at `timestamp`. The list is the run's history, oldest first.\")),\n timestamp: z.iso.datetime(),\n })),\n }).array(),\n\n errorStates : FlowActorSystem_ErrorStates_Schema.extend({\n errorItems: WildoError_BackendSchema.extend({\n systemRef: z.string(),\n flowNode: Flow_Node_RelationshipSchema,\n }).array().optional(),\n }).optional(),\n});\nexport type FlowSystem_Execution = z.infer<typeof FlowSystem_Execution_Schema>;\n"]}
1
+ {"version":3,"file":"flows.shared.schemas.js","sourceRoot":"","sources":["../../../../src/flows-actors/flows.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAEtG,OAAO,EAAwB,kCAAkC,EAAE,+BAA+B,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACvK,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAGpF,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,+BAAa,CAAA;IACb,mCAAiB,CAAA;AACnB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAED,iEAAiE;AACjE,QAAQ;AACR,iEAAiE;AAEjE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAC5B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;KAChB,CAAC;IACF,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC;QACX,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAC5B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;KAChB,CAAC;CACH,CAAC,CAAC;AAGH,iEAAiE;AACjE,WAAW;AACX,iEAAiE;AAEjE,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;IACrB,wCAAmB,CAAA;IACnB,sDAAiC,CAAA;IACjC,oCAAe,CAAA;IACf,wDAAmC,CAAA;AACrC,CAAC,EAPW,iBAAiB,KAA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BAAkB,CAAC;QAClC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;QAC3B,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;iBAC/B,QAAQ,CAAC,yBAAyB,CAAC,4FAA4F,CAAC,CAAC;YACpI,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;SAC5B,CAAC,CAAC;KACJ,CAAC,CAAC,KAAK,EAAE;IAEV,WAAW,EAAG,kCAAkC,CAAC,MAAM,CAAC;QACtD,UAAU,EAAE,wBAAwB,CAAC,MAAM,CAAC;YAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;YACrB,QAAQ,EAAE,4BAA4B;SACvC,CAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;KACtB,CAAC,CAAC,QAAQ,EAAE;CACd,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { WildoError_BackendSchema } from \"../errors/errors.shared.schemas\";\nimport { FlowsActors_Status, describeFlowsActorsStatus } from \"./flows-actors.commons.shared.schemas\";\nimport { FlowsActors_LeafElements_Configuration } from \"./flows-actors.configuration.shared.schemas\";\nimport { FlowActorSystem_Base, FlowActorSystem_ErrorStates_Schema, FlowActorSystem_ExecutionSchema, FlowActorSystem_Kind } from \"./flows-actors.system.shared.schemas\";\nimport { createSchemaFamily } from \"../resources/utils/schema-family-builder.utils\";\n\n\nexport enum Flow_Node_Type {\n TRIGGER = \"trigger\",\n STEP = \"step\",\n FINISH = \"finish\",\n}\n\n//===============================================================\n// Edge\n//===============================================================\n\nexport const Flow_EdgeSchema = z.object({\n from: z.object({\n type: z.enum(Flow_Node_Type),\n ref: z.string(),\n }),\n to: z.object({\n type: z.enum(Flow_Node_Type),\n ref: z.string(),\n }),\n});\nexport type Flow_Edge = z.infer<typeof Flow_EdgeSchema>;\n\n//===============================================================\n// Trigger\n//===============================================================\n\nexport enum Flow_Trigger_Type {\n MANUAL = \"manual\",\n SCHEDULE = \"schedule\",\n WEBHOOK = \"webhook\",\n RESOURCE_EVENT = \"resource_event\",\n EVENT = \"event\",\n TASK_COMPLETION = \"task_completion\",\n}\n\nexport type Flow_Trigger_Base = {\n type : Flow_Trigger_Type;\n ref : string;\n displayName : string;\n description? : string;\n inputSchema? : z.ZodSchema<any>;\n};\n\nexport type Flow_Trigger =\n Flow_Trigger_Base & { type: Flow_Trigger_Type.MANUAL } |\n Flow_Trigger_Base & { type: Flow_Trigger_Type.SCHEDULE, cron: string, timezone: string | undefined } |\n Flow_Trigger_Base & { type: Flow_Trigger_Type.WEBHOOK, path: string, method: string, authentication: any | undefined } |\n Flow_Trigger_Base & { type: Flow_Trigger_Type.RESOURCE_EVENT, resourceType: string, operations: string[] } |\n Flow_Trigger_Base & { type: Flow_Trigger_Type.EVENT, topics: string[] };\n\n\n\n\n\n//===============================================================\n// Step\n//===============================================================\n\nexport enum Flow_Step_Kind {\n // Agentic Steps\n AGENT_CALL = \"agent.call\",\n\n\n FUNCTION = \"function\",\n CONNECTOR = \"connector\",\n COMPUTE_RESOURCE_OPERATION = \"compute.resource.operation\", // operation on a resource\n COMPUTE_CUSTOM = \"compute.custom\", // custom compute step\n FLOW_SUBFLOW = \"flow.subflow\",\n\n ARTIFACT_WRITE = \"artifact.write\", // write artifact\n ARTIFACT_READ = \"artifact.read\", // read artifact\n\n // Control Steps\n CONTROL_BRANCH = \"control.branch\",\n CONTROL_SWITCH = \"control.switch\",\n CONTROL_LOOP = \"control.loop\",\n CONTROL_PARALLEL = \"control.parallel\",\n CONTROL_DELAY = \"control.delay\",\n CONTROL_RETRY = \"control.retry\",\n\n // State Steps\n STATE_MEMORY_READ = \"state.memory.read\", // read from memory\n STATE_MEMORY_WRITE = \"state.memory.write\", // write to memory\n\n // Event Steps\n EVENT_EMIT = \"event.emit\",\n EVENT_WAIT = \"event.wait\",\n // Artifact Steps\n\n // Error Handling\n ERROR_CATCH = \"error.catch\",\n ERROR_COMPENSATE = \"error.compensate\",\n ERROR_FINALLY = \"error.finally\",\n\n // Human\n HUMAN_IN_THE_LOOP = \"human.in.the.loop\",\n ACTOR_SYSTEM_CALL = \"actor.system.call\",\n\n}\n\nexport type Flow_Step_Base = {\n kind: Flow_Step_Kind;\n name: string;\n description?: string;\n inputSchema?: z.ZodSchema<any>;\n outputSchema?: z.ZodSchema<any>;\n config?: FlowsActors_LeafElements_Configuration;\n metadata?: Record<string, unknown>;\n};\n\nexport enum Flow_ControlSwith_Operator {\n EQUAL = \"equal\",\n NOT_EQUAL = \"not_equal\",\n GREATER_THAN = \"greater_than\",\n LESS_THAN = \"less_than\",\n GREATER_THAN_OR_EQUAL = \"greater_than_or_equal\",\n LESS_THAN_OR_EQUAL = \"less_than_or_equal\",\n}\n\nexport const Flow_ControlSwitch_ConditionSchema = z.object({\n operator: z.enum(Flow_ControlSwith_Operator),\n left: z.any(),\n right: z.any(),\n});\nexport type Flow_ControlSwitch_Condition = z.infer<typeof Flow_ControlSwitch_ConditionSchema>;\n\nexport type Flow_Step =\n Flow_Step_Base & { kind: Flow_Step_Kind.AGENT_CALL, agentRef: { /* TODO: add function schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.FUNCTION, functionRef: { /* TODO: add function schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONNECTOR, connector: { /* TODO: add connector schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.COMPUTE_RESOURCE_OPERATION, resourceOperation: { /* TODO: add compute resource operation schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.COMPUTE_CUSTOM, customComputation: { /* TODO: add compute custom schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.FLOW_SUBFLOW, fsubflow: { /* TODO: add flow subflow schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ARTIFACT_WRITE, artifact: { /* TODO: add artifact write schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ARTIFACT_READ, artifactRead: { /* TODO: add artifact read schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_BRANCH, branches: { /* TODO: add control branch schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_SWITCH, switchCases: { /* TODO: add control switch schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_LOOP, loop: { /* TODO: add control loop schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_PARALLEL, parallel: { /* TODO: add control parallel schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_DELAY, delay: { /* TODO: add control delay schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.CONTROL_RETRY, retry: { /* TODO: add control retry schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.STATE_MEMORY_READ, memoryRef: { /* TODO: add state memory read schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.STATE_MEMORY_WRITE, memoryRef: { /* TODO: add state memory write schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.EVENT_EMIT, eventDef: { /* TODO: add event emit schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.EVENT_WAIT, eventDef: { /* TODO: add event wait schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ERROR_CATCH, error: { /* TODO: add error catch schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ERROR_COMPENSATE, error: { /* TODO: add error compensate schema */ } } |\n Flow_Step_Base & { kind: Flow_Step_Kind.ERROR_FINALLY, error: { /* TODO: add error finally schema */ } }\n\n\n\n//===============================================================\n// FINISH\n//===============================================================\n\nexport const Flow_FinishSchema = z.object({});\nexport type Flow_Finish = z.infer<typeof Flow_FinishSchema>;\n\n//===============================================================\n// Flow System\n//===============================================================\n\n/**\n * The FLOW specialization of the system base — the type that OWNS the flow\n * graph (`triggers` / `steps` / `edges` / `finishes`). Still a hand-written\n * type rather than a Zod schema: `Flow_Trigger` and `Flow_Step` are TypeScript\n * unions with no runtime schema yet (the flow model is still maturing), which\n * is why `FlowActorSystem` can only be a TYPE union today and not a\n * `z.discriminatedUnion`.\n */\nexport type FlowSystem = FlowActorSystem_Base & {\n kind: FlowActorSystem_Kind.FLOW;\n triggers: Flow_Trigger[];\n steps: Flow_Step[];\n edges: Flow_Edge[];\n finishes: Flow_Finish[];\n};\n\n//===============================================================\n// Flow System Execution\n//===============================================================\n\n/** ──────────────────────────────────────────────────────────────\n * Flow Node Relationship Schema Family\n *\n * Uses createSchemaFamily for discriminated union by node type.\n * Each node type has a specific reference field.\n * ────────────────────────────────────────────────────────────── */\n\nconst flowNodeRelationshipSchemaFamily = createSchemaFamily({\n base: z.object({\n kind: z.enum(Flow_Node_Type),\n }),\n discriminator: {\n field: 'kind',\n baseValues: [], // All node types have variants\n },\n variants: {\n [Flow_Node_Type.TRIGGER]: {\n extend: z.object({\n triggerRef: z.string(),\n }),\n },\n [Flow_Node_Type.STEP]: {\n extend: z.object({\n stepRef: z.string(),\n }),\n },\n [Flow_Node_Type.FINISH]: {\n extend: z.object({\n finishRef: z.string(),\n }),\n },\n },\n});\n\n/** Exported schema family for advanced use cases */\nexport const Flow_Node_RelationshipSchemaFamily = flowNodeRelationshipSchemaFamily;\n\n/** Union of all flow node relationship types (from schema family) */\nexport const Flow_Node_RelationshipSchema = flowNodeRelationshipSchemaFamily.union;\nexport type Flow_Node_Relationship = z.infer<typeof Flow_Node_RelationshipSchema>;\n\n\n\nexport const FlowSystem_Execution_Schema = FlowActorSystem_ExecutionSchema.extend({\n kind: z.literal(FlowActorSystem_Kind.FLOW),\n\n nodeStates: z.object({\n node: Flow_Node_RelationshipSchema,\n status: z.enum(FlowsActors_Status),\n updatedAt: z.iso.datetime(),\n statusChanges: z.array(z.object({\n status: z.enum(FlowsActors_Status)\n .describe(describeFlowsActorsStatus(\"The state this run moved into at `timestamp`. The list is the run's history, oldest first.\")),\n timestamp: z.iso.datetime(),\n })),\n }).array(),\n\n errorStates : FlowActorSystem_ErrorStates_Schema.extend({\n errorItems: WildoError_BackendSchema.extend({\n systemRef: z.string(),\n flowNode: Flow_Node_RelationshipSchema,\n }).array().optional(),\n }).optional(),\n});\nexport type FlowSystem_Execution = z.infer<typeof FlowSystem_Execution_Schema>;\n"]}
@@ -0,0 +1,121 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * What a person is being asked FOR in one field.
4
+ *
5
+ * The one named source for this vocabulary. `MetaWorkflow_ElicitationQuestionKind` in the
6
+ * application-creation layer is an alias of this enum rather than a second copy — the values decide
7
+ * how an answer is validated, so two enums that drift would mean a CHOICE accepted against the wrong
8
+ * option set.
9
+ */
10
+ export declare enum HumanDecision_FieldKind {
11
+ /** Prose. The answer is whatever the person writes, trimmed, and must not be empty. */
12
+ FREE_TEXT = "free_text",
13
+ /** One of a closed set the request states. An answer outside `options` is REFUSED, never coerced. */
14
+ CHOICE = "choice",
15
+ /**
16
+ * Yes or no.
17
+ *
18
+ * The answer must resolve to an unambiguous affirmative or negative and is stored CANONICALLY, not
19
+ * as the person typed it — downstream readers compare a token rather than re-parsing prose. An
20
+ * answer that does not resolve ("probably") is refused rather than guessed, because these decide
21
+ * things: the regulated-domain screening questions are `CONFIRM`s, and one of them silently
22
+ * meaning "yes" is a compliance posture nobody chose. Resolution lives with the creation layer
23
+ * that owns the canonical vocabulary.
24
+ */
25
+ CONFIRM = "confirm"
26
+ }
27
+ /**
28
+ * What giving a particular answer MEANS for the work that is waiting.
29
+ *
30
+ * Closed, and deliberately three members rather than one per button. Hosts spell their buttons
31
+ * differently — accept/decline/cancel, submit/cancel, approve/deny — and a vocabulary with one
32
+ * member per spelling would have to grow every time a surface is added. What a reader actually needs
33
+ * to know is whether the waiting work proceeds, and whether it proceeds WITH the values.
34
+ */
35
+ export declare enum HumanDecision_ResponseIntent {
36
+ /** Proceed, using the values supplied. Fields are validated and required. */
37
+ PROCEED_WITH_VALUES = "proceed_with_values",
38
+ /**
39
+ * Proceed WITHOUT values — the person declined to answer and the work continues on its own
40
+ * judgement, stating the assumption it made.
41
+ *
42
+ * This is also what a DENIAL is, and the distinction matters: denying a gated tool call does not
43
+ * abort the turn, it resumes it so the model can answer the refusal. Anything that ends the work
44
+ * is `ABORT`.
45
+ */
46
+ PROCEED_WITHOUT_VALUES = "proceed_without_values",
47
+ /** End the waiting work. Nothing is produced and no values are read. */
48
+ ABORT = "abort"
49
+ }
50
+ /** One thing a person is asked. `why` is the rationale a host may supply; an interview usually has none. */
51
+ export declare const HumanDecision_FieldSchema: z.ZodObject<{
52
+ ref: z.ZodString;
53
+ question: z.ZodString;
54
+ kind: z.ZodEnum<typeof HumanDecision_FieldKind>;
55
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
56
+ why: z.ZodOptional<z.ZodString>;
57
+ }, z.core.$strip>;
58
+ export type HumanDecision_Field = z.infer<typeof HumanDecision_FieldSchema>;
59
+ /** One answer a person may give, and what it means for the waiting work. */
60
+ export declare const HumanDecision_ResponseOptionSchema: z.ZodObject<{
61
+ ref: z.ZodString;
62
+ label: z.ZodString;
63
+ intent: z.ZodEnum<typeof HumanDecision_ResponseIntent>;
64
+ description: z.ZodOptional<z.ZodString>;
65
+ }, z.core.$strip>;
66
+ export type HumanDecision_ResponseOption = z.infer<typeof HumanDecision_ResponseOptionSchema>;
67
+ /**
68
+ * Something is waiting for a person.
69
+ *
70
+ * Projected by whichever host owns the suspended work; never persisted by this layer.
71
+ */
72
+ export declare const HumanDecision_RequestSchema: z.ZodObject<{
73
+ decisionId: z.ZodString;
74
+ title: z.ZodString;
75
+ description: z.ZodString;
76
+ fields: z.ZodArray<z.ZodObject<{
77
+ ref: z.ZodString;
78
+ question: z.ZodString;
79
+ kind: z.ZodEnum<typeof HumanDecision_FieldKind>;
80
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
81
+ why: z.ZodOptional<z.ZodString>;
82
+ }, z.core.$strip>>;
83
+ options: z.ZodArray<z.ZodObject<{
84
+ ref: z.ZodString;
85
+ label: z.ZodString;
86
+ intent: z.ZodEnum<typeof HumanDecision_ResponseIntent>;
87
+ description: z.ZodOptional<z.ZodString>;
88
+ }, z.core.$strip>>;
89
+ requestedAt: z.ZodString;
90
+ expiresAt: z.ZodOptional<z.ZodString>;
91
+ }, z.core.$strip>;
92
+ export type HumanDecision_Request = z.infer<typeof HumanDecision_RequestSchema>;
93
+ /** What a person answered. */
94
+ export declare const HumanDecision_AnswerSchema: z.ZodObject<{
95
+ decisionId: z.ZodString;
96
+ optionRef: z.ZodString;
97
+ values: z.ZodDefault<z.ZodArray<z.ZodObject<{
98
+ ref: z.ZodString;
99
+ value: z.ZodString;
100
+ }, z.core.$strip>>>;
101
+ }, z.core.$strip>;
102
+ export type HumanDecision_Answer = z.infer<typeof HumanDecision_AnswerSchema>;
103
+ /** Refused because the answer does not settle the request it names. */
104
+ export declare class HumanDecisionAnswerError extends Error {
105
+ }
106
+ /**
107
+ * Check an answer against the request it claims to settle, and return the values by ref.
108
+ *
109
+ * Refuses rather than coerces, at every branch, for the reason the CONFIRM doc gives: these answers
110
+ * decide things, and a silently-accepted wrong one becomes the record. `CONFIRM` resolution is NOT
111
+ * done here — this layer does not own the canonical affirmative/negative vocabulary — so a CONFIRM
112
+ * field is validated as non-empty and the creation layer canonicalises it.
113
+ *
114
+ * Note what is deliberately NOT validated: an option this request never offered is refused, but the
115
+ * INTENT is trusted, because the host authored both the option and its meaning.
116
+ */
117
+ export declare function resolveHumanDecisionAnswer(request: HumanDecision_Request, answer: HumanDecision_Answer): {
118
+ readonly option: HumanDecision_ResponseOption;
119
+ readonly values: Readonly<Record<string, string>>;
120
+ };
121
+ //# sourceMappingURL=human-decision.shared.schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"human-decision.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/flows-actors/human-decision.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAo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,252 @@
1
+ import { z } from 'zod';
2
+ //===============================================================
3
+ // HUMAN DECISION — one payload for every question a person is asked
4
+ //
5
+ // ## What this is, and what it deliberately is NOT
6
+ //
7
+ // This is the CONTRACT for "something is waiting for a person": what they are being asked, what
8
+ // answers they may give, and what a given answer means. It is not a store.
9
+ //
10
+ // That distinction was measured rather than assumed, and it is the whole reason this file is small.
11
+ // Three surfaces suspend on a human, and where each keeps its pending state has MOVED since this was
12
+ // written — the table is the current state, 2026-09-20:
13
+ //
14
+ // | question | pending state lives in | its own shape |
15
+ // |---|---|---|
16
+ // | a mid-run clarification | the run's own ACTOR EXECUTION row — `suspension` (this payload) + `checkpoint` (the resume inputs), status `AWAITING_APPROVAL` | `PlaybookRunSuspensionCheckpoint` |
17
+ // | a parked coding run | the durable actor-task row (`output.suspension`) — moves onto the same two execution fields with the coding lane (#1359) | `CodingAgent_SessionSuspension` |
18
+ // | a playbook's up-front interview | nowhere — it is DECLARED on the playbook and asked before a run exists | `MetaWorkflow_ElicitationSpec` |
19
+ //
20
+ // The history, because the first line of that table was argued the other way twice. Until 2026-09-20
21
+ // this header said "a playbook run creates no execution row at all, so there is no single plane to
22
+ // move them onto" — true until #1343 gave a run an `ActorSystem_Execution`. It then said the
23
+ // conclusion was unchanged because "that row records the RUN, not what the run is waiting for", and
24
+ // that a clarification was "a disposable checkpoint whose whole point is that it costs nothing to
25
+ // lose". #1360 measured that and reversed it: once the engine DRIVES the run (#1358), a wait that
26
+ // lives beside the row needs a second handle, a second store and a second listing to say what the
27
+ // row's own status should, and a suspended run settled `COMPLETED` on the plane while waiting on a
28
+ // person. The row now says what the run is waiting for, and the engine resumes it under the same id.
29
+ //
30
+ // The up-front interview stays where it is for the reason it always had: it is answered BEFORE a run
31
+ // exists to hang it on.
32
+ //
33
+ // Each host PROJECTS what it is waiting for into a `HumanDecision_Request`, and every reader — a
34
+ // workbench panel, a CLI, a future notification — consumes only this. On the actor-system plane the
35
+ // engine persists that projection itself (`ActorExecution_Suspension.decision`); elsewhere it is
36
+ // built on read. What a person is being asked is everyone's either way.
37
+ //
38
+ // ## Why not extend the existing paused-approval state
39
+ //
40
+ // `FlowActorExecution_PausedApproval` looks like the obvious host and is the wrong one. It carries
41
+ // `sdkModelMessages` ("the AI-SDK model-message array to RESUME from — opaque to us"),
42
+ // `pendingToolName` and `pendingToolArgs`: it is an agent-STREAM resume contract. A playbook
43
+ // interview has no model stream and no pending tool, so extending it would leave three required
44
+ // fields meaningless for half its uses. Two distinct concepts, two schemas.
45
+ //
46
+ // ## Two lists, because one question is the special case and not the rule
47
+ //
48
+ // The pre-existing decision components each model exactly ONE question — an options-only choice, or
49
+ // a single text input. A playbook interview asks fifteen at once, so neither fits, and a payload
50
+ // built around "the question" would have had to grow a second shape immediately.
51
+ //
52
+ // So a request carries a FIELD SET and a RESPONSE SET, and every existing surface is a special case:
53
+ // an options-only choice is fields `[]`; a single text prompt is one field with one option; a gated
54
+ // tool call is fields plus approve/deny.
55
+ //
56
+ // ## The serialization trap this schema is written against
57
+ //
58
+ // `FlowActorExecution_PausedApproval.approvalId` was once typed as a uuid on the reasonable
59
+ // assumption that an id is a uuid; the producing SDK emits `aitxt-…`. Serializing is `JSON.stringify`
60
+ // and does NOT validate — only the resume's `parse` does — so every paused turn persisted perfectly
61
+ // and became unresumable, reported as a corrupted blob naming the wrong cause. The unit fixtures used
62
+ // real uuids and were therefore more conformant than production, so they could never reproduce it.
63
+ //
64
+ // Consequence, applied here: every identifier this schema BORROWS from a producer it does not own is
65
+ // an opaque non-empty string, never a format. Assert a format only for ids this layer mints.
66
+ //===============================================================
67
+ /**
68
+ * What a person is being asked FOR in one field.
69
+ *
70
+ * The one named source for this vocabulary. `MetaWorkflow_ElicitationQuestionKind` in the
71
+ * application-creation layer is an alias of this enum rather than a second copy — the values decide
72
+ * how an answer is validated, so two enums that drift would mean a CHOICE accepted against the wrong
73
+ * option set.
74
+ */
75
+ export var HumanDecision_FieldKind;
76
+ (function (HumanDecision_FieldKind) {
77
+ /** Prose. The answer is whatever the person writes, trimmed, and must not be empty. */
78
+ HumanDecision_FieldKind["FREE_TEXT"] = "free_text";
79
+ /** One of a closed set the request states. An answer outside `options` is REFUSED, never coerced. */
80
+ HumanDecision_FieldKind["CHOICE"] = "choice";
81
+ /**
82
+ * Yes or no.
83
+ *
84
+ * The answer must resolve to an unambiguous affirmative or negative and is stored CANONICALLY, not
85
+ * as the person typed it — downstream readers compare a token rather than re-parsing prose. An
86
+ * answer that does not resolve ("probably") is refused rather than guessed, because these decide
87
+ * things: the regulated-domain screening questions are `CONFIRM`s, and one of them silently
88
+ * meaning "yes" is a compliance posture nobody chose. Resolution lives with the creation layer
89
+ * that owns the canonical vocabulary.
90
+ */
91
+ HumanDecision_FieldKind["CONFIRM"] = "confirm";
92
+ })(HumanDecision_FieldKind || (HumanDecision_FieldKind = {}));
93
+ /**
94
+ * What giving a particular answer MEANS for the work that is waiting.
95
+ *
96
+ * Closed, and deliberately three members rather than one per button. Hosts spell their buttons
97
+ * differently — accept/decline/cancel, submit/cancel, approve/deny — and a vocabulary with one
98
+ * member per spelling would have to grow every time a surface is added. What a reader actually needs
99
+ * to know is whether the waiting work proceeds, and whether it proceeds WITH the values.
100
+ */
101
+ export var HumanDecision_ResponseIntent;
102
+ (function (HumanDecision_ResponseIntent) {
103
+ /** Proceed, using the values supplied. Fields are validated and required. */
104
+ HumanDecision_ResponseIntent["PROCEED_WITH_VALUES"] = "proceed_with_values";
105
+ /**
106
+ * Proceed WITHOUT values — the person declined to answer and the work continues on its own
107
+ * judgement, stating the assumption it made.
108
+ *
109
+ * This is also what a DENIAL is, and the distinction matters: denying a gated tool call does not
110
+ * abort the turn, it resumes it so the model can answer the refusal. Anything that ends the work
111
+ * is `ABORT`.
112
+ */
113
+ HumanDecision_ResponseIntent["PROCEED_WITHOUT_VALUES"] = "proceed_without_values";
114
+ /** End the waiting work. Nothing is produced and no values are read. */
115
+ HumanDecision_ResponseIntent["ABORT"] = "abort";
116
+ })(HumanDecision_ResponseIntent || (HumanDecision_ResponseIntent = {}));
117
+ /** One thing a person is asked. `why` is the rationale a host may supply; an interview usually has none. */
118
+ export const HumanDecision_FieldSchema = z.object({
119
+ /** Stable id the answer is matched by. Host-minted and OPAQUE to this layer — never a format. */
120
+ ref: z.string().min(1),
121
+ /** The question, in the words the person should read. Never derived from `ref`. */
122
+ question: z.string().min(1),
123
+ kind: z.enum(HumanDecision_FieldKind),
124
+ /** The complete set, and REQUIRED when `kind` is CHOICE — a choice with no options is unanswerable. */
125
+ options: z.array(z.string().min(1)).optional(),
126
+ /** What the waiting work would do differently depending on the answer, when the host can say. */
127
+ why: z.string().min(1).optional(),
128
+ }).superRefine((field, context) => {
129
+ if (field.kind !== HumanDecision_FieldKind.CHOICE)
130
+ return;
131
+ if ((field.options ?? []).length === 0) {
132
+ context.addIssue({
133
+ code: 'custom',
134
+ message: `Field "${field.ref}" is a CHOICE and states no options, so it cannot be answered.`,
135
+ path: ['options'],
136
+ });
137
+ }
138
+ });
139
+ /** One answer a person may give, and what it means for the waiting work. */
140
+ export const HumanDecision_ResponseOptionSchema = z.object({
141
+ /** Host-defined id echoed back on the answer. Open by design: a host names its own buttons. */
142
+ ref: z.string().min(1),
143
+ /** What the button says. Authored text, never humanized from `ref`. */
144
+ label: z.string().min(1),
145
+ intent: z.enum(HumanDecision_ResponseIntent),
146
+ /** Why a person would pick this one, when it is not obvious from the label. */
147
+ description: z.string().min(1).optional(),
148
+ });
149
+ /**
150
+ * Something is waiting for a person.
151
+ *
152
+ * Projected by whichever host owns the suspended work; never persisted by this layer.
153
+ */
154
+ export const HumanDecision_RequestSchema = z.object({
155
+ /**
156
+ * Correlates this request with the answer that settles it.
157
+ *
158
+ * OPAQUE — hosts key it to whatever they already have (a run id, an ACP session id, an actor-task
159
+ * id), and this layer asserts only that it is present. See the file header for what asserting a
160
+ * format on a borrowed id once cost.
161
+ */
162
+ decisionId: z.string().min(1),
163
+ /** One line naming what is waiting, for a reader who has not been following the run. */
164
+ title: z.string().min(1),
165
+ /** What answering will cause, and what happens if nobody does. */
166
+ description: z.string().min(1),
167
+ /** May be empty: a pure approve/deny asks for a verdict and no values. */
168
+ fields: z.array(HumanDecision_FieldSchema),
169
+ /** At least one — a request nobody can answer is not a request. */
170
+ options: z.array(HumanDecision_ResponseOptionSchema).min(1),
171
+ /** ISO instant the request was raised. */
172
+ requestedAt: z.string().min(1),
173
+ /**
174
+ * ISO instant after which answering is refused.
175
+ *
176
+ * Optional, and ABSENT MEANS IT DOES NOT LAPSE — which is the honest reading for work that simply
177
+ * waits, such as a playbook checkpoint on disk. Do not default it: a deadline nothing enforces is
178
+ * the defect the paused-approval expiry was fixed for, where the field was declared, rendered, and
179
+ * never written by any producer.
180
+ */
181
+ expiresAt: z.string().min(1).optional(),
182
+ });
183
+ /** What a person answered. */
184
+ export const HumanDecision_AnswerSchema = z.object({
185
+ decisionId: z.string().min(1),
186
+ /** Which `options[].ref` was chosen. */
187
+ optionRef: z.string().min(1),
188
+ /** One entry per answered field. Empty for an option whose intent is not PROCEED_WITH_VALUES. */
189
+ values: z.array(z.object({ ref: z.string().min(1), value: z.string() })).default([]),
190
+ });
191
+ /** Refused because the answer does not settle the request it names. */
192
+ export class HumanDecisionAnswerError extends Error {
193
+ }
194
+ /**
195
+ * Check an answer against the request it claims to settle, and return the values by ref.
196
+ *
197
+ * Refuses rather than coerces, at every branch, for the reason the CONFIRM doc gives: these answers
198
+ * decide things, and a silently-accepted wrong one becomes the record. `CONFIRM` resolution is NOT
199
+ * done here — this layer does not own the canonical affirmative/negative vocabulary — so a CONFIRM
200
+ * field is validated as non-empty and the creation layer canonicalises it.
201
+ *
202
+ * Note what is deliberately NOT validated: an option this request never offered is refused, but the
203
+ * INTENT is trusted, because the host authored both the option and its meaning.
204
+ */
205
+ export function resolveHumanDecisionAnswer(request, answer) {
206
+ if (answer.decisionId !== request.decisionId) {
207
+ throw new HumanDecisionAnswerError(`Answer names decision "${answer.decisionId}" but the request is "${request.decisionId}".`);
208
+ }
209
+ const option = request.options.find((candidate) => candidate.ref === answer.optionRef);
210
+ if (!option) {
211
+ throw new HumanDecisionAnswerError(`Decision "${request.decisionId}" never offered "${answer.optionRef}". Offered: ${request.options.map((entry) => entry.ref).join(', ')}.`);
212
+ }
213
+ if (option.intent !== HumanDecision_ResponseIntent.PROCEED_WITH_VALUES) {
214
+ if (answer.values.length > 0) {
215
+ throw new HumanDecisionAnswerError(`Option "${option.ref}" does not carry values, but ${answer.values.length} were supplied.`);
216
+ }
217
+ return { option, values: {} };
218
+ }
219
+ const byRef = new Map(request.fields.map((field) => [field.ref, field]));
220
+ const values = {};
221
+ for (const entry of answer.values) {
222
+ const field = byRef.get(entry.ref);
223
+ if (!field) {
224
+ throw new HumanDecisionAnswerError(`Decision "${request.decisionId}" never asks "${entry.ref}". Asked: ${[...byRef.keys()].join(', ')}.`);
225
+ }
226
+ if (Object.hasOwn(values, entry.ref)) {
227
+ throw new HumanDecisionAnswerError(`Field "${entry.ref}" was answered more than once.`);
228
+ }
229
+ const trimmed = entry.value.trim();
230
+ if (trimmed.length === 0) {
231
+ throw new HumanDecisionAnswerError(`Field "${entry.ref}" was answered with empty text.`);
232
+ }
233
+ if (field.kind === HumanDecision_FieldKind.CHOICE && !(field.options ?? []).includes(trimmed)) {
234
+ throw new HumanDecisionAnswerError(`Field "${entry.ref}" is a CHOICE; "${trimmed}" is not one of its options (${(field.options ?? []).join(', ')}).`);
235
+ }
236
+ values[entry.ref] = trimmed;
237
+ }
238
+ /*
239
+ * Every field must be answered, and the contract declares no optional ones.
240
+ *
241
+ * A missing answer is a gap in the interview rather than an implicit "no" — several questions are
242
+ * written to be answerable when they do not apply ("answer 'none' if there is no trigger"), so
243
+ * silently proceeding is how a record acquires an empty field that later reads as a decision
244
+ * somebody made.
245
+ */
246
+ const missing = request.fields.filter((field) => !Object.hasOwn(values, field.ref)).map((field) => field.ref);
247
+ if (missing.length > 0) {
248
+ throw new HumanDecisionAnswerError(`Decision "${request.decisionId}" needs an answer to every field it asks; missing: ${missing.join(', ')}.`);
249
+ }
250
+ return { option, values };
251
+ }
252
+ //# sourceMappingURL=human-decision.shared.schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"human-decision.shared.schemas.js","sourceRoot":"","sources":["../../../../src/flows-actors/human-decision.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iEAAiE;AACjE,qEAAqE;AACrE,EAAE;AACF,mDAAmD;AACnD,EAAE;AACF,gGAAgG;AAChG,2EAA2E;AAC3E,EAAE;AACF,oGAAoG;AACpG,qGAAqG;AACrG,wDAAwD;AACxD,EAAE;AACF,wDAAwD;AACxD,gBAAgB;AAChB,mMAAmM;AACnM,uLAAuL;AACvL,gJAAgJ;AAChJ,EAAE;AACF,qGAAqG;AACrG,mGAAmG;AACnG,6FAA6F;AAC7F,oGAAoG;AACpG,kGAAkG;AAClG,kGAAkG;AAClG,kGAAkG;AAClG,mGAAmG;AACnG,qGAAqG;AACrG,EAAE;AACF,qGAAqG;AACrG,wBAAwB;AACxB,EAAE;AACF,iGAAiG;AACjG,oGAAoG;AACpG,iGAAiG;AACjG,wEAAwE;AACxE,EAAE;AACF,uDAAuD;AACvD,EAAE;AACF,mGAAmG;AACnG,uFAAuF;AACvF,6FAA6F;AAC7F,gGAAgG;AAChG,4EAA4E;AAC5E,EAAE;AACF,0EAA0E;AAC1E,EAAE;AACF,oGAAoG;AACpG,iGAAiG;AACjG,iFAAiF;AACjF,EAAE;AACF,qGAAqG;AACrG,oGAAoG;AACpG,yCAAyC;AACzC,EAAE;AACF,2DAA2D;AAC3D,EAAE;AACF,4FAA4F;AAC5F,sGAAsG;AACtG,oGAAoG;AACpG,sGAAsG;AACtG,mGAAmG;AACnG,EAAE;AACF,qGAAqG;AACrG,6FAA6F;AAC7F,iEAAiE;AAEjE;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,uBAgBX;AAhBD,WAAY,uBAAuB;IACjC,uFAAuF;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,MAAM,KAAK,CAAC,EAAE,CAAC;YACzB,MAAM,IAAI,wBAAwB,CAAC,UAAU,KAAK,CAAC,GAAG,iCAAiC,CAAC,CAAC;QAC3F,CAAC;QACD,IAAI,KAAK,CAAC,IAAI,KAAK,uBAAuB,CAAC,MAAM,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;YAC9F,MAAM,IAAI,wBAAwB,CAChC,UAAU,KAAK,CAAC,GAAG,mBAAmB,OAAO,gCAAgC,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAClH,CAAC;QACJ,CAAC;QACD,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC;IAC9B,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9G,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,wBAAwB,CAChC,aAAa,OAAO,CAAC,UAAU,sDAAsD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAC3G,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAC5B,CAAC","sourcesContent":["import { z } from 'zod';\n\n//===============================================================\n// HUMAN DECISION — one payload for every question a person is asked\n//\n// ## What this is, and what it deliberately is NOT\n//\n// This is the CONTRACT for \"something is waiting for a person\": what they are being asked, what\n// answers they may give, and what a given answer means. It is not a store.\n//\n// That distinction was measured rather than assumed, and it is the whole reason this file is small.\n// Three surfaces suspend on a human, and where each keeps its pending state has MOVED since this was\n// written — the table is the current state, 2026-09-20:\n//\n// | question | pending state lives in | its own shape |\n// |---|---|---|\n// | a mid-run clarification | the run's own ACTOR EXECUTION row — `suspension` (this payload) + `checkpoint` (the resume inputs), status `AWAITING_APPROVAL` | `PlaybookRunSuspensionCheckpoint` |\n// | a parked coding run | the durable actor-task row (`output.suspension`) — moves onto the same two execution fields with the coding lane (#1359) | `CodingAgent_SessionSuspension` |\n// | a playbook's up-front interview | nowhere — it is DECLARED on the playbook and asked before a run exists | `MetaWorkflow_ElicitationSpec` |\n//\n// The history, because the first line of that table was argued the other way twice. Until 2026-09-20\n// this header said \"a playbook run creates no execution row at all, so there is no single plane to\n// move them onto\" — true until #1343 gave a run an `ActorSystem_Execution`. It then said the\n// conclusion was unchanged because \"that row records the RUN, not what the run is waiting for\", and\n// that a clarification was \"a disposable checkpoint whose whole point is that it costs nothing to\n// lose\". #1360 measured that and reversed it: once the engine DRIVES the run (#1358), a wait that\n// lives beside the row needs a second handle, a second store and a second listing to say what the\n// row's own status should, and a suspended run settled `COMPLETED` on the plane while waiting on a\n// person. The row now says what the run is waiting for, and the engine resumes it under the same id.\n//\n// The up-front interview stays where it is for the reason it always had: it is answered BEFORE a run\n// exists to hang it on.\n//\n// Each host PROJECTS what it is waiting for into a `HumanDecision_Request`, and every reader — a\n// workbench panel, a CLI, a future notification — consumes only this. On the actor-system plane the\n// engine persists that projection itself (`ActorExecution_Suspension.decision`); elsewhere it is\n// built on read. What a person is being asked is everyone's either way.\n//\n// ## Why not extend the existing paused-approval state\n//\n// `FlowActorExecution_PausedApproval` looks like the obvious host and is the wrong one. It carries\n// `sdkModelMessages` (\"the AI-SDK model-message array to RESUME from — opaque to us\"),\n// `pendingToolName` and `pendingToolArgs`: it is an agent-STREAM resume contract. A playbook\n// interview has no model stream and no pending tool, so extending it would leave three required\n// fields meaningless for half its uses. Two distinct concepts, two schemas.\n//\n// ## Two lists, because one question is the special case and not the rule\n//\n// The pre-existing decision components each model exactly ONE question — an options-only choice, or\n// a single text input. A playbook interview asks fifteen at once, so neither fits, and a payload\n// built around \"the question\" would have had to grow a second shape immediately.\n//\n// So a request carries a FIELD SET and a RESPONSE SET, and every existing surface is a special case:\n// an options-only choice is fields `[]`; a single text prompt is one field with one option; a gated\n// tool call is fields plus approve/deny.\n//\n// ## The serialization trap this schema is written against\n//\n// `FlowActorExecution_PausedApproval.approvalId` was once typed as a uuid on the reasonable\n// assumption that an id is a uuid; the producing SDK emits `aitxt-…`. Serializing is `JSON.stringify`\n// and does NOT validate — only the resume's `parse` does — so every paused turn persisted perfectly\n// and became unresumable, reported as a corrupted blob naming the wrong cause. The unit fixtures used\n// real uuids and were therefore more conformant than production, so they could never reproduce it.\n//\n// Consequence, applied here: every identifier this schema BORROWS from a producer it does not own is\n// an opaque non-empty string, never a format. Assert a format only for ids this layer mints.\n//===============================================================\n\n/**\n * What a person is being asked FOR in one field.\n *\n * The one named source for this vocabulary. `MetaWorkflow_ElicitationQuestionKind` in the\n * application-creation layer is an alias of this enum rather than a second copy — the values decide\n * how an answer is validated, so two enums that drift would mean a CHOICE accepted against the wrong\n * option set.\n */\nexport enum HumanDecision_FieldKind {\n /** Prose. The answer is whatever the person writes, trimmed, and must not be empty. */\n FREE_TEXT = 'free_text',\n /** One of a closed set the request states. An answer outside `options` is REFUSED, never coerced. */\n CHOICE = 'choice',\n /**\n * Yes or no.\n *\n * The answer must resolve to an unambiguous affirmative or negative and is stored CANONICALLY, not\n * as the person typed it — downstream readers compare a token rather than re-parsing prose. An\n * answer that does not resolve (\"probably\") is refused rather than guessed, because these decide\n * things: the regulated-domain screening questions are `CONFIRM`s, and one of them silently\n * meaning \"yes\" is a compliance posture nobody chose. Resolution lives with the creation layer\n * that owns the canonical vocabulary.\n */\n CONFIRM = 'confirm',\n}\n\n/**\n * What giving a particular answer MEANS for the work that is waiting.\n *\n * Closed, and deliberately three members rather than one per button. Hosts spell their buttons\n * differently — accept/decline/cancel, submit/cancel, approve/deny — and a vocabulary with one\n * member per spelling would have to grow every time a surface is added. What a reader actually needs\n * to know is whether the waiting work proceeds, and whether it proceeds WITH the values.\n */\nexport enum HumanDecision_ResponseIntent {\n /** Proceed, using the values supplied. Fields are validated and required. */\n PROCEED_WITH_VALUES = 'proceed_with_values',\n /**\n * Proceed WITHOUT values — the person declined to answer and the work continues on its own\n * judgement, stating the assumption it made.\n *\n * This is also what a DENIAL is, and the distinction matters: denying a gated tool call does not\n * abort the turn, it resumes it so the model can answer the refusal. Anything that ends the work\n * is `ABORT`.\n */\n PROCEED_WITHOUT_VALUES = 'proceed_without_values',\n /** End the waiting work. Nothing is produced and no values are read. */\n ABORT = 'abort',\n}\n\n/** One thing a person is asked. `why` is the rationale a host may supply; an interview usually has none. */\nexport const HumanDecision_FieldSchema = z.object({\n /** Stable id the answer is matched by. Host-minted and OPAQUE to this layer — never a format. */\n ref: z.string().min(1),\n /** The question, in the words the person should read. Never derived from `ref`. */\n question: z.string().min(1),\n kind: z.enum(HumanDecision_FieldKind),\n /** The complete set, and REQUIRED when `kind` is CHOICE — a choice with no options is unanswerable. */\n options: z.array(z.string().min(1)).optional(),\n /** What the waiting work would do differently depending on the answer, when the host can say. */\n why: z.string().min(1).optional(),\n}).superRefine((field, context) => {\n if (field.kind !== HumanDecision_FieldKind.CHOICE) return;\n if ((field.options ?? []).length === 0) {\n context.addIssue({\n code: 'custom',\n message: `Field \"${field.ref}\" is a CHOICE and states no options, so it cannot be answered.`,\n path: ['options'],\n });\n }\n});\nexport type HumanDecision_Field = z.infer<typeof HumanDecision_FieldSchema>;\n\n/** One answer a person may give, and what it means for the waiting work. */\nexport const HumanDecision_ResponseOptionSchema = z.object({\n /** Host-defined id echoed back on the answer. Open by design: a host names its own buttons. */\n ref: z.string().min(1),\n /** What the button says. Authored text, never humanized from `ref`. */\n label: z.string().min(1),\n intent: z.enum(HumanDecision_ResponseIntent),\n /** Why a person would pick this one, when it is not obvious from the label. */\n description: z.string().min(1).optional(),\n});\nexport type HumanDecision_ResponseOption = z.infer<typeof HumanDecision_ResponseOptionSchema>;\n\n/**\n * Something is waiting for a person.\n *\n * Projected by whichever host owns the suspended work; never persisted by this layer.\n */\nexport const HumanDecision_RequestSchema = z.object({\n /**\n * Correlates this request with the answer that settles it.\n *\n * OPAQUE — hosts key it to whatever they already have (a run id, an ACP session id, an actor-task\n * id), and this layer asserts only that it is present. See the file header for what asserting a\n * format on a borrowed id once cost.\n */\n decisionId: z.string().min(1),\n /** One line naming what is waiting, for a reader who has not been following the run. */\n title: z.string().min(1),\n /** What answering will cause, and what happens if nobody does. */\n description: z.string().min(1),\n /** May be empty: a pure approve/deny asks for a verdict and no values. */\n fields: z.array(HumanDecision_FieldSchema),\n /** At least one — a request nobody can answer is not a request. */\n options: z.array(HumanDecision_ResponseOptionSchema).min(1),\n /** ISO instant the request was raised. */\n requestedAt: z.string().min(1),\n /**\n * ISO instant after which answering is refused.\n *\n * Optional, and ABSENT MEANS IT DOES NOT LAPSE — which is the honest reading for work that simply\n * waits, such as a playbook checkpoint on disk. Do not default it: a deadline nothing enforces is\n * the defect the paused-approval expiry was fixed for, where the field was declared, rendered, and\n * never written by any producer.\n */\n expiresAt: z.string().min(1).optional(),\n});\nexport type HumanDecision_Request = z.infer<typeof HumanDecision_RequestSchema>;\n\n/** What a person answered. */\nexport const HumanDecision_AnswerSchema = z.object({\n decisionId: z.string().min(1),\n /** Which `options[].ref` was chosen. */\n optionRef: z.string().min(1),\n /** One entry per answered field. Empty for an option whose intent is not PROCEED_WITH_VALUES. */\n values: z.array(z.object({ ref: z.string().min(1), value: z.string() })).default([]),\n});\nexport type HumanDecision_Answer = z.infer<typeof HumanDecision_AnswerSchema>;\n\n/** Refused because the answer does not settle the request it names. */\nexport class HumanDecisionAnswerError extends Error {}\n\n/**\n * Check an answer against the request it claims to settle, and return the values by ref.\n *\n * Refuses rather than coerces, at every branch, for the reason the CONFIRM doc gives: these answers\n * decide things, and a silently-accepted wrong one becomes the record. `CONFIRM` resolution is NOT\n * done here — this layer does not own the canonical affirmative/negative vocabulary — so a CONFIRM\n * field is validated as non-empty and the creation layer canonicalises it.\n *\n * Note what is deliberately NOT validated: an option this request never offered is refused, but the\n * INTENT is trusted, because the host authored both the option and its meaning.\n */\nexport function resolveHumanDecisionAnswer(\n request: HumanDecision_Request,\n answer: HumanDecision_Answer,\n): { readonly option: HumanDecision_ResponseOption; readonly values: Readonly<Record<string, string>> } {\n if (answer.decisionId !== request.decisionId) {\n throw new HumanDecisionAnswerError(\n `Answer names decision \"${answer.decisionId}\" but the request is \"${request.decisionId}\".`,\n );\n }\n\n const option = request.options.find((candidate) => candidate.ref === answer.optionRef);\n if (!option) {\n throw new HumanDecisionAnswerError(\n `Decision \"${request.decisionId}\" never offered \"${answer.optionRef}\". Offered: ${request.options.map((entry) => entry.ref).join(', ')}.`,\n );\n }\n\n if (option.intent !== HumanDecision_ResponseIntent.PROCEED_WITH_VALUES) {\n if (answer.values.length > 0) {\n throw new HumanDecisionAnswerError(\n `Option \"${option.ref}\" does not carry values, but ${answer.values.length} were supplied.`,\n );\n }\n return { option, values: {} };\n }\n\n const byRef = new Map(request.fields.map((field) => [field.ref, field]));\n const values: Record<string, string> = {};\n for (const entry of answer.values) {\n const field = byRef.get(entry.ref);\n if (!field) {\n throw new HumanDecisionAnswerError(\n `Decision \"${request.decisionId}\" never asks \"${entry.ref}\". Asked: ${[...byRef.keys()].join(', ')}.`,\n );\n }\n if (Object.hasOwn(values, entry.ref)) {\n throw new HumanDecisionAnswerError(`Field \"${entry.ref}\" was answered more than once.`);\n }\n const trimmed = entry.value.trim();\n if (trimmed.length === 0) {\n throw new HumanDecisionAnswerError(`Field \"${entry.ref}\" was answered with empty text.`);\n }\n if (field.kind === HumanDecision_FieldKind.CHOICE && !(field.options ?? []).includes(trimmed)) {\n throw new HumanDecisionAnswerError(\n `Field \"${entry.ref}\" is a CHOICE; \"${trimmed}\" is not one of its options (${(field.options ?? []).join(', ')}).`,\n );\n }\n values[entry.ref] = trimmed;\n }\n\n /*\n * Every field must be answered, and the contract declares no optional ones.\n *\n * A missing answer is a gap in the interview rather than an implicit \"no\" — several questions are\n * written to be answerable when they do not apply (\"answer 'none' if there is no trigger\"), so\n * silently proceeding is how a record acquires an empty field that later reads as a decision\n * somebody made.\n */\n const missing = request.fields.filter((field) => !Object.hasOwn(values, field.ref)).map((field) => field.ref);\n if (missing.length > 0) {\n throw new HumanDecisionAnswerError(\n `Decision \"${request.decisionId}\" needs an answer to every field it asks; missing: ${missing.join(', ')}.`,\n );\n }\n\n return { option, values };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-servers.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/flows-actors/mcp-servers.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;;;;;GAWG;AACH,oBAAY,wBAAwB;IAClC,sEAAsE;IACtE,WAAW,gBAAgB;IAC3B,gFAAgF;IAChF,GAAG,QAAQ;CACZ;AAED;;;;;;;GAOG;AACH,oBAAY,gCAAgC;IAC1C;;;;;OAKG;IACH,sBAAsB,2BAA2B;IACjD,uGAAuG;IACvG,YAAY,iBAAiB;IAC7B,oGAAoG;IACpG,IAAI,SAAS;CACd;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,qCAAqC;;;;iBAchD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC;;;iBAK9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;iBAStC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAMlE;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM5D"}
1
+ {"version":3,"file":"mcp-servers.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/flows-actors/mcp-servers.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;;;;;GAWG;AACH,oBAAY,wBAAwB;IAClC,sEAAsE;IACtE,WAAW,gBAAgB;IAC3B,gFAAgF;IAChF,GAAG,QAAQ;CACZ;AAED;;;;;;;GAOG;AACH,oBAAY,gCAAgC;IAC1C;;;;;OAKG;IACH,sBAAsB,2BAA2B;IACjD,uGAAuG;IACvG,YAAY,iBAAiB;IAC7B,oGAAoG;IACpG,IAAI,SAAS;CACd;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,qCAAqC;;;;iBAgBhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC;;;iBAK9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;iBAStC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAMlE;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM5D"}
@@ -85,8 +85,10 @@ export var FlowsActors_McpCredentialSubject;
85
85
  export const FlowsActors_McpServerCredentialSchema = z.object({
86
86
  providerRef: z.string().min(1),
87
87
  /**
88
- * The slug in the provider's `secretsContract` — the same identifier the env projection names, and
89
- * the one both credential resolver ports require.
88
+ * The provider's `secretsContract` KEY (`accessToken`) — the one both credential resolver ports
89
+ * require, and NOT the slot's env-var spelling (`VENDOR_ACCESS_TOKEN`) the env projection names.
90
+ * Stored credentials are keyed on the key (#624), and this value reaches the stores verbatim, so a
91
+ * spelling here misses a credential that exists.
90
92
  *
91
93
  * DECLARED rather than derived, because it is not derivable: a provider's contract may carry
92
94
  * several secrets, and which of them authorizes an MCP endpoint is a fact about that vendor's