@wildo-ai/saas-specifications 1.1.5 → 1.1.7

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 (677) hide show
  1. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +10 -8
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +14 -13
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts +3 -2
  6. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js +4 -3
  8. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/index.d.ts +31 -15
  10. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/index.js +34 -13
  12. package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts +2 -2
  14. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js +4 -4
  15. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
  16. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts +45 -0
  17. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -0
  18. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js +58 -0
  19. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -0
  20. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +3 -2
  21. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  22. package/dist/esm/_core/application-specification-family-identity.schemas.js +3 -2
  23. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  24. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +18 -0
  25. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  26. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +39 -13
  27. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  28. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +43 -13
  29. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  30. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +90 -2
  31. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  32. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +70 -6
  33. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  34. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  35. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +26 -4
  36. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  37. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +14 -0
  38. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  40. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
  41. package/dist/esm/_core/capability-composition/capability-composition-validation.js +1 -0
  42. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
  43. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +21 -2
  44. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  45. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +20 -1
  46. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  47. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +11 -32
  48. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +70 -3
  50. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  51. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +142 -17
  52. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  53. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +285 -30
  54. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  55. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +183 -18
  56. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  57. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +165 -18
  58. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  59. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +139 -0
  60. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -0
  61. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +172 -0
  62. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -0
  63. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +306 -0
  64. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -0
  65. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +502 -0
  66. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -0
  67. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +107 -0
  68. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -0
  69. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +118 -0
  70. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -0
  71. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +56 -0
  72. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -0
  73. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +100 -0
  74. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -0
  75. package/dist/esm/_core/composite-view-specification.schemas.js +8 -1
  76. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  77. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -2
  78. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  79. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +3 -2
  80. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  81. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +16 -3
  82. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +70 -5
  84. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  85. package/dist/esm/_core/family-aspects.schemas.d.ts +10 -0
  86. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  88. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +2 -2
  89. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +1 -0
  90. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  91. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +16 -0
  92. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  93. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +8 -0
  94. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  95. package/dist/esm/_core/index.d.ts +3 -0
  96. package/dist/esm/_core/index.d.ts.map +1 -1
  97. package/dist/esm/_core/index.js +3 -0
  98. package/dist/esm/_core/index.js.map +1 -1
  99. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +5 -0
  100. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  101. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +3 -1
  102. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
  103. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  104. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +12 -2
  105. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  106. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +30 -2
  107. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +32 -2
  109. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  110. package/dist/esm/_core/market/feature-benefit.schemas.js +2 -2
  111. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  112. package/dist/esm/_core/market/market-alternative.schemas.js +2 -2
  113. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  114. package/dist/esm/_core/market/market-buying-journey.schemas.js +2 -2
  115. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  116. package/dist/esm/_core/market/market-category.schemas.js +2 -2
  117. package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
  118. package/dist/esm/_core/market/market-channel.schemas.js +2 -2
  119. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  120. package/dist/esm/_core/market/market-gain.schemas.js +2 -2
  121. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  122. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  123. package/dist/esm/_core/market/market-icp.schemas.js +2 -2
  124. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  125. package/dist/esm/_core/market/market-job.schemas.js +2 -2
  126. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  127. package/dist/esm/_core/market/market-message-template.schemas.js +2 -2
  128. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  129. package/dist/esm/_core/market/market-objection.schemas.js +2 -2
  130. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  131. package/dist/esm/_core/market/market-pain.schemas.js +2 -2
  132. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  133. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/market/market-persona.schemas.js +2 -2
  135. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  136. package/dist/esm/_core/market/market-positioning.schemas.js +2 -2
  137. package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
  138. package/dist/esm/_core/market/market-proof.schemas.js +2 -2
  139. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  140. package/dist/esm/_core/market/market-references.schemas.d.ts +6 -0
  141. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  142. package/dist/esm/_core/market/market-references.schemas.js +6 -0
  143. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  144. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +4 -4
  145. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +2 -2
  146. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  147. package/dist/esm/_core/market/market-trigger.schemas.js +2 -2
  148. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  149. package/dist/esm/_core/market/market.family-aspects.js +1 -1
  150. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  151. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  152. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +6 -1
  153. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  154. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +1 -0
  155. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  156. package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -0
  157. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  158. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +1 -0
  159. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  160. package/dist/esm/_core/resource-specification.schemas.d.ts +86 -28
  161. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  162. package/dist/esm/_core/resource-specification.schemas.js +110 -24
  163. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  164. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts +13 -0
  165. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -0
  166. package/dist/esm/_core/utils/retention-clock-field-specs.js +26 -0
  167. package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -0
  168. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +31 -6
  169. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  170. package/dist/esm/_core/website-plan/website-plan.schemas.js +35 -6
  171. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  172. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +142 -3
  173. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  174. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +148 -14
  175. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  176. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +70 -10
  177. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  178. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +98 -11
  179. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  180. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +215 -0
  181. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -0
  182. package/dist/esm/application-creation/application-line.application-creation.schemas.js +253 -0
  183. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -0
  184. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts +39 -0
  185. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -0
  186. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js +37 -0
  187. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -0
  188. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +5 -49
  189. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  190. package/dist/esm/application-creation/journey.application-creation.schemas.js +25 -60
  191. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  192. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts +28 -0
  193. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -0
  194. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js +32 -0
  195. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -0
  196. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +26 -6
  197. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  198. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +28 -1
  199. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  200. package/dist/esm/application-creation.exports.d.ts +7 -0
  201. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  202. package/dist/esm/application-creation.exports.js +7 -0
  203. package/dist/esm/application-creation.exports.js.map +1 -1
  204. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +1 -1
  205. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +1 -1
  206. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -1
  207. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +24 -1
  208. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  209. package/dist/esm/assurance/assurance-authority-basis.definitions.js +75 -5
  210. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  211. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +6 -0
  212. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  213. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +11 -0
  214. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  215. package/dist/esm/assurance/assurance-document-blueprint-selection.js +22 -3
  216. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  217. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  218. package/dist/esm/assurance/assurance-document-system.definitions.js +39 -6
  219. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  220. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +11 -0
  221. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  222. package/dist/esm/assurance/assurance-document-system.schemas.js +19 -0
  223. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  224. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  225. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +295 -31
  226. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  227. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +7 -0
  228. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  229. package/dist/esm/assurance/assurance-foundation.schemas.js +7 -0
  230. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  231. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  232. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +17 -0
  233. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  234. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +5 -1
  235. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  236. package/dist/esm/assurance/assurance-program-generation.schemas.js +6 -3
  237. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  238. package/dist/esm/assurance/assurance-program.family-aspects.js +1 -1
  239. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  240. package/dist/esm/assurance/assurance-program.schemas.d.ts +232 -3
  241. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  242. package/dist/esm/assurance/assurance-program.schemas.js +107 -14
  243. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  244. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  245. package/dist/esm/assurance/assurance-source-registry.definitions.js +77 -1
  246. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  247. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  248. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +23 -1
  249. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  250. package/dist/esm/assurance/governed-document-release.d.ts +7 -0
  251. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  252. package/dist/esm/assurance/governed-document-release.js +11 -2
  253. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  254. package/dist/esm/companion-exports.d.ts +6 -5
  255. package/dist/esm/companion-exports.d.ts.map +1 -1
  256. package/dist/esm/companion-exports.js.map +1 -1
  257. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -0
  258. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  259. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +35 -33
  260. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  261. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  262. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +6 -2
  263. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  264. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  265. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +13 -12
  266. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  267. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  268. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +26 -2
  269. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  270. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  271. package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -4
  272. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  273. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  274. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +11 -9
  275. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  276. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -2
  277. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  278. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -0
  279. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  280. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +45 -32
  281. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  282. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -23
  283. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  284. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +185 -31
  285. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  286. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +2 -1
  287. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  288. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +29 -7
  289. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  290. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +7 -1
  292. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  293. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  294. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +9 -6
  295. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  296. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  297. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  298. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +11 -7
  299. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  300. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  301. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +18 -16
  302. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  304. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +9 -11
  305. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  306. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  307. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +238 -219
  308. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  309. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -24
  310. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  311. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +76 -16
  312. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  313. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +2 -1
  314. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  315. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +28 -6
  316. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  317. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  318. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +29 -11
  319. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  320. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +1 -1
  321. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -1
  322. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +2 -0
  323. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  324. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +13 -12
  325. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  326. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -5
  327. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  328. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  329. package/dist/esm/engine/billing/resources/prices.resource.specification.js +12 -9
  330. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  331. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +7 -4
  332. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  333. package/dist/esm/engine/billing/resources/products.resource.specification.js +36 -16
  334. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  335. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  336. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +13 -10
  337. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  338. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +13 -8
  339. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  340. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +54 -20
  341. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  342. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +30 -4
  343. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  344. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +85 -25
  345. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  346. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -2
  347. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  348. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -2
  349. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  350. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +45 -10
  351. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  352. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +15 -2
  353. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  354. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +52 -12
  355. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  356. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  357. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  358. package/dist/esm/engine/compliance/resources/index.js +1 -0
  359. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  360. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +39 -0
  361. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -0
  362. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +325 -0
  363. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -0
  364. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +23 -0
  365. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -0
  366. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +197 -0
  367. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -0
  368. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  369. package/dist/esm/engine/engine-resource-specifications.registry.js +59 -0
  370. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  371. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/errors/error-messages.specification.js +69 -0
  373. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  374. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +5 -5
  375. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  376. package/dist/esm/engine/features/resources/application-features.resource.specification.js +9 -10
  377. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  378. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +5 -5
  379. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +11 -11
  380. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  381. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +5 -5
  382. package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
  383. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  384. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  385. package/dist/esm/engine/files/resources/files.resource.specification.js +7 -8
  386. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  387. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  388. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +16 -4
  389. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  390. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +1 -1
  391. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  392. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts +11 -0
  393. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -0
  394. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +382 -0
  395. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -0
  396. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +139 -1
  397. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  398. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +150 -4
  399. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  400. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -1
  402. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  403. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts +3 -0
  404. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -0
  405. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +162 -0
  406. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -0
  407. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts +3 -0
  408. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -0
  409. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +158 -0
  410. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -0
  411. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +2 -1
  412. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  413. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +16 -9
  414. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  415. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +1 -1
  416. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  417. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js +1 -1
  418. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
  419. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts +5 -0
  420. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -0
  421. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +79 -0
  422. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -0
  423. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js +1 -1
  424. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
  425. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -1
  426. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +3 -1
  427. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -1
  428. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  429. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +5 -4
  430. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  431. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +1 -1
  432. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  433. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +1 -1
  434. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  435. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
  436. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  437. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js +1 -1
  438. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
  439. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js +2 -2
  440. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
  441. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  442. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  443. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +1 -1
  444. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  445. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +1 -1
  447. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -1
  448. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +2 -2
  449. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  450. package/dist/esm/engine/frontend-components/index.d.ts +1 -0
  451. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  452. package/dist/esm/engine/frontend-components/index.js +3 -0
  453. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  454. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +1 -1
  455. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
  456. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js +1 -1
  457. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
  458. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js +1 -1
  459. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js.map +1 -1
  460. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js +9 -4
  462. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
  463. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
  464. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  465. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  466. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +34 -0
  467. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  468. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +26 -0
  470. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  471. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -2
  472. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  473. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts +9 -0
  474. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -0
  475. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +122 -0
  476. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -0
  477. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts +9 -0
  478. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -0
  479. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +152 -0
  480. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -0
  481. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts +10 -0
  482. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -0
  483. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js +94 -0
  484. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -0
  485. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts +10 -0
  486. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -0
  487. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +64 -0
  488. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -0
  489. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -1
  490. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -1
  491. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +20 -16
  492. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  493. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts +9 -0
  494. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -0
  495. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +200 -0
  496. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -0
  497. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  498. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +19 -6
  499. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  500. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts +9 -0
  501. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -0
  502. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +97 -0
  503. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -0
  504. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +8 -0
  505. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +2 -2
  507. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  508. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +2 -2
  509. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  510. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  511. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +4 -4
  512. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  513. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts +9 -0
  514. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -0
  515. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js +153 -0
  516. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -0
  517. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +81 -0
  518. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -0
  519. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +437 -0
  520. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -0
  521. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +112 -0
  522. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -0
  523. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +287 -0
  524. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -0
  525. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +131 -0
  526. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -0
  527. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +594 -0
  528. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -0
  529. package/dist/esm/engine/notifications/resources/index.d.ts +1 -0
  530. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  531. package/dist/esm/engine/notifications/resources/index.js +1 -0
  532. package/dist/esm/engine/notifications/resources/index.js.map +1 -1
  533. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -3
  534. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  535. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -5
  536. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  537. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  538. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +12 -2
  539. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  540. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +6 -6
  541. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +8 -11
  543. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  544. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +4 -0
  545. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -0
  546. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +62 -0
  547. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -0
  548. package/dist/esm/engine/notifications/system-emails/index.d.ts +2 -1
  549. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  550. package/dist/esm/engine/notifications/system-emails/index.js +4 -2
  551. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  552. package/dist/esm/engine/organizations/resources/index.d.ts +2 -0
  553. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  554. package/dist/esm/engine/organizations/resources/index.js +2 -0
  555. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  556. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +3 -0
  557. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  558. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +40 -12
  559. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  560. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -2
  561. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  562. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -2
  563. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  564. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +0 -1
  565. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  566. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -6
  567. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  568. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  569. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +7 -3
  570. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  571. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  572. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +15 -8
  573. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  574. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +3 -1
  575. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  576. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +36 -21
  577. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  578. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +38 -0
  579. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +1 -0
  580. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +152 -0
  581. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +1 -0
  582. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +106 -0
  583. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +1 -0
  584. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +417 -0
  585. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +1 -0
  586. package/dist/esm/engine/providers/apple.provider.specification.js +1 -1
  587. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  588. package/dist/esm/engine/providers/github.provider.specification.js +1 -1
  589. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  590. package/dist/esm/engine/providers/google-places.provider.specification.d.ts +6 -0
  591. package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -0
  592. package/dist/esm/engine/providers/google-places.provider.specification.js +44 -0
  593. package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -0
  594. package/dist/esm/engine/providers/google.provider.specification.js +1 -1
  595. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  596. package/dist/esm/engine/providers/index.d.ts +2 -0
  597. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  598. package/dist/esm/engine/providers/index.js +5 -1
  599. package/dist/esm/engine/providers/index.js.map +1 -1
  600. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/providers/microsoft.provider.specification.js +10 -6
  602. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  603. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts +6 -0
  604. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -0
  605. package/dist/esm/engine/providers/recaptcha.provider.specification.js +38 -0
  606. package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -0
  607. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/providers/resend.provider.specification.js +3 -1
  609. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  610. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  611. package/dist/esm/engine/providers/stripe.provider.specification.js +3 -2
  612. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  613. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts +2 -0
  614. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -0
  615. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js +21 -0
  616. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -0
  617. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts +2 -0
  618. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -0
  619. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js +21 -0
  620. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -0
  621. package/dist/esm/engine/roles/index.d.ts +13 -5
  622. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  623. package/dist/esm/engine/roles/index.js +19 -6
  624. package/dist/esm/engine/roles/index.js.map +1 -1
  625. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts +2 -0
  626. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -0
  627. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js +21 -0
  628. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -0
  629. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +7 -0
  630. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -0
  631. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +72 -0
  632. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -0
  633. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +2 -0
  634. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +1 -0
  635. package/dist/esm/engine/roles/org-service-provider.role.specification.js +22 -0
  636. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +1 -0
  637. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
  638. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  639. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
  640. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  641. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts +1 -1
  642. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  643. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -6
  644. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
  645. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
  646. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  647. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +2 -2
  648. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  649. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +0 -4
  650. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  651. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +0 -3
  652. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  653. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +0 -3
  654. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +7 -7
  656. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  657. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +5 -5
  658. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  659. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +0 -3
  660. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +11 -18
  662. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  663. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +6 -6
  664. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  665. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/users/resources/user-self.resource.specification.js +5 -1
  667. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  668. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +8 -5
  669. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  670. package/dist/esm/engine/users/resources/users.resource.specification.js +49 -16
  671. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  672. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  673. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +29 -10
  674. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  675. package/dist/tsconfig.build.tsbuildinfo +1 -1
  676. package/package.json +8 -8
  677. package/dist/assurance/external-framework-mapping.json +0 -1228
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-work-decisions.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/flows-actors/resources/agent-work-decisions.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,8BAA8B,EAC9B,2BAA2B,EAC3B,kCAAkC,EAClC,6BAA6B,EAC7B,wBAAwB,EACxB,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,wBAAwB,EACxB,6BAA6B,EAC7B,mCAAmC,EACnC,mCAAmC,EACnC,mCAAmC,EACnC,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,mEAAmE,EACnE,6CAA6C,EAC7C,sCAAsC,EACtC,mEAAmE,EACnE,yEAAyE,GAC1E,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAuC,sBA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E,UAAU,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC,EAAE;QACvN,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,OAAO,EAAE,+BAA+B,EAAE,UAAU,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC,EAAE;QAClO,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,kGAAkG,EAAE,OAAO,EAAE,oDAAoD,EAAE,UAAU,EAAE,IAAI,EAAE;QAClN,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,mFAAmF,EAAE,OAAO,EAAE,kDAAkD,EAAE,UAAU,EAAE,IAAI,EAAE;KAC7L;IACD,mBAAmB,EAAE,CAAC,gCAAgC,EAAE,qDAAqD,CAAC;CAC/G,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resources of #1599 — experts' decisions on agents' proposals. Wildo SaaS engine specifications.\n *\n * - `agentWorkDecisions` (polymorphic: user / organization / application) — the metadata record, always written.\n * - `agentWorkDecisionContents` (polymorphic) — the proposal, the final version and the diff, under the opt-in.\n * - `agentWorkCaptureSettings` — one organization's content-capture choice.\n * - `evaluationExportAuthorizations` — one organization's recorded basis to export evaluation data.\n * - `evaluationDatasetExports` — the export ledger.\n *\n * Writers: `AgentWorkDecisionsBackendService` (saas-backend-lib) — the settle that won a decision, the repair sweep,\n * `recordOutputReview`, the export. Settings and authorisations are written by the organization's administrator and\n * audited by `agent-work-decisions.custom-impl.backend.service.ts`.\n */\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n AgentWorkCaptureSettingsSchema,\n AgentWorkDecisionBaseSchema,\n AgentWorkDecisionContentBaseSchema,\n AgentWorkDecisionRecordSource,\n AgentWorkDecisionSurface,\n CoreResourceOperation as Op,\n CoreResourceType,\n CorrectionContentCapture,\n EvaluationDatasetExportSchema,\n EvaluationDatasetInvalidationReason,\n EvaluationExportAuthorizationSchema,\n EvaluationExportAuthorizationStatus,\n EvaluationExportBasis,\n HumanDecision_Outcome,\n ResourcePrimaryScope,\n agentWorkCaptureSettingsResourceConfiguration_InitializationFactory,\n agentWorkDecisionContentsPolymorphicFactories,\n agentWorkDecisionsPolymorphicFactories,\n evaluationDatasetExportsResourceConfiguration_InitializationFactory,\n evaluationExportAuthorizationsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst enumDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n});\nconst schemaDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models', exportName, symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n});\nconst factoryDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models', exportName, symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION,\n});\n\nconst OUTCOME_VALUES = {\n [HumanDecision_Outcome.ACCEPTED]: { meaning: 'Accepted as proposed.' },\n [HumanDecision_Outcome.ACCEPTED_WITH_MODIFICATIONS]: { meaning: 'Accepted after the expert changed it. Counts as an override.' },\n [HumanDecision_Outcome.REJECTED]: { meaning: 'Declined. Counts as an override.' },\n [HumanDecision_Outcome.LAPSED]: { meaning: 'Nobody answered in time. Not a decision anyone made: never in the override rate.' },\n [HumanDecision_Outcome.WITHDRAWN]: { meaning: 'The work was cancelled before anyone answered. Never in the override rate.' },\n [HumanDecision_Outcome.REQUESTER_AUTHORITY_LAPSED]: { meaning: 'Answered, but the work did not run: its requester lost their access. Never in the override rate.' },\n};\n\ntype Polymorphic = CoreResourceType.USER_AGENT_WORK_DECISIONS | CoreResourceType.ORGANIZATION_AGENT_WORK_DECISIONS | CoreResourceType.APPLICATION_AGENT_WORK_DECISIONS;\ntype PolymorphicContents = CoreResourceType.USER_AGENT_WORK_DECISION_CONTENTS | CoreResourceType.ORGANIZATION_AGENT_WORK_DECISION_CONTENTS | CoreResourceType.APPLICATION_AGENT_WORK_DECISION_CONTENTS;\n\nconst SCOPE_OF: Record<Polymorphic | PolymorphicContents, ResourcePrimaryScope> = {\n [CoreResourceType.USER_AGENT_WORK_DECISIONS]: ResourcePrimaryScope.USER_SELF,\n [CoreResourceType.ORGANIZATION_AGENT_WORK_DECISIONS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_AGENT_WORK_DECISIONS]: ResourcePrimaryScope.APPLICATION,\n [CoreResourceType.USER_AGENT_WORK_DECISION_CONTENTS]: ResourcePrimaryScope.USER_SELF,\n [CoreResourceType.ORGANIZATION_AGENT_WORK_DECISION_CONTENTS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_AGENT_WORK_DECISION_CONTENTS]: ResourcePrimaryScope.APPLICATION,\n};\n\ntype DecisionsCore = ReturnType<(typeof agentWorkDecisionsPolymorphicFactories)[CoreResourceType.USER_AGENT_WORK_DECISIONS]>['coreOperations'][number];\ntype ContentsCore = ReturnType<(typeof agentWorkDecisionContentsPolymorphicFactories)[CoreResourceType.USER_AGENT_WORK_DECISION_CONTENTS]>['coreOperations'][number];\n\nfunction buildDecisionsSpecification(resourceType: Polymorphic, memberName: string): AnyResourceSpecificationConfig {\n return resourceSpecification<undefined, DecisionsCore, typeof AgentWorkDecisionBaseSchema>(\n agentWorkDecisionsPolymorphicFactories[resourceType],\n AgentWorkDecisionBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Record one decision a person took on something an agent proposed: accepted, changed or rejected, by whom, when, and how much was changed.',\n businessRole: 'The evidence that agent work was supervised, and the data behind the override rate a service firm tracks per agent, tool, case and expert. Metadata only: what changed, never what it changed to.',\n lifecycleRole: 'Written once, by the settle that won the decision (or by the repair sweep after a crash), in the scope of the work the decision paused. Kept for the declared AUDIT_LOGS period; an erasure removes the decider and keeps the decision.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: schemaDeclaration('AgentWorkDecisionBaseSchema'),\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'agentWorkDecisionsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },\n notes: [\n 'Three variants, one per owner scope of the paused work: a user\\'s own thread, an organization\\'s machine turn, the application\\'s. An output review is recorded in its case\\'s organization.',\n '`decisionRef` is unique in every store, so the settle, the repair sweep and a retried output review converge on one record. On the actor plane the key is the decision id AND its suspension, because a host reuses its run id across questions.',\n 'Retention: `retentionBinding: { AUDIT_LOGS, CREATED }`, `retentionPolicy: RETAIN_AND_IMPERSONALIZE` (the decider is removed on erasure), `dataSubjectPolicy: NO_PRINCIPAL`. Writes are INTERNAL_CALL only; READ and LIST are the scope owner\\'s (the user, the organization\\'s administrator, the application super-administrator).',\n 'The override rate is served by `POST /agent-work/override-rate`, computed from these rows only.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the record.', semanticRole: 'identifier' }),\n decisionRef: schemaShape.decisionRef.stringSpec({\n meaning: 'The decision this records: the human decision\\'s id, or the id the application gave an output review.',\n whyItMatters: 'Unique, so a decision is recorded at most once however many writers reach it.',\n semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY,\n }),\n surface: schemaShape.surface.enumSpec({\n meaning: 'Where the decision was taken.',\n enumDeclaration: enumDeclaration('AgentWorkDecisionSurface'),\n values: {\n [AgentWorkDecisionSurface.TOOL_CALL_APPROVAL]: { meaning: 'A person approved, edited or denied a tool call the agent proposed.' },\n [AgentWorkDecisionSurface.ACTOR_REVIEW]: { meaning: 'A person answered an actor-system question that asked them to review its work.' },\n [AgentWorkDecisionSurface.OUTPUT_REVIEW]: { meaning: 'A person reviewed output an agent drafted into the application\\'s own rows.' },\n },\n }),\n outcome: schemaShape.outcome.enumSpec({\n meaning: 'How the decision ended.', importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('HumanDecision_Outcome'), values: OUTCOME_VALUES,\n }),\n workOrganizationId: schemaShape.workOrganizationId.stringSpec({\n meaning: 'The organization the work was done for: the case row\\'s organization, else the organization the decision was routed in.',\n whyItMatters: 'The override rate and the evaluation export are per organization, whichever scope owned the thread.',\n semanticRole: 'identifier',\n }),\n agentRef: schemaShape.agentRef.stringSpec({ meaning: 'The actor system or agent whose proposal was decided.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n agentVersion: schemaShape.agentVersion.stringSpec({ meaning: 'The agent\\'s declared version, when it has one.' }),\n toolName: schemaShape.toolName.stringSpec({ meaning: 'The tool whose call was decided, on a tool approval.', semanticRole: 'identifier' }),\n caseRef: schemaShape.caseRef.objectSpec({ meaning: 'The case the work was for: a row of a resource the application declares a unit of work.' }),\n executionRef: schemaShape.executionRef.objectSpec({ meaning: 'The run the decision paused.' }),\n taskRef: schemaShape.taskRef.stringSpec({ meaning: 'The task within the run, when the host names one.', semanticRole: 'identifier' }),\n finalWorkProductRef: schemaShape.finalWorkProductRef.objectSpec({\n meaning: 'The application row the final version lives in.',\n whyItMatters: 'The record points at the work product instead of copying it, so the row\\'s own erasure and retention apply to it.',\n }),\n modifiedPaths: schemaShape.modifiedPaths.arraySpec({\n meaning: 'What the expert changed: the paths of the proposal that differ in the final version (a top-level field reads as its name).',\n elementMeaning: 'One changed path.',\n }),\n editDistance: schemaShape.editDistance.numberSpec({ meaning: 'How much was changed: the edit distance between the canonical proposal and the final version, when both are known.' }),\n proposedDigest: schemaShape.proposedDigest.stringSpec({\n meaning: 'A digest of the proposal, keyed per organization.',\n whyItMatters: 'Keyed, never a bare hash: a bare hash of a short value is reversed by trying the candidates.',\n }),\n finalDigest: schemaShape.finalDigest.stringSpec({ meaning: 'A digest of the final version under the same key. Equal to the proposal\\'s when it was accepted as proposed.' }),\n reasonCode: schemaShape.reasonCode.stringSpec({ meaning: 'Why the expert changed or rejected it: a code from the application\\'s declared list, chosen on the approval card while correcting the proposal. Never free text; its words live under `system_enums.AgentWorkReasonCode.<code>`.', semanticRole: 'code' }),\n deciderUserId: schemaShape.deciderUserId.stringSpec({ meaning: 'The person who decided. Removed on their erasure; the decision stays.', semanticRole: 'identifier' }),\n admittedByRole: schemaShape.admittedByRole.stringSpec({ meaning: 'The route role that admitted the decider, when a role route admitted them.' }),\n presentedAt: schemaShape.presentedAt.dateSpec({\n meaning: 'When the proposal was put before the decider: when the decision was claimed, else when it was asked.',\n whyItMatters: 'Minus the decision instant, a proxy for the expert\\'s review time, joined into the cost of a case.',\n temporalRole: 'occurred',\n }),\n decidedAt: schemaShape.decidedAt.dateSpec({ meaning: 'When the decision was taken.', temporalRole: 'occurred', importance: FieldSemanticImportance.PRIMARY }),\n recordSource: schemaShape.recordSource.enumSpec({\n meaning: 'How the record was written.',\n enumDeclaration: enumDeclaration('AgentWorkDecisionRecordSource'),\n values: {\n [AgentWorkDecisionRecordSource.SETTLEMENT]: { meaning: 'By the settle that won the decision.' },\n [AgentWorkDecisionRecordSource.ROW_REPAIR]: { meaning: 'By the repair sweep after a crash, from the run\\'s resolution columns. Metadata only.' },\n },\n }),\n contentRecorded: schemaShape.contentRecorded.booleanSpec({ meaning: 'Whether the proposal and the final version were kept beside this record, under the organization\\'s opt-in.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the record was written.', temporalRole: 'creation' }),\n },\n operations: {\n [Op.CREATE]: { purpose: 'Write one decision record. Written only by the engine.', outcome: 'The decision is recorded.', responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'Internal write path.' }] },\n [Op.READ]: {\n purpose: 'Read one decision record in its scope.', outcome: 'The record is returned.', idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The record was found.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the scope\\'s owner or administrator.' }],\n },\n [Op.LIST]: {\n purpose: 'List the decisions recorded in a scope, by agent, tool, case, outcome or instant.', outcome: 'The matching records are returned.', idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of records.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the scope\\'s owner or administrator.' }],\n },\n [Op.UPDATE_MANY]: { purpose: 'The erasure writer\\'s door the retention policy requires: removes the decider. Route-less.', outcome: 'The decider is removed; the decision stays.', idempotent: true },\n [Op.DELETE]: { purpose: 'The retention sweep\\'s and the scope-deletion cascade\\'s door. Route-less.', outcome: 'A record past its AUDIT_LOGS period, or of a deleted scope, is removed.', idempotent: true },\n },\n businessConstraints: [\n 'One record per decision.',\n 'Written only by the settle that won the decision, never by one that lost it.',\n 'Never holds content: what changed, not what it changed to.',\n 'Lapsed, withdrawn and authority-lapsed decisions are recorded and never counted in the override rate.',\n ],\n }),\n { resourcePrimaryScope: SCOPE_OF[resourceType] },\n );\n}\n\nfunction buildContentsSpecification(resourceType: PolymorphicContents, memberName: string): AnyResourceSpecificationConfig {\n return resourceSpecification<undefined, ContentsCore, typeof AgentWorkDecisionContentBaseSchema>(\n agentWorkDecisionContentsPolymorphicFactories[resourceType],\n AgentWorkDecisionContentBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Keep what an agent proposed and what the expert kept, beside the decision record, when the organization chose to keep it.',\n businessRole: 'The raw material of evaluation data: an organization that improves its own agents on its experts\\' corrections keeps it, with a stated purpose; everyone else never stores it.',\n lifecycleRole: 'Written with the decision record, only under the organization\\'s WITH_CONTENT opt-in. Scrubbed when the case it is about is erased or deleted; the decision record survives.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: schemaDeclaration('AgentWorkDecisionContentBaseSchema'),\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'agentWorkDecisionContentsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },\n notes: [\n 'Read by the scope\\'s administrator; in an organization also by the role its capture setting names (`contentReaderRole`), enforced by a read gate on READ and LIST.',\n 'Every content field is personal data (USER_CONTENT) removed on erasure; `retentionPolicy: RETAIN_AND_IMPERSONALIZE`. Deleted with its owner scope by the composition cascade.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the content row.', semanticRole: 'identifier' }),\n decisionRef: schemaShape.decisionRef.stringSpec({ meaning: 'The decision record this content belongs to.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n caseRef: schemaShape.caseRef.objectSpec({ meaning: 'The case the content is about; its erasure scrubs this content.' }),\n workOrganizationId: schemaShape.workOrganizationId.stringSpec({ meaning: 'The organization the work was done for.', semanticRole: 'identifier' }),\n proposalJson: schemaShape.proposalJson.stringSpec({ meaning: 'What the agent proposed, as canonical JSON.' }),\n finalJson: schemaShape.finalJson.stringSpec({ meaning: 'What the expert kept, as canonical JSON.' }),\n diffJson: schemaShape.diffJson.stringSpec({ meaning: 'The JSON Patch (RFC 6902) from the proposal to the final version.' }),\n reasonText: schemaShape.reasonText.stringSpec({ meaning: 'The expert\\'s own words about the decision, when they gave any.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the content was written.', temporalRole: 'creation' }),\n },\n operations: {\n [Op.CREATE]: { purpose: 'Write one decision\\'s content. Written only by the engine, under the opt-in.', outcome: 'The content is kept.', responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'Internal write path.' }] },\n [Op.READ]: {\n purpose: 'Read one decision\\'s content.', outcome: 'The content is returned.', idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The content was found.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither the scope\\'s administrator nor holds the organization\\'s reader role.' }],\n },\n [Op.LIST]: {\n purpose: 'List the content kept in a scope.', outcome: 'The content rows are returned.', idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of content rows.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither the scope\\'s administrator nor holds the organization\\'s reader role.' }],\n },\n [Op.UPDATE_MANY]: { purpose: 'The erasure writer\\'s door: scrubs the content. Route-less.', outcome: 'The content is removed; the row marks that it was.', idempotent: true },\n [Op.DELETE]: { purpose: 'The scope-deletion cascade\\'s door. Route-less.', outcome: 'The content of a deleted scope is removed.', idempotent: true },\n },\n businessConstraints: [\n 'Written only when the organization keeps content, and only for the cases it narrowed to, if any.',\n 'Never exported without the organization\\'s recorded authorisation.',\n ],\n }),\n { resourcePrimaryScope: SCOPE_OF[resourceType] },\n );\n}\n\nexport const userAgentWorkDecisionsResourceSpecification = buildDecisionsSpecification(CoreResourceType.USER_AGENT_WORK_DECISIONS, 'USER_AGENT_WORK_DECISIONS');\nexport const organizationAgentWorkDecisionsResourceSpecification = buildDecisionsSpecification(CoreResourceType.ORGANIZATION_AGENT_WORK_DECISIONS, 'ORGANIZATION_AGENT_WORK_DECISIONS');\nexport const applicationAgentWorkDecisionsResourceSpecification = buildDecisionsSpecification(CoreResourceType.APPLICATION_AGENT_WORK_DECISIONS, 'APPLICATION_AGENT_WORK_DECISIONS');\nexport const userAgentWorkDecisionContentsResourceSpecification = buildContentsSpecification(CoreResourceType.USER_AGENT_WORK_DECISION_CONTENTS, 'USER_AGENT_WORK_DECISION_CONTENTS');\nexport const organizationAgentWorkDecisionContentsResourceSpecification = buildContentsSpecification(CoreResourceType.ORGANIZATION_AGENT_WORK_DECISION_CONTENTS, 'ORGANIZATION_AGENT_WORK_DECISION_CONTENTS');\nexport const applicationAgentWorkDecisionContentsResourceSpecification = buildContentsSpecification(CoreResourceType.APPLICATION_AGENT_WORK_DECISION_CONTENTS, 'APPLICATION_AGENT_WORK_DECISION_CONTENTS');\n\nexport const agentWorkCaptureSettingsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n agentWorkCaptureSettingsResourceConfiguration_InitializationFactory,\n AgentWorkCaptureSettingsSchema,\n ({ schemaShape }) => ({\n purpose: 'Hold one organization\\'s choice to keep the content of its experts\\' corrections to agent work, and why.',\n businessRole: 'Content capture is off unless the organization turns it on with a stated purpose: its clients\\' material stays out of the record by default.',\n lifecycleRole: 'Created METADATA_ONLY by the engine the first time its settings page is read (the default, not a decision, so not audited), then changed by the organization\\'s administrator; every change is on the audit trail. No row means metadata only.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: schemaDeclaration('AgentWorkCaptureSettingsSchema'),\n resourceFactory: factoryDeclaration('agentWorkCaptureSettingsResourceConfiguration_InitializationFactory'),\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'AGENT_WORK_CAPTURE_SETTINGS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },\n notes: ['One per organization (`organizationId` unique). `WITH_CONTENT` without a purpose is refused. Every CREATE and UPDATE emits CORRECTION_CAPTURE_SETTING_CHANGED after it commits.', 'Its READ is the settings page, and creates the METADATA_ONLY row through a route-less INTERNAL_CALL CREATE when the organization has none; that write passes neither the purpose guard nor the audit, because it records the default.'],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the setting.', semanticRole: 'identifier' }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization the setting is for.', importance: FieldSemanticImportance.PRIMARY }),\n contentCapture: schemaShape.contentCapture.enumSpec({\n meaning: 'Whether the proposal and the final version of each correction are kept.', importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('CorrectionContentCapture'),\n values: {\n [CorrectionContentCapture.METADATA_ONLY]: { meaning: 'Only what changed is recorded, never what it changed to. The default.' },\n [CorrectionContentCapture.WITH_CONTENT]: { meaning: 'The proposal, the final version and the diff are kept beside each record. Needs a purpose.' },\n },\n }),\n purpose: schemaShape.purpose.stringSpec({ meaning: 'Why the organization keeps the content. Required to turn capture on.' }),\n contentReaderRole: schemaShape.contentReaderRole.stringSpec({\n meaning: 'The organization role that may read kept content, beside the administrator: one key of the organization role table (core or custom organization role). Picked from that table on the form and shown as the role\\'s word, never typed (#1921).',\n }),\n narrowToCaseRefs: schemaShape.narrowToCaseRefs.arraySpec({ meaning: 'Keep content only for these cases; empty means every case.', elementMeaning: 'One case.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the setting was created.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the setting was last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: { purpose: 'Read the organization\\'s setting: its settings page.', outcome: 'The setting is returned; an organization with none gets its METADATA_ONLY row, created on this read.', idempotent: true, responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The setting was found or created in its default state.' }] },\n [Op.CREATE]: {\n purpose: 'Record the organization\\'s content-capture choice.', outcome: 'The choice is recorded and audited.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The setting was created.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Content capture is turned on with no stated purpose.' }],\n },\n [Op.UPDATE]: {\n purpose: 'Change the organization\\'s content-capture choice.', outcome: 'The new choice applies to decisions from now on, and the change is audited.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The setting was changed.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Content capture is left on with no stated purpose.' }],\n },\n [Op.DELETE]: { purpose: 'The organization-deletion cascade\\'s door. Route-less.', outcome: 'The setting of a deleted organization is removed.', idempotent: true },\n },\n businessConstraints: ['One setting per organization.', 'Content capture needs a stated purpose.', 'Every change is audited.'],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const evaluationExportAuthorizationsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n evaluationExportAuthorizationsResourceConfiguration_InitializationFactory,\n EvaluationExportAuthorizationSchema,\n ({ schemaShape }) => ({\n purpose: 'Hold one organization\\'s recorded basis for exporting its experts\\' corrections as evaluation data.',\n businessRole: 'Improving a firm\\'s own agents on its clients\\' work is a purpose of its own: an export needs a documented instruction or a compatibility assessment, and a privileged case its client\\'s consent.',\n lifecycleRole: 'Created NOT_GRANTED by the engine the first time its page is read (not a decision, so not audited); granted, changed and revoked by the organization\\'s administrator, every change audited. Revoking it stops every export at once.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: schemaDeclaration('EvaluationExportAuthorizationSchema'),\n resourceFactory: factoryDeclaration('evaluationExportAuthorizationsResourceConfiguration_InitializationFactory'),\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'EVALUATION_EXPORT_AUTHORIZATIONS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },\n notes: ['One per organization. Every CREATE and UPDATE emits EVALUATION_EXPORT_AUTHORIZATION_CHANGED after it commits. An export with no ACTIVE authorisation is refused and emits EVALUATION_DATASET_EXPORT_REFUSED.', 'A write leaving it ACTIVE (the CREATE default) without `basis` and `basisReference` is refused, and so is one returning a granted row to NOT_GRANTED: withdrawing is REVOKED, which marks the datasets exported under it.', 'Its READ is the page, and creates the NOT_GRANTED row through a route-less INTERNAL_CALL CREATE when the organization has none.'],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the authorisation.', semanticRole: 'identifier' }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization whose data it authorises exporting.', importance: FieldSemanticImportance.PRIMARY }),\n status: schemaShape.status.enumSpec({\n meaning: 'Whether exports are authorised now.', importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('EvaluationExportAuthorizationStatus'),\n values: {\n [EvaluationExportAuthorizationStatus.NOT_GRANTED]: { meaning: 'Nobody granted one; every export is refused. Only a row that was never granted holds it, and it leaves only by being granted.' },\n [EvaluationExportAuthorizationStatus.ACTIVE]: { meaning: 'Exports are authorised on the recorded basis.' },\n [EvaluationExportAuthorizationStatus.REVOKED]: { meaning: 'Every export is refused.' },\n },\n }),\n basis: schemaShape.basis.enumSpec({\n meaning: 'The legal basis the organization relies on. Required when ACTIVE.',\n enumDeclaration: enumDeclaration('EvaluationExportBasis'),\n values: {\n [EvaluationExportBasis.PROCESSOR_DOCUMENTED_INSTRUCTION]: { meaning: 'The firm processes for its client, and the client instructed it in writing.' },\n [EvaluationExportBasis.CONTROLLER_COMPATIBILITY_ASSESSED]: { meaning: 'The firm is the controller and assessed the further use as compatible.' },\n },\n }),\n basisReference: schemaShape.basisReference.stringSpec({ meaning: 'Where the basis is documented: a reference, never the document. Required when ACTIVE.' }),\n clientConsents: schemaShape.clientConsents.arraySpec({ meaning: 'Per-case client consents, for cases of a privileged kind.', elementMeaning: 'One case\\'s consent, by reference.' }),\n excludedCaseRefs: schemaShape.excludedCaseRefs.arraySpec({ meaning: 'Ethical walls and client opt-outs: cases never exported.', elementMeaning: 'One excluded case.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the authorisation was created.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When it was last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: { purpose: 'Read the organization\\'s authorisation: its page.', outcome: 'The authorisation is returned; an organization with none gets its NOT_GRANTED row, created on this read.', idempotent: true, responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The authorisation was found or created NOT_GRANTED.' }] },\n [Op.CREATE]: {\n purpose: 'Record the organization\\'s authorisation to export evaluation data.', outcome: 'Exports are authorised on the stated basis; the change is audited.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The authorisation was recorded.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'It would be ACTIVE without a basis and its reference.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'It would be created REVOKED: nothing was granted, so there is nothing to withdraw.' },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Grant, change or revoke the authorisation, its consents or its exclusions.', outcome: 'Later exports follow it; the change is audited.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The authorisation was changed.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'It would be ACTIVE without a basis and its reference.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'A granted authorisation would go back to NOT_GRANTED; withdrawing it is REVOKED.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'An authorisation that was never granted would be REVOKED: there is nothing to withdraw.' },\n ],\n },\n [Op.DELETE]: { purpose: 'The organization-deletion cascade\\'s door. Route-less.', outcome: 'The authorisation of a deleted organization is removed.', idempotent: true },\n },\n businessConstraints: ['One authorisation per organization.', 'No export without it; a revoked one refuses every export.', 'A privileged case leaves only with its client\\'s recorded consent.'],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const evaluationDatasetExportsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n evaluationDatasetExportsResourceConfiguration_InitializationFactory,\n EvaluationDatasetExportSchema,\n ({ schemaShape }) => ({\n purpose: 'Record every evaluation dataset an organization exported: who, when, under which authorisation, which records, and where it went.',\n businessRole: 'The ledger an auditor reads to answer where a client\\'s corrections went, and the index an erasure uses to mark every dataset that carried an erased case.',\n lifecycleRole: 'Written by the engine at each export; marked when a case it contains is erased; kept for the declared AUDIT_LOGS period.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: schemaDeclaration('EvaluationDatasetExportSchema'),\n resourceFactory: factoryDeclaration('evaluationDatasetExportsResourceConfiguration_InitializationFactory'),\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'EVALUATION_DATASET_EXPORTS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },\n notes: ['Written by `POST /agent-work/evaluation-exports`. Retention: AUDIT_LOGS from creation; RETAIN_AND_IMPERSONALIZE (the exporter is removed on erasure). The exported file itself is regenerated rather than kept.'],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the export.', semanticRole: 'identifier' }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization whose data was exported.', importance: FieldSemanticImportance.PRIMARY }),\n exportedByUserId: schemaShape.exportedByUserId.stringSpec({ meaning: 'Who exported it. Removed on their erasure.', semanticRole: 'identifier' }),\n exportedAt: schemaShape.exportedAt.dateSpec({ meaning: 'When it was exported.', temporalRole: 'occurred', importance: FieldSemanticImportance.PRIMARY }),\n authorizationId: schemaShape.authorizationId.stringSpec({ meaning: 'The authorisation it was exported under.', semanticRole: 'identifier' }),\n basis: schemaShape.basis.enumSpec({\n meaning: 'The basis that authorisation stated at the time.',\n enumDeclaration: enumDeclaration('EvaluationExportBasis'),\n values: {\n [EvaluationExportBasis.PROCESSOR_DOCUMENTED_INSTRUCTION]: { meaning: 'A documented instruction of the client.' },\n [EvaluationExportBasis.CONTROLLER_COMPATIBILITY_ASSESSED]: { meaning: 'A compatibility assessment of the controller.' },\n },\n }),\n agentRef: schemaShape.agentRef.stringSpec({ meaning: 'The agent whose decisions were exported.', semanticRole: 'identifier' }),\n windowFrom: schemaShape.windowFrom.dateSpec({ meaning: 'Start of the exported window, inclusive.', temporalRole: 'occurred' }),\n windowTo: schemaShape.windowTo.dateSpec({ meaning: 'End of the exported window, exclusive.', temporalRole: 'occurred' }),\n decisionRefs: schemaShape.decisionRefs.arraySpec({ meaning: 'Every decision record the dataset contains.', elementMeaning: 'One decision.' }),\n caseKeys: schemaShape.caseKeys.arraySpec({ meaning: 'The cases the dataset contains, so a case\\'s erasure finds it.', elementMeaning: 'One case, as `resourceType:resourceId`.' }),\n recordCount: schemaShape.recordCount.numberSpec({ meaning: 'How many records the dataset holds.' }),\n pseudonymisationVersion: schemaShape.pseudonymisationVersion.stringSpec({ meaning: 'The scheme the identifiers were pseudonymised under.', semanticRole: 'code' }),\n destination: schemaShape.destination.stringSpec({ meaning: 'Where the dataset was delivered, as the exporter named it.' }),\n invalidatedAt: schemaShape.invalidatedAt.dateSpec({ meaning: 'When a case it contains was erased (or a consent withdrawn): the dataset must be regenerated.', temporalRole: 'occurred' }),\n invalidationReason: schemaShape.invalidationReason.enumSpec({\n meaning: 'Why the dataset was marked.',\n enumDeclaration: enumDeclaration('EvaluationDatasetInvalidationReason'),\n values: {\n [EvaluationDatasetInvalidationReason.SUBJECT_ERASURE]: { meaning: 'A case it contains was erased or deleted.' },\n [EvaluationDatasetInvalidationReason.CONSENT_WITHDRAWN]: { meaning: 'A client withdrew the consent it relied on.' },\n },\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the ledger row was written.', temporalRole: 'creation' }),\n },\n operations: {\n [Op.CREATE]: { purpose: 'Record one export. Written only by the engine.', outcome: 'The export is on the ledger.', responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'Internal write path.' }] },\n [Op.READ]: { purpose: 'Read one export of the organization.', outcome: 'The ledger row is returned.', idempotent: true, responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The export was found.' }] },\n [Op.LIST]: { purpose: 'List the organization\\'s exports.', outcome: 'The ledger rows are returned.', idempotent: true, responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of exports.' }] },\n [Op.UPDATE_MANY]: { purpose: 'The erasure writer\\'s door, and the marking of datasets that carried an erased case. Route-less.', outcome: 'The exporter is removed, or the dataset is marked.', idempotent: true },\n [Op.DELETE]: { purpose: 'The retention sweep\\'s and the organization-deletion cascade\\'s door. Route-less.', outcome: 'An export past its AUDIT_LOGS period is removed.', idempotent: true },\n },\n businessConstraints: ['Every export is on the ledger.', 'An erased case marks every dataset that carried it.'],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
@@ -1,4 +1,4 @@
1
- import { CoreResourceOperation as Op, FlowsActors_ConversationRole, FlowsActors_MessageContentType, FlowActorSystem_Kind, FlowsActors_Status } from '@wildo-ai/saas-models';
1
+ import { CoreResourceOperation as Op, FlowsActors_ConversationRole, FlowsActors_MessageContentType, FlowActorSystem_Kind, FlowsActors_InitiationKind, FlowsActors_Status, AutonomousPrincipalSource, AutonomousTurnTrigger, HumanDecision_Outcome, HumanDecision_RouteKind } from '@wildo-ai/saas-models';
2
2
  export declare const userFlowActorExecutionsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.CREATE | Op.LIST, import("zod").ZodObject<{
3
3
  _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
4
4
  executionId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodUUID>>>;
@@ -21,6 +21,52 @@ export declare const userFlowActorExecutionsResourceSpecification: import("../..
21
21
  createdAt: import("zod").ZodDefault<import("zod").ZodDate>;
22
22
  }, import("zod/v4/core").$strip>>>>>;
23
23
  pausedApproval: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>>;
24
+ initiationKind: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof FlowsActors_InitiationKind>>>>>;
25
+ autonomousAgentRef: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
26
+ autonomousTrigger: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof AutonomousTurnTrigger>>>>;
27
+ autonomousPrincipalSource: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof AutonomousPrincipalSource>>>>;
28
+ caseRef: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
29
+ resourceType: import("zod").ZodString;
30
+ resourceId: import("zod").ZodString;
31
+ }, import("zod/v4/core").$strict>>>;
32
+ autonomousActiveSlotKey: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
33
+ pendingDecisionRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
34
+ pendingDecisionRouteKind: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof HumanDecision_RouteKind>>>>>>;
35
+ pendingDecisionEligibleRole: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
36
+ pendingDecisionOrganizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
37
+ pendingDecisionOrganizationUnitId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
38
+ pendingDecisionAssigneeUserId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
39
+ pendingDecisionClaimedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
40
+ pendingDecisionRequesterKind: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RequesterKind>>>>>;
41
+ pendingDecisionRequesterRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
42
+ pendingDecisionRequesterClientId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
43
+ pendingDecisionRequestedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
44
+ pendingDecisionExpiresAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>>;
45
+ pendingDecisionRouteVersion: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodNumber>>>;
46
+ pendingDecisionClaimDeadlineAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
47
+ pendingDecisionClaimWarningAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
48
+ pendingDecisionClaimClockBasis: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>>>>>;
49
+ pendingDecisionDecisionDeadlineAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
50
+ pendingDecisionDecisionWarningAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
51
+ pendingDecisionDecisionClockBasis: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>>>>>;
52
+ pendingDecisionNextDueAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>>;
53
+ pendingDecisionClockPausedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
54
+ pendingDecisionClockPauseStateRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
55
+ pendingDecisionClockPausedMs: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodNumber>>>;
56
+ pendingDecisionClaimWarningFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
57
+ pendingDecisionClaimMissedFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
58
+ pendingDecisionDecisionWarningFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
59
+ pendingDecisionDecisionMissedFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
60
+ lastResolvedDecisionRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
61
+ decidedByUserId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
62
+ decidedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
63
+ decisionOutcome: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof HumanDecision_Outcome>>>>>;
64
+ decisionToolName: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
65
+ decisionModifiedArgumentNames: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodArray<import("zod").ZodString>>>>;
66
+ pendingCorrectionRecordRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
67
+ pendingCorrectionPresentedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
68
+ pendingCorrectionOrganizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
69
+ pendingCorrectionAdmittedByRole: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
24
70
  createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>;
