@standards/schema 1.0.0-alpha.446 → 1.0.0-alpha.447

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 (315) hide show
  1. package/dist/access-levels-BWuVeyAD.js +2 -0
  2. package/dist/access-levels-CpH_EGwX.mjs +2 -0
  3. package/dist/access-output.schema-DdveaHhd.js +2 -0
  4. package/dist/access-output.schema-DrsybmDW.mjs +2 -0
  5. package/dist/access.operations-Bfr0Hr5a.mjs +2 -0
  6. package/dist/access.operations-Ta7Yti9-.js +2 -0
  7. package/dist/actors-D6cncaeM.mjs +2 -0
  8. package/dist/actors-DtSC4jD7.js +2 -0
  9. package/dist/actors.operations-BRdW-IBc.js +2 -0
  10. package/dist/actors.operations-SAbl_3vt.mjs +2 -0
  11. package/dist/admin-tenant-CnP_XZGi.js +2 -0
  12. package/dist/admin-tenant-DJ_Vt8X6.mjs +2 -0
  13. package/dist/agent-appearance.schema-5maenk3l.mjs +2 -0
  14. package/dist/agent-appearance.schema-Azj0Y4h4.js +2 -0
  15. package/dist/agent-approvals.operations-BXtDpYb9.js +2 -0
  16. package/dist/agent-approvals.operations-DrEi2amV.mjs +2 -0
  17. package/dist/agent-definitions.operations-CkfVj_vQ.mjs +2 -0
  18. package/dist/agent-definitions.operations-Dah-26La.js +2 -0
  19. package/dist/agent-fronts.operations-Q92n0JZN.js +2 -0
  20. package/dist/agent-fronts.operations-ZQUdWd_4.mjs +2 -0
  21. package/dist/agent-memory.operations-B0nLFWs9.js +2 -0
  22. package/dist/agent-memory.operations-C25OLsqq.mjs +2 -0
  23. package/dist/agent-message.schema-DwQVDXLy.mjs +2 -0
  24. package/dist/agent-message.schema-SmA4ydqf.js +2 -0
  25. package/dist/agent-messages.operations-Aa1vk7xu.mjs +2 -0
  26. package/dist/agent-messages.operations-CCXX8cuW.js +2 -0
  27. package/dist/agent-output.schema-8ajlE5_g.js +2 -0
  28. package/dist/agent-output.schema-BQsbh8pJ.mjs +2 -0
  29. package/dist/agent-runs.operations-BVNctI5C.js +2 -0
  30. package/dist/agent-runs.operations-Gp-UpNB9.mjs +2 -0
  31. package/dist/agent-schemas-52_rE61D.mjs +2 -0
  32. package/dist/agent-schemas-BmTE5O3J.js +2 -0
  33. package/dist/agent-session-list-cursor-BFnecxvH.js +2 -0
  34. package/dist/agent-session-list-cursor-cpmpINuz.mjs +2 -0
  35. package/dist/agent-sessions.operations-B8yM9St8.mjs +2 -0
  36. package/dist/agent-sessions.operations-Bu04RCgZ.js +2 -0
  37. package/dist/agent-triggers.operations-0tOTD7Vh.js +2 -0
  38. package/dist/agent-triggers.operations-BJz4_xUq.mjs +2 -0
  39. package/dist/ai-dictation-BJvVgzjC.mjs +2 -0
  40. package/dist/ai-dictation-zV6sAESe.js +2 -0
  41. package/dist/ai-output.schema-CQKoZCbn.mjs +2 -0
  42. package/dist/ai-output.schema-DHm6HAfH.js +2 -0
  43. package/dist/ai.operations--Cx0o8wQ.mjs +2 -0
  44. package/dist/ai.operations-DAKLy-dv.js +2 -0
  45. package/dist/all-BCAZCVxV.mjs +4 -0
  46. package/dist/all-PUaQuM_2.js +4 -0
  47. package/dist/api/http.d.mts +6 -0
  48. package/dist/api/http.d.ts +6 -0
  49. package/dist/api/http.js +2 -0
  50. package/dist/api/http.mjs +2 -0
  51. package/dist/api/index.d.mts +10 -26963
  52. package/dist/api/index.d.ts +10 -26963
  53. package/dist/api/index.js +1 -1
  54. package/dist/api/index.mjs +1 -1
  55. package/dist/api/wire.d.mts +93 -0
  56. package/dist/api/wire.d.ts +93 -0
  57. package/dist/api/wire.js +2 -0
  58. package/dist/api/wire.mjs +2 -0
  59. package/dist/api-keys-C9vGsnf5.mjs +2 -0
  60. package/dist/api-keys-DrqoTFFb.js +2 -0
  61. package/dist/api-keys.operations-BbAn06Vn.mjs +2 -0
  62. package/dist/api-keys.operations-Dtiv6rWJ.js +2 -0
  63. package/dist/app-operation-groups-B0GLoqHi.d.ts +26792 -0
  64. package/dist/app-operation-groups-CG6l7J3l.d.mts +26791 -0
  65. package/dist/appearance-C0Mh9jK2.mjs +2 -0
  66. package/dist/appearance-DrCaK9XJ.js +2 -0
  67. package/dist/artifacts.operations-D6aBIbPf.mjs +2 -0
  68. package/dist/artifacts.operations-DZ60VQ3Q.js +2 -0
  69. package/dist/attribute-validators-D9vS6qK9.mjs +11 -0
  70. package/dist/attribute-validators-j-HiW0On.js +11 -0
  71. package/dist/attributes-B2wmzoDI.js +2 -0
  72. package/dist/attributes-DYUkML5S.mjs +2 -0
  73. package/dist/audit-Cjoaib0c.js +2 -0
  74. package/dist/audit-jbBwdDtV.mjs +2 -0
  75. package/dist/audit.operations-CzoEnsuj.js +2 -0
  76. package/dist/audit.operations-R7llfS_r.mjs +2 -0
  77. package/dist/browser-profile-output.schema-ChhKkoin.mjs +2 -0
  78. package/dist/browser-profile-output.schema-DOGfwtLW.js +2 -0
  79. package/dist/browser-profiles.operations-BBdmypd0.js +2 -0
  80. package/dist/browser-profiles.operations-CUJaaU8y.mjs +2 -0
  81. package/dist/bundle-output.schema-Ck4tpVVV.js +2 -0
  82. package/dist/bundle-output.schema-UAlU8-CS.mjs +2 -0
  83. package/dist/bundles.operations-CplZLAxi.js +2 -0
  84. package/dist/bundles.operations-CrgrLCAC.mjs +2 -0
  85. package/dist/cli-login.operations-C1KbNeHA.js +2 -0
  86. package/dist/cli-login.operations-cUUchS4E.mjs +2 -0
  87. package/dist/connected-apps.operations-BavndGSL.js +2 -0
  88. package/dist/connected-apps.operations-DDDkIn_k.mjs +2 -0
  89. package/dist/connectors.operations-CR20Yhbf.mjs +2 -0
  90. package/dist/connectors.operations-CWW21SJJ.js +2 -0
  91. package/dist/consumer-variables.operations-Cc90oB8D.mjs +2 -0
  92. package/dist/consumer-variables.operations-DY9v4AY-.js +2 -0
  93. package/dist/decisions-CFoL49Jb.js +2 -0
  94. package/dist/decisions-DNvAXetH.mjs +2 -0
  95. package/dist/decisions.operations-BmQnmIwC.js +2 -0
  96. package/dist/decisions.operations-Dx-QEhXt.mjs +2 -0
  97. package/dist/device-channel-BQ8SMmLM.js +2 -0
  98. package/dist/device-channel-CmrDyl1C.mjs +2 -0
  99. package/dist/devices.operations-BJG7PBgi.js +2 -0
  100. package/dist/devices.operations-D4vKQtuv.mjs +2 -0
  101. package/dist/dictation.operations-BqbZnhBo.mjs +2 -0
  102. package/dist/dictation.operations-D0JxX5Ut.js +2 -0
  103. package/dist/documents-BrgkFEjS.mjs +2 -0
  104. package/dist/documents-KBlpK-vw.js +2 -0
  105. package/dist/documents.operations-BOstEBEu.mjs +2 -0
  106. package/dist/documents.operations-eY2Z-5Ss.js +2 -0
  107. package/dist/email-classification-DEHTSbVv.js +2 -0
  108. package/dist/email-classification-Jk8hARsL.mjs +2 -0
  109. package/dist/email-classification.operations-BBmw-sma.mjs +2 -0
  110. package/dist/email-classification.operations-C0nSe3CD.js +2 -0
  111. package/dist/email-classification.schema-B2RE9-Sz.js +2 -0
  112. package/dist/email-classification.schema-CzlbP3hF.mjs +2 -0
  113. package/dist/emails-COHIot9L.mjs +2 -0
  114. package/dist/emails-scn5zKZZ.js +2 -0
  115. package/dist/emails.operations-Bqd4AR-o.mjs +2 -0
  116. package/dist/emails.operations-nOPoU4qW.js +2 -0
  117. package/dist/embeddings-admin.operations-Cf12v9Y6.mjs +2 -0
  118. package/dist/embeddings-admin.operations-DN0wBZuY.js +2 -0
  119. package/dist/env-vars-C6h8XxDu.js +2 -0
  120. package/dist/env-vars-jepH5HKe.mjs +2 -0
  121. package/dist/env-vars.operations-CtwkPw4o.mjs +2 -0
  122. package/dist/env-vars.operations-DxgfKwIg.js +2 -0
  123. package/dist/environment-output.schema-BI9aKP85.js +2 -0
  124. package/dist/environment-output.schema-BLWKrRV9.mjs +2 -0
  125. package/dist/environments-Cjl7Rn63.js +2 -0
  126. package/dist/environments-NJ6AU6QA.mjs +2 -0
  127. package/dist/environments.operations-DOC5sPZj.js +2 -0
  128. package/dist/environments.operations-sRFx_6kV.mjs +2 -0
  129. package/dist/{exceptions-CxTJ-9hJ.d.ts → exceptions-Csd70p_-.d.ts} +9 -0
  130. package/dist/{exceptions-BjtmXIip.d.mts → exceptions-gxRQUb2w.d.mts} +9 -0
  131. package/dist/exceptions.d.mts +1 -1
  132. package/dist/exceptions.d.ts +1 -1
  133. package/dist/exceptions.js +1 -1
  134. package/dist/exceptions.mjs +1 -1
  135. package/dist/files-BX-FFR4x.js +2 -0
  136. package/dist/files-sTU3trJX.mjs +2 -0
  137. package/dist/files.operations-ByEQ45rC.mjs +2 -0
  138. package/dist/files.operations-DvsUX624.js +2 -0
  139. package/dist/folders.operations-DjhIHfPy.mjs +2 -0
  140. package/dist/folders.operations-Dn9m5HgA.js +2 -0
  141. package/dist/forms.operations-DTe1LrLl.js +2 -0
  142. package/dist/forms.operations-HHnD9fWG.mjs +2 -0
  143. package/dist/geocoding.operations-C_22EAvv.mjs +2 -0
  144. package/dist/geocoding.operations-DI5T-bXQ.js +2 -0
  145. package/dist/human-request-BuTNChfy.js +2 -0
  146. package/dist/human-request-D386w0xS.mjs +2 -0
  147. package/dist/image-generation-JBLnNqb4.js +2 -0
  148. package/dist/image-generation-RBIQzj-e.mjs +2 -0
  149. package/dist/{index-BoesrnBX.d.ts → index-O2gvfWg3.d.ts} +250 -545
  150. package/dist/index.d.mts +4 -4
  151. package/dist/index.d.ts +4 -4
  152. package/dist/index.js +2 -2
  153. package/dist/index.mjs +2 -2
  154. package/dist/input--LxhjMnL.js +2 -0
  155. package/dist/input-De22VS-9.mjs +2 -0
  156. package/dist/input-g4tO6Jkf.d.ts +82 -0
  157. package/dist/limits-C23L0g-a.js +2 -0
  158. package/dist/limits-DVUX5n4b.mjs +2 -0
  159. package/dist/linked-records-BjT-7LOU.mjs +2 -0
  160. package/dist/linked-records-CzzwaP1w.js +2 -0
  161. package/dist/logos.operations-Cof7YcyL.js +2 -0
  162. package/dist/logos.operations-DMp3Fv_i.mjs +2 -0
  163. package/dist/machines-BgWsvhyM.js +2 -0
  164. package/dist/machines-BwCQPG_y.mjs +2 -0
  165. package/dist/machines.operations-DuXeEb9-.js +2 -0
  166. package/dist/machines.operations-L17tNtr7.mjs +2 -0
  167. package/dist/mail-drafts.operations-BKMuIsFk.js +2 -0
  168. package/dist/mail-drafts.operations-CM-7tBgp.mjs +2 -0
  169. package/dist/mail-signatures.operations-maphvktU.js +2 -0
  170. package/dist/mail-signatures.operations-u61NViKI.mjs +2 -0
  171. package/dist/mcp-output.schema-B4xXiOjp.mjs +2 -0
  172. package/dist/mcp-output.schema-DWfW_GXR.js +2 -0
  173. package/dist/mcp-servers.operations-BBrpVqtv.mjs +2 -0
  174. package/dist/mcp-servers.operations-DKv3os6D.js +2 -0
  175. package/dist/meetings-C3LSWdAv.js +2 -0
  176. package/dist/meetings-ZzFZppmw.mjs +2 -0
  177. package/dist/meetings-admin.operations-CqOdAuEY.js +2 -0
  178. package/dist/meetings-admin.operations-DlBEkQ3A.mjs +2 -0
  179. package/dist/meetings.operations-CEodnE61.js +2 -0
  180. package/dist/meetings.operations-C_S4qoij.mjs +2 -0
  181. package/dist/models.operations-B-KLcOff.mjs +2 -0
  182. package/dist/models.operations-D1mh86qV.js +2 -0
  183. package/dist/move-impact.schema-CIhGrFEu.mjs +2 -0
  184. package/dist/move-impact.schema-Ur5k3_PI.js +2 -0
  185. package/dist/my-preferences-CtaRodws.js +2 -0
  186. package/dist/my-preferences-DLy4chuc.mjs +2 -0
  187. package/dist/news-feed.schema-BXcS3qnp.js +2 -0
  188. package/dist/news-feed.schema-uNDJX8lC.mjs +2 -0
  189. package/dist/news.operations-Ct__1yeE.js +2 -0
  190. package/dist/news.operations-bv6Xi29p.mjs +2 -0
  191. package/dist/oauth.operations-BkKp9Hys.js +2 -0
  192. package/dist/oauth.operations-Dwz0dPe0.mjs +2 -0
  193. package/dist/objects-DjZy05b7.js +2 -0
  194. package/dist/objects-LC_PpZf5.mjs +2 -0
  195. package/dist/operation-Ljhj0S-y.mjs +2 -0
  196. package/dist/operation-b0CY8USr.js +2 -0
  197. package/dist/output-CcagLVwl.js +2 -0
  198. package/dist/output-D0Gkm-0Z.mjs +2 -0
  199. package/dist/page-query-B8Evn_OX.mjs +2 -0
  200. package/dist/page-query-BIn1m1Dx.js +2 -0
  201. package/dist/pages-C1vZaC93.mjs +2 -0
  202. package/dist/pages-DQEuRvk2.js +2 -0
  203. package/dist/pages.operations-CWBsE2KN.js +2 -0
  204. package/dist/pages.operations-DE4h2piU.mjs +2 -0
  205. package/dist/pagination-B06cCddv.mjs +2 -0
  206. package/dist/pagination-CheieRD0.js +2 -0
  207. package/dist/path-Ch_NPREA.d.mts +81 -0
  208. package/dist/permission-catalog-7nqArygr.js +2 -0
  209. package/dist/permission-catalog-DVCRvATl.mjs +2 -0
  210. package/dist/permissions-BsNNXXmY.js +2 -0
  211. package/dist/permissions-CGYTdS2h.mjs +2 -0
  212. package/dist/permissions.operations-BpGpRcI5.js +2 -0
  213. package/dist/permissions.operations-CUOPZGr_.mjs +2 -0
  214. package/dist/plain-record-BnKWrGQv.js +2 -0
  215. package/dist/plain-record-is3DxPBL.mjs +2 -0
  216. package/dist/primitives-BlZoUw54.mjs +2 -0
  217. package/dist/primitives-x0WE42fG.js +2 -0
  218. package/dist/{record-query-BMeq7JRi.d.mts → proposal-types-BnAD5nxA.d.mts} +10084 -10379
  219. package/dist/proposal-types-Buln0mbM.js +2 -0
  220. package/dist/proposal-types-ncv1cymr.mjs +2 -0
  221. package/dist/query-integers-CZDEkFmm.mjs +2 -0
  222. package/dist/query-integers-EVkedFO4.js +2 -0
  223. package/dist/quota-CremykHV.mjs +2 -0
  224. package/dist/quota-lbHfQAU7.js +2 -0
  225. package/dist/quotas.operations-CDn6mxGZ.js +2 -0
  226. package/dist/quotas.operations-DuUMhQct.mjs +2 -0
  227. package/dist/recent-activity-CDUZCvvx.mjs +2 -0
  228. package/dist/recent-activity-CTn3aJC5.js +2 -0
  229. package/dist/recent-activity.operations-C8HN3T2E.mjs +2 -0
  230. package/dist/recent-activity.operations-Cv7zUBG5.js +2 -0
  231. package/dist/record-memory.operations-D8K9_bDh.js +2 -0
  232. package/dist/record-memory.operations-DNRWqANQ.mjs +2 -0
  233. package/dist/record-operation-CD04q2YF.mjs +2 -0
  234. package/dist/record-operation-CHR8fOWv.js +2 -0
  235. package/dist/record-operations.operations-2fObhHf5.mjs +2 -0
  236. package/dist/record-operations.operations-iGcbXsAX.js +2 -0
  237. package/dist/record-output.schema-7M4ZhtFF.mjs +2 -0
  238. package/dist/record-output.schema-B-LsiXui.js +2 -0
  239. package/dist/records.operations-DesIdHKN.js +2 -0
  240. package/dist/records.operations-XplmsQb5.mjs +2 -0
  241. package/dist/relation-output.schema-CMfZ80ZC.js +2 -0
  242. package/dist/relation-output.schema-DnC1Swai.mjs +2 -0
  243. package/dist/relations.operations-C8OKmNI3.mjs +2 -0
  244. package/dist/relations.operations-TbsHto3V.js +2 -0
  245. package/dist/rolldown-runtime-BXZUx0GO.js +2 -0
  246. package/dist/schema-draft.operations-BrhXpB88.js +2 -0
  247. package/dist/schema-draft.operations-DO2aPqiB.mjs +2 -0
  248. package/dist/schema-groups.operations-BKGvDU0g.mjs +2 -0
  249. package/dist/schema-groups.operations-CQJVh2ul.js +2 -0
  250. package/dist/schema-objects.operations-BIm7_OUC.js +2 -0
  251. package/dist/schema-objects.operations-CKZquSV-.mjs +2 -0
  252. package/dist/schema-output.schema-DToLL5Hj.mjs +2 -0
  253. package/dist/schema-output.schema-yXth-j90.js +2 -0
  254. package/dist/schema-state.operations-YgW67wKw.mjs +2 -0
  255. package/dist/schema-state.operations-_rWxCFRF.js +2 -0
  256. package/dist/screens.operations-C2PmD9Jo.mjs +2 -0
  257. package/dist/screens.operations-CMCDeLu5.js +2 -0
  258. package/dist/search-admin.operations-BuNlL2_R.js +2 -0
  259. package/dist/search-admin.operations-MaUHp0Ws.mjs +2 -0
  260. package/dist/search-output.schema-BGEo1jc3.mjs +2 -0
  261. package/dist/search-output.schema-BOnf-I4-.js +2 -0
  262. package/dist/search.operations-BU2vkMiM.mjs +2 -0
  263. package/dist/search.operations-CV4h80dL.js +2 -0
  264. package/dist/skills.operations-B89X73C5.mjs +2 -0
  265. package/dist/skills.operations-CI7WSfj8.js +2 -0
  266. package/dist/string-rules-BGEVHs7B.js +2 -0
  267. package/dist/string-rules-Oo22T_2_.mjs +2 -0
  268. package/dist/submission-DQQndGsT.mjs +2 -0
  269. package/dist/submission-Y4L17hji.js +2 -0
  270. package/dist/system-attributes-4e6FXKws.js +2 -0
  271. package/dist/system-attributes-vbOzw6KO.mjs +2 -0
  272. package/dist/tenant-invitations-C8eRu6F1.mjs +2 -0
  273. package/dist/tenant-invitations-DMnJYl5A.js +2 -0
  274. package/dist/tenant-invitations.operations-CoENfK1m.mjs +2 -0
  275. package/dist/tenant-invitations.operations-DVzd6sH6.js +2 -0
  276. package/dist/tenant-settings-DibR3Pj9.mjs +2 -0
  277. package/dist/tenant-settings-H8PuqeVJ.js +2 -0
  278. package/dist/tenant-settings.operations-BlOjAUBb.mjs +2 -0
  279. package/dist/tenant-settings.operations-D1tiAc5T.js +2 -0
  280. package/dist/tool-group-catalog-DcmK8-aP.mjs +2 -0
  281. package/dist/tool-group-catalog-VfPutaoA.js +2 -0
  282. package/dist/types-BaRAoumN.mjs +2 -0
  283. package/dist/types-Bbd8SJk_.mjs +2 -0
  284. package/dist/types-DLY2ZL0J.js +2 -0
  285. package/dist/types-HyrREoFh.js +2 -0
  286. package/dist/unchecked-C4sB97e1.js +2 -0
  287. package/dist/unchecked-DAFXyX5y.mjs +2 -0
  288. package/dist/user-profiles-CJHB2U55.js +2 -0
  289. package/dist/user-profiles-Dh5QFnXc.mjs +2 -0
  290. package/dist/users.operations-Bdz9bPn7.js +2 -0
  291. package/dist/users.operations-BhIIB4IN.mjs +2 -0
  292. package/dist/{utils-DPto28bh.d.mts → utils-BHf9KKOr.d.mts} +1 -1
  293. package/dist/{utils-BdmqhdNL.d.ts → utils-_R0m2ygt.d.ts} +1 -1
  294. package/dist/utils.d.mts +1 -1
  295. package/dist/utils.d.ts +1 -1
  296. package/dist/uuid-param-BuV4RQRp.mjs +2 -0
  297. package/dist/uuid-param-Djtff5Vy.js +2 -0
  298. package/dist/validation/all.d.mts +2 -2
  299. package/dist/validation/all.d.ts +2 -2
  300. package/dist/validation/all.js +1 -1
  301. package/dist/validation/all.mjs +1 -1
  302. package/dist/view-config.schema-BimOzKR_.js +2 -0
  303. package/dist/view-config.schema-DstNUMiD.mjs +2 -0
  304. package/dist/views.operations-B23oCL5P.js +2 -0
  305. package/dist/views.operations-B38jfGlX.mjs +2 -0
  306. package/dist/wire-types-B5ixUf2P.d.mts +11 -0
  307. package/dist/wire-types-btvuxrFk.d.ts +11 -0
  308. package/openapi.json +1292 -1839
  309. package/package.json +22 -2
  310. package/dist/all-2xry8t7d.js +0 -4
  311. package/dist/all-BWpaP2E2.mjs +0 -4
  312. package/dist/attribute-validators-CFa9B00S.mjs +0 -11
  313. package/dist/attribute-validators-Djse5LWc.js +0 -11
  314. package/dist/record-operation-BBOde9mE.mjs +0 -2
  315. package/dist/record-operation-BLhz84I4.js +0 -2
