@mutagent/sdk 0.3.33 → 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.
- package/README.md +114 -7
- package/dist/commonjs/funcs/sandbox-delete-api-sandbox-by-id.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-delete-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-delete-api-sandbox-by-id.js +124 -0
- package/dist/commonjs/funcs/sandbox-delete-api-sandbox-by-id.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.js +128 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-traces.d.ts +15 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-traces.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-traces.js +121 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-traces.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id.d.ts +15 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id.js +121 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-presets.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-presets.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-presets.js +108 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-presets.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-providers.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-providers.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-providers.js +108 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-providers.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox.js +109 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.js +123 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-exec.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-exec.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-exec.js +129 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-exec.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-preflight.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-preflight.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-preflight.js +119 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-preflight.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-run.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-run.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-run.js +119 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-run.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.js +108 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-token.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-token.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-token.js +119 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-token.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox.js +119 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/errors/delete-api-sandbox-by-id.d.ts +137 -0
- package/dist/commonjs/models/errors/delete-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/commonjs/models/errors/delete-api-sandbox-by-id.js +207 -0
- package/dist/commonjs/models/errors/delete-api-sandbox-by-id.js.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id-stream.d.ts +114 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id-stream.d.ts.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id-stream.js +179 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id-stream.js.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id-traces.d.ts +114 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id-traces.d.ts.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id-traces.js +179 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id-traces.js.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id.d.ts +114 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id.js +179 -0
- package/dist/commonjs/models/errors/get-api-sandbox-by-id.js.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-presets.d.ts +114 -0
- package/dist/commonjs/models/errors/get-api-sandbox-presets.d.ts.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-presets.js +179 -0
- package/dist/commonjs/models/errors/get-api-sandbox-presets.js.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-providers.d.ts +114 -0
- package/dist/commonjs/models/errors/get-api-sandbox-providers.d.ts.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox-providers.js +179 -0
- package/dist/commonjs/models/errors/get-api-sandbox-providers.js.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox.d.ts +114 -0
- package/dist/commonjs/models/errors/get-api-sandbox.d.ts.map +1 -0
- package/dist/commonjs/models/errors/get-api-sandbox.js +179 -0
- package/dist/commonjs/models/errors/get-api-sandbox.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +14 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +14 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.d.ts +137 -0
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.d.ts.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.js +207 -0
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.js.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-by-id-exec.d.ts +137 -0
- package/dist/commonjs/models/errors/post-api-sandbox-by-id-exec.d.ts.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-by-id-exec.js +207 -0
- package/dist/commonjs/models/errors/post-api-sandbox-by-id-exec.js.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-preflight.d.ts +137 -0
- package/dist/commonjs/models/errors/post-api-sandbox-preflight.d.ts.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-preflight.js +207 -0
- package/dist/commonjs/models/errors/post-api-sandbox-preflight.js.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-run.d.ts +137 -0
- package/dist/commonjs/models/errors/post-api-sandbox-run.d.ts.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-run.js +207 -0
- package/dist/commonjs/models/errors/post-api-sandbox-run.js.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-telemetry-v1-traces.d.ts +137 -0
- package/dist/commonjs/models/errors/post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-telemetry-v1-traces.js +211 -0
- package/dist/commonjs/models/errors/post-api-sandbox-telemetry-v1-traces.js.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-token.d.ts +91 -0
- package/dist/commonjs/models/errors/post-api-sandbox-token.d.ts.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox-token.js +151 -0
- package/dist/commonjs/models/errors/post-api-sandbox-token.js.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox.d.ts +137 -0
- package/dist/commonjs/models/errors/post-api-sandbox.d.ts.map +1 -0
- package/dist/commonjs/models/errors/post-api-sandbox.js +207 -0
- package/dist/commonjs/models/errors/post-api-sandbox.js.map +1 -0
- package/dist/commonjs/models/operations/delete-api-sandbox-by-id.d.ts +23 -0
- package/dist/commonjs/models/operations/delete-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/commonjs/models/operations/delete-api-sandbox-by-id.js +59 -0
- package/dist/commonjs/models/operations/delete-api-sandbox-by-id.js.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-stream.d.ts +26 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-stream.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-stream.js +57 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-stream.js.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-traces.d.ts +27 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-traces.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-traces.js +64 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-traces.js.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id.d.ts +36 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id.js +71 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id.js.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-presets.d.ts +47 -0
- package/dist/commonjs/models/operations/get-api-sandbox-presets.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-presets.js +75 -0
- package/dist/commonjs/models/operations/get-api-sandbox-presets.js.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-providers.d.ts +14 -0
- package/dist/commonjs/models/operations/get-api-sandbox-providers.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-providers.js +52 -0
- package/dist/commonjs/models/operations/get-api-sandbox-providers.js.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox.d.ts +61 -0
- package/dist/commonjs/models/operations/get-api-sandbox.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox.js +81 -0
- package/dist/commonjs/models/operations/get-api-sandbox.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +14 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +14 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.d.ts +101 -0
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.js +91 -0
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.js.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-exec.d.ts +67 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-exec.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-exec.js +86 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-exec.js.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-preflight.d.ts +208 -0
- package/dist/commonjs/models/operations/post-api-sandbox-preflight.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-preflight.js +146 -0
- package/dist/commonjs/models/operations/post-api-sandbox-preflight.js.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-run.d.ts +69 -0
- package/dist/commonjs/models/operations/post-api-sandbox-run.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-run.js +70 -0
- package/dist/commonjs/models/operations/post-api-sandbox-run.js.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-telemetry-v1-traces.d.ts +13 -0
- package/dist/commonjs/models/operations/post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-telemetry-v1-traces.js +51 -0
- package/dist/commonjs/models/operations/post-api-sandbox-telemetry-v1-traces.js.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-token.d.ts +36 -0
- package/dist/commonjs/models/operations/post-api-sandbox-token.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-token.js +60 -0
- package/dist/commonjs/models/operations/post-api-sandbox-token.js.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox.d.ts +254 -0
- package/dist/commonjs/models/operations/post-api-sandbox.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox.js +174 -0
- package/dist/commonjs/models/operations/post-api-sandbox.js.map +1 -0
- package/dist/commonjs/sdk/sandbox.d.ts +97 -0
- package/dist/commonjs/sdk/sandbox.d.ts.map +1 -0
- package/dist/commonjs/sdk/sandbox.js +146 -0
- package/dist/commonjs/sdk/sandbox.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/sandbox-delete-api-sandbox-by-id.d.ts +18 -0
- package/dist/esm/funcs/sandbox-delete-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-delete-api-sandbox-by-id.js +88 -0
- package/dist/esm/funcs/sandbox-delete-api-sandbox-by-id.js.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts +18 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.js +92 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.js.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-traces.d.ts +15 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-traces.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-traces.js +85 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-traces.js.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id.d.ts +15 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id.js +85 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id.js.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-presets.d.ts +18 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-presets.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-presets.js +72 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-presets.js.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-providers.d.ts +18 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-providers.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-providers.js +72 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-providers.js.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox.d.ts +18 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox.js +73 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox.js.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.d.ts +18 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.js +87 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.js.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-exec.d.ts +18 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-exec.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-exec.js +93 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-exec.js.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-preflight.d.ts +18 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-preflight.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-preflight.js +83 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-preflight.js.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-run.d.ts +18 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-run.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-run.js +83 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-run.js.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.d.ts +18 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.js +72 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.js.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-token.d.ts +18 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-token.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-token.js +83 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-token.js.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox.d.ts +18 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox.js +83 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/errors/delete-api-sandbox-by-id.d.ts +137 -0
- package/dist/esm/models/errors/delete-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/esm/models/errors/delete-api-sandbox-by-id.js +165 -0
- package/dist/esm/models/errors/delete-api-sandbox-by-id.js.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id-stream.d.ts +114 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id-stream.d.ts.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id-stream.js +138 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id-stream.js.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id-traces.d.ts +114 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id-traces.d.ts.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id-traces.js +138 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id-traces.js.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id.d.ts +114 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id.js +138 -0
- package/dist/esm/models/errors/get-api-sandbox-by-id.js.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-presets.d.ts +114 -0
- package/dist/esm/models/errors/get-api-sandbox-presets.d.ts.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-presets.js +138 -0
- package/dist/esm/models/errors/get-api-sandbox-presets.js.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-providers.d.ts +114 -0
- package/dist/esm/models/errors/get-api-sandbox-providers.d.ts.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox-providers.js +138 -0
- package/dist/esm/models/errors/get-api-sandbox-providers.js.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox.d.ts +114 -0
- package/dist/esm/models/errors/get-api-sandbox.d.ts.map +1 -0
- package/dist/esm/models/errors/get-api-sandbox.js +138 -0
- package/dist/esm/models/errors/get-api-sandbox.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +14 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +14 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/post-api-sandbox-agent-run.d.ts +137 -0
- package/dist/esm/models/errors/post-api-sandbox-agent-run.d.ts.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-agent-run.js +165 -0
- package/dist/esm/models/errors/post-api-sandbox-agent-run.js.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-by-id-exec.d.ts +137 -0
- package/dist/esm/models/errors/post-api-sandbox-by-id-exec.d.ts.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-by-id-exec.js +165 -0
- package/dist/esm/models/errors/post-api-sandbox-by-id-exec.js.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-preflight.d.ts +137 -0
- package/dist/esm/models/errors/post-api-sandbox-preflight.d.ts.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-preflight.js +165 -0
- package/dist/esm/models/errors/post-api-sandbox-preflight.js.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-run.d.ts +137 -0
- package/dist/esm/models/errors/post-api-sandbox-run.d.ts.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-run.js +165 -0
- package/dist/esm/models/errors/post-api-sandbox-run.js.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-telemetry-v1-traces.d.ts +137 -0
- package/dist/esm/models/errors/post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-telemetry-v1-traces.js +169 -0
- package/dist/esm/models/errors/post-api-sandbox-telemetry-v1-traces.js.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-token.d.ts +91 -0
- package/dist/esm/models/errors/post-api-sandbox-token.d.ts.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox-token.js +111 -0
- package/dist/esm/models/errors/post-api-sandbox-token.js.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox.d.ts +137 -0
- package/dist/esm/models/errors/post-api-sandbox.d.ts.map +1 -0
- package/dist/esm/models/errors/post-api-sandbox.js +165 -0
- package/dist/esm/models/errors/post-api-sandbox.js.map +1 -0
- package/dist/esm/models/operations/delete-api-sandbox-by-id.d.ts +23 -0
- package/dist/esm/models/operations/delete-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/esm/models/operations/delete-api-sandbox-by-id.js +21 -0
- package/dist/esm/models/operations/delete-api-sandbox-by-id.js.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-stream.d.ts +26 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-stream.d.ts.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-stream.js +19 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-stream.js.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-traces.d.ts +27 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-traces.d.ts.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-traces.js +25 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-traces.js.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id.d.ts +36 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id.d.ts.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id.js +33 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id.js.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-presets.d.ts +47 -0
- package/dist/esm/models/operations/get-api-sandbox-presets.d.ts.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-presets.js +37 -0
- package/dist/esm/models/operations/get-api-sandbox-presets.js.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-providers.d.ts +14 -0
- package/dist/esm/models/operations/get-api-sandbox-providers.d.ts.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-providers.js +15 -0
- package/dist/esm/models/operations/get-api-sandbox-providers.js.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox.d.ts +61 -0
- package/dist/esm/models/operations/get-api-sandbox.d.ts.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox.js +44 -0
- package/dist/esm/models/operations/get-api-sandbox.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +14 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +14 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/post-api-sandbox-agent-run.d.ts +101 -0
- package/dist/esm/models/operations/post-api-sandbox-agent-run.d.ts.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-agent-run.js +52 -0
- package/dist/esm/models/operations/post-api-sandbox-agent-run.js.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-exec.d.ts +67 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-exec.d.ts.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-exec.js +47 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-exec.js.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-preflight.d.ts +208 -0
- package/dist/esm/models/operations/post-api-sandbox-preflight.d.ts.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-preflight.js +103 -0
- package/dist/esm/models/operations/post-api-sandbox-preflight.js.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-run.d.ts +69 -0
- package/dist/esm/models/operations/post-api-sandbox-run.d.ts.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-run.js +32 -0
- package/dist/esm/models/operations/post-api-sandbox-run.js.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-telemetry-v1-traces.d.ts +13 -0
- package/dist/esm/models/operations/post-api-sandbox-telemetry-v1-traces.d.ts.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-telemetry-v1-traces.js +14 -0
- package/dist/esm/models/operations/post-api-sandbox-telemetry-v1-traces.js.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-token.d.ts +36 -0
- package/dist/esm/models/operations/post-api-sandbox-token.d.ts.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-token.js +22 -0
- package/dist/esm/models/operations/post-api-sandbox-token.js.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox.d.ts +254 -0
- package/dist/esm/models/operations/post-api-sandbox.d.ts.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox.js +131 -0
- package/dist/esm/models/operations/post-api-sandbox.js.map +1 -0
- package/dist/esm/sdk/sandbox.d.ts +97 -0
- package/dist/esm/sdk/sandbox.d.ts.map +1 -0
- package/dist/esm/sdk/sandbox.js +142 -0
- package/dist/esm/sdk/sandbox.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/sandbox-delete-api-sandbox-by-id.ts +200 -0
- package/src/funcs/sandbox-get-api-sandbox-by-id-stream.ts +204 -0
- package/src/funcs/sandbox-get-api-sandbox-by-id-traces.ts +196 -0
- package/src/funcs/sandbox-get-api-sandbox-by-id.ts +190 -0
- package/src/funcs/sandbox-get-api-sandbox-presets.ts +171 -0
- package/src/funcs/sandbox-get-api-sandbox-providers.ts +174 -0
- package/src/funcs/sandbox-get-api-sandbox.ts +169 -0
- package/src/funcs/sandbox-post-api-sandbox-agent-run.ts +203 -0
- package/src/funcs/sandbox-post-api-sandbox-by-id-exec.ts +209 -0
- package/src/funcs/sandbox-post-api-sandbox-preflight.ts +198 -0
- package/src/funcs/sandbox-post-api-sandbox-run.ts +192 -0
- package/src/funcs/sandbox-post-api-sandbox-telemetry-v1-traces.ts +193 -0
- package/src/funcs/sandbox-post-api-sandbox-token.ts +184 -0
- package/src/funcs/sandbox-post-api-sandbox.ts +191 -0
- package/src/lib/config.ts +2 -2
- package/src/models/errors/delete-api-sandbox-by-id.ts +315 -0
- package/src/models/errors/get-api-sandbox-by-id-stream.ts +258 -0
- package/src/models/errors/get-api-sandbox-by-id-traces.ts +258 -0
- package/src/models/errors/get-api-sandbox-by-id.ts +264 -0
- package/src/models/errors/get-api-sandbox-presets.ts +262 -0
- package/src/models/errors/get-api-sandbox-providers.ts +260 -0
- package/src/models/errors/get-api-sandbox.ts +264 -0
- package/src/models/errors/index.ts +14 -0
- package/src/models/errors/post-api-sandbox-agent-run.ts +313 -0
- package/src/models/errors/post-api-sandbox-by-id-exec.ts +313 -0
- package/src/models/errors/post-api-sandbox-preflight.ts +311 -0
- package/src/models/errors/post-api-sandbox-run.ts +317 -0
- package/src/models/errors/post-api-sandbox-telemetry-v1-traces.ts +321 -0
- package/src/models/errors/post-api-sandbox-token.ts +211 -0
- package/src/models/errors/post-api-sandbox.ts +317 -0
- package/src/models/operations/delete-api-sandbox-by-id.ts +61 -0
- package/src/models/operations/get-api-sandbox-by-id-stream.ts +55 -0
- package/src/models/operations/get-api-sandbox-by-id-traces.ts +75 -0
- package/src/models/operations/get-api-sandbox-by-id.ts +82 -0
- package/src/models/operations/get-api-sandbox-presets.ts +97 -0
- package/src/models/operations/get-api-sandbox-providers.ts +36 -0
- package/src/models/operations/get-api-sandbox.ts +103 -0
- package/src/models/operations/index.ts +14 -0
- package/src/models/operations/post-api-sandbox-agent-run.ts +175 -0
- package/src/models/operations/post-api-sandbox-by-id-exec.ts +136 -0
- package/src/models/operations/post-api-sandbox-preflight.ts +373 -0
- package/src/models/operations/post-api-sandbox-run.ts +116 -0
- package/src/models/operations/post-api-sandbox-telemetry-v1-traces.ts +38 -0
- package/src/models/operations/post-api-sandbox-token.ts +73 -0
- package/src/models/operations/post-api-sandbox.ts +422 -0
- package/src/sdk/sandbox.ts +247 -0
- 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
|
+
}
|