25
71
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
26
72
  finishedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
@@ -47,6 +93,52 @@ export declare const organizationFlowActorExecutionsResourceSpecification: impor
47
93
  createdAt: import("zod").ZodDefault<import("zod").ZodDate>;
48
94
  }, import("zod/v4/core").$strip>>>>>;
49
95
  pausedApproval: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>>;
96
+ initiationKind: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof FlowsActors_InitiationKind>>>>>;
97
+ autonomousAgentRef: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
98
+ autonomousTrigger: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof AutonomousTurnTrigger>>>>;
99
+ autonomousPrincipalSource: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof AutonomousPrincipalSource>>>>;
100
+ caseRef: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
101
+ resourceType: import("zod").ZodString;
102
+ resourceId: import("zod").ZodString;
103
+ }, import("zod/v4/core").$strict>>>;
104
+ autonomousActiveSlotKey: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
105
+ pendingDecisionRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
106
+ pendingDecisionRouteKind: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof HumanDecision_RouteKind>>>>>>;
107
+ pendingDecisionEligibleRole: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
108
+ pendingDecisionOrganizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
109
+ pendingDecisionOrganizationUnitId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
110
+ pendingDecisionAssigneeUserId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
111
+ pendingDecisionClaimedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
112
+ pendingDecisionRequesterKind: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RequesterKind>>>>>;
113
+ pendingDecisionRequesterRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
114
+ pendingDecisionRequesterClientId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
115
+ pendingDecisionRequestedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
116
+ pendingDecisionExpiresAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>>;
117
+ pendingDecisionRouteVersion: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodNumber>>>;
118
+ pendingDecisionClaimDeadlineAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
119
+ pendingDecisionClaimWarningAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
120
+ pendingDecisionClaimClockBasis: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>>>>>;
121
+ pendingDecisionDecisionDeadlineAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
122
+ pendingDecisionDecisionWarningAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
123
+ pendingDecisionDecisionClockBasis: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>>>>>;
124
+ pendingDecisionNextDueAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>>;
125
+ pendingDecisionClockPausedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
126
+ pendingDecisionClockPauseStateRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
127
+ pendingDecisionClockPausedMs: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodNumber>>>;
128
+ pendingDecisionClaimWarningFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
129
+ pendingDecisionClaimMissedFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
130
+ pendingDecisionDecisionWarningFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
131
+ pendingDecisionDecisionMissedFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
132
+ lastResolvedDecisionRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
133
+ decidedByUserId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
134
+ decidedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
135
+ decisionOutcome: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof HumanDecision_Outcome>>>>>;
136
+ decisionToolName: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
137
+ decisionModifiedArgumentNames: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodArray<import("zod").ZodString>>>>;
138
+ pendingCorrectionRecordRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
139
+ pendingCorrectionPresentedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
140
+ pendingCorrectionOrganizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
141
+ pendingCorrectionAdmittedByRole: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
50
142
  createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>;
