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