@mutagent/sdk 0.3.34 → 0.3.35

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 (421) hide show
  1. package/README.md +114 -7
  2. package/dist/commonjs/funcs/sandbox-delete-api-sandbox-by-id.d.ts +18 -0
  3. package/dist/commonjs/funcs/sandbox-delete-api-sandbox-by-id.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/sandbox-delete-api-sandbox-by-id.js +124 -0
  5. package/dist/commonjs/funcs/sandbox-delete-api-sandbox-by-id.js.map +1 -0
  6. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts +18 -0
  7. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.js +128 -0
  9. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.js.map +1 -0
  10. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-traces.d.ts +15 -0
  11. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-traces.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-traces.js +121 -0
  13. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-traces.js.map +1 -0
  14. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id.d.ts +15 -0
  15. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id.js +121 -0
  17. package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id.js.map +1 -0
  18. package/dist/commonjs/funcs/sandbox-get-api-sandbox-presets.d.ts +18 -0
  19. package/dist/commonjs/funcs/sandbox-get-api-sandbox-presets.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/sandbox-get-api-sandbox-presets.js +108 -0
  21. package/dist/commonjs/funcs/sandbox-get-api-sandbox-presets.js.map +1 -0
  22. package/dist/commonjs/funcs/sandbox-get-api-sandbox-providers.d.ts +18 -0
  23. package/dist/commonjs/funcs/sandbox-get-api-sandbox-providers.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/sandbox-get-api-sandbox-providers.js +108 -0
  25. package/dist/commonjs/funcs/sandbox-get-api-sandbox-providers.js.map +1 -0
  26. package/dist/commonjs/funcs/sandbox-get-api-sandbox.d.ts +18 -0
  27. package/dist/commonjs/funcs/sandbox-get-api-sandbox.d.ts.map +1 -0
  28. package/dist/commonjs/funcs/sandbox-get-api-sandbox.js +109 -0
  29. package/dist/commonjs/funcs/sandbox-get-api-sandbox.js.map +1 -0
  30. package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.d.ts +18 -0
  31. package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.d.ts.map +1 -0
  32. package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.js +123 -0
  33. package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.js.map +1 -0
  34. package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-exec.d.ts +18 -0
  35. package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-exec.d.ts.map +1 -0
  36. package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-exec.js +129 -0
  37. package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-exec.js.map +1 -0
  38. package/dist/commonjs/funcs/sandbox-post-api-sandbox-preflight.d.ts +18 -0
  39. package/dist/commonjs/funcs/sandbox-post-api-sandbox-preflight.d.ts.map +1 -0
  40. package/dist/commonjs/funcs/sandbox-post-api-sandbox-preflight.js +119 -0
  41. package/dist/commonjs/funcs/sandbox-post-api-sandbox-preflight.js.map +1 -0
  42. package/dist/commonjs/funcs/sandbox-post-api-sandbox-run.d.ts +18 -0
  43. package/dist/commonjs/funcs/sandbox-post-api-sandbox-run.d.ts.map +1 -0
  44. package/dist/commonjs/funcs/sandbox-post-api-sandbox-run.js +119 -0
  45. package/dist/commonjs/funcs/sandbox-post-api-sandbox-run.js.map +1 -0
  46. package/dist/commonjs/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.d.ts +18 -0
  47. package/dist/commonjs/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
  48. package/dist/commonjs/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.js +108 -0
  49. package/dist/commonjs/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.js.map +1 -0
  50. package/dist/commonjs/funcs/sandbox-post-api-sandbox-token.d.ts +18 -0
  51. package/dist/commonjs/funcs/sandbox-post-api-sandbox-token.d.ts.map +1 -0
  52. package/dist/commonjs/funcs/sandbox-post-api-sandbox-token.js +119 -0
  53. package/dist/commonjs/funcs/sandbox-post-api-sandbox-token.js.map +1 -0
  54. package/dist/commonjs/funcs/sandbox-post-api-sandbox.d.ts +18 -0
  55. package/dist/commonjs/funcs/sandbox-post-api-sandbox.d.ts.map +1 -0
  56. package/dist/commonjs/funcs/sandbox-post-api-sandbox.js +119 -0
  57. package/dist/commonjs/funcs/sandbox-post-api-sandbox.js.map +1 -0
  58. package/dist/commonjs/lib/config.d.ts +2 -2
  59. package/dist/commonjs/lib/config.js +2 -2
  60. package/dist/commonjs/models/errors/delete-api-sandbox-by-id.d.ts +137 -0
  61. package/dist/commonjs/models/errors/delete-api-sandbox-by-id.d.ts.map +1 -0
  62. package/dist/commonjs/models/errors/delete-api-sandbox-by-id.js +207 -0
  63. package/dist/commonjs/models/errors/delete-api-sandbox-by-id.js.map +1 -0
  64. package/dist/commonjs/models/errors/get-api-sandbox-by-id-stream.d.ts +114 -0
  65. package/dist/commonjs/models/errors/get-api-sandbox-by-id-stream.d.ts.map +1 -0
  66. package/dist/commonjs/models/errors/get-api-sandbox-by-id-stream.js +179 -0
  67. package/dist/commonjs/models/errors/get-api-sandbox-by-id-stream.js.map +1 -0
  68. package/dist/commonjs/models/errors/get-api-sandbox-by-id-traces.d.ts +114 -0
  69. package/dist/commonjs/models/errors/get-api-sandbox-by-id-traces.d.ts.map +1 -0
  70. package/dist/commonjs/models/errors/get-api-sandbox-by-id-traces.js +179 -0
  71. package/dist/commonjs/models/errors/get-api-sandbox-by-id-traces.js.map +1 -0
  72. package/dist/commonjs/models/errors/get-api-sandbox-by-id.d.ts +114 -0
  73. package/dist/commonjs/models/errors/get-api-sandbox-by-id.d.ts.map +1 -0
  74. package/dist/commonjs/models/errors/get-api-sandbox-by-id.js +179 -0
  75. package/dist/commonjs/models/errors/get-api-sandbox-by-id.js.map +1 -0
  76. package/dist/commonjs/models/errors/get-api-sandbox-presets.d.ts +114 -0
  77. package/dist/commonjs/models/errors/get-api-sandbox-presets.d.ts.map +1 -0
  78. package/dist/commonjs/models/errors/get-api-sandbox-presets.js +179 -0
  79. package/dist/commonjs/models/errors/get-api-sandbox-presets.js.map +1 -0
  80. package/dist/commonjs/models/errors/get-api-sandbox-providers.d.ts +114 -0
  81. package/dist/commonjs/models/errors/get-api-sandbox-providers.d.ts.map +1 -0
  82. package/dist/commonjs/models/errors/get-api-sandbox-providers.js +179 -0
  83. package/dist/commonjs/models/errors/get-api-sandbox-providers.js.map +1 -0
  84. package/dist/commonjs/models/errors/get-api-sandbox.d.ts +114 -0
  85. package/dist/commonjs/models/errors/get-api-sandbox.d.ts.map +1 -0
  86. package/dist/commonjs/models/errors/get-api-sandbox.js +179 -0
  87. package/dist/commonjs/models/errors/get-api-sandbox.js.map +1 -0
  88. package/dist/commonjs/models/errors/index.d.ts +14 -0
  89. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  90. package/dist/commonjs/models/errors/index.js +14 -0
  91. package/dist/commonjs/models/errors/index.js.map +1 -1
  92. package/dist/commonjs/models/errors/post-api-sandbox-agent-run.d.ts +137 -0
  93. package/dist/commonjs/models/errors/post-api-sandbox-agent-run.d.ts.map +1 -0
  94. package/dist/commonjs/models/errors/post-api-sandbox-agent-run.js +207 -0
  95. package/dist/commonjs/models/errors/post-api-sandbox-agent-run.js.map +1 -0
  96. package/dist/commonjs/models/errors/post-api-sandbox-by-id-exec.d.ts +137 -0
  97. package/dist/commonjs/models/errors/post-api-sandbox-by-id-exec.d.ts.map +1 -0
  98. package/dist/commonjs/models/errors/post-api-sandbox-by-id-exec.js +207 -0
  99. package/dist/commonjs/models/errors/post-api-sandbox-by-id-exec.js.map +1 -0
  100. package/dist/commonjs/models/errors/post-api-sandbox-preflight.d.ts +137 -0
  101. package/dist/commonjs/models/errors/post-api-sandbox-preflight.d.ts.map +1 -0
  102. package/dist/commonjs/models/errors/post-api-sandbox-preflight.js +207 -0
  103. package/dist/commonjs/models/errors/post-api-sandbox-preflight.js.map +1 -0
  104. package/dist/commonjs/models/errors/post-api-sandbox-run.d.ts +137 -0
  105. package/dist/commonjs/models/errors/post-api-sandbox-run.d.ts.map +1 -0
  106. package/dist/commonjs/models/errors/post-api-sandbox-run.js +207 -0
  107. package/dist/commonjs/models/errors/post-api-sandbox-run.js.map +1 -0
  108. package/dist/commonjs/models/errors/post-api-sandbox-telemetry-v1-traces.d.ts +137 -0
  109. package/dist/commonjs/models/errors/post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
  110. package/dist/commonjs/models/errors/post-api-sandbox-telemetry-v1-traces.js +211 -0
  111. package/dist/commonjs/models/errors/post-api-sandbox-telemetry-v1-traces.js.map +1 -0
  112. package/dist/commonjs/models/errors/post-api-sandbox-token.d.ts +91 -0
  113. package/dist/commonjs/models/errors/post-api-sandbox-token.d.ts.map +1 -0
  114. package/dist/commonjs/models/errors/post-api-sandbox-token.js +151 -0
  115. package/dist/commonjs/models/errors/post-api-sandbox-token.js.map +1 -0
  116. package/dist/commonjs/models/errors/post-api-sandbox.d.ts +137 -0
  117. package/dist/commonjs/models/errors/post-api-sandbox.d.ts.map +1 -0
  118. package/dist/commonjs/models/errors/post-api-sandbox.js +207 -0
  119. package/dist/commonjs/models/errors/post-api-sandbox.js.map +1 -0
  120. package/dist/commonjs/models/operations/delete-api-sandbox-by-id.d.ts +23 -0
  121. package/dist/commonjs/models/operations/delete-api-sandbox-by-id.d.ts.map +1 -0
  122. package/dist/commonjs/models/operations/delete-api-sandbox-by-id.js +59 -0
  123. package/dist/commonjs/models/operations/delete-api-sandbox-by-id.js.map +1 -0
  124. package/dist/commonjs/models/operations/get-api-sandbox-by-id-stream.d.ts +26 -0
  125. package/dist/commonjs/models/operations/get-api-sandbox-by-id-stream.d.ts.map +1 -0
  126. package/dist/commonjs/models/operations/get-api-sandbox-by-id-stream.js +57 -0
  127. package/dist/commonjs/models/operations/get-api-sandbox-by-id-stream.js.map +1 -0
  128. package/dist/commonjs/models/operations/get-api-sandbox-by-id-traces.d.ts +27 -0
  129. package/dist/commonjs/models/operations/get-api-sandbox-by-id-traces.d.ts.map +1 -0
  130. package/dist/commonjs/models/operations/get-api-sandbox-by-id-traces.js +64 -0
  131. package/dist/commonjs/models/operations/get-api-sandbox-by-id-traces.js.map +1 -0
  132. package/dist/commonjs/models/operations/get-api-sandbox-by-id.d.ts +36 -0
  133. package/dist/commonjs/models/operations/get-api-sandbox-by-id.d.ts.map +1 -0
  134. package/dist/commonjs/models/operations/get-api-sandbox-by-id.js +71 -0
  135. package/dist/commonjs/models/operations/get-api-sandbox-by-id.js.map +1 -0
  136. package/dist/commonjs/models/operations/get-api-sandbox-presets.d.ts +47 -0
  137. package/dist/commonjs/models/operations/get-api-sandbox-presets.d.ts.map +1 -0
  138. package/dist/commonjs/models/operations/get-api-sandbox-presets.js +75 -0
  139. package/dist/commonjs/models/operations/get-api-sandbox-presets.js.map +1 -0
  140. package/dist/commonjs/models/operations/get-api-sandbox-providers.d.ts +14 -0
  141. package/dist/commonjs/models/operations/get-api-sandbox-providers.d.ts.map +1 -0
  142. package/dist/commonjs/models/operations/get-api-sandbox-providers.js +52 -0
  143. package/dist/commonjs/models/operations/get-api-sandbox-providers.js.map +1 -0
  144. package/dist/commonjs/models/operations/get-api-sandbox.d.ts +61 -0
  145. package/dist/commonjs/models/operations/get-api-sandbox.d.ts.map +1 -0
  146. package/dist/commonjs/models/operations/get-api-sandbox.js +81 -0
  147. package/dist/commonjs/models/operations/get-api-sandbox.js.map +1 -0
  148. package/dist/commonjs/models/operations/index.d.ts +14 -0
  149. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  150. package/dist/commonjs/models/operations/index.js +14 -0
  151. package/dist/commonjs/models/operations/index.js.map +1 -1
  152. package/dist/commonjs/models/operations/post-api-sandbox-agent-run.d.ts +101 -0
  153. package/dist/commonjs/models/operations/post-api-sandbox-agent-run.d.ts.map +1 -0
  154. package/dist/commonjs/models/operations/post-api-sandbox-agent-run.js +91 -0
  155. package/dist/commonjs/models/operations/post-api-sandbox-agent-run.js.map +1 -0
  156. package/dist/commonjs/models/operations/post-api-sandbox-by-id-exec.d.ts +67 -0
  157. package/dist/commonjs/models/operations/post-api-sandbox-by-id-exec.d.ts.map +1 -0
  158. package/dist/commonjs/models/operations/post-api-sandbox-by-id-exec.js +86 -0
  159. package/dist/commonjs/models/operations/post-api-sandbox-by-id-exec.js.map +1 -0
  160. package/dist/commonjs/models/operations/post-api-sandbox-preflight.d.ts +208 -0
  161. package/dist/commonjs/models/operations/post-api-sandbox-preflight.d.ts.map +1 -0
  162. package/dist/commonjs/models/operations/post-api-sandbox-preflight.js +146 -0
  163. package/dist/commonjs/models/operations/post-api-sandbox-preflight.js.map +1 -0
  164. package/dist/commonjs/models/operations/post-api-sandbox-run.d.ts +69 -0
  165. package/dist/commonjs/models/operations/post-api-sandbox-run.d.ts.map +1 -0
  166. package/dist/commonjs/models/operations/post-api-sandbox-run.js +70 -0
  167. package/dist/commonjs/models/operations/post-api-sandbox-run.js.map +1 -0
  168. package/dist/commonjs/models/operations/post-api-sandbox-telemetry-v1-traces.d.ts +13 -0
  169. package/dist/commonjs/models/operations/post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
  170. package/dist/commonjs/models/operations/post-api-sandbox-telemetry-v1-traces.js +51 -0
  171. package/dist/commonjs/models/operations/post-api-sandbox-telemetry-v1-traces.js.map +1 -0
  172. package/dist/commonjs/models/operations/post-api-sandbox-token.d.ts +36 -0
  173. package/dist/commonjs/models/operations/post-api-sandbox-token.d.ts.map +1 -0
  174. package/dist/commonjs/models/operations/post-api-sandbox-token.js +60 -0
  175. package/dist/commonjs/models/operations/post-api-sandbox-token.js.map +1 -0
  176. package/dist/commonjs/models/operations/post-api-sandbox.d.ts +254 -0
  177. package/dist/commonjs/models/operations/post-api-sandbox.d.ts.map +1 -0
  178. package/dist/commonjs/models/operations/post-api-sandbox.js +174 -0
  179. package/dist/commonjs/models/operations/post-api-sandbox.js.map +1 -0
  180. package/dist/commonjs/sdk/sandbox.d.ts +97 -0
  181. package/dist/commonjs/sdk/sandbox.d.ts.map +1 -0
  182. package/dist/commonjs/sdk/sandbox.js +146 -0
  183. package/dist/commonjs/sdk/sandbox.js.map +1 -0
  184. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  185. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  186. package/dist/commonjs/sdk/sdk.js +4 -0
  187. package/dist/commonjs/sdk/sdk.js.map +1 -1
  188. package/dist/esm/funcs/sandbox-delete-api-sandbox-by-id.d.ts +18 -0
  189. package/dist/esm/funcs/sandbox-delete-api-sandbox-by-id.d.ts.map +1 -0
  190. package/dist/esm/funcs/sandbox-delete-api-sandbox-by-id.js +88 -0
  191. package/dist/esm/funcs/sandbox-delete-api-sandbox-by-id.js.map +1 -0
  192. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts +18 -0
  193. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts.map +1 -0
  194. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.js +92 -0
  195. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.js.map +1 -0
  196. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-traces.d.ts +15 -0
  197. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-traces.d.ts.map +1 -0
  198. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-traces.js +85 -0
  199. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-traces.js.map +1 -0
  200. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id.d.ts +15 -0
  201. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id.d.ts.map +1 -0
  202. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id.js +85 -0
  203. package/dist/esm/funcs/sandbox-get-api-sandbox-by-id.js.map +1 -0
  204. package/dist/esm/funcs/sandbox-get-api-sandbox-presets.d.ts +18 -0
  205. package/dist/esm/funcs/sandbox-get-api-sandbox-presets.d.ts.map +1 -0
  206. package/dist/esm/funcs/sandbox-get-api-sandbox-presets.js +72 -0
  207. package/dist/esm/funcs/sandbox-get-api-sandbox-presets.js.map +1 -0
  208. package/dist/esm/funcs/sandbox-get-api-sandbox-providers.d.ts +18 -0
  209. package/dist/esm/funcs/sandbox-get-api-sandbox-providers.d.ts.map +1 -0
  210. package/dist/esm/funcs/sandbox-get-api-sandbox-providers.js +72 -0
  211. package/dist/esm/funcs/sandbox-get-api-sandbox-providers.js.map +1 -0
  212. package/dist/esm/funcs/sandbox-get-api-sandbox.d.ts +18 -0
  213. package/dist/esm/funcs/sandbox-get-api-sandbox.d.ts.map +1 -0
  214. package/dist/esm/funcs/sandbox-get-api-sandbox.js +73 -0
  215. package/dist/esm/funcs/sandbox-get-api-sandbox.js.map +1 -0
  216. package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.d.ts +18 -0
  217. package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.d.ts.map +1 -0
  218. package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.js +87 -0
  219. package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.js.map +1 -0
  220. package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-exec.d.ts +18 -0
  221. package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-exec.d.ts.map +1 -0
  222. package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-exec.js +93 -0
  223. package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-exec.js.map +1 -0
  224. package/dist/esm/funcs/sandbox-post-api-sandbox-preflight.d.ts +18 -0
  225. package/dist/esm/funcs/sandbox-post-api-sandbox-preflight.d.ts.map +1 -0
  226. package/dist/esm/funcs/sandbox-post-api-sandbox-preflight.js +83 -0
  227. package/dist/esm/funcs/sandbox-post-api-sandbox-preflight.js.map +1 -0
  228. package/dist/esm/funcs/sandbox-post-api-sandbox-run.d.ts +18 -0
  229. package/dist/esm/funcs/sandbox-post-api-sandbox-run.d.ts.map +1 -0
  230. package/dist/esm/funcs/sandbox-post-api-sandbox-run.js +83 -0
  231. package/dist/esm/funcs/sandbox-post-api-sandbox-run.js.map +1 -0
  232. package/dist/esm/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.d.ts +18 -0
  233. package/dist/esm/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
  234. package/dist/esm/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.js +72 -0
  235. package/dist/esm/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.js.map +1 -0
  236. package/dist/esm/funcs/sandbox-post-api-sandbox-token.d.ts +18 -0
  237. package/dist/esm/funcs/sandbox-post-api-sandbox-token.d.ts.map +1 -0
  238. package/dist/esm/funcs/sandbox-post-api-sandbox-token.js +83 -0
  239. package/dist/esm/funcs/sandbox-post-api-sandbox-token.js.map +1 -0
  240. package/dist/esm/funcs/sandbox-post-api-sandbox.d.ts +18 -0
  241. package/dist/esm/funcs/sandbox-post-api-sandbox.d.ts.map +1 -0
  242. package/dist/esm/funcs/sandbox-post-api-sandbox.js +83 -0
  243. package/dist/esm/funcs/sandbox-post-api-sandbox.js.map +1 -0
  244. package/dist/esm/lib/config.d.ts +2 -2
  245. package/dist/esm/lib/config.js +2 -2
  246. package/dist/esm/models/errors/delete-api-sandbox-by-id.d.ts +137 -0
  247. package/dist/esm/models/errors/delete-api-sandbox-by-id.d.ts.map +1 -0
  248. package/dist/esm/models/errors/delete-api-sandbox-by-id.js +165 -0
  249. package/dist/esm/models/errors/delete-api-sandbox-by-id.js.map +1 -0
  250. package/dist/esm/models/errors/get-api-sandbox-by-id-stream.d.ts +114 -0
  251. package/dist/esm/models/errors/get-api-sandbox-by-id-stream.d.ts.map +1 -0
  252. package/dist/esm/models/errors/get-api-sandbox-by-id-stream.js +138 -0
  253. package/dist/esm/models/errors/get-api-sandbox-by-id-stream.js.map +1 -0
  254. package/dist/esm/models/errors/get-api-sandbox-by-id-traces.d.ts +114 -0
  255. package/dist/esm/models/errors/get-api-sandbox-by-id-traces.d.ts.map +1 -0
  256. package/dist/esm/models/errors/get-api-sandbox-by-id-traces.js +138 -0
  257. package/dist/esm/models/errors/get-api-sandbox-by-id-traces.js.map +1 -0
  258. package/dist/esm/models/errors/get-api-sandbox-by-id.d.ts +114 -0
  259. package/dist/esm/models/errors/get-api-sandbox-by-id.d.ts.map +1 -0
  260. package/dist/esm/models/errors/get-api-sandbox-by-id.js +138 -0
  261. package/dist/esm/models/errors/get-api-sandbox-by-id.js.map +1 -0
  262. package/dist/esm/models/errors/get-api-sandbox-presets.d.ts +114 -0
  263. package/dist/esm/models/errors/get-api-sandbox-presets.d.ts.map +1 -0
  264. package/dist/esm/models/errors/get-api-sandbox-presets.js +138 -0
  265. package/dist/esm/models/errors/get-api-sandbox-presets.js.map +1 -0
  266. package/dist/esm/models/errors/get-api-sandbox-providers.d.ts +114 -0
  267. package/dist/esm/models/errors/get-api-sandbox-providers.d.ts.map +1 -0
  268. package/dist/esm/models/errors/get-api-sandbox-providers.js +138 -0
  269. package/dist/esm/models/errors/get-api-sandbox-providers.js.map +1 -0
  270. package/dist/esm/models/errors/get-api-sandbox.d.ts +114 -0
  271. package/dist/esm/models/errors/get-api-sandbox.d.ts.map +1 -0
  272. package/dist/esm/models/errors/get-api-sandbox.js +138 -0
  273. package/dist/esm/models/errors/get-api-sandbox.js.map +1 -0
  274. package/dist/esm/models/errors/index.d.ts +14 -0
  275. package/dist/esm/models/errors/index.d.ts.map +1 -1
  276. package/dist/esm/models/errors/index.js +14 -0
  277. package/dist/esm/models/errors/index.js.map +1 -1
  278. package/dist/esm/models/errors/post-api-sandbox-agent-run.d.ts +137 -0
  279. package/dist/esm/models/errors/post-api-sandbox-agent-run.d.ts.map +1 -0
  280. package/dist/esm/models/errors/post-api-sandbox-agent-run.js +165 -0
  281. package/dist/esm/models/errors/post-api-sandbox-agent-run.js.map +1 -0
  282. package/dist/esm/models/errors/post-api-sandbox-by-id-exec.d.ts +137 -0
  283. package/dist/esm/models/errors/post-api-sandbox-by-id-exec.d.ts.map +1 -0
  284. package/dist/esm/models/errors/post-api-sandbox-by-id-exec.js +165 -0
  285. package/dist/esm/models/errors/post-api-sandbox-by-id-exec.js.map +1 -0
  286. package/dist/esm/models/errors/post-api-sandbox-preflight.d.ts +137 -0
  287. package/dist/esm/models/errors/post-api-sandbox-preflight.d.ts.map +1 -0
  288. package/dist/esm/models/errors/post-api-sandbox-preflight.js +165 -0
  289. package/dist/esm/models/errors/post-api-sandbox-preflight.js.map +1 -0
  290. package/dist/esm/models/errors/post-api-sandbox-run.d.ts +137 -0
  291. package/dist/esm/models/errors/post-api-sandbox-run.d.ts.map +1 -0
  292. package/dist/esm/models/errors/post-api-sandbox-run.js +165 -0
  293. package/dist/esm/models/errors/post-api-sandbox-run.js.map +1 -0
  294. package/dist/esm/models/errors/post-api-sandbox-telemetry-v1-traces.d.ts +137 -0
  295. package/dist/esm/models/errors/post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
  296. package/dist/esm/models/errors/post-api-sandbox-telemetry-v1-traces.js +169 -0
  297. package/dist/esm/models/errors/post-api-sandbox-telemetry-v1-traces.js.map +1 -0
  298. package/dist/esm/models/errors/post-api-sandbox-token.d.ts +91 -0
  299. package/dist/esm/models/errors/post-api-sandbox-token.d.ts.map +1 -0
  300. package/dist/esm/models/errors/post-api-sandbox-token.js +111 -0
  301. package/dist/esm/models/errors/post-api-sandbox-token.js.map +1 -0
  302. package/dist/esm/models/errors/post-api-sandbox.d.ts +137 -0
  303. package/dist/esm/models/errors/post-api-sandbox.d.ts.map +1 -0
  304. package/dist/esm/models/errors/post-api-sandbox.js +165 -0
  305. package/dist/esm/models/errors/post-api-sandbox.js.map +1 -0
  306. package/dist/esm/models/operations/delete-api-sandbox-by-id.d.ts +23 -0
  307. package/dist/esm/models/operations/delete-api-sandbox-by-id.d.ts.map +1 -0
  308. package/dist/esm/models/operations/delete-api-sandbox-by-id.js +21 -0
  309. package/dist/esm/models/operations/delete-api-sandbox-by-id.js.map +1 -0
  310. package/dist/esm/models/operations/get-api-sandbox-by-id-stream.d.ts +26 -0
  311. package/dist/esm/models/operations/get-api-sandbox-by-id-stream.d.ts.map +1 -0
  312. package/dist/esm/models/operations/get-api-sandbox-by-id-stream.js +19 -0
  313. package/dist/esm/models/operations/get-api-sandbox-by-id-stream.js.map +1 -0
  314. package/dist/esm/models/operations/get-api-sandbox-by-id-traces.d.ts +27 -0
  315. package/dist/esm/models/operations/get-api-sandbox-by-id-traces.d.ts.map +1 -0
  316. package/dist/esm/models/operations/get-api-sandbox-by-id-traces.js +25 -0
  317. package/dist/esm/models/operations/get-api-sandbox-by-id-traces.js.map +1 -0
  318. package/dist/esm/models/operations/get-api-sandbox-by-id.d.ts +36 -0
  319. package/dist/esm/models/operations/get-api-sandbox-by-id.d.ts.map +1 -0
  320. package/dist/esm/models/operations/get-api-sandbox-by-id.js +33 -0
  321. package/dist/esm/models/operations/get-api-sandbox-by-id.js.map +1 -0
  322. package/dist/esm/models/operations/get-api-sandbox-presets.d.ts +47 -0
  323. package/dist/esm/models/operations/get-api-sandbox-presets.d.ts.map +1 -0
  324. package/dist/esm/models/operations/get-api-sandbox-presets.js +37 -0
  325. package/dist/esm/models/operations/get-api-sandbox-presets.js.map +1 -0
  326. package/dist/esm/models/operations/get-api-sandbox-providers.d.ts +14 -0
  327. package/dist/esm/models/operations/get-api-sandbox-providers.d.ts.map +1 -0
  328. package/dist/esm/models/operations/get-api-sandbox-providers.js +15 -0
  329. package/dist/esm/models/operations/get-api-sandbox-providers.js.map +1 -0
  330. package/dist/esm/models/operations/get-api-sandbox.d.ts +61 -0
  331. package/dist/esm/models/operations/get-api-sandbox.d.ts.map +1 -0
  332. package/dist/esm/models/operations/get-api-sandbox.js +44 -0
  333. package/dist/esm/models/operations/get-api-sandbox.js.map +1 -0
  334. package/dist/esm/models/operations/index.d.ts +14 -0
  335. package/dist/esm/models/operations/index.d.ts.map +1 -1
  336. package/dist/esm/models/operations/index.js +14 -0
  337. package/dist/esm/models/operations/index.js.map +1 -1
  338. package/dist/esm/models/operations/post-api-sandbox-agent-run.d.ts +101 -0
  339. package/dist/esm/models/operations/post-api-sandbox-agent-run.d.ts.map +1 -0
  340. package/dist/esm/models/operations/post-api-sandbox-agent-run.js +52 -0
  341. package/dist/esm/models/operations/post-api-sandbox-agent-run.js.map +1 -0
  342. package/dist/esm/models/operations/post-api-sandbox-by-id-exec.d.ts +67 -0
  343. package/dist/esm/models/operations/post-api-sandbox-by-id-exec.d.ts.map +1 -0
  344. package/dist/esm/models/operations/post-api-sandbox-by-id-exec.js +47 -0
  345. package/dist/esm/models/operations/post-api-sandbox-by-id-exec.js.map +1 -0
  346. package/dist/esm/models/operations/post-api-sandbox-preflight.d.ts +208 -0
  347. package/dist/esm/models/operations/post-api-sandbox-preflight.d.ts.map +1 -0
  348. package/dist/esm/models/operations/post-api-sandbox-preflight.js +103 -0
  349. package/dist/esm/models/operations/post-api-sandbox-preflight.js.map +1 -0
  350. package/dist/esm/models/operations/post-api-sandbox-run.d.ts +69 -0
  351. package/dist/esm/models/operations/post-api-sandbox-run.d.ts.map +1 -0
  352. package/dist/esm/models/operations/post-api-sandbox-run.js +32 -0
  353. package/dist/esm/models/operations/post-api-sandbox-run.js.map +1 -0
  354. package/dist/esm/models/operations/post-api-sandbox-telemetry-v1-traces.d.ts +13 -0
  355. package/dist/esm/models/operations/post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
  356. package/dist/esm/models/operations/post-api-sandbox-telemetry-v1-traces.js +14 -0
  357. package/dist/esm/models/operations/post-api-sandbox-telemetry-v1-traces.js.map +1 -0
  358. package/dist/esm/models/operations/post-api-sandbox-token.d.ts +36 -0
  359. package/dist/esm/models/operations/post-api-sandbox-token.d.ts.map +1 -0
  360. package/dist/esm/models/operations/post-api-sandbox-token.js +22 -0
  361. package/dist/esm/models/operations/post-api-sandbox-token.js.map +1 -0
  362. package/dist/esm/models/operations/post-api-sandbox.d.ts +254 -0
  363. package/dist/esm/models/operations/post-api-sandbox.d.ts.map +1 -0
  364. package/dist/esm/models/operations/post-api-sandbox.js +131 -0
  365. package/dist/esm/models/operations/post-api-sandbox.js.map +1 -0
  366. package/dist/esm/sdk/sandbox.d.ts +97 -0
  367. package/dist/esm/sdk/sandbox.d.ts.map +1 -0
  368. package/dist/esm/sdk/sandbox.js +142 -0
  369. package/dist/esm/sdk/sandbox.js.map +1 -0
  370. package/dist/esm/sdk/sdk.d.ts +3 -0
  371. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  372. package/dist/esm/sdk/sdk.js +4 -0
  373. package/dist/esm/sdk/sdk.js.map +1 -1
  374. package/package.json +1 -1
  375. package/src/funcs/sandbox-delete-api-sandbox-by-id.ts +200 -0
  376. package/src/funcs/sandbox-get-api-sandbox-by-id-stream.ts +204 -0
  377. package/src/funcs/sandbox-get-api-sandbox-by-id-traces.ts +196 -0
  378. package/src/funcs/sandbox-get-api-sandbox-by-id.ts +190 -0
  379. package/src/funcs/sandbox-get-api-sandbox-presets.ts +171 -0
  380. package/src/funcs/sandbox-get-api-sandbox-providers.ts +174 -0
  381. package/src/funcs/sandbox-get-api-sandbox.ts +169 -0
  382. package/src/funcs/sandbox-post-api-sandbox-agent-run.ts +203 -0
  383. package/src/funcs/sandbox-post-api-sandbox-by-id-exec.ts +209 -0
  384. package/src/funcs/sandbox-post-api-sandbox-preflight.ts +198 -0
  385. package/src/funcs/sandbox-post-api-sandbox-run.ts +192 -0
  386. package/src/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.ts +193 -0
  387. package/src/funcs/sandbox-post-api-sandbox-token.ts +184 -0
  388. package/src/funcs/sandbox-post-api-sandbox.ts +191 -0
  389. package/src/lib/config.ts +2 -2
  390. package/src/models/errors/delete-api-sandbox-by-id.ts +315 -0
  391. package/src/models/errors/get-api-sandbox-by-id-stream.ts +258 -0
  392. package/src/models/errors/get-api-sandbox-by-id-traces.ts +258 -0
  393. package/src/models/errors/get-api-sandbox-by-id.ts +264 -0
  394. package/src/models/errors/get-api-sandbox-presets.ts +262 -0
  395. package/src/models/errors/get-api-sandbox-providers.ts +260 -0
  396. package/src/models/errors/get-api-sandbox.ts +264 -0
  397. package/src/models/errors/index.ts +14 -0
  398. package/src/models/errors/post-api-sandbox-agent-run.ts +313 -0
  399. package/src/models/errors/post-api-sandbox-by-id-exec.ts +313 -0
  400. package/src/models/errors/post-api-sandbox-preflight.ts +311 -0
  401. package/src/models/errors/post-api-sandbox-run.ts +317 -0
  402. package/src/models/errors/post-api-sandbox-telemetry-v1-traces.ts +321 -0
  403. package/src/models/errors/post-api-sandbox-token.ts +211 -0
  404. package/src/models/errors/post-api-sandbox.ts +317 -0
  405. package/src/models/operations/delete-api-sandbox-by-id.ts +61 -0
  406. package/src/models/operations/get-api-sandbox-by-id-stream.ts +55 -0
  407. package/src/models/operations/get-api-sandbox-by-id-traces.ts +75 -0
  408. package/src/models/operations/get-api-sandbox-by-id.ts +82 -0
  409. package/src/models/operations/get-api-sandbox-presets.ts +97 -0
  410. package/src/models/operations/get-api-sandbox-providers.ts +36 -0
  411. package/src/models/operations/get-api-sandbox.ts +103 -0
  412. package/src/models/operations/index.ts +14 -0
  413. package/src/models/operations/post-api-sandbox-agent-run.ts +175 -0
  414. package/src/models/operations/post-api-sandbox-by-id-exec.ts +136 -0
  415. package/src/models/operations/post-api-sandbox-preflight.ts +373 -0
  416. package/src/models/operations/post-api-sandbox-run.ts +116 -0
  417. package/src/models/operations/post-api-sandbox-telemetry-v1-traces.ts +38 -0
  418. package/src/models/operations/post-api-sandbox-token.ts +73 -0
  419. package/src/models/operations/post-api-sandbox.ts +422 -0
  420. package/src/sdk/sandbox.ts +247 -0
  421. package/src/sdk/sdk.ts +6 -0
