@stack-spot/portal-network 0.51.0 → 0.52.0

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.
@@ -39,6 +39,35 @@ export type UpsertWorkspaceVariableRequest = {
39
39
  /** Workspace variable value. */
40
40
  value: string;
41
41
  };
42
+ export type ContextAttribute = {
43
+ key: string;
44
+ value: object;
45
+ final: boolean;
46
+ };
47
+ export type ContextValuesRequest = {
48
+ /** Input attributes context values. */
49
+ valuesContext: ContextAttribute[];
50
+ /** Plugin o Action Version Id. */
51
+ externalVersionId: string;
52
+ /** Environment Name (For specific environments). */
53
+ envName?: string;
54
+ };
55
+ export type ImportContextValueRequest = {
56
+ /** Context type (PLUGIN, ACTION). */
57
+ "type": "PLUGIN" | "ACTION";
58
+ /** PluginId or ActionId. */
59
+ externalId: string;
60
+ /** PluginVersionId or ActionVersionId. */
61
+ externalVersionId: string;
62
+ /** List of keys to be imported. */
63
+ attributes: string[];
64
+ };
65
+ export type ImportContextV2Request = {
66
+ /** StackVersionId reference to be imported from. */
67
+ stackVersionReference: string;
68
+ /** Target contexts to be imported. */
69
+ targetContexts: ImportContextValueRequest[];
70
+ };
42
71
  export type ContextAttributeDto = {
43
72
  key: string;
44
73
  value: object;
@@ -56,11 +85,6 @@ export type WorkflowContextResponse = {
56
85
  actionsBefore: ActionContextResponse[];
57
86
  actionsAfter: ActionContextResponse[];
58
87
  };
59
- export type ContextAttribute = {
60
- key: string;
61
- value: object;
62
- final: boolean;
63
- };
64
88
  export type WorkflowActionContextRequest = {
65
89
  actionId: string;
66
90
  valuesContext: ContextAttribute[];
@@ -69,18 +93,6 @@ export type WorkspaceWorkflowCreateRequest = {
69
93
  actionsBefore: WorkflowActionContextRequest[];
70
94
  actionsAfter: WorkflowActionContextRequest[];
71
95
  };
72
- export type PluginAttribute = {
73
- key: string;
74
- value: object;
75
- mandate: boolean;
76
- };
77
- export type AttributesByEnv = {
78
- environmentId: string;
79
- attributes: PluginAttribute[];
80
- };
81
- export type AddTypedContextRequest = {
82
- attributesByEnv: AttributesByEnv;
83
- };
84
96
  export type WorkflowActionResponse = {
85
97
  actionVersionId: string;
86
98
  orderStep: number;
@@ -113,14 +125,6 @@ export type AddWorkspaceWorkflowStepRequest = {
113
125
  identifier: string;
114
126
  workflowConditions: WorkflowConditionRequest[];
115
127
  };
116
- export type ImportContextRequest = {
117
- /** Context type (PLUGIN, ACTION). */
118
- "type": "PLUGIN" | "ACTION";
119
- /** PluginId. */
120
- externalId: string;
121
- /** Input attributes by environments. */
122
- attributesByEnv: AttributesByEnv[];
123
- };
124
128
  export type UpdateSharedInfraStatusRequest = {
125
129
  /** Shared Infrastructure Status. */
126
130
  status: "CREATED" | "CREATE_FAILED" | "DRAFT" | "DELETING" | "DELETE_FAILED";
@@ -141,6 +145,7 @@ export type Task = {
141
145
  runTaskId: string;
142
146
  "type": "IAC" | "DEPLOY" | "DESTROY" | "IAC_SELF_HOSTED" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED";
143
147
  status: "EXTERNAL_ERROR" | "INTERNAL_ERROR" | "ABORTED" | "FAILED" | "SUCCEEDED" | "RUNNING" | "PENDING" | "READY_TO_RUN";
148
+ message?: string;
144
149
  };
145
150
  export type Plugins = {
146
151
  pluginAlias: string;
@@ -320,6 +325,94 @@ export type StackWorkflowCreateRequest = {
320
325
  actionsBefore: WorkflowActionContextRequest[];
321
326
  actionsAfter: WorkflowActionContextRequest[];
322
327
  };
328
+ export type GetSharedInfraRequestBody = {
329
+ name?: string;
330
+ stackVersionIds?: string[];
331
+ };
332
+ export type ExtraRepositoriesReadResponse = {
333
+ /** Extra repository name. */
334
+ name: string;
335
+ /** Extra repository description. */
336
+ description: string;
337
+ /** Extra repository provider. */
338
+ provider: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZUREDEVOPS";
339
+ /** Extra repository url. */
340
+ url: string;
341
+ };
342
+ export type SharedInfraDetailsResponse = {
343
+ /** Shared infrastructure id. */
344
+ id: string;
345
+ /** Shared infrastructure name. */
346
+ name: string;
347
+ /** Shared infrastructure description. */
348
+ description?: string;
349
+ /** Shared infrastructure repository url. */
350
+ repoUrl?: string;
351
+ /** Shared infrastructure repository base branch. */
352
+ repoBaseBranch: string;
353
+ /** Stack used to generate this shared infrastructure. */
354
+ stackVersionId: string;
355
+ /** Starter used to generate this shared infrastructure. */
356
+ starterId?: string;
357
+ /** Shared Infrastructure status. */
358
+ status: string;
359
+ /** Application extra repositories. */
360
+ extraRepositories: ExtraRepositoriesReadResponse[];
361
+ /** Shared Infrastructure creator. */
362
+ createdBy: string;
363
+ /** Shared Infrastructure creation date. */
364
+ createdAt: string;
365
+ /** Shared Infrastructure updater. */
366
+ updatedBy: string;
367
+ /** Shared Infrastructure update date. */
368
+ updatedAt: string;
369
+ };
370
+ export type SharedInfraPageResponse = {
371
+ currentPage: number;
372
+ pageSize: number;
373
+ lastPage: number;
374
+ totalItems: number;
375
+ items: SharedInfraDetailsResponse[];
376
+ };
377
+ export type GetApplicationsRequestBody = {
378
+ name?: string;
379
+ stackVersionIds?: string[];
380
+ };
381
+ export type ApplicationReadResponse = {
382
+ /** Application id. */
383
+ id: string;
384
+ /** Application name. */
385
+ name: string;
386
+ /** Application description. */
387
+ description?: string;
388
+ /** Application repository url. */
389
+ repoUrl?: string;
390
+ /** Application repository base branch. */
391
+ repoBaseBranch: string;
392
+ /** Stack used to generate this application. */
393
+ stackVersionId: string;
394
+ /** Starter used to generate this application. */
395
+ starterId: string;
396
+ /** Application status. */
397
+ status: string;
398
+ /** Application extra repositories. */
399
+ extraRepositories: ExtraRepositoriesReadResponse[];
400
+ /** Application creator. */
401
+ createdBy: string;
402
+ /** Application creation date. */
403
+ createdAt: string;
404
+ /** Application updater. */
405
+ updatedBy: string;
406
+ /** Application update date. */
407
+ updatedAt: string;
408
+ };
409
+ export type ApplicationPageResponse = {
410
+ currentPage: number;
411
+ pageSize: number;
412
+ lastPage: number;
413
+ totalItems: number;
414
+ items: ApplicationReadResponse[];
415
+ };
323
416
  export type EnvironmentSimpleResponse = {
324
417
  /** Environment id. */
325
418
  id: string;
@@ -410,31 +503,15 @@ export type StackWithWorkspaceContextResponse = {
410
503
  /** Account id. */
411
504
  accountId: string;
412
505
  };
413
- export type SharedInfraDetailsResponse = {
414
- /** Shared infrastructure id. */
415
- id: string;
416
- /** Shared infrastructure name. */
506
+ export type ExtraRepositoriesRequest = {
507
+ /** Extra repository name. */
417
508
  name: string;
418
- /** Shared infrastructure description. */
419
- description?: string;
420
- /** Shared infrastructure repository url. */
421
- repoUrl?: string;
422
- /** Shared infrastructure repository base branch. */
423
- repoBaseBranch: string;
424
- /** Stack used to generate this shared infrastructure. */
425
- stackVersionId: string;
426
- /** Starter used to generate this shared infrastructure. */
427
- starterId?: string;
428
- /** Shared Infrastructure status. */
429
- status: string;
430
- /** Shared Infrastructure creator. */
431
- createdBy: string;
432
- /** Shared Infrastructure creation date. */
433
- createdAt: string;
434
- /** Shared Infrastructure updater. */
435
- updatedBy: string;
436
- /** Shared Infrastructure update date. */
437
- updatedAt: string;
509
+ /** Extra repository description. */
510
+ description: string;
511
+ /** Extra repository provider. */
512
+ provider: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZUREDEVOPS";
513
+ /** Extra repository url. */
514
+ url: string;
438
515
  };
439
516
  export type CreateSharedInfraRequest = {
440
517
  /** Shared infrastructure name. */
@@ -449,6 +526,8 @@ export type CreateSharedInfraRequest = {
449
526
  stackVersionId: string;
450
527
  /** Starter used to generate this shared infrastructure. */
451
528
  starterId?: string;
529
+ /** Extra repository this shared infrastructure. */
530
+ extraRepositories?: ExtraRepositoriesRequest[];
452
531
  };
453
532
  export type RecreateSharedInfraRequest = {
454
533
  /** Shared infrastructure name. */
@@ -473,6 +552,8 @@ export type UpdateSharedInfraRequest = {
473
552
  repoUrl?: string;
474
553
  /** Shared infrastructure repository base branch. */
475
554
  repoBaseBranch?: string;
555
+ /** Extra repository for this application. */
556
+ extraRepositories?: ExtraRepositoriesRequest[];
476
557
  };
477
558
  export type SharedInfraLinkReadResponse = {
478
559
  /** Shared infra link id. */
@@ -522,6 +603,8 @@ export type StartRunRequest = {
522
603
  action: "CREATE" | "UPDATE" | "DELETE" | "RUN";
523
604
  /** Run ID. */
524
605
  runId: string;
606
+ /** Workflow executionId. */
607
+ executionId?: string;
525
608
  /** Environment id. */
526
609
  environmentId: string;
527
610
  /** Application id. */
@@ -611,32 +694,6 @@ export type UpdateConnectionInterfaceVisibilityRequest = {
611
694
  ids: string[];
612
695
  "type": "ACCOUNT" | "APPLICATION" | "WORKSPACE";
613
696
  };
614
- export type ApplicationReadResponse = {
615
- /** Application id. */
616
- id: string;
617
- /** Application name. */
618
- name: string;
619
- /** Application description. */
620
- description?: string;
621
- /** Application repository url. */
622
- repoUrl?: string;
623
- /** Application repository base branch. */
624
- repoBaseBranch: string;
625
- /** Stack used to generate this application. */
626
- stackVersionId: string;
627
- /** Starter used to generate this application. */
628
- starterId: string;
629
- /** Application status. */
630
- status: string;
631
- /** Application creator. */
632
- createdBy: string;
633
- /** Application creation date. */
634
- createdAt: string;
635
- /** Application updater. */
636
- updatedBy: string;
637
- /** Application update date. */
638
- updatedAt: string;
639
- };
640
697
  export type CreateApplicationRequest = {
641
698
  /** Application name. */
642
699
  name: string;
@@ -650,6 +707,8 @@ export type CreateApplicationRequest = {
650
707
  stackVersionId: string;
651
708
  /** Starter used to generate this application. */
652
709
  starterId: string;
710
+ /** Extra repository this shared infrastructure. */
711
+ extraRepositories?: ExtraRepositoriesRequest[];
653
712
  };
654
713
  export type RecreateApplicationRequest = {
655
714
  /** Application name. */
@@ -674,6 +733,8 @@ export type UpdateApplicationRequest = {
674
733
  repoUrl?: string;
675
734
  /** Application repository base branch. */
676
735
  repoBaseBranch?: string;
736
+ /** Extra repository for this application. */
737
+ extraRepositories?: ExtraRepositoriesRequest[];
677
738
  };
678
739
  export type ApplicationLinkReadResponse = {
679
740
  /** Shared infra link id. */
@@ -968,6 +1029,13 @@ export type EnvironmentUpdateRequest = {
968
1029
  /** Environment description. */
969
1030
  description?: string;
970
1031
  };
1032
+ export type WorkspacePageResponse = {
1033
+ currentPage: number;
1034
+ pageSize: number;
1035
+ lastPage: number;
1036
+ totalItems: number;
1037
+ items: WorkspaceResponse[];
1038
+ };
971
1039
  export type PaginatedWorkspaceVariableResponse = {
972
1040
  currentPage: number;
973
1041
  pageSize: number;
@@ -1066,6 +1134,7 @@ export type ConsolidatedAttr = {
1066
1134
  };
1067
1135
  export type ConsolidatedAttrByEnv = {
1068
1136
  environmentId: string;
1137
+ envName: string;
1069
1138
  attributes: ConsolidatedAttr[];
1070
1139
  };
1071
1140
  export type ConsolidatedContextResponse = {
@@ -1096,7 +1165,7 @@ export type ActivityResponse = {
1096
1165
  version?: string;
1097
1166
  owner?: string;
1098
1167
  status: "SUCCESS" | "FAILED" | "SKIPPED" | "CANCELLED" | "RUNTIME_ERROR" | "INTERNAL_ERROR" | "EXTERNAL_ERROR" | "ABORTED" | "ABORTING" | "SUCCEEDED" | "USER_ERROR" | "DRIFT" | "TIMEOUT" | "RUNNING" | "READY_TO_RUN" | "PENDING" | "NONE";
1099
- "type"?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED" | "CUSTOMER_WORKFLOW";
1168
+ "type": "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED" | "CUSTOMER_WORKFLOW";
1100
1169
  requestedBy?: string;
1101
1170
  action?: "CREATE" | "UPDATE" | "DELETE" | "RUN";
1102
1171
  time: number;
@@ -1128,6 +1197,9 @@ export type AppAndInfraDependencyResponse = {
1128
1197
  hasApplication: boolean;
1129
1198
  dependencies: Dependencies[];
1130
1199
  };
1200
+ export type StacksVersionIdsResponse = {
1201
+ stackVersionIds: string[];
1202
+ };
1131
1203
  export type ConnectionInterfaceDetailsResponse = {
1132
1204
  /** Connection interface id. */
1133
1205
  id: string;
@@ -1165,7 +1237,7 @@ export type SpecResponse = {
1165
1237
  repository?: string;
1166
1238
  appliedPlugins: AppliedPluginV2Response[];
1167
1239
  };
1168
- export type AppManifestoResponse = {
1240
+ export type ManifestoResponse = {
1169
1241
  schemaVersion: string;
1170
1242
  kind: string;
1171
1243
  metadata: MetaDataResponse;
@@ -1183,13 +1255,7 @@ export type AppDeployResponse = {
1183
1255
  deployStatus: "SUCCEEDED" | "FAILED";
1184
1256
  requestedBy: string;
1185
1257
  dateTime: string;
1186
- manifesto: AppManifestoResponse;
1187
- };
1188
- export type InfraManifestoResponse = {
1189
- schemaVersion?: string;
1190
- kind?: string;
1191
- metadata?: MetaDataResponse;
1192
- spec: SpecResponse;
1258
+ manifesto: ManifestoResponse;
1193
1259
  };
1194
1260
  export type InfraDeployResponse = {
1195
1261
  deploymentId: string;
@@ -1203,7 +1269,7 @@ export type InfraDeployResponse = {
1203
1269
  status: "ACTIVE" | "INACTIVE";
1204
1270
  action?: "CREATE" | "UPDATE" | "DELETE" | "RUN";
1205
1271
  requestedBy?: string;
1206
- manifesto: InfraManifestoResponse;
1272
+ manifesto: ManifestoResponse;
1207
1273
  };
1208
1274
  export type ApplicationDeployInfoResponse = {
1209
1275
  appDeploy?: AppDeployResponse;
@@ -1282,10 +1348,6 @@ export type WorkflowActionUsageResponse = {
1282
1348
  versionRanges: string[];
1283
1349
  };
1284
1350
  export type AccountVariableUsageResponse = {
1285
- /** How many plugins are using this account variable */
1286
- pluginsInUse: number;
1287
- /** How many actions are using this account variable */
1288
- actionsInUse: number;
1289
1351
  /** How many contexts are using this account variable */
1290
1352
  contextsInUse: number;
1291
1353
  };
@@ -1296,6 +1358,7 @@ export type AccountAttr = {
1296
1358
  };
1297
1359
  export type AccountAttrByEnv = {
1298
1360
  environmentId: string;
1361
+ envName: string;
1299
1362
  attributes: AccountAttr[];
1300
1363
  };
1301
1364
  export type AccountContextResponse = {
@@ -1331,6 +1394,40 @@ export declare function workspaceVariableV2Controllerupsert({ workspaceId, name,
1331
1394
  name: string;
1332
1395
  upsertWorkspaceVariableRequest: UpsertWorkspaceVariableRequest;
1333
1396
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1397
+ /**
1398
+ * Add context to a typed element in a workspace's stack.
1399
+ */
1400
+ export declare function contextV2ControlleraddTypedContextInWorkspace({ workspaceId, stackVersionId, externalId, $type, contextValuesRequest }: {
1401
+ workspaceId: string;
1402
+ stackVersionId: string;
1403
+ externalId: string;
1404
+ $type: "plugin" | "action";
1405
+ contextValuesRequest: ContextValuesRequest;
1406
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1407
+ /**
1408
+ * Import context in a workspace's stack.
1409
+ */
1410
+ export declare function contextV2ControllerimportContextInWorkspace({ workspaceId, stackVersionId, importContextV2Request }: {
1411
+ workspaceId: string;
1412
+ stackVersionId: string;
1413
+ importContextV2Request: ImportContextV2Request;
1414
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1415
+ /**
1416
+ * Add context to a typed element in an account's stack.
1417
+ */
1418
+ export declare function contextV2ControlleraddTypedContextInAccount({ stackVersionId, externalId, $type, contextValuesRequest }: {
1419
+ stackVersionId: string;
1420
+ externalId: string;
1421
+ $type: "plugin" | "action";
1422
+ contextValuesRequest: ContextValuesRequest;
1423
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1424
+ /**
1425
+ * Import context in an account's stack.
1426
+ */
1427
+ export declare function contextV2ControllerimportContextInAccount({ stackVersionId, importContextV2Request }: {
1428
+ stackVersionId: string;
1429
+ importContextV2Request: ImportContextV2Request;
1430
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1334
1431
  /**
1335
1432
  * List all configured context of an workflow by workspace and stack.
1336
1433
  */
@@ -1348,16 +1445,6 @@ export declare function workflowWorkspaceControllersaveWorkspaceWorkflowContext(
1348
1445
  stackId: string;
1349
1446
  workspaceWorkflowCreateRequest: WorkspaceWorkflowCreateRequest;
1350
1447
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1351
- /**
1352
- * Add context to a typed element in a workspace's stack.
1353
- */
1354
- export declare function contextControlleraddTypedContextInWorkspace({ workspaceId, stackVersionId, externalId, $type, addTypedContextRequest }: {
1355
- workspaceId: string;
1356
- stackVersionId: string;
1357
- externalId: string;
1358
- $type: "plugin" | "action";
1359
- addTypedContextRequest: AddTypedContextRequest;
1360
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1361
1448
  /**
1362
1449
  * Get Workflow of a stack in a workspace.
1363
1450
  */
@@ -1374,14 +1461,6 @@ export declare function workflowControlleraddWorkflowStepInWorkspace({ workspace
1374
1461
  stackVersionId: string;
1375
1462
  addWorkspaceWorkflowStepRequest: AddWorkspaceWorkflowStepRequest;
1376
1463
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1377
- /**
1378
- * Import context in a workspace's stack.
1379
- */
1380
- export declare function contextControllerimportContextInWorkspace({ workspaceId, stackVersionId, body }: {
1381
- workspaceId: string;
1382
- stackVersionId: string;
1383
- body: ImportContextRequest[];
1384
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1385
1464
  /**
1386
1465
  * Update shared infrastructure status.
1387
1466
  */
@@ -1530,15 +1609,6 @@ export declare function accountVariableControllerupdate({ name, updateAccountVar
1530
1609
  export declare function accountVariableControllerdelete({ name }: {
1531
1610
  name: string;
1532
1611
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1533
- /**
1534
- * Add context to a typed element in an account's stack.
1535
- */
1536
- export declare function contextControlleraddTypedContextInAccount({ stackVersionId, externalId, $type, addTypedContextRequest }: {
1537
- stackVersionId: string;
1538
- externalId: string;
1539
- $type: "plugin" | "action";
1540
- addTypedContextRequest: AddTypedContextRequest;
1541
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1542
1612
  /**
1543
1613
  * Get Workflow of a stack in an account.
1544
1614
  */
@@ -1553,13 +1623,6 @@ export declare function workflowControlleraddWorkflowStepInAccount({ stackVersio
1553
1623
  stackVersionId: string;
1554
1624
  addAccountWorkflowStepRequest: AddAccountWorkflowStepRequest;
1555
1625
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1556
- /**
1557
- * Import context in an account's stack.
1558
- */
1559
- export declare function contextControllerimportContextInAccount({ stackVersionId, body }: {
1560
- stackVersionId: string;
1561
- body: ImportContextRequest[];
1562
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1563
1626
  /**
1564
1627
  * Save stack workflow context
1565
1628
  */
@@ -1568,6 +1631,28 @@ export declare function workflowStackControllersaveStackWorkflowContext({ stackI
1568
1631
  workflowId: string;
1569
1632
  stackWorkflowCreateRequest: StackWorkflowCreateRequest;
1570
1633
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1634
+ /**
1635
+ * Get shared infra page.
1636
+ */
1637
+ export declare function sharedInfrastructureV2ControllergetSharedInfra({ workspaceId, page, size, sortBy, sortDir, getSharedInfraRequestBody }: {
1638
+ workspaceId: string;
1639
+ page?: number;
1640
+ size?: number;
1641
+ sortBy?: "NAME" | "CREATED_AT" | "STACK_VERSION" | "STACK";
1642
+ sortDir?: "ASC" | "DESC";
1643
+ getSharedInfraRequestBody?: GetSharedInfraRequestBody;
1644
+ }, opts?: Oazapfts.RequestOpts): Promise<SharedInfraPageResponse>;
1645
+ /**
1646
+ * Get applications from a workspace with pagination.
1647
+ */
1648
+ export declare function applicationV2ControllergetApplications({ workspaceId, page, size, sortBy, sortDir, getApplicationsRequestBody }: {
1649
+ workspaceId: string;
1650
+ page?: number;
1651
+ size?: number;
1652
+ sortBy?: "NAME" | "CREATED_AT" | "STACK_VERSION" | "STACK";
1653
+ sortDir?: "ASC" | "DESC";
1654
+ getApplicationsRequestBody?: GetApplicationsRequestBody;
1655
+ }, opts?: Oazapfts.RequestOpts): Promise<ApplicationPageResponse>;
1571
1656
  /**
1572
1657
  * List specific shared infra or application usage by plugin list.
1573
1658
  */
@@ -1619,6 +1704,13 @@ export declare function workspaceStackControllergetStacksWithContext({ workspace
1619
1704
  workspaceId: string;
1620
1705
  body: string[];
1621
1706
  }, opts?: Oazapfts.RequestOpts): Promise<StackWithWorkspaceContextResponse>;
1707
+ /**
1708
+ * Add a stack version in a workspace.
1709
+ */
1710
+ export declare function workspaceStackControlleraddUpdateStack({ workspaceId, addStackInWorkspaceRequest }: {
1711
+ workspaceId: string;
1712
+ addStackInWorkspaceRequest: AddStackInWorkspaceRequest;
1713
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1622
1714
  /**
1623
1715
  * Get all shared infrastructure of a workspace.
1624
1716
  */
@@ -2120,6 +2212,18 @@ export declare function environmentControllerupdate({ id, environmentUpdateReque
2120
2212
  id: string;
2121
2213
  environmentUpdateRequest: EnvironmentUpdateRequest;
2122
2214
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
2215
+ /**
2216
+ * Get all workspaces
2217
+ */
2218
+ export declare function workspaceV2ControllergetWorkspaces({ name, aclOnly, accountId, page, size, sortBy, sortDir }: {
2219
+ name?: string;
2220
+ aclOnly?: boolean;
2221
+ accountId?: string;
2222
+ page?: number;
2223
+ size?: number;
2224
+ sortBy?: "NAME" | "DESCRIPTION";
2225
+ sortDir?: "ASC" | "DESC";
2226
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspacePageResponse>;
2123
2227
  /**
2124
2228
  * Find all workspace variables
2125
2229
  */
@@ -2218,11 +2322,11 @@ export declare function workspaceStackControllerdeleteStack({ workspaceId, stack
2218
2322
  /**
2219
2323
  * List the consolidated input context of all stack elements for given type in a workspace.
2220
2324
  */
2221
- export declare function contextControllerlistConsolidatedContext({ workspaceId, stackVersionId, $type, environmentId, externalId }: {
2325
+ export declare function contextControllerlistConsolidatedContext({ workspaceId, stackVersionId, $type, envName, externalId }: {
2222
2326
  workspaceId: string;
2223
2327
  stackVersionId: string;
2224
2328
  $type: "plugin" | "action";
2225
- environmentId?: string;
2329
+ envName?: string;
2226
2330
  externalId?: string;
2227
2331
  }, opts?: Oazapfts.RequestOpts): Promise<ConsolidatedContextResponse[]>;
2228
2332
  /**
@@ -2249,7 +2353,7 @@ export declare function sharedInfrastructureControllerlistActivities({ workspace
2249
2353
  workspaceId: string;
2250
2354
  sharedInfraId: string;
2251
2355
  environmentId: string;
2252
- $type?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED" | "CUSTOMER_WORKFLOW";
2356
+ $type?: ("DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED" | "CUSTOMER_WORKFLOW")[];
2253
2357
  page: number;
2254
2358
  size: number;
2255
2359
  }, opts?: Oazapfts.RequestOpts): Promise<PaginatedActivityResponse>;
@@ -2260,6 +2364,12 @@ export declare function sharedInfrastructureControllergetDependencyTree({ worksp
2260
2364
  workspaceId: string;
2261
2365
  sharedInfraId: string;
2262
2366
  }, opts?: Oazapfts.RequestOpts): Promise<AppAndInfraDependencyResponse>;
2367
+ /**
2368
+ * Get stack version in use by shared infra in a workspace
2369
+ */
2370
+ export declare function sharedInfrastructureControllergetStackVersionsInUse({ workspaceId }: {
2371
+ workspaceId: string;
2372
+ }, opts?: Oazapfts.RequestOpts): Promise<StacksVersionIdsResponse>;
2263
2373
  /**
2264
2374
  * Get a connection interface by connection interface id.
2265
2375
  */
@@ -2321,7 +2431,7 @@ export declare function applicationControllerlistActivities({ workspaceId, appli
2321
2431
  workspaceId: string;
2322
2432
  applicationId: string;
2323
2433
  environmentId: string;
2324
- $type?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED" | "CUSTOMER_WORKFLOW";
2434
+ $type?: ("DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED" | "CUSTOMER_WORKFLOW")[];
2325
2435
  page: number;
2326
2436
  size: number;
2327
2437
  }, opts?: Oazapfts.RequestOpts): Promise<PaginatedActivityResponse>;
@@ -2341,6 +2451,12 @@ export declare function applicationControllercanBeDeleted({ workspaceId, applica
2341
2451
  accountId: string;
2342
2452
  tenant: string;
2343
2453
  }, opts?: Oazapfts.RequestOpts): Promise<ApplicationCanBeDeletedResponse>;
2454
+ /**
2455
+ * Get stack version in use by applications in a workspace
2456
+ */
2457
+ export declare function applicationControllergetStackVersionsInUse({ workspaceId }: {
2458
+ workspaceId: string;
2459
+ }, opts?: Oazapfts.RequestOpts): Promise<StacksVersionIdsResponse>;
2344
2460
  /**
2345
2461
  * Get all workspaces within user permission
2346
2462
  */
@@ -2411,10 +2527,10 @@ export declare function accountVariableControllerusage({ accountId, name }: {
2411
2527
  /**
2412
2528
  * List the input context of all stack elements for given type in account.
2413
2529
  */
2414
- export declare function contextControllerlistAccountContext({ stackVersionId, $type, environmentId, externalId }: {
2530
+ export declare function contextControllerlistAccountContext({ stackVersionId, $type, envName, externalId }: {
2415
2531
  stackVersionId: string;
2416
2532
  $type: "plugin" | "action";
2417
- environmentId?: string;
2533
+ envName?: string;
2418
2534
  externalId?: string;
2419
2535
  }, opts?: Oazapfts.RequestOpts): Promise<AccountContextResponse[]>;
2420
2536
  /**