@alienplatform/platform-api 3.3.20 → 3.3.21

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/deploymentGetInfo.js +4 -2
  2. package/esm/funcs/deploymentGetInfo.js.map +1 -1
  3. package/esm/funcs/deploymentPlanCompute.js +2 -2
  4. package/esm/funcs/deploymentPlanCompute.js.map +1 -1
  5. package/esm/funcs/deploymentPrepareStack.js +2 -2
  6. package/esm/funcs/deploymentPrepareStack.js.map +1 -1
  7. package/esm/lib/config.d.ts +2 -2
  8. package/esm/lib/config.js +2 -2
  9. package/esm/models/createsetuplinkresponse.d.ts +4 -0
  10. package/esm/models/createsetuplinkresponse.d.ts.map +1 -1
  11. package/esm/models/createsetuplinkresponse.js +1 -0
  12. package/esm/models/createsetuplinkresponse.js.map +1 -1
  13. package/esm/models/deploymentcomputeplan.d.ts +148 -10
  14. package/esm/models/deploymentcomputeplan.d.ts.map +1 -1
  15. package/esm/models/deploymentcomputeplan.js +83 -10
  16. package/esm/models/deploymentcomputeplan.js.map +1 -1
  17. package/esm/models/deploymentinfo.d.ts +1276 -8
  18. package/esm/models/deploymentinfo.d.ts.map +1 -1
  19. package/esm/models/deploymentinfo.js +987 -7
  20. package/esm/models/deploymentinfo.js.map +1 -1
  21. package/esm/models/deploymentupdateoperationstatus.d.ts +1 -0
  22. package/esm/models/deploymentupdateoperationstatus.d.ts.map +1 -1
  23. package/esm/models/deploymentupdateoperationstatus.js +1 -0
  24. package/esm/models/deploymentupdateoperationstatus.js.map +1 -1
  25. package/esm/models/deploymentupdateoperationsummary.d.ts +4 -0
  26. package/esm/models/deploymentupdateoperationsummary.d.ts.map +1 -1
  27. package/esm/models/deploymentupdateoperationsummary.js +1 -0
  28. package/esm/models/deploymentupdateoperationsummary.js.map +1 -1
  29. package/esm/models/operations/getdeploymentinfo.d.ts +4 -0
  30. package/esm/models/operations/getdeploymentinfo.d.ts.map +1 -1
  31. package/esm/models/operations/getdeploymentinfo.js +2 -0
  32. package/esm/models/operations/getdeploymentinfo.js.map +1 -1
  33. package/esm/models/operations/plandeploymentcompute.d.ts +140 -12
  34. package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -1
  35. package/esm/models/operations/plandeploymentcompute.js +67 -6
  36. package/esm/models/operations/plandeploymentcompute.js.map +1 -1
  37. package/esm/models/operations/preparedeploymentstack.d.ts +145 -12
  38. package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
  39. package/esm/models/operations/preparedeploymentstack.js +68 -7
  40. package/esm/models/operations/preparedeploymentstack.js.map +1 -1
  41. package/esm/models/operationspluginoperation.d.ts +4 -0
  42. package/esm/models/operationspluginoperation.d.ts.map +1 -1
  43. package/esm/models/operationspluginoperation.js +1 -0
  44. package/esm/models/operationspluginoperation.js.map +1 -1
  45. package/esm/models/prepareddeploymentstack.d.ts +1 -0
  46. package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
  47. package/esm/models/prepareddeploymentstack.js +1 -0
  48. package/esm/models/prepareddeploymentstack.js.map +1 -1
  49. package/esm/sdk/resources.d.ts +0 -3
  50. package/esm/sdk/resources.d.ts.map +1 -1
  51. package/esm/sdk/resources.js +0 -3
  52. package/esm/sdk/resources.js.map +1 -1
  53. package/jsr.json +1 -1
  54. package/package.json +1 -1
  55. package/src/funcs/deploymentGetInfo.ts +4 -2
  56. package/src/funcs/deploymentPlanCompute.ts +2 -2
  57. package/src/funcs/deploymentPrepareStack.ts +2 -2
  58. package/src/lib/config.ts +2 -2
  59. package/src/models/createsetuplinkresponse.ts +7 -0
  60. package/src/models/deploymentcomputeplan.ts +311 -20
  61. package/src/models/deploymentinfo.ts +3599 -453
  62. package/src/models/deploymentupdateoperationstatus.ts +1 -0
  63. package/src/models/deploymentupdateoperationsummary.ts +5 -0
  64. package/src/models/operations/getdeploymentinfo.ts +6 -0
  65. package/src/models/operations/plandeploymentcompute.ts +295 -18
  66. package/src/models/operations/preparedeploymentstack.ts +301 -19
  67. package/src/models/operationspluginoperation.ts +5 -0
  68. package/src/models/prepareddeploymentstack.ts +2 -0
  69. package/src/sdk/resources.ts +0 -3
