casedev 0.68.0 → 0.69.0

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 (720) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/client.d.mts +6 -15
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -15
  5. package/client.d.ts.map +1 -1
  6. package/client.js +15 -16
  7. package/client.js.map +1 -1
  8. package/client.mjs +15 -16
  9. package/client.mjs.map +1 -1
  10. package/internal/parse.d.mts.map +1 -1
  11. package/internal/parse.d.ts.map +1 -1
  12. package/internal/parse.js +0 -10
  13. package/internal/parse.js.map +1 -1
  14. package/internal/parse.mjs +0 -10
  15. package/internal/parse.mjs.map +1 -1
  16. package/internal/request-options.d.mts +0 -2
  17. package/internal/request-options.d.mts.map +1 -1
  18. package/internal/request-options.d.ts +0 -2
  19. package/internal/request-options.d.ts.map +1 -1
  20. package/internal/request-options.js.map +1 -1
  21. package/internal/request-options.mjs.map +1 -1
  22. package/internal/tslib.js +17 -17
  23. package/package.json +9 -25
  24. package/resources/connectors/connectors.d.mts +10 -0
  25. package/resources/connectors/connectors.d.mts.map +1 -0
  26. package/resources/connectors/connectors.d.ts +10 -0
  27. package/resources/connectors/connectors.d.ts.map +1 -0
  28. package/resources/{format/format.js → connectors/connectors.js} +5 -5
  29. package/resources/connectors/connectors.js.map +1 -0
  30. package/resources/{agent/agent.mjs → connectors/connectors.mjs} +3 -3
  31. package/resources/connectors/connectors.mjs.map +1 -0
  32. package/resources/connectors/index.d.mts +3 -0
  33. package/resources/connectors/index.d.mts.map +1 -0
  34. package/resources/connectors/index.d.ts +3 -0
  35. package/resources/connectors/index.d.ts.map +1 -0
  36. package/resources/{database → connectors}/index.js +3 -3
  37. package/resources/connectors/index.js.map +1 -0
  38. package/resources/connectors/index.mjs +4 -0
  39. package/resources/connectors/index.mjs.map +1 -0
  40. package/resources/connectors/v1/connections.d.mts +109 -0
  41. package/resources/connectors/v1/connections.d.mts.map +1 -0
  42. package/resources/connectors/v1/connections.d.ts +109 -0
  43. package/resources/connectors/v1/connections.d.ts.map +1 -0
  44. package/resources/connectors/v1/connections.js +58 -0
  45. package/resources/connectors/v1/connections.js.map +1 -0
  46. package/resources/connectors/v1/connections.mjs +54 -0
  47. package/resources/connectors/v1/connections.mjs.map +1 -0
  48. package/resources/connectors/v1/index.d.mts +5 -0
  49. package/resources/connectors/v1/index.d.mts.map +1 -0
  50. package/resources/connectors/v1/index.d.ts +5 -0
  51. package/resources/connectors/v1/index.d.ts.map +1 -0
  52. package/resources/connectors/v1/index.js +13 -0
  53. package/resources/connectors/v1/index.js.map +1 -0
  54. package/resources/connectors/v1/index.mjs +6 -0
  55. package/resources/connectors/v1/index.mjs.map +1 -0
  56. package/resources/connectors/v1/installations/index.d.mts +3 -0
  57. package/resources/connectors/v1/installations/index.d.mts.map +1 -0
  58. package/resources/connectors/v1/installations/index.d.ts +3 -0
  59. package/resources/connectors/v1/installations/index.d.ts.map +1 -0
  60. package/resources/connectors/v1/installations/index.js +9 -0
  61. package/resources/connectors/v1/installations/index.js.map +1 -0
  62. package/resources/connectors/v1/installations/index.mjs +4 -0
  63. package/resources/connectors/v1/installations/index.mjs.map +1 -0
  64. package/resources/connectors/v1/installations/installations.d.mts +40 -0
  65. package/resources/connectors/v1/installations/installations.d.mts.map +1 -0
  66. package/resources/connectors/v1/installations/installations.d.ts +40 -0
  67. package/resources/connectors/v1/installations/installations.d.ts.map +1 -0
  68. package/resources/connectors/v1/installations/installations.js +43 -0
  69. package/resources/connectors/v1/installations/installations.js.map +1 -0
  70. package/resources/connectors/v1/installations/installations.mjs +38 -0
  71. package/resources/connectors/v1/installations/installations.mjs.map +1 -0
  72. package/resources/connectors/v1/installations/vaults.d.mts +56 -0
  73. package/resources/connectors/v1/installations/vaults.d.mts.map +1 -0
  74. package/resources/connectors/v1/installations/vaults.d.ts +56 -0
  75. package/resources/connectors/v1/installations/vaults.d.ts.map +1 -0
  76. package/resources/connectors/v1/installations/vaults.js +47 -0
  77. package/resources/connectors/v1/installations/vaults.js.map +1 -0
  78. package/resources/connectors/v1/installations/vaults.mjs +43 -0
  79. package/resources/connectors/v1/installations/vaults.mjs.map +1 -0
  80. package/resources/connectors/v1/installations.d.mts +2 -0
  81. package/resources/connectors/v1/installations.d.mts.map +1 -0
  82. package/resources/connectors/v1/installations.d.ts +2 -0
  83. package/resources/connectors/v1/installations.d.ts.map +1 -0
  84. package/resources/{database.js → connectors/v1/installations.js} +3 -3
  85. package/resources/connectors/v1/installations.js.map +1 -0
  86. package/resources/{database.mjs → connectors/v1/installations.mjs} +2 -2
  87. package/resources/connectors/v1/installations.mjs.map +1 -0
  88. package/resources/connectors/v1/links.d.mts +57 -0
  89. package/resources/connectors/v1/links.d.mts.map +1 -0
  90. package/resources/connectors/v1/links.d.ts +57 -0
  91. package/resources/connectors/v1/links.d.ts.map +1 -0
  92. package/resources/connectors/v1/links.js +69 -0
  93. package/resources/connectors/v1/links.js.map +1 -0
  94. package/resources/connectors/v1/links.mjs +65 -0
  95. package/resources/connectors/v1/links.mjs.map +1 -0
  96. package/resources/connectors/v1/v1.d.mts +100 -0
  97. package/resources/connectors/v1/v1.d.mts.map +1 -0
  98. package/resources/connectors/v1/v1.d.ts +100 -0
  99. package/resources/connectors/v1/v1.d.ts.map +1 -0
  100. package/resources/connectors/v1/v1.js +47 -0
  101. package/resources/connectors/v1/v1.js.map +1 -0
  102. package/resources/connectors/v1/v1.mjs +42 -0
  103. package/resources/connectors/v1/v1.mjs.map +1 -0
  104. package/resources/connectors/v1.d.mts.map +1 -0
  105. package/resources/connectors/v1.d.ts.map +1 -0
  106. package/resources/connectors/v1.js.map +1 -0
  107. package/resources/connectors/v1.mjs.map +1 -0
  108. package/resources/connectors.d.mts +2 -0
  109. package/resources/connectors.d.mts.map +1 -0
  110. package/resources/connectors.d.ts +2 -0
  111. package/resources/connectors.d.ts.map +1 -0
  112. package/resources/{agent.js → connectors.js} +2 -2
  113. package/resources/connectors.js.map +1 -0
  114. package/resources/{agent.mjs → connectors.mjs} +2 -2
  115. package/resources/connectors.mjs.map +1 -0
  116. package/resources/index.d.mts +2 -5
  117. package/resources/index.d.mts.map +1 -1
  118. package/resources/index.d.ts +2 -5
  119. package/resources/index.d.ts.map +1 -1
  120. package/resources/index.js +5 -11
  121. package/resources/index.js.map +1 -1
  122. package/resources/index.mjs +2 -5
  123. package/resources/index.mjs.map +1 -1
  124. package/resources/legal/index.d.mts +1 -1
  125. package/resources/legal/index.d.mts.map +1 -1
  126. package/resources/legal/index.d.ts +1 -1
  127. package/resources/legal/index.d.ts.map +1 -1
  128. package/resources/legal/index.js.map +1 -1
  129. package/resources/legal/index.mjs.map +1 -1
  130. package/resources/legal/legal.d.mts +2 -2
  131. package/resources/legal/legal.d.mts.map +1 -1
  132. package/resources/legal/legal.d.ts +2 -2
  133. package/resources/legal/legal.d.ts.map +1 -1
  134. package/resources/legal/legal.js.map +1 -1
  135. package/resources/legal/legal.mjs.map +1 -1
  136. package/resources/legal/v1.d.mts +3 -80
  137. package/resources/legal/v1.d.mts.map +1 -1
  138. package/resources/legal/v1.d.ts +3 -80
  139. package/resources/legal/v1.d.ts.map +1 -1
  140. package/resources/legal/v1.js +0 -8
  141. package/resources/legal/v1.js.map +1 -1
  142. package/resources/legal/v1.mjs +0 -8
  143. package/resources/legal/v1.mjs.map +1 -1
  144. package/resources/linc/index.d.mts +3 -0
  145. package/resources/linc/index.d.mts.map +1 -0
  146. package/resources/linc/index.d.ts +3 -0
  147. package/resources/linc/index.d.ts.map +1 -0
  148. package/resources/{mail → linc}/index.js +3 -3
  149. package/resources/{mail → linc}/index.js.map +1 -1
  150. package/resources/{mail → linc}/index.mjs +1 -1
  151. package/resources/{mail → linc}/index.mjs.map +1 -1
  152. package/resources/{mail/mail.d.mts → linc/linc.d.mts} +3 -3
  153. package/resources/{mail/mail.d.mts.map → linc/linc.d.mts.map} +1 -1
  154. package/resources/{mail/mail.d.ts → linc/linc.d.ts} +3 -3
  155. package/resources/{mail/mail.d.ts.map → linc/linc.d.ts.map} +1 -1
  156. package/resources/{mail/mail.js → linc/linc.js} +5 -5
  157. package/resources/{mail/mail.js.map → linc/linc.js.map} +1 -1
  158. package/resources/{mail/mail.mjs → linc/linc.mjs} +3 -3
  159. package/resources/{mail/mail.mjs.map → linc/linc.mjs.map} +1 -1
  160. package/resources/linc/v1/index.d.mts +3 -0
  161. package/resources/linc/v1/index.d.mts.map +1 -0
  162. package/resources/linc/v1/index.d.ts +3 -0
  163. package/resources/linc/v1/index.d.ts.map +1 -0
  164. package/resources/{mail → linc}/v1/index.js +3 -3
  165. package/resources/linc/v1/index.js.map +1 -0
  166. package/resources/{database → linc}/v1/index.mjs +1 -1
  167. package/resources/linc/v1/index.mjs.map +1 -0
  168. package/resources/linc/v1/sessions.d.mts +169 -0
  169. package/resources/linc/v1/sessions.d.mts.map +1 -0
  170. package/resources/linc/v1/sessions.d.ts +169 -0
  171. package/resources/linc/v1/sessions.d.ts.map +1 -0
  172. package/resources/linc/v1/sessions.js +103 -0
  173. package/resources/linc/v1/sessions.js.map +1 -0
  174. package/resources/linc/v1/sessions.mjs +99 -0
  175. package/resources/linc/v1/sessions.mjs.map +1 -0
  176. package/resources/linc/v1/v1.d.mts +10 -0
  177. package/resources/linc/v1/v1.d.mts.map +1 -0
  178. package/resources/linc/v1/v1.d.ts +10 -0
  179. package/resources/linc/v1/v1.d.ts.map +1 -0
  180. package/resources/{mail → linc}/v1/v1.js +4 -4
  181. package/resources/linc/v1/v1.js.map +1 -0
  182. package/resources/{mail → linc}/v1/v1.mjs +4 -4
  183. package/resources/linc/v1/v1.mjs.map +1 -0
  184. package/resources/{mail → linc}/v1.d.mts.map +1 -1
  185. package/resources/{mail → linc}/v1.d.ts.map +1 -1
  186. package/resources/linc/v1.js.map +1 -0
  187. package/resources/linc/v1.mjs.map +1 -0
  188. package/resources/linc.d.mts +2 -0
  189. package/resources/linc.d.mts.map +1 -0
  190. package/resources/linc.d.ts +2 -0
  191. package/resources/linc.d.ts.map +1 -0
  192. package/resources/{mail.js → linc.js} +2 -2
  193. package/resources/linc.js.map +1 -0
  194. package/resources/{mail.mjs → linc.mjs} +2 -2
  195. package/resources/linc.mjs.map +1 -0
  196. package/resources/llm/v1/chat.d.mts +3 -2
  197. package/resources/llm/v1/chat.d.mts.map +1 -1
  198. package/resources/llm/v1/chat.d.ts +3 -2
  199. package/resources/llm/v1/chat.d.ts.map +1 -1
  200. package/resources/matters/v1/index.d.mts +1 -1
  201. package/resources/matters/v1/index.d.mts.map +1 -1
  202. package/resources/matters/v1/index.d.ts +1 -1
  203. package/resources/matters/v1/index.d.ts.map +1 -1
  204. package/resources/matters/v1/index.js.map +1 -1
  205. package/resources/matters/v1/index.mjs.map +1 -1
  206. package/resources/matters/v1/v1.d.mts +2 -2
  207. package/resources/matters/v1/v1.d.mts.map +1 -1
  208. package/resources/matters/v1/v1.d.ts +2 -2
  209. package/resources/matters/v1/v1.d.ts.map +1 -1
  210. package/resources/matters/v1/v1.js.map +1 -1
  211. package/resources/matters/v1/v1.mjs.map +1 -1
  212. package/resources/matters/v1/work-items.d.mts +3 -15
  213. package/resources/matters/v1/work-items.d.mts.map +1 -1
  214. package/resources/matters/v1/work-items.d.ts +3 -15
  215. package/resources/matters/v1/work-items.d.ts.map +1 -1
  216. package/resources/matters/v1/work-items.js +1 -12
  217. package/resources/matters/v1/work-items.js.map +1 -1
  218. package/resources/matters/v1/work-items.mjs +1 -12
  219. package/resources/matters/v1/work-items.mjs.map +1 -1
  220. package/resources/media/v1/clips.d.mts +3 -0
  221. package/resources/media/v1/clips.d.mts.map +1 -1
  222. package/resources/media/v1/clips.d.ts +3 -0
  223. package/resources/media/v1/clips.d.ts.map +1 -1
  224. package/resources/media/v1/clips.js +3 -0
  225. package/resources/media/v1/clips.js.map +1 -1
  226. package/resources/media/v1/clips.mjs +3 -0
  227. package/resources/media/v1/clips.mjs.map +1 -1
  228. package/resources/media/v1/transcripts/index.d.mts +1 -0
  229. package/resources/media/v1/transcripts/index.d.mts.map +1 -1
  230. package/resources/media/v1/transcripts/index.d.ts +1 -0
  231. package/resources/media/v1/transcripts/index.d.ts.map +1 -1
  232. package/resources/media/v1/transcripts/index.js +3 -1
  233. package/resources/media/v1/transcripts/index.js.map +1 -1
  234. package/resources/media/v1/transcripts/index.mjs +1 -0
  235. package/resources/media/v1/transcripts/index.mjs.map +1 -1
  236. package/resources/media/v1/transcripts/retrieve.d.mts +70 -0
  237. package/resources/media/v1/transcripts/retrieve.d.mts.map +1 -0
  238. package/resources/media/v1/transcripts/retrieve.d.ts +70 -0
  239. package/resources/media/v1/transcripts/retrieve.d.ts.map +1 -0
  240. package/resources/media/v1/transcripts/retrieve.js +21 -0
  241. package/resources/media/v1/transcripts/retrieve.js.map +1 -0
  242. package/resources/media/v1/transcripts/retrieve.mjs +17 -0
  243. package/resources/media/v1/transcripts/retrieve.mjs.map +1 -0
  244. package/resources/media/v1/transcripts/search.d.mts +3 -0
  245. package/resources/media/v1/transcripts/search.d.mts.map +1 -1
  246. package/resources/media/v1/transcripts/search.d.ts +3 -0
  247. package/resources/media/v1/transcripts/search.d.ts.map +1 -1
  248. package/resources/media/v1/transcripts/search.js +3 -0
  249. package/resources/media/v1/transcripts/search.js.map +1 -1
  250. package/resources/media/v1/transcripts/search.mjs +3 -0
  251. package/resources/media/v1/transcripts/search.mjs.map +1 -1
  252. package/resources/media/v1/transcripts/transcripts.d.mts +4 -0
  253. package/resources/media/v1/transcripts/transcripts.d.mts.map +1 -1
  254. package/resources/media/v1/transcripts/transcripts.d.ts +4 -0
  255. package/resources/media/v1/transcripts/transcripts.d.ts.map +1 -1
  256. package/resources/media/v1/transcripts/transcripts.js +4 -0
  257. package/resources/media/v1/transcripts/transcripts.js.map +1 -1
  258. package/resources/media/v1/transcripts/transcripts.mjs +4 -0
  259. package/resources/media/v1/transcripts/transcripts.mjs.map +1 -1
  260. package/resources/ocr/v1.d.mts +4 -4
  261. package/resources/ocr/v1.d.ts +4 -4
  262. package/resources/ocr/v1.js +2 -2
  263. package/resources/ocr/v1.mjs +2 -2
  264. package/resources/search/index.d.mts +1 -1
  265. package/resources/search/index.d.mts.map +1 -1
  266. package/resources/search/index.d.ts +1 -1
  267. package/resources/search/index.d.ts.map +1 -1
  268. package/resources/search/index.js.map +1 -1
  269. package/resources/search/index.mjs.map +1 -1
  270. package/resources/search/search.d.mts +2 -2
  271. package/resources/search/search.d.mts.map +1 -1
  272. package/resources/search/search.d.ts +2 -2
  273. package/resources/search/search.d.ts.map +1 -1
  274. package/resources/search/search.js.map +1 -1
  275. package/resources/search/search.mjs.map +1 -1
  276. package/resources/search/v1.d.mts +2 -129
  277. package/resources/search/v1.d.mts.map +1 -1
  278. package/resources/search/v1.d.ts +2 -129
  279. package/resources/search/v1.d.ts.map +1 -1
  280. package/resources/search/v1.js +1 -19
  281. package/resources/search/v1.js.map +1 -1
  282. package/resources/search/v1.mjs +1 -19
  283. package/resources/search/v1.mjs.map +1 -1
  284. package/resources/translate/index.d.mts +1 -1
  285. package/resources/translate/index.d.mts.map +1 -1
  286. package/resources/translate/index.d.ts +1 -1
  287. package/resources/translate/index.d.ts.map +1 -1
  288. package/resources/translate/index.js.map +1 -1
  289. package/resources/translate/index.mjs.map +1 -1
  290. package/resources/translate/translate.d.mts +2 -2
  291. package/resources/translate/translate.d.mts.map +1 -1
  292. package/resources/translate/translate.d.ts +2 -2
  293. package/resources/translate/translate.d.ts.map +1 -1
  294. package/resources/translate/translate.js.map +1 -1
  295. package/resources/translate/translate.mjs.map +1 -1
  296. package/resources/translate/v1.d.mts +37 -1
  297. package/resources/translate/v1.d.mts.map +1 -1
  298. package/resources/translate/v1.d.ts +37 -1
  299. package/resources/translate/v1.d.ts.map +1 -1
  300. package/resources/translate/v1.js +30 -0
  301. package/resources/translate/v1.js.map +1 -1
  302. package/resources/translate/v1.mjs +30 -0
  303. package/resources/translate/v1.mjs.map +1 -1
  304. package/resources/usage/v1/v1.d.mts +10 -0
  305. package/resources/usage/v1/v1.d.mts.map +1 -1
  306. package/resources/usage/v1/v1.d.ts +10 -0
  307. package/resources/usage/v1/v1.d.ts.map +1 -1
  308. package/resources/usage/v1/v1.js.map +1 -1
  309. package/resources/usage/v1/v1.mjs.map +1 -1
  310. package/resources/vault/events/subscriptions.d.mts +1 -1
  311. package/resources/vault/events/subscriptions.d.ts +1 -1
  312. package/resources/vault/events/subscriptions.js +1 -1
  313. package/resources/vault/events/subscriptions.mjs +1 -1
  314. package/resources/vault/index.d.mts +2 -3
  315. package/resources/vault/index.d.mts.map +1 -1
  316. package/resources/vault/index.d.ts +2 -3
  317. package/resources/vault/index.d.ts.map +1 -1
  318. package/resources/vault/index.js +1 -3
  319. package/resources/vault/index.js.map +1 -1
  320. package/resources/vault/index.mjs +0 -1
  321. package/resources/vault/index.mjs.map +1 -1
  322. package/resources/vault/memory.d.mts +1 -1
  323. package/resources/vault/memory.d.ts +1 -1
  324. package/resources/vault/memory.js +1 -1
  325. package/resources/vault/memory.mjs +1 -1
  326. package/resources/vault/multipart.d.mts +94 -1
  327. package/resources/vault/multipart.d.mts.map +1 -1
  328. package/resources/vault/multipart.d.ts +94 -1
  329. package/resources/vault/multipart.d.ts.map +1 -1
  330. package/resources/vault/multipart.js +40 -0
  331. package/resources/vault/multipart.js.map +1 -1
  332. package/resources/vault/multipart.mjs +40 -0
  333. package/resources/vault/multipart.mjs.map +1 -1
  334. package/resources/vault/objects.d.mts +151 -62
  335. package/resources/vault/objects.d.mts.map +1 -1
  336. package/resources/vault/objects.d.ts +151 -62
  337. package/resources/vault/objects.d.ts.map +1 -1
  338. package/resources/vault/objects.js +48 -20
  339. package/resources/vault/objects.js.map +1 -1
  340. package/resources/vault/objects.mjs +48 -20
  341. package/resources/vault/objects.mjs.map +1 -1
  342. package/resources/vault/vault.d.mts +93 -75
  343. package/resources/vault/vault.d.mts.map +1 -1
  344. package/resources/vault/vault.d.ts +93 -75
  345. package/resources/vault/vault.d.ts.map +1 -1
  346. package/resources/vault/vault.js +22 -20
  347. package/resources/vault/vault.js.map +1 -1
  348. package/resources/vault/vault.mjs +22 -20
  349. package/resources/vault/vault.mjs.map +1 -1
  350. package/resources/voice/transcription.d.mts +19 -7
  351. package/resources/voice/transcription.d.mts.map +1 -1
  352. package/resources/voice/transcription.d.ts +19 -7
  353. package/resources/voice/transcription.d.ts.map +1 -1
  354. package/resources/voice/transcription.js +5 -3
  355. package/resources/voice/transcription.js.map +1 -1
  356. package/resources/voice/transcription.mjs +5 -3
  357. package/resources/voice/transcription.mjs.map +1 -1
  358. package/src/client.ts +18 -25
  359. package/src/internal/parse.ts +0 -14
  360. package/src/internal/request-options.ts +0 -2
  361. package/src/resources/connectors/connectors.ts +21 -0
  362. package/src/resources/connectors/index.ts +10 -0
  363. package/src/resources/connectors/v1/connections.ts +186 -0
  364. package/src/resources/connectors/v1/index.ts +31 -0
  365. package/src/resources/connectors/v1/installations/index.ts +4 -0
  366. package/src/resources/connectors/v1/installations/installations.ts +72 -0
  367. package/src/resources/connectors/v1/installations/vaults.ts +88 -0
  368. package/src/resources/{database.ts → connectors/v1/installations.ts} +1 -1
  369. package/src/resources/connectors/v1/links.ts +121 -0
  370. package/src/resources/connectors/v1/v1.ts +186 -0
  371. package/src/resources/{agent.ts → connectors.ts} +1 -1
  372. package/src/resources/index.ts +2 -5
  373. package/src/resources/legal/index.ts +0 -2
  374. package/src/resources/legal/legal.ts +0 -4
  375. package/src/resources/legal/v1.ts +2 -100
  376. package/src/resources/{mail → linc}/index.ts +1 -1
  377. package/src/resources/{mail/mail.ts → linc/linc.ts} +3 -3
  378. package/src/resources/linc/v1/index.ts +12 -0
  379. package/src/resources/linc/v1/sessions.ts +270 -0
  380. package/src/resources/linc/v1/v1.ts +31 -0
  381. package/src/resources/{mail.ts → linc.ts} +1 -1
  382. package/src/resources/llm/v1/chat.ts +3 -2
  383. package/src/resources/matters/v1/index.ts +0 -1
  384. package/src/resources/matters/v1/v1.ts +0 -2
  385. package/src/resources/matters/v1/work-items.ts +2 -28
  386. package/src/resources/media/v1/clips.ts +3 -0
  387. package/src/resources/media/v1/transcripts/index.ts +1 -0
  388. package/src/resources/media/v1/transcripts/retrieve.ts +94 -0
  389. package/src/resources/media/v1/transcripts/search.ts +3 -0
  390. package/src/resources/media/v1/transcripts/transcripts.ts +10 -0
  391. package/src/resources/ocr/v1.ts +4 -4
  392. package/src/resources/search/index.ts +0 -4
  393. package/src/resources/search/search.ts +0 -8
  394. package/src/resources/search/v1.ts +1 -172
  395. package/src/resources/translate/index.ts +1 -0
  396. package/src/resources/translate/translate.ts +2 -0
  397. package/src/resources/translate/v1.ts +56 -0
  398. package/src/resources/usage/v1/v1.ts +12 -0
  399. package/src/resources/vault/events/subscriptions.ts +1 -1
  400. package/src/resources/vault/index.ts +8 -9
  401. package/src/resources/vault/memory.ts +1 -1
  402. package/src/resources/vault/multipart.ts +126 -0
  403. package/src/resources/vault/objects.ts +218 -83
  404. package/src/resources/vault/vault.ts +123 -94
  405. package/src/resources/voice/transcription.ts +21 -7
  406. package/src/version.ts +1 -1
  407. package/version.d.mts +1 -1
  408. package/version.d.ts +1 -1
  409. package/version.js +1 -1
  410. package/version.mjs +1 -1
  411. package/core/streaming.d.mts +0 -33
  412. package/core/streaming.d.mts.map +0 -1
  413. package/core/streaming.d.ts +0 -33
  414. package/core/streaming.d.ts.map +0 -1
  415. package/core/streaming.js +0 -263
  416. package/core/streaming.js.map +0 -1
  417. package/core/streaming.mjs +0 -258
  418. package/core/streaming.mjs.map +0 -1
  419. package/internal/decoders/line.d.mts +0 -17
  420. package/internal/decoders/line.d.mts.map +0 -1
  421. package/internal/decoders/line.d.ts +0 -17
  422. package/internal/decoders/line.d.ts.map +0 -1
  423. package/internal/decoders/line.js +0 -113
  424. package/internal/decoders/line.js.map +0 -1
  425. package/internal/decoders/line.mjs +0 -108
  426. package/internal/decoders/line.mjs.map +0 -1
  427. package/resources/agent/agent.d.mts +0 -10
  428. package/resources/agent/agent.d.mts.map +0 -1
  429. package/resources/agent/agent.d.ts +0 -10
  430. package/resources/agent/agent.d.ts.map +0 -1
  431. package/resources/agent/agent.js +0 -17
  432. package/resources/agent/agent.js.map +0 -1
  433. package/resources/agent/agent.mjs.map +0 -1
  434. package/resources/agent/index.d.mts +0 -3
  435. package/resources/agent/index.d.mts.map +0 -1
  436. package/resources/agent/index.d.ts +0 -3
  437. package/resources/agent/index.d.ts.map +0 -1
  438. package/resources/agent/index.js +0 -9
  439. package/resources/agent/index.js.map +0 -1
  440. package/resources/agent/index.mjs +0 -4
  441. package/resources/agent/index.mjs.map +0 -1
  442. package/resources/agent/v1/agents.d.mts +0 -205
  443. package/resources/agent/v1/agents.d.mts.map +0 -1
  444. package/resources/agent/v1/agents.d.ts +0 -205
  445. package/resources/agent/v1/agents.d.ts.map +0 -1
  446. package/resources/agent/v1/agents.js +0 -44
  447. package/resources/agent/v1/agents.js.map +0 -1
  448. package/resources/agent/v1/agents.mjs +0 -40
  449. package/resources/agent/v1/agents.mjs.map +0 -1
  450. package/resources/agent/v1/execute.d.mts +0 -95
  451. package/resources/agent/v1/execute.d.mts.map +0 -1
  452. package/resources/agent/v1/execute.d.ts +0 -95
  453. package/resources/agent/v1/execute.d.ts.map +0 -1
  454. package/resources/agent/v1/execute.js +0 -27
  455. package/resources/agent/v1/execute.js.map +0 -1
  456. package/resources/agent/v1/execute.mjs +0 -23
  457. package/resources/agent/v1/execute.mjs.map +0 -1
  458. package/resources/agent/v1/index.d.mts +0 -5
  459. package/resources/agent/v1/index.d.mts.map +0 -1
  460. package/resources/agent/v1/index.d.ts +0 -5
  461. package/resources/agent/v1/index.d.ts.map +0 -1
  462. package/resources/agent/v1/index.js +0 -13
  463. package/resources/agent/v1/index.js.map +0 -1
  464. package/resources/agent/v1/index.mjs +0 -6
  465. package/resources/agent/v1/index.mjs.map +0 -1
  466. package/resources/agent/v1/run.d.mts +0 -304
  467. package/resources/agent/v1/run.d.mts.map +0 -1
  468. package/resources/agent/v1/run.d.ts +0 -304
  469. package/resources/agent/v1/run.d.ts.map +0 -1
  470. package/resources/agent/v1/run.js +0 -74
  471. package/resources/agent/v1/run.js.map +0 -1
  472. package/resources/agent/v1/run.mjs +0 -70
  473. package/resources/agent/v1/run.mjs.map +0 -1
  474. package/resources/agent/v1/v1.d.mts +0 -18
  475. package/resources/agent/v1/v1.d.mts.map +0 -1
  476. package/resources/agent/v1/v1.d.ts +0 -18
  477. package/resources/agent/v1/v1.d.ts.map +0 -1
  478. package/resources/agent/v1/v1.js +0 -25
  479. package/resources/agent/v1/v1.js.map +0 -1
  480. package/resources/agent/v1/v1.mjs +0 -20
  481. package/resources/agent/v1/v1.mjs.map +0 -1
  482. package/resources/agent/v1.d.mts.map +0 -1
  483. package/resources/agent/v1.d.ts.map +0 -1
  484. package/resources/agent/v1.js.map +0 -1
  485. package/resources/agent/v1.mjs.map +0 -1
  486. package/resources/agent.d.mts +0 -2
  487. package/resources/agent.d.mts.map +0 -1
  488. package/resources/agent.d.ts +0 -2
  489. package/resources/agent.d.ts.map +0 -1
  490. package/resources/agent.js.map +0 -1
  491. package/resources/agent.mjs.map +0 -1
  492. package/resources/database/database.d.mts +0 -10
  493. package/resources/database/database.d.mts.map +0 -1
  494. package/resources/database/database.d.ts +0 -10
  495. package/resources/database/database.d.ts.map +0 -1
  496. package/resources/database/database.js +0 -17
  497. package/resources/database/database.js.map +0 -1
  498. package/resources/database/database.mjs +0 -12
  499. package/resources/database/database.mjs.map +0 -1
  500. package/resources/database/index.d.mts +0 -3
  501. package/resources/database/index.d.mts.map +0 -1
  502. package/resources/database/index.d.ts +0 -3
  503. package/resources/database/index.d.ts.map +0 -1
  504. package/resources/database/index.js.map +0 -1
  505. package/resources/database/index.mjs +0 -4
  506. package/resources/database/index.mjs.map +0 -1
  507. package/resources/database/v1/index.d.mts +0 -3
  508. package/resources/database/v1/index.d.mts.map +0 -1
  509. package/resources/database/v1/index.d.ts +0 -3
  510. package/resources/database/v1/index.d.ts.map +0 -1
  511. package/resources/database/v1/index.js +0 -9
  512. package/resources/database/v1/index.js.map +0 -1
  513. package/resources/database/v1/index.mjs.map +0 -1
  514. package/resources/database/v1/projects.d.mts +0 -467
  515. package/resources/database/v1/projects.d.mts.map +0 -1
  516. package/resources/database/v1/projects.d.ts +0 -467
  517. package/resources/database/v1/projects.d.ts.map +0 -1
  518. package/resources/database/v1/projects.js +0 -125
  519. package/resources/database/v1/projects.js.map +0 -1
  520. package/resources/database/v1/projects.mjs +0 -121
  521. package/resources/database/v1/projects.mjs.map +0 -1
  522. package/resources/database/v1/v1.d.mts +0 -144
  523. package/resources/database/v1/v1.d.mts.map +0 -1
  524. package/resources/database/v1/v1.d.ts +0 -144
  525. package/resources/database/v1/v1.d.ts.map +0 -1
  526. package/resources/database/v1/v1.js +0 -33
  527. package/resources/database/v1/v1.js.map +0 -1
  528. package/resources/database/v1/v1.mjs +0 -28
  529. package/resources/database/v1/v1.mjs.map +0 -1
  530. package/resources/database/v1.d.mts.map +0 -1
  531. package/resources/database/v1.d.ts.map +0 -1
  532. package/resources/database/v1.js.map +0 -1
  533. package/resources/database/v1.mjs.map +0 -1
  534. package/resources/database.d.mts +0 -2
  535. package/resources/database.d.mts.map +0 -1
  536. package/resources/database.d.ts +0 -2
  537. package/resources/database.d.ts.map +0 -1
  538. package/resources/database.js.map +0 -1
  539. package/resources/database.mjs.map +0 -1
  540. package/resources/format/format.d.mts +0 -10
  541. package/resources/format/format.d.mts.map +0 -1
  542. package/resources/format/format.d.ts +0 -10
  543. package/resources/format/format.d.ts.map +0 -1
  544. package/resources/format/format.js.map +0 -1
  545. package/resources/format/format.mjs +0 -12
  546. package/resources/format/format.mjs.map +0 -1
  547. package/resources/format/index.d.mts +0 -3
  548. package/resources/format/index.d.mts.map +0 -1
  549. package/resources/format/index.d.ts +0 -3
  550. package/resources/format/index.d.ts.map +0 -1
  551. package/resources/format/index.js +0 -9
  552. package/resources/format/index.js.map +0 -1
  553. package/resources/format/index.mjs +0 -4
  554. package/resources/format/index.mjs.map +0 -1
  555. package/resources/format/v1/index.d.mts +0 -3
  556. package/resources/format/v1/index.d.mts.map +0 -1
  557. package/resources/format/v1/index.d.ts +0 -3
  558. package/resources/format/v1/index.d.ts.map +0 -1
  559. package/resources/format/v1/index.js +0 -9
  560. package/resources/format/v1/index.js.map +0 -1
  561. package/resources/format/v1/index.mjs +0 -4
  562. package/resources/format/v1/index.mjs.map +0 -1
  563. package/resources/format/v1/templates.d.mts +0 -160
  564. package/resources/format/v1/templates.d.mts.map +0 -1
  565. package/resources/format/v1/templates.d.ts +0 -160
  566. package/resources/format/v1/templates.d.ts.map +0 -1
  567. package/resources/format/v1/templates.js +0 -40
  568. package/resources/format/v1/templates.js.map +0 -1
  569. package/resources/format/v1/templates.mjs +0 -36
  570. package/resources/format/v1/templates.mjs.map +0 -1
  571. package/resources/format/v1/v1.d.mts +0 -73
  572. package/resources/format/v1/v1.d.mts.map +0 -1
  573. package/resources/format/v1/v1.d.ts +0 -73
  574. package/resources/format/v1/v1.d.ts.map +0 -1
  575. package/resources/format/v1/v1.js +0 -34
  576. package/resources/format/v1/v1.js.map +0 -1
  577. package/resources/format/v1/v1.mjs +0 -29
  578. package/resources/format/v1/v1.mjs.map +0 -1
  579. package/resources/format/v1.d.mts +0 -2
  580. package/resources/format/v1.d.mts.map +0 -1
  581. package/resources/format/v1.d.ts +0 -2
  582. package/resources/format/v1.d.ts.map +0 -1
  583. package/resources/format/v1.js +0 -6
  584. package/resources/format/v1.js.map +0 -1
  585. package/resources/format/v1.mjs +0 -3
  586. package/resources/format/v1.mjs.map +0 -1
  587. package/resources/format.d.mts +0 -2
  588. package/resources/format.d.mts.map +0 -1
  589. package/resources/format.d.ts +0 -2
  590. package/resources/format.d.ts.map +0 -1
  591. package/resources/format.js +0 -6
  592. package/resources/format.js.map +0 -1
  593. package/resources/format.mjs +0 -3
  594. package/resources/format.mjs.map +0 -1
  595. package/resources/mail/index.d.mts +0 -3
  596. package/resources/mail/index.d.mts.map +0 -1
  597. package/resources/mail/index.d.ts +0 -3
  598. package/resources/mail/index.d.ts.map +0 -1
  599. package/resources/mail/v1/inboxes.d.mts +0 -94
  600. package/resources/mail/v1/inboxes.d.mts.map +0 -1
  601. package/resources/mail/v1/inboxes.d.ts +0 -94
  602. package/resources/mail/v1/inboxes.d.ts.map +0 -1
  603. package/resources/mail/v1/inboxes.js +0 -118
  604. package/resources/mail/v1/inboxes.js.map +0 -1
  605. package/resources/mail/v1/inboxes.mjs +0 -114
  606. package/resources/mail/v1/inboxes.mjs.map +0 -1
  607. package/resources/mail/v1/index.d.mts +0 -3
  608. package/resources/mail/v1/index.d.mts.map +0 -1
  609. package/resources/mail/v1/index.d.ts +0 -3
  610. package/resources/mail/v1/index.d.ts.map +0 -1
  611. package/resources/mail/v1/index.js.map +0 -1
  612. package/resources/mail/v1/index.mjs +0 -4
  613. package/resources/mail/v1/index.mjs.map +0 -1
  614. package/resources/mail/v1/v1.d.mts +0 -10
  615. package/resources/mail/v1/v1.d.mts.map +0 -1
  616. package/resources/mail/v1/v1.d.ts +0 -10
  617. package/resources/mail/v1/v1.d.ts.map +0 -1
  618. package/resources/mail/v1/v1.js.map +0 -1
  619. package/resources/mail/v1/v1.mjs.map +0 -1
  620. package/resources/mail/v1.d.mts +0 -2
  621. package/resources/mail/v1.d.ts +0 -2
  622. package/resources/mail/v1.js +0 -6
  623. package/resources/mail/v1.js.map +0 -1
  624. package/resources/mail/v1.mjs +0 -3
  625. package/resources/mail/v1.mjs.map +0 -1
  626. package/resources/mail.d.mts +0 -2
  627. package/resources/mail.d.mts.map +0 -1
  628. package/resources/mail.d.ts +0 -2
  629. package/resources/mail.d.ts.map +0 -1
  630. package/resources/mail.js.map +0 -1
  631. package/resources/mail.mjs.map +0 -1
  632. package/resources/superdoc/index.d.mts +0 -3
  633. package/resources/superdoc/index.d.mts.map +0 -1
  634. package/resources/superdoc/index.d.ts +0 -3
  635. package/resources/superdoc/index.d.ts.map +0 -1
  636. package/resources/superdoc/index.js +0 -9
  637. package/resources/superdoc/index.js.map +0 -1
  638. package/resources/superdoc/index.mjs +0 -4
  639. package/resources/superdoc/index.mjs.map +0 -1
  640. package/resources/superdoc/superdoc.d.mts +0 -10
  641. package/resources/superdoc/superdoc.d.mts.map +0 -1
  642. package/resources/superdoc/superdoc.d.ts +0 -10
  643. package/resources/superdoc/superdoc.d.ts.map +0 -1
  644. package/resources/superdoc/superdoc.js +0 -17
  645. package/resources/superdoc/superdoc.js.map +0 -1
  646. package/resources/superdoc/superdoc.mjs +0 -12
  647. package/resources/superdoc/superdoc.mjs.map +0 -1
  648. package/resources/superdoc/v1.d.mts +0 -107
  649. package/resources/superdoc/v1.d.mts.map +0 -1
  650. package/resources/superdoc/v1.d.ts +0 -107
  651. package/resources/superdoc/v1.d.ts.map +0 -1
  652. package/resources/superdoc/v1.js +0 -39
  653. package/resources/superdoc/v1.js.map +0 -1
  654. package/resources/superdoc/v1.mjs +0 -35
  655. package/resources/superdoc/v1.mjs.map +0 -1
  656. package/resources/superdoc.d.mts +0 -2
  657. package/resources/superdoc.d.mts.map +0 -1
  658. package/resources/superdoc.d.ts +0 -2
  659. package/resources/superdoc.d.ts.map +0 -1
  660. package/resources/superdoc.js +0 -6
  661. package/resources/superdoc.js.map +0 -1
  662. package/resources/superdoc.mjs +0 -3
  663. package/resources/superdoc.mjs.map +0 -1
  664. package/resources/vault/graphrag.d.mts +0 -132
  665. package/resources/vault/graphrag.d.mts.map +0 -1
  666. package/resources/vault/graphrag.d.ts +0 -132
  667. package/resources/vault/graphrag.d.ts.map +0 -1
  668. package/resources/vault/graphrag.js +0 -58
  669. package/resources/vault/graphrag.js.map +0 -1
  670. package/resources/vault/graphrag.mjs +0 -54
  671. package/resources/vault/graphrag.mjs.map +0 -1
  672. package/src/core/streaming.ts +0 -315
  673. package/src/internal/decoders/line.ts +0 -135
  674. package/src/resources/agent/agent.ts +0 -15
  675. package/src/resources/agent/index.ts +0 -4
  676. package/src/resources/agent/v1/agents.ts +0 -305
  677. package/src/resources/agent/v1/execute.ts +0 -118
  678. package/src/resources/agent/v1/index.ts +0 -30
  679. package/src/resources/agent/v1/run.ts +0 -456
  680. package/src/resources/agent/v1/v1.ts +0 -79
  681. package/src/resources/database/database.ts +0 -15
  682. package/src/resources/database/index.ts +0 -4
  683. package/src/resources/database/v1/index.ts +0 -16
  684. package/src/resources/database/v1/projects.ts +0 -597
  685. package/src/resources/database/v1/v1.ts +0 -212
  686. package/src/resources/format/format.ts +0 -15
  687. package/src/resources/format/index.ts +0 -4
  688. package/src/resources/format/v1/index.ts +0 -11
  689. package/src/resources/format/v1/templates.ts +0 -210
  690. package/src/resources/format/v1/v1.ts +0 -111
  691. package/src/resources/format/v1.ts +0 -3
  692. package/src/resources/format.ts +0 -3
  693. package/src/resources/mail/v1/inboxes.ts +0 -190
  694. package/src/resources/mail/v1/index.ts +0 -11
  695. package/src/resources/mail/v1/v1.ts +0 -29
  696. package/src/resources/mail/v1.ts +0 -3
  697. package/src/resources/superdoc/index.ts +0 -4
  698. package/src/resources/superdoc/superdoc.ts +0 -15
  699. package/src/resources/superdoc/v1.ts +0 -149
  700. package/src/resources/superdoc.ts +0 -3
  701. package/src/resources/vault/graphrag.ts +0 -176
  702. package/src/streaming.ts +0 -2
  703. package/streaming.d.mts +0 -3
  704. package/streaming.d.mts.map +0 -1
  705. package/streaming.d.ts +0 -3
  706. package/streaming.d.ts.map +0 -1
  707. package/streaming.js +0 -6
  708. package/streaming.js.map +0 -1
  709. package/streaming.mjs +0 -3
  710. package/streaming.mjs.map +0 -1
  711. /package/resources/{agent → connectors}/v1.d.mts +0 -0
  712. /package/resources/{agent → connectors}/v1.d.ts +0 -0
  713. /package/resources/{agent → connectors}/v1.js +0 -0
  714. /package/resources/{agent → connectors}/v1.mjs +0 -0
  715. /package/resources/{database → linc}/v1.d.mts +0 -0
  716. /package/resources/{database → linc}/v1.d.ts +0 -0
  717. /package/resources/{database → linc}/v1.js +0 -0
  718. /package/resources/{database → linc}/v1.mjs +0 -0
  719. /package/src/resources/{agent → connectors}/v1.ts +0 -0
  720. /package/src/resources/{database → linc}/v1.ts +0 -0
