@stack-spot/portal-network 0.28.0-beta → 0.29.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.
@@ -14,34 +14,6 @@ const oazapfts = Oazapfts.runtime(defaults);
14
14
  export const servers = {
15
15
  generatedServerUrl: "https://workspace-workspace-api.dev.stackspot.com"
16
16
  };
17
- export type WorkspaceVariableResponse = {
18
- /** Workspace variable name. */
19
- name: string;
20
- /** Workspace variable value. */
21
- value?: string;
22
- /** Workspace variable description. */
23
- description: string;
24
- /** Workspace variable mandate flag. */
25
- mandate: boolean;
26
- /** Variable value source. */
27
- source: string;
28
- };
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
- export type UpsertWorkspaceVariableRequest = {
42
- /** Workspace variable value. */
43
- value: string;
44
- };
45
17
  export type ContextAttributeDto = {
46
18
  key: string;
47
19
  value: object;
@@ -59,6 +31,18 @@ export type WorkflowContextResponse = {
59
31
  actionsBefore: ActionContextResponse[];
60
32
  actionsAfter: ActionContextResponse[];
61
33
  };
34
+ export type ValidationDetails = {
35
+ code: string;
36
+ field?: string;
37
+ details?: string;
38
+ values?: string[];
39
+ };
40
+ export type ErrorResponse = {
41
+ code: string;
42
+ status: number;
43
+ details: string;
44
+ validationDetails?: ValidationDetails[];
45
+ };
62
46
  export type ContextAttribute = {
63
47
  key: string;
64
48
  value: object;
@@ -72,6 +56,20 @@ export type WorkspaceWorkflowCreateRequest = {
72
56
  actionsBefore: WorkflowActionContextRequest[];
73
57
  actionsAfter: WorkflowActionContextRequest[];
74
58
  };
59
+ export type WorkspaceVariableReadResponse = {
60
+ /** Workspace variable name. */
61
+ name: string;
62
+ /** Workspace variable value. */
63
+ value: string;
64
+ /** Workspace variable description. */
65
+ description: string;
66
+ };
67
+ export type UpdateWorkspaceVariableRequest = {
68
+ /** Workspace variable value. */
69
+ value: string;
70
+ /** Workspace variable description. */
71
+ description: string;
72
+ };
75
73
  export type PluginAttribute = {
76
74
  key: string;
77
75
  value: object;
@@ -294,26 +292,6 @@ export type ActionsWorkflowSaveRequest = {
294
292
  actionsBefore: WorkflowActionRequest[];
295
293
  actionsAfter: WorkflowActionRequest[];
296
294
  };
297
- export type AccountVariableResponse = {
298
- /** Account variable name */
299
- name: string;
300
- /** Account variable value stored */
301
- value?: string;
302
- /** Account variable description */
303
- description: string;
304
- /** Account variable mandatory flag */
305
- mandate: boolean;
306
- /** Account variable creation data */
307
- createdAt: string;
308
- };
309
- export type UpdateAccountVariableRequest = {
310
- /** New account variable value */
311
- value?: string;
312
- /** New account variable description */
313
- description: string;
314
- /** New account variable mandatory flag */
315
- mandate: boolean;
316
- };
317
295
  export type AddAccountWorkflowStepRequest = {
318
296
  /** Workflow identifier. */
319
297
  identifier: string;
@@ -389,6 +367,14 @@ export type NewWorkspaceRequest = {
389
367
  /** Workspace manage runtime. */
390
368
  manageRuntime: boolean;
391
369
  };
370
+ export type NewWorkspaceVariableRequest = {
371
+ /** Workspace variable name. */
372
+ name: string;
373
+ /** Workspace variable value. */
374
+ value: string;
375
+ /** Workspace variable description. */
376
+ description: string;
377
+ };
392
378
  export type StackInWorkspaceReadResponse = {
393
379
  /** Stack version id. */
394
380
  stackVersionId: string;
@@ -626,9 +612,9 @@ export type ApplicationReadResponse = {
626
612
  /** Application repository base branch. */
627
613
  repoBaseBranch: string;
628
614
  /** Stack used to generate this application. */
629
- stackVersionId: string;
615
+ stackVersionId?: string;
630
616
  /** Starter used to generate this application. */
631
- starterId: string;
617
+ starterId?: string;
632
618
  /** Application status. */
633
619
  status: string;
634
620
  /** Application creator. */
@@ -650,9 +636,9 @@ export type CreateApplicationRequest = {
650
636
  /** Application repository base branch. */
651
637
  repoBaseBranch: string;
652
638
  /** Stack used to generate this application. */
653
- stackVersionId: string;
639
+ stackVersionId?: string;
654
640
  /** Starter used to generate this application. */
655
- starterId: string;
641
+ starterId?: string;
656
642
  };
657
643
  export type RecreateApplicationRequest = {
658
644
  /** Application name. */
@@ -878,28 +864,6 @@ export type AccountWorkflowCreateRequest = {
878
864
  actionsBefore: WorkflowActionWithContextRequest[];
879
865
  actionsAfter: WorkflowActionWithContextRequest[];
880
866
  };
881
- export type PaginatedAccountVariableResponse = {
882
- /** Current page requested */
883
- currentPage: number;
884
- /** Last page available */
885
- lastPage: number;
886
- /** Page size requested */
887
- pageSize: number;
888
- /** Total items found */
889
- totalItems: number;
890
- /** Account variables for current page */
891
- items: AccountVariableResponse[];
892
- };
893
- export type CreateAccountVariableRequest = {
894
- /** Account variable name */
895
- name: string;
896
- /** Account variable value */
897
- value?: string;
898
- /** Account variable description */
899
- description: string;
900
- /** Account variable mandatory flag */
901
- mandate: boolean;
902
- };
903
867
  export type AccountStackContextResponse = {
904
868
  /** List of stack version ids with pluginVersionId list with account context. */
905
869
  stackVersions: StackVersionResponse[];
@@ -971,13 +935,6 @@ export type EnvironmentUpdateRequest = {
971
935
  /** Environment description. */
972
936
  description?: string;
973
937
  };
974
- export type PaginatedWorkspaceVariableResponse = {
975
- currentPage: number;
976
- pageSize: number;
977
- lastPage: number;
978
- totalItems: number;
979
- items: WorkspaceVariableResponse[];
980
- };
981
938
  export type AppliedConnectionInterface = {
982
939
  slug: string;
983
940
  "type": string;
@@ -1053,14 +1010,6 @@ export type ConnectionInterfaceInUseByTargetIdDetailsResponse = {
1053
1010
  environmentId: string;
1054
1011
  targets: PluginInUseResponse[];
1055
1012
  };
1056
- export type WorkspaceVariableReadV1Response = {
1057
- /** Workspace variable name. */
1058
- name: string;
1059
- /** Workspace variable value. */
1060
- value: string;
1061
- /** Workspace variable description. */
1062
- description: string;
1063
- };
1064
1013
  export type ConsolidatedAttr = {
1065
1014
  key: string;
1066
1015
  value: object;
@@ -1284,14 +1233,6 @@ export type GetApplicationResponse = {
1284
1233
  export type WorkflowActionUsageResponse = {
1285
1234
  versionRanges: string[];
1286
1235
  };
1287
- export type AccountVariableUsageResponse = {
1288
- /** How many plugins are using this account variable */
1289
- pluginsInUse: number;
1290
- /** How many actions are using this account variable */
1291
- actionsInUse: number;
1292
- /** How many contexts are using this account variable */
1293
- contextsInUse: number;
1294
- };
1295
1236
  export type AccountAttr = {
1296
1237
  key: string;
1297
1238
  value: object;
@@ -1319,16 +1260,19 @@ export type StacksByAccountResponse = {
1319
1260
  stacks: StackWorkflowResponse[];
1320
1261
  };
1321
1262
  /**
1322
- * Get a workspace variable by name
1263
+ * List all configured context of an workflow by workspace and stack.
1323
1264
  */
1324
- export function workspaceVariableV2ControllerfindByName({ accountId, workspaceId, name }: {
1325
- accountId?: string;
1265
+ export function listContextByWorkspaceStack({ workspaceId, workflowId, stackId }: {
1326
1266
  workspaceId: string;
1327
- name: string;
1267
+ workflowId: string;
1268
+ stackId: string;
1328
1269
  }, opts?: Oazapfts.RequestOpts) {
1329
1270
  return oazapfts.ok(oazapfts.fetchJson<{
1330
1271
  status: 200;
1331
- data: WorkspaceVariableResponse;
1272
+ data: WorkflowContextResponse;
1273
+ } | {
1274
+ status: 400;
1275
+ data: ErrorResponse;
1332
1276
  } | {
1333
1277
  status: 403;
1334
1278
  data: ErrorResponse;
@@ -1338,55 +1282,49 @@ export function workspaceVariableV2ControllerfindByName({ accountId, workspaceId
1338
1282
  } | {
1339
1283
  status: 500;
1340
1284
  data: ErrorResponse;
1341
- }>(`/v2/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, {
1342
- ...opts,
1343
- headers: oazapfts.mergeHeaders(opts?.headers, {
1344
- accountId
1345
- })
1285
+ }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/workflows/${encodeURIComponent(workflowId)}/stacks/${encodeURIComponent(stackId)}/context`, {
1286
+ ...opts
1346
1287
  }));
1347
1288
  }
1348
1289
  /**
1349
- * Upsert workspace variable based on existing account variable
1290
+ * Save workspace workflow context
1350
1291
  */
1351
- export function workspaceVariableV2Controllerupsert({ workspaceId, name, upsertWorkspaceVariableRequest }: {
1292
+ export function saveWorkspaceWorkflowContext({ workspaceId, workflowId, stackId, workspaceWorkflowCreateRequest }: {
1352
1293
  workspaceId: string;
1353
- name: string;
1354
- upsertWorkspaceVariableRequest: UpsertWorkspaceVariableRequest;
1294
+ workflowId: string;
1295
+ stackId: string;
1296
+ workspaceWorkflowCreateRequest: WorkspaceWorkflowCreateRequest;
1355
1297
  }, opts?: Oazapfts.RequestOpts) {
1356
1298
  return oazapfts.ok(oazapfts.fetchJson<{
1357
1299
  status: 204;
1358
1300
  } | {
1359
- status: 403;
1301
+ status: 400;
1360
1302
  data: ErrorResponse;
1361
1303
  } | {
1362
- status: 404;
1304
+ status: 403;
1363
1305
  data: ErrorResponse;
1364
1306
  } | {
1365
- status: 422;
1307
+ status: 404;
1366
1308
  data: ErrorResponse;
1367
1309
  } | {
1368
1310
  status: 500;
1369
1311
  data: ErrorResponse;
1370
- }>(`/v2/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, oazapfts.json({
1312
+ }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/workflows/${encodeURIComponent(workflowId)}/stacks/${encodeURIComponent(stackId)}/context`, oazapfts.json({
1371
1313
  ...opts,
1372
1314
  method: "PUT",
1373
- body: upsertWorkspaceVariableRequest
1315
+ body: workspaceWorkflowCreateRequest
1374
1316
  })));
1375
1317
  }
1376
1318
  /**
1377
- * List all configured context of an workflow by workspace and stack.
1319
+ * Get a workspace's variable
1378
1320
  */
1379
- export function workflowWorkspaceControllerlistContextByWorkspaceStack({ workspaceId, workflowId, stackId }: {
1321
+ export function getV1WorkspacesByWorkspaceIdVariablesAndName({ workspaceId, name }: {
1380
1322
  workspaceId: string;
1381
- workflowId: string;
1382
- stackId: string;
1323
+ name: string;
1383
1324
  }, opts?: Oazapfts.RequestOpts) {
1384
1325
  return oazapfts.ok(oazapfts.fetchJson<{
1385
1326
  status: 200;
1386
- data: WorkflowContextResponse;
1387
- } | {
1388
- status: 400;
1389
- data: ErrorResponse;
1327
+ data: WorkspaceVariableReadResponse;
1390
1328
  } | {
1391
1329
  status: 403;
1392
1330
  data: ErrorResponse;
@@ -1396,18 +1334,42 @@ export function workflowWorkspaceControllerlistContextByWorkspaceStack({ workspa
1396
1334
  } | {
1397
1335
  status: 500;
1398
1336
  data: ErrorResponse;
1399
- }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/workflows/${encodeURIComponent(workflowId)}/stacks/${encodeURIComponent(stackId)}/context`, {
1337
+ }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, {
1400
1338
  ...opts
1401
1339
  }));
1402
1340
  }
1403
1341
  /**
1404
- * Save workspace workflow context
1342
+ * Update a workspace's variable
1405
1343
  */
1406
- export function workflowWorkspaceControllersaveWorkspaceWorkflowContext({ workspaceId, workflowId, stackId, workspaceWorkflowCreateRequest }: {
1344
+ export function update({ workspaceId, name, updateWorkspaceVariableRequest }: {
1407
1345
  workspaceId: string;
1408
- workflowId: string;
1409
- stackId: string;
1410
- workspaceWorkflowCreateRequest: WorkspaceWorkflowCreateRequest;
1346
+ name: string;
1347
+ updateWorkspaceVariableRequest: UpdateWorkspaceVariableRequest;
1348
+ }, opts?: Oazapfts.RequestOpts) {
1349
+ return oazapfts.ok(oazapfts.fetchJson<{
1350
+ status: 200;
1351
+ data: WorkspaceVariableReadResponse;
1352
+ } | {
1353
+ status: 403;
1354
+ data: ErrorResponse;
1355
+ } | {
1356
+ status: 404;
1357
+ data: ErrorResponse;
1358
+ } | {
1359
+ status: 500;
1360
+ data: ErrorResponse;
1361
+ }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, oazapfts.json({
1362
+ ...opts,
1363
+ method: "PUT",
1364
+ body: updateWorkspaceVariableRequest
1365
+ })));
1366
+ }
1367
+ /**
1368
+ * Delete a workspace's variable
1369
+ */
1370
+ export function delete1({ workspaceId, name }: {
1371
+ workspaceId: string;
1372
+ name: string;
1411
1373
  }, opts?: Oazapfts.RequestOpts) {
1412
1374
  return oazapfts.ok(oazapfts.fetchJson<{
1413
1375
  status: 204;
@@ -1423,16 +1385,15 @@ export function workflowWorkspaceControllersaveWorkspaceWorkflowContext({ worksp
1423
1385
  } | {
1424
1386
  status: 500;
1425
1387
  data: ErrorResponse;
1426
- }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/workflows/${encodeURIComponent(workflowId)}/stacks/${encodeURIComponent(stackId)}/context`, oazapfts.json({
1388
+ }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, {
1427
1389
  ...opts,
1428
- method: "PUT",
1429
- body: workspaceWorkflowCreateRequest
1430
- })));
1390
+ method: "DELETE"
1391
+ }));
1431
1392
  }
1432
1393
  /**
1433
1394
  * Add context to a typed element in a workspace's stack.
1434
1395
  */
1435
- export function contextControlleraddTypedContextInWorkspace({ workspaceId, stackVersionId, externalId, $type, addTypedContextRequest }: {
1396
+ export function addTypedContextInWorkspace({ workspaceId, stackVersionId, externalId, $type, addTypedContextRequest }: {
1436
1397
  workspaceId: string;
1437
1398
  stackVersionId: string;
1438
1399
  externalId: string;
@@ -1462,7 +1423,7 @@ export function contextControlleraddTypedContextInWorkspace({ workspaceId, stack
1462
1423
  /**
1463
1424
  * Get Workflow of a stack in a workspace.
1464
1425
  */
1465
- export function workflowControllergetWorkspaceWorkflow({ workspaceId, stackVersionId, identifier }: {
1426
+ export function getWorkspaceWorkflow({ workspaceId, stackVersionId, identifier }: {
1466
1427
  workspaceId: string;
1467
1428
  stackVersionId: string;
1468
1429
  identifier?: string;
@@ -1488,7 +1449,7 @@ export function workflowControllergetWorkspaceWorkflow({ workspaceId, stackVersi
1488
1449
  /**
1489
1450
  * Add step to a workflow belonging to a workspace.
1490
1451
  */
1491
- export function workflowControlleraddWorkflowStepInWorkspace({ workspaceId, stackVersionId, addWorkspaceWorkflowStepRequest }: {
1452
+ export function addWorkflowStepInWorkspace({ workspaceId, stackVersionId, addWorkspaceWorkflowStepRequest }: {
1492
1453
  workspaceId: string;
1493
1454
  stackVersionId: string;
1494
1455
  addWorkspaceWorkflowStepRequest: AddWorkspaceWorkflowStepRequest;
@@ -1518,7 +1479,7 @@ export function workflowControlleraddWorkflowStepInWorkspace({ workspaceId, stac
1518
1479
  /**
1519
1480
  * Import context in a workspace's stack.
1520
1481
  */
1521
- export function contextControllerimportContextInWorkspace({ workspaceId, stackVersionId, body }: {
1482
+ export function importContextInWorkspace({ workspaceId, stackVersionId, body }: {
1522
1483
  workspaceId: string;
1523
1484
  stackVersionId: string;
1524
1485
  body: ImportContextRequest[];
@@ -1549,7 +1510,7 @@ export function contextControllerimportContextInWorkspace({ workspaceId, stackVe
1549
1510
  /**
1550
1511
  * Update shared infrastructure status.
1551
1512
  */
1552
- export function sharedInfrastructureControllerupdateStatus({ workspaceId, sharedInfraId, updateSharedInfraStatusRequest }: {
1513
+ export function updateStatus({ workspaceId, sharedInfraId, updateSharedInfraStatusRequest }: {
1553
1514
  workspaceId: string;
1554
1515
  sharedInfraId: string;
1555
1516
  updateSharedInfraStatusRequest: UpdateSharedInfraStatusRequest;
@@ -1578,7 +1539,7 @@ export function sharedInfrastructureControllerupdateStatus({ workspaceId, shared
1578
1539
  /**
1579
1540
  * Get shared infra links visibility
1580
1541
  */
1581
- export function sharedInfraLinkControllergetVisibleLinks({ workspaceId, sharedInfraId }: {
1542
+ export function getVisibleLinks({ workspaceId, sharedInfraId }: {
1582
1543
  workspaceId: string;
1583
1544
  sharedInfraId: string;
1584
1545
  }, opts?: Oazapfts.RequestOpts) {
@@ -1601,7 +1562,7 @@ export function sharedInfraLinkControllergetVisibleLinks({ workspaceId, sharedIn
1601
1562
  /**
1602
1563
  * Update application links visibility
1603
1564
  */
1604
- export function sharedInfraLinkControllerupdateLinksVisibility({ workspaceId, sharedInfraId, body }: {
1565
+ export function updateLinksVisibility({ workspaceId, sharedInfraId, body }: {
1605
1566
  workspaceId: string;
1606
1567
  sharedInfraId: string;
1607
1568
  body: UpdateSharedInfraLinkVisibilityRequest[];
@@ -1626,7 +1587,7 @@ export function sharedInfraLinkControllerupdateLinksVisibility({ workspaceId, sh
1626
1587
  /**
1627
1588
  * Update activity status by workspace.
1628
1589
  */
1629
- export function managerRunControllerupdateRun({ accountId, workspaceId, runId, updateRunRequest }: {
1590
+ export function updateRun({ accountId, workspaceId, runId, updateRunRequest }: {
1630
1591
  accountId: string;
1631
1592
  workspaceId: string;
1632
1593
  runId: string;
@@ -1660,7 +1621,7 @@ export function managerRunControllerupdateRun({ accountId, workspaceId, runId, u
1660
1621
  /**
1661
1622
  * Update plugin status by workspace.
1662
1623
  */
1663
- export function managerRunControllerrunTask({ accountId, workspaceId, runId, runTaskRequest }: {
1624
+ export function runTask({ accountId, workspaceId, runId, runTaskRequest }: {
1664
1625
  accountId: string;
1665
1626
  workspaceId: string;
1666
1627
  runId: string;
@@ -1694,7 +1655,7 @@ export function managerRunControllerrunTask({ accountId, workspaceId, runId, run
1694
1655
  /**
1695
1656
  * Deployment tag register.
1696
1657
  */
1697
- export function managerRunControllerdeploymentTag({ accountId, workspaceId, runId, deploymentTagRequest }: {
1658
+ export function deploymentTag({ accountId, workspaceId, runId, deploymentTagRequest }: {
1698
1659
  accountId: string;
1699
1660
  workspaceId: string;
1700
1661
  runId: string;
@@ -1728,7 +1689,7 @@ export function managerRunControllerdeploymentTag({ accountId, workspaceId, runI
1728
1689
  /**
1729
1690
  * Request to upsert connection interfaces attributes.
1730
1691
  */
1731
- export function connectionInterfaceControllerupdateConnectionInterfaceAttributes({ workspaceId, connectionInterfaceId, updateConnectionInterfaceAttributesRequest }: {
1692
+ export function updateConnectionInterfaceAttributes({ workspaceId, connectionInterfaceId, updateConnectionInterfaceAttributesRequest }: {
1732
1693
  workspaceId: string;
1733
1694
  connectionInterfaceId: string;
1734
1695
  updateConnectionInterfaceAttributesRequest: UpdateConnectionInterfaceAttributesRequest;
@@ -1756,7 +1717,7 @@ export function connectionInterfaceControllerupdateConnectionInterfaceAttributes
1756
1717
  /**
1757
1718
  * Request to upsert connection interfaces.
1758
1719
  */
1759
- export function connectionInterfaceControllerupsertBatch({ workspaceId, body }: {
1720
+ export function upsertBatch({ workspaceId, body }: {
1760
1721
  workspaceId: string;
1761
1722
  body: UpsertConnectionInterfaceRequest[];
1762
1723
  }, opts?: Oazapfts.RequestOpts) {
@@ -1783,7 +1744,7 @@ export function connectionInterfaceControllerupsertBatch({ workspaceId, body }:
1783
1744
  /**
1784
1745
  * Update application status.
1785
1746
  */
1786
- export function applicationControllerupdateStatus({ workspaceId, applicationId, accountId, updateApplicationStatusRequest }: {
1747
+ export function updateStatus1({ workspaceId, applicationId, accountId, updateApplicationStatusRequest }: {
1787
1748
  workspaceId: string;
1788
1749
  applicationId: string;
1789
1750
  accountId?: string;
@@ -1816,7 +1777,7 @@ export function applicationControllerupdateStatus({ workspaceId, applicationId,
1816
1777
  /**
1817
1778
  * Get application links visibility
1818
1779
  */
1819
- export function applicationLinkControllergetVisibleLinks({ workspaceId, applicationId }: {
1780
+ export function getVisibleLinks1({ workspaceId, applicationId }: {
1820
1781
  workspaceId: string;
1821
1782
  applicationId: string;
1822
1783
  }, opts?: Oazapfts.RequestOpts) {
@@ -1839,7 +1800,7 @@ export function applicationLinkControllergetVisibleLinks({ workspaceId, applicat
1839
1800
  /**
1840
1801
  * Update application links visibility
1841
1802
  */
1842
- export function applicationLinkControllerupdateLinksVisibility({ workspaceId, applicationId, body }: {
1803
+ export function updateLinksVisibility1({ workspaceId, applicationId, body }: {
1843
1804
  workspaceId: string;
1844
1805
  applicationId: string;
1845
1806
  body: UpdateApplicationLinkVisibilityRequest[];
@@ -1864,7 +1825,7 @@ export function applicationLinkControllerupdateLinksVisibility({ workspaceId, ap
1864
1825
  /**
1865
1826
  * Get workflow settings with associated stacks.
1866
1827
  */
1867
- export function workflowAccountControllerlistSettingsByAccountWorkflow({ workflowId }: {
1828
+ export function listSettingsByAccountWorkflow({ workflowId }: {
1868
1829
  workflowId: string;
1869
1830
  }, opts?: Oazapfts.RequestOpts) {
1870
1831
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1889,7 +1850,7 @@ export function workflowAccountControllerlistSettingsByAccountWorkflow({ workflo
1889
1850
  /**
1890
1851
  * Update settings information of a workflow account.
1891
1852
  */
1892
- export function workflowAccountControllerupdateSettingsByAccountWorkflow({ workflowId, settingsWorkflowSaveRequest }: {
1853
+ export function updateSettingsByAccountWorkflow({ workflowId, settingsWorkflowSaveRequest }: {
1893
1854
  workflowId: string;
1894
1855
  settingsWorkflowSaveRequest: SettingsWorkflowSaveRequest;
1895
1856
  }, opts?: Oazapfts.RequestOpts) {
@@ -1916,7 +1877,7 @@ export function workflowAccountControllerupdateSettingsByAccountWorkflow({ workf
1916
1877
  /**
1917
1878
  * List all configured context of an workflow account.
1918
1879
  */
1919
- export function workflowAccountControllerlistContextByAccountWorkflow({ workflowId }: {
1880
+ export function listContextByAccountWorkflow({ workflowId }: {
1920
1881
  workflowId: string;
1921
1882
  }, opts?: Oazapfts.RequestOpts) {
1922
1883
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1941,7 +1902,7 @@ export function workflowAccountControllerlistContextByAccountWorkflow({ workflow
1941
1902
  /**
1942
1903
  * Update all context configurations of a workflow account.
1943
1904
  */
1944
- export function workflowAccountControllerupdateContextsByAccountWorkflow({ workflowId, contextsWorkflowSaveRequest }: {
1905
+ export function updateContextsByAccountWorkflow({ workflowId, contextsWorkflowSaveRequest }: {
1945
1906
  workflowId: string;
1946
1907
  contextsWorkflowSaveRequest: ContextsWorkflowSaveRequest;
1947
1908
  }, opts?: Oazapfts.RequestOpts) {
@@ -1968,7 +1929,7 @@ export function workflowAccountControllerupdateContextsByAccountWorkflow({ workf
1968
1929
  /**
1969
1930
  * List all actions of an workflow account.
1970
1931
  */
1971
- export function workflowAccountControllerlistActionsByAccountWorkflow({ workflowId }: {
1932
+ export function listActionsByAccountWorkflow({ workflowId }: {
1972
1933
  workflowId: string;
1973
1934
  }, opts?: Oazapfts.RequestOpts) {
1974
1935
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1993,7 +1954,7 @@ export function workflowAccountControllerlistActionsByAccountWorkflow({ workflow
1993
1954
  /**
1994
1955
  * Update all actions associations with a workflow account.
1995
1956
  */
1996
- export function workflowAccountControllerupdateActionsByAccountWorkflow({ workflowId, actionsWorkflowSaveRequest }: {
1957
+ export function updateActionsByAccountWorkflow({ workflowId, actionsWorkflowSaveRequest }: {
1997
1958
  workflowId: string;
1998
1959
  actionsWorkflowSaveRequest: ActionsWorkflowSaveRequest;
1999
1960
  }, opts?: Oazapfts.RequestOpts) {
@@ -2017,85 +1978,10 @@ export function workflowAccountControllerupdateActionsByAccountWorkflow({ workfl
2017
1978
  body: actionsWorkflowSaveRequest
2018
1979
  })));
2019
1980
  }
2020
- /**
2021
- * Get an account variable by name
2022
- */
2023
- export function accountVariableControllerfindByName({ accountId, name }: {
2024
- accountId?: string;
2025
- name: string;
2026
- }, opts?: Oazapfts.RequestOpts) {
2027
- return oazapfts.ok(oazapfts.fetchJson<{
2028
- status: 200;
2029
- data: AccountVariableResponse;
2030
- } | {
2031
- status: 403;
2032
- data: ErrorResponse;
2033
- } | {
2034
- status: 404;
2035
- data: ErrorResponse;
2036
- } | {
2037
- status: 500;
2038
- data: ErrorResponse;
2039
- }>(`/v1/account/variables/${encodeURIComponent(name)}`, {
2040
- ...opts,
2041
- headers: oazapfts.mergeHeaders(opts?.headers, {
2042
- accountId
2043
- })
2044
- }));
2045
- }
2046
- /**
2047
- * Update account variable
2048
- */
2049
- export function accountVariableControllerupdate({ name, updateAccountVariableRequest }: {
2050
- name: string;
2051
- updateAccountVariableRequest: UpdateAccountVariableRequest;
2052
- }, opts?: Oazapfts.RequestOpts) {
2053
- return oazapfts.ok(oazapfts.fetchJson<{
2054
- status: 204;
2055
- } | {
2056
- status: 403;
2057
- data: ErrorResponse;
2058
- } | {
2059
- status: 404;
2060
- data: ErrorResponse;
2061
- } | {
2062
- status: 422;
2063
- data: ErrorResponse;
2064
- } | {
2065
- status: 500;
2066
- data: ErrorResponse;
2067
- }>(`/v1/account/variables/${encodeURIComponent(name)}`, oazapfts.json({
2068
- ...opts,
2069
- method: "PUT",
2070
- body: updateAccountVariableRequest
2071
- })));
2072
- }
2073
- /**
2074
- * Delete account variable
2075
- */
2076
- export function accountVariableControllerdelete({ name }: {
2077
- name: string;
2078
- }, opts?: Oazapfts.RequestOpts) {
2079
- return oazapfts.ok(oazapfts.fetchJson<{
2080
- status: 204;
2081
- } | {
2082
- status: 403;
2083
- data: ErrorResponse;
2084
- } | {
2085
- status: 404;
2086
- data: ErrorResponse;
2087
- } | {
2088
- status: 500;
2089
- data: ErrorResponse;
2090
- }>(`/v1/account/variables/${encodeURIComponent(name)}`, {
2091
- ...opts,
2092
- method: "DELETE"
2093
- }));
2094
- }
2095
1981
  /**
2096
1982
  * Add context to a typed element in an account's stack.
2097
1983
  */
2098
- export function contextControlleraddTypedContextInAccount({ stackVersionId, externalId, $type, addTypedContextRequest }: {
1984
+ export function addTypedContextInAccount({ stackVersionId, externalId, $type, addTypedContextRequest }: {
2099
1985
  stackVersionId: string;
2100
1986
  externalId: string;
2101
1987
  $type: "plugin" | "action";
@@ -2124,7 +2010,7 @@ export function contextControlleraddTypedContextInAccount({ stackVersionId, exte
2124
2010
  /**
2125
2011
  * Get Workflow of a stack in an account.
2126
2012
  */
2127
- export function workflowControllergetAccountWorkflow({ stackVersionId, identifier }: {
2013
+ export function getAccountWorkflow({ stackVersionId, identifier }: {
2128
2014
  stackVersionId: string;
2129
2015
  identifier?: string;
2130
2016
  }, opts?: Oazapfts.RequestOpts) {
@@ -2149,7 +2035,7 @@ export function workflowControllergetAccountWorkflow({ stackVersionId, identifie
2149
2035
  /**
2150
2036
  * Add step to a workflow belonging to an account.
2151
2037
  */
2152
- export function workflowControlleraddWorkflowStepInAccount({ stackVersionId, addAccountWorkflowStepRequest }: {
2038
+ export function addWorkflowStepInAccount({ stackVersionId, addAccountWorkflowStepRequest }: {
2153
2039
  stackVersionId: string;
2154
2040
  addAccountWorkflowStepRequest: AddAccountWorkflowStepRequest;
2155
2041
  }, opts?: Oazapfts.RequestOpts) {
@@ -2178,7 +2064,7 @@ export function workflowControlleraddWorkflowStepInAccount({ stackVersionId, add
2178
2064
  /**
2179
2065
  * Import context in an account's stack.
2180
2066
  */
2181
- export function contextControllerimportContextInAccount({ stackVersionId, body }: {
2067
+ export function importContextInAccount({ stackVersionId, body }: {
2182
2068
  stackVersionId: string;
2183
2069
  body: ImportContextRequest[];
2184
2070
  }, opts?: Oazapfts.RequestOpts) {
@@ -2208,7 +2094,7 @@ export function contextControllerimportContextInAccount({ stackVersionId, body }
2208
2094
  /**
2209
2095
  * Save stack workflow context
2210
2096
  */
2211
- export function workflowStackControllersaveStackWorkflowContext({ stackId, workflowId, stackWorkflowCreateRequest }: {
2097
+ export function saveStackWorkflowContext({ stackId, workflowId, stackWorkflowCreateRequest }: {
2212
2098
  stackId: string;
2213
2099
  workflowId: string;
2214
2100
  stackWorkflowCreateRequest: StackWorkflowCreateRequest;
@@ -2236,7 +2122,7 @@ export function workflowStackControllersaveStackWorkflowContext({ stackId, workf
2236
2122
  /**
2237
2123
  * List specific shared infra or application usage by plugin list.
2238
2124
  */
2239
- export function usageInsightsControllerlistPluginUsageByTargetId({ accountId, targetType, targetId, body }: {
2125
+ export function listPluginUsageByTargetId({ accountId, targetType, targetId, body }: {
2240
2126
  accountId: string;
2241
2127
  targetType: "applications" | "shared_infra";
2242
2128
  targetId: string;
@@ -2260,7 +2146,7 @@ export function usageInsightsControllerlistPluginUsageByTargetId({ accountId, ta
2260
2146
  /**
2261
2147
  * List all shared infras or applications usage by plugin list.
2262
2148
  */
2263
- export function usageInsightsControllerlistAllPluginUsage({ accountId, targetType, body }: {
2149
+ export function listAllPluginUsage({ accountId, targetType, body }: {
2264
2150
  accountId: string;
2265
2151
  targetType: "applications" | "shared_infra";
2266
2152
  body: string[];
@@ -2283,7 +2169,7 @@ export function usageInsightsControllerlistAllPluginUsage({ accountId, targetTyp
2283
2169
  /**
2284
2170
  * Get all workspaces
2285
2171
  */
2286
- export function workspaceControllergetWorkspaces({ name, aclOnly, accountId }: {
2172
+ export function getWorkspaces({ name, aclOnly, accountId }: {
2287
2173
  name?: string;
2288
2174
  aclOnly?: boolean;
2289
2175
  accountId?: string;
@@ -2310,7 +2196,7 @@ export function workspaceControllergetWorkspaces({ name, aclOnly, accountId }: {
2310
2196
  /**
2311
2197
  * Create workspace
2312
2198
  */
2313
- export function workspaceControllersave({ newWorkspaceRequest }: {
2199
+ export function save({ newWorkspaceRequest }: {
2314
2200
  newWorkspaceRequest: NewWorkspaceRequest;
2315
2201
  }, opts?: Oazapfts.RequestOpts) {
2316
2202
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2331,10 +2217,63 @@ export function workspaceControllersave({ newWorkspaceRequest }: {
2331
2217
  body: newWorkspaceRequest
2332
2218
  })));
2333
2219
  }
2220
+ /**
2221
+ * Get all workspace's variables
2222
+ */
2223
+ export function findAll({ workspaceId, filter }: {
2224
+ workspaceId: string;
2225
+ filter?: string;
2226
+ }, opts?: Oazapfts.RequestOpts) {
2227
+ return oazapfts.ok(oazapfts.fetchJson<{
2228
+ status: 200;
2229
+ data: WorkspaceVariableReadResponse[];
2230
+ } | {
2231
+ status: 403;
2232
+ data: ErrorResponse;
2233
+ } | {
2234
+ status: 404;
2235
+ data: ErrorResponse;
2236
+ } | {
2237
+ status: 500;
2238
+ data: ErrorResponse;
2239
+ }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables${QS.query(QS.explode({
2240
+ filter
2241
+ }))}`, {
2242
+ ...opts
2243
+ }));
2244
+ }
2245
+ /**
2246
+ * Create a workspace's variable
2247
+ */
2248
+ export function save1({ workspaceId, newWorkspaceVariableRequest }: {
2249
+ workspaceId: string;
2250
+ newWorkspaceVariableRequest: NewWorkspaceVariableRequest;
2251
+ }, opts?: Oazapfts.RequestOpts) {
2252
+ return oazapfts.ok(oazapfts.fetchJson<{
2253
+ status: 201;
2254
+ data: WorkspaceVariableReadResponse;
2255
+ } | {
2256
+ status: 403;
2257
+ data: ErrorResponse;
2258
+ } | {
2259
+ status: 404;
2260
+ data: ErrorResponse;
2261
+ } | {
2262
+ status: 422;
2263
+ data: ErrorResponse;
2264
+ } | {
2265
+ status: 500;
2266
+ data: ErrorResponse;
2267
+ }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables`, oazapfts.json({
2268
+ ...opts,
2269
+ method: "POST",
2270
+ body: newWorkspaceVariableRequest
2271
+ })));
2272
+ }
2334
2273
  /**
2335
2274
  * Get all stacks in a workspace.
2336
2275
  */
2337
- export function workspaceStackControllergetStacks({ workspaceId }: {
2276
+ export function getStacks({ workspaceId }: {
2338
2277
  workspaceId: string;
2339
2278
  }, opts?: Oazapfts.RequestOpts) {
2340
2279
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2359,7 +2298,7 @@ export function workspaceStackControllergetStacks({ workspaceId }: {
2359
2298
  /**
2360
2299
  * Add a stack in a workspace.
2361
2300
  */
2362
- export function workspaceStackControlleraddStack({ workspaceId, addStackInWorkspaceRequest }: {
2301
+ export function addStack({ workspaceId, addStackInWorkspaceRequest }: {
2363
2302
  workspaceId: string;
2364
2303
  addStackInWorkspaceRequest: AddStackInWorkspaceRequest;
2365
2304
  }, opts?: Oazapfts.RequestOpts) {
@@ -2389,7 +2328,7 @@ export function workspaceStackControlleraddStack({ workspaceId, addStackInWorksp
2389
2328
  /**
2390
2329
  * Get all stacks with context in a workspace.
2391
2330
  */
2392
- export function workspaceStackControllergetStacksWithContext({ workspaceId, body }: {
2331
+ export function getStacksWithContext({ workspaceId, body }: {
2393
2332
  workspaceId: string;
2394
2333
  body: string[];
2395
2334
  }, opts?: Oazapfts.RequestOpts) {
@@ -2417,7 +2356,7 @@ export function workspaceStackControllergetStacksWithContext({ workspaceId, body
2417
2356
  /**
2418
2357
  * Get all shared infrastructure of a workspace.
2419
2358
  */
2420
- export function sharedInfrastructureControllergetAllSharedInfrastructure({ workspaceId, name, stackVersionId }: {
2359
+ export function getAllSharedInfrastructure({ workspaceId, name, stackVersionId }: {
2421
2360
  workspaceId: string;
2422
2361
  name?: string;
2423
2362
  stackVersionId?: string;
@@ -2447,7 +2386,7 @@ export function sharedInfrastructureControllergetAllSharedInfrastructure({ works
2447
2386
  /**
2448
2387
  * Create shared infrastructure in a workspace.
2449
2388
  */
2450
- export function sharedInfrastructureControllersave({ workspaceId, fromPortal, createSharedInfraRequest }: {
2389
+ export function save2({ workspaceId, fromPortal, createSharedInfraRequest }: {
2451
2390
  workspaceId: string;
2452
2391
  fromPortal?: boolean;
2453
2392
  createSharedInfraRequest: CreateSharedInfraRequest;
@@ -2478,7 +2417,7 @@ export function sharedInfrastructureControllersave({ workspaceId, fromPortal, cr
2478
2417
  /**
2479
2418
  * Get shared infrastructure of a workspace.
2480
2419
  */
2481
- export function sharedInfrastructureControllergetSharedInfrastructure({ workspaceId, sharedInfraId }: {
2420
+ export function getSharedInfrastructure({ workspaceId, sharedInfraId }: {
2482
2421
  workspaceId: string;
2483
2422
  sharedInfraId: string;
2484
2423
  }, opts?: Oazapfts.RequestOpts) {
@@ -2504,7 +2443,7 @@ export function sharedInfrastructureControllergetSharedInfrastructure({ workspac
2504
2443
  /**
2505
2444
  * Recreate a shared infrastructure in a workspace.
2506
2445
  */
2507
- export function sharedInfrastructureControllerrecreate({ workspaceId, sharedInfraId, recreateSharedInfraRequest }: {
2446
+ export function recreate({ workspaceId, sharedInfraId, recreateSharedInfraRequest }: {
2508
2447
  workspaceId: string;
2509
2448
  sharedInfraId: string;
2510
2449
  recreateSharedInfraRequest: RecreateSharedInfraRequest;
@@ -2536,7 +2475,7 @@ export function sharedInfrastructureControllerrecreate({ workspaceId, sharedInfr
2536
2475
  /**
2537
2476
  * Delete infrastructure in a workspace.
2538
2477
  */
2539
- export function sharedInfrastructureControllerdeleteSharedInfra({ workspaceId, sharedInfraId }: {
2478
+ export function deleteSharedInfra({ workspaceId, sharedInfraId }: {
2540
2479
  workspaceId: string;
2541
2480
  sharedInfraId: string;
2542
2481
  }, opts?: Oazapfts.RequestOpts) {
@@ -2562,7 +2501,7 @@ export function sharedInfrastructureControllerdeleteSharedInfra({ workspaceId, s
2562
2501
  /**
2563
2502
  * Update shared infrastructure in a workspace.
2564
2503
  */
2565
- export function sharedInfrastructureControllerupdate({ workspaceId, sharedInfraId, updateSharedInfraRequest }: {
2504
+ export function update2({ workspaceId, sharedInfraId, updateSharedInfraRequest }: {
2566
2505
  workspaceId: string;
2567
2506
  sharedInfraId: string;
2568
2507
  updateSharedInfraRequest: UpdateSharedInfraRequest;
@@ -2591,7 +2530,7 @@ export function sharedInfrastructureControllerupdate({ workspaceId, sharedInfraI
2591
2530
  /**
2592
2531
  * Get all shared infra links
2593
2532
  */
2594
- export function sharedInfraLinkControllergetSharedInfraLinks({ workspaceId, sharedInfraId, name }: {
2533
+ export function getSharedInfraLinks({ workspaceId, sharedInfraId, name }: {
2595
2534
  workspaceId: string;
2596
2535
  sharedInfraId: string;
2597
2536
  name?: string;
@@ -2617,7 +2556,7 @@ export function sharedInfraLinkControllergetSharedInfraLinks({ workspaceId, shar
2617
2556
  /**
2618
2557
  * Create shared infra link
2619
2558
  */
2620
- export function sharedInfraLinkControllersave({ workspaceId, sharedInfraId, createSharedInfraLinkRequest }: {
2559
+ export function save3({ workspaceId, sharedInfraId, createSharedInfraLinkRequest }: {
2621
2560
  workspaceId: string;
2622
2561
  sharedInfraId: string;
2623
2562
  createSharedInfraLinkRequest: CreateSharedInfraLinkRequest;
@@ -2646,7 +2585,7 @@ export function sharedInfraLinkControllersave({ workspaceId, sharedInfraId, crea
2646
2585
  /**
2647
2586
  * Has active deploy with type self hosted?
2648
2587
  */
2649
- export function sharedInfrastructureControllerhasActiveDeployWithTypeSelfHosted({ workspaceId, sharedInfraId }: {
2588
+ export function hasActiveDeployWithTypeSelfHosted({ workspaceId, sharedInfraId }: {
2650
2589
  workspaceId: string;
2651
2590
  sharedInfraId: string;
2652
2591
  }, opts?: Oazapfts.RequestOpts) {
@@ -2675,7 +2614,7 @@ export function sharedInfrastructureControllerhasActiveDeployWithTypeSelfHosted(
2675
2614
  /**
2676
2615
  * Can the shared infra be destroyed?
2677
2616
  */
2678
- export function sharedInfrastructureControllercanBeDestroyed({ workspaceId, sharedInfraId, environmentId, accountId }: {
2617
+ export function canBeDestroyed({ workspaceId, sharedInfraId, environmentId, accountId }: {
2679
2618
  workspaceId: string;
2680
2619
  sharedInfraId: string;
2681
2620
  environmentId: string;
@@ -2709,7 +2648,7 @@ export function sharedInfrastructureControllercanBeDestroyed({ workspaceId, shar
2709
2648
  /**
2710
2649
  * Register the snapshot of a shared infrastructure's deploy.
2711
2650
  */
2712
- export function sharedInfrastructureControllerprocessDeploySnapshot({ workspaceId, sharedInfraId, sharedInfraDeploySnapshotRequest }: {
2651
+ export function processDeploySnapshot({ workspaceId, sharedInfraId, sharedInfraDeploySnapshotRequest }: {
2713
2652
  workspaceId: string;
2714
2653
  sharedInfraId: string;
2715
2654
  sharedInfraDeploySnapshotRequest: SharedInfraDeploySnapshotRequest;
@@ -2737,7 +2676,7 @@ export function sharedInfrastructureControllerprocessDeploySnapshot({ workspaceI
2737
2676
  /**
2738
2677
  * Runs an orchestration in a workspace.
2739
2678
  */
2740
- export function managerRunControllerstartRun({ accountId, workspaceId, startRunRequest }: {
2679
+ export function startRun({ accountId, workspaceId, startRunRequest }: {
2741
2680
  accountId: string;
2742
2681
  workspaceId: string;
2743
2682
  startRunRequest: StartRunRequest;
@@ -2770,7 +2709,7 @@ export function managerRunControllerstartRun({ accountId, workspaceId, startRunR
2770
2709
  /**
2771
2710
  * Get all workspace links
2772
2711
  */
2773
- export function workspaceLinkControllergetWorkspaceLinks({ workspaceId, name }: {
2712
+ export function getWorkspaceLinks({ workspaceId, name }: {
2774
2713
  workspaceId: string;
2775
2714
  name?: string;
2776
2715
  }, opts?: Oazapfts.RequestOpts) {
@@ -2795,7 +2734,7 @@ export function workspaceLinkControllergetWorkspaceLinks({ workspaceId, name }:
2795
2734
  /**
2796
2735
  * Create workspace
2797
2736
  */
2798
- export function workspaceLinkControllersave({ workspaceId, createWorkspaceLinkRequest }: {
2737
+ export function save4({ workspaceId, createWorkspaceLinkRequest }: {
2799
2738
  workspaceId: string;
2800
2739
  createWorkspaceLinkRequest: CreateWorkspaceLinkRequest;
2801
2740
  }, opts?: Oazapfts.RequestOpts) {
@@ -2823,7 +2762,7 @@ export function workspaceLinkControllersave({ workspaceId, createWorkspaceLinkRe
2823
2762
  /**
2824
2763
  * Get all workspace embedded links
2825
2764
  */
2826
- export function workspaceEmbeddedLinkControllergetEmbeddedLinks({ workspaceId, name }: {
2765
+ export function getEmbeddedLinks({ workspaceId, name }: {
2827
2766
  workspaceId: string;
2828
2767
  name?: string;
2829
2768
  }, opts?: Oazapfts.RequestOpts) {
@@ -2848,7 +2787,7 @@ export function workspaceEmbeddedLinkControllergetEmbeddedLinks({ workspaceId, n
2848
2787
  /**
2849
2788
  * Create workspace embedded link
2850
2789
  */
2851
- export function workspaceEmbeddedLinkControllersave({ workspaceId, createWorkspaceEmbeddedLinkRequest }: {
2790
+ export function save5({ workspaceId, createWorkspaceEmbeddedLinkRequest }: {
2852
2791
  workspaceId: string;
2853
2792
  createWorkspaceEmbeddedLinkRequest: CreateWorkspaceEmbeddedLinkRequest;
2854
2793
  }, opts?: Oazapfts.RequestOpts) {
@@ -2876,7 +2815,7 @@ export function workspaceEmbeddedLinkControllersave({ workspaceId, createWorkspa
2876
2815
  /**
2877
2816
  * List all connection interfaces of a workspace.
2878
2817
  */
2879
- export function connectionInterfaceControllergetConnectionInterfaces({ workspaceId, typeId }: {
2818
+ export function getConnectionInterfaces({ workspaceId, typeId }: {
2880
2819
  workspaceId: string;
2881
2820
  typeId?: string;
2882
2821
  }, opts?: Oazapfts.RequestOpts) {
@@ -2904,7 +2843,7 @@ export function connectionInterfaceControllergetConnectionInterfaces({ workspace
2904
2843
  /**
2905
2844
  * Create a connection interface in a workspace.
2906
2845
  */
2907
- export function connectionInterfaceControlleradd({ workspaceId, createConnectionInterfaceRequest }: {
2846
+ export function add({ workspaceId, createConnectionInterfaceRequest }: {
2908
2847
  workspaceId: string;
2909
2848
  createConnectionInterfaceRequest: CreateConnectionInterfaceRequest;
2910
2849
  }, opts?: Oazapfts.RequestOpts) {
@@ -2932,7 +2871,7 @@ export function connectionInterfaceControlleradd({ workspaceId, createConnection
2932
2871
  /**
2933
2872
  * Update the visibility of a connection interface.
2934
2873
  */
2935
- export function connectionInterfaceControllerupdateConnectionInterfaceVisibility({ workspaceId, connectionInterfaceId, updateConnectionInterfaceVisibilityRequest }: {
2874
+ export function updateConnectionInterfaceVisibility({ workspaceId, connectionInterfaceId, updateConnectionInterfaceVisibilityRequest }: {
2936
2875
  workspaceId: string;
2937
2876
  connectionInterfaceId: string;
2938
2877
  updateConnectionInterfaceVisibilityRequest: UpdateConnectionInterfaceVisibilityRequest;
@@ -2960,7 +2899,7 @@ export function connectionInterfaceControllerupdateConnectionInterfaceVisibility
2960
2899
  /**
2961
2900
  * Get all application of a workspace.
2962
2901
  */
2963
- export function applicationControllergetApplications({ workspaceId, name, stackVersionId }: {
2902
+ export function getApplications({ workspaceId, name, stackVersionId }: {
2964
2903
  workspaceId: string;
2965
2904
  name?: string;
2966
2905
  stackVersionId?: string;
@@ -2990,7 +2929,7 @@ export function applicationControllergetApplications({ workspaceId, name, stackV
2990
2929
  /**
2991
2930
  * Create application on workspace.
2992
2931
  */
2993
- export function applicationControllersave({ workspaceId, fromPortal, createApplicationRequest }: {
2932
+ export function save6({ workspaceId, fromPortal, createApplicationRequest }: {
2994
2933
  workspaceId: string;
2995
2934
  fromPortal?: boolean;
2996
2935
  createApplicationRequest: CreateApplicationRequest;
@@ -3021,7 +2960,7 @@ export function applicationControllersave({ workspaceId, fromPortal, createAppli
3021
2960
  /**
3022
2961
  * Get application of a workspace.
3023
2962
  */
3024
- export function applicationControllergetApplication({ workspaceId, applicationId }: {
2963
+ export function getApplication({ workspaceId, applicationId }: {
3025
2964
  workspaceId: string;
3026
2965
  applicationId: string;
3027
2966
  }, opts?: Oazapfts.RequestOpts) {
@@ -3047,7 +2986,7 @@ export function applicationControllergetApplication({ workspaceId, applicationId
3047
2986
  /**
3048
2987
  * Recreate an application in a workspace.
3049
2988
  */
3050
- export function applicationControllerrecreate({ workspaceId, applicationId, recreateApplicationRequest }: {
2989
+ export function recreate1({ workspaceId, applicationId, recreateApplicationRequest }: {
3051
2990
  workspaceId: string;
3052
2991
  applicationId: string;
3053
2992
  recreateApplicationRequest: RecreateApplicationRequest;
@@ -3079,7 +3018,7 @@ export function applicationControllerrecreate({ workspaceId, applicationId, recr
3079
3018
  /**
3080
3019
  * Delete application of a workspace.
3081
3020
  */
3082
- export function applicationControllerdeleteApplication({ workspaceId, applicationId, accountId }: {
3021
+ export function deleteApplication({ workspaceId, applicationId, accountId }: {
3083
3022
  workspaceId: string;
3084
3023
  applicationId: string;
3085
3024
  accountId?: string;
@@ -3109,7 +3048,7 @@ export function applicationControllerdeleteApplication({ workspaceId, applicatio
3109
3048
  /**
3110
3049
  * Update an application of a workspace.
3111
3050
  */
3112
- export function applicationControllerupdate({ workspaceId, applicationId, updateApplicationRequest }: {
3051
+ export function update6({ workspaceId, applicationId, updateApplicationRequest }: {
3113
3052
  workspaceId: string;
3114
3053
  applicationId: string;
3115
3054
  updateApplicationRequest: UpdateApplicationRequest;
@@ -3138,7 +3077,7 @@ export function applicationControllerupdate({ workspaceId, applicationId, update
3138
3077
  /**
3139
3078
  * Get all application links
3140
3079
  */
3141
- export function applicationLinkControllergetApplicationLinks({ workspaceId, applicationId, name }: {
3080
+ export function getApplicationLinks({ workspaceId, applicationId, name }: {
3142
3081
  workspaceId: string;
3143
3082
  applicationId: string;
3144
3083
  name?: string;
@@ -3164,7 +3103,7 @@ export function applicationLinkControllergetApplicationLinks({ workspaceId, appl
3164
3103
  /**
3165
3104
  * Create application link
3166
3105
  */
3167
- export function applicationLinkControllersave({ workspaceId, applicationId, createApplicationLinkRequest }: {
3106
+ export function save7({ workspaceId, applicationId, createApplicationLinkRequest }: {
3168
3107
  workspaceId: string;
3169
3108
  applicationId: string;
3170
3109
  createApplicationLinkRequest: CreateApplicationLinkRequest;
@@ -3193,7 +3132,7 @@ export function applicationLinkControllersave({ workspaceId, applicationId, crea
3193
3132
  /**
3194
3133
  * Has active deploy with type self hosted?
3195
3134
  */
3196
- export function applicationControllerhasActiveDeployWithTypeSelfHosted({ workspaceId, applicationId }: {
3135
+ export function hasActiveDeployWithTypeSelfHosted1({ workspaceId, applicationId }: {
3197
3136
  workspaceId: string;
3198
3137
  applicationId: string;
3199
3138
  }, opts?: Oazapfts.RequestOpts) {
@@ -3222,7 +3161,7 @@ export function applicationControllerhasActiveDeployWithTypeSelfHosted({ workspa
3222
3161
  /**
3223
3162
  * Can the application be destroyed?
3224
3163
  */
3225
- export function applicationControllercanBeDestroyed({ workspaceId, applicationId, environmentId, accountId }: {
3164
+ export function canBeDestroyed1({ workspaceId, applicationId, environmentId, accountId }: {
3226
3165
  workspaceId: string;
3227
3166
  applicationId: string;
3228
3167
  environmentId: string;
@@ -3253,7 +3192,7 @@ export function applicationControllercanBeDestroyed({ workspaceId, applicationId
3253
3192
  })
3254
3193
  }));
3255
3194
  }
3256
- export function applicationControllerregistryAppDestroy({ workspaceId, applicationId, environmentId, applicationDestroyRequest }: {
3195
+ export function registryAppDestroy({ workspaceId, applicationId, environmentId, applicationDestroyRequest }: {
3257
3196
  workspaceId: string;
3258
3197
  applicationId: string;
3259
3198
  environmentId: string;
@@ -3265,7 +3204,7 @@ export function applicationControllerregistryAppDestroy({ workspaceId, applicati
3265
3204
  body: applicationDestroyRequest
3266
3205
  })));
3267
3206
  }
3268
- export function applicationControllerregistryAppDeploy({ workspaceId, applicationId, environmentId, applicationDeployRequest }: {
3207
+ export function registryAppDeploy({ workspaceId, applicationId, environmentId, applicationDeployRequest }: {
3269
3208
  workspaceId: string;
3270
3209
  applicationId: string;
3271
3210
  environmentId: string;
@@ -3280,7 +3219,7 @@ export function applicationControllerregistryAppDeploy({ workspaceId, applicatio
3280
3219
  /**
3281
3220
  * Get all application embedded links
3282
3221
  */
3283
- export function applicationEmbeddedLinkControllergetEmbeddedLinks({ workspaceId, applicationId, name }: {
3222
+ export function getEmbeddedLinks1({ workspaceId, applicationId, name }: {
3284
3223
  workspaceId: string;
3285
3224
  applicationId: string;
3286
3225
  name?: string;
@@ -3306,7 +3245,7 @@ export function applicationEmbeddedLinkControllergetEmbeddedLinks({ workspaceId,
3306
3245
  /**
3307
3246
  * Create application embedded link
3308
3247
  */
3309
- export function applicationEmbeddedLinkControllersave({ workspaceId, applicationId, createApplicationEmbeddedLinkRequest }: {
3248
+ export function save8({ workspaceId, applicationId, createApplicationEmbeddedLinkRequest }: {
3310
3249
  workspaceId: string;
3311
3250
  applicationId: string;
3312
3251
  createApplicationEmbeddedLinkRequest: CreateApplicationEmbeddedLinkRequest;
@@ -3335,7 +3274,7 @@ export function applicationEmbeddedLinkControllersave({ workspaceId, application
3335
3274
  /**
3336
3275
  * Register the snapshot of an application's deploy.
3337
3276
  */
3338
- export function applicationControllerprocessDeploySnapshot({ workspaceId, applicationId, applicationDeploySnapshotRequest }: {
3277
+ export function processDeploySnapshot1({ workspaceId, applicationId, applicationDeploySnapshotRequest }: {
3339
3278
  workspaceId: string;
3340
3279
  applicationId: string;
3341
3280
  applicationDeploySnapshotRequest: ApplicationDeploySnapshotRequest;
@@ -3363,7 +3302,7 @@ export function applicationControllerprocessDeploySnapshot({ workspaceId, applic
3363
3302
  /**
3364
3303
  * List all workspaces usage by stack version list.
3365
3304
  */
3366
- export function usageInsightsControllerlistAllStackUsage({ accountId, body }: {
3305
+ export function listAllStackUsage({ accountId, body }: {
3367
3306
  accountId: string;
3368
3307
  body: string[];
3369
3308
  }, opts?: Oazapfts.RequestOpts) {
@@ -3385,7 +3324,7 @@ export function usageInsightsControllerlistAllStackUsage({ accountId, body }: {
3385
3324
  /**
3386
3325
  * Retrieve the amount of apps and shared infras that use the given plugin version id list
3387
3326
  */
3388
- export function usageInsightsControllerfindPluginUsageAmount({ accountId, body }: {
3327
+ export function findPluginUsageAmount({ accountId, body }: {
3389
3328
  accountId: string;
3390
3329
  body: string[];
3391
3330
  }, opts?: Oazapfts.RequestOpts) {
@@ -3413,7 +3352,7 @@ export function usageInsightsControllerfindPluginUsageAmount({ accountId, body }
3413
3352
  /**
3414
3353
  * Get environments
3415
3354
  */
3416
- export function environmentControllergetEnvironments({ accountId }: {
3355
+ export function getEnvironments({ accountId }: {
3417
3356
  accountId?: string;
3418
3357
  }, opts?: Oazapfts.RequestOpts) {
3419
3358
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3435,7 +3374,7 @@ export function environmentControllergetEnvironments({ accountId }: {
3435
3374
  /**
3436
3375
  * Save environment
3437
3376
  */
3438
- export function environmentControllersave({ environmentSaveRequest }: {
3377
+ export function save9({ environmentSaveRequest }: {
3439
3378
  environmentSaveRequest: EnvironmentSaveRequest;
3440
3379
  }, opts?: Oazapfts.RequestOpts) {
3441
3380
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3459,7 +3398,7 @@ export function environmentControllersave({ environmentSaveRequest }: {
3459
3398
  /**
3460
3399
  * Batch save environment
3461
3400
  */
3462
- export function environmentControllersaveBatch({ accountId, body }: {
3401
+ export function saveBatch({ accountId, body }: {
3463
3402
  accountId?: string;
3464
3403
  body: EnvironmentSaveRequest[];
3465
3404
  }, opts?: Oazapfts.RequestOpts) {
@@ -3484,7 +3423,7 @@ export function environmentControllersaveBatch({ accountId, body }: {
3484
3423
  /**
3485
3424
  * List all workflows of an account.
3486
3425
  */
3487
- export function workflowAccountControllerlistAccountWorkflows({ $type, name }: {
3426
+ export function listAccountWorkflows({ $type, name }: {
3488
3427
  $type?: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
3489
3428
  name?: string;
3490
3429
  }, opts?: Oazapfts.RequestOpts) {
@@ -3510,7 +3449,7 @@ export function workflowAccountControllerlistAccountWorkflows({ $type, name }: {
3510
3449
  /**
3511
3450
  * Create an account workflow
3512
3451
  */
3513
- export function workflowAccountControllersaveAccountWorkflow({ accountWorkflowCreateRequest }: {
3452
+ export function saveAccountWorkflow({ accountWorkflowCreateRequest }: {
3514
3453
  accountWorkflowCreateRequest: AccountWorkflowCreateRequest;
3515
3454
  }, opts?: Oazapfts.RequestOpts) {
3516
3455
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3531,66 +3470,10 @@ export function workflowAccountControllersaveAccountWorkflow({ accountWorkflowCr
3531
3470
  body: accountWorkflowCreateRequest
3532
3471
  })));
3533
3472
  }
3534
- /**
3535
- * Find all account variables
3536
- */
3537
- export function accountVariableControllerfindAll({ accountId, name, page, size, sortBy, sortDir }: {
3538
- accountId?: string;
3539
- name?: string;
3540
- page?: number;
3541
- size?: number;
3542
- sortBy?: "NAME" | "VALUE" | "CREATED_AT";
3543
- sortDir?: "ASC" | "DESC";
3544
- }, opts?: Oazapfts.RequestOpts) {
3545
- return oazapfts.ok(oazapfts.fetchJson<{
3546
- status: 200;
3547
- data: PaginatedAccountVariableResponse;
3548
- } | {
3549
- status: 403;
3550
- data: ErrorResponse;
3551
- } | {
3552
- status: 500;
3553
- data: ErrorResponse;
3554
- }>(`/v1/account/variables${QS.query(QS.explode({
3555
- name,
3556
- page,
3557
- size,
3558
- sortBy,
3559
- sortDir
3560
- }))}`, {
3561
- ...opts,
3562
- headers: oazapfts.mergeHeaders(opts?.headers, {
3563
- accountId
3564
- })
3565
- }));
3566
- }
3567
- /**
3568
- * Create account variable
3569
- */
3570
- export function accountVariableControllercreate({ createAccountVariableRequest }: {
3571
- createAccountVariableRequest: CreateAccountVariableRequest;
3572
- }, opts?: Oazapfts.RequestOpts) {
3573
- return oazapfts.ok(oazapfts.fetchJson<{
3574
- status: 201;
3575
- } | {
3576
- status: 403;
3577
- data: ErrorResponse;
3578
- } | {
3579
- status: 422;
3580
- data: ErrorResponse;
3581
- } | {
3582
- status: 500;
3583
- data: ErrorResponse;
3584
- }>("/v1/account/variables", oazapfts.json({
3585
- ...opts,
3586
- method: "POST",
3587
- body: createAccountVariableRequest
3588
- })));
3589
- }
3590
3473
  /**
3591
3474
  * List all stacks with context for given account and given stackVersionId list.
3592
3475
  */
3593
- export function contextControllerlistStackVersionsWithAccountContext({ body }: {
3476
+ export function listStackVersionsWithAccountContext({ body }: {
3594
3477
  body: string[];
3595
3478
  }, opts?: Oazapfts.RequestOpts) {
3596
3479
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3614,7 +3497,7 @@ export function contextControllerlistStackVersionsWithAccountContext({ body }: {
3614
3497
  /**
3615
3498
  * Get workspace by id
3616
3499
  */
3617
- export function workspaceControllergetWorkspaceForId({ workspaceId }: {
3500
+ export function getWorkspaceForId({ workspaceId }: {
3618
3501
  workspaceId: string;
3619
3502
  }, opts?: Oazapfts.RequestOpts) {
3620
3503
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3636,7 +3519,7 @@ export function workspaceControllergetWorkspaceForId({ workspaceId }: {
3636
3519
  /**
3637
3520
  * Delete workspace.
3638
3521
  */
3639
- export function workspaceControllerdelete({ workspaceId }: {
3522
+ export function deleteV1WorkspacesByWorkspaceId({ workspaceId }: {
3640
3523
  workspaceId: string;
3641
3524
  }, opts?: Oazapfts.RequestOpts) {
3642
3525
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3661,7 +3544,7 @@ export function workspaceControllerdelete({ workspaceId }: {
3661
3544
  /**
3662
3545
  * Update workspace
3663
3546
  */
3664
- export function workspaceControllerupdate({ workspaceId, updateWorkspaceRequest }: {
3547
+ export function update1({ workspaceId, updateWorkspaceRequest }: {
3665
3548
  workspaceId: string;
3666
3549
  updateWorkspaceRequest: UpdateWorkspaceRequest;
3667
3550
  }, opts?: Oazapfts.RequestOpts) {
@@ -3689,7 +3572,7 @@ export function workspaceControllerupdate({ workspaceId, updateWorkspaceRequest
3689
3572
  /**
3690
3573
  * Get shared infra links by id
3691
3574
  */
3692
- export function sharedInfraLinkControllergetSharedInfraLink({ workspaceId, sharedInfraId, linkId }: {
3575
+ export function getSharedInfraLink({ workspaceId, sharedInfraId, linkId }: {
3693
3576
  workspaceId: string;
3694
3577
  sharedInfraId: string;
3695
3578
  linkId: string;
@@ -3713,7 +3596,7 @@ export function sharedInfraLinkControllergetSharedInfraLink({ workspaceId, share
3713
3596
  /**
3714
3597
  * Delete shared infra links
3715
3598
  */
3716
- export function sharedInfraLinkControllerdelete({ workspaceId, sharedInfraId, linkId }: {
3599
+ export function delete2({ workspaceId, sharedInfraId, linkId }: {
3717
3600
  workspaceId: string;
3718
3601
  sharedInfraId: string;
3719
3602
  linkId: string;
@@ -3737,7 +3620,7 @@ export function sharedInfraLinkControllerdelete({ workspaceId, sharedInfraId, li
3737
3620
  /**
3738
3621
  * Update shared infra links
3739
3622
  */
3740
- export function sharedInfraLinkControllerupdate({ workspaceId, sharedInfraId, linkId, updateSharedInfraLinkRequest }: {
3623
+ export function update3({ workspaceId, sharedInfraId, linkId, updateSharedInfraLinkRequest }: {
3741
3624
  workspaceId: string;
3742
3625
  sharedInfraId: string;
3743
3626
  linkId: string;
@@ -3767,7 +3650,7 @@ export function sharedInfraLinkControllerupdate({ workspaceId, sharedInfraId, li
3767
3650
  /**
3768
3651
  * Get workspace link by id
3769
3652
  */
3770
- export function workspaceLinkControllergetWorkspaceLink({ workspaceId, linkId }: {
3653
+ export function getWorkspaceLink({ workspaceId, linkId }: {
3771
3654
  workspaceId: string;
3772
3655
  linkId: string;
3773
3656
  }, opts?: Oazapfts.RequestOpts) {
@@ -3790,7 +3673,7 @@ export function workspaceLinkControllergetWorkspaceLink({ workspaceId, linkId }:
3790
3673
  /**
3791
3674
  * Delete workspace links
3792
3675
  */
3793
- export function workspaceLinkControllerdelete({ workspaceId, linkId }: {
3676
+ export function delete3({ workspaceId, linkId }: {
3794
3677
  workspaceId: string;
3795
3678
  linkId: string;
3796
3679
  }, opts?: Oazapfts.RequestOpts) {
@@ -3813,7 +3696,7 @@ export function workspaceLinkControllerdelete({ workspaceId, linkId }: {
3813
3696
  /**
3814
3697
  * Update workspace links
3815
3698
  */
3816
- export function workspaceLinkControllerupdate({ workspaceId, linkId, updateWorkspaceLinkRequest }: {
3699
+ export function update4({ workspaceId, linkId, updateWorkspaceLinkRequest }: {
3817
3700
  workspaceId: string;
3818
3701
  linkId: string;
3819
3702
  updateWorkspaceLinkRequest: UpdateWorkspaceLinkRequest;
@@ -3842,7 +3725,7 @@ export function workspaceLinkControllerupdate({ workspaceId, linkId, updateWorks
3842
3725
  /**
3843
3726
  * Get workspace embedded link by id
3844
3727
  */
3845
- export function workspaceEmbeddedLinkControllergetEmbeddedLink({ workspaceId, embeddedLinkId }: {
3728
+ export function getEmbeddedLink({ workspaceId, embeddedLinkId }: {
3846
3729
  workspaceId: string;
3847
3730
  embeddedLinkId: string;
3848
3731
  }, opts?: Oazapfts.RequestOpts) {
@@ -3865,7 +3748,7 @@ export function workspaceEmbeddedLinkControllergetEmbeddedLink({ workspaceId, em
3865
3748
  /**
3866
3749
  * Delete workspace embedded link
3867
3750
  */
3868
- export function workspaceEmbeddedLinkControllerdelete({ workspaceId, embeddedLinkId }: {
3751
+ export function delete4({ workspaceId, embeddedLinkId }: {
3869
3752
  workspaceId: string;
3870
3753
  embeddedLinkId: string;
3871
3754
  }, opts?: Oazapfts.RequestOpts) {
@@ -3888,7 +3771,7 @@ export function workspaceEmbeddedLinkControllerdelete({ workspaceId, embeddedLin
3888
3771
  /**
3889
3772
  * Update workspace embedded link
3890
3773
  */
3891
- export function workspaceEmbeddedLinkControllerupdate({ workspaceId, embeddedLinkId, updateWorkspaceEmbeddedLinkRequest }: {
3774
+ export function update5({ workspaceId, embeddedLinkId, updateWorkspaceEmbeddedLinkRequest }: {
3892
3775
  workspaceId: string;
3893
3776
  embeddedLinkId: string;
3894
3777
  updateWorkspaceEmbeddedLinkRequest: UpdateWorkspaceEmbeddedLinkRequest;
@@ -3917,7 +3800,7 @@ export function workspaceEmbeddedLinkControllerupdate({ workspaceId, embeddedLin
3917
3800
  /**
3918
3801
  * Upsert workspace embedded link
3919
3802
  */
3920
- export function workspaceEmbeddedLinkControllerupsertBatch({ workspaceId, body }: {
3803
+ export function upsertBatch1({ workspaceId, body }: {
3921
3804
  workspaceId: string;
3922
3805
  body: UpsertWorkspaceEmbeddedLinkRequest[];
3923
3806
  }, opts?: Oazapfts.RequestOpts) {
@@ -3941,7 +3824,7 @@ export function workspaceEmbeddedLinkControllerupsertBatch({ workspaceId, body }
3941
3824
  /**
3942
3825
  * Get application link by id
3943
3826
  */
3944
- export function applicationLinkControllergetApplicationLink({ workspaceId, applicationId, linkId }: {
3827
+ export function getApplicationLink({ workspaceId, applicationId, linkId }: {
3945
3828
  workspaceId: string;
3946
3829
  applicationId: string;
3947
3830
  linkId: string;
@@ -3965,7 +3848,7 @@ export function applicationLinkControllergetApplicationLink({ workspaceId, appli
3965
3848
  /**
3966
3849
  * Delete workspace links
3967
3850
  */
3968
- export function applicationLinkControllerdelete({ workspaceId, applicationId, linkId }: {
3851
+ export function delete5({ workspaceId, applicationId, linkId }: {
3969
3852
  workspaceId: string;
3970
3853
  applicationId: string;
3971
3854
  linkId: string;
@@ -3989,7 +3872,7 @@ export function applicationLinkControllerdelete({ workspaceId, applicationId, li
3989
3872
  /**
3990
3873
  * Update application links
3991
3874
  */
3992
- export function applicationLinkControllerupdate({ workspaceId, applicationId, linkId, updateApplicationLinkRequest }: {
3875
+ export function update7({ workspaceId, applicationId, linkId, updateApplicationLinkRequest }: {
3993
3876
  workspaceId: string;
3994
3877
  applicationId: string;
3995
3878
  linkId: string;
@@ -4019,7 +3902,7 @@ export function applicationLinkControllerupdate({ workspaceId, applicationId, li
4019
3902
  /**
4020
3903
  * Get application embedded link by id
4021
3904
  */
4022
- export function applicationEmbeddedLinkControllergetEmbeddedLink({ workspaceId, applicationId, embeddedLinkId }: {
3905
+ export function getEmbeddedLink1({ workspaceId, applicationId, embeddedLinkId }: {
4023
3906
  workspaceId: string;
4024
3907
  applicationId: string;
4025
3908
  embeddedLinkId: string;
@@ -4043,7 +3926,7 @@ export function applicationEmbeddedLinkControllergetEmbeddedLink({ workspaceId,
4043
3926
  /**
4044
3927
  * Delete application embedded link
4045
3928
  */
4046
- export function applicationEmbeddedLinkControllerdelete({ workspaceId, applicationId, embeddedLinkId }: {
3929
+ export function delete6({ workspaceId, applicationId, embeddedLinkId }: {
4047
3930
  workspaceId: string;
4048
3931
  applicationId: string;
4049
3932
  embeddedLinkId: string;
@@ -4067,7 +3950,7 @@ export function applicationEmbeddedLinkControllerdelete({ workspaceId, applicati
4067
3950
  /**
4068
3951
  * Update application embedded link
4069
3952
  */
4070
- export function applicationEmbeddedLinkControllerupdate({ workspaceId, applicationId, embeddedLinkId, updateApplicationEmbeddedLinkRequest }: {
3953
+ export function update8({ workspaceId, applicationId, embeddedLinkId, updateApplicationEmbeddedLinkRequest }: {
4071
3954
  workspaceId: string;
4072
3955
  applicationId: string;
4073
3956
  embeddedLinkId: string;
@@ -4097,7 +3980,7 @@ export function applicationEmbeddedLinkControllerupdate({ workspaceId, applicati
4097
3980
  /**
4098
3981
  * Upsert application embedded link
4099
3982
  */
4100
- export function applicationEmbeddedLinkControllerupsertBatch({ workspaceId, applicationId, body }: {
3983
+ export function upsertBatch2({ workspaceId, applicationId, body }: {
4101
3984
  workspaceId: string;
4102
3985
  applicationId: string;
4103
3986
  body: UpsertApplicationEmbeddedLinkRequest[];
@@ -4122,7 +4005,7 @@ export function applicationEmbeddedLinkControllerupsertBatch({ workspaceId, appl
4122
4005
  /**
4123
4006
  * Archive application from a workspace.
4124
4007
  */
4125
- export function applicationControllerarchiveApplication({ workspaceId, applicationId }: {
4008
+ export function archiveApplication({ workspaceId, applicationId }: {
4126
4009
  workspaceId: string;
4127
4010
  applicationId: string;
4128
4011
  }, opts?: Oazapfts.RequestOpts) {
@@ -4148,7 +4031,7 @@ export function applicationControllerarchiveApplication({ workspaceId, applicati
4148
4031
  /**
4149
4032
  * Get environment by id
4150
4033
  */
4151
- export function environmentControllergetEnvironment({ id }: {
4034
+ export function getEnvironment({ id }: {
4152
4035
  id: string;
4153
4036
  }, opts?: Oazapfts.RequestOpts) {
4154
4037
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -4170,7 +4053,7 @@ export function environmentControllergetEnvironment({ id }: {
4170
4053
  /**
4171
4054
  * Update environment
4172
4055
  */
4173
- export function environmentControllerupdate({ id, environmentUpdateRequest }: {
4056
+ export function update9({ id, environmentUpdateRequest }: {
4174
4057
  id: string;
4175
4058
  environmentUpdateRequest: EnvironmentUpdateRequest;
4176
4059
  }, opts?: Oazapfts.RequestOpts) {
@@ -4195,51 +4078,10 @@ export function environmentControllerupdate({ id, environmentUpdateRequest }: {
4195
4078
  body: environmentUpdateRequest
4196
4079
  })));
4197
4080
  }
4198
- /**
4199
- * Find all workspace variables
4200
- */
4201
- export function workspaceVariableV2ControllerfindAll({ workspaceId, accountId, page, size, sortBy, sortDir, mandate, name, showEmptyValues }: {
4202
- workspaceId: string;
4203
- accountId?: string;
4204
- page?: number;
4205
- size?: number;
4206
- sortBy?: "NAME" | "VALUE" | "CREATED_AT";
4207
- sortDir?: "ASC" | "DESC";
4208
- mandate?: boolean;
4209
- name?: string;
4210
- showEmptyValues?: boolean;
4211
- }, opts?: Oazapfts.RequestOpts) {
4212
- return oazapfts.ok(oazapfts.fetchJson<{
4213
- status: 200;
4214
- data: PaginatedWorkspaceVariableResponse;
4215
- } | {
4216
- status: 403;
4217
- data: ErrorResponse;
4218
- } | {
4219
- status: 404;
4220
- data: ErrorResponse;
4221
- } | {
4222
- status: 500;
4223
- data: ErrorResponse;
4224
- }>(`/v2/workspaces/${encodeURIComponent(workspaceId)}/variables${QS.query(QS.explode({
4225
- page,
4226
- size,
4227
- sortBy,
4228
- sortDir,
4229
- mandate,
4230
- name,
4231
- showEmptyValues
4232
- }))}`, {
4233
- ...opts,
4234
- headers: oazapfts.mergeHeaders(opts?.headers, {
4235
- accountId
4236
- })
4237
- }));
4238
- }
4239
4081
  /**
4240
4082
  * Get plugins applied to a workspace's shared infrastructure.
4241
4083
  */
4242
- export function sharedInfrastructureV2ControllergetAppliedPlugins({ workspaceId, sharedInfraId, environmentId }: {
4084
+ export function getAppliedPlugins({ workspaceId, sharedInfraId, environmentId }: {
4243
4085
  workspaceId: string;
4244
4086
  sharedInfraId: string;
4245
4087
  environmentId: string;
@@ -4266,7 +4108,7 @@ export function sharedInfrastructureV2ControllergetAppliedPlugins({ workspaceId,
4266
4108
  /**
4267
4109
  * List all available connection interfaces for a workspace.
4268
4110
  */
4269
- export function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId, automaticallyGenerated }: {
4111
+ export function getAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId, automaticallyGenerated }: {
4270
4112
  workspaceId: string;
4271
4113
  typeId?: string;
4272
4114
  automaticallyGenerated?: boolean;
@@ -4296,7 +4138,7 @@ export function availableConnectionInterfaceV2ControllergetAvailableConnectionIn
4296
4138
  /**
4297
4139
  * Get available connection interface for a workspace by its slug.
4298
4140
  */
4299
- export function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAWorkspace({ workspaceId, slug, environmentId, accountId }: {
4141
+ export function getAvailableConnectionInterfaceForAWorkspace({ workspaceId, slug, environmentId, accountId }: {
4300
4142
  workspaceId: string;
4301
4143
  slug: string;
4302
4144
  environmentId?: string;
@@ -4329,7 +4171,7 @@ export function availableConnectionInterfaceV2ControllergetAvailableConnectionIn
4329
4171
  /**
4330
4172
  * Get plugins applied to a workspace's application.
4331
4173
  */
4332
- export function applicationV2ControllergetAppliedPlugins({ workspaceId, applicationId, environmentId }: {
4174
+ export function getAppliedPlugins1({ workspaceId, applicationId, environmentId }: {
4333
4175
  workspaceId: string;
4334
4176
  applicationId: string;
4335
4177
  environmentId: string;
@@ -4356,7 +4198,7 @@ export function applicationV2ControllergetAppliedPlugins({ workspaceId, applicat
4356
4198
  /**
4357
4199
  * List all available connection interfaces for an application.
4358
4200
  */
4359
- export function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfacesForAnApplication({ applicationId, typeId, automaticallyGenerated }: {
4201
+ export function getAvailableConnectionInterfacesForAnApplication({ applicationId, typeId, automaticallyGenerated }: {
4360
4202
  applicationId: string;
4361
4203
  typeId?: string;
4362
4204
  automaticallyGenerated?: boolean;
@@ -4386,7 +4228,7 @@ export function availableConnectionInterfaceV2ControllergetAvailableConnectionIn
4386
4228
  /**
4387
4229
  * Get available connection interface for an application by its slug.
4388
4230
  */
4389
- export function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAnApplication({ applicationId, slug, environmentId }: {
4231
+ export function getAvailableConnectionInterfaceForAnApplication({ applicationId, slug, environmentId }: {
4390
4232
  applicationId: string;
4391
4233
  slug: string;
4392
4234
  environmentId?: string;
@@ -4415,7 +4257,7 @@ export function availableConnectionInterfaceV2ControllergetAvailableConnectionIn
4415
4257
  /**
4416
4258
  * Get connection interface in use by applicationId or sharedInfraId.
4417
4259
  */
4418
- export function connectionInterfaceInUseControllergetConnectionInterfaceInUseTargetId({ workspaceId, targetId, targetType, slug, accountId, environmentId }: {
4260
+ export function getConnectionInterfaceInUseTargetId({ workspaceId, targetId, targetType, slug, accountId, environmentId }: {
4419
4261
  workspaceId: string;
4420
4262
  targetId: string;
4421
4263
  targetType: "applications" | "shared_infra";
@@ -4447,35 +4289,10 @@ export function connectionInterfaceInUseControllergetConnectionInterfaceInUseTar
4447
4289
  })
4448
4290
  }));
4449
4291
  }
4450
- /**
4451
- * Get all workspace's variables v1
4452
- */
4453
- export function workspaceVariableV1ControllerfindAll({ workspaceId, filter }: {
4454
- workspaceId: string;
4455
- filter?: string;
4456
- }, opts?: Oazapfts.RequestOpts) {
4457
- return oazapfts.ok(oazapfts.fetchJson<{
4458
- status: 200;
4459
- data: WorkspaceVariableReadV1Response[];
4460
- } | {
4461
- status: 403;
4462
- data: ErrorResponse;
4463
- } | {
4464
- status: 404;
4465
- data: ErrorResponse;
4466
- } | {
4467
- status: 500;
4468
- data: ErrorResponse;
4469
- }>(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables${QS.query(QS.explode({
4470
- filter
4471
- }))}`, {
4472
- ...opts
4473
- }));
4474
- }
4475
4292
  /**
4476
4293
  * Get stack in a workspace by stack version id.
4477
4294
  */
4478
- export function workspaceStackControllergetStackById({ workspaceId, stackVersionId }: {
4295
+ export function getStackById({ workspaceId, stackVersionId }: {
4479
4296
  workspaceId: string;
4480
4297
  stackVersionId: string;
4481
4298
  }, opts?: Oazapfts.RequestOpts) {
@@ -4501,7 +4318,7 @@ export function workspaceStackControllergetStackById({ workspaceId, stackVersion
4501
4318
  /**
4502
4319
  * Delete a stack from a workspace.
4503
4320
  */
4504
- export function workspaceStackControllerdeleteStack({ workspaceId, stackVersionId }: {
4321
+ export function deleteStack({ workspaceId, stackVersionId }: {
4505
4322
  workspaceId: string;
4506
4323
  stackVersionId: string;
4507
4324
  }, opts?: Oazapfts.RequestOpts) {
@@ -4530,7 +4347,7 @@ export function workspaceStackControllerdeleteStack({ workspaceId, stackVersionI
4530
4347
  /**
4531
4348
  * List the consolidated input context of all stack elements for given type in a workspace.
4532
4349
  */
4533
- export function contextControllerlistConsolidatedContext({ workspaceId, stackVersionId, $type, environmentId, externalId }: {
4350
+ export function listConsolidatedContext({ workspaceId, stackVersionId, $type, environmentId, externalId }: {
4534
4351
  workspaceId: string;
4535
4352
  stackVersionId: string;
4536
4353
  $type: "plugin" | "action";
@@ -4562,7 +4379,7 @@ export function contextControllerlistConsolidatedContext({ workspaceId, stackVer
4562
4379
  /**
4563
4380
  * Get workflow settings with context by stack and workflowType
4564
4381
  */
4565
- export function workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType({ workspaceId, stackId, workflowType }: {
4382
+ export function listWorkflowByStackIdAndWorkflowType({ workspaceId, stackId, workflowType }: {
4566
4383
  workspaceId: string;
4567
4384
  stackId: string;
4568
4385
  workflowType: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
@@ -4589,7 +4406,7 @@ export function workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType(
4589
4406
  /**
4590
4407
  * Get plugins applied to a workspace's shared infrastructure.
4591
4408
  */
4592
- export function sharedInfrastructureControllergetAppliedPlugins({ workspaceId, sharedInfraId, environmentId, $type }: {
4409
+ export function getAppliedPlugins2({ workspaceId, sharedInfraId, environmentId, $type }: {
4593
4410
  workspaceId: string;
4594
4411
  sharedInfraId: string;
4595
4412
  environmentId: string;
@@ -4619,7 +4436,7 @@ export function sharedInfrastructureControllergetAppliedPlugins({ workspaceId, s
4619
4436
  /**
4620
4437
  * List shared infrastructure's activities.
4621
4438
  */
4622
- export function sharedInfrastructureControllerlistActivities({ workspaceId, sharedInfraId, environmentId, $type, page, size }: {
4439
+ export function listActivities({ workspaceId, sharedInfraId, environmentId, $type, page, size }: {
4623
4440
  workspaceId: string;
4624
4441
  sharedInfraId: string;
4625
4442
  environmentId: string;
@@ -4653,7 +4470,7 @@ export function sharedInfrastructureControllerlistActivities({ workspaceId, shar
4653
4470
  /**
4654
4471
  * Get all in use connection interface dependencies from the shared infra.
4655
4472
  */
4656
- export function sharedInfrastructureControllergetDependencyTree({ workspaceId, sharedInfraId }: {
4473
+ export function getDependencyTree({ workspaceId, sharedInfraId }: {
4657
4474
  workspaceId: string;
4658
4475
  sharedInfraId: string;
4659
4476
  }, opts?: Oazapfts.RequestOpts) {
@@ -4679,7 +4496,7 @@ export function sharedInfrastructureControllergetDependencyTree({ workspaceId, s
4679
4496
  /**
4680
4497
  * Get a connection interface by connection interface id.
4681
4498
  */
4682
- export function connectionInterfaceControllergetConnectionInterface({ workspaceId, connectionInterfaceId, environmentId }: {
4499
+ export function getConnectionInterface({ workspaceId, connectionInterfaceId, environmentId }: {
4683
4500
  workspaceId: string;
4684
4501
  connectionInterfaceId: string;
4685
4502
  environmentId?: string;
@@ -4708,7 +4525,7 @@ export function connectionInterfaceControllergetConnectionInterface({ workspaceI
4708
4525
  /**
4709
4526
  * Get all connection interface in use.
4710
4527
  */
4711
- export function connectionInterfaceInUseControllergetAllConnectionInterfaceInUse({ workspaceId, accountId }: {
4528
+ export function getAllConnectionInterfaceInUse({ workspaceId, accountId }: {
4712
4529
  workspaceId: string;
4713
4530
  accountId?: string;
4714
4531
  }, opts?: Oazapfts.RequestOpts) {
@@ -4737,7 +4554,7 @@ export function connectionInterfaceInUseControllergetAllConnectionInterfaceInUse
4737
4554
  /**
4738
4555
  * Get connection interface in use by slug.
4739
4556
  */
4740
- export function connectionInterfaceInUseControllergetConnectionInterfaceInUseBySlug({ workspaceId, slug, accountId }: {
4557
+ export function getConnectionInterfaceInUseBySlug({ workspaceId, slug, accountId }: {
4741
4558
  workspaceId: string;
4742
4559
  slug: string;
4743
4560
  accountId?: string;
@@ -4767,7 +4584,7 @@ export function connectionInterfaceInUseControllergetConnectionInterfaceInUseByS
4767
4584
  /**
4768
4585
  * List all available connection interfaces for a workspace.
4769
4586
  */
4770
- export function availableConnectionInterfaceControllergetAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId }: {
4587
+ export function getAvailableConnectionInterfacesForAWorkspace1({ workspaceId, typeId }: {
4771
4588
  workspaceId: string;
4772
4589
  typeId?: string;
4773
4590
  }, opts?: Oazapfts.RequestOpts) {
@@ -4795,7 +4612,7 @@ export function availableConnectionInterfaceControllergetAvailableConnectionInte
4795
4612
  /**
4796
4613
  * Get available connection interface for a workspace by its id.
4797
4614
  */
4798
- export function availableConnectionInterfaceControllergetAvailableConnectionInterfaceForAWorkspace({ workspaceId, connectionInterfaceId, environmentId }: {
4615
+ export function getAvailableConnectionInterfaceForAWorkspace1({ workspaceId, connectionInterfaceId, environmentId }: {
4799
4616
  workspaceId: string;
4800
4617
  connectionInterfaceId: string;
4801
4618
  environmentId?: string;
@@ -4824,7 +4641,7 @@ export function availableConnectionInterfaceControllergetAvailableConnectionInte
4824
4641
  /**
4825
4642
  * Get plugins applied to a workspace's application.
4826
4643
  */
4827
- export function applicationControllergetAppliedPlugins({ workspaceId, applicationId, environmentId, $type }: {
4644
+ export function getAppliedPlugins3({ workspaceId, applicationId, environmentId, $type }: {
4828
4645
  workspaceId: string;
4829
4646
  applicationId: string;
4830
4647
  environmentId: string;
@@ -4851,7 +4668,7 @@ export function applicationControllergetAppliedPlugins({ workspaceId, applicatio
4851
4668
  ...opts
4852
4669
  }));
4853
4670
  }
4854
- export function applicationControllergetAppDeployInfo({ workspaceId, applicationId, environmentId, accountId, tenant }: {
4671
+ export function getAppDeployInfo({ workspaceId, applicationId, environmentId, accountId, tenant }: {
4855
4672
  workspaceId: string;
4856
4673
  applicationId: string;
4857
4674
  environmentId: string;
@@ -4872,7 +4689,7 @@ export function applicationControllergetAppDeployInfo({ workspaceId, application
4872
4689
  /**
4873
4690
  * List application's activities.
4874
4691
  */
4875
- export function applicationControllerlistActivities({ workspaceId, applicationId, environmentId, $type, page, size }: {
4692
+ export function listActivities1({ workspaceId, applicationId, environmentId, $type, page, size }: {
4876
4693
  workspaceId: string;
4877
4694
  applicationId: string;
4878
4695
  environmentId: string;
@@ -4906,7 +4723,7 @@ export function applicationControllerlistActivities({ workspaceId, applicationId
4906
4723
  /**
4907
4724
  * Get all in use connection interface dependencies from the application.
4908
4725
  */
4909
- export function applicationControllergetDependencyTree({ workspaceId, applicationId }: {
4726
+ export function getDependencyTree1({ workspaceId, applicationId }: {
4910
4727
  workspaceId: string;
4911
4728
  applicationId: string;
4912
4729
  }, opts?: Oazapfts.RequestOpts) {
@@ -4932,7 +4749,7 @@ export function applicationControllergetDependencyTree({ workspaceId, applicatio
4932
4749
  /**
4933
4750
  * Can the application be destroyed?
4934
4751
  */
4935
- export function applicationControllercanBeDeleted({ workspaceId, applicationId, accountId, tenant }: {
4752
+ export function canBeDeleted({ workspaceId, applicationId, accountId, tenant }: {
4936
4753
  workspaceId: string;
4937
4754
  applicationId: string;
4938
4755
  accountId: string;
@@ -4967,7 +4784,7 @@ export function applicationControllercanBeDeleted({ workspaceId, applicationId,
4967
4784
  /**
4968
4785
  * Get all workspaces within user permission
4969
4786
  */
4970
- export function workspaceControllergetWorkspacesFromUserPermission({ resource, action }: {
4787
+ export function getWorkspacesFromUserPermission({ resource, action }: {
4971
4788
  resource: string;
4972
4789
  action: string;
4973
4790
  }, opts?: Oazapfts.RequestOpts) {
@@ -4987,7 +4804,7 @@ export function workspaceControllergetWorkspacesFromUserPermission({ resource, a
4987
4804
  /**
4988
4805
  * Get shared infrastructure information by id.
4989
4806
  */
4990
- export function getSharedInfraControllergetSharedInfra({ id }: {
4807
+ export function getSharedInfra({ id }: {
4991
4808
  id: string;
4992
4809
  }, opts?: Oazapfts.RequestOpts) {
4993
4810
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -5006,7 +4823,7 @@ export function getSharedInfraControllergetSharedInfra({ id }: {
5006
4823
  /**
5007
4824
  * Check if there is/are any deployment active for the provided plugin
5008
4825
  */
5009
- export function pluginInUseControllercheckPluginInUse({ pluginVersionId }: {
4826
+ export function checkPluginInUse({ pluginVersionId }: {
5010
4827
  pluginVersionId: string;
5011
4828
  }, opts?: Oazapfts.RequestOpts) {
5012
4829
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -5028,7 +4845,7 @@ export function pluginInUseControllercheckPluginInUse({ pluginVersionId }: {
5028
4845
  /**
5029
4846
  * Check availability of connection slug in account.
5030
4847
  */
5031
- export function checkConnectionSlugAvailabilityControllercheckConnectionSlugAvailability({ slug }: {
4848
+ export function checkConnectionSlugAvailability({ slug }: {
5032
4849
  slug: string;
5033
4850
  }, opts?: Oazapfts.RequestOpts) {
5034
4851
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -5041,7 +4858,7 @@ export function checkConnectionSlugAvailabilityControllercheckConnectionSlugAvai
5041
4858
  /**
5042
4859
  * Get an application list by repo url.
5043
4860
  */
5044
- export function getApplicationControllergetApplicationsByUrl({ accountId, repoUrl }: {
4861
+ export function getApplicationsByUrl({ accountId, repoUrl }: {
5045
4862
  accountId: string;
5046
4863
  repoUrl: string;
5047
4864
  }, opts?: Oazapfts.RequestOpts) {
@@ -5069,7 +4886,7 @@ export function getApplicationControllergetApplicationsByUrl({ accountId, repoUr
5069
4886
  /**
5070
4887
  * Get application information by id.
5071
4888
  */
5072
- export function getApplicationControllergetApplication({ id }: {
4889
+ export function getApplication1({ id }: {
5073
4890
  id: string;
5074
4891
  }, opts?: Oazapfts.RequestOpts) {
5075
4892
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -5088,7 +4905,7 @@ export function getApplicationControllergetApplication({ id }: {
5088
4905
  /**
5089
4906
  * List all available connection interfaces for an application.
5090
4907
  */
5091
- export function availableConnectionInterfaceControllergetAvailableConnectionInterfacesForAnApplication({ applicationId, typeId }: {
4908
+ export function getAvailableConnectionInterfacesForAnApplication1({ applicationId, typeId }: {
5092
4909
  applicationId: string;
5093
4910
  typeId?: string;
5094
4911
  }, opts?: Oazapfts.RequestOpts) {
@@ -5116,7 +4933,7 @@ export function availableConnectionInterfaceControllergetAvailableConnectionInte
5116
4933
  /**
5117
4934
  * Get available connection interface for an application by its id.
5118
4935
  */
5119
- export function availableConnectionInterfaceControllergetAvailableConnectionInterfaceForAnApplication({ applicationId, connectionInterfaceId, environmentId }: {
4936
+ export function getAvailableConnectionInterfaceForAnApplication1({ applicationId, connectionInterfaceId, environmentId }: {
5120
4937
  applicationId: string;
5121
4938
  connectionInterfaceId: string;
5122
4939
  environmentId?: string;
@@ -5145,7 +4962,7 @@ export function availableConnectionInterfaceControllergetAvailableConnectionInte
5145
4962
  /**
5146
4963
  * Get action version ranges used in workflows given an actionId.
5147
4964
  */
5148
- export function workflowAccountControllerlistActionVersionRangesUsage({ accountId, actionId }: {
4965
+ export function listActionVersionRangesUsage({ accountId, actionId }: {
5149
4966
  accountId?: string;
5150
4967
  actionId: string;
5151
4968
  }, opts?: Oazapfts.RequestOpts) {
@@ -5168,36 +4985,10 @@ export function workflowAccountControllerlistActionVersionRangesUsage({ accountI
5168
4985
  })
5169
4986
  }));
5170
4987
  }
5171
- /**
5172
- * Get account variable usage
5173
- */
5174
- export function accountVariableControllerusage({ accountId, name }: {
5175
- accountId?: string;
5176
- name: string;
5177
- }, opts?: Oazapfts.RequestOpts) {
5178
- return oazapfts.ok(oazapfts.fetchJson<{
5179
- status: 200;
5180
- data: AccountVariableUsageResponse;
5181
- } | {
5182
- status: 403;
5183
- data: ErrorResponse;
5184
- } | {
5185
- status: 404;
5186
- data: ErrorResponse;
5187
- } | {
5188
- status: 500;
5189
- data: ErrorResponse;
5190
- }>(`/v1/account/variables/${encodeURIComponent(name)}/usage`, {
5191
- ...opts,
5192
- headers: oazapfts.mergeHeaders(opts?.headers, {
5193
- accountId
5194
- })
5195
- }));
5196
- }
5197
4988
  /**
5198
4989
  * List the input context of all stack elements for given type in account.
5199
4990
  */
5200
- export function contextControllerlistAccountContext({ stackVersionId, $type, environmentId, externalId }: {
4991
+ export function listAccountContext({ stackVersionId, $type, environmentId, externalId }: {
5201
4992
  stackVersionId: string;
5202
4993
  $type: "plugin" | "action";
5203
4994
  environmentId?: string;
@@ -5228,7 +5019,7 @@ export function contextControllerlistAccountContext({ stackVersionId, $type, env
5228
5019
  /**
5229
5020
  * Get workflow of a stackId by workflow type.
5230
5021
  */
5231
- export function workflowStackControllerlistWorkflowByStackIdAndType({ stackId, workflowType }: {
5022
+ export function listWorkflowByStackIdAndType({ stackId, workflowType }: {
5232
5023
  stackId: string;
5233
5024
  workflowType: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
5234
5025
  }, opts?: Oazapfts.RequestOpts) {
@@ -5254,7 +5045,7 @@ export function workflowStackControllerlistWorkflowByStackIdAndType({ stackId, w
5254
5045
  /**
5255
5046
  * Get workflows by a stackId.
5256
5047
  */
5257
- export function workflowStackControllerlistWorkflowsByStackId({ stackId }: {
5048
+ export function listWorkflowsByStackId({ stackId }: {
5258
5049
  stackId: string;
5259
5050
  }, opts?: Oazapfts.RequestOpts) {
5260
5051
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -5276,7 +5067,7 @@ export function workflowStackControllerlistWorkflowsByStackId({ stackId }: {
5276
5067
  /**
5277
5068
  * List all stacks with workflow by account.
5278
5069
  */
5279
- export function accountStackControllerlistStacksWithWorkflow(opts?: Oazapfts.RequestOpts) {
5070
+ export function listStacksWithWorkflow(opts?: Oazapfts.RequestOpts) {
5280
5071
  return oazapfts.ok(oazapfts.fetchJson<{
5281
5072
  status: 200;
5282
5073
  data: StacksByAccountResponse;
@@ -5296,7 +5087,7 @@ export function accountStackControllerlistStacksWithWorkflow(opts?: Oazapfts.Req
5296
5087
  /**
5297
5088
  * List all default workflows of an account.
5298
5089
  */
5299
- export function workflowAccountControllerlistDefaultAccountWorkflows(opts?: Oazapfts.RequestOpts) {
5090
+ export function listDefaultAccountWorkflows(opts?: Oazapfts.RequestOpts) {
5300
5091
  return oazapfts.ok(oazapfts.fetchJson<{
5301
5092
  status: 200;
5302
5093
  data: WorkflowResponse[];
@@ -5316,7 +5107,7 @@ export function workflowAccountControllerlistDefaultAccountWorkflows(opts?: Oaza
5316
5107
  /**
5317
5108
  * Delete completely connection interfaces from all environments.
5318
5109
  */
5319
- export function connectionInterfaceControllerdeleteConnectionInterfaceFromAllEnvironments({ workspaceId, slug }: {
5110
+ export function deleteConnectionInterfaceFromAllEnvironments({ workspaceId, slug }: {
5320
5111
  workspaceId: string;
5321
5112
  slug: string;
5322
5113
  }, opts?: Oazapfts.RequestOpts) {
@@ -5345,7 +5136,7 @@ export function connectionInterfaceControllerdeleteConnectionInterfaceFromAllEnv
5345
5136
  /**
5346
5137
  * Delete connection interfaces.
5347
5138
  */
5348
- export function connectionInterfaceControllerdeleteConnectionInterface({ workspaceId, slug, environmentId, accountId }: {
5139
+ export function deleteConnectionInterface({ workspaceId, slug, environmentId, accountId }: {
5349
5140
  workspaceId: string;
5350
5141
  slug: string;
5351
5142
  environmentId: string;
@@ -5376,7 +5167,7 @@ export function connectionInterfaceControllerdeleteConnectionInterface({ workspa
5376
5167
  /**
5377
5168
  * Delete connection interface attributes by environment.
5378
5169
  */
5379
- export function connectionInterfaceControllerdeleteConnectionInterfaceAttributesFromEnvironment({ workspaceId, slug, environmentId }: {
5170
+ export function deleteConnectionInterfaceAttributesFromEnvironment({ workspaceId, slug, environmentId }: {
5380
5171
  workspaceId: string;
5381
5172
  slug: string;
5382
5173
  environmentId: string;
@@ -5408,7 +5199,7 @@ export function connectionInterfaceControllerdeleteConnectionInterfaceAttributes
5408
5199
  /**
5409
5200
  * Delete an account workflow.
5410
5201
  */
5411
- export function workflowAccountControllerdeleteAccountWorkflow({ workflowId }: {
5202
+ export function deleteAccountWorkflow({ workflowId }: {
5412
5203
  workflowId: string;
5413
5204
  }, opts?: Oazapfts.RequestOpts) {
5414
5205
  return oazapfts.ok(oazapfts.fetchJson<{