@stack-spot/portal-network 0.39.0 → 0.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/api/content.d.ts +37 -46
- package/dist/api/content.d.ts.map +1 -1
- package/dist/api/content.js +12 -21
- package/dist/api/content.js.map +1 -1
- package/package.json +1 -1
- package/src/api/content.ts +44 -62
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.39.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.39.0...portal-network@v0.39.1) (2024-10-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* content swagger ([#415](https://github.com/stack-spot/portal-commons/issues/415)) ([d928fb2](https://github.com/stack-spot/portal-commons/commit/d928fb2ad5b92573a1a03b65a4de02d5df8f67fa))
|
|
9
|
+
|
|
3
10
|
## [0.39.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.38.1...portal-network@v0.39.0) (2024-10-09)
|
|
4
11
|
|
|
5
12
|
|
package/dist/api/content.d.ts
CHANGED
|
@@ -315,7 +315,7 @@ export type GetStackVersionResponse = {
|
|
|
315
315
|
export type Pageable = {
|
|
316
316
|
page?: number;
|
|
317
317
|
size?: number;
|
|
318
|
-
sort?:
|
|
318
|
+
sort?: any;
|
|
319
319
|
};
|
|
320
320
|
export type FilterStackRequest = {
|
|
321
321
|
filter?: string;
|
|
@@ -353,10 +353,10 @@ export type SortObject = {
|
|
|
353
353
|
export type PageableObject = {
|
|
354
354
|
offset?: number;
|
|
355
355
|
sort?: SortObject[];
|
|
356
|
-
pageSize?: number;
|
|
357
|
-
pageNumber?: number;
|
|
358
356
|
paged?: boolean;
|
|
359
357
|
unpaged?: boolean;
|
|
358
|
+
pageSize?: number;
|
|
359
|
+
pageNumber?: number;
|
|
360
360
|
};
|
|
361
361
|
export type PageGetStackStudioResponse = {
|
|
362
362
|
totalElements?: number;
|
|
@@ -367,8 +367,8 @@ export type PageGetStackStudioResponse = {
|
|
|
367
367
|
content?: GetStackStudioResponse[];
|
|
368
368
|
"number"?: number;
|
|
369
369
|
sort?: SortObject[];
|
|
370
|
-
numberOfElements?: number;
|
|
371
370
|
pageable?: PageableObject;
|
|
371
|
+
numberOfElements?: number;
|
|
372
372
|
empty?: boolean;
|
|
373
373
|
};
|
|
374
374
|
export type PublishPluginWarningResponse = {
|
|
@@ -505,8 +505,8 @@ export type PagePluginVersionResponse = {
|
|
|
505
505
|
content?: PluginVersionResponse[];
|
|
506
506
|
"number"?: number;
|
|
507
507
|
sort?: SortObject[];
|
|
508
|
-
numberOfElements?: number;
|
|
509
508
|
pageable?: PageableObject;
|
|
509
|
+
numberOfElements?: number;
|
|
510
510
|
empty?: boolean;
|
|
511
511
|
};
|
|
512
512
|
export type GetActionCommandResponse = {
|
|
@@ -646,8 +646,8 @@ export type PageActionResponse = {
|
|
|
646
646
|
content?: ActionResponse[];
|
|
647
647
|
"number"?: number;
|
|
648
648
|
sort?: SortObject[];
|
|
649
|
-
numberOfElements?: number;
|
|
650
649
|
pageable?: PageableObject;
|
|
650
|
+
numberOfElements?: number;
|
|
651
651
|
empty?: boolean;
|
|
652
652
|
};
|
|
653
653
|
export type FilterStudioRequest = {
|
|
@@ -707,8 +707,8 @@ export type PageStarterResponseWithRange = {
|
|
|
707
707
|
content?: StarterResponseWithRange[];
|
|
708
708
|
"number"?: number;
|
|
709
709
|
sort?: SortObject[];
|
|
710
|
-
numberOfElements?: number;
|
|
711
710
|
pageable?: PageableObject;
|
|
711
|
+
numberOfElements?: number;
|
|
712
712
|
empty?: boolean;
|
|
713
713
|
};
|
|
714
714
|
export type FilterStackVersionPluginRequest = {
|
|
@@ -725,8 +725,8 @@ export type PageStackPluginResponse = {
|
|
|
725
725
|
content?: StackPluginResponse[];
|
|
726
726
|
"number"?: number;
|
|
727
727
|
sort?: SortObject[];
|
|
728
|
-
numberOfElements?: number;
|
|
729
728
|
pageable?: PageableObject;
|
|
729
|
+
numberOfElements?: number;
|
|
730
730
|
empty?: boolean;
|
|
731
731
|
};
|
|
732
732
|
export type GetLinkPluginVersionStudioResponse = {
|
|
@@ -824,8 +824,8 @@ export type PageGetStackActionResponse = {
|
|
|
824
824
|
content?: GetStackActionResponse[];
|
|
825
825
|
"number"?: number;
|
|
826
826
|
sort?: SortObject[];
|
|
827
|
-
numberOfElements?: number;
|
|
828
827
|
pageable?: PageableObject;
|
|
828
|
+
numberOfElements?: number;
|
|
829
829
|
empty?: boolean;
|
|
830
830
|
};
|
|
831
831
|
export type FilterStackVersionRequest = {
|
|
@@ -1007,8 +1007,8 @@ export type PageStudioResponse = {
|
|
|
1007
1007
|
content?: StudioResponse[];
|
|
1008
1008
|
"number"?: number;
|
|
1009
1009
|
sort?: SortObject[];
|
|
1010
|
-
numberOfElements?: number;
|
|
1011
1010
|
pageable?: PageableObject;
|
|
1011
|
+
numberOfElements?: number;
|
|
1012
1012
|
empty?: boolean;
|
|
1013
1013
|
};
|
|
1014
1014
|
export type GovernanceDto = {
|
|
@@ -1034,8 +1034,8 @@ export type PagePluginVersionDto = {
|
|
|
1034
1034
|
content?: PluginVersionDto[];
|
|
1035
1035
|
"number"?: number;
|
|
1036
1036
|
sort?: SortObject[];
|
|
1037
|
-
numberOfElements?: number;
|
|
1038
1037
|
pageable?: PageableObject;
|
|
1038
|
+
numberOfElements?: number;
|
|
1039
1039
|
empty?: boolean;
|
|
1040
1040
|
};
|
|
1041
1041
|
export type DownloadBase64Response = {
|
|
@@ -1061,8 +1061,8 @@ export type PageActionVersionDto = {
|
|
|
1061
1061
|
content?: ActionVersionDto[];
|
|
1062
1062
|
"number"?: number;
|
|
1063
1063
|
sort?: SortObject[];
|
|
1064
|
-
numberOfElements?: number;
|
|
1065
1064
|
pageable?: PageableObject;
|
|
1065
|
+
numberOfElements?: number;
|
|
1066
1066
|
empty?: boolean;
|
|
1067
1067
|
};
|
|
1068
1068
|
export type StackStudioV2Response = {
|
|
@@ -1188,11 +1188,11 @@ export type PageGetWorkflowsByStudioResponse = {
|
|
|
1188
1188
|
content?: GetWorkflowsByStudioResponse[];
|
|
1189
1189
|
"number"?: number;
|
|
1190
1190
|
sort?: SortObject[];
|
|
1191
|
-
numberOfElements?: number;
|
|
1192
1191
|
pageable?: PageableObject;
|
|
1192
|
+
numberOfElements?: number;
|
|
1193
1193
|
empty?: boolean;
|
|
1194
1194
|
};
|
|
1195
|
-
export type
|
|
1195
|
+
export type ListWorkflowVersionsResponse = {
|
|
1196
1196
|
workflowVersionId: string;
|
|
1197
1197
|
version: string;
|
|
1198
1198
|
createdBy: string;
|
|
@@ -1200,10 +1200,6 @@ export type Version = {
|
|
|
1200
1200
|
updatedAt?: string;
|
|
1201
1201
|
status: "PUBLISHED" | "DEPRECATED";
|
|
1202
1202
|
};
|
|
1203
|
-
export type ListWorkflowVersionsResponse = {
|
|
1204
|
-
workflowId: string;
|
|
1205
|
-
versions: Version[];
|
|
1206
|
-
};
|
|
1207
1203
|
export type PageListWorkflowVersionsResponse = {
|
|
1208
1204
|
totalElements?: number;
|
|
1209
1205
|
totalPages?: number;
|
|
@@ -1213,8 +1209,8 @@ export type PageListWorkflowVersionsResponse = {
|
|
|
1213
1209
|
content?: ListWorkflowVersionsResponse[];
|
|
1214
1210
|
"number"?: number;
|
|
1215
1211
|
sort?: SortObject[];
|
|
1216
|
-
numberOfElements?: number;
|
|
1217
1212
|
pageable?: PageableObject;
|
|
1213
|
+
numberOfElements?: number;
|
|
1218
1214
|
empty?: boolean;
|
|
1219
1215
|
};
|
|
1220
1216
|
export type DownloadWorkflowBase64Response = {
|
|
@@ -1235,7 +1231,7 @@ export type GetWorkflowCommandResponse = {
|
|
|
1235
1231
|
export type WorkflowVersionJobStepsResponse = {
|
|
1236
1232
|
id: string;
|
|
1237
1233
|
identifier: string;
|
|
1238
|
-
name
|
|
1234
|
+
name?: string;
|
|
1239
1235
|
label?: string;
|
|
1240
1236
|
ordination: number;
|
|
1241
1237
|
optional: boolean;
|
|
@@ -1286,8 +1282,8 @@ export type PageGetAvailableWorkflowVersionsResponse = {
|
|
|
1286
1282
|
content?: GetAvailableWorkflowVersionsResponse[];
|
|
1287
1283
|
"number"?: number;
|
|
1288
1284
|
sort?: SortObject[];
|
|
1289
|
-
numberOfElements?: number;
|
|
1290
1285
|
pageable?: PageableObject;
|
|
1286
|
+
numberOfElements?: number;
|
|
1291
1287
|
empty?: boolean;
|
|
1292
1288
|
};
|
|
1293
1289
|
export type StackWorkspaceViewResponse = {
|
|
@@ -1306,8 +1302,8 @@ export type PageStackWorkspaceViewResponse = {
|
|
|
1306
1302
|
content?: StackWorkspaceViewResponse[];
|
|
1307
1303
|
"number"?: number;
|
|
1308
1304
|
sort?: SortObject[];
|
|
1309
|
-
numberOfElements?: number;
|
|
1310
1305
|
pageable?: PageableObject;
|
|
1306
|
+
numberOfElements?: number;
|
|
1311
1307
|
empty?: boolean;
|
|
1312
1308
|
};
|
|
1313
1309
|
export type StackVersionInWorkspaceDetailResponse = {
|
|
@@ -1334,8 +1330,8 @@ export type PageStackWorkspaceDetailViewResponse = {
|
|
|
1334
1330
|
content?: StackWorkspaceDetailViewResponse[];
|
|
1335
1331
|
"number"?: number;
|
|
1336
1332
|
sort?: SortObject[];
|
|
1337
|
-
numberOfElements?: number;
|
|
1338
1333
|
pageable?: PageableObject;
|
|
1334
|
+
numberOfElements?: number;
|
|
1339
1335
|
empty?: boolean;
|
|
1340
1336
|
};
|
|
1341
1337
|
export type GetUnusedStackVersionsResponse = {
|
|
@@ -1353,8 +1349,8 @@ export type PageGetUnusedStackVersionsResponse = {
|
|
|
1353
1349
|
content?: GetUnusedStackVersionsResponse[];
|
|
1354
1350
|
"number"?: number;
|
|
1355
1351
|
sort?: SortObject[];
|
|
1356
|
-
numberOfElements?: number;
|
|
1357
1352
|
pageable?: PageableObject;
|
|
1353
|
+
numberOfElements?: number;
|
|
1358
1354
|
empty?: boolean;
|
|
1359
1355
|
};
|
|
1360
1356
|
export type StackModalViewResponse = {
|
|
@@ -1504,8 +1500,8 @@ export type PagePluginStarterResponse = {
|
|
|
1504
1500
|
content?: PluginStarterResponse[];
|
|
1505
1501
|
"number"?: number;
|
|
1506
1502
|
sort?: SortObject[];
|
|
1507
|
-
numberOfElements?: number;
|
|
1508
1503
|
pageable?: PageableObject;
|
|
1504
|
+
numberOfElements?: number;
|
|
1509
1505
|
empty?: boolean;
|
|
1510
1506
|
};
|
|
1511
1507
|
export type GetPluginStackStarterUsageStackResponse = {
|
|
@@ -1530,8 +1526,8 @@ export type PageGetPluginStackStarterUsageResponse = {
|
|
|
1530
1526
|
content?: GetPluginStackStarterUsageResponse[];
|
|
1531
1527
|
"number"?: number;
|
|
1532
1528
|
sort?: SortObject[];
|
|
1533
|
-
numberOfElements?: number;
|
|
1534
1529
|
pageable?: PageableObject;
|
|
1530
|
+
numberOfElements?: number;
|
|
1535
1531
|
empty?: boolean;
|
|
1536
1532
|
};
|
|
1537
1533
|
export type PluginStacksResponse = {
|
|
@@ -1552,8 +1548,8 @@ export type PagePluginStacksResponse = {
|
|
|
1552
1548
|
content?: PluginStacksResponse[];
|
|
1553
1549
|
"number"?: number;
|
|
1554
1550
|
sort?: SortObject[];
|
|
1555
|
-
numberOfElements?: number;
|
|
1556
1551
|
pageable?: PageableObject;
|
|
1552
|
+
numberOfElements?: number;
|
|
1557
1553
|
empty?: boolean;
|
|
1558
1554
|
};
|
|
1559
1555
|
export type GetPluginStackUsageStackResponse = {
|
|
@@ -1578,8 +1574,8 @@ export type PageGetPluginStackUsageResponse = {
|
|
|
1578
1574
|
content?: GetPluginStackUsageResponse[];
|
|
1579
1575
|
"number"?: number;
|
|
1580
1576
|
sort?: SortObject[];
|
|
1581
|
-
numberOfElements?: number;
|
|
1582
1577
|
pageable?: PageableObject;
|
|
1578
|
+
numberOfElements?: number;
|
|
1583
1579
|
empty?: boolean;
|
|
1584
1580
|
};
|
|
1585
1581
|
export type PluginInfrastructureWorkspaceResponse = {
|
|
@@ -1604,8 +1600,8 @@ export type PagePluginInfrastructureViewResponse = {
|
|
|
1604
1600
|
content?: PluginInfrastructureViewResponse[];
|
|
1605
1601
|
"number"?: number;
|
|
1606
1602
|
sort?: SortObject[];
|
|
1607
|
-
numberOfElements?: number;
|
|
1608
1603
|
pageable?: PageableObject;
|
|
1604
|
+
numberOfElements?: number;
|
|
1609
1605
|
empty?: boolean;
|
|
1610
1606
|
};
|
|
1611
1607
|
export type GetInfrastructureEnvironmentsUsageEnvironmentResponse = {
|
|
@@ -1630,8 +1626,8 @@ export type PageInfrastructureEnvironmentsUsesPluginResponse = {
|
|
|
1630
1626
|
content?: InfrastructureEnvironmentsUsesPluginResponse[];
|
|
1631
1627
|
"number"?: number;
|
|
1632
1628
|
sort?: SortObject[];
|
|
1633
|
-
numberOfElements?: number;
|
|
1634
1629
|
pageable?: PageableObject;
|
|
1630
|
+
numberOfElements?: number;
|
|
1635
1631
|
empty?: boolean;
|
|
1636
1632
|
};
|
|
1637
1633
|
export type PluginViewUsageMonitorResponse = {
|
|
@@ -1650,8 +1646,8 @@ export type PagePluginViewUsageMonitorResponse = {
|
|
|
1650
1646
|
content?: PluginViewUsageMonitorResponse[];
|
|
1651
1647
|
"number"?: number;
|
|
1652
1648
|
sort?: SortObject[];
|
|
1653
|
-
numberOfElements?: number;
|
|
1654
1649
|
pageable?: PageableObject;
|
|
1650
|
+
numberOfElements?: number;
|
|
1655
1651
|
empty?: boolean;
|
|
1656
1652
|
};
|
|
1657
1653
|
export type DependentPluginVersionResponse = {
|
|
@@ -1671,8 +1667,8 @@ export type PageGetDependentPluginsVersionsResponse = {
|
|
|
1671
1667
|
content?: GetDependentPluginsVersionsResponse[];
|
|
1672
1668
|
"number"?: number;
|
|
1673
1669
|
sort?: SortObject[];
|
|
1674
|
-
numberOfElements?: number;
|
|
1675
1670
|
pageable?: PageableObject;
|
|
1671
|
+
numberOfElements?: number;
|
|
1676
1672
|
empty?: boolean;
|
|
1677
1673
|
};
|
|
1678
1674
|
export type GetPluginVersionsNotInUseResponse = {
|
|
@@ -1689,8 +1685,8 @@ export type PageGetPluginVersionsNotInUseResponse = {
|
|
|
1689
1685
|
content?: GetPluginVersionsNotInUseResponse[];
|
|
1690
1686
|
"number"?: number;
|
|
1691
1687
|
sort?: SortObject[];
|
|
1692
|
-
numberOfElements?: number;
|
|
1693
1688
|
pageable?: PageableObject;
|
|
1689
|
+
numberOfElements?: number;
|
|
1694
1690
|
empty?: boolean;
|
|
1695
1691
|
};
|
|
1696
1692
|
export type PluginInUseSummaryResponse = {
|
|
@@ -1723,8 +1719,8 @@ export type PagePluginApplicationsResponse = {
|
|
|
1723
1719
|
content?: PluginApplicationsResponse[];
|
|
1724
1720
|
"number"?: number;
|
|
1725
1721
|
sort?: SortObject[];
|
|
1726
|
-
numberOfElements?: number;
|
|
1727
1722
|
pageable?: PageableObject;
|
|
1723
|
+
numberOfElements?: number;
|
|
1728
1724
|
empty?: boolean;
|
|
1729
1725
|
};
|
|
1730
1726
|
export type PluginUsageMonitorApplicationViewVersionResponse = {
|
|
@@ -1749,8 +1745,8 @@ export type PagePluginUsageMonitorApplicationViewResponse = {
|
|
|
1749
1745
|
content?: PluginUsageMonitorApplicationViewResponse[];
|
|
1750
1746
|
"number"?: number;
|
|
1751
1747
|
sort?: SortObject[];
|
|
1752
|
-
numberOfElements?: number;
|
|
1753
1748
|
pageable?: PageableObject;
|
|
1749
|
+
numberOfElements?: number;
|
|
1754
1750
|
empty?: boolean;
|
|
1755
1751
|
};
|
|
1756
1752
|
export type ListActionVersionItemResponse = {
|
|
@@ -1872,8 +1868,8 @@ export type PageContentEvaluationResponse = {
|
|
|
1872
1868
|
content?: ContentEvaluationResponse[];
|
|
1873
1869
|
"number"?: number;
|
|
1874
1870
|
sort?: SortObject[];
|
|
1875
|
-
numberOfElements?: number;
|
|
1876
1871
|
pageable?: PageableObject;
|
|
1872
|
+
numberOfElements?: number;
|
|
1877
1873
|
empty?: boolean;
|
|
1878
1874
|
};
|
|
1879
1875
|
export type ContentEvaluationSummaryDetailsResponse = {
|
|
@@ -2019,8 +2015,7 @@ export declare function createConnectionInterfaceType({ createConnectionInterfac
|
|
|
2019
2015
|
/**
|
|
2020
2016
|
* Validate and return info from a workflow
|
|
2021
2017
|
*/
|
|
2022
|
-
export declare function validateWorkflow({
|
|
2023
|
-
studioSlug?: string;
|
|
2018
|
+
export declare function validateWorkflow({ body }: {
|
|
2024
2019
|
body?: {
|
|
2025
2020
|
file: Blob;
|
|
2026
2021
|
};
|
|
@@ -2203,9 +2198,8 @@ export declare function listStudios({ xWorkspaceId, filterStudioRequest }: {
|
|
|
2203
2198
|
/**
|
|
2204
2199
|
* Validate and return info from a starter
|
|
2205
2200
|
*/
|
|
2206
|
-
export declare function validateStack({ starterPath,
|
|
2201
|
+
export declare function validateStack({ starterPath, body }: {
|
|
2207
2202
|
starterPath: string;
|
|
2208
|
-
studioSlug?: string;
|
|
2209
2203
|
body?: {
|
|
2210
2204
|
file: Blob;
|
|
2211
2205
|
};
|
|
@@ -2355,8 +2349,7 @@ export declare function getStackVersionListByIds({ xWorkspaceId, filterStackVers
|
|
|
2355
2349
|
/**
|
|
2356
2350
|
* Validate and return info from a stack
|
|
2357
2351
|
*/
|
|
2358
|
-
export declare function validateStack1({
|
|
2359
|
-
studioSlug?: string;
|
|
2352
|
+
export declare function validateStack1({ body }: {
|
|
2360
2353
|
body?: {
|
|
2361
2354
|
file: Blob;
|
|
2362
2355
|
};
|
|
@@ -2384,8 +2377,7 @@ export declare function deprecatePluginVersion({ pluginVersionId, deprecateConte
|
|
|
2384
2377
|
/**
|
|
2385
2378
|
* Validate and return info from a plugin
|
|
2386
2379
|
*/
|
|
2387
|
-
export declare function validatePlugin({
|
|
2388
|
-
studioSlug?: string;
|
|
2380
|
+
export declare function validatePlugin({ body }: {
|
|
2389
2381
|
body?: {
|
|
2390
2382
|
file: Blob;
|
|
2391
2383
|
};
|
|
@@ -2437,8 +2429,7 @@ export declare function deprecateActionVersion({ actionVersionId, deprecateConte
|
|
|
2437
2429
|
/**
|
|
2438
2430
|
* Validate and return info from a action
|
|
2439
2431
|
*/
|
|
2440
|
-
export declare function validateAction({
|
|
2441
|
-
studioSlug?: string;
|
|
2432
|
+
export declare function validateAction({ body }: {
|
|
2442
2433
|
body?: {
|
|
2443
2434
|
file: Blob;
|
|
2444
2435
|
};
|