@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.
Files changed (69) hide show
  1. package/esm/funcs/deploymentsDeleteDeployment.js +2 -2
  2. package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -1
  3. package/esm/lib/config.d.ts +2 -2
  4. package/esm/lib/config.js +2 -2
  5. package/esm/models/deletedeploymentaction.d.ts +2 -0
  6. package/esm/models/deletedeploymentaction.d.ts.map +1 -1
  7. package/esm/models/deletedeploymentaction.js +2 -0
  8. package/esm/models/deletedeploymentaction.js.map +1 -1
  9. package/esm/models/externalbindingunion.d.ts +122 -28
  10. package/esm/models/externalbindingunion.d.ts.map +1 -1
  11. package/esm/models/externalbindingunion.js +106 -22
  12. package/esm/models/externalbindingunion.js.map +1 -1
  13. package/esm/models/externalpasswordsecretkeyref.d.ts +21 -0
  14. package/esm/models/externalpasswordsecretkeyref.d.ts.map +1 -0
  15. package/esm/models/externalpasswordsecretkeyref.js +21 -0
  16. package/esm/models/externalpasswordsecretkeyref.js.map +1 -0
  17. package/esm/models/externalpasswordsecretref.d.ts +21 -0
  18. package/esm/models/externalpasswordsecretref.d.ts.map +1 -0
  19. package/esm/models/externalpasswordsecretref.js +21 -0
  20. package/esm/models/externalpasswordsecretref.js.map +1 -0
  21. package/esm/models/healthresponse.d.ts +8 -0
  22. package/esm/models/healthresponse.d.ts.map +1 -1
  23. package/esm/models/healthresponse.js +2 -0
  24. package/esm/models/healthresponse.js.map +1 -1
  25. package/esm/models/helmrelease.d.ts +23 -0
  26. package/esm/models/helmrelease.d.ts.map +1 -0
  27. package/esm/models/helmrelease.js +13 -0
  28. package/esm/models/helmrelease.js.map +1 -0
  29. package/esm/models/index.d.ts +3 -0
  30. package/esm/models/index.d.ts.map +1 -1
  31. package/esm/models/index.js +3 -0
  32. package/esm/models/index.js.map +1 -1
  33. package/esm/models/initializerequest.d.ts +3 -0
  34. package/esm/models/initializerequest.d.ts.map +1 -1
  35. package/esm/models/initializerequest.js +2 -0
  36. package/esm/models/initializerequest.js.map +1 -1
  37. package/esm/models/kubernetesexposuresettings.d.ts +33 -2
  38. package/esm/models/kubernetesexposuresettings.d.ts.map +1 -1
  39. package/esm/models/kubernetesexposuresettings.js +22 -0
  40. package/esm/models/kubernetesexposuresettings.js.map +1 -1
  41. package/esm/models/stackresourcestate.d.ts +9 -0
  42. package/esm/models/stackresourcestate.d.ts.map +1 -1
  43. package/esm/models/stackresourcestate.js +3 -0
  44. package/esm/models/stackresourcestate.js.map +1 -1
  45. package/esm/models/stacksettings.d.ts +8 -0
  46. package/esm/models/stacksettings.d.ts.map +1 -1
  47. package/esm/models/stacksettings.js +2 -0
  48. package/esm/models/stacksettings.js.map +1 -1
  49. package/esm/models/statusreport.d.ts +11 -0
  50. package/esm/models/statusreport.d.ts.map +1 -1
  51. package/esm/models/statusreport.js +3 -0
  52. package/esm/models/statusreport.js.map +1 -1
  53. package/examples/package-lock.json +1 -1
  54. package/jsr.json +1 -1
  55. package/package.json +1 -1
  56. package/src/funcs/deploymentsDeleteDeployment.ts +2 -2
  57. package/src/lib/config.ts +2 -2
  58. package/src/models/deletedeploymentaction.ts +2 -0
  59. package/src/models/externalbindingunion.ts +273 -42
  60. package/src/models/externalpasswordsecretkeyref.ts +60 -0
  61. package/src/models/externalpasswordsecretref.ts +58 -0
  62. package/src/models/healthresponse.ts +10 -0
  63. package/src/models/helmrelease.ts +38 -0
  64. package/src/models/index.ts +3 -0
  65. package/src/models/initializerequest.ts +8 -0
  66. package/src/models/kubernetesexposuresettings.ts +79 -2
  67. package/src/models/stackresourcestate.ts +12 -0
  68. package/src/models/stacksettings.ts +10 -0
  69. package/src/models/statusreport.ts +17 -0
