@stack-spot/portal-network 0.68.4 → 0.69.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.dev.stackspot.com",
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.dev.stackspot.com"
15
+ generatedServerUrl: "https://content-content-api.stg.stackspot.com"
16
16
  };
17
17
  export type ValidationDetails = {
18
18
  code?: string;
@@ -137,7 +137,7 @@ export type ListWorkflowsByVersionIdsResponse = {
137
137
  };
138
138
  export type YamlValidationError = {
139
139
  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" | "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";
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_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
141
  field?: string;
142
142
  value?: object;
143
143
  examples: string[];
@@ -408,20 +408,20 @@ export type SortObject = {
408
408
  export type PageableObject = {
409
409
  offset?: number;
410
410
  sort?: SortObject[];
411
- paged?: boolean;
412
411
  pageSize?: number;
413
412
  pageNumber?: number;
413
+ paged?: boolean;
414
414
  unpaged?: boolean;
415
415
  };
416
416
  export type PageGetStackStudioResponse = {
417
- totalElements?: number;
418
417
  totalPages?: number;
418
+ totalElements?: number;
419
+ first?: boolean;
420
+ last?: boolean;
419
421
  size?: number;
420
422
  content?: GetStackStudioResponse[];
421
423
  "number"?: number;
422
424
  sort?: SortObject[];
423
- first?: boolean;
424
- last?: boolean;
425
425
  numberOfElements?: number;
426
426
  pageable?: PageableObject;
427
427
  empty?: boolean;
@@ -552,14 +552,14 @@ export type PluginVersionResponse = {
552
552
  stkProjectsOnly: boolean;
553
553
  };
554
554
  export type PagePluginVersionResponse = {
555
- totalElements?: number;
556
555
  totalPages?: number;
556
+ totalElements?: number;
557
+ first?: boolean;
558
+ last?: boolean;
557
559
  size?: number;
558
560
  content?: PluginVersionResponse[];
559
561
  "number"?: number;
560
562
  sort?: SortObject[];
561
- first?: boolean;
562
- last?: boolean;
563
563
  numberOfElements?: number;
564
564
  pageable?: PageableObject;
565
565
  empty?: boolean;
@@ -693,14 +693,14 @@ export type ActionResponse = {
693
693
  hasRequiredConnection: boolean;
694
694
  };
695
695
  export type PageActionResponse = {
696
- totalElements?: number;
697
696
  totalPages?: number;
697
+ totalElements?: number;
698
+ first?: boolean;
699
+ last?: boolean;
698
700
  size?: number;
699
701
  content?: ActionResponse[];
700
702
  "number"?: number;
701
703
  sort?: SortObject[];
702
- first?: boolean;
703
- last?: boolean;
704
704
  numberOfElements?: number;
705
705
  pageable?: PageableObject;
706
706
  empty?: boolean;
@@ -756,14 +756,14 @@ export type ListStackWorkflowResponse = {
756
756
  latestVersion?: GetStackWorkflowLatestVersionResponse;
757
757
  };
758
758
  export type PageListStackWorkflowResponse = {
759
- totalElements?: number;
760
759
  totalPages?: number;
760
+ totalElements?: number;
761
+ first?: boolean;
762
+ last?: boolean;
761
763
  size?: number;
762
764
  content?: ListStackWorkflowResponse[];
763
765
  "number"?: number;
764
766
  sort?: SortObject[];
765
- first?: boolean;
766
- last?: boolean;
767
767
  numberOfElements?: number;
768
768
  pageable?: PageableObject;
769
769
  empty?: boolean;
@@ -781,14 +781,14 @@ export type FilterStarterRequest = {
781
781
  "type"?: "INFRA" | "APP";
782
782
  };
783
783
  export type PageStarterResponseWithRange = {
784
- totalElements?: number;
785
784
  totalPages?: number;
785
+ totalElements?: number;
786
+ first?: boolean;
787
+ last?: boolean;
786
788
  size?: number;
787
789
  content?: StarterResponseWithRange[];
788
790
  "number"?: number;
789
791
  sort?: SortObject[];
790
- first?: boolean;
791
- last?: boolean;
792
792
  numberOfElements?: number;
793
793
  pageable?: PageableObject;
794
794
  empty?: boolean;
@@ -799,14 +799,14 @@ export type FilterStackVersionPluginRequest = {
799
799
  text?: string;
800
800
  };
801
801
  export type PageStackPluginResponse = {
802
- totalElements?: number;
803
802
  totalPages?: number;
803
+ totalElements?: number;
804
+ first?: boolean;
805
+ last?: boolean;
804
806
  size?: number;
805
807
  content?: StackPluginResponse[];
806
808
  "number"?: number;
807
809
  sort?: SortObject[];
808
- first?: boolean;
809
- last?: boolean;
810
810
  numberOfElements?: number;
811
811
  pageable?: PageableObject;
812
812
  empty?: boolean;
@@ -898,14 +898,14 @@ export type FilterStackActionRequest = {
898
898
  filter?: string;
899
899
  };
900
900
  export type PageGetStackActionResponse = {
901
- totalElements?: number;
902
901
  totalPages?: number;
902
+ totalElements?: number;
903
+ first?: boolean;
904
+ last?: boolean;
903
905
  size?: number;
904
906
  content?: GetStackActionResponse[];
905
907
  "number"?: number;
906
908
  sort?: SortObject[];
907
- first?: boolean;
908
- last?: boolean;
909
909
  numberOfElements?: number;
910
910
  pageable?: PageableObject;
911
911
  empty?: boolean;
@@ -1097,27 +1097,27 @@ export type GetStackV3Response = {
1097
1097
  studio: Studio;
1098
1098
  };
1099
1099
  export type PageGetStackV3Response = {
1100
- totalElements?: number;
1101
1100
  totalPages?: number;
1101
+ totalElements?: number;
1102
+ first?: boolean;
1103
+ last?: boolean;
1102
1104
  size?: number;
1103
1105
  content?: GetStackV3Response[];
1104
1106
  "number"?: number;
1105
1107
  sort?: SortObject[];
1106
- first?: boolean;
1107
- last?: boolean;
1108
1108
  numberOfElements?: number;
1109
1109
  pageable?: PageableObject;
1110
1110
  empty?: boolean;
1111
1111
  };
1112
1112
  export type PageStudioResponse = {
1113
- totalElements?: number;
1114
1113
  totalPages?: number;
1114
+ totalElements?: number;
1115
+ first?: boolean;
1116
+ last?: boolean;
1115
1117
  size?: number;
1116
1118
  content?: StudioResponse[];
1117
1119
  "number"?: number;
1118
1120
  sort?: SortObject[];
1119
- first?: boolean;
1120
- last?: boolean;
1121
1121
  numberOfElements?: number;
1122
1122
  pageable?: PageableObject;
1123
1123
  empty?: boolean;
@@ -1137,14 +1137,14 @@ export type PluginVersionDto = {
1137
1137
  governance?: GovernanceDto;
1138
1138
  };
1139
1139
  export type PagePluginVersionDto = {
1140
- totalElements?: number;
1141
1140
  totalPages?: number;
1141
+ totalElements?: number;
1142
+ first?: boolean;
1143
+ last?: boolean;
1142
1144
  size?: number;
1143
1145
  content?: PluginVersionDto[];
1144
1146
  "number"?: number;
1145
1147
  sort?: SortObject[];
1146
- first?: boolean;
1147
- last?: boolean;
1148
1148
  numberOfElements?: number;
1149
1149
  pageable?: PageableObject;
1150
1150
  empty?: boolean;
@@ -1164,14 +1164,14 @@ export type ActionVersionDto = {
1164
1164
  governance?: GovernanceDto;
1165
1165
  };
1166
1166
  export type PageActionVersionDto = {
1167
- totalElements?: number;
1168
1167
  totalPages?: number;
1168
+ totalElements?: number;
1169
+ first?: boolean;
1170
+ last?: boolean;
1169
1171
  size?: number;
1170
1172
  content?: ActionVersionDto[];
1171
1173
  "number"?: number;
1172
1174
  sort?: SortObject[];
1173
- first?: boolean;
1174
- last?: boolean;
1175
1175
  numberOfElements?: number;
1176
1176
  pageable?: PageableObject;
1177
1177
  empty?: boolean;
@@ -1288,14 +1288,14 @@ export type ListActionV2Response = {
1288
1288
  versions: ListActionVersionV2Response[];
1289
1289
  };
1290
1290
  export type PageListActionV2Response = {
1291
- totalElements?: number;
1292
1291
  totalPages?: number;
1292
+ totalElements?: number;
1293
+ first?: boolean;
1294
+ last?: boolean;
1293
1295
  size?: number;
1294
1296
  content?: ListActionV2Response[];
1295
1297
  "number"?: number;
1296
1298
  sort?: SortObject[];
1297
- first?: boolean;
1298
- last?: boolean;
1299
1299
  numberOfElements?: number;
1300
1300
  pageable?: PageableObject;
1301
1301
  empty?: boolean;
@@ -1330,14 +1330,14 @@ export type AccountWorkflowResponse = {
1330
1330
  latestVersion: AccountWorkflowVersionResponse;
1331
1331
  };
1332
1332
  export type PageAccountWorkflowResponse = {
1333
- totalElements?: number;
1334
1333
  totalPages?: number;
1334
+ totalElements?: number;
1335
+ first?: boolean;
1336
+ last?: boolean;
1335
1337
  size?: number;
1336
1338
  content?: AccountWorkflowResponse[];
1337
1339
  "number"?: number;
1338
1340
  sort?: SortObject[];
1339
- first?: boolean;
1340
- last?: boolean;
1341
1341
  numberOfElements?: number;
1342
1342
  pageable?: PageableObject;
1343
1343
  empty?: boolean;
@@ -1405,14 +1405,14 @@ export type GetWorkflowsByStudioResponse = {
1405
1405
  latestVersion?: GetWorkflowsByStudioLatestVersionDataResponse;
1406
1406
  };
1407
1407
  export type PageGetWorkflowsByStudioResponse = {
1408
- totalElements?: number;
1409
1408
  totalPages?: number;
1409
+ totalElements?: number;
1410
+ first?: boolean;
1411
+ last?: boolean;
1410
1412
  size?: number;
1411
1413
  content?: GetWorkflowsByStudioResponse[];
1412
1414
  "number"?: number;
1413
1415
  sort?: SortObject[];
1414
- first?: boolean;
1415
- last?: boolean;
1416
1416
  numberOfElements?: number;
1417
1417
  pageable?: PageableObject;
1418
1418
  empty?: boolean;
@@ -1426,14 +1426,14 @@ export type ListWorkflowVersionsResponse = {
1426
1426
  status: "PUBLISHED" | "DEPRECATED";
1427
1427
  };
1428
1428
  export type PageListWorkflowVersionsResponse = {
1429
- totalElements?: number;
1430
1429
  totalPages?: number;
1430
+ totalElements?: number;
1431
+ first?: boolean;
1432
+ last?: boolean;
1431
1433
  size?: number;
1432
1434
  content?: ListWorkflowVersionsResponse[];
1433
1435
  "number"?: number;
1434
1436
  sort?: SortObject[];
1435
- first?: boolean;
1436
- last?: boolean;
1437
1437
  numberOfElements?: number;
1438
1438
  pageable?: PageableObject;
1439
1439
  empty?: boolean;
@@ -1499,14 +1499,14 @@ export type GetAvailableWorkflowVersionsResponse = {
1499
1499
  version: string;
1500
1500
  };
1501
1501
  export type PageGetAvailableWorkflowVersionsResponse = {
1502
- totalElements?: number;
1503
1502
  totalPages?: number;
1503
+ totalElements?: number;
1504
+ first?: boolean;
1505
+ last?: boolean;
1504
1506
  size?: number;
1505
1507
  content?: GetAvailableWorkflowVersionsResponse[];
1506
1508
  "number"?: number;
1507
1509
  sort?: SortObject[];
1508
- first?: boolean;
1509
- last?: boolean;
1510
1510
  numberOfElements?: number;
1511
1511
  pageable?: PageableObject;
1512
1512
  empty?: boolean;
@@ -1519,14 +1519,14 @@ export type StackWorkspaceViewResponse = {
1519
1519
  totalLinkedVersions: number;
1520
1520
  };
1521
1521
  export type PageStackWorkspaceViewResponse = {
1522
- totalElements?: number;
1523
1522
  totalPages?: number;
1523
+ totalElements?: number;
1524
+ first?: boolean;
1525
+ last?: boolean;
1524
1526
  size?: number;
1525
1527
  content?: StackWorkspaceViewResponse[];
1526
1528
  "number"?: number;
1527
1529
  sort?: SortObject[];
1528
- first?: boolean;
1529
- last?: boolean;
1530
1530
  numberOfElements?: number;
1531
1531
  pageable?: PageableObject;
1532
1532
  empty?: boolean;
@@ -1547,14 +1547,14 @@ export type StackWorkspaceDetailViewResponse = {
1547
1547
  environment?: StackWorkspaceDetailViewEnvironmentResponse;
1548
1548
  };
1549
1549
  export type PageStackWorkspaceDetailViewResponse = {
1550
- totalElements?: number;
1551
1550
  totalPages?: number;
1551
+ totalElements?: number;
1552
+ first?: boolean;
1553
+ last?: boolean;
1552
1554
  size?: number;
1553
1555
  content?: StackWorkspaceDetailViewResponse[];
1554
1556
  "number"?: number;
1555
1557
  sort?: SortObject[];
1556
- first?: boolean;
1557
- last?: boolean;
1558
1558
  numberOfElements?: number;
1559
1559
  pageable?: PageableObject;
1560
1560
  empty?: boolean;
@@ -1566,14 +1566,14 @@ export type GetUnusedStackVersionsResponse = {
1566
1566
  status?: string;
1567
1567
  };
1568
1568
  export type PageGetUnusedStackVersionsResponse = {
1569
- totalElements?: number;
1570
1569
  totalPages?: number;
1570
+ totalElements?: number;
1571
+ first?: boolean;
1572
+ last?: boolean;
1571
1573
  size?: number;
1572
1574
  content?: GetUnusedStackVersionsResponse[];
1573
1575
  "number"?: number;
1574
1576
  sort?: SortObject[];
1575
- first?: boolean;
1576
- last?: boolean;
1577
1577
  numberOfElements?: number;
1578
1578
  pageable?: PageableObject;
1579
1579
  empty?: boolean;
@@ -1717,14 +1717,14 @@ export type PluginStarterResponse = {
1717
1717
  stack: StackResponse;
1718
1718
  };
1719
1719
  export type PagePluginStarterResponse = {
1720
- totalElements?: number;
1721
1720
  totalPages?: number;
1721
+ totalElements?: number;
1722
+ first?: boolean;
1723
+ last?: boolean;
1722
1724
  size?: number;
1723
1725
  content?: PluginStarterResponse[];
1724
1726
  "number"?: number;
1725
1727
  sort?: SortObject[];
1726
- first?: boolean;
1727
- last?: boolean;
1728
1728
  numberOfElements?: number;
1729
1729
  pageable?: PageableObject;
1730
1730
  empty?: boolean;
@@ -1743,14 +1743,14 @@ export type GetPluginStackStarterUsageResponse = {
1743
1743
  pluginVersion: GetPluginStackStarterUsagePluginResponse;
1744
1744
  };
1745
1745
  export type PageGetPluginStackStarterUsageResponse = {
1746
- totalElements?: number;
1747
1746
  totalPages?: number;
1747
+ totalElements?: number;
1748
+ first?: boolean;
1749
+ last?: boolean;
1748
1750
  size?: number;
1749
1751
  content?: GetPluginStackStarterUsageResponse[];
1750
1752
  "number"?: number;
1751
1753
  sort?: SortObject[];
1752
- first?: boolean;
1753
- last?: boolean;
1754
1754
  numberOfElements?: number;
1755
1755
  pageable?: PageableObject;
1756
1756
  empty?: boolean;
@@ -1765,14 +1765,14 @@ export type PluginStacksResponse = {
1765
1765
  studio: PluginStudioResponse;
1766
1766
  };
1767
1767
  export type PagePluginStacksResponse = {
1768
- totalElements?: number;
1769
1768
  totalPages?: number;
1769
+ totalElements?: number;
1770
+ first?: boolean;
1771
+ last?: boolean;
1770
1772
  size?: number;
1771
1773
  content?: PluginStacksResponse[];
1772
1774
  "number"?: number;
1773
1775
  sort?: SortObject[];
1774
- first?: boolean;
1775
- last?: boolean;
1776
1776
  numberOfElements?: number;
1777
1777
  pageable?: PageableObject;
1778
1778
  empty?: boolean;
@@ -1791,14 +1791,14 @@ export type GetPluginStackUsageResponse = {
1791
1791
  pluginVersion: GetPluginStackUsagePluginResponse;
1792
1792
  };
1793
1793
  export type PageGetPluginStackUsageResponse = {
1794
- totalElements?: number;
1795
1794
  totalPages?: number;
1795
+ totalElements?: number;
1796
+ first?: boolean;
1797
+ last?: boolean;
1796
1798
  size?: number;
1797
1799
  content?: GetPluginStackUsageResponse[];
1798
1800
  "number"?: number;
1799
1801
  sort?: SortObject[];
1800
- first?: boolean;
1801
- last?: boolean;
1802
1802
  numberOfElements?: number;
1803
1803
  pageable?: PageableObject;
1804
1804
  empty?: boolean;
@@ -1817,14 +1817,14 @@ export type PluginInfrastructureViewResponse = {
1817
1817
  workspace: PluginInfrastructureWorkspaceResponse;
1818
1818
  };
1819
1819
  export type PagePluginInfrastructureViewResponse = {
1820
- totalElements?: number;
1821
1820
  totalPages?: number;
1821
+ totalElements?: number;
1822
+ first?: boolean;
1823
+ last?: boolean;
1822
1824
  size?: number;
1823
1825
  content?: PluginInfrastructureViewResponse[];
1824
1826
  "number"?: number;
1825
1827
  sort?: SortObject[];
1826
- first?: boolean;
1827
- last?: boolean;
1828
1828
  numberOfElements?: number;
1829
1829
  pageable?: PageableObject;
1830
1830
  empty?: boolean;
@@ -1843,14 +1843,14 @@ export type InfrastructureEnvironmentsUsesPluginResponse = {
1843
1843
  pluginVersion: GetInfrastructureEnvironmentsUsagePluginVersionResponse;
1844
1844
  };
1845
1845
  export type PageInfrastructureEnvironmentsUsesPluginResponse = {
1846
- totalElements?: number;
1847
1846
  totalPages?: number;
1847
+ totalElements?: number;
1848
+ first?: boolean;
1849
+ last?: boolean;
1848
1850
  size?: number;
1849
1851
  content?: InfrastructureEnvironmentsUsesPluginResponse[];
1850
1852
  "number"?: number;
1851
1853
  sort?: SortObject[];
1852
- first?: boolean;
1853
- last?: boolean;
1854
1854
  numberOfElements?: number;
1855
1855
  pageable?: PageableObject;
1856
1856
  empty?: boolean;
@@ -1863,14 +1863,14 @@ export type PluginViewUsageMonitorResponse = {
1863
1863
  studio: PluginStudioResponse;
1864
1864
  };
1865
1865
  export type PagePluginViewUsageMonitorResponse = {
1866
- totalElements?: number;
1867
1866
  totalPages?: number;
1867
+ totalElements?: number;
1868
+ first?: boolean;
1869
+ last?: boolean;
1868
1870
  size?: number;
1869
1871
  content?: PluginViewUsageMonitorResponse[];
1870
1872
  "number"?: number;
1871
1873
  sort?: SortObject[];
1872
- first?: boolean;
1873
- last?: boolean;
1874
1874
  numberOfElements?: number;
1875
1875
  pageable?: PageableObject;
1876
1876
  empty?: boolean;
@@ -1884,14 +1884,14 @@ export type GetDependentPluginsVersionsResponse = {
1884
1884
  pluginVersion: DependentPluginVersionResponse;
1885
1885
  };
1886
1886
  export type PageGetDependentPluginsVersionsResponse = {
1887
- totalElements?: number;
1888
1887
  totalPages?: number;
1888
+ totalElements?: number;
1889
+ first?: boolean;
1890
+ last?: boolean;
1889
1891
  size?: number;
1890
1892
  content?: GetDependentPluginsVersionsResponse[];
1891
1893
  "number"?: number;
1892
1894
  sort?: SortObject[];
1893
- first?: boolean;
1894
- last?: boolean;
1895
1895
  numberOfElements?: number;
1896
1896
  pageable?: PageableObject;
1897
1897
  empty?: boolean;
@@ -1902,14 +1902,14 @@ export type GetPluginVersionsNotInUseResponse = {
1902
1902
  status: "DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED";
1903
1903
  };
1904
1904
  export type PageGetPluginVersionsNotInUseResponse = {
1905
- totalElements?: number;
1906
1905
  totalPages?: number;
1906
+ totalElements?: number;
1907
+ first?: boolean;
1908
+ last?: boolean;
1907
1909
  size?: number;
1908
1910
  content?: GetPluginVersionsNotInUseResponse[];
1909
1911
  "number"?: number;
1910
1912
  sort?: SortObject[];
1911
- first?: boolean;
1912
- last?: boolean;
1913
1913
  numberOfElements?: number;
1914
1914
  pageable?: PageableObject;
1915
1915
  empty?: boolean;
@@ -1936,14 +1936,14 @@ export type PluginApplicationsResponse = {
1936
1936
  workspace: PluginApplicationsWorkspaceResponse;
1937
1937
  };
1938
1938
  export type PagePluginApplicationsResponse = {
1939
- totalElements?: number;
1940
1939
  totalPages?: number;
1940
+ totalElements?: number;
1941
+ first?: boolean;
1942
+ last?: boolean;
1941
1943
  size?: number;
1942
1944
  content?: PluginApplicationsResponse[];
1943
1945
  "number"?: number;
1944
1946
  sort?: SortObject[];
1945
- first?: boolean;
1946
- last?: boolean;
1947
1947
  numberOfElements?: number;
1948
1948
  pageable?: PageableObject;
1949
1949
  empty?: boolean;
@@ -1962,14 +1962,14 @@ export type PluginUsageMonitorApplicationViewResponse = {
1962
1962
  environment: PluginUsageMonitorApplicationViewEnvironmentResponse;
1963
1963
  };
1964
1964
  export type PagePluginUsageMonitorApplicationViewResponse = {
1965
- totalElements?: number;
1966
1965
  totalPages?: number;
1966
+ totalElements?: number;
1967
+ first?: boolean;
1968
+ last?: boolean;
1967
1969
  size?: number;
1968
1970
  content?: PluginUsageMonitorApplicationViewResponse[];
1969
1971
  "number"?: number;
1970
1972
  sort?: SortObject[];
1971
- first?: boolean;
1972
- last?: boolean;
1973
1973
  numberOfElements?: number;
1974
1974
  pageable?: PageableObject;
1975
1975
  empty?: boolean;
@@ -2035,14 +2035,14 @@ export type StackVersionMostUsedListResponse = {
2035
2035
  stackId: string;
2036
2036
  };
2037
2037
  export type PageStackVersionMostUsedListResponse = {
2038
- totalElements?: number;
2039
2038
  totalPages?: number;
2039
+ totalElements?: number;
2040
+ first?: boolean;
2041
+ last?: boolean;
2040
2042
  size?: number;
2041
2043
  content?: StackVersionMostUsedListResponse[];
2042
2044
  "number"?: number;
2043
2045
  sort?: SortObject[];
2044
- first?: boolean;
2045
- last?: boolean;
2046
2046
  numberOfElements?: number;
2047
2047
  pageable?: PageableObject;
2048
2048
  empty?: boolean;
@@ -2114,14 +2114,14 @@ export type ContentEvaluationResponse = {
2114
2114
  pendingDiscussionReading: boolean;
2115
2115
  };
2116
2116
  export type PageContentEvaluationResponse = {
2117
- totalElements?: number;
2118
2117
  totalPages?: number;
2118
+ totalElements?: number;
2119
+ first?: boolean;
2120
+ last?: boolean;
2119
2121
  size?: number;
2120
2122
  content?: ContentEvaluationResponse[];
2121
2123
  "number"?: number;
2122
2124
  sort?: SortObject[];
2123
- first?: boolean;
2124
- last?: boolean;
2125
2125
  numberOfElements?: number;
2126
2126
  pageable?: PageableObject;
2127
2127
  empty?: boolean;
@@ -3636,7 +3636,7 @@ export function listWorkflows({ stackVersionId, xWorkspaceId, displayName, $type
3636
3636
  xWorkspaceId?: string;
3637
3637
  displayName?: string;
3638
3638
  $type?: string;
3639
- target?: string;
3639
+ target?: "app" | "infra";
3640
3640
  pageable: Pageable;
3641
3641
  }, opts?: Oazapfts.RequestOpts) {
3642
3642
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -5521,11 +5521,12 @@ export function getConnectionInterfaceType({ connectionInterfaceTypeIdOrSlug }:
5521
5521
  /**
5522
5522
  * List of actions
5523
5523
  */
5524
- export function listActions({ studioSlug, actionSlug, requiresConnection, filter, pageable }: {
5524
+ export function listActions({ studioSlug, actionSlug, requiresConnection, filter, accountOnly, pageable }: {
5525
5525
  studioSlug?: string;
5526
5526
  actionSlug?: string;
5527
5527
  requiresConnection?: boolean;
5528
5528
  filter?: string;
5529
+ accountOnly?: boolean;
5529
5530
  pageable: Pageable;
5530
5531
  }, opts?: Oazapfts.RequestOpts) {
5531
5532
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -5552,6 +5553,7 @@ export function listActions({ studioSlug, actionSlug, requiresConnection, filter
5552
5553
  actionSlug,
5553
5554
  requiresConnection,
5554
5555
  filter,
5556
+ accountOnly,
5555
5557
  pageable
5556
5558
  }))}`, {
5557
5559
  ...opts
@@ -320,7 +320,15 @@ class ContentClient extends ReactQueryNetworkClient {
320
320
  /**
321
321
  * Gets list of Actions V2
322
322
  */
323
- actionsV2 = this.query(listActions)
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
  */
@@ -55,6 +55,8 @@ class EventBusClient extends NetworkClient {
55
55
  deferred.reject(new Error(`Error while sending events. Network error ${error.status}.\n}`))
56
56
  }
57
57
  throw error
58
+ } finally {
59
+ this.lock = false
58
60
  }
59
61
  }
60
62