package/openapi.json CHANGED
@@ -4433,6 +4433,12 @@
4433
4433
  "type": "number",
4434
4434
  "minimum": 0
4435
4435
  },
4436
+ "bodyHtml": {
4437
+ "type": "string"
4438
+ },
4439
+ "signatureHtml": {
4440
+ "type": "string"
4441
+ },
4436
4442
  "outsideThread": {
4437
4443
  "type": "array",
4438
4444
  "items": {
@@ -5019,6 +5025,10 @@
5019
5025
  "reason": {
5020
5026
  "type": "string",
5021
5027
  "maxLength": 2000
5028
+ },
5029
+ "bodyHtml": {
5030
+ "type": "string",
5031
+ "maxLength": 200000
5022
5032
  }
5023
5033
  },
5024
5034
  "required": [
@@ -5355,6 +5365,12 @@
5355
5365
  "type": "number",
5356
5366
  "minimum": 0
5357
5367
  },
5368
+ "bodyHtml": {
5369
+ "type": "string"
5370
+ },
5371
+ "signatureHtml": {
5372
+ "type": "string"
5373
+ },
5358
5374
  "outsideThread": {
5359
5375
  "type": "array",
5360
5376
  "items": {
@@ -6068,22 +6084,12 @@
6068
6084
  "auto"
6069
6085
  ]
6070
6086
  },
6071
- "workMode": {
6072
- "type": "string",
6073
- "enum": [
6074
- "execute",
6075
- "architect"
6076
- ]
6077
- },
6078
6087
  "focus": {
6079
6088
  "type": "boolean"
6080
6089
  },
6081
6090
  "personConversation": {
6082
6091
  "type": "boolean"
6083
6092
  },
6084
- "workModeVersion": {
6085
- "type": "number"
6086
- },
6087
6093
  "version": {
6088
6094
  "type": "number"
6089
6095
  },
@@ -6342,10 +6348,8 @@
6342
6348
  "mode",
6343
6349
  "state",
6344
6350
  "approvalMode",
6345
- "workMode",
6346
6351
  "focus",
6347
6352
  "personConversation",
6348
- "workModeVersion",
6349
6353
  "version",
6350
6354
  "loadedToolsets",
6351
6355
  "inferenceOverrides",
@@ -11754,7 +11758,8 @@
11754
11758
  "orchestration",
11755
11759
  "host",
11756
11760
  "cloud-browser",
11757
- "agent-config"
11761
+ "agent-config",
11762
+ "schema"
11758
11763
  ]
11759
11764
  },
11760
11765
  "granted": {
@@ -11792,7 +11797,9 @@
11792
11797
  "decision",
11793
11798
  "session",
11794
11799
  "catalog",
11795
- "wake"
11800
+ "wake",
11801
+ "agent",
11802
+ "routine"
11796
11803
  ]
11797
11804
  }
11798
11805
  },
@@ -11804,7 +11811,9 @@
11804
11811
  "bulk",
11805
11812
  "activity",
11806
11813
  "transcript",
11807
- "copy_email"
11814
+ "copy_email",
11815
+ "agent_setup",
11816
+ "subagent"
11808
11817
  ]
11809
11818
  }
11810
11819
  }
@@ -11974,7 +11983,9 @@
11974
11983
  "decision",
11975
11984
  "session",
11976
11985
  "catalog",
11977
- "wake"
11986
+ "wake",
11987
+ "agent",
11988
+ "routine"
11978
11989
  ]
11979
11990
  }
11980
11991
  },
@@ -11986,7 +11997,9 @@
11986
11997
  "bulk",
11987
11998
  "activity",
11988
11999
  "transcript",
11989
- "copy_email"
12000
+ "copy_email",
12001
+ "agent_setup",
12002
+ "subagent"
11990
12003
  ]
11991
12004
  }
11992
12005
  }
@@ -13789,6 +13802,12 @@
13789
13802
  "type": "number",
13790
13803
  "minimum": 0
13791
13804
  },
13805
+ "bodyHtml": {
13806
+ "type": "string"
13807
+ },
13808
+ "signatureHtml": {
13809
+ "type": "string"
13810
+ },
13792
13811
  "outsideThread": {
13793
13812
  "type": "array",
13794
13813
  "items": {
@@ -14716,6 +14735,12 @@
14716
14735
  "type": "number",
14717
14736
  "minimum": 0
14718
14737
  },
14738
+ "bodyHtml": {
14739
+ "type": "string"
14740
+ },
14741
+ "signatureHtml": {
14742
+ "type": "string"
14743
+ },
14719
14744
  "outsideThread": {
14720
14745
  "type": "array",
14721
14746
  "items": {
@@ -15578,6 +15603,12 @@
15578
15603
  "type": "number",
15579
15604
  "minimum": 0
15580
15605
  },
15606
+ "bodyHtml": {
15607
+ "type": "string"
15608
+ },
15609
+ "signatureHtml": {
15610
+ "type": "string"
15611
+ },
15581
15612
  "outsideThread": {
15582
15613
  "type": "array",
15583
15614
  "items": {
@@ -16688,6 +16719,12 @@
16688
16719
  "type": "number",
16689
16720
  "minimum": 0
16690
16721
  },
16722
+ "bodyHtml": {
16723
+ "type": "string"
16724
+ },
16725
+ "signatureHtml": {
16726
+ "type": "string"
16727
+ },
16691
16728
  "outsideThread": {
16692
16729
  "type": "array",
16693
16730
  "items": {
@@ -18445,22 +18482,12 @@
18445
18482
  "auto"
18446
18483
  ]
18447
18484
  },
18448
- "workMode": {
18449
- "type": "string",
18450
- "enum": [
18451
- "execute",
18452
- "architect"
18453
- ]
18454
- },
18455
18485
  "focus": {
18456
18486
  "type": "boolean"
18457
18487
  },
18458
18488
  "personConversation": {
18459
18489
  "type": "boolean"
18460
18490
  },
18461
- "workModeVersion": {
18462
- "type": "number"
18463
- },
18464
18491
  "version": {
18465
18492
  "type": "number"
18466
18493
  },
@@ -18719,10 +18746,8 @@
18719
18746
  "mode",
18720
18747
  "state",
18721
18748
  "approvalMode",
18722
- "workMode",
18723
18749
  "focus",
18724
18750
  "personConversation",
18725
- "workModeVersion",
18726
18751
  "version",
18727
18752
  "loadedToolsets",
18728
18753
  "inferenceOverrides",
@@ -19004,22 +19029,12 @@
19004
19029
  "auto"
19005
19030
  ]
19006
19031
  },
19007
- "workMode": {
19008
- "type": "string",
19009
- "enum": [
19010
- "execute",
19011
- "architect"
19012
- ]
19013
- },
19014
19032
  "focus": {
19015
19033
  "type": "boolean"
19016
19034
  },
19017
19035
  "personConversation": {
19018
19036
  "type": "boolean"
19019
19037
  },
19020
- "workModeVersion": {
19021
- "type": "number"
19022
- },
19023
19038
  "version": {
19024
19039
  "type": "number"
19025
19040
  },
@@ -19278,10 +19293,8 @@
19278
19293
  "mode",
19279
19294
  "state",
19280
19295
  "approvalMode",
19281
- "workMode",
19282
19296
  "focus",
19283
19297
  "personConversation",
19284
- "workModeVersion",
19285
19298
  "version",
19286
19299
  "loadedToolsets",
19287
19300
  "inferenceOverrides",
@@ -19407,22 +19420,12 @@
19407
19420
  "auto"
19408
19421
  ]
