@explo-tech/fido-api 0.0.13 → 0.0.15
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
|
@@ -7,6 +7,7 @@ export { OpenAPI } from './core/OpenAPI';
|
|
|
7
7
|
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
8
8
|
|
|
9
9
|
export type { BooleanPropertyValue } from './models/BooleanPropertyValue';
|
|
10
|
+
export type { BulkNamespacesResponse } from './models/BulkNamespacesResponse';
|
|
10
11
|
export type { BulkViewsRequest } from './models/BulkViewsRequest';
|
|
11
12
|
export type { BulkViewsResponse } from './models/BulkViewsResponse';
|
|
12
13
|
export type { ClientError } from './models/ClientError';
|
|
@@ -61,6 +62,7 @@ export type { ViewRequest } from './models/ViewRequest';
|
|
|
61
62
|
export type { ViewResponse } from './models/ViewResponse';
|
|
62
63
|
export type { ViewRunRequest } from './models/ViewRunRequest';
|
|
63
64
|
|
|
65
|
+
export { BulkNamespacesResourceService } from './services/BulkNamespacesResourceService';
|
|
64
66
|
export { BulkViewsResourceService } from './services/BulkViewsResourceService';
|
|
65
67
|
export { DataSourceResourceService } from './services/DataSourceResourceService';
|
|
66
68
|
export { HealthResourceService } from './services/HealthResourceService';
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@explo-tech/fido-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Fido api",
|
|
5
5
|
"homepage": "https://github.com/trust-kaz/fido",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "
|
|
9
|
+
"url": "https://github.com/trust-kaz/fido"
|
|
10
10
|
},
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"registry": "https://registry.npmjs.org"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type { NamespaceResponse } from '../models/NamespaceResponse';
|
|
5
|
+
|
|
6
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
8
|
+
import { request as __request } from '../core/request';
|
|
9
|
+
|
|
10
|
+
export class BulkNamespacesResourceService {
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Fetches all namespaces and its associated data sources
|
|
14
|
+
* @param includeDataSources
|
|
15
|
+
* @returns any All namespaces, along with associated data sources
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
public static getNamespaces(
|
|
19
|
+
includeDataSources: boolean = false,
|
|
20
|
+
): CancelablePromise<{
|
|
21
|
+
namespaces: Array<NamespaceResponse>;
|
|
22
|
+
}> {
|
|
23
|
+
return __request(OpenAPI, {
|
|
24
|
+
method: 'GET',
|
|
25
|
+
url: '/v1/namespaces/list',
|
|
26
|
+
query: {
|
|
27
|
+
'includeDataSources': includeDataSources,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
}
|
package/.tool-versions
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nodejs 16.17.1
|