@stack-spot/portal-network 0.27.2 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/api/apiManagement.d.ts +289 -0
- package/dist/api/apiManagement.d.ts.map +1 -0
- package/dist/api/apiManagement.js +143 -0
- package/dist/api/apiManagement.js.map +1 -0
- package/dist/api/workspaceManager.d.ts +320 -218
- package/dist/api/workspaceManager.d.ts.map +1 -1
- package/dist/api/workspaceManager.js +68 -20
- package/dist/api/workspaceManager.js.map +1 -1
- package/dist/apis.json +8 -8
- package/dist/client/content.d.ts +43 -0
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/content.js +55 -1
- package/dist/client/content.js.map +1 -1
- package/dist/client/notification.d.ts +1 -1
- package/dist/client/types.d.ts +29 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workspace-manager.d.ts +121 -0
- package/dist/client/workspace-manager.d.ts.map +1 -0
- package/dist/client/workspace-manager.js +204 -0
- package/dist/client/workspace-manager.js.map +1 -0
- package/dist/client/workspace.d.ts +45 -0
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/client/workspace.js +46 -1
- package/dist/client/workspace.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/network/ManualOperation.js +1 -1
- package/package.json +1 -1
- package/src/api/apiManagement.ts +498 -0
- package/src/api/workspaceManager.ts +402 -234
- package/src/apis.json +8 -8
- package/src/client/content.ts +39 -2
- package/src/client/types.ts +38 -0
- package/src/client/workspace-manager.ts +171 -0
- package/src/client/workspace.ts +40 -15
- package/src/index.ts +1 -1
- package/src/network/ManualOperation.ts +1 -1
|
@@ -12,16 +12,16 @@ export declare const servers: {
|
|
|
12
12
|
export type ExternalItemsResponse = {
|
|
13
13
|
source: string;
|
|
14
14
|
value: string;
|
|
15
|
-
label
|
|
15
|
+
label?: string;
|
|
16
16
|
};
|
|
17
|
-
export type
|
|
17
|
+
export type InputConditionResponse = {
|
|
18
18
|
variable: string;
|
|
19
19
|
operator: string;
|
|
20
20
|
value?: object;
|
|
21
21
|
};
|
|
22
22
|
export type ActionConsolidatedAttributeResponse = {
|
|
23
|
-
key
|
|
24
|
-
value
|
|
23
|
+
key?: string;
|
|
24
|
+
value?: object;
|
|
25
25
|
final: boolean;
|
|
26
26
|
label: string;
|
|
27
27
|
"type": string;
|
|
@@ -31,7 +31,7 @@ export type ActionConsolidatedAttributeResponse = {
|
|
|
31
31
|
"default"?: object;
|
|
32
32
|
items?: string[];
|
|
33
33
|
externalItems?: ExternalItemsResponse;
|
|
34
|
-
condition?:
|
|
34
|
+
condition?: InputConditionResponse;
|
|
35
35
|
source: "ACCOUNT" | "STACK" | "WORKSPACE";
|
|
36
36
|
readOnly: boolean;
|
|
37
37
|
connectionInterfaceType?: string;
|
|
@@ -39,12 +39,18 @@ export type ActionConsolidatedAttributeResponse = {
|
|
|
39
39
|
input?: object;
|
|
40
40
|
inputs: object[];
|
|
41
41
|
};
|
|
42
|
+
export type ComputedInputResponse = {
|
|
43
|
+
name: string;
|
|
44
|
+
expression: string;
|
|
45
|
+
};
|
|
42
46
|
export type WorkflowActionWithContextResponse = {
|
|
43
47
|
actionId: string;
|
|
44
48
|
versionRange: string;
|
|
45
49
|
name: string;
|
|
46
50
|
stepType?: "CREATE_REPO";
|
|
47
51
|
valuesContext: ActionConsolidatedAttributeResponse[];
|
|
52
|
+
computedInputs: ComputedInputResponse[];
|
|
53
|
+
globalComputedInputs: ComputedInputResponse[];
|
|
48
54
|
};
|
|
49
55
|
export type WorkflowAccountContextResponse = {
|
|
50
56
|
actionsBefore: WorkflowActionWithContextResponse[];
|
|
@@ -67,38 +73,28 @@ export type WorkflowContextSaveRequest = {
|
|
|
67
73
|
};
|
|
68
74
|
export type ConnectionInterfaceAttribute = {
|
|
69
75
|
/** Attribute key. */
|
|
70
|
-
key
|
|
76
|
+
key: string;
|
|
71
77
|
/** Attribute value. */
|
|
72
|
-
value
|
|
78
|
+
value: object;
|
|
73
79
|
/** Indicates if this attribute value is sensitive or not. */
|
|
74
|
-
sensitive
|
|
80
|
+
sensitive: boolean;
|
|
75
81
|
/** Indicates the outuput id for the respective attribute and is used for validation. */
|
|
76
|
-
id
|
|
82
|
+
id: string;
|
|
77
83
|
};
|
|
78
84
|
export type ConnectionInterfaceAttributesByEnv = {
|
|
79
85
|
/** Environment id. */
|
|
80
|
-
environmentId
|
|
86
|
+
environmentId: string;
|
|
81
87
|
/** List of attributes */
|
|
82
|
-
attributes
|
|
88
|
+
attributes: ConnectionInterfaceAttribute[];
|
|
83
89
|
};
|
|
84
|
-
export type
|
|
85
|
-
source: string;
|
|
86
|
-
value: string;
|
|
87
|
-
label?: string;
|
|
88
|
-
};
|
|
89
|
-
export type ConsolidatedValueByEnv = {
|
|
90
|
+
export type PluginInputValuesInConsolidatedContextResponseConsolidatedValueByEnv = {
|
|
90
91
|
envName: string;
|
|
91
92
|
value: object;
|
|
92
93
|
mandate: boolean;
|
|
93
94
|
source: string;
|
|
94
95
|
};
|
|
95
|
-
export type Condition = {
|
|
96
|
-
variable: string;
|
|
97
|
-
operator: string;
|
|
98
|
-
value: object;
|
|
99
|
-
};
|
|
100
96
|
export type PluginInputValuesInConsolidatedContextResponse = {
|
|
101
|
-
name
|
|
97
|
+
name?: string;
|
|
102
98
|
label: string;
|
|
103
99
|
"type": string;
|
|
104
100
|
inputEnv: boolean;
|
|
@@ -107,9 +103,10 @@ export type PluginInputValuesInConsolidatedContextResponse = {
|
|
|
107
103
|
pattern?: string;
|
|
108
104
|
help?: string;
|
|
109
105
|
items?: string[];
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
106
|
+
itemsValues?: string[];
|
|
107
|
+
externalItems?: ExternalItemsResponse;
|
|
108
|
+
valuesByEnv: PluginInputValuesInConsolidatedContextResponseConsolidatedValueByEnv[];
|
|
109
|
+
condition?: InputConditionResponse;
|
|
113
110
|
isGlobal?: boolean;
|
|
114
111
|
connectionInterfaceType?: string;
|
|
115
112
|
addQuestion?: string;
|
|
@@ -130,13 +127,18 @@ export type UpsertActionInputContextRequest = {
|
|
|
130
127
|
value: object;
|
|
131
128
|
mandate?: boolean;
|
|
132
129
|
};
|
|
133
|
-
export type
|
|
130
|
+
export type PluginInputValuesInAccountContextResponseAccValueByEnv = {
|
|
134
131
|
envName: string;
|
|
135
132
|
value: object;
|
|
136
133
|
mandate: boolean;
|
|
137
134
|
};
|
|
135
|
+
export type PluginInputValuesInAccountContextResponseCondition = {
|
|
136
|
+
variable: string;
|
|
137
|
+
operator: string;
|
|
138
|
+
value: object;
|
|
139
|
+
};
|
|
138
140
|
export type PluginInputValuesInAccountContextResponse = {
|
|
139
|
-
name
|
|
141
|
+
name?: string;
|
|
140
142
|
label: string;
|
|
141
143
|
"type": string;
|
|
142
144
|
inputEnv: boolean;
|
|
@@ -145,9 +147,9 @@ export type PluginInputValuesInAccountContextResponse = {
|
|
|
145
147
|
pattern?: string;
|
|
146
148
|
help?: string;
|
|
147
149
|
items?: string[];
|
|
148
|
-
externalItems?:
|
|
149
|
-
valuesByEnv:
|
|
150
|
-
condition?:
|
|
150
|
+
externalItems?: ExternalItemsResponse;
|
|
151
|
+
valuesByEnv: PluginInputValuesInAccountContextResponseAccValueByEnv[];
|
|
152
|
+
condition?: PluginInputValuesInAccountContextResponseCondition;
|
|
151
153
|
isGlobal?: boolean;
|
|
152
154
|
connectionInterfaceType?: string;
|
|
153
155
|
addQuestion?: string;
|
|
@@ -202,19 +204,19 @@ export type WorkflowActionsRequest = {
|
|
|
202
204
|
};
|
|
203
205
|
export type RequiresRequest = {
|
|
204
206
|
/** Connections requires name. */
|
|
205
|
-
selected
|
|
207
|
+
selected: string;
|
|
206
208
|
/** Connections requires alias. */
|
|
207
|
-
alias
|
|
209
|
+
alias: string;
|
|
208
210
|
/** Connections requires type. */
|
|
209
|
-
"type"
|
|
211
|
+
"type": string;
|
|
210
212
|
};
|
|
211
213
|
export type GeneratesRequest = {
|
|
212
214
|
/** Connections generates name. */
|
|
213
|
-
selected
|
|
215
|
+
selected: string;
|
|
214
216
|
/** Connections generates alias. */
|
|
215
|
-
alias
|
|
217
|
+
alias: string;
|
|
216
218
|
/** Connections generates type. */
|
|
217
|
-
"type"
|
|
219
|
+
"type": string;
|
|
218
220
|
};
|
|
219
221
|
export type PluginsConnectionsRequest = {
|
|
220
222
|
/** List of connections requires. */
|
|
@@ -224,19 +226,17 @@ export type PluginsConnectionsRequest = {
|
|
|
224
226
|
};
|
|
225
227
|
export type PluginRequest = {
|
|
226
228
|
/** Name used in workflow. */
|
|
227
|
-
name
|
|
229
|
+
name: string;
|
|
228
230
|
alias: string;
|
|
229
|
-
/** Type of plugin (APP/INFRA). */
|
|
230
|
-
"type"?: string;
|
|
231
231
|
pluginVersionId?: string;
|
|
232
232
|
/** Inputs used in workflow. */
|
|
233
|
-
inputs
|
|
233
|
+
inputs: {
|
|
234
234
|
[key: string]: object;
|
|
235
235
|
};
|
|
236
236
|
/** Inputs sensitives used in workflow. */
|
|
237
237
|
inputsSensitive?: string[];
|
|
238
238
|
/** Inputs Env used in workflow. */
|
|
239
|
-
inputsEnv
|
|
239
|
+
inputsEnv: {
|
|
240
240
|
[key: string]: {
|
|
241
241
|
[key: string]: object;
|
|
242
242
|
};
|
|
@@ -263,32 +263,32 @@ export type Infra = {
|
|
|
263
263
|
};
|
|
264
264
|
export type ActionsConnectionsRequest = {
|
|
265
265
|
/** List of connections requires. */
|
|
266
|
-
requires
|
|
266
|
+
requires: RequiresRequest[];
|
|
267
267
|
};
|
|
268
268
|
export type ActionsBeforeRequest = {
|
|
269
269
|
/** Actions before name. */
|
|
270
|
-
name
|
|
270
|
+
name: string;
|
|
271
271
|
/** Actions before inputs. */
|
|
272
|
-
inputs
|
|
272
|
+
inputs: {
|
|
273
273
|
[key: string]: object;
|
|
274
274
|
};
|
|
275
275
|
/** Actions before inputs sensitive. */
|
|
276
276
|
inputsSensitive?: string[];
|
|
277
277
|
/** Create repo?. */
|
|
278
|
-
repoCreate
|
|
278
|
+
repoCreate: boolean;
|
|
279
279
|
connections?: ActionsConnectionsRequest;
|
|
280
280
|
};
|
|
281
281
|
export type ActionsAfterRequest = {
|
|
282
282
|
/** Actions after name. */
|
|
283
|
-
name
|
|
283
|
+
name: string;
|
|
284
284
|
/** Actions after inputs. */
|
|
285
|
-
inputs
|
|
285
|
+
inputs: {
|
|
286
286
|
[key: string]: object;
|
|
287
287
|
};
|
|
288
288
|
/** Actions after inputs sensitive. */
|
|
289
289
|
inputsSensitive?: string[];
|
|
290
290
|
/** Create repo?. */
|
|
291
|
-
repoCreate
|
|
291
|
+
repoCreate: boolean;
|
|
292
292
|
connections?: ActionsConnectionsRequest;
|
|
293
293
|
};
|
|
294
294
|
export type CreateSharedRequest = {
|
|
@@ -352,7 +352,7 @@ export type CreateApplicationResponse = {
|
|
|
352
352
|
workflowId: string;
|
|
353
353
|
logs: string;
|
|
354
354
|
};
|
|
355
|
-
export type
|
|
355
|
+
export type WorkspaceStackResponseStackResponse = {
|
|
356
356
|
id: string;
|
|
357
357
|
version: number;
|
|
358
358
|
displayName: string;
|
|
@@ -370,7 +370,7 @@ export type WorkspaceStackResponse = {
|
|
|
370
370
|
workspaceId: string;
|
|
371
371
|
accountId: string;
|
|
372
372
|
qualifier: string;
|
|
373
|
-
stack:
|
|
373
|
+
stack: WorkspaceStackResponseStackResponse;
|
|
374
374
|
};
|
|
375
375
|
export type AddStackInWorkspaceRequest = {
|
|
376
376
|
/** Stack version id. */
|
|
@@ -378,9 +378,9 @@ export type AddStackInWorkspaceRequest = {
|
|
|
378
378
|
};
|
|
379
379
|
export type CreateConnectionInterfaceRequest = {
|
|
380
380
|
/** Connection interface type id. */
|
|
381
|
-
typeId
|
|
381
|
+
typeId: string;
|
|
382
382
|
/** Connection interface id generated by client. */
|
|
383
|
-
connectionInterfaceId
|
|
383
|
+
connectionInterfaceId: string;
|
|
384
384
|
/** Connection interface owner applications. */
|
|
385
385
|
applicationId?: string;
|
|
386
386
|
/** Connection interface owner shared infra. */
|
|
@@ -388,9 +388,9 @@ export type CreateConnectionInterfaceRequest = {
|
|
|
388
388
|
/** Version id from plugin that generated this connection interface. */
|
|
389
389
|
sourcePluginVersionId?: string;
|
|
390
390
|
/** Indicates if this connection interface was generated by a plugin or manually. */
|
|
391
|
-
automaticallyGenerated
|
|
391
|
+
automaticallyGenerated: boolean;
|
|
392
392
|
/** Connection interface attributes. */
|
|
393
|
-
attributesByEnv
|
|
393
|
+
attributesByEnv: ConnectionInterfaceAttributesByEnv[];
|
|
394
394
|
};
|
|
395
395
|
export type IdResponse = {
|
|
396
396
|
id: string;
|
|
@@ -418,34 +418,40 @@ export type AccountWorkflowCreateRequest = {
|
|
|
418
418
|
export type IdResponseString = {
|
|
419
419
|
id: string;
|
|
420
420
|
};
|
|
421
|
-
export type
|
|
421
|
+
export type ManagerRunResponse = {
|
|
422
|
+
environmentName?: string;
|
|
423
|
+
runId: string;
|
|
424
|
+
};
|
|
425
|
+
export type SharedInfraAppliedPluginsV2ResponsePluginsResponseConnectionInterfacesIdResponse = {
|
|
422
426
|
connectionInterfaceId: string;
|
|
423
427
|
typeId: string;
|
|
424
428
|
alias?: string;
|
|
425
429
|
typeName: string;
|
|
426
430
|
};
|
|
427
|
-
export type
|
|
431
|
+
export type SharedInfraAppliedPluginsV2ResponsePluginsResponseActionsResponseRequiresConnectionInterfaceResponse = {
|
|
428
432
|
typeId?: string;
|
|
429
433
|
typeName: string;
|
|
430
434
|
alias: string;
|
|
435
|
+
optional?: boolean;
|
|
436
|
+
source?: string;
|
|
431
437
|
};
|
|
432
|
-
export type
|
|
433
|
-
connectionInterfaces:
|
|
438
|
+
export type SharedInfraAppliedPluginsV2ResponsePluginsResponseActionsResponseRequires = {
|
|
439
|
+
connectionInterfaces: SharedInfraAppliedPluginsV2ResponsePluginsResponseActionsResponseRequiresConnectionInterfaceResponse[];
|
|
434
440
|
};
|
|
435
|
-
export type
|
|
441
|
+
export type SharedInfraAppliedPluginsV2ResponsePluginsResponseActionsResponse = {
|
|
436
442
|
versionId: string;
|
|
437
443
|
qualifier: string;
|
|
438
444
|
description: string;
|
|
439
445
|
slug: string;
|
|
440
446
|
displayName: string;
|
|
441
|
-
requires:
|
|
447
|
+
requires: SharedInfraAppliedPluginsV2ResponsePluginsResponseActionsResponseRequires;
|
|
442
448
|
};
|
|
443
|
-
export type
|
|
449
|
+
export type SharedInfraAppliedPluginsV2ResponsePluginsResponseLink = {
|
|
444
450
|
name: string;
|
|
445
451
|
url: string;
|
|
446
452
|
imageUrl?: string;
|
|
447
453
|
};
|
|
448
|
-
export type
|
|
454
|
+
export type SharedInfraAppliedPluginsV2ResponsePluginsResponse = {
|
|
449
455
|
versionId: string;
|
|
450
456
|
qualifier: string;
|
|
451
457
|
slug: string;
|
|
@@ -459,90 +465,156 @@ export type PluginsResponse = {
|
|
|
459
465
|
attributes?: {
|
|
460
466
|
[key: string]: object;
|
|
461
467
|
};
|
|
462
|
-
connectionInterfaces?:
|
|
463
|
-
actions?:
|
|
464
|
-
links?:
|
|
468
|
+
connectionInterfaces?: SharedInfraAppliedPluginsV2ResponsePluginsResponseConnectionInterfacesIdResponse[];
|
|
469
|
+
actions?: SharedInfraAppliedPluginsV2ResponsePluginsResponseActionsResponse[];
|
|
470
|
+
links?: SharedInfraAppliedPluginsV2ResponsePluginsResponseLink[];
|
|
465
471
|
};
|
|
466
472
|
export type SharedInfraAppliedPluginsV2Response = {
|
|
467
|
-
plugins:
|
|
473
|
+
plugins: SharedInfraAppliedPluginsV2ResponsePluginsResponse[];
|
|
474
|
+
};
|
|
475
|
+
export type ActivityResponse = {
|
|
476
|
+
title: string;
|
|
477
|
+
owner?: string;
|
|
478
|
+
status: "SUCCESS" | "FAILED" | "RUNNING" | "PENDING" | "SKIPPED" | "CANCELLED" | "NONE" | "DRIFT" | "SUCCEEDED" | "RUNTIME_ERROR" | "USER_ERROR" | "INTERNAL_ERROR" | "ABORTED" | "ABORTING" | "EXTERNAL_ERROR" | "READY_TO_RUN";
|
|
479
|
+
"type"?: "DEPLOY" | "CUSTOMER_WORKFLOW" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
480
|
+
action?: "CREATE" | "UPDATE" | "DELETE" | "RUN";
|
|
481
|
+
requestedBy?: string;
|
|
482
|
+
time: number;
|
|
483
|
+
version: string;
|
|
484
|
+
detail: {
|
|
485
|
+
[key: string]: object;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
export type PaginatedActivityResponse = {
|
|
489
|
+
items: ActivityResponse[];
|
|
490
|
+
currentPage: number;
|
|
491
|
+
totalItems: number;
|
|
492
|
+
totalPages: number;
|
|
493
|
+
};
|
|
494
|
+
export type ApplicationAppliedPluginsV2ResponsePluginsResponseConnectionInterfacesIdResponse = {
|
|
495
|
+
connectionInterfaceId: string;
|
|
496
|
+
typeId: string;
|
|
497
|
+
alias?: string;
|
|
498
|
+
typeName: string;
|
|
499
|
+
};
|
|
500
|
+
export type ApplicationAppliedPluginsV2ResponsePluginsResponseActionsResponseConnectionInterfaceResponse = {
|
|
501
|
+
typeId?: string;
|
|
502
|
+
typeName: string;
|
|
503
|
+
alias: string;
|
|
504
|
+
optional?: boolean;
|
|
505
|
+
source?: string;
|
|
506
|
+
};
|
|
507
|
+
export type ApplicationAppliedPluginsV2ResponsePluginsResponseActionsResponseRequires = {
|
|
508
|
+
connectionInterfaces: ApplicationAppliedPluginsV2ResponsePluginsResponseActionsResponseConnectionInterfaceResponse[];
|
|
509
|
+
};
|
|
510
|
+
export type ApplicationAppliedPluginsV2ResponsePluginsResponseActionsResponse = {
|
|
511
|
+
versionId: string;
|
|
512
|
+
qualifier: string;
|
|
513
|
+
description: string;
|
|
514
|
+
slug: string;
|
|
515
|
+
displayName: string;
|
|
516
|
+
requires: ApplicationAppliedPluginsV2ResponsePluginsResponseActionsResponseRequires;
|
|
517
|
+
};
|
|
518
|
+
export type ApplicationAppliedPluginsV2ResponsePluginsResponseLink = {
|
|
519
|
+
name: string;
|
|
520
|
+
url: string;
|
|
521
|
+
imageUrl?: string;
|
|
522
|
+
};
|
|
523
|
+
export type ApplicationAppliedPluginsV2ResponsePluginsResponse = {
|
|
524
|
+
versionId: string;
|
|
525
|
+
qualifier: string;
|
|
526
|
+
slug: string;
|
|
527
|
+
description: string;
|
|
528
|
+
displayName: string;
|
|
529
|
+
"type": string;
|
|
530
|
+
status: string;
|
|
531
|
+
deployStatus: string;
|
|
532
|
+
inCloud?: boolean;
|
|
533
|
+
singleUse?: boolean;
|
|
534
|
+
attributes?: {
|
|
535
|
+
[key: string]: object;
|
|
536
|
+
};
|
|
537
|
+
connectionInterfaces?: ApplicationAppliedPluginsV2ResponsePluginsResponseConnectionInterfacesIdResponse[];
|
|
538
|
+
actions?: ApplicationAppliedPluginsV2ResponsePluginsResponseActionsResponse[];
|
|
539
|
+
links?: ApplicationAppliedPluginsV2ResponsePluginsResponseLink[];
|
|
468
540
|
};
|
|
469
541
|
export type ApplicationAppliedPluginsV2Response = {
|
|
470
|
-
plugins:
|
|
542
|
+
plugins: ApplicationAppliedPluginsV2ResponsePluginsResponse[];
|
|
471
543
|
};
|
|
472
544
|
export type WorkspaceContextV2ResponseWorkspacePluginAttributeContext = {
|
|
473
545
|
/** Key identifier of an input */
|
|
474
|
-
key
|
|
546
|
+
key: string;
|
|
475
547
|
/** Value of an input */
|
|
476
|
-
value
|
|
548
|
+
value: object;
|
|
477
549
|
/** Identifies whether this attribute can be overwritten or not */
|
|
478
|
-
mandate
|
|
550
|
+
mandate: boolean;
|
|
479
551
|
/** Source */
|
|
480
|
-
source
|
|
552
|
+
source: string;
|
|
481
553
|
};
|
|
482
554
|
export type WorkspaceContextV2ResponseEnvironment = {
|
|
483
555
|
/** Identifier of a environment */
|
|
484
|
-
environmentId
|
|
556
|
+
environmentId: string;
|
|
485
557
|
/** name of a environment */
|
|
486
558
|
environmentName?: string;
|
|
487
559
|
/** Attributes environments */
|
|
488
|
-
attributes
|
|
560
|
+
attributes: WorkspaceContextV2ResponseWorkspacePluginAttributeContext[];
|
|
489
561
|
};
|
|
490
562
|
export type WorkspaceContextV2ResponseConnectionInterfaceRequired = {
|
|
491
563
|
/** Connection interface type required */
|
|
492
|
-
typeName
|
|
564
|
+
typeName: string;
|
|
493
565
|
/** Identifier of the pluginVersionId that should be used for the connection interface type */
|
|
494
566
|
pluginVersionId?: string;
|
|
495
567
|
alias?: string;
|
|
496
568
|
};
|
|
497
569
|
export type WorkspaceContextV2ResponsePlugin = {
|
|
498
570
|
/** Identifier of a plugin version */
|
|
499
|
-
pluginVersionId
|
|
571
|
+
pluginVersionId: string;
|
|
500
572
|
/** Plugin slugs name with format `accountSlug/studioSlug/pluginSlug@x.y.z` */
|
|
501
|
-
pluginQualifier
|
|
573
|
+
pluginQualifier: string;
|
|
502
574
|
/** Plugin type */
|
|
503
|
-
pluginType
|
|
575
|
+
pluginType: string;
|
|
504
576
|
/** Status Plugin */
|
|
505
|
-
status
|
|
577
|
+
status: string;
|
|
506
578
|
/** Attributes show by environments */
|
|
507
|
-
environments
|
|
579
|
+
environments: WorkspaceContextV2ResponseEnvironment[];
|
|
508
580
|
/** Connection interfaces required */
|
|
509
|
-
connectionInterfaceRequired
|
|
581
|
+
connectionInterfaceRequired: WorkspaceContextV2ResponseConnectionInterfaceRequired[];
|
|
510
582
|
};
|
|
511
583
|
export type WorkspaceContextV2ResponseConnectionInterface = {
|
|
512
584
|
/** Connection interface type */
|
|
513
|
-
typeName
|
|
585
|
+
typeName: string;
|
|
514
586
|
/** Connection interface id. */
|
|
515
587
|
id?: string;
|
|
516
588
|
/** Connection interface id generated by client. */
|
|
517
|
-
connectionInterfaceId
|
|
589
|
+
connectionInterfaceId: string;
|
|
518
590
|
/** Automatically generated */
|
|
519
|
-
automaticallyGenerated
|
|
591
|
+
automaticallyGenerated: boolean;
|
|
520
592
|
};
|
|
521
593
|
export type WorkspaceContextV2Response = {
|
|
522
594
|
/** Cloud accounts information */
|
|
523
|
-
cloudAccounts
|
|
595
|
+
cloudAccounts: object[];
|
|
524
596
|
/** Context information for each environment and plugin in stack */
|
|
525
|
-
context
|
|
597
|
+
context: WorkspaceContextV2ResponsePlugin[];
|
|
526
598
|
/** Workspace Connection Interfaces information */
|
|
527
|
-
connectionInterfaces
|
|
599
|
+
connectionInterfaces: WorkspaceContextV2ResponseConnectionInterface[];
|
|
528
600
|
};
|
|
529
|
-
export type
|
|
601
|
+
export type PluginForAppCreationV2ResponseRequiredConnectionInterfaceByTypeAvailableConnectionInterface = {
|
|
530
602
|
id: string;
|
|
531
603
|
slug: string;
|
|
532
604
|
sourcePluginUri?: string;
|
|
533
605
|
};
|
|
534
|
-
export type
|
|
606
|
+
export type PluginForAppCreationV2ResponseRequiredConnectionInterfaceByTypeConnectionInterfaceInput = {
|
|
535
607
|
name: string;
|
|
536
608
|
"type": "BOOLEAN" | "NUMBER" | "STRING" | "SECRET" | "ARRAY" | "OBJECT";
|
|
537
609
|
};
|
|
538
|
-
export type
|
|
610
|
+
export type PluginForAppCreationV2ResponseRequiredConnectionInterfaceByType = {
|
|
539
611
|
typeId: string;
|
|
540
612
|
typeName: string;
|
|
541
613
|
alias: string;
|
|
542
|
-
available:
|
|
543
|
-
inputDefinitions:
|
|
614
|
+
available: PluginForAppCreationV2ResponseRequiredConnectionInterfaceByTypeAvailableConnectionInterface[];
|
|
615
|
+
inputDefinitions: PluginForAppCreationV2ResponseRequiredConnectionInterfaceByTypeConnectionInterfaceInput[];
|
|
544
616
|
};
|
|
545
|
-
export type
|
|
617
|
+
export type PluginForAppCreationV2ResponseGeneratesConnectionInterfaceByType = {
|
|
546
618
|
typeId: string;
|
|
547
619
|
typeName: string;
|
|
548
620
|
alias: string;
|
|
@@ -554,8 +626,40 @@ export type PluginForAppCreationV2Response = {
|
|
|
554
626
|
version: string;
|
|
555
627
|
singleUse?: boolean;
|
|
556
628
|
inputs: PluginInputValuesInConsolidatedContextResponse[];
|
|
557
|
-
|
|
558
|
-
|
|
629
|
+
computedInputs: ComputedInputResponse[];
|
|
630
|
+
globalComputedInputs: ComputedInputResponse[];
|
|
631
|
+
requiredConnectionInterfacesByType: PluginForAppCreationV2ResponseRequiredConnectionInterfaceByType[];
|
|
632
|
+
generatesConnectionInterfacesByType: PluginForAppCreationV2ResponseGeneratesConnectionInterfaceByType[];
|
|
633
|
+
};
|
|
634
|
+
export type ValueByEnvResponse = {
|
|
635
|
+
envName: string;
|
|
636
|
+
value: object;
|
|
637
|
+
mandate: boolean;
|
|
638
|
+
source: string;
|
|
639
|
+
};
|
|
640
|
+
export type InputValuesContextResponse = {
|
|
641
|
+
name?: string;
|
|
642
|
+
label: string;
|
|
643
|
+
"type": string;
|
|
644
|
+
items?: string[];
|
|
645
|
+
externalItems?: ExternalItemsResponse;
|
|
646
|
+
inputEnv: boolean;
|
|
647
|
+
"default"?: object;
|
|
648
|
+
required?: boolean;
|
|
649
|
+
pattern?: string;
|
|
650
|
+
help?: string;
|
|
651
|
+
valuesByEnv: ValueByEnvResponse[];
|
|
652
|
+
connectionInterfaceType?: string;
|
|
653
|
+
addQuestion?: string;
|
|
654
|
+
input?: object;
|
|
655
|
+
inputs: object[];
|
|
656
|
+
condition?: InputConditionResponse;
|
|
657
|
+
isGlobal?: boolean;
|
|
658
|
+
};
|
|
659
|
+
export type FullInputContextResponse = {
|
|
660
|
+
inputs: InputValuesContextResponse[];
|
|
661
|
+
computedInputs: ComputedInputResponse[];
|
|
662
|
+
globalComputedInputs: ComputedInputResponse[];
|
|
559
663
|
};
|
|
560
664
|
export type SimpleStackWithImageResponse = {
|
|
561
665
|
stackId: string;
|
|
@@ -587,7 +691,7 @@ export type StackVersionResponse = {
|
|
|
587
691
|
copyFromStackVersionId?: string;
|
|
588
692
|
hasContext?: boolean;
|
|
589
693
|
};
|
|
590
|
-
export type
|
|
694
|
+
export type WorkspaceStackContextResponseVersionStackResponse = {
|
|
591
695
|
id: string;
|
|
592
696
|
version: number;
|
|
593
697
|
displayName: string;
|
|
@@ -608,7 +712,7 @@ export type WorkspaceStackContextResponse = {
|
|
|
608
712
|
accountId: string;
|
|
609
713
|
qualifier: string;
|
|
610
714
|
hasContext: boolean;
|
|
611
|
-
stack:
|
|
715
|
+
stack: WorkspaceStackContextResponseVersionStackResponse;
|
|
612
716
|
};
|
|
613
717
|
export type LinksConsolidateResponse = {
|
|
614
718
|
id: string;
|
|
@@ -621,17 +725,17 @@ export type LinksConsolidateResponse = {
|
|
|
621
725
|
};
|
|
622
726
|
export type SharedInfraResponse = {
|
|
623
727
|
/** Shared-infra id. */
|
|
624
|
-
id
|
|
728
|
+
id: string;
|
|
625
729
|
/** Shared-infra name. */
|
|
626
|
-
name
|
|
730
|
+
name: string;
|
|
627
731
|
/** Shared-infra description. */
|
|
628
732
|
description?: string;
|
|
629
733
|
/** Shared-infra repository url. */
|
|
630
734
|
repoUrl?: string;
|
|
631
735
|
/** Shared-infra repository base branch. */
|
|
632
|
-
repoBaseBranch
|
|
736
|
+
repoBaseBranch: string;
|
|
633
737
|
/** Stack used to generate this shared-infra. */
|
|
634
|
-
stackVersionId
|
|
738
|
+
stackVersionId: string;
|
|
635
739
|
/** Starter used to generate this shared-infra. */
|
|
636
740
|
version?: string;
|
|
637
741
|
/** Shared-infra Deploy Status. */
|
|
@@ -641,7 +745,7 @@ export type WorkspaceActivitiesResponse = {
|
|
|
641
745
|
title: string;
|
|
642
746
|
owner?: string;
|
|
643
747
|
status: "SUCCESS" | "FAILED" | "RUNNING" | "PENDING" | "SKIPPED" | "CANCELLED" | "NONE" | "DRIFT" | "SUCCEEDED" | "RUNTIME_ERROR" | "USER_ERROR" | "INTERNAL_ERROR" | "ABORTED" | "ABORTING" | "EXTERNAL_ERROR" | "READY_TO_RUN";
|
|
644
|
-
"type"?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
748
|
+
"type"?: "DEPLOY" | "CUSTOMER_WORKFLOW" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
645
749
|
action?: "CREATE" | "UPDATE" | "DELETE" | "RUN";
|
|
646
750
|
requestedBy?: string;
|
|
647
751
|
time: number;
|
|
@@ -650,7 +754,7 @@ export type WorkspaceActivitiesResponse = {
|
|
|
650
754
|
[key: string]: object;
|
|
651
755
|
};
|
|
652
756
|
};
|
|
653
|
-
export type
|
|
757
|
+
export type WorkspacePluginResponseStudio = {
|
|
654
758
|
id: string;
|
|
655
759
|
slug: string;
|
|
656
760
|
name: string;
|
|
@@ -670,29 +774,41 @@ export type WorkspacePluginResponse = {
|
|
|
670
774
|
displayName: string;
|
|
671
775
|
description: string;
|
|
672
776
|
pluginQualifier: string;
|
|
673
|
-
studio:
|
|
777
|
+
studio: WorkspacePluginResponseStudio;
|
|
674
778
|
uri: string;
|
|
675
779
|
requiredConnectionInterfacesByType?: WorkspacePluginConnectionsResponse[];
|
|
676
780
|
generatesConnectionInterfacesByType: WorkspacePluginConnectionsResponse[];
|
|
677
781
|
};
|
|
678
|
-
export type
|
|
782
|
+
export type ConnectionInterfaceDetailsResponseVisibility = {
|
|
679
783
|
"type": string;
|
|
680
784
|
ids: string[];
|
|
681
785
|
};
|
|
786
|
+
export type ConnectionInterfaceDetailsResponseConnectionInterfaceAttribute = {
|
|
787
|
+
id?: string;
|
|
788
|
+
key: string;
|
|
789
|
+
value: object;
|
|
790
|
+
sensitive: boolean;
|
|
791
|
+
schema?: object;
|
|
792
|
+
};
|
|
793
|
+
export type ConnectionInterfaceDetailsResponseConnectionInterfaceAttributesByEnv = {
|
|
794
|
+
environmentId: string;
|
|
795
|
+
envName: string;
|
|
796
|
+
attributes: ConnectionInterfaceDetailsResponseConnectionInterfaceAttribute[];
|
|
797
|
+
};
|
|
682
798
|
export type ConnectionInterfaceDetailsResponse = {
|
|
683
799
|
/** Connection Interface Details id. */
|
|
684
|
-
id
|
|
800
|
+
id: string;
|
|
685
801
|
/** Connection Interface Type id. */
|
|
686
|
-
typeId
|
|
802
|
+
typeId: string;
|
|
687
803
|
/** Connection Interface id. */
|
|
688
|
-
connectionInterfaceId
|
|
689
|
-
visibility?:
|
|
804
|
+
connectionInterfaceId: string;
|
|
805
|
+
visibility?: ConnectionInterfaceDetailsResponseVisibility;
|
|
690
806
|
/** Source Plugin Version id. */
|
|
691
807
|
sourcePluginVersionId?: string;
|
|
692
808
|
/** Was this Connection Interface automatically generated?. */
|
|
693
|
-
automaticallyGenerated
|
|
809
|
+
automaticallyGenerated: boolean;
|
|
694
810
|
/** Connection interface attribute's by environment. */
|
|
695
|
-
attributesByEnv
|
|
811
|
+
attributesByEnv: ConnectionInterfaceDetailsResponseConnectionInterfaceAttributesByEnv[];
|
|
696
812
|
};
|
|
697
813
|
export type AvailableConnectionInterfaceResponse = {
|
|
698
814
|
slug: string;
|
|
@@ -702,135 +818,85 @@ export type AvailableConnectionInterfaceResponse = {
|
|
|
702
818
|
};
|
|
703
819
|
export type ApplicationResponse = {
|
|
704
820
|
/** Application id. */
|
|
705
|
-
id
|
|
821
|
+
id: string;
|
|
706
822
|
/** Application name. */
|
|
707
|
-
name
|
|
823
|
+
name: string;
|
|
708
824
|
/** Application description. */
|
|
709
825
|
description?: string;
|
|
710
826
|
/** Application repository url. */
|
|
711
827
|
repoUrl?: string;
|
|
712
828
|
/** Application repository base branch. */
|
|
713
|
-
repoBaseBranch
|
|
829
|
+
repoBaseBranch: string;
|
|
714
830
|
/** Stack used to generate this application. */
|
|
715
|
-
stackVersionId
|
|
831
|
+
stackVersionId: string;
|
|
716
832
|
/** Starter used to generate this application. */
|
|
717
|
-
starterId
|
|
718
|
-
/**
|
|
833
|
+
starterId: string;
|
|
834
|
+
/** Version of the infrastructure deployed for this application. */
|
|
719
835
|
version?: string;
|
|
836
|
+
/** Application Deploy Version. */
|
|
837
|
+
appVersion?: string;
|
|
720
838
|
/** Application Deploy Status. */
|
|
721
839
|
status?: string;
|
|
722
840
|
};
|
|
723
|
-
export type
|
|
724
|
-
/** Key identifier of an input */
|
|
725
|
-
key?: string;
|
|
726
|
-
/** Value of an input */
|
|
727
|
-
value?: object;
|
|
728
|
-
/** Identifies whether this attribute can be overwritten or not */
|
|
729
|
-
mandate?: boolean;
|
|
730
|
-
/** Source */
|
|
731
|
-
source?: string;
|
|
732
|
-
};
|
|
733
|
-
export type WorkspaceContextResponseEnvironment = {
|
|
734
|
-
/** Identifier of a environment */
|
|
735
|
-
environmentId?: string;
|
|
736
|
-
/** name of a environment */
|
|
737
|
-
environmentName?: string;
|
|
738
|
-
/** Attributes environments */
|
|
739
|
-
attributes?: WorkspaceContextResponseWorkspacePluginAttributeContext[];
|
|
740
|
-
};
|
|
741
|
-
export type WorkspaceContextResponseConnectionInterfaceRequired = {
|
|
742
|
-
/** Connection interface type required */
|
|
743
|
-
"type"?: string;
|
|
744
|
-
/** Identifier of the pluginVersionId that should be used for the connection interface type */
|
|
745
|
-
pluginVersionId?: string;
|
|
746
|
-
alias?: string;
|
|
747
|
-
};
|
|
748
|
-
export type WorkspaceContextResponsePlugin = {
|
|
749
|
-
/** Identifier of a plugin version */
|
|
750
|
-
pluginVersionId?: string;
|
|
751
|
-
/** Plugin slugs name with format `accountSlug/studioSlug/pluginSlug@x.y.z` */
|
|
752
|
-
pluginQualifier?: string;
|
|
753
|
-
/** Plugin type */
|
|
754
|
-
pluginType?: string;
|
|
755
|
-
/** Status Plugin */
|
|
756
|
-
status?: string;
|
|
757
|
-
/** Attributes show by environments */
|
|
758
|
-
environments?: WorkspaceContextResponseEnvironment[];
|
|
759
|
-
/** Connection interfaces required */
|
|
760
|
-
connectionInterfaceRequired?: WorkspaceContextResponseConnectionInterfaceRequired[];
|
|
761
|
-
};
|
|
762
|
-
export type WorkspaceContextResponseConnectionInterface = {
|
|
763
|
-
/** Connection interface type */
|
|
764
|
-
"type"?: string;
|
|
765
|
-
/** Connection interface id. */
|
|
766
|
-
id?: string;
|
|
767
|
-
/** Connection interface id generated by client. */
|
|
768
|
-
connectionInterfaceId?: string;
|
|
769
|
-
/** Automatically generated */
|
|
770
|
-
automaticallyGenerated?: boolean;
|
|
771
|
-
};
|
|
772
|
-
export type WorkspaceContextResponse = {
|
|
773
|
-
/** Cloud accounts information */
|
|
774
|
-
cloudAccounts?: object[];
|
|
775
|
-
/** Context information for each environment and plugin in stack */
|
|
776
|
-
context?: WorkspaceContextResponsePlugin[];
|
|
777
|
-
/** Workspace Connection Interfaces information */
|
|
778
|
-
connectionInterfaces?: WorkspaceContextResponseConnectionInterface[];
|
|
779
|
-
};
|
|
780
|
-
export type PluginForAppCreationResponse = {
|
|
781
|
-
displayName: string;
|
|
782
|
-
status: string;
|
|
783
|
-
uri: string;
|
|
784
|
-
inputs: PluginInputValuesInConsolidatedContextResponse[];
|
|
785
|
-
requiredConnectionInterfacesByType: RequiredConnectionInterfaceByType[];
|
|
786
|
-
generatesConnectionInterfacesByType: GeneratesConnectionInterfaceByType[];
|
|
787
|
-
};
|
|
788
|
-
export type ValueByEnvWorkspaceResponse = {
|
|
841
|
+
export type StackActionInputValuesByEnvInWorkspaceContextResponseValueByEnvWorkspaceResponse = {
|
|
789
842
|
envName: string;
|
|
790
843
|
value: object;
|
|
791
844
|
mandate: boolean;
|
|
792
845
|
source: string;
|
|
793
846
|
};
|
|
794
847
|
export type StackActionInputValuesByEnvInWorkspaceContextResponse = {
|
|
795
|
-
name
|
|
848
|
+
name?: string;
|
|
796
849
|
label: string;
|
|
797
850
|
"type": string;
|
|
798
851
|
items?: string[];
|
|
799
|
-
externalItems?:
|
|
852
|
+
externalItems?: ExternalItemsResponse;
|
|
800
853
|
inputEnv: boolean;
|
|
801
854
|
"default"?: object;
|
|
802
855
|
required?: boolean;
|
|
803
856
|
pattern?: string;
|
|
804
857
|
help?: string;
|
|
805
|
-
valuesByEnv:
|
|
858
|
+
valuesByEnv: StackActionInputValuesByEnvInWorkspaceContextResponseValueByEnvWorkspaceResponse[];
|
|
806
859
|
connectionInterfaceType?: string;
|
|
807
860
|
addQuestion?: string;
|
|
808
861
|
input?: object;
|
|
809
862
|
inputs: object[];
|
|
810
863
|
};
|
|
811
|
-
export type
|
|
864
|
+
export type StackActionInputValuesByEnvInAccountContextResponseValueByEnvAccountResponse = {
|
|
812
865
|
envName: string;
|
|
813
866
|
value: object;
|
|
814
867
|
mandate: boolean;
|
|
815
868
|
};
|
|
816
869
|
export type StackActionInputValuesByEnvInAccountContextResponse = {
|
|
817
|
-
name
|
|
870
|
+
name?: string;
|
|
818
871
|
label: string;
|
|
819
872
|
"type": string;
|
|
820
873
|
items?: string[];
|
|
821
|
-
externalItems?:
|
|
874
|
+
externalItems?: ExternalItemsResponse;
|
|
822
875
|
inputEnv: boolean;
|
|
823
876
|
"default"?: object;
|
|
824
877
|
required?: boolean;
|
|
825
878
|
pattern?: string;
|
|
826
879
|
help?: string;
|
|
827
|
-
valuesByEnv:
|
|
880
|
+
valuesByEnv: StackActionInputValuesByEnvInAccountContextResponseValueByEnvAccountResponse[];
|
|
828
881
|
connectionInterfaceType?: string;
|
|
829
882
|
addQuestion?: string;
|
|
830
883
|
input?: object;
|
|
831
884
|
inputs: object[];
|
|
832
885
|
};
|
|
833
|
-
export type
|
|
886
|
+
export type StackResponse = {
|
|
887
|
+
stackId: string;
|
|
888
|
+
slug: string;
|
|
889
|
+
displayName: string;
|
|
890
|
+
description: string;
|
|
891
|
+
imageUrl?: string;
|
|
892
|
+
existsDraft: boolean;
|
|
893
|
+
createdBy: string;
|
|
894
|
+
createdAt: string;
|
|
895
|
+
lastModificationAt: string;
|
|
896
|
+
studio: StudioResponse;
|
|
897
|
+
tags?: string[];
|
|
898
|
+
};
|
|
899
|
+
export type StacksByAccountWithWorkflowResponseStackVersion = {
|
|
834
900
|
stackVersionId: string;
|
|
835
901
|
version: number;
|
|
836
902
|
published: boolean;
|
|
@@ -841,14 +907,14 @@ export type StackVersion = {
|
|
|
841
907
|
semanticVersion?: string;
|
|
842
908
|
copyFromStackVersionId?: string;
|
|
843
909
|
};
|
|
844
|
-
export type
|
|
910
|
+
export type StacksByAccountWithWorkflowResponseStackVersionShortForm = {
|
|
845
911
|
stackVersionId: string;
|
|
846
912
|
version: number;
|
|
847
913
|
published: boolean;
|
|
848
914
|
semanticVersion?: string;
|
|
849
915
|
copyFromStackVersionId?: string;
|
|
850
916
|
};
|
|
851
|
-
export type
|
|
917
|
+
export type StacksByAccountWithWorkflowResponseWorkflow = {
|
|
852
918
|
id: string;
|
|
853
919
|
name: string;
|
|
854
920
|
"type": "CREATE_APP" | "CREATE_INFRA" | "CREATE_API";
|
|
@@ -856,9 +922,9 @@ export type Workflow = {
|
|
|
856
922
|
};
|
|
857
923
|
export type StacksByAccountWithWorkflowResponse = {
|
|
858
924
|
stack: StackResponse;
|
|
859
|
-
latestVersion:
|
|
860
|
-
versions:
|
|
861
|
-
workflows:
|
|
925
|
+
latestVersion: StacksByAccountWithWorkflowResponseStackVersion;
|
|
926
|
+
versions: StacksByAccountWithWorkflowResponseStackVersionShortForm[];
|
|
927
|
+
workflows: StacksByAccountWithWorkflowResponseWorkflow[];
|
|
862
928
|
};
|
|
863
929
|
export type StackVersionWksResponse = {
|
|
864
930
|
stackVersionId: string;
|
|
@@ -892,7 +958,7 @@ export declare function updateConnectionInterfaceAttributes({ workspaceId, conne
|
|
|
892
958
|
connectionInterfaceId: string;
|
|
893
959
|
connectionInterfaceAttributesByEnv: ConnectionInterfaceAttributesByEnv;
|
|
894
960
|
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
895
|
-
export declare function
|
|
961
|
+
export declare function getConsolidatedPluginInputs1({ workspaceId, stackVersionId, pluginVersionId, envName }: {
|
|
896
962
|
workspaceId: string;
|
|
897
963
|
stackVersionId: string;
|
|
898
964
|
pluginVersionId: string;
|
|
@@ -910,7 +976,7 @@ export declare function upsertWorkspaceActionsInputContext({ workspaceId, stackV
|
|
|
910
976
|
actionVersionId: string;
|
|
911
977
|
body: UpsertActionInputContextRequest[];
|
|
912
978
|
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
913
|
-
export declare function
|
|
979
|
+
export declare function getAccountPluginInputs1({ stackVersionId, pluginVersionId, envName }: {
|
|
914
980
|
stackVersionId: string;
|
|
915
981
|
pluginVersionId: string;
|
|
916
982
|
envName?: string;
|
|
@@ -974,10 +1040,18 @@ export declare function addStacksInWorkspace({ workspaceId, addStackInWorkspaceR
|
|
|
974
1040
|
workspaceId: string;
|
|
975
1041
|
addStackInWorkspaceRequest: AddStackInWorkspaceRequest;
|
|
976
1042
|
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1043
|
+
export declare function createSharedInfra1({ workspaceId, createSharedRequest }: {
|
|
1044
|
+
workspaceId: string;
|
|
1045
|
+
createSharedRequest: CreateSharedRequest;
|
|
1046
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreateShareInfraResponse>;
|
|
977
1047
|
export declare function createConnectionInterface({ workspaceId, createConnectionInterfaceRequest }: {
|
|
978
1048
|
workspaceId: string;
|
|
979
1049
|
createConnectionInterfaceRequest: CreateConnectionInterfaceRequest;
|
|
980
1050
|
}, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
|
|
1051
|
+
export declare function createApp1({ workspaceId, createAppRequest }: {
|
|
1052
|
+
workspaceId: string;
|
|
1053
|
+
createAppRequest: CreateAppRequest;
|
|
1054
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreateApplicationResponse>;
|
|
981
1055
|
export declare function importContextInWorkspace({ workspaceId, body }: {
|
|
982
1056
|
workspaceId: string;
|
|
983
1057
|
body: ImportContextRequest[];
|
|
@@ -991,21 +1065,37 @@ export declare function createAccountWorkflow({ accountWorkflowCreateRequest }:
|
|
|
991
1065
|
export declare function archiveApplication({ workspaceId, applicationId }: {
|
|
992
1066
|
workspaceId: string;
|
|
993
1067
|
applicationId: string;
|
|
994
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1068
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ManagerRunResponse[]>;
|
|
995
1069
|
export declare function getSharedInfraAppliedPlugins({ workspaceId, sharedInfraId, envName, pluginType, containsLinks }: {
|
|
996
1070
|
workspaceId: string;
|
|
997
1071
|
sharedInfraId: string;
|
|
998
1072
|
envName: string;
|
|
999
1073
|
pluginType?: string;
|
|
1000
|
-
containsLinks
|
|
1074
|
+
containsLinks?: boolean;
|
|
1001
1075
|
}, opts?: Oazapfts.RequestOpts): Promise<SharedInfraAppliedPluginsV2Response>;
|
|
1076
|
+
export declare function getSharedInfraActivities({ workspaceId, sharedInfraId, envName, $type, page, size }: {
|
|
1077
|
+
workspaceId: string;
|
|
1078
|
+
sharedInfraId: string;
|
|
1079
|
+
envName: string;
|
|
1080
|
+
$type?: "DEPLOY" | "CUSTOMER_WORKFLOW" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
1081
|
+
page: number;
|
|
1082
|
+
size: number;
|
|
1083
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedActivityResponse>;
|
|
1002
1084
|
export declare function getApplicationAppliedPlugins({ workspaceId, applicationId, envName, pluginType, containsLinks }: {
|
|
1003
1085
|
workspaceId: string;
|
|
1004
1086
|
applicationId: string;
|
|
1005
1087
|
envName: string;
|
|
1006
1088
|
pluginType?: string;
|
|
1007
|
-
containsLinks
|
|
1089
|
+
containsLinks?: boolean;
|
|
1008
1090
|
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationAppliedPluginsV2Response>;
|
|
1091
|
+
export declare function getApplicationActivities({ workspaceId, applicationId, envName, $type, page, size }: {
|
|
1092
|
+
workspaceId: string;
|
|
1093
|
+
applicationId: string;
|
|
1094
|
+
envName: string;
|
|
1095
|
+
$type?: "DEPLOY" | "CUSTOMER_WORKFLOW" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
1096
|
+
page: number;
|
|
1097
|
+
size: number;
|
|
1098
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedActivityResponse>;
|
|
1009
1099
|
export declare function getWorkspaceContext({ workspaceId, stackVersionId, envName }: {
|
|
1010
1100
|
workspaceId: string;
|
|
1011
1101
|
stackVersionId: string;
|
|
@@ -1016,6 +1106,28 @@ export declare function getConsolidatedPluginInputsWithConnectionInterfaces({ wo
|
|
|
1016
1106
|
stackVersionId: string;
|
|
1017
1107
|
pluginVersionId: string;
|
|
1018
1108
|
}, opts?: Oazapfts.RequestOpts): Promise<PluginForAppCreationV2Response>;
|
|
1109
|
+
export declare function getConsolidatedPluginInputs({ workspaceId, stackVersionId, pluginVersionId, envName }: {
|
|
1110
|
+
workspaceId: string;
|
|
1111
|
+
stackVersionId: string;
|
|
1112
|
+
pluginVersionId: string;
|
|
1113
|
+
envName?: string;
|
|
1114
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FullInputContextResponse>;
|
|
1115
|
+
export declare function getStackActionInputsInWorkspaceContext({ workspaceId, stackVersionId, actionsVersionId, envName }: {
|
|
1116
|
+
workspaceId: string;
|
|
1117
|
+
stackVersionId: string;
|
|
1118
|
+
actionsVersionId: string;
|
|
1119
|
+
envName?: string;
|
|
1120
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FullInputContextResponse>;
|
|
1121
|
+
export declare function getAccountPluginInputs({ stackVersionId, pluginVersionId, envName }: {
|
|
1122
|
+
stackVersionId: string;
|
|
1123
|
+
pluginVersionId: string;
|
|
1124
|
+
envName?: string;
|
|
1125
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FullInputContextResponse>;
|
|
1126
|
+
export declare function getStackActionInputsInAccountContext({ stackVersionId, actionsVersionId, envName }: {
|
|
1127
|
+
stackVersionId: string;
|
|
1128
|
+
actionsVersionId: string;
|
|
1129
|
+
envName?: string;
|
|
1130
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FullInputContextResponse>;
|
|
1019
1131
|
export declare function listStacks({ workspaceId, workflowId }: {
|
|
1020
1132
|
workspaceId: string;
|
|
1021
1133
|
workflowId: string;
|
|
@@ -1038,11 +1150,11 @@ export declare function getSharedInfraAppliedPlugins1({ workspaceId, sharedInfra
|
|
|
1038
1150
|
sharedInfraId: string;
|
|
1039
1151
|
envName: string;
|
|
1040
1152
|
}, opts?: Oazapfts.RequestOpts): Promise<SharedInfraResponse>;
|
|
1041
|
-
export declare function
|
|
1153
|
+
export declare function getSharedInfraActivities1({ workspaceId, sharedInfraId, envName, $type }: {
|
|
1042
1154
|
workspaceId: string;
|
|
1043
1155
|
sharedInfraId: string;
|
|
1044
1156
|
envName: string;
|
|
1045
|
-
$type?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
1157
|
+
$type?: "DEPLOY" | "CUSTOMER_WORKFLOW" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
1046
1158
|
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceActivitiesResponse[]>;
|
|
1047
1159
|
export declare function listPluginsFromWorkspace({ workspaceId, typePlugin }: {
|
|
1048
1160
|
workspaceId: string;
|
|
@@ -1067,29 +1179,19 @@ export declare function getApplicationDetails({ workspaceId, applicationId, envN
|
|
|
1067
1179
|
applicationId: string;
|
|
1068
1180
|
envName: string;
|
|
1069
1181
|
}, opts?: Oazapfts.RequestOpts): Promise<ApplicationResponse>;
|
|
1070
|
-
export declare function
|
|
1182
|
+
export declare function getApplicationActivities1({ workspaceId, applicationId, envName, $type }: {
|
|
1071
1183
|
workspaceId: string;
|
|
1072
1184
|
applicationId: string;
|
|
1073
1185
|
envName: string;
|
|
1074
|
-
$type?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
1186
|
+
$type?: "DEPLOY" | "CUSTOMER_WORKFLOW" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
|
|
1075
1187
|
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceActivitiesResponse[]>;
|
|
1076
|
-
export declare function
|
|
1077
|
-
workspaceId: string;
|
|
1078
|
-
stackVersionId: string;
|
|
1079
|
-
envName?: string;
|
|
1080
|
-
}, opts?: Oazapfts.RequestOpts): Promise<WorkspaceContextResponse>;
|
|
1081
|
-
export declare function getConsolidatedPluginInputsWithConnectionInterfaces1({ workspaceId, stackVersionId, pluginVersionId }: {
|
|
1082
|
-
workspaceId: string;
|
|
1083
|
-
stackVersionId: string;
|
|
1084
|
-
pluginVersionId: string;
|
|
1085
|
-
}, opts?: Oazapfts.RequestOpts): Promise<PluginForAppCreationResponse>;
|
|
1086
|
-
export declare function getStackActionInputsInWorkspaceContext({ workspaceId, stackVersionId, actionsVersionId, envName }: {
|
|
1188
|
+
export declare function getStackActionInputsInWorkspaceContext1({ workspaceId, stackVersionId, actionsVersionId, envName }: {
|
|
1087
1189
|
workspaceId: string;
|
|
1088
1190
|
stackVersionId: string;
|
|
1089
1191
|
actionsVersionId: string;
|
|
1090
1192
|
envName?: string;
|
|
1091
1193
|
}, opts?: Oazapfts.RequestOpts): Promise<StackActionInputValuesByEnvInWorkspaceContextResponse[]>;
|
|
1092
|
-
export declare function
|
|
1194
|
+
export declare function getStackActionInputsInAccountContext1({ stackVersionId, actionsVersionId, envName }: {
|
|
1093
1195
|
stackVersionId: string;
|
|
1094
1196
|
actionsVersionId: string;
|
|
1095
1197
|
envName?: string;
|
|
@@ -1117,5 +1219,5 @@ export declare function deleteSharedInfra({ workspaceId, sharedInfraId }: {
|
|
|
1117
1219
|
export declare function deleteApplication({ workspaceId, applicationId }: {
|
|
1118
1220
|
workspaceId: string;
|
|
1119
1221
|
applicationId: string;
|
|
1120
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1222
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ManagerRunResponse[]>;
|
|
1121
1223
|
//# sourceMappingURL=workspaceManager.d.ts.map
|