19409
19422
  },
19410
- "workMode": {
19411
- "type": "string",
19412
- "enum": [
19413
- "execute",
19414
- "architect"
19415
- ]
19416
- },
19417
19423
  "focus": {
19418
19424
  "type": "boolean"
19419
19425
  },
19420
19426
  "personConversation": {
19421
19427
  "type": "boolean"
19422
19428
  },
19423
- "workModeVersion": {
19424
- "type": "number"
19425
- },
19426
19429
  "version": {
19427
19430
  "type": "number"
19428
19431
  },
@@ -19681,10 +19684,8 @@
19681
19684
  "mode",
19682
19685
  "state",
19683
19686
  "approvalMode",
19684
- "workMode",
19685
19687
  "focus",
19686
19688
  "personConversation",
19687
- "workModeVersion",
19688
19689
  "version",
19689
19690
  "loadedToolsets",
19690
19691
  "inferenceOverrides",
@@ -20372,22 +20373,12 @@
20372
20373
  "auto"
20373
20374
  ]
20374
20375
  },
20375
- "workMode": {
20376
- "type": "string",
20377
- "enum": [
20378
- "execute",
20379
- "architect"
20380
- ]
20381
- },
20382
20376
  "focus": {
20383
20377
  "type": "boolean"
20384
20378
  },
20385
20379
  "personConversation": {
20386
20380
  "type": "boolean"
20387
20381
  },
20388
- "workModeVersion": {
20389
- "type": "number"
20390
- },
20391
20382
  "version": {
20392
20383
  "type": "number"
20393
20384
  },
@@ -20646,10 +20637,8 @@
20646
20637
  "mode",
20647
20638
  "state",
20648
20639
  "approvalMode",
20649
- "workMode",
20650
20640
  "focus",
20651
20641
  "personConversation",
20652
- "workModeVersion",
20653
20642
  "version",
20654
20643
  "loadedToolsets",
20655
20644
  "inferenceOverrides",
@@ -20902,22 +20891,12 @@
20902
20891
  "auto"
20903
20892
  ]
20904
20893
  },
20905
- "workMode": {
20906
- "type": "string",
20907
- "enum": [
20908
- "execute",
20909
- "architect"
20910
- ]
20911
- },
20912
20894
  "focus": {
20913
20895
  "type": "boolean"
20914
20896
  },
20915
20897
  "personConversation": {
20916
20898
  "type": "boolean"
20917
20899
  },
20918
- "workModeVersion": {
20919
- "type": "number"
20920
- },
20921
20900
  "version": {
20922
20901
  "type": "number"
20923
20902
  },
@@ -21176,10 +21155,8 @@
21176
21155
  "mode",
21177
21156
  "state",
21178
21157
  "approvalMode",
21179
- "workMode",
21180
21158
  "focus",
21181
21159
  "personConversation",
21182
- "workModeVersion",
21183
21160
  "version",
21184
21161
  "loadedToolsets",
21185
21162
  "inferenceOverrides",
@@ -21324,22 +21301,12 @@
21324
21301
  "auto"
21325
21302
  ]
21326
21303
  },
21327
- "workMode": {
21328
- "type": "string",
21329
- "enum": [
21330
- "execute",
21331
- "architect"
21332
- ]
21333
- },
21334
21304
  "focus": {
21335
21305
  "type": "boolean"
21336
21306
  },
21337
21307
  "personConversation": {
21338
21308
  "type": "boolean"
21339
21309
  },
21340
- "workModeVersion": {
21341
- "type": "number"
21342
- },
21343
21310
  "version": {
21344
21311
  "type": "number"
21345
21312
  },
@@ -21598,10 +21565,8 @@
21598
21565
  "mode",
21599
21566
  "state",
21600
21567
  "approvalMode",
21601
- "workMode",
21602
21568
  "focus",
21603
21569
  "personConversation",
21604
- "workModeVersion",
21605
21570
  "version",
21606
21571
  "loadedToolsets",
21607
21572
  "inferenceOverrides",
@@ -22106,22 +22071,12 @@
22106
22071
  "auto"
22107
22072
  ]
22108
22073
  },
22109
- "workMode": {
22110
- "type": "string",
22111
- "enum": [
22112
- "execute",
22113
- "architect"
22114
- ]
22115
- },
22116
22074
  "focus": {
22117
22075
  "type": "boolean"
22118
22076
  },
22119
22077
  "personConversation": {
22120
22078
  "type": "boolean"
22121
22079
  },
22122
- "workModeVersion": {
22123
- "type": "number"
22124
- },
22125
22080
  "version": {
22126
22081
  "type": "number"
22127
22082
  },
@@ -22380,10 +22335,8 @@
22380
22335
  "mode",
22381
22336
  "state",
22382
22337
  "approvalMode",
22383
- "workMode",
22384
22338
  "focus",
22385
22339
  "personConversation",
22386
- "workModeVersion",
22387
22340
  "version",
22388
22341
  "loadedToolsets",
22389
22342
  "inferenceOverrides",
@@ -22492,22 +22445,12 @@
22492
22445
  "auto"
22493
22446
  ]
22494
22447
  },
22495
- "workMode": {
22496
- "type": "string",
22497
- "enum": [
22498
- "execute",
22499
- "architect"
22500
- ]
22501
- },
22502
22448
  "focus": {
22503
22449
  "type": "boolean"
22504
22450
  },
22505
22451
  "personConversation": {
22506
22452
  "type": "boolean"
22507
22453
  },
22508
- "workModeVersion": {
22509
- "type": "number"
22510
- },
22511
22454
  "version": {
22512
22455
  "type": "number"
22513
22456
  },
@@ -22766,10 +22709,8 @@
22766
22709
  "mode",
22767
22710
  "state",
22768
22711
  "approvalMode",
22769
- "workMode",
22770
22712
  "focus",
22771
22713
  "personConversation",
22772
- "workModeVersion",
22773
22714
  "version",
22774
22715
  "loadedToolsets",
22775
22716
  "inferenceOverrides",
@@ -22896,22 +22837,12 @@
22896
22837
  "auto"
22897
22838
  ]
22898
22839
  },
22899
- "workMode": {
22900
- "type": "string",
22901
- "enum": [
22902
- "execute",
22903
- "architect"
22904
- ]
22905
- },
22906
22840
  "focus": {
22907
22841
  "type": "boolean"
22908
22842
  },
22909
22843
  "personConversation": {
22910
22844
  "type": "boolean"
22911
22845
  },
22912
- "workModeVersion": {
22913
- "type": "number"
22914
- },
22915
22846
  "version": {
22916
22847
  "type": "number"
22917
22848
  },
@@ -23170,10 +23101,8 @@
23170
23101
  "mode",
23171
23102
  "state",
23172
23103
  "approvalMode",
23173
- "workMode",
23174
23104
  "focus",
23175
23105
  "personConversation",
23176
- "workModeVersion",
23177
23106
  "version",
23178
23107
  "loadedToolsets",
23179
23108
  "inferenceOverrides",
@@ -23389,22 +23318,12 @@
23389
23318
  "auto"
23390
23319
  ]
23391
23320
  },
23392
- "workMode": {
23393
- "type": "string",
23394
- "enum": [
23395
- "execute",
23396
- "architect"
23397
- ]
23398
- },
23399
23321
  "focus": {
23400
23322
  "type": "boolean"
23401
23323
  },
23402
23324
  "personConversation": {
23403
23325
  "type": "boolean"
23404
23326
  },
23405
- "workModeVersion": {
23406
- "type": "number"
23407
- },
23408
23327
  "version": {
23409
23328
  "type": "number"
23410
23329
  },
@@ -23663,10 +23582,8 @@
23663
23582
  "mode",
23664
23583
  "state",
23665
23584
  "approvalMode",
23666
- "workMode",
23667
23585
  "focus",
23668
23586
  "personConversation",
23669
- "workModeVersion",
23670
23587
  "version",
23671
23588
  "loadedToolsets",
23672
23589
  "inferenceOverrides",
@@ -23685,818 +23602,6 @@
23685
23602
  "x-standards-permission": "agents:read"
23686
23603
  }
23687
23604
  },