51
143
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
52
144
  finishedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
@@ -73,6 +165,52 @@ export declare const applicationFlowActorExecutionsResourceSpecification: import
73
165
  createdAt: import("zod").ZodDefault<import("zod").ZodDate>;
74
166
  }, import("zod/v4/core").$strip>>>>>;
75
167
  pausedApproval: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>>;
168
+ initiationKind: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof FlowsActors_InitiationKind>>>>>;
169
+ autonomousAgentRef: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
170
+ autonomousTrigger: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof AutonomousTurnTrigger>>>>;
171
+ autonomousPrincipalSource: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof AutonomousPrincipalSource>>>>;
172
+ caseRef: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
173
+ resourceType: import("zod").ZodString;
174
+ resourceId: import("zod").ZodString;
175
+ }, import("zod/v4/core").$strict>>>;
176
+ autonomousActiveSlotKey: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
177
+ pendingDecisionRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
178
+ pendingDecisionRouteKind: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof HumanDecision_RouteKind>>>>>>;
179
+ pendingDecisionEligibleRole: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
180
+ pendingDecisionOrganizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
181
+ pendingDecisionOrganizationUnitId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
182
+ pendingDecisionAssigneeUserId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
183
+ pendingDecisionClaimedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
184
+ pendingDecisionRequesterKind: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RequesterKind>>>>>;
185
+ pendingDecisionRequesterRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
186
+ pendingDecisionRequesterClientId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
187
+ pendingDecisionRequestedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
188
+ pendingDecisionExpiresAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>>;
189
+ pendingDecisionRouteVersion: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodNumber>>>;
190
+ pendingDecisionClaimDeadlineAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
191
+ pendingDecisionClaimWarningAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
192
+ pendingDecisionClaimClockBasis: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>>>>>;
193
+ pendingDecisionDecisionDeadlineAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
194
+ pendingDecisionDecisionWarningAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
195
+ pendingDecisionDecisionClockBasis: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>>>>>;
196
+ pendingDecisionNextDueAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>>;
197
+ pendingDecisionClockPausedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
198
+ pendingDecisionClockPauseStateRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
199
+ pendingDecisionClockPausedMs: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodNumber>>>;
200
+ pendingDecisionClaimWarningFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
201
+ pendingDecisionClaimMissedFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
202
+ pendingDecisionDecisionWarningFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
203
+ pendingDecisionDecisionMissedFiredAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
204
+ lastResolvedDecisionRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
205
+ decidedByUserId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
206
+ decidedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
207
+ decisionOutcome: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof HumanDecision_Outcome>>>>>;
208
+ decisionToolName: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
209
+ decisionModifiedArgumentNames: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodArray<import("zod").ZodString>>>>;
210
+ pendingCorrectionRecordRef: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
211
+ pendingCorrectionPresentedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
212
+ pendingCorrectionOrganizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
213
+ pendingCorrectionAdmittedByRole: import("zod").ZodOptional<import("zod").ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
76
214
  createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>;
