@stack-spot/portal-network 0.14.0 → 0.14.1
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 +7 -0
- package/dist/api/workspace.d.ts +2276 -0
- package/dist/api/workspace.d.ts.map +1 -0
- package/dist/api/workspace.js.map +1 -1
- package/dist/client/workspace.d.ts +1 -1
- package/package.json +1 -1
- package/src/api/workspace.ts +7 -1
|
@@ -0,0 +1,2276 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workspace API
|
|
3
|
+
* v1.0.0
|
|
4
|
+
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
|
+
* See https://www.npmjs.com/package/oazapfts
|
|
6
|
+
*/
|
|
7
|
+
import * as Oazapfts from "@oazapfts/runtime";
|
|
8
|
+
export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
|
|
9
|
+
export declare const servers: {
|
|
10
|
+
generatedServerUrl: string;
|
|
11
|
+
};
|
|
12
|
+
export type ContextAttributeDto = {
|
|
13
|
+
key: string;
|
|
14
|
+
value: object;
|
|
15
|
+
final: boolean;
|
|
16
|
+
source?: "ACCOUNT" | "STACK" | "WORKSPACE";
|
|
17
|
+
};
|
|
18
|
+
export type ActionContextResponse = {
|
|
19
|
+
actionId: string;
|
|
20
|
+
versionRange: string;
|
|
21
|
+
stepType?: "CREATE_REPO";
|
|
22
|
+
valuesContext: ContextAttributeDto[];
|
|
23
|
+
};
|
|
24
|
+
export type WorkflowContextResponse = {
|
|
25
|
+
accountId: string;
|
|
26
|
+
actionsBefore: ActionContextResponse[];
|
|
27
|
+
actionsAfter: ActionContextResponse[];
|
|
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 ContextAttribute = {
|
|
42
|
+
key: string;
|
|
43
|
+
value: object;
|
|
44
|
+
final: boolean;
|
|
45
|
+
};
|
|
46
|
+
export type WorkflowActionContextRequest = {
|
|
47
|
+
actionId: string;
|
|
48
|
+
valuesContext: ContextAttribute[];
|
|
49
|
+
};
|
|
50
|
+
export type WorkspaceWorkflowCreateRequest = {
|
|
51
|
+
actionsBefore: WorkflowActionContextRequest[];
|
|
52
|
+
actionsAfter: WorkflowActionContextRequest[];
|
|
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
|
+
};
|
|
68
|
+
export type PluginAttribute = {
|
|
69
|
+
key: string;
|
|
70
|
+
value: object;
|
|
71
|
+
mandate: boolean;
|
|
72
|
+
};
|
|
73
|
+
export type AttributesByEnv = {
|
|
74
|
+
environmentId: string;
|
|
75
|
+
attributes: PluginAttribute[];
|
|
76
|
+
};
|
|
77
|
+
export type AddTypedContextRequest = {
|
|
78
|
+
attributesByEnv?: AttributesByEnv;
|
|
79
|
+
};
|
|
80
|
+
export type WorkflowActionResponse = {
|
|
81
|
+
actionVersionId: string;
|
|
82
|
+
orderStep: number;
|
|
83
|
+
createRepo?: boolean;
|
|
84
|
+
};
|
|
85
|
+
export type WorkflowConditionResponse = {
|
|
86
|
+
condition: "BEFORE" | "AFTER";
|
|
87
|
+
actions: WorkflowActionResponse[];
|
|
88
|
+
};
|
|
89
|
+
export type WorkflowReadResponse = {
|
|
90
|
+
identifier: string;
|
|
91
|
+
workflowConditions: WorkflowConditionResponse[];
|
|
92
|
+
};
|
|
93
|
+
export type WorkflowActionsRequest = {
|
|
94
|
+
/** Workflow action version id. */
|
|
95
|
+
actionVersionId?: string;
|
|
96
|
+
/** Workspace order step. */
|
|
97
|
+
orderStep?: number;
|
|
98
|
+
/** This action will create repository. */
|
|
99
|
+
createRepo?: boolean;
|
|
100
|
+
};
|
|
101
|
+
export type WorkflowConditionRequest = {
|
|
102
|
+
/** Workflow condition. */
|
|
103
|
+
condition?: "BEFORE" | "AFTER";
|
|
104
|
+
/** Workflow actions. */
|
|
105
|
+
actions?: WorkflowActionsRequest[];
|
|
106
|
+
};
|
|
107
|
+
export type AddWorkspaceWorkflowStepRequest = {
|
|
108
|
+
/** Workflow identifier. */
|
|
109
|
+
identifier: string;
|
|
110
|
+
workflowConditions: WorkflowConditionRequest[];
|
|
111
|
+
};
|
|
112
|
+
export type ImportContextRequest = {
|
|
113
|
+
/** Context type (PLUGIN, ACTION). */
|
|
114
|
+
"type"?: "PLUGIN" | "ACTION";
|
|
115
|
+
/** PluginId. */
|
|
116
|
+
externalId?: string;
|
|
117
|
+
/** Input attributes by environments. */
|
|
118
|
+
attributesByEnv?: AttributesByEnv[];
|
|
119
|
+
};
|
|
120
|
+
export type UpdateSharedInfraStatusRequest = {
|
|
121
|
+
/** Shared Infrastructure Status. */
|
|
122
|
+
status?: "CREATED" | "CREATE_FAILED" | "DRAFT" | "DELETING" | "DELETE_FAILED";
|
|
123
|
+
};
|
|
124
|
+
export type IdResponse = {
|
|
125
|
+
/** Id response. */
|
|
126
|
+
id?: string;
|
|
127
|
+
};
|
|
128
|
+
export type SharedInfraVisibleLinksResponse = {
|
|
129
|
+
id: string;
|
|
130
|
+
visible: boolean;
|
|
131
|
+
};
|
|
132
|
+
export type UpdateSharedInfraLinkVisibilityRequest = {
|
|
133
|
+
id: string;
|
|
134
|
+
visible: boolean;
|
|
135
|
+
};
|
|
136
|
+
export type Task = {
|
|
137
|
+
runTaskId: string;
|
|
138
|
+
"type": "IAC" | "DEPLOY" | "DESTROY" | "IAC_SELF_HOSTED" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED";
|
|
139
|
+
status: "EXTERNAL_ERROR" | "INTERNAL_ERROR" | "ABORTED" | "FAILED" | "SUCCEEDED" | "RUNNING" | "PENDING" | "READY_TO_RUN";
|
|
140
|
+
};
|
|
141
|
+
export type Plugins = {
|
|
142
|
+
pluginAlias: string;
|
|
143
|
+
tasks: Task[];
|
|
144
|
+
};
|
|
145
|
+
export type ConnectionInterface = {
|
|
146
|
+
selected: string;
|
|
147
|
+
"type": string;
|
|
148
|
+
alias: string;
|
|
149
|
+
};
|
|
150
|
+
export type Connections = {
|
|
151
|
+
requires?: ConnectionInterface[];
|
|
152
|
+
generates?: ConnectionInterface[];
|
|
153
|
+
};
|
|
154
|
+
export type GeneratesLinks = {
|
|
155
|
+
name: string;
|
|
156
|
+
url: string;
|
|
157
|
+
"type": string;
|
|
158
|
+
picture: string;
|
|
159
|
+
};
|
|
160
|
+
export type PluginLink = {
|
|
161
|
+
generates: GeneratesLinks[];
|
|
162
|
+
};
|
|
163
|
+
export type PluginsStatusInCloud = {
|
|
164
|
+
statusInCloud: "EXTERNAL_ERROR" | "INTERNAL_ERROR" | "ABORTED" | "FAILED" | "SUCCEEDED" | "RUNNING" | "PENDING" | "READY_TO_RUN";
|
|
165
|
+
name: string;
|
|
166
|
+
alias: string;
|
|
167
|
+
"type": string;
|
|
168
|
+
pluginVersionId: string;
|
|
169
|
+
stackVersionId: string;
|
|
170
|
+
inputs: {
|
|
171
|
+
[key: string]: object;
|
|
172
|
+
};
|
|
173
|
+
connections: Connections;
|
|
174
|
+
link?: PluginLink;
|
|
175
|
+
};
|
|
176
|
+
export type UpdateRunRequest = {
|
|
177
|
+
/** Activity status to update. */
|
|
178
|
+
status?: "RUNNING" | "SUCCEEDED" | "USER_ERROR" | "RUNTIME_ERROR" | "EXTERNAL_ERROR" | "ABORTED" | "ABORTING";
|
|
179
|
+
/** Message. */
|
|
180
|
+
message?: string;
|
|
181
|
+
/** List of plugins that contain in deploy, rollback or destroy. */
|
|
182
|
+
plugins?: Plugins[];
|
|
183
|
+
/** List of plugins in cloud. */
|
|
184
|
+
pluginsStatusInCloud?: PluginsStatusInCloud[];
|
|
185
|
+
};
|
|
186
|
+
export type RunTaskRequest = {
|
|
187
|
+
/** Plugin Id. */
|
|
188
|
+
runTaskId?: string;
|
|
189
|
+
/** Plugin type. */
|
|
190
|
+
"type"?: "IAC" | "DEPLOY" | "DESTROY" | "IAC_SELF_HOSTED" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED";
|
|
191
|
+
/** Plugin status to update. */
|
|
192
|
+
status?: "EXTERNAL_ERROR" | "INTERNAL_ERROR" | "ABORTED" | "FAILED" | "SUCCEEDED" | "RUNNING" | "PENDING" | "READY_TO_RUN";
|
|
193
|
+
/** Plugin Alias. */
|
|
194
|
+
pluginAlias?: string;
|
|
195
|
+
/** Add message when plugin deployment gives error. */
|
|
196
|
+
message?: string;
|
|
197
|
+
};
|
|
198
|
+
export type DeploymentTagRequest = {
|
|
199
|
+
/** Application id. */
|
|
200
|
+
applicationId?: string;
|
|
201
|
+
/** Shared Infra id. */
|
|
202
|
+
sharedInfrastructureId?: string;
|
|
203
|
+
/** Related tag. */
|
|
204
|
+
relatedTag?: string;
|
|
205
|
+
};
|
|
206
|
+
export type ConnectionInterfaceAttribute = {
|
|
207
|
+
/** Attribute key. */
|
|
208
|
+
key?: string;
|
|
209
|
+
/** Attribute value. */
|
|
210
|
+
value?: object;
|
|
211
|
+
/** Indicates if this attribute value is sensitive or not. */
|
|
212
|
+
sensitive?: boolean;
|
|
213
|
+
};
|
|
214
|
+
export type UpdateConnectionInterfaceAttributesRequest = {
|
|
215
|
+
/** Environment id. */
|
|
216
|
+
environmentId?: string;
|
|
217
|
+
/** List of attributes */
|
|
218
|
+
attributes?: ConnectionInterfaceAttribute[];
|
|
219
|
+
};
|
|
220
|
+
export type ConnectionInterfaceAttributesByEnv = {
|
|
221
|
+
/** Environment id. */
|
|
222
|
+
environmentId?: string;
|
|
223
|
+
/** List of attributes */
|
|
224
|
+
attributes?: ConnectionInterfaceAttribute[];
|
|
225
|
+
};
|
|
226
|
+
export type UpsertConnectionInterfaceRequest = {
|
|
227
|
+
applicationId?: string;
|
|
228
|
+
sharedInfraId?: string;
|
|
229
|
+
slug: string;
|
|
230
|
+
typeId: string;
|
|
231
|
+
sourcePluginVersionId?: string;
|
|
232
|
+
attributesByEnv: ConnectionInterfaceAttributesByEnv[];
|
|
233
|
+
};
|
|
234
|
+
export type UpdateApplicationStatusRequest = {
|
|
235
|
+
/** Application Status. */
|
|
236
|
+
status?: "CREATED" | "CREATE_FAILED" | "DRAFT" | "DELETING" | "DELETE_FAILED" | "ARCHIVING" | "ARCHIVED" | "ARCHIVE_FAILED";
|
|
237
|
+
};
|
|
238
|
+
export type ApplicationVisibleLinksResponse = {
|
|
239
|
+
id: string;
|
|
240
|
+
visible: boolean;
|
|
241
|
+
};
|
|
242
|
+
export type UpdateApplicationLinkVisibilityRequest = {
|
|
243
|
+
id: string;
|
|
244
|
+
visible: boolean;
|
|
245
|
+
};
|
|
246
|
+
export type WorkflowSettingsResponse = {
|
|
247
|
+
name: string;
|
|
248
|
+
description: string;
|
|
249
|
+
"type": string;
|
|
250
|
+
isDefault: boolean;
|
|
251
|
+
workflowDefaultId?: string;
|
|
252
|
+
stacksId: string[];
|
|
253
|
+
};
|
|
254
|
+
export type SettingsWorkflowSaveRequest = {
|
|
255
|
+
name: string;
|
|
256
|
+
description: string;
|
|
257
|
+
"type": "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
|
|
258
|
+
isDefault: boolean;
|
|
259
|
+
stacksId: string[];
|
|
260
|
+
};
|
|
261
|
+
export type ContextWorkflowRequest = {
|
|
262
|
+
actionId: string;
|
|
263
|
+
valuesContext: ContextAttribute[];
|
|
264
|
+
};
|
|
265
|
+
export type ContextsWorkflowSaveRequest = {
|
|
266
|
+
actionsBefore: ContextWorkflowRequest[];
|
|
267
|
+
actionsAfter: ContextWorkflowRequest[];
|
|
268
|
+
};
|
|
269
|
+
export type ActionWorkflowResponse = {
|
|
270
|
+
actionId: string;
|
|
271
|
+
order: number;
|
|
272
|
+
versionRange: string;
|
|
273
|
+
stepType?: "CREATE_REPO";
|
|
274
|
+
};
|
|
275
|
+
export type WorkflowActionsResponse = {
|
|
276
|
+
accountId: string;
|
|
277
|
+
actionsBefore: ActionWorkflowResponse[];
|
|
278
|
+
actionsAfter: ActionWorkflowResponse[];
|
|
279
|
+
};
|
|
280
|
+
export type WorkflowActionRequest = {
|
|
281
|
+
actionId: string;
|
|
282
|
+
order: number;
|
|
283
|
+
versionRange: string;
|
|
284
|
+
stepType?: "CREATE_REPO";
|
|
285
|
+
};
|
|
286
|
+
export type ActionsWorkflowSaveRequest = {
|
|
287
|
+
actionsBefore: WorkflowActionRequest[];
|
|
288
|
+
actionsAfter: WorkflowActionRequest[];
|
|
289
|
+
};
|
|
290
|
+
export type AddAccountWorkflowStepRequest = {
|
|
291
|
+
/** Workflow identifier. */
|
|
292
|
+
identifier: string;
|
|
293
|
+
workflowConditions: WorkflowConditionRequest[];
|
|
294
|
+
};
|
|
295
|
+
export type StackWorkflowCreateRequest = {
|
|
296
|
+
actionsBefore: WorkflowActionContextRequest[];
|
|
297
|
+
actionsAfter: WorkflowActionContextRequest[];
|
|
298
|
+
};
|
|
299
|
+
export type WorkspaceReadResponse = {
|
|
300
|
+
/** Workspace id. */
|
|
301
|
+
id?: string;
|
|
302
|
+
/** Workspace name. */
|
|
303
|
+
name?: string;
|
|
304
|
+
/** Workspace description. */
|
|
305
|
+
description?: string;
|
|
306
|
+
/** Workspace image URL. */
|
|
307
|
+
imageUrl?: string;
|
|
308
|
+
/** Workspace manage runtime. */
|
|
309
|
+
manageRuntime?: boolean;
|
|
310
|
+
/** Workspace accountId. */
|
|
311
|
+
accountId?: string;
|
|
312
|
+
/** Workspace teams. - deprecated field */
|
|
313
|
+
teams?: string[];
|
|
314
|
+
/** Workspace creator. */
|
|
315
|
+
createdBy?: string;
|
|
316
|
+
/** Workspace creation date. */
|
|
317
|
+
createdAt?: string;
|
|
318
|
+
/** Workspace updater. */
|
|
319
|
+
updatedBy?: string;
|
|
320
|
+
/** Workspace update date. */
|
|
321
|
+
updatedAt?: string;
|
|
322
|
+
};
|
|
323
|
+
export type NewWorkspaceRequest = {
|
|
324
|
+
/** Workspace name. */
|
|
325
|
+
name: string;
|
|
326
|
+
/** Workspace description. */
|
|
327
|
+
description?: string;
|
|
328
|
+
/** Workspace image base64. */
|
|
329
|
+
image?: string;
|
|
330
|
+
/** Workspace manage runtime. */
|
|
331
|
+
manageRuntime?: boolean;
|
|
332
|
+
};
|
|
333
|
+
export type NewWorkspaceVariableRequest = {
|
|
334
|
+
/** Workspace variable name. */
|
|
335
|
+
name: string;
|
|
336
|
+
/** Workspace variable value. */
|
|
337
|
+
value: string;
|
|
338
|
+
/** Workspace variable description. */
|
|
339
|
+
description: string;
|
|
340
|
+
};
|
|
341
|
+
export type StackInWorkspaceReadResponse = {
|
|
342
|
+
/** Stack version id. */
|
|
343
|
+
stackVersionId?: string;
|
|
344
|
+
/** Workspace id. */
|
|
345
|
+
workspaceId?: string;
|
|
346
|
+
/** Account id. */
|
|
347
|
+
accountId?: string;
|
|
348
|
+
};
|
|
349
|
+
export type AddStackInWorkspaceRequest = {
|
|
350
|
+
/** Stack version id. */
|
|
351
|
+
stackVersionId: string;
|
|
352
|
+
};
|
|
353
|
+
export type StackVersionResponse = {
|
|
354
|
+
stackVersionId: string;
|
|
355
|
+
pluginIdsWithContext: string[];
|
|
356
|
+
};
|
|
357
|
+
export type StackWithWorkspaceContextResponse = {
|
|
358
|
+
/** List of stack version with pluginVersionId list that has workspace context. */
|
|
359
|
+
stackVersions?: StackVersionResponse[];
|
|
360
|
+
/** Workspace id. */
|
|
361
|
+
workspaceId?: string;
|
|
362
|
+
/** Account id. */
|
|
363
|
+
accountId?: string;
|
|
364
|
+
};
|
|
365
|
+
export type SharedInfraDetailsResponse = {
|
|
366
|
+
/** Shared infrastructure id. */
|
|
367
|
+
id?: string;
|
|
368
|
+
/** Shared infrastructure name. */
|
|
369
|
+
name?: string;
|
|
370
|
+
/** Shared infrastructure description. */
|
|
371
|
+
description?: string;
|
|
372
|
+
/** Shared infrastructure repository url. */
|
|
373
|
+
repoUrl?: string;
|
|
374
|
+
/** Shared infrastructure repository base branch. */
|
|
375
|
+
repoBaseBranch?: string;
|
|
376
|
+
/** Stack used to generate this shared infrastructure. */
|
|
377
|
+
stackVersionId?: string;
|
|
378
|
+
/** Starter used to generate this shared infrastructure. */
|
|
379
|
+
starterId?: string;
|
|
380
|
+
/** Shared Infrastructure status. */
|
|
381
|
+
status?: string;
|
|
382
|
+
/** Shared Infrastructure creator. */
|
|
383
|
+
createdBy?: string;
|
|
384
|
+
/** Shared Infrastructure creation date. */
|
|
385
|
+
createdAt?: string;
|
|
386
|
+
/** Shared Infrastructure updater. */
|
|
387
|
+
updatedBy?: string;
|
|
388
|
+
/** Shared Infrastructure update date. */
|
|
389
|
+
updatedAt?: string;
|
|
390
|
+
};
|
|
391
|
+
export type CreateSharedInfraRequest = {
|
|
392
|
+
/** Shared infrastructure name. */
|
|
393
|
+
name: string;
|
|
394
|
+
/** Shared infrastructure description. */
|
|
395
|
+
description?: string;
|
|
396
|
+
/** Shared infrastructure repository url. */
|
|
397
|
+
repoUrl?: string;
|
|
398
|
+
/** Shared infrastructure repository base branch. */
|
|
399
|
+
repoBaseBranch: string;
|
|
400
|
+
/** Stack used to generate this shared infrastructure. */
|
|
401
|
+
stackVersionId?: string;
|
|
402
|
+
/** Starter used to generate this shared infrastructure. */
|
|
403
|
+
starterId?: string;
|
|
404
|
+
};
|
|
405
|
+
export type RecreateSharedInfraRequest = {
|
|
406
|
+
/** Shared infrastructure name. */
|
|
407
|
+
name: string;
|
|
408
|
+
/** Shared infrastructure description. */
|
|
409
|
+
description?: string;
|
|
410
|
+
/** Shared infrastructure repository url. */
|
|
411
|
+
repoUrl?: string;
|
|
412
|
+
/** Shared infrastructure repository base branch. */
|
|
413
|
+
repoBaseBranch: string;
|
|
414
|
+
/** Stack used to generate this shared infrastructure. */
|
|
415
|
+
stackVersionId?: string;
|
|
416
|
+
/** Starter used to generate this shared infrastructure. */
|
|
417
|
+
starterId?: string;
|
|
418
|
+
};
|
|
419
|
+
export type UpdateSharedInfraRequest = {
|
|
420
|
+
/** Shared infrastructure name. */
|
|
421
|
+
name?: string;
|
|
422
|
+
/** Shared infrastructure description. */
|
|
423
|
+
description?: string;
|
|
424
|
+
/** Shared infrastructure repository URL. */
|
|
425
|
+
repoUrl?: string;
|
|
426
|
+
/** Shared infrastructure repository base branch. */
|
|
427
|
+
repoBaseBranch?: string;
|
|
428
|
+
};
|
|
429
|
+
export type SharedInfraLinkReadResponse = {
|
|
430
|
+
/** Shared infra link id. */
|
|
431
|
+
id?: string;
|
|
432
|
+
/** Shared infra link name. */
|
|
433
|
+
name?: string;
|
|
434
|
+
/** Shared infra link url. */
|
|
435
|
+
url?: string;
|
|
436
|
+
/** Shared infra link image URL. */
|
|
437
|
+
imageUrl?: string;
|
|
438
|
+
};
|
|
439
|
+
export type CreateSharedInfraLinkRequest = {
|
|
440
|
+
/** Shared infra link name. */
|
|
441
|
+
name: string;
|
|
442
|
+
/** Shared infra URL. */
|
|
443
|
+
url?: string;
|
|
444
|
+
/** Shared infra image base64. */
|
|
445
|
+
image?: string;
|
|
446
|
+
};
|
|
447
|
+
export type RequiredConnectionInterface = {
|
|
448
|
+
connectionInterfaceId: string;
|
|
449
|
+
"type": string;
|
|
450
|
+
existing: boolean;
|
|
451
|
+
};
|
|
452
|
+
export type Attribute = {
|
|
453
|
+
key: string;
|
|
454
|
+
value: object;
|
|
455
|
+
};
|
|
456
|
+
export type PluginElementSnapshot = {
|
|
457
|
+
pluginVersionId: string;
|
|
458
|
+
"type": string;
|
|
459
|
+
requiredConnectionInterfaces: RequiredConnectionInterface[];
|
|
460
|
+
attributes: Attribute[];
|
|
461
|
+
};
|
|
462
|
+
export type SharedInfraDeploySnapshotRequest = {
|
|
463
|
+
/** Deployment Id. */
|
|
464
|
+
deploymentId?: string;
|
|
465
|
+
/** Deployment Id. */
|
|
466
|
+
environmentId?: string;
|
|
467
|
+
/** Input attributes for applied app plugin. */
|
|
468
|
+
plugins?: PluginElementSnapshot[];
|
|
469
|
+
};
|
|
470
|
+
export type StartRunRequest = {
|
|
471
|
+
/** Requestor's email. */
|
|
472
|
+
requestedBy?: string;
|
|
473
|
+
/** Action to perform. */
|
|
474
|
+
action?: "CREATE" | "UPDATE" | "DELETE" | "RUN";
|
|
475
|
+
/** Run ID. */
|
|
476
|
+
runId?: string;
|
|
477
|
+
/** Environment id. */
|
|
478
|
+
environmentId?: string;
|
|
479
|
+
/** Application id. */
|
|
480
|
+
applicationId?: string;
|
|
481
|
+
/** Shared Infra id. */
|
|
482
|
+
sharedInfrastructureId?: string;
|
|
483
|
+
/** Deploy type. */
|
|
484
|
+
"type"?: "DEPLOY" | "ROLLBACK" | "DESTROY" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
485
|
+
/** Pipeline URL for self hosted deployment. */
|
|
486
|
+
pipelineLink?: string;
|
|
487
|
+
/** Application Manifest. */
|
|
488
|
+
appManifesto?: string;
|
|
489
|
+
/** List of plugins that contain in deploy, rollback or destroy. */
|
|
490
|
+
plugins?: Plugins[];
|
|
491
|
+
};
|
|
492
|
+
export type WorkspaceLinkReadResponse = {
|
|
493
|
+
/** Shared infra link id. */
|
|
494
|
+
id?: string;
|
|
495
|
+
/** Workspace link name. */
|
|
496
|
+
name?: string;
|
|
497
|
+
/** Workspace link url. */
|
|
498
|
+
url?: string;
|
|
499
|
+
/** Workspace link image URL. */
|
|
500
|
+
imageUrl?: string;
|
|
501
|
+
};
|
|
502
|
+
export type CreateWorkspaceLinkRequest = {
|
|
503
|
+
/** Workspace link name. */
|
|
504
|
+
name: string;
|
|
505
|
+
/** Workspace link URL. */
|
|
506
|
+
url?: string;
|
|
507
|
+
/** Workspace link image base64. */
|
|
508
|
+
image?: string;
|
|
509
|
+
};
|
|
510
|
+
export type WorkspaceEmbeddedLinkReadResponse = {
|
|
511
|
+
/** Workspace embedded link id. */
|
|
512
|
+
id?: string;
|
|
513
|
+
/** Workspace embedded link name. */
|
|
514
|
+
name?: string;
|
|
515
|
+
/** Workspace embedded link url. */
|
|
516
|
+
url?: string;
|
|
517
|
+
/** Workspace embedded link image URL. */
|
|
518
|
+
imageUrl?: string;
|
|
519
|
+
/** Workspace embedded link layout. */
|
|
520
|
+
layout?: object;
|
|
521
|
+
};
|
|
522
|
+
export type CreateWorkspaceEmbeddedLinkRequest = {
|
|
523
|
+
/** Workspace embedded link name. */
|
|
524
|
+
name: string;
|
|
525
|
+
/** Workspace embedded link URL. */
|
|
526
|
+
url?: string;
|
|
527
|
+
/** Workspace embedded link image base64. */
|
|
528
|
+
image?: string;
|
|
529
|
+
};
|
|
530
|
+
export type ConnectionInterfaceSummaryResponse = {
|
|
531
|
+
/** Connection interface id. */
|
|
532
|
+
id?: string;
|
|
533
|
+
/** Connection interface id type generate by client. */
|
|
534
|
+
typeId?: string;
|
|
535
|
+
/** Shared infra that was used to generated this Connection interface. */
|
|
536
|
+
sharedInfraId?: string;
|
|
537
|
+
/** Application that was used to generated this Connection interface. */
|
|
538
|
+
applicationId?: string;
|
|
539
|
+
/** Connection interface id generated by client. */
|
|
540
|
+
connectionInterfaceId?: string;
|
|
541
|
+
/** Indicates if this connection interface was generated by a plugin or manually. */
|
|
542
|
+
automaticallyGenerated?: boolean;
|
|
543
|
+
/** The version ID of the plugin that generated this. */
|
|
544
|
+
sourcePluginVersionId?: string;
|
|
545
|
+
};
|
|
546
|
+
export type CreateConnectionInterfaceRequest = {
|
|
547
|
+
/** Connection interface type id. */
|
|
548
|
+
typeId?: string;
|
|
549
|
+
/** Connection interface id generated by client. */
|
|
550
|
+
connectionInterfaceId?: string;
|
|
551
|
+
/** Connection interface owner applications. */
|
|
552
|
+
applicationId?: string;
|
|
553
|
+
/** Connection interface owner shared infra. */
|
|
554
|
+
sharedInfraId?: string;
|
|
555
|
+
/** Version id from plugin that generated this connection interface. */
|
|
556
|
+
sourcePluginVersionId?: string;
|
|
557
|
+
/** Indicates if this connection interface was generated by a plugin or manually. */
|
|
558
|
+
automaticallyGenerated?: boolean;
|
|
559
|
+
/** Connection interface attributes. */
|
|
560
|
+
attributesByEnv?: ConnectionInterfaceAttributesByEnv[];
|
|
561
|
+
};
|
|
562
|
+
export type UpdateConnectionInterfaceVisibilityRequest = {
|
|
563
|
+
/** Ids */
|
|
564
|
+
ids?: string[];
|
|
565
|
+
/** Type */
|
|
566
|
+
type?: "ACCOUNT" | "APPLICATION" | "WORKSPACE";
|
|
567
|
+
};
|
|
568
|
+
export type ApplicationReadResponse = {
|
|
569
|
+
/** Application id. */
|
|
570
|
+
id?: string;
|
|
571
|
+
/** Application name. */
|
|
572
|
+
name?: string;
|
|
573
|
+
/** Application description. */
|
|
574
|
+
description?: string;
|
|
575
|
+
/** Application repository url. */
|
|
576
|
+
repoUrl?: string;
|
|
577
|
+
/** Application repository base branch. */
|
|
578
|
+
repoBaseBranch?: string;
|
|
579
|
+
/** Stack used to generate this application. */
|
|
580
|
+
stackVersionId?: string;
|
|
581
|
+
/** Starter used to generate this application. */
|
|
582
|
+
starterId?: string;
|
|
583
|
+
/** Application status. */
|
|
584
|
+
status?: string;
|
|
585
|
+
/** Application creator. */
|
|
586
|
+
createdBy?: string;
|
|
587
|
+
/** Application creation date. */
|
|
588
|
+
createdAt?: string;
|
|
589
|
+
/** Application updater. */
|
|
590
|
+
updatedBy?: string;
|
|
591
|
+
/** Application update date. */
|
|
592
|
+
updatedAt?: string;
|
|
593
|
+
};
|
|
594
|
+
export type CreateApplicationRequest = {
|
|
595
|
+
/** Application name. */
|
|
596
|
+
name: string;
|
|
597
|
+
/** Application description. */
|
|
598
|
+
description?: string;
|
|
599
|
+
/** Application repository url. */
|
|
600
|
+
repoUrl?: string;
|
|
601
|
+
/** Application repository base branch. */
|
|
602
|
+
repoBaseBranch: string;
|
|
603
|
+
/** Stack used to generate this application. */
|
|
604
|
+
stackVersionId: string;
|
|
605
|
+
/** Starter used to generate this application. */
|
|
606
|
+
starterId: string;
|
|
607
|
+
};
|
|
608
|
+
export type RecreateApplicationRequest = {
|
|
609
|
+
/** Application name. */
|
|
610
|
+
name: string;
|
|
611
|
+
/** Application description. */
|
|
612
|
+
description?: string;
|
|
613
|
+
/** Application repository url. */
|
|
614
|
+
repoUrl?: string;
|
|
615
|
+
/** Application repository base branch. */
|
|
616
|
+
repoBaseBranch: string;
|
|
617
|
+
/** Stack used to generate this application. */
|
|
618
|
+
stackVersionId: string;
|
|
619
|
+
/** Starter used to generate this application. */
|
|
620
|
+
starterId: string;
|
|
621
|
+
};
|
|
622
|
+
export type UpdateApplicationRequest = {
|
|
623
|
+
/** Application name. */
|
|
624
|
+
name?: string;
|
|
625
|
+
/** Application description. */
|
|
626
|
+
description?: string;
|
|
627
|
+
/** Application repository url. */
|
|
628
|
+
repoUrl?: string;
|
|
629
|
+
/** Application repository base branch. */
|
|
630
|
+
repoBaseBranch?: string;
|
|
631
|
+
};
|
|
632
|
+
export type ApplicationLinkReadResponse = {
|
|
633
|
+
/** Shared infra link id. */
|
|
634
|
+
id?: string;
|
|
635
|
+
/** Application link name. */
|
|
636
|
+
name?: string;
|
|
637
|
+
/** Application link url. */
|
|
638
|
+
url?: string;
|
|
639
|
+
/** Application link image URL. */
|
|
640
|
+
imageUrl?: string;
|
|
641
|
+
};
|
|
642
|
+
export type CreateApplicationLinkRequest = {
|
|
643
|
+
/** Application link name. */
|
|
644
|
+
name: string;
|
|
645
|
+
/** Application link URL. */
|
|
646
|
+
url?: string;
|
|
647
|
+
/** Application link image base64. */
|
|
648
|
+
image?: string;
|
|
649
|
+
};
|
|
650
|
+
export type ApplicationDestroyRequest = {
|
|
651
|
+
/** Destroy status. */
|
|
652
|
+
status?: "SUCCESS" | "FAILED";
|
|
653
|
+
};
|
|
654
|
+
export type MetaDataRequest = {
|
|
655
|
+
name: string;
|
|
656
|
+
};
|
|
657
|
+
export type ConnectionInterfaceRequest = {
|
|
658
|
+
/** Connection interface name */
|
|
659
|
+
selected: string;
|
|
660
|
+
/** Connection interface type */
|
|
661
|
+
"type": string;
|
|
662
|
+
/** Connection interface alias */
|
|
663
|
+
alias: string;
|
|
664
|
+
};
|
|
665
|
+
export type ConnectionsRequest = {
|
|
666
|
+
/** Connections interface requires per plugin */
|
|
667
|
+
requires?: ConnectionInterfaceRequest[];
|
|
668
|
+
/** Connections interface generates per plugin */
|
|
669
|
+
generates?: ConnectionInterfaceRequest[];
|
|
670
|
+
};
|
|
671
|
+
export type GeneratesRequest = {
|
|
672
|
+
/** Generated link name */
|
|
673
|
+
name: string;
|
|
674
|
+
/** Generated link url */
|
|
675
|
+
url: string;
|
|
676
|
+
/** Generated link type */
|
|
677
|
+
"type": string;
|
|
678
|
+
/** Generated link picture */
|
|
679
|
+
picture: string;
|
|
680
|
+
};
|
|
681
|
+
export type PluginLinkRequest = {
|
|
682
|
+
generates: GeneratesRequest[];
|
|
683
|
+
};
|
|
684
|
+
export type AppliedPluginsRequest = {
|
|
685
|
+
/** Plugin name */
|
|
686
|
+
name: string;
|
|
687
|
+
/** Plugin alias */
|
|
688
|
+
alias: string;
|
|
689
|
+
/** Plugin type */
|
|
690
|
+
"type": string;
|
|
691
|
+
/** Plugin version id */
|
|
692
|
+
pluginVersionId: string;
|
|
693
|
+
/** Stack version id */
|
|
694
|
+
stackVersionId: string;
|
|
695
|
+
/** Plugin inputs */
|
|
696
|
+
inputs?: {
|
|
697
|
+
[key: string]: object;
|
|
698
|
+
};
|
|
699
|
+
connections?: ConnectionsRequest;
|
|
700
|
+
links?: PluginLinkRequest;
|
|
701
|
+
};
|
|
702
|
+
export type SpecRequest = {
|
|
703
|
+
/** Deploy specification id */
|
|
704
|
+
id: string;
|
|
705
|
+
/** Deploy specification repository */
|
|
706
|
+
repository: string;
|
|
707
|
+
/** Plugins applied in deploy */
|
|
708
|
+
appliedPlugins?: AppliedPluginsRequest[];
|
|
709
|
+
};
|
|
710
|
+
export type AppManifestoRequest = {
|
|
711
|
+
/** Deployment schema version */
|
|
712
|
+
schemaVersion: string;
|
|
713
|
+
/** Deployment kind */
|
|
714
|
+
kind: string;
|
|
715
|
+
metadata?: MetaDataRequest;
|
|
716
|
+
spec?: SpecRequest;
|
|
717
|
+
};
|
|
718
|
+
export type ApplicationDeployRequest = {
|
|
719
|
+
/** Deploy status. */
|
|
720
|
+
status?: "SUCCESS" | "FAILED";
|
|
721
|
+
/** Deploy version. */
|
|
722
|
+
version: string;
|
|
723
|
+
appManifesto?: AppManifestoRequest;
|
|
724
|
+
};
|
|
725
|
+
export type ApplicationEmbeddedLinkReadResponse = {
|
|
726
|
+
/** Application embedded link id. */
|
|
727
|
+
id?: string;
|
|
728
|
+
/** Application embedded link name. */
|
|
729
|
+
name?: string;
|
|
730
|
+
/** Application embedded link url. */
|
|
731
|
+
url?: string;
|
|
732
|
+
/** Application embedded link image URL. */
|
|
733
|
+
imageUrl?: string;
|
|
734
|
+
/** Application embedded link layout. */
|
|
735
|
+
layout?: object;
|
|
736
|
+
};
|
|
737
|
+
export type CreateApplicationEmbeddedLinkRequest = {
|
|
738
|
+
/** Application embedded link name. */
|
|
739
|
+
name: string;
|
|
740
|
+
/** Application embedded link URL. */
|
|
741
|
+
url?: string;
|
|
742
|
+
/** Application embedded link image base64. */
|
|
743
|
+
image?: string;
|
|
744
|
+
};
|
|
745
|
+
export type ApplicationDeploySnapshotRequest = {
|
|
746
|
+
/** Deployment Id. */
|
|
747
|
+
deploymentId?: string;
|
|
748
|
+
/** Deployment Id. */
|
|
749
|
+
environmentId?: string;
|
|
750
|
+
/** Input attributes for applied app plugin. */
|
|
751
|
+
plugins?: PluginElementSnapshot[];
|
|
752
|
+
};
|
|
753
|
+
export type EnvironmentReadResponse = {
|
|
754
|
+
/** Environment id. */
|
|
755
|
+
id?: string;
|
|
756
|
+
/** Environment name. */
|
|
757
|
+
name?: string;
|
|
758
|
+
/** Environment description. */
|
|
759
|
+
description?: string;
|
|
760
|
+
/** Environment accountId. */
|
|
761
|
+
accountId?: string;
|
|
762
|
+
};
|
|
763
|
+
export type EnvironmentSaveRequest = {
|
|
764
|
+
/** Environment name. */
|
|
765
|
+
name: string;
|
|
766
|
+
/** Environment description. */
|
|
767
|
+
description: string;
|
|
768
|
+
};
|
|
769
|
+
export type EnvironmentReadBatchResponse = {
|
|
770
|
+
/** Environment id. */
|
|
771
|
+
id?: string;
|
|
772
|
+
/** Environment name. */
|
|
773
|
+
name?: string;
|
|
774
|
+
};
|
|
775
|
+
export type WorkflowResponse = {
|
|
776
|
+
id: string;
|
|
777
|
+
name: string;
|
|
778
|
+
description: string;
|
|
779
|
+
"type": string;
|
|
780
|
+
isDefault: boolean;
|
|
781
|
+
};
|
|
782
|
+
export type WorkflowActionWithContextRequest = {
|
|
783
|
+
actionId: string;
|
|
784
|
+
order: number;
|
|
785
|
+
versionRange: string;
|
|
786
|
+
stepType?: "CREATE_REPO";
|
|
787
|
+
valuesContext: ContextAttribute[];
|
|
788
|
+
};
|
|
789
|
+
export type AccountWorkflowCreateRequest = {
|
|
790
|
+
name: string;
|
|
791
|
+
description: string;
|
|
792
|
+
"type": "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
|
|
793
|
+
isDefault: boolean;
|
|
794
|
+
stacksId: string[];
|
|
795
|
+
actionsBefore: WorkflowActionWithContextRequest[];
|
|
796
|
+
actionsAfter: WorkflowActionWithContextRequest[];
|
|
797
|
+
};
|
|
798
|
+
export type AccountStackContextResponse = {
|
|
799
|
+
/** List of stack version ids with pluginVersionId list with account context. */
|
|
800
|
+
stackVersions?: StackVersionResponse[];
|
|
801
|
+
/** Account id. */
|
|
802
|
+
accountId?: string;
|
|
803
|
+
};
|
|
804
|
+
export type UpdateWorkspaceRequest = {
|
|
805
|
+
/** Workspace name. */
|
|
806
|
+
name?: string;
|
|
807
|
+
/** Workspace description. */
|
|
808
|
+
description?: string;
|
|
809
|
+
/** Workspace image base64. */
|
|
810
|
+
image?: string;
|
|
811
|
+
/** Workspace manage runtime. */
|
|
812
|
+
manageRuntime?: boolean;
|
|
813
|
+
};
|
|
814
|
+
export type UpdateSharedInfraLinkRequest = {
|
|
815
|
+
/** Shared infra link URL. */
|
|
816
|
+
url?: string;
|
|
817
|
+
/** Shared infra link image base64. */
|
|
818
|
+
image?: string;
|
|
819
|
+
name?: string;
|
|
820
|
+
};
|
|
821
|
+
export type UpdateWorkspaceLinkRequest = {
|
|
822
|
+
/** Workspace link URL. */
|
|
823
|
+
url?: string;
|
|
824
|
+
/** Workspace link image base64. */
|
|
825
|
+
image?: string;
|
|
826
|
+
name?: string;
|
|
827
|
+
};
|
|
828
|
+
export type UpdateWorkspaceEmbeddedLinkRequest = {
|
|
829
|
+
/** Workspace embedded link name. */
|
|
830
|
+
name?: string;
|
|
831
|
+
/** Workspace embedded link URL. */
|
|
832
|
+
url?: string;
|
|
833
|
+
/** Workspace embedded link image base64. */
|
|
834
|
+
image?: string;
|
|
835
|
+
};
|
|
836
|
+
export type UpsertWorkspaceEmbeddedLinkRequest = {
|
|
837
|
+
/** Workspace embedded link id. */
|
|
838
|
+
id?: string;
|
|
839
|
+
/** Workspace embedded link layout. */
|
|
840
|
+
layout?: object;
|
|
841
|
+
};
|
|
842
|
+
export type UpdateApplicationLinkRequest = {
|
|
843
|
+
/** Shared infra link URL. */
|
|
844
|
+
url?: string;
|
|
845
|
+
/** Shared infra link image base64. */
|
|
846
|
+
image?: string;
|
|
847
|
+
name?: string;
|
|
848
|
+
};
|
|
849
|
+
export type UpdateApplicationEmbeddedLinkRequest = {
|
|
850
|
+
/** Application embedded link name. */
|
|
851
|
+
name?: string;
|
|
852
|
+
/** Application embedded link URL. */
|
|
853
|
+
url?: string;
|
|
854
|
+
/** Application embedded link image base64. */
|
|
855
|
+
image?: string;
|
|
856
|
+
};
|
|
857
|
+
export type UpsertApplicationEmbeddedLinkRequest = {
|
|
858
|
+
/** Application embedded link id. */
|
|
859
|
+
id?: string;
|
|
860
|
+
/** Application embedded link layout. */
|
|
861
|
+
layout?: object;
|
|
862
|
+
};
|
|
863
|
+
export type EnvironmentUpdateRequest = {
|
|
864
|
+
/** Environment name. */
|
|
865
|
+
name?: string;
|
|
866
|
+
/** Environment description. */
|
|
867
|
+
description?: string;
|
|
868
|
+
};
|
|
869
|
+
export type AppliedConnectionInterface = {
|
|
870
|
+
slug: string;
|
|
871
|
+
"type": string;
|
|
872
|
+
alias: string;
|
|
873
|
+
};
|
|
874
|
+
export type ConnectionsResponse = {
|
|
875
|
+
requires?: AppliedConnectionInterface[];
|
|
876
|
+
generates?: AppliedConnectionInterface[];
|
|
877
|
+
};
|
|
878
|
+
export type Link = {
|
|
879
|
+
name: string;
|
|
880
|
+
url: string;
|
|
881
|
+
"type": string;
|
|
882
|
+
picture: string;
|
|
883
|
+
};
|
|
884
|
+
export type AppliedPluginV2Response = {
|
|
885
|
+
name: string;
|
|
886
|
+
"type"?: string;
|
|
887
|
+
alias: string;
|
|
888
|
+
pluginVersionId: string;
|
|
889
|
+
stackVersionId: string;
|
|
890
|
+
status?: "PENDING" | "READY_TO_RUN" | "RUNNING" | "SUCCEEDED" | "FAILED" | "INTERNAL_ERROR" | "ABORTED" | "EXTERNAL_ERROR" | "DESTROYED";
|
|
891
|
+
runType?: "DEPLOY" | "DEPLOY_SELF_HOSTED" | "DESTROY" | "DESTROY_SELF_HOSTED" | "IAC" | "IAC_SELF_HOSTED";
|
|
892
|
+
inCloud?: boolean;
|
|
893
|
+
inputs?: {
|
|
894
|
+
[key: string]: object;
|
|
895
|
+
};
|
|
896
|
+
connections?: ConnectionsResponse;
|
|
897
|
+
links?: Link[];
|
|
898
|
+
};
|
|
899
|
+
export type ConnectionInterfaceSummaryV2Response = {
|
|
900
|
+
/** Connection interface api id. */
|
|
901
|
+
apiId?: string;
|
|
902
|
+
/** Connection interface id type generate by client. */
|
|
903
|
+
typeId?: string;
|
|
904
|
+
/** Connection interface id generated by client. */
|
|
905
|
+
slug?: string;
|
|
906
|
+
/** Indicates if this connection interface was generated by a plugin or manually. */
|
|
907
|
+
automaticallyGenerated?: boolean;
|
|
908
|
+
/** The version ID of the plugin that generated this. */
|
|
909
|
+
sourcePluginVersionId?: string;
|
|
910
|
+
};
|
|
911
|
+
export type Visibility = {
|
|
912
|
+
/** Connection visibility type. */
|
|
913
|
+
"type"?: "ACCOUNT" | "APPLICATION" | "WORKSPACE";
|
|
914
|
+
/** IDs (based on type) for which connection interface is visible. */
|
|
915
|
+
ids?: string[];
|
|
916
|
+
};
|
|
917
|
+
export type ConnectionInterfaceDetailsV2Response = {
|
|
918
|
+
/** Connection interface type. */
|
|
919
|
+
typeId?: string;
|
|
920
|
+
/** Connection interface id generated by client. */
|
|
921
|
+
slug?: string;
|
|
922
|
+
visibility?: Visibility;
|
|
923
|
+
/** Version id from plugin that generated this connection interface. */
|
|
924
|
+
sourcePluginVersionId?: string;
|
|
925
|
+
/** Indicates if this connection interface was generated by a plugin or manually. */
|
|
926
|
+
automaticallyGenerated?: boolean;
|
|
927
|
+
/** Connection interface attributes. */
|
|
928
|
+
attributesByEnv?: ConnectionInterfaceAttributesByEnv[];
|
|
929
|
+
};
|
|
930
|
+
export type PluginInUseResponse = {
|
|
931
|
+
name: string;
|
|
932
|
+
alias: string;
|
|
933
|
+
pluginVersionId: string;
|
|
934
|
+
stackVersionId: string;
|
|
935
|
+
inputs?: {
|
|
936
|
+
[key: string]: object;
|
|
937
|
+
};
|
|
938
|
+
connections?: ConnectionsResponse;
|
|
939
|
+
};
|
|
940
|
+
export type ConnectionInterfaceInUseByTargetIdDetailsResponse = {
|
|
941
|
+
environmentId: string;
|
|
942
|
+
targets: PluginInUseResponse[];
|
|
943
|
+
};
|
|
944
|
+
export type ConsolidatedAttr = {
|
|
945
|
+
key: string;
|
|
946
|
+
value: object;
|
|
947
|
+
mandate: boolean;
|
|
948
|
+
source: string;
|
|
949
|
+
};
|
|
950
|
+
export type ConsolidatedAttrByEnv = {
|
|
951
|
+
environmentId: string;
|
|
952
|
+
attributes: ConsolidatedAttr[];
|
|
953
|
+
};
|
|
954
|
+
export type ConsolidatedContextResponse = {
|
|
955
|
+
externalId: string;
|
|
956
|
+
attributesByEnv: ConsolidatedAttrByEnv[];
|
|
957
|
+
};
|
|
958
|
+
export type AccountWorkflowResponse = {
|
|
959
|
+
workflowId: string;
|
|
960
|
+
name: string;
|
|
961
|
+
description: string;
|
|
962
|
+
isDefault: boolean;
|
|
963
|
+
"type"?: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
|
|
964
|
+
actionsBefore: WorkflowActionResponse[];
|
|
965
|
+
actionsAfter: WorkflowActionResponse[];
|
|
966
|
+
};
|
|
967
|
+
export type AppliedAttribute = {
|
|
968
|
+
key: string;
|
|
969
|
+
value: string;
|
|
970
|
+
};
|
|
971
|
+
export type AppliedPluginResponse = {
|
|
972
|
+
pluginVersionId: string;
|
|
973
|
+
"type": string;
|
|
974
|
+
attributes: AppliedAttribute[];
|
|
975
|
+
connectionInterfaces: AppliedConnectionInterface[];
|
|
976
|
+
};
|
|
977
|
+
export type ActivityResponse = {
|
|
978
|
+
title?: string;
|
|
979
|
+
version?: string;
|
|
980
|
+
owner?: string;
|
|
981
|
+
status: "SUCCESS" | "FAILED" | "SKIPPED" | "CANCELLED" | "RUNTIME_ERROR" | "INTERNAL_ERROR" | "EXTERNAL_ERROR" | "ABORTED" | "ABORTING" | "SUCCEEDED" | "USER_ERROR" | "DRIFT" | "RUNNING" | "READY_TO_RUN" | "PENDING" | "NONE";
|
|
982
|
+
"type"?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED" | "CUSTOMER_WORKFLOW";
|
|
983
|
+
requestedBy?: string;
|
|
984
|
+
action?: "CREATE" | "UPDATE" | "DELETE" | "RUN";
|
|
985
|
+
time: number;
|
|
986
|
+
detail: {
|
|
987
|
+
[key: string]: object;
|
|
988
|
+
};
|
|
989
|
+
};
|
|
990
|
+
export type PaginatedActivityResponse = {
|
|
991
|
+
items: ActivityResponse[];
|
|
992
|
+
currentPage: number;
|
|
993
|
+
totalItems: number;
|
|
994
|
+
totalPages: number;
|
|
995
|
+
pageSize: number;
|
|
996
|
+
hasNextPage: boolean;
|
|
997
|
+
};
|
|
998
|
+
export type AppDependencyConnInterfaceResponse = {
|
|
999
|
+
name: string;
|
|
1000
|
+
"type": string;
|
|
1001
|
+
};
|
|
1002
|
+
export type Dependencies = {
|
|
1003
|
+
environmentName: string;
|
|
1004
|
+
hasSelfHostedInfra: boolean;
|
|
1005
|
+
hasApplication: boolean;
|
|
1006
|
+
connectionInterfaces: AppDependencyConnInterfaceResponse[];
|
|
1007
|
+
};
|
|
1008
|
+
export type AppAndInfraDependencyResponse = {
|
|
1009
|
+
canDelete: boolean;
|
|
1010
|
+
hasSelfHostedInfra: boolean;
|
|
1011
|
+
hasApplication: boolean;
|
|
1012
|
+
dependencies: Dependencies[];
|
|
1013
|
+
};
|
|
1014
|
+
export type ConnectionInterfaceDetailsResponse = {
|
|
1015
|
+
/** Connection interface id. */
|
|
1016
|
+
id?: string;
|
|
1017
|
+
/** Connection interface type id. */
|
|
1018
|
+
typeId?: string;
|
|
1019
|
+
/** Connection interface id generated by client. */
|
|
1020
|
+
connectionInterfaceId?: string;
|
|
1021
|
+
visibility?: Visibility;
|
|
1022
|
+
/** Version id from plugin that generated this connection interface. */
|
|
1023
|
+
sourcePluginVersionId?: string;
|
|
1024
|
+
/** Indicates if this connection interface was generated by a plugin or manually. */
|
|
1025
|
+
automaticallyGenerated?: boolean;
|
|
1026
|
+
/** Connection interface attributes. */
|
|
1027
|
+
attributesByEnv?: ConnectionInterfaceAttributesByEnv[];
|
|
1028
|
+
};
|
|
1029
|
+
export type DeploymentTargetsResponse = {
|
|
1030
|
+
targetId: string;
|
|
1031
|
+
targetType?: "APPLICATION" | "SHARED_INFRA";
|
|
1032
|
+
environmentId: string;
|
|
1033
|
+
};
|
|
1034
|
+
export type ConnectionInterfaceInUseDetailsResponse = {
|
|
1035
|
+
slug: string;
|
|
1036
|
+
targets: DeploymentTargetsResponse[];
|
|
1037
|
+
};
|
|
1038
|
+
export type ConnectionInterfaceInUseSummaryResponse = {
|
|
1039
|
+
targetId: string;
|
|
1040
|
+
targetType?: "APPLICATION" | "SHARED_INFRA";
|
|
1041
|
+
environmentId: string;
|
|
1042
|
+
};
|
|
1043
|
+
export type MetaDataResponse = {
|
|
1044
|
+
name: string;
|
|
1045
|
+
};
|
|
1046
|
+
export type SpecResponse = {
|
|
1047
|
+
id?: string;
|
|
1048
|
+
repository?: string;
|
|
1049
|
+
appliedPlugins: AppliedPluginV2Response[];
|
|
1050
|
+
};
|
|
1051
|
+
export type AppManifestoResponse = {
|
|
1052
|
+
schemaVersion: string;
|
|
1053
|
+
kind: string;
|
|
1054
|
+
metadata: MetaDataResponse;
|
|
1055
|
+
spec: SpecResponse;
|
|
1056
|
+
};
|
|
1057
|
+
export type AppDeployResponse = {
|
|
1058
|
+
deploymentId: string;
|
|
1059
|
+
targetId: string;
|
|
1060
|
+
targetType: "APPLICATION" | "SHARED_INFRA";
|
|
1061
|
+
targetVersion?: string;
|
|
1062
|
+
workspaceId: string;
|
|
1063
|
+
accountId: string;
|
|
1064
|
+
environmentId: string;
|
|
1065
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1066
|
+
deployStatus: "SUCCEEDED" | "FAILED";
|
|
1067
|
+
requestedBy: string;
|
|
1068
|
+
dateTime: string;
|
|
1069
|
+
manifesto: AppManifestoResponse;
|
|
1070
|
+
};
|
|
1071
|
+
export type InfraManifestoResponse = {
|
|
1072
|
+
schemaVersion?: string;
|
|
1073
|
+
kind?: string;
|
|
1074
|
+
metadata?: MetaDataResponse;
|
|
1075
|
+
spec: SpecResponse;
|
|
1076
|
+
};
|
|
1077
|
+
export type InfraDeployResponse = {
|
|
1078
|
+
deploymentId: string;
|
|
1079
|
+
targetId: string;
|
|
1080
|
+
targetType?: "APPLICATION" | "SHARED_INFRA";
|
|
1081
|
+
targetVersion?: string;
|
|
1082
|
+
workspaceId: string;
|
|
1083
|
+
accountId: string;
|
|
1084
|
+
environmentId: string;
|
|
1085
|
+
"type"?: "DEPLOY" | "ROLLBACK" | "DESTROY" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED";
|
|
1086
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1087
|
+
action?: "CREATE" | "UPDATE" | "DELETE" | "RUN";
|
|
1088
|
+
requestedBy?: string;
|
|
1089
|
+
manifesto: InfraManifestoResponse;
|
|
1090
|
+
};
|
|
1091
|
+
export type ApplicationDeployInfoResponse = {
|
|
1092
|
+
appDeploy?: AppDeployResponse;
|
|
1093
|
+
infraDeploy?: InfraDeployResponse;
|
|
1094
|
+
};
|
|
1095
|
+
export type EnvironmentsRequest = {
|
|
1096
|
+
environmentId: string;
|
|
1097
|
+
environmentName?: string;
|
|
1098
|
+
hasSaasDeploy: boolean;
|
|
1099
|
+
hasSelHostedDeploy: boolean;
|
|
1100
|
+
hasActiveApplicationDeploy: boolean;
|
|
1101
|
+
};
|
|
1102
|
+
export type ApplicationCanBeDeletedResponse = {
|
|
1103
|
+
targetId: string;
|
|
1104
|
+
targetType: "APPLICATION" | "SHARED_INFRA";
|
|
1105
|
+
environments: EnvironmentsRequest[];
|
|
1106
|
+
};
|
|
1107
|
+
export type WorkspaceInfo = {
|
|
1108
|
+
/** Workspace id. */
|
|
1109
|
+
id?: string;
|
|
1110
|
+
/** Workspace name */
|
|
1111
|
+
name?: string;
|
|
1112
|
+
};
|
|
1113
|
+
export type GetSharedInfraResponse = {
|
|
1114
|
+
/** Shared infrastructure id. */
|
|
1115
|
+
id?: string;
|
|
1116
|
+
/** Shared infrastructure name. */
|
|
1117
|
+
name?: string;
|
|
1118
|
+
/** Shared infrastructure description. */
|
|
1119
|
+
description?: string;
|
|
1120
|
+
/** Shared infrastructure repository url. */
|
|
1121
|
+
repoUrl?: string;
|
|
1122
|
+
/** Shared infrastructure repository base branch. */
|
|
1123
|
+
repoBaseBranch?: string;
|
|
1124
|
+
/** Stack used to generate this shared infrastructure. */
|
|
1125
|
+
stackVersionId?: string;
|
|
1126
|
+
workspace?: WorkspaceInfo;
|
|
1127
|
+
};
|
|
1128
|
+
export type PluginInUseDetailsResponse = {
|
|
1129
|
+
workspaceId: string;
|
|
1130
|
+
targets: DeploymentTargetsResponse[];
|
|
1131
|
+
};
|
|
1132
|
+
export type CheckConnectionSlugAvailabilityResponse = {
|
|
1133
|
+
/** Whether connection slug is available or not. */
|
|
1134
|
+
available?: boolean;
|
|
1135
|
+
};
|
|
1136
|
+
export type WorkspaceResponse = {
|
|
1137
|
+
/** Workspace id. */
|
|
1138
|
+
id?: string;
|
|
1139
|
+
/** Workspace name. */
|
|
1140
|
+
name?: string;
|
|
1141
|
+
};
|
|
1142
|
+
export type ApplicationRepoUrlReadResponse = {
|
|
1143
|
+
/** Application id. */
|
|
1144
|
+
id?: string;
|
|
1145
|
+
/** Application name. */
|
|
1146
|
+
name?: string;
|
|
1147
|
+
/** Application status. */
|
|
1148
|
+
status?: "CREATED" | "CREATE_FAILED" | "DRAFT" | "DELETING" | "DELETE_FAILED" | "ARCHIVING" | "ARCHIVED" | "ARCHIVE_FAILED";
|
|
1149
|
+
/** Application description. */
|
|
1150
|
+
description?: string;
|
|
1151
|
+
workspace?: WorkspaceResponse;
|
|
1152
|
+
};
|
|
1153
|
+
export type GetApplicationResponse = {
|
|
1154
|
+
/** Application id. */
|
|
1155
|
+
id?: string;
|
|
1156
|
+
/** Application name. */
|
|
1157
|
+
name?: string;
|
|
1158
|
+
/** Application description. */
|
|
1159
|
+
description?: string;
|
|
1160
|
+
/** Application repository url. */
|
|
1161
|
+
repoUrl?: string;
|
|
1162
|
+
/** Application repository base branch. */
|
|
1163
|
+
repoBaseBranch?: string;
|
|
1164
|
+
/** Stack used to generate this application. */
|
|
1165
|
+
stackVersionId?: string;
|
|
1166
|
+
/** Starter used to generate this application. */
|
|
1167
|
+
starterId?: string;
|
|
1168
|
+
workspace?: WorkspaceInfo;
|
|
1169
|
+
};
|
|
1170
|
+
export type WorkflowActionUsageResponse = {
|
|
1171
|
+
versionRanges: string[];
|
|
1172
|
+
};
|
|
1173
|
+
export type AccountAttr = {
|
|
1174
|
+
key: string;
|
|
1175
|
+
value: object;
|
|
1176
|
+
mandate: boolean;
|
|
1177
|
+
};
|
|
1178
|
+
export type AccountAttrByEnv = {
|
|
1179
|
+
environmentId: string;
|
|
1180
|
+
attributes: AccountAttr[];
|
|
1181
|
+
};
|
|
1182
|
+
export type AccountContextResponse = {
|
|
1183
|
+
externalId: string;
|
|
1184
|
+
attributesByEnv: AccountAttrByEnv[];
|
|
1185
|
+
};
|
|
1186
|
+
export type WorkflowSimpleResponse = {
|
|
1187
|
+
id: string;
|
|
1188
|
+
name: string;
|
|
1189
|
+
"type": string;
|
|
1190
|
+
};
|
|
1191
|
+
export type StackWorkflowResponse = {
|
|
1192
|
+
id: string;
|
|
1193
|
+
workflows: WorkflowSimpleResponse[];
|
|
1194
|
+
};
|
|
1195
|
+
export type StacksByAccountResponse = {
|
|
1196
|
+
accountId: string;
|
|
1197
|
+
stacks: StackWorkflowResponse[];
|
|
1198
|
+
};
|
|
1199
|
+
/**
|
|
1200
|
+
* List all configured context of an workflow by workspace and stack.
|
|
1201
|
+
*/
|
|
1202
|
+
export declare function listContextByWorkspaceStack({ workspaceId, workflowId, stackId }: {
|
|
1203
|
+
workspaceId: string;
|
|
1204
|
+
workflowId: string;
|
|
1205
|
+
stackId: string;
|
|
1206
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkflowContextResponse>;
|
|
1207
|
+
/**
|
|
1208
|
+
* Save workspace workflow context
|
|
1209
|
+
*/
|
|
1210
|
+
export declare function saveWorkspaceWorkflowContext({ workspaceId, workflowId, stackId, workspaceWorkflowCreateRequest }: {
|
|
1211
|
+
workspaceId: string;
|
|
1212
|
+
workflowId: string;
|
|
1213
|
+
stackId: string;
|
|
1214
|
+
workspaceWorkflowCreateRequest: WorkspaceWorkflowCreateRequest;
|
|
1215
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Get a workspace's variable
|
|
1218
|
+
*/
|
|
1219
|
+
export declare function getV1WorkspacesByWorkspaceIdVariablesAndName({ workspaceId, name }: {
|
|
1220
|
+
workspaceId: string;
|
|
1221
|
+
name: string;
|
|
1222
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableReadResponse>;
|
|
1223
|
+
/**
|
|
1224
|
+
* Update a workspace's variable
|
|
1225
|
+
*/
|
|
1226
|
+
export declare function update({ workspaceId, name, updateWorkspaceVariableRequest }: {
|
|
1227
|
+
workspaceId: string;
|
|
1228
|
+
name: string;
|
|
1229
|
+
updateWorkspaceVariableRequest: UpdateWorkspaceVariableRequest;
|
|
1230
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableReadResponse>;
|
|
1231
|
+
/**
|
|
1232
|
+
* Delete a workspace's variable
|
|
1233
|
+
*/
|
|
1234
|
+
export declare function delete1({ workspaceId, name }: {
|
|
1235
|
+
workspaceId: string;
|
|
1236
|
+
name: string;
|
|
1237
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1238
|
+
/**
|
|
1239
|
+
* Add context to a typed element in a workspace's stack.
|
|
1240
|
+
*/
|
|
1241
|
+
export declare function addTypedContextInWorkspace({ workspaceId, stackVersionId, externalId, $type, addTypedContextRequest }: {
|
|
1242
|
+
workspaceId: string;
|
|
1243
|
+
stackVersionId: string;
|
|
1244
|
+
externalId: string;
|
|
1245
|
+
$type: "plugin" | "action";
|
|
1246
|
+
addTypedContextRequest: AddTypedContextRequest;
|
|
1247
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1248
|
+
/**
|
|
1249
|
+
* Get Workflow of a stack in a workspace.
|
|
1250
|
+
*/
|
|
1251
|
+
export declare function getWorkspaceWorkflow({ workspaceId, stackVersionId, identifier }: {
|
|
1252
|
+
workspaceId: string;
|
|
1253
|
+
stackVersionId: string;
|
|
1254
|
+
identifier?: string;
|
|
1255
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkflowReadResponse[]>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Add step to a workflow belonging to a workspace.
|
|
1258
|
+
*/
|
|
1259
|
+
export declare function addWorkflowStepInWorkspace({ workspaceId, stackVersionId, addWorkspaceWorkflowStepRequest }: {
|
|
1260
|
+
workspaceId: string;
|
|
1261
|
+
stackVersionId: string;
|
|
1262
|
+
addWorkspaceWorkflowStepRequest: AddWorkspaceWorkflowStepRequest;
|
|
1263
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Import context in a workspace's stack.
|
|
1266
|
+
*/
|
|
1267
|
+
export declare function importContextInWorkspace({ workspaceId, stackVersionId, body }: {
|
|
1268
|
+
workspaceId: string;
|
|
1269
|
+
stackVersionId: string;
|
|
1270
|
+
body: ImportContextRequest[];
|
|
1271
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Update shared infrastructure status.
|
|
1274
|
+
*/
|
|
1275
|
+
export declare function updateStatus({ workspaceId, sharedInfraId, updateSharedInfraStatusRequest }: {
|
|
1276
|
+
workspaceId: string;
|
|
1277
|
+
sharedInfraId: string;
|
|
1278
|
+
updateSharedInfraStatusRequest: UpdateSharedInfraStatusRequest;
|
|
1279
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1280
|
+
/**
|
|
1281
|
+
* Get shared infra links visibility
|
|
1282
|
+
*/
|
|
1283
|
+
export declare function getVisibleLinks({ workspaceId, sharedInfraId }: {
|
|
1284
|
+
workspaceId: string;
|
|
1285
|
+
sharedInfraId: string;
|
|
1286
|
+
}, opts?: Oazapfts.RequestOpts): Promise<SharedInfraVisibleLinksResponse[]>;
|
|
1287
|
+
/**
|
|
1288
|
+
* Update application links visibility
|
|
1289
|
+
*/
|
|
1290
|
+
export declare function updateLinksVisibility({ workspaceId, sharedInfraId, body }: {
|
|
1291
|
+
workspaceId: string;
|
|
1292
|
+
sharedInfraId: string;
|
|
1293
|
+
body: UpdateSharedInfraLinkVisibilityRequest[];
|
|
1294
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1295
|
+
/**
|
|
1296
|
+
* Update activity status by workspace.
|
|
1297
|
+
*/
|
|
1298
|
+
export declare function updateRun({ accountId, workspaceId, runId, updateRunRequest }: {
|
|
1299
|
+
accountId: string;
|
|
1300
|
+
workspaceId: string;
|
|
1301
|
+
runId: string;
|
|
1302
|
+
updateRunRequest: UpdateRunRequest;
|
|
1303
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Update plugin status by workspace.
|
|
1306
|
+
*/
|
|
1307
|
+
export declare function runTask({ accountId, workspaceId, runId, runTaskRequest }: {
|
|
1308
|
+
accountId: string;
|
|
1309
|
+
workspaceId: string;
|
|
1310
|
+
runId: string;
|
|
1311
|
+
runTaskRequest: RunTaskRequest;
|
|
1312
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1313
|
+
/**
|
|
1314
|
+
* Deployment tag register.
|
|
1315
|
+
*/
|
|
1316
|
+
export declare function deploymentTag({ accountId, workspaceId, runId, deploymentTagRequest }: {
|
|
1317
|
+
accountId: string;
|
|
1318
|
+
workspaceId: string;
|
|
1319
|
+
runId: string;
|
|
1320
|
+
deploymentTagRequest: DeploymentTagRequest;
|
|
1321
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Request to upsert connection interfaces attributes.
|
|
1324
|
+
*/
|
|
1325
|
+
export declare function updateConnectionInterfaceAttributes({ workspaceId, connectionInterfaceId, updateConnectionInterfaceAttributesRequest }: {
|
|
1326
|
+
workspaceId: string;
|
|
1327
|
+
connectionInterfaceId: string;
|
|
1328
|
+
updateConnectionInterfaceAttributesRequest: UpdateConnectionInterfaceAttributesRequest;
|
|
1329
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1330
|
+
/**
|
|
1331
|
+
* Request to upsert connection interfaces.
|
|
1332
|
+
*/
|
|
1333
|
+
export declare function upsertBatch({ workspaceId, body }: {
|
|
1334
|
+
workspaceId: string;
|
|
1335
|
+
body: UpsertConnectionInterfaceRequest[];
|
|
1336
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Update application status.
|
|
1339
|
+
*/
|
|
1340
|
+
export declare function updateStatus1({ workspaceId, applicationId, accountId, updateApplicationStatusRequest }: {
|
|
1341
|
+
workspaceId: string;
|
|
1342
|
+
applicationId: string;
|
|
1343
|
+
accountId?: string;
|
|
1344
|
+
updateApplicationStatusRequest: UpdateApplicationStatusRequest;
|
|
1345
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1346
|
+
/**
|
|
1347
|
+
* Get application links visibility
|
|
1348
|
+
*/
|
|
1349
|
+
export declare function getVisibleLinks1({ workspaceId, applicationId }: {
|
|
1350
|
+
workspaceId: string;
|
|
1351
|
+
applicationId: string;
|
|
1352
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationVisibleLinksResponse[]>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Update application links visibility
|
|
1355
|
+
*/
|
|
1356
|
+
export declare function updateLinksVisibility1({ workspaceId, applicationId, body }: {
|
|
1357
|
+
workspaceId: string;
|
|
1358
|
+
applicationId: string;
|
|
1359
|
+
body: UpdateApplicationLinkVisibilityRequest[];
|
|
1360
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1361
|
+
/**
|
|
1362
|
+
* Get workflow settings with associated stacks.
|
|
1363
|
+
*/
|
|
1364
|
+
export declare function listSettingsByAccountWorkflow({ workflowId }: {
|
|
1365
|
+
workflowId: string;
|
|
1366
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkflowSettingsResponse>;
|
|
1367
|
+
/**
|
|
1368
|
+
* Update settings information of a workflow account.
|
|
1369
|
+
*/
|
|
1370
|
+
export declare function updateSettingsByAccountWorkflow({ workflowId, settingsWorkflowSaveRequest }: {
|
|
1371
|
+
workflowId: string;
|
|
1372
|
+
settingsWorkflowSaveRequest: SettingsWorkflowSaveRequest;
|
|
1373
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1374
|
+
/**
|
|
1375
|
+
* List all configured context of an workflow account.
|
|
1376
|
+
*/
|
|
1377
|
+
export declare function listContextByAccountWorkflow({ workflowId }: {
|
|
1378
|
+
workflowId: string;
|
|
1379
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkflowContextResponse>;
|
|
1380
|
+
/**
|
|
1381
|
+
* Update all context configurations of a workflow account.
|
|
1382
|
+
*/
|
|
1383
|
+
export declare function updateContextsByAccountWorkflow({ workflowId, contextsWorkflowSaveRequest }: {
|
|
1384
|
+
workflowId: string;
|
|
1385
|
+
contextsWorkflowSaveRequest: ContextsWorkflowSaveRequest;
|
|
1386
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1387
|
+
/**
|
|
1388
|
+
* List all actions of an workflow account.
|
|
1389
|
+
*/
|
|
1390
|
+
export declare function listActionsByAccountWorkflow({ workflowId }: {
|
|
1391
|
+
workflowId: string;
|
|
1392
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkflowActionsResponse>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Update all actions associations with a workflow account.
|
|
1395
|
+
*/
|
|
1396
|
+
export declare function updateActionsByAccountWorkflow({ workflowId, actionsWorkflowSaveRequest }: {
|
|
1397
|
+
workflowId: string;
|
|
1398
|
+
actionsWorkflowSaveRequest: ActionsWorkflowSaveRequest;
|
|
1399
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1400
|
+
/**
|
|
1401
|
+
* Add context to a typed element in an account's stack.
|
|
1402
|
+
*/
|
|
1403
|
+
export declare function addTypedContextInAccount({ stackVersionId, externalId, $type, addTypedContextRequest }: {
|
|
1404
|
+
stackVersionId: string;
|
|
1405
|
+
externalId: string;
|
|
1406
|
+
$type: "plugin" | "action";
|
|
1407
|
+
addTypedContextRequest: AddTypedContextRequest;
|
|
1408
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1409
|
+
/**
|
|
1410
|
+
* Get Workflow of a stack in an account.
|
|
1411
|
+
*/
|
|
1412
|
+
export declare function getAccountWorkflow({ stackVersionId, identifier }: {
|
|
1413
|
+
stackVersionId: string;
|
|
1414
|
+
identifier?: string;
|
|
1415
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkflowReadResponse[]>;
|
|
1416
|
+
/**
|
|
1417
|
+
* Add step to a workflow belonging to an account.
|
|
1418
|
+
*/
|
|
1419
|
+
export declare function addWorkflowStepInAccount({ stackVersionId, addAccountWorkflowStepRequest }: {
|
|
1420
|
+
stackVersionId: string;
|
|
1421
|
+
addAccountWorkflowStepRequest: AddAccountWorkflowStepRequest;
|
|
1422
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Import context in an account's stack.
|
|
1425
|
+
*/
|
|
1426
|
+
export declare function importContextInAccount({ stackVersionId, body }: {
|
|
1427
|
+
stackVersionId: string;
|
|
1428
|
+
body: ImportContextRequest[];
|
|
1429
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1430
|
+
/**
|
|
1431
|
+
* Save stack workflow context
|
|
1432
|
+
*/
|
|
1433
|
+
export declare function saveStackWorkflowContext({ stackId, workflowId, stackWorkflowCreateRequest }: {
|
|
1434
|
+
stackId: string;
|
|
1435
|
+
workflowId: string;
|
|
1436
|
+
stackWorkflowCreateRequest: StackWorkflowCreateRequest;
|
|
1437
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1438
|
+
/**
|
|
1439
|
+
* Get all workspaces
|
|
1440
|
+
*/
|
|
1441
|
+
export declare function getWorkspaces({ name, aclOnly, accountId }: {
|
|
1442
|
+
name?: string;
|
|
1443
|
+
aclOnly: boolean;
|
|
1444
|
+
accountId?: string;
|
|
1445
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceReadResponse[]>;
|
|
1446
|
+
/**
|
|
1447
|
+
* Create workspace
|
|
1448
|
+
*/
|
|
1449
|
+
export declare function save({ newWorkspaceRequest }: {
|
|
1450
|
+
newWorkspaceRequest: NewWorkspaceRequest;
|
|
1451
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1452
|
+
/**
|
|
1453
|
+
* Get all workspace's variables
|
|
1454
|
+
*/
|
|
1455
|
+
export declare function findAll({ workspaceId, filter }: {
|
|
1456
|
+
workspaceId: string;
|
|
1457
|
+
filter?: string;
|
|
1458
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableReadResponse[]>;
|
|
1459
|
+
/**
|
|
1460
|
+
* Create a workspace's variable
|
|
1461
|
+
*/
|
|
1462
|
+
export declare function save1({ workspaceId, newWorkspaceVariableRequest }: {
|
|
1463
|
+
workspaceId: string;
|
|
1464
|
+
newWorkspaceVariableRequest: NewWorkspaceVariableRequest;
|
|
1465
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceVariableReadResponse>;
|
|
1466
|
+
/**
|
|
1467
|
+
* Get all stacks in a workspace.
|
|
1468
|
+
*/
|
|
1469
|
+
export declare function getStacks({ workspaceId }: {
|
|
1470
|
+
workspaceId: string;
|
|
1471
|
+
}, opts?: Oazapfts.RequestOpts): Promise<StackInWorkspaceReadResponse[]>;
|
|
1472
|
+
/**
|
|
1473
|
+
* Add a stack in a workspace.
|
|
1474
|
+
*/
|
|
1475
|
+
export declare function addStack({ workspaceId, addStackInWorkspaceRequest }: {
|
|
1476
|
+
workspaceId: string;
|
|
1477
|
+
addStackInWorkspaceRequest: AddStackInWorkspaceRequest;
|
|
1478
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1479
|
+
/**
|
|
1480
|
+
* Get all stacks with context in a workspace.
|
|
1481
|
+
*/
|
|
1482
|
+
export declare function getStacksWithContext({ workspaceId, body }: {
|
|
1483
|
+
workspaceId: string;
|
|
1484
|
+
body: string[];
|
|
1485
|
+
}, opts?: Oazapfts.RequestOpts): Promise<StackWithWorkspaceContextResponse>;
|
|
1486
|
+
/**
|
|
1487
|
+
* Get all shared infrastructure of a workspace.
|
|
1488
|
+
*/
|
|
1489
|
+
export declare function getAllSharedInfrastructure({ workspaceId, name, stackVersionId }: {
|
|
1490
|
+
workspaceId: string;
|
|
1491
|
+
name?: string;
|
|
1492
|
+
stackVersionId?: string;
|
|
1493
|
+
}, opts?: Oazapfts.RequestOpts): Promise<SharedInfraDetailsResponse[]>;
|
|
1494
|
+
/**
|
|
1495
|
+
* Create shared infrastructure in a workspace.
|
|
1496
|
+
*/
|
|
1497
|
+
export declare function save2({ workspaceId, fromPortal, createSharedInfraRequest }: {
|
|
1498
|
+
workspaceId: string;
|
|
1499
|
+
fromPortal?: boolean;
|
|
1500
|
+
createSharedInfraRequest: CreateSharedInfraRequest;
|
|
1501
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Get shared infrastructure of a workspace.
|
|
1504
|
+
*/
|
|
1505
|
+
export declare function getSharedInfrastructure({ workspaceId, sharedInfraId }: {
|
|
1506
|
+
workspaceId: string;
|
|
1507
|
+
sharedInfraId: string;
|
|
1508
|
+
}, opts?: Oazapfts.RequestOpts): Promise<SharedInfraDetailsResponse>;
|
|
1509
|
+
/**
|
|
1510
|
+
* Recreate a shared infrastructure in a workspace.
|
|
1511
|
+
*/
|
|
1512
|
+
export declare function recreate({ workspaceId, sharedInfraId, recreateSharedInfraRequest }: {
|
|
1513
|
+
workspaceId: string;
|
|
1514
|
+
sharedInfraId: string;
|
|
1515
|
+
recreateSharedInfraRequest: RecreateSharedInfraRequest;
|
|
1516
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1517
|
+
/**
|
|
1518
|
+
* Delete infrastructure in a workspace.
|
|
1519
|
+
*/
|
|
1520
|
+
export declare function deleteSharedInfra({ workspaceId, sharedInfraId }: {
|
|
1521
|
+
workspaceId: string;
|
|
1522
|
+
sharedInfraId: string;
|
|
1523
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1524
|
+
/**
|
|
1525
|
+
* Update shared infrastructure in a workspace.
|
|
1526
|
+
*/
|
|
1527
|
+
export declare function update2({ workspaceId, sharedInfraId, updateSharedInfraRequest }: {
|
|
1528
|
+
workspaceId: string;
|
|
1529
|
+
sharedInfraId: string;
|
|
1530
|
+
updateSharedInfraRequest: UpdateSharedInfraRequest;
|
|
1531
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1532
|
+
/**
|
|
1533
|
+
* Get all shared infra links
|
|
1534
|
+
*/
|
|
1535
|
+
export declare function getSharedInfraLinks({ workspaceId, sharedInfraId, name }: {
|
|
1536
|
+
workspaceId: string;
|
|
1537
|
+
sharedInfraId: string;
|
|
1538
|
+
name?: string;
|
|
1539
|
+
}, opts?: Oazapfts.RequestOpts): Promise<SharedInfraLinkReadResponse[]>;
|
|
1540
|
+
/**
|
|
1541
|
+
* Create shared infra link
|
|
1542
|
+
*/
|
|
1543
|
+
export declare function save3({ workspaceId, sharedInfraId, createSharedInfraLinkRequest }: {
|
|
1544
|
+
workspaceId: string;
|
|
1545
|
+
sharedInfraId: string;
|
|
1546
|
+
createSharedInfraLinkRequest: CreateSharedInfraLinkRequest;
|
|
1547
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Has active deploy with type self hosted?
|
|
1550
|
+
*/
|
|
1551
|
+
export declare function hasActiveDeployWithTypeSelfHosted({ workspaceId, sharedInfraId }: {
|
|
1552
|
+
workspaceId: string;
|
|
1553
|
+
sharedInfraId: string;
|
|
1554
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1555
|
+
/**
|
|
1556
|
+
* Can the shared infra be destroyed?
|
|
1557
|
+
*/
|
|
1558
|
+
export declare function canBeDestroyed({ workspaceId, sharedInfraId, environmentId, accountId }: {
|
|
1559
|
+
workspaceId: string;
|
|
1560
|
+
sharedInfraId: string;
|
|
1561
|
+
environmentId: string;
|
|
1562
|
+
accountId: string;
|
|
1563
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1564
|
+
/**
|
|
1565
|
+
* Register the snapshot of a shared infrastructure's deploy.
|
|
1566
|
+
*/
|
|
1567
|
+
export declare function processDeploySnapshot({ workspaceId, sharedInfraId, sharedInfraDeploySnapshotRequest }: {
|
|
1568
|
+
workspaceId: string;
|
|
1569
|
+
sharedInfraId: string;
|
|
1570
|
+
sharedInfraDeploySnapshotRequest: SharedInfraDeploySnapshotRequest;
|
|
1571
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1572
|
+
/**
|
|
1573
|
+
* Runs an orchestration in a workspace.
|
|
1574
|
+
*/
|
|
1575
|
+
export declare function startRun({ accountId, workspaceId, startRunRequest }: {
|
|
1576
|
+
accountId: string;
|
|
1577
|
+
workspaceId: string;
|
|
1578
|
+
startRunRequest: StartRunRequest;
|
|
1579
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1580
|
+
/**
|
|
1581
|
+
* Get all workspace links
|
|
1582
|
+
*/
|
|
1583
|
+
export declare function getWorkspaceLinks({ workspaceId, name }: {
|
|
1584
|
+
workspaceId: string;
|
|
1585
|
+
name?: string;
|
|
1586
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceLinkReadResponse[]>;
|
|
1587
|
+
/**
|
|
1588
|
+
* Create workspace
|
|
1589
|
+
*/
|
|
1590
|
+
export declare function save4({ workspaceId, createWorkspaceLinkRequest }: {
|
|
1591
|
+
workspaceId: string;
|
|
1592
|
+
createWorkspaceLinkRequest: CreateWorkspaceLinkRequest;
|
|
1593
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1594
|
+
/**
|
|
1595
|
+
* Get all workspace embedded links
|
|
1596
|
+
*/
|
|
1597
|
+
export declare function getEmbeddedLinks({ workspaceId, name }: {
|
|
1598
|
+
workspaceId: string;
|
|
1599
|
+
name?: string;
|
|
1600
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceEmbeddedLinkReadResponse[]>;
|
|
1601
|
+
/**
|
|
1602
|
+
* Create workspace embedded link
|
|
1603
|
+
*/
|
|
1604
|
+
export declare function save5({ workspaceId, createWorkspaceEmbeddedLinkRequest }: {
|
|
1605
|
+
workspaceId: string;
|
|
1606
|
+
createWorkspaceEmbeddedLinkRequest: CreateWorkspaceEmbeddedLinkRequest;
|
|
1607
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1608
|
+
/**
|
|
1609
|
+
* List all connection interfaces of a workspace.
|
|
1610
|
+
*/
|
|
1611
|
+
export declare function getConnectionInterfaces({ workspaceId, typeId }: {
|
|
1612
|
+
workspaceId: string;
|
|
1613
|
+
typeId?: string;
|
|
1614
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceSummaryResponse[]>;
|
|
1615
|
+
/**
|
|
1616
|
+
* Create a connection interface in a workspace.
|
|
1617
|
+
*/
|
|
1618
|
+
export declare function add({ workspaceId, createConnectionInterfaceRequest }: {
|
|
1619
|
+
workspaceId: string;
|
|
1620
|
+
createConnectionInterfaceRequest: CreateConnectionInterfaceRequest;
|
|
1621
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1622
|
+
/**
|
|
1623
|
+
* Update the visibility of a connection interface.
|
|
1624
|
+
*/
|
|
1625
|
+
export declare function updateConnectionInterfaceVisibility({ workspaceId, connectionInterfaceId, updateConnectionInterfaceVisibilityRequest }: {
|
|
1626
|
+
workspaceId: string;
|
|
1627
|
+
connectionInterfaceId: string;
|
|
1628
|
+
updateConnectionInterfaceVisibilityRequest: UpdateConnectionInterfaceVisibilityRequest;
|
|
1629
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1630
|
+
/**
|
|
1631
|
+
* Get all application of a workspace.
|
|
1632
|
+
*/
|
|
1633
|
+
export declare function getApplications({ workspaceId, name, stackVersionId }: {
|
|
1634
|
+
workspaceId: string;
|
|
1635
|
+
name?: string;
|
|
1636
|
+
stackVersionId?: string;
|
|
1637
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationReadResponse[]>;
|
|
1638
|
+
/**
|
|
1639
|
+
* Create application on workspace.
|
|
1640
|
+
*/
|
|
1641
|
+
export declare function save6({ workspaceId, fromPortal, createApplicationRequest }: {
|
|
1642
|
+
workspaceId: string;
|
|
1643
|
+
fromPortal?: boolean;
|
|
1644
|
+
createApplicationRequest: CreateApplicationRequest;
|
|
1645
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1646
|
+
/**
|
|
1647
|
+
* Get application of a workspace.
|
|
1648
|
+
*/
|
|
1649
|
+
export declare function getApplication({ workspaceId, applicationId }: {
|
|
1650
|
+
workspaceId: string;
|
|
1651
|
+
applicationId: string;
|
|
1652
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationReadResponse>;
|
|
1653
|
+
/**
|
|
1654
|
+
* Recreate an application in a workspace.
|
|
1655
|
+
*/
|
|
1656
|
+
export declare function recreate1({ workspaceId, applicationId, recreateApplicationRequest }: {
|
|
1657
|
+
workspaceId: string;
|
|
1658
|
+
applicationId: string;
|
|
1659
|
+
recreateApplicationRequest: RecreateApplicationRequest;
|
|
1660
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1661
|
+
/**
|
|
1662
|
+
* Delete application of a workspace.
|
|
1663
|
+
*/
|
|
1664
|
+
export declare function deleteApplication({ workspaceId, applicationId, accountId }: {
|
|
1665
|
+
workspaceId: string;
|
|
1666
|
+
applicationId: string;
|
|
1667
|
+
accountId?: string;
|
|
1668
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1669
|
+
/**
|
|
1670
|
+
* Update an application of a workspace.
|
|
1671
|
+
*/
|
|
1672
|
+
export declare function update6({ workspaceId, applicationId, updateApplicationRequest }: {
|
|
1673
|
+
workspaceId: string;
|
|
1674
|
+
applicationId: string;
|
|
1675
|
+
updateApplicationRequest: UpdateApplicationRequest;
|
|
1676
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1677
|
+
/**
|
|
1678
|
+
* Get all application links
|
|
1679
|
+
*/
|
|
1680
|
+
export declare function getApplicationLinks({ workspaceId, applicationId, name }: {
|
|
1681
|
+
workspaceId: string;
|
|
1682
|
+
applicationId: string;
|
|
1683
|
+
name?: string;
|
|
1684
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationLinkReadResponse[]>;
|
|
1685
|
+
/**
|
|
1686
|
+
* Create application link
|
|
1687
|
+
*/
|
|
1688
|
+
export declare function save7({ workspaceId, applicationId, createApplicationLinkRequest }: {
|
|
1689
|
+
workspaceId: string;
|
|
1690
|
+
applicationId: string;
|
|
1691
|
+
createApplicationLinkRequest: CreateApplicationLinkRequest;
|
|
1692
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1693
|
+
/**
|
|
1694
|
+
* Has active deploy with type self hosted?
|
|
1695
|
+
*/
|
|
1696
|
+
export declare function hasActiveDeployWithTypeSelfHosted1({ workspaceId, applicationId }: {
|
|
1697
|
+
workspaceId: string;
|
|
1698
|
+
applicationId: string;
|
|
1699
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1700
|
+
/**
|
|
1701
|
+
* Can the application be destroyed?
|
|
1702
|
+
*/
|
|
1703
|
+
export declare function canBeDestroyed1({ workspaceId, applicationId, environmentId, accountId }: {
|
|
1704
|
+
workspaceId: string;
|
|
1705
|
+
applicationId: string;
|
|
1706
|
+
environmentId: string;
|
|
1707
|
+
accountId: string;
|
|
1708
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1709
|
+
export declare function registryAppDestroy({ workspaceId, applicationId, environmentId, applicationDestroyRequest }: {
|
|
1710
|
+
workspaceId: string;
|
|
1711
|
+
applicationId: string;
|
|
1712
|
+
environmentId: string;
|
|
1713
|
+
applicationDestroyRequest: ApplicationDestroyRequest;
|
|
1714
|
+
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1715
|
+
export declare function registryAppDeploy({ workspaceId, applicationId, environmentId, applicationDeployRequest }: {
|
|
1716
|
+
workspaceId: string;
|
|
1717
|
+
applicationId: string;
|
|
1718
|
+
environmentId: string;
|
|
1719
|
+
applicationDeployRequest: ApplicationDeployRequest;
|
|
1720
|
+
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1721
|
+
/**
|
|
1722
|
+
* Get all application embedded links
|
|
1723
|
+
*/
|
|
1724
|
+
export declare function getEmbeddedLinks1({ workspaceId, applicationId, name }: {
|
|
1725
|
+
workspaceId: string;
|
|
1726
|
+
applicationId: string;
|
|
1727
|
+
name?: string;
|
|
1728
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationEmbeddedLinkReadResponse[]>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Create application embedded link
|
|
1731
|
+
*/
|
|
1732
|
+
export declare function save8({ workspaceId, applicationId, createApplicationEmbeddedLinkRequest }: {
|
|
1733
|
+
workspaceId: string;
|
|
1734
|
+
applicationId: string;
|
|
1735
|
+
createApplicationEmbeddedLinkRequest: CreateApplicationEmbeddedLinkRequest;
|
|
1736
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1737
|
+
/**
|
|
1738
|
+
* Register the snapshot of an application's deploy.
|
|
1739
|
+
*/
|
|
1740
|
+
export declare function processDeploySnapshot1({ workspaceId, applicationId, applicationDeploySnapshotRequest }: {
|
|
1741
|
+
workspaceId: string;
|
|
1742
|
+
applicationId: string;
|
|
1743
|
+
applicationDeploySnapshotRequest: ApplicationDeploySnapshotRequest;
|
|
1744
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1745
|
+
/**
|
|
1746
|
+
* Get environments
|
|
1747
|
+
*/
|
|
1748
|
+
export declare function getEnvironments({ accountId }: {
|
|
1749
|
+
accountId?: string;
|
|
1750
|
+
}, opts?: Oazapfts.RequestOpts): Promise<EnvironmentReadResponse[]>;
|
|
1751
|
+
/**
|
|
1752
|
+
* Save environment
|
|
1753
|
+
*/
|
|
1754
|
+
export declare function save9({ environmentSaveRequest }: {
|
|
1755
|
+
environmentSaveRequest: EnvironmentSaveRequest;
|
|
1756
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1757
|
+
/**
|
|
1758
|
+
* Batch save environment
|
|
1759
|
+
*/
|
|
1760
|
+
export declare function saveBatch({ accountId, body }: {
|
|
1761
|
+
accountId?: string;
|
|
1762
|
+
body: EnvironmentSaveRequest[];
|
|
1763
|
+
}, opts?: Oazapfts.RequestOpts): Promise<EnvironmentReadBatchResponse[]>;
|
|
1764
|
+
/**
|
|
1765
|
+
* List all workflows of an account.
|
|
1766
|
+
*/
|
|
1767
|
+
export declare function listAccountWorkflows({ $type, name }: {
|
|
1768
|
+
$type?: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
|
|
1769
|
+
name?: string;
|
|
1770
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkflowResponse[]>;
|
|
1771
|
+
/**
|
|
1772
|
+
* Create an account workflow
|
|
1773
|
+
*/
|
|
1774
|
+
export declare function saveAccountWorkflow({ accountWorkflowCreateRequest }: {
|
|
1775
|
+
accountWorkflowCreateRequest: AccountWorkflowCreateRequest;
|
|
1776
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1777
|
+
/**
|
|
1778
|
+
* List all stacks with context for given account and given stackVersionId list.
|
|
1779
|
+
*/
|
|
1780
|
+
export declare function listStackVersionsWithAccountContext({ body }: {
|
|
1781
|
+
body: string[];
|
|
1782
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AccountStackContextResponse>;
|
|
1783
|
+
/**
|
|
1784
|
+
* Get workspace by id
|
|
1785
|
+
*/
|
|
1786
|
+
export declare function getWorkspaceForId({ workspaceId }: {
|
|
1787
|
+
workspaceId: string;
|
|
1788
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceReadResponse>;
|
|
1789
|
+
/**
|
|
1790
|
+
* Delete workspace.
|
|
1791
|
+
*/
|
|
1792
|
+
export declare function deleteV1WorkspacesByWorkspaceId({ workspaceId }: {
|
|
1793
|
+
workspaceId: string;
|
|
1794
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1795
|
+
/**
|
|
1796
|
+
* Update workspace
|
|
1797
|
+
*/
|
|
1798
|
+
export declare function update1({ workspaceId, updateWorkspaceRequest }: {
|
|
1799
|
+
workspaceId: string;
|
|
1800
|
+
updateWorkspaceRequest: UpdateWorkspaceRequest;
|
|
1801
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1802
|
+
/**
|
|
1803
|
+
* Get shared infra links by id
|
|
1804
|
+
*/
|
|
1805
|
+
export declare function getSharedInfraLink({ workspaceId, sharedInfraId, linkId }: {
|
|
1806
|
+
workspaceId: string;
|
|
1807
|
+
sharedInfraId: string;
|
|
1808
|
+
linkId: string;
|
|
1809
|
+
}, opts?: Oazapfts.RequestOpts): Promise<SharedInfraLinkReadResponse>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Delete shared infra links
|
|
1812
|
+
*/
|
|
1813
|
+
export declare function delete2({ workspaceId, sharedInfraId, linkId }: {
|
|
1814
|
+
workspaceId: string;
|
|
1815
|
+
sharedInfraId: string;
|
|
1816
|
+
linkId: string;
|
|
1817
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1818
|
+
/**
|
|
1819
|
+
* Update shared infra links
|
|
1820
|
+
*/
|
|
1821
|
+
export declare function update3({ workspaceId, sharedInfraId, linkId, updateSharedInfraLinkRequest }: {
|
|
1822
|
+
workspaceId: string;
|
|
1823
|
+
sharedInfraId: string;
|
|
1824
|
+
linkId: string;
|
|
1825
|
+
updateSharedInfraLinkRequest: UpdateSharedInfraLinkRequest;
|
|
1826
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1827
|
+
/**
|
|
1828
|
+
* Get workspace link by id
|
|
1829
|
+
*/
|
|
1830
|
+
export declare function getWorkspaceLink({ workspaceId, linkId }: {
|
|
1831
|
+
workspaceId: string;
|
|
1832
|
+
linkId: string;
|
|
1833
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceLinkReadResponse>;
|
|
1834
|
+
/**
|
|
1835
|
+
* Delete workspace links
|
|
1836
|
+
*/
|
|
1837
|
+
export declare function delete3({ workspaceId, linkId }: {
|
|
1838
|
+
workspaceId: string;
|
|
1839
|
+
linkId: string;
|
|
1840
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1841
|
+
/**
|
|
1842
|
+
* Update workspace links
|
|
1843
|
+
*/
|
|
1844
|
+
export declare function update4({ workspaceId, linkId, updateWorkspaceLinkRequest }: {
|
|
1845
|
+
workspaceId: string;
|
|
1846
|
+
linkId: string;
|
|
1847
|
+
updateWorkspaceLinkRequest: UpdateWorkspaceLinkRequest;
|
|
1848
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1849
|
+
/**
|
|
1850
|
+
* Get workspace embedded link by id
|
|
1851
|
+
*/
|
|
1852
|
+
export declare function getEmbeddedLink({ workspaceId, embeddedLinkId }: {
|
|
1853
|
+
workspaceId: string;
|
|
1854
|
+
embeddedLinkId: string;
|
|
1855
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceEmbeddedLinkReadResponse>;
|
|
1856
|
+
/**
|
|
1857
|
+
* Delete workspace embedded link
|
|
1858
|
+
*/
|
|
1859
|
+
export declare function delete4({ workspaceId, embeddedLinkId }: {
|
|
1860
|
+
workspaceId: string;
|
|
1861
|
+
embeddedLinkId: string;
|
|
1862
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1863
|
+
/**
|
|
1864
|
+
* Update workspace embedded link
|
|
1865
|
+
*/
|
|
1866
|
+
export declare function update5({ workspaceId, embeddedLinkId, updateWorkspaceEmbeddedLinkRequest }: {
|
|
1867
|
+
workspaceId: string;
|
|
1868
|
+
embeddedLinkId: string;
|
|
1869
|
+
updateWorkspaceEmbeddedLinkRequest: UpdateWorkspaceEmbeddedLinkRequest;
|
|
1870
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1871
|
+
/**
|
|
1872
|
+
* Upsert workspace embedded link
|
|
1873
|
+
*/
|
|
1874
|
+
export declare function upsertBatch1({ workspaceId, body }: {
|
|
1875
|
+
workspaceId: string;
|
|
1876
|
+
body: UpsertWorkspaceEmbeddedLinkRequest[];
|
|
1877
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1878
|
+
/**
|
|
1879
|
+
* Get application link by id
|
|
1880
|
+
*/
|
|
1881
|
+
export declare function getApplicationLink({ workspaceId, applicationId, linkId }: {
|
|
1882
|
+
workspaceId: string;
|
|
1883
|
+
applicationId: string;
|
|
1884
|
+
linkId: string;
|
|
1885
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationLinkReadResponse>;
|
|
1886
|
+
/**
|
|
1887
|
+
* Delete workspace links
|
|
1888
|
+
*/
|
|
1889
|
+
export declare function delete5({ workspaceId, applicationId, linkId }: {
|
|
1890
|
+
workspaceId: string;
|
|
1891
|
+
applicationId: string;
|
|
1892
|
+
linkId: string;
|
|
1893
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1894
|
+
/**
|
|
1895
|
+
* Update application links
|
|
1896
|
+
*/
|
|
1897
|
+
export declare function update7({ workspaceId, applicationId, linkId, updateApplicationLinkRequest }: {
|
|
1898
|
+
workspaceId: string;
|
|
1899
|
+
applicationId: string;
|
|
1900
|
+
linkId: string;
|
|
1901
|
+
updateApplicationLinkRequest: UpdateApplicationLinkRequest;
|
|
1902
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1903
|
+
/**
|
|
1904
|
+
* Get application embedded link by id
|
|
1905
|
+
*/
|
|
1906
|
+
export declare function getEmbeddedLink1({ workspaceId, applicationId, embeddedLinkId }: {
|
|
1907
|
+
workspaceId: string;
|
|
1908
|
+
applicationId: string;
|
|
1909
|
+
embeddedLinkId: string;
|
|
1910
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationEmbeddedLinkReadResponse>;
|
|
1911
|
+
/**
|
|
1912
|
+
* Delete application embedded link
|
|
1913
|
+
*/
|
|
1914
|
+
export declare function delete6({ workspaceId, applicationId, embeddedLinkId }: {
|
|
1915
|
+
workspaceId: string;
|
|
1916
|
+
applicationId: string;
|
|
1917
|
+
embeddedLinkId: string;
|
|
1918
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1919
|
+
/**
|
|
1920
|
+
* Update application embedded link
|
|
1921
|
+
*/
|
|
1922
|
+
export declare function update8({ workspaceId, applicationId, embeddedLinkId, updateApplicationEmbeddedLinkRequest }: {
|
|
1923
|
+
workspaceId: string;
|
|
1924
|
+
applicationId: string;
|
|
1925
|
+
embeddedLinkId: string;
|
|
1926
|
+
updateApplicationEmbeddedLinkRequest: UpdateApplicationEmbeddedLinkRequest;
|
|
1927
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1928
|
+
/**
|
|
1929
|
+
* Upsert application embedded link
|
|
1930
|
+
*/
|
|
1931
|
+
export declare function upsertBatch2({ workspaceId, applicationId, body }: {
|
|
1932
|
+
workspaceId: string;
|
|
1933
|
+
applicationId: string;
|
|
1934
|
+
body: UpsertApplicationEmbeddedLinkRequest[];
|
|
1935
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1936
|
+
/**
|
|
1937
|
+
* Archive application from a workspace.
|
|
1938
|
+
*/
|
|
1939
|
+
export declare function archiveApplication({ workspaceId, applicationId }: {
|
|
1940
|
+
workspaceId: string;
|
|
1941
|
+
applicationId: string;
|
|
1942
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1943
|
+
/**
|
|
1944
|
+
* Get environment by id
|
|
1945
|
+
*/
|
|
1946
|
+
export declare function getEnvironment({ id }: {
|
|
1947
|
+
id: string;
|
|
1948
|
+
}, opts?: Oazapfts.RequestOpts): Promise<EnvironmentReadResponse>;
|
|
1949
|
+
/**
|
|
1950
|
+
* Update environment
|
|
1951
|
+
*/
|
|
1952
|
+
export declare function update9({ id, environmentUpdateRequest }: {
|
|
1953
|
+
id: string;
|
|
1954
|
+
environmentUpdateRequest: EnvironmentUpdateRequest;
|
|
1955
|
+
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1956
|
+
/**
|
|
1957
|
+
* Get plugins applied to a workspace's shared infrastructure.
|
|
1958
|
+
*/
|
|
1959
|
+
export declare function getAppliedPlugins({ workspaceId, sharedInfraId, environmentId }: {
|
|
1960
|
+
workspaceId: string;
|
|
1961
|
+
sharedInfraId: string;
|
|
1962
|
+
environmentId: string;
|
|
1963
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AppliedPluginV2Response[]>;
|
|
1964
|
+
/**
|
|
1965
|
+
* List all available connection interfaces for a workspace.
|
|
1966
|
+
*/
|
|
1967
|
+
export declare function getAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId, automaticallyGenerated }: {
|
|
1968
|
+
workspaceId: string;
|
|
1969
|
+
typeId?: string;
|
|
1970
|
+
automaticallyGenerated?: boolean;
|
|
1971
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceSummaryV2Response[]>;
|
|
1972
|
+
/**
|
|
1973
|
+
* Get available connection interface for a workspace by its slug.
|
|
1974
|
+
*/
|
|
1975
|
+
export declare function getAvailableConnectionInterfaceForAWorkspace({ workspaceId, slug, environmentId, accountId }: {
|
|
1976
|
+
workspaceId: string;
|
|
1977
|
+
slug: string;
|
|
1978
|
+
environmentId?: string;
|
|
1979
|
+
accountId?: string;
|
|
1980
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceDetailsV2Response>;
|
|
1981
|
+
/**
|
|
1982
|
+
* Get plugins applied to a workspace's application.
|
|
1983
|
+
*/
|
|
1984
|
+
export declare function getAppliedPlugins1({ workspaceId, applicationId, environmentId }: {
|
|
1985
|
+
workspaceId: string;
|
|
1986
|
+
applicationId: string;
|
|
1987
|
+
environmentId: string;
|
|
1988
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AppliedPluginV2Response[]>;
|
|
1989
|
+
/**
|
|
1990
|
+
* List all available connection interfaces for an application.
|
|
1991
|
+
*/
|
|
1992
|
+
export declare function getAvailableConnectionInterfacesForAnApplication({ applicationId, typeId, automaticallyGenerated }: {
|
|
1993
|
+
applicationId: string;
|
|
1994
|
+
typeId?: string;
|
|
1995
|
+
automaticallyGenerated?: boolean;
|
|
1996
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceSummaryV2Response[]>;
|
|
1997
|
+
/**
|
|
1998
|
+
* Get available connection interface for an application by its slug.
|
|
1999
|
+
*/
|
|
2000
|
+
export declare function getAvailableConnectionInterfaceForAnApplication({ applicationId, slug, environmentId }: {
|
|
2001
|
+
applicationId: string;
|
|
2002
|
+
slug: string;
|
|
2003
|
+
environmentId?: string;
|
|
2004
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceDetailsV2Response>;
|
|
2005
|
+
/**
|
|
2006
|
+
* Get connection interface in use by applicationId or sharedInfraId.
|
|
2007
|
+
*/
|
|
2008
|
+
export declare function getConnectionInterfaceInUseTargetId({ workspaceId, targetId, targetType, slug, accountId, environmentId }: {
|
|
2009
|
+
workspaceId: string;
|
|
2010
|
+
targetId: string;
|
|
2011
|
+
targetType: "applications" | "shared_infra";
|
|
2012
|
+
slug: string;
|
|
2013
|
+
accountId: string;
|
|
2014
|
+
environmentId?: string;
|
|
2015
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceInUseByTargetIdDetailsResponse[]>;
|
|
2016
|
+
/**
|
|
2017
|
+
* Get stack in a workspace by stack version id.
|
|
2018
|
+
*/
|
|
2019
|
+
export declare function getStackById({ workspaceId, stackVersionId }: {
|
|
2020
|
+
workspaceId: string;
|
|
2021
|
+
stackVersionId: string;
|
|
2022
|
+
}, opts?: Oazapfts.RequestOpts): Promise<StackInWorkspaceReadResponse>;
|
|
2023
|
+
/**
|
|
2024
|
+
* Delete a stack from a workspace.
|
|
2025
|
+
*/
|
|
2026
|
+
export declare function deleteStack({ workspaceId, stackVersionId }: {
|
|
2027
|
+
workspaceId: string;
|
|
2028
|
+
stackVersionId: string;
|
|
2029
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2030
|
+
/**
|
|
2031
|
+
* List the consolidated input context of all stack elements for given type in a workspace.
|
|
2032
|
+
*/
|
|
2033
|
+
export declare function listConsolidatedContext({ workspaceId, stackVersionId, $type, environmentId, externalId }: {
|
|
2034
|
+
workspaceId: string;
|
|
2035
|
+
stackVersionId: string;
|
|
2036
|
+
$type: "plugin" | "action";
|
|
2037
|
+
environmentId?: string;
|
|
2038
|
+
externalId?: string;
|
|
2039
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConsolidatedContextResponse[]>;
|
|
2040
|
+
/**
|
|
2041
|
+
* Get workflow settings with context by stack and workflowType
|
|
2042
|
+
*/
|
|
2043
|
+
export declare function listWorkflowByStackIdAndWorkflowType({ workspaceId, stackId, workflowType }: {
|
|
2044
|
+
workspaceId: string;
|
|
2045
|
+
stackId: string;
|
|
2046
|
+
workflowType: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
|
|
2047
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AccountWorkflowResponse>;
|
|
2048
|
+
/**
|
|
2049
|
+
* Get plugins applied to a workspace's shared infrastructure.
|
|
2050
|
+
*/
|
|
2051
|
+
export declare function getAppliedPlugins2({ workspaceId, sharedInfraId, environmentId, $type }: {
|
|
2052
|
+
workspaceId: string;
|
|
2053
|
+
sharedInfraId: string;
|
|
2054
|
+
environmentId: string;
|
|
2055
|
+
$type?: string;
|
|
2056
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AppliedPluginResponse[]>;
|
|
2057
|
+
/**
|
|
2058
|
+
* List shared infrastructure's activities.
|
|
2059
|
+
*/
|
|
2060
|
+
export declare function listActivities({ workspaceId, sharedInfraId, environmentId, $type, page, size }: {
|
|
2061
|
+
workspaceId: string;
|
|
2062
|
+
sharedInfraId: string;
|
|
2063
|
+
environmentId: string;
|
|
2064
|
+
$type?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED" | "CUSTOMER_WORKFLOW";
|
|
2065
|
+
page: number;
|
|
2066
|
+
size: number;
|
|
2067
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedActivityResponse>;
|
|
2068
|
+
/**
|
|
2069
|
+
* Get all in use connection interface dependencies from the shared infra.
|
|
2070
|
+
*/
|
|
2071
|
+
export declare function getDependencyTree({ workspaceId, sharedInfraId }: {
|
|
2072
|
+
workspaceId: string;
|
|
2073
|
+
sharedInfraId: string;
|
|
2074
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AppAndInfraDependencyResponse>;
|
|
2075
|
+
/**
|
|
2076
|
+
* Get a connection interface by connection interface id.
|
|
2077
|
+
*/
|
|
2078
|
+
export declare function getConnectionInterface({ workspaceId, connectionInterfaceId, environmentId }: {
|
|
2079
|
+
workspaceId: string;
|
|
2080
|
+
connectionInterfaceId: string;
|
|
2081
|
+
environmentId?: string;
|
|
2082
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceDetailsResponse>;
|
|
2083
|
+
/**
|
|
2084
|
+
* Get all connection interface in use.
|
|
2085
|
+
*/
|
|
2086
|
+
export declare function getAllConnectionInterfaceInUse({ workspaceId, accountId }: {
|
|
2087
|
+
workspaceId: string;
|
|
2088
|
+
accountId?: string;
|
|
2089
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceInUseDetailsResponse[]>;
|
|
2090
|
+
/**
|
|
2091
|
+
* Get connection interface in use by slug.
|
|
2092
|
+
*/
|
|
2093
|
+
export declare function getConnectionInterfaceInUseBySlug({ workspaceId, slug, accountId }: {
|
|
2094
|
+
workspaceId: string;
|
|
2095
|
+
slug: string;
|
|
2096
|
+
accountId?: string;
|
|
2097
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceInUseSummaryResponse[]>;
|
|
2098
|
+
/**
|
|
2099
|
+
* List all available connection interfaces for a workspace.
|
|
2100
|
+
*/
|
|
2101
|
+
export declare function getAvailableConnectionInterfacesForAWorkspace1({ workspaceId, typeId }: {
|
|
2102
|
+
workspaceId: string;
|
|
2103
|
+
typeId?: string;
|
|
2104
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceSummaryResponse[]>;
|
|
2105
|
+
/**
|
|
2106
|
+
* Get available connection interface for a workspace by its id.
|
|
2107
|
+
*/
|
|
2108
|
+
export declare function getAvailableConnectionInterfaceForAWorkspace1({ workspaceId, connectionInterfaceId, environmentId }: {
|
|
2109
|
+
workspaceId: string;
|
|
2110
|
+
connectionInterfaceId: string;
|
|
2111
|
+
environmentId?: string;
|
|
2112
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceDetailsResponse>;
|
|
2113
|
+
/**
|
|
2114
|
+
* Get plugins applied to a workspace's application.
|
|
2115
|
+
*/
|
|
2116
|
+
export declare function getAppliedPlugins3({ workspaceId, applicationId, environmentId, $type }: {
|
|
2117
|
+
workspaceId: string;
|
|
2118
|
+
applicationId: string;
|
|
2119
|
+
environmentId: string;
|
|
2120
|
+
$type?: string;
|
|
2121
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AppliedPluginResponse[]>;
|
|
2122
|
+
export declare function getAppDeployInfo({ workspaceId, applicationId, environmentId, accountId, tenant }: {
|
|
2123
|
+
workspaceId: string;
|
|
2124
|
+
applicationId: string;
|
|
2125
|
+
environmentId: string;
|
|
2126
|
+
accountId: string;
|
|
2127
|
+
tenant: string;
|
|
2128
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationDeployInfoResponse>;
|
|
2129
|
+
/**
|
|
2130
|
+
* List application's activities.
|
|
2131
|
+
*/
|
|
2132
|
+
export declare function listActivities1({ workspaceId, applicationId, environmentId, $type, page, size }: {
|
|
2133
|
+
workspaceId: string;
|
|
2134
|
+
applicationId: string;
|
|
2135
|
+
environmentId: string;
|
|
2136
|
+
$type?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "IAC" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED" | "IAC_SELF_HOSTED" | "CUSTOMER_WORKFLOW";
|
|
2137
|
+
page: number;
|
|
2138
|
+
size: number;
|
|
2139
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedActivityResponse>;
|
|
2140
|
+
/**
|
|
2141
|
+
* Get all in use connection interface dependencies from the application.
|
|
2142
|
+
*/
|
|
2143
|
+
export declare function getDependencyTree1({ workspaceId, applicationId }: {
|
|
2144
|
+
workspaceId: string;
|
|
2145
|
+
applicationId: string;
|
|
2146
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AppAndInfraDependencyResponse>;
|
|
2147
|
+
/**
|
|
2148
|
+
* Can the application be destroyed?
|
|
2149
|
+
*/
|
|
2150
|
+
export declare function canBeDeleted({ workspaceId, applicationId, accountId, tenant }: {
|
|
2151
|
+
workspaceId: string;
|
|
2152
|
+
applicationId: string;
|
|
2153
|
+
accountId: string;
|
|
2154
|
+
tenant: string;
|
|
2155
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationCanBeDeletedResponse>;
|
|
2156
|
+
/**
|
|
2157
|
+
* Get all workspaces within user permission
|
|
2158
|
+
*/
|
|
2159
|
+
export declare function getWorkspacesFromUserPermission({ resource, action }: {
|
|
2160
|
+
resource: string;
|
|
2161
|
+
action: string;
|
|
2162
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceReadResponse[]>;
|
|
2163
|
+
/**
|
|
2164
|
+
* Get shared infrastructure information by id.
|
|
2165
|
+
*/
|
|
2166
|
+
export declare function getSharedInfra({ id }: {
|
|
2167
|
+
id: string;
|
|
2168
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetSharedInfraResponse>;
|
|
2169
|
+
/**
|
|
2170
|
+
* Check if there is/are any deployment active for the provided plugin
|
|
2171
|
+
*/
|
|
2172
|
+
export declare function checkPluginInUse({ pluginVersionId }: {
|
|
2173
|
+
pluginVersionId: string;
|
|
2174
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PluginInUseDetailsResponse[]>;
|
|
2175
|
+
/**
|
|
2176
|
+
* Check availability of connection slug in account.
|
|
2177
|
+
*/
|
|
2178
|
+
export declare function checkConnectionSlugAvailability({ slug }: {
|
|
2179
|
+
slug: string;
|
|
2180
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CheckConnectionSlugAvailabilityResponse>;
|
|
2181
|
+
/**
|
|
2182
|
+
* Get an application list by repo url.
|
|
2183
|
+
*/
|
|
2184
|
+
export declare function getApplicationsByUrl({ accountId, repoUrl }: {
|
|
2185
|
+
accountId: string;
|
|
2186
|
+
repoUrl: string;
|
|
2187
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationRepoUrlReadResponse[]>;
|
|
2188
|
+
/**
|
|
2189
|
+
* Get application information by id.
|
|
2190
|
+
*/
|
|
2191
|
+
export declare function getApplication1({ id }: {
|
|
2192
|
+
id: string;
|
|
2193
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetApplicationResponse>;
|
|
2194
|
+
/**
|
|
2195
|
+
* List all available connection interfaces for an application.
|
|
2196
|
+
*/
|
|
2197
|
+
export declare function getAvailableConnectionInterfacesForAnApplication1({ applicationId, typeId }: {
|
|
2198
|
+
applicationId: string;
|
|
2199
|
+
typeId?: string;
|
|
2200
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceSummaryResponse[]>;
|
|
2201
|
+
/**
|
|
2202
|
+
* Get available connection interface for an application by its id.
|
|
2203
|
+
*/
|
|
2204
|
+
export declare function getAvailableConnectionInterfaceForAnApplication1({ applicationId, connectionInterfaceId, environmentId }: {
|
|
2205
|
+
applicationId: string;
|
|
2206
|
+
connectionInterfaceId: string;
|
|
2207
|
+
environmentId?: string;
|
|
2208
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceDetailsResponse>;
|
|
2209
|
+
/**
|
|
2210
|
+
* Get action version ranges used in workflows given an actionId.
|
|
2211
|
+
*/
|
|
2212
|
+
export declare function listActionVersionRangesUsage({ accountId, actionId }: {
|
|
2213
|
+
accountId?: string;
|
|
2214
|
+
actionId: string;
|
|
2215
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkflowActionUsageResponse>;
|
|
2216
|
+
/**
|
|
2217
|
+
* List the input context of all stack elements for given type in account.
|
|
2218
|
+
*/
|
|
2219
|
+
export declare function listAccountContext({ stackVersionId, $type, environmentId, externalId }: {
|
|
2220
|
+
stackVersionId: string;
|
|
2221
|
+
$type: "plugin" | "action";
|
|
2222
|
+
environmentId?: string;
|
|
2223
|
+
externalId?: string;
|
|
2224
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AccountContextResponse[]>;
|
|
2225
|
+
/**
|
|
2226
|
+
* Get workflow of a stackId by workflow type.
|
|
2227
|
+
*/
|
|
2228
|
+
export declare function listWorkflowByStackIdAndType({ stackId, workflowType }: {
|
|
2229
|
+
stackId: string;
|
|
2230
|
+
workflowType: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
|
|
2231
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AccountWorkflowResponse>;
|
|
2232
|
+
/**
|
|
2233
|
+
* Get workflows by a stackId.
|
|
2234
|
+
*/
|
|
2235
|
+
export declare function listWorkflowsByStackId({ stackId }: {
|
|
2236
|
+
stackId: string;
|
|
2237
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AccountWorkflowResponse[]>;
|
|
2238
|
+
/**
|
|
2239
|
+
* List all stacks with workflow by account.
|
|
2240
|
+
*/
|
|
2241
|
+
export declare function listStacksWithWorkflow(opts?: Oazapfts.RequestOpts): Promise<StacksByAccountResponse>;
|
|
2242
|
+
/**
|
|
2243
|
+
* List all default workflows of an account.
|
|
2244
|
+
*/
|
|
2245
|
+
export declare function listDefaultAccountWorkflows(opts?: Oazapfts.RequestOpts): Promise<WorkflowResponse[]>;
|
|
2246
|
+
/**
|
|
2247
|
+
* Delete completely connection interfaces from all environments.
|
|
2248
|
+
*/
|
|
2249
|
+
export declare function deleteConnectionInterfaceFromAllEnvironments({ workspaceId, slug }: {
|
|
2250
|
+
workspaceId: string;
|
|
2251
|
+
slug: string;
|
|
2252
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2253
|
+
/**
|
|
2254
|
+
* Delete connection interfaces.
|
|
2255
|
+
*/
|
|
2256
|
+
export declare function deleteConnectionInterface({ workspaceId, slug, environmentId, accountId }: {
|
|
2257
|
+
workspaceId: string;
|
|
2258
|
+
slug: string;
|
|
2259
|
+
environmentId: string;
|
|
2260
|
+
accountId?: string;
|
|
2261
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2262
|
+
/**
|
|
2263
|
+
* Delete connection interface attributes by environment.
|
|
2264
|
+
*/
|
|
2265
|
+
export declare function deleteConnectionInterfaceAttributesFromEnvironment({ workspaceId, slug, environmentId }: {
|
|
2266
|
+
workspaceId: string;
|
|
2267
|
+
slug: string;
|
|
2268
|
+
environmentId: string;
|
|
2269
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2270
|
+
/**
|
|
2271
|
+
* Delete an account workflow.
|
|
2272
|
+
*/
|
|
2273
|
+
export declare function deleteAccountWorkflow({ workflowId }: {
|
|
2274
|
+
workflowId: string;
|
|
2275
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2276
|
+
//# sourceMappingURL=workspace.d.ts.map
|