23688
- "/agents/sessions/{id}/work-posture": {
23689
- "post": {
23690
- "operationId": "agentSessions.setWorkPosture",
23691
- "tags": [
23692
- "agentSessions"
23693
- ],
23694
- "parameters": [
23695
- {
23696
- "name": "id",
23697
- "in": "path",
23698
- "required": true,
23699
- "schema": {
23700
- "type": "string"
23701
- }
23702
- }
23703
- ],
23704
- "requestBody": {
23705
- "required": true,
23706
- "content": {
23707
- "application/json": {
23708
- "schema": {
23709
- "type": "object",
23710
- "properties": {
23711
- "posture": {
23712
- "type": "string",
23713
- "enum": [
23714
- "architect",
23715
- "manual",
23716
- "auto"
23717
- ]
23718
- }
23719
- },
23720
- "required": [
23721
- "posture"
23722
- ]
23723
- }
23724
- }
23725
- }
23726
- },
23727
- "responses": {
23728
- "200": {
23729
- "description": "Success",
23730
- "content": {
23731
- "application/json": {
23732
- "schema": {
23733
- "oneOf": [
23734
- {
23735
- "type": "object",
23736
- "properties": {
23737
- "kind": {
23738
- "type": "string",
23739
- "enum": [
23740
- "changed",
23741
- "stale"
23742
- ]
23743
- },
23744
- "session": {
23745
- "type": "object",
23746
- "properties": {
23747
- "id": {
23748
- "type": "string"
23749
- },
23750
- "tenantId": {
23751
- "type": "string"
23752
- },
23753
- "mode": {
23754
- "type": "string",
23755
- "enum": [
23756
- "interactive",
23757
- "autonomous"
23758
- ]
23759
- },
23760
- "state": {
23761
- "type": "object",
23762
- "properties": {
23763
- "phase": {
23764
- "type": "string",
23765
- "enum": [
23766
- "idle",
23767
- "running",
23768
- "parked"
23769
- ]
23770
- },
23771
- "parkedOn": {
23772
- "type": "string",
23773
- "enum": [
23774
- "human",
23775
- "agents"
23776
- ]
23777
- },
23778
- "locked": {
23779
- "type": "boolean"
23780
- },
23781
- "humanRequestIds": {
23782
- "type": "array",
23783
- "items": {
23784
- "type": "string"
23785
- }
23786
- },
23787
- "outcome": {
23788
- "type": "string",
23789
- "enum": [
23790
- "completed",
23791
- "failed",
23792
- "cancelled"
23793
- ]
23794
- },
23795
- "runningTurnId": {
23796
- "type": "string"
23797
- },
23798
- "lastTurnId": {
23799
- "type": "string"
23800
- }
23801
- },
23802
- "required": [
23803
- "phase"
23804
- ]
23805
- },
23806
- "approvalMode": {
23807
- "type": "string",
23808
- "enum": [
23809
- "manual",
23810
- "auto"
23811
- ]
23812
- },
23813
- "workMode": {
23814
- "type": "string",
23815
- "enum": [
23816
- "execute",
23817
- "architect"
23818
- ]
23819
- },
23820
- "focus": {
23821
- "type": "boolean"
23822
- },
23823
- "personConversation": {
23824
- "type": "boolean"
23825
- },
23826
- "workModeVersion": {
23827
- "type": "number"
23828
- },
23829
- "version": {
23830
- "type": "number"
23831
- },
23832
- "loadedToolsets": {
23833
- "type": "array",
23834
- "items": {
23835
- "type": "string"
23836
- }
23837
- },
23838
- "inferenceOverrides": {
23839
- "type": "object",
23840
- "properties": {
23841
- "speed": {
23842
- "type": "string",
23843
- "enum": [
23844
- "standard",
23845
- "fast"
23846
- ]
23847
- },
23848
- "reasoning": {
23849
- "type": "string",
23850
- "enum": [
23851
- "none",
23852
- "minimal",
23853
- "low",
23854
- "medium",
23855
- "high",
23856
- "xhigh"
23857
- ]
23858
- },
23859
- "routing": {
23860
- "type": "string",
23861
- "enum": [
23862
- "manual",
23863
- "auto"
23864
- ]
23865
- },
23866
- "model": {
23867
- "type": "object",
23868
- "properties": {
23869
- "provider": {
23870
- "type": "string",
23871
- "enum": [
23872
- "openai",
23873
- "anthropic",
23874
- "google",
23875
- "spacexai",
23876
- "deepseek",
23877
- "moonshotai",
23878
- "alibaba",
23879
- "mistral",
23880
- "minimax",
23881
- "meta",
23882
- "zai",
23883
- "cursor"
23884
- ]
23885
- },
23886
- "model": {
23887
- "type": "string"
23888
- }
23889
- },
23890
- "required": [
23891
- "provider",
23892
- "model"
23893
- ]
23894
- },
23895
- "imageModel": {
23896
- "type": "string"
23897
- }
23898
- }
23899
- },
23900
- "origin": {
23901
- "type": "string",
23902
- "enum": [
23903
- "definition",
23904
- "default",
23905
- "child",
23906
- "inline"
23907
- ]
23908
- },
23909
- "definitionId": {
23910
- "type": "string"
23911
- },
23912
- "inlineConfig": {},
23913
- "parentSessionId": {
23914
- "type": "string"
23915
- },
23916
- "rootSessionId": {
23917
- "type": "string"
23918
- },
23919
- "depth": {
23920
- "type": "number"
23921
- },
23922
- "forkedFromSessionId": {
23923
- "type": "string"
23924
- },
23925
- "forkedAtMessageId": {
23926
- "type": "string"
23927
- },
23928
- "missionPrompt": {
23929
- "type": "string"
23930
- },
23931
- "treeCostUsd": {
23932
- "type": "number"
23933
- },
23934
- "name": {
23935
- "type": "string"
23936
- },
23937
- "metadata": {
23938
- "type": "object",
23939
- "propertyNames": {
23940
- "type": "string"
23941
- },
23942
- "additionalProperties": {}
23943
- },
23944
- "createdBy": {
23945
- "type": "string"
23946
- },
23947
- "createdAt": {
23948
- "type": "string",
23949
- "format": "date-time",
23950
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
23951
- },
23952
- "updatedAt": {
23953
- "type": "string",
23954
- "format": "date-time",
23955
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
23956
- },
23957
- "completedAt": {
23958
- "type": "string",
23959
- "format": "date-time",
23960
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
23961
- },
23962
- "expiresAt": {
23963
- "type": "string",
23964
- "format": "date-time",
23965
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
23966
- },
23967
- "archivedAt": {
23968
- "type": "string",
23969
- "format": "date-time",
23970
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
23971
- },
23972
- "lastAgentActivityAt": {
23973
- "type": "string",
23974
- "format": "date-time",
23975
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
23976
- },
23977
- "lastReadAt": {
23978
- "type": "string",
23979
- "format": "date-time",
23980
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
23981
- },
23982
- "lastUserActivityAt": {
23983
- "type": "string",
23984
- "format": "date-time",
23985
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
23986
- },
23987
- "harness": {
23988
- "type": "string"
23989
- },
23990
- "environmentId": {
23991
- "type": "string"
23992
- },
23993
- "size": {
23994
- "type": "string",
23995
- "enum": [
23996
- "small",
23997
- "default",
23998
- "large"
23999
- ]
24000
- },
24001
- "harnessState": {},
24002
- "definitionAppearance": {
24003
- "type": "object",
24004
- "properties": {
24005
- "name": {
24006
- "type": "string"
24007
- },
24008
- "kind": {
24009
- "type": "string",
24010
- "enum": [
24011
- "agent",
24012
- "routine"
24013
- ]
24014
- },
24015
- "label": {
24016
- "type": "string"
24017
- },
24018
- "avatar": {
24019
- "type": "object",
24020
- "properties": {
24021
- "type": {
24022
- "type": "string",
24023
- "enum": [
24024
- "octopus",
24025
- "clover",
24026
- "flower",
24027
- "triangle",
24028
- "square",
24029
- "blob",
24030
- "circle",
24031
- "drop",
24032
- "hexagon",
24033
- "pill",
24034
- "pebble",
24035
- "puddle"
24036
- ]
24037
- },
24038
- "color": {
24039
- "type": "string"
24040
- },
24041
- "expression": {
24042
- "type": "string",
24043
- "enum": [
24044
- "relaxed",
24045
- "neutral"
24046
- ]
24047
- }
24048
- },
24049
- "required": [
24050
- "type",
24051
- "color",
24052
- "expression"
24053
- ]
24054
- }
24055
- },
24056
- "required": [
24057
- "name",
24058
- "kind"
24059
- ]
24060
- },
24061
- "readThrough": {
24062
- "type": "boolean",
24063
- "const": true
24064
- },
24065
- "listCursor": {
24066
- "type": "string"
24067
- },
24068
- "nextWakeAt": {
24069
- "anyOf": [
24070
- {
24071
- "type": "string",
24072
- "format": "date-time",
24073
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24074
- },
24075
- {
24076
- "type": "null"
24077
- }
24078
- ]
24079
- }
24080
- },
24081
- "required": [
24082
- "id",
24083
- "tenantId",
24084
- "mode",
24085
- "state",
24086
- "approvalMode",
24087
- "workMode",
24088
- "focus",
24089
- "personConversation",
24090
- "workModeVersion",
24091
- "version",
24092
- "loadedToolsets",
24093
- "inferenceOverrides",
24094
- "origin",
24095
- "rootSessionId",
24096
- "depth",
24097
- "treeCostUsd",
24098
- "createdAt",
24099
- "updatedAt"
24100
- ]
24101
- }
24102
- },
24103
- "required": [
24104
- "kind",
24105
- "session"
24106
- ]
24107
- },
24108
- {
24109
- "type": "object",
24110
- "properties": {
24111
- "kind": {
24112
- "type": "string",
24113
- "const": "approval-required"
24114
- },
24115
- "approvalId": {
24116
- "type": "string"
24117
- },
24118
- "current": {
24119
- "type": "object",
24120
- "properties": {
24121
- "id": {
24122
- "type": "string"
24123
- },
24124
- "tenantId": {
24125
- "type": "string"
24126
- },
24127
- "mode": {
24128
- "type": "string",
24129
- "enum": [
24130
- "interactive",
24131
- "autonomous"
24132
- ]
24133
- },
24134
- "state": {
24135
- "type": "object",
24136
- "properties": {
24137
- "phase": {
24138
- "type": "string",
24139
- "enum": [
24140
- "idle",
24141
- "running",
24142
- "parked"
24143
- ]
24144
- },
24145
- "parkedOn": {
24146
- "type": "string",
24147
- "enum": [
24148
- "human",
24149
- "agents"
24150
- ]
24151
- },
24152
- "locked": {
24153
- "type": "boolean"
24154
- },
24155
- "humanRequestIds": {
24156
- "type": "array",
24157
- "items": {
24158
- "type": "string"
24159
- }
24160
- },
24161
- "outcome": {
24162
- "type": "string",
24163
- "enum": [
24164
- "completed",
24165
- "failed",
24166
- "cancelled"
24167
- ]
24168
- },
24169
- "runningTurnId": {
24170
- "type": "string"
24171
- },
24172
- "lastTurnId": {
24173
- "type": "string"
24174
- }
24175
- },
24176
- "required": [
24177
- "phase"
24178
- ]
24179
- },
24180
- "approvalMode": {
24181
- "type": "string",
24182
- "enum": [
24183
- "manual",
24184
- "auto"
24185
- ]
24186
- },
24187
- "workMode": {
24188
- "type": "string",
24189
- "enum": [
24190
- "execute",
24191
- "architect"
24192
- ]
24193
- },
24194
- "focus": {
24195
- "type": "boolean"
24196
- },
24197
- "personConversation": {
24198
- "type": "boolean"
24199
- },
24200
- "workModeVersion": {
24201
- "type": "number"
24202
- },
24203
- "version": {
24204
- "type": "number"
24205
- },
24206
- "loadedToolsets": {
24207
- "type": "array",
24208
- "items": {
24209
- "type": "string"
24210
- }
24211
- },
24212
- "inferenceOverrides": {
24213
- "type": "object",
24214
- "properties": {
24215
- "speed": {
24216
- "type": "string",
24217
- "enum": [
24218
- "standard",
24219
- "fast"
24220
- ]
24221
- },
24222
- "reasoning": {
24223
- "type": "string",
24224
- "enum": [
24225
- "none",
24226
- "minimal",
24227
- "low",
24228
- "medium",
24229
- "high",
24230
- "xhigh"
24231
- ]
24232
- },
24233
- "routing": {
24234
- "type": "string",
24235
- "enum": [
24236
- "manual",
24237
- "auto"
24238
- ]
24239
- },
24240
- "model": {
24241
- "type": "object",
24242
- "properties": {
24243
- "provider": {
24244
- "type": "string",
24245
- "enum": [
24246
- "openai",
24247
- "anthropic",
24248
- "google",
24249
- "spacexai",
24250
- "deepseek",
24251
- "moonshotai",
24252
- "alibaba",
24253
- "mistral",
24254
- "minimax",
24255
- "meta",
24256
- "zai",
24257
- "cursor"
24258
- ]
24259
- },
24260
- "model": {
24261
- "type": "string"
24262
- }
24263
- },
24264
- "required": [
24265
- "provider",
24266
- "model"
24267
- ]
24268
- },
24269
- "imageModel": {
24270
- "type": "string"
24271
- }
24272
- }
24273
- },
24274
- "origin": {
24275
- "type": "string",
24276
- "enum": [
24277
- "definition",
24278
- "default",
24279
- "child",
24280
- "inline"
24281
- ]
24282
- },
24283
- "definitionId": {
24284
- "type": "string"
24285
- },
24286
- "inlineConfig": {},
24287
- "parentSessionId": {
24288
- "type": "string"
24289
- },
24290
- "rootSessionId": {
24291
- "type": "string"
24292
- },
24293
- "depth": {
24294
- "type": "number"
24295
- },
24296
- "forkedFromSessionId": {
24297
- "type": "string"
24298
- },
24299
- "forkedAtMessageId": {
24300
- "type": "string"
24301
- },
24302
- "missionPrompt": {
24303
- "type": "string"
24304
- },
24305
- "treeCostUsd": {
24306
- "type": "number"
24307
- },
24308
- "name": {
24309
- "type": "string"
24310
- },
24311
- "metadata": {
24312
- "type": "object",
24313
- "propertyNames": {
24314
- "type": "string"
24315
- },
24316
- "additionalProperties": {}
24317
- },
24318
- "createdBy": {
24319
- "type": "string"
24320
- },
24321
- "createdAt": {
24322
- "type": "string",
24323
- "format": "date-time",
24324
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24325
- },
24326
- "updatedAt": {
24327
- "type": "string",
24328
- "format": "date-time",
24329
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24330
- },
24331
- "completedAt": {
24332
- "type": "string",
24333
- "format": "date-time",
24334
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24335
- },
24336
- "expiresAt": {
24337
- "type": "string",
24338
- "format": "date-time",
24339
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24340
- },
24341
- "archivedAt": {
24342
- "type": "string",
24343
- "format": "date-time",
24344
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24345
- },
24346
- "lastAgentActivityAt": {
24347
- "type": "string",
24348
- "format": "date-time",
24349
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24350
- },
24351
- "lastReadAt": {
24352
- "type": "string",
24353
- "format": "date-time",
24354
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24355
- },
24356
- "lastUserActivityAt": {
24357
- "type": "string",
24358
- "format": "date-time",
24359
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24360
- },
24361
- "harness": {
24362
- "type": "string"
24363
- },
24364
- "environmentId": {
24365
- "type": "string"
24366
- },
24367
- "size": {
24368
- "type": "string",
24369
- "enum": [
24370
- "small",
24371
- "default",
24372
- "large"
24373
- ]
24374
- },
24375
- "harnessState": {},
24376
- "definitionAppearance": {
24377
- "type": "object",
24378
- "properties": {
24379
- "name": {
24380
- "type": "string"
24381
- },
24382
- "kind": {
24383
- "type": "string",
24384
- "enum": [
24385
- "agent",
24386
- "routine"
24387
- ]
24388
- },
24389
- "label": {
24390
- "type": "string"
24391
- },
24392
- "avatar": {
24393
- "type": "object",
24394
- "properties": {
24395
- "type": {
24396
- "type": "string",
24397
- "enum": [
24398
- "octopus",
24399
- "clover",
24400
- "flower",
24401
- "triangle",
24402
- "square",
24403
- "blob",
24404
- "circle",
24405
- "drop",
24406
- "hexagon",
24407
- "pill",
24408
- "pebble",
24409
- "puddle"
24410
- ]
24411
- },
24412
- "color": {
24413
- "type": "string"
24414
- },
24415
- "expression": {
24416
- "type": "string",
24417
- "enum": [
24418
- "relaxed",
24419
- "neutral"
24420
- ]
24421
- }
24422
- },
24423
- "required": [
24424
- "type",
24425
- "color",
24426
- "expression"
24427
- ]
24428
- }
24429
- },
24430
- "required": [
24431
- "name",
24432
- "kind"
24433
- ]
24434
- },
24435
- "readThrough": {
24436
- "type": "boolean",
24437
- "const": true
24438
- },
24439
- "listCursor": {
24440
- "type": "string"
24441
- },
24442
- "nextWakeAt": {
24443
- "anyOf": [
24444
- {
24445
- "type": "string",
24446
- "format": "date-time",
24447
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24448
- },
24449
- {
24450
- "type": "null"
24451
- }
24452
- ]
24453
- }
24454
- },
24455
- "required": [
24456
- "id",
24457
- "tenantId",
24458
- "mode",
24459
- "state",
24460
- "approvalMode",
24461
- "workMode",
24462
- "focus",
24463
- "personConversation",
24464
- "workModeVersion",
24465
- "version",
24466
- "loadedToolsets",
24467
- "inferenceOverrides",
24468
- "origin",
24469
- "rootSessionId",
24470
- "depth",
24471
- "treeCostUsd",
24472
- "createdAt",
24473
- "updatedAt"
24474
- ]
24475
- },
24476
- "targetApprovalMode": {
24477
- "type": "string",
24478
- "enum": [
24479
- "manual",
24480
- "auto"
24481
- ]
24482
- }
24483
- },
24484
- "required": [
24485
- "kind",
24486
- "approvalId",
24487
- "current",
24488
- "targetApprovalMode"
24489
- ]
24490
- }
24491
- ]
24492
- }
24493
- }
24494
- }
24495
- }
24496
- },
24497
- "x-standards-permission": "agents:read"
24498
- }
24499
- },
24500
23605
  "/agents/sessions/{id}/stream": {
24501
23606
  "get": {
24502
23607
  "operationId": "agentSessions.stream",
@@ -24599,27 +23704,6 @@
24599
23704
  },
24600
23705
  "updatedAt": {
24601
23706
  "type": "number"
24602
- },
24603
- "target": {
24604
- "type": "object",
24605
- "properties": {
24606
- "phase": {
24607
- "type": "string",
24608
- "enum": [
24609
- "objects",
24610
- "fields",
24611
- "relations",
24612
- "views",
24613
- "samples"
24614
- ]
24615
- },
24616
- "objectName": {
24617
- "type": "string"
24618
- }
24619
- },
24620
- "required": [
24621
- "phase"
24622
- ]
24623
23707
  }
24624
23708
  },
24625
23709
  "required": [
@@ -33339,6 +32423,10 @@
33339
32423
  "type": "string",
33340
32424
  "maxLength": 2000
33341
32425
  },
32426
+ "bodyHtml": {
32427
+ "type": "string",
32428
+ "maxLength": 200000
32429
+ },
33342
32430
  "kind": {
33343
32431
  "type": "string",
33344
32432
  "const": "approval"
@@ -37382,7 +36470,8 @@
37382
36470
  "processing",
37383
36471
  "completed",
37384
36472
  "failed",
37385
- "unsupported"
36473
+ "unsupported",
36474
+ "skipped"
37386
36475
  ]
37387
36476
  },
37388
36477
  {
@@ -37486,7 +36575,8 @@
37486
36575
  "processing",
37487
36576
  "completed",
37488
36577
  "failed",
37489
- "unsupported"
36578
+ "unsupported",
36579
+ "skipped"
37490
36580
  ]
37491
36581
  },
37492
36582
  {
@@ -37951,9 +37041,9 @@
37951
37041
  "x-standards-permission": "documents:read"
37952
37042
  }
37953
37043
  },
