@evergis/api 5.0.50 → 5.0.53
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/LICENSE +21 -21
- package/README.md +12 -12
- package/dist/__generated__/CatalogService.d.ts +14 -1
- package/dist/__generated__/SpatialReferencesService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +35 -1
- package/dist/api.esm.js +17 -2
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/dist/services/Security.d.ts +1 -1
- package/package.json +2 -2
- package/dist/ApiEvent.d.ts +0 -5
- package/dist/__generated__/ImportService.d.ts +0 -118
- package/dist/services/Import.d.ts +0 -3
- package/dist/utils/formDataFromFile.d.ts +0 -1
- package/dist/utils/isString.d.ts +0 -1
- package/dist/utils/location.d.ts +0 -2
- package/dist/utils/stripUselessSlashes.d.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -1947,6 +1947,21 @@ class CatalogService extends Service {
|
|
|
1947
1947
|
deleteResource({ resourceId, ...query }) {
|
|
1948
1948
|
return this.http.delete(`/resources/${resourceId}`, null, query).then(() => { });
|
|
1949
1949
|
}
|
|
1950
|
+
/**
|
|
1951
|
+
* No description
|
|
1952
|
+
*
|
|
1953
|
+
* @tags Catalog
|
|
1954
|
+
* @name ResourceLocation
|
|
1955
|
+
* @operationId CatalogController_ResourceLocation
|
|
1956
|
+
* @summary Locate a resource in the tree: the chain of nodes from the root down to the resource itself,
|
|
1957
|
+
each with its position among its siblings.
|
|
1958
|
+
* @request POST:/resources/location
|
|
1959
|
+
* @secure
|
|
1960
|
+
* @response `200` OK
|
|
1961
|
+
*/
|
|
1962
|
+
resourceLocation(data) {
|
|
1963
|
+
return this.http.post(`/resources/location`, data).json();
|
|
1964
|
+
}
|
|
1950
1965
|
/**
|
|
1951
1966
|
* No description
|
|
1952
1967
|
*
|
|
@@ -4811,8 +4826,8 @@ class SpatialReferencesService extends Service {
|
|
|
4811
4826
|
* @secure
|
|
4812
4827
|
* @response `200` OK
|
|
4813
4828
|
*/
|
|
4814
|
-
getWktRepresentation(name) {
|
|
4815
|
-
return this.http.get(`/srs/${name}/wkt
|
|
4829
|
+
getWktRepresentation({ name, ...query }) {
|
|
4830
|
+
return this.http.get(`/srs/${name}/wkt`, query).text();
|
|
4816
4831
|
}
|
|
4817
4832
|
}
|
|
4818
4833
|
|