@evergis/api 3.0.52 → 3.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/dist/__generated__/LayersService.d.ts +12 -1
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +39 -3
- package/dist/api.cjs.development.js +67 -45
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +69 -45
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -1847,6 +1847,27 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1847
1847
|
value: function updateFeature(name, data) {
|
|
1848
1848
|
return this.http.patch("/layers/" + name + "/features", data).json();
|
|
1849
1849
|
}
|
|
1850
|
+
/**
|
|
1851
|
+
* No description
|
|
1852
|
+
*
|
|
1853
|
+
* @tags Layers
|
|
1854
|
+
* @name FeaturesContains
|
|
1855
|
+
* @operationId LayersController_FeaturesContains
|
|
1856
|
+
* @summary Gets filtered features with given filter.
|
|
1857
|
+
* @request GET:/layers/{name}/features/contains
|
|
1858
|
+
* @response `200` Success
|
|
1859
|
+
*/
|
|
1860
|
+
|
|
1861
|
+
}, {
|
|
1862
|
+
key: "featuresContains",
|
|
1863
|
+
value: function featuresContains(_ref3) {
|
|
1864
|
+
let {
|
|
1865
|
+
name
|
|
1866
|
+
} = _ref3,
|
|
1867
|
+
query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
|
|
1868
|
+
|
|
1869
|
+
return this.http.get("/layers/" + name + "/features/contains", query).json();
|
|
1870
|
+
}
|
|
1850
1871
|
/**
|
|
1851
1872
|
* No description
|
|
1852
1873
|
*
|
|
@@ -1860,12 +1881,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1860
1881
|
|
|
1861
1882
|
}, {
|
|
1862
1883
|
key: "getById",
|
|
1863
|
-
value: function getById(
|
|
1884
|
+
value: function getById(_ref4) {
|
|
1864
1885
|
let {
|
|
1865
1886
|
name,
|
|
1866
1887
|
id
|
|
1867
|
-
} =
|
|
1868
|
-
query = _objectWithoutPropertiesLoose(
|
|
1888
|
+
} = _ref4,
|
|
1889
|
+
query = _objectWithoutPropertiesLoose(_ref4, ["name", "id"]);
|
|
1869
1890
|
|
|
1870
1891
|
return this.http.get("/layers/" + name + "/features/" + id, query).json();
|
|
1871
1892
|
}
|
|
@@ -1882,12 +1903,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1882
1903
|
|
|
1883
1904
|
}, {
|
|
1884
1905
|
key: "unite",
|
|
1885
|
-
value: function unite(
|
|
1906
|
+
value: function unite(_ref5, data) {
|
|
1886
1907
|
let {
|
|
1887
1908
|
name,
|
|
1888
1909
|
id
|
|
1889
|
-
} =
|
|
1890
|
-
query = _objectWithoutPropertiesLoose(
|
|
1910
|
+
} = _ref5,
|
|
1911
|
+
query = _objectWithoutPropertiesLoose(_ref5, ["name", "id"]);
|
|
1891
1912
|
|
|
1892
1913
|
return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
|
|
1893
1914
|
}
|
|
@@ -1904,12 +1925,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1904
1925
|
|
|
1905
1926
|
}, {
|
|
1906
1927
|
key: "subtract",
|
|
1907
|
-
value: function subtract(
|
|
1928
|
+
value: function subtract(_ref6, data) {
|
|
1908
1929
|
let {
|
|
1909
1930
|
name,
|
|
1910
1931
|
id
|
|
1911
|
-
} =
|
|
1912
|
-
query = _objectWithoutPropertiesLoose(
|
|
1932
|
+
} = _ref6,
|
|
1933
|
+
query = _objectWithoutPropertiesLoose(_ref6, ["name", "id"]);
|
|
1913
1934
|
|
|
1914
1935
|
return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
|
|
1915
1936
|
}
|
|
@@ -1926,14 +1947,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1926
1947
|
|
|
1927
1948
|
}, {
|
|
1928
1949
|
key: "getTilesLayerImage",
|
|
1929
|
-
value: function getTilesLayerImage(
|
|
1950
|
+
value: function getTilesLayerImage(_ref7) {
|
|
1930
1951
|
let {
|
|
1931
1952
|
name,
|
|
1932
1953
|
x,
|
|
1933
1954
|
y,
|
|
1934
1955
|
z
|
|
1935
|
-
} =
|
|
1936
|
-
query = _objectWithoutPropertiesLoose(
|
|
1956
|
+
} = _ref7,
|
|
1957
|
+
query = _objectWithoutPropertiesLoose(_ref7, ["name", "x", "y", "z"]);
|
|
1937
1958
|
|
|
1938
1959
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
|
|
1939
1960
|
}
|
|
@@ -1950,11 +1971,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1950
1971
|
|
|
1951
1972
|
}, {
|
|
1952
1973
|
key: "getLayerImage",
|
|
1953
|
-
value: function getLayerImage(
|
|
1974
|
+
value: function getLayerImage(_ref8) {
|
|
1954
1975
|
let {
|
|
1955
1976
|
name
|
|
1956
|
-
} =
|
|
1957
|
-
query = _objectWithoutPropertiesLoose(
|
|
1977
|
+
} = _ref8,
|
|
1978
|
+
query = _objectWithoutPropertiesLoose(_ref8, ["name"]);
|
|
1958
1979
|
|
|
1959
1980
|
return this.http.createUrl("/layers/" + name + "/export", query);
|
|
1960
1981
|
}
|
|
@@ -1971,11 +1992,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1971
1992
|
|
|
1972
1993
|
}, {
|
|
1973
1994
|
key: "getLayerExtent",
|
|
1974
|
-
value: function getLayerExtent(
|
|
1995
|
+
value: function getLayerExtent(_ref9) {
|
|
1975
1996
|
let {
|
|
1976
1997
|
name
|
|
1977
|
-
} =
|
|
1978
|
-
query = _objectWithoutPropertiesLoose(
|
|
1998
|
+
} = _ref9,
|
|
1999
|
+
query = _objectWithoutPropertiesLoose(_ref9, ["name"]);
|
|
1979
2000
|
|
|
1980
2001
|
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
1981
2002
|
}
|
|
@@ -1992,11 +2013,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1992
2013
|
|
|
1993
2014
|
}, {
|
|
1994
2015
|
key: "getByGeometry",
|
|
1995
|
-
value: function getByGeometry(
|
|
2016
|
+
value: function getByGeometry(_ref10) {
|
|
1996
2017
|
let {
|
|
1997
2018
|
name
|
|
1998
|
-
} =
|
|
1999
|
-
query = _objectWithoutPropertiesLoose(
|
|
2019
|
+
} = _ref10,
|
|
2020
|
+
query = _objectWithoutPropertiesLoose(_ref10, ["name"]);
|
|
2000
2021
|
|
|
2001
2022
|
return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
|
|
2002
2023
|
}
|
|
@@ -2013,11 +2034,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2013
2034
|
|
|
2014
2035
|
}, {
|
|
2015
2036
|
key: "getByGeometryPost",
|
|
2016
|
-
value: function getByGeometryPost(
|
|
2037
|
+
value: function getByGeometryPost(_ref11, data) {
|
|
2017
2038
|
let {
|
|
2018
2039
|
name
|
|
2019
|
-
} =
|
|
2020
|
-
query = _objectWithoutPropertiesLoose(
|
|
2040
|
+
} = _ref11,
|
|
2041
|
+
query = _objectWithoutPropertiesLoose(_ref11, ["name"]);
|
|
2021
2042
|
|
|
2022
2043
|
return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
|
|
2023
2044
|
}
|
|
@@ -2034,11 +2055,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2034
2055
|
|
|
2035
2056
|
}, {
|
|
2036
2057
|
key: "deleteFeatures",
|
|
2037
|
-
value: function deleteFeatures(
|
|
2058
|
+
value: function deleteFeatures(_ref12) {
|
|
2038
2059
|
let {
|
|
2039
2060
|
name
|
|
2040
|
-
} =
|
|
2041
|
-
query = _objectWithoutPropertiesLoose(
|
|
2061
|
+
} = _ref12,
|
|
2062
|
+
query = _objectWithoutPropertiesLoose(_ref12, ["name"]);
|
|
2042
2063
|
|
|
2043
2064
|
return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
|
|
2044
2065
|
}
|
|
@@ -2055,11 +2076,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2055
2076
|
|
|
2056
2077
|
}, {
|
|
2057
2078
|
key: "getByGeometryGet",
|
|
2058
|
-
value: function getByGeometryGet(
|
|
2079
|
+
value: function getByGeometryGet(_ref13) {
|
|
2059
2080
|
let {
|
|
2060
2081
|
name
|
|
2061
|
-
} =
|
|
2062
|
-
query = _objectWithoutPropertiesLoose(
|
|
2082
|
+
} = _ref13,
|
|
2083
|
+
query = _objectWithoutPropertiesLoose(_ref13, ["name"]);
|
|
2063
2084
|
|
|
2064
2085
|
return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
|
|
2065
2086
|
}
|
|
@@ -2076,11 +2097,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2076
2097
|
|
|
2077
2098
|
}, {
|
|
2078
2099
|
key: "classify",
|
|
2079
|
-
value: function classify(
|
|
2100
|
+
value: function classify(_ref14) {
|
|
2080
2101
|
let {
|
|
2081
2102
|
name
|
|
2082
|
-
} =
|
|
2083
|
-
query = _objectWithoutPropertiesLoose(
|
|
2103
|
+
} = _ref14,
|
|
2104
|
+
query = _objectWithoutPropertiesLoose(_ref14, ["name"]);
|
|
2084
2105
|
|
|
2085
2106
|
return this.http.get("/layers/" + name + "/classify", query).json();
|
|
2086
2107
|
}
|
|
@@ -2097,11 +2118,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2097
2118
|
|
|
2098
2119
|
}, {
|
|
2099
2120
|
key: "distincts",
|
|
2100
|
-
value: function distincts(
|
|
2121
|
+
value: function distincts(_ref15) {
|
|
2101
2122
|
let {
|
|
2102
2123
|
name
|
|
2103
|
-
} =
|
|
2104
|
-
query = _objectWithoutPropertiesLoose(
|
|
2124
|
+
} = _ref15,
|
|
2125
|
+
query = _objectWithoutPropertiesLoose(_ref15, ["name"]);
|
|
2105
2126
|
|
|
2106
2127
|
return this.http.get("/layers/" + name + "/distincts", query).json();
|
|
2107
2128
|
}
|
|
@@ -2118,11 +2139,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2118
2139
|
|
|
2119
2140
|
}, {
|
|
2120
2141
|
key: "aggregateAttribute",
|
|
2121
|
-
value: function aggregateAttribute(
|
|
2142
|
+
value: function aggregateAttribute(_ref16) {
|
|
2122
2143
|
let {
|
|
2123
2144
|
name
|
|
2124
|
-
} =
|
|
2125
|
-
query = _objectWithoutPropertiesLoose(
|
|
2145
|
+
} = _ref16,
|
|
2146
|
+
query = _objectWithoutPropertiesLoose(_ref16, ["name"]);
|
|
2126
2147
|
|
|
2127
2148
|
return this.http.get("/layers/" + name + "/aggregate-values", query).json();
|
|
2128
2149
|
}
|
|
@@ -2139,11 +2160,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2139
2160
|
|
|
2140
2161
|
}, {
|
|
2141
2162
|
key: "getFilteredFeaturesCount",
|
|
2142
|
-
value: function getFilteredFeaturesCount(
|
|
2163
|
+
value: function getFilteredFeaturesCount(_ref17) {
|
|
2143
2164
|
let {
|
|
2144
2165
|
name
|
|
2145
|
-
} =
|
|
2146
|
-
query = _objectWithoutPropertiesLoose(
|
|
2166
|
+
} = _ref17,
|
|
2167
|
+
query = _objectWithoutPropertiesLoose(_ref17, ["name"]);
|
|
2147
2168
|
|
|
2148
2169
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
2149
2170
|
}
|
|
@@ -2193,11 +2214,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2193
2214
|
|
|
2194
2215
|
}, {
|
|
2195
2216
|
key: "validateExpression",
|
|
2196
|
-
value: function validateExpression(
|
|
2217
|
+
value: function validateExpression(_ref18) {
|
|
2197
2218
|
let {
|
|
2198
2219
|
layerName
|
|
2199
|
-
} =
|
|
2200
|
-
query = _objectWithoutPropertiesLoose(
|
|
2220
|
+
} = _ref18,
|
|
2221
|
+
query = _objectWithoutPropertiesLoose(_ref18, ["layerName"]);
|
|
2201
2222
|
|
|
2202
2223
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
2203
2224
|
}
|
|
@@ -7114,6 +7135,8 @@ InvalidLayerType
|
|
|
7114
7135
|
ColumnLoadingError
|
|
7115
7136
|
|
|
7116
7137
|
InvalidAttributeFormat
|
|
7138
|
+
|
|
7139
|
+
DataSourceNotFound
|
|
7117
7140
|
*/
|
|
7118
7141
|
|
|
7119
7142
|
|
|
@@ -7139,6 +7162,7 @@ var ConfigurationErrorEnum;
|
|
|
7139
7162
|
ConfigurationErrorEnum["InvalidLayerType"] = "InvalidLayerType";
|
|
7140
7163
|
ConfigurationErrorEnum["ColumnLoadingError"] = "ColumnLoadingError";
|
|
7141
7164
|
ConfigurationErrorEnum["InvalidAttributeFormat"] = "InvalidAttributeFormat";
|
|
7165
|
+
ConfigurationErrorEnum["DataSourceNotFound"] = "DataSourceNotFound";
|
|
7142
7166
|
})(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
|
|
7143
7167
|
/**
|
|
7144
7168
|
* Specifies display element type.
|