37954
- "/documents/{id}/files/{fileId}/content": {
37044
+ "/documents/{id}/files/{fileId}/download-url": {
37955
37045
  "get": {
37956
- "operationId": "documents.fileContent",
37046
+ "operationId": "documents.fileDownloadUrl",
37957
37047
  "tags": [
37958
37048
  "documents"
37959
37049
  ],
@@ -37977,11 +37067,19 @@
37977
37067
  ],
37978
37068
  "responses": {
37979
37069
  "200": {
37980
- "description": "A file",
37070
+ "description": "Success",
37981
37071
  "content": {
37982
- "application/octet-stream": {
37072
+ "application/json": {
37983
37073
  "schema": {
37984
- "type": "string"
37074
+ "type": "object",
37075
+ "properties": {
37076
+ "url": {
37077
+ "type": "string"
37078
+ }
37079
+ },
37080
+ "required": [
37081
+ "url"
37082
+ ]
37985
37083
  }
37986
37084
  }
37987
37085
  }
@@ -39491,6 +38589,120 @@
39491
38589
  "x-standards-permission": "emails:read"
39492
38590
  }
39493
38591
  },
38592
+ "/emails/changes": {
38593
+ "post": {
38594
+ "operationId": "emails.changes",
38595
+ "tags": [
38596
+ "emails"
38597
+ ],
38598
+ "requestBody": {
38599
+ "required": true,
38600
+ "content": {
38601
+ "application/json": {
38602
+ "schema": {
38603
+ "type": "object",
38604
+ "properties": {
38605
+ "sinceState": {
38606
+ "type": "object",
38607
+ "propertyNames": {
38608
+ "type": "string"
38609
+ },
38610
+ "additionalProperties": {
38611
+ "type": "string",
38612
+ "pattern": "^\\d+$"
38613
+ },
38614
+ "description": "The viewer's mail state: each followed mailbox's modseq (decimal text), by mailbox id. Read before the response it travels with."
38615
+ }
38616
+ },
38617
+ "required": [
38618
+ "sinceState"
38619
+ ]
38620
+ }
38621
+ }
38622
+ }
38623
+ },
38624
+ "responses": {
38625
+ "201": {
38626
+ "description": "Success",
38627
+ "content": {
38628
+ "application/json": {
38629
+ "schema": {
38630
+ "oneOf": [
38631
+ {
38632
+ "type": "object",
38633
+ "properties": {
38634
+ "kind": {
38635
+ "type": "string",
38636
+ "const": "changes"
38637
+ },
38638
+ "newState": {
38639
+ "type": "object",
38640
+ "propertyNames": {
38641
+ "type": "string"
38642
+ },
38643
+ "additionalProperties": {
38644
+ "type": "string",
38645
+ "pattern": "^\\d+$"
38646
+ },
38647
+ "description": "The viewer's mail state: each followed mailbox's modseq (decimal text), by mailbox id. Read before the response it travels with."
38648
+ },
38649
+ "updated": {
38650
+ "type": "array",
38651
+ "items": {
38652
+ "type": "string"
38653
+ }
38654
+ },
38655
+ "destroyed": {
38656
+ "type": "array",
38657
+ "items": {
38658
+ "type": "string"
38659
+ }
38660
+ },
38661
+ "countersChanged": {
38662
+ "type": "boolean"
38663
+ }
38664
+ },
38665
+ "required": [
38666
+ "kind",
38667
+ "newState",
38668
+ "updated",
38669
+ "destroyed",
38670
+ "countersChanged"
38671
+ ]
38672
+ },
38673
+ {
38674
+ "type": "object",
38675
+ "properties": {
38676
+ "kind": {
38677
+ "type": "string",
38678
+ "const": "cannotCalculateChanges"
38679
+ },
38680
+ "newState": {
38681
+ "type": "object",
38682
+ "propertyNames": {
38683
+ "type": "string"
38684
+ },
38685
+ "additionalProperties": {
38686
+ "type": "string",
38687
+ "pattern": "^\\d+$"
38688
+ },
38689
+ "description": "The viewer's mail state: each followed mailbox's modseq (decimal text), by mailbox id. Read before the response it travels with."
38690
+ }
38691
+ },
38692
+ "required": [
38693
+ "kind",
38694
+ "newState"
38695
+ ]
38696
+ }
38697
+ ]
38698
+ }
38699
+ }
38700
+ }
38701
+ }
38702
+ },
38703
+ "x-standards-permission": "emails:read"
38704
+ }
38705
+ },
39494
38706
  "/emails/mailbox": {
39495
38707
  "post": {
39496
38708
  "operationId": "emails.mailbox",
@@ -39513,8 +38725,7 @@
39513
38725
  "important": {},
39514
38726
  "hasAttachments": {},
39515
38727
  "limit": {},
39516
- "cursor": {},
39517
- "countMode": {}
38728
+ "cursor": {}
39518
38729
  }
39519
38730
  }
39520
38731
  }
@@ -39688,6 +38899,63 @@
39688
38899
  "threadId"
39689
38900
  ]
39690
38901
  },
