@stack-spot/portal-network 0.27.2 → 0.28.0-beta

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 (45) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/api/apiManagement.d.ts +289 -0
  3. package/dist/api/apiManagement.d.ts.map +1 -0
  4. package/dist/api/apiManagement.js +143 -0
  5. package/dist/api/apiManagement.js.map +1 -0
  6. package/dist/api/workspace.d.ts +320 -216
  7. package/dist/api/workspace.d.ts.map +1 -1
  8. package/dist/api/workspace.js +255 -184
  9. package/dist/api/workspace.js.map +1 -1
  10. package/dist/api/workspaceManager.d.ts +320 -218
  11. package/dist/api/workspaceManager.d.ts.map +1 -1
  12. package/dist/api/workspaceManager.js +68 -20
  13. package/dist/api/workspaceManager.js.map +1 -1
  14. package/dist/apis.json +8 -8
  15. package/dist/client/content.d.ts +52 -0
  16. package/dist/client/content.d.ts.map +1 -1
  17. package/dist/client/content.js +64 -1
  18. package/dist/client/content.js.map +1 -1
  19. package/dist/client/notification.d.ts +1 -1
  20. package/dist/client/types.d.ts +29 -0
  21. package/dist/client/types.d.ts.map +1 -1
  22. package/dist/client/workspace-manager.d.ts +121 -0
  23. package/dist/client/workspace-manager.d.ts.map +1 -0
  24. package/dist/client/workspace-manager.js +204 -0
  25. package/dist/client/workspace-manager.js.map +1 -0
  26. package/dist/client/workspace.d.ts +105 -22
  27. package/dist/client/workspace.d.ts.map +1 -1
  28. package/dist/client/workspace.js +156 -74
  29. package/dist/client/workspace.js.map +1 -1
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +1 -0
  33. package/dist/index.js.map +1 -1
  34. package/dist/network/ManualOperation.js +1 -1
  35. package/package.json +1 -1
  36. package/src/api/apiManagement.ts +498 -0
  37. package/src/api/workspace.ts +497 -288
  38. package/src/api/workspaceManager.ts +402 -234
  39. package/src/apis.json +8 -8
  40. package/src/client/content.ts +42 -2
  41. package/src/client/types.ts +38 -0
  42. package/src/client/workspace-manager.ts +171 -0
  43. package/src/client/workspace.ts +180 -123
  44. package/src/index.ts +1 -1
  45. package/src/network/ManualOperation.ts +1 -1
@@ -9,6 +9,34 @@ export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
9
9
  export declare const servers: {
10
10
  generatedServerUrl: string;
11
11
  };