@@ -35,24 +35,106 @@ export type PrepareDeploymentStackPlatform = ClosedEnum<
35
35
  typeof PrepareDeploymentStackPlatform
36
36
  >;
37
37
 
38
+ /**
39
+ * Failure-domain policy selected for a compute pool.
40
+ */
41
+ export type PrepareDeploymentStackFailureDomains2 = {
42
+ /**
43
+ * Concrete provider domains selected during setup.
44
+ *
45
+ * @remarks
46
+ * Empty delegates deterministic selection to the provider setup implementation.
47
+ */
48
+ selectedFailureDomains?: Array<string> | undefined;
49
+ /**
50
+ * Number of distinct failure domains across which new stateful replicas may be spread.
51
+ */
52
+ spread: number;
53
+ };
54
+
55
+ export type PrepareDeploymentStackFailureDomainsUnion2 =
56
+ | PrepareDeploymentStackFailureDomains2
57
+ | any;
58
+
38
59
  export type PrepareDeploymentStackPoolsAutoscale = {
39
- mode: "autoscale";
40
- min: number;
60
+ failureDomains?:
61
+ | PrepareDeploymentStackFailureDomains2
62
+ | any
63
+ | null
64
+ | undefined;
65
+ /**
66
+ * Provider machine type selected for this deployment.
67
+ */
68
+ machine?: string | null | undefined;
69
+ /**
70
+ * Maximum machine count.
71
+ */
41
72
  max: number;
42
- machine?: string | undefined;
73
+ /**
74
+ * Minimum machine count.
75
+ */
76
+ min: number;
77
+ mode: "autoscale";
78
+ };
79
+
80
+ /**
81
+ * Failure-domain policy selected for a compute pool.
82
+ */
83
+ export type PrepareDeploymentStackFailureDomains1 = {
84
+ /**
85
+ * Concrete provider domains selected during setup.
86
+ *
87
+ * @remarks
88
+ * Empty delegates deterministic selection to the provider setup implementation.
89
+ */
90
+ selectedFailureDomains?: Array<string> | undefined;
91
+ /**
92
+ * Number of distinct failure domains across which new stateful replicas may be spread.
93
+ */
94
+ spread: number;
43
95
  };
44
96
 
97
+ export type PrepareDeploymentStackFailureDomainsUnion1 =
98
+ | PrepareDeploymentStackFailureDomains1
99
+ | any;
100
+
45
101
  export type PrepareDeploymentStackPoolsFixed = {
46
- mode: "fixed";
102
+ failureDomains?:
103
+ | PrepareDeploymentStackFailureDomains1
104
+ | any
105
+ | null
106
+ | undefined;
107
+ /**
108
+ * Provider machine type selected for this deployment.
109
+ */
110
+ machine?: string | null | undefined;
111
+ /**
112
+ * Number of machines to run.
113
+ */
47
114
  machines: number;
48
- machine?: string | undefined;
115
+ mode: "fixed";
49
116
  };
50
117
 
118
+ /**
119
+ * User-selected deployment settings for one compute pool.
120
+ */
51
121
  export type PrepareDeploymentStackPoolsUnion =
52
122
  | PrepareDeploymentStackPoolsFixed
53
123
  | PrepareDeploymentStackPoolsAutoscale;
54
124
 
