@stack-spot/portal-network 0.68.5 → 0.70.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 +19 -0
- package/dist/api/cloudPlatform.d.ts +3 -0
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/content.d.ts +70 -68
- package/dist/api/content.d.ts.map +1 -1
- package/dist/api/content.js +4 -3
- package/dist/api/content.js.map +1 -1
- package/dist/client/content.d.ts +4 -3
- 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/cloudPlatform.ts +3 -0
- package/src/api/content.ts +73 -70
- package/src/client/content.ts +9 -1
package/src/api/content.ts
CHANGED
|
@@ -8,11 +8,11 @@ import * as Oazapfts from "@oazapfts/runtime";
|
|
|
8
8
|
import * as QS from "@oazapfts/runtime/query";
|
|
9
9
|
export const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders> = {
|
|
10
10
|
headers: {},
|
|
11
|
-
baseUrl: "https://content-content-api.
|
|
11
|
+
baseUrl: "https://content-content-api.stg.stackspot.com",
|
|
12
12
|
};
|
|
13
13
|
const oazapfts = Oazapfts.runtime(defaults);
|
|
14
14
|
export const servers = {
|
|
15
|
-
generatedServerUrl: "https://content-content-api.
|
|
15
|
+
generatedServerUrl: "https://content-content-api.stg.stackspot.com"
|
|
16
16
|
};
|
|
17
17
|
export type ValidationDetails = {
|
|
18
18
|
code?: string;
|
|
@@ -74,6 +74,7 @@ export type StarterResponseWithRange = {
|
|
|
74
74
|
optionalPluginVersions: StarterPluginResponse[];
|
|
75
75
|
documentation?: DocumentationContentResponse;
|
|
76
76
|
status: string;
|
|
77
|
+
hasDeprecatedContent: boolean;
|
|
77
78
|
};
|
|
78
79
|
export type PublishStackVersionRequest = {
|
|
79
80
|
publishType: "V1" | "MAJOR" | "MINOR" | "PATCH" | "CUSTOM";
|
|
@@ -137,7 +138,7 @@ export type ListWorkflowsByVersionIdsResponse = {
|
|
|
137
138
|
};
|
|
138
139
|
export type YamlValidationError = {
|
|
139
140
|
details: string;
|
|
140
|
-
"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" | "
|
|
141
|
+
"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_SUBINPUT_CONNECTION_WITH_INVALID_SCOPE" | "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_WORKFLOW_ITSELF_DEPENDENCY" | "STK_VAL_VERSION_BREAK_CHANGE_WORKFLOW_TARGETS_MODIFIED_ERROR" | "STK_VAL_INVALID_PLUGIN_ON_STEP_BY_WORKFLOW_APP_TARGET" | "STK_VAL_INVALID_PLUGIN_ON_STEP_BY_WORKFLOW_INFRA_TARGET" | "STK_VAL_WORKFLOW_VERSION_ALREADY_EXISTS_IN_STUDIO" | "STK_VAL_WORKFLOW_TYPE_CHANGE_ERROR" | "STK_VAL_PLUGIN_TYPE_CHANGE_ERROR" | "STK_VAL_WORKFLOW_REUSABLE_DEPENDENCY_ERROR" | "STK_VAL_VERSION_BREAK_CHANGE_WORKFLOW_STEP_PLUGINS_INFRA_MODIFIED_ERROR";
|
|
141
142
|
field?: string;
|
|
142
143
|
value?: object;
|
|
143
144
|
examples: string[];
|
|
@@ -408,20 +409,20 @@ export type SortObject = {
|
|
|
408
409
|
export type PageableObject = {
|
|
409
410
|
offset?: number;
|
|
410
411
|
sort?: SortObject[];
|
|
411
|
-
paged?: boolean;
|
|
412
412
|
pageSize?: number;
|
|
413
413
|
pageNumber?: number;
|
|
414
|
+
paged?: boolean;
|
|
414
415
|
unpaged?: boolean;
|
|
415
416
|
};
|
|
416
417
|
export type PageGetStackStudioResponse = {
|
|
417
418
|
totalElements?: number;
|
|
418
419
|
totalPages?: number;
|
|
420
|
+
first?: boolean;
|
|
421
|
+
last?: boolean;
|
|
419
422
|
size?: number;
|
|
420
423
|
content?: GetStackStudioResponse[];
|
|
421
424
|
"number"?: number;
|
|
422
425
|
sort?: SortObject[];
|
|
423
|
-
first?: boolean;
|
|
424
|
-
last?: boolean;
|
|
425
426
|
numberOfElements?: number;
|
|
426
427
|
pageable?: PageableObject;
|
|
427
428
|
empty?: boolean;
|
|
@@ -554,12 +555,12 @@ export type PluginVersionResponse = {
|
|
|
554
555
|
export type PagePluginVersionResponse = {
|
|
555
556
|
totalElements?: number;
|
|
556
557
|
totalPages?: number;
|
|
558
|
+
first?: boolean;
|
|
559
|
+
last?: boolean;
|
|
557
560
|
size?: number;
|
|
558
561
|
content?: PluginVersionResponse[];
|
|
559
562
|
"number"?: number;
|
|
560
563
|
sort?: SortObject[];
|
|
561
|
-
first?: boolean;
|
|
562
|
-
last?: boolean;
|
|
563
564
|
numberOfElements?: number;
|
|
564
565
|
pageable?: PageableObject;
|
|
565
566
|
empty?: boolean;
|
|
@@ -695,12 +696,12 @@ export type ActionResponse = {
|
|
|
695
696
|
export type PageActionResponse = {
|
|
696
697
|
totalElements?: number;
|
|
697
698
|
totalPages?: number;
|
|
699
|
+
first?: boolean;
|
|
700
|
+
last?: boolean;
|
|
698
701
|
size?: number;
|
|
699
702
|
content?: ActionResponse[];
|
|
700
703
|
"number"?: number;
|
|
701
704
|
sort?: SortObject[];
|
|
702
|
-
first?: boolean;
|
|
703
|
-
last?: boolean;
|
|
704
705
|
numberOfElements?: number;
|
|
705
706
|
pageable?: PageableObject;
|
|
706
707
|
empty?: boolean;
|
|
@@ -758,12 +759,12 @@ export type ListStackWorkflowResponse = {
|
|
|
758
759
|
export type PageListStackWorkflowResponse = {
|
|
759
760
|
totalElements?: number;
|
|
760
761
|
totalPages?: number;
|
|
762
|
+
first?: boolean;
|
|
763
|
+
last?: boolean;
|
|
761
764
|
size?: number;
|
|
762
765
|
content?: ListStackWorkflowResponse[];
|
|
763
766
|
"number"?: number;
|
|
764
767
|
sort?: SortObject[];
|
|
765
|
-
first?: boolean;
|
|
766
|
-
last?: boolean;
|
|
767
768
|
numberOfElements?: number;
|
|
768
769
|
pageable?: PageableObject;
|
|
769
770
|
empty?: boolean;
|
|
@@ -783,12 +784,12 @@ export type FilterStarterRequest = {
|
|
|
783
784
|
export type PageStarterResponseWithRange = {
|
|
784
785
|
totalElements?: number;
|
|
785
786
|
totalPages?: number;
|
|
787
|
+
first?: boolean;
|
|
788
|
+
last?: boolean;
|
|
786
789
|
size?: number;
|
|
787
790
|
content?: StarterResponseWithRange[];
|
|
788
791
|
"number"?: number;
|
|
789
792
|
sort?: SortObject[];
|
|
790
|
-
first?: boolean;
|
|
791
|
-
last?: boolean;
|
|
792
793
|
numberOfElements?: number;
|
|
793
794
|
pageable?: PageableObject;
|
|
794
795
|
empty?: boolean;
|
|
@@ -801,12 +802,12 @@ export type FilterStackVersionPluginRequest = {
|
|
|
801
802
|
export type PageStackPluginResponse = {
|
|
802
803
|
totalElements?: number;
|
|
803
804
|
totalPages?: number;
|
|
805
|
+
first?: boolean;
|
|
806
|
+
last?: boolean;
|
|
804
807
|
size?: number;
|
|
805
808
|
content?: StackPluginResponse[];
|
|
806
809
|
"number"?: number;
|
|
807
810
|
sort?: SortObject[];
|
|
808
|
-
first?: boolean;
|
|
809
|
-
last?: boolean;
|
|
810
811
|
numberOfElements?: number;
|
|
811
812
|
pageable?: PageableObject;
|
|
812
813
|
empty?: boolean;
|
|
@@ -900,12 +901,12 @@ export type FilterStackActionRequest = {
|
|
|
900
901
|
export type PageGetStackActionResponse = {
|
|
901
902
|
totalElements?: number;
|
|
902
903
|
totalPages?: number;
|
|
904
|
+
first?: boolean;
|
|
905
|
+
last?: boolean;
|
|
903
906
|
size?: number;
|
|
904
907
|
content?: GetStackActionResponse[];
|
|
905
908
|
"number"?: number;
|
|
906
909
|
sort?: SortObject[];
|
|
907
|
-
first?: boolean;
|
|
908
|
-
last?: boolean;
|
|
909
910
|
numberOfElements?: number;
|
|
910
911
|
pageable?: PageableObject;
|
|
911
912
|
empty?: boolean;
|
|
@@ -1099,12 +1100,12 @@ export type GetStackV3Response = {
|
|
|
1099
1100
|
export type PageGetStackV3Response = {
|
|
1100
1101
|
totalElements?: number;
|
|
1101
1102
|
totalPages?: number;
|
|
1103
|
+
first?: boolean;
|
|
1104
|
+
last?: boolean;
|
|
1102
1105
|
size?: number;
|
|
1103
1106
|
content?: GetStackV3Response[];
|
|
1104
1107
|
"number"?: number;
|
|
1105
1108
|
sort?: SortObject[];
|
|
1106
|
-
first?: boolean;
|
|
1107
|
-
last?: boolean;
|
|
1108
1109
|
numberOfElements?: number;
|
|
1109
1110
|
pageable?: PageableObject;
|
|
1110
1111
|
empty?: boolean;
|
|
@@ -1112,12 +1113,12 @@ export type PageGetStackV3Response = {
|
|
|
1112
1113
|
export type PageStudioResponse = {
|
|
1113
1114
|
totalElements?: number;
|
|
1114
1115
|
totalPages?: number;
|
|
1116
|
+
first?: boolean;
|
|
1117
|
+
last?: boolean;
|
|
1115
1118
|
size?: number;
|
|
1116
1119
|
content?: StudioResponse[];
|
|
1117
1120
|
"number"?: number;
|
|
1118
1121
|
sort?: SortObject[];
|
|
1119
|
-
first?: boolean;
|
|
1120
|
-
last?: boolean;
|
|
1121
1122
|
numberOfElements?: number;
|
|
1122
1123
|
pageable?: PageableObject;
|
|
1123
1124
|
empty?: boolean;
|
|
@@ -1139,12 +1140,12 @@ export type PluginVersionDto = {
|
|
|
1139
1140
|
export type PagePluginVersionDto = {
|
|
1140
1141
|
totalElements?: number;
|
|
1141
1142
|
totalPages?: number;
|
|
1143
|
+
first?: boolean;
|
|
1144
|
+
last?: boolean;
|
|
1142
1145
|
size?: number;
|
|
1143
1146
|
content?: PluginVersionDto[];
|
|
1144
1147
|
"number"?: number;
|
|
1145
1148
|
sort?: SortObject[];
|
|
1146
|
-
first?: boolean;
|
|
1147
|
-
last?: boolean;
|
|
1148
1149
|
numberOfElements?: number;
|
|
1149
1150
|
pageable?: PageableObject;
|
|
1150
1151
|
empty?: boolean;
|
|
@@ -1166,12 +1167,12 @@ export type ActionVersionDto = {
|
|
|
1166
1167
|
export type PageActionVersionDto = {
|
|
1167
1168
|
totalElements?: number;
|
|
1168
1169
|
totalPages?: number;
|
|
1170
|
+
first?: boolean;
|
|
1171
|
+
last?: boolean;
|
|
1169
1172
|
size?: number;
|
|
1170
1173
|
content?: ActionVersionDto[];
|
|
1171
1174
|
"number"?: number;
|
|
1172
1175
|
sort?: SortObject[];
|
|
1173
|
-
first?: boolean;
|
|
1174
|
-
last?: boolean;
|
|
1175
1176
|
numberOfElements?: number;
|
|
1176
1177
|
pageable?: PageableObject;
|
|
1177
1178
|
empty?: boolean;
|
|
@@ -1290,12 +1291,12 @@ export type ListActionV2Response = {
|
|
|
1290
1291
|
export type PageListActionV2Response = {
|
|
1291
1292
|
totalElements?: number;
|
|
1292
1293
|
totalPages?: number;
|
|
1294
|
+
first?: boolean;
|
|
1295
|
+
last?: boolean;
|
|
1293
1296
|
size?: number;
|
|
1294
1297
|
content?: ListActionV2Response[];
|
|
1295
1298
|
"number"?: number;
|
|
1296
1299
|
sort?: SortObject[];
|
|
1297
|
-
first?: boolean;
|
|
1298
|
-
last?: boolean;
|
|
1299
1300
|
numberOfElements?: number;
|
|
1300
1301
|
pageable?: PageableObject;
|
|
1301
1302
|
empty?: boolean;
|
|
@@ -1332,12 +1333,12 @@ export type AccountWorkflowResponse = {
|
|
|
1332
1333
|
export type PageAccountWorkflowResponse = {
|
|
1333
1334
|
totalElements?: number;
|
|
1334
1335
|
totalPages?: number;
|
|
1336
|
+
first?: boolean;
|
|
1337
|
+
last?: boolean;
|
|
1335
1338
|
size?: number;
|
|
1336
1339
|
content?: AccountWorkflowResponse[];
|
|
1337
1340
|
"number"?: number;
|
|
1338
1341
|
sort?: SortObject[];
|
|
1339
|
-
first?: boolean;
|
|
1340
|
-
last?: boolean;
|
|
1341
1342
|
numberOfElements?: number;
|
|
1342
1343
|
pageable?: PageableObject;
|
|
1343
1344
|
empty?: boolean;
|
|
@@ -1407,12 +1408,12 @@ export type GetWorkflowsByStudioResponse = {
|
|
|
1407
1408
|
export type PageGetWorkflowsByStudioResponse = {
|
|
1408
1409
|
totalElements?: number;
|
|
1409
1410
|
totalPages?: number;
|
|
1411
|
+
first?: boolean;
|
|
1412
|
+
last?: boolean;
|
|
1410
1413
|
size?: number;
|
|
1411
1414
|
content?: GetWorkflowsByStudioResponse[];
|
|
1412
1415
|
"number"?: number;
|
|
1413
1416
|
sort?: SortObject[];
|
|
1414
|
-
first?: boolean;
|
|
1415
|
-
last?: boolean;
|
|
1416
1417
|
numberOfElements?: number;
|
|
1417
1418
|
pageable?: PageableObject;
|
|
1418
1419
|
empty?: boolean;
|
|
@@ -1428,12 +1429,12 @@ export type ListWorkflowVersionsResponse = {
|
|
|
1428
1429
|
export type PageListWorkflowVersionsResponse = {
|
|
1429
1430
|
totalElements?: number;
|
|
1430
1431
|
totalPages?: number;
|
|
1432
|
+
first?: boolean;
|
|
1433
|
+
last?: boolean;
|
|
1431
1434
|
size?: number;
|
|
1432
1435
|
content?: ListWorkflowVersionsResponse[];
|
|
1433
1436
|
"number"?: number;
|
|
1434
1437
|
sort?: SortObject[];
|
|
1435
|
-
first?: boolean;
|
|
1436
|
-
last?: boolean;
|
|
1437
1438
|
numberOfElements?: number;
|
|
1438
1439
|
pageable?: PageableObject;
|
|
1439
1440
|
empty?: boolean;
|
|
@@ -1501,12 +1502,12 @@ export type GetAvailableWorkflowVersionsResponse = {
|
|
|
1501
1502
|
export type PageGetAvailableWorkflowVersionsResponse = {
|
|
1502
1503
|
totalElements?: number;
|
|
1503
1504
|
totalPages?: number;
|
|
1505
|
+
first?: boolean;
|
|
1506
|
+
last?: boolean;
|
|
1504
1507
|
size?: number;
|
|
1505
1508
|
content?: GetAvailableWorkflowVersionsResponse[];
|
|
1506
1509
|
"number"?: number;
|
|
1507
1510
|
sort?: SortObject[];
|
|
1508
|
-
first?: boolean;
|
|
1509
|
-
last?: boolean;
|
|
1510
1511
|
numberOfElements?: number;
|
|
1511
1512
|
pageable?: PageableObject;
|
|
1512
1513
|
empty?: boolean;
|
|
@@ -1521,12 +1522,12 @@ export type StackWorkspaceViewResponse = {
|
|
|
1521
1522
|
export type PageStackWorkspaceViewResponse = {
|
|
1522
1523
|
totalElements?: number;
|
|
1523
1524
|
totalPages?: number;
|
|
1525
|
+
first?: boolean;
|
|
1526
|
+
last?: boolean;
|
|
1524
1527
|
size?: number;
|
|
1525
1528
|
content?: StackWorkspaceViewResponse[];
|
|
1526
1529
|
"number"?: number;
|
|
1527
1530
|
sort?: SortObject[];
|
|
1528
|
-
first?: boolean;
|
|
1529
|
-
last?: boolean;
|
|
1530
1531
|
numberOfElements?: number;
|
|
1531
1532
|
pageable?: PageableObject;
|
|
1532
1533
|
empty?: boolean;
|
|
@@ -1549,12 +1550,12 @@ export type StackWorkspaceDetailViewResponse = {
|
|
|
1549
1550
|
export type PageStackWorkspaceDetailViewResponse = {
|
|
1550
1551
|
totalElements?: number;
|
|
1551
1552
|
totalPages?: number;
|
|
1553
|
+
first?: boolean;
|
|
1554
|
+
last?: boolean;
|
|
1552
1555
|
size?: number;
|
|
1553
1556
|
content?: StackWorkspaceDetailViewResponse[];
|
|
1554
1557
|
"number"?: number;
|
|
1555
1558
|
sort?: SortObject[];
|
|
1556
|
-
first?: boolean;
|
|
1557
|
-
last?: boolean;
|
|
1558
1559
|
numberOfElements?: number;
|
|
1559
1560
|
pageable?: PageableObject;
|
|
1560
1561
|
empty?: boolean;
|
|
@@ -1568,12 +1569,12 @@ export type GetUnusedStackVersionsResponse = {
|
|
|
1568
1569
|
export type PageGetUnusedStackVersionsResponse = {
|
|
1569
1570
|
totalElements?: number;
|
|
1570
1571
|
totalPages?: number;
|
|
1572
|
+
first?: boolean;
|
|
1573
|
+
last?: boolean;
|
|
1571
1574
|
size?: number;
|
|
1572
1575
|
content?: GetUnusedStackVersionsResponse[];
|
|
1573
1576
|
"number"?: number;
|
|
1574
1577
|
sort?: SortObject[];
|
|
1575
|
-
first?: boolean;
|
|
1576
|
-
last?: boolean;
|
|
1577
1578
|
numberOfElements?: number;
|
|
1578
1579
|
pageable?: PageableObject;
|
|
1579
1580
|
empty?: boolean;
|
|
@@ -1719,12 +1720,12 @@ export type PluginStarterResponse = {
|
|
|
1719
1720
|
export type PagePluginStarterResponse = {
|
|
1720
1721
|
totalElements?: number;
|
|
1721
1722
|
totalPages?: number;
|
|
1723
|
+
first?: boolean;
|
|
1724
|
+
last?: boolean;
|
|
1722
1725
|
size?: number;
|
|
1723
1726
|
content?: PluginStarterResponse[];
|
|
1724
1727
|
"number"?: number;
|
|
1725
1728
|
sort?: SortObject[];
|
|
1726
|
-
first?: boolean;
|
|
1727
|
-
last?: boolean;
|
|
1728
1729
|
numberOfElements?: number;
|
|
1729
1730
|
pageable?: PageableObject;
|
|
1730
1731
|
empty?: boolean;
|
|
@@ -1745,12 +1746,12 @@ export type GetPluginStackStarterUsageResponse = {
|
|
|
1745
1746
|
export type PageGetPluginStackStarterUsageResponse = {
|
|
1746
1747
|
totalElements?: number;
|
|
1747
1748
|
totalPages?: number;
|
|
1749
|
+
first?: boolean;
|
|
1750
|
+
last?: boolean;
|
|
1748
1751
|
size?: number;
|
|
1749
1752
|
content?: GetPluginStackStarterUsageResponse[];
|
|
1750
1753
|
"number"?: number;
|
|
1751
1754
|
sort?: SortObject[];
|
|
1752
|
-
first?: boolean;
|
|
1753
|
-
last?: boolean;
|
|
1754
1755
|
numberOfElements?: number;
|
|
1755
1756
|
pageable?: PageableObject;
|
|
1756
1757
|
empty?: boolean;
|
|
@@ -1767,12 +1768,12 @@ export type PluginStacksResponse = {
|
|
|
1767
1768
|
export type PagePluginStacksResponse = {
|
|
1768
1769
|
totalElements?: number;
|
|
1769
1770
|
totalPages?: number;
|
|
1771
|
+
first?: boolean;
|
|
1772
|
+
last?: boolean;
|
|
1770
1773
|
size?: number;
|
|
1771
1774
|
content?: PluginStacksResponse[];
|
|
1772
1775
|
"number"?: number;
|
|
1773
1776
|
sort?: SortObject[];
|
|
1774
|
-
first?: boolean;
|
|
1775
|
-
last?: boolean;
|
|
1776
1777
|
numberOfElements?: number;
|
|
1777
1778
|
pageable?: PageableObject;
|
|
1778
1779
|
empty?: boolean;
|
|
@@ -1793,12 +1794,12 @@ export type GetPluginStackUsageResponse = {
|
|
|
1793
1794
|
export type PageGetPluginStackUsageResponse = {
|
|
1794
1795
|
totalElements?: number;
|
|
1795
1796
|
totalPages?: number;
|
|
1797
|
+
first?: boolean;
|
|
1798
|
+
last?: boolean;
|
|
1796
1799
|
size?: number;
|
|
1797
1800
|
content?: GetPluginStackUsageResponse[];
|
|
1798
1801
|
"number"?: number;
|
|
1799
1802
|
sort?: SortObject[];
|
|
1800
|
-
first?: boolean;
|
|
1801
|
-
last?: boolean;
|
|
1802
1803
|
numberOfElements?: number;
|
|
1803
1804
|
pageable?: PageableObject;
|
|
1804
1805
|
empty?: boolean;
|
|
@@ -1819,12 +1820,12 @@ export type PluginInfrastructureViewResponse = {
|
|
|
1819
1820
|
export type PagePluginInfrastructureViewResponse = {
|
|
1820
1821
|
totalElements?: number;
|
|
1821
1822
|
totalPages?: number;
|
|
1823
|
+
first?: boolean;
|
|
1824
|
+
last?: boolean;
|
|
1822
1825
|
size?: number;
|
|
1823
1826
|
content?: PluginInfrastructureViewResponse[];
|
|
1824
1827
|
"number"?: number;
|
|
1825
1828
|
sort?: SortObject[];
|
|
1826
|
-
first?: boolean;
|
|
1827
|
-
last?: boolean;
|
|
1828
1829
|
numberOfElements?: number;
|
|
1829
1830
|
pageable?: PageableObject;
|
|
1830
1831
|
empty?: boolean;
|
|
@@ -1845,12 +1846,12 @@ export type InfrastructureEnvironmentsUsesPluginResponse = {
|
|
|
1845
1846
|
export type PageInfrastructureEnvironmentsUsesPluginResponse = {
|
|
1846
1847
|
totalElements?: number;
|
|
1847
1848
|
totalPages?: number;
|
|
1849
|
+
first?: boolean;
|
|
1850
|
+
last?: boolean;
|
|
1848
1851
|
size?: number;
|
|
1849
1852
|
content?: InfrastructureEnvironmentsUsesPluginResponse[];
|
|
1850
1853
|
"number"?: number;
|
|
1851
1854
|
sort?: SortObject[];
|
|
1852
|
-
first?: boolean;
|
|
1853
|
-
last?: boolean;
|
|
1854
1855
|
numberOfElements?: number;
|
|
1855
1856
|
pageable?: PageableObject;
|
|
1856
1857
|
empty?: boolean;
|
|
@@ -1865,12 +1866,12 @@ export type PluginViewUsageMonitorResponse = {
|
|
|
1865
1866
|
export type PagePluginViewUsageMonitorResponse = {
|
|
1866
1867
|
totalElements?: number;
|
|
1867
1868
|
totalPages?: number;
|
|
1869
|
+
first?: boolean;
|
|
1870
|
+
last?: boolean;
|
|
1868
1871
|
size?: number;
|
|
1869
1872
|
content?: PluginViewUsageMonitorResponse[];
|
|
1870
1873
|
"number"?: number;
|
|
1871
1874
|
sort?: SortObject[];
|
|
1872
|
-
first?: boolean;
|
|
1873
|
-
last?: boolean;
|
|
1874
1875
|
numberOfElements?: number;
|
|
1875
1876
|
pageable?: PageableObject;
|
|
1876
1877
|
empty?: boolean;
|
|
@@ -1886,12 +1887,12 @@ export type GetDependentPluginsVersionsResponse = {
|
|
|
1886
1887
|
export type PageGetDependentPluginsVersionsResponse = {
|
|
1887
1888
|
totalElements?: number;
|
|
1888
1889
|
totalPages?: number;
|
|
1890
|
+
first?: boolean;
|
|
1891
|
+
last?: boolean;
|
|
1889
1892
|
size?: number;
|
|
1890
1893
|
content?: GetDependentPluginsVersionsResponse[];
|
|
1891
1894
|
"number"?: number;
|
|
1892
1895
|
sort?: SortObject[];
|
|
1893
|
-
first?: boolean;
|
|
1894
|
-
last?: boolean;
|
|
1895
1896
|
numberOfElements?: number;
|
|
1896
1897
|
pageable?: PageableObject;
|
|
1897
1898
|
empty?: boolean;
|
|
@@ -1904,12 +1905,12 @@ export type GetPluginVersionsNotInUseResponse = {
|
|
|
1904
1905
|
export type PageGetPluginVersionsNotInUseResponse = {
|
|
1905
1906
|
totalElements?: number;
|
|
1906
1907
|
totalPages?: number;
|
|
1908
|
+
first?: boolean;
|
|
1909
|
+
last?: boolean;
|
|
1907
1910
|
size?: number;
|
|
1908
1911
|
content?: GetPluginVersionsNotInUseResponse[];
|
|
1909
1912
|
"number"?: number;
|
|
1910
1913
|
sort?: SortObject[];
|
|
1911
|
-
first?: boolean;
|
|
1912
|
-
last?: boolean;
|
|
1913
1914
|
numberOfElements?: number;
|
|
1914
1915
|
pageable?: PageableObject;
|
|
1915
1916
|
empty?: boolean;
|
|
@@ -1938,12 +1939,12 @@ export type PluginApplicationsResponse = {
|
|
|
1938
1939
|
export type PagePluginApplicationsResponse = {
|
|
1939
1940
|
totalElements?: number;
|
|
1940
1941
|
totalPages?: number;
|
|
1942
|
+
first?: boolean;
|
|
1943
|
+
last?: boolean;
|
|
1941
1944
|
size?: number;
|
|
1942
1945
|
content?: PluginApplicationsResponse[];
|
|
1943
1946
|
"number"?: number;
|
|
1944
1947
|
sort?: SortObject[];
|
|
1945
|
-
first?: boolean;
|
|
1946
|
-
last?: boolean;
|
|
1947
1948
|
numberOfElements?: number;
|
|
1948
1949
|
pageable?: PageableObject;
|
|
1949
1950
|
empty?: boolean;
|
|
@@ -1964,12 +1965,12 @@ export type PluginUsageMonitorApplicationViewResponse = {
|
|
|
1964
1965
|
export type PagePluginUsageMonitorApplicationViewResponse = {
|
|
1965
1966
|
totalElements?: number;
|
|
1966
1967
|
totalPages?: number;
|
|
1968
|
+
first?: boolean;
|
|
1969
|
+
last?: boolean;
|
|
1967
1970
|
size?: number;
|
|
1968
1971
|
content?: PluginUsageMonitorApplicationViewResponse[];
|
|
1969
1972
|
"number"?: number;
|
|
1970
1973
|
sort?: SortObject[];
|
|
1971
|
-
first?: boolean;
|
|
1972
|
-
last?: boolean;
|
|
1973
1974
|
numberOfElements?: number;
|
|
1974
1975
|
pageable?: PageableObject;
|
|
1975
1976
|
empty?: boolean;
|
|
@@ -2037,12 +2038,12 @@ export type StackVersionMostUsedListResponse = {
|
|
|
2037
2038
|
export type PageStackVersionMostUsedListResponse = {
|
|
2038
2039
|
totalElements?: number;
|
|
2039
2040
|
totalPages?: number;
|
|
2041
|
+
first?: boolean;
|
|
2042
|
+
last?: boolean;
|
|
2040
2043
|
size?: number;
|
|
2041
2044
|
content?: StackVersionMostUsedListResponse[];
|
|
2042
2045
|
"number"?: number;
|
|
2043
2046
|
sort?: SortObject[];
|
|
2044
|
-
first?: boolean;
|
|
2045
|
-
last?: boolean;
|
|
2046
2047
|
numberOfElements?: number;
|
|
2047
2048
|
pageable?: PageableObject;
|
|
2048
2049
|
empty?: boolean;
|
|
@@ -2116,12 +2117,12 @@ export type ContentEvaluationResponse = {
|
|
|
2116
2117
|
export type PageContentEvaluationResponse = {
|
|
2117
2118
|
totalElements?: number;
|
|
2118
2119
|
totalPages?: number;
|
|
2120
|
+
first?: boolean;
|
|
2121
|
+
last?: boolean;
|
|
2119
2122
|
size?: number;
|
|
2120
2123
|
content?: ContentEvaluationResponse[];
|
|
2121
2124
|
"number"?: number;
|
|
2122
2125
|
sort?: SortObject[];
|
|
2123
|
-
first?: boolean;
|
|
2124
|
-
last?: boolean;
|
|
2125
2126
|
numberOfElements?: number;
|
|
2126
2127
|
pageable?: PageableObject;
|
|
2127
2128
|
empty?: boolean;
|
|
@@ -3636,7 +3637,7 @@ export function listWorkflows({ stackVersionId, xWorkspaceId, displayName, $type
|
|
|
3636
3637
|
xWorkspaceId?: string;
|
|
3637
3638
|
displayName?: string;
|
|
3638
3639
|
$type?: string;
|
|
3639
|
-
target?:
|
|
3640
|
+
target?: "app" | "infra";
|
|
3640
3641
|
pageable: Pageable;
|
|
3641
3642
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3642
3643
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -5521,11 +5522,12 @@ export function getConnectionInterfaceType({ connectionInterfaceTypeIdOrSlug }:
|
|
|
5521
5522
|
/**
|
|
5522
5523
|
* List of actions
|
|
5523
5524
|
*/
|
|
5524
|
-
export function listActions({ studioSlug, actionSlug, requiresConnection, filter, pageable }: {
|
|
5525
|
+
export function listActions({ studioSlug, actionSlug, requiresConnection, filter, accountOnly, pageable }: {
|
|
5525
5526
|
studioSlug?: string;
|
|
5526
5527
|
actionSlug?: string;
|
|
5527
5528
|
requiresConnection?: boolean;
|
|
5528
5529
|
filter?: string;
|
|
5530
|
+
accountOnly?: boolean;
|
|
5529
5531
|
pageable: Pageable;
|
|
5530
5532
|
}, opts?: Oazapfts.RequestOpts) {
|
|
5531
5533
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -5552,6 +5554,7 @@ export function listActions({ studioSlug, actionSlug, requiresConnection, filter
|
|
|
5552
5554
|
actionSlug,
|
|
5553
5555
|
requiresConnection,
|
|
5554
5556
|
filter,
|
|
5557
|
+
accountOnly,
|
|
5555
5558
|
pageable
|
|
5556
5559
|
}))}`, {
|
|
5557
5560
|
...opts
|
package/src/client/content.ts
CHANGED
|
@@ -320,7 +320,15 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
320
320
|
/**
|
|
321
321
|
* Gets list of Actions V2
|
|
322
322
|
*/
|
|
323
|
-
actionsV2 = this.
|
|
323
|
+
actionsV2 = this.infiniteQuery(listActions, {
|
|
324
|
+
accumulator: 'content',
|
|
325
|
+
initialPageParam: { page: 0 },
|
|
326
|
+
pageParamName: 'pageable.page',
|
|
327
|
+
getNextPageParam: ({ variables, lastPage, lastPageParam }) => {
|
|
328
|
+
const size = variables.pageable.size ?? 1
|
|
329
|
+
const parsedLastPageParam = (lastPageParam as Pageable)?.page ?? 0
|
|
330
|
+
return lastPage.content && lastPage.content.length < size ? undefined : { page: parsedLastPageParam + 1 }
|
|
331
|
+
} })
|
|
324
332
|
/**
|
|
325
333
|
* Gets list of Actions V1
|
|
326
334
|
*/
|