@explo-tech/fido-api 2.9.3-dan-fix-openapi-gen.1 → 2.9.3-jordan-serialization.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,7 +2,7 @@
|
|
|
2
2
|
"name": "@explo-tech/fido-api",
|
|
3
3
|
"description": "Fido api",
|
|
4
4
|
"homepage": "https://github.com/trust-kaz/fido",
|
|
5
|
-
"version": "2.9.3-
|
|
5
|
+
"version": "2.9.3-jordan-serialization.1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/trust-kaz/fido"
|
|
@@ -34,14 +34,14 @@ export class CommitResourceService {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @returns ListViewsResponse The
|
|
37
|
+
* Lists the views affected by the specified commit
|
|
38
|
+
* @returns ListViewsResponse The views affected by the commit
|
|
39
39
|
* @throws ApiError
|
|
40
40
|
*/
|
|
41
|
-
public static
|
|
41
|
+
public static listCommitViews(): CancelablePromise<ListViewsResponse> {
|
|
42
42
|
return __request(OpenAPI, {
|
|
43
43
|
method: 'GET',
|
|
44
|
-
url: '/v1/branches/{branchId}/commits/
|
|
44
|
+
url: '/v1/branches/{branchId}/commits/views',
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -12,20 +12,19 @@ import { request as __request } from '../core/request';
|
|
|
12
12
|
export class ListViewsResourceService {
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @
|
|
18
|
-
* @returns any The cloned views
|
|
15
|
+
* Gets the requested set of views
|
|
16
|
+
* @param requestBody View ids to get
|
|
17
|
+
* @returns any The requested views
|
|
19
18
|
* @throws ApiError
|
|
20
19
|
*/
|
|
21
|
-
public static
|
|
22
|
-
requestBody:
|
|
20
|
+
public static batchGetViews(
|
|
21
|
+
requestBody: ListVersionedViewsRequest,
|
|
23
22
|
): CancelablePromise<{
|
|
24
23
|
views: Array<ViewResponse>;
|
|
25
24
|
}> {
|
|
26
25
|
return __request(OpenAPI, {
|
|
27
26
|
method: 'POST',
|
|
28
|
-
url: '/v1/views/
|
|
27
|
+
url: '/v1/views/batch-get',
|
|
29
28
|
body: requestBody,
|
|
30
29
|
mediaType: 'application/json',
|
|
31
30
|
});
|
|
@@ -33,38 +32,39 @@ export class ListViewsResourceService {
|
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* @deprecated
|
|
36
|
-
*
|
|
37
|
-
* @param requestBody View ids to
|
|
38
|
-
* @returns any The
|
|
35
|
+
* Clones the request set of views
|
|
36
|
+
* @param requestBody View ids to clone
|
|
37
|
+
* @returns any The cloned views
|
|
39
38
|
* @throws ApiError
|
|
40
39
|
*/
|
|
41
|
-
public static
|
|
40
|
+
public static cloneViews(
|
|
42
41
|
requestBody: ListViewsRequest,
|
|
43
42
|
): CancelablePromise<{
|
|
44
43
|
views: Array<ViewResponse>;
|
|
45
44
|
}> {
|
|
46
45
|
return __request(OpenAPI, {
|
|
47
46
|
method: 'POST',
|
|
48
|
-
url: '/v1/views/
|
|
47
|
+
url: '/v1/views/clone',
|
|
49
48
|
body: requestBody,
|
|
50
49
|
mediaType: 'application/json',
|
|
51
50
|
});
|
|
52
51
|
}
|
|
53
52
|
|
|
54
53
|
/**
|
|
54
|
+
* @deprecated
|
|
55
55
|
* Gets the requested set of views
|
|
56
56
|
* @param requestBody View ids to get
|
|
57
57
|
* @returns any The requested views
|
|
58
58
|
* @throws ApiError
|
|
59
59
|
*/
|
|
60
|
-
public static
|
|
61
|
-
requestBody:
|
|
60
|
+
public static getViews(
|
|
61
|
+
requestBody: ListViewsRequest,
|
|
62
62
|
): CancelablePromise<{
|
|
63
63
|
views: Array<ViewResponse>;
|
|
64
64
|
}> {
|
|
65
65
|
return __request(OpenAPI, {
|
|
66
66
|
method: 'POST',
|
|
67
|
-
url: '/v1/views/
|
|
67
|
+
url: '/v1/views/get',
|
|
68
68
|
body: requestBody,
|
|
69
69
|
mediaType: 'application/json',
|
|
70
70
|
});
|
|
@@ -74,7 +74,7 @@ export class QueryResourceService {
|
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* Runs the requested versioned view against the provided data source
|
|
77
|
-
* @param
|
|
77
|
+
* @param commitId
|
|
78
78
|
* @param dataSourceId
|
|
79
79
|
* @param namespaceId
|
|
80
80
|
* @param viewId
|
|
@@ -83,7 +83,7 @@ export class QueryResourceService {
|
|
|
83
83
|
* @throws ApiError
|
|
84
84
|
*/
|
|
85
85
|
public static exportVersionedView(
|
|
86
|
-
|
|
86
|
+
commitId: UUID,
|
|
87
87
|
dataSourceId: UUID,
|
|
88
88
|
namespaceId: UUID,
|
|
89
89
|
viewId: UUID,
|
|
@@ -91,9 +91,9 @@ export class QueryResourceService {
|
|
|
91
91
|
): CancelablePromise<QueryExportResponse> {
|
|
92
92
|
return __request(OpenAPI, {
|
|
93
93
|
method: 'POST',
|
|
94
|
-
url: '/v1/namespaces/{namespaceId}/data-sources/{dataSourceId}/views/{viewId}/
|
|
94
|
+
url: '/v1/namespaces/{namespaceId}/data-sources/{dataSourceId}/views/{viewId}/commits/{commitId}/export',
|
|
95
95
|
path: {
|
|
96
|
-
'
|
|
96
|
+
'commitId': commitId,
|
|
97
97
|
'dataSourceId': dataSourceId,
|
|
98
98
|
'namespaceId': namespaceId,
|
|
99
99
|
'viewId': viewId,
|
|
@@ -108,7 +108,7 @@ export class QueryResourceService {
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* Runs the requested versioned view against the provided data source
|
|
111
|
-
* @param
|
|
111
|
+
* @param commitId
|
|
112
112
|
* @param dataSourceId
|
|
113
113
|
* @param namespaceId
|
|
114
114
|
* @param viewId
|
|
@@ -117,7 +117,7 @@ export class QueryResourceService {
|
|
|
117
117
|
* @throws ApiError
|
|
118
118
|
*/
|
|
119
119
|
public static runVersionedView(
|
|
120
|
-
|
|
120
|
+
commitId: string,
|
|
121
121
|
dataSourceId: UUID,
|
|
122
122
|
namespaceId: UUID,
|
|
123
123
|
viewId: UUID,
|
|
@@ -125,9 +125,9 @@ export class QueryResourceService {
|
|
|
125
125
|
): CancelablePromise<QueryExecutionResponse> {
|
|
126
126
|
return __request(OpenAPI, {
|
|
127
127
|
method: 'POST',
|
|
128
|
-
url: '/v1/namespaces/{namespaceId}/data-sources/{dataSourceId}/views/{viewId}/
|
|
128
|
+
url: '/v1/namespaces/{namespaceId}/data-sources/{dataSourceId}/views/{viewId}/commits/{commitId}/run',
|
|
129
129
|
path: {
|
|
130
|
-
'
|
|
130
|
+
'commitId': commitId,
|
|
131
131
|
'dataSourceId': dataSourceId,
|
|
132
132
|
'namespaceId': namespaceId,
|
|
133
133
|
'viewId': viewId,
|
|
@@ -118,7 +118,7 @@ export class ViewResourceService {
|
|
|
118
118
|
): CancelablePromise<ViewResponse> {
|
|
119
119
|
return __request(OpenAPI, {
|
|
120
120
|
method: 'GET',
|
|
121
|
-
url: '/v1/namespaces/{namespaceId}/views/{id}/
|
|
121
|
+
url: '/v1/namespaces/{namespaceId}/views/{id}/versions/{versionId}',
|
|
122
122
|
path: {
|
|
123
123
|
'id': id,
|
|
124
124
|
'namespaceId': namespaceId,
|