@alienplatform/manager-api 3.3.1 → 3.3.2
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/.devcontainer/devcontainer.json +45 -0
- package/FUNCTIONS.md +2 -2
- package/README.md +29 -28
- package/esm/funcs/bindingsResolveBinding.d.ts +12 -0
- package/esm/funcs/bindingsResolveBinding.d.ts.map +1 -0
- package/esm/funcs/bindingsResolveBinding.js +76 -0
- package/esm/funcs/bindingsResolveBinding.js.map +1 -0
- package/esm/funcs/commandsCreateCommand.d.ts.map +1 -1
- package/esm/funcs/commandsCreateCommand.js +1 -2
- package/esm/funcs/commandsCreateCommand.js.map +1 -1
- package/esm/funcs/commandsGetCommandPayload.d.ts.map +1 -1
- package/esm/funcs/commandsGetCommandPayload.js +1 -2
- package/esm/funcs/commandsGetCommandPayload.js.map +1 -1
- package/esm/funcs/commandsGetCommandStatus.d.ts.map +1 -1
- package/esm/funcs/commandsGetCommandStatus.js +1 -2
- package/esm/funcs/commandsGetCommandStatus.js.map +1 -1
- package/esm/funcs/commandsStoreCommandPayload.d.ts.map +1 -1
- package/esm/funcs/commandsStoreCommandPayload.js +1 -2
- package/esm/funcs/commandsStoreCommandPayload.js.map +1 -1
- package/esm/funcs/commandsSubmitResponse.d.ts.map +1 -1
- package/esm/funcs/commandsSubmitResponse.js +1 -2
- package/esm/funcs/commandsSubmitResponse.js.map +1 -1
- package/esm/funcs/commandsUploadComplete.d.ts.map +1 -1
- package/esm/funcs/commandsUploadComplete.js +1 -2
- package/esm/funcs/commandsUploadComplete.js.map +1 -1
- package/esm/funcs/credentialsMintCredentials.d.ts.map +1 -1
- package/esm/funcs/credentialsMintCredentials.js +1 -2
- package/esm/funcs/credentialsMintCredentials.js.map +1 -1
- package/esm/funcs/deploymentGroupsCreateDeploymentGroup.d.ts.map +1 -1
- package/esm/funcs/deploymentGroupsCreateDeploymentGroup.js +1 -2
- package/esm/funcs/deploymentGroupsCreateDeploymentGroup.js.map +1 -1
- package/esm/funcs/deploymentGroupsCreateDeploymentGroupToken.d.ts.map +1 -1
- package/esm/funcs/deploymentGroupsCreateDeploymentGroupToken.js +1 -2
- package/esm/funcs/deploymentGroupsCreateDeploymentGroupToken.js.map +1 -1
- package/esm/funcs/deploymentGroupsGetDeploymentGroup.d.ts.map +1 -1
- package/esm/funcs/deploymentGroupsGetDeploymentGroup.js +1 -2
- package/esm/funcs/deploymentGroupsGetDeploymentGroup.js.map +1 -1
- package/esm/funcs/deploymentGroupsListDeploymentGroups.d.ts.map +1 -1
- package/esm/funcs/deploymentGroupsListDeploymentGroups.js +1 -2
- package/esm/funcs/deploymentGroupsListDeploymentGroups.js.map +1 -1
- package/esm/funcs/deploymentsCreateDeployment.d.ts.map +1 -1
- package/esm/funcs/deploymentsCreateDeployment.js +1 -2
- package/esm/funcs/deploymentsCreateDeployment.js.map +1 -1
- package/esm/funcs/deploymentsDeleteDeployment.d.ts.map +1 -1
- package/esm/funcs/deploymentsDeleteDeployment.js +1 -2
- package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployment.d.ts.map +1 -1
- package/esm/funcs/deploymentsGetDeployment.js +1 -2
- package/esm/funcs/deploymentsGetDeployment.js.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentInfo.d.ts.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentInfo.js +1 -2
- package/esm/funcs/deploymentsGetDeploymentInfo.js.map +1 -1
- package/esm/funcs/deploymentsListDeployments.d.ts.map +1 -1
- package/esm/funcs/deploymentsListDeployments.js +1 -2
- package/esm/funcs/deploymentsListDeployments.js.map +1 -1
- package/esm/funcs/deploymentsRedeploy.d.ts.map +1 -1
- package/esm/funcs/deploymentsRedeploy.js +1 -2
- package/esm/funcs/deploymentsRedeploy.js.map +1 -1
- package/esm/funcs/deploymentsRetryDeployment.d.ts.map +1 -1
- package/esm/funcs/deploymentsRetryDeployment.js +1 -2
- package/esm/funcs/deploymentsRetryDeployment.js.map +1 -1
- package/esm/funcs/healthHealth.d.ts.map +1 -1
- package/esm/funcs/healthHealth.js +1 -2
- package/esm/funcs/healthHealth.js.map +1 -1
- package/esm/funcs/leasesAcquireLeases.d.ts.map +1 -1
- package/esm/funcs/leasesAcquireLeases.js +1 -2
- package/esm/funcs/leasesAcquireLeases.js.map +1 -1
- package/esm/funcs/leasesReleaseLease.d.ts.map +1 -1
- package/esm/funcs/leasesReleaseLease.js +1 -2
- package/esm/funcs/leasesReleaseLease.js.map +1 -1
- package/esm/funcs/releasesCreateRelease.d.ts.map +1 -1
- package/esm/funcs/releasesCreateRelease.js +1 -2
- package/esm/funcs/releasesCreateRelease.js.map +1 -1
- package/esm/funcs/releasesGetLatestRelease.d.ts.map +1 -1
- package/esm/funcs/releasesGetLatestRelease.js +1 -2
- package/esm/funcs/releasesGetLatestRelease.js.map +1 -1
- package/esm/funcs/releasesGetRelease.d.ts.map +1 -1
- package/esm/funcs/releasesGetRelease.js +1 -2
- package/esm/funcs/releasesGetRelease.js.map +1 -1
- package/esm/funcs/releasesListReleases.d.ts.map +1 -1
- package/esm/funcs/releasesListReleases.js +1 -2
- package/esm/funcs/releasesListReleases.js.map +1 -1
- package/esm/funcs/stackImportStackImport.d.ts.map +1 -1
- package/esm/funcs/stackImportStackImport.js +1 -2
- package/esm/funcs/stackImportStackImport.js.map +1 -1
- package/esm/funcs/syncAcquire.d.ts.map +1 -1
- package/esm/funcs/syncAcquire.js +1 -2
- package/esm/funcs/syncAcquire.js.map +1 -1
- package/esm/funcs/syncAgentSync.d.ts.map +1 -1
- package/esm/funcs/syncAgentSync.js +1 -2
- package/esm/funcs/syncAgentSync.js.map +1 -1
- package/esm/funcs/syncInitialize.d.ts.map +1 -1
- package/esm/funcs/syncInitialize.js +1 -2
- package/esm/funcs/syncInitialize.js.map +1 -1
- package/esm/funcs/syncReconcile.d.ts.map +1 -1
- package/esm/funcs/syncReconcile.js +1 -2
- package/esm/funcs/syncReconcile.js.map +1 -1
- package/esm/funcs/syncRelease.d.ts.map +1 -1
- package/esm/funcs/syncRelease.js +1 -2
- package/esm/funcs/syncRelease.js.map +1 -1
- package/esm/funcs/{credentialsResolveCredentials.d.ts → syncRenew.d.ts} +5 -2
- package/esm/funcs/syncRenew.d.ts.map +1 -0
- package/esm/funcs/{credentialsResolveCredentials.js → syncRenew.js} +12 -9
- package/esm/funcs/syncRenew.js.map +1 -0
- package/esm/funcs/whoamiWhoami.d.ts.map +1 -1
- package/esm/funcs/whoamiWhoami.js +1 -2
- package/esm/funcs/whoamiWhoami.js.map +1 -1
- package/esm/hooks/types.d.ts +0 -1
- package/esm/hooks/types.d.ts.map +1 -1
- package/esm/lib/config.d.ts +11 -3
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +16 -6
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/dlv.d.ts +14 -0
- package/esm/lib/dlv.d.ts.map +1 -0
- package/esm/lib/dlv.js +46 -0
- package/esm/lib/dlv.js.map +1 -0
- package/esm/lib/encodings.d.ts +0 -1
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +6 -27
- package/esm/lib/encodings.js.map +1 -1
- package/esm/lib/env.d.ts.map +1 -1
- package/esm/lib/env.js +3 -3
- package/esm/lib/env.js.map +1 -1
- package/esm/lib/files.d.ts +0 -13
- package/esm/lib/files.d.ts.map +1 -1
- package/esm/lib/files.js +0 -18
- package/esm/lib/files.js.map +1 -1
- package/esm/lib/http.d.ts +1 -1
- package/esm/lib/http.d.ts.map +1 -1
- package/esm/lib/http.js +1 -1
- package/esm/lib/http.js.map +1 -1
- package/esm/lib/is-plain-object.d.ts +2 -0
- package/esm/lib/is-plain-object.d.ts.map +1 -0
- package/esm/lib/is-plain-object.js +38 -0
- package/esm/lib/is-plain-object.js.map +1 -0
- package/esm/lib/matchers.d.ts.map +1 -1
- package/esm/lib/matchers.js +2 -1
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/primitives.d.ts +0 -1
- package/esm/lib/primitives.d.ts.map +1 -1
- package/esm/lib/primitives.js +0 -17
- package/esm/lib/primitives.js.map +1 -1
- package/esm/lib/retries.js +0 -7
- package/esm/lib/retries.js.map +1 -1
- package/esm/lib/sdks.d.ts +1 -1
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +26 -62
- package/esm/lib/sdks.js.map +1 -1
- package/esm/lib/security.d.ts +5 -6
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +15 -24
- package/esm/lib/security.js.map +1 -1
- package/esm/lib/url.d.ts.map +1 -1
- package/esm/lib/url.js +2 -4
- package/esm/lib/url.js.map +1 -1
- package/esm/models/aiheartbeatdata.d.ts +79 -0
- package/esm/models/aiheartbeatdata.d.ts.map +1 -0
- package/esm/models/aiheartbeatdata.js +56 -0
- package/esm/models/aiheartbeatdata.js.map +1 -0
- package/esm/models/aiheartbeatstatus.d.ts +25 -0
- package/esm/models/aiheartbeatstatus.d.ts.map +1 -0
- package/esm/models/aiheartbeatstatus.js +20 -0
- package/esm/models/aiheartbeatstatus.js.map +1 -0
- package/esm/models/computepoolselection.d.ts +5 -0
- package/esm/models/computepoolselection.d.ts.map +1 -1
- package/esm/models/computepoolselection.js +22 -0
- package/esm/models/computepoolselection.js.map +1 -1
- package/esm/models/errors/alienerror.d.ts +173 -0
- package/esm/models/errors/alienerror.d.ts.map +1 -0
- package/esm/models/errors/alienerror.js +59 -0
- package/esm/models/errors/alienerror.js.map +1 -0
- package/esm/models/errors/index.d.ts +1 -0
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +1 -0
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/exposeprotocol.d.ts +16 -0
- package/esm/models/exposeprotocol.d.ts.map +1 -0
- package/esm/models/exposeprotocol.js +15 -0
- package/esm/models/exposeprotocol.js.map +1 -0
- package/esm/models/failuredomainselection.d.ts +31 -0
- package/esm/models/failuredomainselection.d.ts.map +1 -0
- package/esm/models/failuredomainselection.js +22 -0
- package/esm/models/failuredomainselection.js.map +1 -0
- package/esm/models/index.d.ts +18 -2
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +18 -2
- package/esm/models/index.js.map +1 -1
- package/esm/models/loadbalancerendpoint.d.ts +23 -0
- package/esm/models/loadbalancerendpoint.d.ts.map +1 -0
- package/esm/models/loadbalancerendpoint.js +14 -0
- package/esm/models/loadbalancerendpoint.js.map +1 -0
- package/esm/models/publicendpointoutput.d.ts +35 -0
- package/esm/models/publicendpointoutput.d.ts.map +1 -0
- package/esm/models/publicendpointoutput.js +21 -0
- package/esm/models/publicendpointoutput.js.map +1 -0
- package/esm/models/remoteawsclientconfig.d.ts +28 -0
- package/esm/models/remoteawsclientconfig.d.ts.map +1 -0
- package/esm/models/remoteawsclientconfig.js +16 -0
- package/esm/models/remoteawsclientconfig.js.map +1 -0
- package/esm/models/remoteawscredentials.d.ts +43 -0
- package/esm/models/remoteawscredentials.d.ts.map +1 -0
- package/esm/models/remoteawscredentials.js +27 -0
- package/esm/models/remoteawscredentials.js.map +1 -0
- package/esm/models/remoteazureclientconfig.d.ts +32 -0
- package/esm/models/remoteazureclientconfig.d.ts.map +1 -0
- package/esm/models/remoteazureclientconfig.js +17 -0
- package/esm/models/remoteazureclientconfig.js.map +1 -0
- package/esm/models/remoteazurecredentials.d.ts +28 -0
- package/esm/models/remoteazurecredentials.d.ts.map +1 -0
- package/esm/models/remoteazurecredentials.js +24 -0
- package/esm/models/remoteazurecredentials.js.map +1 -0
- package/esm/models/remoteblobstoragebinding.d.ts +20 -0
- package/esm/models/remoteblobstoragebinding.d.ts.map +1 -0
- package/esm/models/remoteblobstoragebinding.js +14 -0
- package/esm/models/remoteblobstoragebinding.js.map +1 -0
- package/esm/models/remotegcpclientconfig.d.ts +32 -0
- package/esm/models/remotegcpclientconfig.d.ts.map +1 -0
- package/esm/models/remotegcpclientconfig.js +17 -0
- package/esm/models/remotegcpclientconfig.js.map +1 -0
- package/esm/models/remotegcpcredentials.d.ts +31 -0
- package/esm/models/remotegcpcredentials.d.ts.map +1 -0
- package/esm/models/remotegcpcredentials.js +24 -0
- package/esm/models/remotegcpcredentials.js.map +1 -0
- package/esm/models/remotegcsstoragebinding.d.ts +16 -0
- package/esm/models/remotegcsstoragebinding.d.ts.map +1 -0
- package/esm/models/remotegcsstoragebinding.js +13 -0
- package/esm/models/remotegcsstoragebinding.js.map +1 -0
- package/esm/models/remotes3storagebinding.d.ts +16 -0
- package/esm/models/remotes3storagebinding.d.ts.map +1 -0
- package/esm/models/remotes3storagebinding.js +13 -0
- package/esm/models/remotes3storagebinding.js.map +1 -0
- package/esm/models/renewrequest.d.ts +14 -0
- package/esm/models/renewrequest.d.ts.map +1 -0
- package/esm/models/renewrequest.js +13 -0
- package/esm/models/renewrequest.js.map +1 -0
- package/esm/models/resolvebindingrequest.d.ts +23 -0
- package/esm/models/resolvebindingrequest.d.ts.map +1 -0
- package/esm/models/resolvebindingrequest.js +13 -0
- package/esm/models/resolvebindingrequest.js.map +1 -0
- package/esm/models/resolvebindingresponse.d.ts +83 -0
- package/esm/models/resolvebindingresponse.d.ts.map +1 -0
- package/esm/models/resolvebindingresponse.js +51 -0
- package/esm/models/resolvebindingresponse.js.map +1 -0
- package/esm/models/resourceentry.d.ts +4 -0
- package/esm/models/resourceentry.d.ts.map +1 -1
- package/esm/models/resourceentry.js +3 -0
- package/esm/models/resourceentry.js.map +1 -1
- package/esm/models/resourceheartbeatdata.d.ts +15 -2
- package/esm/models/resourceheartbeatdata.d.ts.map +1 -1
- package/esm/models/resourceheartbeatdata.js +10 -0
- package/esm/models/resourceheartbeatdata.js.map +1 -1
- package/esm/sdk/bindings.d.ts +6 -0
- package/esm/sdk/bindings.d.ts.map +1 -0
- package/esm/sdk/bindings.js +12 -0
- package/esm/sdk/bindings.js.map +1 -0
- package/esm/sdk/credentials.d.ts +0 -1
- package/esm/sdk/credentials.d.ts.map +1 -1
- package/esm/sdk/credentials.js +0 -4
- package/esm/sdk/credentials.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/sync.d.ts +4 -0
- package/esm/sdk/sync.d.ts.map +1 -1
- package/esm/sdk/sync.js +7 -0
- package/esm/sdk/sync.js.map +1 -1
- package/esm/types/async.d.ts.map +1 -1
- package/esm/types/async.js +7 -8
- package/esm/types/async.js.map +1 -1
- package/examples/package.json +18 -0
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/bindingsResolveBinding.ts +163 -0
- package/src/funcs/commandsCreateCommand.ts +1 -3
- package/src/funcs/commandsGetCommandPayload.ts +2 -3
- package/src/funcs/commandsGetCommandStatus.ts +2 -3
- package/src/funcs/commandsStoreCommandPayload.ts +2 -3
- package/src/funcs/commandsSubmitResponse.ts +2 -3
- package/src/funcs/commandsUploadComplete.ts +2 -3
- package/src/funcs/credentialsMintCredentials.ts +1 -3
- package/src/funcs/deploymentGroupsCreateDeploymentGroup.ts +1 -3
- package/src/funcs/deploymentGroupsCreateDeploymentGroupToken.ts +2 -3
- package/src/funcs/deploymentGroupsGetDeploymentGroup.ts +2 -3
- package/src/funcs/deploymentGroupsListDeploymentGroups.ts +1 -3
- package/src/funcs/deploymentsCreateDeployment.ts +1 -3
- package/src/funcs/deploymentsDeleteDeployment.ts +2 -3
- package/src/funcs/deploymentsGetDeployment.ts +2 -3
- package/src/funcs/deploymentsGetDeploymentInfo.ts +2 -3
- package/src/funcs/deploymentsListDeployments.ts +1 -3
- package/src/funcs/deploymentsRedeploy.ts +2 -3
- package/src/funcs/deploymentsRetryDeployment.ts +2 -3
- package/src/funcs/healthHealth.ts +1 -3
- package/src/funcs/leasesAcquireLeases.ts +1 -3
- package/src/funcs/leasesReleaseLease.ts +2 -3
- package/src/funcs/releasesCreateRelease.ts +1 -3
- package/src/funcs/releasesGetLatestRelease.ts +1 -3
- package/src/funcs/releasesGetRelease.ts +2 -3
- package/src/funcs/releasesListReleases.ts +1 -3
- package/src/funcs/stackImportStackImport.ts +1 -3
- package/src/funcs/syncAcquire.ts +1 -3
- package/src/funcs/syncAgentSync.ts +1 -3
- package/src/funcs/syncInitialize.ts +1 -3
- package/src/funcs/syncReconcile.ts +1 -3
- package/src/funcs/syncRelease.ts +1 -3
- package/src/funcs/{credentialsResolveCredentials.ts → syncRenew.ts} +16 -14
- package/src/funcs/whoamiWhoami.ts +1 -3
- package/src/hooks/types.ts +0 -1
- package/src/lib/config.ts +23 -8
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +5 -33
- package/src/lib/env.ts +3 -7
- package/src/lib/files.ts +0 -22
- package/src/lib/http.ts +1 -3
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/matchers.ts +3 -4
- package/src/lib/primitives.ts +0 -16
- package/src/lib/retries.ts +0 -8
- package/src/lib/sdks.ts +30 -66
- package/src/lib/security.ts +10 -26
- package/src/lib/url.ts +14 -16
- package/src/models/aiheartbeatdata.ts +184 -0
- package/src/models/aiheartbeatstatus.ts +58 -0
- package/src/models/computepoolselection.ts +31 -0
- package/src/models/errors/alienerror.ts +213 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/exposeprotocol.ts +22 -0
- package/src/models/failuredomainselection.ts +65 -0
- package/src/models/index.ts +18 -2
- package/src/models/loadbalancerendpoint.ts +44 -0
- package/src/models/publicendpointoutput.ts +67 -0
- package/src/models/remoteawsclientconfig.ts +53 -0
- package/src/models/remoteawscredentials.ts +88 -0
- package/src/models/remoteazureclientconfig.ts +58 -0
- package/src/models/remoteazurecredentials.ts +69 -0
- package/src/models/remoteblobstoragebinding.ts +41 -0
- package/src/models/remotegcpclientconfig.ts +58 -0
- package/src/models/remotegcpcredentials.ts +72 -0
- package/src/models/remotegcsstoragebinding.ts +36 -0
- package/src/models/remotes3storagebinding.ts +36 -0
- package/src/models/renewrequest.ts +29 -0
- package/src/models/resolvebindingrequest.ts +42 -0
- package/src/models/resolvebindingresponse.ts +183 -0
- package/src/models/resourceentry.ts +7 -0
- package/src/models/resourceheartbeatdata.ts +38 -2
- package/src/sdk/bindings.ts +21 -0
- package/src/sdk/credentials.ts +0 -12
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/sync.ts +15 -0
- package/src/types/async.ts +7 -8
- package/tsconfig.json +40 -0
- package/esm/funcs/credentialsResolveCredentials.d.ts.map +0 -1
- package/esm/funcs/credentialsResolveCredentials.js.map +0 -1
- package/esm/models/resolvecredentialsrequest.d.ts +0 -12
- package/esm/models/resolvecredentialsrequest.d.ts.map +0 -1
- package/esm/models/resolvecredentialsrequest.js +0 -12
- package/esm/models/resolvecredentialsrequest.js.map +0 -1
- package/esm/models/resolvecredentialsresponse.d.ts +0 -14
- package/esm/models/resolvecredentialsresponse.d.ts.map +0 -1
- package/esm/models/resolvecredentialsresponse.js +0 -14
- package/esm/models/resolvecredentialsresponse.js.map +0 -1
- package/src/models/resolvecredentialsrequest.ts +0 -30
- package/src/models/resolvecredentialsresponse.ts +0 -37
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { AiHeartbeatStatus, AiHeartbeatStatus$Outbound } from "./aiheartbeatstatus.js";
|
|
3
|
+
export type AiHeartbeatDataExternal = {
|
|
4
|
+
/**
|
|
5
|
+
* The BYO-key provider serving this binding (e.g. "openai"). Used on the Local
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* platform, where the app brings its own provider key instead of an ambient cloud.
|
|
9
|
+
*/
|
|
10
|
+
provider: string;
|
|
11
|
+
status: AiHeartbeatStatus;
|
|
12
|
+
backend: "external";
|
|
13
|
+
};
|
|
14
|
+
export type AiHeartbeatDataAzureFoundry = {
|
|
15
|
+
accountName: string;
|
|
16
|
+
endpoint?: string | null | undefined;
|
|
17
|
+
location?: string | null | undefined;
|
|
18
|
+
resourceGroup?: string | null | undefined;
|
|
19
|
+
status: AiHeartbeatStatus;
|
|
20
|
+
backend: "azureFoundry";
|
|
21
|
+
};
|
|
22
|
+
export type AiHeartbeatDataGcpVertex = {
|
|
23
|
+
location: string;
|
|
24
|
+
project: string;
|
|
25
|
+
status: AiHeartbeatStatus;
|
|
26
|
+
backend: "gcpVertex";
|
|
27
|
+
};
|
|
28
|
+
export type AiHeartbeatDataAwsBedrock = {
|
|
29
|
+
region: string;
|
|
30
|
+
status: AiHeartbeatStatus;
|
|
31
|
+
backend: "awsBedrock";
|
|
32
|
+
};
|
|
33
|
+
export type AiHeartbeatData = AiHeartbeatDataAwsBedrock | AiHeartbeatDataGcpVertex | AiHeartbeatDataAzureFoundry | AiHeartbeatDataExternal;
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type AiHeartbeatDataExternal$Outbound = {
|
|
36
|
+
provider: string;
|
|
37
|
+
status: AiHeartbeatStatus$Outbound;
|
|
38
|
+
backend: "external";
|
|
39
|
+
};
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const AiHeartbeatDataExternal$outboundSchema: z.ZodType<AiHeartbeatDataExternal$Outbound, AiHeartbeatDataExternal>;
|
|
42
|
+
export declare function aiHeartbeatDataExternalToJSON(aiHeartbeatDataExternal: AiHeartbeatDataExternal): string;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type AiHeartbeatDataAzureFoundry$Outbound = {
|
|
45
|
+
accountName: string;
|
|
46
|
+
endpoint?: string | null | undefined;
|
|
47
|
+
location?: string | null | undefined;
|
|
48
|
+
resourceGroup?: string | null | undefined;
|
|
49
|
+
status: AiHeartbeatStatus$Outbound;
|
|
50
|
+
backend: "azureFoundry";
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const AiHeartbeatDataAzureFoundry$outboundSchema: z.ZodType<AiHeartbeatDataAzureFoundry$Outbound, AiHeartbeatDataAzureFoundry>;
|
|
54
|
+
export declare function aiHeartbeatDataAzureFoundryToJSON(aiHeartbeatDataAzureFoundry: AiHeartbeatDataAzureFoundry): string;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type AiHeartbeatDataGcpVertex$Outbound = {
|
|
57
|
+
location: string;
|
|
58
|
+
project: string;
|
|
59
|
+
status: AiHeartbeatStatus$Outbound;
|
|
60
|
+
backend: "gcpVertex";
|
|
61
|
+
};
|
|
62
|
+
/** @internal */
|
|
63
|
+
export declare const AiHeartbeatDataGcpVertex$outboundSchema: z.ZodType<AiHeartbeatDataGcpVertex$Outbound, AiHeartbeatDataGcpVertex>;
|
|
64
|
+
export declare function aiHeartbeatDataGcpVertexToJSON(aiHeartbeatDataGcpVertex: AiHeartbeatDataGcpVertex): string;
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type AiHeartbeatDataAwsBedrock$Outbound = {
|
|
67
|
+
region: string;
|
|
68
|
+
status: AiHeartbeatStatus$Outbound;
|
|
69
|
+
backend: "awsBedrock";
|
|
70
|
+
};
|
|
71
|
+
/** @internal */
|
|
72
|
+
export declare const AiHeartbeatDataAwsBedrock$outboundSchema: z.ZodType<AiHeartbeatDataAwsBedrock$Outbound, AiHeartbeatDataAwsBedrock>;
|
|
73
|
+
export declare function aiHeartbeatDataAwsBedrockToJSON(aiHeartbeatDataAwsBedrock: AiHeartbeatDataAwsBedrock): string;
|
|
74
|
+
/** @internal */
|
|
75
|
+
export type AiHeartbeatData$Outbound = AiHeartbeatDataAwsBedrock$Outbound | AiHeartbeatDataGcpVertex$Outbound | AiHeartbeatDataAzureFoundry$Outbound | AiHeartbeatDataExternal$Outbound;
|
|
76
|
+
/** @internal */
|
|
77
|
+
export declare const AiHeartbeatData$outboundSchema: z.ZodType<AiHeartbeatData$Outbound, AiHeartbeatData>;
|
|
78
|
+
export declare function aiHeartbeatDataToJSON(aiHeartbeatData: AiHeartbeatData): string;
|
|
79
|
+
//# sourceMappingURL=aiheartbeatdata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiheartbeatdata.d.ts","sourceRoot":"","sources":["../../src/models/aiheartbeatdata.ts"],"names":[],"mappings":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wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,wBAAwB,GAChC,kCAAkC,GAClC,iCAAiC,GACjC,oCAAoC,GACpC,gCAAgC,CAAC;AAErC,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,wBAAwB,EACxB,eAAe,CAMf,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { AiHeartbeatStatus$outboundSchema, } from "./aiheartbeatstatus.js";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const AiHeartbeatDataExternal$outboundSchema = z.object({
|
|
8
|
+
provider: z.string(),
|
|
9
|
+
status: AiHeartbeatStatus$outboundSchema,
|
|
10
|
+
backend: z.literal("external"),
|
|
11
|
+
});
|
|
12
|
+
export function aiHeartbeatDataExternalToJSON(aiHeartbeatDataExternal) {
|
|
13
|
+
return JSON.stringify(AiHeartbeatDataExternal$outboundSchema.parse(aiHeartbeatDataExternal));
|
|
14
|
+
}
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const AiHeartbeatDataAzureFoundry$outboundSchema = z.object({
|
|
17
|
+
accountName: z.string(),
|
|
18
|
+
endpoint: z.nullable(z.string()).optional(),
|
|
19
|
+
location: z.nullable(z.string()).optional(),
|
|
20
|
+
resourceGroup: z.nullable(z.string()).optional(),
|
|
21
|
+
status: AiHeartbeatStatus$outboundSchema,
|
|
22
|
+
backend: z.literal("azureFoundry"),
|
|
23
|
+
});
|
|
24
|
+
export function aiHeartbeatDataAzureFoundryToJSON(aiHeartbeatDataAzureFoundry) {
|
|
25
|
+
return JSON.stringify(AiHeartbeatDataAzureFoundry$outboundSchema.parse(aiHeartbeatDataAzureFoundry));
|
|
26
|
+
}
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const AiHeartbeatDataGcpVertex$outboundSchema = z.object({
|
|
29
|
+
location: z.string(),
|
|
30
|
+
project: z.string(),
|
|
31
|
+
status: AiHeartbeatStatus$outboundSchema,
|
|
32
|
+
backend: z.literal("gcpVertex"),
|
|
33
|
+
});
|
|
34
|
+
export function aiHeartbeatDataGcpVertexToJSON(aiHeartbeatDataGcpVertex) {
|
|
35
|
+
return JSON.stringify(AiHeartbeatDataGcpVertex$outboundSchema.parse(aiHeartbeatDataGcpVertex));
|
|
36
|
+
}
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const AiHeartbeatDataAwsBedrock$outboundSchema = z.object({
|
|
39
|
+
region: z.string(),
|
|
40
|
+
status: AiHeartbeatStatus$outboundSchema,
|
|
41
|
+
backend: z.literal("awsBedrock"),
|
|
42
|
+
});
|
|
43
|
+
export function aiHeartbeatDataAwsBedrockToJSON(aiHeartbeatDataAwsBedrock) {
|
|
44
|
+
return JSON.stringify(AiHeartbeatDataAwsBedrock$outboundSchema.parse(aiHeartbeatDataAwsBedrock));
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const AiHeartbeatData$outboundSchema = z.union([
|
|
48
|
+
z.lazy(() => AiHeartbeatDataAwsBedrock$outboundSchema),
|
|
49
|
+
z.lazy(() => AiHeartbeatDataGcpVertex$outboundSchema),
|
|
50
|
+
z.lazy(() => AiHeartbeatDataAzureFoundry$outboundSchema),
|
|
51
|
+
z.lazy(() => AiHeartbeatDataExternal$outboundSchema),
|
|
52
|
+
]);
|
|
53
|
+
export function aiHeartbeatDataToJSON(aiHeartbeatData) {
|
|
54
|
+
return JSON.stringify(AiHeartbeatData$outboundSchema.parse(aiHeartbeatData));
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=aiheartbeatdata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
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@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { HeartbeatCollectionIssue, HeartbeatCollectionIssue$Outbound } from "./heartbeatcollectionissue.js";
|
|
3
|
+
import { ObservedHealth } from "./observedhealth.js";
|
|
4
|
+
import { ProviderLifecycleState } from "./providerlifecyclestate.js";
|
|
5
|
+
export type AiHeartbeatStatus = {
|
|
6
|
+
collectionIssues: Array<HeartbeatCollectionIssue>;
|
|
7
|
+
health: ObservedHealth;
|
|
8
|
+
lifecycle: ProviderLifecycleState;
|
|
9
|
+
message?: string | null | undefined;
|
|
10
|
+
partial: boolean;
|
|
11
|
+
stale: boolean;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type AiHeartbeatStatus$Outbound = {
|
|
15
|
+
collectionIssues: Array<HeartbeatCollectionIssue$Outbound>;
|
|
16
|
+
health: string;
|
|
17
|
+
lifecycle: string;
|
|
18
|
+
message?: string | null | undefined;
|
|
19
|
+
partial: boolean;
|
|
20
|
+
stale: boolean;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const AiHeartbeatStatus$outboundSchema: z.ZodType<AiHeartbeatStatus$Outbound, AiHeartbeatStatus>;
|
|
24
|
+
export declare function aiHeartbeatStatusToJSON(aiHeartbeatStatus: AiHeartbeatStatus): string;
|
|
25
|
+
//# sourceMappingURL=aiheartbeatstatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiheartbeatstatus.d.ts","sourceRoot":"","sources":["../../src/models/aiheartbeatstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,wBAAwB,EACxB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAClD,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE,sBAAsB,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,gBAAgB,EAAE,KAAK,CAAC,iCAAiC,CAAC,CAAC;IAC3D,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,iBAAiB,CAQjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { HeartbeatCollectionIssue$outboundSchema, } from "./heartbeatcollectionissue.js";
|
|
6
|
+
import { ObservedHealth$outboundSchema, } from "./observedhealth.js";
|
|
7
|
+
import { ProviderLifecycleState$outboundSchema, } from "./providerlifecyclestate.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const AiHeartbeatStatus$outboundSchema = z.object({
|
|
10
|
+
collectionIssues: z.array(HeartbeatCollectionIssue$outboundSchema),
|
|
11
|
+
health: ObservedHealth$outboundSchema,
|
|
12
|
+
lifecycle: ProviderLifecycleState$outboundSchema,
|
|
13
|
+
message: z.nullable(z.string()).optional(),
|
|
14
|
+
partial: z.boolean(),
|
|
15
|
+
stale: z.boolean(),
|
|
16
|
+
});
|
|
17
|
+
export function aiHeartbeatStatusToJSON(aiHeartbeatStatus) {
|
|
18
|
+
return JSON.stringify(AiHeartbeatStatus$outboundSchema.parse(aiHeartbeatStatus));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=aiheartbeatstatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiheartbeatstatus.js","sourceRoot":"","sources":["../../src/models/aiheartbeatstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAGL,uCAAuC,GACxC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,qCAAqC,GACtC,MAAM,6BAA6B,CAAC;AAqBrC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,uCAAuC,CAAC;IAClE,MAAM,EAAE,6BAA6B;IACrC,SAAS,EAAE,qCAAqC;IAChD,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;CACnB,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
+
import { FailureDomainSelection, FailureDomainSelection$Outbound } from "./failuredomainselection.js";
|
|
4
5
|
/**
|
|
5
6
|
* Autoscaling machine pool.
|
|
6
7
|
*/
|
|
7
8
|
export type ComputePoolSelectionAutoscale = {
|
|
9
|
+
failureDomains?: FailureDomainSelection | null | undefined;
|
|
8
10
|
/**
|
|
9
11
|
* Provider machine type selected for this deployment.
|
|
10
12
|
*/
|
|
@@ -23,6 +25,7 @@ export type ComputePoolSelectionAutoscale = {
|
|
|
23
25
|
* Fixed number of machines.
|
|
24
26
|
*/
|
|
25
27
|
export type ComputePoolSelectionFixed = {
|
|
28
|
+
failureDomains?: FailureDomainSelection | null | undefined;
|
|
26
29
|
/**
|
|
27
30
|
* Provider machine type selected for this deployment.
|
|
28
31
|
*/
|
|
@@ -41,6 +44,7 @@ export type ComputePoolSelection = ComputePoolSelectionFixed | ComputePoolSelect
|
|
|
41
44
|
export declare const ComputePoolSelectionAutoscale$inboundSchema: z.ZodType<ComputePoolSelectionAutoscale, unknown>;
|
|
42
45
|
/** @internal */
|
|
43
46
|
export type ComputePoolSelectionAutoscale$Outbound = {
|
|
47
|
+
failure_domains?: FailureDomainSelection$Outbound | null | undefined;
|
|
44
48
|
machine?: string | null | undefined;
|
|
45
49
|
max: number;
|
|
46
50
|
min: number;
|
|
@@ -54,6 +58,7 @@ export declare function computePoolSelectionAutoscaleFromJSON(jsonString: string
|
|
|
54
58
|
export declare const ComputePoolSelectionFixed$inboundSchema: z.ZodType<ComputePoolSelectionFixed, unknown>;
|
|
55
59
|
/** @internal */
|
|
56
60
|
export type ComputePoolSelectionFixed$Outbound = {
|
|
61
|
+
failure_domains?: FailureDomainSelection$Outbound | null | undefined;
|
|
57
62
|
machine?: string | null | undefined;
|
|
58
63
|
machines: number;
|
|
59
64
|
mode: "fixed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computepoolselection.d.ts","sourceRoot":"","sources":["../../src/models/computepoolselection.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"computepoolselection.d.ts","sourceRoot":"","sources":["../../src/models/computepoolselection.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,cAAc,CAAC,EAAE,sBAAsB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,cAAc,CAAC,EAAE,sBAAsB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,yBAAyB,GACzB,6BAA6B,CAAC;AAElC,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,OAAO,CAWP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,eAAe,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AAChB,MAAM,MAAM,6BAA6B,GACrC,kCAAkC,GAClC,sCAAsC,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,oBAAoB,CAIpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AACD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -2,20 +2,32 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4";
|
|
5
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
5
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { FailureDomainSelection$inboundSchema, FailureDomainSelection$outboundSchema, } from "./failuredomainselection.js";
|
|
6
8
|
/** @internal */
|
|
7
9
|
export const ComputePoolSelectionAutoscale$inboundSchema = z.object({
|
|
10
|
+
failure_domains: z.nullable(FailureDomainSelection$inboundSchema).optional(),
|
|
8
11
|
machine: z.nullable(z.string()).optional(),
|
|
9
12
|
max: z.int(),
|
|
10
13
|
min: z.int(),
|
|
11
14
|
mode: z.literal("autoscale"),
|
|
15
|
+
}).transform((v) => {
|
|
16
|
+
return remap$(v, {
|
|
17
|
+
"failure_domains": "failureDomains",
|
|
18
|
+
});
|
|
12
19
|
});
|
|
13
20
|
/** @internal */
|
|
14
21
|
export const ComputePoolSelectionAutoscale$outboundSchema = z.object({
|
|
22
|
+
failureDomains: z.nullable(FailureDomainSelection$outboundSchema).optional(),
|
|
15
23
|
machine: z.nullable(z.string()).optional(),
|
|
16
24
|
max: z.int(),
|
|
17
25
|
min: z.int(),
|
|
18
26
|
mode: z.literal("autoscale"),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
failureDomains: "failure_domains",
|
|
30
|
+
});
|
|
19
31
|
});
|
|
20
32
|
export function computePoolSelectionAutoscaleToJSON(computePoolSelectionAutoscale) {
|
|
21
33
|
return JSON.stringify(ComputePoolSelectionAutoscale$outboundSchema.parse(computePoolSelectionAutoscale));
|
|
@@ -25,15 +37,25 @@ export function computePoolSelectionAutoscaleFromJSON(jsonString) {
|
|
|
25
37
|
}
|
|
26
38
|
/** @internal */
|
|
27
39
|
export const ComputePoolSelectionFixed$inboundSchema = z.object({
|
|
40
|
+
failure_domains: z.nullable(FailureDomainSelection$inboundSchema).optional(),
|
|
28
41
|
machine: z.nullable(z.string()).optional(),
|
|
29
42
|
machines: z.int(),
|
|
30
43
|
mode: z.literal("fixed"),
|
|
44
|
+
}).transform((v) => {
|
|
45
|
+
return remap$(v, {
|
|
46
|
+
"failure_domains": "failureDomains",
|
|
47
|
+
});
|
|
31
48
|
});
|
|
32
49
|
/** @internal */
|
|
33
50
|
export const ComputePoolSelectionFixed$outboundSchema = z.object({
|
|
51
|
+
failureDomains: z.nullable(FailureDomainSelection$outboundSchema).optional(),
|
|
34
52
|
machine: z.nullable(z.string()).optional(),
|
|
35
53
|
machines: z.int(),
|
|
36
54
|
mode: z.literal("fixed"),
|
|
55
|
+
}).transform((v) => {
|
|
56
|
+
return remap$(v, {
|
|
57
|
+
failureDomains: "failure_domains",
|
|
58
|
+
});
|
|
37
59
|
});
|
|
38
60
|
export function computePoolSelectionFixedToJSON(computePoolSelectionFixed) {
|
|
39
61
|
return JSON.stringify(ComputePoolSelectionFixed$outboundSchema.parse(computePoolSelectionFixed));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computepoolselection.js","sourceRoot":"","sources":["../../src/models/computepoolselection.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3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CAAC;AACD,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { AlienManagerError } from "./alienmanagererror.js";
|
|
3
|
+
/**
|
|
4
|
+
* Canonical error container that provides a structured way to represent errors
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* with rich metadata including error codes, human-readable messages, context,
|
|
8
|
+
* and chaining capabilities for error propagation.
|
|
9
|
+
*
|
|
10
|
+
* This struct is designed to be both machine-readable and user-friendly,
|
|
11
|
+
* supporting serialization for API responses and detailed error reporting
|
|
12
|
+
* in distributed systems.
|
|
13
|
+
*/
|
|
14
|
+
export type AlienErrorData = {
|
|
15
|
+
/**
|
|
16
|
+
* A unique identifier for the type of error.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
*
|
|
20
|
+
* This should be a short, machine-readable string that can be used
|
|
21
|
+
* by clients to programmatically handle different error types.
|
|
22
|
+
* Examples: "NOT_FOUND", "VALIDATION_ERROR", "TIMEOUT"
|
|
23
|
+
*/
|
|
24
|
+
code: string;
|
|
25
|
+
/**
|
|
26
|
+
* Additional diagnostic information about the error context.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
*
|
|
30
|
+
* This optional field can contain structured data providing more details
|
|
31
|
+
* about the error, such as validation errors, request parameters that
|
|
32
|
+
* caused the issue, or other relevant context information.
|
|
33
|
+
*/
|
|
34
|
+
context?: any | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Optional human-facing remediation hint.
|
|
37
|
+
*/
|
|
38
|
+
hint?: string | null | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* HTTP status code for this error.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
*
|
|
44
|
+
* Used when converting the error to an HTTP response. If None, falls back to
|
|
45
|
+
* the error type's default status code or 500.
|
|
46
|
+
*/
|
|
47
|
+
httpStatusCode?: number | null | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Indicates if this is an internal error that should not be exposed to users.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
*
|
|
53
|
+
* When `true`, this error contains sensitive information or implementation
|
|
54
|
+
* details that should not be shown to end-users. Such errors should be
|
|
55
|
+
* logged for debugging but replaced with generic error messages in responses.
|
|
56
|
+
*/
|
|
57
|
+
internal: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Human-readable error message.
|
|
60
|
+
*
|
|
61
|
+
* @remarks
|
|
62
|
+
*
|
|
63
|
+
* This message should be clear and actionable for developers or end-users,
|
|
64
|
+
* providing context about what went wrong and potentially how to fix it.
|
|
65
|
+
*/
|
|
66
|
+
message: string;
|
|
67
|
+
/**
|
|
68
|
+
* Indicates whether the operation that caused the error should be retried.
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
*
|
|
72
|
+
* When `true`, the error is transient and the operation might succeed
|
|
73
|
+
* if attempted again. When `false`, retrying the same operation is
|
|
74
|
+
* unlikely to succeed without changes.
|
|
75
|
+
*/
|
|
76
|
+
retryable?: boolean | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* The underlying error that caused this error, creating an error chain.
|
|
79
|
+
*
|
|
80
|
+
* @remarks
|
|
81
|
+
*
|
|
82
|
+
* This allows for proper error propagation and debugging by maintaining
|
|
83
|
+
* the full context of how an error occurred through multiple layers
|
|
84
|
+
* of an application.
|
|
85
|
+
*/
|
|
86
|
+
source?: any | undefined;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Canonical error container that provides a structured way to represent errors
|
|
90
|
+
*
|
|
91
|
+
* @remarks
|
|
92
|
+
* with rich metadata including error codes, human-readable messages, context,
|
|
93
|
+
* and chaining capabilities for error propagation.
|
|
94
|
+
*
|
|
95
|
+
* This struct is designed to be both machine-readable and user-friendly,
|
|
96
|
+
* supporting serialization for API responses and detailed error reporting
|
|
97
|
+
* in distributed systems.
|
|
98
|
+
*/
|
|
99
|
+
export declare class AlienError extends AlienManagerError {
|
|
100
|
+
/**
|
|
101
|
+
* A unique identifier for the type of error.
|
|
102
|
+
*
|
|
103
|
+
* @remarks
|
|
104
|
+
*
|
|
105
|
+
* This should be a short, machine-readable string that can be used
|
|
106
|
+
* by clients to programmatically handle different error types.
|
|
107
|
+
* Examples: "NOT_FOUND", "VALIDATION_ERROR", "TIMEOUT"
|
|
108
|
+
*/
|
|
109
|
+
code: string;
|
|
110
|
+
/**
|
|
111
|
+
* Additional diagnostic information about the error context.
|
|
112
|
+
*
|
|
113
|
+
* @remarks
|
|
114
|
+
*
|
|
115
|
+
* This optional field can contain structured data providing more details
|
|
116
|
+
* about the error, such as validation errors, request parameters that
|
|
117
|
+
* caused the issue, or other relevant context information.
|
|
118
|
+
*/
|
|
119
|
+
context?: any | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* Optional human-facing remediation hint.
|
|
122
|
+
*/
|
|
123
|
+
hint?: string | null | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* HTTP status code for this error.
|
|
126
|
+
*
|
|
127
|
+
* @remarks
|
|
128
|
+
*
|
|
129
|
+
* Used when converting the error to an HTTP response. If None, falls back to
|
|
130
|
+
* the error type's default status code or 500.
|
|
131
|
+
*/
|
|
132
|
+
httpStatusCode?: number | null | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* Indicates if this is an internal error that should not be exposed to users.
|
|
135
|
+
*
|
|
136
|
+
* @remarks
|
|
137
|
+
*
|
|
138
|
+
* When `true`, this error contains sensitive information or implementation
|
|
139
|
+
* details that should not be shown to end-users. Such errors should be
|
|
140
|
+
* logged for debugging but replaced with generic error messages in responses.
|
|
141
|
+
*/
|
|
142
|
+
internal: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Indicates whether the operation that caused the error should be retried.
|
|
145
|
+
*
|
|
146
|
+
* @remarks
|
|
147
|
+
*
|
|
148
|
+
* When `true`, the error is transient and the operation might succeed
|
|
149
|
+
* if attempted again. When `false`, retrying the same operation is
|
|
150
|
+
* unlikely to succeed without changes.
|
|
151
|
+
*/
|
|
152
|
+
retryable?: boolean | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* The underlying error that caused this error, creating an error chain.
|
|
155
|
+
*
|
|
156
|
+
* @remarks
|
|
157
|
+
*
|
|
158
|
+
* This allows for proper error propagation and debugging by maintaining
|
|
159
|
+
* the full context of how an error occurred through multiple layers
|
|
160
|
+
* of an application.
|
|
161
|
+
*/
|
|
162
|
+
source?: any | undefined;
|
|
163
|
+
/** The original data that was passed to this error instance. */
|
|
164
|
+
data$: AlienErrorData;
|
|
165
|
+
constructor(err: AlienErrorData, httpMeta: {
|
|
166
|
+
response: Response;
|
|
167
|
+
request: Request;
|
|
168
|
+
body: string;
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/** @internal */
|
|
172
|
+
export declare const AlienError$inboundSchema: z.ZodType<AlienError, unknown>;
|
|
173
|
+
//# sourceMappingURL=alienerror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alienerror.d.ts","sourceRoot":"","sources":["../../../src/models/errors/alienerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;;;;;;;;GAUG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;;;;OAQG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC;;;;;;;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*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { AlienManagerError } from "./alienmanagererror.js";
|
|
6
|
+
/**
|
|
7
|
+
* Canonical error container that provides a structured way to represent errors
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* with rich metadata including error codes, human-readable messages, context,
|
|
11
|
+
* and chaining capabilities for error propagation.
|
|
12
|
+
*
|
|
13
|
+
* This struct is designed to be both machine-readable and user-friendly,
|
|
14
|
+
* supporting serialization for API responses and detailed error reporting
|
|
15
|
+
* in distributed systems.
|
|
16
|
+
*/
|
|
17
|
+
export class AlienError extends AlienManagerError {
|
|
18
|
+
constructor(err, httpMeta) {
|
|
19
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
20
|
+
super(message, httpMeta);
|
|
21
|
+
this.data$ = err;
|
|
22
|
+
this.code = err.code;
|
|
23
|
+
if (err.context != null)
|
|
24
|
+
this.context = err.context;
|
|
25
|
+
if (err.hint != null)
|
|
26
|
+
this.hint = err.hint;
|
|
27
|
+
if (err.httpStatusCode != null)
|
|
28
|
+
this.httpStatusCode = err.httpStatusCode;
|
|
29
|
+
this.internal = err.internal;
|
|
30
|
+
if (err.retryable != null)
|
|
31
|
+
this.retryable = err.retryable;
|
|
32
|
+
if (err.source != null)
|
|
33
|
+
this.source = err.source;
|
|
34
|
+
this.name = "AlienError";
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const AlienError$inboundSchema = z
|
|
39
|
+
.object({
|
|
40
|
+
code: z.string(),
|
|
41
|
+
context: z.any().optional(),
|
|
42
|
+
hint: z.nullable(z.string()).optional(),
|
|
43
|
+
httpStatusCode: z.nullable(z.int()).optional(),
|
|
44
|
+
internal: z.boolean(),
|
|
45
|
+
message: z.string(),
|
|
46
|
+
retryable: z.boolean().default(false),
|
|
47
|
+
source: z.any().optional(),
|
|
48
|
+
request$: z.custom(x => x instanceof Request),
|
|
49
|
+
response$: z.custom(x => x instanceof Response),
|
|
50
|
+
body$: z.string(),
|
|
51
|
+
})
|
|
52
|
+
.transform((v) => {
|
|
53
|
+
return new AlienError(v, {
|
|
54
|
+
request: v.request$,
|
|
55
|
+
response: v.response$,
|
|
56
|
+
body: v.body$,
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
//# sourceMappingURL=alienerror.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alienerror.js","sourceRoot":"","sources":["../../../src/models/errors/alienerror.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAwF3D;;;;;;;;;;GAUG;AACH,MAAM,OAAO,UAAW,SAAQ,iBAAiB;IAoE/C,YACE,GAAmB,EACnB,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,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,GAAG,CAAC,OAAO,IAAI,IAAI;YAAE,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QACpD,IAAI,GAAG,CAAC,IAAI,IAAI,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QAC3C,IAAI,GAAG,CAAC,cAAc,IAAI,IAAI;YAAE,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;QACzE,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC7B,IAAI,GAAG,CAAC,SAAS,IAAI,IAAI;YAAE,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,C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1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/errors/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/errors/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Protocol for public workload endpoints.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ExposeProtocol: {
|
|
7
|
+
readonly Http: "http";
|
|
8
|
+
readonly Tcp: "tcp";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Protocol for public workload endpoints.
|
|
12
|
+
*/
|
|
13
|
+
export type ExposeProtocol = ClosedEnum<typeof ExposeProtocol>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const ExposeProtocol$inboundSchema: z.ZodEnum<typeof ExposeProtocol>;
|
|
16
|
+
//# sourceMappingURL=exposeprotocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exposeprotocol.d.ts","sourceRoot":"","sources":["../../src/models/exposeprotocol.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,cAAc,CACnD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
/**
|
|
6
|
+
* Protocol for public workload endpoints.
|
|
7
|
+
*/
|
|
8
|
+
export const ExposeProtocol = {
|
|
9
|
+
Http: "http",
|
|
10
|
+
Tcp: "tcp",
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const ExposeProtocol$inboundSchema = z
|
|
14
|
+
.enum(ExposeProtocol);
|
|
15
|
+
//# sourceMappingURL=exposeprotocol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exposeprotocol.js","sourceRoot":"","sources":["../../src/models/exposeprotocol.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;CACF,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAAqC,CAAC;KAC5E,IAAI,CAAC,cAAc,CAAC,CAAC"}
|