@stack-spot/portal-network 0.58.7 → 0.59.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 +183 -57
- package/dist/api/content.d.ts.map +1 -1
- package/dist/api/content.js +38 -1
- package/dist/api/content.js.map +1 -1
- package/dist/client/content.d.ts +20 -1
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/content.js +20 -2
- package/dist/client/content.js.map +1 -1
- package/package.json +1 -1
- package/src/api/content.ts +265 -57
- package/src/client/content.ts +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.59.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.58.7...portal-network@v0.59.0) (2024-12-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* new workflow services ([#569](https://github.com/stack-spot/portal-commons/issues/569)) ([0646dae](https://github.com/stack-spot/portal-commons/commit/0646dae9094607521deb0da14e08662dd82e7f81))
|
|
9
|
+
|
|
3
10
|
## [0.58.7](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.58.6...portal-network@v0.58.7) (2024-12-11)
|
|
4
11
|
|
|
5
12
|
|
package/dist/api/content.d.ts
CHANGED
|
@@ -104,9 +104,35 @@ export type CreateConnectionInterfaceTypeRequest = {
|
|
|
104
104
|
description: string;
|
|
105
105
|
outputs: CreateConnectionInterfaceTypeOutputRequest[];
|
|
106
106
|
};
|
|
107
|
+
export type ListWorkflowsByVersionIdsRequest = {
|
|
108
|
+
ids: string[];
|
|
109
|
+
};
|
|
110
|
+
export type ListWorkflowsByVersionIdsStudioResponse = {
|
|
111
|
+
id: string;
|
|
112
|
+
slug: string;
|
|
113
|
+
name: string;
|
|
114
|
+
imageUrl?: string;
|
|
115
|
+
};
|
|
116
|
+
export type ListWorkflowsByVersionIdsLatestVersionResponse = {
|
|
117
|
+
id: string;
|
|
118
|
+
displayName: string;
|
|
119
|
+
label: string;
|
|
120
|
+
description: string;
|
|
121
|
+
semanticVersion: string;
|
|
122
|
+
targetApp: boolean;
|
|
123
|
+
targetInfra: boolean;
|
|
124
|
+
createdAt: string;
|
|
125
|
+
};
|
|
126
|
+
export type ListWorkflowsByVersionIdsResponse = {
|
|
127
|
+
id: string;
|
|
128
|
+
slug: string;
|
|
129
|
+
"type": "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter";
|
|
130
|
+
studio: ListWorkflowsByVersionIdsStudioResponse;
|
|
131
|
+
versionInfo?: ListWorkflowsByVersionIdsLatestVersionResponse;
|
|
132
|
+
};
|
|
107
133
|
export type YamlValidationError = {
|
|
108
134
|
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_VARIABLE" | "STK_VAL_5081_INVALID_VARIABLE_REFERENCE" | "STK_VAL_5082_DUPLICATED_JOB" | "STK_VAL_5083_DUPLICATED_STEP" | "STK_VAL_5084_WORKFLOW_VERSION_NOT_FOUND" | "STK_VAL_5085_MISSING_INPUT_REQUIRED_IN_STEP_JOB" | "STK_VAL_5086_CYCLIC_DEPENDENCY_JOB" | "STK_VAL_5087_CYCLIC_DEPENDENCY_WORKFLOW" | "STK_VAL_5088_WORKFLOW_CREATE_DEPENDENCY" | "STK_VAL_5089_INVALID_DEPENDS_ON_JOBS" | "STK_VAL_5090_INVALID_JOB_STEP_WORKFLOW_TYPE" | "STK_VAL_5091_MULTIPLE_GENERATED_CONNECTION_DEFINITION" | "STK_VAL_VERSION_BREAK_CHANGE_SCHEMA_VERSION_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_APP_ALLOWED_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_INPUT_TYPE_CHANGE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_INPUTS_CHANGE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_INPUT_CONDITION_CHANGE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_INPUT_CONNECTION_INTERFACE_TYPE_CHANGE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_GENERATES_CONNECTION_INTERFACE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_REQUIRES_CONNECTION_INTERFACE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_REQUIRES_PLUGIN_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_REQUIRES_ACTION_ERROR" | "STK_VAL_PLUGIN_VERSION_ALREADY_EXISTS_IN_STUDIO" | "STK_VAL_ACTION_VERSION_ALREADY_EXISTS_IN_STUDIO" | "STK_VAL_STACK_VERSION_ALREADY_EXISTS_IN_STUDIO" | "STK_VAL_WORKFLOW_SPECIFICATION_MULTIPLE_TARGETS_NOT_ALLOWED" | "STK_VAL_VERSION_BREAK_CHANGE_WORKFLOW_TARGETS_MODIFIED_ERROR" | "STK_VAL_WORKFLOW_ITSELF_DEPENDENCY" | "STK_VAL_INVALID_PLUGIN_ON_STEP_BY_WORKFLOW_APP_TARGET" | "STK_VAL_INVALID_PLUGIN_ON_STEP_BY_WORKFLOW_INFRA_TARGET";
|
|
135
|
+
"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_VARIABLE" | "STK_VAL_5081_INVALID_VARIABLE_REFERENCE" | "STK_VAL_5082_DUPLICATED_JOB" | "STK_VAL_5083_DUPLICATED_STEP" | "STK_VAL_5084_WORKFLOW_VERSION_NOT_FOUND" | "STK_VAL_5085_MISSING_INPUT_REQUIRED_IN_STEP_JOB" | "STK_VAL_5086_CYCLIC_DEPENDENCY_JOB" | "STK_VAL_5087_CYCLIC_DEPENDENCY_WORKFLOW" | "STK_VAL_5088_WORKFLOW_CREATE_DEPENDENCY" | "STK_VAL_5089_INVALID_DEPENDS_ON_JOBS" | "STK_VAL_5090_INVALID_JOB_STEP_WORKFLOW_TYPE" | "STK_VAL_5091_MULTIPLE_GENERATED_CONNECTION_DEFINITION" | "STK_VAL_VERSION_BREAK_CHANGE_SCHEMA_VERSION_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_APP_ALLOWED_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_INPUT_TYPE_CHANGE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_INPUTS_CHANGE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_INPUT_CONDITION_CHANGE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_INPUT_CONNECTION_INTERFACE_TYPE_CHANGE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_GENERATES_CONNECTION_INTERFACE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_REQUIRES_CONNECTION_INTERFACE_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_REQUIRES_PLUGIN_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_REQUIRES_ACTION_ERROR" | "STK_VAL_PLUGIN_VERSION_ALREADY_EXISTS_IN_STUDIO" | "STK_VAL_ACTION_VERSION_ALREADY_EXISTS_IN_STUDIO" | "STK_VAL_STACK_VERSION_ALREADY_EXISTS_IN_STUDIO" | "STK_VAL_STACK_PUBLISH_REQUIRED_CONTENT_ERROR" | "STK_VAL_WORKFLOW_SPECIFICATION_MULTIPLE_TARGETS_NOT_ALLOWED" | "STK_VAL_VERSION_BREAK_CHANGE_WORKFLOW_TARGETS_MODIFIED_ERROR" | "STK_VAL_WORKFLOW_ITSELF_DEPENDENCY" | "STK_VAL_INVALID_PLUGIN_ON_STEP_BY_WORKFLOW_APP_TARGET" | "STK_VAL_INVALID_PLUGIN_ON_STEP_BY_WORKFLOW_INFRA_TARGET";
|
|
110
136
|
field?: string;
|
|
111
137
|
value?: object;
|
|
112
138
|
examples: string[];
|
|
@@ -306,11 +332,35 @@ export type GetStackActionResponse = {
|
|
|
306
332
|
status: string;
|
|
307
333
|
isDocumented: boolean;
|
|
308
334
|
};
|
|
335
|
+
export type GetStackWorkflowStudioResponse = {
|
|
336
|
+
id: string;
|
|
337
|
+
slug: string;
|
|
338
|
+
name: string;
|
|
339
|
+
imageUrl?: string;
|
|
340
|
+
};
|
|
341
|
+
export type GetStackWorkflowLatestVersionResponse = {
|
|
342
|
+
id: string;
|
|
343
|
+
displayName: string;
|
|
344
|
+
label: string;
|
|
345
|
+
description: string;
|
|
346
|
+
semanticVersion: string;
|
|
347
|
+
targetApp: boolean;
|
|
348
|
+
targetInfra: boolean;
|
|
349
|
+
addedAt: string;
|
|
350
|
+
};
|
|
351
|
+
export type GetStackWorkflowResponse = {
|
|
352
|
+
id: string;
|
|
353
|
+
slug: string;
|
|
354
|
+
"type": "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter";
|
|
355
|
+
studio: GetStackWorkflowStudioResponse;
|
|
356
|
+
latestVersion?: GetStackWorkflowLatestVersionResponse;
|
|
357
|
+
};
|
|
309
358
|
export type GetStackVersionResponse = {
|
|
310
359
|
stack: GetStackVersionStackResponse;
|
|
311
360
|
version: StackVersionResponse;
|
|
312
361
|
plugins?: GetStackPluginsResponse;
|
|
313
362
|
actions?: GetStackActionResponse[];
|
|
363
|
+
workflows?: GetStackWorkflowResponse[];
|
|
314
364
|
};
|
|
315
365
|
export type Pageable = {
|
|
316
366
|
page?: number;
|
|
@@ -353,9 +403,9 @@ export type SortObject = {
|
|
|
353
403
|
export type PageableObject = {
|
|
354
404
|
offset?: number;
|
|
355
405
|
sort?: SortObject[];
|
|
406
|
+
paged?: boolean;
|
|
356
407
|
pageSize?: number;
|
|
357
408
|
pageNumber?: number;
|
|
358
|
-
paged?: boolean;
|
|
359
409
|
unpaged?: boolean;
|
|
360
410
|
};
|
|
361
411
|
export type PageGetStackStudioResponse = {
|
|
@@ -367,8 +417,8 @@ export type PageGetStackStudioResponse = {
|
|
|
367
417
|
content?: GetStackStudioResponse[];
|
|
368
418
|
"number"?: number;
|
|
369
419
|
sort?: SortObject[];
|
|
370
|
-
pageable?: PageableObject;
|
|
371
420
|
numberOfElements?: number;
|
|
421
|
+
pageable?: PageableObject;
|
|
372
422
|
empty?: boolean;
|
|
373
423
|
};
|
|
374
424
|
export type PublishPluginWarningResponse = {
|
|
@@ -505,8 +555,8 @@ export type PagePluginVersionResponse = {
|
|
|
505
555
|
content?: PluginVersionResponse[];
|
|
506
556
|
"number"?: number;
|
|
507
557
|
sort?: SortObject[];
|
|
508
|
-
pageable?: PageableObject;
|
|
509
558
|
numberOfElements?: number;
|
|
559
|
+
pageable?: PageableObject;
|
|
510
560
|
empty?: boolean;
|
|
511
561
|
};
|
|
512
562
|
export type GetActionCommandResponse = {
|
|
@@ -646,8 +696,8 @@ export type PageActionResponse = {
|
|
|
646
696
|
content?: ActionResponse[];
|
|
647
697
|
"number"?: number;
|
|
648
698
|
sort?: SortObject[];
|
|
649
|
-
pageable?: PageableObject;
|
|
650
699
|
numberOfElements?: number;
|
|
700
|
+
pageable?: PageableObject;
|
|
651
701
|
empty?: boolean;
|
|
652
702
|
};
|
|
653
703
|
export type FilterStudioRequest = {
|
|
@@ -691,29 +741,6 @@ export type StackVersionListResponse = {
|
|
|
691
741
|
copyFromStackVersionId?: string;
|
|
692
742
|
documentation?: StackVersionListDocumentationResponse;
|
|
693
743
|
};
|
|
694
|
-
export type GetStackWorkflowStudioResponse = {
|
|
695
|
-
id: string;
|
|
696
|
-
slug: string;
|
|
697
|
-
name: string;
|
|
698
|
-
imageUrl?: string;
|
|
699
|
-
};
|
|
700
|
-
export type GetStackWorkflowLatestVersionResponse = {
|
|
701
|
-
id: string;
|
|
702
|
-
displayName: string;
|
|
703
|
-
label: string;
|
|
704
|
-
description: string;
|
|
705
|
-
semanticVersion: string;
|
|
706
|
-
targetApp: boolean;
|
|
707
|
-
targetInfra: boolean;
|
|
708
|
-
addedAt: string;
|
|
709
|
-
};
|
|
710
|
-
export type GetStackWorkflowResponse = {
|
|
711
|
-
id: string;
|
|
712
|
-
slug: string;
|
|
713
|
-
"type": "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter";
|
|
714
|
-
studio: GetStackWorkflowStudioResponse;
|
|
715
|
-
latestVersion?: GetStackWorkflowLatestVersionResponse;
|
|
716
|
-
};
|
|
717
744
|
export type PageGetStackWorkflowResponse = {
|
|
718
745
|
totalElements?: number;
|
|
719
746
|
totalPages?: number;
|
|
@@ -723,8 +750,8 @@ export type PageGetStackWorkflowResponse = {
|
|
|
723
750
|
content?: GetStackWorkflowResponse[];
|
|
724
751
|
"number"?: number;
|
|
725
752
|
sort?: SortObject[];
|
|
726
|
-
pageable?: PageableObject;
|
|
727
753
|
numberOfElements?: number;
|
|
754
|
+
pageable?: PageableObject;
|
|
728
755
|
empty?: boolean;
|
|
729
756
|
};
|
|
730
757
|
export type AddWorkflowRequest = {
|
|
@@ -748,8 +775,8 @@ export type PageStarterResponseWithRange = {
|
|
|
748
775
|
content?: StarterResponseWithRange[];
|
|
749
776
|
"number"?: number;
|
|
750
777
|
sort?: SortObject[];
|
|
751
|
-
pageable?: PageableObject;
|
|
752
778
|
numberOfElements?: number;
|
|
779
|
+
pageable?: PageableObject;
|
|
753
780
|
empty?: boolean;
|
|
754
781
|
};
|
|
755
782
|
export type FilterStackVersionPluginRequest = {
|
|
@@ -766,8 +793,8 @@ export type PageStackPluginResponse = {
|
|
|
766
793
|
content?: StackPluginResponse[];
|
|
767
794
|
"number"?: number;
|
|
768
795
|
sort?: SortObject[];
|
|
769
|
-
pageable?: PageableObject;
|
|
770
796
|
numberOfElements?: number;
|
|
797
|
+
pageable?: PageableObject;
|
|
771
798
|
empty?: boolean;
|
|
772
799
|
};
|
|
773
800
|
export type GetLinkPluginVersionStudioResponse = {
|
|
@@ -865,14 +892,15 @@ export type PageGetStackActionResponse = {
|
|
|
865
892
|
content?: GetStackActionResponse[];
|
|
866
893
|
"number"?: number;
|
|
867
894
|
sort?: SortObject[];
|
|
868
|
-
pageable?: PageableObject;
|
|
869
895
|
numberOfElements?: number;
|
|
896
|
+
pageable?: PageableObject;
|
|
870
897
|
empty?: boolean;
|
|
871
898
|
};
|
|
872
899
|
export type FilterStackVersionRequest = {
|
|
873
900
|
ids: string[];
|
|
874
901
|
withPlugins?: boolean;
|
|
875
902
|
withActions?: boolean;
|
|
903
|
+
withWorkflows?: boolean;
|
|
876
904
|
};
|
|
877
905
|
export type StackValidateResponse = {
|
|
878
906
|
stack: ValidateResponse;
|
|
@@ -1061,8 +1089,8 @@ export type PageGetStackV3Response = {
|
|
|
1061
1089
|
content?: GetStackV3Response[];
|
|
1062
1090
|
"number"?: number;
|
|
1063
1091
|
sort?: SortObject[];
|
|
1064
|
-
pageable?: PageableObject;
|
|
1065
1092
|
numberOfElements?: number;
|
|
1093
|
+
pageable?: PageableObject;
|
|
1066
1094
|
empty?: boolean;
|
|
1067
1095
|
};
|
|
1068
1096
|
export type PageStudioResponse = {
|
|
@@ -1074,8 +1102,8 @@ export type PageStudioResponse = {
|
|
|
1074
1102
|
content?: StudioResponse[];
|
|
1075
1103
|
"number"?: number;
|
|
1076
1104
|
sort?: SortObject[];
|
|
1077
|
-
pageable?: PageableObject;
|
|
1078
1105
|
numberOfElements?: number;
|
|
1106
|
+
pageable?: PageableObject;
|
|
1079
1107
|
empty?: boolean;
|
|
1080
1108
|
};
|
|
1081
1109
|
export type GovernanceDto = {
|
|
@@ -1101,8 +1129,8 @@ export type PagePluginVersionDto = {
|
|
|
1101
1129
|
content?: PluginVersionDto[];
|
|
1102
1130
|
"number"?: number;
|
|
1103
1131
|
sort?: SortObject[];
|
|
1104
|
-
pageable?: PageableObject;
|
|
1105
1132
|
numberOfElements?: number;
|
|
1133
|
+
pageable?: PageableObject;
|
|
1106
1134
|
empty?: boolean;
|
|
1107
1135
|
};
|
|
1108
1136
|
export type DownloadBase64Response = {
|
|
@@ -1128,8 +1156,8 @@ export type PageActionVersionDto = {
|
|
|
1128
1156
|
content?: ActionVersionDto[];
|
|
1129
1157
|
"number"?: number;
|
|
1130
1158
|
sort?: SortObject[];
|
|
1131
|
-
pageable?: PageableObject;
|
|
1132
1159
|
numberOfElements?: number;
|
|
1160
|
+
pageable?: PageableObject;
|
|
1133
1161
|
empty?: boolean;
|
|
1134
1162
|
};
|
|
1135
1163
|
export type StackStudioV2Response = {
|
|
@@ -1252,8 +1280,8 @@ export type PageListActionV2Response = {
|
|
|
1252
1280
|
content?: ListActionV2Response[];
|
|
1253
1281
|
"number"?: number;
|
|
1254
1282
|
sort?: SortObject[];
|
|
1255
|
-
pageable?: PageableObject;
|
|
1256
1283
|
numberOfElements?: number;
|
|
1284
|
+
pageable?: PageableObject;
|
|
1257
1285
|
empty?: boolean;
|
|
1258
1286
|
};
|
|
1259
1287
|
export type ActionInputV2Response = {
|
|
@@ -1261,6 +1289,81 @@ export type ActionInputV2Response = {
|
|
|
1261
1289
|
globalComputedInputs: ComputedInputResponse[];
|
|
1262
1290
|
inputs: ActionVersionInputResponse[];
|
|
1263
1291
|
};
|
|
1292
|
+
export type AccountStudioResponse = {
|
|
1293
|
+
id: string;
|
|
1294
|
+
slug: string;
|
|
1295
|
+
name: string;
|
|
1296
|
+
imageUrl?: string;
|
|
1297
|
+
};
|
|
1298
|
+
export type AccountWorkflowVersionResponse = {
|
|
1299
|
+
id: string;
|
|
1300
|
+
displayName: string;
|
|
1301
|
+
label: string;
|
|
1302
|
+
description: string;
|
|
1303
|
+
semanticVersion: string;
|
|
1304
|
+
targetApp: boolean;
|
|
1305
|
+
targetInfra: boolean;
|
|
1306
|
+
status: "PUBLISHED" | "DEPRECATED";
|
|
1307
|
+
createdAt: string;
|
|
1308
|
+
};
|
|
1309
|
+
export type AccountWorkflowResponse = {
|
|
1310
|
+
id: string;
|
|
1311
|
+
slug: string;
|
|
1312
|
+
"type": "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter";
|
|
1313
|
+
studio: AccountStudioResponse;
|
|
1314
|
+
latestVersion: AccountWorkflowVersionResponse;
|
|
1315
|
+
};
|
|
1316
|
+
export type PageAccountWorkflowResponse = {
|
|
1317
|
+
totalElements?: number;
|
|
1318
|
+
totalPages?: number;
|
|
1319
|
+
first?: boolean;
|
|
1320
|
+
last?: boolean;
|
|
1321
|
+
size?: number;
|
|
1322
|
+
content?: AccountWorkflowResponse[];
|
|
1323
|
+
"number"?: number;
|
|
1324
|
+
sort?: SortObject[];
|
|
1325
|
+
numberOfElements?: number;
|
|
1326
|
+
pageable?: PageableObject;
|
|
1327
|
+
empty?: boolean;
|
|
1328
|
+
};
|
|
1329
|
+
export type WorkflowInputExternalItemsResponse = {
|
|
1330
|
+
source: string;
|
|
1331
|
+
value: string;
|
|
1332
|
+
label?: string;
|
|
1333
|
+
};
|
|
1334
|
+
export type WorkflowInputConditionResponse = {
|
|
1335
|
+
variable?: string;
|
|
1336
|
+
operator?: string;
|
|
1337
|
+
value?: JsonNode;
|
|
1338
|
+
};
|
|
1339
|
+
export type WorkflowOutputResponse = {
|
|
1340
|
+
"from": string;
|
|
1341
|
+
to: string;
|
|
1342
|
+
};
|
|
1343
|
+
export type WorkflowInputResponse = {
|
|
1344
|
+
label?: string;
|
|
1345
|
+
name?: string;
|
|
1346
|
+
"type"?: string;
|
|
1347
|
+
required: boolean;
|
|
1348
|
+
pattern?: string;
|
|
1349
|
+
help?: string;
|
|
1350
|
+
"default"?: JsonNode;
|
|
1351
|
+
items?: string;
|
|
1352
|
+
externalItems?: WorkflowInputExternalItemsResponse;
|
|
1353
|
+
itemsValues?: string[];
|
|
1354
|
+
condition?: WorkflowInputConditionResponse;
|
|
1355
|
+
connectionInterfaceType?: string;
|
|
1356
|
+
outputs?: WorkflowOutputResponse[];
|
|
1357
|
+
input?: WorkflowInputResponse;
|
|
1358
|
+
};
|
|
1359
|
+
export type WorkflowComputedInputResponse = {
|
|
1360
|
+
name: string;
|
|
1361
|
+
expression: string;
|
|
1362
|
+
};
|
|
1363
|
+
export type WorkflowInputV2Response = {
|
|
1364
|
+
inputs: WorkflowInputResponse[];
|
|
1365
|
+
computedInputs: WorkflowComputedInputResponse[];
|
|
1366
|
+
};
|
|
1264
1367
|
export type GetWorkflowsByStudioDataResponse = {
|
|
1265
1368
|
id: string;
|
|
1266
1369
|
slug: string;
|
|
@@ -1293,8 +1396,8 @@ export type PageGetWorkflowsByStudioResponse = {
|
|
|
1293
1396
|
content?: GetWorkflowsByStudioResponse[];
|
|
1294
1397
|
"number"?: number;
|
|
1295
1398
|
sort?: SortObject[];
|
|
1296
|
-
pageable?: PageableObject;
|
|
1297
1399
|
numberOfElements?: number;
|
|
1400
|
+
pageable?: PageableObject;
|
|
1298
1401
|
empty?: boolean;
|
|
1299
1402
|
};
|
|
1300
1403
|
export type ListWorkflowVersionsResponse = {
|
|
@@ -1314,8 +1417,8 @@ export type PageListWorkflowVersionsResponse = {
|
|
|
1314
1417
|
content?: ListWorkflowVersionsResponse[];
|
|
1315
1418
|
"number"?: number;
|
|
1316
1419
|
sort?: SortObject[];
|
|
1317
|
-
pageable?: PageableObject;
|
|
1318
1420
|
numberOfElements?: number;
|
|
1421
|
+
pageable?: PageableObject;
|
|
1319
1422
|
empty?: boolean;
|
|
1320
1423
|
};
|
|
1321
1424
|
export type DownloadWorkflowBase64Response = {
|
|
@@ -1387,8 +1490,8 @@ export type PageGetAvailableWorkflowVersionsResponse = {
|
|
|
1387
1490
|
content?: GetAvailableWorkflowVersionsResponse[];
|
|
1388
1491
|
"number"?: number;
|
|
1389
1492
|
sort?: SortObject[];
|
|
1390
|
-
pageable?: PageableObject;
|
|
1391
1493
|
numberOfElements?: number;
|
|
1494
|
+
pageable?: PageableObject;
|
|
1392
1495
|
empty?: boolean;
|
|
1393
1496
|
};
|
|
1394
1497
|
export type StackWorkspaceViewResponse = {
|
|
@@ -1407,8 +1510,8 @@ export type PageStackWorkspaceViewResponse = {
|
|
|
1407
1510
|
content?: StackWorkspaceViewResponse[];
|
|
1408
1511
|
"number"?: number;
|
|
1409
1512
|
sort?: SortObject[];
|
|
1410
|
-
pageable?: PageableObject;
|
|
1411
1513
|
numberOfElements?: number;
|
|
1514
|
+
pageable?: PageableObject;
|
|
1412
1515
|
empty?: boolean;
|
|
1413
1516
|
};
|
|
1414
1517
|
export type StackVersionInWorkspaceDetailResponse = {
|
|
@@ -1435,8 +1538,8 @@ export type PageStackWorkspaceDetailViewResponse = {
|
|
|
1435
1538
|
content?: StackWorkspaceDetailViewResponse[];
|
|
1436
1539
|
"number"?: number;
|
|
1437
1540
|
sort?: SortObject[];
|
|
1438
|
-
pageable?: PageableObject;
|
|
1439
1541
|
numberOfElements?: number;
|
|
1542
|
+
pageable?: PageableObject;
|
|
1440
1543
|
empty?: boolean;
|
|
1441
1544
|
};
|
|
1442
1545
|
export type GetUnusedStackVersionsResponse = {
|
|
@@ -1454,8 +1557,8 @@ export type PageGetUnusedStackVersionsResponse = {
|
|
|
1454
1557
|
content?: GetUnusedStackVersionsResponse[];
|
|
1455
1558
|
"number"?: number;
|
|
1456
1559
|
sort?: SortObject[];
|
|
1457
|
-
pageable?: PageableObject;
|
|
1458
1560
|
numberOfElements?: number;
|
|
1561
|
+
pageable?: PageableObject;
|
|
1459
1562
|
empty?: boolean;
|
|
1460
1563
|
};
|
|
1461
1564
|
export type StackModalViewResponse = {
|
|
@@ -1605,8 +1708,8 @@ export type PagePluginStarterResponse = {
|
|
|
1605
1708
|
content?: PluginStarterResponse[];
|
|
1606
1709
|
"number"?: number;
|
|
1607
1710
|
sort?: SortObject[];
|
|
1608
|
-
pageable?: PageableObject;
|
|
1609
1711
|
numberOfElements?: number;
|
|
1712
|
+
pageable?: PageableObject;
|
|
1610
1713
|
empty?: boolean;
|
|
1611
1714
|
};
|
|
1612
1715
|
export type GetPluginStackStarterUsageStackResponse = {
|
|
@@ -1631,8 +1734,8 @@ export type PageGetPluginStackStarterUsageResponse = {
|
|
|
1631
1734
|
content?: GetPluginStackStarterUsageResponse[];
|
|
1632
1735
|
"number"?: number;
|
|
1633
1736
|
sort?: SortObject[];
|
|
1634
|
-
pageable?: PageableObject;
|
|
1635
1737
|
numberOfElements?: number;
|
|
1738
|
+
pageable?: PageableObject;
|
|
1636
1739
|
empty?: boolean;
|
|
1637
1740
|
};
|
|
1638
1741
|
export type PluginStacksResponse = {
|
|
@@ -1653,8 +1756,8 @@ export type PagePluginStacksResponse = {
|
|
|
1653
1756
|
content?: PluginStacksResponse[];
|
|
1654
1757
|
"number"?: number;
|
|
1655
1758
|
sort?: SortObject[];
|
|
1656
|
-
pageable?: PageableObject;
|
|
1657
1759
|
numberOfElements?: number;
|
|
1760
|
+
pageable?: PageableObject;
|
|
1658
1761
|
empty?: boolean;
|
|
1659
1762
|
};
|
|
1660
1763
|
export type GetPluginStackUsageStackResponse = {
|
|
@@ -1679,8 +1782,8 @@ export type PageGetPluginStackUsageResponse = {
|
|
|
1679
1782
|
content?: GetPluginStackUsageResponse[];
|
|
1680
1783
|
"number"?: number;
|
|
1681
1784
|
sort?: SortObject[];
|
|
1682
|
-
pageable?: PageableObject;
|
|
1683
1785
|
numberOfElements?: number;
|
|
1786
|
+
pageable?: PageableObject;
|
|
1684
1787
|
empty?: boolean;
|
|
1685
1788
|
};
|
|
1686
1789
|
export type PluginInfrastructureWorkspaceResponse = {
|
|
@@ -1705,8 +1808,8 @@ export type PagePluginInfrastructureViewResponse = {
|
|
|
1705
1808
|
content?: PluginInfrastructureViewResponse[];
|
|
1706
1809
|
"number"?: number;
|
|
1707
1810
|
sort?: SortObject[];
|
|
1708
|
-
pageable?: PageableObject;
|
|
1709
1811
|
numberOfElements?: number;
|
|
1812
|
+
pageable?: PageableObject;
|
|
1710
1813
|
empty?: boolean;
|
|
1711
1814
|
};
|
|
1712
1815
|
export type GetInfrastructureEnvironmentsUsageEnvironmentResponse = {
|
|
@@ -1731,8 +1834,8 @@ export type PageInfrastructureEnvironmentsUsesPluginResponse = {
|
|
|
1731
1834
|
content?: InfrastructureEnvironmentsUsesPluginResponse[];
|
|
1732
1835
|
"number"?: number;
|
|
1733
1836
|
sort?: SortObject[];
|
|
1734
|
-
pageable?: PageableObject;
|
|
1735
1837
|
numberOfElements?: number;
|
|
1838
|
+
pageable?: PageableObject;
|
|
1736
1839
|
empty?: boolean;
|
|
1737
1840
|
};
|
|
1738
1841
|
export type PluginViewUsageMonitorResponse = {
|
|
@@ -1751,8 +1854,8 @@ export type PagePluginViewUsageMonitorResponse = {
|
|
|
1751
1854
|
content?: PluginViewUsageMonitorResponse[];
|
|
1752
1855
|
"number"?: number;
|
|
1753
1856
|
sort?: SortObject[];
|
|
1754
|
-
pageable?: PageableObject;
|
|
1755
1857
|
numberOfElements?: number;
|
|
1858
|
+
pageable?: PageableObject;
|
|
1756
1859
|
empty?: boolean;
|
|
1757
1860
|
};
|
|
1758
1861
|
export type DependentPluginVersionResponse = {
|
|
@@ -1772,8 +1875,8 @@ export type PageGetDependentPluginsVersionsResponse = {
|
|
|
1772
1875
|
content?: GetDependentPluginsVersionsResponse[];
|
|
1773
1876
|
"number"?: number;
|
|
1774
1877
|
sort?: SortObject[];
|
|
1775
|
-
pageable?: PageableObject;
|
|
1776
1878
|
numberOfElements?: number;
|
|
1879
|
+
pageable?: PageableObject;
|
|
1777
1880
|
empty?: boolean;
|
|
1778
1881
|
};
|
|
1779
1882
|
export type GetPluginVersionsNotInUseResponse = {
|
|
@@ -1790,8 +1893,8 @@ export type PageGetPluginVersionsNotInUseResponse = {
|
|
|
1790
1893
|
content?: GetPluginVersionsNotInUseResponse[];
|
|
1791
1894
|
"number"?: number;
|
|
1792
1895
|
sort?: SortObject[];
|
|
1793
|
-
pageable?: PageableObject;
|
|
1794
1896
|
numberOfElements?: number;
|
|
1897
|
+
pageable?: PageableObject;
|
|
1795
1898
|
empty?: boolean;
|
|
1796
1899
|
};
|
|
1797
1900
|
export type PluginInUseSummaryResponse = {
|
|
@@ -1824,8 +1927,8 @@ export type PagePluginApplicationsResponse = {
|
|
|
1824
1927
|
content?: PluginApplicationsResponse[];
|
|
1825
1928
|
"number"?: number;
|
|
1826
1929
|
sort?: SortObject[];
|
|
1827
|
-
pageable?: PageableObject;
|
|
1828
1930
|
numberOfElements?: number;
|
|
1931
|
+
pageable?: PageableObject;
|
|
1829
1932
|
empty?: boolean;
|
|
1830
1933
|
};
|
|
1831
1934
|
export type PluginUsageMonitorApplicationViewVersionResponse = {
|
|
@@ -1850,8 +1953,8 @@ export type PagePluginUsageMonitorApplicationViewResponse = {
|
|
|
1850
1953
|
content?: PluginUsageMonitorApplicationViewResponse[];
|
|
1851
1954
|
"number"?: number;
|
|
1852
1955
|
sort?: SortObject[];
|
|
1853
|
-
pageable?: PageableObject;
|
|
1854
1956
|
numberOfElements?: number;
|
|
1957
|
+
pageable?: PageableObject;
|
|
1855
1958
|
empty?: boolean;
|
|
1856
1959
|
};
|
|
1857
1960
|
export type ListActionVersionItemResponse = {
|
|
@@ -1921,8 +2024,8 @@ export type PageStackVersionMostUsedListResponse = {
|
|
|
1921
2024
|
content?: StackVersionMostUsedListResponse[];
|
|
1922
2025
|
"number"?: number;
|
|
1923
2026
|
sort?: SortObject[];
|
|
1924
|
-
pageable?: PageableObject;
|
|
1925
2027
|
numberOfElements?: number;
|
|
2028
|
+
pageable?: PageableObject;
|
|
1926
2029
|
empty?: boolean;
|
|
1927
2030
|
};
|
|
1928
2031
|
export type GetPluginYamlResponse = {
|
|
@@ -2000,8 +2103,8 @@ export type PageContentEvaluationResponse = {
|
|
|
2000
2103
|
content?: ContentEvaluationResponse[];
|
|
2001
2104
|
"number"?: number;
|
|
2002
2105
|
sort?: SortObject[];
|
|
2003
|
-
pageable?: PageableObject;
|
|
2004
2106
|
numberOfElements?: number;
|
|
2107
|
+
pageable?: PageableObject;
|
|
2005
2108
|
empty?: boolean;
|
|
2006
2109
|
};
|
|
2007
2110
|
export type ContentEvaluationSummaryDetailsResponse = {
|
|
@@ -2145,6 +2248,13 @@ export declare function listConnectionInterfaceTypes(opts?: Oazapfts.RequestOpts
|
|
|
2145
2248
|
export declare function createConnectionInterfaceType({ createConnectionInterfaceTypeRequest }: {
|
|
2146
2249
|
createConnectionInterfaceTypeRequest: CreateConnectionInterfaceTypeRequest;
|
|
2147
2250
|
}, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponseV2>;
|
|
2251
|
+
/**
|
|
2252
|
+
* List workflows by version ids
|
|
2253
|
+
*/
|
|
2254
|
+
export declare function listWorkflowsByVersionIds({ xWorkspaceId, listWorkflowsByVersionIdsRequest }: {
|
|
2255
|
+
xWorkspaceId?: string;
|
|
2256
|
+
listWorkflowsByVersionIdsRequest: ListWorkflowsByVersionIdsRequest;
|
|
2257
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListWorkflowsByVersionIdsResponse[]>;
|
|
2148
2258
|
/**
|
|
2149
2259
|
* Validate and return info from a workflow
|
|
2150
2260
|
*/
|
|
@@ -2825,12 +2935,28 @@ export declare function listInputs({ actionVersionId, xWorkspaceId, accountId }:
|
|
|
2825
2935
|
xWorkspaceId?: string;
|
|
2826
2936
|
accountId?: string;
|
|
2827
2937
|
}, opts?: Oazapfts.RequestOpts): Promise<ActionInputV2Response>;
|
|
2938
|
+
/**
|
|
2939
|
+
* List account workflow latest versions
|
|
2940
|
+
*/
|
|
2941
|
+
export declare function listAccountWorkflow({ filter, accountOnly, page, size }: {
|
|
2942
|
+
filter?: string;
|
|
2943
|
+
accountOnly?: boolean;
|
|
2944
|
+
page?: number;
|
|
2945
|
+
size?: number;
|
|
2946
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PageAccountWorkflowResponse>;
|
|
2828
2947
|
/**
|
|
2829
2948
|
* Validate an workflow version to delete
|
|
2830
2949
|
*/
|
|
2831
2950
|
export declare function validateUnpublishWorkflowVersion({ workflowVersionId }: {
|
|
2832
2951
|
workflowVersionId: string;
|
|
2833
2952
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2953
|
+
/**
|
|
2954
|
+
* Get inputs from a workflow version
|
|
2955
|
+
*/
|
|
2956
|
+
export declare function getInputs1({ workflowVersionId, xWorkspaceId }: {
|
|
2957
|
+
workflowVersionId: string;
|
|
2958
|
+
xWorkspaceId?: string;
|
|
2959
|
+
}, opts?: Oazapfts.RequestOpts): Promise<WorkflowInputV2Response>;
|
|
2834
2960
|
/**
|
|
2835
2961
|
* Get workflows from studio
|
|
2836
2962
|
*/
|
|
@@ -3320,7 +3446,7 @@ export declare function getPluginYamlContent({ pluginVersionId, xWorkspaceId }:
|
|
|
3320
3446
|
/**
|
|
3321
3447
|
* Get inputs from a plugin version
|
|
3322
3448
|
*/
|
|
3323
|
-
export declare function
|
|
3449
|
+
export declare function getInputs2({ pluginVersionId, xWorkspaceId }: {
|
|
3324
3450
|
pluginVersionId: string;
|
|
3325
3451
|
xWorkspaceId?: string;
|
|
3326
3452
|
}, opts?: Oazapfts.RequestOpts): Promise<PluginInputResponse[]>;
|