@alienplatform/manager-api 3.3.22 → 3.3.24

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.
Files changed (108) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/esm/funcs/deploymentsDeleteDeployment.d.ts +2 -1
  3. package/esm/funcs/deploymentsDeleteDeployment.d.ts.map +1 -1
  4. package/esm/funcs/deploymentsDeleteDeployment.js +3 -3
  5. package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -1
  6. package/esm/lib/config.d.ts +2 -2
  7. package/esm/lib/config.js +2 -2
  8. package/esm/models/agentsyncrequest.d.ts +6 -0
  9. package/esm/models/agentsyncrequest.d.ts.map +1 -1
  10. package/esm/models/agentsyncrequest.js +4 -0
  11. package/esm/models/agentsyncrequest.js.map +1 -1
  12. package/esm/models/agentsyncresponse.d.ts +2 -0
  13. package/esm/models/agentsyncresponse.d.ts.map +1 -1
  14. package/esm/models/agentsyncresponse.js +3 -0
  15. package/esm/models/agentsyncresponse.js.map +1 -1
  16. package/esm/models/createcommandrequest.d.ts +8 -0
  17. package/esm/models/createcommandrequest.d.ts.map +1 -1
  18. package/esm/models/createcommandrequest.js +1 -0
  19. package/esm/models/createcommandrequest.js.map +1 -1
  20. package/esm/models/createcommandresponse.d.ts +7 -0
  21. package/esm/models/createcommandresponse.d.ts.map +1 -1
  22. package/esm/models/createcommandresponse.js +1 -0
  23. package/esm/models/createcommandresponse.js.map +1 -1
  24. package/esm/models/deletedeploymentaction.d.ts +2 -0
  25. package/esm/models/deletedeploymentaction.d.ts.map +1 -1
  26. package/esm/models/deletedeploymentaction.js +3 -1
  27. package/esm/models/deletedeploymentaction.js.map +1 -1
  28. package/esm/models/deletedeploymentresponse.d.ts +19 -0
  29. package/esm/models/deletedeploymentresponse.d.ts.map +1 -0
  30. package/esm/models/deletedeploymentresponse.js +16 -0
  31. package/esm/models/deletedeploymentresponse.js.map +1 -0
  32. package/esm/models/healthresponse.d.ts +7 -0
  33. package/esm/models/healthresponse.d.ts.map +1 -1
  34. package/esm/models/healthresponse.js +1 -0
  35. package/esm/models/healthresponse.js.map +1 -1
  36. package/esm/models/index.d.ts +9 -0
  37. package/esm/models/index.d.ts.map +1 -1
  38. package/esm/models/index.js +9 -0
  39. package/esm/models/index.js.map +1 -1
  40. package/esm/models/operationsbundledownload.d.ts +29 -0
  41. package/esm/models/operationsbundledownload.d.ts.map +1 -0
  42. package/esm/models/operationsbundledownload.js +15 -0
  43. package/esm/models/operationsbundledownload.js.map +1 -0
  44. package/esm/models/operationsreport.d.ts +30 -0
  45. package/esm/models/operationsreport.d.ts.map +1 -0
  46. package/esm/models/operationsreport.js +14 -0
  47. package/esm/models/operationsreport.js.map +1 -0
  48. package/esm/models/operatorimagereport.d.ts +39 -0
  49. package/esm/models/operatorimagereport.d.ts.map +1 -0
  50. package/esm/models/operatorimagereport.js +17 -0
  51. package/esm/models/operatorimagereport.js.map +1 -0
  52. package/esm/models/operatorimagesource.d.ts +16 -0
  53. package/esm/models/operatorimagesource.d.ts.map +1 -0
  54. package/esm/models/operatorimagesource.js +14 -0
  55. package/esm/models/operatorimagesource.js.map +1 -0
  56. package/esm/models/remoteawssandboxbinding.d.ts +6 -6
  57. package/esm/models/remoteawssandboxbinding.d.ts.map +1 -1
  58. package/esm/models/remoteawssandboxbinding.js +1 -1
  59. package/esm/models/remoteawssandboxbinding.js.map +1 -1
  60. package/esm/models/remoteazuresandboxbinding.d.ts +56 -0
  61. package/esm/models/remoteazuresandboxbinding.d.ts.map +1 -0
  62. package/esm/models/remoteazuresandboxbinding.js +22 -0
  63. package/esm/models/remoteazuresandboxbinding.js.map +1 -0
  64. package/esm/models/remotegcpsandboxbinding.d.ts +33 -0
  65. package/esm/models/remotegcpsandboxbinding.d.ts.map +1 -0
  66. package/esm/models/remotegcpsandboxbinding.js +16 -0
  67. package/esm/models/remotegcpsandboxbinding.js.map +1 -0
  68. package/esm/models/reportedoperation.d.ts +32 -0
  69. package/esm/models/reportedoperation.d.ts.map +1 -0
  70. package/esm/models/reportedoperation.js +14 -0
  71. package/esm/models/reportedoperation.js.map +1 -0
  72. package/esm/models/resolvebindingresponse.d.ts +56 -1
  73. package/esm/models/resolvebindingresponse.d.ts.map +1 -1
  74. package/esm/models/resolvebindingresponse.js +24 -0
  75. package/esm/models/resolvebindingresponse.js.map +1 -1
  76. package/esm/models/resourceheartbeatdata.d.ts +2 -2
  77. package/esm/models/sandboxheartbeatdata.d.ts +8 -8
  78. package/esm/models/targetoperationsbundleset.d.ts +33 -0
  79. package/esm/models/targetoperationsbundleset.d.ts.map +1 -0
  80. package/esm/models/targetoperationsbundleset.js +15 -0
  81. package/esm/models/targetoperationsbundleset.js.map +1 -0
  82. package/esm/sdk/deployments.d.ts +1 -1
  83. package/esm/sdk/deployments.d.ts.map +1 -1
  84. package/jsr.json +4 -4
  85. package/package.json +3 -3
  86. package/src/funcs/deploymentsDeleteDeployment.ts +6 -6
  87. package/src/lib/config.ts +2 -2
  88. package/src/models/agentsyncrequest.ts +16 -0
  89. package/src/models/agentsyncresponse.ts +7 -0
  90. package/src/models/createcommandrequest.ts +9 -0
  91. package/src/models/createcommandresponse.ts +8 -0
  92. package/src/models/deletedeploymentaction.ts +5 -1
  93. package/src/models/deletedeploymentresponse.ts +44 -0
  94. package/src/models/healthresponse.ts +8 -0
  95. package/src/models/index.ts +9 -0
  96. package/src/models/operationsbundledownload.ts +51 -0
  97. package/src/models/operationsreport.ts +53 -0
  98. package/src/models/operatorimagereport.ts +64 -0
  99. package/src/models/operatorimagesource.ts +23 -0
  100. package/src/models/remoteawssandboxbinding.ts +7 -7
  101. package/src/models/remoteazuresandboxbinding.ts +85 -0
  102. package/src/models/remotegcpsandboxbinding.ts +56 -0
  103. package/src/models/reportedoperation.ts +52 -0
  104. package/src/models/resolvebindingresponse.ts +109 -1
  105. package/src/models/resourceheartbeatdata.ts +2 -2
  106. package/src/models/sandboxheartbeatdata.ts +8 -8
  107. package/src/models/targetoperationsbundleset.ts +57 -0
  108. package/src/sdk/deployments.ts +1 -1
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+ import {
7
+ OperatorImageSource,
8
+ OperatorImageSource$outboundSchema,
9
+ } from "./operatorimagesource.js";
10
+
11
+ /**
12
+ * Exact immutable Operator image identity observed by the running process.
13
+ */
14
+ export type OperatorImageReport = {
15
+ /**
16
+ * Exact lowercase OCI digest in `sha256:digest` form.
17
+ */
18
+ digest: string;
19
+ /**
20
+ * Exact OCI image reference in `repository@sha256:digest` form.
21
+ */
22
+ image: string;
23
+ /**
24
+ * Package ID when `source` is `package`; otherwise `null`.
25
+ */
26
+ packageId?: string | null | undefined;
27
+ /**
28
+ * Package version when `source` is `package`; otherwise `null`.
29
+ */
30
+ packageVersion?: string | null | undefined;
31
+ /**
32
+ * Origin of the exact Operator image running this process.
33
+ */
34
+ source: OperatorImageSource;
35
+ };
36
+
37
+ /** @internal */
38
+ export type OperatorImageReport$Outbound = {
39
+ digest: string;
40
+ image: string;
41
+ packageId?: string | null | undefined;
42
+ packageVersion?: string | null | undefined;
43
+ source: string;
44
+ };
45
+
46
+ /** @internal */
47
+ export const OperatorImageReport$outboundSchema: z.ZodType<
48
+ OperatorImageReport$Outbound,
49
+ OperatorImageReport
50
+ > = z.object({
51
+ digest: z.string(),
52
+ image: z.string(),
53
+ packageId: z.nullable(z.string()).optional(),
54
+ packageVersion: z.nullable(z.string()).optional(),
55
+ source: OperatorImageSource$outboundSchema,
56
+ });
57
+
58
+ export function operatorImageReportToJSON(
59
+ operatorImageReport: OperatorImageReport,
60
+ ): string {
61
+ return JSON.stringify(
62
+ OperatorImageReport$outboundSchema.parse(operatorImageReport),
63
+ );
64
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+ import { ClosedEnum } from "../types/enums.js";
7
+
8
+ /**
9
+ * Origin of the exact Operator image running this process.
10
+ */
11
+ export const OperatorImageSource = {
12
+ Package: "package",
13
+ Configured: "configured",
14
+ } as const;
15
+ /**
16
+ * Origin of the exact Operator image running this process.
17
+ */
18
+ export type OperatorImageSource = ClosedEnum<typeof OperatorImageSource>;
19
+
20
+ /** @internal */
21
+ export const OperatorImageSource$outboundSchema: z.ZodEnum<
22
+ typeof OperatorImageSource
23
+ > = z.enum(OperatorImageSource);
@@ -24,23 +24,23 @@ export type RemoteAwsSandboxBinding = {
24
24
  */
25
25
  allowEgress: boolean;
26
26
  /**
27
- * Idle seconds after which a session suspends, where the declaration asked for one.
27
+ * Idle seconds after which a sandbox pauses, where the declaration asked for one.
28
28
  */
29
- idleSuspendSeconds?: number | null | undefined;
29
+ idlePauseSeconds?: number | null | undefined;
30
30
  /**
31
- * MicroVM image the credential lease authorizes sessions against.
31
+ * MicroVM image the credential lease authorizes sandboxes against.
32
32
  */
33
33
  imageArn: string;
34
34
  /**
35
- * Image version sessions are enumerated by together with the image.
35
+ * Image version sandboxes are enumerated by together with the image.
36
36
  */
37
37
  imageVersion: string;
38
38
  /**
39
- * Wall-clock ceiling on a session, where the declaration asked for one.
39
+ * Wall-clock ceiling on a sandbox, where the declaration asked for one.
40
40
  */
41
41
  maxLifetimeSeconds?: number | null | undefined;
42
42
  /**
43
- * Ports a session capability may be minted for.
43
+ * Ports a sandbox capability may be minted for.
44
44
  */
45
45
  previewPorts: Array<number>;
46
46
  /**
@@ -55,7 +55,7 @@ export const RemoteAwsSandboxBinding$inboundSchema: z.ZodType<
55
55
  unknown
56
56
  > = z.object({
57
57
  allowEgress: z.boolean(),
58
- idleSuspendSeconds: z.nullable(z.int()).optional(),
58
+ idlePauseSeconds: z.nullable(z.int()).optional(),
59
59
  imageArn: z.string(),
60
60
  imageVersion: z.string(),
61
61
  maxLifetimeSeconds: z.nullable(z.int()).optional(),
@@ -0,0 +1,85 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../types/fp.js";
8
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
+
10
+ /**
11
+ * Concrete sandbox-group topology returned to remote clients.
12
+ *
13
+ * @remarks
14
+ *
15
+ * The ceilings travel because Azure applies them at create and nowhere else, so a remote caller
16
+ * that does not send them gets the data plane's default rather than the declared size. They are
17
+ * not a limit — a holder that ignores them gets whatever the data plane accepts.
18
+ */
19
+ export type RemoteAzureSandboxBinding = {
20
+ /**
21
+ * Whether the declaration asked for open egress. Always true here, sent explicitly because
22
+ *
23
+ * @remarks
24
+ * the remote grant lets its holder create sandboxes the declared policy never reaches — a
25
+ * client must read this rather than assume it from an absent field.
26
+ */
27
+ allowEgress: boolean;
28
+ /**
29
+ * Declared sandbox ceilings, where the declaration named them.
30
+ */
31
+ cpu?: string | null | undefined;
32
+ /**
33
+ * Per-region data-plane host, which is separate from the ARM control plane.
34
+ */
35
+ dataPlaneEndpoint: string;
36
+ disk?: string | null | undefined;
37
+ /**
38
+ * Catalog disk image every sandbox is created from.
39
+ */
40
+ diskImage: string;
41
+ /**
42
+ * Idle seconds after which a sandbox pauses, where the declaration asked for one.
43
+ */
44
+ idlePauseSeconds?: number | null | undefined;
45
+ memory?: string | null | undefined;
46
+ /**
47
+ * Region the sandbox group lives in.
48
+ */
49
+ region: string;
50
+ /**
51
+ * Resource group the data-plane path is scoped by.
52
+ */
53
+ resourceGroup: string;
54
+ /**
55
+ * Sandbox group the credential lease authorizes sandboxes against.
56
+ */
57
+ sandboxGroup: string;
58
+ };
59
+
60
+ /** @internal */
61
+ export const RemoteAzureSandboxBinding$inboundSchema: z.ZodType<
62
+ RemoteAzureSandboxBinding,
63
+ unknown
64
+ > = z.object({
65
+ allowEgress: z.boolean(),
66
+ cpu: z.nullable(z.string()).optional(),
67
+ dataPlaneEndpoint: z.string(),
68
+ disk: z.nullable(z.string()).optional(),
69
+ diskImage: z.string(),
70
+ idlePauseSeconds: z.nullable(z.int()).optional(),
71
+ memory: z.nullable(z.string()).optional(),
72
+ region: z.string(),
73
+ resourceGroup: z.string(),
74
+ sandboxGroup: z.string(),
75
+ });
76
+
77
+ export function remoteAzureSandboxBindingFromJSON(
78
+ jsonString: string,
79
+ ): SafeParseResult<RemoteAzureSandboxBinding, SDKValidationError> {
80
+ return safeParse(
81
+ jsonString,
82
+ (x) => RemoteAzureSandboxBinding$inboundSchema.parse(JSON.parse(x)),
83
+ `Failed to parse 'RemoteAzureSandboxBinding' from JSON`,
84
+ );
85
+ }
@@ -0,0 +1,56 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../types/fp.js";
8
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
+
10
+ /**
11
+ * Concrete Agent Platform topology returned to remote clients.
12
+ *
13
+ * @remarks
14
+ *
15
+ * No egress field, unlike the other two clouds: the policy lives on the environment template
16
+ * named below, so it travels with the template rather than as a flag the client must read.
17
+ */
18
+ export type RemoteGcpSandboxBinding = {
19
+ /**
20
+ * Reasoning engine the credential lease authorizes sandboxes under.
21
+ */
22
+ engine: string;
23
+ /**
24
+ * Seconds a sandbox may live, where the declaration asked for one.
25
+ */
26
+ maxLifetimeSeconds?: number | null | undefined;
27
+ /**
28
+ * Region selecting the regional aiplatform endpoint.
29
+ */
30
+ region: string;
31
+ /**
32
+ * Environment template every sandbox is created from; it carries the image and the ceilings.
33
+ */
34
+ template: string;
35
+ };
36
+
37
+ /** @internal */
38
+ export const RemoteGcpSandboxBinding$inboundSchema: z.ZodType<
39
+ RemoteGcpSandboxBinding,
40
+ unknown
41
+ > = z.object({
42
+ engine: z.string(),
43
+ maxLifetimeSeconds: z.nullable(z.int()).optional(),
44
+ region: z.string(),
45
+ template: z.string(),
46
+ });
47
+
48
+ export function remoteGcpSandboxBindingFromJSON(
49
+ jsonString: string,
50
+ ): SafeParseResult<RemoteGcpSandboxBinding, SDKValidationError> {
51
+ return safeParse(
52
+ jsonString,
53
+ (x) => RemoteGcpSandboxBinding$inboundSchema.parse(JSON.parse(x)),
54
+ `Failed to parse 'RemoteGcpSandboxBinding' from JSON`,
55
+ );
56
+ }
@@ -0,0 +1,52 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+
7
+ /**
8
+ * A single operation the Operator currently has loaded. Opaque identifiers
9
+ *
10
+ * @remarks
11
+ * only — no tier, description, or other plugin business logic crosses into
12
+ * this public crate.
13
+ */
14
+ export type ReportedOperation = {
15
+ /**
16
+ * Name of the operation within the plugin.
17
+ */
18
+ name: string;
19
+ /**
20
+ * Name of the plugin that owns this operation.
21
+ */
22
+ plugin: string;
23
+ /**
24
+ * Version of the plugin that owns this operation.
25
+ */
26
+ pluginVersion: string;
27
+ };
28
+
29
+ /** @internal */
30
+ export type ReportedOperation$Outbound = {
31
+ name: string;
32
+ plugin: string;
33
+ pluginVersion: string;
34
+ };
35
+
36
+ /** @internal */
37
+ export const ReportedOperation$outboundSchema: z.ZodType<
38
+ ReportedOperation$Outbound,
39
+ ReportedOperation
40
+ > = z.object({
41
+ name: z.string(),
42
+ plugin: z.string(),
43
+ pluginVersion: z.string(),
44
+ });
45
+
46
+ export function reportedOperationToJSON(
47
+ reportedOperation: ReportedOperation,
48
+ ): string {
49
+ return JSON.stringify(
50
+ ReportedOperation$outboundSchema.parse(reportedOperation),
51
+ );
52
+ }
@@ -34,6 +34,10 @@ import {
34
34
  RemoteAzureKeyVaultKeyBinding,
35
35
  RemoteAzureKeyVaultKeyBinding$inboundSchema,
36
36
  } from "./remoteazurekeyvaultkeybinding.js";
37
+ import {
38
+ RemoteAzureSandboxBinding,
39
+ RemoteAzureSandboxBinding$inboundSchema,
40
+ } from "./remoteazuresandboxbinding.js";
37
41
  import {
38
42
  RemoteBlobStorageBinding,
39
43
  RemoteBlobStorageBinding$inboundSchema,
@@ -46,6 +50,10 @@ import {
46
50
  RemoteGcpCloudKmsKeyBinding,
47
51
  RemoteGcpCloudKmsKeyBinding$inboundSchema,
48
52
  } from "./remotegcpcloudkmskeybinding.js";
53
+ import {
54
+ RemoteGcpSandboxBinding,
55
+ RemoteGcpSandboxBinding$inboundSchema,
56
+ } from "./remotegcpsandboxbinding.js";
49
57
  import {
50
58
  RemoteGcpVertexAiBinding,
51
59
  RemoteGcpVertexAiBinding$inboundSchema,
@@ -59,6 +67,55 @@ import {
59
67
  RemoteS3StorageBinding$inboundSchema,
60
68
  } from "./remotes3storagebinding.js";
61
69
 
70
+ /**
71
+ * GCP Agent Platform reasoning engine and a GCP access token.
72
+ */
73
+ export type ResolveBindingResponseSandboxGcpAgentPlatform = {
74
+ /**
75
+ * Concrete Agent Platform topology returned to remote clients.
76
+ *
77
+ * @remarks
78
+ *
79
+ * No egress field, unlike the other two clouds: the policy lives on the environment template
80
+ * named below, so it travels with the template rather than as a flag the client must read.
81
+ */
82
+ binding: RemoteGcpSandboxBinding;
83
+ /**
84
+ * Response-safe GCP client configuration. Refreshable source credentials and
85
+ *
86
+ * @remarks
87
+ * service endpoint overrides cannot be represented by this type.
88
+ */
89
+ clientConfig: RemoteGcpClientConfig;
90
+ expiresAt: string;
91
+ service: "sandbox-gcp-agent-platform";
92
+ };
93
+
94
+ /**
95
+ * Azure Container Apps sandbox group and an Azure data-plane token.
96
+ */
97
+ export type ResolveBindingResponseSandboxAzure = {
98
+ /**
99
+ * Concrete sandbox-group topology returned to remote clients.
100
+ *
101
+ * @remarks
102
+ *
103
+ * The ceilings travel because Azure applies them at create and nowhere else, so a remote caller
104
+ * that does not send them gets the data plane's default rather than the declared size. They are
105
+ * not a limit — a holder that ignores them gets whatever the data plane accepts.
106
+ */
107
+ binding: RemoteAzureSandboxBinding;
108
+ /**
109
+ * Response-safe Azure client configuration containing one storage-audience
110
+ *
111
+ * @remarks
112
+ * access token for the stack's Remote Bindings identity.
113
+ */
114
+ clientConfig: RemoteAzureClientConfig;
115
+ expiresAt: string;
116
+ service: "sandbox-azure";
117
+ };
118
+
62
119
  /**
63
120
  * AWS Lambda MicroVM sandbox and an AWS session.
64
121
  */
@@ -255,7 +312,56 @@ export type ResolveBindingResponse =
255
312
  | ResolveBindingResponseBedrock
256
313
  | ResolveBindingResponseVertex
257
314
  | ResolveBindingResponseFoundry
258
- | ResolveBindingResponseSandboxAws;
315
+ | ResolveBindingResponseSandboxAws
316
+ | ResolveBindingResponseSandboxAzure
317
+ | ResolveBindingResponseSandboxGcpAgentPlatform;
318
+
319
+ /** @internal */
320
+ export const ResolveBindingResponseSandboxGcpAgentPlatform$inboundSchema:
321
+ z.ZodType<ResolveBindingResponseSandboxGcpAgentPlatform, unknown> = z.object({
322
+ binding: RemoteGcpSandboxBinding$inboundSchema,
323
+ clientConfig: RemoteGcpClientConfig$inboundSchema,
324
+ expiresAt: z.string(),
325
+ service: z.literal("sandbox-gcp-agent-platform"),
326
+ });
327
+
328
+ export function resolveBindingResponseSandboxGcpAgentPlatformFromJSON(
329
+ jsonString: string,
330
+ ): SafeParseResult<
331
+ ResolveBindingResponseSandboxGcpAgentPlatform,
332
+ SDKValidationError
333
+ > {
334
+ return safeParse(
335
+ jsonString,
336
+ (x) =>
337
+ ResolveBindingResponseSandboxGcpAgentPlatform$inboundSchema.parse(
338
+ JSON.parse(x),
339
+ ),
340
+ `Failed to parse 'ResolveBindingResponseSandboxGcpAgentPlatform' from JSON`,
341
+ );
342
+ }
343
+
344
+ /** @internal */
345
+ export const ResolveBindingResponseSandboxAzure$inboundSchema: z.ZodType<
346
+ ResolveBindingResponseSandboxAzure,
347
+ unknown
348
+ > = z.object({
349
+ binding: RemoteAzureSandboxBinding$inboundSchema,
350
+ clientConfig: RemoteAzureClientConfig$inboundSchema,
351
+ expiresAt: z.string(),
352
+ service: z.literal("sandbox-azure"),
353
+ });
354
+
355
+ export function resolveBindingResponseSandboxAzureFromJSON(
356
+ jsonString: string,
357
+ ): SafeParseResult<ResolveBindingResponseSandboxAzure, SDKValidationError> {
358
+ return safeParse(
359
+ jsonString,
360
+ (x) =>
361
+ ResolveBindingResponseSandboxAzure$inboundSchema.parse(JSON.parse(x)),
362
+ `Failed to parse 'ResolveBindingResponseSandboxAzure' from JSON`,
363
+ );
364
+ }
259
365
 
260
366
  /** @internal */
261
367
  export const ResolveBindingResponseSandboxAws$inboundSchema: z.ZodType<
@@ -485,6 +591,8 @@ export const ResolveBindingResponse$inboundSchema: z.ZodType<
485
591
  z.lazy(() => ResolveBindingResponseVertex$inboundSchema),
486
592
  z.lazy(() => ResolveBindingResponseFoundry$inboundSchema),
487
593
  z.lazy(() => ResolveBindingResponseSandboxAws$inboundSchema),
594
+ z.lazy(() => ResolveBindingResponseSandboxAzure$inboundSchema),
595
+ z.lazy(() => ResolveBindingResponseSandboxGcpAgentPlatform$inboundSchema),
488
596
  ]);
489
597
 
490
598
  export function resolveBindingResponseFromJSON(
@@ -121,11 +121,11 @@ import {
121
121
 
122
122
  export type ResourceHeartbeatDataSandbox = {
123
123
  /**
124
- * Content-free telemetry about a sandbox's sessions.
124
+ * Content-free telemetry about what a sandbox resource is running.
125
125
  *
126
126
  * @remarks
127
127
  *
128
- * Never anything from inside a session. A controller reaches only the cloud's management APIs,
128
+ * Never anything from inside a sandbox. A controller reaches only the cloud's management APIs,
129
129
  * and the whole point of the resource is that the control plane cannot see what runs in it.
130
130
  */
131
131
  data: SandboxHeartbeatData;
@@ -40,11 +40,11 @@ export type SandboxHeartbeatDataKubernetesPods = {
40
40
  };
41
41
 
42
42
  /**
43
- * GCP: the Agent Platform template sessions are cut from, and the engine it hangs under.
43
+ * GCP: the Agent Platform template sandboxes are cut from, and the engine it hangs under.
44
44
  *
45
45
  * @remarks
46
46
  *
47
- * No session count: that needs `aiplatform.sandboxEnvironments.list`, which only the management
47
+ * No sandbox count: that needs `aiplatform.sandboxEnvironments.list`, which only the management
48
48
  * permission set holds. No template state either — emission is gated on reading it `ACTIVE`,
49
49
  * which is what `status` already says.
50
50
  */
@@ -55,14 +55,14 @@ export type SandboxHeartbeatDataGcpAgentPlatform = {
55
55
  engine: string;
56
56
  status: SandboxHeartbeatStatus;
57
57
  /**
58
- * The template sessions are currently cut from.
58
+ * The template sandboxes are currently cut from.
59
59
  */
60
60
  templateId: string;
61
61
  backend: "gcpAgentPlatform";
62
62
  };
63
63
 
64
64
  /**
65
- * Azure: the sandbox group's ARM state. The data plane has no list operation, so a session count
65
+ * Azure: the sandbox group's ARM state. The data plane has no list operation, so a sandbox count
66
66
  *
67
67
  * @remarks
68
68
  * is not available here.
@@ -79,7 +79,7 @@ export type SandboxHeartbeatDataAzureSandboxGroup = {
79
79
  */
80
80
  export type SandboxHeartbeatDataAwsMicrovm = {
81
81
  /**
82
- * Image the sessions belong to.
82
+ * Image the sandboxes belong to.
83
83
  */
84
84
  imageIdentifier: string;
85
85
  /**
@@ -87,7 +87,7 @@ export type SandboxHeartbeatDataAwsMicrovm = {
87
87
  *
88
88
  * @remarks
89
89
  *
90
- * No session count sits beside it: counting means `lambda:ListMicrovms`, which authorizes
90
+ * No sandbox count sits beside it: counting means `lambda:ListMicrovms`, which authorizes
91
91
  * against no resource type and so cannot be granted without an account-wide reach the
92
92
  * permission sets refuse. A field only an over-broad grant could fill is a field whose
93
93
  * implementer ships AccessDenied into a customer's account.
@@ -98,11 +98,11 @@ export type SandboxHeartbeatDataAwsMicrovm = {
98
98
  };
99
99
 
100
100
  /**
101
- * Content-free telemetry about a sandbox's sessions.
101
+ * Content-free telemetry about what a sandbox resource is running.
102
102
  *
103
103
  * @remarks
104
104
  *
105
- * Never anything from inside a session. A controller reaches only the cloud's management APIs,
105
+ * Never anything from inside a sandbox. A controller reaches only the cloud's management APIs,
106
106
  * and the whole point of the resource is that the control plane cannot see what runs in it.
107
107
  */
108
108
  export type SandboxHeartbeatData =
@@ -0,0 +1,57 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../types/fp.js";
8
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
+ import {
10
+ OperationsBundleDownload,
11
+ OperationsBundleDownload$inboundSchema,
12
+ } from "./operationsbundledownload.js";
13
+
14
+ /**
15
+ * Target operations-bundle set for the Operator to converge its loaded
16
+ *
17
+ * @remarks
18
+ * plugin registry toward, independent of any release/config target — a
19
+ * plugin can be enabled with no release change, so this is not nested under
20
+ * `TargetDeployment`.
21
+ */
22
+ export type TargetOperationsBundleSet = {
23
+ /**
24
+ * Presigned downloads for every bundle in the target set. The Operator
25
+ *
26
+ * @remarks
27
+ * fetches only the ones it doesn't already have loaded at the right
28
+ * version; already-loaded bundles are harmless to re-download.
29
+ */
30
+ bundles?: Array<OperationsBundleDownload> | undefined;
31
+ /**
32
+ * Hash identifying this exact enabled-plugin set. Compare against
33
+ *
34
+ * @remarks
35
+ * `OperationsReport.loadedBundleHash` to detect drift.
36
+ */
37
+ hash: string;
38
+ };
39
+
40
+ /** @internal */
41
+ export const TargetOperationsBundleSet$inboundSchema: z.ZodType<
42
+ TargetOperationsBundleSet,
43
+ unknown
44
+ > = z.object({
45
+ bundles: z.array(OperationsBundleDownload$inboundSchema).optional(),
46
+ hash: z.string(),
47
+ });
48
+
49
+ export function targetOperationsBundleSetFromJSON(
50
+ jsonString: string,
51
+ ): SafeParseResult<TargetOperationsBundleSet, SDKValidationError> {
52
+ return safeParse(
53
+ jsonString,
54
+ (x) => TargetOperationsBundleSet$inboundSchema.parse(JSON.parse(x)),
55
+ `Failed to parse 'TargetOperationsBundleSet' from JSON`,
56
+ );
57
+ }
@@ -62,7 +62,7 @@ export class Deployments extends ClientSDK {
62
62
  async deleteDeployment(
63
63
  request: operations.DeleteDeploymentRequest,
64
64
  options?: RequestOptions,
65
- ): Promise<void> {
65
+ ): Promise<models.DeleteDeploymentResponse> {
66
66
  return unwrapAsync(deploymentsDeleteDeployment(
67
67
  this,
68
68
  request,