@stack-spot/portal-network 0.31.0 → 0.32.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 +7 -0
- package/dist/api/content.d.ts +360 -209
- package/dist/api/content.d.ts.map +1 -1
- package/dist/api/content.js +102 -57
- package/dist/api/content.js.map +1 -1
- package/dist/client/content.d.ts +17 -15
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/content.js +10 -1
- package/dist/client/content.js.map +1 -1
- package/package.json +1 -1
- package/src/api/content.ts +555 -282
- package/src/client/content.ts +16 -1
package/dist/api/content.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type ValidationDetails = {
|
|
|
18
18
|
export type CreateStackVersionRequest = {
|
|
19
19
|
copyFromStackVersionId: string;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type StackVersionSummaryWarningResponse = {
|
|
22
22
|
code?: string;
|
|
23
23
|
field?: string;
|
|
24
24
|
details?: string;
|
|
@@ -30,7 +30,7 @@ export type StackVersionSummaryResponse = {
|
|
|
30
30
|
semanticVersion?: string;
|
|
31
31
|
version: number;
|
|
32
32
|
referenceCopyStackVersionId?: string;
|
|
33
|
-
warnings:
|
|
33
|
+
warnings: StackVersionSummaryWarningResponse[];
|
|
34
34
|
};
|
|
35
35
|
export type AddPluginRequest = {
|
|
36
36
|
pluginId: string;
|
|
@@ -104,6 +104,21 @@ export type CreateConnectionInterfaceTypeRequest = {
|
|
|
104
104
|
description: string;
|
|
105
105
|
outputs: CreateConnectionInterfaceTypeOutputRequest[];
|
|
106
106
|
};
|
|
107
|
+
export type YamlValidationError = {
|
|
108
|
+
details: string;
|
|
109
|
+
"type": "STK_VAL_0000_YAML_BASE_ERROR" | "STK_VAL_5010_YAML_FIELDS_ERROR" | "STK_VAL_5011_YAML_REQUIRED_FIELD" | "STK_VAL_5012_YAML_INVALID_FIELD_FORMAT" | "STK_VAL_5013_YAML_INVALID_VALUE_BY_ENUM" | "STK_VAL_5015_YAML_ADDITIONAL_FIELD" | "STK_VAL_5016_YAML_FIELD_INVALID_TYPE" | "STK_VAL_5018_INVALID_TECHNOLOGIES" | "STK_VAL_5021_MARKDOWN_LINK_NOT_FOUND" | "STK_VAL_5022_INVALID_INPUT_DEFAULT" | "STK_VAL_5024_PLUGIN_VERSION_NOT_FOUND" | "STK_VAL_5026_FILE_NOT_FOUND" | "STK_VAL_5027_FILE_EMPTY" | "STK_VAL_5030_FUNCTION_RUN_IS_REQUIRED" | "STK_VAL_5031_INVALID_INPUT_CONDITION_OPERATOR" | "STK_VAL_5032_INVALID_INPUT_CONDITION_VALUE" | "STK_VAL_5034_INVALID_INPUT_CONDITION_VARIABLE_DOES_NOT_EXIST" | "STK_VAL_5035_INVALID_CONNECTION_TYPE" | "STK_VAL_5036_INVALID_CONNECTION_TYPE_OUTPUT" | "STK_VAL_5037_DUPLICATED_CONNECTION_ALIAS" | "STK_VAL_5039_INVALID_LINK_URL_TYPE" | "STK_VAL_5040_INVALID_CONNECTION_LINK_VARIABLE" | "STK_VAL_5041_INVALID_CONNECTION_ALIAS_LINK_VARIABLE" | "STK_VAL_5042_INVALID_CONNECTION_OUTPUT_LINK_VARIABLE" | "STK_VAL_5043_DUPLICATED_LINK_NAME" | "STK_VAL_5044_INPUT_NAME_AS_RESERVED_WORD" | "STK_VAL_5045_DYNAMIC_LINK_VARIABLE_NOT_FOUND" | "STK_VAL_5046_LINK_WITH_COMPLEX_JINJA_EXPRESSION" | "STK_VAL_5047_INVALID_DYNAMIC_LINK_URL" | "STK_VAL_5048_DUPLICATED_INPUT_NAMES" | "STK_VAL_5049_INVALID_INPUT_DEFAULT_NOT_IN_ITEMS" | "STK_VAL_5053_MISSING_ACTION_IN_REQUIRES" | "STK_VAL_5054_DUPLICATED_NAME" | "STK_VAL_5055_DUPLICATED_VALUE" | "STK_VAL_5057_ACTION_NOT_DECLARED" | "STK_VAL_5058_OLD_DOCS_DECLARED" | "STK_VAL_5059_OLD_DOCS_WILL_BE_IGNORED" | "STK_VAL_5061_ACTION_VERSION_NOT_FOUND" | "STK_VAL_5062_PLUGIN_OF_STARTER_IS_NOT_DECLARED" | "STK_VAL_5063_STARTER_MUST_CONTAIN_PLUGIN" | "STK_VAL_5064_REQUIRED_PLUGIN_NOT_PUBLISHED" | "STK_VAL_5065_REQUIRED_ACTION_NOT_PUBLISHED" | "STK_VAL_5066_MISSING_PLUGIN_REQUIRED_IN_STACK" | "STK_VAL_5067_MISSING_ACTION_REQUIRED_IN_STACK" | "STK_VAL_5068_INFRA_PLUGIN_APP_ALLOWED_FALSE" | "STK_VAL_5073_SOURCE_AND_ITEMS_BEING_USED" | "STK_VAL_5076_MISSING_OUTPUT_FROM_GENERATES" | "STK_VAL_5077_MISSING_PLUGIN_REQUIRED_IN_STARTER" | "STK_VAL_5078_WRONG_PLUGIN_TYPE_IN_STACK" | "STK_VAL_5079_DUPLICATED_SLUG" | "STK_VAL_5080_INVALID_DEPENDS_ON_JOBS" | "STK_VAL_5081_DUPLICATED_JOB" | "STK_VAL_5082_DUPLICATED_STEP" | "STK_VAL_5083_WORKFLOW_VERSION_NOT_FOUND" | "STK_VAL_5084_MISSING_INPUT_REQUIRED_IN_STEP_JOB" | "STK_VAL_5085_CYCLIC_DEPENDENCY_JOB" | "STK_VAL_5086_CYCLIC_DEPENDENCY_WORKFLOW" | "STK_VAL_5087_WORKFLOW_CREATE_DEPENDENCY" | "STK_VAL_5088_INVALID_VARIABLE";
|
|
110
|
+
field?: string;
|
|
111
|
+
value?: object;
|
|
112
|
+
examples: string[];
|
|
113
|
+
};
|
|
114
|
+
export type ValidateResponse = {
|
|
115
|
+
kind: "PLUGIN" | "ACTION" | "STACK" | "STARTER" | "WORKFLOW";
|
|
116
|
+
schemaVersion?: "V1" | "V2" | "V3";
|
|
117
|
+
specType?: "INFRA" | "APP" | "SHELL" | "PYTHON" | "DEPLOY" | "STARTER" | "DESTROY" | "ROLLBACK" | "REUSABLE" | "CREATE";
|
|
118
|
+
errors: YamlValidationError[];
|
|
119
|
+
warnings: YamlValidationError[];
|
|
120
|
+
path: string;
|
|
121
|
+
};
|
|
107
122
|
export type StudioResponse = {
|
|
108
123
|
id: string;
|
|
109
124
|
slug: string;
|
|
@@ -112,19 +127,18 @@ export type StudioResponse = {
|
|
|
112
127
|
verified: boolean;
|
|
113
128
|
description: string;
|
|
114
129
|
accountSlug: string;
|
|
115
|
-
teams: string[];
|
|
116
130
|
editAllowed: boolean;
|
|
117
131
|
createdBy: string;
|
|
118
132
|
visibility: "ACCOUNT_ONLY" | "SELECTED_WORKSPACES" | "RESTRICTED_ACCESS" | "PUBLIC";
|
|
119
133
|
isGoverned: boolean;
|
|
120
134
|
tabs: string[];
|
|
135
|
+
teams: string[];
|
|
121
136
|
};
|
|
122
137
|
export type CreateStudioRequest = {
|
|
123
138
|
name: string;
|
|
124
139
|
slug: string;
|
|
125
140
|
description: string;
|
|
126
141
|
image?: string;
|
|
127
|
-
teams?: string[];
|
|
128
142
|
};
|
|
129
143
|
export type CreateStudioResponse = {
|
|
130
144
|
id: string;
|
|
@@ -135,7 +149,6 @@ export type CreateStudioResponse = {
|
|
|
135
149
|
description: string;
|
|
136
150
|
accountSlug: string;
|
|
137
151
|
createdBy: string;
|
|
138
|
-
teams?: string[];
|
|
139
152
|
visibility: string;
|
|
140
153
|
tabs: string[];
|
|
141
154
|
};
|
|
@@ -148,12 +161,23 @@ export type StudioWorkspaceResponse = {
|
|
|
148
161
|
export type StudioWorkspaceRequest = {
|
|
149
162
|
workspacesIds: string[];
|
|
150
163
|
};
|
|
151
|
-
export type
|
|
164
|
+
export type WarningResponse = {
|
|
165
|
+
code?: string;
|
|
166
|
+
field?: string;
|
|
167
|
+
details?: string;
|
|
168
|
+
values?: string[];
|
|
169
|
+
};
|
|
170
|
+
export type PublishWorkflowResponse = {
|
|
171
|
+
workflowId: string;
|
|
172
|
+
workflowVersionId: string;
|
|
173
|
+
warnings?: WarningResponse[];
|
|
174
|
+
};
|
|
175
|
+
export type GetStackVersionStudioResponse = {
|
|
152
176
|
slug: string;
|
|
153
177
|
name: string;
|
|
154
178
|
imageUrl?: string;
|
|
155
179
|
};
|
|
156
|
-
export type
|
|
180
|
+
export type GetStackVersionStackResponse = {
|
|
157
181
|
stackId: string;
|
|
158
182
|
slug: string;
|
|
159
183
|
displayName: string;
|
|
@@ -163,7 +187,7 @@ export type StackResponse = {
|
|
|
163
187
|
createdBy: string;
|
|
164
188
|
createdAt: string;
|
|
165
189
|
lastModificationAt: string;
|
|
166
|
-
studio:
|
|
190
|
+
studio: GetStackVersionStudioResponse;
|
|
167
191
|
tabs: string[];
|
|
168
192
|
tags?: string[];
|
|
169
193
|
};
|
|
@@ -181,7 +205,7 @@ export type StackVersionResponse = {
|
|
|
181
205
|
copyFromStackVersionId?: string;
|
|
182
206
|
documentation?: DocumentationContentResponse;
|
|
183
207
|
};
|
|
184
|
-
export type
|
|
208
|
+
export type StackPluginStudioResponse = {
|
|
185
209
|
id: string;
|
|
186
210
|
slug: string;
|
|
187
211
|
name: string;
|
|
@@ -208,19 +232,21 @@ export type PluginRequiresResponse = {
|
|
|
208
232
|
connections: PluginRequiresConnectionResponse[];
|
|
209
233
|
actions: PluginVersionRequiresActionsResponse[];
|
|
210
234
|
plugins: PluginVersionRequiresPluginsResponse[];
|
|
235
|
+
variables: string[];
|
|
211
236
|
};
|
|
212
|
-
export type
|
|
237
|
+
export type StackPluginActionRequiresConnectionsResponse = {
|
|
213
238
|
typeId: string;
|
|
214
239
|
"type": string;
|
|
215
240
|
alias: string;
|
|
216
241
|
optional?: boolean;
|
|
217
242
|
source?: string;
|
|
218
243
|
};
|
|
219
|
-
export type
|
|
220
|
-
connections:
|
|
244
|
+
export type StackPluginGeneratesResponse = {
|
|
245
|
+
connections: StackPluginActionRequiresConnectionsResponse[];
|
|
221
246
|
};
|
|
222
|
-
export type
|
|
223
|
-
connections:
|
|
247
|
+
export type StackPluginActionsRequiresResponse = {
|
|
248
|
+
connections: StackPluginActionRequiresConnectionsResponse[];
|
|
249
|
+
variables: string[];
|
|
224
250
|
};
|
|
225
251
|
export type StackPluginActionsResponse = {
|
|
226
252
|
id: string;
|
|
@@ -232,7 +258,7 @@ export type StackPluginActionsResponse = {
|
|
|
232
258
|
description: string;
|
|
233
259
|
qualifier: string;
|
|
234
260
|
status: string;
|
|
235
|
-
requires?:
|
|
261
|
+
requires?: StackPluginActionsRequiresResponse;
|
|
236
262
|
};
|
|
237
263
|
export type StackPluginResponse = {
|
|
238
264
|
pluginId: string;
|
|
@@ -241,25 +267,25 @@ export type StackPluginResponse = {
|
|
|
241
267
|
displayName: string;
|
|
242
268
|
description?: string;
|
|
243
269
|
pluginQualifier: string;
|
|
244
|
-
studio:
|
|
270
|
+
studio: StackPluginStudioResponse;
|
|
245
271
|
range?: string;
|
|
246
272
|
version: string;
|
|
247
273
|
"type": string;
|
|
248
274
|
status: string;
|
|
249
275
|
requires: PluginRequiresResponse;
|
|
250
|
-
generates:
|
|
276
|
+
generates: StackPluginGeneratesResponse;
|
|
251
277
|
appAllowed: boolean;
|
|
252
278
|
singleUse: boolean;
|
|
253
279
|
stkProjectsOnly: boolean;
|
|
254
280
|
actions?: StackPluginActionsResponse[];
|
|
255
281
|
};
|
|
256
|
-
export type
|
|
282
|
+
export type GetStackPluginsResponse = {
|
|
257
283
|
stackSlug: string;
|
|
258
284
|
stackSemanticVersion: string;
|
|
259
285
|
appPluginVersions: StackPluginResponse[];
|
|
260
286
|
infraPluginVersions: StackPluginResponse[];
|
|
261
287
|
};
|
|
262
|
-
export type
|
|
288
|
+
export type GetStackActionStudioResponse = {
|
|
263
289
|
slug: string;
|
|
264
290
|
name: string;
|
|
265
291
|
description?: string;
|
|
@@ -272,17 +298,17 @@ export type GetStackActionResponse = {
|
|
|
272
298
|
displayName: string;
|
|
273
299
|
description: string;
|
|
274
300
|
accountSlug: string;
|
|
275
|
-
studio:
|
|
301
|
+
studio: GetStackActionStudioResponse;
|
|
276
302
|
range?: string;
|
|
277
303
|
version: string;
|
|
278
304
|
"type": string;
|
|
279
305
|
qualifier: string;
|
|
280
306
|
status: string;
|
|
281
307
|
};
|
|
282
|
-
export type
|
|
283
|
-
stack:
|
|
308
|
+
export type GetStackVersionResponse = {
|
|
309
|
+
stack: GetStackVersionStackResponse;
|
|
284
310
|
version: StackVersionResponse;
|
|
285
|
-
plugins?:
|
|
311
|
+
plugins?: GetStackPluginsResponse;
|
|
286
312
|
actions?: GetStackActionResponse[];
|
|
287
313
|
};
|
|
288
314
|
export type Pageable = {
|
|
@@ -340,14 +366,20 @@ export type PageGetStackStudioResponse = {
|
|
|
340
366
|
content?: GetStackStudioResponse[];
|
|
341
367
|
"number"?: number;
|
|
342
368
|
sort?: SortObject[];
|
|
343
|
-
numberOfElements?: number;
|
|
344
369
|
pageable?: PageableObject;
|
|
370
|
+
numberOfElements?: number;
|
|
345
371
|
empty?: boolean;
|
|
346
372
|
};
|
|
347
|
-
export type
|
|
373
|
+
export type PublishPluginWarningResponse = {
|
|
374
|
+
code?: string;
|
|
375
|
+
field?: string;
|
|
376
|
+
details?: string;
|
|
377
|
+
values?: string[];
|
|
378
|
+
};
|
|
379
|
+
export type PublishPluginResponse = {
|
|
348
380
|
id: string;
|
|
349
381
|
versionId: string;
|
|
350
|
-
warnings:
|
|
382
|
+
warnings: PublishPluginWarningResponse[];
|
|
351
383
|
};
|
|
352
384
|
export type GetAvailablePluginVersionsResponse = {
|
|
353
385
|
pluginVersionId: string;
|
|
@@ -421,7 +453,7 @@ export type PluginGeneratesConnectionResponse = {
|
|
|
421
453
|
alias: string;
|
|
422
454
|
outputs?: OutputResponse[];
|
|
423
455
|
};
|
|
424
|
-
export type
|
|
456
|
+
export type PluginGeneratesLinkResponse = {
|
|
425
457
|
id: string;
|
|
426
458
|
imageUrl?: string;
|
|
427
459
|
name: string;
|
|
@@ -430,7 +462,7 @@ export type LinkResponse = {
|
|
|
430
462
|
};
|
|
431
463
|
export type PluginGeneratesResponse = {
|
|
432
464
|
connections: PluginGeneratesConnectionResponse[];
|
|
433
|
-
links?:
|
|
465
|
+
links?: PluginGeneratesLinkResponse[];
|
|
434
466
|
};
|
|
435
467
|
export type PluginGovernanceResponse = {
|
|
436
468
|
id?: string;
|
|
@@ -470,20 +502,20 @@ export type PagePluginVersionResponse = {
|
|
|
470
502
|
content?: PluginVersionResponse[];
|
|
471
503
|
"number"?: number;
|
|
472
504
|
sort?: SortObject[];
|
|
473
|
-
numberOfElements?: number;
|
|
474
505
|
pageable?: PageableObject;
|
|
506
|
+
numberOfElements?: number;
|
|
475
507
|
empty?: boolean;
|
|
476
508
|
};
|
|
477
|
-
export type
|
|
509
|
+
export type GetActionCommandResponse = {
|
|
478
510
|
"default": string;
|
|
479
511
|
workspace: string;
|
|
480
512
|
};
|
|
481
|
-
export type
|
|
513
|
+
export type ActionVersionInputExternalItemsResponse = {
|
|
482
514
|
source: string;
|
|
483
515
|
value: string;
|
|
484
516
|
label?: string;
|
|
485
517
|
};
|
|
486
|
-
export type
|
|
518
|
+
export type ActionVersionInputConditionResponse = {
|
|
487
519
|
variable: string;
|
|
488
520
|
operator: string;
|
|
489
521
|
value: object;
|
|
@@ -496,8 +528,8 @@ export type ActionVersionSubInputResponse = {
|
|
|
496
528
|
help?: string;
|
|
497
529
|
"default"?: JsonNode;
|
|
498
530
|
items?: string[];
|
|
499
|
-
condition?:
|
|
500
|
-
externalItems?:
|
|
531
|
+
condition?: ActionVersionInputConditionResponse;
|
|
532
|
+
externalItems?: ActionVersionInputExternalItemsResponse;
|
|
501
533
|
connectionInterfaceType?: string;
|
|
502
534
|
input?: ActionVersionSubInputResponse;
|
|
503
535
|
inputs?: ActionVersionInputResponse[];
|
|
@@ -511,25 +543,21 @@ export type ActionVersionInputResponse = {
|
|
|
511
543
|
help?: string;
|
|
512
544
|
"default"?: JsonNode;
|
|
513
545
|
items?: string[];
|
|
514
|
-
externalItems?:
|
|
515
|
-
condition?:
|
|
546
|
+
externalItems?: ActionVersionInputExternalItemsResponse;
|
|
547
|
+
condition?: ActionVersionInputConditionResponse;
|
|
516
548
|
envInput?: boolean;
|
|
517
549
|
connectionInterfaceType?: string;
|
|
518
550
|
input?: ActionVersionSubInputResponse;
|
|
519
551
|
};
|
|
520
|
-
export type
|
|
521
|
-
name: string;
|
|
522
|
-
expression: string;
|
|
523
|
-
};
|
|
524
|
-
export type ConnectionResponse = {
|
|
552
|
+
export type GetActionConnectionResponse = {
|
|
525
553
|
"type": string;
|
|
526
554
|
alias: string;
|
|
527
555
|
optional: boolean;
|
|
528
556
|
source: string;
|
|
529
557
|
};
|
|
530
|
-
export type
|
|
531
|
-
connections?:
|
|
532
|
-
|
|
558
|
+
export type GetActionRequiresResponse = {
|
|
559
|
+
connections?: GetActionConnectionResponse[];
|
|
560
|
+
variables?: string[];
|
|
533
561
|
};
|
|
534
562
|
export type ActionGovernanceResponse = {
|
|
535
563
|
id?: string;
|
|
@@ -547,7 +575,7 @@ export type GetActionResponse = {
|
|
|
547
575
|
description?: string;
|
|
548
576
|
scopes: string[];
|
|
549
577
|
command: string;
|
|
550
|
-
commands:
|
|
578
|
+
commands: GetActionCommandResponse;
|
|
551
579
|
repository?: string;
|
|
552
580
|
requirements?: string;
|
|
553
581
|
about?: string;
|
|
@@ -557,10 +585,8 @@ export type GetActionResponse = {
|
|
|
557
585
|
createdAt: string;
|
|
558
586
|
updatedAt?: string;
|
|
559
587
|
createdBy: string;
|
|
560
|
-
inputs
|
|
561
|
-
|
|
562
|
-
globalComputedInputs: ComputedInputResponse[];
|
|
563
|
-
requires?: ActionRequiresResponse;
|
|
588
|
+
inputs?: ActionVersionInputResponse[];
|
|
589
|
+
requires?: GetActionRequiresResponse;
|
|
564
590
|
isDocumented: boolean;
|
|
565
591
|
qualifier: string;
|
|
566
592
|
studioSlug: string;
|
|
@@ -570,10 +596,16 @@ export type GetActionResponse = {
|
|
|
570
596
|
documentation?: DocumentationContentResponse;
|
|
571
597
|
justify?: string;
|
|
572
598
|
};
|
|
599
|
+
export type PublishActionWarningResponse = {
|
|
600
|
+
code?: string;
|
|
601
|
+
field?: string;
|
|
602
|
+
details?: string;
|
|
603
|
+
values?: string[];
|
|
604
|
+
};
|
|
573
605
|
export type PublishActionResponse = {
|
|
574
606
|
actionId: string;
|
|
575
607
|
versionId: string;
|
|
576
|
-
warnings?:
|
|
608
|
+
warnings?: PublishActionWarningResponse[];
|
|
577
609
|
};
|
|
578
610
|
export type GetAvailableActionVersionsResponse = {
|
|
579
611
|
actionVersionId: string;
|
|
@@ -610,8 +642,8 @@ export type PageActionResponse = {
|
|
|
610
642
|
content?: ActionResponse[];
|
|
611
643
|
"number"?: number;
|
|
612
644
|
sort?: SortObject[];
|
|
613
|
-
numberOfElements?: number;
|
|
614
645
|
pageable?: PageableObject;
|
|
646
|
+
numberOfElements?: number;
|
|
615
647
|
empty?: boolean;
|
|
616
648
|
};
|
|
617
649
|
export type FilterStudioRequest = {
|
|
@@ -624,21 +656,6 @@ export type FilterStudioResponse = {
|
|
|
624
656
|
displayName: string;
|
|
625
657
|
imageUrl: string;
|
|
626
658
|
};
|
|
627
|
-
export type YamlValidationError = {
|
|
628
|
-
details: string;
|
|
629
|
-
"type": "STK_VAL_0000_YAML_BASE_ERROR" | "STK_VAL_5010_YAML_FIELDS_ERROR" | "STK_VAL_5011_YAML_REQUIRED_FIELD" | "STK_VAL_5012_YAML_INVALID_FIELD_FORMAT" | "STK_VAL_5013_YAML_INVALID_VALUE_BY_ENUM" | "STK_VAL_5015_YAML_ADDITIONAL_FIELD" | "STK_VAL_5016_YAML_FIELD_INVALID_TYPE" | "STK_VAL_5018_INVALID_TECHNOLOGIES" | "STK_VAL_5021_MARKDOWN_LINK_NOT_FOUND" | "STK_VAL_5022_INVALID_INPUT_DEFAULT" | "STK_VAL_5024_PLUGIN_VERSION_NOT_FOUND" | "STK_VAL_5026_FILE_NOT_FOUND" | "STK_VAL_5027_FILE_EMPTY" | "STK_VAL_5030_FUNCTION_RUN_IS_REQUIRED" | "STK_VAL_5031_INVALID_INPUT_CONDITION_OPERATOR" | "STK_VAL_5032_INVALID_INPUT_CONDITION_VALUE" | "STK_VAL_5034_INVALID_INPUT_CONDITION_VARIABLE_DOES_NOT_EXIST" | "STK_VAL_5035_INVALID_CONNECTION_TYPE" | "STK_VAL_5036_INVALID_CONNECTION_TYPE_OUTPUT" | "STK_VAL_5037_DUPLICATED_CONNECTION_ALIAS" | "STK_VAL_5039_INVALID_LINK_URL_TYPE" | "STK_VAL_5040_INVALID_CONNECTION_LINK_VARIABLE" | "STK_VAL_5041_INVALID_CONNECTION_ALIAS_LINK_VARIABLE" | "STK_VAL_5042_INVALID_CONNECTION_OUTPUT_LINK_VARIABLE" | "STK_VAL_5043_DUPLICATED_LINK_NAME" | "STK_VAL_5044_INPUT_NAME_AS_RESERVED_WORD" | "STK_VAL_5045_DYNAMIC_LINK_VARIABLE_NOT_FOUND" | "STK_VAL_5046_LINK_WITH_COMPLEX_JINJA_EXPRESSION" | "STK_VAL_5047_INVALID_DYNAMIC_LINK_URL" | "STK_VAL_5048_DUPLICATED_INPUT_NAMES" | "STK_VAL_5049_INVALID_INPUT_DEFAULT_NOT_IN_ITEMS" | "STK_VAL_5053_MISSING_ACTION_IN_REQUIRES" | "STK_VAL_5054_DUPLICATED_NAME" | "STK_VAL_5055_DUPLICATED_VALUE" | "STK_VAL_5057_ACTION_NOT_DECLARED" | "STK_VAL_5058_OLD_DOCS_DECLARED" | "STK_VAL_5059_OLD_DOCS_WILL_BE_IGNORED" | "STK_VAL_5061_ACTION_VERSION_NOT_FOUND" | "STK_VAL_5062_PLUGIN_OF_STARTER_IS_NOT_DECLARED" | "STK_VAL_5063_STARTER_MUST_CONTAIN_PLUGIN" | "STK_VAL_5064_REQUIRED_PLUGIN_NOT_PUBLISHED" | "STK_VAL_5065_REQUIRED_ACTION_NOT_PUBLISHED" | "STK_VAL_5066_MISSING_PLUGIN_REQUIRED_IN_STACK" | "STK_VAL_5067_MISSING_ACTION_REQUIRED_IN_STACK" | "STK_VAL_5068_INFRA_PLUGIN_APP_ALLOWED_FALSE" | "STK_VAL_5073_SOURCE_AND_ITEMS_BEING_USED" | "STK_VAL_5076_MISSING_OUTPUT_FROM_GENERATES" | "STK_VAL_5077_MISSING_PLUGIN_REQUIRED_IN_STARTER" | "STK_VAL_5078_WRONG_PLUGIN_TYPE_IN_STACK" | "STK_VAL_5079_DUPLICATED_SLUG" | "STK_VAL_5080_INVALID_SECRET";
|
|
630
|
-
field?: string;
|
|
631
|
-
value?: object;
|
|
632
|
-
examples: string[];
|
|
633
|
-
};
|
|
634
|
-
export type ValidateResponse = {
|
|
635
|
-
kind: "PLUGIN" | "ACTION" | "STACK" | "STARTER";
|
|
636
|
-
schemaVersion?: "V1" | "V2" | "V3";
|
|
637
|
-
specType?: "INFRA" | "APP" | "SHELL" | "PYTHON";
|
|
638
|
-
errors: YamlValidationError[];
|
|
639
|
-
warnings: YamlValidationError[];
|
|
640
|
-
path: string;
|
|
641
|
-
};
|
|
642
659
|
export type CreateStackRequest = {
|
|
643
660
|
slug: string;
|
|
644
661
|
displayName: string;
|
|
@@ -647,14 +664,14 @@ export type CreateStackRequest = {
|
|
|
647
664
|
image?: string;
|
|
648
665
|
tags?: string[];
|
|
649
666
|
};
|
|
650
|
-
export type
|
|
667
|
+
export type StackVersionListDocumentationLanguageResponse = {
|
|
651
668
|
language: "ENGLISH" | "PTBR";
|
|
652
669
|
status: "DRAFT" | "PUBLISHED";
|
|
653
670
|
lastUpdated: string;
|
|
654
671
|
};
|
|
655
|
-
export type
|
|
672
|
+
export type StackVersionListDocumentationResponse = {
|
|
656
673
|
documentationId: string;
|
|
657
|
-
languages:
|
|
674
|
+
languages: StackVersionListDocumentationLanguageResponse[];
|
|
658
675
|
};
|
|
659
676
|
export type StackVersionListResponse = {
|
|
660
677
|
stackVersionId: string;
|
|
@@ -668,7 +685,7 @@ export type StackVersionListResponse = {
|
|
|
668
685
|
unpublishedBy?: string;
|
|
669
686
|
semanticVersion?: string;
|
|
670
687
|
copyFromStackVersionId?: string;
|
|
671
|
-
documentation?:
|
|
688
|
+
documentation?: StackVersionListDocumentationResponse;
|
|
672
689
|
};
|
|
673
690
|
export type DeprecateContentRequest = {
|
|
674
691
|
reason: string;
|
|
@@ -686,8 +703,8 @@ export type PageStarterResponseWithRange = {
|
|
|
686
703
|
content?: StarterResponseWithRange[];
|
|
687
704
|
"number"?: number;
|
|
688
705
|
sort?: SortObject[];
|
|
689
|
-
numberOfElements?: number;
|
|
690
706
|
pageable?: PageableObject;
|
|
707
|
+
numberOfElements?: number;
|
|
691
708
|
empty?: boolean;
|
|
692
709
|
};
|
|
693
710
|
export type FilterStackVersionPluginRequest = {
|
|
@@ -704,23 +721,24 @@ export type PageStackPluginResponse = {
|
|
|
704
721
|
content?: StackPluginResponse[];
|
|
705
722
|
"number"?: number;
|
|
706
723
|
sort?: SortObject[];
|
|
707
|
-
numberOfElements?: number;
|
|
708
724
|
pageable?: PageableObject;
|
|
725
|
+
numberOfElements?: number;
|
|
709
726
|
empty?: boolean;
|
|
710
727
|
};
|
|
711
|
-
export type
|
|
728
|
+
export type GetLinkPluginVersionStudioResponse = {
|
|
712
729
|
id: string;
|
|
713
730
|
slug: string;
|
|
714
731
|
name: string;
|
|
715
732
|
};
|
|
716
|
-
export type
|
|
733
|
+
export type GetLinkPluginVersionActionRequiresConnectionsResponse = {
|
|
717
734
|
"type": string;
|
|
718
735
|
alias: string;
|
|
719
736
|
};
|
|
720
|
-
export type
|
|
721
|
-
connections:
|
|
737
|
+
export type GetLinkPluginVersionActionRequiresResponse = {
|
|
738
|
+
connections: GetLinkPluginVersionActionRequiresConnectionsResponse[];
|
|
739
|
+
variables: string[];
|
|
722
740
|
};
|
|
723
|
-
export type
|
|
741
|
+
export type GetLinkPluginVersionActionsResponse = {
|
|
724
742
|
id: string;
|
|
725
743
|
versionId: string;
|
|
726
744
|
version: string;
|
|
@@ -728,17 +746,17 @@ export type LinkPluginActionsResponse = {
|
|
|
728
746
|
displayName: string;
|
|
729
747
|
description: string;
|
|
730
748
|
qualifier: string;
|
|
731
|
-
requires?:
|
|
749
|
+
requires?: GetLinkPluginVersionActionRequiresResponse;
|
|
732
750
|
};
|
|
733
|
-
export type
|
|
751
|
+
export type GetLinkPluginVersionResponse = {
|
|
734
752
|
pluginId: string;
|
|
735
753
|
id: string;
|
|
736
754
|
slug: string;
|
|
737
755
|
displayName: string;
|
|
738
756
|
description?: string;
|
|
739
757
|
qualifier: string;
|
|
740
|
-
studio:
|
|
741
|
-
actions?:
|
|
758
|
+
studio: GetLinkPluginVersionStudioResponse;
|
|
759
|
+
actions?: GetLinkPluginVersionActionsResponse[];
|
|
742
760
|
};
|
|
743
761
|
export type GetLinkResponse = {
|
|
744
762
|
id: string;
|
|
@@ -747,13 +765,20 @@ export type GetLinkResponse = {
|
|
|
747
765
|
source: "PLUGIN" | "STACK";
|
|
748
766
|
"type"?: string;
|
|
749
767
|
imageUrl?: string;
|
|
750
|
-
pluginVersion?:
|
|
768
|
+
pluginVersion?: GetLinkPluginVersionResponse;
|
|
751
769
|
};
|
|
752
770
|
export type AddLinkRequest = {
|
|
753
771
|
name: string;
|
|
754
772
|
url: string;
|
|
755
773
|
image?: string;
|
|
756
774
|
};
|
|
775
|
+
export type LinkResponse = {
|
|
776
|
+
id: string;
|
|
777
|
+
name: string;
|
|
778
|
+
url: string;
|
|
779
|
+
source: "PLUGIN" | "STACK";
|
|
780
|
+
imageUrl?: string;
|
|
781
|
+
};
|
|
757
782
|
export type GetConnectionInterfaceSuggestionResponse = {
|
|
758
783
|
id: string;
|
|
759
784
|
parentId?: string;
|
|
@@ -795,8 +820,8 @@ export type PageGetStackActionResponse = {
|
|
|
795
820
|
content?: GetStackActionResponse[];
|
|
796
821
|
"number"?: number;
|
|
797
822
|
sort?: SortObject[];
|
|
798
|
-
numberOfElements?: number;
|
|
799
823
|
pageable?: PageableObject;
|
|
824
|
+
numberOfElements?: number;
|
|
800
825
|
empty?: boolean;
|
|
801
826
|
};
|
|
802
827
|
export type FilterStackVersionRequest = {
|
|
@@ -811,18 +836,18 @@ export type StackValidateResponse = {
|
|
|
811
836
|
export type FilterStackByIdsRequest = {
|
|
812
837
|
ids: string[];
|
|
813
838
|
};
|
|
814
|
-
export type
|
|
839
|
+
export type StackSummaryStackInfoResponse = {
|
|
815
840
|
id: string;
|
|
816
841
|
slug: string;
|
|
817
842
|
name: string;
|
|
818
843
|
};
|
|
819
|
-
export type
|
|
844
|
+
export type StackSummaryStudioInfoResponse = {
|
|
820
845
|
slug: string;
|
|
821
846
|
name: string;
|
|
822
847
|
};
|
|
823
848
|
export type StackSummaryResponse = {
|
|
824
|
-
stack:
|
|
825
|
-
studio:
|
|
849
|
+
stack: StackSummaryStackInfoResponse;
|
|
850
|
+
studio: StackSummaryStudioInfoResponse;
|
|
826
851
|
};
|
|
827
852
|
export type FilterPluginVersionByIdsRequest = {
|
|
828
853
|
ids: string[];
|
|
@@ -842,7 +867,7 @@ export type AddContentEvaluationRevisionRequest = {
|
|
|
842
867
|
isApprover: boolean;
|
|
843
868
|
comments?: string;
|
|
844
869
|
};
|
|
845
|
-
export type
|
|
870
|
+
export type ConnectionInterfaceOutputResponse = {
|
|
846
871
|
id: string;
|
|
847
872
|
name: string;
|
|
848
873
|
"type": "STRING" | "NUMBER" | "INTEGER" | "OBJECT" | "BOOLEAN";
|
|
@@ -852,7 +877,7 @@ export type ConnectionInterfaceResponse = {
|
|
|
852
877
|
id: string;
|
|
853
878
|
slug: string;
|
|
854
879
|
description: string;
|
|
855
|
-
outputs:
|
|
880
|
+
outputs: ConnectionInterfaceOutputResponse[];
|
|
856
881
|
};
|
|
857
882
|
export type ValidateConnectionInterfaceTypeSchemaRequest = {
|
|
858
883
|
value: JsonNode;
|
|
@@ -863,6 +888,10 @@ export type ActionIdAndVersionReferenceRequest = {
|
|
|
863
888
|
/** Action version reference. This value can be simple semantic version or range semantic version. */
|
|
864
889
|
versionReference: string;
|
|
865
890
|
};
|
|
891
|
+
export type ComputedInputResponse = {
|
|
892
|
+
name: string;
|
|
893
|
+
expression: string;
|
|
894
|
+
};
|
|
866
895
|
export type ActionVersionDataSubInputResponse = {
|
|
867
896
|
label: string;
|
|
868
897
|
"type": string;
|
|
@@ -871,8 +900,8 @@ export type ActionVersionDataSubInputResponse = {
|
|
|
871
900
|
help?: string;
|
|
872
901
|
"default"?: JsonNode;
|
|
873
902
|
items?: string[];
|
|
874
|
-
condition?:
|
|
875
|
-
externalItems?:
|
|
903
|
+
condition?: ActionVersionInputConditionResponse;
|
|
904
|
+
externalItems?: ActionVersionInputExternalItemsResponse;
|
|
876
905
|
connectionInterfaceType?: string;
|
|
877
906
|
input?: ActionVersionSubInputResponse;
|
|
878
907
|
};
|
|
@@ -885,14 +914,11 @@ export type ActionVersionDataInputResponse = {
|
|
|
885
914
|
help?: string;
|
|
886
915
|
"default"?: JsonNode;
|
|
887
916
|
items?: string[];
|
|
888
|
-
externalItems?:
|
|
889
|
-
condition?:
|
|
917
|
+
externalItems?: ActionVersionInputExternalItemsResponse;
|
|
918
|
+
condition?: ActionVersionInputConditionResponse;
|
|
890
919
|
connectionInterfaceType?: string;
|
|
891
920
|
input?: ActionVersionDataSubInputResponse;
|
|
892
921
|
};
|
|
893
|
-
export type ActionVersionDataRequiresResponse = {
|
|
894
|
-
secrets?: string[];
|
|
895
|
-
};
|
|
896
922
|
export type ActionVersionDataWithInputsResponse = {
|
|
897
923
|
id: string;
|
|
898
924
|
versionId: string;
|
|
@@ -912,7 +938,6 @@ export type ActionVersionDataWithInputsResponse = {
|
|
|
912
938
|
studioSlug: string;
|
|
913
939
|
accountSlug: string;
|
|
914
940
|
status: string;
|
|
915
|
-
requires?: ActionVersionDataRequiresResponse;
|
|
916
941
|
};
|
|
917
942
|
export type PatchStarterV2Request = {
|
|
918
943
|
description?: string;
|
|
@@ -958,7 +983,7 @@ export type EditLinkRequest = {
|
|
|
958
983
|
};
|
|
959
984
|
export type DocumentationResponse = {
|
|
960
985
|
documentationId: string;
|
|
961
|
-
documentationType: "STUDIO_GOVERNANCE" | "ACTION" | "PLUGIN" | "STACK" | "STARTER";
|
|
986
|
+
documentationType: "STUDIO_GOVERNANCE" | "ACTION" | "PLUGIN" | "STACK" | "STARTER" | "WORKFLOW";
|
|
962
987
|
language: "ENGLISH" | "PTBR";
|
|
963
988
|
content: string;
|
|
964
989
|
status: "DRAFT" | "PUBLISHED";
|
|
@@ -978,8 +1003,8 @@ export type PageStudioResponse = {
|
|
|
978
1003
|
content?: StudioResponse[];
|
|
979
1004
|
"number"?: number;
|
|
980
1005
|
sort?: SortObject[];
|
|
981
|
-
numberOfElements?: number;
|
|
982
1006
|
pageable?: PageableObject;
|
|
1007
|
+
numberOfElements?: number;
|
|
983
1008
|
empty?: boolean;
|
|
984
1009
|
};
|
|
985
1010
|
export type DownloadBase64Response = {
|
|
@@ -1032,12 +1057,12 @@ export type GetStackV2Response = {
|
|
|
1032
1057
|
latestVersion: StackVersionV2Response;
|
|
1033
1058
|
versions: StackVersionShortV2Response[];
|
|
1034
1059
|
};
|
|
1035
|
-
export type
|
|
1060
|
+
export type PluginInputExternalItemsResponse = {
|
|
1036
1061
|
source: string;
|
|
1037
1062
|
value: string;
|
|
1038
1063
|
label?: string;
|
|
1039
1064
|
};
|
|
1040
|
-
export type
|
|
1065
|
+
export type PluginInputConditionResponse = {
|
|
1041
1066
|
variable?: string;
|
|
1042
1067
|
operator?: string;
|
|
1043
1068
|
value?: JsonNode;
|
|
@@ -1051,24 +1076,84 @@ export type PluginInputResponse = {
|
|
|
1051
1076
|
help?: string;
|
|
1052
1077
|
"default"?: JsonNode;
|
|
1053
1078
|
items?: string;
|
|
1054
|
-
externalItems?:
|
|
1079
|
+
externalItems?: PluginInputExternalItemsResponse;
|
|
1055
1080
|
itemsValues?: string[];
|
|
1056
|
-
condition?:
|
|
1081
|
+
condition?: PluginInputConditionResponse;
|
|
1057
1082
|
isGlobal?: boolean;
|
|
1058
1083
|
inputEnv?: boolean;
|
|
1059
1084
|
connectionInterfaceType?: string;
|
|
1060
1085
|
input?: PluginInputResponse;
|
|
1061
1086
|
};
|
|
1087
|
+
export type PluginComputedInputResponse = {
|
|
1088
|
+
name: string;
|
|
1089
|
+
expression: string;
|
|
1090
|
+
};
|
|
1062
1091
|
export type PluginInputV2Response = {
|
|
1063
1092
|
inputs: PluginInputResponse[];
|
|
1064
|
-
computedInputs:
|
|
1065
|
-
globalComputedInputs:
|
|
1093
|
+
computedInputs: PluginComputedInputResponse[];
|
|
1094
|
+
globalComputedInputs: PluginComputedInputResponse[];
|
|
1066
1095
|
};
|
|
1067
1096
|
export type ActionInputV2Response = {
|
|
1068
1097
|
computedInputs: ComputedInputResponse[];
|
|
1069
1098
|
globalComputedInputs: ComputedInputResponse[];
|
|
1070
1099
|
inputs: ActionVersionInputResponse[];
|
|
1071
1100
|
};
|
|
1101
|
+
export type GetWorkflowsByStudioDataResponse = {
|
|
1102
|
+
id: string;
|
|
1103
|
+
slug: string;
|
|
1104
|
+
name: string;
|
|
1105
|
+
imageUrl?: string;
|
|
1106
|
+
};
|
|
1107
|
+
export type GetWorkflowsByStudioLatestVersionDataResponse = {
|
|
1108
|
+
id: string;
|
|
1109
|
+
displayName: string;
|
|
1110
|
+
label: string;
|
|
1111
|
+
semanticVersion: string;
|
|
1112
|
+
targetApp: boolean;
|
|
1113
|
+
targetInfra: boolean;
|
|
1114
|
+
};
|
|
1115
|
+
export type GetWorkflowsByStudioResponse = {
|
|
1116
|
+
id: string;
|
|
1117
|
+
slug: string;
|
|
1118
|
+
"type": "starter" | "deploy" | "destroy" | "rollback" | "reusable" | "create";
|
|
1119
|
+
studio: GetWorkflowsByStudioDataResponse;
|
|
1120
|
+
latestVersion?: GetWorkflowsByStudioLatestVersionDataResponse;
|
|
1121
|
+
};
|
|
1122
|
+
export type PageGetWorkflowsByStudioResponse = {
|
|
1123
|
+
totalElements?: number;
|
|
1124
|
+
totalPages?: number;
|
|
1125
|
+
first?: boolean;
|
|
1126
|
+
last?: boolean;
|
|
1127
|
+
size?: number;
|
|
1128
|
+
content?: GetWorkflowsByStudioResponse[];
|
|
1129
|
+
"number"?: number;
|
|
1130
|
+
sort?: SortObject[];
|
|
1131
|
+
pageable?: PageableObject;
|
|
1132
|
+
numberOfElements?: number;
|
|
1133
|
+
empty?: boolean;
|
|
1134
|
+
};
|
|
1135
|
+
export type DownloadWorkflowBase64Response = {
|
|
1136
|
+
file_base_64: string;
|
|
1137
|
+
file_name: string;
|
|
1138
|
+
workflowVersionId: string;
|
|
1139
|
+
};
|
|
1140
|
+
export type GetAvailableWorkflowVersionsResponse = {
|
|
1141
|
+
workflowVersionId: string;
|
|
1142
|
+
version: string;
|
|
1143
|
+
};
|
|
1144
|
+
export type PageGetAvailableWorkflowVersionsResponse = {
|
|
1145
|
+
totalElements?: number;
|
|
1146
|
+
totalPages?: number;
|
|
1147
|
+
first?: boolean;
|
|
1148
|
+
last?: boolean;
|
|
1149
|
+
size?: number;
|
|
1150
|
+
content?: GetAvailableWorkflowVersionsResponse[];
|
|
1151
|
+
"number"?: number;
|
|
1152
|
+
sort?: SortObject[];
|
|
1153
|
+
pageable?: PageableObject;
|
|
1154
|
+
numberOfElements?: number;
|
|
1155
|
+
empty?: boolean;
|
|
1156
|
+
};
|
|
1072
1157
|
export type StackWorkspaceViewResponse = {
|
|
1073
1158
|
id: string;
|
|
1074
1159
|
name: string;
|
|
@@ -1085,8 +1170,8 @@ export type PageStackWorkspaceViewResponse = {
|
|
|
1085
1170
|
content?: StackWorkspaceViewResponse[];
|
|
1086
1171
|
"number"?: number;
|
|
1087
1172
|
sort?: SortObject[];
|
|
1088
|
-
numberOfElements?: number;
|
|
1089
1173
|
pageable?: PageableObject;
|
|
1174
|
+
numberOfElements?: number;
|
|
1090
1175
|
empty?: boolean;
|
|
1091
1176
|
};
|
|
1092
1177
|
export type StackVersionInWorkspaceDetailResponse = {
|
|
@@ -1096,13 +1181,13 @@ export type StackVersionInWorkspaceDetailResponse = {
|
|
|
1096
1181
|
totalLinkedApps: number;
|
|
1097
1182
|
totalLinkedInfra: number;
|
|
1098
1183
|
};
|
|
1099
|
-
export type
|
|
1184
|
+
export type StackWorkspaceDetailViewEnvironmentResponse = {
|
|
1100
1185
|
id?: string;
|
|
1101
1186
|
name?: string;
|
|
1102
1187
|
};
|
|
1103
1188
|
export type StackWorkspaceDetailViewResponse = {
|
|
1104
1189
|
stackVersion: StackVersionInWorkspaceDetailResponse;
|
|
1105
|
-
environment?:
|
|
1190
|
+
environment?: StackWorkspaceDetailViewEnvironmentResponse;
|
|
1106
1191
|
};
|
|
1107
1192
|
export type PageStackWorkspaceDetailViewResponse = {
|
|
1108
1193
|
totalElements?: number;
|
|
@@ -1113,8 +1198,8 @@ export type PageStackWorkspaceDetailViewResponse = {
|
|
|
1113
1198
|
content?: StackWorkspaceDetailViewResponse[];
|
|
1114
1199
|
"number"?: number;
|
|
1115
1200
|
sort?: SortObject[];
|
|
1116
|
-
numberOfElements?: number;
|
|
1117
1201
|
pageable?: PageableObject;
|
|
1202
|
+
numberOfElements?: number;
|
|
1118
1203
|
empty?: boolean;
|
|
1119
1204
|
};
|
|
1120
1205
|
export type GetUnusedStackVersionsResponse = {
|
|
@@ -1132,8 +1217,8 @@ export type PageGetUnusedStackVersionsResponse = {
|
|
|
1132
1217
|
content?: GetUnusedStackVersionsResponse[];
|
|
1133
1218
|
"number"?: number;
|
|
1134
1219
|
sort?: SortObject[];
|
|
1135
|
-
numberOfElements?: number;
|
|
1136
1220
|
pageable?: PageableObject;
|
|
1221
|
+
numberOfElements?: number;
|
|
1137
1222
|
empty?: boolean;
|
|
1138
1223
|
};
|
|
1139
1224
|
export type StackModalViewResponse = {
|
|
@@ -1157,10 +1242,10 @@ export type PluginVersionShortResponse = {
|
|
|
1157
1242
|
governance?: PluginGovernanceResponse;
|
|
1158
1243
|
requires?: PluginRequiresResponse;
|
|
1159
1244
|
};
|
|
1160
|
-
export type
|
|
1245
|
+
export type GetRequirementsActionStudioResponse = {
|
|
1161
1246
|
slug: string;
|
|
1162
1247
|
};
|
|
1163
|
-
export type
|
|
1248
|
+
export type GetRequirementsPluginActionsResponse = {
|
|
1164
1249
|
actionId: string;
|
|
1165
1250
|
actionVersionId: string;
|
|
1166
1251
|
version: string;
|
|
@@ -1170,22 +1255,22 @@ export type RequirementsPluginActionsResponse = {
|
|
|
1170
1255
|
description: string;
|
|
1171
1256
|
actionQualifier: string;
|
|
1172
1257
|
status: string;
|
|
1173
|
-
studio:
|
|
1258
|
+
studio: GetRequirementsActionStudioResponse;
|
|
1174
1259
|
};
|
|
1175
|
-
export type
|
|
1260
|
+
export type GetRequirementsPluginStudioResponse = {
|
|
1176
1261
|
id: string;
|
|
1177
1262
|
slug: string;
|
|
1178
1263
|
name: string;
|
|
1179
1264
|
};
|
|
1180
|
-
export type
|
|
1265
|
+
export type GetRequirementsPluginConnectionsResponse = {
|
|
1181
1266
|
typeId: string;
|
|
1182
1267
|
"type": string;
|
|
1183
1268
|
alias: string;
|
|
1184
1269
|
};
|
|
1185
|
-
export type
|
|
1186
|
-
connections:
|
|
1270
|
+
export type GetRequirementsPluginGeneratesResponse = {
|
|
1271
|
+
connections: GetRequirementsPluginConnectionsResponse[];
|
|
1187
1272
|
};
|
|
1188
|
-
export type
|
|
1273
|
+
export type GetRequirementsPluginResponse = {
|
|
1189
1274
|
pluginId: string;
|
|
1190
1275
|
pluginVersionId: string;
|
|
1191
1276
|
slug: string;
|
|
@@ -1193,11 +1278,11 @@ export type RequirementsPluginResponse = {
|
|
|
1193
1278
|
displayName: string;
|
|
1194
1279
|
description?: string;
|
|
1195
1280
|
pluginQualifier: string;
|
|
1196
|
-
studio:
|
|
1281
|
+
studio: GetRequirementsPluginStudioResponse;
|
|
1197
1282
|
range?: string;
|
|
1198
1283
|
version: string;
|
|
1199
1284
|
status: string;
|
|
1200
|
-
generates:
|
|
1285
|
+
generates: GetRequirementsPluginGeneratesResponse;
|
|
1201
1286
|
appAllowed: boolean;
|
|
1202
1287
|
};
|
|
1203
1288
|
export type DependencyTree = {
|
|
@@ -1206,8 +1291,8 @@ export type DependencyTree = {
|
|
|
1206
1291
|
plugins: DependencyTree[];
|
|
1207
1292
|
};
|
|
1208
1293
|
export type GetPluginRequirementsResponse = {
|
|
1209
|
-
actions:
|
|
1210
|
-
plugins:
|
|
1294
|
+
actions: GetRequirementsPluginActionsResponse[];
|
|
1295
|
+
plugins: GetRequirementsPluginResponse[];
|
|
1211
1296
|
dependencyTree: DependencyTree;
|
|
1212
1297
|
};
|
|
1213
1298
|
export type PluginDownloadBase64Response = {
|
|
@@ -1215,7 +1300,7 @@ export type PluginDownloadBase64Response = {
|
|
|
1215
1300
|
file_name: string;
|
|
1216
1301
|
pluginVersionId: string;
|
|
1217
1302
|
};
|
|
1218
|
-
export type
|
|
1303
|
+
export type GetPluginCommandResponse = {
|
|
1219
1304
|
"default": string;
|
|
1220
1305
|
workspace: string;
|
|
1221
1306
|
};
|
|
@@ -1237,7 +1322,7 @@ export type GetPluginResponse = {
|
|
|
1237
1322
|
usage?: string;
|
|
1238
1323
|
implementation?: string;
|
|
1239
1324
|
command?: string;
|
|
1240
|
-
commands?:
|
|
1325
|
+
commands?: GetPluginCommandResponse;
|
|
1241
1326
|
releaseNotes?: string;
|
|
1242
1327
|
appAllowed: boolean;
|
|
1243
1328
|
createdAt: string;
|
|
@@ -1261,8 +1346,12 @@ export type GetPluginResponse = {
|
|
|
1261
1346
|
stkProjectOnly: boolean;
|
|
1262
1347
|
stkProjectsOnly: boolean;
|
|
1263
1348
|
};
|
|
1349
|
+
export type StackResponse = {
|
|
1350
|
+
slug: string;
|
|
1351
|
+
name: string;
|
|
1352
|
+
imageUrl?: string;
|
|
1353
|
+
};
|
|
1264
1354
|
export type PluginStarterResponse = {
|
|
1265
|
-
id: string;
|
|
1266
1355
|
slug: string;
|
|
1267
1356
|
"type": string;
|
|
1268
1357
|
description?: string;
|
|
@@ -1279,8 +1368,8 @@ export type PagePluginStarterResponse = {
|
|
|
1279
1368
|
content?: PluginStarterResponse[];
|
|
1280
1369
|
"number"?: number;
|
|
1281
1370
|
sort?: SortObject[];
|
|
1282
|
-
numberOfElements?: number;
|
|
1283
1371
|
pageable?: PageableObject;
|
|
1372
|
+
numberOfElements?: number;
|
|
1284
1373
|
empty?: boolean;
|
|
1285
1374
|
};
|
|
1286
1375
|
export type GetPluginStackStarterUsageStackResponse = {
|
|
@@ -1305,8 +1394,8 @@ export type PageGetPluginStackStarterUsageResponse = {
|
|
|
1305
1394
|
content?: GetPluginStackStarterUsageResponse[];
|
|
1306
1395
|
"number"?: number;
|
|
1307
1396
|
sort?: SortObject[];
|
|
1308
|
-
numberOfElements?: number;
|
|
1309
1397
|
pageable?: PageableObject;
|
|
1398
|
+
numberOfElements?: number;
|
|
1310
1399
|
empty?: boolean;
|
|
1311
1400
|
};
|
|
1312
1401
|
export type PluginStacksResponse = {
|
|
@@ -1327,8 +1416,8 @@ export type PagePluginStacksResponse = {
|
|
|
1327
1416
|
content?: PluginStacksResponse[];
|
|
1328
1417
|
"number"?: number;
|
|
1329
1418
|
sort?: SortObject[];
|
|
1330
|
-
numberOfElements?: number;
|
|
1331
1419
|
pageable?: PageableObject;
|
|
1420
|
+
numberOfElements?: number;
|
|
1332
1421
|
empty?: boolean;
|
|
1333
1422
|
};
|
|
1334
1423
|
export type GetPluginStackUsageStackResponse = {
|
|
@@ -1353,20 +1442,20 @@ export type PageGetPluginStackUsageResponse = {
|
|
|
1353
1442
|
content?: GetPluginStackUsageResponse[];
|
|
1354
1443
|
"number"?: number;
|
|
1355
1444
|
sort?: SortObject[];
|
|
1356
|
-
numberOfElements?: number;
|
|
1357
1445
|
pageable?: PageableObject;
|
|
1446
|
+
numberOfElements?: number;
|
|
1358
1447
|
empty?: boolean;
|
|
1359
1448
|
};
|
|
1360
1449
|
export type PluginInfrastructureWorkspaceResponse = {
|
|
1361
1450
|
id: string;
|
|
1362
1451
|
name: string;
|
|
1363
|
-
description
|
|
1364
|
-
imageUrl
|
|
1452
|
+
description?: string;
|
|
1453
|
+
imageUrl?: string;
|
|
1365
1454
|
};
|
|
1366
1455
|
export type PluginInfrastructureViewResponse = {
|
|
1367
1456
|
id: string;
|
|
1368
1457
|
name: string;
|
|
1369
|
-
description
|
|
1458
|
+
description?: string;
|
|
1370
1459
|
totalLinkedVersions: number;
|
|
1371
1460
|
workspace: PluginInfrastructureWorkspaceResponse;
|
|
1372
1461
|
};
|
|
@@ -1379,8 +1468,8 @@ export type PagePluginInfrastructureViewResponse = {
|
|
|
1379
1468
|
content?: PluginInfrastructureViewResponse[];
|
|
1380
1469
|
"number"?: number;
|
|
1381
1470
|
sort?: SortObject[];
|
|
1382
|
-
numberOfElements?: number;
|
|
1383
1471
|
pageable?: PageableObject;
|
|
1472
|
+
numberOfElements?: number;
|
|
1384
1473
|
empty?: boolean;
|
|
1385
1474
|
};
|
|
1386
1475
|
export type GetInfrastructureEnvironmentsUsageEnvironmentResponse = {
|
|
@@ -1405,16 +1494,13 @@ export type PageInfrastructureEnvironmentsUsesPluginResponse = {
|
|
|
1405
1494
|
content?: InfrastructureEnvironmentsUsesPluginResponse[];
|
|
1406
1495
|
"number"?: number;
|
|
1407
1496
|
sort?: SortObject[];
|
|
1408
|
-
numberOfElements?: number;
|
|
1409
1497
|
pageable?: PageableObject;
|
|
1498
|
+
numberOfElements?: number;
|
|
1410
1499
|
empty?: boolean;
|
|
1411
1500
|
};
|
|
1412
1501
|
export type PluginViewUsageMonitorResponse = {
|
|
1413
1502
|
id: string;
|
|
1414
1503
|
slug: string;
|
|
1415
|
-
displayName: string;
|
|
1416
|
-
description: string;
|
|
1417
|
-
imageUrl: string;
|
|
1418
1504
|
"type": string;
|
|
1419
1505
|
totalLinkedVersions: number;
|
|
1420
1506
|
studio: PluginStudioResponse;
|
|
@@ -1428,8 +1514,8 @@ export type PagePluginViewUsageMonitorResponse = {
|
|
|
1428
1514
|
content?: PluginViewUsageMonitorResponse[];
|
|
1429
1515
|
"number"?: number;
|
|
1430
1516
|
sort?: SortObject[];
|
|
1431
|
-
numberOfElements?: number;
|
|
1432
1517
|
pageable?: PageableObject;
|
|
1518
|
+
numberOfElements?: number;
|
|
1433
1519
|
empty?: boolean;
|
|
1434
1520
|
};
|
|
1435
1521
|
export type DependentPluginVersionResponse = {
|
|
@@ -1449,8 +1535,8 @@ export type PageGetDependentPluginsVersionsResponse = {
|
|
|
1449
1535
|
content?: GetDependentPluginsVersionsResponse[];
|
|
1450
1536
|
"number"?: number;
|
|
1451
1537
|
sort?: SortObject[];
|
|
1452
|
-
numberOfElements?: number;
|
|
1453
1538
|
pageable?: PageableObject;
|
|
1539
|
+
numberOfElements?: number;
|
|
1454
1540
|
empty?: boolean;
|
|
1455
1541
|
};
|
|
1456
1542
|
export type GetPluginVersionsNotInUseResponse = {
|
|
@@ -1467,8 +1553,8 @@ export type PageGetPluginVersionsNotInUseResponse = {
|
|
|
1467
1553
|
content?: GetPluginVersionsNotInUseResponse[];
|
|
1468
1554
|
"number"?: number;
|
|
1469
1555
|
sort?: SortObject[];
|
|
1470
|
-
numberOfElements?: number;
|
|
1471
1556
|
pageable?: PageableObject;
|
|
1557
|
+
numberOfElements?: number;
|
|
1472
1558
|
empty?: boolean;
|
|
1473
1559
|
};
|
|
1474
1560
|
export type PluginInUseSummaryResponse = {
|
|
@@ -1479,18 +1565,18 @@ export type PluginInUseSummaryResponse = {
|
|
|
1479
1565
|
totalUsedInApplications: number;
|
|
1480
1566
|
totalNotUsed: number;
|
|
1481
1567
|
};
|
|
1482
|
-
export type
|
|
1568
|
+
export type PluginApplicationsWorkspaceResponse = {
|
|
1483
1569
|
id: string;
|
|
1484
1570
|
name: string;
|
|
1485
|
-
description
|
|
1486
|
-
imageUrl
|
|
1571
|
+
description?: string;
|
|
1572
|
+
imageUrl?: string;
|
|
1487
1573
|
};
|
|
1488
1574
|
export type PluginApplicationsResponse = {
|
|
1489
1575
|
id: string;
|
|
1490
1576
|
name: string;
|
|
1491
|
-
description
|
|
1577
|
+
description?: string;
|
|
1492
1578
|
totalLinkedVersions: number;
|
|
1493
|
-
workspace:
|
|
1579
|
+
workspace: PluginApplicationsWorkspaceResponse;
|
|
1494
1580
|
};
|
|
1495
1581
|
export type PagePluginApplicationsResponse = {
|
|
1496
1582
|
totalElements?: number;
|
|
@@ -1501,18 +1587,22 @@ export type PagePluginApplicationsResponse = {
|
|
|
1501
1587
|
content?: PluginApplicationsResponse[];
|
|
1502
1588
|
"number"?: number;
|
|
1503
1589
|
sort?: SortObject[];
|
|
1504
|
-
numberOfElements?: number;
|
|
1505
1590
|
pageable?: PageableObject;
|
|
1591
|
+
numberOfElements?: number;
|
|
1506
1592
|
empty?: boolean;
|
|
1507
1593
|
};
|
|
1508
|
-
export type
|
|
1594
|
+
export type PluginUsageMonitorApplicationViewVersionResponse = {
|
|
1509
1595
|
id: string;
|
|
1510
1596
|
version: string;
|
|
1511
1597
|
status: string;
|
|
1512
1598
|
};
|
|
1599
|
+
export type PluginUsageMonitorApplicationViewEnvironmentResponse = {
|
|
1600
|
+
id: string;
|
|
1601
|
+
name: string;
|
|
1602
|
+
};
|
|
1513
1603
|
export type PluginUsageMonitorApplicationViewResponse = {
|
|
1514
|
-
pluginVersion:
|
|
1515
|
-
environment:
|
|
1604
|
+
pluginVersion: PluginUsageMonitorApplicationViewVersionResponse;
|
|
1605
|
+
environment: PluginUsageMonitorApplicationViewEnvironmentResponse;
|
|
1516
1606
|
};
|
|
1517
1607
|
export type PagePluginUsageMonitorApplicationViewResponse = {
|
|
1518
1608
|
totalElements?: number;
|
|
@@ -1523,11 +1613,11 @@ export type PagePluginUsageMonitorApplicationViewResponse = {
|
|
|
1523
1613
|
content?: PluginUsageMonitorApplicationViewResponse[];
|
|
1524
1614
|
"number"?: number;
|
|
1525
1615
|
sort?: SortObject[];
|
|
1526
|
-
numberOfElements?: number;
|
|
1527
1616
|
pageable?: PageableObject;
|
|
1617
|
+
numberOfElements?: number;
|
|
1528
1618
|
empty?: boolean;
|
|
1529
1619
|
};
|
|
1530
|
-
export type
|
|
1620
|
+
export type ListActionVersionItemResponse = {
|
|
1531
1621
|
actionVersionId: string;
|
|
1532
1622
|
version: string;
|
|
1533
1623
|
createdBy: string;
|
|
@@ -1536,9 +1626,9 @@ export type ActionVersionResponse = {
|
|
|
1536
1626
|
status: string;
|
|
1537
1627
|
governance?: ActionGovernanceResponse;
|
|
1538
1628
|
};
|
|
1539
|
-
export type
|
|
1629
|
+
export type ListActionVersionResponse = {
|
|
1540
1630
|
actionId: string;
|
|
1541
|
-
versions:
|
|
1631
|
+
versions: ListActionVersionItemResponse[];
|
|
1542
1632
|
};
|
|
1543
1633
|
export type StudioSummaryResponse = {
|
|
1544
1634
|
id: string;
|
|
@@ -1548,7 +1638,7 @@ export type StudioSummaryResponse = {
|
|
|
1548
1638
|
visibility: string;
|
|
1549
1639
|
};
|
|
1550
1640
|
export type DeleteStackVersionResponse = {
|
|
1551
|
-
stack?:
|
|
1641
|
+
stack?: GetStackVersionStackResponse;
|
|
1552
1642
|
version?: StackVersionResponse;
|
|
1553
1643
|
};
|
|
1554
1644
|
export type GetStackWorkspaceResponse = {
|
|
@@ -1582,24 +1672,45 @@ export type PluginVersionUsageSummaryResponse = {
|
|
|
1582
1672
|
totalUsedInInfrastructures: number;
|
|
1583
1673
|
totalUsedInApplications: number;
|
|
1584
1674
|
};
|
|
1675
|
+
export type PluginSummaryResponse = {
|
|
1676
|
+
id: string;
|
|
1677
|
+
versionId: string;
|
|
1678
|
+
"type": string;
|
|
1679
|
+
versionMajor: number;
|
|
1680
|
+
versionMinor: number;
|
|
1681
|
+
versionPatch: number;
|
|
1682
|
+
slug: string;
|
|
1683
|
+
fullQualifier: string;
|
|
1684
|
+
qualifier: string;
|
|
1685
|
+
studioSlug: string;
|
|
1686
|
+
accountSlug: string;
|
|
1687
|
+
};
|
|
1688
|
+
export type PluginVersionByConnectionVersionResponse = {
|
|
1689
|
+
id: string;
|
|
1690
|
+
displayName?: string;
|
|
1691
|
+
version: string;
|
|
1692
|
+
description?: string;
|
|
1693
|
+
appAllowed: boolean;
|
|
1694
|
+
requires?: PluginRequiresResponse;
|
|
1695
|
+
generates: PluginGeneratesResponse;
|
|
1696
|
+
};
|
|
1585
1697
|
export type PluginVersionByConnectionResponse = {
|
|
1586
1698
|
id: string;
|
|
1587
1699
|
slug: string;
|
|
1588
1700
|
accountSlug?: string;
|
|
1589
1701
|
studio: PluginStudioResponse;
|
|
1590
|
-
pluginVersions?:
|
|
1702
|
+
pluginVersions?: PluginVersionByConnectionVersionResponse[];
|
|
1591
1703
|
};
|
|
1592
1704
|
export type ContentStudioResponse = {
|
|
1593
1705
|
slug: string;
|
|
1594
1706
|
createdBy: string;
|
|
1595
1707
|
visibility: "ACCOUNT_ONLY" | "SELECTED_WORKSPACES" | "RESTRICTED_ACCESS" | "PUBLIC";
|
|
1596
|
-
teams: string[];
|
|
1597
1708
|
workspaces: string[];
|
|
1598
1709
|
};
|
|
1599
1710
|
export type ContentDataResponse = {
|
|
1600
1711
|
id: string;
|
|
1601
1712
|
slug: string;
|
|
1602
|
-
contentType: "STUDIO" | "ACTION" | "PLUGIN" | "STACK" | "STARTER" | "ACTION_VERSION" | "PLUGIN_VERSION" | "STACK_VERSION";
|
|
1713
|
+
contentType: "STUDIO" | "ACTION" | "PLUGIN" | "STACK" | "STARTER" | "ACTION_VERSION" | "PLUGIN_VERSION" | "STACK_VERSION" | "WORKFLOW";
|
|
1603
1714
|
};
|
|
1604
1715
|
export type ContentResponse = {
|
|
1605
1716
|
studio: ContentStudioResponse;
|
|
@@ -1625,8 +1736,8 @@ export type PageContentEvaluationResponse = {
|
|
|
1625
1736
|
content?: ContentEvaluationResponse[];
|
|
1626
1737
|
"number"?: number;
|
|
1627
1738
|
sort?: SortObject[];
|
|
1628
|
-
numberOfElements?: number;
|
|
1629
1739
|
pageable?: PageableObject;
|
|
1740
|
+
numberOfElements?: number;
|
|
1630
1741
|
empty?: boolean;
|
|
1631
1742
|
};
|
|
1632
1743
|
export type ContentEvaluationSummaryDetailsResponse = {
|
|
@@ -1759,13 +1870,19 @@ export declare function listConnectionInterfaceTypes(opts?: Oazapfts.RequestOpts
|
|
|
1759
1870
|
export declare function createConnectionInterfaceType({ createConnectionInterfaceTypeRequest }: {
|
|
1760
1871
|
createConnectionInterfaceTypeRequest: CreateConnectionInterfaceTypeRequest;
|
|
1761
1872
|
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponseV2>;
|
|
1873
|
+
/**
|
|
1874
|
+
* Validate and return info from a workflow
|
|
1875
|
+
*/
|
|
1876
|
+
export declare function validateWorkflow({ body }: {
|
|
1877
|
+
body?: {
|
|
1878
|
+
file: Blob;
|
|
1879
|
+
};
|
|
1880
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ValidateResponse>;
|
|
1762
1881
|
/**
|
|
1763
1882
|
* Find studios
|
|
1764
1883
|
*/
|
|
1765
|
-
export declare function getStudios1({ xWorkspaceId,
|
|
1884
|
+
export declare function getStudios1({ xWorkspaceId, aclOnly, filter, isAccountHolder }: {
|
|
1766
1885
|
xWorkspaceId?: string;
|
|
1767
|
-
authorization: string;
|
|
1768
|
-
teamId?: string;
|
|
1769
1886
|
aclOnly?: boolean;
|
|
1770
1887
|
filter?: string;
|
|
1771
1888
|
isAccountHolder?: boolean;
|
|
@@ -1773,8 +1890,7 @@ export declare function getStudios1({ xWorkspaceId, authorization, teamId, aclOn
|
|
|
1773
1890
|
/**
|
|
1774
1891
|
* Create a new studio
|
|
1775
1892
|
*/
|
|
1776
|
-
export declare function createStudio({
|
|
1777
|
-
authorization: string;
|
|
1893
|
+
export declare function createStudio({ createStudioRequest }: {
|
|
1778
1894
|
createStudioRequest: CreateStudioRequest;
|
|
1779
1895
|
}, opts?: Oazapfts.RequestOpts): Promise<CreateStudioResponse>;
|
|
1780
1896
|
/**
|
|
@@ -1790,6 +1906,16 @@ export declare function addWorkspace({ studioSlug, studioWorkspaceRequest }: {
|
|
|
1790
1906
|
studioSlug: string;
|
|
1791
1907
|
studioWorkspaceRequest: StudioWorkspaceRequest;
|
|
1792
1908
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1909
|
+
/**
|
|
1910
|
+
* Publish Workflow
|
|
1911
|
+
*/
|
|
1912
|
+
export declare function publishWorkflow({ studioSlug, workflowSlug, body }: {
|
|
1913
|
+
studioSlug: string;
|
|
1914
|
+
workflowSlug: string;
|
|
1915
|
+
body?: {
|
|
1916
|
+
file: Blob;
|
|
1917
|
+
};
|
|
1918
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PublishWorkflowResponse>;
|
|
1793
1919
|
/**
|
|
1794
1920
|
* Get Stack by slugs
|
|
1795
1921
|
*/
|
|
@@ -1799,7 +1925,7 @@ export declare function getStackBySlug({ studioSlug, stackSlug, semanticVersion,
|
|
|
1799
1925
|
semanticVersion?: string;
|
|
1800
1926
|
onlyPublished?: boolean;
|
|
1801
1927
|
xWorkspaceId?: string;
|
|
1802
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1928
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetStackVersionResponse>;
|
|
1803
1929
|
/**
|
|
1804
1930
|
* Publish Stack
|
|
1805
1931
|
*/
|
|
@@ -1828,7 +1954,7 @@ export declare function publishPluginController({ studioSlug, pluginSlug, body }
|
|
|
1828
1954
|
body?: {
|
|
1829
1955
|
file: Blob;
|
|
1830
1956
|
};
|
|
1831
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1957
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PublishPluginResponse>;
|
|
1832
1958
|
/**
|
|
1833
1959
|
* Get available plugin versions by plugin slug
|
|
1834
1960
|
*/
|
|
@@ -1894,11 +2020,12 @@ export declare function createAction({ studioSlug, actionSlug, body }: {
|
|
|
1894
2020
|
/**
|
|
1895
2021
|
* Get available action versions by action slug
|
|
1896
2022
|
*/
|
|
1897
|
-
export declare function getAvailableActionVersionsByActionSlug({ studioSlug, actionSlug, xWorkspaceId, range }: {
|
|
2023
|
+
export declare function getAvailableActionVersionsByActionSlug({ studioSlug, actionSlug, xWorkspaceId, range, requiresConnection }: {
|
|
1898
2024
|
studioSlug: string;
|
|
1899
2025
|
actionSlug: string;
|
|
1900
2026
|
xWorkspaceId?: string;
|
|
1901
2027
|
range: string;
|
|
2028
|
+
requiresConnection?: boolean;
|
|
1902
2029
|
}, opts?: Oazapfts.RequestOpts): Promise<GetAvailableActionVersionsResponse[]>;
|
|
1903
2030
|
/**
|
|
1904
2031
|
* Get available action versions by action slug
|
|
@@ -1918,18 +2045,10 @@ export declare function listActionsByFilters({ xWorkspaceId, studioSlug, pageabl
|
|
|
1918
2045
|
pageable: Pageable;
|
|
1919
2046
|
filterActionRequest: FilterActionRequest;
|
|
1920
2047
|
}, opts?: Oazapfts.RequestOpts): Promise<PageActionResponse>;
|
|
1921
|
-
/**
|
|
1922
|
-
* Adds a team to a studio
|
|
1923
|
-
*/
|
|
1924
|
-
export declare function addTeamsInStudio({ studioId, body }: {
|
|
1925
|
-
studioId: string;
|
|
1926
|
-
body: string[];
|
|
1927
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1928
2048
|
/**
|
|
1929
2049
|
* List studios by filters
|
|
1930
2050
|
*/
|
|
1931
|
-
export declare function listStudios({
|
|
1932
|
-
authorization: string;
|
|
2051
|
+
export declare function listStudios({ xWorkspaceId, filterStudioRequest }: {
|
|
1933
2052
|
xWorkspaceId?: string;
|
|
1934
2053
|
filterStudioRequest: FilterStudioRequest;
|
|
1935
2054
|
}, opts?: Oazapfts.RequestOpts): Promise<FilterStudioResponse[]>;
|
|
@@ -1948,7 +2067,7 @@ export declare function validateStack({ starterPath, body }: {
|
|
|
1948
2067
|
export declare function listStacks1({ xWorkspaceId, isAccountHolder }: {
|
|
1949
2068
|
xWorkspaceId?: string;
|
|
1950
2069
|
isAccountHolder?: boolean;
|
|
1951
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
2070
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetStackVersionResponse[]>;
|
|
1952
2071
|
/**
|
|
1953
2072
|
* Create New Stack
|
|
1954
2073
|
*/
|
|
@@ -2042,9 +2161,8 @@ export declare function addLink({ stackVersionId, addLinkRequest }: {
|
|
|
2042
2161
|
/**
|
|
2043
2162
|
* Deprecate a stack
|
|
2044
2163
|
*/
|
|
2045
|
-
export declare function deprecateStackVersionBy({ stackVersionId,
|
|
2164
|
+
export declare function deprecateStackVersionBy({ stackVersionId, deprecateContentRequest }: {
|
|
2046
2165
|
stackVersionId: string;
|
|
2047
|
-
authorization: string;
|
|
2048
2166
|
deprecateContentRequest: DeprecateContentRequest;
|
|
2049
2167
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2050
2168
|
/**
|
|
@@ -2084,7 +2202,7 @@ export declare function listActionsByFilters1({ xWorkspaceId, stackVersionId, pa
|
|
|
2084
2202
|
export declare function getStackVersionListByIds({ xWorkspaceId, filterStackVersionRequest }: {
|
|
2085
2203
|
xWorkspaceId?: string;
|
|
2086
2204
|
filterStackVersionRequest: FilterStackVersionRequest;
|
|
2087
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
2205
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetStackVersionResponse[]>;
|
|
2088
2206
|
/**
|
|
2089
2207
|
* Validate and return info from a stack
|
|
2090
2208
|
*/
|
|
@@ -2109,9 +2227,8 @@ export declare function listPluginVersionByIdsController({ xWorkspaceId, filterP
|
|
|
2109
2227
|
/**
|
|
2110
2228
|
* Deprecate a plugin version
|
|
2111
2229
|
*/
|
|
2112
|
-
export declare function deprecatePluginVersion({ pluginVersionId,
|
|
2230
|
+
export declare function deprecatePluginVersion({ pluginVersionId, deprecateContentRequest }: {
|
|
2113
2231
|
pluginVersionId: string;
|
|
2114
|
-
authorization: string;
|
|
2115
2232
|
deprecateContentRequest: DeprecateContentRequest;
|
|
2116
2233
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2117
2234
|
/**
|
|
@@ -2257,14 +2374,14 @@ export declare function getStackById({ stackId, semanticVersion, xWorkspaceId }:
|
|
|
2257
2374
|
stackId: string;
|
|
2258
2375
|
semanticVersion?: string;
|
|
2259
2376
|
xWorkspaceId?: string;
|
|
2260
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
2377
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetStackVersionResponse>;
|
|
2261
2378
|
/**
|
|
2262
2379
|
* update stack
|
|
2263
2380
|
*/
|
|
2264
2381
|
export declare function updateStackById({ stackId, updateStackRequest }: {
|
|
2265
2382
|
stackId: string;
|
|
2266
2383
|
updateStackRequest: UpdateStackRequest;
|
|
2267
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
2384
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetStackVersionStackResponse>;
|
|
2268
2385
|
/**
|
|
2269
2386
|
* Delete a link from a stack versions
|
|
2270
2387
|
*/
|
|
@@ -2314,10 +2431,9 @@ export declare function updateConnectionInterfaceType1({ connectionInterfaceType
|
|
|
2314
2431
|
/**
|
|
2315
2432
|
* Find studios
|
|
2316
2433
|
*/
|
|
2317
|
-
export declare function getStudios({ xWorkspaceId, authorization,
|
|
2434
|
+
export declare function getStudios({ xWorkspaceId, authorization, aclOnly, filter, isAccountHolder, startersOnly, infraOnly, workspaceId, pageable }: {
|
|
2318
2435
|
xWorkspaceId?: string;
|
|
2319
2436
|
authorization: string;
|
|
2320
|
-
teamId?: string;
|
|
2321
2437
|
aclOnly?: boolean;
|
|
2322
2438
|
filter?: string;
|
|
2323
2439
|
isAccountHolder?: boolean;
|
|
@@ -2363,6 +2479,42 @@ export declare function listInputs({ actionVersionId, xWorkspaceId, accountId }:
|
|
|
2363
2479
|
xWorkspaceId?: string;
|
|
2364
2480
|
accountId?: string;
|
|
2365
2481
|
}, opts?: Oazapfts.RequestOpts): Promise<ActionInputV2Response>;
|
|
2482
|
+
/**
|
|
2483
|
+
* Get workflows from studio
|
|
2484
|
+
*/
|
|
2485
|
+
export declare function getWorkflowByStudioSlug({ studioSlug, xWorkspaceId, pageable }: {
|
|
2486
|
+
studioSlug: string;
|
|
2487
|
+
xWorkspaceId?: string;
|
|
2488
|
+
pageable: Pageable;
|
|
2489
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PageGetWorkflowsByStudioResponse>;
|
|
2490
|
+
/**
|
|
2491
|
+
* Download a workflow by version
|
|
2492
|
+
*/
|
|
2493
|
+
export declare function downloadWorkflow({ studioSlug, workflowSlug, version, xWorkspaceId }: {
|
|
2494
|
+
studioSlug: string;
|
|
2495
|
+
workflowSlug: string;
|
|
2496
|
+
version: string;
|
|
2497
|
+
xWorkspaceId?: string;
|
|
2498
|
+
}, opts?: Oazapfts.RequestOpts): Promise<string>;
|
|
2499
|
+
/**
|
|
2500
|
+
* Download a workflow by version (base64 response version)
|
|
2501
|
+
*/
|
|
2502
|
+
export declare function downloadWorkflowBase64({ studioSlug, workflowSlug, version, xWorkspaceId }: {
|
|
2503
|
+
studioSlug: string;
|
|
2504
|
+
workflowSlug: string;
|
|
2505
|
+
version: string;
|
|
2506
|
+
xWorkspaceId?: string;
|
|
2507
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DownloadWorkflowBase64Response>;
|
|
2508
|
+
/**
|
|
2509
|
+
* Get available workflow versions by workflow slug
|
|
2510
|
+
*/
|
|
2511
|
+
export declare function getAvailableWorkflowVersionsByWorkflowSlug({ studioSlug, workflowSlug, xWorkspaceId, range, pageable }: {
|
|
2512
|
+
studioSlug: string;
|
|
2513
|
+
workflowSlug: string;
|
|
2514
|
+
xWorkspaceId?: string;
|
|
2515
|
+
range: string;
|
|
2516
|
+
pageable: Pageable;
|
|
2517
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PageGetAvailableWorkflowVersionsResponse>;
|
|
2366
2518
|
/**
|
|
2367
2519
|
* Get a starter documentation
|
|
2368
2520
|
*/
|
|
@@ -2487,7 +2639,7 @@ export declare function getStarterUsesPlugin({ studioSlug, pluginSlug, filter, $
|
|
|
2487
2639
|
studioSlug: string;
|
|
2488
2640
|
pluginSlug: string;
|
|
2489
2641
|
filter?: string;
|
|
2490
|
-
$type?:
|
|
2642
|
+
$type?: "APP" | "INFRA";
|
|
2491
2643
|
pageable: Pageable;
|
|
2492
2644
|
}, opts?: Oazapfts.RequestOpts): Promise<PagePluginStarterResponse>;
|
|
2493
2645
|
/**
|
|
@@ -2544,7 +2696,7 @@ export declare function getGetPluginView({ studioSlug, pluginSlug, studio, filte
|
|
|
2544
2696
|
pluginSlug: string;
|
|
2545
2697
|
studio?: string;
|
|
2546
2698
|
filter?: string;
|
|
2547
|
-
$type?:
|
|
2699
|
+
$type?: "INFRA" | "APP";
|
|
2548
2700
|
pageable: Pageable;
|
|
2549
2701
|
}, opts?: Oazapfts.RequestOpts): Promise<PagePluginViewUsageMonitorResponse>;
|
|
2550
2702
|
/**
|
|
@@ -2609,12 +2761,13 @@ export declare function getPluginDoc({ studioSlug, documentationId, language, st
|
|
|
2609
2761
|
/**
|
|
2610
2762
|
* List all action versions
|
|
2611
2763
|
*/
|
|
2612
|
-
export declare function getAllActionVersions({ studioSlug, actionSlug, status, xWorkspaceId }: {
|
|
2764
|
+
export declare function getAllActionVersions({ studioSlug, actionSlug, status, xWorkspaceId, requiresConnection }: {
|
|
2613
2765
|
studioSlug: string;
|
|
2614
2766
|
actionSlug: string;
|
|
2615
2767
|
status?: ("DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED")[];
|
|
2616
2768
|
xWorkspaceId?: string;
|
|
2617
|
-
|
|
2769
|
+
requiresConnection?: boolean;
|
|
2770
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListActionVersionResponse>;
|
|
2618
2771
|
/**
|
|
2619
2772
|
* Download an action by version
|
|
2620
2773
|
*/
|
|
@@ -2645,31 +2798,28 @@ export declare function getActionDoc({ studioSlug, documentationId, language, st
|
|
|
2645
2798
|
/**
|
|
2646
2799
|
* Get a studio by id or slug
|
|
2647
2800
|
*/
|
|
2648
|
-
export declare function getStudioByIdOrSlug({ studioIdOrSlug,
|
|
2801
|
+
export declare function getStudioByIdOrSlug({ studioIdOrSlug, xWorkspaceId }: {
|
|
2649
2802
|
studioIdOrSlug: string;
|
|
2650
|
-
authorization?: string;
|
|
2651
2803
|
xWorkspaceId?: string;
|
|
2652
2804
|
}, opts?: Oazapfts.RequestOpts): Promise<StudioResponse>;
|
|
2653
2805
|
/**
|
|
2654
2806
|
* Get studios from token
|
|
2655
2807
|
*/
|
|
2656
|
-
export declare function getStudiosToCreateButton(
|
|
2657
|
-
authorization: string;
|
|
2658
|
-
}, opts?: Oazapfts.RequestOpts): Promise<StudioSummaryResponse[]>;
|
|
2808
|
+
export declare function getStudiosToCreateButton(opts?: Oazapfts.RequestOpts): Promise<StudioSummaryResponse[]>;
|
|
2659
2809
|
/**
|
|
2660
2810
|
* Get a stack version list from its ids
|
|
2661
2811
|
*/
|
|
2662
2812
|
export declare function getStackVersionListByIds1({ stackVersionIds, xWorkspaceId }: {
|
|
2663
2813
|
stackVersionIds: string[];
|
|
2664
2814
|
xWorkspaceId?: string;
|
|
2665
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
2815
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetStackVersionResponse[]>;
|
|
2666
2816
|
/**
|
|
2667
2817
|
* Get a stack version from its id
|
|
2668
2818
|
*/
|
|
2669
2819
|
export declare function getStackVersionById({ stackVersionId, xWorkspaceId }: {
|
|
2670
2820
|
stackVersionId: string;
|
|
2671
2821
|
xWorkspaceId?: string;
|
|
2672
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
2822
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetStackVersionResponse>;
|
|
2673
2823
|
/**
|
|
2674
2824
|
* Delete a stack version of type draft or unpublish
|
|
2675
2825
|
*/
|
|
@@ -2724,7 +2874,7 @@ export declare function listPlugins({ stackVersionId, starterType, xWorkspaceId
|
|
|
2724
2874
|
stackVersionId: string;
|
|
2725
2875
|
starterType?: "APP" | "INFRA";
|
|
2726
2876
|
xWorkspaceId?: string;
|
|
2727
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
2877
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetStackPluginsResponse>;
|
|
2728
2878
|
/**
|
|
2729
2879
|
* Stack Version Usage Summary
|
|
2730
2880
|
*/
|
|
@@ -2789,6 +2939,13 @@ export declare function getInputs1({ pluginVersionId, xWorkspaceId }: {
|
|
|
2789
2939
|
export declare function getPluginVersionUsageSummary({ pluginVersionId }: {
|
|
2790
2940
|
pluginVersionId: string;
|
|
2791
2941
|
}, opts?: Oazapfts.RequestOpts): Promise<PluginVersionUsageSummaryResponse>;
|
|
2942
|
+
/**
|
|
2943
|
+
* Get Plugins Versions by require variable
|
|
2944
|
+
*/
|
|
2945
|
+
export declare function getPluginVersionsByVariable({ variableName, accountId }: {
|
|
2946
|
+
variableName: string;
|
|
2947
|
+
accountId: string;
|
|
2948
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PluginSummaryResponse[]>;
|
|
2792
2949
|
/**
|
|
2793
2950
|
* List plugins version by connection
|
|
2794
2951
|
*/
|
|
@@ -2805,7 +2962,7 @@ export declare function listReasons(opts?: Oazapfts.RequestOpts): Promise<string
|
|
|
2805
2962
|
* Get Studio and Content data from Content Type and Content ID
|
|
2806
2963
|
*/
|
|
2807
2964
|
export declare function getContent({ contentType, contentIdentifier, studioSlug, accountId }: {
|
|
2808
|
-
contentType: "STUDIO" | "ACTION" | "PLUGIN" | "STACK" | "STARTER" | "ACTION_VERSION" | "PLUGIN_VERSION" | "STACK_VERSION";
|
|
2965
|
+
contentType: "STUDIO" | "ACTION" | "PLUGIN" | "STACK" | "STARTER" | "ACTION_VERSION" | "PLUGIN_VERSION" | "STACK_VERSION" | "WORKFLOW";
|
|
2809
2966
|
contentIdentifier: string;
|
|
2810
2967
|
studioSlug?: string;
|
|
2811
2968
|
accountId?: string;
|
|
@@ -2879,10 +3036,11 @@ export declare function getListOfInputs({ actionVersionId, xWorkspaceId, account
|
|
|
2879
3036
|
accountId?: string;
|
|
2880
3037
|
}, opts?: Oazapfts.RequestOpts): Promise<ActionVersionInputResponse[]>;
|
|
2881
3038
|
/**
|
|
2882
|
-
* Get Actions Versions by
|
|
3039
|
+
* Get Actions Versions by require variable
|
|
2883
3040
|
*/
|
|
2884
|
-
export declare function
|
|
2885
|
-
|
|
3041
|
+
export declare function getActionVersionsByVariable({ variableName, accountId }: {
|
|
3042
|
+
variableName: string;
|
|
3043
|
+
accountId: string;
|
|
2886
3044
|
}, opts?: Oazapfts.RequestOpts): Promise<ActionSummaryResponse[]>;
|
|
2887
3045
|
/**
|
|
2888
3046
|
* Get accountInfo
|
|
@@ -2897,7 +3055,7 @@ export declare function getAllActionVersions1({ accountSlug, studioSlug, actionS
|
|
|
2897
3055
|
actionSlug: string;
|
|
2898
3056
|
status?: ("DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED")[];
|
|
2899
3057
|
xWorkspaceId?: string;
|
|
2900
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
3058
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListActionVersionResponse>;
|
|
2901
3059
|
/**
|
|
2902
3060
|
* Download an action by version
|
|
2903
3061
|
*/
|
|
@@ -2921,13 +3079,6 @@ export declare function delWorkspace({ studioSlug, workspaceId }: {
|
|
|
2921
3079
|
studioSlug: string;
|
|
2922
3080
|
workspaceId: string;
|
|
2923
3081
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2924
|
-
/**
|
|
2925
|
-
* Remove an team from a studio
|
|
2926
|
-
*/
|
|
2927
|
-
export declare function deleteTeam({ studioId, teamId }: {
|
|
2928
|
-
studioId: string;
|
|
2929
|
-
teamId: string;
|
|
2930
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2931
3082
|
/**
|
|
2932
3083
|
* Deletes a Starter from a StackVersion
|
|
2933
3084
|
*/
|