@@ -0,0 +1,317 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import * as types from "../../types/primitives.js";
7
+ import { MutagentError } from "./mutagent-error.js";
8
+
9
+ /**
10
+ * Response for status 500
11
+ */
12
+ export type PostApiSandboxInternalServerErrorData = {
13
+ error: string;
14
+ message: string;
15
+ statusCode: number;
16
+ };
17
+
18
+ /**
19
+ * Response for status 500
20
+ */
21
+ export class PostApiSandboxInternalServerError extends MutagentError {
22
+ error: string;
23
+
24
+ /** The original data that was passed to this error instance. */
25
+ data$: PostApiSandboxInternalServerErrorData;
26
+
27
+ constructor(
28
+ err: PostApiSandboxInternalServerErrorData,
29
+ httpMeta: { response: Response; request: Request; body: string },
30
+ ) {
31
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
32
+ super(message, httpMeta);
33
+ this.data$ = err;
34
+ this.error = err.error;
35
+
36
+ this.name = "PostApiSandboxInternalServerError";
37
+ }
38
+ }
39
+
40
+ /**
41
+ * Response for status 409
42
+ */
43
+ export type PostApiSandboxConflictErrorData = {
44
+ error: string;
45
+ message: string;
46
+ statusCode: number;
47
+ };
48
+
49
+ /**
50
+ * Response for status 409
51
+ */
52
+ export class PostApiSandboxConflictError extends MutagentError {
53
+ error: string;
54
+
55
+ /** The original data that was passed to this error instance. */
56
+ data$: PostApiSandboxConflictErrorData;
57
+
58
+ constructor(
59
+ err: PostApiSandboxConflictErrorData,
60
+ httpMeta: { response: Response; request: Request; body: string },
61
+ ) {
62
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
63
+ super(message, httpMeta);
64
+ this.data$ = err;
65
+ this.error = err.error;
66
+
67
+ this.name = "PostApiSandboxConflictError";
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Response for status 404
73
+ */
74
+ export type PostApiSandboxNotFoundErrorData = {
75
+ error: string;
76
+ message: string;
77
+ };
78
+
79
+ /**
80
+ * Response for status 404
81
+ */
82
+ export class PostApiSandboxNotFoundError extends MutagentError {
83
+ error: string;
84
+
85
+ /** The original data that was passed to this error instance. */
86
+ data$: PostApiSandboxNotFoundErrorData;
87
+
88
+ constructor(
89
+ err: PostApiSandboxNotFoundErrorData,
90
+ httpMeta: { response: Response; request: Request; body: string },
91
+ ) {
92
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
93
+ super(message, httpMeta);
94
+ this.data$ = err;
95
+ this.error = err.error;
96
+
97
+ this.name = "PostApiSandboxNotFoundError";
98
+ }
99
+ }
100
+
101
+ /**
102
+ * Response for status 403
103
+ */
104
+ export type PostApiSandboxForbiddenErrorData = {
105
+ error: string;
106
+ message: string;
107
+ };
108
+
109
+ /**
110
+ * Response for status 403
111
+ */
112
+ export class PostApiSandboxForbiddenError extends MutagentError {
113
+ error: string;
114
+
115
+ /** The original data that was passed to this error instance. */
116
+ data$: PostApiSandboxForbiddenErrorData;
117
+
118
+ constructor(
119
+ err: PostApiSandboxForbiddenErrorData,
120
+ httpMeta: { response: Response; request: Request; body: string },
121
+ ) {
122
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
123
+ super(message, httpMeta);
124
+ this.data$ = err;
125
+ this.error = err.error;
126
+
127
+ this.name = "PostApiSandboxForbiddenError";
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Response for status 401
133
+ */
134
+ export type PostApiSandboxUnauthorizedErrorData = {
135
+ error: string;
136
+ message: string;
137
+ };
138
+
139
+ /**
140
+ * Response for status 401
141
+ */
142
+ export class PostApiSandboxUnauthorizedError extends MutagentError {
143
+ error: string;
144
+
145
+ /** The original data that was passed to this error instance. */
146
+ data$: PostApiSandboxUnauthorizedErrorData;
147
+
148
+ constructor(
149
+ err: PostApiSandboxUnauthorizedErrorData,
150
+ httpMeta: { response: Response; request: Request; body: string },
151
+ ) {
152
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
153
+ super(message, httpMeta);
154
+ this.data$ = err;
155
+ this.error = err.error;
156
+
157
+ this.name = "PostApiSandboxUnauthorizedError";
158
+ }
159
+ }
160
+
161
+ /**
162
+ * Response for status 400
163
+ */
164
+ export type PostApiSandboxBadRequestErrorData = {
165
+ error: string;
166
+ message: string;
167
+ };
168
+
169
+ /**
170
+ * Response for status 400
171
+ */
172
+ export class PostApiSandboxBadRequestError extends MutagentError {
173
+ error: string;
174
+
175
+ /** The original data that was passed to this error instance. */
176
+ data$: PostApiSandboxBadRequestErrorData;
177
+
178
+ constructor(
179
+ err: PostApiSandboxBadRequestErrorData,
180
+ httpMeta: { response: Response; request: Request; body: string },
181
+ ) {
182
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
183
+ super(message, httpMeta);
184
+ this.data$ = err;
185
+ this.error = err.error;
186
+
187
+ this.name = "PostApiSandboxBadRequestError";
188
+ }
189
+ }
190
+
191
+ /** @internal */
192
+ export const PostApiSandboxInternalServerError$inboundSchema: z.ZodMiniType<
193
+ PostApiSandboxInternalServerError,
194
+ unknown
195
+ > = z.pipe(
196
+ z.object({
197
+ error: types.string(),
198
+ message: types.string(),
199
+ statusCode: types.number(),
200
+ request$: z.custom<Request>(x => x instanceof Request),
201
+ response$: z.custom<Response>(x => x instanceof Response),
202
+ body$: z.string(),
203
+ }),
204
+ z.transform((v) => {
205
+ return new PostApiSandboxInternalServerError(v, {
206
+ request: v.request$,
207
+ response: v.response$,
208
+ body: v.body$,
209
+ });
210
+ }),
211
+ );
212
+
213
+ /** @internal */
214
+ export const PostApiSandboxConflictError$inboundSchema: z.ZodMiniType<
215
+ PostApiSandboxConflictError,
216
+ unknown
217
+ > = z.pipe(
218
+ z.object({
219
+ error: types.string(),
220
+ message: types.string(),
221
+ statusCode: types.number(),
222
+ request$: z.custom<Request>(x => x instanceof Request),
223
+ response$: z.custom<Response>(x => x instanceof Response),
224
+ body$: z.string(),
225
+ }),
226
+ z.transform((v) => {
227
+ return new PostApiSandboxConflictError(v, {
228
+ request: v.request$,
229
+ response: v.response$,
230
+ body: v.body$,
231
+ });
232
+ }),
233
+ );
234
+
235
+ /** @internal */
236
+ export const PostApiSandboxNotFoundError$inboundSchema: z.ZodMiniType<
237
+ PostApiSandboxNotFoundError,
238
+ unknown
239
+ > = z.pipe(
240
+ z.object({
241
+ error: types.string(),
242
+ message: types.string(),
243
+ request$: z.custom<Request>(x => x instanceof Request),
244
+ response$: z.custom<Response>(x => x instanceof Response),
245
+ body$: z.string(),
246
+ }),
247
+ z.transform((v) => {
248
+ return new PostApiSandboxNotFoundError(v, {
249
+ request: v.request$,
250
+ response: v.response$,
251
+ body: v.body$,
252
+ });
253
+ }),
254
+ );
255
+
256
+ /** @internal */
257
+ export const PostApiSandboxForbiddenError$inboundSchema: z.ZodMiniType<
258
+ PostApiSandboxForbiddenError,
259
+ unknown
260
+ > = z.pipe(
261
+ z.object({
262
+ error: types.string(),
263
+ message: types.string(),
264
+ request$: z.custom<Request>(x => x instanceof Request),
265
+ response$: z.custom<Response>(x => x instanceof Response),
266
+ body$: z.string(),
267
+ }),
268
+ z.transform((v) => {
269
+ return new PostApiSandboxForbiddenError(v, {
270
+ request: v.request$,
271
+ response: v.response$,
272
+ body: v.body$,
273
+ });
274
+ }),
275
+ );
276
+
277
+ /** @internal */
278
+ export const PostApiSandboxUnauthorizedError$inboundSchema: z.ZodMiniType<
279
+ PostApiSandboxUnauthorizedError,
280
+ unknown
281
+ > = z.pipe(
282
+ z.object({
283
+ error: types.string(),
284
+ message: types.string(),
285
+ request$: z.custom<Request>(x => x instanceof Request),
286
+ response$: z.custom<Response>(x => x instanceof Response),
287
+ body$: z.string(),
288
+ }),
289
+ z.transform((v) => {
290
+ return new PostApiSandboxUnauthorizedError(v, {
291
+ request: v.request$,
292
+ response: v.response$,
293
+ body: v.body$,
294
+ });
295
+ }),
296
+ );
297
+
298
+ /** @internal */
299
+ export const PostApiSandboxBadRequestError$inboundSchema: z.ZodMiniType<
300
+ PostApiSandboxBadRequestError,
301
+ unknown
302
+ > = z.pipe(
303
+ z.object({
304
+ error: types.string(),
305
+ message: types.string(),
306
+ request$: z.custom<Request>(x => x instanceof Request),
307
+ response$: z.custom<Response>(x => x instanceof Response),
308
+ body$: z.string(),
309
+ }),
310
+ z.transform((v) => {
311
+ return new PostApiSandboxBadRequestError(v, {
312
+ request: v.request$,
313
+ response: v.response$,
314
+ body: v.body$,
315
+ });
316
+ }),
317
+ );
@@ -0,0 +1,61 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
+
11
+ export type DeleteApiSandboxByIdRequest = {
12
+ id: string;
13
+ };
14
+
15
+ /**
16
+ * Response for status 200
17
+ */
18
+ export type DeleteApiSandboxByIdResponse = {
19
+ torndown: boolean;
20
+ };
21
+
22
+ /** @internal */
23
+ export type DeleteApiSandboxByIdRequest$Outbound = {
24
+ id: string;
25
+ };
26
+
27
+ /** @internal */
28
+ export const DeleteApiSandboxByIdRequest$outboundSchema: z.ZodMiniType<
29
+ DeleteApiSandboxByIdRequest$Outbound,
30
+ DeleteApiSandboxByIdRequest
31
+ > = z.object({
32
+ id: z.string(),
33
+ });
34
+
35
+ export function deleteApiSandboxByIdRequestToJSON(
36
+ deleteApiSandboxByIdRequest: DeleteApiSandboxByIdRequest,
37
+ ): string {
38
+ return JSON.stringify(
39
+ DeleteApiSandboxByIdRequest$outboundSchema.parse(
40
+ deleteApiSandboxByIdRequest,
41
+ ),
42
+ );
43
+ }
44
+
45
+ /** @internal */
46
+ export const DeleteApiSandboxByIdResponse$inboundSchema: z.ZodMiniType<
47
+ DeleteApiSandboxByIdResponse,
48
+ unknown
49
+ > = z.object({
50
+ torndown: types.boolean(),
51
+ });
52
+
53
+ export function deleteApiSandboxByIdResponseFromJSON(
54
+ jsonString: string,
55
+ ): SafeParseResult<DeleteApiSandboxByIdResponse, SDKValidationError> {
56
+ return safeParse(
57
+ jsonString,
58
+ (x) => DeleteApiSandboxByIdResponse$inboundSchema.parse(JSON.parse(x)),
59
+ `Failed to parse 'DeleteApiSandboxByIdResponse' from JSON`,
60
+ );
61
+ }
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { smartUnion } from "../../types/smart-union.js";
7
+
8
+ /**
9
+ * Resume after this sequence number. Everything still buffered above it is replayed. If the buffer has already rolled past it, an `error` event says so — the gap is never skipped silently.
10
+ */
11
+ export type Since = string | number;
12
+
13
+ export type GetApiSandboxByIdStreamRequest = {
14
+ id: string;
15
+ /**
16
+ * Resume after this sequence number. Everything still buffered above it is replayed. If the buffer has already rolled past it, an `error` event says so — the gap is never skipped silently.
17
+ */
18
+ since?: string | number | undefined;
19
+ };
20
+
21
+ /** @internal */
22
+ export type Since$Outbound = string | number;
23
+
24
+ /** @internal */
25
+ export const Since$outboundSchema: z.ZodMiniType<Since$Outbound, Since> =
26
+ smartUnion([z.string(), z.number()]);
27
+
28
+ export function sinceToJSON(since: Since): string {
29
+ return JSON.stringify(Since$outboundSchema.parse(since));
30
+ }
31
+
32
+ /** @internal */
33
+ export type GetApiSandboxByIdStreamRequest$Outbound = {
34
+ id: string;
35
+ since?: string | number | undefined;
36
+ };
37
+
38
+ /** @internal */
39
+ export const GetApiSandboxByIdStreamRequest$outboundSchema: z.ZodMiniType<
40
+ GetApiSandboxByIdStreamRequest$Outbound,
41
+ GetApiSandboxByIdStreamRequest
42
+ > = z.object({
43
+ id: z.string(),
44
+ since: z.optional(smartUnion([z.string(), z.number()])),
45
+ });
46
+
47
+ export function getApiSandboxByIdStreamRequestToJSON(
48
+ getApiSandboxByIdStreamRequest: GetApiSandboxByIdStreamRequest,
49
+ ): string {
50
+ return JSON.stringify(
51
+ GetApiSandboxByIdStreamRequest$outboundSchema.parse(
52
+ getApiSandboxByIdStreamRequest,
53
+ ),
54
+ );
55
+ }
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
9
+
10
+ export type GetApiSandboxByIdTracesRequest = {
11
+ id: string;
12
+ };
13
+
14
+ export type Span = {};
15
+
16
+ /**
17
+ * Response for status 200
18
+ */
19
+ export type GetApiSandboxByIdTracesResponse = {
20
+ spans: Array<Span>;
21
+ };
22
+
23
+ /** @internal */
24
+ export type GetApiSandboxByIdTracesRequest$Outbound = {
25
+ id: string;
26
+ };
27
+
28
+ /** @internal */
29
+ export const GetApiSandboxByIdTracesRequest$outboundSchema: z.ZodMiniType<
30
+ GetApiSandboxByIdTracesRequest$Outbound,
31
+ GetApiSandboxByIdTracesRequest
32
+ > = z.object({
33
+ id: z.string(),
34
+ });
35
+
36
+ export function getApiSandboxByIdTracesRequestToJSON(
37
+ getApiSandboxByIdTracesRequest: GetApiSandboxByIdTracesRequest,
38
+ ): string {
39
+ return JSON.stringify(
40
+ GetApiSandboxByIdTracesRequest$outboundSchema.parse(
41
+ getApiSandboxByIdTracesRequest,
42
+ ),
43
+ );
44
+ }
45
+
46
+ /** @internal */
47
+ export const Span$inboundSchema: z.ZodMiniType<Span, unknown> = z.object({});
48
+
49
+ export function spanFromJSON(
50
+ jsonString: string,
51
+ ): SafeParseResult<Span, SDKValidationError> {
52
+ return safeParse(
53
+ jsonString,
54
+ (x) => Span$inboundSchema.parse(JSON.parse(x)),
55
+ `Failed to parse 'Span' from JSON`,
56
+ );
57
+ }
58
+
59
+ /** @internal */
60
+ export const GetApiSandboxByIdTracesResponse$inboundSchema: z.ZodMiniType<
61
+ GetApiSandboxByIdTracesResponse,
62
+ unknown
63
+ > = z.object({
64
+ spans: z.array(z.lazy(() => Span$inboundSchema)),
65
+ });
66
+
67
+ export function getApiSandboxByIdTracesResponseFromJSON(
68
+ jsonString: string,
69
+ ): SafeParseResult<GetApiSandboxByIdTracesResponse, SDKValidationError> {
70
+ return safeParse(
71
+ jsonString,
72
+ (x) => GetApiSandboxByIdTracesResponse$inboundSchema.parse(JSON.parse(x)),
73
+ `Failed to parse 'GetApiSandboxByIdTracesResponse' from JSON`,
74
+ );
75
+ }
@@ -0,0 +1,82 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as openEnums from "../../types/enums.js";
8
+ import { OpenEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
11
+
12
+ export type GetApiSandboxByIdRequest = {
13
+ id: string;
14
+ };
15
+
16
+ export enum GetApiSandboxByIdStatus {
17
+ Pending = "pending",
18
+ Starting = "starting",
19
+ Running = "running",
20
+ Paused = "paused",
21
+ Stopping = "stopping",
22
+ Stopped = "stopped",
23
+ Failed = "failed",
24
+ }
25
+ export type GetApiSandboxByIdStatusOpen = OpenEnum<
26
+ typeof GetApiSandboxByIdStatus
27
+ >;
28
+
29
+ /**
30
+ * Response for status 200
31
+ */
32
+ export type GetApiSandboxByIdResponse = {
33
+ status: GetApiSandboxByIdStatusOpen;
34
+ };
35
+
36
+ /** @internal */
37
+ export type GetApiSandboxByIdRequest$Outbound = {
38
+ id: string;
39
+ };
40
+
41
+ /** @internal */
42
+ export const GetApiSandboxByIdRequest$outboundSchema: z.ZodMiniType<
43
+ GetApiSandboxByIdRequest$Outbound,
44
+ GetApiSandboxByIdRequest
45
+ > = z.object({
46
+ id: z.string(),
47
+ });
48
+
49
+ export function getApiSandboxByIdRequestToJSON(
50
+ getApiSandboxByIdRequest: GetApiSandboxByIdRequest,
51
+ ): string {
52
+ return JSON.stringify(
53
+ GetApiSandboxByIdRequest$outboundSchema.parse(getApiSandboxByIdRequest),
54
+ );
55
+ }
56
+
57
+ /** @internal */
58
+ export const GetApiSandboxByIdStatus$inboundSchema: z.ZodMiniType<
59
+ GetApiSandboxByIdStatusOpen,
60
+ unknown
61
+ > = openEnums.inboundSchema(GetApiSandboxByIdStatus);
62
+
63
+ /** @internal */
64
+ export const GetApiSandboxByIdResponse$inboundSchema: z.ZodMiniType<
65
+ GetApiSandboxByIdResponse,
66
+ unknown
67
+ > = z.object({
68
+ status: z._default(
69
+ GetApiSandboxByIdStatus$inboundSchema,
70
+ GetApiSandboxByIdStatus.Pending,
71
+ ),
72
+ });
73
+
74
+ export function getApiSandboxByIdResponseFromJSON(
75
+ jsonString: string,
76
+ ): SafeParseResult<GetApiSandboxByIdResponse, SDKValidationError> {
77
+ return safeParse(
78
+ jsonString,
79
+ (x) => GetApiSandboxByIdResponse$inboundSchema.parse(JSON.parse(x)),
80
+ `Failed to parse 'GetApiSandboxByIdResponse' from JSON`,
81
+ );
82
+ }
@@ -0,0 +1,97 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as openEnums from "../../types/enums.js";
8
+ import { OpenEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import * as types from "../../types/primitives.js";
11
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
12
+
13
+ /**
14
+ * CPU architecture the image was built for. Validated against the provider at preflight.
15
+ */
16
+ export enum GetApiSandboxPresetsArch {
17
+ X8664 = "x86_64",
18
+ Arm64 = "arm64",
19
+ }
20
+ /**
21
+ * CPU architecture the image was built for. Validated against the provider at preflight.
22
+ */
23
+ export type GetApiSandboxPresetsArchOpen = OpenEnum<
24
+ typeof GetApiSandboxPresetsArch
25
+ >;
26
+
27
+ export type Preset = {
28
+ name: string;
29
+ description: string;
30
+ /**
31
+ * CPU architecture the image was built for. Validated against the provider at preflight.
32
+ */
33
+ arch: GetApiSandboxPresetsArchOpen;
34
+ provider?: string | undefined;
35
+ /**
36
+ * Environment loaded at spawn, when the preset names one.
37
+ */
38
+ environment?: string | undefined;
39
+ };
40
+
41
+ /**
42
+ * Presets this backend can run. Image references are deliberately not exposed.
43
+ */
44
+ export type GetApiSandboxPresetsResponse = {
45
+ presets: Array<Preset>;
46
+ /**
47
+ * Preset used when a request omits one. Null when nothing is configured.
48
+ */
49
+ default: string | null;
50
+ };
51
+
52
+ /** @internal */
53
+ export const GetApiSandboxPresetsArch$inboundSchema: z.ZodMiniType<
54
+ GetApiSandboxPresetsArchOpen,
55
+ unknown
56
+ > = openEnums.inboundSchema(GetApiSandboxPresetsArch);
57
+
58
+ /** @internal */
59
+ export const Preset$inboundSchema: z.ZodMiniType<Preset, unknown> = z.object({
60
+ name: types.string(),
61
+ description: types.string(),
62
+ arch: z._default(
63
+ GetApiSandboxPresetsArch$inboundSchema,
64
+ GetApiSandboxPresetsArch.X8664,
65
+ ),
66
+ provider: types.optional(types.string()),
67
+ environment: types.optional(types.string()),
68
+ });
69
+
70
+ export function presetFromJSON(
71
+ jsonString: string,
72
+ ): SafeParseResult<Preset, SDKValidationError> {
73
+ return safeParse(
74
+ jsonString,
75
+ (x) => Preset$inboundSchema.parse(JSON.parse(x)),
76
+ `Failed to parse 'Preset' from JSON`,
77
+ );
78
+ }
79
+
80
+ /** @internal */
81
+ export const GetApiSandboxPresetsResponse$inboundSchema: z.ZodMiniType<
82
+ GetApiSandboxPresetsResponse,
83
+ unknown
84
+ > = z.object({
85
+ presets: z.array(z.lazy(() => Preset$inboundSchema)),
86
+ default: types.nullable(types.string()),
87
+ });
88
+
89
+ export function getApiSandboxPresetsResponseFromJSON(
90
+ jsonString: string,
91
+ ): SafeParseResult<GetApiSandboxPresetsResponse, SDKValidationError> {
92
+ return safeParse(
93
+ jsonString,
94
+ (x) => GetApiSandboxPresetsResponse$inboundSchema.parse(JSON.parse(x)),
95
+ `Failed to parse 'GetApiSandboxPresetsResponse' from JSON`,
96
+ );
97
+ }