@explo-tech/fido-api 0.0.9 → 0.0.10

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/index.ts CHANGED
@@ -64,6 +64,7 @@ export type { ViewRequest } from './models/ViewRequest';
64
64
  export type { ViewResponse } from './models/ViewResponse';
65
65
  export type { ViewRunRequest } from './models/ViewRunRequest';
66
66
 
67
+ export { BulkViewsResourceService } from './services/BulkViewsResourceService';
67
68
  export { DatasourceResourceService } from './services/DatasourceResourceService';
68
69
  export { HealthResourceService } from './services/HealthResourceService';
69
70
  export { NamespaceResourceService } from './services/NamespaceResourceService';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explo-tech/fido-api",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Fido api",
5
5
  "homepage": "https://github.com/trust-kaz/fido",
6
6
  "license": "MIT",
@@ -0,0 +1,51 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type { BulkViewsRequest } from '../models/BulkViewsRequest';
5
+ import type { View } from '../models/View';
6
+
7
+ import type { CancelablePromise } from '../core/CancelablePromise';
8
+ import { OpenAPI } from '../core/OpenAPI';
9
+ import { request as __request } from '../core/request';
10
+
11
+ export class BulkViewsResourceService {
12
+
13
+ /**
14
+ * Clones the request set of views
15
+ * @param requestBody
16
+ * @returns any The cloned views
17
+ * @throws ApiError
18
+ */
19
+ public static cloneViews(
20
+ requestBody?: BulkViewsRequest,
21
+ ): CancelablePromise<{
22
+ views: Array<View>;
23
+ }> {
24
+ return __request(OpenAPI, {
25
+ method: 'POST',
26
+ url: '/v1/views/clone',
27
+ body: requestBody,
28
+ mediaType: 'application/json',
29
+ });
30
+ }
31
+
32
+ /**
33
+ * Deletes a view
34
+ * @param requestBody
35
+ * @returns any The requested views
36
+ * @throws ApiError
37
+ */
38
+ public static getViews(
39
+ requestBody?: BulkViewsRequest,
40
+ ): CancelablePromise<{
41
+ views: Array<View>;
42
+ }> {
43
+ return __request(OpenAPI, {
44
+ method: 'POST',
45
+ url: '/v1/views/get',
46
+ body: requestBody,
47
+ mediaType: 'application/json',
48
+ });
49
+ }
50
+
51
+ }
@@ -1,9 +1,7 @@
1
1
  /* istanbul ignore file */
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
- import type { BulkViewsRequest } from '../models/BulkViewsRequest';
5
4
  import type { UUID } from '../models/UUID';
6
- import type { View } from '../models/View';
7
5
  import type { ViewRequest } from '../models/ViewRequest';
8
6
  import type { ViewResponse } from '../models/ViewResponse';
9
7
 
@@ -13,54 +11,6 @@ import { request as __request } from '../core/request';
13
11
 
14
12
  export class ViewResourceService {
15
13
 
16
- /**
17
- * Deletes a view
18
- * @param namespaceId
19
- * @param requestBody
20
- * @returns any The requested views
21
- * @throws ApiError
22
- */
23
- public static getViews(
24
- namespaceId: UUID,
25
- requestBody?: BulkViewsRequest,
26
- ): CancelablePromise<{
27
- views: Array<View>;
28
- }> {
29
- return __request(OpenAPI, {
30
- method: 'POST',
31
- url: '/v1/namespaces/{namespaceId}/views/bulk-get',
32
- path: {
33
- 'namespaceId': namespaceId,
34
- },
35
- body: requestBody,
36
- mediaType: 'application/json',
37
- });
38
- }
39
-
40
- /**
41
- * Clones the request set of views
42
- * @param namespaceId
43
- * @param requestBody
44
- * @returns any The cloned views
45
- * @throws ApiError
46
- */
47
- public static cloneViews(
48
- namespaceId: UUID,
49
- requestBody?: BulkViewsRequest,
50
- ): CancelablePromise<{
51
- views: Array<View>;
52
- }> {
53
- return __request(OpenAPI, {
54
- method: 'POST',
55
- url: '/v1/namespaces/{namespaceId}/views/clone',
56
- path: {
57
- 'namespaceId': namespaceId,
58
- },
59
- body: requestBody,
60
- mediaType: 'application/json',
61
- });
62
- }
63
-
64
14
  /**
65
15
  * Gets a view
66
16
  * @param id