125
+ /**
126
+ * Deployment-time compute choices for Alien-managed compute pools.
127
+ *
128
+ * @remarks
129
+ *
130
+ * Application source declares portable pool requirements. This settings
131
+ * object stores the concrete choices made for one deployment, such as the
132
+ * provider machine type and selected machine counts.
133
+ */
55
134
  export type PrepareDeploymentStackCompute = {
135
+ /**
136
+ * Selected compute choices keyed by pool ID.
137
+ */
56
138
  pools?: {
57
139
  [k: string]:
58
140
  | PrepareDeploymentStackPoolsFixed
@@ -60,6 +142,10 @@ export type PrepareDeploymentStackCompute = {
60
142
  } | undefined;
61
143
  };
62
144
 
145
+ export type PrepareDeploymentStackComputeUnion =
146
+ | PrepareDeploymentStackCompute
147
+ | any;
148
+
63
149
  /**
64
150
  * Deployment model: how updates are delivered to the remote environment.
65
151
  */
@@ -1093,8 +1179,20 @@ export type PrepareDeploymentStackUpdates = ClosedEnum<
1093
1179
  typeof PrepareDeploymentStackUpdates
1094
1180
  >;
1095
1181
 
1182
+ /**
1183
+ * User-customizable deployment settings specified at deploy time.
1184
+ *
1185
+ * @remarks
1186
+ *
1187
+ * These settings are provided by the customer via CloudFormation parameters,
1188
+ * Terraform attributes, CLI flags, or Helm values. They customize how the
1189
+ * deployment runs and what capabilities are enabled.
1190
+ *
1191
+ * **Key distinction**: StackSettings is user-customizable, while ManagementConfig
1192
+ * is platform-derived (from the Manager's ServiceAccount).
1193
+ */
1096
1194
  export type PrepareDeploymentStackStackSettings = {
1097
- compute?: PrepareDeploymentStackCompute | undefined;
1195
+ compute?: PrepareDeploymentStackCompute | any | null | undefined;
1098
1196
  /**
1099
1197
  * Deployment model: how updates are delivered to the remote environment.
1100
1198
  */
@@ -1144,10 +1242,28 @@ export type PrepareDeploymentStackStackSettings = {
1144
1242
  };
1145
1243
 
1146
1244
  export type PrepareDeploymentStackRequest = {
1245
+ /**
1246
+ * Persist validated choices for the exact blocked update; does not apply cloud changes.
1247
+ */
1248
+ saveForSetup?: boolean | undefined;
1147
1249
  setupItem?: PrepareDeploymentStackSetupItem | undefined;
1250
+ deploymentId?: string | undefined;
1251
+ updateOperationId?: string | undefined;
1148
1252
  platform: PrepareDeploymentStackPlatform;
1149
1253
  setupMethod: models.DeploymentSetupMethod;
1150
1254
  region?: string | undefined;
1255
+ /**
1256
+ * User-customizable deployment settings specified at deploy time.
1257
+ *
1258
+ * @remarks
1259
+ *
1260
+ * These settings are provided by the customer via CloudFormation parameters,
1261
+ * Terraform attributes, CLI flags, or Helm values. They customize how the
1262
+ * deployment runs and what capabilities are enabled.
1263
+ *
1264
+ * **Key distinction**: StackSettings is user-customizable, while ManagementConfig
1265
+ * is platform-derived (from the Manager's ServiceAccount).
1266
+ */
1151
1267
  stackSettings: PrepareDeploymentStackStackSettings;
1152
1268
  };
1153
1269
 
@@ -1161,12 +1277,68 @@ export const PrepareDeploymentStackPlatform$outboundSchema: z.ZodEnum<
1161
1277
  typeof PrepareDeploymentStackPlatform
1162
1278
  > = z.enum(PrepareDeploymentStackPlatform);
1163
1279
 
1280
+ /** @internal */
1281
+ export type PrepareDeploymentStackFailureDomains2$Outbound = {
1282
+ selectedFailureDomains?: Array<string> | undefined;
1283
+ spread: number;
1284
+ };
1285
+
1286
+ /** @internal */
1287
+ export const PrepareDeploymentStackFailureDomains2$outboundSchema: z.ZodType<
1288
+ PrepareDeploymentStackFailureDomains2$Outbound,
1289
+ PrepareDeploymentStackFailureDomains2
1290
+ > = z.object({
1291
+ selectedFailureDomains: z.array(z.string()).optional(),
1292
+ spread: z.int(),
1293
+ });
1294
+
1295
+ export function prepareDeploymentStackFailureDomains2ToJSON(
1296
+ prepareDeploymentStackFailureDomains2: PrepareDeploymentStackFailureDomains2,
1297
+ ): string {
1298
+ return JSON.stringify(
1299
+ PrepareDeploymentStackFailureDomains2$outboundSchema.parse(
1300
+ prepareDeploymentStackFailureDomains2,
1301
+ ),
1302
+ );
1303
+ }
1304
+
1305
+ /** @internal */
1306
+ export type PrepareDeploymentStackFailureDomainsUnion2$Outbound =
1307
+ | PrepareDeploymentStackFailureDomains2$Outbound
1308
+ | any;
1309
+
1310
+ /** @internal */
1311
+ export const PrepareDeploymentStackFailureDomainsUnion2$outboundSchema:
1312
+ z.ZodType<
1313
+ PrepareDeploymentStackFailureDomainsUnion2$Outbound,
1314
+ PrepareDeploymentStackFailureDomainsUnion2
1315
+ > = z.union([
1316
+ z.lazy(() => PrepareDeploymentStackFailureDomains2$outboundSchema),
1317
+ z.any(),
1318
+ ]);
1319
+
1320
+ export function prepareDeploymentStackFailureDomainsUnion2ToJSON(
1321
+ prepareDeploymentStackFailureDomainsUnion2:
1322
+ PrepareDeploymentStackFailureDomainsUnion2,
1323
+ ): string {
1324
+ return JSON.stringify(
1325
+ PrepareDeploymentStackFailureDomainsUnion2$outboundSchema.parse(
1326
+ prepareDeploymentStackFailureDomainsUnion2,
1327
+ ),
1328
+ );
1329
+ }
1330
+
1164
1331
  /** @internal */
1165
1332
  export type PrepareDeploymentStackPoolsAutoscale$Outbound = {
1166
- mode: "autoscale";
1167
- min: number;
1333
+ failure_domains?:
1334
+ | PrepareDeploymentStackFailureDomains2$Outbound
1335
+ | any
1336
+ | null
1337
+ | undefined;
1338
+ machine?: string | null | undefined;
1168
1339
  max: number;
1169
- machine?: string | undefined;
1340
+ min: number;
1341
+ mode: "autoscale";
1170
1342
  };
1171
1343
 
1172
1344
  /** @internal */
@@ -1174,10 +1346,20 @@ export const PrepareDeploymentStackPoolsAutoscale$outboundSchema: z.ZodType<
1174
1346
  PrepareDeploymentStackPoolsAutoscale$Outbound,
1175
1347
  PrepareDeploymentStackPoolsAutoscale
1176
1348
  > = z.object({
1177
- mode: z.literal("autoscale"),
1178
- min: z.int(),
1349
+ failureDomains: z.nullable(
1350
+ z.union([
1351
+ z.lazy(() => PrepareDeploymentStackFailureDomains2$outboundSchema),
1352
+ z.any(),
1353
+ ]),
1354
+ ).optional(),
1355
+ machine: z.nullable(z.string()).optional(),
1179
1356
  max: z.int(),
1180
- machine: z.string().optional(),
1357
+ min: z.int(),
1358
+ mode: z.literal("autoscale"),
1359
+ }).transform((v) => {
1360
+ return remap$(v, {
1361
+ failureDomains: "failure_domains",
1362
+ });
1181
1363
  });
1182
1364
 
1183
1365
  export function prepareDeploymentStackPoolsAutoscaleToJSON(
@@ -1190,11 +1372,67 @@ export function prepareDeploymentStackPoolsAutoscaleToJSON(
1190
1372
  );
1191
1373
  }
1192
1374
 
1375
+ /** @internal */
1376
+ export type PrepareDeploymentStackFailureDomains1$Outbound = {
1377
+ selectedFailureDomains?: Array<string> | undefined;
1378
+ spread: number;
1379
+ };
1380
+
1381
+ /** @internal */
1382
+ export const PrepareDeploymentStackFailureDomains1$outboundSchema: z.ZodType<
1383
+ PrepareDeploymentStackFailureDomains1$Outbound,
1384
+ PrepareDeploymentStackFailureDomains1
1385
+ > = z.object({
1386
+ selectedFailureDomains: z.array(z.string()).optional(),
1387
+ spread: z.int(),
1388
+ });
1389
+
1390
+ export function prepareDeploymentStackFailureDomains1ToJSON(
1391
+ prepareDeploymentStackFailureDomains1: PrepareDeploymentStackFailureDomains1,
1392
+ ): string {
1393
+ return JSON.stringify(
1394
+ PrepareDeploymentStackFailureDomains1$outboundSchema.parse(
1395
+ prepareDeploymentStackFailureDomains1,
1396
+ ),
1397
+ );
1398
+ }
1399
+
1400
+ /** @internal */
1401
+ export type PrepareDeploymentStackFailureDomainsUnion1$Outbound =
1402
+ | PrepareDeploymentStackFailureDomains1$Outbound
1403
+ | any;
1404
+
1405
+ /** @internal */
1406
+ export const PrepareDeploymentStackFailureDomainsUnion1$outboundSchema:
1407
+ z.ZodType<
1408
+ PrepareDeploymentStackFailureDomainsUnion1$Outbound,
1409
+ PrepareDeploymentStackFailureDomainsUnion1
1410
+ > = z.union([
1411
+ z.lazy(() => PrepareDeploymentStackFailureDomains1$outboundSchema),
1412
+ z.any(),
1413
+ ]);
1414
+
1415
+ export function prepareDeploymentStackFailureDomainsUnion1ToJSON(
1416
+ prepareDeploymentStackFailureDomainsUnion1:
1417
+ PrepareDeploymentStackFailureDomainsUnion1,
1418
+ ): string {
1419
+ return JSON.stringify(
1420
+ PrepareDeploymentStackFailureDomainsUnion1$outboundSchema.parse(
1421
+ prepareDeploymentStackFailureDomainsUnion1,
1422
+ ),
1423
+ );
1424
+ }
1425
+
1193
1426
  /** @internal */
1194
1427
  export type PrepareDeploymentStackPoolsFixed$Outbound = {
1195
- mode: "fixed";
1428
+ failure_domains?:
1429
+ | PrepareDeploymentStackFailureDomains1$Outbound
1430
+ | any
1431
+ | null
1432
+ | undefined;
1433
+ machine?: string | null | undefined;
1196
1434
  machines: number;
1197
- machine?: string | undefined;
1435
+ mode: "fixed";
1198
1436
  };
1199
1437
 
1200
1438
  /** @internal */
@@ -1202,9 +1440,19 @@ export const PrepareDeploymentStackPoolsFixed$outboundSchema: z.ZodType<
1202
1440
  PrepareDeploymentStackPoolsFixed$Outbound,
1203
1441
  PrepareDeploymentStackPoolsFixed
1204
1442
  > = z.object({
1205
- mode: z.literal("fixed"),
1443
+ failureDomains: z.nullable(
1444
+ z.union([
1445
+ z.lazy(() => PrepareDeploymentStackFailureDomains1$outboundSchema),
1446
+ z.any(),
1447
+ ]),
1448
+ ).optional(),
1449
+ machine: z.nullable(z.string()).optional(),
1206
1450
  machines: z.int(),
1207
- machine: z.string().optional(),
1451
+ mode: z.literal("fixed"),
1452
+ }).transform((v) => {
1453
+ return remap$(v, {
1454
+ failureDomains: "failure_domains",
1455
+ });
1208
1456
  });
1209
1457
 
1210
1458
  export function prepareDeploymentStackPoolsFixedToJSON(
@@ -1274,6 +1522,30 @@ export function prepareDeploymentStackComputeToJSON(
1274
1522
  );
1275
1523
  }
1276
1524
 
1525
+ /** @internal */
1526
+ export type PrepareDeploymentStackComputeUnion$Outbound =
1527
+ | PrepareDeploymentStackCompute$Outbound
1528
+ | any;
1529
+
1530
+ /** @internal */
1531
+ export const PrepareDeploymentStackComputeUnion$outboundSchema: z.ZodType<
1532
+ PrepareDeploymentStackComputeUnion$Outbound,
1533
+ PrepareDeploymentStackComputeUnion
1534
+ > = z.union([
1535
+ z.lazy(() => PrepareDeploymentStackCompute$outboundSchema),
1536
+ z.any(),
1537
+ ]);
1538
+
1539
+ export function prepareDeploymentStackComputeUnionToJSON(
1540
+ prepareDeploymentStackComputeUnion: PrepareDeploymentStackComputeUnion,
1541
+ ): string {
1542
+ return JSON.stringify(
1543
+ PrepareDeploymentStackComputeUnion$outboundSchema.parse(
1544
+ prepareDeploymentStackComputeUnion,
1545
+ ),
1546
+ );
1547
+ }
1548
+
1277
1549
  /** @internal */
1278
1550
  export const PrepareDeploymentStackDeploymentModel$outboundSchema: z.ZodEnum<
1279
1551
  typeof PrepareDeploymentStackDeploymentModel
@@ -3500,7 +3772,7 @@ export const PrepareDeploymentStackUpdates$outboundSchema: z.ZodEnum<
3500
3772
 
3501
3773
  /** @internal */
3502
3774
  export type PrepareDeploymentStackStackSettings$Outbound = {
3503
- compute?: PrepareDeploymentStackCompute$Outbound | undefined;
3775
+ compute?: PrepareDeploymentStackCompute$Outbound | any | null | undefined;
3504
3776
  deploymentModel?: string | undefined;
3505
3777
  domains?: PrepareDeploymentStackDomains$Outbound | any | null | undefined;
3506
3778
  externalBindings?:
@@ -3532,8 +3804,12 @@ export const PrepareDeploymentStackStackSettings$outboundSchema: z.ZodType<
3532
3804
  PrepareDeploymentStackStackSettings$Outbound,
3533
3805
  PrepareDeploymentStackStackSettings
3534
3806
  > = z.object({
3535
- compute: z.lazy(() => PrepareDeploymentStackCompute$outboundSchema)
3536
- .optional(),
3807
+ compute: z.nullable(
3808
+ z.union([
3809
+ z.lazy(() => PrepareDeploymentStackCompute$outboundSchema),
3810
+ z.any(),
3811
+ ]),
3812
+ ).optional(),
3537
3813
  deploymentModel: PrepareDeploymentStackDeploymentModel$outboundSchema
3538
3814
  .optional(),
3539
3815
  domains: z.nullable(
@@ -3581,7 +3857,10 @@ export function prepareDeploymentStackStackSettingsToJSON(
3581
3857
 
3582
3858
  /** @internal */
3583
3859
  export type PrepareDeploymentStackRequest$Outbound = {
3860
+ saveForSetup?: boolean | undefined;
3584
3861
  setupItem?: string | undefined;
3862
+ deploymentId?: string | undefined;
3863
+ updateOperationId?: string | undefined;
3585
3864
  platform: string;
3586
3865
  setupMethod: string;
3587
3866
  region?: string | undefined;
@@ -3593,7 +3872,10 @@ export const PrepareDeploymentStackRequest$outboundSchema: z.ZodType<
3593
3872
  PrepareDeploymentStackRequest$Outbound,
3594
3873
  PrepareDeploymentStackRequest
3595
3874
  > = z.object({
3875
+ saveForSetup: z.boolean().optional(),
3596
3876
  setupItem: PrepareDeploymentStackSetupItem$outboundSchema.optional(),
3877
+ deploymentId: z.string().optional(),
3878
+ updateOperationId: z.string().optional(),
3597
3879
  platform: PrepareDeploymentStackPlatform$outboundSchema,
3598
3880
  setupMethod: models.DeploymentSetupMethod$outboundSchema,
3599
3881
  region: z.string().optional(),
@@ -36,6 +36,10 @@ export type OperationsPluginOperation = {
36
36
  * Human-readable description.
37
37
  */
38
38
  description: string | null;
39
+ /**
40
+ * IDs of permission sets (see alien-permissions) this operation requires. Empty when the operation declares none.
41
+ */
42
+ requiredPermissions: Array<string>;
39
43
  };
40
44
 
41
45
  /** @internal */
@@ -51,6 +55,7 @@ export const OperationsPluginOperation$inboundSchema: z.ZodType<
51
55
  name: z.string(),
52
56
  tier: OperationsPluginOperationTier$inboundSchema,
53
57
  description: z.nullable(z.string()),
58
+ requiredPermissions: z.array(z.string()),
54
59
  });
55
60
 
56
61
  export function operationsPluginOperationFromJSON(
@@ -1494,6 +1494,7 @@ export type PreparedDeploymentStackStack = {
1494
1494
  };
1495
1495
 
1496
1496
  export type PreparedDeploymentStack = {
1497
+ updateOperationId?: string | undefined;
1497
1498
  platform: PreparedDeploymentStackPlatform;
1498
1499
  /**
1499
1500
  * A bag of resources, unaware of any cloud.
@@ -3648,6 +3649,7 @@ export const PreparedDeploymentStack$inboundSchema: z.ZodType<
3648
3649
  PreparedDeploymentStack,
3649
3650
  unknown
3650
3651
  > = z.object({
3652
+ updateOperationId: z.string().optional(),
3651
3653
  platform: PreparedDeploymentStackPlatform$inboundSchema,
3652
3654
  stack: z.lazy(() => PreparedDeploymentStackStack$inboundSchema),
3653
3655
  setup: SetupFingerprintInfo$inboundSchema,
@@ -33,9 +33,6 @@ export class Resources extends ClientSDK {
33
33
  ));
34
34
  }
35
35
 
36
- /**
37
- * List the project's deployments with their rollout state relative to this release.
38
- */
39
36
  async listDeployments(
40
37
  request: operations.ListResourceDeploymentsRequest,
41
38
  options?: RequestOptions,