@mutagent/sdk 0.3.34 → 0.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,321 @@
|
|
|
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 PostApiSandboxTelemetryV1TracesInternalServerErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
message: string;
|
|
15
|
+
statusCode: number;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Response for status 500
|
|
20
|
+
*/
|
|
21
|
+
export class PostApiSandboxTelemetryV1TracesInternalServerError
|
|
22
|
+
extends MutagentError
|
|
23
|
+
{
|
|
24
|
+
error: string;
|
|
25
|
+
|
|
26
|
+
/** The original data that was passed to this error instance. */
|
|
27
|
+
data$: PostApiSandboxTelemetryV1TracesInternalServerErrorData;
|
|
28
|
+
|
|
29
|
+
constructor(
|
|
30
|
+
err: PostApiSandboxTelemetryV1TracesInternalServerErrorData,
|
|
31
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
32
|
+
) {
|
|
33
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
34
|
+
super(message, httpMeta);
|
|
35
|
+
this.data$ = err;
|
|
36
|
+
this.error = err.error;
|
|
37
|
+
|
|
38
|
+
this.name = "PostApiSandboxTelemetryV1TracesInternalServerError";
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Response for status 409
|
|
44
|
+
*/
|
|
45
|
+
export type PostApiSandboxTelemetryV1TracesConflictErrorData = {
|
|
46
|
+
error: string;
|
|
47
|
+
message: string;
|
|
48
|
+
statusCode: number;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Response for status 409
|
|
53
|
+
*/
|
|
54
|
+
export class PostApiSandboxTelemetryV1TracesConflictError
|
|
55
|
+
extends MutagentError
|
|
56
|
+
{
|
|
57
|
+
error: string;
|
|
58
|
+
|
|
59
|
+
/** The original data that was passed to this error instance. */
|
|
60
|
+
data$: PostApiSandboxTelemetryV1TracesConflictErrorData;
|
|
61
|
+
|
|
62
|
+
constructor(
|
|
63
|
+
err: PostApiSandboxTelemetryV1TracesConflictErrorData,
|
|
64
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
65
|
+
) {
|
|
66
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
67
|
+
super(message, httpMeta);
|
|
68
|
+
this.data$ = err;
|
|
69
|
+
this.error = err.error;
|
|
70
|
+
|
|
71
|
+
this.name = "PostApiSandboxTelemetryV1TracesConflictError";
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Response for status 404
|
|
77
|
+
*/
|
|
78
|
+
export type PostApiSandboxTelemetryV1TracesNotFoundErrorData = {
|
|
79
|
+
error: string;
|
|
80
|
+
message: string;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Response for status 404
|
|
85
|
+
*/
|
|
86
|
+
export class PostApiSandboxTelemetryV1TracesNotFoundError
|
|
87
|
+
extends MutagentError
|
|
88
|
+
{
|
|
89
|
+
error: string;
|
|
90
|
+
|
|
91
|
+
/** The original data that was passed to this error instance. */
|
|
92
|
+
data$: PostApiSandboxTelemetryV1TracesNotFoundErrorData;
|
|
93
|
+
|
|
94
|
+
constructor(
|
|
95
|
+
err: PostApiSandboxTelemetryV1TracesNotFoundErrorData,
|
|
96
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
97
|
+
) {
|
|
98
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
99
|
+
super(message, httpMeta);
|
|
100
|
+
this.data$ = err;
|
|
101
|
+
this.error = err.error;
|
|
102
|
+
|
|
103
|
+
this.name = "PostApiSandboxTelemetryV1TracesNotFoundError";
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Response for status 403
|
|
109
|
+
*/
|
|
110
|
+
export type PostApiSandboxTelemetryV1TracesForbiddenErrorData = {
|
|
111
|
+
error: string;
|
|
112
|
+
message: string;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Response for status 403
|
|
117
|
+
*/
|
|
118
|
+
export class PostApiSandboxTelemetryV1TracesForbiddenError
|
|
119
|
+
extends MutagentError
|
|
120
|
+
{
|
|
121
|
+
error: string;
|
|
122
|
+
|
|
123
|
+
/** The original data that was passed to this error instance. */
|
|
124
|
+
data$: PostApiSandboxTelemetryV1TracesForbiddenErrorData;
|
|
125
|
+
|
|
126
|
+
constructor(
|
|
127
|
+
err: PostApiSandboxTelemetryV1TracesForbiddenErrorData,
|
|
128
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
129
|
+
) {
|
|
130
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
131
|
+
super(message, httpMeta);
|
|
132
|
+
this.data$ = err;
|
|
133
|
+
this.error = err.error;
|
|
134
|
+
|
|
135
|
+
this.name = "PostApiSandboxTelemetryV1TracesForbiddenError";
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Response for status 401
|
|
141
|
+
*/
|
|
142
|
+
export type PostApiSandboxTelemetryV1TracesUnauthorizedErrorData = {
|
|
143
|
+
error: string;
|
|
144
|
+
message: string;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Response for status 401
|
|
149
|
+
*/
|
|
150
|
+
export class PostApiSandboxTelemetryV1TracesUnauthorizedError
|
|
151
|
+
extends MutagentError
|
|
152
|
+
{
|
|
153
|
+
error: string;
|
|
154
|
+
|
|
155
|
+
/** The original data that was passed to this error instance. */
|
|
156
|
+
data$: PostApiSandboxTelemetryV1TracesUnauthorizedErrorData;
|
|
157
|
+
|
|
158
|
+
constructor(
|
|
159
|
+
err: PostApiSandboxTelemetryV1TracesUnauthorizedErrorData,
|
|
160
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
161
|
+
) {
|
|
162
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
163
|
+
super(message, httpMeta);
|
|
164
|
+
this.data$ = err;
|
|
165
|
+
this.error = err.error;
|
|
166
|
+
|
|
167
|
+
this.name = "PostApiSandboxTelemetryV1TracesUnauthorizedError";
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Response for status 400
|
|
173
|
+
*/
|
|
174
|
+
export type PostApiSandboxTelemetryV1TracesBadRequestErrorData = {
|
|
175
|
+
error: string;
|
|
176
|
+
message: string;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Response for status 400
|
|
181
|
+
*/
|
|
182
|
+
export class PostApiSandboxTelemetryV1TracesBadRequestError
|
|
183
|
+
extends MutagentError
|
|
184
|
+
{
|
|
185
|
+
error: string;
|
|
186
|
+
|
|
187
|
+
/** The original data that was passed to this error instance. */
|
|
188
|
+
data$: PostApiSandboxTelemetryV1TracesBadRequestErrorData;
|
|
189
|
+
|
|
190
|
+
constructor(
|
|
191
|
+
err: PostApiSandboxTelemetryV1TracesBadRequestErrorData,
|
|
192
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
193
|
+
) {
|
|
194
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
195
|
+
super(message, httpMeta);
|
|
196
|
+
this.data$ = err;
|
|
197
|
+
this.error = err.error;
|
|
198
|
+
|
|
199
|
+
this.name = "PostApiSandboxTelemetryV1TracesBadRequestError";
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/** @internal */
|
|
204
|
+
export const PostApiSandboxTelemetryV1TracesInternalServerError$inboundSchema:
|
|
205
|
+
z.ZodMiniType<PostApiSandboxTelemetryV1TracesInternalServerError, unknown> = z
|
|
206
|
+
.pipe(
|
|
207
|
+
z.object({
|
|
208
|
+
error: types.string(),
|
|
209
|
+
message: types.string(),
|
|
210
|
+
statusCode: types.number(),
|
|
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 PostApiSandboxTelemetryV1TracesInternalServerError(v, {
|
|
217
|
+
request: v.request$,
|
|
218
|
+
response: v.response$,
|
|
219
|
+
body: v.body$,
|
|
220
|
+
});
|
|
221
|
+
}),
|
|
222
|
+
);
|
|
223
|
+
|
|
224
|
+
/** @internal */
|
|
225
|
+
export const PostApiSandboxTelemetryV1TracesConflictError$inboundSchema:
|
|
226
|
+
z.ZodMiniType<PostApiSandboxTelemetryV1TracesConflictError, unknown> = z.pipe(
|
|
227
|
+
z.object({
|
|
228
|
+
error: types.string(),
|
|
229
|
+
message: types.string(),
|
|
230
|
+
statusCode: types.number(),
|
|
231
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
232
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
233
|
+
body$: z.string(),
|
|
234
|
+
}),
|
|
235
|
+
z.transform((v) => {
|
|
236
|
+
return new PostApiSandboxTelemetryV1TracesConflictError(v, {
|
|
237
|
+
request: v.request$,
|
|
238
|
+
response: v.response$,
|
|
239
|
+
body: v.body$,
|
|
240
|
+
});
|
|
241
|
+
}),
|
|
242
|
+
);
|
|
243
|
+
|
|
244
|
+
/** @internal */
|
|
245
|
+
export const PostApiSandboxTelemetryV1TracesNotFoundError$inboundSchema:
|
|
246
|
+
z.ZodMiniType<PostApiSandboxTelemetryV1TracesNotFoundError, unknown> = z.pipe(
|
|
247
|
+
z.object({
|
|
248
|
+
error: types.string(),
|
|
249
|
+
message: types.string(),
|
|
250
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
251
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
252
|
+
body$: z.string(),
|
|
253
|
+
}),
|
|
254
|
+
z.transform((v) => {
|
|
255
|
+
return new PostApiSandboxTelemetryV1TracesNotFoundError(v, {
|
|
256
|
+
request: v.request$,
|
|
257
|
+
response: v.response$,
|
|
258
|
+
body: v.body$,
|
|
259
|
+
});
|
|
260
|
+
}),
|
|
261
|
+
);
|
|
262
|
+
|
|
263
|
+
/** @internal */
|
|
264
|
+
export const PostApiSandboxTelemetryV1TracesForbiddenError$inboundSchema:
|
|
265
|
+
z.ZodMiniType<PostApiSandboxTelemetryV1TracesForbiddenError, unknown> = z
|
|
266
|
+
.pipe(
|
|
267
|
+
z.object({
|
|
268
|
+
error: types.string(),
|
|
269
|
+
message: types.string(),
|
|
270
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
271
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
272
|
+
body$: z.string(),
|
|
273
|
+
}),
|
|
274
|
+
z.transform((v) => {
|
|
275
|
+
return new PostApiSandboxTelemetryV1TracesForbiddenError(v, {
|
|
276
|
+
request: v.request$,
|
|
277
|
+
response: v.response$,
|
|
278
|
+
body: v.body$,
|
|
279
|
+
});
|
|
280
|
+
}),
|
|
281
|
+
);
|
|
282
|
+
|
|
283
|
+
/** @internal */
|
|
284
|
+
export const PostApiSandboxTelemetryV1TracesUnauthorizedError$inboundSchema:
|
|
285
|
+
z.ZodMiniType<PostApiSandboxTelemetryV1TracesUnauthorizedError, unknown> = z
|
|
286
|
+
.pipe(
|
|
287
|
+
z.object({
|
|
288
|
+
error: types.string(),
|
|
289
|
+
message: types.string(),
|
|
290
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
291
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
292
|
+
body$: z.string(),
|
|
293
|
+
}),
|
|
294
|
+
z.transform((v) => {
|
|
295
|
+
return new PostApiSandboxTelemetryV1TracesUnauthorizedError(v, {
|
|
296
|
+
request: v.request$,
|
|
297
|
+
response: v.response$,
|
|
298
|
+
body: v.body$,
|
|
299
|
+
});
|
|
300
|
+
}),
|
|
301
|
+
);
|
|
302
|
+
|
|
303
|
+
/** @internal */
|
|
304
|
+
export const PostApiSandboxTelemetryV1TracesBadRequestError$inboundSchema:
|
|
305
|
+
z.ZodMiniType<PostApiSandboxTelemetryV1TracesBadRequestError, unknown> = z
|
|
306
|
+
.pipe(
|
|
307
|
+
z.object({
|
|
308
|
+
error: types.string(),
|
|
309
|
+
message: types.string(),
|
|
310
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
311
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
312
|
+
body$: z.string(),
|
|
313
|
+
}),
|
|
314
|
+
z.transform((v) => {
|
|
315
|
+
return new PostApiSandboxTelemetryV1TracesBadRequestError(v, {
|
|
316
|
+
request: v.request$,
|
|
317
|
+
response: v.response$,
|
|
318
|
+
body: v.body$,
|
|
319
|
+
});
|
|
320
|
+
}),
|
|
321
|
+
);
|
|
@@ -0,0 +1,211 @@
|
|
|
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 429
|
|
11
|
+
*/
|
|
12
|
+
export type TooManyRequestsErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
message: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Response for status 429
|
|
19
|
+
*/
|
|
20
|
+
export class TooManyRequestsError extends MutagentError {
|
|
21
|
+
error: string;
|
|
22
|
+
|
|
23
|
+
/** The original data that was passed to this error instance. */
|
|
24
|
+
data$: TooManyRequestsErrorData;
|
|
25
|
+
|
|
26
|
+
constructor(
|
|
27
|
+
err: TooManyRequestsErrorData,
|
|
28
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
29
|
+
) {
|
|
30
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
31
|
+
super(message, httpMeta);
|
|
32
|
+
this.data$ = err;
|
|
33
|
+
this.error = err.error;
|
|
34
|
+
|
|
35
|
+
this.name = "TooManyRequestsError";
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Response for status 422
|
|
41
|
+
*/
|
|
42
|
+
export type UnprocessableEntityErrorData = {
|
|
43
|
+
error: string;
|
|
44
|
+
message: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Response for status 422
|
|
49
|
+
*/
|
|
50
|
+
export class UnprocessableEntityError extends MutagentError {
|
|
51
|
+
error: string;
|
|
52
|
+
|
|
53
|
+
/** The original data that was passed to this error instance. */
|
|
54
|
+
data$: UnprocessableEntityErrorData;
|
|
55
|
+
|
|
56
|
+
constructor(
|
|
57
|
+
err: UnprocessableEntityErrorData,
|
|
58
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
59
|
+
) {
|
|
60
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
61
|
+
super(message, httpMeta);
|
|
62
|
+
this.data$ = err;
|
|
63
|
+
this.error = err.error;
|
|
64
|
+
|
|
65
|
+
this.name = "UnprocessableEntityError";
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Response for status 403
|
|
71
|
+
*/
|
|
72
|
+
export type PostApiSandboxTokenForbiddenErrorData = {
|
|
73
|
+
error: string;
|
|
74
|
+
message: string;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Response for status 403
|
|
79
|
+
*/
|
|
80
|
+
export class PostApiSandboxTokenForbiddenError extends MutagentError {
|
|
81
|
+
error: string;
|
|
82
|
+
|
|
83
|
+
/** The original data that was passed to this error instance. */
|
|
84
|
+
data$: PostApiSandboxTokenForbiddenErrorData;
|
|
85
|
+
|
|
86
|
+
constructor(
|
|
87
|
+
err: PostApiSandboxTokenForbiddenErrorData,
|
|
88
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
89
|
+
) {
|
|
90
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
91
|
+
super(message, httpMeta);
|
|
92
|
+
this.data$ = err;
|
|
93
|
+
this.error = err.error;
|
|
94
|
+
|
|
95
|
+
this.name = "PostApiSandboxTokenForbiddenError";
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Response for status 401
|
|
101
|
+
*/
|
|
102
|
+
export type PostApiSandboxTokenUnauthorizedErrorData = {
|
|
103
|
+
error: string;
|
|
104
|
+
message: string;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Response for status 401
|
|
109
|
+
*/
|
|
110
|
+
export class PostApiSandboxTokenUnauthorizedError extends MutagentError {
|
|
111
|
+
error: string;
|
|
112
|
+
|
|
113
|
+
/** The original data that was passed to this error instance. */
|
|
114
|
+
data$: PostApiSandboxTokenUnauthorizedErrorData;
|
|
115
|
+
|
|
116
|
+
constructor(
|
|
117
|
+
err: PostApiSandboxTokenUnauthorizedErrorData,
|
|
118
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
119
|
+
) {
|
|
120
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
121
|
+
super(message, httpMeta);
|
|
122
|
+
this.data$ = err;
|
|
123
|
+
this.error = err.error;
|
|
124
|
+
|
|
125
|
+
this.name = "PostApiSandboxTokenUnauthorizedError";
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/** @internal */
|
|
130
|
+
export const TooManyRequestsError$inboundSchema: z.ZodMiniType<
|
|
131
|
+
TooManyRequestsError,
|
|
132
|
+
unknown
|
|
133
|
+
> = z.pipe(
|
|
134
|
+
z.object({
|
|
135
|
+
error: types.string(),
|
|
136
|
+
message: types.string(),
|
|
137
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
138
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
139
|
+
body$: z.string(),
|
|
140
|
+
}),
|
|
141
|
+
z.transform((v) => {
|
|
142
|
+
return new TooManyRequestsError(v, {
|
|
143
|
+
request: v.request$,
|
|
144
|
+
response: v.response$,
|
|
145
|
+
body: v.body$,
|
|
146
|
+
});
|
|
147
|
+
}),
|
|
148
|
+
);
|
|
149
|
+
|
|
150
|
+
/** @internal */
|
|
151
|
+
export const UnprocessableEntityError$inboundSchema: z.ZodMiniType<
|
|
152
|
+
UnprocessableEntityError,
|
|
153
|
+
unknown
|
|
154
|
+
> = z.pipe(
|
|
155
|
+
z.object({
|
|
156
|
+
error: types.string(),
|
|
157
|
+
message: types.string(),
|
|
158
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
159
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
160
|
+
body$: z.string(),
|
|
161
|
+
}),
|
|
162
|
+
z.transform((v) => {
|
|
163
|
+
return new UnprocessableEntityError(v, {
|
|
164
|
+
request: v.request$,
|
|
165
|
+
response: v.response$,
|
|
166
|
+
body: v.body$,
|
|
167
|
+
});
|
|
168
|
+
}),
|
|
169
|
+
);
|
|
170
|
+
|
|
171
|
+
/** @internal */
|
|
172
|
+
export const PostApiSandboxTokenForbiddenError$inboundSchema: z.ZodMiniType<
|
|
173
|
+
PostApiSandboxTokenForbiddenError,
|
|
174
|
+
unknown
|
|
175
|
+
> = z.pipe(
|
|
176
|
+
z.object({
|
|
177
|
+
error: types.string(),
|
|
178
|
+
message: types.string(),
|
|
179
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
180
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
181
|
+
body$: z.string(),
|
|
182
|
+
}),
|
|
183
|
+
z.transform((v) => {
|
|
184
|
+
return new PostApiSandboxTokenForbiddenError(v, {
|
|
185
|
+
request: v.request$,
|
|
186
|
+
response: v.response$,
|
|
187
|
+
body: v.body$,
|
|
188
|
+
});
|
|
189
|
+
}),
|
|
190
|
+
);
|
|
191
|
+
|
|
192
|
+
/** @internal */
|
|
193
|
+
export const PostApiSandboxTokenUnauthorizedError$inboundSchema: z.ZodMiniType<
|
|
194
|
+
PostApiSandboxTokenUnauthorizedError,
|
|
195
|
+
unknown
|
|
196
|
+
> = z.pipe(
|
|
197
|
+
z.object({
|
|
198
|
+
error: types.string(),
|
|
199
|
+
message: types.string(),
|
|
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 PostApiSandboxTokenUnauthorizedError(v, {
|
|
206
|
+
request: v.request$,
|
|
207
|
+
response: v.response$,
|
|
208
|
+
body: v.body$,
|
|
209
|
+
});
|
|
210
|
+
}),
|
|
211
|
+
);
|