@@ -37,6 +37,18 @@ import {
37
37
  BindingValueVecStringUnion$outboundSchema,
38
38
  } from "./bindingvaluevecstringunion.js";
39
39
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
40
+ import {
41
+ ExternalPasswordSecretKeyRef,
42
+ ExternalPasswordSecretKeyRef$inboundSchema,
43
+ ExternalPasswordSecretKeyRef$Outbound,
44
+ ExternalPasswordSecretKeyRef$outboundSchema,
45
+ } from "./externalpasswordsecretkeyref.js";
46
+ import {
47
+ ExternalPasswordSecretRef,
48
+ ExternalPasswordSecretRef$inboundSchema,
49
+ ExternalPasswordSecretRef$Outbound,
50
+ ExternalPasswordSecretRef$outboundSchema,
51
+ } from "./externalpasswordsecretref.js";
40
52
  import {
41
53
  ExternalPostgresSslMode,
42
54
  ExternalPostgresSslMode$inboundSchema,
@@ -66,10 +78,10 @@ export type ExternalBindingAi = {
66
78
  type: TypeAi;
67
79
  };
68
80
 
69
- export const TypePostgres5 = {
81
+ export const TypePostgres6 = {
70
82
  Postgres: "postgres",
71
83
  } as const;
72
- export type TypePostgres5 = ClosedEnum<typeof TypePostgres5>;
84
+ export type TypePostgres6 = ClosedEnum<typeof TypePostgres6>;
73
85
 
74
86
  /**
75
87
  * Local embedded Postgres process.
@@ -105,13 +117,29 @@ export type ExternalBindingLocalPostgres = {
105
117
  */
106
118
  username: BindingValueStringUnion;
107
119
  service: "local-postgres";
108
- type: TypePostgres5;
120
+ type: TypePostgres6;
109
121
  };
110
122
 
111
- export const TypePostgres4 = {
123
+ export type Password1 =
124
+ | ExternalPasswordSecretRef
125
+ | ExternalPasswordSecretKeyRef
126
+ | string;
127
+
128
+ /**
129
+ * Connection password or Kubernetes Secret reference. Kubernetes workloads resolve
130
+ *
131
+ * @remarks
132
+ * the reference through secretKeyRef before the application loads its binding.
133
+ */
134
+ export type Password2 =
135
+ | ExternalPasswordSecretRef
136
+ | ExternalPasswordSecretKeyRef
137
+ | string;
138
+
139
+ export const TypePostgres5 = {
112
140
  Postgres: "postgres",
113
141
  } as const;
114
- export type TypePostgres4 = ClosedEnum<typeof TypePostgres4>;
142
+ export type TypePostgres5 = ClosedEnum<typeof TypePostgres5>;
115
143
 
116
144
  /**
117
145
  * Operator-provided / BYO database (Kubernetes, on-prem, or cloud override).
@@ -132,13 +160,12 @@ export type ExternalBindingExternal = {
132
160
  */
133
161
  host: BindingValueStringUnion;
134
162
  /**
135
- * Connection password as a concrete value, never an unresolved `SecretRef`: the platform
163
+ * Connection password or Kubernetes Secret reference. Kubernetes workloads resolve
136
164
  *
137
165
  * @remarks
138
- * materializes the Kubernetes secret into the pod env. The cloud variants carry a secret
139
- * locator instead.
166
+ * the reference through secretKeyRef before the application loads its binding.
140
167
  */
141
- password: string;
168
+ password: ExternalPasswordSecretRef | ExternalPasswordSecretKeyRef | string;
142
169
  /**
143
170
  * Represents a value that can be either a concrete value, a template expression,
144
171
  *
@@ -163,13 +190,13 @@ export type ExternalBindingExternal = {
163
190
  */
164
191
  username: BindingValueStringUnion;
165
192
  service: "external";
166
- type: TypePostgres4;
193
+ type: TypePostgres5;
167
194
  };
168
195
 
169
- export const TypePostgres3 = {
196
+ export const TypePostgres4 = {
170
197
  Postgres: "postgres",
171
198
  } as const;
172
- export type TypePostgres3 = ClosedEnum<typeof TypePostgres3>;
199
+ export type TypePostgres4 = ClosedEnum<typeof TypePostgres4>;
173
200
 
174
201
  /**
175
202
  * Azure Database for PostgreSQL — Flexible Server (host + secret URI).
@@ -211,13 +238,13 @@ export type ExternalBindingFlexibleServer = {
211
238
  */
212
239
  username: BindingValueStringUnion;
213
240
  service: "flexible-server";
214
- type: TypePostgres3;
241
+ type: TypePostgres4;
215
242
  };
216
243
 
217
- export const TypePostgres2 = {
244
+ export const TypePostgres3 = {
218
245
  Postgres: "postgres",
219
246
  } as const;
220
- export type TypePostgres2 = ClosedEnum<typeof TypePostgres2>;
247
+ export type TypePostgres3 = ClosedEnum<typeof TypePostgres3>;
221
248
 
222
249
  /**
223
250
  * GCP Cloud SQL (host + secret name).
@@ -266,6 +293,57 @@ export type ExternalBindingCloudSQL = {
266
293
  */
267
294
  username: BindingValueStringUnion;
268
295
  service: "cloud-sql";
296
+ type: TypePostgres3;
297
+ };
298
+
299
+ export const TypePostgres2 = {
300
+ Postgres: "postgres",
301
+ } as const;
302
+ export type TypePostgres2 = ClosedEnum<typeof TypePostgres2>;
303
+
304
+ /**
305
+ * Aurora-managed JSON credentials. Separate tag makes older readers reject
306
+ *
307
+ * @remarks
308
+ * this binding rather than treating the JSON document as a raw password.
309
+ */
310
+ export type ExternalBindingAuroraManaged = {
311
+ /**
312
+ * Represents a value that can be either a concrete value, a template expression,
313
+ *
314
+ * @remarks
315
+ * or a reference to a Kubernetes Secret
316
+ */
317
+ clusterEndpoint: BindingValueStringUnion;
318
+ /**
319
+ * Represents a value that can be either a concrete value, a template expression,
320
+ *
321
+ * @remarks
322
+ * or a reference to a Kubernetes Secret
323
+ */
324
+ database: BindingValueStringUnion;
325
+ /**
326
+ * Represents a value that can be either a concrete value, a template expression,
327
+ *
328
+ * @remarks
329
+ * or a reference to a Kubernetes Secret
330
+ */
331
+ passwordSecretArn: BindingValueStringUnion;
332
+ /**
333
+ * Represents a value that can be either a concrete value, a template expression,
334
+ *
335
+ * @remarks
336
+ * or a reference to a Kubernetes Secret
337
+ */
338
+ port: BindingValueU16Union;
339
+ /**
340
+ * Represents a value that can be either a concrete value, a template expression,
341
+ *
342
+ * @remarks
343
+ * or a reference to a Kubernetes Secret
344
+ */
345
+ username: BindingValueStringUnion;
346
+ service: "aurora-managed";
269
347
  type: TypePostgres2;
270
348
  };
271
349
 
@@ -322,6 +400,7 @@ export type ExternalBindingAurora = {
322
400
  */
323
401
  export type ExternalBindingUnion6 =
324
402
  | ExternalBindingAurora
403
+ | ExternalBindingAuroraManaged
325
404
  | ExternalBindingCloudSQL
326
405
  | ExternalBindingFlexibleServer
327
406
  | ExternalBindingExternal
@@ -1031,6 +1110,7 @@ export type ExternalBindingUnion =
1031
1110
  | ExternalBindingKubernetesSecret
1032
1111
  | ExternalBindingLocalVault
1033
1112
  | ExternalBindingAurora
1113
+ | ExternalBindingAuroraManaged
1034
1114
  | ExternalBindingCloudSQL
1035
1115
  | ExternalBindingFlexibleServer
1036
1116
  | ExternalBindingExternal
@@ -1086,11 +1166,11 @@ export function externalBindingAiFromJSON(
1086
1166
  }
1087
1167
 
1088
1168
  /** @internal */
1089
- export const TypePostgres5$inboundSchema: z.ZodEnum<typeof TypePostgres5> = z
1090
- .enum(TypePostgres5);
1169
+ export const TypePostgres6$inboundSchema: z.ZodEnum<typeof TypePostgres6> = z
1170
+ .enum(TypePostgres6);
1091
1171
  /** @internal */
1092
- export const TypePostgres5$outboundSchema: z.ZodEnum<typeof TypePostgres5> =
1093
- TypePostgres5$inboundSchema;
1172
+ export const TypePostgres6$outboundSchema: z.ZodEnum<typeof TypePostgres6> =
1173
+ TypePostgres6$inboundSchema;
1094
1174
 
1095
1175
  /** @internal */
1096
1176
  export const ExternalBindingLocalPostgres$inboundSchema: z.ZodType<
@@ -1103,7 +1183,7 @@ export const ExternalBindingLocalPostgres$inboundSchema: z.ZodType<
1103
1183
  port: BindingValueU16Union$inboundSchema,
1104
1184
  username: BindingValueStringUnion$inboundSchema,
1105
1185
  service: z.literal("local-postgres"),
1106
- type: TypePostgres5$inboundSchema,
1186
+ type: TypePostgres6$inboundSchema,
1107
1187
  });