38902
+ "state": {
38903
+ "type": "object",
38904
+ "propertyNames": {
38905
+ "type": "string"
38906
+ },
38907
+ "additionalProperties": {
38908
+ "type": "string",
38909
+ "pattern": "^\\d+$"
38910
+ },
38911
+ "description": "The viewer's mail state: each followed mailbox's modseq (decimal text), by mailbox id. Read before the response it travels with."
38912
+ }
38913
+ },
38914
+ "required": [
38915
+ "threads"
38916
+ ]
38917
+ }
38918
+ }
38919
+ }
38920
+ }
38921
+ },
38922
+ "x-standards-permission": "emails:read"
38923
+ }
38924
+ },
38925
+ "/emails/mailbox/count": {
38926
+ "post": {
38927
+ "operationId": "emails.mailboxCount",
38928
+ "tags": [
38929
+ "emails"
38930
+ ],
38931
+ "requestBody": {
38932
+ "required": true,
38933
+ "content": {
38934
+ "application/json": {
38935
+ "schema": {
38936
+ "type": "object",
38937
+ "properties": {
38938
+ "mode": {},
38939
+ "accountId": {},
38940
+ "search": {},
38941
+ "location": {},
38942
+ "readState": {},
38943
+ "category": {},
38944
+ "important": {},
38945
+ "hasAttachments": {}
38946
+ }
38947
+ }
38948
+ }
38949
+ }
38950
+ },
38951
+ "responses": {
38952
+ "201": {
38953
+ "description": "Success",
38954
+ "content": {
38955
+ "application/json": {
38956
+ "schema": {
38957
+ "type": "object",
38958
+ "properties": {
39691
38959
  "total": {
39692
38960
  "type": [
39693
38961
  "number",
@@ -39699,8 +38967,131 @@
39699
38967
  }
39700
38968
  },
39701
38969
  "required": [
39702
- "threads",
39703
- "total"
38970
+ "total",
38971
+ "totalIsExact"
38972
+ ]
38973
+ }
38974
+ }
38975
+ }
38976
+ }
38977
+ },
38978
+ "x-standards-permission": "emails:read"
38979
+ }
38980
+ },
38981
+ "/emails/mailbox/totals": {
38982
+ "get": {
38983
+ "operationId": "emails.mailboxTotals",
38984
+ "tags": [
38985
+ "emails"
38986
+ ],
38987
+ "parameters": [
38988
+ {
38989
+ "name": "location",
38990
+ "in": "query",
38991
+ "required": false,
38992
+ "schema": {}
38993
+ },
38994
+ {
38995
+ "name": "mode",
38996
+ "in": "query",
38997
+ "required": false,
38998
+ "schema": {}
38999
+ },
39000
+ {
39001
+ "name": "numbers",
39002
+ "in": "query",
39003
+ "required": false,
39004
+ "schema": {}
39005
+ }
39006
+ ],
39007
+ "responses": {
39008
+ "200": {
39009
+ "description": "Success",
39010
+ "content": {
39011
+ "application/json": {
39012
+ "schema": {
39013
+ "type": "object",
39014
+ "properties": {
39015
+ "location": {
39016
+ "type": "string",
39017
+ "enum": [
39018
+ "inbox",
39019
+ "archived",
39020
+ "sent",
39021
+ "trash"
39022
+ ]
39023
+ },
39024
+ "mode": {
39025
+ "type": "string",
39026
+ "enum": [
39027
+ "threads",
39028
+ "messages"
39029
+ ]
39030
+ },
39031
+ "all": {
39032
+ "type": "object",
39033
+ "properties": {
39034
+ "total": {
39035
+ "description": "The rows the folder's list shows when paged to the end, a colleague's workspace threads included; null when only the badges were asked for (numbers=badges).",
39036
+ "type": [
39037
+ "number",
39038
+ "null"
39039
+ ]
39040
+ },
39041
+ "unread": {
39042
+ "type": "number",
39043
+ "description": "The unread rows of the viewer's own mailboxes and of the workspace mailboxes only: never a colleague's workspace thread (the unread badge)."
39044
+ }
39045
+ },
39046
+ "required": [
39047
+ "total",
39048
+ "unread"
39049
+ ]
39050
+ },
39051
+ "accounts": {
39052
+ "type": "array",
39053
+ "items": {
39054
+ "type": "object",
39055
+ "properties": {
39056
+ "total": {
39057
+ "description": "The rows the folder's list shows when paged to the end, a colleague's workspace threads included; null when only the badges were asked for (numbers=badges).",
39058
+ "type": [
39059
+ "number",
39060
+ "null"
39061
+ ]
39062
+ },
39063
+ "unread": {
39064
+ "type": "number",
39065
+ "description": "The unread rows of the viewer's own mailboxes and of the workspace mailboxes only: never a colleague's workspace thread (the unread badge)."
39066
+ },
39067
+ "accountId": {
39068
+ "type": "string"
39069
+ }
39070
+ },
39071
+ "required": [
39072
+ "total",
39073
+ "unread",
39074
+ "accountId"
39075
+ ]
39076
+ }
39077
+ },
39078
+ "state": {
39079
+ "type": "object",
39080
+ "propertyNames": {
39081
+ "type": "string"
39082
+ },
39083
+ "additionalProperties": {
39084
+ "type": "string",
39085
+ "pattern": "^\\d+$"
39086
+ },
39087
+ "description": "The viewer's mail state: each followed mailbox's modseq (decimal text), by mailbox id. Read before the response it travels with."
39088
+ }
39089
+ },
39090
+ "required": [
39091
+ "location",
39092
+ "mode",
39093
+ "all",
39094
+ "accounts"
39704
39095
  ]
39705
39096
  }
39706
39097
  }
@@ -40053,6 +39444,67 @@
40053
39444
  "threadId"
40054
39445
  ]
40055
39446
  },
39447
+ "state": {
39448
+ "type": "object",
39449
+ "propertyNames": {
39450
+ "type": "string"
39451
+ },
39452
+ "additionalProperties": {
39453
+ "type": "string",
39454
+ "pattern": "^\\d+$"
39455
+ },
39456
+ "description": "The viewer's mail state: each followed mailbox's modseq (decimal text), by mailbox id. Read before the response it travels with."
39457
+ }
39458
+ },
39459
+ "required": [
39460
+ "threads"
39461
+ ]
39462
+ }
39463
+ }
39464
+ }
39465
+ }
39466
+ },
39467
+ "x-standards-permission": "emails:read"
39468
+ }
39469
+ },
39470
+ "/emails/records/{recordId}/mailbox/count": {
39471
+ "post": {
39472
+ "operationId": "emails.recordMailboxCount",
39473
+ "tags": [
39474
+ "emails"
39475
+ ],
39476
+ "parameters": [
39477
+ {
39478
+ "name": "recordId",
39479
+ "in": "path",
39480
+ "required": true,
39481
+ "schema": {
39482
+ "type": "string"
39483
+ }
39484
+ }
39485
+ ],
39486
+ "requestBody": {
39487
+ "required": true,
39488
+ "content": {
39489
+ "application/json": {
39490
+ "schema": {
39491
+ "type": "object",
39492
+ "properties": {
39493
+ "emailAttributeIds": {},
39494
+ "query": {}
39495
+ }
39496
+ }
39497
+ }
39498
+ }
39499
+ },
39500
+ "responses": {
39501
+ "201": {
39502
+ "description": "Success",
39503
+ "content": {
39504
+ "application/json": {
39505
+ "schema": {
39506
+ "type": "object",
39507
+ "properties": {
40056
39508
  "total": {
40057
39509
  "type": [
40058
39510
  "number",
@@ -40064,8 +39516,8 @@
40064
39516
  }
40065
39517
  },
40066
39518
  "required": [
40067
- "threads",
40068
- "total"
39519
+ "total",
39520
+ "totalIsExact"
40069
39521
  ]
40070
39522
  }
40071
39523
  }
@@ -43463,15 +42915,15 @@
43463
42915
  "x-standards-permission": "env-vars:read"
43464
42916
  }
43465
42917
  },
43466
- "/files/{id}/content": {
43467
- "get": {
43468
- "operationId": "files.content",
42918
+ "/files/uploads/{uploadId}/abort": {
42919
+ "post": {
42920
+ "operationId": "files.abortUpload",
43469
42921
  "tags": [
43470
42922
  "files"
43471
42923
  ],
43472
42924
  "parameters": [
43473
42925
  {
43474
- "name": "id",
42926
+ "name": "uploadId",
43475
42927
  "in": "path",
43476
42928
  "required": true,
43477
42929
  "schema": {
@@ -43480,18 +42932,350 @@
43480
42932
  }
43481
42933
  ],
43482
42934
  "responses": {
43483
- "200": {
43484
- "description": "A file",
42935
+ "201": {
42936
+ "description": "Success (shape not yet declared)",
43485
42937
  "content": {
43486
- "application/octet-stream": {
42938
+ "application/json": {
42939
+ "schema": {}
42940
+ }
42941
+ }
42942
+ }
42943
+ }
42944
+ }
42945
+ },
42946
+ "/files/uploads/{uploadId}/complete": {
42947
+ "post": {
42948
+ "operationId": "files.completeUpload",
42949
+ "tags": [
42950
+ "files"
42951
+ ],
42952
+ "parameters": [
42953
+ {
42954
+ "name": "uploadId",
42955
+ "in": "path",
42956
+ "required": true,
42957
+ "schema": {
42958
+ "type": "string"
42959
+ }
42960
+ }
42961
+ ],
42962
+ "responses": {
42963
+ "201": {
42964
+ "description": "Success",
42965
+ "content": {
42966
+ "application/json": {
43487
42967
  "schema": {
43488
- "type": "string"
42968
+ "type": "object",
42969
+ "properties": {
42970
+ "file": {
42971
+ "type": "object",
42972
+ "properties": {
42973
+ "id": {
42974
+ "type": "string"
42975
+ },
42976
+ "tenantId": {
42977
+ "type": "string"
42978
+ },
42979
+ "name": {
42980
+ "type": "string"
42981
+ },
42982
+ "originalName": {
42983
+ "type": "string"
42984
+ },
42985
+ "mimeType": {
42986
+ "type": "string"
42987
+ },
42988
+ "size": {
42989
+ "type": "number"
42990
+ },
42991
+ "storageProvider": {
42992
+ "type": "string"
42993
+ },
42994
+ "storagePath": {
42995
+ "type": "string"
42996
+ },
42997
+ "storageBucket": {
42998
+ "type": "string"
42999
+ },
43000
+ "url": {
43001
+ "type": "string"
43002
+ },
43003
+ "uploadedBy": {
43004
+ "type": "string"
43005
+ },
43006
+ "folderPath": {
43007
+ "type": "string"
43008
+ },
43009
+ "deletedAt": {
43010
+ "type": "string",
43011
+ "format": "date-time",
43012
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
43013
+ },
43014
+ "documentId": {
43015
+ "type": [
43016
+ "string",
43017
+ "null"
43018
+ ]
43019
+ },
43020
+ "position": {
43021
+ "type": [
43022
+ "number",
43023
+ "null"
43024
+ ]
43025
+ },
43026
+ "ocrStatus": {
43027
+ "anyOf": [
43028
+ {
43029
+ "type": "string",
43030
+ "enum": [
43031
+ "pending",
43032
+ "processing",
43033
+ "completed",
43034
+ "failed",
43035
+ "unsupported",
43036
+ "skipped"
43037
+ ]
43038
+ },
43039
+ {
43040
+ "type": "null"
43041
+ }
43042
+ ]
43043
+ },
43044
+ "ocrText": {
43045
+ "type": [
43046
+ "string",
43047
+ "null"
43048
+ ]
43049
+ },
43050
+ "ocrConfidence": {
43051
+ "type": [
43052
+ "number",
43053
+ "null"
43054
+ ]
43055
+ },
43056
+ "processedAt": {
43057
+ "anyOf": [
43058
+ {
43059
+ "type": "string",
43060
+ "format": "date-time",
43061
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
43062
+ },
43063
+ {
43064
+ "type": "null"
43065
+ }
43066
+ ]
43067
+ },
43068
+ "isPublic": {
43069
+ "type": "boolean"
43070
+ },
43071
+ "publicUrl": {
43072
+ "type": [
43073
+ "string",
43074
+ "null"
43075
+ ]
43076
+ },
43077
+ "createdAt": {
43078
+ "type": "string",
43079
+ "format": "date-time",
43080
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
43081
+ },
43082
+ "updatedAt": {
43083
+ "type": "string",
43084
+ "format": "date-time",
43085
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
43086
+ }
43087
+ },
43088
+ "required": [
43089
+ "id",
43090
+ "tenantId",
43091
+ "name",
43092
+ "originalName",
43093
+ "mimeType",
43094
+ "size",
43095
+ "storageProvider",
43096
+ "storagePath",
43097
+ "url",
43098
+ "createdAt",
43099
+ "updatedAt"
43100
+ ]
43101
+ },
43102
+ "attached": {
43103
+ "type": "object",
43104
+ "properties": {
43105
+ "document": {
43106
+ "type": "object",
43107
+ "properties": {
43108
+ "id": {
43109
+ "type": "string"
43110
+ },
43111
+ "tenantId": {
43112
+ "type": "string"
43113
+ },
43114
+ "title": {
43115
+ "type": "string"
43116
+ },
43117
+ "kind": {
43118
+ "type": "string",
43119
+ "enum": [
43120
+ "file",
43121
+ "folder"
43122
+ ]
43123
+ },
43124
+ "parentId": {
43125
+ "type": [
43126
+ "string",
43127
+ "null"
43128
+ ]
43129
+ },
43130
+ "description": {
43131
+ "type": "string"
43132
+ },
43133
+ "contentHash": {
43134
+ "type": "string"
43135
+ },
43136
+ "createdBy": {
43137
+ "type": "string"
43138
+ },
43139
+ "updatedBy": {
43140
+ "type": "string"
43141
+ },
43142
+ "deletedAt": {
43143
+ "anyOf": [
43144
+ {
43145
+ "type": "string",
43146
+ "format": "date-time",
43147
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
43148
+ },
43149
+ {
43150
+ "type": "null"
43151
+ }
43152
+ ]
43153
+ },
43154
+ "position": {
43155
+ "type": "number"
43156
+ },
43157
+ "createdAt": {
43158
+ "type": "string",
43159
+ "format": "date-time",
43160
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
43161
+ },
43162
+ "updatedAt": {
43163
+ "type": "string",
43164
+ "format": "date-time",
43165
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
43166
+ }
43167
+ },
43168
+ "required": [
43169
+ "id",
43170
+ "tenantId",
43171
+ "title",
43172
+ "kind",
43173
+ "position",
43174
+ "createdAt",
43175
+ "updatedAt"
43176
+ ]
43177
+ },
43178
+ "file": {
43179
+ "type": "object",
43180
+ "properties": {
43181
+ "id": {
43182
+ "type": "string"
43183
+ },
43184
+ "documentId": {
43185
+ "type": "string"
43186
+ },
43187
+ "position": {
43188
+ "type": "number"
43189
+ },
43190
+ "name": {
43191
+ "type": "string"
43192
+ },
43193
+ "mimeType": {
43194
+ "type": "string"
43195
+ },
43196
+ "size": {
43197
+ "type": "number"
43198
+ },
43199
+ "ocrStatus": {
43200
+ "anyOf": [
43201
+ {
43202
+ "type": "string",
43203
+ "enum": [
43204
+ "pending",
43205
+ "processing",
43206
+ "completed",
43207
+ "failed",
43208
+ "unsupported",
43209
+ "skipped"
43210
+ ]
43211
+ },
43212
+ {
43213
+ "type": "null"
43214
+ }
43215
+ ]
43216
+ },
43217
+ "ocrText": {
43218
+ "type": [
43219
+ "string",
43220
+ "null"
43221
+ ]
43222
+ },
43223
+ "ocrConfidence": {
43224
+ "type": [
43225
+ "number",
43226
+ "null"
43227
+ ]
43228
+ },
43229
+ "processedAt": {
43230
+ "anyOf": [
43231
+ {
43232
+ "type": "string",
43233
+ "format": "date-time",
43234
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
43235
+ },
43236
+ {
43237
+ "type": "null"
43238
+ }
43239
+ ]
43240
+ }
43241
+ },
43242
+ "required": [
43243
+ "id",
43244
+ "documentId",
43245
+ "position",
43246
+ "name",
43247
+ "mimeType",
43248
+ "size",
43249
+ "ocrStatus",
43250
+ "ocrText",
43251
+ "ocrConfidence",
43252
+ "processedAt"
43253
+ ]
43254
+ },
43255
+ "action": {
43256
+ "type": "string",
43257
+ "enum": [
43258
+ "created",
43259
+ "appended",
43260
+ "linked-existing"
43261
+ ]
43262
+ }
43263
+ },
43264
+ "required": [
43265
+ "document",
43266
+ "file",
43267
+ "action"
43268
+ ]
43269
+ }
43270
+ },
43271
+ "required": [
43272
+ "file"
43273
+ ]
43489
43274
  }
43490
43275
  }
43491
43276
  }
43492
43277
  }
43493
- },
43494
- "x-standards-permission": "files:read"
43278
+ }
43495
43279
  }
43496
43280
  },
43497
43281
  "/files/{id}": {
@@ -43602,7 +43386,8 @@
43602
43386
  "processing",
43603
43387
  "completed",
43604
43388
  "failed",
43605
- "unsupported"
43389
+ "unsupported",
43390
+ "skipped"
43606
43391
  ]
43607
43392
  },
43608
43393
  {
@@ -43777,7 +43562,8 @@
43777
43562
  "processing",
43778
43563
  "completed",
43779
43564
  "failed",
43780
- "unsupported"
43565
+ "unsupported",
43566
+ "skipped"
43781
43567
  ]
43782
43568
  },
43783
43569
  {
@@ -43974,7 +43760,8 @@
43974
43760
  "processing",
43975
43761
  "completed",
43976
43762
  "failed",
43977
- "unsupported"
43763
+ "unsupported",
43764
+ "skipped"
43978
43765
  ]
43979
43766
  },
43980
43767
  {
@@ -44048,6 +43835,185 @@
44048
43835
  "x-standards-permission": "files:read"
44049
43836
  }
44050
43837
  },
43838
+ "/files/uploads": {
43839
+ "post": {
43840
+ "operationId": "files.prepareUpload",
43841
+ "tags": [
43842
+ "files"
43843
+ ],
43844
+ "requestBody": {
43845
+ "required": true,
43846
+ "content": {
43847
+ "application/json": {
43848
+ "schema": {
43849
+ "type": "object",
43850
+ "properties": {
43851
+ "idempotencyKey": {
43852
+ "type": "string",
43853
+ "format": "uuid",
43854
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
43855
+ },
43856
+ "fileName": {
43857
+ "type": "string",
43858
+ "minLength": 1
43859
+ },
43860
+ "mimeType": {
43861
+ "type": "string",
43862
+ "minLength": 1
43863
+ },
43864
+ "size": {
43865
+ "type": "integer",
43866
+ "exclusiveMinimum": 0,
43867
+ "maximum": 9007199254740991
43868
+ },
43869
+ "folderPath": {
43870
+ "type": "string"
43871
+ },
43872
+ "public": {
43873
+ "anyOf": [
43874
+ {
43875
+ "type": "boolean"
43876
+ },
43877
+ {
43878
+ "type": "string",
43879
+ "enum": [
43880
+ "true",
43881
+ "false"
43882
+ ]
43883
+ }
43884
+ ]
43885
+ },
43886
+ "protocol": {
43887
+ "type": "string",
43888
+ "enum": [
43889
+ "tus",
43890
+ "put"
43891
+ ]
43892
+ },
43893
+ "attachTo": {
43894
+ "type": "object",
43895
+ "properties": {
43896
+ "objectName": {
43897
+ "type": "string",
43898
+ "minLength": 1
43899
+ },
43900
+ "recordId": {
43901
+ "type": "string",
43902
+ "minLength": 1
43903
+ },
43904
+ "attributeName": {
43905
+ "type": "string",
43906
+ "minLength": 1
43907
+ },
43908
+ "title": {
43909
+ "type": "string"
43910
+ },
43911
+ "documentId": {
43912
+ "type": "string"
43913
+ },
43914
+ "properties": {
43915
+ "type": "string"
43916
+ },
43917
+ "parentId": {
43918
+ "type": [
43919
+ "string",
43920
+ "null"
43921
+ ]
43922
+ },
43923
+ "position": {
43924
+ "type": [
43925
+ "number",
43926
+ "string"
43927
+ ]
43928
+ }
43929
+ },
43930
+ "required": [
43931
+ "objectName",
43932
+ "recordId"
43933
+ ]
43934
+ }
43935
+ },
43936
+ "required": [
43937
+ "idempotencyKey",
43938
+ "fileName",
43939
+ "mimeType",
43940
+ "size",
43941
+ "protocol"
43942
+ ]
43943
+ }
43944
+ }
43945
+ }
43946
+ },
43947
+ "responses": {
43948
+ "201": {
43949
+ "description": "Success",
43950
+ "content": {
43951
+ "application/json": {
43952
+ "schema": {
43953
+ "type": "object",
43954
+ "properties": {
43955
+ "uploadId": {
43956
+ "type": "string"
43957
+ },
43958
+ "target": {
43959
+ "type": "object",
43960
+ "properties": {
43961
+ "protocol": {
43962
+ "type": "string",
43963
+ "enum": [
43964
+ "tus",
43965
+ "put"
43966
+ ]
43967
+ },
43968
+ "url": {
43969
+ "type": "string"
43970
+ },
43971
+ "headers": {
43972
+ "type": "object",
43973
+ "propertyNames": {
43974
+ "type": "string"
43975
+ },
43976
+ "additionalProperties": {
43977
+ "type": "string"
43978
+ }
43979
+ },
43980
+ "chunkSize": {
43981
+ "type": "integer",
43982
+ "exclusiveMinimum": 0,
43983
+ "maximum": 9007199254740991
43984
+ },
43985
+ "metadata": {
43986
+ "type": "object",
43987
+ "propertyNames": {
43988
+ "type": "string"
43989
+ },
43990
+ "additionalProperties": {
43991
+ "type": "string"
43992
+ }
43993
+ },
43994
+ "expiresAt": {
43995
+ "type": "string"
43996
+ }
43997
+ },
43998
+ "required": [
43999
+ "protocol",
44000
+ "url",
44001
+ "headers",
44002
+ "expiresAt"
44003
+ ]
44004
+ }
44005
+ },
44006
+ "required": [
44007
+ "uploadId",
44008
+ "target"
44009
+ ]
44010
+ }
44011
+ }
44012
+ }
44013
+ }
44014
+ }
44015
+ }
44016
+ },
44051
44017
  "/files/public-files-url": {
44052
44018
  "get": {
44053
44019
  "operationId": "files.publicFilesUrl",
@@ -44093,6 +44059,25 @@
44093
44059
  "schema": {
44094
44060
  "type": "string"
44095
44061
  }
44062
+ },
44063
+ {
44064
+ "name": "download",
44065
+ "in": "query",
44066
+ "required": false,
44067
+ "schema": {
44068
+ "anyOf": [
44069
+ {
44070
+ "type": "boolean"
44071
+ },
44072
+ {
44073
+ "type": "string",
44074
+ "enum": [
44075
+ "true",
44076
+ "false"
44077
+ ]
44078
+ }
44079
+ ]
44080
+ }
44096
44081
  }
44097
44082
  ],
44098
44083
  "responses": {
@@ -44183,198 +44168,6 @@
44183
44168
  "x-standards-permission": "files:read"
44184
44169
  }
44185
44170
  },
44186
- "/files/upload": {
44187
- "post": {
44188
- "operationId": "files.upload",
44189
- "tags": [
44190
- "files"
44191
- ],
44192
- "requestBody": {
44193
- "required": true,
44194
- "content": {
44195
- "multipart/form-data": {
44196
- "schema": {
44197
- "type": "object",
44198
- "properties": {
44199
- "folderPath": {
44200
- "type": "string"
44201
- },
44202
- "public": {
44203
- "anyOf": [
44204
- {
44205
- "type": "boolean"
44206
- },
44207
- {
44208
- "type": "string",
44209
- "enum": [
44210
- "true",
44211
- "false"
44212
- ]
44213
- }
44214
- ]
44215
- },
44216
- "files": {
44217
- "type": "array",
44218
- "maxItems": 10,
44219
- "items": {
44220
- "type": "string",
44221
- "contentMediaType": "application/octet-stream"
44222
- }
44223
- }
44224
- },
44225
- "required": [
44226
- "files"
44227
- ]
44228
- }
44229
- }
44230
- }
44231
- },
44232
- "responses": {
44233
- "201": {
44234
- "description": "Success",
44235
- "content": {
44236
- "application/json": {
44237
- "schema": {
44238
- "type": "array",
44239
- "items": {
44240
- "type": "object",
44241
- "properties": {
44242
- "id": {
44243
- "type": "string"
44244
- },
44245
- "tenantId": {
44246
- "type": "string"
44247
- },
44248
- "name": {
44249
- "type": "string"
44250
- },
44251
- "originalName": {
44252
- "type": "string"
44253
- },
44254
- "mimeType": {
44255
- "type": "string"
44256
- },
44257
- "size": {
44258
- "type": "number"
44259
- },
44260
- "storageProvider": {
44261
- "type": "string"
44262
- },
44263
- "storagePath": {
44264
- "type": "string"
44265
- },
44266
- "storageBucket": {
44267
- "type": "string"
44268
- },
44269
- "url": {
44270
- "type": "string"
44271
- },
44272
- "uploadedBy": {
44273
- "type": "string"
44274
- },
44275
- "folderPath": {
44276
- "type": "string"
44277
- },
44278
- "deletedAt": {
44279
- "type": "string",
44280
- "format": "date-time",
44281
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
44282
- },
44283
- "documentId": {
44284
- "type": [
44285
- "string",
44286
- "null"
44287
- ]
44288
- },
44289
- "position": {
44290
- "type": [
44291
- "number",
44292
- "null"
44293
- ]
44294
- },
44295
- "ocrStatus": {
44296
- "anyOf": [
44297
- {
44298
- "type": "string",
44299
- "enum": [
44300
- "pending",
44301
- "processing",
44302
- "completed",
44303
- "failed",
44304
- "unsupported"
44305
- ]
44306
- },
44307
- {
44308
- "type": "null"
44309
- }
44310
- ]
44311
- },
44312
- "ocrText": {
44313
- "type": [
44314
- "string",
44315
- "null"
44316
- ]
44317
- },
44318
- "ocrConfidence": {
44319
- "type": [
44320
- "number",
44321
- "null"
44322
- ]
44323
- },
44324
- "processedAt": {
44325
- "anyOf": [
44326
- {
44327
- "type": "string",
44328
- "format": "date-time",
44329
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
44330
- },
44331
- {
44332
- "type": "null"
44333
- }
44334
- ]
44335
- },
44336
- "isPublic": {
44337
- "type": "boolean"
44338
- },
44339
- "publicUrl": {
44340
- "type": [
44341
- "string",
44342
- "null"
44343
- ]
44344
- },
44345
- "createdAt": {
44346
- "type": "string",
44347
- "format": "date-time",
44348
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
44349
- },
44350
- "updatedAt": {
44351
- "type": "string",
44352
- "format": "date-time",
44353
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
44354
- }
44355
- },
44356
- "required": [
44357
- "id",
44358
- "tenantId",
44359
- "name",
44360
- "originalName",
44361
- "mimeType",
44362
- "size",
44363
- "storageProvider",
44364
- "storagePath",
44365
- "url",
44366
- "createdAt",
44367
- "updatedAt"
44368
- ]
44369
- }
44370
- }
44371
- }
44372
- }
44373
- }
44374
- },
44375
- "x-standards-permission": "files:create"
44376
- }
44377
- },
44378
44171
  "/folders/{id}/ancestors": {
44379
44172
  "get": {
44380
44173
  "operationId": "folders.ancestors",
@@ -44829,7 +44622,8 @@
44829
44622
  "processing",
44830
44623
  "completed",
44831
44624
  "failed",
44832
- "unsupported"
44625
+ "unsupported",
44626
+ "skipped"
44833
44627
  ]
44834
44628
  },
44835
44629
  {
@@ -45070,7 +44864,8 @@
45070
44864
  "processing",
45071
44865
  "completed",
45072
44866
  "failed",
45073
- "unsupported"
44867
+ "unsupported",
44868
+ "skipped"
45074
44869
  ]
45075
44870
  },
45076
44871
  {
@@ -50083,322 +49878,298 @@
50083
49878
  "kind",
50084
49879
  "harness"
50085
49880
  ]
49881
+ }
49882
+ ]
49883
+ },
49884
+ "key": {
49885
+ "oneOf": [
49886
+ {
49887
+ "type": "object",
49888
+ "properties": {
49889
+ "kind": {
49890
+ "type": "string",
49891
+ "const": "conversation"
49892
+ },
49893
+ "sessionId": {
49894
+ "type": "string"
49895
+ }
49896
+ },
49897
+ "required": [
49898
+ "kind",
49899
+ "sessionId"
49900
+ ]
50086
49901
  },
50087
49902
  {
50088
49903
  "type": "object",
50089
49904
  "properties": {
50090
49905
  "kind": {
50091
49906
  "type": "string",
50092
- "const": "none"
50093
- }
50094
- },
50095
- "required": [
50096
- "kind"
50097
- ]
50098
- }
50099
- ]
50100
- },
50101
- "key": {
50102
- "oneOf": [
50103
- {
50104
- "type": "object",
50105
- "properties": {
50106
- "kind": {
50107
- "type": "string",
50108
- "const": "conversation"
50109
- },
50110
- "sessionId": {
50111
- "type": "string"
50112
- }
50113
- },
50114
- "required": [
50115
- "kind",
50116
- "sessionId"
50117
- ]
50118
- },
50119
- {
50120
- "type": "object",
50121
- "properties": {
50122
- "kind": {
50123
- "type": "string",
50124
- "const": "run"
50125
- },
50126
- "runId": {
50127
- "type": "string"
50128
- }
50129
- },
50130
- "required": [
50131
- "kind",
50132
- "runId"
50133
- ]
50134
- },
50135
- {
50136
- "type": "object",
50137
- "properties": {
50138
- "kind": {
50139
- "type": "string",
50140
- "const": "change"
50141
- },
50142
- "branch": {
50143
- "type": "string"
50144
- }
50145
- },
50146
- "required": [
50147
- "kind",
50148
- "branch"
50149
- ]
50150
- }
50151
- ]
50152
- },
50153
- "name": {
50154
- "type": "string"
50155
- },
50156
- "status": {
50157
- "type": "string",
50158
- "enum": [
50159
- "running",
50160
- "stopped",
50161
- "destroyed"
50162
- ]
50163
- },
50164
- "vcpus": {
50165
- "type": [
50166
- "number",
50167
- "null"
50168
- ]
50169
- },
50170
- "snapshotExpiresAt": {
50171
- "type": [
50172
- "string",
50173
- "null"
50174
- ]
50175
- },
50176
- "destroyedAt": {
50177
- "type": [
50178
- "string",
50179
- "null"
50180
- ]
50181
- },
50182
- "createdAt": {
50183
- "type": "string"
50184
- }
50185
- },
50186
- "required": [
50187
- "id",
50188
- "environment",
50189
- "key",
50190
- "name",
50191
- "status",
50192
- "vcpus",
50193
- "snapshotExpiresAt",
50194
- "destroyedAt",
50195
- "createdAt"
50196
- ]
50197
- },
50198
- "links": {
50199
- "type": "array",
50200
- "items": {
50201
- "type": "object",
50202
- "properties": {
50203
- "id": {
50204
- "type": "string"
50205
- },
50206
- "machineId": {
50207
- "type": "string"
50208
- },
50209
- "slug": {
50210
- "type": "string"
50211
- },
50212
- "url": {
50213
- "type": "string"
50214
- },
50215
- "port": {
50216
- "type": "number"
50217
- },
50218
- "command": {
50219
- "type": "string"
50220
- },
50221
- "cwd": {
50222
- "type": "string"
50223
- },
50224
- "publishedBy": {
50225
- "type": "string"
50226
- },
50227
- "publishedFrom": {
50228
- "type": "object",
50229
- "properties": {
50230
- "runId": {
50231
- "type": "string"
50232
- },
50233
- "sessionId": {
50234
- "type": "string"
50235
- }
50236
- }
50237
- },
50238
- "createdAt": {
50239
- "type": "string"
50240
- },
50241
- "expiresAt": {
50242
- "type": "string"
50243
- }
50244
- },
50245
- "required": [
50246
- "id",
50247
- "machineId",
50248
- "slug",
50249
- "url",
50250
- "port",
50251
- "command",
50252
- "cwd",
50253
- "publishedBy",
50254
- "publishedFrom",
50255
- "createdAt",
50256
- "expiresAt"
50257
- ]
50258
- }
50259
- },
50260
- "lease": {
50261
- "anyOf": [
50262
- {
50263
- "type": "object",
50264
- "properties": {
50265
- "kind": {
50266
- "type": "string",
50267
- "enum": [
50268
- "run",
50269
- "turn",
50270
- "wake",
50271
- "relaunch",
50272
- "destroy"
50273
- ]
50274
- },
50275
- "label": {
50276
- "type": "string"
50277
- }
50278
- },
50279
- "required": [
50280
- "kind",
50281
- "label"
50282
- ]
50283
- },
50284
- {
50285
- "type": "null"
50286
- }
50287
- ]
50288
- },
50289
- "canDestroy": {
50290
- "type": "boolean"
50291
- },
50292
- "owner": {
50293
- "type": "object",
50294
- "properties": {
50295
- "label": {
50296
- "type": "string"
50297
- }
50298
- },
50299
- "required": [
50300
- "label"
50301
- ]
50302
- },
50303
- "pilot": {
50304
- "type": [
50305
- "string",
50306
- "null"
50307
- ]
50308
- }
50309
- },
50310
- "required": [
50311
- "machine",
50312
- "links",
50313
- "lease",
50314
- "canDestroy",
50315
- "owner",
50316
- "pilot"
50317
- ]
50318
- }
50319
- }
50320
- }
50321
- }
50322
- }
50323
- }
50324
- },
50325
- "/agents/sessions/{id}/machine": {
50326
- "get": {
50327
- "operationId": "machines.forSession",
50328
- "tags": [
50329
- "machines"
50330
- ],
50331
- "parameters": [
50332
- {
50333
- "name": "id",
50334
- "in": "path",
50335
- "required": true,
50336
- "schema": {
50337
- "type": "string"
50338
- }
50339
- }
50340
- ],
50341
- "responses": {
50342
- "200": {
50343
- "description": "Success",
50344
- "content": {
50345
- "application/json": {
50346
- "schema": {
50347
- "type": "object",
50348
- "properties": {
50349
- "machine": {
50350
- "type": "object",
50351
- "properties": {
50352
- "id": {
50353
- "type": "string"
50354
- },
50355
- "environment": {
50356
- "oneOf": [
50357
- {
50358
- "type": "object",
50359
- "properties": {
50360
- "kind": {
50361
- "type": "string",
50362
- "const": "environment"
50363
- },
50364
- "id": {
50365
- "type": "string"
50366
- }
50367
- },
50368
- "required": [
50369
- "kind",
50370
- "id"
50371
- ]
50372
- },
50373
- {
50374
- "type": "object",
50375
- "properties": {
50376
- "kind": {
50377
- "type": "string",
50378
- "const": "default"
50379
- },
50380
- "harness": {
50381
- "type": [
50382
- "string",
50383
- "null"
50384
- ]
50385
- }
50386
- },
50387
- "required": [
50388
- "kind",
50389
- "harness"
50390
- ]
50391
- },
50392
- {
50393
- "type": "object",
50394
- "properties": {
50395
- "kind": {
50396
- "type": "string",
50397
- "const": "none"
49907
+ "const": "run"
49908
+ },
49909
+ "runId": {
49910
+ "type": "string"
50398
49911
  }
50399
49912
  },
50400
49913
  "required": [
50401
- "kind"
49914
+ "kind",
49915
+ "runId"
49916
+ ]
49917
+ },
49918
+ {
49919
+ "type": "object",
49920
+ "properties": {
49921
+ "kind": {
49922
+ "type": "string",
49923
+ "const": "change"
49924
+ },
49925
+ "branch": {
49926
+ "type": "string"
49927
+ }
49928
+ },
49929
+ "required": [
49930
+ "kind",
49931
+ "branch"
49932
+ ]
49933
+ }
49934
+ ]
49935
+ },
49936
+ "name": {
49937
+ "type": "string"
49938
+ },
49939
+ "status": {
49940
+ "type": "string",
49941
+ "enum": [
49942
+ "running",
49943
+ "stopped",
49944
+ "destroyed"
49945
+ ]
49946
+ },
49947
+ "vcpus": {
49948
+ "type": [
49949
+ "number",
49950
+ "null"
49951
+ ]
49952
+ },
49953
+ "snapshotExpiresAt": {
49954
+ "type": [
49955
+ "string",
49956
+ "null"
49957
+ ]
49958
+ },
49959
+ "destroyedAt": {
49960
+ "type": [
49961
+ "string",
49962
+ "null"
49963
+ ]
49964
+ },
49965
+ "createdAt": {
49966
+ "type": "string"
49967
+ }
49968
+ },
49969
+ "required": [
49970
+ "id",
49971
+ "environment",
49972
+ "key",
49973
+ "name",
49974
+ "status",
49975
+ "vcpus",
49976
+ "snapshotExpiresAt",
49977
+ "destroyedAt",
49978
+ "createdAt"
49979
+ ]
49980
+ },
49981
+ "links": {
49982
+ "type": "array",
49983
+ "items": {
49984
+ "type": "object",
49985
+ "properties": {
49986
+ "id": {
49987
+ "type": "string"
49988
+ },
49989
+ "machineId": {
49990
+ "type": "string"
49991
+ },
49992
+ "slug": {
49993
+ "type": "string"
49994
+ },
49995
+ "url": {
49996
+ "type": "string"
49997
+ },
49998
+ "port": {
49999
+ "type": "number"
50000
+ },
50001
+ "command": {
50002
+ "type": "string"
50003
+ },
50004
+ "cwd": {
50005
+ "type": "string"
50006
+ },
50007
+ "publishedBy": {
50008
+ "type": "string"
50009
+ },
50010
+ "publishedFrom": {
50011
+ "type": "object",
50012
+ "properties": {
50013
+ "runId": {
50014
+ "type": "string"
50015
+ },
50016
+ "sessionId": {
50017
+ "type": "string"
50018
+ }
50019
+ }
50020
+ },
50021
+ "createdAt": {
50022
+ "type": "string"
50023
+ },
50024
+ "expiresAt": {
50025
+ "type": "string"
50026
+ }
50027
+ },
50028
+ "required": [
50029
+ "id",
50030
+ "machineId",
50031
+ "slug",
50032
+ "url",
50033
+ "port",
50034
+ "command",
50035
+ "cwd",
50036
+ "publishedBy",
50037
+ "publishedFrom",
50038
+ "createdAt",
50039
+ "expiresAt"
50040
+ ]
50041
+ }
50042
+ },
50043
+ "lease": {
50044
+ "anyOf": [
50045
+ {
50046
+ "type": "object",
50047
+ "properties": {
50048
+ "kind": {
50049
+ "type": "string",
50050
+ "enum": [
50051
+ "run",
50052
+ "turn",
50053
+ "wake",
50054
+ "relaunch",
50055
+ "destroy"
50056
+ ]
50057
+ },
50058
+ "label": {
50059
+ "type": "string"
50060
+ }
50061
+ },
50062
+ "required": [
50063
+ "kind",
50064
+ "label"
50065
+ ]
50066
+ },
50067
+ {
50068
+ "type": "null"
50069
+ }
50070
+ ]
50071
+ },
50072
+ "canDestroy": {
50073
+ "type": "boolean"
50074
+ },
50075
+ "owner": {
50076
+ "type": "object",
50077
+ "properties": {
50078
+ "label": {
50079
+ "type": "string"
50080
+ }
50081
+ },
50082
+ "required": [
50083
+ "label"
50084
+ ]
50085
+ },
50086
+ "pilot": {
50087
+ "type": [
50088
+ "string",
50089
+ "null"
50090
+ ]
50091
+ }
50092
+ },
50093
+ "required": [
50094
+ "machine",
50095
+ "links",
50096
+ "lease",
50097
+ "canDestroy",
50098
+ "owner",
50099
+ "pilot"
50100
+ ]
50101
+ }
50102
+ }
50103
+ }
50104
+ }
50105
+ }
50106
+ }
50107
+ },
50108
+ "/agents/sessions/{id}/machine": {
50109
+ "get": {
50110
+ "operationId": "machines.forSession",
50111
+ "tags": [
50112
+ "machines"
50113
+ ],
50114
+ "parameters": [
50115
+ {
50116
+ "name": "id",
50117
+ "in": "path",
50118
+ "required": true,
50119
+ "schema": {
50120
+ "type": "string"
50121
+ }
50122
+ }
50123
+ ],
50124
+ "responses": {
50125
+ "200": {
50126
+ "description": "Success",
50127
+ "content": {
50128
+ "application/json": {
50129
+ "schema": {
50130
+ "type": "object",
50131
+ "properties": {
50132
+ "machine": {
50133
+ "type": "object",
50134
+ "properties": {
50135
+ "id": {
50136
+ "type": "string"
50137
+ },
50138
+ "environment": {
50139
+ "oneOf": [
50140
+ {
50141
+ "type": "object",
50142
+ "properties": {
50143
+ "kind": {
50144
+ "type": "string",
50145
+ "const": "environment"
50146
+ },
50147
+ "id": {
50148
+ "type": "string"
50149
+ }
50150
+ },
50151
+ "required": [
50152
+ "kind",
50153
+ "id"
50154
+ ]
50155
+ },
50156
+ {
50157
+ "type": "object",
50158
+ "properties": {
50159
+ "kind": {
50160
+ "type": "string",
50161
+ "const": "default"
50162
+ },
50163
+ "harness": {
50164
+ "type": [
50165
+ "string",
50166
+ "null"
50167
+ ]
50168
+ }
50169
+ },
50170
+ "required": [
50171
+ "kind",
50172
+ "harness"
50402
50173
  ]
50403
50174
  }
50404
50175
  ]
@@ -50745,18 +50516,6 @@
50745
50516
  "kind",
50746
50517
  "harness"
50747
50518
  ]
50748
- },
50749
- {
50750
- "type": "object",
50751
- "properties": {
50752
- "kind": {
50753
- "type": "string",
50754
- "const": "none"
50755
- }
50756
- },
50757
- "required": [
50758
- "kind"
50759
- ]
50760
50519
  }
50761
50520
  ]
50762
50521
  },
@@ -60532,22 +60291,12 @@
60532
60291
  "auto"
60533
60292
  ]
60534
60293
  },
60535
- "workMode": {
60536
- "type": "string",
60537
- "enum": [
60538
- "execute",
60539
- "architect"
60540
- ]
60541
- },
60542
60294
  "focus": {
60543
60295
  "type": "boolean"
60544
60296
  },
60545
60297
  "personConversation": {
60546
60298
  "type": "boolean"
60547
60299
  },
60548
- "workModeVersion": {
60549
- "type": "number"
60550
- },
60551
60300
  "version": {
60552
60301
  "type": "number"
60553
60302
  },
@@ -60806,10 +60555,8 @@
60806
60555
  "mode",
60807
60556
  "state",
60808
60557
  "approvalMode",
60809
- "workMode",
60810
60558
  "focus",
60811
60559
  "personConversation",
60812
- "workModeVersion",
60813
60560
  "version",
60814
60561
  "loadedToolsets",
60815
60562
  "inferenceOverrides",
@@ -62033,233 +61780,6 @@
62033
61780
  }
62034
61781
  }
62035
61782
  },
62036
- "/records/{objectName}/{id}/documents/attach": {
62037
- "post": {
62038
- "operationId": "records.attachDocument",
62039
- "tags": [
62040
- "records"
62041
- ],
62042
- "parameters": [
62043
- {
62044
- "name": "objectName",
62045
- "in": "path",
62046
- "required": true,
62047
- "schema": {
62048
- "type": "string"
62049
- }
62050
- },
62051
- {
62052
- "name": "id",
62053
- "in": "path",
62054
- "required": true,
62055
- "schema": {
62056
- "type": "string"
62057
- }
62058
- }
62059
- ],
62060
- "requestBody": {
62061
- "required": true,
62062
- "content": {
62063
- "multipart/form-data": {
62064
- "schema": {
62065
- "type": "object",
62066
- "properties": {
62067
- "title": {},
62068
- "attributeName": {},
62069
- "documentId": {},
62070
- "properties": {},
62071
- "parentId": {},
62072
- "position": {},
62073
- "files": {
62074
- "type": "string",
62075
- "contentMediaType": "application/octet-stream"
62076
- }
62077
- },
62078
- "required": [
62079
- "files"
62080
- ]
62081
- }
62082
- }
62083
- }
62084
- },
62085
- "responses": {
62086
- "201": {
62087
- "description": "Success",
62088
- "content": {
62089
- "application/json": {
62090
- "schema": {
62091
- "type": "object",
62092
- "properties": {
62093
- "document": {
62094
- "type": "object",
62095
- "properties": {
62096
- "id": {
62097
- "type": "string"
62098
- },
62099
- "tenantId": {
62100
- "type": "string"
62101
- },
62102
- "title": {
62103
- "type": "string"
62104
- },
62105
- "kind": {
62106
- "type": "string",
62107
- "enum": [
62108
- "file",
62109
- "folder"
62110
- ]
62111
- },
62112
- "parentId": {
62113
- "type": [
62114
- "string",
62115
- "null"
62116
- ]
62117
- },
62118
- "description": {
62119
- "type": "string"
62120
- },
62121
- "contentHash": {
62122
- "type": "string"
62123
- },
62124
- "createdBy": {
62125
- "type": "string"
62126
- },
62127
- "updatedBy": {
62128
- "type": "string"
62129
- },
62130
- "deletedAt": {
62131
- "anyOf": [
62132
- {
62133
- "type": "string",
62134
- "format": "date-time",
62135
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
62136
- },
62137
- {
62138
- "type": "null"
62139
- }
62140
- ]
62141
- },
62142
- "position": {
62143
- "type": "number"
62144
- },
62145
- "createdAt": {
62146
- "type": "string",
62147
- "format": "date-time",
62148
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
62149
- },
62150
- "updatedAt": {
62151
- "type": "string",
62152
- "format": "date-time",
62153
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
62154
- }
62155
- },
62156
- "required": [
62157
- "id",
62158
- "tenantId",
62159
- "title",
62160
- "kind",
62161
- "position",
62162
- "createdAt",
62163
- "updatedAt"
62164
- ]
62165
- },
62166
- "file": {
62167
- "type": "object",
62168
- "properties": {
62169
- "id": {
62170
- "type": "string"
62171
- },
62172
- "documentId": {
62173
- "type": "string"
62174
- },
62175
- "position": {
62176
- "type": "number"
62177
- },
62178
- "name": {
62179
- "type": "string"
62180
- },
62181
- "mimeType": {
62182
- "type": "string"
62183
- },
62184
- "size": {
62185
- "type": "number"
62186
- },
62187
- "ocrStatus": {
62188
- "anyOf": [
62189
- {
62190
- "type": "string",
62191
- "enum": [
62192
- "pending",
62193
- "processing",
62194
- "completed",
62195
- "failed",
62196
- "unsupported"
62197
- ]
62198
- },
62199
- {
62200
- "type": "null"
62201
- }
62202
- ]
62203
- },
62204
- "ocrText": {
62205
- "type": [
62206
- "string",
62207
- "null"
62208
- ]
62209
- },
62210
- "ocrConfidence": {
62211
- "type": [
62212
- "number",
62213
- "null"
62214
- ]
62215
- },
62216
- "processedAt": {
62217
- "anyOf": [
62218
- {
62219
- "type": "string",
62220
- "format": "date-time",
62221
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
62222
- },
62223
- {
62224
- "type": "null"
62225
- }
62226
- ]
62227
- }
62228
- },
62229
- "required": [
62230
- "id",
62231
- "documentId",
62232
- "position",
62233
- "name",
62234
- "mimeType",
62235
- "size",
62236
- "ocrStatus",
62237
- "ocrText",
62238
- "ocrConfidence",
62239
- "processedAt"
62240
- ]
62241
- },
62242
- "action": {
62243
- "type": "string",
62244
- "enum": [
62245
- "created",
62246
- "appended",
62247
- "linked-existing"
62248
- ]
62249
- }
62250
- },
62251
- "required": [
62252
- "document",
62253
- "file",
62254
- "action"
62255
- ]
62256
- }
62257
- }
62258
- }
62259
- }
62260
- }
62261
- }
62262
- },
62263
61783
  "/records/{objectName}/{id}/documents/attach-file": {
62264
61784
  "post": {
62265
61785
  "operationId": "records.attachFile",
@@ -62426,7 +61946,8 @@
62426
61946
  "processing",
62427
61947
  "completed",
62428
61948
  "failed",
62429
- "unsupported"
61949
+ "unsupported",
61950
+ "skipped"
62430
61951
  ]
62431
61952
  },
62432
61953
  {
@@ -62852,6 +62373,9 @@
62852
62373
  "SCHEMA_BUILD_MISMATCH",
62853
62374
  "SCHEMA_SYSTEM_ENTITY_IMMUTABLE",
62854
62375
  "SCHEMA_AMBIGUOUS_CHANGE",
62376
+ "SCHEMA_STD_SYNTAX",
62377
+ "SCHEMA_STD_STALE",
62378
+ "SCHEMA_STD_UNSUPPORTED",
62855
62379
  "RECORD_GRANT_ON_WORKSPACE",
62856
62380
  "RECORD_GRANT_INVALID_ACTOR",
62857
62381
  "RECORD_GRANT_UNSHAREABLE_OBJECT",
@@ -62960,6 +62484,7 @@
62960
62484
  "MACHINE_LEASE_FENCED",
62961
62485
  "MACHINE_ENV_FILE_FAILED",
62962
62486
  "LINK_TOKEN_INVALID",
62487
+ "LINK_COMMAND_FAILED",
62963
62488
  "SANDBOX_PROVIDER_FAILED",
62964
62489
  "CLOUD_BROWSER_LAUNCH_FAILED",
62965
62490
  "CLOUD_BROWSER_PROVIDER_FAILED",
@@ -62992,6 +62517,11 @@
62992
62517
  "DOCUMENT_OCR_FAILED",
62993
62518
  "DOCUMENT_BLOB_EMPTY",
62994
62519
  "DOCUMENT_FILE_TOO_LARGE",
62520
+ "UPLOAD_NOT_FINISHED",
62521
+ "UPLOAD_IN_PROGRESS",
62522
+ "UPLOAD_CONTENT_MISMATCH",
62523
+ "PENDING_UPLOADS_LIMIT",
62524
+ "FILE_TOO_LARGE_FOR_READER",
62995
62525
  "DOCUMENT_FILE_NOT_FOUND",
62996
62526
  "DOCUMENT_FILE_ALREADY_PACKED",
62997
62527
  "DOCUMENT_RECORD_NOT_FOUND",
@@ -63309,6 +62839,9 @@
63309
62839
  "SCHEMA_BUILD_MISMATCH",
63310
62840
  "SCHEMA_SYSTEM_ENTITY_IMMUTABLE",
63311
62841
  "SCHEMA_AMBIGUOUS_CHANGE",
62842
+ "SCHEMA_STD_SYNTAX",
62843
+ "SCHEMA_STD_STALE",
62844
+ "SCHEMA_STD_UNSUPPORTED",
63312
62845
  "RECORD_GRANT_ON_WORKSPACE",
63313
62846
  "RECORD_GRANT_INVALID_ACTOR",
63314
62847
  "RECORD_GRANT_UNSHAREABLE_OBJECT",
@@ -63417,6 +62950,7 @@
63417
62950
  "MACHINE_LEASE_FENCED",
63418
62951
  "MACHINE_ENV_FILE_FAILED",
63419
62952
  "LINK_TOKEN_INVALID",
62953
+ "LINK_COMMAND_FAILED",
63420
62954
  "SANDBOX_PROVIDER_FAILED",
63421
62955
  "CLOUD_BROWSER_LAUNCH_FAILED",
63422
62956
  "CLOUD_BROWSER_PROVIDER_FAILED",
@@ -63449,6 +62983,11 @@
63449
62983
  "DOCUMENT_OCR_FAILED",
63450
62984
  "DOCUMENT_BLOB_EMPTY",
63451
62985
  "DOCUMENT_FILE_TOO_LARGE",
62986
+ "UPLOAD_NOT_FINISHED",
62987
+ "UPLOAD_IN_PROGRESS",
62988
+ "UPLOAD_CONTENT_MISMATCH",
62989
+ "PENDING_UPLOADS_LIMIT",
62990
+ "FILE_TOO_LARGE_FOR_READER",
63452
62991
  "DOCUMENT_FILE_NOT_FOUND",
63453
62992
  "DOCUMENT_FILE_ALREADY_PACKED",
63454
62993
  "DOCUMENT_RECORD_NOT_FOUND",
@@ -67622,22 +67161,11 @@
67622
67161
  "tags": [
67623
67162
  "schemaDraft"
67624
67163
  ],
67625
- "parameters": [
67626
- {
67627
- "name": "session",
67628
- "in": "query",
67629
- "required": false,
67630
- "schema": {}
67631
- }
67632
- ],
67633
67164
  "requestBody": {
67634
67165
  "required": true,
67635
67166
  "content": {
67636
67167
  "application/json": {
67637
- "schema": {
67638
- "type": "object",
67639
- "properties": {}
67640
- }
67168
+ "schema": {}
67641
67169
  }
67642
67170
  }
67643
67171
  },
@@ -67655,12 +67183,6 @@
67655
67183
  "actorId": {
67656
67184
  "type": "string"
67657
67185
  },
67658
- "agentSessionId": {
67659
- "type": [
67660
- "string",
67661
- "null"
67662
- ]
67663
- },
67664
67186
  "operations": {
67665
67187
  "type": "array",
67666
67188
  "items": {}
@@ -67821,7 +67343,6 @@
67821
67343
  "required": [
67822
67344
  "id",
67823
67345
  "actorId",
67824
- "agentSessionId",
67825
67346
  "operations",
67826
67347
  "baselines",
67827
67348
  "status",
@@ -67842,22 +67363,11 @@
67842
67363
  "tags": [
67843
67364
  "schemaDraft"
67844
67365
  ],
67845
- "parameters": [
67846
- {
67847
- "name": "session",
67848
- "in": "query",
67849
- "required": false,
67850
- "schema": {}
67851
- }
67852
- ],
67853
67366
  "requestBody": {
67854
67367
  "required": true,
67855
67368
  "content": {
67856
67369
  "application/json": {
67857
- "schema": {
67858
- "type": "object",
67859
- "properties": {}
67860
- }
67370
+ "schema": {}
67861
67371
  }
67862
67372
  }
67863
67373
  },
@@ -67920,22 +67430,11 @@
67920
67430
  "tags": [
67921
67431
  "schemaDraft"
67922
67432
  ],
67923
- "parameters": [
67924
- {
67925
- "name": "session",
67926
- "in": "query",
67927
- "required": false,
67928
- "schema": {}
67929
- }
67930
- ],
67931
67433
  "requestBody": {
67932
67434
  "required": true,
67933
67435
  "content": {
67934
67436
  "application/json": {
67935
- "schema": {
67936
- "type": "object",
67937
- "properties": {}
67938
- }
67437
+ "schema": {}
67939
67438
  }
67940
67439
  }
67941
67440
  },
@@ -67950,14 +67449,6 @@
67950
67449
  "tags": [
67951
67450
  "schemaDraft"
67952
67451
  ],
67953
- "parameters": [
67954
- {
67955
- "name": "session",
67956
- "in": "query",
67957
- "required": false,
67958
- "schema": {}
67959
- }
67960
- ],
67961
67452
  "responses": {
67962
67453
  "200": {
67963
67454
  "description": "Success",
@@ -67974,12 +67465,6 @@
67974
67465
  "actorId": {
67975
67466
  "type": "string"
67976
67467
  },
67977
- "agentSessionId": {
67978
- "type": [
67979
- "string",
67980
- "null"
67981
- ]
67982
- },
67983
67468
  "operations": {
67984
67469
  "type": "array",
67985
67470
  "items": {}
@@ -68058,7 +67543,6 @@
68058
67543
  "required": [
68059
67544
  "id",
68060
67545
  "actorId",
68061
- "agentSessionId",
68062
67546
  "operations",
68063
67547
  "baselines",
68064
67548
  "status",
@@ -68083,14 +67567,6 @@
68083
67567
  "tags": [
68084
67568
  "schemaDraft"
68085
67569
  ],
68086
- "parameters": [
68087
- {
68088
- "name": "session",
68089
- "in": "query",
68090
- "required": false,
68091
- "schema": {}
68092
- }
68093
- ],
68094
67570
  "responses": {
68095
67571
  "200": {
68096
67572
  "description": "Success",
@@ -68190,12 +67666,6 @@
68190
67666
  "schemaDraft"
68191
67667
  ],
68192
67668
  "parameters": [
68193
- {
68194
- "name": "session",
68195
- "in": "query",
68196
- "required": false,
68197
- "schema": {}
68198
- },
68199
67669
  {
68200
67670
  "name": "objectName",
68201
67671
  "in": "query",
@@ -68366,22 +67836,11 @@
68366
67836
  "tags": [
68367
67837
  "schemaDraft"
68368
67838
  ],
68369
- "parameters": [
68370
- {
68371
- "name": "session",
68372
- "in": "query",
68373
- "required": false,
68374
- "schema": {}
68375
- }
68376
- ],
68377
67839
  "requestBody": {
68378
67840
  "required": true,
68379
67841
  "content": {
68380
67842
  "application/json": {
68381
- "schema": {
68382
- "type": "object",
68383
- "properties": {}
68384
- }
67843
+ "schema": {}
68385
67844
  }
68386
67845
  }
68387
67846
  },
@@ -68466,12 +67925,6 @@
68466
67925
  "schema": {
68467
67926
  "type": "string"
68468
67927
  }
68469
- },
68470
- {
68471
- "name": "session",
68472
- "in": "query",
68473
- "required": false,
68474
- "schema": {}
68475
67928
  }
68476
67929
  ],
68477
67930
  "requestBody": {