@alienplatform/manager-api 3.3.36 → 3.3.38

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 (56) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/esm/lib/config.d.ts +2 -2
  3. package/esm/lib/config.js +2 -2
  4. package/esm/models/acquirerequest.d.ts +5 -0
  5. package/esm/models/acquirerequest.d.ts.map +1 -1
  6. package/esm/models/acquirerequest.js +1 -0
  7. package/esm/models/acquirerequest.js.map +1 -1
  8. package/esm/models/agentsyncrequest.d.ts +5 -0
  9. package/esm/models/agentsyncrequest.d.ts.map +1 -1
  10. package/esm/models/agentsyncrequest.js +1 -0
  11. package/esm/models/agentsyncrequest.js.map +1 -1
  12. package/esm/models/createdeploymentrequest.d.ts +9 -0
  13. package/esm/models/createdeploymentrequest.d.ts.map +1 -1
  14. package/esm/models/createdeploymentrequest.js +5 -0
  15. package/esm/models/createdeploymentrequest.js.map +1 -1
  16. package/esm/models/deploymentresponse.d.ts +1 -5
  17. package/esm/models/deploymentresponse.d.ts.map +1 -1
  18. package/esm/models/deploymentresponse.js.map +1 -1
  19. package/esm/models/externalbindingunion.d.ts +56 -4
  20. package/esm/models/externalbindingunion.d.ts.map +1 -1
  21. package/esm/models/externalbindingunion.js +35 -0
  22. package/esm/models/externalbindingunion.js.map +1 -1
  23. package/esm/models/gcpfederationtrust.d.ts +23 -0
  24. package/esm/models/gcpfederationtrust.d.ts.map +1 -0
  25. package/esm/models/gcpfederationtrust.js +13 -0
  26. package/esm/models/gcpfederationtrust.js.map +1 -0
  27. package/esm/models/index.d.ts +2 -0
  28. package/esm/models/index.d.ts.map +1 -1
  29. package/esm/models/index.js +2 -0
  30. package/esm/models/index.js.map +1 -1
  31. package/esm/models/managedruntimeunitstatus.d.ts +5 -0
  32. package/esm/models/managedruntimeunitstatus.d.ts.map +1 -1
  33. package/esm/models/managedruntimeunitstatus.js +1 -0
  34. package/esm/models/managedruntimeunitstatus.js.map +1 -1
  35. package/esm/models/managementconfig.d.ts +4 -1
  36. package/esm/models/managementconfig.d.ts.map +1 -1
  37. package/esm/models/managementconfig.js +2 -0
  38. package/esm/models/managementconfig.js.map +1 -1
  39. package/esm/models/setuphandoff.d.ts +10 -0
  40. package/esm/models/setuphandoff.d.ts.map +1 -0
  41. package/esm/models/setuphandoff.js +12 -0
  42. package/esm/models/setuphandoff.js.map +1 -0
  43. package/examples/package-lock.json +1 -1
  44. package/jsr.json +1 -1
  45. package/package.json +2 -2
  46. package/src/lib/config.ts +2 -2
  47. package/src/models/acquirerequest.ts +6 -0
  48. package/src/models/agentsyncrequest.ts +6 -0
  49. package/src/models/createdeploymentrequest.ts +13 -0
  50. package/src/models/deploymentresponse.ts +1 -5
  51. package/src/models/externalbindingunion.ts +107 -2
  52. package/src/models/gcpfederationtrust.ts +42 -0
  53. package/src/models/index.ts +2 -0
  54. package/src/models/managedruntimeunitstatus.ts +6 -0
  55. package/src/models/managementconfig.ts +9 -1
  56. package/src/models/setuphandoff.ts +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alienplatform/manager-api",
3
- "version": "3.3.36",
3
+ "version": "3.3.38",
4
4
  "author": "Alien Software, Inc. <hi@alien.dev>",
5
5
  "homepage": "https://alien.dev",
6
6
  "license": "FSL-1.1-Apache-2.0",
@@ -61,7 +61,7 @@
61
61
  "prepublishOnly": "npm run build"
62
62
  },
63
63
  "peerDependencies": {
64
-
64
+
65
65
  },