1108
1188
  /** @internal */
1109
1189
  export type ExternalBindingLocalPostgres$Outbound = {
@@ -1127,7 +1207,7 @@ export const ExternalBindingLocalPostgres$outboundSchema: z.ZodType<
1127
1207
  port: BindingValueU16Union$outboundSchema,
1128
1208
  username: BindingValueStringUnion$outboundSchema,
1129
1209
  service: z.literal("local-postgres"),
1130
- type: TypePostgres5$outboundSchema,
1210
+ type: TypePostgres6$outboundSchema,
1131
1211
  });
1132
1212
 
1133
1213
  export function externalBindingLocalPostgresToJSON(
@@ -1150,11 +1230,81 @@ export function externalBindingLocalPostgresFromJSON(
1150
1230
  }
1151
1231
 
1152
1232
  /** @internal */
1153
- export const TypePostgres4$inboundSchema: z.ZodEnum<typeof TypePostgres4> = z
1154
- .enum(TypePostgres4);
1233
+ export const Password1$inboundSchema: z.ZodType<Password1, unknown> = z.union([
1234
+ ExternalPasswordSecretRef$inboundSchema,
1235
+ ExternalPasswordSecretKeyRef$inboundSchema,
1236
+ z.string(),
1237
+ ]);
1155
1238
  /** @internal */
1156
- export const TypePostgres4$outboundSchema: z.ZodEnum<typeof TypePostgres4> =
1157
- TypePostgres4$inboundSchema;
1239
+ export type Password1$Outbound =
1240
+ | ExternalPasswordSecretRef$Outbound
1241
+ | ExternalPasswordSecretKeyRef$Outbound
1242
+ | string;
1243
+
1244
+ /** @internal */
1245
+ export const Password1$outboundSchema: z.ZodType<
1246
+ Password1$Outbound,
1247
+ Password1
1248
+ > = z.union([
1249
+ ExternalPasswordSecretRef$outboundSchema,
1250
+ ExternalPasswordSecretKeyRef$outboundSchema,
1251
+ z.string(),
1252
+ ]);
1253
+
1254
+ export function password1ToJSON(password1: Password1): string {
1255
+ return JSON.stringify(Password1$outboundSchema.parse(password1));
1256
+ }
1257
+ export function password1FromJSON(
1258
+ jsonString: string,
1259
+ ): SafeParseResult<Password1, SDKValidationError> {
1260
+ return safeParse(
1261
+ jsonString,
1262
+ (x) => Password1$inboundSchema.parse(JSON.parse(x)),
1263
+ `Failed to parse 'Password1' from JSON`,
1264
+ );
1265
+ }
1266
+
1267
+ /** @internal */
1268
+ export const Password2$inboundSchema: z.ZodType<Password2, unknown> = z.union([
1269
+ ExternalPasswordSecretRef$inboundSchema,
1270
+ ExternalPasswordSecretKeyRef$inboundSchema,
1271
+ z.string(),
1272
+ ]);
1273
+ /** @internal */
1274
+ export type Password2$Outbound =
1275
+ | ExternalPasswordSecretRef$Outbound
1276
+ | ExternalPasswordSecretKeyRef$Outbound
1277
+ | string;
1278
+
1279
+ /** @internal */
1280
+ export const Password2$outboundSchema: z.ZodType<
1281
+ Password2$Outbound,
1282
+ Password2
1283
+ > = z.union([
1284
+ ExternalPasswordSecretRef$outboundSchema,
1285
+ ExternalPasswordSecretKeyRef$outboundSchema,
1286
+ z.string(),
1287
+ ]);
1288
+
1289
+ export function password2ToJSON(password2: Password2): string {
1290
+ return JSON.stringify(Password2$outboundSchema.parse(password2));
1291
+ }
1292
+ export function password2FromJSON(
1293
+ jsonString: string,
1294
+ ): SafeParseResult<Password2, SDKValidationError> {
1295
+ return safeParse(
1296
+ jsonString,
1297
+ (x) => Password2$inboundSchema.parse(JSON.parse(x)),
1298
+ `Failed to parse 'Password2' from JSON`,
1299
+ );
1300
+ }
1301
+
1302
+ /** @internal */
1303
+ export const TypePostgres5$inboundSchema: z.ZodEnum<typeof TypePostgres5> = z
1304
+ .enum(TypePostgres5);
1305
+ /** @internal */
1306
+ export const TypePostgres5$outboundSchema: z.ZodEnum<typeof TypePostgres5> =
1307
+ TypePostgres5$inboundSchema;
1158
1308
 
1159
1309
  /** @internal */
1160
1310
  export const ExternalBindingExternal$inboundSchema: z.ZodType<
@@ -1163,18 +1313,25 @@ export const ExternalBindingExternal$inboundSchema: z.ZodType<
1163
1313
  > = z.object({
1164
1314
  database: BindingValueStringUnion$inboundSchema,
1165
1315
  host: BindingValueStringUnion$inboundSchema,
1166
- password: z.string(),
1316
+ password: z.union([
1317
+ ExternalPasswordSecretRef$inboundSchema,
1318
+ ExternalPasswordSecretKeyRef$inboundSchema,
1319
+ z.string(),
1320
+ ]),
1167
1321
  port: BindingValueU16Union$inboundSchema,
1168
1322
  sslMode: ExternalPostgresSslMode$inboundSchema.optional(),
1169
1323
  username: BindingValueStringUnion$inboundSchema,
1170
1324
  service: z.literal("external"),
1171
- type: TypePostgres4$inboundSchema,
1325
+ type: TypePostgres5$inboundSchema,
1172
1326
  });
1173
1327
  /** @internal */
1174
1328
  export type ExternalBindingExternal$Outbound = {
1175
1329
  database: BindingValueStringUnion$Outbound;
1176
1330
  host: BindingValueStringUnion$Outbound;
1177
- password: string;
1331
+ password:
1332
+ | ExternalPasswordSecretRef$Outbound
1333
+ | ExternalPasswordSecretKeyRef$Outbound
1334
+ | string;
1178
1335
  port: BindingValueU16Union$Outbound;
1179
1336
  sslMode?: string | undefined;
1180
1337
  username: BindingValueStringUnion$Outbound;
@@ -1189,12 +1346,16 @@ export const ExternalBindingExternal$outboundSchema: z.ZodType<
1189
1346
  > = z.object({
1190
1347
  database: BindingValueStringUnion$outboundSchema,
1191
1348
  host: BindingValueStringUnion$outboundSchema,
1192
- password: z.string(),
1349
+ password: z.union([
1350
+ ExternalPasswordSecretRef$outboundSchema,
1351
+ ExternalPasswordSecretKeyRef$outboundSchema,
1352
+ z.string(),
1353
+ ]),
1193
1354
  port: BindingValueU16Union$outboundSchema,
1194
1355
  sslMode: ExternalPostgresSslMode$outboundSchema.optional(),
1195
1356
  username: BindingValueStringUnion$outboundSchema,
1196
1357
  service: z.literal("external"),
1197
- type: TypePostgres4$outboundSchema,
1358
+ type: TypePostgres5$outboundSchema,
1198
1359
  });
1199
1360
 
1200
1361
  export function externalBindingExternalToJSON(
@@ -1215,11 +1376,11 @@ export function externalBindingExternalFromJSON(
1215
1376
  }
1216
1377
 
1217
1378
  /** @internal */
1218
- export const TypePostgres3$inboundSchema: z.ZodEnum<typeof TypePostgres3> = z
1219
- .enum(TypePostgres3);
1379
+ export const TypePostgres4$inboundSchema: z.ZodEnum<typeof TypePostgres4> = z
1380
+ .enum(TypePostgres4);
1220
1381
  /** @internal */
1221
- export const TypePostgres3$outboundSchema: z.ZodEnum<typeof TypePostgres3> =
1222
- TypePostgres3$inboundSchema;
1382
+ export const TypePostgres4$outboundSchema: z.ZodEnum<typeof TypePostgres4> =
1383
+ TypePostgres4$inboundSchema;
1223
1384
 
1224
1385
  /** @internal */
1225
1386
  export const ExternalBindingFlexibleServer$inboundSchema: z.ZodType<
@@ -1232,7 +1393,7 @@ export const ExternalBindingFlexibleServer$inboundSchema: z.ZodType<
1232
1393
  port: BindingValueU16Union$inboundSchema,
1233
1394
  username: BindingValueStringUnion$inboundSchema,
1234
1395
  service: z.literal("flexible-server"),
1235
- type: TypePostgres3$inboundSchema,
1396
+ type: TypePostgres4$inboundSchema,
1236
1397
  });
1237
1398
  /** @internal */
1238
1399
  export type ExternalBindingFlexibleServer$Outbound = {
@@ -1256,7 +1417,7 @@ export const ExternalBindingFlexibleServer$outboundSchema: z.ZodType<
1256
1417
  port: BindingValueU16Union$outboundSchema,
1257
1418
  username: BindingValueStringUnion$outboundSchema,
1258
1419
  service: z.literal("flexible-server"),
1259
- type: TypePostgres3$outboundSchema,
1420
+ type: TypePostgres4$outboundSchema,
1260
1421
  });
