@explo-tech/fido-api 5.21.6 → 5.22.0
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
|
@@ -11,23 +11,6 @@ import { request as __request } from '../core/request';
|
|
|
11
11
|
|
|
12
12
|
export class NamespaceResourceService {
|
|
13
13
|
|
|
14
|
-
/**
|
|
15
|
-
* Creates a namespace and optionally a data source associated with it
|
|
16
|
-
* @param requestBody Namespace object to create
|
|
17
|
-
* @returns NamespaceResponse The requested namespace, along with its associated data source if applicable
|
|
18
|
-
* @throws ApiError
|
|
19
|
-
*/
|
|
20
|
-
public static createNamespace(
|
|
21
|
-
requestBody: NamespaceRequest,
|
|
22
|
-
): CancelablePromise<NamespaceResponse> {
|
|
23
|
-
return __request(OpenAPI, {
|
|
24
|
-
method: 'POST',
|
|
25
|
-
url: '/v1/namespaces',
|
|
26
|
-
body: requestBody,
|
|
27
|
-
mediaType: 'application/json',
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
|
|
31
14
|
/**
|
|
32
15
|
* Fetches all namespaces and, optionally, their associated data sources and or table views
|
|
33
16
|
* @param includeDataSources
|
|
@@ -43,7 +26,7 @@ export class NamespaceResourceService {
|
|
|
43
26
|
}> {
|
|
44
27
|
return __request(OpenAPI, {
|
|
45
28
|
method: 'GET',
|
|
46
|
-
url: '/v1/namespaces
|
|
29
|
+
url: '/v1/namespaces',
|
|
47
30
|
query: {
|
|
48
31
|
'includeDataSources': includeDataSources,
|
|
49
32
|
'includeViews': includeViews,
|
|
@@ -51,6 +34,23 @@ export class NamespaceResourceService {
|
|
|
51
34
|
});
|
|
52
35
|
}
|
|
53
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Creates a namespace and optionally a data source associated with it
|
|
39
|
+
* @param requestBody Namespace object to create
|
|
40
|
+
* @returns NamespaceResponse The requested namespace, along with its associated data source if applicable
|
|
41
|
+
* @throws ApiError
|
|
42
|
+
*/
|
|
43
|
+
public static createNamespace(
|
|
44
|
+
requestBody: NamespaceRequest,
|
|
45
|
+
): CancelablePromise<NamespaceResponse> {
|
|
46
|
+
return __request(OpenAPI, {
|
|
47
|
+
method: 'POST',
|
|
48
|
+
url: '/v1/namespaces',
|
|
49
|
+
body: requestBody,
|
|
50
|
+
mediaType: 'application/json',
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
|
|
54
54
|
/**
|
|
55
55
|
* Gets a namespace and its associated data sources and or views
|
|
56
56
|
* @param id
|