@explo-tech/fido-api 3.11.0 → 3.11.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/package.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import type { ListBranchContentResponse } from '../models/ListBranchContentResponse';
|
|
5
|
+
import type { ListViewsResponse } from '../models/ListViewsResponse';
|
|
5
6
|
import type { ResourceResponse } from '../models/ResourceResponse';
|
|
6
7
|
import type { UUID } from '../models/UUID';
|
|
7
8
|
import type { ViewResponse } from '../models/ViewResponse';
|
|
@@ -62,6 +63,35 @@ export class BranchContentResourceService {
|
|
|
62
63
|
});
|
|
63
64
|
}
|
|
64
65
|
|
|
66
|
+
/**
|
|
67
|
+
* Returns all views that match the provided search criteria
|
|
68
|
+
* @param id
|
|
69
|
+
* @param page
|
|
70
|
+
* @param perPage
|
|
71
|
+
* @param query
|
|
72
|
+
* @returns ListViewsResponse A paginated view of all the views that match the search criteria
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
public static searchBranchContent(
|
|
76
|
+
id: UUID,
|
|
77
|
+
page?: number,
|
|
78
|
+
perPage: number = 50,
|
|
79
|
+
query: string = '',
|
|
80
|
+
): CancelablePromise<ListViewsResponse> {
|
|
81
|
+
return __request(OpenAPI, {
|
|
82
|
+
method: 'GET',
|
|
83
|
+
url: '/v1/branches/{id}/views/search',
|
|
84
|
+
path: {
|
|
85
|
+
'id': id,
|
|
86
|
+
},
|
|
87
|
+
query: {
|
|
88
|
+
'page': page,
|
|
89
|
+
'perPage': perPage,
|
|
90
|
+
'query': query,
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
|
|
65
95
|
/**
|
|
66
96
|
* Gets the latest version of the view at the requested branch
|
|
67
97
|
* @param id
|
|
@@ -23,6 +23,7 @@ export class ListViewsResourceService {
|
|
|
23
23
|
requestBody: ListVersionedViewsRequest,
|
|
24
24
|
): CancelablePromise<{
|
|
25
25
|
views: Array<ViewResponse>;
|
|
26
|
+
totalResults: number;
|
|
26
27
|
}> {
|
|
27
28
|
return __request(OpenAPI, {
|
|
28
29
|
method: 'POST',
|
|
@@ -43,6 +44,7 @@ export class ListViewsResourceService {
|
|
|
43
44
|
requestBody: ListViewsRequest,
|
|
44
45
|
): CancelablePromise<{
|
|
45
46
|
views: Array<ViewResponse>;
|
|
47
|
+
totalResults: number;
|
|
46
48
|
}> {
|
|
47
49
|
return __request(OpenAPI, {
|
|
48
50
|
method: 'POST',
|
|
@@ -63,6 +65,7 @@ export class ListViewsResourceService {
|
|
|
63
65
|
requestBody: ListViewsRequest,
|
|
64
66
|
): CancelablePromise<{
|
|
65
67
|
views: Array<ViewResponse>;
|
|
68
|
+
totalResults: number;
|
|
66
69
|
}> {
|
|
67
70
|
return __request(OpenAPI, {
|
|
68
71
|
method: 'POST',
|