@evergis/api 3.0.50 → 3.0.54
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/Api.d.ts +2 -1
- package/dist/__generated__/LayersService.d.ts +23 -1
- package/dist/__generated__/ProjectsService.d.ts +12 -1
- package/dist/__generated__/SecurityService.d.ts +13 -2
- package/dist/__generated__/TablesService.d.ts +23 -1
- package/dist/__generated__/data-contracts.d.ts +74 -2
- package/dist/api.cjs.development.js +233 -56
- 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 +235 -57
- package/dist/api.esm.js.map +1 -1
- package/dist/services/IceRouter.d.ts +3 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -331,18 +331,34 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
_createClass(SecurityService, [{
|
|
334
|
-
key: "
|
|
334
|
+
key: "findUserByNameByRoles",
|
|
335
335
|
|
|
336
|
+
/**
|
|
337
|
+
* No description
|
|
338
|
+
*
|
|
339
|
+
* @tags SecurityService
|
|
340
|
+
* @name FindUserByNameByRoles
|
|
341
|
+
* @operationId SecurityServiceController_FindUserByNameByRoles
|
|
342
|
+
* @summary Get users list with given roles list.
|
|
343
|
+
* @request GET:/security/findUsersWithRoles
|
|
344
|
+
* @response `200` Success
|
|
345
|
+
*/
|
|
346
|
+
value: function findUserByNameByRoles(query) {
|
|
347
|
+
return this.http.get("/security/findUsersWithRoles", query).json();
|
|
348
|
+
}
|
|
336
349
|
/**
|
|
337
350
|
* No description
|
|
338
351
|
*
|
|
339
352
|
* @tags SecurityService
|
|
340
353
|
* @name FindUserByName
|
|
341
354
|
* @operationId SecurityServiceController_FindUserByName
|
|
342
|
-
* @summary Returns the list of users found by username
|
|
355
|
+
* @summary Returns the list of users found by username.
|
|
343
356
|
* @request GET:/security/users
|
|
344
357
|
* @response `200` Success
|
|
345
358
|
*/
|
|
359
|
+
|
|
360
|
+
}, {
|
|
361
|
+
key: "findUserByName",
|
|
346
362
|
value: function findUserByName(query) {
|
|
347
363
|
return this.http.get("/security/users", query).json();
|
|
348
364
|
}
|
|
@@ -1458,6 +1474,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1458
1474
|
value: function setPermissionsBatch(data) {
|
|
1459
1475
|
return this.http.put("/layers", data).then(() => {});
|
|
1460
1476
|
}
|
|
1477
|
+
/**
|
|
1478
|
+
* No description
|
|
1479
|
+
*
|
|
1480
|
+
* @tags Layers
|
|
1481
|
+
* @name DeleteResources
|
|
1482
|
+
* @operationId LayersController_DeleteResources
|
|
1483
|
+
* @summary Bulk delete resources.
|
|
1484
|
+
* @request DELETE:/layers
|
|
1485
|
+
* @response `200` Success
|
|
1486
|
+
*/
|
|
1487
|
+
|
|
1488
|
+
}, {
|
|
1489
|
+
key: "deleteResources",
|
|
1490
|
+
value: function deleteResources(query) {
|
|
1491
|
+
return this.http.delete("/layers", null, query).json();
|
|
1492
|
+
}
|
|
1461
1493
|
/**
|
|
1462
1494
|
* No description
|
|
1463
1495
|
*
|
|
@@ -1815,6 +1847,27 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1815
1847
|
value: function updateFeature(name, data) {
|
|
1816
1848
|
return this.http.patch("/layers/" + name + "/features", data).json();
|
|
1817
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
|
+
}
|
|
1818
1871
|
/**
|
|
1819
1872
|
* No description
|
|
1820
1873
|
*
|
|
@@ -1828,12 +1881,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1828
1881
|
|
|
1829
1882
|
}, {
|
|
1830
1883
|
key: "getById",
|
|
1831
|
-
value: function getById(
|
|
1884
|
+
value: function getById(_ref4) {
|
|
1832
1885
|
let {
|
|
1833
1886
|
name,
|
|
1834
1887
|
id
|
|
1835
|
-
} =
|
|
1836
|
-
query = _objectWithoutPropertiesLoose(
|
|
1888
|
+
} = _ref4,
|
|
1889
|
+
query = _objectWithoutPropertiesLoose(_ref4, ["name", "id"]);
|
|
1837
1890
|
|
|
1838
1891
|
return this.http.get("/layers/" + name + "/features/" + id, query).json();
|
|
1839
1892
|
}
|
|
@@ -1850,12 +1903,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1850
1903
|
|
|
1851
1904
|
}, {
|
|
1852
1905
|
key: "unite",
|
|
1853
|
-
value: function unite(
|
|
1906
|
+
value: function unite(_ref5, data) {
|
|
1854
1907
|
let {
|
|
1855
1908
|
name,
|
|
1856
1909
|
id
|
|
1857
|
-
} =
|
|
1858
|
-
query = _objectWithoutPropertiesLoose(
|
|
1910
|
+
} = _ref5,
|
|
1911
|
+
query = _objectWithoutPropertiesLoose(_ref5, ["name", "id"]);
|
|
1859
1912
|
|
|
1860
1913
|
return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
|
|
1861
1914
|
}
|
|
@@ -1872,12 +1925,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1872
1925
|
|
|
1873
1926
|
}, {
|
|
1874
1927
|
key: "subtract",
|
|
1875
|
-
value: function subtract(
|
|
1928
|
+
value: function subtract(_ref6, data) {
|
|
1876
1929
|
let {
|
|
1877
1930
|
name,
|
|
1878
1931
|
id
|
|
1879
|
-
} =
|
|
1880
|
-
query = _objectWithoutPropertiesLoose(
|
|
1932
|
+
} = _ref6,
|
|
1933
|
+
query = _objectWithoutPropertiesLoose(_ref6, ["name", "id"]);
|
|
1881
1934
|
|
|
1882
1935
|
return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
|
|
1883
1936
|
}
|
|
@@ -1894,14 +1947,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1894
1947
|
|
|
1895
1948
|
}, {
|
|
1896
1949
|
key: "getTilesLayerImage",
|
|
1897
|
-
value: function getTilesLayerImage(
|
|
1950
|
+
value: function getTilesLayerImage(_ref7) {
|
|
1898
1951
|
let {
|
|
1899
1952
|
name,
|
|
1900
1953
|
x,
|
|
1901
1954
|
y,
|
|
1902
1955
|
z
|
|
1903
|
-
} =
|
|
1904
|
-
query = _objectWithoutPropertiesLoose(
|
|
1956
|
+
} = _ref7,
|
|
1957
|
+
query = _objectWithoutPropertiesLoose(_ref7, ["name", "x", "y", "z"]);
|
|
1905
1958
|
|
|
1906
1959
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
|
|
1907
1960
|
}
|
|
@@ -1918,11 +1971,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1918
1971
|
|
|
1919
1972
|
}, {
|
|
1920
1973
|
key: "getLayerImage",
|
|
1921
|
-
value: function getLayerImage(
|
|
1974
|
+
value: function getLayerImage(_ref8) {
|
|
1922
1975
|
let {
|
|
1923
1976
|
name
|
|
1924
|
-
} =
|
|
1925
|
-
query = _objectWithoutPropertiesLoose(
|
|
1977
|
+
} = _ref8,
|
|
1978
|
+
query = _objectWithoutPropertiesLoose(_ref8, ["name"]);
|
|
1926
1979
|
|
|
1927
1980
|
return this.http.createUrl("/layers/" + name + "/export", query);
|
|
1928
1981
|
}
|
|
@@ -1939,11 +1992,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1939
1992
|
|
|
1940
1993
|
}, {
|
|
1941
1994
|
key: "getLayerExtent",
|
|
1942
|
-
value: function getLayerExtent(
|
|
1995
|
+
value: function getLayerExtent(_ref9) {
|
|
1943
1996
|
let {
|
|
1944
1997
|
name
|
|
1945
|
-
} =
|
|
1946
|
-
query = _objectWithoutPropertiesLoose(
|
|
1998
|
+
} = _ref9,
|
|
1999
|
+
query = _objectWithoutPropertiesLoose(_ref9, ["name"]);
|
|
1947
2000
|
|
|
1948
2001
|
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
1949
2002
|
}
|
|
@@ -1960,11 +2013,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1960
2013
|
|
|
1961
2014
|
}, {
|
|
1962
2015
|
key: "getByGeometry",
|
|
1963
|
-
value: function getByGeometry(
|
|
2016
|
+
value: function getByGeometry(_ref10) {
|
|
1964
2017
|
let {
|
|
1965
2018
|
name
|
|
1966
|
-
} =
|
|
1967
|
-
query = _objectWithoutPropertiesLoose(
|
|
2019
|
+
} = _ref10,
|
|
2020
|
+
query = _objectWithoutPropertiesLoose(_ref10, ["name"]);
|
|
1968
2021
|
|
|
1969
2022
|
return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
|
|
1970
2023
|
}
|
|
@@ -1981,11 +2034,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1981
2034
|
|
|
1982
2035
|
}, {
|
|
1983
2036
|
key: "getByGeometryPost",
|
|
1984
|
-
value: function getByGeometryPost(
|
|
2037
|
+
value: function getByGeometryPost(_ref11, data) {
|
|
1985
2038
|
let {
|
|
1986
2039
|
name
|
|
1987
|
-
} =
|
|
1988
|
-
query = _objectWithoutPropertiesLoose(
|
|
2040
|
+
} = _ref11,
|
|
2041
|
+
query = _objectWithoutPropertiesLoose(_ref11, ["name"]);
|
|
1989
2042
|
|
|
1990
2043
|
return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
|
|
1991
2044
|
}
|
|
@@ -2002,11 +2055,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2002
2055
|
|
|
2003
2056
|
}, {
|
|
2004
2057
|
key: "deleteFeatures",
|
|
2005
|
-
value: function deleteFeatures(
|
|
2058
|
+
value: function deleteFeatures(_ref12) {
|
|
2006
2059
|
let {
|
|
2007
2060
|
name
|
|
2008
|
-
} =
|
|
2009
|
-
query = _objectWithoutPropertiesLoose(
|
|
2061
|
+
} = _ref12,
|
|
2062
|
+
query = _objectWithoutPropertiesLoose(_ref12, ["name"]);
|
|
2010
2063
|
|
|
2011
2064
|
return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
|
|
2012
2065
|
}
|
|
@@ -2023,11 +2076,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2023
2076
|
|
|
2024
2077
|
}, {
|
|
2025
2078
|
key: "getByGeometryGet",
|
|
2026
|
-
value: function getByGeometryGet(
|
|
2079
|
+
value: function getByGeometryGet(_ref13) {
|
|
2027
2080
|
let {
|
|
2028
2081
|
name
|
|
2029
|
-
} =
|
|
2030
|
-
query = _objectWithoutPropertiesLoose(
|
|
2082
|
+
} = _ref13,
|
|
2083
|
+
query = _objectWithoutPropertiesLoose(_ref13, ["name"]);
|
|
2031
2084
|
|
|
2032
2085
|
return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
|
|
2033
2086
|
}
|
|
@@ -2044,11 +2097,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2044
2097
|
|
|
2045
2098
|
}, {
|
|
2046
2099
|
key: "classify",
|
|
2047
|
-
value: function classify(
|
|
2100
|
+
value: function classify(_ref14) {
|
|
2048
2101
|
let {
|
|
2049
2102
|
name
|
|
2050
|
-
} =
|
|
2051
|
-
query = _objectWithoutPropertiesLoose(
|
|
2103
|
+
} = _ref14,
|
|
2104
|
+
query = _objectWithoutPropertiesLoose(_ref14, ["name"]);
|
|
2052
2105
|
|
|
2053
2106
|
return this.http.get("/layers/" + name + "/classify", query).json();
|
|
2054
2107
|
}
|
|
@@ -2065,11 +2118,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2065
2118
|
|
|
2066
2119
|
}, {
|
|
2067
2120
|
key: "distincts",
|
|
2068
|
-
value: function distincts(
|
|
2121
|
+
value: function distincts(_ref15) {
|
|
2069
2122
|
let {
|
|
2070
2123
|
name
|
|
2071
|
-
} =
|
|
2072
|
-
query = _objectWithoutPropertiesLoose(
|
|
2124
|
+
} = _ref15,
|
|
2125
|
+
query = _objectWithoutPropertiesLoose(_ref15, ["name"]);
|
|
2073
2126
|
|
|
2074
2127
|
return this.http.get("/layers/" + name + "/distincts", query).json();
|
|
2075
2128
|
}
|
|
@@ -2086,11 +2139,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2086
2139
|
|
|
2087
2140
|
}, {
|
|
2088
2141
|
key: "aggregateAttribute",
|
|
2089
|
-
value: function aggregateAttribute(
|
|
2142
|
+
value: function aggregateAttribute(_ref16) {
|
|
2090
2143
|
let {
|
|
2091
2144
|
name
|
|
2092
|
-
} =
|
|
2093
|
-
query = _objectWithoutPropertiesLoose(
|
|
2145
|
+
} = _ref16,
|
|
2146
|
+
query = _objectWithoutPropertiesLoose(_ref16, ["name"]);
|
|
2094
2147
|
|
|
2095
2148
|
return this.http.get("/layers/" + name + "/aggregate-values", query).json();
|
|
2096
2149
|
}
|
|
@@ -2107,11 +2160,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2107
2160
|
|
|
2108
2161
|
}, {
|
|
2109
2162
|
key: "getFilteredFeaturesCount",
|
|
2110
|
-
value: function getFilteredFeaturesCount(
|
|
2163
|
+
value: function getFilteredFeaturesCount(_ref17) {
|
|
2111
2164
|
let {
|
|
2112
2165
|
name
|
|
2113
|
-
} =
|
|
2114
|
-
query = _objectWithoutPropertiesLoose(
|
|
2166
|
+
} = _ref17,
|
|
2167
|
+
query = _objectWithoutPropertiesLoose(_ref17, ["name"]);
|
|
2115
2168
|
|
|
2116
2169
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
2117
2170
|
}
|
|
@@ -2161,11 +2214,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2161
2214
|
|
|
2162
2215
|
}, {
|
|
2163
2216
|
key: "validateExpression",
|
|
2164
|
-
value: function validateExpression(
|
|
2217
|
+
value: function validateExpression(_ref18) {
|
|
2165
2218
|
let {
|
|
2166
2219
|
layerName
|
|
2167
|
-
} =
|
|
2168
|
-
query = _objectWithoutPropertiesLoose(
|
|
2220
|
+
} = _ref18,
|
|
2221
|
+
query = _objectWithoutPropertiesLoose(_ref18, ["layerName"]);
|
|
2169
2222
|
|
|
2170
2223
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
2171
2224
|
}
|
|
@@ -2484,6 +2537,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2484
2537
|
value: function setPermissionsBatch(data) {
|
|
2485
2538
|
return this.http.put("/tables", data).then(() => {});
|
|
2486
2539
|
}
|
|
2540
|
+
/**
|
|
2541
|
+
* No description
|
|
2542
|
+
*
|
|
2543
|
+
* @tags Tables
|
|
2544
|
+
* @name DeleteResources
|
|
2545
|
+
* @operationId TablesController_DeleteResources
|
|
2546
|
+
* @summary Bulk delete resources.
|
|
2547
|
+
* @request DELETE:/tables
|
|
2548
|
+
* @response `200` Success
|
|
2549
|
+
*/
|
|
2550
|
+
|
|
2551
|
+
}, {
|
|
2552
|
+
key: "deleteResources",
|
|
2553
|
+
value: function deleteResources(query) {
|
|
2554
|
+
return this.http.delete("/tables", null, query).json();
|
|
2555
|
+
}
|
|
2487
2556
|
/**
|
|
2488
2557
|
* No description
|
|
2489
2558
|
*
|
|
@@ -2532,6 +2601,27 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2532
2601
|
value: function getTableInfo(name) {
|
|
2533
2602
|
return this.http.get("/tables/" + name).json();
|
|
2534
2603
|
}
|
|
2604
|
+
/**
|
|
2605
|
+
* No description
|
|
2606
|
+
*
|
|
2607
|
+
* @tags Tables
|
|
2608
|
+
* @name GetTableData
|
|
2609
|
+
* @operationId TablesController_GetTableData
|
|
2610
|
+
* @summary Retrieves the data from the table.
|
|
2611
|
+
* @request GET:/tables/{name}/data
|
|
2612
|
+
* @response `200` Success
|
|
2613
|
+
*/
|
|
2614
|
+
|
|
2615
|
+
}, {
|
|
2616
|
+
key: "getTableData",
|
|
2617
|
+
value: function getTableData(_ref) {
|
|
2618
|
+
let {
|
|
2619
|
+
name
|
|
2620
|
+
} = _ref,
|
|
2621
|
+
query = _objectWithoutPropertiesLoose(_ref, ["name"]);
|
|
2622
|
+
|
|
2623
|
+
return this.http.get("/tables/" + name + "/data", query).json();
|
|
2624
|
+
}
|
|
2535
2625
|
/**
|
|
2536
2626
|
* No description
|
|
2537
2627
|
*
|
|
@@ -2545,11 +2635,11 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2545
2635
|
|
|
2546
2636
|
}, {
|
|
2547
2637
|
key: "updateTableData",
|
|
2548
|
-
value: function updateTableData(
|
|
2638
|
+
value: function updateTableData(_ref2, data) {
|
|
2549
2639
|
let {
|
|
2550
2640
|
name
|
|
2551
|
-
} =
|
|
2552
|
-
query = _objectWithoutPropertiesLoose(
|
|
2641
|
+
} = _ref2,
|
|
2642
|
+
query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
|
|
2553
2643
|
|
|
2554
2644
|
return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
|
|
2555
2645
|
}
|
|
@@ -2566,11 +2656,11 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2566
2656
|
|
|
2567
2657
|
}, {
|
|
2568
2658
|
key: "deleteTableData",
|
|
2569
|
-
value: function deleteTableData(
|
|
2659
|
+
value: function deleteTableData(_ref3) {
|
|
2570
2660
|
let {
|
|
2571
2661
|
name
|
|
2572
|
-
} =
|
|
2573
|
-
query = _objectWithoutPropertiesLoose(
|
|
2662
|
+
} = _ref3,
|
|
2663
|
+
query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
|
|
2574
2664
|
|
|
2575
2665
|
return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
|
|
2576
2666
|
}
|
|
@@ -2587,11 +2677,11 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2587
2677
|
|
|
2588
2678
|
}, {
|
|
2589
2679
|
key: "getUniqueDataRows",
|
|
2590
|
-
value: function getUniqueDataRows(
|
|
2680
|
+
value: function getUniqueDataRows(_ref4) {
|
|
2591
2681
|
let {
|
|
2592
2682
|
name
|
|
2593
|
-
} =
|
|
2594
|
-
query = _objectWithoutPropertiesLoose(
|
|
2683
|
+
} = _ref4,
|
|
2684
|
+
query = _objectWithoutPropertiesLoose(_ref4, ["name"]);
|
|
2595
2685
|
|
|
2596
2686
|
return this.http.get("/tables/" + name + "/data/unique-values", query).json();
|
|
2597
2687
|
}
|
|
@@ -2949,6 +3039,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
2949
3039
|
value: function setPermissionsBatch(data) {
|
|
2950
3040
|
return this.http.put("/projects", data).then(() => {});
|
|
2951
3041
|
}
|
|
3042
|
+
/**
|
|
3043
|
+
* No description
|
|
3044
|
+
*
|
|
3045
|
+
* @tags Projects
|
|
3046
|
+
* @name DeleteResources
|
|
3047
|
+
* @operationId ProjectsController_DeleteResources
|
|
3048
|
+
* @summary Bulk delete resources.
|
|
3049
|
+
* @request DELETE:/projects
|
|
3050
|
+
* @response `200` Success
|
|
3051
|
+
*/
|
|
3052
|
+
|
|
3053
|
+
}, {
|
|
3054
|
+
key: "deleteResources",
|
|
3055
|
+
value: function deleteResources(query) {
|
|
3056
|
+
return this.http.delete("/projects", null, query).json();
|
|
3057
|
+
}
|
|
2952
3058
|
/**
|
|
2953
3059
|
* No description
|
|
2954
3060
|
*
|
|
@@ -6132,6 +6238,74 @@ let Names = /*#__PURE__*/function () {
|
|
|
6132
6238
|
return Names;
|
|
6133
6239
|
}();
|
|
6134
6240
|
|
|
6241
|
+
/**
|
|
6242
|
+
* @title Spatial Processing Core API
|
|
6243
|
+
* @version v0.6.0
|
|
6244
|
+
* @baseUrl /sp
|
|
6245
|
+
*/
|
|
6246
|
+
|
|
6247
|
+
let IceRouterService = /*#__PURE__*/function (_Service) {
|
|
6248
|
+
_inherits(IceRouterService, _Service);
|
|
6249
|
+
|
|
6250
|
+
var _super = /*#__PURE__*/_createSuper(IceRouterService);
|
|
6251
|
+
|
|
6252
|
+
function IceRouterService() {
|
|
6253
|
+
_classCallCheck(this, IceRouterService);
|
|
6254
|
+
|
|
6255
|
+
return _super.apply(this, arguments);
|
|
6256
|
+
}
|
|
6257
|
+
|
|
6258
|
+
_createClass(IceRouterService, [{
|
|
6259
|
+
key: "startTask",
|
|
6260
|
+
|
|
6261
|
+
/**
|
|
6262
|
+
* No description
|
|
6263
|
+
*
|
|
6264
|
+
* @tags IceRouter
|
|
6265
|
+
* @name StartTask
|
|
6266
|
+
* @operationId IceRouterController_StartTask
|
|
6267
|
+
* @summary Start route build between start and end points.
|
|
6268
|
+
* @request POST:/ice-router/tasks
|
|
6269
|
+
* @response `200` Success
|
|
6270
|
+
*/
|
|
6271
|
+
value: function startTask(data) {
|
|
6272
|
+
return this.http.post("/ice-router/tasks", data).text();
|
|
6273
|
+
}
|
|
6274
|
+
/**
|
|
6275
|
+
* No description
|
|
6276
|
+
*
|
|
6277
|
+
* @tags IceRouter
|
|
6278
|
+
* @name GetResult
|
|
6279
|
+
* @operationId IceRouterController_GetResult
|
|
6280
|
+
* @summary Get task result.
|
|
6281
|
+
* @request GET:/ice-router/tasks/{id}
|
|
6282
|
+
* @response `200` Success
|
|
6283
|
+
*/
|
|
6284
|
+
|
|
6285
|
+
}, {
|
|
6286
|
+
key: "getResult",
|
|
6287
|
+
value: function getResult(id) {
|
|
6288
|
+
return this.http.get("/ice-router/tasks/" + id).json();
|
|
6289
|
+
}
|
|
6290
|
+
}]);
|
|
6291
|
+
|
|
6292
|
+
return IceRouterService;
|
|
6293
|
+
}(Service);
|
|
6294
|
+
|
|
6295
|
+
let IceRouter = /*#__PURE__*/function (_IceRouterService) {
|
|
6296
|
+
_inherits(IceRouter, _IceRouterService);
|
|
6297
|
+
|
|
6298
|
+
var _super = /*#__PURE__*/_createSuper(IceRouter);
|
|
6299
|
+
|
|
6300
|
+
function IceRouter() {
|
|
6301
|
+
_classCallCheck(this, IceRouter);
|
|
6302
|
+
|
|
6303
|
+
return _super.apply(this, arguments);
|
|
6304
|
+
}
|
|
6305
|
+
|
|
6306
|
+
return IceRouter;
|
|
6307
|
+
}(IceRouterService);
|
|
6308
|
+
|
|
6135
6309
|
/**
|
|
6136
6310
|
* @title Spatial Processing Core API
|
|
6137
6311
|
* @version v0.6.0
|
|
@@ -6347,6 +6521,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6347
6521
|
_this.namespace = new Namespace(_this.http);
|
|
6348
6522
|
_this.external = new External(_this.http);
|
|
6349
6523
|
_this.clientSettings = new ClientSettings(_this.http);
|
|
6524
|
+
_this.iceRouter = new IceRouter(_this.http);
|
|
6350
6525
|
_this.names = new Names({
|
|
6351
6526
|
account: _this.account
|
|
6352
6527
|
});
|
|
@@ -6981,6 +7156,8 @@ InvalidLayerType
|
|
|
6981
7156
|
ColumnLoadingError
|
|
6982
7157
|
|
|
6983
7158
|
InvalidAttributeFormat
|
|
7159
|
+
|
|
7160
|
+
DataSourceNotFound
|
|
6984
7161
|
*/
|
|
6985
7162
|
|
|
6986
7163
|
|
|
@@ -7006,6 +7183,7 @@ var ConfigurationErrorEnum;
|
|
|
7006
7183
|
ConfigurationErrorEnum["InvalidLayerType"] = "InvalidLayerType";
|
|
7007
7184
|
ConfigurationErrorEnum["ColumnLoadingError"] = "ColumnLoadingError";
|
|
7008
7185
|
ConfigurationErrorEnum["InvalidAttributeFormat"] = "InvalidAttributeFormat";
|
|
7186
|
+
ConfigurationErrorEnum["DataSourceNotFound"] = "DataSourceNotFound";
|
|
7009
7187
|
})(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
|
|
7010
7188
|
/**
|
|
7011
7189
|
* Specifies display element type.
|
|
@@ -7607,5 +7785,5 @@ var ToolStorageType;
|
|
|
7607
7785
|
ToolStorageType["LayersStorage"] = "layersStorage";
|
|
7608
7786
|
})(ToolStorageType || (ToolStorageType = {}));
|
|
7609
7787
|
|
|
7610
|
-
export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, BulkOperations, ClassificationType, ClientSettings, CombineType, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ElementType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, HttpClient, HttpStatusCode, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, ToolStatus, ToolStorageType, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
7788
|
+
export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, BulkOperations, ClassificationType, ClientSettings, CombineType, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ElementType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, HttpClient, HttpStatusCode, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, ToolStatus, ToolStorageType, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
7611
7789
|
//# sourceMappingURL=api.esm.js.map
|