@alienplatform/manager-api 3.3.42 → 3.3.44
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/esm/funcs/deploymentsDeleteDeployment.js +2 -2
- package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/deletedeploymentaction.d.ts +2 -0
- package/esm/models/deletedeploymentaction.d.ts.map +1 -1
- package/esm/models/deletedeploymentaction.js +2 -0
- package/esm/models/deletedeploymentaction.js.map +1 -1
- package/esm/models/externalbindingunion.d.ts +122 -28
- package/esm/models/externalbindingunion.d.ts.map +1 -1
- package/esm/models/externalbindingunion.js +106 -22
- package/esm/models/externalbindingunion.js.map +1 -1
- package/esm/models/externalpasswordsecretkeyref.d.ts +21 -0
- package/esm/models/externalpasswordsecretkeyref.d.ts.map +1 -0
- package/esm/models/externalpasswordsecretkeyref.js +21 -0
- package/esm/models/externalpasswordsecretkeyref.js.map +1 -0
- package/esm/models/externalpasswordsecretref.d.ts +21 -0
- package/esm/models/externalpasswordsecretref.d.ts.map +1 -0
- package/esm/models/externalpasswordsecretref.js +21 -0
- package/esm/models/externalpasswordsecretref.js.map +1 -0
- package/esm/models/healthresponse.d.ts +8 -0
- package/esm/models/healthresponse.d.ts.map +1 -1
- package/esm/models/healthresponse.js +2 -0
- package/esm/models/healthresponse.js.map +1 -1
- package/esm/models/helmrelease.d.ts +23 -0
- package/esm/models/helmrelease.d.ts.map +1 -0
- package/esm/models/helmrelease.js +13 -0
- package/esm/models/helmrelease.js.map +1 -0
- package/esm/models/index.d.ts +3 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +3 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/initializerequest.d.ts +3 -0
- package/esm/models/initializerequest.d.ts.map +1 -1
- package/esm/models/initializerequest.js +2 -0
- package/esm/models/initializerequest.js.map +1 -1
- package/esm/models/kubernetesexposuresettings.d.ts +33 -2
- package/esm/models/kubernetesexposuresettings.d.ts.map +1 -1
- package/esm/models/kubernetesexposuresettings.js +22 -0
- package/esm/models/kubernetesexposuresettings.js.map +1 -1
- package/esm/models/stackresourcestate.d.ts +9 -0
- package/esm/models/stackresourcestate.d.ts.map +1 -1
- package/esm/models/stackresourcestate.js +3 -0
- package/esm/models/stackresourcestate.js.map +1 -1
- package/esm/models/stacksettings.d.ts +8 -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/esm/models/statusreport.d.ts +11 -0
- package/esm/models/statusreport.d.ts.map +1 -1
- package/esm/models/statusreport.js +3 -0
- package/esm/models/statusreport.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/deploymentsDeleteDeployment.ts +2 -2
- package/src/lib/config.ts +2 -2
- package/src/models/deletedeploymentaction.ts +2 -0
- package/src/models/externalbindingunion.ts +273 -42
- package/src/models/externalpasswordsecretkeyref.ts +60 -0
- package/src/models/externalpasswordsecretref.ts +58 -0
- package/src/models/healthresponse.ts +10 -0
- package/src/models/helmrelease.ts +38 -0
- package/src/models/index.ts +3 -0
- package/src/models/initializerequest.ts +8 -0
- package/src/models/kubernetesexposuresettings.ts +79 -2
- package/src/models/stackresourcestate.ts +12 -0
- package/src/models/stacksettings.ts +10 -0
- package/src/models/statusreport.ts +17 -0
|
@@ -0,0 +1,38 @@
|
|
|
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 Helm release, identified by its name and namespace.
|
|
9
|
+
*/
|
|
10
|
+
export type HelmRelease = {
|
|
11
|
+
/**
|
|
12
|
+
* Release name, as passed to `helm install`.
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Kubernetes namespace the release is installed in.
|
|
17
|
+
*/
|
|
18
|
+
namespace: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type HelmRelease$Outbound = {
|
|
23
|
+
name: string;
|
|
24
|
+
namespace: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const HelmRelease$outboundSchema: z.ZodType<
|
|
29
|
+
HelmRelease$Outbound,
|
|
30
|
+
HelmRelease
|
|
31
|
+
> = z.object({
|
|
32
|
+
name: z.string(),
|
|
33
|
+
namespace: z.string(),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function helmReleaseToJSON(helmRelease: HelmRelease): string {
|
|
37
|
+
return JSON.stringify(HelmRelease$outboundSchema.parse(helmRelease));
|
|
38
|
+
}
|
package/src/models/index.ts
CHANGED
|
@@ -104,6 +104,8 @@ export * from "./environmentvariabletype.js";
|
|
|
104
104
|
export * from "./executionclaim.js";
|
|
105
105
|
export * from "./exposeprotocol.js";
|
|
106
106
|
export * from "./externalbindingunion.js";
|
|
107
|
+
export * from "./externalpasswordsecretkeyref.js";
|
|
108
|
+
export * from "./externalpasswordsecretref.js";
|
|
107
109
|
export * from "./externalpostgressslmode.js";
|
|
108
110
|
export * from "./failuredomainselection.js";
|
|
109
111
|
export * from "./gcpcloudkmskeyheartbeatdata.js";
|
|
@@ -118,6 +120,7 @@ export * from "./heartbeatcollectionissue.js";
|
|
|
118
120
|
export * from "./heartbeatcollectionissuereason.js";
|
|
119
121
|
export * from "./heartbeatissueseverity.js";
|
|
120
122
|
export * from "./heartbeatsmode.js";
|
|
123
|
+
export * from "./helmrelease.js";
|
|
121
124
|
export * from "./horizonworkloadschedulingmode.js";
|
|
122
125
|
export * from "./importedresource.js";
|
|
123
126
|
export * from "./importsourcekind.js";
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
|
+
import {
|
|
7
|
+
HelmRelease,
|
|
8
|
+
HelmRelease$Outbound,
|
|
9
|
+
HelmRelease$outboundSchema,
|
|
10
|
+
} from "./helmrelease.js";
|
|
6
11
|
import {
|
|
7
12
|
InitialDesiredRelease,
|
|
8
13
|
InitialDesiredRelease$outboundSchema,
|
|
@@ -16,6 +21,7 @@ import {
|
|
|
16
21
|
|
|
17
22
|
export type InitializeRequest = {
|
|
18
23
|
basePlatform?: PlatformEnum | null | undefined;
|
|
24
|
+
helmRelease?: HelmRelease | null | undefined;
|
|
19
25
|
initialDesiredRelease: InitialDesiredRelease;
|
|
20
26
|
/**
|
|
21
27
|
* Deployer-provided stack inputs. Embedded platform managers resolve
|
|
@@ -54,6 +60,7 @@ export type InitializeRequest = {
|
|
|
54
60
|
/** @internal */
|
|
55
61
|
export type InitializeRequest$Outbound = {
|
|
56
62
|
basePlatform?: string | null | undefined;
|
|
63
|
+
helmRelease?: HelmRelease$Outbound | null | undefined;
|
|
57
64
|
initialDesiredRelease: string;
|
|
58
65
|
inputValues?: { [k: string]: any } | undefined;
|
|
59
66
|
name?: string | null | undefined;
|
|
@@ -73,6 +80,7 @@ export const InitializeRequest$outboundSchema: z.ZodType<
|
|
|
73
80
|
InitializeRequest
|
|
74
81
|
> = z.object({
|
|
75
82
|
basePlatform: z.nullable(PlatformEnum$outboundSchema).optional(),
|
|
83
|
+
helmRelease: z.nullable(HelmRelease$outboundSchema).optional(),
|
|
76
84
|
initialDesiredRelease: InitialDesiredRelease$outboundSchema,
|
|
77
85
|
inputValues: z.record(z.string(), z.any()).optional(),
|
|
78
86
|
name: z.nullable(z.string()).optional(),
|
|
@@ -19,6 +19,25 @@ import {
|
|
|
19
19
|
KubernetesRouteProfile$outboundSchema,
|
|
20
20
|
} from "./kubernetesrouteprofile.js";
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Give each named public endpoint a hostname below a customer-owned base domain.
|
|
24
|
+
*/
|
|
25
|
+
export type KubernetesExposureSettingsCustomBaseDomain = {
|
|
26
|
+
/**
|
|
27
|
+
* DNS name without a wildcard or URL scheme, for example `app.example.com`.
|
|
28
|
+
*/
|
|
29
|
+
baseDomain: string;
|
|
30
|
+
/**
|
|
31
|
+
* Certificate publication or reference mode for Kubernetes public endpoints.
|
|
32
|
+
*/
|
|
33
|
+
certificate: KubernetesCertificateMode;
|
|
34
|
+
mode: "customBaseDomain";
|
|
35
|
+
/**
|
|
36
|
+
* Kubernetes route API selected for public endpoints.
|
|
37
|
+
*/
|
|
38
|
+
route: KubernetesRouteProfile;
|
|
39
|
+
};
|
|
40
|
+
|
|
22
41
|
/**
|
|
23
42
|
* Use a customer hostname and customer-owned certificate reference.
|
|
24
43
|
*/
|
|
@@ -66,7 +85,62 @@ export type KubernetesExposureSettingsDisabled = {
|
|
|
66
85
|
export type KubernetesExposureSettings =
|
|
67
86
|
| KubernetesExposureSettingsDisabled
|
|
68
87
|
| KubernetesExposureSettingsGenerated
|
|
69
|
-
| KubernetesExposureSettingsCustom
|
|
88
|
+
| KubernetesExposureSettingsCustom
|
|
89
|
+
| KubernetesExposureSettingsCustomBaseDomain;
|
|
90
|
+
|
|
91
|
+
/** @internal */
|
|
92
|
+
export const KubernetesExposureSettingsCustomBaseDomain$inboundSchema:
|
|
93
|
+
z.ZodType<KubernetesExposureSettingsCustomBaseDomain, unknown> = z.object({
|
|
94
|
+
baseDomain: z.string(),
|
|
95
|
+
certificate: KubernetesCertificateMode$inboundSchema,
|
|
96
|
+
mode: z.literal("customBaseDomain"),
|
|
97
|
+
route: KubernetesRouteProfile$inboundSchema,
|
|
98
|
+
});
|
|
99
|
+
/** @internal */
|
|
100
|
+
export type KubernetesExposureSettingsCustomBaseDomain$Outbound = {
|
|
101
|
+
baseDomain: string;
|
|
102
|
+
certificate: KubernetesCertificateMode$Outbound;
|
|
103
|
+
mode: "customBaseDomain";
|
|
104
|
+
route: KubernetesRouteProfile$Outbound;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/** @internal */
|
|
108
|
+
export const KubernetesExposureSettingsCustomBaseDomain$outboundSchema:
|
|
109
|
+
z.ZodType<
|
|
110
|
+
KubernetesExposureSettingsCustomBaseDomain$Outbound,
|
|
111
|
+
KubernetesExposureSettingsCustomBaseDomain
|
|
112
|
+
> = z.object({
|
|
113
|
+
baseDomain: z.string(),
|
|
114
|
+
certificate: KubernetesCertificateMode$outboundSchema,
|
|
115
|
+
mode: z.literal("customBaseDomain"),
|
|
116
|
+
route: KubernetesRouteProfile$outboundSchema,
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
export function kubernetesExposureSettingsCustomBaseDomainToJSON(
|
|
120
|
+
kubernetesExposureSettingsCustomBaseDomain:
|
|
121
|
+
KubernetesExposureSettingsCustomBaseDomain,
|
|
122
|
+
): string {
|
|
123
|
+
return JSON.stringify(
|
|
124
|
+
KubernetesExposureSettingsCustomBaseDomain$outboundSchema.parse(
|
|
125
|
+
kubernetesExposureSettingsCustomBaseDomain,
|
|
126
|
+
),
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
export function kubernetesExposureSettingsCustomBaseDomainFromJSON(
|
|
130
|
+
jsonString: string,
|
|
131
|
+
): SafeParseResult<
|
|
132
|
+
KubernetesExposureSettingsCustomBaseDomain,
|
|
133
|
+
SDKValidationError
|
|
134
|
+
> {
|
|
135
|
+
return safeParse(
|
|
136
|
+
jsonString,
|
|
137
|
+
(x) =>
|
|
138
|
+
KubernetesExposureSettingsCustomBaseDomain$inboundSchema.parse(
|
|
139
|
+
JSON.parse(x),
|
|
140
|
+
),
|
|
141
|
+
`Failed to parse 'KubernetesExposureSettingsCustomBaseDomain' from JSON`,
|
|
142
|
+
);
|
|
143
|
+
}
|
|
70
144
|
|
|
71
145
|
/** @internal */
|
|
72
146
|
export const KubernetesExposureSettingsCustom$inboundSchema: z.ZodType<
|
|
@@ -210,12 +284,14 @@ export const KubernetesExposureSettings$inboundSchema: z.ZodType<
|
|
|
210
284
|
z.lazy(() => KubernetesExposureSettingsDisabled$inboundSchema),
|
|
211
285
|
z.lazy(() => KubernetesExposureSettingsGenerated$inboundSchema),
|
|
212
286
|
z.lazy(() => KubernetesExposureSettingsCustom$inboundSchema),
|
|
287
|
+
z.lazy(() => KubernetesExposureSettingsCustomBaseDomain$inboundSchema),
|
|
213
288
|
]);
|
|
214
289
|
/** @internal */
|
|
215
290
|
export type KubernetesExposureSettings$Outbound =
|
|
216
291
|
| KubernetesExposureSettingsDisabled$Outbound
|
|
217
292
|
| KubernetesExposureSettingsGenerated$Outbound
|
|
218
|
-
| KubernetesExposureSettingsCustom$Outbound
|
|
293
|
+
| KubernetesExposureSettingsCustom$Outbound
|
|
294
|
+
| KubernetesExposureSettingsCustomBaseDomain$Outbound;
|
|
219
295
|
|
|
220
296
|
/** @internal */
|
|
221
297
|
export const KubernetesExposureSettings$outboundSchema: z.ZodType<
|
|
@@ -225,6 +301,7 @@ export const KubernetesExposureSettings$outboundSchema: z.ZodType<
|
|
|
225
301
|
z.lazy(() => KubernetesExposureSettingsDisabled$outboundSchema),
|
|
226
302
|
z.lazy(() => KubernetesExposureSettingsGenerated$outboundSchema),
|
|
227
303
|
z.lazy(() => KubernetesExposureSettingsCustom$outboundSchema),
|
|
304
|
+
z.lazy(() => KubernetesExposureSettingsCustomBaseDomain$outboundSchema),
|
|
228
305
|
]);
|
|
229
306
|
|
|
230
307
|
export function kubernetesExposureSettingsToJSON(
|
|
@@ -48,6 +48,11 @@ export type StackResourceState = {
|
|
|
48
48
|
* This preserves the full dependency information from the stack definition.
|
|
49
49
|
*/
|
|
50
50
|
dependencies?: Array<ResourceRef> | undefined;
|
|
51
|
+
description?: string | null | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Presentation metadata from the effective resource entry, outside runtime configuration.
|
|
54
|
+
*/
|
|
55
|
+
displayName?: string | null | undefined;
|
|
51
56
|
error?: AlienError | null | undefined;
|
|
52
57
|
/**
|
|
53
58
|
* Stores the controller state that failed, used for manual retry operations.
|
|
@@ -60,6 +65,10 @@ export type StackResourceState = {
|
|
|
60
65
|
lifecycle?: ResourceLifecycle | null | undefined;
|
|
61
66
|
outputs?: BaseResourceOutputs | null | undefined;
|
|
62
67
|
previousConfig?: BaseResource | null | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Last reported step explanation for display only; not a machine-readable status.
|
|
70
|
+
*/
|
|
71
|
+
progress?: string | null | undefined;
|
|
63
72
|
/**
|
|
64
73
|
* Binding parameters for remote access.
|
|
65
74
|
*
|
|
@@ -92,11 +101,14 @@ export const StackResourceState$inboundSchema: z.ZodType<
|
|
|
92
101
|
config: BaseResource$inboundSchema,
|
|
93
102
|
controllerPlatform: z.nullable(PlatformEnum$inboundSchema).optional(),
|
|
94
103
|
dependencies: z.array(ResourceRef$inboundSchema).optional(),
|
|
104
|
+
description: z.nullable(z.string()).optional(),
|
|
105
|
+
displayName: z.nullable(z.string()).optional(),
|
|
95
106
|
error: z.nullable(AlienError$inboundSchema).optional(),
|
|
96
107
|
lastFailedState: z.any().optional(),
|
|
97
108
|
lifecycle: z.nullable(ResourceLifecycle$inboundSchema).optional(),
|
|
98
109
|
outputs: z.nullable(BaseResourceOutputs$inboundSchema).optional(),
|
|
99
110
|
previousConfig: z.nullable(BaseResource$inboundSchema).optional(),
|
|
111
|
+
progress: z.nullable(z.string()).optional(),
|
|
100
112
|
remoteBindingParams: z.any().optional(),
|
|
101
113
|
retryAttempt: z.int().optional(),
|
|
102
114
|
status: ResourceStatus$inboundSchema,
|
|
@@ -80,6 +80,13 @@ import {
|
|
|
80
80
|
* is platform-derived (from the Manager's ServiceAccount).
|
|
81
81
|
*/
|
|
82
82
|
export type StackSettings = {
|
|
83
|
+
/**
|
|
84
|
+
* Deliver Kubernetes updates and reports as carried bundles instead of a live connection.
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* The Operator still executes deployments with the pull model.
|
|
88
|
+
*/
|
|
89
|
+
airgapped?: boolean | undefined;
|
|
83
90
|
compute?: ComputeSettings | null | undefined;
|
|
84
91
|
/**
|
|
85
92
|
* Deployment model: how updates are delivered to the remote environment.
|
|
@@ -132,6 +139,7 @@ export type StackSettings = {
|
|
|
132
139
|
/** @internal */
|
|
133
140
|
export const StackSettings$inboundSchema: z.ZodType<StackSettings, unknown> = z
|
|
134
141
|
.object({
|
|
142
|
+
airgapped: z.boolean().optional(),
|
|
135
143
|
compute: z.nullable(ComputeSettings$inboundSchema).optional(),
|
|
136
144
|
deploymentModel: DeploymentModel$inboundSchema.optional(),
|
|
137
145
|
domains: z.nullable(DomainSettings$inboundSchema).optional(),
|
|
@@ -152,6 +160,7 @@ export const StackSettings$inboundSchema: z.ZodType<StackSettings, unknown> = z
|
|
|
152
160
|
});
|
|
153
161
|
/** @internal */
|
|
154
162
|
export type StackSettings$Outbound = {
|
|
163
|
+
airgapped?: boolean | undefined;
|
|
155
164
|
compute?: ComputeSettings$Outbound | null | undefined;
|
|
156
165
|
deploymentModel?: string | undefined;
|
|
157
166
|
domains?: DomainSettings$Outbound | null | undefined;
|
|
@@ -175,6 +184,7 @@ export const StackSettings$outboundSchema: z.ZodType<
|
|
|
175
184
|
StackSettings$Outbound,
|
|
176
185
|
StackSettings
|
|
177
186
|
> = z.object({
|
|
187
|
+
airgapped: z.boolean().optional(),
|
|
178
188
|
compute: z.nullable(ComputeSettings$outboundSchema).optional(),
|
|
179
189
|
deploymentModel: DeploymentModel$outboundSchema.optional(),
|
|
180
190
|
domains: z.nullable(DomainSettings$outboundSchema).optional(),
|
|
@@ -8,8 +8,17 @@ import {
|
|
|
8
8
|
ReportedTelemetry$Outbound,
|
|
9
9
|
ReportedTelemetry$outboundSchema,
|
|
10
10
|
} from "./reportedtelemetry.js";
|
|
11
|
+
import {
|
|
12
|
+
ResourceHeartbeat,
|
|
13
|
+
ResourceHeartbeat$Outbound,
|
|
14
|
+
ResourceHeartbeat$outboundSchema,
|
|
15
|
+
} from "./resourceheartbeat.js";
|
|
11
16
|
|
|
12
17
|
export type StatusReport = {
|
|
18
|
+
/**
|
|
19
|
+
* Resource observations captured by the Operator alongside this state.
|
|
20
|
+
*/
|
|
21
|
+
heartbeats?: Array<ResourceHeartbeat> | undefined;
|
|
13
22
|
/**
|
|
14
23
|
* Deployment state as the environment's Operator last recorded it.
|
|
15
24
|
*/
|
|
@@ -18,12 +27,18 @@ export type StatusReport = {
|
|
|
18
27
|
* Telemetry the Operator buffered, as the OTLP batches it received.
|
|
19
28
|
*/
|
|
20
29
|
telemetry?: Array<ReportedTelemetry> | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Site clock time when the report was written. Older clients omit it.
|
|
32
|
+
*/
|
|
33
|
+
writtenAt?: Date | null | undefined;
|
|
21
34
|
};
|
|
22
35
|
|
|
23
36
|
/** @internal */
|
|
24
37
|
export type StatusReport$Outbound = {
|
|
38
|
+
heartbeats?: Array<ResourceHeartbeat$Outbound> | undefined;
|
|
25
39
|
state: { [k: string]: any };
|
|
26
40
|
telemetry?: Array<ReportedTelemetry$Outbound> | undefined;
|
|
41
|
+
writtenAt?: string | null | undefined;
|
|
27
42
|
};
|
|
28
43
|
|
|
29
44
|
/** @internal */
|
|
@@ -31,8 +46,10 @@ export const StatusReport$outboundSchema: z.ZodType<
|
|
|
31
46
|
StatusReport$Outbound,
|
|
32
47
|
StatusReport
|
|
33
48
|
> = z.object({
|
|
49
|
+
heartbeats: z.array(ResourceHeartbeat$outboundSchema).optional(),
|
|
34
50
|
state: z.record(z.string(), z.any()),
|
|
35
51
|
telemetry: z.array(ReportedTelemetry$outboundSchema).optional(),
|
|
52
|
+
writtenAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
36
53
|
});
|
|
37
54
|
|
|
38
55
|
export function statusReportToJSON(statusReport: StatusReport): string {
|