@alienplatform/manager-api 3.3.19 → 3.3.21
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 +1 -2
- package/esm/funcs/releasesGetRelease.d.ts +2 -1
- package/esm/funcs/releasesGetRelease.d.ts.map +1 -1
- package/esm/funcs/releasesGetRelease.js +5 -1
- package/esm/funcs/releasesGetRelease.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/models/acquireddeploymentresponse.d.ts +2 -0
- package/esm/models/acquireddeploymentresponse.d.ts.map +1 -1
- package/esm/models/acquireddeploymentresponse.js +2 -0
- package/esm/models/acquireddeploymentresponse.js.map +1 -1
- package/esm/models/agentsyncrequest.d.ts +7 -0
- package/esm/models/agentsyncrequest.d.ts.map +1 -1
- package/esm/models/agentsyncrequest.js +4 -0
- package/esm/models/agentsyncrequest.js.map +1 -1
- package/esm/models/agentsyncresponse.d.ts +2 -0
- package/esm/models/agentsyncresponse.d.ts.map +1 -1
- package/esm/models/agentsyncresponse.js +2 -0
- package/esm/models/agentsyncresponse.js.map +1 -1
- package/esm/models/aiaccesstest.d.ts +11 -0
- package/esm/models/aiaccesstest.d.ts.map +1 -0
- package/esm/models/aiaccesstest.js +13 -0
- package/esm/models/aiaccesstest.js.map +1 -0
- package/esm/models/aiavailabilityblocker.d.ts +16 -0
- package/esm/models/aiavailabilityblocker.d.ts.map +1 -0
- package/esm/models/aiavailabilityblocker.js +17 -0
- package/esm/models/aiavailabilityblocker.js.map +1 -0
- package/esm/models/aiavailabilityobservation.d.ts +26 -0
- package/esm/models/aiavailabilityobservation.d.ts.map +1 -0
- package/esm/models/aiavailabilityobservation.js +17 -0
- package/esm/models/aiavailabilityobservation.js.map +1 -0
- package/esm/models/aiavailabilitysource.d.ts +24 -0
- package/esm/models/aiavailabilitysource.d.ts.map +1 -0
- package/esm/models/aiavailabilitysource.js +19 -0
- package/esm/models/aiavailabilitysource.js.map +1 -0
- package/esm/models/aiheartbeatdata.d.ts +9 -0
- package/esm/models/aiheartbeatdata.d.ts.map +1 -1
- package/esm/models/aiheartbeatdata.js +5 -0
- package/esm/models/aiheartbeatdata.js.map +1 -1
- package/esm/models/aimodelavailability.d.ts +11 -0
- package/esm/models/aimodelavailability.d.ts.map +1 -0
- package/esm/models/aimodelavailability.js +12 -0
- package/esm/models/aimodelavailability.js.map +1 -0
- package/esm/models/aimodelavailabilityobservation.d.ts +28 -0
- package/esm/models/aimodelavailabilityobservation.d.ts.map +1 -0
- package/esm/models/aimodelavailabilityobservation.js +22 -0
- package/esm/models/aimodelavailabilityobservation.js.map +1 -0
- package/esm/models/awskmskeyheartbeatdata.d.ts +23 -0
- package/esm/models/awskmskeyheartbeatdata.d.ts.map +1 -0
- package/esm/models/awskmskeyheartbeatdata.js +18 -0
- package/esm/models/awskmskeyheartbeatdata.js.map +1 -0
- package/esm/models/azurekeyvaultkeyheartbeatdata.d.ts +23 -0
- package/esm/models/azurekeyvaultkeyheartbeatdata.d.ts.map +1 -0
- package/esm/models/azurekeyvaultkeyheartbeatdata.js +18 -0
- package/esm/models/azurekeyvaultkeyheartbeatdata.js.map +1 -0
- package/esm/models/clientapi.d.ts +17 -0
- package/esm/models/clientapi.d.ts.map +1 -0
- package/esm/models/clientapi.js +15 -0
- package/esm/models/clientapi.js.map +1 -0
- package/esm/models/executionclaim.d.ts +19 -0
- package/esm/models/executionclaim.d.ts.map +1 -0
- package/esm/models/executionclaim.js +22 -0
- package/esm/models/executionclaim.js.map +1 -0
- package/esm/models/gcpcloudkmskeyheartbeatdata.d.ts +23 -0
- package/esm/models/gcpcloudkmskeyheartbeatdata.d.ts.map +1 -0
- package/esm/models/gcpcloudkmskeyheartbeatdata.js +18 -0
- package/esm/models/gcpcloudkmskeyheartbeatdata.js.map +1 -0
- package/esm/models/index.d.ts +23 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +23 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/initializerequest.d.ts +5 -0
- package/esm/models/initializerequest.d.ts.map +1 -1
- package/esm/models/initializerequest.js +1 -0
- package/esm/models/initializerequest.js.map +1 -1
- package/esm/models/keyheartbeatdata.d.ts +47 -0
- package/esm/models/keyheartbeatdata.d.ts.map +1 -0
- package/esm/models/keyheartbeatdata.js +41 -0
- package/esm/models/keyheartbeatdata.js.map +1 -0
- package/esm/models/keyheartbeatstatus.d.ts +18 -0
- package/esm/models/keyheartbeatstatus.d.ts.map +1 -0
- package/esm/models/keyheartbeatstatus.js +16 -0
- package/esm/models/keyheartbeatstatus.js.map +1 -0
- package/esm/models/reconcilerequest.d.ts +3 -0
- package/esm/models/reconcilerequest.d.ts.map +1 -1
- package/esm/models/reconcilerequest.js +2 -0
- package/esm/models/reconcilerequest.js.map +1 -1
- package/esm/models/releaserequest.d.ts +3 -0
- package/esm/models/releaserequest.d.ts.map +1 -1
- package/esm/models/releaserequest.js +2 -0
- package/esm/models/releaserequest.js.map +1 -1
- package/esm/models/remoteawsbedrockaibinding.d.ts +10 -0
- package/esm/models/remoteawsbedrockaibinding.d.ts.map +1 -0
- package/esm/models/remoteawsbedrockaibinding.js +13 -0
- package/esm/models/remoteawsbedrockaibinding.js.map +1 -0
- package/esm/models/remoteawskmskeybinding.d.ts +11 -0
- package/esm/models/remoteawskmskeybinding.d.ts.map +1 -0
- package/esm/models/remoteawskmskeybinding.js +14 -0
- package/esm/models/remoteawskmskeybinding.js.map +1 -0
- package/esm/models/remoteawssandboxbinding.d.ts +48 -0
- package/esm/models/remoteawssandboxbinding.d.ts.map +1 -0
- package/esm/models/remoteawssandboxbinding.js +19 -0
- package/esm/models/remoteawssandboxbinding.js.map +1 -0
- package/esm/models/remoteazurefoundryaibinding.d.ts +11 -0
- package/esm/models/remoteazurefoundryaibinding.d.ts.map +1 -0
- package/esm/models/remoteazurefoundryaibinding.js +14 -0
- package/esm/models/remoteazurefoundryaibinding.js.map +1 -0
- package/esm/models/remoteazurekeyvaultkeybinding.d.ts +10 -0
- package/esm/models/remoteazurekeyvaultkeybinding.d.ts.map +1 -0
- package/esm/models/remoteazurekeyvaultkeybinding.js +13 -0
- package/esm/models/remoteazurekeyvaultkeybinding.js.map +1 -0
- package/esm/models/remotegcpcloudkmskeybinding.d.ts +10 -0
- package/esm/models/remotegcpcloudkmskeybinding.d.ts.map +1 -0
- package/esm/models/remotegcpcloudkmskeybinding.js +13 -0
- package/esm/models/remotegcpcloudkmskeybinding.js.map +1 -0
- package/esm/models/remotegcpvertexaibinding.d.ts +11 -0
- package/esm/models/remotegcpvertexaibinding.d.ts.map +1 -0
- package/esm/models/remotegcpvertexaibinding.js +14 -0
- package/esm/models/remotegcpvertexaibinding.js.map +1 -0
- package/esm/models/renewrequest.d.ts +3 -0
- package/esm/models/renewrequest.d.ts.map +1 -1
- package/esm/models/renewrequest.js +2 -0
- package/esm/models/renewrequest.js.map +1 -1
- package/esm/models/resolvebindingkind.d.ts +9 -0
- package/esm/models/resolvebindingkind.d.ts.map +1 -0
- package/esm/models/resolvebindingkind.js +10 -0
- package/esm/models/resolvebindingkind.js.map +1 -0
- package/esm/models/resolvebindingrequest.d.ts +6 -3
- package/esm/models/resolvebindingrequest.d.ts.map +1 -1
- package/esm/models/resolvebindingrequest.js +3 -1
- package/esm/models/resolvebindingrequest.js.map +1 -1
- package/esm/models/resolvebindingresponse.d.ts +145 -1
- package/esm/models/resolvebindingresponse.d.ts.map +1 -1
- package/esm/models/resolvebindingresponse.js +87 -0
- package/esm/models/resolvebindingresponse.js.map +1 -1
- package/esm/models/resourceheartbeatdata.d.ts +36 -2
- package/esm/models/resourceheartbeatdata.d.ts.map +1 -1
- package/esm/models/resourceheartbeatdata.js +20 -0
- package/esm/models/resourceheartbeatdata.js.map +1 -1
- package/esm/models/sandboxheartbeatdata.d.ts +151 -0
- package/esm/models/sandboxheartbeatdata.d.ts.map +1 -0
- package/esm/models/sandboxheartbeatdata.js +68 -0
- package/esm/models/sandboxheartbeatdata.js.map +1 -0
- package/esm/models/sandboxheartbeatstatus.d.ts +25 -0
- package/esm/models/sandboxheartbeatstatus.d.ts.map +1 -0
- package/esm/models/sandboxheartbeatstatus.js +20 -0
- package/esm/models/sandboxheartbeatstatus.js.map +1 -0
- package/esm/models/stacksettings.d.ts +19 -0
- package/esm/models/stacksettings.d.ts.map +1 -1
- package/esm/models/stacksettings.js +2 -0
- package/esm/models/stacksettings.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/releasesGetRelease.ts +11 -2
- package/src/lib/config.ts +2 -2
- package/src/models/acquireddeploymentresponse.ts +6 -0
- package/src/models/agentsyncrequest.ts +14 -0
- package/src/models/agentsyncresponse.ts +6 -0
- package/src/models/aiaccesstest.ts +17 -0
- package/src/models/aiavailabilityblocker.ts +23 -0
- package/src/models/aiavailabilityobservation.ts +54 -0
- package/src/models/aiavailabilitysource.ts +31 -0
- package/src/models/aiheartbeatdata.ts +17 -0
- package/src/models/aimodelavailability.ts +18 -0
- package/src/models/aimodelavailabilityobservation.ts +60 -0
- package/src/models/awskmskeyheartbeatdata.ts +50 -0
- package/src/models/azurekeyvaultkeyheartbeatdata.ts +52 -0
- package/src/models/clientapi.ts +24 -0
- package/src/models/executionclaim.ts +47 -0
- package/src/models/gcpcloudkmskeyheartbeatdata.ts +52 -0
- package/src/models/index.ts +23 -0
- package/src/models/initializerequest.ts +6 -0
- package/src/models/keyheartbeatdata.ts +137 -0
- package/src/models/keyheartbeatstatus.ts +44 -0
- package/src/models/reconcilerequest.ts +8 -0
- package/src/models/releaserequest.ts +8 -0
- package/src/models/remoteawsbedrockaibinding.ts +30 -0
- package/src/models/remoteawskmskeybinding.ts +32 -0
- package/src/models/remoteawssandboxbinding.ts +74 -0
- package/src/models/remoteazurefoundryaibinding.ts +32 -0
- package/src/models/remoteazurekeyvaultkeybinding.ts +30 -0
- package/src/models/remotegcpcloudkmskeybinding.ts +30 -0
- package/src/models/remotegcpvertexaibinding.ts +32 -0
- package/src/models/renewrequest.ts +8 -0
- package/src/models/resolvebindingkind.ts +16 -0
- package/src/models/resolvebindingrequest.ts +11 -4
- package/src/models/resolvebindingresponse.ts +316 -1
- package/src/models/resourceheartbeatdata.ts +84 -2
- package/src/models/sandboxheartbeatdata.ts +286 -0
- package/src/models/sandboxheartbeatstatus.ts +58 -0
- package/src/models/stacksettings.ts +17 -0
|
@@ -6,14 +6,34 @@ import * as z from "zod/v4";
|
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
7
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
RemoteAwsBedrockAiBinding,
|
|
11
|
+
RemoteAwsBedrockAiBinding$inboundSchema,
|
|
12
|
+
} from "./remoteawsbedrockaibinding.js";
|
|
9
13
|
import {
|
|
10
14
|
RemoteAwsClientConfig,
|
|
11
15
|
RemoteAwsClientConfig$inboundSchema,
|
|
12
16
|
} from "./remoteawsclientconfig.js";
|
|
17
|
+
import {
|
|
18
|
+
RemoteAwsKmsKeyBinding,
|
|
19
|
+
RemoteAwsKmsKeyBinding$inboundSchema,
|
|
20
|
+
} from "./remoteawskmskeybinding.js";
|
|
21
|
+
import {
|
|
22
|
+
RemoteAwsSandboxBinding,
|
|
23
|
+
RemoteAwsSandboxBinding$inboundSchema,
|
|
24
|
+
} from "./remoteawssandboxbinding.js";
|
|
13
25
|
import {
|
|
14
26
|
RemoteAzureClientConfig,
|
|
15
27
|
RemoteAzureClientConfig$inboundSchema,
|
|
16
28
|
} from "./remoteazureclientconfig.js";
|
|
29
|
+
import {
|
|
30
|
+
RemoteAzureFoundryAiBinding,
|
|
31
|
+
RemoteAzureFoundryAiBinding$inboundSchema,
|
|
32
|
+
} from "./remoteazurefoundryaibinding.js";
|
|
33
|
+
import {
|
|
34
|
+
RemoteAzureKeyVaultKeyBinding,
|
|
35
|
+
RemoteAzureKeyVaultKeyBinding$inboundSchema,
|
|
36
|
+
} from "./remoteazurekeyvaultkeybinding.js";
|
|
17
37
|
import {
|
|
18
38
|
RemoteBlobStorageBinding,
|
|
19
39
|
RemoteBlobStorageBinding$inboundSchema,
|
|
@@ -22,6 +42,14 @@ import {
|
|
|
22
42
|
RemoteGcpClientConfig,
|
|
23
43
|
RemoteGcpClientConfig$inboundSchema,
|
|
24
44
|
} from "./remotegcpclientconfig.js";
|
|
45
|
+
import {
|
|
46
|
+
RemoteGcpCloudKmsKeyBinding,
|
|
47
|
+
RemoteGcpCloudKmsKeyBinding$inboundSchema,
|
|
48
|
+
} from "./remotegcpcloudkmskeybinding.js";
|
|
49
|
+
import {
|
|
50
|
+
RemoteGcpVertexAiBinding,
|
|
51
|
+
RemoteGcpVertexAiBinding$inboundSchema,
|
|
52
|
+
} from "./remotegcpvertexaibinding.js";
|
|
25
53
|
import {
|
|
26
54
|
RemoteGcsStorageBinding,
|
|
27
55
|
RemoteGcsStorageBinding$inboundSchema,
|
|
@@ -31,6 +59,129 @@ import {
|
|
|
31
59
|
RemoteS3StorageBinding$inboundSchema,
|
|
32
60
|
} from "./remotes3storagebinding.js";
|
|
33
61
|
|
|
62
|
+
/**
|
|
63
|
+
* AWS Lambda MicroVM sandbox and an AWS session.
|
|
64
|
+
*/
|
|
65
|
+
export type ResolveBindingResponseSandboxAws = {
|
|
66
|
+
/**
|
|
67
|
+
* Concrete MicroVM sandbox topology returned to remote clients.
|
|
68
|
+
*
|
|
69
|
+
* @remarks
|
|
70
|
+
*
|
|
71
|
+
* Deliberately without the execution role and the egress connectors of the in-cloud binding: the
|
|
72
|
+
* provider passes no role, and a binding carrying connectors is refused before it reaches here.
|
|
73
|
+
*/
|
|
74
|
+
binding: RemoteAwsSandboxBinding;
|
|
75
|
+
/**
|
|
76
|
+
* Response-safe AWS client configuration. The public contract deliberately
|
|
77
|
+
*
|
|
78
|
+
* @remarks
|
|
79
|
+
* has no static, profile, metadata, or web-identity credential variants.
|
|
80
|
+
*/
|
|
81
|
+
clientConfig: RemoteAwsClientConfig;
|
|
82
|
+
expiresAt: string;
|
|
83
|
+
service: "sandbox-aws";
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Azure AI Foundry and a Cognitive Services access token.
|
|
88
|
+
*/
|
|
89
|
+
export type ResolveBindingResponseFoundry = {
|
|
90
|
+
binding: RemoteAzureFoundryAiBinding;
|
|
91
|
+
/**
|
|
92
|
+
* Response-safe Azure client configuration containing one storage-audience
|
|
93
|
+
*
|
|
94
|
+
* @remarks
|
|
95
|
+
* access token for the stack's Remote Bindings identity.
|
|
96
|
+
*/
|
|
97
|
+
clientConfig: RemoteAzureClientConfig;
|
|
98
|
+
expiresAt: string;
|
|
99
|
+
resourceId: string;
|
|
100
|
+
service: "foundry";
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* GCP Vertex AI and an access token.
|
|
105
|
+
*/
|
|
106
|
+
export type ResolveBindingResponseVertex = {
|
|
107
|
+
binding: RemoteGcpVertexAiBinding;
|
|
108
|
+
/**
|
|
109
|
+
* Response-safe GCP client configuration. Refreshable source credentials and
|
|
110
|
+
*
|
|
111
|
+
* @remarks
|
|
112
|
+
* service endpoint overrides cannot be represented by this type.
|
|
113
|
+
*/
|
|
114
|
+
clientConfig: RemoteGcpClientConfig;
|
|
115
|
+
expiresAt: string;
|
|
116
|
+
resourceId: string;
|
|
117
|
+
service: "vertex";
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* AWS Bedrock and an AWS session.
|
|
122
|
+
*/
|
|
123
|
+
export type ResolveBindingResponseBedrock = {
|
|
124
|
+
binding: RemoteAwsBedrockAiBinding;
|
|
125
|
+
/**
|
|
126
|
+
* Response-safe AWS client configuration. The public contract deliberately
|
|
127
|
+
*
|
|
128
|
+
* @remarks
|
|
129
|
+
* has no static, profile, metadata, or web-identity credential variants.
|
|
130
|
+
*/
|
|
131
|
+
clientConfig: RemoteAwsClientConfig;
|
|
132
|
+
expiresAt: string;
|
|
133
|
+
resourceId: string;
|
|
134
|
+
service: "bedrock";
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Azure Key Vault key and a vault-audience access token.
|
|
139
|
+
*/
|
|
140
|
+
export type ResolveBindingResponseKeyVaultKey = {
|
|
141
|
+
binding: RemoteAzureKeyVaultKeyBinding;
|
|
142
|
+
/**
|
|
143
|
+
* Response-safe Azure client configuration containing one storage-audience
|
|
144
|
+
*
|
|
145
|
+
* @remarks
|
|
146
|
+
* access token for the stack's Remote Bindings identity.
|
|
147
|
+
*/
|
|
148
|
+
clientConfig: RemoteAzureClientConfig;
|
|
149
|
+
expiresAt: string;
|
|
150
|
+
service: "key-vault-key";
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* GCP Cloud KMS key and an access token.
|
|
155
|
+
*/
|
|
156
|
+
export type ResolveBindingResponseCloudKms = {
|
|
157
|
+
binding: RemoteGcpCloudKmsKeyBinding;
|
|
158
|
+
/**
|
|
159
|
+
* Response-safe GCP client configuration. Refreshable source credentials and
|
|
160
|
+
*
|
|
161
|
+
* @remarks
|
|
162
|
+
* service endpoint overrides cannot be represented by this type.
|
|
163
|
+
*/
|
|
164
|
+
clientConfig: RemoteGcpClientConfig;
|
|
165
|
+
expiresAt: string;
|
|
166
|
+
service: "cloud-kms";
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* AWS KMS key and an AWS session.
|
|
171
|
+
*/
|
|
172
|
+
export type ResolveBindingResponseKms = {
|
|
173
|
+
binding: RemoteAwsKmsKeyBinding;
|
|
174
|
+
/**
|
|
175
|
+
* Response-safe AWS client configuration. The public contract deliberately
|
|
176
|
+
*
|
|
177
|
+
* @remarks
|
|
178
|
+
* has no static, profile, metadata, or web-identity credential variants.
|
|
179
|
+
*/
|
|
180
|
+
clientConfig: RemoteAwsClientConfig;
|
|
181
|
+
expiresAt: string;
|
|
182
|
+
service: "kms";
|
|
183
|
+
};
|
|
184
|
+
|
|
34
185
|
/**
|
|
35
186
|
* Google Cloud Storage and a Remote Bindings identity access token.
|
|
36
187
|
*/
|
|
@@ -97,7 +248,164 @@ export type ResolveBindingResponseS3 = {
|
|
|
97
248
|
export type ResolveBindingResponse =
|
|
98
249
|
| ResolveBindingResponseS3
|
|
99
250
|
| ResolveBindingResponseBlob
|
|
100
|
-
| ResolveBindingResponseGcs
|
|
251
|
+
| ResolveBindingResponseGcs
|
|
252
|
+
| ResolveBindingResponseKms
|
|
253
|
+
| ResolveBindingResponseCloudKms
|
|
254
|
+
| ResolveBindingResponseKeyVaultKey
|
|
255
|
+
| ResolveBindingResponseBedrock
|
|
256
|
+
| ResolveBindingResponseVertex
|
|
257
|
+
| ResolveBindingResponseFoundry
|
|
258
|
+
| ResolveBindingResponseSandboxAws;
|
|
259
|
+
|
|
260
|
+
/** @internal */
|
|
261
|
+
export const ResolveBindingResponseSandboxAws$inboundSchema: z.ZodType<
|
|
262
|
+
ResolveBindingResponseSandboxAws,
|
|
263
|
+
unknown
|
|
264
|
+
> = z.object({
|
|
265
|
+
binding: RemoteAwsSandboxBinding$inboundSchema,
|
|
266
|
+
clientConfig: RemoteAwsClientConfig$inboundSchema,
|
|
267
|
+
expiresAt: z.string(),
|
|
268
|
+
service: z.literal("sandbox-aws"),
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
export function resolveBindingResponseSandboxAwsFromJSON(
|
|
272
|
+
jsonString: string,
|
|
273
|
+
): SafeParseResult<ResolveBindingResponseSandboxAws, SDKValidationError> {
|
|
274
|
+
return safeParse(
|
|
275
|
+
jsonString,
|
|
276
|
+
(x) => ResolveBindingResponseSandboxAws$inboundSchema.parse(JSON.parse(x)),
|
|
277
|
+
`Failed to parse 'ResolveBindingResponseSandboxAws' from JSON`,
|
|
278
|
+
);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** @internal */
|
|
282
|
+
export const ResolveBindingResponseFoundry$inboundSchema: z.ZodType<
|
|
283
|
+
ResolveBindingResponseFoundry,
|
|
284
|
+
unknown
|
|
285
|
+
> = z.object({
|
|
286
|
+
binding: RemoteAzureFoundryAiBinding$inboundSchema,
|
|
287
|
+
clientConfig: RemoteAzureClientConfig$inboundSchema,
|
|
288
|
+
expiresAt: z.string(),
|
|
289
|
+
resourceId: z.string(),
|
|
290
|
+
service: z.literal("foundry"),
|
|
291
|
+
});
|
|
292
|
+
|
|
293
|
+
export function resolveBindingResponseFoundryFromJSON(
|
|
294
|
+
jsonString: string,
|
|
295
|
+
): SafeParseResult<ResolveBindingResponseFoundry, SDKValidationError> {
|
|
296
|
+
return safeParse(
|
|
297
|
+
jsonString,
|
|
298
|
+
(x) => ResolveBindingResponseFoundry$inboundSchema.parse(JSON.parse(x)),
|
|
299
|
+
`Failed to parse 'ResolveBindingResponseFoundry' from JSON`,
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/** @internal */
|
|
304
|
+
export const ResolveBindingResponseVertex$inboundSchema: z.ZodType<
|
|
305
|
+
ResolveBindingResponseVertex,
|
|
306
|
+
unknown
|
|
307
|
+
> = z.object({
|
|
308
|
+
binding: RemoteGcpVertexAiBinding$inboundSchema,
|
|
309
|
+
clientConfig: RemoteGcpClientConfig$inboundSchema,
|
|
310
|
+
expiresAt: z.string(),
|
|
311
|
+
resourceId: z.string(),
|
|
312
|
+
service: z.literal("vertex"),
|
|
313
|
+
});
|
|
314
|
+
|
|
315
|
+
export function resolveBindingResponseVertexFromJSON(
|
|
316
|
+
jsonString: string,
|
|
317
|
+
): SafeParseResult<ResolveBindingResponseVertex, SDKValidationError> {
|
|
318
|
+
return safeParse(
|
|
319
|
+
jsonString,
|
|
320
|
+
(x) => ResolveBindingResponseVertex$inboundSchema.parse(JSON.parse(x)),
|
|
321
|
+
`Failed to parse 'ResolveBindingResponseVertex' from JSON`,
|
|
322
|
+
);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/** @internal */
|
|
326
|
+
export const ResolveBindingResponseBedrock$inboundSchema: z.ZodType<
|
|
327
|
+
ResolveBindingResponseBedrock,
|
|
328
|
+
unknown
|
|
329
|
+
> = z.object({
|
|
330
|
+
binding: RemoteAwsBedrockAiBinding$inboundSchema,
|
|
331
|
+
clientConfig: RemoteAwsClientConfig$inboundSchema,
|
|
332
|
+
expiresAt: z.string(),
|
|
333
|
+
resourceId: z.string(),
|
|
334
|
+
service: z.literal("bedrock"),
|
|
335
|
+
});
|
|
336
|
+
|
|
337
|
+
export function resolveBindingResponseBedrockFromJSON(
|
|
338
|
+
jsonString: string,
|
|
339
|
+
): SafeParseResult<ResolveBindingResponseBedrock, SDKValidationError> {
|
|
340
|
+
return safeParse(
|
|
341
|
+
jsonString,
|
|
342
|
+
(x) => ResolveBindingResponseBedrock$inboundSchema.parse(JSON.parse(x)),
|
|
343
|
+
`Failed to parse 'ResolveBindingResponseBedrock' from JSON`,
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/** @internal */
|
|
348
|
+
export const ResolveBindingResponseKeyVaultKey$inboundSchema: z.ZodType<
|
|
349
|
+
ResolveBindingResponseKeyVaultKey,
|
|
350
|
+
unknown
|
|
351
|
+
> = z.object({
|
|
352
|
+
binding: RemoteAzureKeyVaultKeyBinding$inboundSchema,
|
|
353
|
+
clientConfig: RemoteAzureClientConfig$inboundSchema,
|
|
354
|
+
expiresAt: z.string(),
|
|
355
|
+
service: z.literal("key-vault-key"),
|
|
356
|
+
});
|
|
357
|
+
|
|
358
|
+
export function resolveBindingResponseKeyVaultKeyFromJSON(
|
|
359
|
+
jsonString: string,
|
|
360
|
+
): SafeParseResult<ResolveBindingResponseKeyVaultKey, SDKValidationError> {
|
|
361
|
+
return safeParse(
|
|
362
|
+
jsonString,
|
|
363
|
+
(x) => ResolveBindingResponseKeyVaultKey$inboundSchema.parse(JSON.parse(x)),
|
|
364
|
+
`Failed to parse 'ResolveBindingResponseKeyVaultKey' from JSON`,
|
|
365
|
+
);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/** @internal */
|
|
369
|
+
export const ResolveBindingResponseCloudKms$inboundSchema: z.ZodType<
|
|
370
|
+
ResolveBindingResponseCloudKms,
|
|
371
|
+
unknown
|
|
372
|
+
> = z.object({
|
|
373
|
+
binding: RemoteGcpCloudKmsKeyBinding$inboundSchema,
|
|
374
|
+
clientConfig: RemoteGcpClientConfig$inboundSchema,
|
|
375
|
+
expiresAt: z.string(),
|
|
376
|
+
service: z.literal("cloud-kms"),
|
|
377
|
+
});
|
|
378
|
+
|
|
379
|
+
export function resolveBindingResponseCloudKmsFromJSON(
|
|
380
|
+
jsonString: string,
|
|
381
|
+
): SafeParseResult<ResolveBindingResponseCloudKms, SDKValidationError> {
|
|
382
|
+
return safeParse(
|
|
383
|
+
jsonString,
|
|
384
|
+
(x) => ResolveBindingResponseCloudKms$inboundSchema.parse(JSON.parse(x)),
|
|
385
|
+
`Failed to parse 'ResolveBindingResponseCloudKms' from JSON`,
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/** @internal */
|
|
390
|
+
export const ResolveBindingResponseKms$inboundSchema: z.ZodType<
|
|
391
|
+
ResolveBindingResponseKms,
|
|
392
|
+
unknown
|
|
393
|
+
> = z.object({
|
|
394
|
+
binding: RemoteAwsKmsKeyBinding$inboundSchema,
|
|
395
|
+
clientConfig: RemoteAwsClientConfig$inboundSchema,
|
|
396
|
+
expiresAt: z.string(),
|
|
397
|
+
service: z.literal("kms"),
|
|
398
|
+
});
|
|
399
|
+
|
|
400
|
+
export function resolveBindingResponseKmsFromJSON(
|
|
401
|
+
jsonString: string,
|
|
402
|
+
): SafeParseResult<ResolveBindingResponseKms, SDKValidationError> {
|
|
403
|
+
return safeParse(
|
|
404
|
+
jsonString,
|
|
405
|
+
(x) => ResolveBindingResponseKms$inboundSchema.parse(JSON.parse(x)),
|
|
406
|
+
`Failed to parse 'ResolveBindingResponseKms' from JSON`,
|
|
407
|
+
);
|
|
408
|
+
}
|
|
101
409
|
|
|
102
410
|
/** @internal */
|
|
103
411
|
export const ResolveBindingResponseGcs$inboundSchema: z.ZodType<
|
|
@@ -170,6 +478,13 @@ export const ResolveBindingResponse$inboundSchema: z.ZodType<
|
|
|
170
478
|
z.lazy(() => ResolveBindingResponseS3$inboundSchema),
|
|
171
479
|
z.lazy(() => ResolveBindingResponseBlob$inboundSchema),
|
|
172
480
|
z.lazy(() => ResolveBindingResponseGcs$inboundSchema),
|
|
481
|
+
z.lazy(() => ResolveBindingResponseKms$inboundSchema),
|
|
482
|
+
z.lazy(() => ResolveBindingResponseCloudKms$inboundSchema),
|
|
483
|
+
z.lazy(() => ResolveBindingResponseKeyVaultKey$inboundSchema),
|
|
484
|
+
z.lazy(() => ResolveBindingResponseBedrock$inboundSchema),
|
|
485
|
+
z.lazy(() => ResolveBindingResponseVertex$inboundSchema),
|
|
486
|
+
z.lazy(() => ResolveBindingResponseFoundry$inboundSchema),
|
|
487
|
+
z.lazy(() => ResolveBindingResponseSandboxAws$inboundSchema),
|
|
173
488
|
]);
|
|
174
489
|
|
|
175
490
|
export function resolveBindingResponseFromJSON(
|
|
@@ -53,6 +53,11 @@ import {
|
|
|
53
53
|
DaemonHeartbeatData$Outbound,
|
|
54
54
|
DaemonHeartbeatData$outboundSchema,
|
|
55
55
|
} from "./daemonheartbeatdata.js";
|
|
56
|
+
import {
|
|
57
|
+
KeyHeartbeatData,
|
|
58
|
+
KeyHeartbeatData$Outbound,
|
|
59
|
+
KeyHeartbeatData$outboundSchema,
|
|
60
|
+
} from "./keyheartbeatdata.js";
|
|
56
61
|
import {
|
|
57
62
|
KubernetesClusterHeartbeatData,
|
|
58
63
|
KubernetesClusterHeartbeatData$Outbound,
|
|
@@ -83,6 +88,11 @@ import {
|
|
|
83
88
|
RemoteStackManagementHeartbeatData$Outbound,
|
|
84
89
|
RemoteStackManagementHeartbeatData$outboundSchema,
|
|
85
90
|
} from "./remotestackmanagementheartbeatdata.js";
|
|
91
|
+
import {
|
|
92
|
+
SandboxHeartbeatData,
|
|
93
|
+
SandboxHeartbeatData$Outbound,
|
|
94
|
+
SandboxHeartbeatData$outboundSchema,
|
|
95
|
+
} from "./sandboxheartbeatdata.js";
|
|
86
96
|
import {
|
|
87
97
|
ServiceAccountHeartbeatData,
|
|
88
98
|
ServiceAccountHeartbeatData$Outbound,
|
|
@@ -109,6 +119,24 @@ import {
|
|
|
109
119
|
WorkerHeartbeatData$outboundSchema,
|
|
110
120
|
} from "./workerheartbeatdata.js";
|
|
111
121
|
|
|
122
|
+
export type ResourceHeartbeatDataSandbox = {
|
|
123
|
+
/**
|
|
124
|
+
* Content-free telemetry about a sandbox's sessions.
|
|
125
|
+
*
|
|
126
|
+
* @remarks
|
|
127
|
+
*
|
|
128
|
+
* Never anything from inside a session. A controller reaches only the cloud's management APIs,
|
|
129
|
+
* and the whole point of the resource is that the control plane cannot see what runs in it.
|
|
130
|
+
*/
|
|
131
|
+
data: SandboxHeartbeatData;
|
|
132
|
+
resourceType: "sandbox";
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
export type ResourceHeartbeatDataKey = {
|
|
136
|
+
data: KeyHeartbeatData;
|
|
137
|
+
resourceType: "key";
|
|
138
|
+
};
|
|
139
|
+
|
|
112
140
|
export type ResourceHeartbeatDataAi = {
|
|
113
141
|
data: AiHeartbeatData;
|
|
114
142
|
resourceType: "ai";
|
|
@@ -235,7 +263,57 @@ export type ResourceHeartbeatData =
|
|
|
235
263
|
| ResourceHeartbeatDataAzureStorageAccount
|
|
236
264
|
| ResourceHeartbeatDataAzureContainerAppsEnvironment
|
|
237
265
|
| ResourceHeartbeatDataAzureServiceBusNamespace
|
|
238
|
-
| ResourceHeartbeatDataAi
|
|
266
|
+
| ResourceHeartbeatDataAi
|
|
267
|
+
| ResourceHeartbeatDataKey
|
|
268
|
+
| ResourceHeartbeatDataSandbox;
|
|
269
|
+
|
|
270
|
+
/** @internal */
|
|
271
|
+
export type ResourceHeartbeatDataSandbox$Outbound = {
|
|
272
|
+
data: SandboxHeartbeatData$Outbound;
|
|
273
|
+
resourceType: "sandbox";
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
/** @internal */
|
|
277
|
+
export const ResourceHeartbeatDataSandbox$outboundSchema: z.ZodType<
|
|
278
|
+
ResourceHeartbeatDataSandbox$Outbound,
|
|
279
|
+
ResourceHeartbeatDataSandbox
|
|
280
|
+
> = z.object({
|
|
281
|
+
data: SandboxHeartbeatData$outboundSchema,
|
|
282
|
+
resourceType: z.literal("sandbox"),
|
|
283
|
+
});
|
|
284
|
+
|
|
285
|
+
export function resourceHeartbeatDataSandboxToJSON(
|
|
286
|
+
resourceHeartbeatDataSandbox: ResourceHeartbeatDataSandbox,
|
|
287
|
+
): string {
|
|
288
|
+
return JSON.stringify(
|
|
289
|
+
ResourceHeartbeatDataSandbox$outboundSchema.parse(
|
|
290
|
+
resourceHeartbeatDataSandbox,
|
|
291
|
+
),
|
|
292
|
+
);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/** @internal */
|
|
296
|
+
export type ResourceHeartbeatDataKey$Outbound = {
|
|
297
|
+
data: KeyHeartbeatData$Outbound;
|
|
298
|
+
resourceType: "key";
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
/** @internal */
|
|
302
|
+
export const ResourceHeartbeatDataKey$outboundSchema: z.ZodType<
|
|
303
|
+
ResourceHeartbeatDataKey$Outbound,
|
|
304
|
+
ResourceHeartbeatDataKey
|
|
305
|
+
> = z.object({
|
|
306
|
+
data: KeyHeartbeatData$outboundSchema,
|
|
307
|
+
resourceType: z.literal("key"),
|
|
308
|
+
});
|
|
309
|
+
|
|
310
|
+
export function resourceHeartbeatDataKeyToJSON(
|
|
311
|
+
resourceHeartbeatDataKey: ResourceHeartbeatDataKey,
|
|
312
|
+
): string {
|
|
313
|
+
return JSON.stringify(
|
|
314
|
+
ResourceHeartbeatDataKey$outboundSchema.parse(resourceHeartbeatDataKey),
|
|
315
|
+
);
|
|
316
|
+
}
|
|
239
317
|
|
|
240
318
|
/** @internal */
|
|
241
319
|
export type ResourceHeartbeatDataAi$Outbound = {
|
|
@@ -784,7 +862,9 @@ export type ResourceHeartbeatData$Outbound =
|
|
|
784
862
|
| ResourceHeartbeatDataAzureStorageAccount$Outbound
|
|
785
863
|
| ResourceHeartbeatDataAzureContainerAppsEnvironment$Outbound
|
|
786
864
|
| ResourceHeartbeatDataAzureServiceBusNamespace$Outbound
|
|
787
|
-
| ResourceHeartbeatDataAi$Outbound
|
|
865
|
+
| ResourceHeartbeatDataAi$Outbound
|
|
866
|
+
| ResourceHeartbeatDataKey$Outbound
|
|
867
|
+
| ResourceHeartbeatDataSandbox$Outbound;
|
|
788
868
|
|
|
789
869
|
/** @internal */
|
|
790
870
|
export const ResourceHeartbeatData$outboundSchema: z.ZodType<
|
|
@@ -814,6 +894,8 @@ export const ResourceHeartbeatData$outboundSchema: z.ZodType<
|
|
|
814
894
|
),
|
|
815
895
|
z.lazy(() => ResourceHeartbeatDataAzureServiceBusNamespace$outboundSchema),
|
|
816
896
|
z.lazy(() => ResourceHeartbeatDataAi$outboundSchema),
|
|
897
|
+
z.lazy(() => ResourceHeartbeatDataKey$outboundSchema),
|
|
898
|
+
z.lazy(() => ResourceHeartbeatDataSandbox$outboundSchema),
|
|
817
899
|
]);
|
|
818
900
|
|
|
819
901
|
export function resourceHeartbeatDataToJSON(
|