@mutagent/sdk 0.5.3 → 0.5.4
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 +35 -15
- package/dist/commonjs/funcs/agents-delete-agent.d.ts +1 -1
- package/dist/commonjs/funcs/agents-delete-agent.js +1 -1
- package/dist/commonjs/funcs/helix-agent-deployments-activate-helix-agent.d.ts +20 -0
- package/dist/commonjs/funcs/helix-agent-deployments-activate-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-activate-helix-agent.js +127 -0
- package/dist/commonjs/funcs/helix-agent-deployments-activate-helix-agent.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-deploy-helix-agent.d.ts +20 -0
- package/dist/commonjs/funcs/helix-agent-deployments-deploy-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-deploy-helix-agent.js +127 -0
- package/dist/commonjs/funcs/helix-agent-deployments-deploy-helix-agent.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-capabilities.d.ts +17 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-capabilities.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-capabilities.js +107 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-capabilities.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-operation.d.ts +18 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-operation.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-operation.js +124 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-operation.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent.d.ts +17 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent.js +129 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-list-helix-agents.d.ts +20 -0
- package/dist/commonjs/funcs/helix-agent-deployments-list-helix-agents.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-list-helix-agents.js +126 -0
- package/dist/commonjs/funcs/helix-agent-deployments-list-helix-agents.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-retire-helix-agent.d.ts +17 -0
- package/dist/commonjs/funcs/helix-agent-deployments-retire-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-retire-helix-agent.js +124 -0
- package/dist/commonjs/funcs/helix-agent-deployments-retire-helix-agent.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-launch-helix-session.d.ts +1 -1
- package/dist/commonjs/funcs/sandbox-launch-helix-session.js +1 -1
- package/dist/commonjs/funcs/sandbox-list-helix-session-checkpoints.d.ts +20 -0
- package/dist/commonjs/funcs/sandbox-list-helix-session-checkpoints.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-list-helix-session-checkpoints.js +126 -0
- package/dist/commonjs/funcs/sandbox-list-helix-session-checkpoints.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-restore-helix-session.d.ts +20 -0
- package/dist/commonjs/funcs/sandbox-restore-helix-session.d.ts.map +1 -0
- package/dist/commonjs/funcs/{sandbox-post-api-sandbox-agent-run.js → sandbox-restore-helix-session.js} +15 -13
- package/dist/commonjs/funcs/sandbox-restore-helix-session.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/agent-list.d.ts +23 -1
- package/dist/commonjs/models/agent-list.d.ts.map +1 -1
- package/dist/commonjs/models/agent-list.js +15 -2
- package/dist/commonjs/models/agent-list.js.map +1 -1
- package/dist/commonjs/models/agent.d.ts +23 -1
- package/dist/commonjs/models/agent.d.ts.map +1 -1
- package/dist/commonjs/models/agent.js +15 -2
- package/dist/commonjs/models/agent.js.map +1 -1
- package/dist/commonjs/models/archive-base64-archive-digest-artifact-digest.d.ts +62 -0
- package/dist/commonjs/models/archive-base64-archive-digest-artifact-digest.d.ts.map +1 -0
- package/dist/commonjs/models/archive-base64-archive-digest-artifact-digest.js +69 -0
- package/dist/commonjs/models/archive-base64-archive-digest-artifact-digest.js.map +1 -0
- package/dist/commonjs/models/errors/error-code-message.d.ts +21 -0
- package/dist/commonjs/models/errors/error-code-message.d.ts.map +1 -0
- package/dist/commonjs/models/errors/error-code-message.js +69 -0
- package/dist/commonjs/models/errors/error-code-message.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +2 -1
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +2 -1
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/restore-helix-session.d.ts +13 -0
- package/dist/commonjs/models/errors/restore-helix-session.d.ts.map +1 -0
- package/dist/commonjs/models/errors/restore-helix-session.js +20 -0
- package/dist/commonjs/models/errors/restore-helix-session.js.map +1 -0
- package/dist/commonjs/models/id-agent-id-deployment-id.d.ts +50 -0
- package/dist/commonjs/models/id-agent-id-deployment-id.d.ts.map +1 -0
- package/dist/commonjs/models/id-agent-id-deployment-id.js +91 -0
- package/dist/commonjs/models/id-agent-id-deployment-id.js.map +1 -0
- package/dist/commonjs/models/id-agent-id-environment.d.ts +42 -0
- package/dist/commonjs/models/id-agent-id-environment.d.ts.map +1 -0
- package/dist/commonjs/models/id-agent-id-environment.js +78 -0
- package/dist/commonjs/models/id-agent-id-environment.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +10 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +10 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mode-arm-model.d.ts +67 -6
- package/dist/commonjs/models/mode-arm-model.d.ts.map +1 -1
- package/dist/commonjs/models/mode-arm-model.js +54 -5
- package/dist/commonjs/models/mode-arm-model.js.map +1 -1
- package/dist/commonjs/models/mode-arm-model2.d.ts +11 -2
- package/dist/commonjs/models/mode-arm-model2.d.ts.map +1 -1
- package/dist/commonjs/models/mode-arm-model2.js +13 -3
- package/dist/commonjs/models/mode-arm-model2.js.map +1 -1
- package/dist/commonjs/models/operations/activate-helix-agent.d.ts +27 -0
- package/dist/commonjs/models/operations/activate-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{post-api-sandbox-agent-run.js → activate-helix-agent.js} +14 -20
- package/dist/commonjs/models/operations/activate-helix-agent.js.map +1 -0
- package/dist/commonjs/models/operations/deploy-helix-agent.d.ts +138 -0
- package/dist/commonjs/models/operations/deploy-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deploy-helix-agent.js +147 -0
- package/dist/commonjs/models/operations/deploy-helix-agent.js.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.d.ts +4 -4
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.js +6 -7
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.js.map +1 -1
- package/dist/commonjs/models/operations/get-helix-agent-capabilities.d.ts +42 -0
- package/dist/commonjs/models/operations/get-helix-agent-capabilities.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-helix-agent-capabilities.js +87 -0
- package/dist/commonjs/models/operations/get-helix-agent-capabilities.js.map +1 -0
- package/dist/commonjs/models/operations/get-helix-agent-operation.d.ts +12 -0
- package/dist/commonjs/models/operations/get-helix-agent-operation.d.ts.map +1 -0
- package/dist/commonjs/models/{preset-timeout-ms-keep2.js → operations/get-helix-agent-operation.js} +7 -17
- package/dist/commonjs/models/operations/get-helix-agent-operation.js.map +1 -0
- package/dist/commonjs/models/operations/get-helix-agent.d.ts +161 -0
- package/dist/commonjs/models/operations/get-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-helix-agent.js +170 -0
- package/dist/commonjs/models/operations/get-helix-agent.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +9 -1
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +9 -1
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/launch-helix-session.d.ts +24 -0
- package/dist/commonjs/models/operations/launch-helix-session.d.ts.map +1 -1
- package/dist/commonjs/models/operations/launch-helix-session.js +18 -1
- package/dist/commonjs/models/operations/launch-helix-session.js.map +1 -1
- package/dist/commonjs/models/operations/list-helix-agents.d.ts +55 -0
- package/dist/commonjs/models/operations/list-helix-agents.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-helix-agents.js +88 -0
- package/dist/commonjs/models/operations/list-helix-agents.js.map +1 -0
- package/dist/commonjs/models/operations/list-helix-session-checkpoints.d.ts +38 -0
- package/dist/commonjs/models/operations/list-helix-session-checkpoints.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-helix-session-checkpoints.js +73 -0
- package/dist/commonjs/models/operations/list-helix-session-checkpoints.js.map +1 -0
- package/dist/commonjs/models/operations/list-helix-workspace-sessions.d.ts +10 -19
- package/dist/commonjs/models/operations/list-helix-workspace-sessions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list-helix-workspace-sessions.js +11 -22
- package/dist/commonjs/models/operations/list-helix-workspace-sessions.js.map +1 -1
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.d.ts +12 -12
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.d.ts.map +1 -1
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.js +16 -17
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.js.map +1 -1
- package/dist/commonjs/models/operations/restore-helix-session.d.ts +155 -0
- package/dist/commonjs/models/operations/restore-helix-session.d.ts.map +1 -0
- package/dist/commonjs/models/operations/restore-helix-session.js +121 -0
- package/dist/commonjs/models/operations/restore-helix-session.js.map +1 -0
- package/dist/commonjs/models/operations/retire-helix-agent.d.ts +39 -0
- package/dist/commonjs/models/operations/retire-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/retire-helix-agent.js +68 -0
- package/dist/commonjs/models/operations/retire-helix-agent.js.map +1 -0
- package/dist/commonjs/models/operations/update-organization-member.d.ts +1 -1
- package/dist/commonjs/models/operations/update-organization-member.js +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.d.ts +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.js +1 -1
- package/dist/commonjs/models/revision-environment-expected-generation.d.ts +26 -0
- package/dist/commonjs/models/revision-environment-expected-generation.d.ts.map +1 -0
- package/dist/commonjs/models/revision-environment-expected-generation.js +54 -0
- package/dist/commonjs/models/revision-environment-expected-generation.js.map +1 -0
- package/dist/commonjs/models/schemaany-of.d.ts +8 -0
- package/dist/commonjs/models/schemaany-of.d.ts.map +1 -0
- package/dist/commonjs/models/schemaany-of.js +48 -0
- package/dist/commonjs/models/schemaany-of.js.map +1 -0
- package/dist/commonjs/models/schemaany-of2.d.ts +8 -0
- package/dist/commonjs/models/schemaany-of2.d.ts.map +1 -0
- package/dist/commonjs/models/schemaany-of2.js +49 -0
- package/dist/commonjs/models/schemaany-of2.js.map +1 -0
- package/dist/commonjs/models/schemaany-of4.d.ts +8 -0
- package/dist/commonjs/models/schemaany-of4.d.ts.map +1 -0
- package/dist/commonjs/models/schemaany-of4.js +48 -0
- package/dist/commonjs/models/schemaany-of4.js.map +1 -0
- package/dist/commonjs/models/schemadefaul13.d.ts +10 -0
- package/dist/commonjs/models/{schemadefaul12.d.ts.map → schemadefaul13.d.ts.map} +1 -1
- package/dist/commonjs/models/{schemadefaul12.js → schemadefaul13.js} +10 -10
- package/dist/commonjs/models/{schemadefaul12.js.map → schemadefaul13.js.map} +1 -1
- package/dist/commonjs/models/schemadefaul15.d.ts +9 -0
- package/dist/commonjs/models/{schemadefaul14.d.ts.map → schemadefaul15.d.ts.map} +1 -1
- package/dist/commonjs/models/{schemadefaul14.js → schemadefaul15.js} +9 -9
- package/dist/commonjs/models/{schemadefaul14.js.map → schemadefaul15.js.map} +1 -1
- package/dist/commonjs/models/schemaenum3.d.ts +11 -0
- package/dist/commonjs/models/schemaenum3.d.ts.map +1 -0
- package/dist/commonjs/models/schemaenum3.js +49 -0
- package/dist/commonjs/models/schemaenum3.js.map +1 -0
- package/dist/commonjs/sdk/agents.d.ts +1 -1
- package/dist/commonjs/sdk/agents.js +1 -1
- package/dist/commonjs/sdk/helix-agent-deployments.d.ts +43 -0
- package/dist/commonjs/sdk/helix-agent-deployments.d.ts.map +1 -0
- package/dist/commonjs/sdk/helix-agent-deployments.js +70 -0
- package/dist/commonjs/sdk/helix-agent-deployments.js.map +1 -0
- package/dist/commonjs/sdk/sandbox.d.ts +15 -8
- package/dist/commonjs/sdk/sandbox.d.ts.map +1 -1
- package/dist/commonjs/sdk/sandbox.js +21 -11
- package/dist/commonjs/sdk/sandbox.js.map +1 -1
- 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/agents-delete-agent.d.ts +1 -1
- package/dist/esm/funcs/agents-delete-agent.js +1 -1
- package/dist/esm/funcs/helix-agent-deployments-activate-helix-agent.d.ts +20 -0
- package/dist/esm/funcs/helix-agent-deployments-activate-helix-agent.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-activate-helix-agent.js +91 -0
- package/dist/esm/funcs/helix-agent-deployments-activate-helix-agent.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-deploy-helix-agent.d.ts +20 -0
- package/dist/esm/funcs/helix-agent-deployments-deploy-helix-agent.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-deploy-helix-agent.js +91 -0
- package/dist/esm/funcs/helix-agent-deployments-deploy-helix-agent.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-capabilities.d.ts +17 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-capabilities.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-capabilities.js +71 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-capabilities.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-operation.d.ts +18 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-operation.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-operation.js +88 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-operation.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent.d.ts +17 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent.js +93 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-list-helix-agents.d.ts +20 -0
- package/dist/esm/funcs/helix-agent-deployments-list-helix-agents.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-list-helix-agents.js +90 -0
- package/dist/esm/funcs/helix-agent-deployments-list-helix-agents.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-retire-helix-agent.d.ts +17 -0
- package/dist/esm/funcs/helix-agent-deployments-retire-helix-agent.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-retire-helix-agent.js +88 -0
- package/dist/esm/funcs/helix-agent-deployments-retire-helix-agent.js.map +1 -0
- package/dist/esm/funcs/sandbox-launch-helix-session.d.ts +1 -1
- package/dist/esm/funcs/sandbox-launch-helix-session.js +1 -1
- package/dist/esm/funcs/sandbox-list-helix-session-checkpoints.d.ts +20 -0
- package/dist/esm/funcs/sandbox-list-helix-session-checkpoints.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-list-helix-session-checkpoints.js +90 -0
- package/dist/esm/funcs/sandbox-list-helix-session-checkpoints.js.map +1 -0
- package/dist/esm/funcs/sandbox-restore-helix-session.d.ts +20 -0
- package/dist/esm/funcs/sandbox-restore-helix-session.d.ts.map +1 -0
- package/dist/esm/funcs/{sandbox-post-api-sandbox-agent-run.js → sandbox-restore-helix-session.js} +15 -13
- package/dist/esm/funcs/sandbox-restore-helix-session.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/agent-list.d.ts +23 -1
- package/dist/esm/models/agent-list.d.ts.map +1 -1
- package/dist/esm/models/agent-list.js +14 -1
- package/dist/esm/models/agent-list.js.map +1 -1
- package/dist/esm/models/agent.d.ts +23 -1
- package/dist/esm/models/agent.d.ts.map +1 -1
- package/dist/esm/models/agent.js +14 -1
- package/dist/esm/models/agent.js.map +1 -1
- package/dist/esm/models/archive-base64-archive-digest-artifact-digest.d.ts +62 -0
- package/dist/esm/models/archive-base64-archive-digest-artifact-digest.d.ts.map +1 -0
- package/dist/esm/models/archive-base64-archive-digest-artifact-digest.js +30 -0
- package/dist/esm/models/archive-base64-archive-digest-artifact-digest.js.map +1 -0
- package/dist/esm/models/errors/error-code-message.d.ts +21 -0
- package/dist/esm/models/errors/error-code-message.d.ts.map +1 -0
- package/dist/esm/models/errors/error-code-message.js +32 -0
- package/dist/esm/models/errors/error-code-message.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +2 -1
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +2 -1
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/restore-helix-session.d.ts +13 -0
- package/dist/esm/models/errors/restore-helix-session.d.ts.map +1 -0
- package/dist/esm/models/errors/restore-helix-session.js +16 -0
- package/dist/esm/models/errors/restore-helix-session.js.map +1 -0
- package/dist/esm/models/id-agent-id-deployment-id.d.ts +50 -0
- package/dist/esm/models/id-agent-id-deployment-id.d.ts.map +1 -0
- package/dist/esm/models/id-agent-id-deployment-id.js +53 -0
- package/dist/esm/models/id-agent-id-deployment-id.js.map +1 -0
- package/dist/esm/models/id-agent-id-environment.d.ts +42 -0
- package/dist/esm/models/id-agent-id-environment.d.ts.map +1 -0
- package/dist/esm/models/id-agent-id-environment.js +38 -0
- package/dist/esm/models/id-agent-id-environment.js.map +1 -0
- package/dist/esm/models/index.d.ts +10 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +10 -3
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mode-arm-model.d.ts +67 -6
- package/dist/esm/models/mode-arm-model.d.ts.map +1 -1
- package/dist/esm/models/mode-arm-model.js +50 -4
- package/dist/esm/models/mode-arm-model.js.map +1 -1
- package/dist/esm/models/mode-arm-model2.d.ts +11 -2
- package/dist/esm/models/mode-arm-model2.d.ts.map +1 -1
- package/dist/esm/models/mode-arm-model2.js +12 -2
- package/dist/esm/models/mode-arm-model2.js.map +1 -1
- package/dist/esm/models/operations/activate-helix-agent.d.ts +27 -0
- package/dist/esm/models/operations/activate-helix-agent.d.ts.map +1 -0
- package/dist/esm/models/operations/activate-helix-agent.js +23 -0
- package/dist/esm/models/operations/activate-helix-agent.js.map +1 -0
- package/dist/esm/models/operations/deploy-helix-agent.d.ts +138 -0
- package/dist/esm/models/operations/deploy-helix-agent.d.ts.map +1 -0
- package/dist/esm/models/operations/deploy-helix-agent.js +103 -0
- package/dist/esm/models/operations/deploy-helix-agent.js.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.d.ts +4 -4
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.d.ts.map +1 -1
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.js +4 -5
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.js.map +1 -1
- package/dist/esm/models/operations/get-helix-agent-capabilities.d.ts +42 -0
- package/dist/esm/models/operations/get-helix-agent-capabilities.d.ts.map +1 -0
- package/dist/esm/models/operations/get-helix-agent-capabilities.js +46 -0
- package/dist/esm/models/operations/get-helix-agent-capabilities.js.map +1 -0
- package/dist/esm/models/operations/get-helix-agent-operation.d.ts +12 -0
- package/dist/esm/models/operations/get-helix-agent-operation.d.ts.map +1 -0
- package/dist/esm/models/operations/get-helix-agent-operation.js +12 -0
- package/dist/esm/models/operations/get-helix-agent-operation.js.map +1 -0
- package/dist/esm/models/operations/get-helix-agent.d.ts +161 -0
- package/dist/esm/models/operations/get-helix-agent.d.ts.map +1 -0
- package/dist/esm/models/operations/get-helix-agent.js +124 -0
- package/dist/esm/models/operations/get-helix-agent.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +9 -1
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +9 -1
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/launch-helix-session.d.ts +24 -0
- package/dist/esm/models/operations/launch-helix-session.d.ts.map +1 -1
- package/dist/esm/models/operations/launch-helix-session.js +15 -0
- package/dist/esm/models/operations/launch-helix-session.js.map +1 -1
- package/dist/esm/models/operations/list-helix-agents.d.ts +55 -0
- package/dist/esm/models/operations/list-helix-agents.d.ts.map +1 -0
- package/dist/esm/models/operations/list-helix-agents.js +48 -0
- package/dist/esm/models/operations/list-helix-agents.js.map +1 -0
- package/dist/esm/models/operations/list-helix-session-checkpoints.d.ts +38 -0
- package/dist/esm/models/operations/list-helix-session-checkpoints.d.ts.map +1 -0
- package/dist/esm/models/operations/list-helix-session-checkpoints.js +34 -0
- package/dist/esm/models/operations/list-helix-session-checkpoints.js.map +1 -0
- package/dist/esm/models/operations/list-helix-workspace-sessions.d.ts +10 -19
- package/dist/esm/models/operations/list-helix-workspace-sessions.d.ts.map +1 -1
- package/dist/esm/models/operations/list-helix-workspace-sessions.js +10 -21
- package/dist/esm/models/operations/list-helix-workspace-sessions.js.map +1 -1
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.d.ts +12 -12
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.d.ts.map +1 -1
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.js +12 -13
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.js.map +1 -1
- package/dist/esm/models/operations/restore-helix-session.d.ts +155 -0
- package/dist/esm/models/operations/restore-helix-session.d.ts.map +1 -0
- package/dist/esm/models/operations/restore-helix-session.js +80 -0
- package/dist/esm/models/operations/restore-helix-session.js.map +1 -0
- package/dist/esm/models/operations/retire-helix-agent.d.ts +39 -0
- package/dist/esm/models/operations/retire-helix-agent.d.ts.map +1 -0
- package/dist/esm/models/operations/retire-helix-agent.js +29 -0
- package/dist/esm/models/operations/retire-helix-agent.js.map +1 -0
- package/dist/esm/models/operations/update-organization-member.d.ts +1 -1
- package/dist/esm/models/operations/update-organization-member.js +1 -1
- package/dist/esm/models/operations/update-workspace-member.d.ts +1 -1
- package/dist/esm/models/operations/update-workspace-member.js +1 -1
- package/dist/esm/models/revision-environment-expected-generation.d.ts +26 -0
- package/dist/esm/models/revision-environment-expected-generation.d.ts.map +1 -0
- package/dist/esm/models/revision-environment-expected-generation.js +17 -0
- package/dist/esm/models/revision-environment-expected-generation.js.map +1 -0
- package/dist/esm/models/schemaany-of.d.ts +8 -0
- package/dist/esm/models/schemaany-of.d.ts.map +1 -0
- package/dist/esm/models/schemaany-of.js +11 -0
- package/dist/esm/models/schemaany-of.js.map +1 -0
- package/dist/esm/models/schemaany-of2.d.ts +8 -0
- package/dist/esm/models/schemaany-of2.d.ts.map +1 -0
- package/dist/esm/models/schemaany-of2.js +12 -0
- package/dist/esm/models/schemaany-of2.js.map +1 -0
- package/dist/esm/models/schemaany-of4.d.ts +8 -0
- package/dist/esm/models/schemaany-of4.d.ts.map +1 -0
- package/dist/esm/models/schemaany-of4.js +11 -0
- package/dist/esm/models/schemaany-of4.js.map +1 -0
- package/dist/esm/models/schemadefaul13.d.ts +10 -0
- package/dist/esm/models/{schemadefaul12.d.ts.map → schemadefaul13.d.ts.map} +1 -1
- package/dist/esm/models/schemadefaul13.js +14 -0
- package/dist/esm/models/{schemadefaul12.js.map → schemadefaul13.js.map} +1 -1
- package/dist/esm/models/schemadefaul15.d.ts +9 -0
- package/dist/esm/models/{schemadefaul14.d.ts.map → schemadefaul15.d.ts.map} +1 -1
- package/dist/esm/models/schemadefaul15.js +13 -0
- package/dist/esm/models/{schemadefaul14.js.map → schemadefaul15.js.map} +1 -1
- package/dist/esm/models/schemaenum3.d.ts +11 -0
- package/dist/esm/models/schemaenum3.d.ts.map +1 -0
- package/dist/esm/models/schemaenum3.js +13 -0
- package/dist/esm/models/schemaenum3.js.map +1 -0
- package/dist/esm/sdk/agents.d.ts +1 -1
- package/dist/esm/sdk/agents.js +1 -1
- package/dist/esm/sdk/helix-agent-deployments.d.ts +43 -0
- package/dist/esm/sdk/helix-agent-deployments.d.ts.map +1 -0
- package/dist/esm/sdk/helix-agent-deployments.js +66 -0
- package/dist/esm/sdk/helix-agent-deployments.js.map +1 -0
- package/dist/esm/sdk/sandbox.d.ts +15 -8
- package/dist/esm/sdk/sandbox.d.ts.map +1 -1
- package/dist/esm/sdk/sandbox.js +21 -11
- package/dist/esm/sdk/sandbox.js.map +1 -1
- 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/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.d.ts +0 -20
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.js.map +0 -1
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.d.ts +0 -13
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.js +0 -17
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.js.map +0 -1
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.d.ts +0 -47
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.js.map +0 -1
- package/dist/commonjs/models/preset-timeout-ms-keep2.d.ts +0 -65
- package/dist/commonjs/models/preset-timeout-ms-keep2.d.ts.map +0 -1
- package/dist/commonjs/models/preset-timeout-ms-keep2.js.map +0 -1
- package/dist/commonjs/models/schemadefaul12.d.ts +0 -10
- package/dist/commonjs/models/schemadefaul14.d.ts +0 -9
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.d.ts +0 -20
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.js.map +0 -1
- package/dist/esm/models/errors/post-api-sandbox-agent-run.d.ts +0 -13
- package/dist/esm/models/errors/post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/esm/models/errors/post-api-sandbox-agent-run.js +0 -13
- package/dist/esm/models/errors/post-api-sandbox-agent-run.js.map +0 -1
- package/dist/esm/models/operations/post-api-sandbox-agent-run.d.ts +0 -47
- package/dist/esm/models/operations/post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/esm/models/operations/post-api-sandbox-agent-run.js +0 -29
- package/dist/esm/models/operations/post-api-sandbox-agent-run.js.map +0 -1
- package/dist/esm/models/preset-timeout-ms-keep2.d.ts +0 -65
- package/dist/esm/models/preset-timeout-ms-keep2.d.ts.map +0 -1
- package/dist/esm/models/preset-timeout-ms-keep2.js +0 -22
- package/dist/esm/models/preset-timeout-ms-keep2.js.map +0 -1
- package/dist/esm/models/schemadefaul12.d.ts +0 -10
- package/dist/esm/models/schemadefaul12.js +0 -14
- package/dist/esm/models/schemadefaul14.d.ts +0 -9
- package/dist/esm/models/schemadefaul14.js +0 -13
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type ArchiveSize = string | number;
|
|
3
|
+
/**
|
|
4
|
+
* Compare-and-swap precondition on the slot generation. Omitted, the current generation is used.
|
|
5
|
+
*/
|
|
6
|
+
export type ExpectedGeneration = string | number;
|
|
7
|
+
export type ArchiveBase64ArchiveDigestArtifactDigest = {
|
|
8
|
+
/**
|
|
9
|
+
* The package archive from `mutagent agent pack`, base64.
|
|
10
|
+
*/
|
|
11
|
+
archiveBase64: string;
|
|
12
|
+
/**
|
|
13
|
+
* A lowercase sha256 digest with its algorithm prefix
|
|
14
|
+
*/
|
|
15
|
+
archiveDigest: string;
|
|
16
|
+
/**
|
|
17
|
+
* A lowercase sha256 digest with its algorithm prefix
|
|
18
|
+
*/
|
|
19
|
+
artifactDigest: string;
|
|
20
|
+
archiveSize: string | number;
|
|
21
|
+
/**
|
|
22
|
+
* A workspace Environment by name. It selects the deployment slot and is loaded into sessions launched from it. Omitted selects the default slot, which loads no Environment.
|
|
23
|
+
*/
|
|
24
|
+
environment?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Point the slot at this revision for new sessions. Defaults to true; false stores the revision and creates or keeps the slot without moving its pointer.
|
|
27
|
+
*/
|
|
28
|
+
activate?: boolean | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Compare-and-swap precondition on the slot generation. Omitted, the current generation is used.
|
|
31
|
+
*/
|
|
32
|
+
expectedGeneration?: string | number | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Identifies the package, slot and activation intent. A retry with the same key replays the recorded outcome; reusing it for a different intent is refused.
|
|
35
|
+
*/
|
|
36
|
+
idempotencyKey: string;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type ArchiveSize$Outbound = string | number;
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const ArchiveSize$outboundSchema: z.ZodMiniType<ArchiveSize$Outbound, ArchiveSize>;
|
|
42
|
+
export declare function archiveSizeToJSON(archiveSize: ArchiveSize): string;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type ExpectedGeneration$Outbound = string | number;
|
|
45
|
+
/** @internal */
|
|
46
|
+
export declare const ExpectedGeneration$outboundSchema: z.ZodMiniType<ExpectedGeneration$Outbound, ExpectedGeneration>;
|
|
47
|
+
export declare function expectedGenerationToJSON(expectedGeneration: ExpectedGeneration): string;
|
|
48
|
+
/** @internal */
|
|
49
|
+
export type ArchiveBase64ArchiveDigestArtifactDigest$Outbound = {
|
|
50
|
+
archiveBase64: string;
|
|
51
|
+
archiveDigest: string;
|
|
52
|
+
artifactDigest: string;
|
|
53
|
+
archiveSize: string | number;
|
|
54
|
+
environment?: string | undefined;
|
|
55
|
+
activate?: boolean | undefined;
|
|
56
|
+
expectedGeneration?: string | number | undefined;
|
|
57
|
+
idempotencyKey: string;
|
|
58
|
+
};
|
|
59
|
+
/** @internal */
|
|
60
|
+
export declare const ArchiveBase64ArchiveDigestArtifactDigest$outboundSchema: z.ZodMiniType<ArchiveBase64ArchiveDigestArtifactDigest$Outbound, ArchiveBase64ArchiveDigestArtifactDigest>;
|
|
61
|
+
export declare function archiveBase64ArchiveDigestArtifactDigestToJSON(archiveBase64ArchiveDigestArtifactDigest: ArchiveBase64ArchiveDigestArtifactDigest): string;
|
|
62
|
+
//# sourceMappingURL=archive-base64-archive-digest-artifact-digest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archive-base64-archive-digest-artifact-digest.d.ts","sourceRoot":"","sources":["../../../src/models/archive-base64-archive-digest-artifact-digest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEjD,MAAM,MAAM,wCAAwC,GAAG;IACrD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnD,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,WAAW,CACpD,oBAAoB,EACpB,WAAW,CACwB,CAAC;AAEtC,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AAED,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1D,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,2BAA2B,EAC3B,kBAAkB,CACiB,CAAC;AAEtC,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,iDAAiD,GAAG;IAC9D,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACjD,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAClE,CAAC,CAAC,WAAW,CACX,iDAAiD,EACjD,wCAAwC,CAUxC,CAAC;AAEL,wBAAgB,8CAA8C,CAC5D,wCAAwC,EACtC,wCAAwC,GACzC,MAAM,CAMR"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ArchiveBase64ArchiveDigestArtifactDigest$outboundSchema = exports.ExpectedGeneration$outboundSchema = exports.ArchiveSize$outboundSchema = void 0;
|
|
40
|
+
exports.archiveSizeToJSON = archiveSizeToJSON;
|
|
41
|
+
exports.expectedGenerationToJSON = expectedGenerationToJSON;
|
|
42
|
+
exports.archiveBase64ArchiveDigestArtifactDigestToJSON = archiveBase64ArchiveDigestArtifactDigestToJSON;
|
|
43
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
44
|
+
const smart_union_js_1 = require("../types/smart-union.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.ArchiveSize$outboundSchema = (0, smart_union_js_1.smartUnion)([z.string(), z.int()]);
|
|
47
|
+
function archiveSizeToJSON(archiveSize) {
|
|
48
|
+
return JSON.stringify(exports.ArchiveSize$outboundSchema.parse(archiveSize));
|
|
49
|
+
}
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.ExpectedGeneration$outboundSchema = (0, smart_union_js_1.smartUnion)([z.string(), z.int()]);
|
|
52
|
+
function expectedGenerationToJSON(expectedGeneration) {
|
|
53
|
+
return JSON.stringify(exports.ExpectedGeneration$outboundSchema.parse(expectedGeneration));
|
|
54
|
+
}
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.ArchiveBase64ArchiveDigestArtifactDigest$outboundSchema = z.object({
|
|
57
|
+
archiveBase64: z.string(),
|
|
58
|
+
archiveDigest: z.string(),
|
|
59
|
+
artifactDigest: z.string(),
|
|
60
|
+
archiveSize: (0, smart_union_js_1.smartUnion)([z.string(), z.int()]),
|
|
61
|
+
environment: z.optional(z.string()),
|
|
62
|
+
activate: z.optional(z.boolean()),
|
|
63
|
+
expectedGeneration: z.optional((0, smart_union_js_1.smartUnion)([z.string(), z.int()])),
|
|
64
|
+
idempotencyKey: z.string(),
|
|
65
|
+
});
|
|
66
|
+
function archiveBase64ArchiveDigestArtifactDigestToJSON(archiveBase64ArchiveDigestArtifactDigest) {
|
|
67
|
+
return JSON.stringify(exports.ArchiveBase64ArchiveDigestArtifactDigest$outboundSchema.parse(archiveBase64ArchiveDigestArtifactDigest));
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=archive-base64-archive-digest-artifact-digest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archive-base64-archive-digest-artifact-digest.js","sourceRoot":"","sources":["../../../src/models/archive-base64-archive-digest-artifact-digest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDH,8CAEC;AAWD,4DAMC;AA8BD,wGASC;AA7GD,+CAAiC;AACjC,4DAAqD;AA4CrD,gBAAgB;AACH,QAAA,0BAA0B,GAGnC,IAAA,2BAAU,EAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;AAEtC,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AAKD,gBAAgB;AACH,QAAA,iCAAiC,GAG1C,IAAA,2BAAU,EAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;AAEtC,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AAcD,gBAAgB;AACH,QAAA,uDAAuD,GAI9D,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,IAAA,2BAAU,EAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACjC,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,IAAA,2BAAU,EAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IACjE,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEL,SAAgB,8CAA8C,CAC5D,wCAC0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,+DAAuD,CAAC,KAAK,CAC3D,wCAAwC,CACzC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { MutagentError } from "./mutagent-error.js";
|
|
3
|
+
export type ErrorCodeMessageData = {
|
|
4
|
+
error: string;
|
|
5
|
+
code: string;
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
export declare class ErrorCodeMessage extends MutagentError {
|
|
9
|
+
error: string;
|
|
10
|
+
code: string;
|
|
11
|
+
/** The original data that was passed to this error instance. */
|
|
12
|
+
data$: ErrorCodeMessageData;
|
|
13
|
+
constructor(err: ErrorCodeMessageData, httpMeta: {
|
|
14
|
+
response: Response;
|
|
15
|
+
request: Request;
|
|
16
|
+
body: string;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const ErrorCodeMessage$inboundSchema: z.ZodMiniType<ErrorCodeMessage, unknown>;
|
|
21
|
+
//# sourceMappingURL=error-code-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-code-message.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/error-code-message.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,qBAAa,gBAAiB,SAAQ,aAAa;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IAEb,gEAAgE;IAChE,KAAK,EAAE,oBAAoB,CAAC;gBAG1B,GAAG,EAAE,oBAAoB,EACzB,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAUnE;AAED,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,gBAAgB,EAChB,OAAO,CAiBR,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ErrorCodeMessage$inboundSchema = exports.ErrorCodeMessage = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
41
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
42
|
+
const mutagent_error_js_1 = require("./mutagent-error.js");
|
|
43
|
+
class ErrorCodeMessage extends mutagent_error_js_1.MutagentError {
|
|
44
|
+
constructor(err, httpMeta) {
|
|
45
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
46
|
+
super(message, httpMeta);
|
|
47
|
+
this.data$ = err;
|
|
48
|
+
this.error = err.error;
|
|
49
|
+
this.code = err.code;
|
|
50
|
+
this.name = "ErrorCodeMessage";
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.ErrorCodeMessage = ErrorCodeMessage;
|
|
54
|
+
/** @internal */
|
|
55
|
+
exports.ErrorCodeMessage$inboundSchema = z.pipe(z.object({
|
|
56
|
+
error: types.string(),
|
|
57
|
+
code: types.string(),
|
|
58
|
+
message: types.string(),
|
|
59
|
+
request$: z.custom(x => x instanceof Request),
|
|
60
|
+
response$: z.custom(x => x instanceof Response),
|
|
61
|
+
body$: z.string(),
|
|
62
|
+
}), z.transform((v) => {
|
|
63
|
+
return new ErrorCodeMessage(v, {
|
|
64
|
+
request: v.request$,
|
|
65
|
+
response: v.response$,
|
|
66
|
+
body: v.body$,
|
|
67
|
+
});
|
|
68
|
+
}));
|
|
69
|
+
//# sourceMappingURL=error-code-message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-code-message.js","sourceRoot":"","sources":["../../../../src/models/errors/error-code-message.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+CAAiC;AACjC,iEAAmD;AACnD,2DAAoD;AAQpD,MAAa,gBAAiB,SAAQ,iCAAa;IAOjD,YACE,GAAyB,EACzB,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QAErB,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;IACjC,CAAC;CACF;AAnBD,4CAmBC;AAED,gBAAgB;AACH,QAAA,8BAA8B,GAGvC,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAU,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,OAAO,CAAC;IACtD,SAAS,EAAE,CAAC,CAAC,MAAM,CAAW,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,QAAQ,CAAC;IACzD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IAChB,OAAO,IAAI,gBAAgB,CAAC,CAAC,EAAE;QAC7B,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./error-code-message.js";
|
|
1
2
|
export * from "./error-message-code.js";
|
|
2
3
|
export * from "./error-message-model.js";
|
|
3
4
|
export * from "./error-message-status-code.js";
|
|
@@ -7,12 +8,12 @@ export * from "./get-api-sandbox-by-id.js";
|
|
|
7
8
|
export * from "./http-client-errors.js";
|
|
8
9
|
export * from "./launch-helix-session.js";
|
|
9
10
|
export * from "./mutagent-error.js";
|
|
10
|
-
export * from "./post-api-sandbox-agent-run.js";
|
|
11
11
|
export * from "./post-api-sandbox-by-id-restore.js";
|
|
12
12
|
export * from "./post-api-sandbox-by-id-session.js";
|
|
13
13
|
export * from "./provider-error.js";
|
|
14
14
|
export * from "./put-api-sandbox-helix-defaults.js";
|
|
15
15
|
export * from "./response-validation-error.js";
|
|
16
|
+
export * from "./restore-helix-session.js";
|
|
16
17
|
export * from "./sdk-error.js";
|
|
17
18
|
export * from "./sdk-validation-error.js";
|
|
18
19
|
export * from "./test-connection-result-error.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,eAAe,CAAC"}
|
|
@@ -17,6 +17,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
17
17
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./error-code-message.js"), exports);
|
|
20
21
|
__exportStar(require("./error-message-code.js"), exports);
|
|
21
22
|
__exportStar(require("./error-message-model.js"), exports);
|
|
22
23
|
__exportStar(require("./error-message-status-code.js"), exports);
|
|
@@ -26,12 +27,12 @@ __exportStar(require("./get-api-sandbox-by-id.js"), exports);
|
|
|
26
27
|
__exportStar(require("./http-client-errors.js"), exports);
|
|
27
28
|
__exportStar(require("./launch-helix-session.js"), exports);
|
|
28
29
|
__exportStar(require("./mutagent-error.js"), exports);
|
|
29
|
-
__exportStar(require("./post-api-sandbox-agent-run.js"), exports);
|
|
30
30
|
__exportStar(require("./post-api-sandbox-by-id-restore.js"), exports);
|
|
31
31
|
__exportStar(require("./post-api-sandbox-by-id-session.js"), exports);
|
|
32
32
|
__exportStar(require("./provider-error.js"), exports);
|
|
33
33
|
__exportStar(require("./put-api-sandbox-helix-defaults.js"), exports);
|
|
34
34
|
__exportStar(require("./response-validation-error.js"), exports);
|
|
35
|
+
__exportStar(require("./restore-helix-session.js"), exports);
|
|
35
36
|
__exportStar(require("./sdk-error.js"), exports);
|
|
36
37
|
__exportStar(require("./sdk-validation-error.js"), exports);
|
|
37
38
|
__exportStar(require("./test-connection-result-error.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,0DAAwC;AACxC,2DAAyC;AACzC,iEAA+C;AAC/C,qDAAmC;AACnC,sDAAoC;AACpC,6DAA2C;AAC3C,0DAAwC;AACxC,4DAA0C;AAC1C,sDAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,0DAAwC;AACxC,0DAAwC;AACxC,2DAAyC;AACzC,iEAA+C;AAC/C,qDAAmC;AACnC,sDAAoC;AACpC,6DAA2C;AAC3C,0DAAwC;AACxC,4DAA0C;AAC1C,sDAAoC;AACpC,sEAAoD;AACpD,sEAAoD;AACpD,sDAAoC;AACpC,sEAAoD;AACpD,iEAA+C;AAC/C,6DAA2C;AAC3C,iDAA+B;AAC/B,4DAA0C;AAC1C,oEAAkD;AAClD,qEAAmD;AACnD,gDAA8B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { ErrorMessageModel } from "./error-message-model.js";
|
|
4
|
+
import { ErrorMessage2 } from "./error-message2.js";
|
|
5
|
+
import { SDKValidationError } from "./sdk-validation-error.js";
|
|
6
|
+
/**
|
|
7
|
+
* Response for status 422
|
|
8
|
+
*/
|
|
9
|
+
export type RestoreHelixSessionUnprocessableEntity = ErrorMessageModel | ErrorMessage2;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const RestoreHelixSessionUnprocessableEntity$inboundSchema: z.ZodMiniType<RestoreHelixSessionUnprocessableEntity, unknown>;
|
|
12
|
+
export declare function restoreHelixSessionUnprocessableEntityFromJSON(jsonString: string): SafeParseResult<RestoreHelixSessionUnprocessableEntity, SDKValidationError>;
|
|
13
|
+
//# sourceMappingURL=restore-helix-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-helix-session.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/restore-helix-session.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,sCAAsC,GAC9C,iBAAiB,GACjB,aAAa,CAAC;AAElB,gBAAgB;AAChB,eAAO,MAAM,oDAAoD,EAC/D,CAAC,CAAC,WAAW,CAAC,sCAAsC,EAAE,OAAO,CAG3D,CAAC;AAEL,wBAAgB,8CAA8C,CAC5D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sCAAsC,EAAE,kBAAkB,CAAC,CAO7E"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.RestoreHelixSessionUnprocessableEntity$inboundSchema = void 0;
|
|
7
|
+
exports.restoreHelixSessionUnprocessableEntityFromJSON = restoreHelixSessionUnprocessableEntityFromJSON;
|
|
8
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
9
|
+
const smart_union_js_1 = require("../../types/smart-union.js");
|
|
10
|
+
const error_message_model_js_1 = require("./error-message-model.js");
|
|
11
|
+
const error_message2_js_1 = require("./error-message2.js");
|
|
12
|
+
/** @internal */
|
|
13
|
+
exports.RestoreHelixSessionUnprocessableEntity$inboundSchema = (0, smart_union_js_1.smartUnion)([
|
|
14
|
+
error_message_model_js_1.ErrorMessageModel$inboundSchema,
|
|
15
|
+
error_message2_js_1.ErrorMessage2$inboundSchema,
|
|
16
|
+
]);
|
|
17
|
+
function restoreHelixSessionUnprocessableEntityFromJSON(jsonString) {
|
|
18
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RestoreHelixSessionUnprocessableEntity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RestoreHelixSessionUnprocessableEntity' from JSON`);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=restore-helix-session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-helix-session.js","sourceRoot":"","sources":["../../../../src/models/errors/restore-helix-session.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AA8BH,wGASC;AApCD,qDAAiD;AAEjD,+DAAwD;AACxD,qEAGkC;AAClC,2DAG6B;AAU7B,gBAAgB;AACH,QAAA,oDAAoD,GACE,IAAA,2BAAU,EAAC;IAC1E,wDAA+B;IAC/B,+CAA2B;CAC5B,CAAC,CAAC;AAEL,SAAgB,8CAA8C,CAC5D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,4DAAoD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,oEAAoE,CACrE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
|
+
export type IdAgentIdDeploymentIdAgentId = string | number;
|
|
6
|
+
export declare enum OperationKind {
|
|
7
|
+
Deploy = "deploy",
|
|
8
|
+
Activate = "activate",
|
|
9
|
+
Retire = "retire"
|
|
10
|
+
}
|
|
11
|
+
export type OperationKindOpen = OpenEnum<typeof OperationKind>;
|
|
12
|
+
export declare enum Stage {
|
|
13
|
+
Accepted = "accepted",
|
|
14
|
+
Validating = "validating",
|
|
15
|
+
Validated = "validated",
|
|
16
|
+
Preparing = "preparing",
|
|
17
|
+
Ready = "ready",
|
|
18
|
+
Active = "active",
|
|
19
|
+
Retired = "retired",
|
|
20
|
+
Failed = "failed"
|
|
21
|
+
}
|
|
22
|
+
export type StageOpen = OpenEnum<typeof Stage>;
|
|
23
|
+
export type IdAgentIdDeploymentId = {
|
|
24
|
+
id: string;
|
|
25
|
+
agentId: string | number;
|
|
26
|
+
deploymentId: string | null;
|
|
27
|
+
revisionId: string | null;
|
|
28
|
+
operationKind: OperationKindOpen;
|
|
29
|
+
idempotencyKey: string;
|
|
30
|
+
stage: StageOpen;
|
|
31
|
+
result: {
|
|
32
|
+
[k: string]: any;
|
|
33
|
+
} | null;
|
|
34
|
+
error: {
|
|
35
|
+
[k: string]: any;
|
|
36
|
+
} | null;
|
|
37
|
+
createdAt: string;
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
};
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const IdAgentIdDeploymentIdAgentId$inboundSchema: z.ZodMiniType<IdAgentIdDeploymentIdAgentId, unknown>;
|
|
42
|
+
export declare function idAgentIdDeploymentIdAgentIdFromJSON(jsonString: string): SafeParseResult<IdAgentIdDeploymentIdAgentId, SDKValidationError>;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const OperationKind$inboundSchema: z.ZodMiniType<OperationKindOpen, unknown>;
|
|
45
|
+
/** @internal */
|
|
46
|
+
export declare const Stage$inboundSchema: z.ZodMiniType<StageOpen, unknown>;
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const IdAgentIdDeploymentId$inboundSchema: z.ZodMiniType<IdAgentIdDeploymentId, unknown>;
|
|
49
|
+
export declare function idAgentIdDeploymentIdFromJSON(jsonString: string): SafeParseResult<IdAgentIdDeploymentId, SDKValidationError>;
|
|
50
|
+
//# sourceMappingURL=id-agent-id-deployment-id.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-agent-id-deployment-id.d.ts","sourceRoot":"","sources":["../../../src/models/id-agent-id-deployment-id.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,4BAA4B,GAAG,MAAM,GAAG,MAAM,CAAC;AAE3D,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AACD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE/D,oBAAY,KAAK;IACf,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AACD,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAE/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,iBAAiB,CAAC;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,CAAC;IACpC,KAAK,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,4BAA4B,EAC5B,OAAO,CACuC,CAAC;AAEjD,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE;AAED,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,iBAAiB,EACjB,OAAO,CACiC,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAC3C,CAAC;AAExB,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAC7D,qBAAqB,EACrB,OAAO,CAaP,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IdAgentIdDeploymentId$inboundSchema = exports.Stage$inboundSchema = exports.OperationKind$inboundSchema = exports.IdAgentIdDeploymentIdAgentId$inboundSchema = exports.Stage = exports.OperationKind = void 0;
|
|
40
|
+
exports.idAgentIdDeploymentIdAgentIdFromJSON = idAgentIdDeploymentIdAgentIdFromJSON;
|
|
41
|
+
exports.idAgentIdDeploymentIdFromJSON = idAgentIdDeploymentIdFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
43
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
44
|
+
const openEnums = __importStar(require("../types/enums.js"));
|
|
45
|
+
const types = __importStar(require("../types/primitives.js"));
|
|
46
|
+
const smart_union_js_1 = require("../types/smart-union.js");
|
|
47
|
+
var OperationKind;
|
|
48
|
+
(function (OperationKind) {
|
|
49
|
+
OperationKind["Deploy"] = "deploy";
|
|
50
|
+
OperationKind["Activate"] = "activate";
|
|
51
|
+
OperationKind["Retire"] = "retire";
|
|
52
|
+
})(OperationKind || (exports.OperationKind = OperationKind = {}));
|
|
53
|
+
var Stage;
|
|
54
|
+
(function (Stage) {
|
|
55
|
+
Stage["Accepted"] = "accepted";
|
|
56
|
+
Stage["Validating"] = "validating";
|
|
57
|
+
Stage["Validated"] = "validated";
|
|
58
|
+
Stage["Preparing"] = "preparing";
|
|
59
|
+
Stage["Ready"] = "ready";
|
|
60
|
+
Stage["Active"] = "active";
|
|
61
|
+
Stage["Retired"] = "retired";
|
|
62
|
+
Stage["Failed"] = "failed";
|
|
63
|
+
})(Stage || (exports.Stage = Stage = {}));
|
|
64
|
+
/** @internal */
|
|
65
|
+
exports.IdAgentIdDeploymentIdAgentId$inboundSchema = (0, smart_union_js_1.smartUnion)([types.string(), types.number()]);
|
|
66
|
+
function idAgentIdDeploymentIdAgentIdFromJSON(jsonString) {
|
|
67
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IdAgentIdDeploymentIdAgentId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IdAgentIdDeploymentIdAgentId' from JSON`);
|
|
68
|
+
}
|
|
69
|
+
/** @internal */
|
|
70
|
+
exports.OperationKind$inboundSchema = openEnums.inboundSchema(OperationKind);
|
|
71
|
+
/** @internal */
|
|
72
|
+
exports.Stage$inboundSchema = openEnums
|
|
73
|
+
.inboundSchema(Stage);
|
|
74
|
+
/** @internal */
|
|
75
|
+
exports.IdAgentIdDeploymentId$inboundSchema = z.object({
|
|
76
|
+
id: types.string(),
|
|
77
|
+
agentId: (0, smart_union_js_1.smartUnion)([types.string(), types.number()]),
|
|
78
|
+
deploymentId: types.nullable(types.string()),
|
|
79
|
+
revisionId: types.nullable(types.string()),
|
|
80
|
+
operationKind: exports.OperationKind$inboundSchema,
|
|
81
|
+
idempotencyKey: types.string(),
|
|
82
|
+
stage: exports.Stage$inboundSchema,
|
|
83
|
+
result: types.nullable(z.record(z.string(), z.any())),
|
|
84
|
+
error: types.nullable(z.record(z.string(), z.any())),
|
|
85
|
+
createdAt: types.string(),
|
|
86
|
+
updatedAt: types.string(),
|
|
87
|
+
});
|
|
88
|
+
function idAgentIdDeploymentIdFromJSON(jsonString) {
|
|
89
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IdAgentIdDeploymentId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IdAgentIdDeploymentId' from JSON`);
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=id-agent-id-deployment-id.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-agent-id-deployment-id.js","sourceRoot":"","sources":["../../../src/models/id-agent-id-deployment-id.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDH,oFAQC;AA8BD,sEAQC;AAhGD,+CAAiC;AACjC,kDAA8C;AAC9C,6DAA+C;AAG/C,8DAAgD;AAChD,4DAAqD;AAKrD,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AACnB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAGD,IAAY,KASX;AATD,WAAY,KAAK;IACf,8BAAqB,CAAA;IACrB,kCAAyB,CAAA;IACzB,gCAAuB,CAAA;IACvB,gCAAuB,CAAA;IACvB,wBAAe,CAAA;IACf,0BAAiB,CAAA;IACjB,4BAAmB,CAAA;IACnB,0BAAiB,CAAA;AACnB,CAAC,EATW,KAAK,qBAAL,KAAK,QAShB;AAiBD,gBAAgB;AACH,QAAA,0CAA0C,GAGnD,IAAA,2BAAU,EAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAEjD,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,2BAA2B,GAGpC,SAAS,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;AAE3C,gBAAgB;AACH,QAAA,mBAAmB,GAAsC,SAAS;KAC5E,aAAa,CAAC,KAAK,CAAC,CAAC;AAExB,gBAAgB;AACH,QAAA,mCAAmC,GAG5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,IAAA,2BAAU,EAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACrD,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC5C,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,aAAa,EAAE,mCAA2B;IAC1C,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE;IAC9B,KAAK,EAAE,2BAAmB;IAC1B,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACrD,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACpD,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
4
|
+
export type IdAgentIdEnvironmentAgentId = string | number;
|
|
5
|
+
/**
|
|
6
|
+
* The active revision number.
|
|
7
|
+
*/
|
|
8
|
+
export type ActiveRevision = string | number;
|
|
9
|
+
export type Generation = string | number;
|
|
10
|
+
export type IdAgentIdEnvironment = {
|
|
11
|
+
id: string;
|
|
12
|
+
agentId: string | number;
|
|
13
|
+
/**
|
|
14
|
+
* The slot Environment; null is the default slot.
|
|
15
|
+
*/
|
|
16
|
+
environment: string | null;
|
|
17
|
+
activeRevisionId: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* The active revision number.
|
|
20
|
+
*/
|
|
21
|
+
activeRevision: string | number | null;
|
|
22
|
+
generation: string | number;
|
|
23
|
+
/**
|
|
24
|
+
* False once retired; launches from the slot are refused.
|
|
25
|
+
*/
|
|
26
|
+
enabled: boolean;
|
|
27
|
+
createdAt: string;
|
|
28
|
+
updatedAt: string;
|
|
29
|
+
};
|
|
30
|
+
/** @internal */
|
|
31
|
+
export declare const IdAgentIdEnvironmentAgentId$inboundSchema: z.ZodMiniType<IdAgentIdEnvironmentAgentId, unknown>;
|
|
32
|
+
export declare function idAgentIdEnvironmentAgentIdFromJSON(jsonString: string): SafeParseResult<IdAgentIdEnvironmentAgentId, SDKValidationError>;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const ActiveRevision$inboundSchema: z.ZodMiniType<ActiveRevision, unknown>;
|
|
35
|
+
export declare function activeRevisionFromJSON(jsonString: string): SafeParseResult<ActiveRevision, SDKValidationError>;
|
|
36
|
+
/** @internal */
|
|
37
|
+
export declare const Generation$inboundSchema: z.ZodMiniType<Generation, unknown>;
|
|
38
|
+
export declare function generationFromJSON(jsonString: string): SafeParseResult<Generation, SDKValidationError>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const IdAgentIdEnvironment$inboundSchema: z.ZodMiniType<IdAgentIdEnvironment, unknown>;
|
|
41
|
+
export declare function idAgentIdEnvironmentFromJSON(jsonString: string): SafeParseResult<IdAgentIdEnvironment, SDKValidationError>;
|
|
42
|
+
//# sourceMappingURL=id-agent-id-environment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-agent-id-environment.d.ts","sourceRoot":"","sources":["../../../src/models/id-agent-id-environment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC;AAE7C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACvC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,WAAW,CACnE,2BAA2B,EAC3B,OAAO,CACuC,CAAC;AAEjD,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE;AAED,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,WAAW,CACtD,cAAc,EACd,OAAO,CACuC,CAAC;AAEjD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD;AAED,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAC1B,CAAC;AAE/C,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,CAWP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IdAgentIdEnvironment$inboundSchema = exports.Generation$inboundSchema = exports.ActiveRevision$inboundSchema = exports.IdAgentIdEnvironmentAgentId$inboundSchema = void 0;
|
|
40
|
+
exports.idAgentIdEnvironmentAgentIdFromJSON = idAgentIdEnvironmentAgentIdFromJSON;
|
|
41
|
+
exports.activeRevisionFromJSON = activeRevisionFromJSON;
|
|
42
|
+
exports.generationFromJSON = generationFromJSON;
|
|
43
|
+
exports.idAgentIdEnvironmentFromJSON = idAgentIdEnvironmentFromJSON;
|
|
44
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
45
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
46
|
+
const types = __importStar(require("../types/primitives.js"));
|
|
47
|
+
const smart_union_js_1 = require("../types/smart-union.js");
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.IdAgentIdEnvironmentAgentId$inboundSchema = (0, smart_union_js_1.smartUnion)([types.string(), types.number()]);
|
|
50
|
+
function idAgentIdEnvironmentAgentIdFromJSON(jsonString) {
|
|
51
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IdAgentIdEnvironmentAgentId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IdAgentIdEnvironmentAgentId' from JSON`);
|
|
52
|
+
}
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.ActiveRevision$inboundSchema = (0, smart_union_js_1.smartUnion)([types.string(), types.number()]);
|
|
55
|
+
function activeRevisionFromJSON(jsonString) {
|
|
56
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActiveRevision$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActiveRevision' from JSON`);
|
|
57
|
+
}
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.Generation$inboundSchema = (0, smart_union_js_1.smartUnion)([types.string(), types.number()]);
|
|
60
|
+
function generationFromJSON(jsonString) {
|
|
61
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Generation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Generation' from JSON`);
|
|
62
|
+
}
|
|
63
|
+
/** @internal */
|
|
64
|
+
exports.IdAgentIdEnvironment$inboundSchema = z.object({
|
|
65
|
+
id: types.string(),
|
|
66
|
+
agentId: (0, smart_union_js_1.smartUnion)([types.string(), types.number()]),
|
|
67
|
+
environment: types.nullable(types.string()),
|
|
68
|
+
activeRevisionId: types.nullable(types.string()),
|
|
69
|
+
activeRevision: types.nullable((0, smart_union_js_1.smartUnion)([types.string(), types.number()])),
|
|
70
|
+
generation: (0, smart_union_js_1.smartUnion)([types.string(), types.number()]),
|
|
71
|
+
enabled: types.boolean(),
|
|
72
|
+
createdAt: types.string(),
|
|
73
|
+
updatedAt: types.string(),
|
|
74
|
+
});
|
|
75
|
+
function idAgentIdEnvironmentFromJSON(jsonString) {
|
|
76
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IdAgentIdEnvironment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IdAgentIdEnvironment' from JSON`);
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=id-agent-id-environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-agent-id-environment.js","sourceRoot":"","sources":["../../../src/models/id-agent-id-environment.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CH,kFAQC;AAQD,wDAQC;AAMD,gDAQC;AAkBD,oEAQC;AA3GD,+CAAiC;AACjC,kDAA8C;AAE9C,8DAAgD;AAChD,4DAAqD;AAiCrD,gBAAgB;AACH,QAAA,yCAAyC,GAGlD,IAAA,2BAAU,EAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAEjD,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,4BAA4B,GAGrC,IAAA,2BAAU,EAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAEjD,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,wBAAwB,GACnC,IAAA,2BAAU,EAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAE/C,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,IAAA,2BAAU,EAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACrD,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAChD,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAA,2BAAU,EAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAC5E,UAAU,EAAE,IAAA,2BAAU,EAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACxD,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE;IACxB,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|