@alienplatform/manager-api 3.3.42 → 3.3.43
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 +92 -23
- package/esm/models/externalbindingunion.d.ts.map +1 -1
- package/esm/models/externalbindingunion.js +58 -20
- package/esm/models/externalbindingunion.js.map +1 -1
- 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 +1 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +1 -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/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/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 +158 -35
- package/src/models/healthresponse.ts +10 -0
- package/src/models/helmrelease.ts +38 -0
- package/src/models/index.ts +1 -0
- package/src/models/initializerequest.ts +8 -0
- package/src/models/stackresourcestate.ts +12 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initializerequest.js","sourceRoot":"","sources":["../../src/models/initializerequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAEL,oCAAoC,GACrC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAgB,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EAGL,4BAA4B,GAC7B,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"initializerequest.js","sourceRoot":"","sources":["../../src/models/initializerequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAGL,0BAA0B,GAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEL,oCAAoC,GACrC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAgB,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EAGL,4BAA4B,GAC7B,MAAM,oBAAoB,CAAC;AAyD5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC,QAAQ,EAAE;IAChE,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC,QAAQ,EAAE;IAC9D,qBAAqB,EAAE,oCAAoC;IAC3D,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrD,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC,QAAQ,EAAE;IAC5D,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACjD,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -32,6 +32,11 @@ export type StackResourceState = {
|
|
|
32
32
|
* This preserves the full dependency information from the stack definition.
|
|
33
33
|
*/
|
|
34
34
|
dependencies?: Array<ResourceRef> | undefined;
|
|
35
|
+
description?: string | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Presentation metadata from the effective resource entry, outside runtime configuration.
|
|
38
|
+
*/
|
|
39
|
+
displayName?: string | null | undefined;
|
|
35
40
|
error?: AlienError | null | undefined;
|
|
36
41
|
/**
|
|
37
42
|
* Stores the controller state that failed, used for manual retry operations.
|
|
@@ -44,6 +49,10 @@ export type StackResourceState = {
|
|
|
44
49
|
lifecycle?: ResourceLifecycle | null | undefined;
|
|
45
50
|
outputs?: BaseResourceOutputs | null | undefined;
|
|
46
51
|
previousConfig?: BaseResource | null | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Last reported step explanation for display only; not a machine-readable status.
|
|
54
|
+
*/
|
|
55
|
+
progress?: string | null | undefined;
|
|
47
56
|
/**
|
|
48
57
|
* Binding parameters for remote access.
|
|
49
58
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stackresourcestate.d.ts","sourceRoot":"","sources":["../../src/models/stackresourcestate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,EAAE,YAAY,CAAC;IACrB,kBAAkB,CAAC,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;IACrD;;;;;OAKG;IACH,YAAY,CAAC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ACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -17,11 +17,14 @@ export const StackResourceState$inboundSchema = z.object({
|
|
|
17
17
|
config: BaseResource$inboundSchema,
|
|
18
18
|
controllerPlatform: z.nullable(PlatformEnum$inboundSchema).optional(),
|
|
19
19
|
dependencies: z.array(ResourceRef$inboundSchema).optional(),
|
|
20
|
+
description: z.nullable(z.string()).optional(),
|
|
21
|
+
displayName: z.nullable(z.string()).optional(),
|
|
20
22
|
error: z.nullable(AlienError$inboundSchema).optional(),
|
|
21
23
|
lastFailedState: z.any().optional(),
|
|
22
24
|
lifecycle: z.nullable(ResourceLifecycle$inboundSchema).optional(),
|
|
23
25
|
outputs: z.nullable(BaseResourceOutputs$inboundSchema).optional(),
|
|
24
26
|
previousConfig: z.nullable(BaseResource$inboundSchema).optional(),
|
|
27
|
+
progress: z.nullable(z.string()).optional(),
|
|
25
28
|
remoteBindingParams: z.any().optional(),
|
|
26
29
|
retryAttempt: z.int().optional(),
|
|
27
30
|
status: ResourceStatus$inboundSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stackresourcestate.js","sourceRoot":"","sources":["../../src/models/stackresourcestate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAc,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAgB,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAEL,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAgB,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAEL,+BAA+B,GAChC,MAAM,wBAAw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M,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,QAAQ,EAAE;IACtD,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,+BAA+B,CAAC,CAAC,QAAQ,EAAE;IACjE,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC,CAAC,QAAQ,EAAE;IACjE,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC,QAAQ,EAAE;IACjE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,mBAAmB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACvC,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,4BAA4B;IACpC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -140,7 +140,7 @@ async function $do(
|
|
|
140
140
|
|
|
141
141
|
const doResult = await client._do(req, {
|
|
142
142
|
context,
|
|
143
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
143
|
+
errorCodes: ["401", "403", "404", "409", "4XX", "5XX"],
|
|
144
144
|
retryConfig: context.retryConfig,
|
|
145
145
|
retryCodes: context.retryCodes,
|
|
146
146
|
});
|
|
@@ -161,7 +161,7 @@ async function $do(
|
|
|
161
161
|
| SDKValidationError
|
|
162
162
|
>(
|
|
163
163
|
M.json(202, models.DeleteDeploymentResponse$inboundSchema),
|
|
164
|
-
M.fail([401, 403, 404, "4XX"]),
|
|
164
|
+
M.fail([401, 403, 404, 409, "4XX"]),
|
|
165
165
|
M.fail("5XX"),
|
|
166
166
|
)(response, req);
|
|
167
167
|
if (!result.ok) {
|
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.
|
|
61
|
+
sdkVersion: "3.3.43",
|
|
62
62
|
genVersion: "2.788.15",
|
|
63
63
|
userAgent:
|
|
64
|
-
"speakeasy-sdk/typescript 3.3.
|
|
64
|
+
"speakeasy-sdk/typescript 3.3.43 2.788.15 1.0.0 @alienplatform/manager-api",
|
|
65
65
|
} as const;
|
|
@@ -66,10 +66,10 @@ export type ExternalBindingAi = {
|
|
|
66
66
|
type: TypeAi;
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
export const
|
|
69
|
+
export const TypePostgres6 = {
|
|
70
70
|
Postgres: "postgres",
|
|
71
71
|
} as const;
|
|
72
|
-
export type
|
|
72
|
+
export type TypePostgres6 = ClosedEnum<typeof TypePostgres6>;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* Local embedded Postgres process.
|
|
@@ -105,13 +105,13 @@ export type ExternalBindingLocalPostgres = {
|
|
|
105
105
|
*/
|
|
106
106
|
username: BindingValueStringUnion;
|
|
107
107
|
service: "local-postgres";
|
|
108
|
-
type:
|
|
108
|
+
type: TypePostgres6;
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export const
|
|
111
|
+
export const TypePostgres5 = {
|
|
112
112
|
Postgres: "postgres",
|
|
113
113
|
} as const;
|
|
114
|
-
export type
|
|
114
|
+
export type TypePostgres5 = ClosedEnum<typeof TypePostgres5>;
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* Operator-provided / BYO database (Kubernetes, on-prem, or cloud override).
|
|
@@ -163,13 +163,13 @@ export type ExternalBindingExternal = {
|
|
|
163
163
|
*/
|
|
164
164
|
username: BindingValueStringUnion;
|
|
165
165
|
service: "external";
|
|
166
|
-
type:
|
|
166
|
+
type: TypePostgres5;
|
|
167
167
|
};
|
|
168
168
|
|
|
169
|
-
export const
|
|
169
|
+
export const TypePostgres4 = {
|
|
170
170
|
Postgres: "postgres",
|
|
171
171
|
} as const;
|
|
172
|
-
export type
|
|
172
|
+
export type TypePostgres4 = ClosedEnum<typeof TypePostgres4>;
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
175
|
* Azure Database for PostgreSQL — Flexible Server (host + secret URI).
|
|
@@ -211,13 +211,13 @@ export type ExternalBindingFlexibleServer = {
|
|
|
211
211
|
*/
|
|
212
212
|
username: BindingValueStringUnion;
|
|
213
213
|
service: "flexible-server";
|
|
214
|
-
type:
|
|
214
|
+
type: TypePostgres4;
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
export const
|
|
217
|
+
export const TypePostgres3 = {
|
|
218
218
|
Postgres: "postgres",
|
|
219
219
|
} as const;
|
|
220
|
-
export type
|
|
220
|
+
export type TypePostgres3 = ClosedEnum<typeof TypePostgres3>;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* GCP Cloud SQL (host + secret name).
|
|
@@ -266,6 +266,57 @@ export type ExternalBindingCloudSQL = {
|
|
|
266
266
|
*/
|
|
267
267
|
username: BindingValueStringUnion;
|
|
268
268
|
service: "cloud-sql";
|
|
269
|
+
type: TypePostgres3;
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
export const TypePostgres2 = {
|
|
273
|
+
Postgres: "postgres",
|
|
274
|
+
} as const;
|
|
275
|
+
export type TypePostgres2 = ClosedEnum<typeof TypePostgres2>;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Aurora-managed JSON credentials. Separate tag makes older readers reject
|
|
279
|
+
*
|
|
280
|
+
* @remarks
|
|
281
|
+
* this binding rather than treating the JSON document as a raw password.
|
|
282
|
+
*/
|
|
283
|
+
export type ExternalBindingAuroraManaged = {
|
|
284
|
+
/**
|
|
285
|
+
* Represents a value that can be either a concrete value, a template expression,
|
|
286
|
+
*
|
|
287
|
+
* @remarks
|
|
288
|
+
* or a reference to a Kubernetes Secret
|
|
289
|
+
*/
|
|
290
|
+
clusterEndpoint: BindingValueStringUnion;
|
|
291
|
+
/**
|
|
292
|
+
* Represents a value that can be either a concrete value, a template expression,
|
|
293
|
+
*
|
|
294
|
+
* @remarks
|
|
295
|
+
* or a reference to a Kubernetes Secret
|
|
296
|
+
*/
|
|
297
|
+
database: BindingValueStringUnion;
|
|
298
|
+
/**
|
|
299
|
+
* Represents a value that can be either a concrete value, a template expression,
|
|
300
|
+
*
|
|
301
|
+
* @remarks
|
|
302
|
+
* or a reference to a Kubernetes Secret
|
|
303
|
+
*/
|
|
304
|
+
passwordSecretArn: BindingValueStringUnion;
|
|
305
|
+
/**
|
|
306
|
+
* Represents a value that can be either a concrete value, a template expression,
|
|
307
|
+
*
|
|
308
|
+
* @remarks
|
|
309
|
+
* or a reference to a Kubernetes Secret
|
|
310
|
+
*/
|
|
311
|
+
port: BindingValueU16Union;
|
|
312
|
+
/**
|
|
313
|
+
* Represents a value that can be either a concrete value, a template expression,
|
|
314
|
+
*
|
|
315
|
+
* @remarks
|
|
316
|
+
* or a reference to a Kubernetes Secret
|
|
317
|
+
*/
|
|
318
|
+
username: BindingValueStringUnion;
|
|
319
|
+
service: "aurora-managed";
|
|
269
320
|
type: TypePostgres2;
|
|
270
321
|
};
|
|
271
322
|
|
|
@@ -322,6 +373,7 @@ export type ExternalBindingAurora = {
|
|
|
322
373
|
*/
|
|
323
374
|
export type ExternalBindingUnion6 =
|
|
324
375
|
| ExternalBindingAurora
|
|
376
|
+
| ExternalBindingAuroraManaged
|
|
325
377
|
| ExternalBindingCloudSQL
|
|
326
378
|
| ExternalBindingFlexibleServer
|
|
327
379
|
| ExternalBindingExternal
|
|
@@ -1031,6 +1083,7 @@ export type ExternalBindingUnion =
|
|
|
1031
1083
|
| ExternalBindingKubernetesSecret
|
|
1032
1084
|
| ExternalBindingLocalVault
|
|
1033
1085
|
| ExternalBindingAurora
|
|
1086
|
+
| ExternalBindingAuroraManaged
|
|
1034
1087
|
| ExternalBindingCloudSQL
|
|
1035
1088
|
| ExternalBindingFlexibleServer
|
|
1036
1089
|
| ExternalBindingExternal
|
|
@@ -1086,11 +1139,11 @@ export function externalBindingAiFromJSON(
|
|
|
1086
1139
|
}
|
|
1087
1140
|
|
|
1088
1141
|
/** @internal */
|
|
1089
|
-
export const
|
|
1090
|
-
.enum(
|
|
1142
|
+
export const TypePostgres6$inboundSchema: z.ZodEnum<typeof TypePostgres6> = z
|
|
1143
|
+
.enum(TypePostgres6);
|
|
1091
1144
|
/** @internal */
|
|
1092
|
-
export const
|
|
1093
|
-
|
|
1145
|
+
export const TypePostgres6$outboundSchema: z.ZodEnum<typeof TypePostgres6> =
|
|
1146
|
+
TypePostgres6$inboundSchema;
|
|
1094
1147
|
|
|
1095
1148
|
/** @internal */
|
|
1096
1149
|
export const ExternalBindingLocalPostgres$inboundSchema: z.ZodType<
|
|
@@ -1103,7 +1156,7 @@ export const ExternalBindingLocalPostgres$inboundSchema: z.ZodType<
|
|
|
1103
1156
|
port: BindingValueU16Union$inboundSchema,
|
|
1104
1157
|
username: BindingValueStringUnion$inboundSchema,
|
|
1105
1158
|
service: z.literal("local-postgres"),
|
|
1106
|
-
type:
|
|
1159
|
+
type: TypePostgres6$inboundSchema,
|
|
1107
1160
|
});
|
|
1108
1161
|
/** @internal */
|
|
1109
1162
|
export type ExternalBindingLocalPostgres$Outbound = {
|
|
@@ -1127,7 +1180,7 @@ export const ExternalBindingLocalPostgres$outboundSchema: z.ZodType<
|
|
|
1127
1180
|
port: BindingValueU16Union$outboundSchema,
|
|
1128
1181
|
username: BindingValueStringUnion$outboundSchema,
|
|
1129
1182
|
service: z.literal("local-postgres"),
|
|
1130
|
-
type:
|
|
1183
|
+
type: TypePostgres6$outboundSchema,
|
|
1131
1184
|
});
|
|
1132
1185
|
|
|
1133
1186
|
export function externalBindingLocalPostgresToJSON(
|
|
@@ -1150,11 +1203,11 @@ export function externalBindingLocalPostgresFromJSON(
|
|
|
1150
1203
|
}
|
|
1151
1204
|
|
|
1152
1205
|
/** @internal */
|
|
1153
|
-
export const
|
|
1154
|
-
.enum(
|
|
1206
|
+
export const TypePostgres5$inboundSchema: z.ZodEnum<typeof TypePostgres5> = z
|
|
1207
|
+
.enum(TypePostgres5);
|
|
1155
1208
|
/** @internal */
|
|
1156
|
-
export const
|
|
1157
|
-
|
|
1209
|
+
export const TypePostgres5$outboundSchema: z.ZodEnum<typeof TypePostgres5> =
|
|
1210
|
+
TypePostgres5$inboundSchema;
|
|
1158
1211
|
|
|
1159
1212
|
/** @internal */
|
|
1160
1213
|
export const ExternalBindingExternal$inboundSchema: z.ZodType<
|
|
@@ -1168,7 +1221,7 @@ export const ExternalBindingExternal$inboundSchema: z.ZodType<
|
|
|
1168
1221
|
sslMode: ExternalPostgresSslMode$inboundSchema.optional(),
|
|
1169
1222
|
username: BindingValueStringUnion$inboundSchema,
|
|
1170
1223
|
service: z.literal("external"),
|
|
1171
|
-
type:
|
|
1224
|
+
type: TypePostgres5$inboundSchema,
|
|
1172
1225
|
});
|
|
1173
1226
|
/** @internal */
|
|
1174
1227
|
export type ExternalBindingExternal$Outbound = {
|
|
@@ -1194,7 +1247,7 @@ export const ExternalBindingExternal$outboundSchema: z.ZodType<
|
|
|
1194
1247
|
sslMode: ExternalPostgresSslMode$outboundSchema.optional(),
|
|
1195
1248
|
username: BindingValueStringUnion$outboundSchema,
|
|
1196
1249
|
service: z.literal("external"),
|
|
1197
|
-
type:
|
|
1250
|
+
type: TypePostgres5$outboundSchema,
|
|
1198
1251
|
});
|
|
1199
1252
|
|
|
1200
1253
|
export function externalBindingExternalToJSON(
|
|
@@ -1215,11 +1268,11 @@ export function externalBindingExternalFromJSON(
|
|
|
1215
1268
|
}
|
|
1216
1269
|
|
|
1217
1270
|
/** @internal */
|
|
1218
|
-
export const
|
|
1219
|
-
.enum(
|
|
1271
|
+
export const TypePostgres4$inboundSchema: z.ZodEnum<typeof TypePostgres4> = z
|
|
1272
|
+
.enum(TypePostgres4);
|
|
1220
1273
|
/** @internal */
|
|
1221
|
-
export const
|
|
1222
|
-
|
|
1274
|
+
export const TypePostgres4$outboundSchema: z.ZodEnum<typeof TypePostgres4> =
|
|
1275
|
+
TypePostgres4$inboundSchema;
|
|
1223
1276
|
|
|
1224
1277
|
/** @internal */
|
|
1225
1278
|
export const ExternalBindingFlexibleServer$inboundSchema: z.ZodType<
|
|
@@ -1232,7 +1285,7 @@ export const ExternalBindingFlexibleServer$inboundSchema: z.ZodType<
|
|
|
1232
1285
|
port: BindingValueU16Union$inboundSchema,
|
|
1233
1286
|
username: BindingValueStringUnion$inboundSchema,
|
|
1234
1287
|
service: z.literal("flexible-server"),
|
|
1235
|
-
type:
|
|
1288
|
+
type: TypePostgres4$inboundSchema,
|
|
1236
1289
|
});
|
|
1237
1290
|
/** @internal */
|
|
1238
1291
|
export type ExternalBindingFlexibleServer$Outbound = {
|
|
@@ -1256,7 +1309,7 @@ export const ExternalBindingFlexibleServer$outboundSchema: z.ZodType<
|
|
|
1256
1309
|
port: BindingValueU16Union$outboundSchema,
|
|
1257
1310
|
username: BindingValueStringUnion$outboundSchema,
|
|
1258
1311
|
service: z.literal("flexible-server"),
|
|
1259
|
-
type:
|
|
1312
|
+
type: TypePostgres4$outboundSchema,
|
|
1260
1313
|
});
|
|
1261
1314
|
|
|
1262
1315
|
export function externalBindingFlexibleServerToJSON(
|
|
@@ -1279,11 +1332,11 @@ export function externalBindingFlexibleServerFromJSON(
|
|
|
1279
1332
|
}
|
|
1280
1333
|
|
|
1281
1334
|
/** @internal */
|
|
1282
|
-
export const
|
|
1283
|
-
.enum(
|
|
1335
|
+
export const TypePostgres3$inboundSchema: z.ZodEnum<typeof TypePostgres3> = z
|
|
1336
|
+
.enum(TypePostgres3);
|
|
1284
1337
|
/** @internal */
|
|
1285
|
-
export const
|
|
1286
|
-
|
|
1338
|
+
export const TypePostgres3$outboundSchema: z.ZodEnum<typeof TypePostgres3> =
|
|
1339
|
+
TypePostgres3$inboundSchema;
|
|
1287
1340
|
|
|
1288
1341
|
/** @internal */
|
|
1289
1342
|
export const ExternalBindingCloudSQL$inboundSchema: z.ZodType<
|
|
@@ -1297,7 +1350,7 @@ export const ExternalBindingCloudSQL$inboundSchema: z.ZodType<
|
|
|
1297
1350
|
serverCaCertificates: BindingValueVecStringUnion$inboundSchema,
|
|
1298
1351
|
username: BindingValueStringUnion$inboundSchema,
|
|
1299
1352
|
service: z.literal("cloud-sql"),
|
|
1300
|
-
type:
|
|
1353
|
+
type: TypePostgres3$inboundSchema,
|
|
1301
1354
|
});
|
|
1302
1355
|
/** @internal */
|
|
1303
1356
|
export type ExternalBindingCloudSQL$Outbound = {
|
|
@@ -1323,7 +1376,7 @@ export const ExternalBindingCloudSQL$outboundSchema: z.ZodType<
|
|
|
1323
1376
|
serverCaCertificates: BindingValueVecStringUnion$outboundSchema,
|
|
1324
1377
|
username: BindingValueStringUnion$outboundSchema,
|
|
1325
1378
|
service: z.literal("cloud-sql"),
|
|
1326
|
-
type:
|
|
1379
|
+
type: TypePostgres3$outboundSchema,
|
|
1327
1380
|
});
|
|
1328
1381
|
|
|
1329
1382
|
export function externalBindingCloudSQLToJSON(
|
|
@@ -1343,6 +1396,70 @@ export function externalBindingCloudSQLFromJSON(
|
|
|
1343
1396
|
);
|
|
1344
1397
|
}
|
|
1345
1398
|
|
|
1399
|
+
/** @internal */
|
|
1400
|
+
export const TypePostgres2$inboundSchema: z.ZodEnum<typeof TypePostgres2> = z
|
|
1401
|
+
.enum(TypePostgres2);
|
|
1402
|
+
/** @internal */
|
|
1403
|
+
export const TypePostgres2$outboundSchema: z.ZodEnum<typeof TypePostgres2> =
|
|
1404
|
+
TypePostgres2$inboundSchema;
|
|
1405
|
+
|
|
1406
|
+
/** @internal */
|
|
1407
|
+
export const ExternalBindingAuroraManaged$inboundSchema: z.ZodType<
|
|
1408
|
+
ExternalBindingAuroraManaged,
|
|
1409
|
+
unknown
|
|
1410
|
+
> = z.object({
|
|
1411
|
+
clusterEndpoint: BindingValueStringUnion$inboundSchema,
|
|
1412
|
+
database: BindingValueStringUnion$inboundSchema,
|
|
1413
|
+
passwordSecretArn: BindingValueStringUnion$inboundSchema,
|
|
1414
|
+
port: BindingValueU16Union$inboundSchema,
|
|
1415
|
+
username: BindingValueStringUnion$inboundSchema,
|
|
1416
|
+
service: z.literal("aurora-managed"),
|
|
1417
|
+
type: TypePostgres2$inboundSchema,
|
|
1418
|
+
});
|
|
1419
|
+
/** @internal */
|
|
1420
|
+
export type ExternalBindingAuroraManaged$Outbound = {
|
|
1421
|
+
clusterEndpoint: BindingValueStringUnion$Outbound;
|
|
1422
|
+
database: BindingValueStringUnion$Outbound;
|
|
1423
|
+
passwordSecretArn: BindingValueStringUnion$Outbound;
|
|
1424
|
+
port: BindingValueU16Union$Outbound;
|
|
1425
|
+
username: BindingValueStringUnion$Outbound;
|
|
1426
|
+
service: "aurora-managed";
|
|
1427
|
+
type: string;
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
/** @internal */
|
|
1431
|
+
export const ExternalBindingAuroraManaged$outboundSchema: z.ZodType<
|
|
1432
|
+
ExternalBindingAuroraManaged$Outbound,
|
|
1433
|
+
ExternalBindingAuroraManaged
|
|
1434
|
+
> = z.object({
|
|
1435
|
+
clusterEndpoint: BindingValueStringUnion$outboundSchema,
|
|
1436
|
+
database: BindingValueStringUnion$outboundSchema,
|
|
1437
|
+
passwordSecretArn: BindingValueStringUnion$outboundSchema,
|
|
1438
|
+
port: BindingValueU16Union$outboundSchema,
|
|
1439
|
+
username: BindingValueStringUnion$outboundSchema,
|
|
1440
|
+
service: z.literal("aurora-managed"),
|
|
1441
|
+
type: TypePostgres2$outboundSchema,
|
|
1442
|
+
});
|
|
1443
|
+
|
|
1444
|
+
export function externalBindingAuroraManagedToJSON(
|
|
1445
|
+
externalBindingAuroraManaged: ExternalBindingAuroraManaged,
|
|
1446
|
+
): string {
|
|
1447
|
+
return JSON.stringify(
|
|
1448
|
+
ExternalBindingAuroraManaged$outboundSchema.parse(
|
|
1449
|
+
externalBindingAuroraManaged,
|
|
1450
|
+
),
|
|
1451
|
+
);
|
|
1452
|
+
}
|
|
1453
|
+
export function externalBindingAuroraManagedFromJSON(
|
|
1454
|
+
jsonString: string,
|
|
1455
|
+
): SafeParseResult<ExternalBindingAuroraManaged, SDKValidationError> {
|
|
1456
|
+
return safeParse(
|
|
1457
|
+
jsonString,
|
|
1458
|
+
(x) => ExternalBindingAuroraManaged$inboundSchema.parse(JSON.parse(x)),
|
|
1459
|
+
`Failed to parse 'ExternalBindingAuroraManaged' from JSON`,
|
|
1460
|
+
);
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1346
1463
|
/** @internal */
|
|
1347
1464
|
export const TypePostgres1$inboundSchema: z.ZodEnum<typeof TypePostgres1> = z
|
|
1348
1465
|
.enum(TypePostgres1);
|
|
@@ -1411,6 +1528,7 @@ export const ExternalBindingUnion6$inboundSchema: z.ZodType<
|
|
|
1411
1528
|
unknown
|
|
1412
1529
|
> = z.union([
|
|
1413
1530
|
z.lazy(() => ExternalBindingAurora$inboundSchema),
|
|
1531
|
+
z.lazy(() => ExternalBindingAuroraManaged$inboundSchema),
|
|
1414
1532
|
z.lazy(() => ExternalBindingCloudSQL$inboundSchema),
|
|
1415
1533
|
z.lazy(() => ExternalBindingFlexibleServer$inboundSchema),
|
|
1416
1534
|
z.lazy(() => ExternalBindingExternal$inboundSchema),
|
|
@@ -1419,6 +1537,7 @@ export const ExternalBindingUnion6$inboundSchema: z.ZodType<
|
|
|
1419
1537
|
/** @internal */
|
|
1420
1538
|
export type ExternalBindingUnion6$Outbound =
|
|
1421
1539
|
| ExternalBindingAurora$Outbound
|
|
1540
|
+
| ExternalBindingAuroraManaged$Outbound
|
|
1422
1541
|
| ExternalBindingCloudSQL$Outbound
|
|
1423
1542
|
| ExternalBindingFlexibleServer$Outbound
|
|
1424
1543
|
| ExternalBindingExternal$Outbound
|
|
@@ -1430,6 +1549,7 @@ export const ExternalBindingUnion6$outboundSchema: z.ZodType<
|
|
|
1430
1549
|
ExternalBindingUnion6
|
|
1431
1550
|
> = z.union([
|
|
1432
1551
|
z.lazy(() => ExternalBindingAurora$outboundSchema),
|
|
1552
|
+
z.lazy(() => ExternalBindingAuroraManaged$outboundSchema),
|
|
1433
1553
|
z.lazy(() => ExternalBindingCloudSQL$outboundSchema),
|
|
1434
1554
|
z.lazy(() => ExternalBindingFlexibleServer$outboundSchema),
|
|
1435
1555
|
z.lazy(() => ExternalBindingExternal$outboundSchema),
|
|
@@ -3073,6 +3193,7 @@ export const ExternalBindingUnion$inboundSchema: z.ZodType<
|
|
|
3073
3193
|
]),
|
|
3074
3194
|
z.union([
|
|
3075
3195
|
z.lazy(() => ExternalBindingAurora$inboundSchema),
|
|
3196
|
+
z.lazy(() => ExternalBindingAuroraManaged$inboundSchema),
|
|
3076
3197
|
z.lazy(() => ExternalBindingCloudSQL$inboundSchema),
|
|
3077
3198
|
z.lazy(() => ExternalBindingFlexibleServer$inboundSchema),
|
|
3078
3199
|
z.lazy(() => ExternalBindingExternal$inboundSchema),
|
|
@@ -3107,6 +3228,7 @@ export type ExternalBindingUnion$Outbound =
|
|
|
3107
3228
|
| ExternalBindingKubernetesSecret$Outbound
|
|
3108
3229
|
| ExternalBindingLocalVault$Outbound
|
|
3109
3230
|
| ExternalBindingAurora$Outbound
|
|
3231
|
+
| ExternalBindingAuroraManaged$Outbound
|
|
3110
3232
|
| ExternalBindingCloudSQL$Outbound
|
|
3111
3233
|
| ExternalBindingFlexibleServer$Outbound
|
|
3112
3234
|
| ExternalBindingExternal$Outbound
|
|
@@ -3154,6 +3276,7 @@ export const ExternalBindingUnion$outboundSchema: z.ZodType<
|
|
|
3154
3276
|
]),
|
|
3155
3277
|
z.union([
|
|
3156
3278
|
z.lazy(() => ExternalBindingAurora$outboundSchema),
|
|
3279
|
+
z.lazy(() => ExternalBindingAuroraManaged$outboundSchema),
|
|
3157
3280
|
z.lazy(() => ExternalBindingCloudSQL$outboundSchema),
|
|
3158
3281
|
z.lazy(() => ExternalBindingFlexibleServer$outboundSchema),
|
|
3159
3282
|
z.lazy(() => ExternalBindingExternal$outboundSchema),
|
|
@@ -8,6 +8,14 @@ import { Result as SafeParseResult } from "../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type HealthResponse = {
|
|
11
|
+
/**
|
|
12
|
+
* Newest setup registration format accepted by this manager.
|
|
13
|
+
*/
|
|
14
|
+
maxSetupImportFormatVersion?: number | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Oldest setup registration format accepted by this manager.
|
|
17
|
+
*/
|
|
18
|
+
minSetupImportFormatVersion?: number | undefined;
|
|
11
19
|
/**
|
|
12
20
|
* True when operation result contracts are persisted before commands
|
|
13
21
|
*
|
|
@@ -21,6 +29,8 @@ export type HealthResponse = {
|
|
|
21
29
|
/** @internal */
|
|
22
30
|
export const HealthResponse$inboundSchema: z.ZodType<HealthResponse, unknown> =
|
|
23
31
|
z.object({
|
|
32
|
+
maxSetupImportFormatVersion: z.int().optional(),
|
|
33
|
+
minSetupImportFormatVersion: z.int().optional(),
|
|
24
34
|
operationResultContract: z.boolean().optional(),
|
|
25
35
|
status: z.string(),
|
|
26
36
|
});
|
|
@@ -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
|
@@ -118,6 +118,7 @@ export * from "./heartbeatcollectionissue.js";
|
|
|
118
118
|
export * from "./heartbeatcollectionissuereason.js";
|
|
119
119
|
export * from "./heartbeatissueseverity.js";
|
|
120
120
|
export * from "./heartbeatsmode.js";
|
|
121
|
+
export * from "./helmrelease.js";
|
|
121
122
|
export * from "./horizonworkloadschedulingmode.js";
|
|
122
123
|
export * from "./importedresource.js";
|
|
123
124
|
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(),
|
|
@@ -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,
|