66
66
  "devDependencies": {
67
67
  "@eslint/js": "^9.19.0",
package/src/lib/config.ts CHANGED
@@ -58,8 +58,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
58
58
  export const SDK_METADATA = {
59
59
  language: "typescript",
60
60
  openapiDocVersion: "1.0.0",
61
- sdkVersion: "3.3.36",
61
+ sdkVersion: "3.3.38",
62
62
  genVersion: "2.788.15",
63
63
  userAgent:
64
- "speakeasy-sdk/typescript 3.3.36 2.788.15 1.0.0 @alienplatform/manager-api",
64
+ "speakeasy-sdk/typescript 3.3.38 2.788.15 1.0.0 @alienplatform/manager-api",
65
65
  } as const;
@@ -17,6 +17,10 @@ export type AcquireRequest = {
17
17
  */
18
18
  deploymentModel: DeploymentModel;
19
19
  limit?: number | undefined;
20
+ /**
21
+ * Missing on protocol1 actors. Advertise the reader ceiling before taking ownership.
22
+ */
23
+ maxSupportedDeploymentProtocolVersion?: number | null | undefined;
20
24
  platforms?: Array<PlatformEnum> | null | undefined;
21
25
  session: string;
22
26
  setupMethod?: string | null | undefined;
@@ -29,6 +33,7 @@ export type AcquireRequest$Outbound = {
29
33
  deploymentIds?: Array<string> | null | undefined;
30
34
  deploymentModel: string;
31
35
  limit?: number | undefined;
36
+ maxSupportedDeploymentProtocolVersion?: number | null | undefined;
32
37
  platforms?: Array<string> | null | undefined;
33
38
  session: string;
34
39
  setupMethod?: string | null | undefined;
@@ -44,6 +49,7 @@ export const AcquireRequest$outboundSchema: z.ZodType<
44
49
  deploymentIds: z.nullable(z.array(z.string())).optional(),
45
50
  deploymentModel: DeploymentModel$outboundSchema,
46
51
  limit: z.int().optional(),
52
+ maxSupportedDeploymentProtocolVersion: z.nullable(z.int()).optional(),
47
53
  platforms: z.nullable(z.array(PlatformEnum$outboundSchema)).optional(),
48
54
  session: z.string(),
49
55
  setupMethod: z.nullable(z.string()).optional(),
@@ -82,6 +82,10 @@ export type AgentSyncRequest = {
82
82
  * Absent for older Operators. This report has no secret values.
83
83
  */
84
84
  dynamicContainers?: Array<DynamicContainerReport> | null | undefined;
85
+ /**
86
+ * Missing on actors that only understand protocol1.
87
+ */
88
+ maxSupportedDeploymentProtocolVersion?: number | null | undefined;
85
89
  operationsConfig?: OperationsConfig | null | undefined;
86
90
  operatorImage?: OperatorImageReport | null | undefined;
87
91
  };
@@ -101,6 +105,7 @@ export type AgentSyncRequest$Outbound = {
101
105
  supportsTunnels?: boolean | undefined;
102
106
  application?: ObservedApplicationReport$Outbound | null | undefined;
103
107
  dynamicContainers?: Array<DynamicContainerReport$Outbound> | null | undefined;
108
+ maxSupportedDeploymentProtocolVersion?: number | null | undefined;
104
109
  operationsConfig?: OperationsConfig$Outbound | null | undefined;
105
110
  operatorImage?: OperatorImageReport$Outbound | null | undefined;
106
111
  };
@@ -125,6 +130,7 @@ export const AgentSyncRequest$outboundSchema: z.ZodType<
125
130
  application: z.nullable(ObservedApplicationReport$outboundSchema).optional(),
126
131
  dynamicContainers: z.nullable(z.array(DynamicContainerReport$outboundSchema))
127
132
  .optional(),
133
+ maxSupportedDeploymentProtocolVersion: z.nullable(z.int()).optional(),
128
134
  operationsConfig: z.nullable(OperationsConfig$outboundSchema).optional(),
129
135
  operatorImage: z.nullable(OperatorImageReport$outboundSchema).optional(),
130
136
  });
@@ -9,6 +9,7 @@ import {
9
9
  EnvironmentVariable$outboundSchema,
10
10
  } from "./environmentvariable.js";
11
11
  import { PlatformEnum, PlatformEnum$outboundSchema } from "./platformenum.js";
12
+ import { SetupHandoff, SetupHandoff$outboundSchema } from "./setuphandoff.js";
12
13
  import {
13
14
  StackSettings,
14
15
  StackSettings$Outbound,
@@ -16,6 +17,7 @@ import {
16
17
  } from "./stacksettings.js";
17
18
 
18
19
  export type CreateDeploymentRequest = {
20
+ basePlatform?: PlatformEnum | null | undefined;
19
21
  deploymentGroupId?: string | null | undefined;
20
22
  environmentVariables?: Array<EnvironmentVariable> | null | undefined;
21
23
  /**
@@ -26,22 +28,29 @@ export type CreateDeploymentRequest = {
26
28
  */
27
29
  inputValues?: { [k: string]: any } | undefined;
28
30
  name: string;
31
+ pinnedReleaseId?: string | null | undefined;
29
32
  /**
30
33
  * Represents the target cloud platform.
31
34
  */
32
35
  platform: PlatformEnum;
33
36
  resourcePrefix?: string | null | undefined;
37
+ setupHandoff?: SetupHandoff | undefined;
38
+ setupMethod?: string | null | undefined;
34
39
  stackSettings?: StackSettings | null | undefined;
35
40
  };
36
41
 
37
42
  /** @internal */
38
43
  export type CreateDeploymentRequest$Outbound = {
44
+ basePlatform?: string | null | undefined;
39
45
  deploymentGroupId?: string | null | undefined;
40
46
  environmentVariables?: Array<EnvironmentVariable$Outbound> | null | undefined;
41
47
  inputValues?: { [k: string]: any } | undefined;
42
48
  name: string;
49
+ pinnedReleaseId?: string | null | undefined;
43
50
  platform: string;
44
51
  resourcePrefix?: string | null | undefined;
52
+ setupHandoff?: string | undefined;
53
+ setupMethod?: string | null | undefined;
45
54
  stackSettings?: StackSettings$Outbound | null | undefined;
46
55
  };
47
56
 
@@ -50,13 +59,17 @@ export const CreateDeploymentRequest$outboundSchema: z.ZodType<
50
59
  CreateDeploymentRequest$Outbound,
51
60
  CreateDeploymentRequest
52
61
  > = z.object({
62
+ basePlatform: z.nullable(PlatformEnum$outboundSchema).optional(),
53
63
  deploymentGroupId: z.nullable(z.string()).optional(),
54
64
  environmentVariables: z.nullable(z.array(EnvironmentVariable$outboundSchema))
55
65
  .optional(),
56
66
  inputValues: z.record(z.string(), z.any()).optional(),
57
67
  name: z.string(),
68
+ pinnedReleaseId: z.nullable(z.string()).optional(),
58
69
  platform: PlatformEnum$outboundSchema,
59
70
  resourcePrefix: z.nullable(z.string()).optional(),
71
+ setupHandoff: SetupHandoff$outboundSchema.optional(),
72
+ setupMethod: z.nullable(z.string()).optional(),
60
73
  stackSettings: z.nullable(StackSettings$outboundSchema).optional(),
61
74
  });
62
75
 
@@ -22,11 +22,7 @@ export type DeploymentResponse = {
22
22
  deploymentGroup?: DeploymentGroupMinimal | null | undefined;
23
23
  deploymentGroupId: string;
24
24
  /**
25
- * Required by the platform-SDK Deployment schema. Hard-coded to
26
- *
27
- * @remarks
28
- * alien-core's `CURRENT_DEPLOYMENT_PROTOCOL_VERSION` so the CLI
29
- * accepts the response.
25
+ * State protocol stored on this deployment and required by its runtime.
30
26
  */
31
27
  deploymentProtocolVersion: number;
32
28
  desiredReleaseId?: string | null | undefined;
@@ -577,6 +577,17 @@ export type TypeArtifactRegistry1 = ClosedEnum<typeof TypeArtifactRegistry1>;
577
577
  * AWS ECR (Elastic Container Registry)
578
578
  */
579
579
  export type ExternalBindingEcr = {
580
+ /**
581
+ * Repository prefixes this registry used before `repositoryPrefix`. Images already released
582
+ *
583
+ * @remarks
584
+ * under them stay readable and keep their cross-account grants; nothing new is written there.
585
+ */
586
+ legacyRepositoryPrefixes?: Array<string> | undefined;
587
+ /**
588
+ * Sandbox namespaces this registry used before `sandboxRepositoryPrefix`, read the same way.
589
+ */
590
+ legacySandboxRepositoryPrefixes?: Array<string> | undefined;
580
591
  pullRoleArn?: BindingValueStringUnion | null | undefined;
581
592
  pushRoleArn?: BindingValueStringUnion | null | undefined;
582
593
  /**
@@ -749,6 +760,30 @@ export type ExternalBindingUnion3 =
749
760
  | ExternalBindingRedis
750
761
  | ExternalBindingLocalKv;
751
762
 
763
+ export const TypeQueue5 = {
764
+ Queue: "queue",
765
+ } as const;
766
+ export type TypeQueue5 = ClosedEnum<typeof TypeQueue5>;
767
+
768
+ /**
769
+ * Manager-owned local queue, accessed directly over HTTP.
770
+ */
771
+ export type ExternalBindingLocalQueueHTTP = {
772
+ /**
773
+ * Represents a value that can be either a concrete value, a template expression,
774
+ *
775
+ * @remarks
776
+ * or a reference to a Kubernetes Secret
777
+ */
778
+ endpoint: BindingValueStringUnion;
779
+ /**
780
+ * Queue-scoped credential, injected at process start rather than persisted in stack state.
781
+ */
782
+ token?: string | null | undefined;
783
+ service: "local-queue-http";
784
+ type: TypeQueue5;
785
+ };
786
+
752
787
  export const TypeQueue4 = {
753
788
  Queue: "queue",
754
789
  } as const;
@@ -850,7 +885,8 @@ export type ExternalBindingUnion2 =
850
885
  | ExternalBindingSqs
851
886
  | ExternalBindingPubsub
852
887
  | ExternalBindingServicebus
853
- | ExternalBindingLocalQueue;
888
+ | ExternalBindingLocalQueue
889
+ | ExternalBindingLocalQueueHTTP;
854
890
 
855
891
  export const TypeStorage4 = {
856
892
  Storage: "storage",
@@ -979,6 +1015,7 @@ export type ExternalBindingUnion =
979
1015
  | ExternalBindingPubsub
980
1016
  | ExternalBindingServicebus
981
1017
  | ExternalBindingLocalQueue
1018
+ | ExternalBindingLocalQueueHTTP
982
1019
  | ExternalBindingDynamodb
983
1020
  | ExternalBindingFirestore
984
1021
  | ExternalBindingTablestorage
@@ -1992,6 +2029,8 @@ export const ExternalBindingEcr$inboundSchema: z.ZodType<
1992
2029
  ExternalBindingEcr,
1993
2030
  unknown
1994
2031
  > = z.object({
2032
+ legacyRepositoryPrefixes: z.array(z.string()).optional(),
2033
+ legacySandboxRepositoryPrefixes: z.array(z.string()).optional(),
1995
2034
  pullRoleArn: z.nullable(BindingValueStringUnion$inboundSchema).optional(),
1996
2035
  pushRoleArn: z.nullable(BindingValueStringUnion$inboundSchema).optional(),
1997
2036
  repositoryPrefix: BindingValueStringUnion$inboundSchema,
@@ -2002,6 +2041,8 @@ export const ExternalBindingEcr$inboundSchema: z.ZodType<
2002
2041
  });
2003
2042
  /** @internal */
2004
2043
  export type ExternalBindingEcr$Outbound = {
2044
+ legacyRepositoryPrefixes?: Array<string> | undefined;
2045
+ legacySandboxRepositoryPrefixes?: Array<string> | undefined;
2005
2046
  pullRoleArn?: BindingValueStringUnion$Outbound | null | undefined;
2006
2047
  pushRoleArn?: BindingValueStringUnion$Outbound | null | undefined;
2007
2048
  repositoryPrefix: BindingValueStringUnion$Outbound;
@@ -2015,6 +2056,8 @@ export const ExternalBindingEcr$outboundSchema: z.ZodType<
2015
2056
  ExternalBindingEcr$Outbound,
2016
2057
  ExternalBindingEcr
2017
2058
  > = z.object({
2059
+ legacyRepositoryPrefixes: z.array(z.string()).optional(),
2060
+ legacySandboxRepositoryPrefixes: z.array(z.string()).optional(),
2018
2061
  pullRoleArn: z.nullable(BindingValueStringUnion$outboundSchema).optional(),
2019
2062
  pushRoleArn: z.nullable(BindingValueStringUnion$outboundSchema).optional(),
2020
2063
  repositoryPrefix: BindingValueStringUnion$outboundSchema,
@@ -2408,6 +2451,62 @@ export function externalBindingUnion3FromJSON(
2408
2451
  );
2409
2452
  }
2410
2453
 
2454
+ /** @internal */
2455
+ export const TypeQueue5$inboundSchema: z.ZodEnum<typeof TypeQueue5> = z.enum(
2456
+ TypeQueue5,
2457
+ );
2458
+ /** @internal */
2459
+ export const TypeQueue5$outboundSchema: z.ZodEnum<typeof TypeQueue5> =
2460
+ TypeQueue5$inboundSchema;
2461
+
2462
+ /** @internal */
2463
+ export const ExternalBindingLocalQueueHTTP$inboundSchema: z.ZodType<
2464
+ ExternalBindingLocalQueueHTTP,
2465
+ unknown
2466
+ > = z.object({
2467
+ endpoint: BindingValueStringUnion$inboundSchema,
2468
+ token: z.nullable(z.string()).optional(),
2469
+ service: z.literal("local-queue-http"),
2470
+ type: TypeQueue5$inboundSchema,
2471
+ });
2472
+ /** @internal */
2473
+ export type ExternalBindingLocalQueueHTTP$Outbound = {
2474
+ endpoint: BindingValueStringUnion$Outbound;
2475
+ token?: string | null | undefined;
2476
+ service: "local-queue-http";
2477
+ type: string;
2478
+ };
2479
+
2480
+ /** @internal */
2481
+ export const ExternalBindingLocalQueueHTTP$outboundSchema: z.ZodType<
2482
+ ExternalBindingLocalQueueHTTP$Outbound,
2483
+ ExternalBindingLocalQueueHTTP
2484
+ > = z.object({
2485
+ endpoint: BindingValueStringUnion$outboundSchema,
2486
+ token: z.nullable(z.string()).optional(),
2487
+ service: z.literal("local-queue-http"),
2488
+ type: TypeQueue5$outboundSchema,
2489
+ });
2490
+
2491
+ export function externalBindingLocalQueueHTTPToJSON(
2492
+ externalBindingLocalQueueHTTP: ExternalBindingLocalQueueHTTP,
2493
+ ): string {
2494
+ return JSON.stringify(
2495
+ ExternalBindingLocalQueueHTTP$outboundSchema.parse(
2496
+ externalBindingLocalQueueHTTP,
2497
+ ),
2498
+ );
2499
+ }
2500
+ export function externalBindingLocalQueueHTTPFromJSON(
2501
+ jsonString: string,
2502
+ ): SafeParseResult<ExternalBindingLocalQueueHTTP, SDKValidationError> {
2503
+ return safeParse(
2504
+ jsonString,
2505
+ (x) => ExternalBindingLocalQueueHTTP$inboundSchema.parse(JSON.parse(x)),
2506
+ `Failed to parse 'ExternalBindingLocalQueueHTTP' from JSON`,
2507
+ );
2508
+ }
2509
+
2411
2510
  /** @internal */
2412
2511
  export const TypeQueue4$inboundSchema: z.ZodEnum<typeof TypeQueue4> = z.enum(
2413
2512
  TypeQueue4,
@@ -2627,13 +2726,15 @@ export const ExternalBindingUnion2$inboundSchema: z.ZodType<
2627
2726
  z.lazy(() => ExternalBindingPubsub$inboundSchema),
2628
2727
  z.lazy(() => ExternalBindingServicebus$inboundSchema),
2629
2728
  z.lazy(() => ExternalBindingLocalQueue$inboundSchema),
2729
+ z.lazy(() => ExternalBindingLocalQueueHTTP$inboundSchema),
2630
2730
  ]);
2631
2731
  /** @internal */
2632
2732
  export type ExternalBindingUnion2$Outbound =
2633
2733
  | ExternalBindingSqs$Outbound
2634
2734
  | ExternalBindingPubsub$Outbound
2635
2735
  | ExternalBindingServicebus$Outbound
2636
- | ExternalBindingLocalQueue$Outbound;
2736
+ | ExternalBindingLocalQueue$Outbound
2737
+ | ExternalBindingLocalQueueHTTP$Outbound;
2637
2738
 
2638
2739
  /** @internal */
2639
2740
  export const ExternalBindingUnion2$outboundSchema: z.ZodType<
@@ -2644,6 +2745,7 @@ export const ExternalBindingUnion2$outboundSchema: z.ZodType<
2644
2745
  z.lazy(() => ExternalBindingPubsub$outboundSchema),
2645
2746
  z.lazy(() => ExternalBindingServicebus$outboundSchema),
2646
2747
  z.lazy(() => ExternalBindingLocalQueue$outboundSchema),
2748
+ z.lazy(() => ExternalBindingLocalQueueHTTP$outboundSchema),
2647
2749
  ]);
2648
2750
 
2649
2751
  export function externalBindingUnion2ToJSON(
@@ -2947,6 +3049,7 @@ export const ExternalBindingUnion$inboundSchema: z.ZodType<
2947
3049
  z.lazy(() => ExternalBindingPubsub$inboundSchema),
2948
3050
  z.lazy(() => ExternalBindingServicebus$inboundSchema),
2949
3051
  z.lazy(() => ExternalBindingLocalQueue$inboundSchema),
3052
+ z.lazy(() => ExternalBindingLocalQueueHTTP$inboundSchema),
2950
3053
  ]),
2951
3054
  z.union([
2952
3055
  z.lazy(() => ExternalBindingDynamodb$inboundSchema),
@@ -2988,6 +3091,7 @@ export type ExternalBindingUnion$Outbound =
2988
3091
  | ExternalBindingPubsub$Outbound
2989
3092
  | ExternalBindingServicebus$Outbound
2990
3093
  | ExternalBindingLocalQueue$Outbound
3094
+ | ExternalBindingLocalQueueHTTP$Outbound
2991
3095
  | ExternalBindingDynamodb$Outbound
2992
3096
  | ExternalBindingFirestore$Outbound
2993
3097
  | ExternalBindingTablestorage$Outbound
@@ -3026,6 +3130,7 @@ export const ExternalBindingUnion$outboundSchema: z.ZodType<
3026
3130
  z.lazy(() => ExternalBindingPubsub$outboundSchema),
3027
3131
  z.lazy(() => ExternalBindingServicebus$outboundSchema),
3028
3132
  z.lazy(() => ExternalBindingLocalQueue$outboundSchema),
3133
+ z.lazy(() => ExternalBindingLocalQueueHTTP$outboundSchema),
3029
3134
  ]),
3030
3135
  z.union([
3031
3136
  z.lazy(() => ExternalBindingDynamodb$outboundSchema),
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+
7
+ /**
8
+ * The exact manager identity trusted by a deployment-owned identity pool.
9
+ */
10
+ export type GcpFederationTrust = {
11
+ /**
12
+ * OIDC issuer; Google or the manager's Kubernetes issuer.
13
+ */
14
+ issuer: string;
15
+ /**
16
+ * Exact immutable Google account ID or Kubernetes service-account subject.
17
+ */
18
+ subject: string;
19
+ };
20
+
21
+ /** @internal */
22
+ export type GcpFederationTrust$Outbound = {
23
+ issuer: string;
24
+ subject: string;
25
+ };
26
+
27
+ /** @internal */
28
+ export const GcpFederationTrust$outboundSchema: z.ZodType<
29
+ GcpFederationTrust$Outbound,
30
+ GcpFederationTrust
31
+ > = z.object({
32
+ issuer: z.string(),
33
+ subject: z.string(),
34
+ });
35
+
36
+ export function gcpFederationTrustToJSON(
37
+ gcpFederationTrust: GcpFederationTrust,
38
+ ): string {
39
+ return JSON.stringify(
40
+ GcpFederationTrust$outboundSchema.parse(gcpFederationTrust),
41
+ );
42
+ }
@@ -108,6 +108,7 @@ export * from "./externalpostgressslmode.js";
108
108
  export * from "./failuredomainselection.js";
109
109
  export * from "./gcpcloudkmskeyheartbeatdata.js";
110
110
  export * from "./gcpcustomcertificateconfig.js";
111
+ export * from "./gcpfederationtrust.js";
111
112
  export * from "./getsecretresponse.js";
112
113
  export * from "./gitmetadata.js";
113
114
  export * from "./gitmetadataresponse.js";
@@ -269,6 +270,7 @@ export * from "./setdeploymentchannelrequest.js";
269
270
  export * from "./setdeploymentpinrequest.js";
270
271
  export * from "./setquotawarningoverridesrequest.js";
271
272
  export * from "./setsecretrequest.js";
273
+ export * from "./setuphandoff.js";
272
274
  export * from "./setupmanagement.js";
273
275
  export * from "./sourcecredentials.js";
274
276
  export * from "./stackbyplatform.js";
@@ -11,6 +11,10 @@ import {
11
11
 
12
12
  export type ManagedRuntimeUnitStatus = {
13
13
  cpu?: MetricSample | null | undefined;
14
+ /**
15
+ * Image this replica runs.
16
+ */
17
+ image?: string | null | undefined;
14
18
  ip?: string | null | undefined;
15
19
  machineId?: string | null | undefined;
16
20
  memory?: MetricSample | null | undefined;
@@ -33,6 +37,7 @@ export type ManagedRuntimeUnitStatus = {
33
37
  /** @internal */
34
38
  export type ManagedRuntimeUnitStatus$Outbound = {
35
39
  cpu?: MetricSample$Outbound | null | undefined;
40
+ image?: string | null | undefined;
36
41
  ip?: string | null | undefined;
37
42
  machineId?: string | null | undefined;
38
43
  memory?: MetricSample$Outbound | null | undefined;
@@ -58,6 +63,7 @@ export const ManagedRuntimeUnitStatus$outboundSchema: z.ZodType<
58
63
  ManagedRuntimeUnitStatus
59
64
  > = z.object({
60
65
  cpu: z.nullable(MetricSample$outboundSchema).optional(),
66
+ image: z.nullable(z.string()).optional(),
61
67
  ip: z.nullable(z.string()).optional(),
62
68
  machineId: z.nullable(z.string()).optional(),
63
69
  memory: z.nullable(MetricSample$outboundSchema).optional(),
@@ -3,6 +3,11 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4";
6
+ import {
7
+ GcpFederationTrust,
8
+ GcpFederationTrust$Outbound,
9
+ GcpFederationTrust$outboundSchema,
10
+ } from "./gcpfederationtrust.js";
6
11
 
7
12
  /**
8
13
  * Kubernetes management configuration (minimal for now)
@@ -34,8 +39,9 @@ export type ManagementConfigAzure = {
34
39
  * GCP management configuration
35
40
  */
36
41
  export type ManagementConfigGcp = {
42
+ federationTrust?: GcpFederationTrust | null | undefined;
37
43
  /**
38
- * Service account email for management roles
44
+ * Linked source account metadata; never a direct target trust grant.
39
45
  */
40
46
  serviceAccountEmail: string;
41
47
  platform: "gcp";
@@ -116,6 +122,7 @@ export function managementConfigAzureToJSON(
116
122
 
117
123
  /** @internal */
118
124
  export type ManagementConfigGcp$Outbound = {
125
+ federationTrust?: GcpFederationTrust$Outbound | null | undefined;
119
126
  serviceAccountEmail: string;
120
127
  platform: "gcp";
121
128
  };
@@ -125,6 +132,7 @@ export const ManagementConfigGcp$outboundSchema: z.ZodType<
125
132
  ManagementConfigGcp$Outbound,
126
133
  ManagementConfigGcp
127
134
  > = z.object({
135
+ federationTrust: z.nullable(GcpFederationTrust$outboundSchema).optional(),
128
136
  serviceAccountEmail: z.string(),
129
137
  platform: z.literal("gcp"),
130
138
  });
@@ -0,0 +1,16 @@
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
+ export const SetupHandoff = {
9
+ Immediate: "immediate",
10
+ AwaitRegistration: "await-registration",
11
+ } as const;
12
+ export type SetupHandoff = ClosedEnum<typeof SetupHandoff>;
13
+
14
+ /** @internal */
15
+ export const SetupHandoff$outboundSchema: z.ZodEnum<typeof SetupHandoff> = z
16
+ .enum(SetupHandoff);