1261
1422
 
1262
1423
  export function externalBindingFlexibleServerToJSON(
@@ -1279,11 +1440,11 @@ export function externalBindingFlexibleServerFromJSON(
1279
1440
  }
1280
1441
 
1281
1442
  /** @internal */
1282
- export const TypePostgres2$inboundSchema: z.ZodEnum<typeof TypePostgres2> = z
1283
- .enum(TypePostgres2);
1443
+ export const TypePostgres3$inboundSchema: z.ZodEnum<typeof TypePostgres3> = z
1444
+ .enum(TypePostgres3);
1284
1445
  /** @internal */
1285
- export const TypePostgres2$outboundSchema: z.ZodEnum<typeof TypePostgres2> =
1286
- TypePostgres2$inboundSchema;
1446
+ export const TypePostgres3$outboundSchema: z.ZodEnum<typeof TypePostgres3> =
1447
+ TypePostgres3$inboundSchema;
1287
1448
 
1288
1449
  /** @internal */
1289
1450
  export const ExternalBindingCloudSQL$inboundSchema: z.ZodType<
@@ -1297,7 +1458,7 @@ export const ExternalBindingCloudSQL$inboundSchema: z.ZodType<
1297
1458
  serverCaCertificates: BindingValueVecStringUnion$inboundSchema,
1298
1459
  username: BindingValueStringUnion$inboundSchema,
1299
1460
  service: z.literal("cloud-sql"),
1300
- type: TypePostgres2$inboundSchema,
1461
+ type: TypePostgres3$inboundSchema,
1301
1462
  });
