casedev 0.1.0 → 0.3.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 (494) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/LICENSE +1 -1
  3. package/README.md +3 -1
  4. package/client.d.mts +4 -16
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +4 -16
  7. package/client.d.ts.map +1 -1
  8. package/client.js +0 -12
  9. package/client.js.map +1 -1
  10. package/client.mjs +0 -12
  11. package/client.mjs.map +1 -1
  12. package/package.json +1 -1
  13. package/resources/compute/compute.d.mts +2 -2
  14. package/resources/compute/compute.d.mts.map +1 -1
  15. package/resources/compute/compute.d.ts +2 -2
  16. package/resources/compute/compute.d.ts.map +1 -1
  17. package/resources/compute/compute.js.map +1 -1
  18. package/resources/compute/compute.mjs.map +1 -1
  19. package/resources/compute/index.d.mts +1 -1
  20. package/resources/compute/index.d.mts.map +1 -1
  21. package/resources/compute/index.d.ts +1 -1
  22. package/resources/compute/index.d.ts.map +1 -1
  23. package/resources/compute/index.js.map +1 -1
  24. package/resources/compute/index.mjs.map +1 -1
  25. package/resources/compute/v1/environments.d.mts +119 -9
  26. package/resources/compute/v1/environments.d.mts.map +1 -1
  27. package/resources/compute/v1/environments.d.ts +119 -9
  28. package/resources/compute/v1/environments.d.ts.map +1 -1
  29. package/resources/compute/v1/environments.js +11 -18
  30. package/resources/compute/v1/environments.js.map +1 -1
  31. package/resources/compute/v1/environments.mjs +11 -18
  32. package/resources/compute/v1/environments.mjs.map +1 -1
  33. package/resources/compute/v1/functions.d.mts +0 -39
  34. package/resources/compute/v1/functions.d.mts.map +1 -1
  35. package/resources/compute/v1/functions.d.ts +0 -39
  36. package/resources/compute/v1/functions.d.ts.map +1 -1
  37. package/resources/compute/v1/functions.js +0 -36
  38. package/resources/compute/v1/functions.js.map +1 -1
  39. package/resources/compute/v1/functions.mjs +0 -36
  40. package/resources/compute/v1/functions.mjs.map +1 -1
  41. package/resources/compute/v1/index.d.mts +6 -6
  42. package/resources/compute/v1/index.d.mts.map +1 -1
  43. package/resources/compute/v1/index.d.ts +6 -6
  44. package/resources/compute/v1/index.d.ts.map +1 -1
  45. package/resources/compute/v1/index.js.map +1 -1
  46. package/resources/compute/v1/index.mjs.map +1 -1
  47. package/resources/compute/v1/invoke.d.mts +0 -69
  48. package/resources/compute/v1/invoke.d.mts.map +1 -1
  49. package/resources/compute/v1/invoke.d.ts +0 -69
  50. package/resources/compute/v1/invoke.d.ts.map +1 -1
  51. package/resources/compute/v1/invoke.js +0 -18
  52. package/resources/compute/v1/invoke.js.map +1 -1
  53. package/resources/compute/v1/invoke.mjs +0 -18
  54. package/resources/compute/v1/invoke.mjs.map +1 -1
  55. package/resources/compute/v1/runs.d.mts +0 -41
  56. package/resources/compute/v1/runs.d.mts.map +1 -1
  57. package/resources/compute/v1/runs.d.ts +0 -41
  58. package/resources/compute/v1/runs.d.ts.map +1 -1
  59. package/resources/compute/v1/runs.js +0 -35
  60. package/resources/compute/v1/runs.js.map +1 -1
  61. package/resources/compute/v1/runs.mjs +0 -35
  62. package/resources/compute/v1/runs.mjs.map +1 -1
  63. package/resources/compute/v1/secrets.d.mts +101 -19
  64. package/resources/compute/v1/secrets.d.mts.map +1 -1
  65. package/resources/compute/v1/secrets.d.ts +101 -19
  66. package/resources/compute/v1/secrets.d.ts.map +1 -1
  67. package/resources/compute/v1/secrets.js +19 -35
  68. package/resources/compute/v1/secrets.js.map +1 -1
  69. package/resources/compute/v1/secrets.mjs +19 -35
  70. package/resources/compute/v1/secrets.mjs.map +1 -1
  71. package/resources/compute/v1/v1.d.mts +40 -190
  72. package/resources/compute/v1/v1.d.mts.map +1 -1
  73. package/resources/compute/v1/v1.d.ts +40 -190
  74. package/resources/compute/v1/v1.d.ts.map +1 -1
  75. package/resources/compute/v1/v1.js +5 -26
  76. package/resources/compute/v1/v1.js.map +1 -1
  77. package/resources/compute/v1/v1.mjs +5 -26
  78. package/resources/compute/v1/v1.mjs.map +1 -1
  79. package/resources/format/v1/index.d.mts +1 -1
  80. package/resources/format/v1/index.d.mts.map +1 -1
  81. package/resources/format/v1/index.d.ts +1 -1
  82. package/resources/format/v1/index.d.ts.map +1 -1
  83. package/resources/format/v1/index.js.map +1 -1
  84. package/resources/format/v1/index.mjs.map +1 -1
  85. package/resources/format/v1/templates.d.mts +72 -3
  86. package/resources/format/v1/templates.d.mts.map +1 -1
  87. package/resources/format/v1/templates.d.ts +72 -3
  88. package/resources/format/v1/templates.d.ts.map +1 -1
  89. package/resources/format/v1/templates.js +2 -10
  90. package/resources/format/v1/templates.js.map +1 -1
  91. package/resources/format/v1/templates.mjs +2 -10
  92. package/resources/format/v1/templates.mjs.map +1 -1
  93. package/resources/format/v1/v1.d.mts +2 -2
  94. package/resources/format/v1/v1.d.mts.map +1 -1
  95. package/resources/format/v1/v1.d.ts +2 -2
  96. package/resources/format/v1/v1.d.ts.map +1 -1
  97. package/resources/format/v1/v1.js.map +1 -1
  98. package/resources/format/v1/v1.mjs +1 -1
  99. package/resources/format/v1/v1.mjs.map +1 -1
  100. package/resources/index.d.mts +2 -6
  101. package/resources/index.d.mts.map +1 -1
  102. package/resources/index.d.ts +2 -6
  103. package/resources/index.d.ts.map +1 -1
  104. package/resources/index.js +1 -9
  105. package/resources/index.js.map +1 -1
  106. package/resources/index.mjs +0 -4
  107. package/resources/index.mjs.map +1 -1
  108. package/resources/llm/index.d.mts +2 -2
  109. package/resources/llm/index.d.mts.map +1 -1
  110. package/resources/llm/index.d.ts +2 -2
  111. package/resources/llm/index.d.ts.map +1 -1
  112. package/resources/llm/index.js.map +1 -1
  113. package/resources/llm/index.mjs +1 -1
  114. package/resources/llm/index.mjs.map +1 -1
  115. package/resources/llm/llm.d.mts +36 -4
  116. package/resources/llm/llm.d.mts.map +1 -1
  117. package/resources/llm/llm.d.ts +36 -4
  118. package/resources/llm/llm.d.ts.map +1 -1
  119. package/resources/llm/llm.js +2 -6
  120. package/resources/llm/llm.js.map +1 -1
  121. package/resources/llm/llm.mjs +2 -6
  122. package/resources/llm/llm.mjs.map +1 -1
  123. package/resources/llm/v1/index.d.mts +1 -1
  124. package/resources/llm/v1/index.d.mts.map +1 -1
  125. package/resources/llm/v1/index.d.ts +1 -1
  126. package/resources/llm/v1/index.d.ts.map +1 -1
  127. package/resources/llm/v1/index.js.map +1 -1
  128. package/resources/llm/v1/index.mjs +1 -1
  129. package/resources/llm/v1/index.mjs.map +1 -1
  130. package/resources/llm/v1/v1.d.mts +66 -5
  131. package/resources/llm/v1/v1.d.mts.map +1 -1
  132. package/resources/llm/v1/v1.d.ts +66 -5
  133. package/resources/llm/v1/v1.d.ts.map +1 -1
  134. package/resources/llm/v1/v1.js +4 -12
  135. package/resources/llm/v1/v1.js.map +1 -1
  136. package/resources/llm/v1/v1.mjs +4 -12
  137. package/resources/llm/v1/v1.mjs.map +1 -1
  138. package/resources/ocr/index.d.mts +1 -1
  139. package/resources/ocr/index.d.mts.map +1 -1
  140. package/resources/ocr/index.d.ts +1 -1
  141. package/resources/ocr/index.d.ts.map +1 -1
  142. package/resources/ocr/index.js.map +1 -1
  143. package/resources/ocr/index.mjs +1 -1
  144. package/resources/ocr/index.mjs.map +1 -1
  145. package/resources/ocr/ocr.d.mts +2 -2
  146. package/resources/ocr/ocr.d.mts.map +1 -1
  147. package/resources/ocr/ocr.d.ts +2 -2
  148. package/resources/ocr/ocr.d.ts.map +1 -1
  149. package/resources/ocr/ocr.js.map +1 -1
  150. package/resources/ocr/ocr.mjs +1 -1
  151. package/resources/ocr/ocr.mjs.map +1 -1
  152. package/resources/ocr/v1.d.mts +61 -15
  153. package/resources/ocr/v1.d.mts.map +1 -1
  154. package/resources/ocr/v1.d.ts +61 -15
  155. package/resources/ocr/v1.d.ts.map +1 -1
  156. package/resources/ocr/v1.js +6 -11
  157. package/resources/ocr/v1.js.map +1 -1
  158. package/resources/ocr/v1.mjs +6 -11
  159. package/resources/ocr/v1.mjs.map +1 -1
  160. package/resources/search/index.d.mts +1 -1
  161. package/resources/search/index.d.mts.map +1 -1
  162. package/resources/search/index.d.ts +1 -1
  163. package/resources/search/index.d.ts.map +1 -1
  164. package/resources/search/index.js.map +1 -1
  165. package/resources/search/index.mjs.map +1 -1
  166. package/resources/search/search.d.mts +2 -2
  167. package/resources/search/search.d.mts.map +1 -1
  168. package/resources/search/search.d.ts +2 -2
  169. package/resources/search/search.d.ts.map +1 -1
  170. package/resources/search/search.js.map +1 -1
  171. package/resources/search/search.mjs.map +1 -1
  172. package/resources/search/v1.d.mts +74 -2
  173. package/resources/search/v1.d.mts.map +1 -1
  174. package/resources/search/v1.d.ts +74 -2
  175. package/resources/search/v1.d.ts.map +1 -1
  176. package/resources/search/v1.js +1 -6
  177. package/resources/search/v1.js.map +1 -1
  178. package/resources/search/v1.mjs +1 -6
  179. package/resources/search/v1.mjs.map +1 -1
  180. package/resources/vault/graphrag.d.mts +39 -4
  181. package/resources/vault/graphrag.d.mts.map +1 -1
  182. package/resources/vault/graphrag.d.ts +39 -4
  183. package/resources/vault/graphrag.d.ts.map +1 -1
  184. package/resources/vault/graphrag.js +4 -11
  185. package/resources/vault/graphrag.js.map +1 -1
  186. package/resources/vault/graphrag.mjs +4 -11
  187. package/resources/vault/graphrag.mjs.map +1 -1
  188. package/resources/vault/index.d.mts +3 -3
  189. package/resources/vault/index.d.mts.map +1 -1
  190. package/resources/vault/index.d.ts +3 -3
  191. package/resources/vault/index.d.ts.map +1 -1
  192. package/resources/vault/index.js.map +1 -1
  193. package/resources/vault/index.mjs.map +1 -1
  194. package/resources/vault/objects.d.mts +193 -15
  195. package/resources/vault/objects.d.mts.map +1 -1
  196. package/resources/vault/objects.d.ts +193 -15
  197. package/resources/vault/objects.d.ts.map +1 -1
  198. package/resources/vault/objects.js +17 -27
  199. package/resources/vault/objects.js.map +1 -1
  200. package/resources/vault/objects.mjs +17 -27
  201. package/resources/vault/objects.mjs.map +1 -1
  202. package/resources/vault/vault.d.mts +207 -30
  203. package/resources/vault/vault.d.mts.map +1 -1
  204. package/resources/vault/vault.d.ts +207 -30
  205. package/resources/vault/vault.d.ts.map +1 -1
  206. package/resources/vault/vault.js +11 -13
  207. package/resources/vault/vault.js.map +1 -1
  208. package/resources/vault/vault.mjs +11 -13
  209. package/resources/vault/vault.mjs.map +1 -1
  210. package/resources/voice/index.d.mts +3 -3
  211. package/resources/voice/index.d.mts.map +1 -1
  212. package/resources/voice/index.d.ts +3 -3
  213. package/resources/voice/index.d.ts.map +1 -1
  214. package/resources/voice/index.js.map +1 -1
  215. package/resources/voice/index.mjs.map +1 -1
  216. package/resources/voice/streaming.d.mts +52 -3
  217. package/resources/voice/streaming.d.mts.map +1 -1
  218. package/resources/voice/streaming.d.ts +52 -3
  219. package/resources/voice/streaming.d.ts.map +1 -1
  220. package/resources/voice/streaming.js +3 -7
  221. package/resources/voice/streaming.js.map +1 -1
  222. package/resources/voice/streaming.mjs +3 -7
  223. package/resources/voice/streaming.mjs.map +1 -1
  224. package/resources/voice/transcription.d.mts +82 -28
  225. package/resources/voice/transcription.d.mts.map +1 -1
  226. package/resources/voice/transcription.d.ts +82 -28
  227. package/resources/voice/transcription.d.ts.map +1 -1
  228. package/resources/voice/transcription.js +15 -16
  229. package/resources/voice/transcription.js.map +1 -1
  230. package/resources/voice/transcription.mjs +15 -16
  231. package/resources/voice/transcription.mjs.map +1 -1
  232. package/resources/voice/v1/index.d.mts +2 -2
  233. package/resources/voice/v1/index.d.mts.map +1 -1
  234. package/resources/voice/v1/index.d.ts +2 -2
  235. package/resources/voice/v1/index.d.ts.map +1 -1
  236. package/resources/voice/v1/index.js.map +1 -1
  237. package/resources/voice/v1/index.mjs.map +1 -1
  238. package/resources/voice/v1/speak.d.mts +1 -85
  239. package/resources/voice/v1/speak.d.mts.map +1 -1
  240. package/resources/voice/v1/speak.d.ts +1 -85
  241. package/resources/voice/v1/speak.d.ts.map +1 -1
  242. package/resources/voice/v1/speak.js +0 -24
  243. package/resources/voice/v1/speak.js.map +1 -1
  244. package/resources/voice/v1/speak.mjs +0 -24
  245. package/resources/voice/v1/speak.mjs.map +1 -1
  246. package/resources/voice/v1/v1.d.mts +48 -5
  247. package/resources/voice/v1/v1.d.mts.map +1 -1
  248. package/resources/voice/v1/v1.d.ts +48 -5
  249. package/resources/voice/v1/v1.d.ts.map +1 -1
  250. package/resources/voice/v1/v1.js +2 -7
  251. package/resources/voice/v1/v1.js.map +1 -1
  252. package/resources/voice/v1/v1.mjs +2 -7
  253. package/resources/voice/v1/v1.mjs.map +1 -1
  254. package/resources/voice/voice.d.mts +6 -6
  255. package/resources/voice/voice.d.mts.map +1 -1
  256. package/resources/voice/voice.d.ts +6 -6
  257. package/resources/voice/voice.d.ts.map +1 -1
  258. package/resources/voice/voice.js.map +1 -1
  259. package/resources/voice/voice.mjs +1 -1
  260. package/resources/voice/voice.mjs.map +1 -1
  261. package/resources/webhooks/index.d.mts +1 -1
  262. package/resources/webhooks/index.d.mts.map +1 -1
  263. package/resources/webhooks/index.d.ts +1 -1
  264. package/resources/webhooks/index.d.ts.map +1 -1
  265. package/resources/webhooks/index.js.map +1 -1
  266. package/resources/webhooks/index.mjs.map +1 -1
  267. package/resources/webhooks/v1.d.mts +0 -105
  268. package/resources/webhooks/v1.d.mts.map +1 -1
  269. package/resources/webhooks/v1.d.ts +0 -105
  270. package/resources/webhooks/v1.d.ts.map +1 -1
  271. package/resources/webhooks/v1.js +0 -75
  272. package/resources/webhooks/v1.js.map +1 -1
  273. package/resources/webhooks/v1.mjs +0 -75
  274. package/resources/webhooks/v1.mjs.map +1 -1
  275. package/resources/webhooks/webhooks.d.mts +2 -2
  276. package/resources/webhooks/webhooks.d.mts.map +1 -1
  277. package/resources/webhooks/webhooks.d.ts +2 -2
  278. package/resources/webhooks/webhooks.d.ts.map +1 -1
  279. package/resources/webhooks/webhooks.js.map +1 -1
  280. package/resources/webhooks/webhooks.mjs.map +1 -1
  281. package/src/client.ts +4 -22
  282. package/src/resources/compute/compute.ts +2 -3
  283. package/src/resources/compute/index.ts +1 -1
  284. package/src/resources/compute/v1/environments.ts +149 -21
  285. package/src/resources/compute/v1/functions.ts +1 -66
  286. package/src/resources/compute/v1/index.ts +11 -4
  287. package/src/resources/compute/v1/invoke.ts +1 -87
  288. package/src/resources/compute/v1/runs.ts +1 -61
  289. package/src/resources/compute/v1/secrets.ts +136 -39
  290. package/src/resources/compute/v1/v1.ts +54 -235
  291. package/src/resources/format/v1/index.ts +2 -0
  292. package/src/resources/format/v1/templates.ts +94 -12
  293. package/src/resources/format/v1/v1.ts +10 -1
  294. package/src/resources/index.ts +2 -5
  295. package/src/resources/llm/index.ts +7 -2
  296. package/src/resources/llm/llm.ts +50 -9
  297. package/src/resources/llm/v1/index.ts +6 -1
  298. package/src/resources/llm/v1/v1.ts +94 -15
  299. package/src/resources/ocr/index.ts +8 -1
  300. package/src/resources/ocr/ocr.ts +10 -1
  301. package/src/resources/ocr/v1.ts +69 -23
  302. package/src/resources/search/index.ts +1 -0
  303. package/src/resources/search/search.ts +2 -0
  304. package/src/resources/search/v1.ts +95 -7
  305. package/src/resources/vault/graphrag.ts +55 -13
  306. package/src/resources/vault/index.ts +6 -1
  307. package/src/resources/vault/objects.ts +250 -31
  308. package/src/resources/vault/vault.ts +253 -30
  309. package/src/resources/voice/index.ts +3 -2
  310. package/src/resources/voice/streaming.ts +65 -8
  311. package/src/resources/voice/transcription.ts +94 -34
  312. package/src/resources/voice/v1/index.ts +2 -2
  313. package/src/resources/voice/v1/speak.ts +1 -113
  314. package/src/resources/voice/v1/v1.ts +62 -15
  315. package/src/resources/voice/voice.ts +15 -5
  316. package/src/resources/webhooks/index.ts +1 -1
  317. package/src/resources/webhooks/v1.ts +1 -140
  318. package/src/resources/webhooks/webhooks.ts +2 -2
  319. package/src/version.ts +1 -1
  320. package/version.d.mts +1 -1
  321. package/version.d.ts +1 -1
  322. package/version.js +1 -1
  323. package/version.mjs +1 -1
  324. package/resources/actions/actions.d.mts +0 -10
  325. package/resources/actions/actions.d.mts.map +0 -1
  326. package/resources/actions/actions.d.ts +0 -10
  327. package/resources/actions/actions.d.ts.map +0 -1
  328. package/resources/actions/actions.js +0 -17
  329. package/resources/actions/actions.js.map +0 -1
  330. package/resources/actions/actions.mjs +0 -12
  331. package/resources/actions/actions.mjs.map +0 -1
  332. package/resources/actions/index.d.mts +0 -3
  333. package/resources/actions/index.d.mts.map +0 -1
  334. package/resources/actions/index.d.ts +0 -3
  335. package/resources/actions/index.d.ts.map +0 -1
  336. package/resources/actions/index.js +0 -9
  337. package/resources/actions/index.js.map +0 -1
  338. package/resources/actions/index.mjs +0 -4
  339. package/resources/actions/index.mjs.map +0 -1
  340. package/resources/actions/v1.d.mts +0 -122
  341. package/resources/actions/v1.d.mts.map +0 -1
  342. package/resources/actions/v1.d.ts +0 -122
  343. package/resources/actions/v1.d.ts.map +0 -1
  344. package/resources/actions/v1.js +0 -71
  345. package/resources/actions/v1.js.map +0 -1
  346. package/resources/actions/v1.mjs +0 -67
  347. package/resources/actions/v1.mjs.map +0 -1
  348. package/resources/actions.d.mts +0 -2
  349. package/resources/actions.d.mts.map +0 -1
  350. package/resources/actions.d.ts +0 -2
  351. package/resources/actions.d.ts.map +0 -1
  352. package/resources/actions.js +0 -6
  353. package/resources/actions.js.map +0 -1
  354. package/resources/actions.mjs +0 -3
  355. package/resources/actions.mjs.map +0 -1
  356. package/resources/convert/convert.d.mts +0 -10
  357. package/resources/convert/convert.d.mts.map +0 -1
  358. package/resources/convert/convert.d.ts +0 -10
  359. package/resources/convert/convert.d.ts.map +0 -1
  360. package/resources/convert/convert.js +0 -17
  361. package/resources/convert/convert.js.map +0 -1
  362. package/resources/convert/convert.mjs +0 -12
  363. package/resources/convert/convert.mjs.map +0 -1
  364. package/resources/convert/index.d.mts +0 -3
  365. package/resources/convert/index.d.mts.map +0 -1
  366. package/resources/convert/index.d.ts +0 -3
  367. package/resources/convert/index.d.ts.map +0 -1
  368. package/resources/convert/index.js +0 -9
  369. package/resources/convert/index.js.map +0 -1
  370. package/resources/convert/index.mjs +0 -4
  371. package/resources/convert/index.mjs.map +0 -1
  372. package/resources/convert/v1/index.d.mts +0 -3
  373. package/resources/convert/v1/index.d.mts.map +0 -1
  374. package/resources/convert/v1/index.d.ts +0 -3
  375. package/resources/convert/v1/index.d.ts.map +0 -1
  376. package/resources/convert/v1/index.js +0 -9
  377. package/resources/convert/v1/index.js.map +0 -1
  378. package/resources/convert/v1/index.mjs +0 -4
  379. package/resources/convert/v1/index.mjs.map +0 -1
  380. package/resources/convert/v1/jobs.d.mts +0 -17
  381. package/resources/convert/v1/jobs.d.mts.map +0 -1
  382. package/resources/convert/v1/jobs.d.ts +0 -17
  383. package/resources/convert/v1/jobs.d.ts.map +0 -1
  384. package/resources/convert/v1/jobs.js +0 -32
  385. package/resources/convert/v1/jobs.js.map +0 -1
  386. package/resources/convert/v1/jobs.mjs +0 -28
  387. package/resources/convert/v1/jobs.mjs.map +0 -1
  388. package/resources/convert/v1/v1.d.mts +0 -101
  389. package/resources/convert/v1/v1.d.mts.map +0 -1
  390. package/resources/convert/v1/v1.d.ts +0 -101
  391. package/resources/convert/v1/v1.d.ts.map +0 -1
  392. package/resources/convert/v1/v1.js +0 -52
  393. package/resources/convert/v1/v1.js.map +0 -1
  394. package/resources/convert/v1/v1.mjs +0 -47
  395. package/resources/convert/v1/v1.mjs.map +0 -1
  396. package/resources/convert/v1.d.mts +0 -2
  397. package/resources/convert/v1.d.mts.map +0 -1
  398. package/resources/convert/v1.d.ts +0 -2
  399. package/resources/convert/v1.d.ts.map +0 -1
  400. package/resources/convert/v1.js +0 -6
  401. package/resources/convert/v1.js.map +0 -1
  402. package/resources/convert/v1.mjs +0 -3
  403. package/resources/convert/v1.mjs.map +0 -1
  404. package/resources/convert.d.mts +0 -2
  405. package/resources/convert.d.mts.map +0 -1
  406. package/resources/convert.d.ts +0 -2
  407. package/resources/convert.d.ts.map +0 -1
  408. package/resources/convert.js +0 -6
  409. package/resources/convert.js.map +0 -1
  410. package/resources/convert.mjs +0 -3
  411. package/resources/convert.mjs.map +0 -1
  412. package/resources/templates/index.d.mts +0 -3
  413. package/resources/templates/index.d.mts.map +0 -1
  414. package/resources/templates/index.d.ts +0 -3
  415. package/resources/templates/index.d.ts.map +0 -1
  416. package/resources/templates/index.js +0 -9
  417. package/resources/templates/index.js.map +0 -1
  418. package/resources/templates/index.mjs +0 -4
  419. package/resources/templates/index.mjs.map +0 -1
  420. package/resources/templates/templates.d.mts +0 -10
  421. package/resources/templates/templates.d.mts.map +0 -1
  422. package/resources/templates/templates.d.ts +0 -10
  423. package/resources/templates/templates.d.ts.map +0 -1
  424. package/resources/templates/templates.js +0 -17
  425. package/resources/templates/templates.js.map +0 -1
  426. package/resources/templates/templates.mjs +0 -12
  427. package/resources/templates/templates.mjs.map +0 -1
  428. package/resources/templates/v1.d.mts +0 -128
  429. package/resources/templates/v1.d.mts.map +0 -1
  430. package/resources/templates/v1.d.ts +0 -128
  431. package/resources/templates/v1.d.ts.map +0 -1
  432. package/resources/templates/v1.js +0 -71
  433. package/resources/templates/v1.js.map +0 -1
  434. package/resources/templates/v1.mjs +0 -67
  435. package/resources/templates/v1.mjs.map +0 -1
  436. package/resources/templates.d.mts +0 -2
  437. package/resources/templates.d.mts.map +0 -1
  438. package/resources/templates.d.ts +0 -2
  439. package/resources/templates.d.ts.map +0 -1
  440. package/resources/templates.js +0 -6
  441. package/resources/templates.js.map +0 -1
  442. package/resources/templates.mjs +0 -3
  443. package/resources/templates.mjs.map +0 -1
  444. package/resources/workflows/index.d.mts +0 -3
  445. package/resources/workflows/index.d.mts.map +0 -1
  446. package/resources/workflows/index.d.ts +0 -3
  447. package/resources/workflows/index.d.ts.map +0 -1
  448. package/resources/workflows/index.js +0 -9
  449. package/resources/workflows/index.js.map +0 -1
  450. package/resources/workflows/index.mjs +0 -4
  451. package/resources/workflows/index.mjs.map +0 -1
  452. package/resources/workflows/v1.d.mts +0 -263
  453. package/resources/workflows/v1.d.mts.map +0 -1
  454. package/resources/workflows/v1.d.ts +0 -263
  455. package/resources/workflows/v1.d.ts.map +0 -1
  456. package/resources/workflows/v1.js +0 -128
  457. package/resources/workflows/v1.js.map +0 -1
  458. package/resources/workflows/v1.mjs +0 -124
  459. package/resources/workflows/v1.mjs.map +0 -1
  460. package/resources/workflows/workflows.d.mts +0 -10
  461. package/resources/workflows/workflows.d.mts.map +0 -1
  462. package/resources/workflows/workflows.d.ts +0 -10
  463. package/resources/workflows/workflows.d.ts.map +0 -1
  464. package/resources/workflows/workflows.js +0 -17
  465. package/resources/workflows/workflows.js.map +0 -1
  466. package/resources/workflows/workflows.mjs +0 -12
  467. package/resources/workflows/workflows.mjs.map +0 -1
  468. package/resources/workflows.d.mts +0 -2
  469. package/resources/workflows.d.mts.map +0 -1
  470. package/resources/workflows.d.ts +0 -2
  471. package/resources/workflows.d.ts.map +0 -1
  472. package/resources/workflows.js +0 -6
  473. package/resources/workflows.js.map +0 -1
  474. package/resources/workflows.mjs +0 -3
  475. package/resources/workflows.mjs.map +0 -1
  476. package/src/resources/actions/actions.ts +0 -21
  477. package/src/resources/actions/index.ts +0 -10
  478. package/src/resources/actions/v1.ts +0 -179
  479. package/src/resources/actions.ts +0 -3
  480. package/src/resources/convert/convert.ts +0 -21
  481. package/src/resources/convert/index.ts +0 -10
  482. package/src/resources/convert/v1/index.ts +0 -10
  483. package/src/resources/convert/v1/jobs.ts +0 -32
  484. package/src/resources/convert/v1/v1.ts +0 -141
  485. package/src/resources/convert/v1.ts +0 -3
  486. package/src/resources/convert.ts +0 -3
  487. package/src/resources/templates/index.ts +0 -10
  488. package/src/resources/templates/templates.ts +0 -21
  489. package/src/resources/templates/v1.ts +0 -187
  490. package/src/resources/templates.ts +0 -3
  491. package/src/resources/workflows/index.ts +0 -21
  492. package/src/resources/workflows/v1.ts +0 -407
  493. package/src/resources/workflows/workflows.ts +0 -49
  494. package/src/resources/workflows.ts +0 -3
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/templates/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE;OACb,EACL,EAAE,GAKH"}
@@ -1,10 +0,0 @@
1
- import { APIResource } from "../../core/resource.mjs";
2
- import * as V1API from "./v1.mjs";
3
- import { V1, V1ExecuteParams, V1ExecuteResponse, V1ListParams, V1SearchParams } from "./v1.mjs";
4
- export declare class Templates extends APIResource {
5
- v1: V1API.V1;
6
- }
7
- export declare namespace Templates {
8
- export { V1 as V1, type V1ExecuteResponse as V1ExecuteResponse, type V1ListParams as V1ListParams, type V1ExecuteParams as V1ExecuteParams, type V1SearchParams as V1SearchParams, };
9
- }
10
- //# sourceMappingURL=templates.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.d.mts","sourceRoot":"","sources":["../../src/resources/templates/templates.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,eAAe,EAAE,iBAAiB,EAAE,YAAY,EAAE,cAAc,EAAE;AAE/E,qBAAa,SAAU,SAAQ,WAAW;IACxC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -1,10 +0,0 @@
1
- import { APIResource } from "../../core/resource.js";
2
- import * as V1API from "./v1.js";
3
- import { V1, V1ExecuteParams, V1ExecuteResponse, V1ListParams, V1SearchParams } from "./v1.js";
4
- export declare class Templates extends APIResource {
5
- v1: V1API.V1;
6
- }
7
- export declare namespace Templates {
8
- export { V1 as V1, type V1ExecuteResponse as V1ExecuteResponse, type V1ListParams as V1ListParams, type V1ExecuteParams as V1ExecuteParams, type V1SearchParams as V1SearchParams, };
9
- }
10
- //# sourceMappingURL=templates.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/resources/templates/templates.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,eAAe,EAAE,iBAAiB,EAAE,YAAY,EAAE,cAAc,EAAE;AAE/E,qBAAa,SAAU,SAAQ,WAAW;IACxC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -1,17 +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.Templates = void 0;
5
- const tslib_1 = require("../../internal/tslib.js");
6
- const resource_1 = require("../../core/resource.js");
7
- const V1API = tslib_1.__importStar(require("./v1.js"));
8
- const v1_1 = require("./v1.js");
9
- class Templates extends resource_1.APIResource {
10
- constructor() {
11
- super(...arguments);
12
- this.v1 = new V1API.V1(this._client);
13
- }
14
- }
15
- exports.Templates = Templates;
16
- Templates.V1 = v1_1.V1;
17
- //# sourceMappingURL=templates.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/resources/templates/templates.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,uDAA8B;AAC9B,gCAA4F;AAE5F,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAFD,8BAEC;AAED,SAAS,CAAC,EAAE,GAAG,OAAE,CAAC"}
@@ -1,12 +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 * as V1API from "./v1.mjs";
4
- import { V1 } from "./v1.mjs";
5
- export class Templates extends APIResource {
6
- constructor() {
7
- super(...arguments);
8
- this.v1 = new V1API.V1(this._client);
9
- }
10
- }
11
- Templates.V1 = V1;
12
- //# sourceMappingURL=templates.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.mjs","sourceRoot":"","sources":["../../src/resources/templates/templates.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAoE;AAE/E,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAED,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC"}
@@ -1,128 +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
- export declare class V1 extends APIResource {
5
- /**
6
- * Retrieve metadata for a published workflow by ID. Returns workflow configuration
7
- * including input/output schemas, but excludes the prompt template for security.
8
- */
9
- retrieve(id: string, options?: RequestOptions): APIPromise<void>;
10
- /**
11
- * Retrieve a paginated list of available workflows with optional filtering by
12
- * category, subcategory, type, and publication status. Workflows are pre-built
13
- * document processing pipelines optimized for legal use cases.
14
- */
15
- list(query?: V1ListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
16
- /**
17
- * Execute a pre-built workflow with custom input data. Workflows automate common
18
- * legal document processing tasks like contract analysis, due diligence reviews,
19
- * and document classification.
20
- *
21
- * **Available Workflows:**
22
- *
23
- * - Contract analysis and risk assessment
24
- * - Document classification and tagging
25
- * - Legal research and case summarization
26
- * - Due diligence document review
27
- * - Compliance checking and reporting
28
- */
29
- execute(id: string, body: V1ExecuteParams, options?: RequestOptions): APIPromise<V1ExecuteResponse>;
30
- /**
31
- * Retrieves the status and details of a workflow execution. This endpoint is
32
- * designed for future asynchronous execution support and currently returns a 501
33
- * Not Implemented status since all executions are synchronous.
34
- */
35
- retrieveExecution(id: string, options?: RequestOptions): APIPromise<void>;
36
- /**
37
- * Perform semantic search across available workflows to find the most relevant
38
- * pre-built document processing pipelines for your legal use case.
39
- */
40
- search(body: V1SearchParams, options?: RequestOptions): APIPromise<void>;
41
- }
42
- export interface V1ExecuteResponse {
43
- /**
44
- * Workflow output (structure varies by workflow type)
45
- */
46
- result?: unknown;
47
- status?: 'completed' | 'failed';
48
- usage?: V1ExecuteResponse.Usage;
49
- /**
50
- * Name of the executed workflow
51
- */
52
- workflow_name?: string;
53
- }
54
- export declare namespace V1ExecuteResponse {
55
- interface Usage {
56
- completion_tokens?: number;
57
- /**
58
- * Total cost in USD
59
- */
60
- cost?: number;
61
- prompt_tokens?: number;
62
- total_tokens?: number;
63
- }
64
- }
65
- export interface V1ListParams {
66
- /**
67
- * Filter workflows by category (e.g., 'legal', 'compliance', 'contract')
68
- */
69
- category?: string;
70
- /**
71
- * Maximum number of workflows to return
72
- */
73
- limit?: number;
74
- /**
75
- * Number of workflows to skip for pagination
76
- */
77
- offset?: number;
78
- /**
79
- * Include only published workflows
80
- */
81
- published?: boolean;
82
- /**
83
- * Filter workflows by subcategory (e.g., 'due-diligence', 'litigation', 'mergers')
84
- */
85
- sub_category?: string;
86
- /**
87
- * Filter workflows by type (e.g., 'document-review', 'contract-analysis',
88
- * 'compliance-check')
89
- */
90
- type?: string;
91
- }
92
- export interface V1ExecuteParams {
93
- /**
94
- * Input data for the workflow (structure varies by workflow type)
95
- */
96
- input: unknown;
97
- options?: V1ExecuteParams.Options;
98
- }
99
- export declare namespace V1ExecuteParams {
100
- interface Options {
101
- /**
102
- * Output format preference
103
- */
104
- format?: 'json' | 'text';
105
- /**
106
- * LLM model to use for processing
107
- */
108
- model?: string;
109
- }
110
- }
111
- export interface V1SearchParams {
112
- /**
113
- * Search query to find relevant workflows
114
- */
115
- query: string;
116
- /**
117
- * Optional category filter to narrow results
118
- */
119
- category?: string;
120
- /**
121
- * Maximum number of results to return (default: 10, max: 50)
122
- */
123
- limit?: number;
124
- }
125
- export declare namespace V1 {
126
- export { type V1ExecuteResponse as V1ExecuteResponse, type V1ListParams as V1ListParams, type V1ExecuteParams as V1ExecuteParams, type V1SearchParams as V1SearchParams, };
127
- }
128
- //# sourceMappingURL=v1.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/templates/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhE;;;;OAIG;IACH,IAAI,CAAC,KAAK,GAAE,YAAY,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ7F;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAInG;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOzE;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOzE;A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,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -1,128 +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
- export declare class V1 extends APIResource {
5
- /**
6
- * Retrieve metadata for a published workflow by ID. Returns workflow configuration
7
- * including input/output schemas, but excludes the prompt template for security.
8
- */
9
- retrieve(id: string, options?: RequestOptions): APIPromise<void>;
10
- /**
11
- * Retrieve a paginated list of available workflows with optional filtering by
12
- * category, subcategory, type, and publication status. Workflows are pre-built
13
- * document processing pipelines optimized for legal use cases.
14
- */
15
- list(query?: V1ListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
16
- /**
17
- * Execute a pre-built workflow with custom input data. Workflows automate common
18
- * legal document processing tasks like contract analysis, due diligence reviews,
19
- * and document classification.
20
- *
21
- * **Available Workflows:**
22
- *
23
- * - Contract analysis and risk assessment
24
- * - Document classification and tagging
25
- * - Legal research and case summarization
26
- * - Due diligence document review
27
- * - Compliance checking and reporting
28
- */
29
- execute(id: string, body: V1ExecuteParams, options?: RequestOptions): APIPromise<V1ExecuteResponse>;
30
- /**
31
- * Retrieves the status and details of a workflow execution. This endpoint is
32
- * designed for future asynchronous execution support and currently returns a 501
33
- * Not Implemented status since all executions are synchronous.
34
- */
35
- retrieveExecution(id: string, options?: RequestOptions): APIPromise<void>;
36
- /**
37
- * Perform semantic search across available workflows to find the most relevant
38
- * pre-built document processing pipelines for your legal use case.
39
- */
40
- search(body: V1SearchParams, options?: RequestOptions): APIPromise<void>;
41
- }
42
- export interface V1ExecuteResponse {
43
- /**
44
- * Workflow output (structure varies by workflow type)
45
- */
46
- result?: unknown;
47
- status?: 'completed' | 'failed';
48
- usage?: V1ExecuteResponse.Usage;
49
- /**
50
- * Name of the executed workflow
51
- */
52
- workflow_name?: string;
53
- }
54
- export declare namespace V1ExecuteResponse {
55
- interface Usage {
56
- completion_tokens?: number;
57
- /**
58
- * Total cost in USD
59
- */
60
- cost?: number;
61
- prompt_tokens?: number;
62
- total_tokens?: number;
63
- }
64
- }
65
- export interface V1ListParams {
66
- /**
67
- * Filter workflows by category (e.g., 'legal', 'compliance', 'contract')
68
- */
69
- category?: string;
70
- /**
71
- * Maximum number of workflows to return
72
- */
73
- limit?: number;
74
- /**
75
- * Number of workflows to skip for pagination
76
- */
77
- offset?: number;
78
- /**
79
- * Include only published workflows
80
- */
81
- published?: boolean;
82
- /**
83
- * Filter workflows by subcategory (e.g., 'due-diligence', 'litigation', 'mergers')
84
- */
85
- sub_category?: string;
86
- /**
87
- * Filter workflows by type (e.g., 'document-review', 'contract-analysis',
88
- * 'compliance-check')
89
- */
90
- type?: string;
91
- }
92
- export interface V1ExecuteParams {
93
- /**
94
- * Input data for the workflow (structure varies by workflow type)
95
- */
96
- input: unknown;
97
- options?: V1ExecuteParams.Options;
98
- }
99
- export declare namespace V1ExecuteParams {
100
- interface Options {
101
- /**
102
- * Output format preference
103
- */
104
- format?: 'json' | 'text';
105
- /**
106
- * LLM model to use for processing
107
- */
108
- model?: string;
109
- }
110
- }
111
- export interface V1SearchParams {
112
- /**
113
- * Search query to find relevant workflows
114
- */
115
- query: string;
116
- /**
117
- * Optional category filter to narrow results
118
- */
119
- category?: string;
120
- /**
121
- * Maximum number of results to return (default: 10, max: 50)
122
- */
123
- limit?: number;
124
- }
125
- export declare namespace V1 {
126
- export { type V1ExecuteResponse as V1ExecuteResponse, type V1ListParams as V1ListParams, type V1ExecuteParams as V1ExecuteParams, type V1SearchParams as V1SearchParams, };
127
- }
128
- //# sourceMappingURL=v1.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/resources/templates/v1.ts"],"names":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,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf,OAAO,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC;CACnC;AAED,yBAAiB,eAAe,CAAC;IAC/B,UAAiB,OAAO;QACtB;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAEzB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CACF;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -1,71 +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 = void 0;
5
- const resource_1 = require("../../core/resource.js");
6
- const headers_1 = require("../../internal/headers.js");
7
- const path_1 = require("../../internal/utils/path.js");
8
- class V1 extends resource_1.APIResource {
9
- /**
10
- * Retrieve metadata for a published workflow by ID. Returns workflow configuration
11
- * including input/output schemas, but excludes the prompt template for security.
12
- */
13
- retrieve(id, options) {
14
- return this._client.get((0, path_1.path) `/templates/v1/${id}`, {
15
- ...options,
16
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
17
- });
18
- }
19
- /**
20
- * Retrieve a paginated list of available workflows with optional filtering by
21
- * category, subcategory, type, and publication status. Workflows are pre-built
22
- * document processing pipelines optimized for legal use cases.
23
- */
24
- list(query = {}, options) {
25
- return this._client.get('/templates/v1', {
26
- query,
27
- ...options,
28
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
29
- });
30
- }
31
- /**
32
- * Execute a pre-built workflow with custom input data. Workflows automate common
33
- * legal document processing tasks like contract analysis, due diligence reviews,
34
- * and document classification.
35
- *
36
- * **Available Workflows:**
37
- *
38
- * - Contract analysis and risk assessment
39
- * - Document classification and tagging
40
- * - Legal research and case summarization
41
- * - Due diligence document review
42
- * - Compliance checking and reporting
43
- */
44
- execute(id, body, options) {
45
- return this._client.post((0, path_1.path) `/templates/v1/${id}/execute`, { body, ...options });
46
- }
47
- /**
48
- * Retrieves the status and details of a workflow execution. This endpoint is
49
- * designed for future asynchronous execution support and currently returns a 501
50
- * Not Implemented status since all executions are synchronous.
51
- */
52
- retrieveExecution(id, options) {
53
- return this._client.get((0, path_1.path) `/templates/v1/executions/${id}`, {
54
- ...options,
55
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
56
- });
57
- }
58
- /**
59
- * Perform semantic search across available workflows to find the most relevant
60
- * pre-built document processing pipelines for your legal use case.
61
- */
62
- search(body, options) {
63
- return this._client.post('/templates/v1/search', {
64
- body,
65
- ...options,
66
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
67
- });
68
- }
69
- }
70
- exports.V1 = V1;
71
- //# sourceMappingURL=v1.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/templates/v1.ts"],"names":[],"mappings":";A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AM,CAAC,IAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE;YAC/C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAjED,gBAiEC"}
@@ -1,67 +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 { buildHeaders } from "../../internal/headers.mjs";
4
- import { path } from "../../internal/utils/path.mjs";
5
- export class V1 extends APIResource {
6
- /**
7
- * Retrieve metadata for a published workflow by ID. Returns workflow configuration
8
- * including input/output schemas, but excludes the prompt template for security.
9
- */
10
- retrieve(id, options) {
11
- return this._client.get(path `/templates/v1/${id}`, {
12
- ...options,
13
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
14
- });
15
- }
16
- /**
17
- * Retrieve a paginated list of available workflows with optional filtering by
18
- * category, subcategory, type, and publication status. Workflows are pre-built
19
- * document processing pipelines optimized for legal use cases.
20
- */
21
- list(query = {}, options) {
22
- return this._client.get('/templates/v1', {
23
- query,
24
- ...options,
25
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
26
- });
27
- }
28
- /**
29
- * Execute a pre-built workflow with custom input data. Workflows automate common
30
- * legal document processing tasks like contract analysis, due diligence reviews,
31
- * and document classification.
32
- *
33
- * **Available Workflows:**
34
- *
35
- * - Contract analysis and risk assessment
36
- * - Document classification and tagging
37
- * - Legal research and case summarization
38
- * - Due diligence document review
39
- * - Compliance checking and reporting
40
- */
41
- execute(id, body, options) {
42
- return this._client.post(path `/templates/v1/${id}/execute`, { body, ...options });
43
- }
44
- /**
45
- * Retrieves the status and details of a workflow execution. This endpoint is
46
- * designed for future asynchronous execution support and currently returns a 501
47
- * Not Implemented status since all executions are synchronous.
48
- */
49
- retrieveExecution(id, options) {
50
- return this._client.get(path `/templates/v1/executions/${id}`, {
51
- ...options,
52
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
53
- });
54
- }
55
- /**
56
- * Perform semantic search across available workflows to find the most relevant
57
- * pre-built document processing pipelines for your legal use case.
58
- */
59
- search(body, options) {
60
- return this._client.post('/templates/v1/search', {
61
- body,
62
- ...options,
63
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
64
- });
65
- }
66
- }
67
- //# sourceMappingURL=v1.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/templates/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,EAAG,SAAQ,WAAW;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,EAAE,EAAE,EAAE;YACjD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,IAAI,CAAC,QAAyC,EAAE,EAAE,OAAwB;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE;YACvC,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAU,EAAE,IAAqB,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,iBAAiB,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;OAIG;IACH,iBAAiB,CAAC,EAAU,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE;YAC5D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,IAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE;YAC/C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- export * from "./templates/index.mjs";
2
- //# sourceMappingURL=templates.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.d.mts","sourceRoot":"","sources":["../src/resources/templates.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from "./templates/index.js";
2
- //# sourceMappingURL=templates.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../src/resources/templates.ts"],"names":[],"mappings":""}
@@ -1,6 +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
- const tslib_1 = require("../internal/tslib.js");
5
- tslib_1.__exportStar(require("./templates/index.js"), exports);
6
- //# sourceMappingURL=templates.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.js","sourceRoot":"","sources":["../src/resources/templates.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+DAAkC"}
@@ -1,3 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export * from "./templates/index.mjs";
3
- //# sourceMappingURL=templates.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.mjs","sourceRoot":"","sources":["../src/resources/templates.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -1,3 +0,0 @@
1
- export { V1, type V1CreateResponse, type V1RetrieveResponse, type V1UpdateResponse, type V1ListResponse, type V1DeleteResponse, type V1DeployResponse, type V1ExecuteResponse, type V1ListExecutionsResponse, type V1RetrieveExecutionResponse, type V1UndeployResponse, type V1CreateParams, type V1UpdateParams, type V1ListParams, type V1ExecuteParams, type V1ListExecutionsParams, } from "./v1.mjs";
2
- export { Workflows } from "./workflows.mjs";
3
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":"OAEO,EACL,EAAE,EACF,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B;OACM,EAAE,SAAS,EAAE"}
@@ -1,3 +0,0 @@
1
- export { V1, type V1CreateResponse, type V1RetrieveResponse, type V1UpdateResponse, type V1ListResponse, type V1DeleteResponse, type V1DeployResponse, type V1ExecuteResponse, type V1ListExecutionsResponse, type V1RetrieveExecutionResponse, type V1UndeployResponse, type V1CreateParams, type V1UpdateParams, type V1ListParams, type V1ExecuteParams, type V1ListExecutionsParams, } from "./v1.js";
2
- export { Workflows } from "./workflows.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":"OAEO,EACL,EAAE,EACF,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B;OACM,EAAE,SAAS,EAAE"}
@@ -1,9 +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.Workflows = exports.V1 = void 0;
5
- var v1_1 = require("./v1.js");
6
- Object.defineProperty(exports, "V1", { enumerable: true, get: function () { return v1_1.V1; } });
7
- var workflows_1 = require("./workflows.js");
8
- Object.defineProperty(exports, "Workflows", { enumerable: true, get: function () { return workflows_1.Workflows; } });
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8BAiBc;AAhBZ,wFAAA,EAAE,OAAA;AAiBJ,4CAAwC;AAA/B,sGAAA,SAAS,OAAA"}
@@ -1,4 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { V1, } from "./v1.mjs";
3
- export { Workflows } from "./workflows.mjs";
4
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,EAAE,GAgBH;OACM,EAAE,SAAS,EAAE"}