@stack-spot/portal-network 0.80.1 → 0.81.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.
@@ -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.stg.stackspot.com",
11
+ baseUrl: "https://content-content-api.dev.stackspot.com",
12
12
  };
13
13
  const oazapfts = Oazapfts.runtime(defaults);
14
14
  export const servers = {
15
- generatedServerUrl: "https://content-content-api.stg.stackspot.com"
15
+ generatedServerUrl: "https://content-content-api.dev.stackspot.com"
16
16
  };
17
17
  export type ValidationDetails = {
18
18
  code?: string;
@@ -136,9 +136,12 @@ export type ListWorkflowsByVersionIdsResponse = {
136
136
  studio: ListWorkflowsByVersionIdsStudioResponse;
137
137
  versionInfo?: ListWorkflowsByVersionIdsLatestVersionResponse;
138
138
  };
139
+ export type DeprecateContentRequest = {
140
+ reason: string;
141
+ };
139
142
  export type YamlValidationError = {
140
143
  details: string;
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";
144
+ "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" | "STK_VAL_INPUT_REQUIRED_WITH_CONDITION_IN_STEP_JOB";
142
145
  field?: string;
143
146
  value?: object;
144
147
  examples: string[];
@@ -309,6 +312,7 @@ export type StackPluginResponse = {
309
312
  appAllowed: boolean;
310
313
  singleUse: boolean;
311
314
  stkProjectsOnly: boolean;
315
+ allowedResourceFork?: string[];
312
316
  actions?: StackPluginActionsResponse[];
313
317
  };
314
318
  export type GetStackPluginsResponse = {
@@ -417,12 +421,12 @@ export type PageableObject = {
417
421
  export type PageGetStackStudioResponse = {
418
422
  totalElements?: number;
419
423
  totalPages?: number;
420
- first?: boolean;
421
- last?: boolean;
422
424
  size?: number;
423
425
  content?: GetStackStudioResponse[];
424
426
  "number"?: number;
425
427
  sort?: SortObject[];
428
+ first?: boolean;
429
+ last?: boolean;
426
430
  numberOfElements?: number;
427
431
  pageable?: PageableObject;
428
432
  empty?: boolean;
@@ -551,16 +555,17 @@ export type PluginVersionResponse = {
551
555
  governance?: PluginGovernanceResponse;
552
556
  singleUse: boolean;
553
557
  stkProjectsOnly: boolean;
558
+ allowedResourceFork?: string[];
554
559
  };
555
560
  export type PagePluginVersionResponse = {
556
561
  totalElements?: number;
557
562
  totalPages?: number;
558
- first?: boolean;
559
- last?: boolean;
560
563
  size?: number;
561
564
  content?: PluginVersionResponse[];
562
565
  "number"?: number;
563
566
  sort?: SortObject[];
567
+ first?: boolean;
568
+ last?: boolean;
564
569
  numberOfElements?: number;
565
570
  pageable?: PageableObject;
566
571
  empty?: boolean;
@@ -696,12 +701,12 @@ export type ActionResponse = {
696
701
  export type PageActionResponse = {
697
702
  totalElements?: number;
698
703
  totalPages?: number;
699
- first?: boolean;
700
- last?: boolean;
701
704
  size?: number;
702
705
  content?: ActionResponse[];
703
706
  "number"?: number;
704
707
  sort?: SortObject[];
708
+ first?: boolean;
709
+ last?: boolean;
705
710
  numberOfElements?: number;
706
711
  pageable?: PageableObject;
707
712
  empty?: boolean;
@@ -759,12 +764,12 @@ export type ListStackWorkflowResponse = {
759
764
  export type PageListStackWorkflowResponse = {
760
765
  totalElements?: number;
761
766
  totalPages?: number;
762
- first?: boolean;
763
- last?: boolean;
764
767
  size?: number;
765
768
  content?: ListStackWorkflowResponse[];
766
769
  "number"?: number;
767
770
  sort?: SortObject[];
771
+ first?: boolean;
772
+ last?: boolean;
768
773
  numberOfElements?: number;
769
774
  pageable?: PageableObject;
770
775
  empty?: boolean;
@@ -774,9 +779,6 @@ export type AddWorkflowRequest = {
774
779
  "type": "VERSION" | "RANGE";
775
780
  value: string;
776
781
  };
777
- export type DeprecateContentRequest = {
778
- reason: string;
779
- };
780
782
  export type FilterStarterRequest = {
781
783
  filter?: string;
782
784
  "type"?: "INFRA" | "APP";
@@ -784,12 +786,12 @@ export type FilterStarterRequest = {
784
786
  export type PageStarterResponseWithRange = {
785
787
  totalElements?: number;
786
788
  totalPages?: number;
787
- first?: boolean;
788
- last?: boolean;
789
789
  size?: number;
790
790
  content?: StarterResponseWithRange[];
791
791
  "number"?: number;
792
792
  sort?: SortObject[];
793
+ first?: boolean;
794
+ last?: boolean;
793
795
  numberOfElements?: number;
794
796
  pageable?: PageableObject;
795
797
  empty?: boolean;
@@ -802,12 +804,12 @@ export type FilterStackVersionPluginRequest = {
802
804
  export type PageStackPluginResponse = {
803
805
  totalElements?: number;
804
806
  totalPages?: number;
805
- first?: boolean;
806
- last?: boolean;
807
807
  size?: number;
808
808
  content?: StackPluginResponse[];
809
809
  "number"?: number;
810
810
  sort?: SortObject[];
811
+ first?: boolean;
812
+ last?: boolean;
811
813
  numberOfElements?: number;
812
814
  pageable?: PageableObject;
813
815
  empty?: boolean;
@@ -866,47 +868,18 @@ export type LinkResponse = {
866
868
  source: "PLUGIN" | "STACK";
867
869
  imageUrl?: string;
868
870
  };
869
- export type GetConnectionInterfaceSuggestionResponse = {
870
- id: string;
871
- parentId?: string;
872
- stackVersionId: string;
873
- connectionType: string;
874
- connectionTypeAlias?: string;
875
- referencedByPluginId?: string;
876
- referencedByPluginVersionId?: string;
877
- suggestionPluginId?: string;
878
- suggestionPluginVersionId?: string;
879
- stackAllowedAppValue?: boolean;
880
- pluginAllowedAppValue?: boolean;
881
- subConnectionTypes: GetConnectionInterfaceSuggestionResponse[];
882
- };
883
- export type CreateSubConnectionInterfaceTypesRequest = {
884
- connectionType: string;
885
- connectionTypeAlias: string;
886
- suggestionPluginVersionId?: string;
887
- stackAllowedAppValue?: boolean;
888
- subConnectionTypes: CreateSubConnectionInterfaceTypesRequest[];
889
- };
890
- export type CreateConnectionInterfaceSuggestionRequest = {
891
- connectionType: string;
892
- connectionTypeAlias: string;
893
- referencedByPluginVersionId: string;
894
- suggestionPluginVersionId?: string;
895
- stackAllowedAppValue?: boolean;
896
- subConnectionTypes: CreateSubConnectionInterfaceTypesRequest[];
897
- };
898
871
  export type FilterStackActionRequest = {
899
872
  filter?: string;
900
873
  };
901
874
  export type PageGetStackActionResponse = {
902
875
  totalElements?: number;
903
876
  totalPages?: number;
904
- first?: boolean;
905
- last?: boolean;
906
877
  size?: number;
907
878
  content?: GetStackActionResponse[];
908
879
  "number"?: number;
909
880
  sort?: SortObject[];
881
+ first?: boolean;
882
+ last?: boolean;
910
883
  numberOfElements?: number;
911
884
  pageable?: PageableObject;
912
885
  empty?: boolean;
@@ -914,6 +887,7 @@ export type PageGetStackActionResponse = {
914
887
  export type FilterStackVersionRequest = {
915
888
  ids: string[];
916
889
  withPlugins?: boolean;
890
+ pluginSlugs?: string[];
917
891
  withActions?: boolean;
918
892
  withWorkflows?: boolean;
919
893
  };
@@ -940,6 +914,77 @@ export type StackSummaryResponse = {
940
914
  export type FilterPluginVersionByIdsRequest = {
941
915
  ids: string[];
942
916
  };
917
+ export type FilterPluginVersionWithStacksByIdsRequest = {
918
+ pluginVersionId: string;
919
+ stackVersionId: string;
920
+ };
921
+ export type StackWithIdAndDisplayNameResponse = {
922
+ id: string;
923
+ slug: string;
924
+ displayName: string;
925
+ };
926
+ export type PluginVersionWithSemanticVersionResponse = {
927
+ pluginVersionId: string;
928
+ isDeprecated: boolean;
929
+ semanticVersion: string;
930
+ };
931
+ export type StackVersionWithPluginsVersionsResponse = {
932
+ stackVersionId: string;
933
+ hasDeprecatedContent: boolean;
934
+ semanticVersion: string;
935
+ stack: StackWithIdAndDisplayNameResponse;
936
+ pluginVersions?: PluginVersionWithSemanticVersionResponse[];
937
+ };
938
+ export type PluginVersionWithStacksResponse = {
939
+ pluginVersionId: string;
940
+ isDeprecated: boolean;
941
+ stackVersions?: StackVersionWithPluginsVersionsResponse[];
942
+ };
943
+ export type GetInputsByPluginVersionsIdsRequest = {
944
+ ids: string[];
945
+ };
946
+ export type PluginInputExternalItemsResponse = {
947
+ source: string;
948
+ value: string;
949
+ label?: string;
950
+ };
951
+ export type PluginInputConditionResponse = {
952
+ variable?: string;
953
+ operator?: string;
954
+ value?: JsonNode;
955
+ };
956
+ export type PluginOutputResponse = {
957
+ "from": string;
958
+ to: string;
959
+ };
960
+ export type PluginInputResponse = {
961
+ label?: string;
962
+ name?: string;
963
+ "type"?: string;
964
+ required: boolean;
965
+ pattern?: string;
966
+ help?: string;
967
+ "default"?: JsonNode;
968
+ items?: string;
969
+ externalItems?: PluginInputExternalItemsResponse;
970
+ itemsValues?: string[];
971
+ condition?: PluginInputConditionResponse;
972
+ isGlobal?: boolean;
973
+ inputEnv?: boolean;
974
+ connectionInterfaceType?: string;
975
+ outputs?: PluginOutputResponse[];
976
+ input?: PluginInputResponse;
977
+ };
978
+ export type PluginComputedInputResponse = {
979
+ name: string;
980
+ expression: string;
981
+ };
982
+ export type GetInputsByPluginVersionsIdsResponse = {
983
+ pluginVersionId: string;
984
+ inputs: PluginInputResponse[];
985
+ computedInputs: PluginComputedInputResponse[];
986
+ globalComputedInputs: PluginComputedInputResponse[];
987
+ };
943
988
  export type CreateDocRequest = {
944
989
  contentId: string;
945
990
  documentationType: string;
@@ -1100,12 +1145,12 @@ export type GetStackV3Response = {
1100
1145
  export type PageGetStackV3Response = {
1101
1146
  totalElements?: number;
1102
1147
  totalPages?: number;
1103
- first?: boolean;
1104
- last?: boolean;
1105
1148
  size?: number;
1106
1149
  content?: GetStackV3Response[];
1107
1150
  "number"?: number;
1108
1151
  sort?: SortObject[];
1152
+ first?: boolean;
1153
+ last?: boolean;
1109
1154
  numberOfElements?: number;
1110
1155
  pageable?: PageableObject;
1111
1156
  empty?: boolean;
@@ -1113,12 +1158,12 @@ export type PageGetStackV3Response = {
1113
1158
  export type PageStudioResponse = {
1114
1159
  totalElements?: number;
1115
1160
  totalPages?: number;
1116
- first?: boolean;
1117
- last?: boolean;
1118
1161
  size?: number;
1119
1162
  content?: StudioResponse[];
1120
1163
  "number"?: number;
1121
1164
  sort?: SortObject[];
1165
+ first?: boolean;
1166
+ last?: boolean;
1122
1167
  numberOfElements?: number;
1123
1168
  pageable?: PageableObject;
1124
1169
  empty?: boolean;
@@ -1140,12 +1185,12 @@ export type PluginVersionDto = {
1140
1185
  export type PagePluginVersionDto = {
1141
1186
  totalElements?: number;
1142
1187
  totalPages?: number;
1143
- first?: boolean;
1144
- last?: boolean;
1145
1188
  size?: number;
1146
1189
  content?: PluginVersionDto[];
1147
1190
  "number"?: number;
1148
1191
  sort?: SortObject[];
1192
+ first?: boolean;
1193
+ last?: boolean;
1149
1194
  numberOfElements?: number;
1150
1195
  pageable?: PageableObject;
1151
1196
  empty?: boolean;
@@ -1167,12 +1212,12 @@ export type ActionVersionDto = {
1167
1212
  export type PageActionVersionDto = {
1168
1213
  totalElements?: number;
1169
1214
  totalPages?: number;
1170
- first?: boolean;
1171
- last?: boolean;
1172
1215
  size?: number;
1173
1216
  content?: ActionVersionDto[];
1174
1217
  "number"?: number;
1175
1218
  sort?: SortObject[];
1219
+ first?: boolean;
1220
+ last?: boolean;
1176
1221
  numberOfElements?: number;
1177
1222
  pageable?: PageableObject;
1178
1223
  empty?: boolean;
@@ -1222,42 +1267,6 @@ export type GetStackV2Response = {
1222
1267
  latestVersion: StackVersionV2Response;
1223
1268
  versions: StackVersionShortV2Response[];
1224
1269
  };
1225
- export type PluginInputExternalItemsResponse = {
1226
- source: string;
1227
- value: string;
1228
- label?: string;
1229
- };
1230
- export type PluginInputConditionResponse = {
1231
- variable?: string;
1232
- operator?: string;
1233
- value?: JsonNode;
1234
- };
1235
- export type PluginOutputResponse = {
1236
- "from": string;
1237
- to: string;
1238
- };
1239
- export type PluginInputResponse = {
1240
- label?: string;
1241
- name?: string;
1242
- "type"?: string;
1243
- required: boolean;
1244
- pattern?: string;
1245
- help?: string;
1246
- "default"?: JsonNode;
1247
- items?: string;
1248
- externalItems?: PluginInputExternalItemsResponse;
1249
- itemsValues?: string[];
1250
- condition?: PluginInputConditionResponse;
1251
- isGlobal?: boolean;
1252
- inputEnv?: boolean;
1253
- connectionInterfaceType?: string;
1254
- outputs?: PluginOutputResponse[];
1255
- input?: PluginInputResponse;
1256
- };
1257
- export type PluginComputedInputResponse = {
1258
- name: string;
1259
- expression: string;
1260
- };
1261
1270
  export type PluginInputV2Response = {
1262
1271
  inputs: PluginInputResponse[];
1263
1272
  computedInputs: PluginComputedInputResponse[];
@@ -1291,12 +1300,12 @@ export type ListActionV2Response = {
1291
1300
  export type PageListActionV2Response = {
1292
1301
  totalElements?: number;
1293
1302
  totalPages?: number;
1294
- first?: boolean;
1295
- last?: boolean;
1296
1303
  size?: number;
1297
1304
  content?: ListActionV2Response[];
1298
1305
  "number"?: number;
1299
1306
  sort?: SortObject[];
1307
+ first?: boolean;
1308
+ last?: boolean;
1300
1309
  numberOfElements?: number;
1301
1310
  pageable?: PageableObject;
1302
1311
  empty?: boolean;
@@ -1333,12 +1342,12 @@ export type AccountWorkflowResponse = {
1333
1342
  export type PageAccountWorkflowResponse = {
1334
1343
  totalElements?: number;
1335
1344
  totalPages?: number;
1336
- first?: boolean;
1337
- last?: boolean;
1338
1345
  size?: number;
1339
1346
  content?: AccountWorkflowResponse[];
1340
1347
  "number"?: number;
1341
1348
  sort?: SortObject[];
1349
+ first?: boolean;
1350
+ last?: boolean;
1342
1351
  numberOfElements?: number;
1343
1352
  pageable?: PageableObject;
1344
1353
  empty?: boolean;
@@ -1408,12 +1417,12 @@ export type GetWorkflowsByStudioResponse = {
1408
1417
  export type PageGetWorkflowsByStudioResponse = {
1409
1418
  totalElements?: number;
1410
1419
  totalPages?: number;
1411
- first?: boolean;
1412
- last?: boolean;
1413
1420
  size?: number;
1414
1421
  content?: GetWorkflowsByStudioResponse[];
1415
1422
  "number"?: number;
1416
1423
  sort?: SortObject[];
1424
+ first?: boolean;
1425
+ last?: boolean;
1417
1426
  numberOfElements?: number;
1418
1427
  pageable?: PageableObject;
1419
1428
  empty?: boolean;
@@ -1429,12 +1438,12 @@ export type ListWorkflowVersionsResponse = {
1429
1438
  export type PageListWorkflowVersionsResponse = {
1430
1439
  totalElements?: number;
1431
1440
  totalPages?: number;
1432
- first?: boolean;
1433
- last?: boolean;
1434
1441
  size?: number;
1435
1442
  content?: ListWorkflowVersionsResponse[];
1436
1443
  "number"?: number;
1437
1444
  sort?: SortObject[];
1445
+ first?: boolean;
1446
+ last?: boolean;
1438
1447
  numberOfElements?: number;
1439
1448
  pageable?: PageableObject;
1440
1449
  empty?: boolean;
@@ -1502,12 +1511,12 @@ export type GetAvailableWorkflowVersionsResponse = {
1502
1511
  export type PageGetAvailableWorkflowVersionsResponse = {
1503
1512
  totalElements?: number;
1504
1513
  totalPages?: number;
1505
- first?: boolean;
1506
- last?: boolean;
1507
1514
  size?: number;
1508
1515
  content?: GetAvailableWorkflowVersionsResponse[];
1509
1516
  "number"?: number;
1510
1517
  sort?: SortObject[];
1518
+ first?: boolean;
1519
+ last?: boolean;
1511
1520
  numberOfElements?: number;
1512
1521
  pageable?: PageableObject;
1513
1522
  empty?: boolean;
@@ -1522,12 +1531,12 @@ export type StackWorkspaceViewResponse = {
1522
1531
  export type PageStackWorkspaceViewResponse = {
1523
1532
  totalElements?: number;
1524
1533
  totalPages?: number;
1525
- first?: boolean;
1526
- last?: boolean;
1527
1534
  size?: number;
1528
1535
  content?: StackWorkspaceViewResponse[];
1529
1536
  "number"?: number;
1530
1537
  sort?: SortObject[];
1538
+ first?: boolean;
1539
+ last?: boolean;
1531
1540
  numberOfElements?: number;
1532
1541
  pageable?: PageableObject;
1533
1542
  empty?: boolean;
@@ -1550,12 +1559,12 @@ export type StackWorkspaceDetailViewResponse = {
1550
1559
  export type PageStackWorkspaceDetailViewResponse = {
1551
1560
  totalElements?: number;
1552
1561
  totalPages?: number;
1553
- first?: boolean;
1554
- last?: boolean;
1555
1562
  size?: number;
1556
1563
  content?: StackWorkspaceDetailViewResponse[];
1557
1564
  "number"?: number;
1558
1565
  sort?: SortObject[];
1566
+ first?: boolean;
1567
+ last?: boolean;
1559
1568
  numberOfElements?: number;
1560
1569
  pageable?: PageableObject;
1561
1570
  empty?: boolean;
@@ -1569,12 +1578,12 @@ export type GetUnusedStackVersionsResponse = {
1569
1578
  export type PageGetUnusedStackVersionsResponse = {
1570
1579
  totalElements?: number;
1571
1580
  totalPages?: number;
1572
- first?: boolean;
1573
- last?: boolean;
1574
1581
  size?: number;
1575
1582
  content?: GetUnusedStackVersionsResponse[];
1576
1583
  "number"?: number;
1577
1584
  sort?: SortObject[];
1585
+ first?: boolean;
1586
+ last?: boolean;
1578
1587
  numberOfElements?: number;
1579
1588
  pageable?: PageableObject;
1580
1589
  empty?: boolean;
@@ -1703,6 +1712,7 @@ export type GetPluginResponse = {
1703
1712
  justify?: string;
1704
1713
  stkProjectOnly: boolean;
1705
1714
  stkProjectsOnly: boolean;
1715
+ allowedResourceFork?: string[];
1706
1716
  };
1707
1717
  export type StackResponse = {
1708
1718
  slug: string;
@@ -1720,12 +1730,12 @@ export type PluginStarterResponse = {
1720
1730
  export type PagePluginStarterResponse = {
1721
1731
  totalElements?: number;
1722
1732
  totalPages?: number;
1723
- first?: boolean;
1724
- last?: boolean;
1725
1733
  size?: number;
1726
1734
  content?: PluginStarterResponse[];
1727
1735
  "number"?: number;
1728
1736
  sort?: SortObject[];
1737
+ first?: boolean;
1738
+ last?: boolean;
1729
1739
  numberOfElements?: number;
1730
1740
  pageable?: PageableObject;
1731
1741
  empty?: boolean;
@@ -1746,12 +1756,12 @@ export type GetPluginStackStarterUsageResponse = {
1746
1756
  export type PageGetPluginStackStarterUsageResponse = {
1747
1757
  totalElements?: number;
1748
1758
  totalPages?: number;
1749
- first?: boolean;
1750
- last?: boolean;
1751
1759
  size?: number;
1752
1760
  content?: GetPluginStackStarterUsageResponse[];
1753
1761
  "number"?: number;
1754
1762
  sort?: SortObject[];
1763
+ first?: boolean;
1764
+ last?: boolean;
1755
1765
  numberOfElements?: number;
1756
1766
  pageable?: PageableObject;
1757
1767
  empty?: boolean;
@@ -1768,12 +1778,12 @@ export type PluginStacksResponse = {
1768
1778
  export type PagePluginStacksResponse = {
1769
1779
  totalElements?: number;
1770
1780
  totalPages?: number;
1771
- first?: boolean;
1772
- last?: boolean;
1773
1781
  size?: number;
1774
1782
  content?: PluginStacksResponse[];
1775
1783
  "number"?: number;
1776
1784
  sort?: SortObject[];
1785
+ first?: boolean;
1786
+ last?: boolean;
1777
1787
  numberOfElements?: number;
1778
1788
  pageable?: PageableObject;
1779
1789
  empty?: boolean;
@@ -1794,12 +1804,12 @@ export type GetPluginStackUsageResponse = {
1794
1804
  export type PageGetPluginStackUsageResponse = {
1795
1805
  totalElements?: number;
1796
1806
  totalPages?: number;
1797
- first?: boolean;
1798
- last?: boolean;
1799
1807
  size?: number;
1800
1808
  content?: GetPluginStackUsageResponse[];
1801
1809
  "number"?: number;
1802
1810
  sort?: SortObject[];
1811
+ first?: boolean;
1812
+ last?: boolean;
1803
1813
  numberOfElements?: number;
1804
1814
  pageable?: PageableObject;
1805
1815
  empty?: boolean;
@@ -1820,12 +1830,12 @@ export type PluginInfrastructureViewResponse = {
1820
1830
  export type PagePluginInfrastructureViewResponse = {
1821
1831
  totalElements?: number;
1822
1832
  totalPages?: number;
1823
- first?: boolean;
1824
- last?: boolean;
1825
1833
  size?: number;
1826
1834
  content?: PluginInfrastructureViewResponse[];
1827
1835
  "number"?: number;
1828
1836
  sort?: SortObject[];
1837
+ first?: boolean;
1838
+ last?: boolean;
1829
1839
  numberOfElements?: number;
1830
1840
  pageable?: PageableObject;
1831
1841
  empty?: boolean;
@@ -1846,12 +1856,12 @@ export type InfrastructureEnvironmentsUsesPluginResponse = {
1846
1856
  export type PageInfrastructureEnvironmentsUsesPluginResponse = {
1847
1857
  totalElements?: number;
1848
1858
  totalPages?: number;
1849
- first?: boolean;
1850
- last?: boolean;
1851
1859
  size?: number;
1852
1860
  content?: InfrastructureEnvironmentsUsesPluginResponse[];
1853
1861
  "number"?: number;
1854
1862
  sort?: SortObject[];
1863
+ first?: boolean;
1864
+ last?: boolean;
1855
1865
  numberOfElements?: number;
1856
1866
  pageable?: PageableObject;
1857
1867
  empty?: boolean;
@@ -1866,12 +1876,12 @@ export type PluginViewUsageMonitorResponse = {
1866
1876
  export type PagePluginViewUsageMonitorResponse = {
1867
1877
  totalElements?: number;
1868
1878
  totalPages?: number;
1869
- first?: boolean;
1870
- last?: boolean;
1871
1879
  size?: number;
1872
1880
  content?: PluginViewUsageMonitorResponse[];
1873
1881
  "number"?: number;
1874
1882
  sort?: SortObject[];
1883
+ first?: boolean;
1884
+ last?: boolean;
1875
1885
  numberOfElements?: number;
1876
1886
  pageable?: PageableObject;
1877
1887
  empty?: boolean;
@@ -1887,12 +1897,12 @@ export type GetDependentPluginsVersionsResponse = {
1887
1897
  export type PageGetDependentPluginsVersionsResponse = {
1888
1898
  totalElements?: number;
1889
1899
  totalPages?: number;
1890
- first?: boolean;
1891
- last?: boolean;
1892
1900
  size?: number;
1893
1901
  content?: GetDependentPluginsVersionsResponse[];
1894
1902
  "number"?: number;
1895
1903
  sort?: SortObject[];
1904
+ first?: boolean;
1905
+ last?: boolean;
1896
1906
  numberOfElements?: number;
1897
1907
  pageable?: PageableObject;
1898
1908
  empty?: boolean;
@@ -1905,12 +1915,12 @@ export type GetPluginVersionsNotInUseResponse = {
1905
1915
  export type PageGetPluginVersionsNotInUseResponse = {
1906
1916
  totalElements?: number;
1907
1917
  totalPages?: number;
1908
- first?: boolean;
1909
- last?: boolean;
1910
1918
  size?: number;
1911
1919
  content?: GetPluginVersionsNotInUseResponse[];
1912
1920
  "number"?: number;
1913
1921
  sort?: SortObject[];
1922
+ first?: boolean;
1923
+ last?: boolean;
1914
1924
  numberOfElements?: number;
1915
1925
  pageable?: PageableObject;
1916
1926
  empty?: boolean;
@@ -1939,12 +1949,12 @@ export type PluginApplicationsResponse = {
1939
1949
  export type PagePluginApplicationsResponse = {
1940
1950
  totalElements?: number;
1941
1951
  totalPages?: number;
1942
- first?: boolean;
1943
- last?: boolean;
1944
1952
  size?: number;
1945
1953
  content?: PluginApplicationsResponse[];
1946
1954
  "number"?: number;
1947
1955
  sort?: SortObject[];
1956
+ first?: boolean;
1957
+ last?: boolean;
1948
1958
  numberOfElements?: number;
1949
1959
  pageable?: PageableObject;
1950
1960
  empty?: boolean;
@@ -1965,12 +1975,12 @@ export type PluginUsageMonitorApplicationViewResponse = {
1965
1975
  export type PagePluginUsageMonitorApplicationViewResponse = {
1966
1976
  totalElements?: number;
1967
1977
  totalPages?: number;
1968
- first?: boolean;
1969
- last?: boolean;
1970
1978
  size?: number;
1971
1979
  content?: PluginUsageMonitorApplicationViewResponse[];
1972
1980
  "number"?: number;
1973
1981
  sort?: SortObject[];
1982
+ first?: boolean;
1983
+ last?: boolean;
1974
1984
  numberOfElements?: number;
1975
1985
  pageable?: PageableObject;
1976
1986
  empty?: boolean;
@@ -2038,12 +2048,12 @@ export type StackVersionMostUsedListResponse = {
2038
2048
  export type PageStackVersionMostUsedListResponse = {
2039
2049
  totalElements?: number;
2040
2050
  totalPages?: number;
2041
- first?: boolean;
2042
- last?: boolean;
2043
2051
  size?: number;
2044
2052
  content?: StackVersionMostUsedListResponse[];
2045
2053
  "number"?: number;
2046
2054
  sort?: SortObject[];
2055
+ first?: boolean;
2056
+ last?: boolean;
2047
2057
  numberOfElements?: number;
2048
2058
  pageable?: PageableObject;
2049
2059
  empty?: boolean;
@@ -2117,12 +2127,12 @@ export type ContentEvaluationResponse = {
2117
2127
  export type PageContentEvaluationResponse = {
2118
2128
  totalElements?: number;
2119
2129
  totalPages?: number;
2120
- first?: boolean;
2121
- last?: boolean;
2122
2130
  size?: number;
2123
2131
  content?: ContentEvaluationResponse[];
2124
2132
  "number"?: number;
2125
2133
  sort?: SortObject[];
2134
+ first?: boolean;
2135
+ last?: boolean;
2126
2136
  numberOfElements?: number;
2127
2137
  pageable?: PageableObject;
2128
2138
  empty?: boolean;
@@ -2631,6 +2641,37 @@ export function listWorkflowsByVersionIds({ xWorkspaceId, listWorkflowsByVersion
2631
2641
  })
2632
2642
  })));
2633
2643
  }
2644
+ /**
2645
+ * Deprecate a workflow version
2646
+ */
2647
+ export function deprecateWorkflowVersion({ workflowVersionId, deprecateContentRequest }: {
2648
+ workflowVersionId: string;
2649
+ deprecateContentRequest: DeprecateContentRequest;
2650
+ }, opts?: Oazapfts.RequestOpts) {
2651
+ return oazapfts.ok(oazapfts.fetchJson<{
2652
+ status: 204;
2653
+ } | {
2654
+ status: 422;
2655
+ data: {
2656
+ code: string;
2657
+ status: number;
2658
+ details: string;
2659
+ validationDetails?: ValidationDetails[];
2660
+ };
2661
+ } | {
2662
+ status: 500;
2663
+ data: {
2664
+ code: string;
2665
+ status: number;
2666
+ details: string;
2667
+ validationDetails?: ValidationDetails[];
2668
+ };
2669
+ }>(`/v1/workflows/versions/${encodeURIComponent(workflowVersionId)}/deprecate`, oazapfts.json({
2670
+ ...opts,
2671
+ method: "POST",
2672
+ body: deprecateContentRequest
2673
+ })));
2674
+ }
2634
2675
  /**
2635
2676
  * Validate and return info from a workflow
2636
2677
  */
@@ -3637,7 +3678,7 @@ export function listWorkflows({ stackVersionId, xWorkspaceId, displayName, $type
3637
3678
  xWorkspaceId?: string;
3638
3679
  displayName?: string;
3639
3680
  $type?: string;
3640
- target?: "app" | "infra";
3681
+ target?: string;
3641
3682
  pageable: Pageable;
3642
3683
  }, opts?: Oazapfts.RequestOpts) {
3643
3684
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3970,70 +4011,6 @@ export function deprecateStackVersionBy({ stackVersionId, deprecateContentReques
3970
4011
  body: deprecateContentRequest
3971
4012
  })));
3972
4013
  }
3973
- /**
3974
- * Get suggestion of connections interfaces
3975
- */
3976
- export function getConnectionInterfaceSuggestion({ stackVersionId, xWorkspaceId }: {
3977
- stackVersionId: string;
3978
- xWorkspaceId?: string;
3979
- }, opts?: Oazapfts.RequestOpts) {
3980
- return oazapfts.ok(oazapfts.fetchJson<{
3981
- status: 200;
3982
- data: GetConnectionInterfaceSuggestionResponse[];
3983
- } | {
3984
- status: 422;
3985
- data: {
3986
- code: string;
3987
- status: number;
3988
- details: string;
3989
- validationDetails?: ValidationDetails[];
3990
- };
3991
- } | {
3992
- status: 500;
3993
- data: {
3994
- code: string;
3995
- status: number;
3996
- details: string;
3997
- validationDetails?: ValidationDetails[];
3998
- };
3999
- }>(`/v1/stacks/versions/${encodeURIComponent(stackVersionId)}/connections`, {
4000
- ...opts,
4001
- headers: oazapfts.mergeHeaders(opts?.headers, {
4002
- "x-workspace-id": xWorkspaceId
4003
- })
4004
- }));
4005
- }
4006
- /**
4007
- * Create suggestion of connections interfaces
4008
- */
4009
- export function createConnectionInterfaceSuggestion({ stackVersionId, createConnectionInterfaceSuggestionRequest }: {
4010
- stackVersionId: string;
4011
- createConnectionInterfaceSuggestionRequest: CreateConnectionInterfaceSuggestionRequest;
4012
- }, opts?: Oazapfts.RequestOpts) {
4013
- return oazapfts.ok(oazapfts.fetchJson<{
4014
- status: 204;
4015
- } | {
4016
- status: 422;
4017
- data: {
4018
- code: string;
4019
- status: number;
4020
- details: string;
4021
- validationDetails?: ValidationDetails[];
4022
- };
4023
- } | {
4024
- status: 500;
4025
- data: {
4026
- code: string;
4027
- status: number;
4028
- details: string;
4029
- validationDetails?: ValidationDetails[];
4030
- };
4031
- }>(`/v1/stacks/versions/${encodeURIComponent(stackVersionId)}/connections`, oazapfts.json({
4032
- ...opts,
4033
- method: "POST",
4034
- body: createConnectionInterfaceSuggestionRequest
4035
- })));
4036
- }
4037
4014
  /**
4038
4015
  * Deprecate an action used by stack
4039
4016
  */
@@ -4274,6 +4251,76 @@ export function deprecatePluginVersion({ pluginVersionId, deprecateContentReques
4274
4251
  body: deprecateContentRequest
4275
4252
  })));
4276
4253
  }
4254
+ /**
4255
+ * List plugins version with its associated stacks versions
4256
+ */
4257
+ export function listPluginVersionStackVersionsByIdsController({ xWorkspaceId, body }: {
4258
+ xWorkspaceId?: string;
4259
+ body: FilterPluginVersionWithStacksByIdsRequest[];
4260
+ }, opts?: Oazapfts.RequestOpts) {
4261
+ return oazapfts.ok(oazapfts.fetchJson<{
4262
+ status: 200;
4263
+ data: PluginVersionWithStacksResponse[];
4264
+ } | {
4265
+ status: 422;
4266
+ data: {
4267
+ code: string;
4268
+ status: number;
4269
+ details: string;
4270
+ validationDetails?: ValidationDetails[];
4271
+ };
4272
+ } | {
4273
+ status: 500;
4274
+ data: {
4275
+ code: string;
4276
+ status: number;
4277
+ details: string;
4278
+ validationDetails?: ValidationDetails[];
4279
+ };
4280
+ }>("/v1/plugins/versions/stacks", oazapfts.json({
4281
+ ...opts,
4282
+ method: "POST",
4283
+ body,
4284
+ headers: oazapfts.mergeHeaders(opts?.headers, {
4285
+ "x-workspace-id": xWorkspaceId
4286
+ })
4287
+ })));
4288
+ }
4289
+ /**
4290
+ * Get inputs from a plugin version ids list
4291
+ */
4292
+ export function getInputsByPluginVersionsIds({ xWorkspaceId, getInputsByPluginVersionsIdsRequest }: {
4293
+ xWorkspaceId?: string;
4294
+ getInputsByPluginVersionsIdsRequest: GetInputsByPluginVersionsIdsRequest;
4295
+ }, opts?: Oazapfts.RequestOpts) {
4296
+ return oazapfts.ok(oazapfts.fetchJson<{
4297
+ status: 200;
4298
+ data: GetInputsByPluginVersionsIdsResponse[];
4299
+ } | {
4300
+ status: 422;
4301
+ data: {
4302
+ code: string;
4303
+ status: number;
4304
+ details: string;
4305
+ validationDetails?: ValidationDetails[];
4306
+ };
4307
+ } | {
4308
+ status: 500;
4309
+ data: {
4310
+ code: string;
4311
+ status: number;
4312
+ details: string;
4313
+ validationDetails?: ValidationDetails[];
4314
+ };
4315
+ }>("/v1/plugins/versions/inputs", oazapfts.json({
4316
+ ...opts,
4317
+ method: "POST",
4318
+ body: getInputsByPluginVersionsIdsRequest,
4319
+ headers: oazapfts.mergeHeaders(opts?.headers, {
4320
+ "x-workspace-id": xWorkspaceId
4321
+ })
4322
+ })));
4323
+ }
4277
4324
  /**
4278
4325
  * Validate and return info from a plugin
4279
4326
  */
@@ -5453,6 +5500,65 @@ export function listStacks1({ xWorkspaceId, isAccountHolder }: {
5453
5500
  })
5454
5501
  }));
5455
5502
  }
5503
+ /**
5504
+ * List plugins version with pagination
5505
+ */
5506
+ export function listPlugins({ studioSlug, pluginVersionId, name, $type, technologies, status, filter, starterType, accountOnly, xWorkspaceId, page, size, sort, direction }: {
5507
+ studioSlug?: string;
5508
+ pluginVersionId?: string;
5509
+ name?: string;
5510
+ $type?: "INFRA" | "APP";
5511
+ technologies?: string[];
5512
+ status?: ("PENDING_APPROVAL" | "PENDING_CREATOR_UPDATE" | "PUBLICATION_APPROVED" | "PUBLICATION_DECLINED")[];
5513
+ filter?: string;
5514
+ starterType?: "APP" | "INFRA";
5515
+ accountOnly?: boolean;
5516
+ xWorkspaceId?: string;
5517
+ page?: number;
5518
+ size?: number;
5519
+ sort?: "NAME" | "VERSION";
5520
+ direction?: "ASC" | "DESC";
5521
+ }, opts?: Oazapfts.RequestOpts) {
5522
+ return oazapfts.ok(oazapfts.fetchJson<{
5523
+ status: 200;
5524
+ data: PagePluginVersionResponse;
5525
+ } | {
5526
+ status: 422;
5527
+ data: {
5528
+ code: string;
5529
+ status: number;
5530
+ details: string;
5531
+ validationDetails?: ValidationDetails[];
5532
+ };
5533
+ } | {
5534
+ status: 500;
5535
+ data: {
5536
+ code: string;
5537
+ status: number;
5538
+ details: string;
5539
+ validationDetails?: ValidationDetails[];
5540
+ };
5541
+ }>(`/v2/plugins${QS.query(QS.explode({
5542
+ studioSlug,
5543
+ pluginVersionId,
5544
+ name,
5545
+ "type": $type,
5546
+ technologies,
5547
+ status,
5548
+ filter,
5549
+ starterType,
5550
+ accountOnly,
5551
+ page,
5552
+ size,
5553
+ sort,
5554
+ direction
5555
+ }))}`, {
5556
+ ...opts,
5557
+ headers: oazapfts.mergeHeaders(opts?.headers, {
5558
+ "x-workspace-id": xWorkspaceId
5559
+ })
5560
+ }));
5561
+ }
5456
5562
  /**
5457
5563
  * Get inputs from a plugin version
5458
5564
  */
@@ -7441,7 +7547,7 @@ export function getPublishSuggestions({ stackVersionId }: {
7441
7547
  /**
7442
7548
  * List Plugins by stack version id
7443
7549
  */
7444
- export function listPlugins({ stackVersionId, starterType, xWorkspaceId }: {
7550
+ export function listPlugins1({ stackVersionId, starterType, xWorkspaceId }: {
7445
7551
  stackVersionId: string;
7446
7552
  starterType?: "APP" | "INFRA";
7447
7553
  xWorkspaceId?: string;
@@ -7614,7 +7720,7 @@ export function listMostUsedStackVersions({ filter, pageable }: {
7614
7720
  /**
7615
7721
  * List plugins version
7616
7722
  */
7617
- export function listPlugins1({ studioSlug, pluginVersionId, name, $type, technologies, status, filter, starterType, accountOnly, xWorkspaceId }: {
7723
+ export function listPlugins2({ studioSlug, pluginVersionId, name, $type, technologies, status, filter, starterType, accountOnly, xWorkspaceId }: {
7618
7724
  studioSlug?: string;
7619
7725
  pluginVersionId?: string;
7620
7726
  name?: string;