@@ -1,205 +0,0 @@
1
- import { APIResource } from "../../../core/resource.js";
2
- import { APIPromise } from "../../../core/api-promise.js";
3
- import { RequestOptions } from "../../../internal/request-options.js";
4
- /**
5
- * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
6
- */
7
- export declare class Agents extends APIResource {
8
- /**
9
- * Creates a new agent definition with a scoped API key. The agent can then be used
10
- * to create and execute runs.
11
- */
12
- create(body: AgentCreateParams, options?: RequestOptions): APIPromise<AgentCreateResponse>;
13
- /**
14
- * Retrieves a single agent definition by ID.
15
- */
16
- retrieve(id: string, options?: RequestOptions): APIPromise<AgentRetrieveResponse>;
17
- /**
18
- * Updates an agent definition. Only provided fields are changed.
19
- */
20
- update(id: string, body: AgentUpdateParams, options?: RequestOptions): APIPromise<AgentUpdateResponse>;
21
- /**
22
- * Lists all active agents for the authenticated organization.
23
- */
24
- list(query?: AgentListParams | null | undefined, options?: RequestOptions): APIPromise<AgentListResponse>;
25
- /**
26
- * Soft-deletes an agent and revokes its scoped API key.
27
- */
28
- delete(id: string, options?: RequestOptions): APIPromise<AgentDeleteResponse>;
29
- }
30
- export interface AgentCreateResponse {
31
- id?: string;
32
- createdAt?: string;
33
- description?: string | null;
34
- disabledTools?: Array<string> | null;
35
- enabledTools?: Array<string> | null;
36
- instructions?: string;
37
- model?: string;
38
- name?: string;
39
- sandbox?: unknown | null;
40
- updatedAt?: string;
41
- vaultIds?: Array<string> | null;
42
- }
43
- export interface AgentRetrieveResponse {
44
- id?: string;
45
- createdAt?: string;
46
- description?: string | null;
47
- disabledTools?: Array<string> | null;
48
- enabledTools?: Array<string> | null;
49
- instructions?: string;
50
- isActive?: boolean;
51
- model?: string;
52
- name?: string;
53
- sandbox?: unknown | null;
54
- updatedAt?: string;
55
- vaultIds?: Array<string> | null;
56
- }
57
- export interface AgentUpdateResponse {
58
- id?: string;
59
- createdAt?: string;
60
- description?: string | null;
61
- disabledTools?: Array<string> | null;
62
- enabledTools?: Array<string> | null;
63
- instructions?: string;
64
- isActive?: boolean;
65
- model?: string;
66
- name?: string;
67
- sandbox?: unknown | null;
68
- updatedAt?: string;
69
- vaultGroups?: Array<string> | null;
70
- vaultIds?: Array<string> | null;
71
- }
72
- export interface AgentListResponse {
73
- agents?: Array<AgentListResponse.Agent>;
74
- hasMore?: boolean;
75
- /**
76
- * Pass as cursor to fetch the next page
77
- */
78
- nextCursor?: string | null;
79
- }
80
- export declare namespace AgentListResponse {
81
- interface Agent {
82
- id?: string;
83
- createdAt?: string;
84
- description?: string | null;
85
- isActive?: boolean;
86
- model?: string;
87
- name?: string;
88
- updatedAt?: string;
89
- vaultIds?: Array<string> | null;
90
- }
91
- }
92
- export interface AgentDeleteResponse {
93
- ok?: boolean;
94
- }
95
- export interface AgentCreateParams {
96
- /**
97
- * System instructions that define agent behavior
98
- */
99
- instructions: string;
100
- /**
101
- * Display name for the agent
102
- */
103
- name: string;
104
- /**
105
- * Optional description of the agent
106
- */
107
- description?: string;
108
- /**
109
- * Denylist of tools the agent cannot use. Mutually exclusive with enabledTools —
110
- * set one or the other, not both.
111
- */
112
- disabledTools?: Array<string> | null;
113
- /**
114
- * Allowlist of tools the agent can use. Mutually exclusive with disabledTools —
115
- * set one or the other, not both.
116
- */
117
- enabledTools?: Array<string> | null;
118
- /**
119
- * LLM model identifier (e.g. anthropic/claude-sonnet-4.6). Defaults to
120
- * anthropic/claude-sonnet-4.6
121
- */
122
- model?: string;
123
- /**
124
- * Custom sandbox configuration (cpu, memoryMiB)
125
- */
126
- sandbox?: AgentCreateParams.Sandbox | null;
127
- /**
128
- * Restrict agent to vaults within specific vault group IDs
129
- */
130
- vaultGroups?: Array<string> | null;
131
- /**
132
- * Restrict agent to specific vault IDs
133
- */
134
- vaultIds?: Array<string> | null;
135
- }
136
- export declare namespace AgentCreateParams {
137
- /**
138
- * Custom sandbox configuration (cpu, memoryMiB)
139
- */
140
- interface Sandbox {
141
- /**
142
- * Number of CPUs
143
- */
144
- cpu?: number;
145
- /**
146
- * Memory in MiB
147
- */
148
- memoryMiB?: number;
149
- }
150
- }
151
- export interface AgentUpdateParams {
152
- /**
153
- * Updated agent description. Pass null to clear if supported by the client.
154
- */
155
- description?: string | null;
156
- /**
157
- * Denylist of tools the agent cannot use. Mutually exclusive with enabledTools —
158
- * set one or the other, not both. Pass null to clear.
159
- */
160
- disabledTools?: Array<string> | null;
161
- /**
162
- * Allowlist of tools the agent can use. Mutually exclusive with disabledTools —
163
- * set one or the other, not both. Pass null to clear.
164
- */
165
- enabledTools?: Array<string> | null;
166
- /**
167
- * Updated system instructions that guide agent behavior
168
- */
169
- instructions?: string;
170
- /**
171
- * Model identifier the agent should use for future runs
172
- */
173
- model?: string;
174
- /**
175
- * Updated agent display name
176
- */
177
- name?: string;
178
- /**
179
- * Sandbox configuration override for future agent runs. Pass null to clear.
180
- */
181
- sandbox?: unknown | null;
182
- /**
183
- * Vault group IDs the agent can access. Pass null to clear.
184
- */
185
- vaultGroups?: Array<string> | null;
186
- /**
187
- * Vault IDs the agent can access directly. Pass null to clear.
188
- */
189
- vaultIds?: Array<string> | null;
190
- }
191
- export interface AgentListParams {
192
- /**
193
- * Pagination cursor (agent ID from previous page). Returns agents created before
194
- * this agent.
195
- */
196
- cursor?: string;
197
- /**
198
- * Maximum number of agents to return (default 50, max 250)
199
- */
200
- limit?: number;
201
- }
202
- export declare namespace Agents {
203
- export { type AgentCreateResponse as AgentCreateResponse, type AgentRetrieveResponse as AgentRetrieveResponse, type AgentUpdateResponse as AgentUpdateResponse, type AgentListResponse as AgentListResponse, type AgentDeleteResponse as AgentDeleteResponse, type AgentCreateParams as AgentCreateParams, type AgentUpdateParams as AgentUpdateParams, type AgentListParams as AgentListParams, };
204
- }
205
- //# sourceMappingURL=agents.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/resources/agent/v1/agents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kC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C3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -1,44 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Agents = void 0;
5
- const resource_1 = require("../../../core/resource.js");
6
- const path_1 = require("../../../internal/utils/path.js");
7
- /**
8
- * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
9
- */
10
- class Agents extends resource_1.APIResource {
11
- /**
12
- * Creates a new agent definition with a scoped API key. The agent can then be used
13
- * to create and execute runs.
14
- */
15
- create(body, options) {
16
- return this._client.post('/agent/v1/agents', { body, ...options });
17
- }
18
- /**
19
- * Retrieves a single agent definition by ID.
20
- */
21
- retrieve(id, options) {
22
- return this._client.get((0, path_1.path) `/agent/v1/agents/${id}`, options);
23
- }
24
- /**
25
- * Updates an agent definition. Only provided fields are changed.
26
- */
27
- update(id, body, options) {
28
- return this._client.patch((0, path_1.path) `/agent/v1/agents/${id}`, { body, ...options });
29
- }
30
- /**
31
- * Lists all active agents for the authenticated organization.
32
- */
33
- list(query = {}, options) {
34
- return this._client.get('/agent/v1/agents', { query, ...options });
35
- }
36
- /**
37
- * Soft-deletes an agent and revokes its scoped API key.
38
- */
39
- delete(id, options) {
40
- return this._client.delete((0, path_1.path) `/agent/v1/agents/${id}`, options);
41
- }
42
- }
43
- exports.Agents = Agents;
44
- //# sourceMappingURL=agents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../src/resources/agent/v1/agents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAAuB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AAvCD,wBAuCC"}
@@ -1,40 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- import { path } from "../../../internal/utils/path.mjs";
4
- /**
5
- * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
6
- */
7
- export class Agents extends APIResource {
8
- /**
9
- * Creates a new agent definition with a scoped API key. The agent can then be used
10
- * to create and execute runs.
11
- */
12
- create(body, options) {
13
- return this._client.post('/agent/v1/agents', { body, ...options });
14
- }
15
- /**
16
- * Retrieves a single agent definition by ID.
17
- */
18
- retrieve(id, options) {
19
- return this._client.get(path `/agent/v1/agents/${id}`, options);
20
- }
21
- /**
22
- * Updates an agent definition. Only provided fields are changed.
23
- */
24
- update(id, body, options) {
25
- return this._client.patch(path `/agent/v1/agents/${id}`, { body, ...options });
26
- }
27
- /**
28
- * Lists all active agents for the authenticated organization.
29
- */
30
- list(query = {}, options) {
31
- return this._client.get('/agent/v1/agents', { query, ...options });
32
- }
33
- /**
34
- * Soft-deletes an agent and revokes its scoped API key.
35
- */
36
- delete(id, options) {
37
- return this._client.delete(path `/agent/v1/agents/${id}`, options);
38
- }
39
- }
40
- //# sourceMappingURL=agents.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.mjs","sourceRoot":"","sources":["../../../src/resources/agent/v1/agents.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAAuB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF"}
@@ -1,95 +0,0 @@
1
- import { APIResource } from "../../../core/resource.mjs";
2
- import { APIPromise } from "../../../core/api-promise.mjs";
3
- import { RequestOptions } from "../../../internal/request-options.mjs";
4
- /**
5
- * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
6
- */
7
- export declare class Execute extends APIResource {
8
- /**
9
- * Creates an ephemeral agent and immediately executes a run. Returns the run ID
10
- * for polling status and results. This is the fastest way to run an agent without
11
- * managing agent lifecycle.
12
- *
13
- * **Ephemeral agent lifecycle:** The agent created by this endpoint is
14
- * automatically soft-deleted and its scoped API key revoked when the run completes
15
- * (whether it succeeds, fails, or times out). Ephemeral agents do not appear in
16
- * GET /agent/v1/agents listings. The returned agentId is valid only for the
17
- * duration of the run — do not store it for reuse. For persistent, reusable
18
- * agents, use POST /agent/v1/agents instead.
19
- */
20
- create(body: ExecuteCreateParams, options?: RequestOptions): APIPromise<ExecuteCreateResponse>;
21
- }
22
- export interface ExecuteCreateResponse {
23
- /**
24
- * Ephemeral agent ID (auto-created). This agent is soft-deleted when the run
25
- * completes and should not be stored for reuse.
26
- */
27
- agentId?: string;
28
- message?: string;
29
- /**
30
- * Run ID — poll /agent/v1/run/:id/status
31
- */
32
- runId?: string;
33
- status?: 'running';
34
- }
35
- export interface ExecuteCreateParams {
36
- /**
37
- * Task prompt for the agent
38
- */
39
- prompt: string;
40
- /**
41
- * Denylist of tools the agent cannot use. Mutually exclusive with enabledTools —
42
- * set one or the other, not both.
43
- */
44
- disabledTools?: Array<string> | null;
45
- /**
46
- * Allowlist of tools the agent can use. Mutually exclusive with disabledTools —
47
- * set one or the other, not both.
48
- */
49
- enabledTools?: Array<string> | null;
50
- /**
51
- * Additional context or constraints for this run
52
- */
53
- guidance?: string | null;
54
- /**
55
- * System instructions. Defaults to a general-purpose legal assistant prompt if not
56
- * provided.
57
- */
58
- instructions?: string;
59
- /**
60
- * LLM model identifier. Defaults to anthropic/claude-sonnet-4.6
61
- */
62
- model?: string;
63
- /**
64
- * Scope this run to specific vault object IDs. The agent will only access these
65
- * objects.
66
- */
67
- objectIds?: Array<string> | null;
68
- /**
69
- * Custom sandbox resources (cpu, memoryMiB)
70
- */
71
- sandbox?: ExecuteCreateParams.Sandbox | null;
72
- /**
73
- * Restrict agent to specific vault IDs
74
- */
75
- vaultIds?: Array<string> | null;
76
- }
77
- export declare namespace ExecuteCreateParams {
78
- /**
79
- * Custom sandbox resources (cpu, memoryMiB)
80
- */
81
- interface Sandbox {
82
- /**
83
- * Number of CPUs
84
- */
85
- cpu?: number;
86
- /**
87
- * Memory in MiB
88
- */
89
- memoryMiB?: number;
90
- }
91
- }
92
- export declare namespace Execute {
93
- export { type ExecuteCreateResponse as ExecuteCreateResponse, type ExecuteCreateParams as ExecuteCreateParams, };
94
- }
95
- //# sourceMappingURL=execute.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execute.d.mts","sourceRoot":"","sources":["../../../src/resources/agent/v1/execute.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAG/F;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAErC;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEpC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAC,OAAO,GAAG,IAAI,CAAC;IAE7C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CACjC;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -1,95 +0,0 @@
1
- import { APIResource } from "../../../core/resource.js";
2
- import { APIPromise } from "../../../core/api-promise.js";
3
- import { RequestOptions } from "../../../internal/request-options.js";
4
- /**
5
- * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
6
- */
7
- export declare class Execute extends APIResource {
8
- /**
9
- * Creates an ephemeral agent and immediately executes a run. Returns the run ID
10
- * for polling status and results. This is the fastest way to run an agent without
11
- * managing agent lifecycle.
12
- *
13
- * **Ephemeral agent lifecycle:** The agent created by this endpoint is
14
- * automatically soft-deleted and its scoped API key revoked when the run completes
15
- * (whether it succeeds, fails, or times out). Ephemeral agents do not appear in
16
- * GET /agent/v1/agents listings. The returned agentId is valid only for the
17
- * duration of the run — do not store it for reuse. For persistent, reusable
18
- * agents, use POST /agent/v1/agents instead.
19
- */
20
- create(body: ExecuteCreateParams, options?: RequestOptions): APIPromise<ExecuteCreateResponse>;
21
- }
22
- export interface ExecuteCreateResponse {
23
- /**
24
- * Ephemeral agent ID (auto-created). This agent is soft-deleted when the run
25
- * completes and should not be stored for reuse.
26
- */
27
- agentId?: string;
28
- message?: string;
29
- /**
30
- * Run ID — poll /agent/v1/run/:id/status
31
- */
32
- runId?: string;
33
- status?: 'running';
34
- }
35
- export interface ExecuteCreateParams {
36
- /**
37
- * Task prompt for the agent
38
- */
39
- prompt: string;
40
- /**
41
- * Denylist of tools the agent cannot use. Mutually exclusive with enabledTools —
42
- * set one or the other, not both.
43
- */
44
- disabledTools?: Array<string> | null;
45
- /**
46
- * Allowlist of tools the agent can use. Mutually exclusive with disabledTools —
47
- * set one or the other, not both.
48
- */
49
- enabledTools?: Array<string> | null;
50
- /**
51
- * Additional context or constraints for this run
52
- */
53
- guidance?: string | null;
54
- /**
55
- * System instructions. Defaults to a general-purpose legal assistant prompt if not
56
- * provided.
57
- */
58
- instructions?: string;
59
- /**
60
- * LLM model identifier. Defaults to anthropic/claude-sonnet-4.6
61
- */
62
- model?: string;
63
- /**
64
- * Scope this run to specific vault object IDs. The agent will only access these
65
- * objects.
66
- */
67
- objectIds?: Array<string> | null;
68
- /**
69
- * Custom sandbox resources (cpu, memoryMiB)
70
- */
71
- sandbox?: ExecuteCreateParams.Sandbox | null;
72
- /**
73
- * Restrict agent to specific vault IDs
74
- */
75
- vaultIds?: Array<string> | null;
76
- }
77
- export declare namespace ExecuteCreateParams {
78
- /**
79
- * Custom sandbox resources (cpu, memoryMiB)
80
- */
81
- interface Sandbox {
82
- /**
83
- * Number of CPUs
84
- */
85
- cpu?: number;
86
- /**
87
- * Memory in MiB
88
- */
89
- memoryMiB?: number;
90
- }
91
- }
92
- export declare namespace Execute {
93
- export { type ExecuteCreateResponse as ExecuteCreateResponse, type ExecuteCreateParams as ExecuteCreateParams, };
94
- }
95
- //# sourceMappingURL=execute.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../src/resources/agent/v1/execute.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAEnE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAG/F;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAErC;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEpC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAC,OAAO,GAAG,IAAI,CAAC;IAE7C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CACjC;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Execute = void 0;
5
- const resource_1 = require("../../../core/resource.js");
6
- /**
7
- * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
8
- */
9
- class Execute extends resource_1.APIResource {
10
- /**
11
- * Creates an ephemeral agent and immediately executes a run. Returns the run ID
12
- * for polling status and results. This is the fastest way to run an agent without
13
- * managing agent lifecycle.
14
- *
15
- * **Ephemeral agent lifecycle:** The agent created by this endpoint is
16
- * automatically soft-deleted and its scoped API key revoked when the run completes
17
- * (whether it succeeds, fails, or times out). Ephemeral agents do not appear in
18
- * GET /agent/v1/agents listings. The returned agentId is valid only for the
19
- * duration of the run — do not store it for reuse. For persistent, reusable
20
- * agents, use POST /agent/v1/agents instead.
21
- */
22
- create(body, options) {
23
- return this._client.post('/agent/v1/execute', { body, ...options });
24
- }
25
- }
26
- exports.Execute = Execute;
27
- //# sourceMappingURL=execute.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../src/resources/agent/v1/execute.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF;AAhBD,0BAgBC"}
@@ -1,23 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- /**
4
- * Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
5
- */
6
- export class Execute extends APIResource {
7
- /**
8
- * Creates an ephemeral agent and immediately executes a run. Returns the run ID
9
- * for polling status and results. This is the fastest way to run an agent without
10
- * managing agent lifecycle.
11
- *
12
- * **Ephemeral agent lifecycle:** The agent created by this endpoint is
13
- * automatically soft-deleted and its scoped API key revoked when the run completes
14
- * (whether it succeeds, fails, or times out). Ephemeral agents do not appear in
15
- * GET /agent/v1/agents listings. The returned agentId is valid only for the
16
- * duration of the run — do not store it for reuse. For persistent, reusable
17
- * agents, use POST /agent/v1/agents instead.
18
- */
19
- create(body, options) {
20
- return this._client.post('/agent/v1/execute', { body, ...options });
21
- }
22
- }
23
- //# sourceMappingURL=execute.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execute.mjs","sourceRoot":"","sources":["../../../src/resources/agent/v1/execute.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAIrD;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF"}
@@ -1,5 +0,0 @@
1
- export { Agents, type AgentCreateResponse, type AgentRetrieveResponse, type AgentUpdateResponse, type AgentListResponse, type AgentDeleteResponse, type AgentCreateParams, type AgentUpdateParams, type AgentListParams, } from "./agents.mjs";
2
- export { Execute, type ExecuteCreateResponse, type ExecuteCreateParams } from "./execute.mjs";
3
- export { Run, type RunCreateResponse, type RunListResponse, type RunCancelResponse, type RunEventsResponse, type RunExecResponse, type RunGetDetailsResponse, type RunGetStatusResponse, type RunWatchResponse, type RunCreateParams, type RunListParams, type RunEventsParams, type RunWatchParams, } from "./run.mjs";
4
- export { V1 } from "./v1.mjs";
5
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/agent/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB,qBAAiB;AAClB,OAAO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE,sBAAkB;AAC1F,OAAO,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,kBAAc;AACf,OAAO,EAAE,EAAE,EAAE,iBAAa"}
@@ -1,5 +0,0 @@
1
- export { Agents, type AgentCreateResponse, type AgentRetrieveResponse, type AgentUpdateResponse, type AgentListResponse, type AgentDeleteResponse, type AgentCreateParams, type AgentUpdateParams, type AgentListParams, } from "./agents.js";
2
- export { Execute, type ExecuteCreateResponse, type ExecuteCreateParams } from "./execute.js";
3
- export { Run, type RunCreateResponse, type RunListResponse, type RunCancelResponse, type RunEventsResponse, type RunExecResponse, type RunGetDetailsResponse, type RunGetStatusResponse, type RunWatchResponse, type RunCreateParams, type RunListParams, type RunEventsParams, type RunWatchParams, } from "./run.js";
4
- export { V1 } from "./v1.js";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/agent/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB,oBAAiB;AAClB,OAAO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE,qBAAkB;AAC1F,OAAO,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,iBAAc;AACf,OAAO,EAAE,EAAE,EAAE,gBAAa"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.V1 = exports.Run = exports.Execute = exports.Agents = void 0;
5
- var agents_1 = require("./agents.js");
6
- Object.defineProperty(exports, "Agents", { enumerable: true, get: function () { return agents_1.Agents; } });
7
- var execute_1 = require("./execute.js");
8
- Object.defineProperty(exports, "Execute", { enumerable: true, get: function () { return execute_1.Execute; } });
9
- var run_1 = require("./run.js");
10
- Object.defineProperty(exports, "Run", { enumerable: true, get: function () { return run_1.Run; } });
11
- var v1_1 = require("./v1.js");
12
- Object.defineProperty(exports, "V1", { enumerable: true, get: function () { return v1_1.V1; } });
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/agent/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAUkB;AAThB,gGAAA,MAAM,OAAA;AAUR,wCAA0F;AAAjF,kGAAA,OAAO,OAAA;AAChB,gCAce;AAbb,0FAAA,GAAG,OAAA;AAcL,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
@@ -1,6 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { Agents, } from "./agents.mjs";
3
- export { Execute } from "./execute.mjs";
4
- export { Run, } from "./run.mjs";
5
- export { V1 } from "./v1.mjs";
6
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/agent/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,MAAM,GASP,qBAAiB;AAClB,OAAO,EAAE,OAAO,EAAwD,sBAAkB;AAC1F,OAAO,EACL,GAAG,GAaJ,kBAAc;AACf,OAAO,EAAE,EAAE,EAAE,iBAAa"}