@stack-spot/portal-network 0.39.0 → 0.39.2

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;
@@ -320,7 +320,7 @@ export type GetStackVersionResponse = {
320
320
  export type Pageable = {
321
321
  page?: number;
322
322
  size?: number;
323
- sort?: string[];
323
+ sort?: any;
324
324
  };
325
325
  export type FilterStackRequest = {
326
326
  filter?: string;
@@ -358,10 +358,10 @@ export type SortObject = {
358
358
  export type PageableObject = {
359
359
  offset?: number;
360
360
  sort?: SortObject[];
361
- pageSize?: number;
362
- pageNumber?: number;
363
361
  paged?: boolean;
364
362
  unpaged?: boolean;
363
+ pageSize?: number;
364
+ pageNumber?: number;
365
365
  };
366
366
  export type PageGetStackStudioResponse = {
367
367
  totalElements?: number;
@@ -372,8 +372,8 @@ export type PageGetStackStudioResponse = {
372
372
  content?: GetStackStudioResponse[];
373
373
  "number"?: number;
374
374
  sort?: SortObject[];
375
- numberOfElements?: number;
376
375
  pageable?: PageableObject;
376
+ numberOfElements?: number;
377
377
  empty?: boolean;
378
378
  };
379
379
  export type PublishPluginWarningResponse = {
@@ -510,8 +510,8 @@ export type PagePluginVersionResponse = {
510
510
  content?: PluginVersionResponse[];
511
511
  "number"?: number;
512
512
  sort?: SortObject[];
513
- numberOfElements?: number;
514
513
  pageable?: PageableObject;
514
+ numberOfElements?: number;
515
515
  empty?: boolean;
516
516
  };
517
517
  export type GetActionCommandResponse = {
@@ -651,8 +651,8 @@ export type PageActionResponse = {
651
651
  content?: ActionResponse[];
652
652
  "number"?: number;
653
653
  sort?: SortObject[];
654
- numberOfElements?: number;
655
654
  pageable?: PageableObject;
655
+ numberOfElements?: number;
656
656
  empty?: boolean;
657
657
  };
658
658
  export type FilterStudioRequest = {
@@ -712,8 +712,8 @@ export type PageStarterResponseWithRange = {
712
712
  content?: StarterResponseWithRange[];
713
713
  "number"?: number;
714
714
  sort?: SortObject[];
715
- numberOfElements?: number;
716
715
  pageable?: PageableObject;
716
+ numberOfElements?: number;
717
717
  empty?: boolean;
718
718
  };
719
719
  export type FilterStackVersionPluginRequest = {
@@ -730,8 +730,8 @@ export type PageStackPluginResponse = {
730
730
  content?: StackPluginResponse[];
731
731
  "number"?: number;
732
732
  sort?: SortObject[];
733
- numberOfElements?: number;
734
733
  pageable?: PageableObject;
734
+ numberOfElements?: number;
735
735
  empty?: boolean;
736
736
  };
737
737
  export type GetLinkPluginVersionStudioResponse = {
@@ -829,8 +829,8 @@ export type PageGetStackActionResponse = {
829
829
  content?: GetStackActionResponse[];
830
830
  "number"?: number;
831
831
  sort?: SortObject[];
832
- numberOfElements?: number;
833
832
  pageable?: PageableObject;
833
+ numberOfElements?: number;
834
834
  empty?: boolean;
835
835
  };
836
836
  export type FilterStackVersionRequest = {
@@ -1012,8 +1012,8 @@ export type PageStudioResponse = {
1012
1012
  content?: StudioResponse[];
1013
1013
  "number"?: number;
1014
1014
  sort?: SortObject[];
1015
- numberOfElements?: number;
1016
1015
  pageable?: PageableObject;
1016
+ numberOfElements?: number;
1017
1017
  empty?: boolean;
1018
1018
  };
1019
1019
  export type GovernanceDto = {
@@ -1039,8 +1039,8 @@ export type PagePluginVersionDto = {
1039
1039
  content?: PluginVersionDto[];
1040
1040
  "number"?: number;
1041
1041
  sort?: SortObject[];
1042
- numberOfElements?: number;
1043
1042
  pageable?: PageableObject;
1043
+ numberOfElements?: number;
1044
1044
  empty?: boolean;
1045
1045
  };
1046
1046
  export type DownloadBase64Response = {
@@ -1066,8 +1066,8 @@ export type PageActionVersionDto = {
1066
1066
  content?: ActionVersionDto[];
1067
1067
  "number"?: number;
1068
1068
  sort?: SortObject[];
1069
- numberOfElements?: number;
1070
1069
  pageable?: PageableObject;
1070
+ numberOfElements?: number;
1071
1071
  empty?: boolean;
1072
1072
  };
1073
1073
  export type StackStudioV2Response = {
@@ -1193,11 +1193,11 @@ export type PageGetWorkflowsByStudioResponse = {
1193
1193
  content?: GetWorkflowsByStudioResponse[];
1194
1194
  "number"?: number;
1195
1195
  sort?: SortObject[];
1196
- numberOfElements?: number;
1197
1196
  pageable?: PageableObject;
1197
+ numberOfElements?: number;
1198
1198
  empty?: boolean;
1199
1199
  };
1200
- export type Version = {
1200
+ export type ListWorkflowVersionsResponse = {
1201
1201
  workflowVersionId: string;
1202
1202
  version: string;
1203
1203
  createdBy: string;
@@ -1205,10 +1205,6 @@ export type Version = {
1205
1205
  updatedAt?: string;
1206
1206
  status: "PUBLISHED" | "DEPRECATED";
1207
1207
  };
1208
- export type ListWorkflowVersionsResponse = {
1209
- workflowId: string;
1210
- versions: Version[];
1211
- };
1212
1208
  export type PageListWorkflowVersionsResponse = {
1213
1209
  totalElements?: number;
1214
1210
  totalPages?: number;
@@ -1218,8 +1214,8 @@ export type PageListWorkflowVersionsResponse = {
1218
1214
  content?: ListWorkflowVersionsResponse[];
1219
1215
  "number"?: number;
1220
1216
  sort?: SortObject[];
1221
- numberOfElements?: number;
1222
1217
  pageable?: PageableObject;
1218
+ numberOfElements?: number;
1223
1219
  empty?: boolean;
1224
1220
  };
1225
1221
  export type DownloadWorkflowBase64Response = {
@@ -1240,7 +1236,7 @@ export type GetWorkflowCommandResponse = {
1240
1236
  export type WorkflowVersionJobStepsResponse = {
1241
1237
  id: string;
1242
1238
  identifier: string;
1243
- name: string;
1239
+ name?: string;
1244
1240
  label?: string;
1245
1241
  ordination: number;
1246
1242
  optional: boolean;
@@ -1291,8 +1287,8 @@ export type PageGetAvailableWorkflowVersionsResponse = {
1291
1287
  content?: GetAvailableWorkflowVersionsResponse[];
1292
1288
  "number"?: number;
1293
1289
  sort?: SortObject[];
1294
- numberOfElements?: number;
1295
1290
  pageable?: PageableObject;
1291
+ numberOfElements?: number;
1296
1292
  empty?: boolean;
1297
1293
  };
1298
1294
  export type StackWorkspaceViewResponse = {
@@ -1311,8 +1307,8 @@ export type PageStackWorkspaceViewResponse = {
1311
1307
  content?: StackWorkspaceViewResponse[];
1312
1308
  "number"?: number;
1313
1309
  sort?: SortObject[];
1314
- numberOfElements?: number;
1315
1310
  pageable?: PageableObject;
1311
+ numberOfElements?: number;
1316
1312
  empty?: boolean;
1317
1313
  };
1318
1314
  export type StackVersionInWorkspaceDetailResponse = {
@@ -1339,8 +1335,8 @@ export type PageStackWorkspaceDetailViewResponse = {
1339
1335
  content?: StackWorkspaceDetailViewResponse[];
1340
1336
  "number"?: number;
1341
1337
  sort?: SortObject[];
1342
- numberOfElements?: number;
1343
1338
  pageable?: PageableObject;
1339
+ numberOfElements?: number;
1344
1340
  empty?: boolean;
1345
1341
  };
1346
1342
  export type GetUnusedStackVersionsResponse = {
@@ -1358,8 +1354,8 @@ export type PageGetUnusedStackVersionsResponse = {
1358
1354
  content?: GetUnusedStackVersionsResponse[];
1359
1355
  "number"?: number;
1360
1356
  sort?: SortObject[];
1361
- numberOfElements?: number;
1362
1357
  pageable?: PageableObject;
1358
+ numberOfElements?: number;
1363
1359
  empty?: boolean;
1364
1360
  };
1365
1361
  export type StackModalViewResponse = {
@@ -1509,8 +1505,8 @@ export type PagePluginStarterResponse = {
1509
1505
  content?: PluginStarterResponse[];
1510
1506
  "number"?: number;
1511
1507
  sort?: SortObject[];
1512
- numberOfElements?: number;
1513
1508
  pageable?: PageableObject;
1509
+ numberOfElements?: number;
1514
1510
  empty?: boolean;
1515
1511
  };
1516
1512
  export type GetPluginStackStarterUsageStackResponse = {
@@ -1535,8 +1531,8 @@ export type PageGetPluginStackStarterUsageResponse = {
1535
1531
  content?: GetPluginStackStarterUsageResponse[];
1536
1532
  "number"?: number;
1537
1533
  sort?: SortObject[];
1538
- numberOfElements?: number;
1539
1534
  pageable?: PageableObject;
1535
+ numberOfElements?: number;
1540
1536
  empty?: boolean;
1541
1537
  };
1542
1538
  export type PluginStacksResponse = {
@@ -1557,8 +1553,8 @@ export type PagePluginStacksResponse = {
1557
1553
  content?: PluginStacksResponse[];
1558
1554
  "number"?: number;
1559
1555
  sort?: SortObject[];
1560
- numberOfElements?: number;
1561
1556
  pageable?: PageableObject;
1557
+ numberOfElements?: number;
1562
1558
  empty?: boolean;
1563
1559
  };
1564
1560
  export type GetPluginStackUsageStackResponse = {
@@ -1583,8 +1579,8 @@ export type PageGetPluginStackUsageResponse = {
1583
1579
  content?: GetPluginStackUsageResponse[];
1584
1580
  "number"?: number;
1585
1581
  sort?: SortObject[];
1586
- numberOfElements?: number;
1587
1582
  pageable?: PageableObject;
1583
+ numberOfElements?: number;
1588
1584
  empty?: boolean;
1589
1585
  };
1590
1586
  export type PluginInfrastructureWorkspaceResponse = {
@@ -1609,8 +1605,8 @@ export type PagePluginInfrastructureViewResponse = {
1609
1605
  content?: PluginInfrastructureViewResponse[];
1610
1606
  "number"?: number;
1611
1607
  sort?: SortObject[];
1612
- numberOfElements?: number;
1613
1608
  pageable?: PageableObject;
1609
+ numberOfElements?: number;
1614
1610
  empty?: boolean;
1615
1611
  };
1616
1612
  export type GetInfrastructureEnvironmentsUsageEnvironmentResponse = {
@@ -1635,8 +1631,8 @@ export type PageInfrastructureEnvironmentsUsesPluginResponse = {
1635
1631
  content?: InfrastructureEnvironmentsUsesPluginResponse[];
1636
1632
  "number"?: number;
1637
1633
  sort?: SortObject[];
1638
- numberOfElements?: number;
1639
1634
  pageable?: PageableObject;
1635
+ numberOfElements?: number;
1640
1636
  empty?: boolean;
1641
1637
  };
1642
1638
  export type PluginViewUsageMonitorResponse = {
@@ -1655,8 +1651,8 @@ export type PagePluginViewUsageMonitorResponse = {
1655
1651
  content?: PluginViewUsageMonitorResponse[];
1656
1652
  "number"?: number;
1657
1653
  sort?: SortObject[];
1658
- numberOfElements?: number;
1659
1654
  pageable?: PageableObject;
1655
+ numberOfElements?: number;
1660
1656
  empty?: boolean;
1661
1657
  };
1662
1658
  export type DependentPluginVersionResponse = {
@@ -1676,8 +1672,8 @@ export type PageGetDependentPluginsVersionsResponse = {
1676
1672
  content?: GetDependentPluginsVersionsResponse[];
1677
1673
  "number"?: number;
1678
1674
  sort?: SortObject[];
1679
- numberOfElements?: number;
1680
1675
  pageable?: PageableObject;
1676
+ numberOfElements?: number;
1681
1677
  empty?: boolean;
1682
1678
  };
1683
1679
  export type GetPluginVersionsNotInUseResponse = {
@@ -1694,8 +1690,8 @@ export type PageGetPluginVersionsNotInUseResponse = {
1694
1690
  content?: GetPluginVersionsNotInUseResponse[];
1695
1691
  "number"?: number;
1696
1692
  sort?: SortObject[];
1697
- numberOfElements?: number;
1698
1693
  pageable?: PageableObject;
1694
+ numberOfElements?: number;
1699
1695
  empty?: boolean;
1700
1696
  };
1701
1697
  export type PluginInUseSummaryResponse = {
@@ -1728,8 +1724,8 @@ export type PagePluginApplicationsResponse = {
1728
1724
  content?: PluginApplicationsResponse[];
1729
1725
  "number"?: number;
1730
1726
  sort?: SortObject[];
1731
- numberOfElements?: number;
1732
1727
  pageable?: PageableObject;
1728
+ numberOfElements?: number;
1733
1729
  empty?: boolean;
1734
1730
  };
1735
1731
  export type PluginUsageMonitorApplicationViewVersionResponse = {
@@ -1754,8 +1750,8 @@ export type PagePluginUsageMonitorApplicationViewResponse = {
1754
1750
  content?: PluginUsageMonitorApplicationViewResponse[];
1755
1751
  "number"?: number;
1756
1752
  sort?: SortObject[];
1757
- numberOfElements?: number;
1758
1753
  pageable?: PageableObject;
1754
+ numberOfElements?: number;
1759
1755
  empty?: boolean;
1760
1756
  };
1761
1757
  export type ListActionVersionItemResponse = {
@@ -1877,8 +1873,8 @@ export type PageContentEvaluationResponse = {
1877
1873
  content?: ContentEvaluationResponse[];
1878
1874
  "number"?: number;
1879
1875
  sort?: SortObject[];
1880
- numberOfElements?: number;
1881
1876
  pageable?: PageableObject;
1877
+ numberOfElements?: number;
1882
1878
  empty?: boolean;
1883
1879
  };
1884
1880
  export type ContentEvaluationSummaryDetailsResponse = {
@@ -2349,8 +2345,7 @@ export function createConnectionInterfaceType({ createConnectionInterfaceTypeReq
2349
2345
  /**
2350
2346
  * Validate and return info from a workflow
2351
2347
  */
2352
- export function validateWorkflow({ studioSlug, body }: {
2353
- studioSlug?: string;
2348
+ export function validateWorkflow({ body }: {
2354
2349
  body?: {
2355
2350
  file: Blob;
2356
2351
  };
@@ -2374,9 +2369,7 @@ export function validateWorkflow({ studioSlug, body }: {
2374
2369
  details: string;
2375
2370
  validationDetails?: ValidationDetails[];
2376
2371
  };
2377
- }>(`/v1/workflows/validate${QS.query(QS.explode({
2378
- studioSlug
2379
- }))}`, oazapfts.json({
2372
+ }>("/v1/workflows/validate", oazapfts.json({
2380
2373
  ...opts,
2381
2374
  method: "POST",
2382
2375
  body
@@ -3101,9 +3094,8 @@ export function listStudios({ xWorkspaceId, filterStudioRequest }: {
3101
3094
  /**
3102
3095
  * Validate and return info from a starter
3103
3096
  */
3104
- export function validateStack({ starterPath, studioSlug, body }: {
3097
+ export function validateStack({ starterPath, body }: {
3105
3098
  starterPath: string;
3106
- studioSlug?: string;
3107
3099
  body?: {
3108
3100
  file: Blob;
3109
3101
  };
@@ -3128,8 +3120,7 @@ export function validateStack({ starterPath, studioSlug, body }: {
3128
3120
  validationDetails?: ValidationDetails[];
3129
3121
  };
3130
3122
  }>(`/v1/starters/validate${QS.query(QS.explode({
3131
- starterPath,
3132
- studioSlug
3123
+ starterPath
3133
3124
  }))}`, oazapfts.json({
3134
3125
  ...opts,
3135
3126
  method: "POST",
@@ -3774,8 +3765,7 @@ export function getStackVersionListByIds({ xWorkspaceId, filterStackVersionReque
3774
3765
  /**
3775
3766
  * Validate and return info from a stack
3776
3767
  */
3777
- export function validateStack1({ studioSlug, body }: {
3778
- studioSlug?: string;
3768
+ export function validateStack1({ body }: {
3779
3769
  body?: {
3780
3770
  file: Blob;
3781
3771
  };
@@ -3799,9 +3789,7 @@ export function validateStack1({ studioSlug, body }: {
3799
3789
  details: string;
3800
3790
  validationDetails?: ValidationDetails[];
3801
3791
  };
3802
- }>(`/v1/stacks/validate${QS.query(QS.explode({
3803
- studioSlug
3804
- }))}`, oazapfts.json({
3792
+ }>("/v1/stacks/validate", oazapfts.json({
3805
3793
  ...opts,
3806
3794
  method: "POST",
3807
3795
  body
@@ -3907,8 +3895,7 @@ export function deprecatePluginVersion({ pluginVersionId, deprecateContentReques
3907
3895
  /**
3908
3896
  * Validate and return info from a plugin
3909
3897
  */
3910
- export function validatePlugin({ studioSlug, body }: {
3911
- studioSlug?: string;
3898
+ export function validatePlugin({ body }: {
3912
3899
  body?: {
3913
3900
  file: Blob;
3914
3901
  };
@@ -3932,9 +3919,7 @@ export function validatePlugin({ studioSlug, body }: {
3932
3919
  details: string;
3933
3920
  validationDetails?: ValidationDetails[];
3934
3921
  };
3935
- }>(`/v1/plugins/validate${QS.query(QS.explode({
3936
- studioSlug
3937
- }))}`, oazapfts.json({
3922
+ }>("/v1/plugins/validate", oazapfts.json({
3938
3923
  ...opts,
3939
3924
  method: "POST",
3940
3925
  body
@@ -4179,8 +4164,7 @@ export function deprecateActionVersion({ actionVersionId, deprecateContentReques
4179
4164
  /**
4180
4165
  * Validate and return info from a action
4181
4166
  */
4182
- export function validateAction({ studioSlug, body }: {
4183
- studioSlug?: string;
4167
+ export function validateAction({ body }: {
4184
4168
  body?: {
4185
4169
  file: Blob;
4186
4170
  };
@@ -4204,9 +4188,7 @@ export function validateAction({ studioSlug, body }: {
4204
4188
  details: string;
4205
4189
  validationDetails?: ValidationDetails[];
4206
4190
  };
4207
- }>(`/v1/actions/validate${QS.query(QS.explode({
4208
- studioSlug
4209
- }))}`, oazapfts.json({
4191
+ }>("/v1/actions/validate", oazapfts.json({
4210
4192
  ...opts,
4211
4193
  method: "POST",
4212
4194
  body