1302
1463
  /** @internal */
1303
1464
  export type ExternalBindingCloudSQL$Outbound = {
@@ -1323,7 +1484,7 @@ export const ExternalBindingCloudSQL$outboundSchema: z.ZodType<
1323
1484
  serverCaCertificates: BindingValueVecStringUnion$outboundSchema,
1324
1485
  username: BindingValueStringUnion$outboundSchema,
1325
1486
  service: z.literal("cloud-sql"),
1326
- type: TypePostgres2$outboundSchema,
1487
+ type: TypePostgres3$outboundSchema,
1327
1488
  });
1328
1489
 
1329
1490
  export function externalBindingCloudSQLToJSON(
@@ -1343,6 +1504,70 @@ export function externalBindingCloudSQLFromJSON(
1343
1504
  );
1344
1505
  }
1345
1506
 
1507
+ /** @internal */
1508
+ export const TypePostgres2$inboundSchema: z.ZodEnum<typeof TypePostgres2> = z
1509
+ .enum(TypePostgres2);
1510
+ /** @internal */
1511
+ export const TypePostgres2$outboundSchema: z.ZodEnum<typeof TypePostgres2> =
1512
+ TypePostgres2$inboundSchema;
1513
+
1514
+ /** @internal */
1515
+ export const ExternalBindingAuroraManaged$inboundSchema: z.ZodType<
1516
+ ExternalBindingAuroraManaged,
1517
+ unknown
1518
+ > = z.object({
1519
+ clusterEndpoint: BindingValueStringUnion$inboundSchema,
1520
+ database: BindingValueStringUnion$inboundSchema,
1521
+ passwordSecretArn: BindingValueStringUnion$inboundSchema,
1522
+ port: BindingValueU16Union$inboundSchema,
1523
+ username: BindingValueStringUnion$inboundSchema,
1524
+ service: z.literal("aurora-managed"),
1525
+ type: TypePostgres2$inboundSchema,
1526
+ });
1527
+ /** @internal */
1528
+ export type ExternalBindingAuroraManaged$Outbound = {
1529
+ clusterEndpoint: BindingValueStringUnion$Outbound;
1530
+ database: BindingValueStringUnion$Outbound;
1531
+ passwordSecretArn: BindingValueStringUnion$Outbound;
1532
+ port: BindingValueU16Union$Outbound;
1533
+ username: BindingValueStringUnion$Outbound;
1534
+ service: "aurora-managed";
1535
+ type: string;
1536
+ };
1537
+
1538
+ /** @internal */
1539
+ export const ExternalBindingAuroraManaged$outboundSchema: z.ZodType<
1540
+ ExternalBindingAuroraManaged$Outbound,
1541
+ ExternalBindingAuroraManaged
1542
+ > = z.object({
1543
+ clusterEndpoint: BindingValueStringUnion$outboundSchema,
1544
+ database: BindingValueStringUnion$outboundSchema,
1545
+ passwordSecretArn: BindingValueStringUnion$outboundSchema,
1546
+ port: BindingValueU16Union$outboundSchema,
1547
+ username: BindingValueStringUnion$outboundSchema,
1548
+ service: z.literal("aurora-managed"),
1549
+ type: TypePostgres2$outboundSchema,
1550
+ });
1551
+
1552
+ export function externalBindingAuroraManagedToJSON(
1553
+ externalBindingAuroraManaged: ExternalBindingAuroraManaged,
1554
+ ): string {
1555
+ return JSON.stringify(
1556
+ ExternalBindingAuroraManaged$outboundSchema.parse(
1557
+ externalBindingAuroraManaged,
1558
+ ),
1559
+ );
1560
+ }
1561
+ export function externalBindingAuroraManagedFromJSON(
1562
+ jsonString: string,
1563
+ ): SafeParseResult<ExternalBindingAuroraManaged, SDKValidationError> {
1564
+ return safeParse(
1565
+ jsonString,
1566
+ (x) => ExternalBindingAuroraManaged$inboundSchema.parse(JSON.parse(x)),
1567
+ `Failed to parse 'ExternalBindingAuroraManaged' from JSON`,
1568
+ );
1569
+ }
1570
+
1346
1571
  /** @internal */
