@mutagent/sdk 0.3.34 → 0.3.36
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 +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- 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 +3 -3
- package/dist/esm/lib/config.js +3 -3
- 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 +3 -3
- 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,264 @@
|
|
|
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 GetApiSandboxByIdInternalServerErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
message: string;
|
|
15
|
+
statusCode: number;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Response for status 500
|
|
20
|
+
*/
|
|
21
|
+
export class GetApiSandboxByIdInternalServerError extends MutagentError {
|
|
22
|
+
error: string;
|
|
23
|
+
|
|
24
|
+
/** The original data that was passed to this error instance. */
|
|
25
|
+
data$: GetApiSandboxByIdInternalServerErrorData;
|
|
26
|
+
|
|
27
|
+
constructor(
|
|
28
|
+
err: GetApiSandboxByIdInternalServerErrorData,
|
|
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 = "GetApiSandboxByIdInternalServerError";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Response for status 404
|
|
42
|
+
*/
|
|
43
|
+
export type GetApiSandboxByIdNotFoundErrorData = {
|
|
44
|
+
error: string;
|
|
45
|
+
message: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Response for status 404
|
|
50
|
+
*/
|
|
51
|
+
export class GetApiSandboxByIdNotFoundError extends MutagentError {
|
|
52
|
+
error: string;
|
|
53
|
+
|
|
54
|
+
/** The original data that was passed to this error instance. */
|
|
55
|
+
data$: GetApiSandboxByIdNotFoundErrorData;
|
|
56
|
+
|
|
57
|
+
constructor(
|
|
58
|
+
err: GetApiSandboxByIdNotFoundErrorData,
|
|
59
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
60
|
+
) {
|
|
61
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
62
|
+
super(message, httpMeta);
|
|
63
|
+
this.data$ = err;
|
|
64
|
+
this.error = err.error;
|
|
65
|
+
|
|
66
|
+
this.name = "GetApiSandboxByIdNotFoundError";
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Response for status 403
|
|
72
|
+
*/
|
|
73
|
+
export type GetApiSandboxByIdForbiddenErrorData = {
|
|
74
|
+
error: string;
|
|
75
|
+
message: string;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Response for status 403
|
|
80
|
+
*/
|
|
81
|
+
export class GetApiSandboxByIdForbiddenError extends MutagentError {
|
|
82
|
+
error: string;
|
|
83
|
+
|
|
84
|
+
/** The original data that was passed to this error instance. */
|
|
85
|
+
data$: GetApiSandboxByIdForbiddenErrorData;
|
|
86
|
+
|
|
87
|
+
constructor(
|
|
88
|
+
err: GetApiSandboxByIdForbiddenErrorData,
|
|
89
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
90
|
+
) {
|
|
91
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
92
|
+
super(message, httpMeta);
|
|
93
|
+
this.data$ = err;
|
|
94
|
+
this.error = err.error;
|
|
95
|
+
|
|
96
|
+
this.name = "GetApiSandboxByIdForbiddenError";
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Response for status 401
|
|
102
|
+
*/
|
|
103
|
+
export type GetApiSandboxByIdUnauthorizedErrorData = {
|
|
104
|
+
error: string;
|
|
105
|
+
message: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Response for status 401
|
|
110
|
+
*/
|
|
111
|
+
export class GetApiSandboxByIdUnauthorizedError extends MutagentError {
|
|
112
|
+
error: string;
|
|
113
|
+
|
|
114
|
+
/** The original data that was passed to this error instance. */
|
|
115
|
+
data$: GetApiSandboxByIdUnauthorizedErrorData;
|
|
116
|
+
|
|
117
|
+
constructor(
|
|
118
|
+
err: GetApiSandboxByIdUnauthorizedErrorData,
|
|
119
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
120
|
+
) {
|
|
121
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
122
|
+
super(message, httpMeta);
|
|
123
|
+
this.data$ = err;
|
|
124
|
+
this.error = err.error;
|
|
125
|
+
|
|
126
|
+
this.name = "GetApiSandboxByIdUnauthorizedError";
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Response for status 400
|
|
132
|
+
*/
|
|
133
|
+
export type GetApiSandboxByIdBadRequestErrorData = {
|
|
134
|
+
error: string;
|
|
135
|
+
message: string;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Response for status 400
|
|
140
|
+
*/
|
|
141
|
+
export class GetApiSandboxByIdBadRequestError extends MutagentError {
|
|
142
|
+
error: string;
|
|
143
|
+
|
|
144
|
+
/** The original data that was passed to this error instance. */
|
|
145
|
+
data$: GetApiSandboxByIdBadRequestErrorData;
|
|
146
|
+
|
|
147
|
+
constructor(
|
|
148
|
+
err: GetApiSandboxByIdBadRequestErrorData,
|
|
149
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
150
|
+
) {
|
|
151
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
152
|
+
super(message, httpMeta);
|
|
153
|
+
this.data$ = err;
|
|
154
|
+
this.error = err.error;
|
|
155
|
+
|
|
156
|
+
this.name = "GetApiSandboxByIdBadRequestError";
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** @internal */
|
|
161
|
+
export const GetApiSandboxByIdInternalServerError$inboundSchema: z.ZodMiniType<
|
|
162
|
+
GetApiSandboxByIdInternalServerError,
|
|
163
|
+
unknown
|
|
164
|
+
> = z.pipe(
|
|
165
|
+
z.object({
|
|
166
|
+
error: types.string(),
|
|
167
|
+
message: types.string(),
|
|
168
|
+
statusCode: types.number(),
|
|
169
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
170
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
171
|
+
body$: z.string(),
|
|
172
|
+
}),
|
|
173
|
+
z.transform((v) => {
|
|
174
|
+
return new GetApiSandboxByIdInternalServerError(v, {
|
|
175
|
+
request: v.request$,
|
|
176
|
+
response: v.response$,
|
|
177
|
+
body: v.body$,
|
|
178
|
+
});
|
|
179
|
+
}),
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
/** @internal */
|
|
183
|
+
export const GetApiSandboxByIdNotFoundError$inboundSchema: z.ZodMiniType<
|
|
184
|
+
GetApiSandboxByIdNotFoundError,
|
|
185
|
+
unknown
|
|
186
|
+
> = z.pipe(
|
|
187
|
+
z.object({
|
|
188
|
+
error: types.string(),
|
|
189
|
+
message: types.string(),
|
|
190
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
191
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
192
|
+
body$: z.string(),
|
|
193
|
+
}),
|
|
194
|
+
z.transform((v) => {
|
|
195
|
+
return new GetApiSandboxByIdNotFoundError(v, {
|
|
196
|
+
request: v.request$,
|
|
197
|
+
response: v.response$,
|
|
198
|
+
body: v.body$,
|
|
199
|
+
});
|
|
200
|
+
}),
|
|
201
|
+
);
|
|
202
|
+
|
|
203
|
+
/** @internal */
|
|
204
|
+
export const GetApiSandboxByIdForbiddenError$inboundSchema: z.ZodMiniType<
|
|
205
|
+
GetApiSandboxByIdForbiddenError,
|
|
206
|
+
unknown
|
|
207
|
+
> = z.pipe(
|
|
208
|
+
z.object({
|
|
209
|
+
error: types.string(),
|
|
210
|
+
message: types.string(),
|
|
211
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
212
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
213
|
+
body$: z.string(),
|
|
214
|
+
}),
|
|
215
|
+
z.transform((v) => {
|
|
216
|
+
return new GetApiSandboxByIdForbiddenError(v, {
|
|
217
|
+
request: v.request$,
|
|
218
|
+
response: v.response$,
|
|
219
|
+
body: v.body$,
|
|
220
|
+
});
|
|
221
|
+
}),
|
|
222
|
+
);
|
|
223
|
+
|
|
224
|
+
/** @internal */
|
|
225
|
+
export const GetApiSandboxByIdUnauthorizedError$inboundSchema: z.ZodMiniType<
|
|
226
|
+
GetApiSandboxByIdUnauthorizedError,
|
|
227
|
+
unknown
|
|
228
|
+
> = z.pipe(
|
|
229
|
+
z.object({
|
|
230
|
+
error: types.string(),
|
|
231
|
+
message: types.string(),
|
|
232
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
233
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
234
|
+
body$: z.string(),
|
|
235
|
+
}),
|
|
236
|
+
z.transform((v) => {
|
|
237
|
+
return new GetApiSandboxByIdUnauthorizedError(v, {
|
|
238
|
+
request: v.request$,
|
|
239
|
+
response: v.response$,
|
|
240
|
+
body: v.body$,
|
|
241
|
+
});
|
|
242
|
+
}),
|
|
243
|
+
);
|
|
244
|
+
|
|
245
|
+
/** @internal */
|
|
246
|
+
export const GetApiSandboxByIdBadRequestError$inboundSchema: z.ZodMiniType<
|
|
247
|
+
GetApiSandboxByIdBadRequestError,
|
|
248
|
+
unknown
|
|
249
|
+
> = z.pipe(
|
|
250
|
+
z.object({
|
|
251
|
+
error: types.string(),
|
|
252
|
+
message: types.string(),
|
|
253
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
254
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
255
|
+
body$: z.string(),
|
|
256
|
+
}),
|
|
257
|
+
z.transform((v) => {
|
|
258
|
+
return new GetApiSandboxByIdBadRequestError(v, {
|
|
259
|
+
request: v.request$,
|
|
260
|
+
response: v.response$,
|
|
261
|
+
body: v.body$,
|
|
262
|
+
});
|
|
263
|
+
}),
|
|
264
|
+
);
|
|
@@ -0,0 +1,262 @@
|
|
|
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 GetApiSandboxPresetsInternalServerErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
message: string;
|
|
15
|
+
statusCode: number;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Response for status 500
|
|
20
|
+
*/
|
|
21
|
+
export class GetApiSandboxPresetsInternalServerError extends MutagentError {
|
|
22
|
+
error: string;
|
|
23
|
+
|
|
24
|
+
/** The original data that was passed to this error instance. */
|
|
25
|
+
data$: GetApiSandboxPresetsInternalServerErrorData;
|
|
26
|
+
|
|
27
|
+
constructor(
|
|
28
|
+
err: GetApiSandboxPresetsInternalServerErrorData,
|
|
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 = "GetApiSandboxPresetsInternalServerError";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Response for status 404
|
|
42
|
+
*/
|
|
43
|
+
export type GetApiSandboxPresetsNotFoundErrorData = {
|
|
44
|
+
error: string;
|
|
45
|
+
message: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Response for status 404
|
|
50
|
+
*/
|
|
51
|
+
export class GetApiSandboxPresetsNotFoundError extends MutagentError {
|
|
52
|
+
error: string;
|
|
53
|
+
|
|
54
|
+
/** The original data that was passed to this error instance. */
|
|
55
|
+
data$: GetApiSandboxPresetsNotFoundErrorData;
|
|
56
|
+
|
|
57
|
+
constructor(
|
|
58
|
+
err: GetApiSandboxPresetsNotFoundErrorData,
|
|
59
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
60
|
+
) {
|
|
61
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
62
|
+
super(message, httpMeta);
|
|
63
|
+
this.data$ = err;
|
|
64
|
+
this.error = err.error;
|
|
65
|
+
|
|
66
|
+
this.name = "GetApiSandboxPresetsNotFoundError";
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Response for status 403
|
|
72
|
+
*/
|
|
73
|
+
export type GetApiSandboxPresetsForbiddenErrorData = {
|
|
74
|
+
error: string;
|
|
75
|
+
message: string;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Response for status 403
|
|
80
|
+
*/
|
|
81
|
+
export class GetApiSandboxPresetsForbiddenError extends MutagentError {
|
|
82
|
+
error: string;
|
|
83
|
+
|
|
84
|
+
/** The original data that was passed to this error instance. */
|
|
85
|
+
data$: GetApiSandboxPresetsForbiddenErrorData;
|
|
86
|
+
|
|
87
|
+
constructor(
|
|
88
|
+
err: GetApiSandboxPresetsForbiddenErrorData,
|
|
89
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
90
|
+
) {
|
|
91
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
92
|
+
super(message, httpMeta);
|
|
93
|
+
this.data$ = err;
|
|
94
|
+
this.error = err.error;
|
|
95
|
+
|
|
96
|
+
this.name = "GetApiSandboxPresetsForbiddenError";
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Response for status 401
|
|
102
|
+
*/
|
|
103
|
+
export type GetApiSandboxPresetsUnauthorizedErrorData = {
|
|
104
|
+
error: string;
|
|
105
|
+
message: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Response for status 401
|
|
110
|
+
*/
|
|
111
|
+
export class GetApiSandboxPresetsUnauthorizedError extends MutagentError {
|
|
112
|
+
error: string;
|
|
113
|
+
|
|
114
|
+
/** The original data that was passed to this error instance. */
|
|
115
|
+
data$: GetApiSandboxPresetsUnauthorizedErrorData;
|
|
116
|
+
|
|
117
|
+
constructor(
|
|
118
|
+
err: GetApiSandboxPresetsUnauthorizedErrorData,
|
|
119
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
120
|
+
) {
|
|
121
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
122
|
+
super(message, httpMeta);
|
|
123
|
+
this.data$ = err;
|
|
124
|
+
this.error = err.error;
|
|
125
|
+
|
|
126
|
+
this.name = "GetApiSandboxPresetsUnauthorizedError";
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Response for status 400
|
|
132
|
+
*/
|
|
133
|
+
export type GetApiSandboxPresetsBadRequestErrorData = {
|
|
134
|
+
error: string;
|
|
135
|
+
message: string;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Response for status 400
|
|
140
|
+
*/
|
|
141
|
+
export class GetApiSandboxPresetsBadRequestError extends MutagentError {
|
|
142
|
+
error: string;
|
|
143
|
+
|
|
144
|
+
/** The original data that was passed to this error instance. */
|
|
145
|
+
data$: GetApiSandboxPresetsBadRequestErrorData;
|
|
146
|
+
|
|
147
|
+
constructor(
|
|
148
|
+
err: GetApiSandboxPresetsBadRequestErrorData,
|
|
149
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
150
|
+
) {
|
|
151
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
152
|
+
super(message, httpMeta);
|
|
153
|
+
this.data$ = err;
|
|
154
|
+
this.error = err.error;
|
|
155
|
+
|
|
156
|
+
this.name = "GetApiSandboxPresetsBadRequestError";
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** @internal */
|
|
161
|
+
export const GetApiSandboxPresetsInternalServerError$inboundSchema:
|
|
162
|
+
z.ZodMiniType<GetApiSandboxPresetsInternalServerError, unknown> = z.pipe(
|
|
163
|
+
z.object({
|
|
164
|
+
error: types.string(),
|
|
165
|
+
message: types.string(),
|
|
166
|
+
statusCode: types.number(),
|
|
167
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
168
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
169
|
+
body$: z.string(),
|
|
170
|
+
}),
|
|
171
|
+
z.transform((v) => {
|
|
172
|
+
return new GetApiSandboxPresetsInternalServerError(v, {
|
|
173
|
+
request: v.request$,
|
|
174
|
+
response: v.response$,
|
|
175
|
+
body: v.body$,
|
|
176
|
+
});
|
|
177
|
+
}),
|
|
178
|
+
);
|
|
179
|
+
|
|
180
|
+
/** @internal */
|
|
181
|
+
export const GetApiSandboxPresetsNotFoundError$inboundSchema: z.ZodMiniType<
|
|
182
|
+
GetApiSandboxPresetsNotFoundError,
|
|
183
|
+
unknown
|
|
184
|
+
> = z.pipe(
|
|
185
|
+
z.object({
|
|
186
|
+
error: types.string(),
|
|
187
|
+
message: types.string(),
|
|
188
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
189
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
190
|
+
body$: z.string(),
|
|
191
|
+
}),
|
|
192
|
+
z.transform((v) => {
|
|
193
|
+
return new GetApiSandboxPresetsNotFoundError(v, {
|
|
194
|
+
request: v.request$,
|
|
195
|
+
response: v.response$,
|
|
196
|
+
body: v.body$,
|
|
197
|
+
});
|
|
198
|
+
}),
|
|
199
|
+
);
|
|
200
|
+
|
|
201
|
+
/** @internal */
|
|
202
|
+
export const GetApiSandboxPresetsForbiddenError$inboundSchema: z.ZodMiniType<
|
|
203
|
+
GetApiSandboxPresetsForbiddenError,
|
|
204
|
+
unknown
|
|
205
|
+
> = z.pipe(
|
|
206
|
+
z.object({
|
|
207
|
+
error: types.string(),
|
|
208
|
+
message: types.string(),
|
|
209
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
210
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
211
|
+
body$: z.string(),
|
|
212
|
+
}),
|
|
213
|
+
z.transform((v) => {
|
|
214
|
+
return new GetApiSandboxPresetsForbiddenError(v, {
|
|
215
|
+
request: v.request$,
|
|
216
|
+
response: v.response$,
|
|
217
|
+
body: v.body$,
|
|
218
|
+
});
|
|
219
|
+
}),
|
|
220
|
+
);
|
|
221
|
+
|
|
222
|
+
/** @internal */
|
|
223
|
+
export const GetApiSandboxPresetsUnauthorizedError$inboundSchema: z.ZodMiniType<
|
|
224
|
+
GetApiSandboxPresetsUnauthorizedError,
|
|
225
|
+
unknown
|
|
226
|
+
> = z.pipe(
|
|
227
|
+
z.object({
|
|
228
|
+
error: types.string(),
|
|
229
|
+
message: types.string(),
|
|
230
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
231
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
232
|
+
body$: z.string(),
|
|
233
|
+
}),
|
|
234
|
+
z.transform((v) => {
|
|
235
|
+
return new GetApiSandboxPresetsUnauthorizedError(v, {
|
|
236
|
+
request: v.request$,
|
|
237
|
+
response: v.response$,
|
|
238
|
+
body: v.body$,
|
|
239
|
+
});
|
|
240
|
+
}),
|
|
241
|
+
);
|
|
242
|
+
|
|
243
|
+
/** @internal */
|
|
244
|
+
export const GetApiSandboxPresetsBadRequestError$inboundSchema: z.ZodMiniType<
|
|
245
|
+
GetApiSandboxPresetsBadRequestError,
|
|
246
|
+
unknown
|
|
247
|
+
> = z.pipe(
|
|
248
|
+
z.object({
|
|
249
|
+
error: types.string(),
|
|
250
|
+
message: types.string(),
|
|
251
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
252
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
253
|
+
body$: z.string(),
|
|
254
|
+
}),
|
|
255
|
+
z.transform((v) => {
|
|
256
|
+
return new GetApiSandboxPresetsBadRequestError(v, {
|
|
257
|
+
request: v.request$,
|
|
258
|
+
response: v.response$,
|
|
259
|
+
body: v.body$,
|
|
260
|
+
});
|
|
261
|
+
}),
|
|
262
|
+
);
|