@alienplatform/manager-api 3.3.37 → 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.
- package/FUNCTIONS.md +1 -1
- package/esm/hooks/hooks.d.ts.map +1 -1
- package/esm/hooks/hooks.js +2 -0
- package/esm/hooks/hooks.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/acquirerequest.d.ts +5 -0
- package/esm/models/acquirerequest.d.ts.map +1 -1
- package/esm/models/acquirerequest.js +1 -0
- package/esm/models/acquirerequest.js.map +1 -1
- package/esm/models/agentsyncrequest.d.ts +5 -0
- package/esm/models/agentsyncrequest.d.ts.map +1 -1
- package/esm/models/agentsyncrequest.js +1 -0
- package/esm/models/agentsyncrequest.js.map +1 -1
- package/esm/models/createdeploymentrequest.d.ts +9 -0
- package/esm/models/createdeploymentrequest.d.ts.map +1 -1
- package/esm/models/createdeploymentrequest.js +5 -0
- package/esm/models/createdeploymentrequest.js.map +1 -1
- package/esm/models/deploymentresponse.d.ts +1 -5
- package/esm/models/deploymentresponse.d.ts.map +1 -1
- package/esm/models/deploymentresponse.js.map +1 -1
- package/esm/models/externalbindingunion.d.ts +56 -4
- package/esm/models/externalbindingunion.d.ts.map +1 -1
- package/esm/models/externalbindingunion.js +35 -0
- package/esm/models/externalbindingunion.js.map +1 -1
- package/esm/models/gcpfederationtrust.d.ts +23 -0
- package/esm/models/gcpfederationtrust.d.ts.map +1 -0
- package/esm/models/gcpfederationtrust.js +13 -0
- package/esm/models/gcpfederationtrust.js.map +1 -0
- package/esm/models/index.d.ts +2 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +2 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/managementconfig.d.ts +4 -1
- package/esm/models/managementconfig.d.ts.map +1 -1
- package/esm/models/managementconfig.js +2 -0
- package/esm/models/managementconfig.js.map +1 -1
- package/esm/models/setuphandoff.d.ts +10 -0
- package/esm/models/setuphandoff.d.ts.map +1 -0
- package/esm/models/setuphandoff.js +12 -0
- package/esm/models/setuphandoff.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/hooks/hooks.ts +3 -0
- package/src/lib/config.ts +2 -2
- package/src/models/acquirerequest.ts +6 -0
- package/src/models/agentsyncrequest.ts +6 -0
- package/src/models/createdeploymentrequest.ts +13 -0
- package/src/models/deploymentresponse.ts +1 -5
- package/src/models/externalbindingunion.ts +107 -2
- package/src/models/gcpfederationtrust.ts +42 -0
- package/src/models/index.ts +2 -0
- package/src/models/managementconfig.ts +9 -1
- package/src/models/setuphandoff.ts +16 -0
|
@@ -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
|
-
*
|
|
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
|
+
}
|
package/src/models/index.ts
CHANGED
|
@@ -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";
|
|
@@ -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
|
-
*
|
|
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);
|