@evergis/api 5.0.49 → 5.0.52

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/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 GET:/resources/location/{resourceId}
1959
+ * @secure
1960
+ * @response `200` OK
1961
+ */
1962
+ resourceLocation(resourceId) {
1963
+ return this.http.get(`/resources/location/${resourceId}`).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`).text();
4829
+ getWktRepresentation({ name, ...query }) {
4830
+ return this.http.get(`/srs/${name}/wkt`, query).text();
4816
4831
  }
4817
4832
  }
4818
4833