12
+ export type WorkspaceVariableResponse = {
13
+ /** Workspace variable name. */
14
+ name: string;
15
+ /** Workspace variable value. */
16
+ value?: string;
17
+ /** Workspace variable description. */
18
+ description: string;
19
+ /** Workspace variable mandate flag. */
20
+ mandate: boolean;
21
+ /** Variable value source. */
22
+ source: string;
23
+ };
24
+ export type ValidationDetails = {
25
+ code: string;
26
+ field?: string;
27
+ details?: string;
28
+ values?: string[];
29
+ };
30
+ export type ErrorResponse = {
31
+ code: string;
32
+ status: number;
33
+ details: string;
34
+ validationDetails?: ValidationDetails[];
35
+ };
36
+ export type UpsertWorkspaceVariableRequest = {
37
+ /** Workspace variable value. */
38
+ value: string;
39
+ };
12
40
  export type ContextAttributeDto = {
13
41
  key: string;
14
42
  value: object;
@@ -26,18 +54,6 @@ export type WorkflowContextResponse = {
26
54
  actionsBefore: ActionContextResponse[];
27
55
  actionsAfter: ActionContextResponse[];
28
56
  };
29
- export type ValidationDetails = {
30
- code: string;
31
- field?: string;
32
- details?: string;
33
- values?: string[];
34
- };
35
- export type ErrorResponse = {
36
- code: string;
37
- status: number;
38
- details: string;
39
- validationDetails?: ValidationDetails[];
40
- };
41
57
  export type ContextAttribute = {
42
58
  key: string;
43
59
  value: object;
@@ -51,20 +67,6 @@ export type WorkspaceWorkflowCreateRequest = {
51
67
  actionsBefore: WorkflowActionContextRequest[];
52
68
  actionsAfter: WorkflowActionContextRequest[];
53
69
  };
54
- export type WorkspaceVariableReadResponse = {
55
- /** Workspace variable name. */
56
- name: string;
57
- /** Workspace variable value. */
58
- value: string;
59
- /** Workspace variable description. */
60
- description: string;
61
- };
62
- export type UpdateWorkspaceVariableRequest = {
63
- /** Workspace variable value. */
64
- value: string;
65
- /** Workspace variable description. */
66
- description: string;
67
- };
68
70
  export type PluginAttribute = {
69
71
  key: string;
70
72
  value: object;
@@ -287,6 +289,26 @@ export type ActionsWorkflowSaveRequest = {
287
289
  actionsBefore: WorkflowActionRequest[];
288
290
  actionsAfter: WorkflowActionRequest[];
289
291
  };
292
+ export type AccountVariableResponse = {
293
+ /** Account variable name */
294
+ name: string;
295
+ /** Account variable value stored */
296
+ value?: string;
297
+ /** Account variable description */
298
+ description: string;
299
+ /** Account variable mandatory flag */
300
+ mandate: boolean;
301
+ /** Account variable creation data */
302
+ createdAt: string;
303
+ };
304
+ export type UpdateAccountVariableRequest = {
305
+ /** New account variable value */
306
+ value?: string;
307
+ /** New account variable description */
308
+ description: string;
309
+ /** New account variable mandatory flag */
310
+ mandate: boolean;
311
+ };
290
312
  export type AddAccountWorkflowStepRequest = {
291
313
  /** Workflow identifier. */
292
314
  identifier: string;
@@ -362,14 +384,6 @@ export type NewWorkspaceRequest = {
362
384
  /** Workspace manage runtime. */
363
385
  manageRuntime: boolean;
364
386
  };
365
- export type NewWorkspaceVariableRequest = {
366
- /** Workspace variable name. */
367
- name: string;
368
- /** Workspace variable value. */
369
- value: string;
370
- /** Workspace variable description. */
371
- description: string;
372
- };
373
387
  export type StackInWorkspaceReadResponse = {
374
388
  /** Stack version id. */
375
389
  stackVersionId: string;
@@ -607,9 +621,9 @@ export type ApplicationReadResponse = {
607
621
  /** Application repository base branch. */
608
622
  repoBaseBranch: string;
609
623
  /** Stack used to generate this application. */
610
- stackVersionId?: string;
624
+ stackVersionId: string;
611
625
  /** Starter used to generate this application. */
612
- starterId?: string;
626
+ starterId: string;
613
627
  /** Application status. */
614
628
  status: string;
615
629
  /** Application creator. */
@@ -631,9 +645,9 @@ export type CreateApplicationRequest = {
631
645
  /** Application repository base branch. */
632
646
  repoBaseBranch: string;
633
647
  /** Stack used to generate this application. */
634
- stackVersionId?: string;
648
+ stackVersionId: string;
635
649
  /** Starter used to generate this application. */
636
- starterId?: string;
650
+ starterId: string;
637
651
  };
638
652
  export type RecreateApplicationRequest = {
639
653
  /** Application name. */
@@ -859,6 +873,28 @@ export type AccountWorkflowCreateRequest = {
859
873
  actionsBefore: WorkflowActionWithContextRequest[];
860
874
  actionsAfter: WorkflowActionWithContextRequest[];
861
875
  };
876
+ export type PaginatedAccountVariableResponse = {
877
+ /** Current page requested */
878
+ currentPage: number;
879
+ /** Last page available */
880
+ lastPage: number;
881
+ /** Page size requested */
882
+ pageSize: number;
883
+ /** Total items found */
884
+ totalItems: number;
885
+ /** Account variables for current page */
886
+ items: AccountVariableResponse[];
887
+ };
888
+ export type CreateAccountVariableRequest = {
889
+ /** Account variable name */
890
+ name: string;
891
+ /** Account variable value */
892
+ value?: string;
893
+ /** Account variable description */
894
+ description: string;
895
+ /** Account variable mandatory flag */
896
+ mandate: boolean;
897
+ };
862
898
  export type AccountStackContextResponse = {
863
899
  /** List of stack version ids with pluginVersionId list with account context. */
864
900
  stackVersions: StackVersionResponse[];
@@ -930,6 +966,13 @@ export type EnvironmentUpdateRequest = {
930
966
  /** Environment description. */
931
967
  description?: string;
932
968
  };
969
+ export type PaginatedWorkspaceVariableResponse = {
970
+ currentPage: number;
971
+ pageSize: number;
972
+ lastPage: number;
973
+ totalItems: number;
974
+ items: WorkspaceVariableResponse[];
975
+ };
933
976
  export type AppliedConnectionInterface = {
934
977
  slug: string;
935
978
  "type": string;
@@ -1005,6 +1048,14 @@ export type ConnectionInterfaceInUseByTargetIdDetailsResponse = {
1005
1048
  environmentId: string;
1006
1049
  targets: PluginInUseResponse[];
1007
1050
  };
1051
+ export type WorkspaceVariableReadV1Response = {
1052
+ /** Workspace variable name. */
1053
+ name: string;
1054
+ /** Workspace variable value. */
1055
+ value: string;
1056
+ /** Workspace variable description. */
1057
+ description: string;
1058
+ };
1008
1059
  export type ConsolidatedAttr = {
1009
1060
  key: string;
1010
1061
  value: object;
@@ -1228,6 +1279,14 @@ export type GetApplicationResponse = {
1228
1279
  export type WorkflowActionUsageResponse = {
1229
1280
  versionRanges: string[];
1230
1281
  };
1282
+ export type AccountVariableUsageResponse = {
1283
+ /** How many plugins are using this account variable */
1284
+ pluginsInUse: number;
1285
+ /** How many actions are using this account variable */
1286
+ actionsInUse: number;
1287
+ /** How many contexts are using this account variable */
1288
+ contextsInUse: number;
1289
+ };
1231
1290
  export type AccountAttr = {
1232
1291
  key: string;
1233
1292
  value: object;
@@ -1254,10 +1313,26 @@ export type StacksByAccountResponse = {
1254
1313
  accountId: string;
1255
1314
  stacks: StackWorkflowResponse[];
1256
1315
  };
1316
+ /**
1317
+ * Get a workspace variable by name
1318
+ */
1319
+ export declare function workspaceVariableV2ControllerfindByName({ accountId, workspaceId, name }: {
1320
+ accountId?: string;
1321
+ workspaceId: string;
1322
+ name: string;
1323
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableResponse>;
1324
+ /**
1325
+ * Upsert workspace variable based on existing account variable
1326
+ */
1327
+ export declare function workspaceVariableV2Controllerupsert({ workspaceId, name, upsertWorkspaceVariableRequest }: {
1328
+ workspaceId: string;
1329
+ name: string;
1330
+ upsertWorkspaceVariableRequest: UpsertWorkspaceVariableRequest;
1331
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1257
1332
  /**
1258
1333
  * List all configured context of an workflow by workspace and stack.
1259
1334
  */
1260
- export declare function listContextByWorkspaceStack({ workspaceId, workflowId, stackId }: {
1335
+ export declare function workflowWorkspaceControllerlistContextByWorkspaceStack({ workspaceId, workflowId, stackId }: {
1261
1336
  workspaceId: string;
1262
1337
  workflowId: string;
1263
1338
  stackId: string;
@@ -1265,38 +1340,16 @@ export declare function listContextByWorkspaceStack({ workspaceId, workflowId, s
1265
1340
  /**
1266
1341
  * Save workspace workflow context
1267
1342
  */
1268
- export declare function saveWorkspaceWorkflowContext({ workspaceId, workflowId, stackId, workspaceWorkflowCreateRequest }: {
1343
+ export declare function workflowWorkspaceControllersaveWorkspaceWorkflowContext({ workspaceId, workflowId, stackId, workspaceWorkflowCreateRequest }: {
1269
1344
  workspaceId: string;
1270
1345
  workflowId: string;
1271
1346
  stackId: string;
1272
1347
  workspaceWorkflowCreateRequest: WorkspaceWorkflowCreateRequest;
1273
1348
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1274
- /**
1275
- * Get a workspace's variable
1276
- */
1277
- export declare function getV1WorkspacesByWorkspaceIdVariablesAndName({ workspaceId, name }: {
1278
- workspaceId: string;
1279
- name: string;
1280
- }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableReadResponse>;
1281
- /**
1282
- * Update a workspace's variable
1283
- */
1284
- export declare function update({ workspaceId, name, updateWorkspaceVariableRequest }: {
1285
- workspaceId: string;
1286
- name: string;
1287
- updateWorkspaceVariableRequest: UpdateWorkspaceVariableRequest;
1288
- }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableReadResponse>;
1289
- /**
1290
- * Delete a workspace's variable
1291
- */
1292
- export declare function delete1({ workspaceId, name }: {
1293
- workspaceId: string;
1294
- name: string;
1295
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1296
1349
  /**
1297
1350
  * Add context to a typed element in a workspace's stack.
1298
1351
  */
1299
- export declare function addTypedContextInWorkspace({ workspaceId, stackVersionId, externalId, $type, addTypedContextRequest }: {
1352
+ export declare function contextControlleraddTypedContextInWorkspace({ workspaceId, stackVersionId, externalId, $type, addTypedContextRequest }: {
1300
1353
  workspaceId: string;
1301
1354
  stackVersionId: string;
1302
1355
  externalId: string;
@@ -1306,7 +1359,7 @@ export declare function addTypedContextInWorkspace({ workspaceId, stackVersionId
1306
1359
  /**
1307
1360
  * Get Workflow of a stack in a workspace.
1308
1361
  */
1309
- export declare function getWorkspaceWorkflow({ workspaceId, stackVersionId, identifier }: {
1362
+ export declare function workflowControllergetWorkspaceWorkflow({ workspaceId, stackVersionId, identifier }: {
1310
1363
  workspaceId: string;
1311
1364
  stackVersionId: string;
1312
1365
  identifier?: string;
@@ -1314,7 +1367,7 @@ export declare function getWorkspaceWorkflow({ workspaceId, stackVersionId, iden
1314
1367
  /**
1315
1368
  * Add step to a workflow belonging to a workspace.
1316
1369
  */
1317
- export declare function addWorkflowStepInWorkspace({ workspaceId, stackVersionId, addWorkspaceWorkflowStepRequest }: {
1370
+ export declare function workflowControlleraddWorkflowStepInWorkspace({ workspaceId, stackVersionId, addWorkspaceWorkflowStepRequest }: {
1318
1371
  workspaceId: string;
1319
1372
  stackVersionId: string;
1320
1373
  addWorkspaceWorkflowStepRequest: AddWorkspaceWorkflowStepRequest;
@@ -1322,7 +1375,7 @@ export declare function addWorkflowStepInWorkspace({ workspaceId, stackVersionId
1322
1375
  /**
1323
1376
  * Import context in a workspace's stack.
1324
1377
  */
1325
- export declare function importContextInWorkspace({ workspaceId, stackVersionId, body }: {
1378
+ export declare function contextControllerimportContextInWorkspace({ workspaceId, stackVersionId, body }: {
1326
1379
  workspaceId: string;
1327
1380
  stackVersionId: string;
1328
1381
  body: ImportContextRequest[];
@@ -1330,7 +1383,7 @@ export declare function importContextInWorkspace({ workspaceId, stackVersionId,
1330
1383
  /**
1331
1384
  * Update shared infrastructure status.
1332
1385
  */
1333
- export declare function updateStatus({ workspaceId, sharedInfraId, updateSharedInfraStatusRequest }: {
1386
+ export declare function sharedInfrastructureControllerupdateStatus({ workspaceId, sharedInfraId, updateSharedInfraStatusRequest }: {
1334
1387
  workspaceId: string;
1335
1388
  sharedInfraId: string;
1336
1389
  updateSharedInfraStatusRequest: UpdateSharedInfraStatusRequest;
@@ -1338,14 +1391,14 @@ export declare function updateStatus({ workspaceId, sharedInfraId, updateSharedI
1338
1391
  /**
1339
1392
  * Get shared infra links visibility
1340
1393
  */
1341
- export declare function getVisibleLinks({ workspaceId, sharedInfraId }: {
1394
+ export declare function sharedInfraLinkControllergetVisibleLinks({ workspaceId, sharedInfraId }: {
1342
1395
  workspaceId: string;
1343
1396
  sharedInfraId: string;
1344
1397
  }, opts?: Oazapfts.RequestOpts): Promise<SharedInfraVisibleLinksResponse[]>;
1345
1398
  /**
1346
1399
  * Update application links visibility
1347
1400
  */
1348
- export declare function updateLinksVisibility({ workspaceId, sharedInfraId, body }: {
1401
+ export declare function sharedInfraLinkControllerupdateLinksVisibility({ workspaceId, sharedInfraId, body }: {
1349
1402
  workspaceId: string;
1350
1403
  sharedInfraId: string;
1351
1404
  body: UpdateSharedInfraLinkVisibilityRequest[];
@@ -1353,7 +1406,7 @@ export declare function updateLinksVisibility({ workspaceId, sharedInfraId, body
1353
1406
  /**
1354
1407
  * Update activity status by workspace.
1355
1408
  */
1356
- export declare function updateRun({ accountId, workspaceId, runId, updateRunRequest }: {
1409
+ export declare function managerRunControllerupdateRun({ accountId, workspaceId, runId, updateRunRequest }: {
1357
1410
  accountId: string;
1358
1411
  workspaceId: string;
1359
1412
  runId: string;
@@ -1362,7 +1415,7 @@ export declare function updateRun({ accountId, workspaceId, runId, updateRunRequ
1362
1415
  /**
1363
1416
  * Update plugin status by workspace.
1364
1417
  */
1365
- export declare function runTask({ accountId, workspaceId, runId, runTaskRequest }: {
1418
+ export declare function managerRunControllerrunTask({ accountId, workspaceId, runId, runTaskRequest }: {
1366
1419
  accountId: string;
1367
1420
  workspaceId: string;
1368
1421
  runId: string;
@@ -1371,7 +1424,7 @@ export declare function runTask({ accountId, workspaceId, runId, runTaskRequest
1371
1424
  /**
1372
1425
  * Deployment tag register.
1373
1426
  */
1374
- export declare function deploymentTag({ accountId, workspaceId, runId, deploymentTagRequest }: {
1427
+ export declare function managerRunControllerdeploymentTag({ accountId, workspaceId, runId, deploymentTagRequest }: {
1375
1428
  accountId: string;
1376
1429
  workspaceId: string;
1377
1430
  runId: string;
@@ -1380,7 +1433,7 @@ export declare function deploymentTag({ accountId, workspaceId, runId, deploymen
1380
1433
  /**
1381
1434
  * Request to upsert connection interfaces attributes.
1382
1435
  */
1383
- export declare function updateConnectionInterfaceAttributes({ workspaceId, connectionInterfaceId, updateConnectionInterfaceAttributesRequest }: {
1436
+ export declare function connectionInterfaceControllerupdateConnectionInterfaceAttributes({ workspaceId, connectionInterfaceId, updateConnectionInterfaceAttributesRequest }: {
1384
1437
  workspaceId: string;
1385
1438
  connectionInterfaceId: string;
1386
1439
  updateConnectionInterfaceAttributesRequest: UpdateConnectionInterfaceAttributesRequest;
@@ -1388,14 +1441,14 @@ export declare function updateConnectionInterfaceAttributes({ workspaceId, conne
1388
1441
  /**
1389
1442
  * Request to upsert connection interfaces.
1390
1443
  */
1391
- export declare function upsertBatch({ workspaceId, body }: {
1444
+ export declare function connectionInterfaceControllerupsertBatch({ workspaceId, body }: {
1392
1445
  workspaceId: string;
1393
1446
  body: UpsertConnectionInterfaceRequest[];
1394
1447
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1395
1448
  /**
1396
1449
  * Update application status.
1397
1450
  */
1398
- export declare function updateStatus1({ workspaceId, applicationId, accountId, updateApplicationStatusRequest }: {
1451
+ export declare function applicationControllerupdateStatus({ workspaceId, applicationId, accountId, updateApplicationStatusRequest }: {
1399
1452
  workspaceId: string;
1400
1453
  applicationId: string;
1401
1454
  accountId?: string;
@@ -1404,14 +1457,14 @@ export declare function updateStatus1({ workspaceId, applicationId, accountId, u
1404
1457
  /**
1405
1458
  * Get application links visibility
1406
1459
  */
1407
- export declare function getVisibleLinks1({ workspaceId, applicationId }: {
1460
+ export declare function applicationLinkControllergetVisibleLinks({ workspaceId, applicationId }: {
1408
1461
  workspaceId: string;
1409
1462
  applicationId: string;
1410
1463
  }, opts?: Oazapfts.RequestOpts): Promise<ApplicationVisibleLinksResponse[]>;
1411
1464
  /**
1412
1465
  * Update application links visibility
1413
1466
  */
1414
- export declare function updateLinksVisibility1({ workspaceId, applicationId, body }: {
1467
+ export declare function applicationLinkControllerupdateLinksVisibility({ workspaceId, applicationId, body }: {
1415
1468
  workspaceId: string;
1416
1469
  applicationId: string;
1417
1470
  body: UpdateApplicationLinkVisibilityRequest[];
@@ -1419,46 +1472,66 @@ export declare function updateLinksVisibility1({ workspaceId, applicationId, bod
1419
1472
  /**
1420
1473
  * Get workflow settings with associated stacks.
1421
1474
  */
1422
- export declare function listSettingsByAccountWorkflow({ workflowId }: {
1475
+ export declare function workflowAccountControllerlistSettingsByAccountWorkflow({ workflowId }: {
1423
1476
  workflowId: string;
1424
1477
  }, opts?: Oazapfts.RequestOpts): Promise<WorkflowSettingsResponse>;
1425
1478
  /**
1426
1479
  * Update settings information of a workflow account.
1427
1480
  */
1428
- export declare function updateSettingsByAccountWorkflow({ workflowId, settingsWorkflowSaveRequest }: {
1481
+ export declare function workflowAccountControllerupdateSettingsByAccountWorkflow({ workflowId, settingsWorkflowSaveRequest }: {
1429
1482
  workflowId: string;
1430
1483
  settingsWorkflowSaveRequest: SettingsWorkflowSaveRequest;
1431
1484
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1432
1485
  /**
1433
1486
  * List all configured context of an workflow account.
1434
1487
  */
1435
- export declare function listContextByAccountWorkflow({ workflowId }: {
1488
+ export declare function workflowAccountControllerlistContextByAccountWorkflow({ workflowId }: {
1436
1489
  workflowId: string;
1437
1490
  }, opts?: Oazapfts.RequestOpts): Promise<WorkflowContextResponse>;
1438
1491
  /**
1439
1492
  * Update all context configurations of a workflow account.
1440
1493
  */
1441
- export declare function updateContextsByAccountWorkflow({ workflowId, contextsWorkflowSaveRequest }: {
1494
+ export declare function workflowAccountControllerupdateContextsByAccountWorkflow({ workflowId, contextsWorkflowSaveRequest }: {
1442
1495
  workflowId: string;
1443
1496
  contextsWorkflowSaveRequest: ContextsWorkflowSaveRequest;
1444
1497
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1445
1498
  /**
1446
1499
  * List all actions of an workflow account.
1447
1500
  */
1448
- export declare function listActionsByAccountWorkflow({ workflowId }: {
1501
+ export declare function workflowAccountControllerlistActionsByAccountWorkflow({ workflowId }: {
1449
1502
  workflowId: string;
1450
1503
  }, opts?: Oazapfts.RequestOpts): Promise<WorkflowActionsResponse>;
1451
1504
  /**
1452
1505
  * Update all actions associations with a workflow account.
1453
1506
  */
1454
- export declare function updateActionsByAccountWorkflow({ workflowId, actionsWorkflowSaveRequest }: {
1507
+ export declare function workflowAccountControllerupdateActionsByAccountWorkflow({ workflowId, actionsWorkflowSaveRequest }: {
1455
1508
  workflowId: string;
1456
1509
  actionsWorkflowSaveRequest: ActionsWorkflowSaveRequest;
1457
1510
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1511
+ /**
1512
+ * Get an account variable by name
1513
+ */
1514
+ export declare function accountVariableControllerfindByName({ accountId, name }: {
1515
+ accountId?: string;
1516
+ name: string;
1517
+ }, opts?: Oazapfts.RequestOpts): Promise<AccountVariableResponse>;
1518
+ /**
1519
+ * Update account variable
1520
+ */
1521
+ export declare function accountVariableControllerupdate({ name, updateAccountVariableRequest }: {
1522
+ name: string;
1523
+ updateAccountVariableRequest: UpdateAccountVariableRequest;
1524
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1525
+ /**
1526
+ * Delete account variable
1527
+ */
1528
+ export declare function accountVariableControllerdelete({ name }: {
1529
+ name: string;
1530
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1458
1531
  /**
1459
1532
  * Add context to a typed element in an account's stack.
1460
1533
  */
1461
- export declare function addTypedContextInAccount({ stackVersionId, externalId, $type, addTypedContextRequest }: {
1534
+ export declare function contextControlleraddTypedContextInAccount({ stackVersionId, externalId, $type, addTypedContextRequest }: {
1462
1535
  stackVersionId: string;
1463
1536
  externalId: string;
1464
1537
  $type: "plugin" | "action";
@@ -1467,28 +1540,28 @@ export declare function addTypedContextInAccount({ stackVersionId, externalId, $
1467
1540
  /**
1468
1541
  * Get Workflow of a stack in an account.
1469
1542
  */
1470
- export declare function getAccountWorkflow({ stackVersionId, identifier }: {
1543
+ export declare function workflowControllergetAccountWorkflow({ stackVersionId, identifier }: {
1471
1544
  stackVersionId: string;
1472
1545
  identifier?: string;
1473
1546
  }, opts?: Oazapfts.RequestOpts): Promise<WorkflowReadResponse[]>;
1474
1547
  /**
1475
1548
  * Add step to a workflow belonging to an account.
1476
1549
  */
1477
- export declare function addWorkflowStepInAccount({ stackVersionId, addAccountWorkflowStepRequest }: {
1550
+ export declare function workflowControlleraddWorkflowStepInAccount({ stackVersionId, addAccountWorkflowStepRequest }: {
1478
1551
  stackVersionId: string;
1479
1552
  addAccountWorkflowStepRequest: AddAccountWorkflowStepRequest;
1480
1553
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1481
1554
  /**
1482
1555
  * Import context in an account's stack.
1483
1556
  */
1484
- export declare function importContextInAccount({ stackVersionId, body }: {
1557
+ export declare function contextControllerimportContextInAccount({ stackVersionId, body }: {
1485
1558
  stackVersionId: string;
1486
1559
  body: ImportContextRequest[];
1487
1560
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1488
1561
  /**
1489
1562
  * Save stack workflow context
1490
1563
  */
1491
- export declare function saveStackWorkflowContext({ stackId, workflowId, stackWorkflowCreateRequest }: {
1564
+ export declare function workflowStackControllersaveStackWorkflowContext({ stackId, workflowId, stackWorkflowCreateRequest }: {
1492
1565
  stackId: string;
1493
1566
  workflowId: string;
1494
1567
  stackWorkflowCreateRequest: StackWorkflowCreateRequest;
@@ -1496,7 +1569,7 @@ export declare function saveStackWorkflowContext({ stackId, workflowId, stackWor
1496
1569
  /**
1497
1570
  * List specific shared infra or application usage by plugin list.
1498
1571
  */
1499
- export declare function listPluginUsageByTargetId({ accountId, targetType, targetId, body }: {
1572
+ export declare function usageInsightsControllerlistPluginUsageByTargetId({ accountId, targetType, targetId, body }: {
1500
1573
  accountId: string;
1501
1574
  targetType: "applications" | "shared_infra";
1502
1575
  targetId: string;
@@ -1505,7 +1578,7 @@ export declare function listPluginUsageByTargetId({ accountId, targetType, targe
1505
1578
  /**
1506
1579
  * List all shared infras or applications usage by plugin list.
1507
1580
  */
1508
- export declare function listAllPluginUsage({ accountId, targetType, body }: {
1581
+ export declare function usageInsightsControllerlistAllPluginUsage({ accountId, targetType, body }: {
1509
1582
  accountId: string;
1510
1583
  targetType: "applications" | "shared_infra";
1511
1584
  body: string[];
@@ -1513,7 +1586,7 @@ export declare function listAllPluginUsage({ accountId, targetType, body }: {
1513
1586
  /**
1514
1587
  * Get all workspaces
1515
1588
  */
1516
- export declare function getWorkspaces({ name, aclOnly, accountId }: {
1589
+ export declare function workspaceControllergetWorkspaces({ name, aclOnly, accountId }: {
1517
1590
  name?: string;
1518
1591
  aclOnly?: boolean;
1519
1592
  accountId?: string;
@@ -1521,47 +1594,33 @@ export declare function getWorkspaces({ name, aclOnly, accountId }: {
1521
1594
  /**
1522
1595
  * Create workspace
1523
1596
  */
1524
- export declare function save({ newWorkspaceRequest }: {
1597
+ export declare function workspaceControllersave({ newWorkspaceRequest }: {
1525
1598
  newWorkspaceRequest: NewWorkspaceRequest;
1526
1599
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
1527
- /**
1528
- * Get all workspace's variables
1529
- */
1530
- export declare function findAll({ workspaceId, filter }: {
1531
- workspaceId: string;
1532
- filter?: string;
1533
- }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableReadResponse[]>;
1534
- /**
1535
- * Create a workspace's variable
1536
- */
1537
- export declare function save1({ workspaceId, newWorkspaceVariableRequest }: {
1538
- workspaceId: string;
1539
- newWorkspaceVariableRequest: NewWorkspaceVariableRequest;
1540
- }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableReadResponse>;
1541
1600
  /**
1542
1601
  * Get all stacks in a workspace.
1543
1602
  */
1544
- export declare function getStacks({ workspaceId }: {
1603
+ export declare function workspaceStackControllergetStacks({ workspaceId }: {
1545
1604
  workspaceId: string;
1546
1605
  }, opts?: Oazapfts.RequestOpts): Promise<StackInWorkspaceReadResponse[]>;
1547
1606
  /**
1548
1607
  * Add a stack in a workspace.
1549
1608
  */
1550
- export declare function addStack({ workspaceId, addStackInWorkspaceRequest }: {
1609
+ export declare function workspaceStackControlleraddStack({ workspaceId, addStackInWorkspaceRequest }: {
1551
1610
  workspaceId: string;
1552
1611
  addStackInWorkspaceRequest: AddStackInWorkspaceRequest;
1553
1612
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1554
1613
  /**
1555
1614
  * Get all stacks with context in a workspace.
1556
1615
  */
1557
- export declare function getStacksWithContext({ workspaceId, body }: {
1616
+ export declare function workspaceStackControllergetStacksWithContext({ workspaceId, body }: {
1558
1617
  workspaceId: string;
1559
1618
  body: string[];
1560
1619
  }, opts?: Oazapfts.RequestOpts): Promise<StackWithWorkspaceContextResponse>;
1561
1620
  /**
1562
1621
  * Get all shared infrastructure of a workspace.
1563
1622
  */
1564
- export declare function getAllSharedInfrastructure({ workspaceId, name, stackVersionId }: {
1623
+ export declare function sharedInfrastructureControllergetAllSharedInfrastructure({ workspaceId, name, stackVersionId }: {
1565
1624
  workspaceId: string;
1566
1625
  name?: string;
1567
1626
  stackVersionId?: string;
@@ -1569,7 +1628,7 @@ export declare function getAllSharedInfrastructure({ workspaceId, name, stackVer
1569
1628
  /**
1570
1629
  * Create shared infrastructure in a workspace.
1571
1630
  */
1572
- export declare function save2({ workspaceId, fromPortal, createSharedInfraRequest }: {
1631
+ export declare function sharedInfrastructureControllersave({ workspaceId, fromPortal, createSharedInfraRequest }: {
1573
1632
  workspaceId: string;
1574
1633
  fromPortal?: boolean;
1575
1634
  createSharedInfraRequest: CreateSharedInfraRequest;
@@ -1577,14 +1636,14 @@ export declare function save2({ workspaceId, fromPortal, createSharedInfraReques
1577
1636
  /**
1578
1637
  * Get shared infrastructure of a workspace.
1579
1638
  */
1580
- export declare function getSharedInfrastructure({ workspaceId, sharedInfraId }: {
1639
+ export declare function sharedInfrastructureControllergetSharedInfrastructure({ workspaceId, sharedInfraId }: {
1581
1640
  workspaceId: string;
1582
1641
  sharedInfraId: string;
1583
1642
  }, opts?: Oazapfts.RequestOpts): Promise<SharedInfraDetailsResponse>;
1584
1643
  /**
1585
1644
  * Recreate a shared infrastructure in a workspace.
1586
1645
  */
1587
- export declare function recreate({ workspaceId, sharedInfraId, recreateSharedInfraRequest }: {
1646
+ export declare function sharedInfrastructureControllerrecreate({ workspaceId, sharedInfraId, recreateSharedInfraRequest }: {
1588
1647
  workspaceId: string;
1589
1648
  sharedInfraId: string;
1590
1649
  recreateSharedInfraRequest: RecreateSharedInfraRequest;
@@ -1592,14 +1651,14 @@ export declare function recreate({ workspaceId, sharedInfraId, recreateSharedInf
1592
1651
  /**
1593
1652
  * Delete infrastructure in a workspace.
1594
1653
  */
1595
- export declare function deleteSharedInfra({ workspaceId, sharedInfraId }: {
1654
+ export declare function sharedInfrastructureControllerdeleteSharedInfra({ workspaceId, sharedInfraId }: {
1596
1655
  workspaceId: string;
1597
1656
  sharedInfraId: string;
1598
1657
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1599
1658
  /**
1600
1659
  * Update shared infrastructure in a workspace.
1601
1660
  */
1602
- export declare function update2({ workspaceId, sharedInfraId, updateSharedInfraRequest }: {
1661
+ export declare function sharedInfrastructureControllerupdate({ workspaceId, sharedInfraId, updateSharedInfraRequest }: {
1603
1662
  workspaceId: string;
1604
1663
  sharedInfraId: string;
1605
1664
  updateSharedInfraRequest: UpdateSharedInfraRequest;
@@ -1607,7 +1666,7 @@ export declare function update2({ workspaceId, sharedInfraId, updateSharedInfraR
1607
1666
  /**
1608
1667
  * Get all shared infra links
1609
1668
  */
1610
- export declare function getSharedInfraLinks({ workspaceId, sharedInfraId, name }: {
1669
+ export declare function sharedInfraLinkControllergetSharedInfraLinks({ workspaceId, sharedInfraId, name }: {
1611
1670
  workspaceId: string;
1612
1671
  sharedInfraId: string;
1613
1672
  name?: string;
@@ -1615,7 +1674,7 @@ export declare function getSharedInfraLinks({ workspaceId, sharedInfraId, name }
1615
1674
  /**
1616
1675
  * Create shared infra link
1617
1676
  */
1618
- export declare function save3({ workspaceId, sharedInfraId, createSharedInfraLinkRequest }: {
1677
+ export declare function sharedInfraLinkControllersave({ workspaceId, sharedInfraId, createSharedInfraLinkRequest }: {
1619
1678
  workspaceId: string;
1620
1679
  sharedInfraId: string;
1621
1680
  createSharedInfraLinkRequest: CreateSharedInfraLinkRequest;
@@ -1623,14 +1682,14 @@ export declare function save3({ workspaceId, sharedInfraId, createSharedInfraLin
1623
1682
  /**
1624
1683
  * Has active deploy with type self hosted?
1625
1684
  */
1626
- export declare function hasActiveDeployWithTypeSelfHosted({ workspaceId, sharedInfraId }: {
1685
+ export declare function sharedInfrastructureControllerhasActiveDeployWithTypeSelfHosted({ workspaceId, sharedInfraId }: {
1627
1686
  workspaceId: string;
1628
1687
  sharedInfraId: string;
1629
1688
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1630
1689
  /**
1631
1690
  * Can the shared infra be destroyed?
1632
1691
  */
1633
- export declare function canBeDestroyed({ workspaceId, sharedInfraId, environmentId, accountId }: {
1692
+ export declare function sharedInfrastructureControllercanBeDestroyed({ workspaceId, sharedInfraId, environmentId, accountId }: {
1634
1693
  workspaceId: string;
1635
1694
  sharedInfraId: string;
1636
1695
  environmentId: string;
@@ -1639,7 +1698,7 @@ export declare function canBeDestroyed({ workspaceId, sharedInfraId, environment
1639
1698
  /**
1640
1699
  * Register the snapshot of a shared infrastructure's deploy.
1641
1700
  */
1642
- export declare function processDeploySnapshot({ workspaceId, sharedInfraId, sharedInfraDeploySnapshotRequest }: {
1701
+ export declare function sharedInfrastructureControllerprocessDeploySnapshot({ workspaceId, sharedInfraId, sharedInfraDeploySnapshotRequest }: {
1643
1702
  workspaceId: string;
1644
1703
  sharedInfraId: string;
1645
1704
  sharedInfraDeploySnapshotRequest: SharedInfraDeploySnapshotRequest;
@@ -1647,7 +1706,7 @@ export declare function processDeploySnapshot({ workspaceId, sharedInfraId, shar
1647
1706
  /**
1648
1707
  * Runs an orchestration in a workspace.
1649
1708
  */
1650
- export declare function startRun({ accountId, workspaceId, startRunRequest }: {
1709
+ export declare function managerRunControllerstartRun({ accountId, workspaceId, startRunRequest }: {
1651
1710
  accountId: string;
1652
1711
  workspaceId: string;
1653
1712
  startRunRequest: StartRunRequest;
@@ -1655,49 +1714,49 @@ export declare function startRun({ accountId, workspaceId, startRunRequest }: {
1655
1714
  /**
1656
1715
  * Get all workspace links
1657
1716
  */
1658
- export declare function getWorkspaceLinks({ workspaceId, name }: {
1717
+ export declare function workspaceLinkControllergetWorkspaceLinks({ workspaceId, name }: {
1659
1718
  workspaceId: string;
1660
1719
  name?: string;
1661
1720
  }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceLinkReadResponse[]>;
1662
1721
  /**
1663
1722
  * Create workspace
1664
1723
  */
1665
- export declare function save4({ workspaceId, createWorkspaceLinkRequest }: {
1724
+ export declare function workspaceLinkControllersave({ workspaceId, createWorkspaceLinkRequest }: {
1666
1725
  workspaceId: string;
1667
1726
  createWorkspaceLinkRequest: CreateWorkspaceLinkRequest;
1668
1727
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
1669
1728
  /**
1670
1729
  * Get all workspace embedded links
1671
1730
  */
1672
- export declare function getEmbeddedLinks({ workspaceId, name }: {
1731
+ export declare function workspaceEmbeddedLinkControllergetEmbeddedLinks({ workspaceId, name }: {
1673
1732
  workspaceId: string;
1674
1733
  name?: string;
1675
1734
  }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceEmbeddedLinkReadResponse[]>;
1676
1735
  /**
1677
1736
  * Create workspace embedded link
1678
1737
  */
1679
- export declare function save5({ workspaceId, createWorkspaceEmbeddedLinkRequest }: {
1738
+ export declare function workspaceEmbeddedLinkControllersave({ workspaceId, createWorkspaceEmbeddedLinkRequest }: {
1680
1739
  workspaceId: string;
1681
1740
  createWorkspaceEmbeddedLinkRequest: CreateWorkspaceEmbeddedLinkRequest;
1682
1741
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
1683
1742
  /**
1684
1743
  * List all connection interfaces of a workspace.
1685
1744
  */
1686
- export declare function getConnectionInterfaces({ workspaceId, typeId }: {
1745
+ export declare function connectionInterfaceControllergetConnectionInterfaces({ workspaceId, typeId }: {
1687
1746
  workspaceId: string;
1688
1747
  typeId?: string;
1689
1748
  }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceSummaryResponse[]>;
1690
1749
  /**
1691
1750
  * Create a connection interface in a workspace.
1692
1751
  */
1693
- export declare function add({ workspaceId, createConnectionInterfaceRequest }: {
1752
+ export declare function connectionInterfaceControlleradd({ workspaceId, createConnectionInterfaceRequest }: {
1694
1753
  workspaceId: string;
1695
1754
  createConnectionInterfaceRequest: CreateConnectionInterfaceRequest;
1696
1755
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
1697
1756
  /**
1698
1757
  * Update the visibility of a connection interface.
1699
1758
  */
1700
- export declare function updateConnectionInterfaceVisibility({ workspaceId, connectionInterfaceId, updateConnectionInterfaceVisibilityRequest }: {
1759
+ export declare function connectionInterfaceControllerupdateConnectionInterfaceVisibility({ workspaceId, connectionInterfaceId, updateConnectionInterfaceVisibilityRequest }: {
1701
1760
  workspaceId: string;
1702
1761
  connectionInterfaceId: string;
1703
1762
  updateConnectionInterfaceVisibilityRequest: UpdateConnectionInterfaceVisibilityRequest;
@@ -1705,7 +1764,7 @@ export declare function updateConnectionInterfaceVisibility({ workspaceId, conne
1705
1764
  /**
1706
1765
  * Get all application of a workspace.
1707
1766
  */
1708
- export declare function getApplications({ workspaceId, name, stackVersionId }: {
1767
+ export declare function applicationControllergetApplications({ workspaceId, name, stackVersionId }: {
1709
1768
  workspaceId: string;
1710
1769
  name?: string;
1711
1770
  stackVersionId?: string;
@@ -1713,7 +1772,7 @@ export declare function getApplications({ workspaceId, name, stackVersionId }: {
1713
1772
  /**
1714
1773
  * Create application on workspace.
1715
1774
  */
1716
- export declare function save6({ workspaceId, fromPortal, createApplicationRequest }: {
1775
+ export declare function applicationControllersave({ workspaceId, fromPortal, createApplicationRequest }: {
1717
1776
  workspaceId: string;
1718
1777
  fromPortal?: boolean;
1719
1778
  createApplicationRequest: CreateApplicationRequest;
@@ -1721,14 +1780,14 @@ export declare function save6({ workspaceId, fromPortal, createApplicationReques
1721
1780
  /**
1722
1781
  * Get application of a workspace.
1723
1782
  */
1724
- export declare function getApplication({ workspaceId, applicationId }: {
1783
+ export declare function applicationControllergetApplication({ workspaceId, applicationId }: {
1725
1784
  workspaceId: string;
1726
1785
  applicationId: string;
1727
1786
  }, opts?: Oazapfts.RequestOpts): Promise<ApplicationReadResponse>;
1728
1787
  /**
1729
1788
  * Recreate an application in a workspace.
1730
1789
  */
1731
- export declare function recreate1({ workspaceId, applicationId, recreateApplicationRequest }: {
1790
+ export declare function applicationControllerrecreate({ workspaceId, applicationId, recreateApplicationRequest }: {
1732
1791
  workspaceId: string;
1733
1792
  applicationId: string;
1734
1793
  recreateApplicationRequest: RecreateApplicationRequest;
@@ -1736,7 +1795,7 @@ export declare function recreate1({ workspaceId, applicationId, recreateApplicat
1736
1795
  /**
1737
1796
  * Delete application of a workspace.
1738
1797
  */
1739
- export declare function deleteApplication({ workspaceId, applicationId, accountId }: {
1798
+ export declare function applicationControllerdeleteApplication({ workspaceId, applicationId, accountId }: {
1740
1799
  workspaceId: string;
1741
1800
  applicationId: string;
1742
1801
  accountId?: string;
@@ -1744,7 +1803,7 @@ export declare function deleteApplication({ workspaceId, applicationId, accountI
1744
1803
  /**
1745
1804
  * Update an application of a workspace.
1746
1805
  */
1747
- export declare function update6({ workspaceId, applicationId, updateApplicationRequest }: {
1806
+ export declare function applicationControllerupdate({ workspaceId, applicationId, updateApplicationRequest }: {
1748
1807
  workspaceId: string;
1749
1808
  applicationId: string;
1750
1809
  updateApplicationRequest: UpdateApplicationRequest;
@@ -1752,7 +1811,7 @@ export declare function update6({ workspaceId, applicationId, updateApplicationR
1752
1811
  /**
1753
1812
  * Get all application links
1754
1813
  */
1755
- export declare function getApplicationLinks({ workspaceId, applicationId, name }: {
1814
+ export declare function applicationLinkControllergetApplicationLinks({ workspaceId, applicationId, name }: {
1756
1815
  workspaceId: string;
1757
1816
  applicationId: string;
1758
1817
  name?: string;
@@ -1760,7 +1819,7 @@ export declare function getApplicationLinks({ workspaceId, applicationId, name }
1760
1819
  /**
1761
1820
  * Create application link
1762
1821
  */
1763
- export declare function save7({ workspaceId, applicationId, createApplicationLinkRequest }: {
1822
+ export declare function applicationLinkControllersave({ workspaceId, applicationId, createApplicationLinkRequest }: {
1764
1823
  workspaceId: string;
1765
1824
  applicationId: string;
1766
1825
  createApplicationLinkRequest: CreateApplicationLinkRequest;
@@ -1768,26 +1827,26 @@ export declare function save7({ workspaceId, applicationId, createApplicationLin
1768
1827
  /**
1769
1828
  * Has active deploy with type self hosted?
1770
1829
  */
1771
- export declare function hasActiveDeployWithTypeSelfHosted1({ workspaceId, applicationId }: {
1830
+ export declare function applicationControllerhasActiveDeployWithTypeSelfHosted({ workspaceId, applicationId }: {
1772
1831
  workspaceId: string;
1773
1832
  applicationId: string;
1774
1833
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1775
1834
  /**
1776
1835
  * Can the application be destroyed?
1777
1836
  */
1778
- export declare function canBeDestroyed1({ workspaceId, applicationId, environmentId, accountId }: {
1837
+ export declare function applicationControllercanBeDestroyed({ workspaceId, applicationId, environmentId, accountId }: {
1779
1838
  workspaceId: string;
1780
1839
  applicationId: string;
1781
1840
  environmentId: string;
1782
1841
  accountId: string;
1783
1842
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1784
- export declare function registryAppDestroy({ workspaceId, applicationId, environmentId, applicationDestroyRequest }: {
1843
+ export declare function applicationControllerregistryAppDestroy({ workspaceId, applicationId, environmentId, applicationDestroyRequest }: {
1785
1844
  workspaceId: string;
1786
1845
  applicationId: string;
1787
1846
  environmentId: string;
1788
1847
  applicationDestroyRequest: ApplicationDestroyRequest;
1789
1848
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
1790
- export declare function registryAppDeploy({ workspaceId, applicationId, environmentId, applicationDeployRequest }: {
1849
+ export declare function applicationControllerregistryAppDeploy({ workspaceId, applicationId, environmentId, applicationDeployRequest }: {
1791
1850
  workspaceId: string;
1792
1851
  applicationId: string;
1793
1852
  environmentId: string;
@@ -1796,7 +1855,7 @@ export declare function registryAppDeploy({ workspaceId, applicationId, environm
1796
1855
  /**
1797
1856
  * Get all application embedded links
1798
1857
  */
1799
- export declare function getEmbeddedLinks1({ workspaceId, applicationId, name }: {
1858
+ export declare function applicationEmbeddedLinkControllergetEmbeddedLinks({ workspaceId, applicationId, name }: {
1800
1859
  workspaceId: string;
1801
1860
  applicationId: string;
1802
1861
  name?: string;
@@ -1804,7 +1863,7 @@ export declare function getEmbeddedLinks1({ workspaceId, applicationId, name }:
1804
1863
  /**
1805
1864
  * Create application embedded link
1806
1865
  */
1807
- export declare function save8({ workspaceId, applicationId, createApplicationEmbeddedLinkRequest }: {
1866
+ export declare function applicationEmbeddedLinkControllersave({ workspaceId, applicationId, createApplicationEmbeddedLinkRequest }: {
1808
1867
  workspaceId: string;
1809
1868
  applicationId: string;
1810
1869
  createApplicationEmbeddedLinkRequest: CreateApplicationEmbeddedLinkRequest;
@@ -1812,7 +1871,7 @@ export declare function save8({ workspaceId, applicationId, createApplicationEmb
1812
1871
  /**
1813
1872
  * Register the snapshot of an application's deploy.
1814
1873
  */
1815
- export declare function processDeploySnapshot1({ workspaceId, applicationId, applicationDeploySnapshotRequest }: {
1874
+ export declare function applicationControllerprocessDeploySnapshot({ workspaceId, applicationId, applicationDeploySnapshotRequest }: {
1816
1875
  workspaceId: string;
1817
1876
  applicationId: string;
1818
1877
  applicationDeploySnapshotRequest: ApplicationDeploySnapshotRequest;
@@ -1820,78 +1879,95 @@ export declare function processDeploySnapshot1({ workspaceId, applicationId, app
1820
1879
  /**
1821
1880
  * List all workspaces usage by stack version list.
1822
1881
  */
1823
- export declare function listAllStackUsage({ accountId, body }: {
1882
+ export declare function usageInsightsControllerlistAllStackUsage({ accountId, body }: {
1824
1883
  accountId: string;
1825
1884
  body: string[];
1826
1885
  }, opts?: Oazapfts.RequestOpts): Promise<StackUsageByWorkspaceResponse[]>;
1827
1886
  /**
1828
1887
  * Retrieve the amount of apps and shared infras that use the given plugin version id list
1829
1888
  */
1830
- export declare function findPluginUsageAmount({ accountId, body }: {
1889
+ export declare function usageInsightsControllerfindPluginUsageAmount({ accountId, body }: {
1831
1890
  accountId: string;
1832
1891
  body: string[];
1833
1892
  }, opts?: Oazapfts.RequestOpts): Promise<PluginUsageAmountConsolidatedResponse>;
1834
1893
  /**
1835
1894
  * Get environments
1836
1895
  */
1837
- export declare function getEnvironments({ accountId }: {
1896
+ export declare function environmentControllergetEnvironments({ accountId }: {
1838
1897
  accountId?: string;
1839
1898
  }, opts?: Oazapfts.RequestOpts): Promise<EnvironmentReadResponse[]>;
1840
1899
  /**
1841
1900
  * Save environment
1842
1901
  */
1843
- export declare function save9({ environmentSaveRequest }: {
1902
+ export declare function environmentControllersave({ environmentSaveRequest }: {
1844
1903
  environmentSaveRequest: EnvironmentSaveRequest;
1845
1904
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
1846
1905
  /**
1847
1906
  * Batch save environment
1848
1907
  */
1849
- export declare function saveBatch({ accountId, body }: {
1908
+ export declare function environmentControllersaveBatch({ accountId, body }: {
1850
1909
  accountId?: string;
1851
1910
  body: EnvironmentSaveRequest[];
1852
1911
  }, opts?: Oazapfts.RequestOpts): Promise<EnvironmentReadBatchResponse[]>;
1853
1912
  /**
1854
1913
  * List all workflows of an account.
1855
1914
  */
1856
- export declare function listAccountWorkflows({ $type, name }: {
1915
+ export declare function workflowAccountControllerlistAccountWorkflows({ $type, name }: {
1857
1916
  $type?: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
1858
1917
  name?: string;
1859
1918
  }, opts?: Oazapfts.RequestOpts): Promise<WorkflowResponse[]>;
1860
1919
  /**
1861
1920
  * Create an account workflow
1862
1921
  */
1863
- export declare function saveAccountWorkflow({ accountWorkflowCreateRequest }: {
1922
+ export declare function workflowAccountControllersaveAccountWorkflow({ accountWorkflowCreateRequest }: {
1864
1923
  accountWorkflowCreateRequest: AccountWorkflowCreateRequest;
1865
1924
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
1925
+ /**
1926
+ * Find all account variables
1927
+ */
1928
+ export declare function accountVariableControllerfindAll({ accountId, name, page, size, sortBy, sortDir }: {
1929
+ accountId?: string;
1930
+ name?: string;
1931
+ page?: number;
1932
+ size?: number;
1933
+ sortBy?: "NAME" | "VALUE" | "CREATED_AT";
1934
+ sortDir?: "ASC" | "DESC";
1935
+ }, opts?: Oazapfts.RequestOpts): Promise<PaginatedAccountVariableResponse>;
1936
+ /**
1937
+ * Create account variable
1938
+ */
1939
+ export declare function accountVariableControllercreate({ createAccountVariableRequest }: {
1940
+ createAccountVariableRequest: CreateAccountVariableRequest;
1941
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1866
1942
  /**
1867
1943
  * List all stacks with context for given account and given stackVersionId list.
1868
1944
  */
1869
- export declare function listStackVersionsWithAccountContext({ body }: {
1945
+ export declare function contextControllerlistStackVersionsWithAccountContext({ body }: {
1870
1946
  body: string[];
1871
1947
  }, opts?: Oazapfts.RequestOpts): Promise<AccountStackContextResponse>;
1872
1948
  /**
1873
1949
  * Get workspace by id
1874
1950
  */
1875
- export declare function getWorkspaceForId({ workspaceId }: {
1951
+ export declare function workspaceControllergetWorkspaceForId({ workspaceId }: {
1876
1952
  workspaceId: string;
1877
1953
  }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceReadResponse>;
1878
1954
  /**
1879
1955
  * Delete workspace.
1880
1956
  */
1881
- export declare function deleteV1WorkspacesByWorkspaceId({ workspaceId }: {
1957
+ export declare function workspaceControllerdelete({ workspaceId }: {
1882
1958
  workspaceId: string;
1883
1959
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1884
1960
  /**
1885
1961
  * Update workspace
1886
1962
  */
1887
- export declare function update1({ workspaceId, updateWorkspaceRequest }: {
1963
+ export declare function workspaceControllerupdate({ workspaceId, updateWorkspaceRequest }: {
1888
1964
  workspaceId: string;
1889
1965
  updateWorkspaceRequest: UpdateWorkspaceRequest;
1890
1966
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
1891
1967
  /**
1892
1968
  * Get shared infra links by id
1893
1969
  */
1894
- export declare function getSharedInfraLink({ workspaceId, sharedInfraId, linkId }: {
1970
+ export declare function sharedInfraLinkControllergetSharedInfraLink({ workspaceId, sharedInfraId, linkId }: {
1895
1971
  workspaceId: string;
1896
1972
  sharedInfraId: string;
1897
1973
  linkId: string;
@@ -1899,7 +1975,7 @@ export declare function getSharedInfraLink({ workspaceId, sharedInfraId, linkId
1899
1975
  /**
1900
1976
  * Delete shared infra links
1901
1977
  */
1902
- export declare function delete2({ workspaceId, sharedInfraId, linkId }: {
1978
+ export declare function sharedInfraLinkControllerdelete({ workspaceId, sharedInfraId, linkId }: {
1903
1979
  workspaceId: string;
1904
1980
  sharedInfraId: string;
1905
1981
  linkId: string;
@@ -1907,7 +1983,7 @@ export declare function delete2({ workspaceId, sharedInfraId, linkId }: {
1907
1983
  /**
1908
1984
  * Update shared infra links
1909
1985
  */
1910
- export declare function update3({ workspaceId, sharedInfraId, linkId, updateSharedInfraLinkRequest }: {
1986
+ export declare function sharedInfraLinkControllerupdate({ workspaceId, sharedInfraId, linkId, updateSharedInfraLinkRequest }: {
1911
1987
  workspaceId: string;
1912
1988
  sharedInfraId: string;
1913
1989
  linkId: string;
@@ -1916,21 +1992,21 @@ export declare function update3({ workspaceId, sharedInfraId, linkId, updateShar
1916
1992
  /**
1917
1993
  * Get workspace link by id
1918
1994
  */
1919
- export declare function getWorkspaceLink({ workspaceId, linkId }: {
1995
+ export declare function workspaceLinkControllergetWorkspaceLink({ workspaceId, linkId }: {
1920
1996
  workspaceId: string;
1921
1997
  linkId: string;
1922
1998
  }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceLinkReadResponse>;
1923
1999
  /**
1924
2000
  * Delete workspace links
1925
2001
  */
1926
- export declare function delete3({ workspaceId, linkId }: {
2002
+ export declare function workspaceLinkControllerdelete({ workspaceId, linkId }: {
1927
2003
  workspaceId: string;
1928
2004
  linkId: string;
1929
2005
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1930
2006
  /**
1931
2007
  * Update workspace links
1932
2008
  */
1933
- export declare function update4({ workspaceId, linkId, updateWorkspaceLinkRequest }: {
2009
+ export declare function workspaceLinkControllerupdate({ workspaceId, linkId, updateWorkspaceLinkRequest }: {
1934
2010
  workspaceId: string;
1935
2011
  linkId: string;
1936
2012
  updateWorkspaceLinkRequest: UpdateWorkspaceLinkRequest;
@@ -1938,21 +2014,21 @@ export declare function update4({ workspaceId, linkId, updateWorkspaceLinkReques
1938
2014
  /**
1939
2015
  * Get workspace embedded link by id
1940
2016
  */
1941
- export declare function getEmbeddedLink({ workspaceId, embeddedLinkId }: {
2017
+ export declare function workspaceEmbeddedLinkControllergetEmbeddedLink({ workspaceId, embeddedLinkId }: {
1942
2018
  workspaceId: string;
1943
2019
  embeddedLinkId: string;
1944
2020
  }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceEmbeddedLinkReadResponse>;
1945
2021
  /**
1946
2022
  * Delete workspace embedded link
1947
2023
  */
1948
- export declare function delete4({ workspaceId, embeddedLinkId }: {
2024
+ export declare function workspaceEmbeddedLinkControllerdelete({ workspaceId, embeddedLinkId }: {
1949
2025
  workspaceId: string;
1950
2026
  embeddedLinkId: string;
1951
2027
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1952
2028
  /**
1953
2029
  * Update workspace embedded link
1954
2030
  */
1955
- export declare function update5({ workspaceId, embeddedLinkId, updateWorkspaceEmbeddedLinkRequest }: {
2031
+ export declare function workspaceEmbeddedLinkControllerupdate({ workspaceId, embeddedLinkId, updateWorkspaceEmbeddedLinkRequest }: {
1956
2032
  workspaceId: string;
1957
2033
  embeddedLinkId: string;
1958
2034
  updateWorkspaceEmbeddedLinkRequest: UpdateWorkspaceEmbeddedLinkRequest;
@@ -1960,14 +2036,14 @@ export declare function update5({ workspaceId, embeddedLinkId, updateWorkspaceEm
1960
2036
  /**
1961
2037
  * Upsert workspace embedded link
1962
2038
  */
1963
- export declare function upsertBatch1({ workspaceId, body }: {
2039
+ export declare function workspaceEmbeddedLinkControllerupsertBatch({ workspaceId, body }: {
1964
2040
  workspaceId: string;
1965
2041
  body: UpsertWorkspaceEmbeddedLinkRequest[];
1966
2042
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1967
2043
  /**
1968
2044
  * Get application link by id
1969
2045
  */
1970
- export declare function getApplicationLink({ workspaceId, applicationId, linkId }: {
2046
+ export declare function applicationLinkControllergetApplicationLink({ workspaceId, applicationId, linkId }: {
1971
2047
  workspaceId: string;
1972
2048
  applicationId: string;
1973
2049
  linkId: string;
@@ -1975,7 +2051,7 @@ export declare function getApplicationLink({ workspaceId, applicationId, linkId
1975
2051
  /**
1976
2052
  * Delete workspace links
1977
2053
  */
1978
- export declare function delete5({ workspaceId, applicationId, linkId }: {
2054
+ export declare function applicationLinkControllerdelete({ workspaceId, applicationId, linkId }: {
1979
2055
  workspaceId: string;
1980
2056
  applicationId: string;
1981
2057
  linkId: string;
@@ -1983,7 +2059,7 @@ export declare function delete5({ workspaceId, applicationId, linkId }: {
1983
2059
  /**
1984
2060
  * Update application links
1985
2061
  */
1986
- export declare function update7({ workspaceId, applicationId, linkId, updateApplicationLinkRequest }: {
2062
+ export declare function applicationLinkControllerupdate({ workspaceId, applicationId, linkId, updateApplicationLinkRequest }: {
1987
2063
  workspaceId: string;
1988
2064
  applicationId: string;
1989
2065
  linkId: string;
@@ -1992,7 +2068,7 @@ export declare function update7({ workspaceId, applicationId, linkId, updateAppl
1992
2068
  /**
1993
2069
  * Get application embedded link by id
1994
2070
  */
1995
- export declare function getEmbeddedLink1({ workspaceId, applicationId, embeddedLinkId }: {
2071
+ export declare function applicationEmbeddedLinkControllergetEmbeddedLink({ workspaceId, applicationId, embeddedLinkId }: {
1996
2072
  workspaceId: string;
1997
2073
  applicationId: string;
1998
2074
  embeddedLinkId: string;
@@ -2000,7 +2076,7 @@ export declare function getEmbeddedLink1({ workspaceId, applicationId, embeddedL
2000
2076
  /**
2001
2077
  * Delete application embedded link
2002
2078
  */
2003
- export declare function delete6({ workspaceId, applicationId, embeddedLinkId }: {
2079
+ export declare function applicationEmbeddedLinkControllerdelete({ workspaceId, applicationId, embeddedLinkId }: {
2004
2080
  workspaceId: string;
2005
2081
  applicationId: string;
2006
2082
  embeddedLinkId: string;
@@ -2008,7 +2084,7 @@ export declare function delete6({ workspaceId, applicationId, embeddedLinkId }:
2008
2084
  /**
2009
2085
  * Update application embedded link
2010
2086
  */
2011
- export declare function update8({ workspaceId, applicationId, embeddedLinkId, updateApplicationEmbeddedLinkRequest }: {
2087
+ export declare function applicationEmbeddedLinkControllerupdate({ workspaceId, applicationId, embeddedLinkId, updateApplicationEmbeddedLinkRequest }: {
2012
2088
  workspaceId: string;
2013
2089
  applicationId: string;
2014
2090
  embeddedLinkId: string;
@@ -2017,7 +2093,7 @@ export declare function update8({ workspaceId, applicationId, embeddedLinkId, up
2017
2093
  /**
2018
2094
  * Upsert application embedded link
2019
2095
  */
2020
- export declare function upsertBatch2({ workspaceId, applicationId, body }: {
2096
+ export declare function applicationEmbeddedLinkControllerupsertBatch({ workspaceId, applicationId, body }: {
2021
2097
  workspaceId: string;
2022
2098
  applicationId: string;
2023
2099
  body: UpsertApplicationEmbeddedLinkRequest[];
@@ -2025,27 +2101,41 @@ export declare function upsertBatch2({ workspaceId, applicationId, body }: {
2025
2101
  /**
2026
2102
  * Archive application from a workspace.
2027
2103
  */
2028
- export declare function archiveApplication({ workspaceId, applicationId }: {
2104
+ export declare function applicationControllerarchiveApplication({ workspaceId, applicationId }: {
2029
2105
  workspaceId: string;
2030
2106
  applicationId: string;
2031
2107
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2032
2108
  /**
2033
2109
  * Get environment by id
2034
2110
  */
2035
- export declare function getEnvironment({ id }: {
2111
+ export declare function environmentControllergetEnvironment({ id }: {
2036
2112
  id: string;
2037
2113
  }, opts?: Oazapfts.RequestOpts): Promise<EnvironmentReadResponse>;
2038
2114
  /**
2039
2115
  * Update environment
2040
2116
  */
2041
- export declare function update9({ id, environmentUpdateRequest }: {
2117
+ export declare function environmentControllerupdate({ id, environmentUpdateRequest }: {
2042
2118
  id: string;
2043
2119
  environmentUpdateRequest: EnvironmentUpdateRequest;
2044
2120
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
2121
+ /**
2122
+ * Find all workspace variables
2123
+ */
2124
+ export declare function workspaceVariableV2ControllerfindAll({ workspaceId, accountId, page, size, sortBy, sortDir, mandate, name, showEmptyValues }: {
2125
+ workspaceId: string;
2126
+ accountId?: string;
2127
+ page?: number;
2128
+ size?: number;
2129
+ sortBy?: "NAME" | "VALUE" | "CREATED_AT";
2130
+ sortDir?: "ASC" | "DESC";
2131
+ mandate?: boolean;
2132
+ name?: string;
2133
+ showEmptyValues?: boolean;
2134
+ }, opts?: Oazapfts.RequestOpts): Promise<PaginatedWorkspaceVariableResponse>;
2045
2135
  /**
2046
2136
  * Get plugins applied to a workspace's shared infrastructure.
2047
2137
  */
2048
- export declare function getAppliedPlugins({ workspaceId, sharedInfraId, environmentId }: {
2138
+ export declare function sharedInfrastructureV2ControllergetAppliedPlugins({ workspaceId, sharedInfraId, environmentId }: {
2049
2139
  workspaceId: string;
2050
2140
  sharedInfraId: string;
2051
2141
  environmentId: string;
@@ -2053,7 +2143,7 @@ export declare function getAppliedPlugins({ workspaceId, sharedInfraId, environm
2053
2143
  /**
2054
2144
  * List all available connection interfaces for a workspace.
2055
2145
  */
2056
- export declare function getAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId, automaticallyGenerated }: {
2146
+ export declare function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId, automaticallyGenerated }: {
2057
2147
  workspaceId: string;
2058
2148
  typeId?: string;
2059
2149
  automaticallyGenerated?: boolean;
@@ -2061,7 +2151,7 @@ export declare function getAvailableConnectionInterfacesForAWorkspace({ workspac
2061
2151
  /**
2062
2152
  * Get available connection interface for a workspace by its slug.
2063
2153
  */
2064
- export declare function getAvailableConnectionInterfaceForAWorkspace({ workspaceId, slug, environmentId, accountId }: {
2154
+ export declare function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAWorkspace({ workspaceId, slug, environmentId, accountId }: {
2065
2155
  workspaceId: string;
2066
2156
  slug: string;
2067
2157
  environmentId?: string;
@@ -2070,7 +2160,7 @@ export declare function getAvailableConnectionInterfaceForAWorkspace({ workspace
2070
2160
  /**
2071
2161
  * Get plugins applied to a workspace's application.
2072
2162
  */
2073
- export declare function getAppliedPlugins1({ workspaceId, applicationId, environmentId }: {
2163
+ export declare function applicationV2ControllergetAppliedPlugins({ workspaceId, applicationId, environmentId }: {
2074
2164
  workspaceId: string;
2075
2165
  applicationId: string;
2076
2166
  environmentId: string;
@@ -2078,7 +2168,7 @@ export declare function getAppliedPlugins1({ workspaceId, applicationId, environ
2078
2168
  /**
2079
2169
  * List all available connection interfaces for an application.
2080
2170
  */
2081
- export declare function getAvailableConnectionInterfacesForAnApplication({ applicationId, typeId, automaticallyGenerated }: {
2171
+ export declare function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfacesForAnApplication({ applicationId, typeId, automaticallyGenerated }: {
2082
2172
  applicationId: string;
2083
2173
  typeId?: string;
2084
2174
  automaticallyGenerated?: boolean;
@@ -2086,7 +2176,7 @@ export declare function getAvailableConnectionInterfacesForAnApplication({ appli
2086
2176
  /**
2087
2177
  * Get available connection interface for an application by its slug.
2088
2178
  */
2089
- export declare function getAvailableConnectionInterfaceForAnApplication({ applicationId, slug, environmentId }: {
2179
+ export declare function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAnApplication({ applicationId, slug, environmentId }: {
2090
2180
  applicationId: string;
2091
2181
  slug: string;
2092
2182
  environmentId?: string;
@@ -2094,7 +2184,7 @@ export declare function getAvailableConnectionInterfaceForAnApplication({ applic
2094
2184
  /**
2095
2185
  * Get connection interface in use by applicationId or sharedInfraId.
2096
2186
  */
2097
- export declare function getConnectionInterfaceInUseTargetId({ workspaceId, targetId, targetType, slug, accountId, environmentId }: {
2187
+ export declare function connectionInterfaceInUseControllergetConnectionInterfaceInUseTargetId({ workspaceId, targetId, targetType, slug, accountId, environmentId }: {
2098
2188
  workspaceId: string;
2099
2189
  targetId: string;
2100
2190
  targetType: "applications" | "shared_infra";
@@ -2102,24 +2192,31 @@ export declare function getConnectionInterfaceInUseTargetId({ workspaceId, targe
2102
2192
  accountId: string;
2103
2193
  environmentId?: string;
2104
2194
  }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceInUseByTargetIdDetailsResponse[]>;
2195
+ /**
2196
+ * Get all workspace's variables v1
2197
+ */
2198
+ export declare function workspaceVariableV1ControllerfindAll({ workspaceId, filter }: {
2199
+ workspaceId: string;
2200
+ filter?: string;
2201
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableReadV1Response[]>;
2105
2202
  /**
2106
2203
  * Get stack in a workspace by stack version id.
2107
2204
  */
2108
- export declare function getStackById({ workspaceId, stackVersionId }: {
2205
+ export declare function workspaceStackControllergetStackById({ workspaceId, stackVersionId }: {
2109
2206
  workspaceId: string;
2110
2207
  stackVersionId: string;
2111
2208
  }, opts?: Oazapfts.RequestOpts): Promise<StackInWorkspaceReadResponse>;
2112
2209
  /**
2113
2210
  * Delete a stack from a workspace.
2114
2211
  */
2115
- export declare function deleteStack({ workspaceId, stackVersionId }: {
2212
+ export declare function workspaceStackControllerdeleteStack({ workspaceId, stackVersionId }: {
2116
2213
  workspaceId: string;
2117
2214
  stackVersionId: string;
2118
2215
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2119
2216
  /**
2120
2217
  * List the consolidated input context of all stack elements for given type in a workspace.
2121
2218
  */
2122
- export declare function listConsolidatedContext({ workspaceId, stackVersionId, $type, environmentId, externalId }: {
2219
+ export declare function contextControllerlistConsolidatedContext({ workspaceId, stackVersionId, $type, environmentId, externalId }: {
2123
2220
  workspaceId: string;
2124
2221
  stackVersionId: string;
2125
2222
  $type: "plugin" | "action";
@@ -2129,7 +2226,7 @@ export declare function listConsolidatedContext({ workspaceId, stackVersionId, $
2129
2226
  /**
2130
2227
  * Get workflow settings with context by stack and workflowType
2131
2228
  */
2132
- export declare function listWorkflowByStackIdAndWorkflowType({ workspaceId, stackId, workflowType }: {
2229
+ export declare function workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType({ workspaceId, stackId, workflowType }: {
2133
2230
  workspaceId: string;
2134
2231
  stackId: string;
2135
2232
  workflowType: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
@@ -2137,7 +2234,7 @@ export declare function listWorkflowByStackIdAndWorkflowType({ workspaceId, stac
2137
2234
  /**
2138
2235
  * Get plugins applied to a workspace's shared infrastructure.
2139
2236
  */
2140
- export declare function getAppliedPlugins2({ workspaceId, sharedInfraId, environmentId, $type }: {
2237
+ export declare function sharedInfrastructureControllergetAppliedPlugins({ workspaceId, sharedInfraId, environmentId, $type }: {
2141
2238
  workspaceId: string;
2142
2239
  sharedInfraId: string;
2143
2240
  environmentId: string;
@@ -2146,7 +2243,7 @@ export declare function getAppliedPlugins2({ workspaceId, sharedInfraId, environ
2146
2243
  /**
2147
2244
  * List shared infrastructure's activities.
2148
2245
  */
2149
- export declare function listActivities({ workspaceId, sharedInfraId, environmentId, $type, page, size }: {
2246
+ export declare function sharedInfrastructureControllerlistActivities({ workspaceId, sharedInfraId, environmentId, $type, page, size }: {
2150
2247
  workspaceId: string;
2151
2248
  sharedInfraId: string;
2152
2249
  environmentId: string;
@@ -2157,14 +2254,14 @@ export declare function listActivities({ workspaceId, sharedInfraId, environment
2157
2254
  /**
2158
2255
  * Get all in use connection interface dependencies from the shared infra.
2159
2256
  */
2160
- export declare function getDependencyTree({ workspaceId, sharedInfraId }: {
2257
+ export declare function sharedInfrastructureControllergetDependencyTree({ workspaceId, sharedInfraId }: {
2161
2258
  workspaceId: string;
2162
2259
  sharedInfraId: string;
2163
2260
  }, opts?: Oazapfts.RequestOpts): Promise<AppAndInfraDependencyResponse>;
2164
2261
  /**
2165
2262
  * Get a connection interface by connection interface id.
2166
2263
  */
2167
- export declare function getConnectionInterface({ workspaceId, connectionInterfaceId, environmentId }: {
2264
+ export declare function connectionInterfaceControllergetConnectionInterface({ workspaceId, connectionInterfaceId, environmentId }: {
2168
2265
  workspaceId: string;
2169
2266
  connectionInterfaceId: string;
2170
2267
  environmentId?: string;
@@ -2172,14 +2269,14 @@ export declare function getConnectionInterface({ workspaceId, connectionInterfac
2172
2269
  /**
2173
2270
  * Get all connection interface in use.
2174
2271
  */
2175
- export declare function getAllConnectionInterfaceInUse({ workspaceId, accountId }: {
2272
+ export declare function connectionInterfaceInUseControllergetAllConnectionInterfaceInUse({ workspaceId, accountId }: {
2176
2273
  workspaceId: string;
2177
2274
  accountId?: string;
2178
2275
  }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceInUseDetailsResponse[]>;
2179
2276
  /**
2180
2277
  * Get connection interface in use by slug.
2181
2278
  */
2182
- export declare function getConnectionInterfaceInUseBySlug({ workspaceId, slug, accountId }: {
2279
+ export declare function connectionInterfaceInUseControllergetConnectionInterfaceInUseBySlug({ workspaceId, slug, accountId }: {
2183
2280
  workspaceId: string;
2184
2281
  slug: string;
2185
2282
  accountId?: string;
@@ -2187,14 +2284,14 @@ export declare function getConnectionInterfaceInUseBySlug({ workspaceId, slug, a
2187
2284
  /**
2188
2285
  * List all available connection interfaces for a workspace.
2189
2286
  */
2190
- export declare function getAvailableConnectionInterfacesForAWorkspace1({ workspaceId, typeId }: {
2287
+ export declare function availableConnectionInterfaceControllergetAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId }: {
2191
2288
  workspaceId: string;
2192
2289
  typeId?: string;
2193
2290
  }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceSummaryResponse[]>;
2194
2291
  /**
2195
2292
  * Get available connection interface for a workspace by its id.
2196
2293
  */
2197
- export declare function getAvailableConnectionInterfaceForAWorkspace1({ workspaceId, connectionInterfaceId, environmentId }: {
2294
+ export declare function availableConnectionInterfaceControllergetAvailableConnectionInterfaceForAWorkspace({ workspaceId, connectionInterfaceId, environmentId }: {
2198
2295
  workspaceId: string;
2199
2296
  connectionInterfaceId: string;
2200
2297
  environmentId?: string;
@@ -2202,13 +2299,13 @@ export declare function getAvailableConnectionInterfaceForAWorkspace1({ workspac
2202
2299
  /**
2203
2300
  * Get plugins applied to a workspace's application.
2204
2301
  */
2205
- export declare function getAppliedPlugins3({ workspaceId, applicationId, environmentId, $type }: {
2302
+ export declare function applicationControllergetAppliedPlugins({ workspaceId, applicationId, environmentId, $type }: {
2206
2303
  workspaceId: string;
2207
2304
  applicationId: string;
2208
2305
  environmentId: string;
2209
2306
  $type?: string;
2210
2307
  }, opts?: Oazapfts.RequestOpts): Promise<AppliedPluginResponse[]>;
2211
- export declare function getAppDeployInfo({ workspaceId, applicationId, environmentId, accountId, tenant }: {
2308
+ export declare function applicationControllergetAppDeployInfo({ workspaceId, applicationId, environmentId, accountId, tenant }: {
2212
2309
  workspaceId: string;
2213
2310
  applicationId: string;
2214
2311
  environmentId: string;
@@ -2218,7 +2315,7 @@ export declare function getAppDeployInfo({ workspaceId, applicationId, environme
2218
2315
  /**
2219
2316
  * List application's activities.
2220
2317
  */
2221
- export declare function listActivities1({ workspaceId, applicationId, environmentId, $type, page, size }: {
2318
+ export declare function applicationControllerlistActivities({ workspaceId, applicationId, environmentId, $type, page, size }: {
2222
2319
  workspaceId: string;
2223
2320
  applicationId: string;
2224
2321
  environmentId: string;
@@ -2229,14 +2326,14 @@ export declare function listActivities1({ workspaceId, applicationId, environmen
2229
2326
  /**
2230
2327
  * Get all in use connection interface dependencies from the application.
2231
2328
  */
2232
- export declare function getDependencyTree1({ workspaceId, applicationId }: {
2329
+ export declare function applicationControllergetDependencyTree({ workspaceId, applicationId }: {
2233
2330
  workspaceId: string;
2234
2331
  applicationId: string;
2235
2332
  }, opts?: Oazapfts.RequestOpts): Promise<AppAndInfraDependencyResponse>;
2236
2333
  /**
2237
2334
  * Can the application be destroyed?
2238
2335
  */
2239
- export declare function canBeDeleted({ workspaceId, applicationId, accountId, tenant }: {
2336
+ export declare function applicationControllercanBeDeleted({ workspaceId, applicationId, accountId, tenant }: {
2240
2337
  workspaceId: string;
2241
2338
  applicationId: string;
2242
2339
  accountId: string;
@@ -2245,52 +2342,52 @@ export declare function canBeDeleted({ workspaceId, applicationId, accountId, te
2245
2342
  /**
2246
2343
  * Get all workspaces within user permission
2247
2344
  */
2248
- export declare function getWorkspacesFromUserPermission({ resource, action }: {
2345
+ export declare function workspaceControllergetWorkspacesFromUserPermission({ resource, action }: {
2249
2346
  resource: string;
2250
2347
  action: string;
2251
2348
  }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceReadResponse[]>;
2252
2349
  /**
2253
2350
  * Get shared infrastructure information by id.
2254
2351
  */
2255
- export declare function getSharedInfra({ id }: {
2352
+ export declare function getSharedInfraControllergetSharedInfra({ id }: {
2256
2353
  id: string;
2257
2354
  }, opts?: Oazapfts.RequestOpts): Promise<GetSharedInfraResponse>;
2258
2355
  /**
2259
2356
  * Check if there is/are any deployment active for the provided plugin
2260
2357
  */
2261
- export declare function checkPluginInUse({ pluginVersionId }: {
2358
+ export declare function pluginInUseControllercheckPluginInUse({ pluginVersionId }: {
2262
2359
  pluginVersionId: string;
2263
2360
  }, opts?: Oazapfts.RequestOpts): Promise<PluginInUseDetailsResponse[]>;
2264
2361
  /**
2265
2362
  * Check availability of connection slug in account.
2266
2363
  */
2267
- export declare function checkConnectionSlugAvailability({ slug }: {
2364
+ export declare function checkConnectionSlugAvailabilityControllercheckConnectionSlugAvailability({ slug }: {
2268
2365
  slug: string;
2269
2366
  }, opts?: Oazapfts.RequestOpts): Promise<CheckConnectionSlugAvailabilityResponse>;
2270
2367
  /**
2271
2368
  * Get an application list by repo url.
2272
2369
  */
2273
- export declare function getApplicationsByUrl({ accountId, repoUrl }: {
2370
+ export declare function getApplicationControllergetApplicationsByUrl({ accountId, repoUrl }: {
2274
2371
  accountId: string;
2275
2372
  repoUrl: string;
2276
2373
  }, opts?: Oazapfts.RequestOpts): Promise<ApplicationRepoUrlReadResponse[]>;
2277
2374
  /**
2278
2375
  * Get application information by id.
2279
2376
  */
2280
- export declare function getApplication1({ id }: {
2377
+ export declare function getApplicationControllergetApplication({ id }: {
2281
2378
  id: string;
2282
2379
  }, opts?: Oazapfts.RequestOpts): Promise<GetApplicationResponse>;
2283
2380
  /**
2284
2381
  * List all available connection interfaces for an application.
2285
2382
  */
2286
- export declare function getAvailableConnectionInterfacesForAnApplication1({ applicationId, typeId }: {
2383
+ export declare function availableConnectionInterfaceControllergetAvailableConnectionInterfacesForAnApplication({ applicationId, typeId }: {
2287
2384
  applicationId: string;
2288
2385
  typeId?: string;
2289
2386
  }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceSummaryResponse[]>;
2290
2387
  /**
2291
2388
  * Get available connection interface for an application by its id.
2292
2389
  */
2293
- export declare function getAvailableConnectionInterfaceForAnApplication1({ applicationId, connectionInterfaceId, environmentId }: {
2390
+ export declare function availableConnectionInterfaceControllergetAvailableConnectionInterfaceForAnApplication({ applicationId, connectionInterfaceId, environmentId }: {
2294
2391
  applicationId: string;
2295
2392
  connectionInterfaceId: string;
2296
2393
  environmentId?: string;
@@ -2298,14 +2395,21 @@ export declare function getAvailableConnectionInterfaceForAnApplication1({ appli
2298
2395
  /**
2299
2396
  * Get action version ranges used in workflows given an actionId.
2300
2397
  */
2301
- export declare function listActionVersionRangesUsage({ accountId, actionId }: {
2398
+ export declare function workflowAccountControllerlistActionVersionRangesUsage({ accountId, actionId }: {
2302
2399
  accountId?: string;
2303
2400
  actionId: string;
2304
2401
  }, opts?: Oazapfts.RequestOpts): Promise<WorkflowActionUsageResponse>;
2402
+ /**
2403
+ * Get account variable usage
2404
+ */
2405
+ export declare function accountVariableControllerusage({ accountId, name }: {
2406
+ accountId?: string;
2407
+ name: string;
2408
+ }, opts?: Oazapfts.RequestOpts): Promise<AccountVariableUsageResponse>;
2305
2409
  /**
2306
2410
  * List the input context of all stack elements for given type in account.
2307
2411
  */
2308
- export declare function listAccountContext({ stackVersionId, $type, environmentId, externalId }: {
2412
+ export declare function contextControllerlistAccountContext({ stackVersionId, $type, environmentId, externalId }: {
2309
2413
  stackVersionId: string;
2310
2414
  $type: "plugin" | "action";
2311
2415
  environmentId?: string;
@@ -2314,35 +2418,35 @@ export declare function listAccountContext({ stackVersionId, $type, environmentI
2314
2418
  /**
2315
2419
  * Get workflow of a stackId by workflow type.
2316
2420
  */
2317
- export declare function listWorkflowByStackIdAndType({ stackId, workflowType }: {
2421
+ export declare function workflowStackControllerlistWorkflowByStackIdAndType({ stackId, workflowType }: {
2318
2422
  stackId: string;
2319
2423
  workflowType: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
2320
2424
  }, opts?: Oazapfts.RequestOpts): Promise<AccountWorkflowResponse>;
2321
2425
  /**
2322
2426
  * Get workflows by a stackId.
2323
2427
  */
2324
- export declare function listWorkflowsByStackId({ stackId }: {
2428
+ export declare function workflowStackControllerlistWorkflowsByStackId({ stackId }: {
2325
2429
  stackId: string;
2326
2430
  }, opts?: Oazapfts.RequestOpts): Promise<AccountWorkflowResponse[]>;
2327
2431
  /**
2328
2432
  * List all stacks with workflow by account.
2329
2433
  */
2330
- export declare function listStacksWithWorkflow(opts?: Oazapfts.RequestOpts): Promise<StacksByAccountResponse>;
2434
+ export declare function accountStackControllerlistStacksWithWorkflow(opts?: Oazapfts.RequestOpts): Promise<StacksByAccountResponse>;
2331
2435
  /**
2332
2436
  * List all default workflows of an account.
2333
2437
  */
2334
- export declare function listDefaultAccountWorkflows(opts?: Oazapfts.RequestOpts): Promise<WorkflowResponse[]>;
2438
+ export declare function workflowAccountControllerlistDefaultAccountWorkflows(opts?: Oazapfts.RequestOpts): Promise<WorkflowResponse[]>;
2335
2439
  /**
2336
2440
  * Delete completely connection interfaces from all environments.
2337
2441
  */
2338
- export declare function deleteConnectionInterfaceFromAllEnvironments({ workspaceId, slug }: {
2442
+ export declare function connectionInterfaceControllerdeleteConnectionInterfaceFromAllEnvironments({ workspaceId, slug }: {
2339
2443
  workspaceId: string;
2340
2444
  slug: string;
2341
2445
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2342
2446
  /**
2343
2447
  * Delete connection interfaces.
2344
2448
  */
2345
- export declare function deleteConnectionInterface({ workspaceId, slug, environmentId, accountId }: {
2449
+ export declare function connectionInterfaceControllerdeleteConnectionInterface({ workspaceId, slug, environmentId, accountId }: {
2346
2450
  workspaceId: string;
2347
2451
  slug: string;
2348
2452
  environmentId: string;
@@ -2351,7 +2455,7 @@ export declare function deleteConnectionInterface({ workspaceId, slug, environme
2351
2455
  /**
2352
2456
  * Delete connection interface attributes by environment.
2353
2457
  */
2354
- export declare function deleteConnectionInterfaceAttributesFromEnvironment({ workspaceId, slug, environmentId }: {
2458
+ export declare function connectionInterfaceControllerdeleteConnectionInterfaceAttributesFromEnvironment({ workspaceId, slug, environmentId }: {
2355
2459
  workspaceId: string;
2356
2460
  slug: string;
2357
2461
  environmentId: string;
@@ -2359,7 +2463,7 @@ export declare function deleteConnectionInterfaceAttributesFromEnvironment({ wor
2359
2463
  /**
2360
2464
  * Delete an account workflow.
2361
2465
  */
2362
- export declare function deleteAccountWorkflow({ workflowId }: {
2466
+ export declare function workflowAccountControllerdeleteAccountWorkflow({ workflowId }: {
2363
2467
  workflowId: string;
2364
2468
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2365
2469
  //# sourceMappingURL=workspace.d.ts.map