1347
1572
  export const TypePostgres1$inboundSchema: z.ZodEnum<typeof TypePostgres1> = z
1348
1573
  .enum(TypePostgres1);
@@ -1411,6 +1636,7 @@ export const ExternalBindingUnion6$inboundSchema: z.ZodType<
1411
1636
  unknown
1412
1637
  > = z.union([
1413
1638
  z.lazy(() => ExternalBindingAurora$inboundSchema),
1639
+ z.lazy(() => ExternalBindingAuroraManaged$inboundSchema),
1414
1640
  z.lazy(() => ExternalBindingCloudSQL$inboundSchema),
1415
1641
  z.lazy(() => ExternalBindingFlexibleServer$inboundSchema),
1416
1642
  z.lazy(() => ExternalBindingExternal$inboundSchema),
@@ -1419,6 +1645,7 @@ export const ExternalBindingUnion6$inboundSchema: z.ZodType<
1419
1645
  /** @internal */
1420
1646
  export type ExternalBindingUnion6$Outbound =
1421
1647
  | ExternalBindingAurora$Outbound
1648
+ | ExternalBindingAuroraManaged$Outbound
1422
1649
  | ExternalBindingCloudSQL$Outbound
1423
1650
  | ExternalBindingFlexibleServer$Outbound
1424
1651
  | ExternalBindingExternal$Outbound
@@ -1430,6 +1657,7 @@ export const ExternalBindingUnion6$outboundSchema: z.ZodType<
1430
1657
  ExternalBindingUnion6
1431
1658
  > = z.union([
1432
1659
  z.lazy(() => ExternalBindingAurora$outboundSchema),
1660
+ z.lazy(() => ExternalBindingAuroraManaged$outboundSchema),
1433
1661
  z.lazy(() => ExternalBindingCloudSQL$outboundSchema),
1434
1662
  z.lazy(() => ExternalBindingFlexibleServer$outboundSchema),
1435
1663
  z.lazy(() => ExternalBindingExternal$outboundSchema),
@@ -3073,6 +3301,7 @@ export const ExternalBindingUnion$inboundSchema: z.ZodType<
3073
3301
  ]),
3074
3302
  z.union([
3075
3303
  z.lazy(() => ExternalBindingAurora$inboundSchema),
3304
+ z.lazy(() => ExternalBindingAuroraManaged$inboundSchema),
3076
3305
  z.lazy(() => ExternalBindingCloudSQL$inboundSchema),
3077
3306
  z.lazy(() => ExternalBindingFlexibleServer$inboundSchema),
3078
3307
  z.lazy(() => ExternalBindingExternal$inboundSchema),
@@ -3107,6 +3336,7 @@ export type ExternalBindingUnion$Outbound =
3107
3336
  | ExternalBindingKubernetesSecret$Outbound
3108
3337
  | ExternalBindingLocalVault$Outbound
3109
3338
  | ExternalBindingAurora$Outbound
3339
+ | ExternalBindingAuroraManaged$Outbound
3110
3340
  | ExternalBindingCloudSQL$Outbound
3111
3341
  | ExternalBindingFlexibleServer$Outbound
3112
3342
  | ExternalBindingExternal$Outbound
@@ -3154,6 +3384,7 @@ export const ExternalBindingUnion$outboundSchema: z.ZodType<
3154
3384
  ]),
3155
3385
  z.union([
3156
3386
  z.lazy(() => ExternalBindingAurora$outboundSchema),
3387
+ z.lazy(() => ExternalBindingAuroraManaged$outboundSchema),
3157
3388
  z.lazy(() => ExternalBindingCloudSQL$outboundSchema),
3158
3389
  z.lazy(() => ExternalBindingFlexibleServer$outboundSchema),
3159
3390
  z.lazy(() => ExternalBindingExternal$outboundSchema),
@@ -0,0 +1,60 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../types/fp.js";
8
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
+ import {
10
+ SecretReference,
11
+ SecretReference$inboundSchema,
12
+ SecretReference$Outbound,
13
+ SecretReference$outboundSchema,
14
+ } from "./secretreference.js";
15
+
16
+ export type ExternalPasswordSecretKeyRef = {
17
+ /**
18
+ * Reference to a Kubernetes Secret
19
+ */
20
+ secretKeyRef: SecretReference;
21
+ };
22
+
23
+ /** @internal */
24
+ export const ExternalPasswordSecretKeyRef$inboundSchema: z.ZodType<
25
+ ExternalPasswordSecretKeyRef,
26
+ unknown
27
+ > = z.object({
28
+ secretKeyRef: SecretReference$inboundSchema,
29
+ });
30
+ /** @internal */
31
+ export type ExternalPasswordSecretKeyRef$Outbound = {
32
+ secretKeyRef: SecretReference$Outbound;
33
+ };
34
+
35
+ /** @internal */
36
+ export const ExternalPasswordSecretKeyRef$outboundSchema: z.ZodType<
37
+ ExternalPasswordSecretKeyRef$Outbound,
38
+ ExternalPasswordSecretKeyRef
39
+ > = z.object({
40
+ secretKeyRef: SecretReference$outboundSchema,
41
+ });
42
+
43
+ export function externalPasswordSecretKeyRefToJSON(
44
+ externalPasswordSecretKeyRef: ExternalPasswordSecretKeyRef,
45
+ ): string {
46
+ return JSON.stringify(
47
+ ExternalPasswordSecretKeyRef$outboundSchema.parse(
48
+ externalPasswordSecretKeyRef,
49
+ ),
50
+ );
51
+ }
52
+ export function externalPasswordSecretKeyRefFromJSON(
53
+ jsonString: string,
54
+ ): SafeParseResult<ExternalPasswordSecretKeyRef, SDKValidationError> {
55
+ return safeParse(
56
+ jsonString,
57
+ (x) => ExternalPasswordSecretKeyRef$inboundSchema.parse(JSON.parse(x)),
58
+ `Failed to parse 'ExternalPasswordSecretKeyRef' from JSON`,
59
+ );
60
+ }
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../types/fp.js";
8
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
+ import {
10
+ SecretReference,
11
+ SecretReference$inboundSchema,
12
+ SecretReference$Outbound,
13
+ SecretReference$outboundSchema,
14
+ } from "./secretreference.js";
15
+
16
+ export type ExternalPasswordSecretRef = {
17
+ /**
18
+ * Reference to a Kubernetes Secret
19
+ */
20
+ secretRef: SecretReference;
21
+ };
22
+
23
+ /** @internal */
24
+ export const ExternalPasswordSecretRef$inboundSchema: z.ZodType<
25
+ ExternalPasswordSecretRef,
26
+ unknown
27
+ > = z.object({
28
+ secretRef: SecretReference$inboundSchema,
29
+ });
30
+ /** @internal */
31
+ export type ExternalPasswordSecretRef$Outbound = {
32
+ secretRef: SecretReference$Outbound;
33
+ };
34
+
35
+ /** @internal */
36
+ export const ExternalPasswordSecretRef$outboundSchema: z.ZodType<
37
+ ExternalPasswordSecretRef$Outbound,
38
+ ExternalPasswordSecretRef
39
+ > = z.object({
40
+ secretRef: SecretReference$outboundSchema,
41
+ });
42
+
43
+ export function externalPasswordSecretRefToJSON(
44
+ externalPasswordSecretRef: ExternalPasswordSecretRef,
45
+ ): string {
46
+ return JSON.stringify(
47
+ ExternalPasswordSecretRef$outboundSchema.parse(externalPasswordSecretRef),
48
+ );
49
+ }
50
+ export function externalPasswordSecretRefFromJSON(
51
+ jsonString: string,
52
+ ): SafeParseResult<ExternalPasswordSecretRef, SDKValidationError> {
53
+ return safeParse(
54
+ jsonString,
55
+ (x) => ExternalPasswordSecretRef$inboundSchema.parse(JSON.parse(x)),
56
+ `Failed to parse 'ExternalPasswordSecretRef' from JSON`,
57
+ );
58
+ }
@@ -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
  });