77
215
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
78
216
  finishedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"flow-actor-executions.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/flows-actors/resources/flow-actor-executions.resource.specification.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAI3B,4BAA4B,EAC5B,8BAA8B,EAC9B,oBAAoB,EACpB,kBAAkB,EAGnB,MAAM,uBAAuB,CAAC;AA8Y/B,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;iCAGxD,CAAC;AAEF,eAAO,MAAM,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;iCAGhE,CAAC;AAEF,eAAO,MAAM,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;iCAG/D,CAAC"}
1
+ {"version":3,"file":"flow-actor-executions.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/flows-actors/resources/flow-actor-executions.resource.specification.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAI3B,4BAA4B,EAC5B,8BAA8B,EAC9B,oBAAoB,EACpB,0BAA0B,EAC1B,kBAAkB,EAClB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EAGxB,MAAM,uBAAuB,CAAC;AAojB/B,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGxD,CAAC;AAEF,eAAO,MAAM,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGhE,CAAC;AAEF,eAAO,MAAM,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG/D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { LabelAudience } from '@wildo-ai/presets-components-models';
2
2
  import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
3
- import { CoreResourceOperation as Op, CoreResourceType, FLOWS_ACTORS_NO_MACHINE_CREDENTIAL, FlowActorExecutionBaseSchema, FlowsActors_ConversationRole, FlowsActors_MessageContentType, FlowActorSystem_Kind, FlowsActors_Status, ResourcePrimaryScope, flowActorExecutionsPolymorphicFactories, } from '@wildo-ai/saas-models';
3
+ import { CoreResourceOperation as Op, CoreResourceType, FLOWS_ACTORS_NO_MACHINE_CREDENTIAL, FlowActorExecutionBaseSchema, FlowsActors_ConversationRole, FlowsActors_MessageContentType, FlowActorSystem_Kind, FlowsActors_InitiationKind, FlowsActors_Status, AutonomousPrincipalSource, AutonomousTurnTrigger, HumanDecision_Outcome, HumanDecision_RouteKind, ResourcePrimaryScope, flowActorExecutionsPolymorphicFactories, } from '@wildo-ai/saas-models';
4
4
  import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
5
5
  import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
6
6
  /**
@@ -192,13 +192,159 @@ function buildFlowActorExecutionResourceSpecification(resourceType, resourceType
192
192
  [FlowsActors_Status.READY]: { meaning: 'Created and ready to begin processing.' },
193
193
  [FlowsActors_Status.PENDING]: { meaning: 'Accepted but not yet actively processing.' },
194
194
  [FlowsActors_Status.PROCESSING]: { meaning: 'Actively running — the agent is responding / tools are executing.' },
195
- [FlowsActors_Status.AWAITING_APPROVAL]: { meaning: 'Suspended at a human-in-the-loop approval boundary — the agent called an approval-gated tool and the turn is waiting for a human decision before resuming. Non-terminal. A decision — approval or denial — resumes it to PROCESSING (a denial resumes so the agent can respond to the refusal). If nobody answers before its approval window closes it becomes FAILED: a decision arriving late is refused, and an hourly sweep fails a pause that was never answered.' },
195
+ [FlowsActors_Status.AWAITING_APPROVAL]: { meaning: 'Suspended at a human-in-the-loop approval boundary — the agent called an approval-gated tool and the turn is waiting for a human decision before resuming. Non-terminal. A decision — approval or denial — resumes it to PROCESSING (a denial resumes so the agent can respond to the refusal). If nobody answers before its approval window closes it becomes FAILED: a decision arriving late is refused, and a sweep running every minute fails a pause that was never answered.' },
196
196
  [FlowsActors_Status.COMPLETED]: { meaning: 'Finished successfully.' },
197
197
  [FlowsActors_Status.FAILED]: { meaning: 'Finished unsuccessfully and stands in a failed state.' },
198
198
  [FlowsActors_Status.CANCELLED]: { meaning: 'Intentionally stopped before completion.' },
199
199
  [FlowsActors_Status.ABORTED]: { meaning: 'Terminated abnormally (e.g. transport loss or unrecoverable error).' },
200
200
  },
201
201
  }),
202
+ initiationKind: schemaShape.initiationKind.enumSpec({
203
+ meaning: 'Which door opened the turn: a signed-in person over the WebSocket, an A2A client, or background work with nobody at the keyboard.',
204
+ whyItMatters: 'A decision raised later in the turn is routed and re-authorized differently depending on it, and the door cannot be recovered from the row afterwards.',
205
+ enumDeclaration: {
206
+ packageName: '@wildo-ai/saas-models',
207
+ exportName: 'FlowsActors_InitiationKind',
208
+ symbolKind: CodeSymbolKind.ENUM,
209
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
210
+ },
211
+ values: {
212
+ [FlowsActors_InitiationKind.WEBSOCKET_SESSION]: { meaning: 'A signed-in person over the application WebSocket.' },
213
+ [FlowsActors_InitiationKind.A2A_REQUEST]: { meaning: 'An A2A client: a machine principal, or a person through a client they delegated to.' },
214
+ [FlowsActors_InitiationKind.AUTONOMOUS]: { meaning: 'Background work with nobody present, started by the autonomous entry point.' },
215
+ },
216
+ }),
217
+ autonomousAgentRef: schemaShape.autonomousAgentRef.stringSpec({
218
+ meaning: 'The application-declared autonomous agent this turn ran as, on a turn opened by the autonomous entry point (#1611); absent on every other turn.',
219
+ whyItMatters: 'Nobody is on a socket, so the turn\'s authority is the OAuth client an administrator bound to this agent. Before a reviewer\'s decision resumes the turn, that principal is resolved again from this ref: a binding removed, a client deactivated or a relationship admission ended while the decision waited stops the work.',
220
+ semanticRole: 'identifier',
221
+ }),
222
+ autonomousTrigger: schemaShape.autonomousTrigger.enumSpec({
223
+ meaning: 'What started an autonomous turn: a schedule tick, or a verified inbound delivery.',
224
+ whyItMatters: 'A turn started by an inbound delivery runs on content from outside, so for its whole life, including after a resume, it is offered only tools that read or that a reviewer must approve.',
225
+ enumDeclaration: {
226
+ packageName: '@wildo-ai/saas-models',
227
+ exportName: 'AutonomousTurnTrigger',
228
+ symbolKind: CodeSymbolKind.ENUM,
229
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
230
+ },
231
+ values: {
232
+ [AutonomousTurnTrigger.SCHEDULE]: { meaning: 'A schedule tick; the input is the application\'s declared instruction.' },
233
+ [AutonomousTurnTrigger.INBOUND_DELIVERY]: { meaning: 'A verified inbound delivery; its content is data, and write tools are offered only when a reviewer gates them.' },
234
+ },
235
+ }),
236
+ autonomousPrincipalSource: schemaShape.autonomousPrincipalSource.enumSpec({
237
+ meaning: 'Where the autonomous turn\'s machine principal came from when it started: one of the organization\'s own OAuth clients, or a service firm\'s client the organization admits on a relationship.',
238
+ whyItMatters: 'Evidence for whoever reviews what the agent did: a firm\'s client acts with the relationship\'s role, never its roles in the firm.',
239
+ enumDeclaration: {
240
+ packageName: '@wildo-ai/saas-models',
241
+ exportName: 'AutonomousPrincipalSource',
242
+ symbolKind: CodeSymbolKind.ENUM,
243
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
244
+ },
245
+ values: {
246
+ [AutonomousPrincipalSource.BOUND_ORGANIZATION_CLIENT]: { meaning: 'A client of this organization, bound to the agent by one of its administrators.' },
247
+ [AutonomousPrincipalSource.RELATIONSHIP_ADMITTED_CLIENT]: { meaning: 'A service firm\'s client, admitted into this organization on a live service-provider relationship.' },
248
+ },
249
+ }),
250
+ caseRef: schemaShape.caseRef.objectSpec({
251
+ meaning: 'The case — one row of the application\'s own work, by resource type and id — the autonomous turn was started for, when one was named.',
252
+ whyItMatters: 'Cost and decisions are attributed per case (#1598). It is accepted only when the turn\'s own principal can read that row, so a trigger cannot point a turn at data its principal may not see.',
253
+ }),
254
+ autonomousActiveSlotKey: schemaShape.autonomousActiveSlotKey.stringSpec({
255
+ meaning: 'Concurrency slot of a SKIP_IF_ACTIVE autonomous agent, `<agentRef>|<organizationId>`, present while the turn is active. Carries no business meaning.',
256
+ whyItMatters: 'A unique index on it is what refuses a second active turn of the same agent in the same organization, so two occurrences arriving together cannot both run. The entry point releases it once the holding turn has ended, by a compare-and-swap on the key and that ended status.',
257
+ semanticRole: 'identifier',
258
+ }),
259
+ pendingDecisionRef: schemaShape.pendingDecisionRef.stringSpec({
260
+ meaning: 'The id of the human decision this turn is waiting on, present only while it waits. The same id names the decision on every audit row about it.',
261
+ whyItMatters: 'Every answer, reassignment and claim addresses the decision by this id and reads everything else, including the owner filter, from the row, never from the person answering.',
262
+ semanticRole: 'identifier',
263
+ }),
264
+ pendingDecisionRouteKind: schemaShape.pendingDecisionRouteKind.enumSpec({
265
+ meaning: 'Who may answer the waiting decision: the person whose turn raised it, one named person, or anyone holding a role in the organization.',
266
+ whyItMatters: 'It selects the rule the one authorization predicate applies, and whether the decision may be reassigned, claimed or escalated at all.',
267
+ enumDeclaration: {
268
+ packageName: '@wildo-ai/saas-models',
269
+ exportName: 'HumanDecision_RouteKind',
270
+ symbolKind: CodeSymbolKind.ENUM,
271
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
272
+ },
273
+ values: {
274
+ [HumanDecision_RouteKind.OWNER]: { meaning: 'Only the person whose turn raised it. Cannot be moved.' },
275
+ [HumanDecision_RouteKind.ASSIGNEE]: { meaning: 'One named person, who must hold the eligible role.' },
276
+ [HumanDecision_RouteKind.ROLE]: { meaning: 'Anyone holding the eligible role in the decision\'s organization, except the person who raised it.' },
277
+ },
278
+ }),
279
+ pendingDecisionEligibleRole: schemaShape.pendingDecisionEligibleRole.stringSpec({
280
+ meaning: 'The role anyone answering the waiting decision must hold, including anyone it is reassigned, escalated or claimed to.',
281
+ whyItMatters: 'It is the floor a move can never lower: a decision routed to reviewers cannot be handed to someone the gate would not have admitted.',
282
+ }),
283
+ decisionOutcome: schemaShape.decisionOutcome.enumSpec({
284
+ meaning: 'How the last decision on this turn ended, written in the same step that released the pause.',
285
+ whyItMatters: 'Because it is written with the release, a crash afterwards still leaves a complete record of who decided what; a lapse is recorded as its own outcome and never counted as a refusal.',
286
+ enumDeclaration: {
287
+ packageName: '@wildo-ai/saas-models',
288
+ exportName: 'HumanDecision_Outcome',
289
+ symbolKind: CodeSymbolKind.ENUM,
290
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
291
+ },
292
+ values: {
293
+ [HumanDecision_Outcome.ACCEPTED]: { meaning: 'Approved unchanged.' },
294
+ [HumanDecision_Outcome.ACCEPTED_WITH_MODIFICATIONS]: { meaning: 'Approved after the decider changed the proposed arguments; their names are recorded, never their values.' },
295
+ [HumanDecision_Outcome.REJECTED]: { meaning: 'Declined, or the waiting work was ended.' },
296
+ [HumanDecision_Outcome.LAPSED]: { meaning: 'Nobody answered before the deadline. Not a refusal.' },
297
+ [HumanDecision_Outcome.WITHDRAWN]: { meaning: 'The waiting work was cancelled before anyone answered.' },
298
+ [HumanDecision_Outcome.REQUESTER_AUTHORITY_LAPSED]: { meaning: 'Answered, but the authority the work was raised under no longer holds, so the work did not run.' },
299
+ },
300
+ }),
301
+ pendingCorrectionRecordRef: schemaShape.pendingCorrectionRecordRef.stringSpec({
302
+ meaning: 'The decision whose agent-work record is still owed (#1599): set by the same write that settles a decision on an agent\'s proposal, cleared once the record exists.',
303
+ whyItMatters: 'A process that dies between the settle and the record leaves it set, and the repair sweep writes the record from the resolution columns, so no decision goes unrecorded.',
304
+ semanticRole: 'identifier',
305
+ }),
306
+ pendingCorrectionPresentedAt: schemaShape.pendingCorrectionPresentedAt.dateSpec({
307
+ meaning: 'When the owed decision was put before the decider: its claim instant, else its request instant, kept for the repair because the settle clears both.',
308
+ temporalRole: 'occurred',
309
+ }),
310
+ pendingDecisionClaimDeadlineAt: schemaShape.pendingDecisionClaimDeadlineAt.dateSpec({
311
+ meaning: 'By when someone should have taken the waiting decision (#1628): its CLAIM deadline, armed when it paused from the gate\'s declared deadlines — half of its lapse window by default — and moved later by any pause.',
312
+ whyItMatters: 'Missing it reminds the people who may answer, or reassigns the decision when the gate declares so. It never ends the decision and never answers it; a claim meets it.',
313
+ temporalRole: 'deadline',
314
+ }),
315
+ pendingDecisionDecisionDeadlineAt: schemaShape.pendingDecisionDecisionDeadlineAt.dateSpec({
316
+ meaning: 'By when someone should have answered the waiting decision: its DECISION deadline, three quarters of the lapse window by default, moved later by any pause. Always before the lapse.',
317
+ whyItMatters: 'Missing it reminds the people who may answer and the person whose request waits, or reassigns it when the gate declares so. The decision still ends only at its lapse, as LAPSED, never as a refusal.',
318
+ temporalRole: 'deadline',
319
+ }),
320
+ pendingDecisionNextDueAt: schemaShape.pendingDecisionNextDueAt.dateSpec({
321
+ meaning: 'The earliest instant a deadline stage (a warning or a missed deadline) may still fire for the waiting decision. Empty while its clocks are paused and once nothing is left to fire.',
322
+ whyItMatters: 'The deadline sweep selects due decisions on this indexed column, and each stage fires at most once through its own marker, so a reminder is neither lost nor sent twice across hosts.',
323
+ temporalRole: 'scheduled',
324
+ }),
325
+ pendingDecisionClockPauseStateRef: schemaShape.pendingDecisionClockPauseStateRef.stringSpec({
326
+ meaning: 'While the decision\'s CLAIM and DECISION clocks are paused, which of the gate\'s declared pause states they are paused in (for example waiting on the requester for information).',
327
+ whyItMatters: 'A reviewer admitted to answer may stop the two clocks while they wait on something outside their control; the paused time is added to both deadlines on resume. It never stops the lapse.',
328
+ semanticRole: 'identifier',
329
+ }),
330
+ contextRef: schemaShape.contextRef.stringSpec({
331
+ meaning: 'The context the conversation was opened in: the context resources the client named when starting it, folded into one canonical string. Empty when none was named. Set when the conversation starts and never changed.',
332
+ whyItMatters: 'Conversation history can be narrowed to one context, so the threads a person opened about one thing do not list alongside every other thread against the same system. It groups a caller’s own threads; it does not decide who may read them.',
333
+ semanticRole: 'identifier',
334
+ }),
335
+ statusChanges: schemaShape.statusChanges.arraySpec({
336
+ meaning: 'The run’s status history, oldest first.',
337
+ elementMeaning: 'One transition: the status the run moved into and when.',
338
+ }),
339
+ messages: schemaShape.messages.arraySpec({
340
+ meaning: 'The conversation transcript, oldest first: what the person or client sent and what the agent replied.',
341
+ elementMeaning: 'One message: its id, who produced it, how to render it, its text, and optional structured data.',
342
+ whyItMatters: 'It is the conversation itself and routinely holds personal data. When the owner’s personal data is erased, the transcript is emptied.',
343
+ }),
344
+ finishedAt: schemaShape.finishedAt.dateSpec({
345
+ meaning: 'When the run ended — completed, failed or cancelled. Absent while it is still running or waiting for a decision.',
346
+ temporalRole: 'occurred',
347
+ }),
202
348
  },
203
349
  operations: {
204
350
  [Op.CREATE]: {
@@ -208,7 +354,7 @@ function buildFlowActorExecutionResourceSpecification(resourceType, resourceType
208
354
  { code: HttpResponseStatusCode.CREATED_201, meaning: 'An execution record was registered. This is an internal/system write path (INTERNAL_CALL, service-tier), not a self-serve API create — the conversational runtime writes on the owner\'s behalf via *AsSystem.' },
209
355
  ],
210
356
  errorScenarios: [
211
- { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The execution payload fails schema validation (e.g. missing `kind`/`status`/`systemRef`, or the injected owner FK).', errorCode: 'VALIDATION_FAILED' },
357
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The execution payload fails schema validation (e.g. missing `kind`/`status`/`systemRef`, or the injected owner FK).' },
212
358
  { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-system caller attempts to create an execution — rows are created only by the flows-actors runtime through the internal repository service.' },
213
359
  ],
214
360
  idempotent: false,
@@ -296,7 +442,7 @@ function buildFlowActorExecutionResourceSpecification(resourceType, resourceType
296
442
  ],
297
443
  errorScenarios: [
298
444
  { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No execution row exists for the supplied id to advance.' },
299
- { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The update patch fails schema validation (e.g. an unrecognized `status`).', errorCode: 'VALIDATION_FAILED' },
445
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The update patch fails schema validation (e.g. an unrecognized `status`).' },
300
446
  { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-system caller attempts to mutate execution state.' },
301
447
  ],
302
448
  idempotent: true,