@evergis/api 3.0.56 → 3.0.57

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.esm.js CHANGED
@@ -185,11 +185,11 @@ function _get(target, property, receiver) {
185
185
  * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
186
186
  * ---------------------------------------------------------------
187
187
  */
188
- let Service = function Service(http) {
188
+ let Service = /*#__PURE__*/_createClass(function Service(http) {
189
189
  _classCallCheck(this, Service);
190
190
 
191
191
  this.http = http;
192
- };
192
+ });
193
193
 
194
194
  /**
195
195
  * @title Spatial Processing Core API
@@ -210,7 +210,7 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
210
210
 
211
211
  _createClass(BulkOperationsService, [{
212
212
  key: "batchUpdateCatalogResources",
213
-
213
+ value:
214
214
  /**
215
215
  * No description
216
216
  *
@@ -221,7 +221,7 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
221
221
  * @request PUT:/bulk/catalog/updateResources
222
222
  * @response `200` Success
223
223
  */
224
- value: function batchUpdateCatalogResources(data) {
224
+ function batchUpdateCatalogResources(data) {
225
225
  return this.http.put("/bulk/catalog/updateResources", data).json();
226
226
  }
227
227
  /**
@@ -332,7 +332,7 @@ let SecurityService = /*#__PURE__*/function (_Service) {
332
332
 
333
333
  _createClass(SecurityService, [{
334
334
  key: "findUserByNameByRoles",
335
-
335
+ value:
336
336
  /**
337
337
  * No description
338
338
  *
@@ -343,7 +343,7 @@ let SecurityService = /*#__PURE__*/function (_Service) {
343
343
  * @request GET:/security/findUsersWithRoles
344
344
  * @response `200` Success
345
345
  */
346
- value: function findUserByNameByRoles(query) {
346
+ function findUserByNameByRoles(query) {
347
347
  return this.http.get("/security/findUsersWithRoles", query).json();
348
348
  }
349
349
  /**
@@ -576,7 +576,7 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
576
576
 
577
577
  _createClass(StaticContentService, [{
578
578
  key: "downloadFile",
579
-
579
+ value:
580
580
  /**
581
581
  * No description
582
582
  *
@@ -587,7 +587,7 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
587
587
  * @request GET:/upload/file
588
588
  * @response `200` Success
589
589
  */
590
- value: function downloadFile(query) {
590
+ function downloadFile(query) {
591
591
  return this.http.get("/upload/file", query).blob();
592
592
  }
593
593
  /**
@@ -670,7 +670,7 @@ let ImportService = /*#__PURE__*/function (_Service) {
670
670
 
671
671
  _createClass(ImportService, [{
672
672
  key: "getDataSchema",
673
-
673
+ value:
674
674
  /**
675
675
  * No description
676
676
  *
@@ -681,7 +681,7 @@ let ImportService = /*#__PURE__*/function (_Service) {
681
681
  * @request GET:/import/dataSchema
682
682
  * @response `200` Success
683
683
  */
684
- value: function getDataSchema(query) {
684
+ function getDataSchema(query) {
685
685
  return this.http.get("/import/dataSchema", query).json();
686
686
  }
687
687
  /**
@@ -748,7 +748,7 @@ let Import = /*#__PURE__*/function (_ImportService) {
748
748
  return _super.apply(this, arguments);
749
749
  }
750
750
 
751
- return Import;
751
+ return _createClass(Import);
752
752
  }(ImportService);
753
753
 
754
754
  /**
@@ -770,7 +770,7 @@ let NotificationService = /*#__PURE__*/function (_Service) {
770
770
 
771
771
  _createClass(NotificationService, [{
772
772
  key: "getSubscriptionList",
773
-
773
+ value:
774
774
  /**
775
775
  * No description
776
776
  *
@@ -781,7 +781,7 @@ let NotificationService = /*#__PURE__*/function (_Service) {
781
781
  * @request GET:/notifications/subscribes
782
782
  * @response `200` Success
783
783
  */
784
- value: function getSubscriptionList() {
784
+ function getSubscriptionList() {
785
785
  return this.http.get("/notifications/subscribes").json();
786
786
  }
787
787
  /**
@@ -935,6 +935,18 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
935
935
 
936
936
 
937
937
  _createClass(Notification, [{
938
+ key: "connectStatus",
939
+ get: function get() {
940
+ return this._connectStatus;
941
+ } // @ts-ignore
942
+ ,
943
+ set: function set(connectStatus) {
944
+ this.emitter.emit("ConnectionStatus"
945
+ /* ConnectionStatus */
946
+ , new NotificationEvent(connectStatus));
947
+ this._connectStatus = connectStatus;
948
+ }
949
+ }, {
938
950
  key: "on",
939
951
  value: function on(tag, handler) {
940
952
  this.emitter.on(tag, handler);
@@ -986,27 +998,15 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
986
998
  console.warn('Connection to WebSocket not allowed. wsUrl not provided');
987
999
  }
988
1000
  }
989
- }, {
990
- key: "connectStatus",
991
- get: function get() {
992
- return this._connectStatus;
993
- } // @ts-ignore
994
- ,
995
- set: function set(connectStatus) {
996
- this.emitter.emit("ConnectionStatus"
997
- /* ConnectionStatus */
998
- , new NotificationEvent(connectStatus));
999
- this._connectStatus = connectStatus;
1000
- }
1001
1001
  }]);
1002
1002
 
1003
1003
  return Notification;
1004
1004
  }(NotificationService);
1005
- let NotificationEvent = function NotificationEvent(data) {
1005
+ let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(data) {
1006
1006
  _classCallCheck(this, NotificationEvent);
1007
1007
 
1008
1008
  this.data = data;
1009
- };
1009
+ });
1010
1010
 
1011
1011
  /**
1012
1012
  * @title Spatial Processing Core API
@@ -1027,7 +1027,7 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
1027
1027
 
1028
1028
  _createClass(SchedulerService, [{
1029
1029
  key: "getTaskList",
1030
-
1030
+ value:
1031
1031
  /**
1032
1032
  * No description
1033
1033
  *
@@ -1038,7 +1038,7 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
1038
1038
  * @request GET:/scheduler/tasks
1039
1039
  * @response `200` Success
1040
1040
  */
1041
- value: function getTaskList(query) {
1041
+ function getTaskList(query) {
1042
1042
  return this.http.get("/scheduler/tasks", query).json();
1043
1043
  }
1044
1044
  /**
@@ -1441,6 +1441,24 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1441
1441
  return Scheduler;
1442
1442
  }(SchedulerService);
1443
1443
 
1444
+ const _excluded = ["name"],
1445
+ _excluded2 = ["name"],
1446
+ _excluded3 = ["name"],
1447
+ _excluded4 = ["name", "id"],
1448
+ _excluded5 = ["name", "id"],
1449
+ _excluded6 = ["name", "id"],
1450
+ _excluded7 = ["name", "x", "y", "z"],
1451
+ _excluded8 = ["name"],
1452
+ _excluded9 = ["name"],
1453
+ _excluded10 = ["name"],
1454
+ _excluded11 = ["name"],
1455
+ _excluded12 = ["name"],
1456
+ _excluded13 = ["name"],
1457
+ _excluded14 = ["name"],
1458
+ _excluded15 = ["name"],
1459
+ _excluded16 = ["name"],
1460
+ _excluded17 = ["name"],
1461
+ _excluded18 = ["layerName"];
1444
1462
  /**
1445
1463
  * @title Spatial Processing Core API
1446
1464
  * @version v0.6.0
@@ -1460,7 +1478,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1460
1478
 
1461
1479
  _createClass(LayersService, [{
1462
1480
  key: "getLayersList",
1463
-
1481
+ value:
1464
1482
  /**
1465
1483
  * No description
1466
1484
  *
@@ -1471,7 +1489,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1471
1489
  * @request GET:/layers
1472
1490
  * @response `200` Success
1473
1491
  */
1474
- value: function getLayersList(query) {
1492
+ function getLayersList(query) {
1475
1493
  return this.http.get("/layers", query).json();
1476
1494
  }
1477
1495
  /**
@@ -1806,7 +1824,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1806
1824
  let {
1807
1825
  name
1808
1826
  } = _ref,
1809
- query = _objectWithoutPropertiesLoose(_ref, ["name"]);
1827
+ query = _objectWithoutPropertiesLoose(_ref, _excluded);
1810
1828
 
1811
1829
  return this.http.get("/layers/" + name + "/features", query).json();
1812
1830
  }
@@ -1827,7 +1845,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1827
1845
  let {
1828
1846
  name
1829
1847
  } = _ref2,
1830
- query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
1848
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
1831
1849
 
1832
1850
  return this.http.delete("/layers/" + name + "/features", null, query).json();
1833
1851
  }
@@ -1880,7 +1898,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1880
1898
  let {
1881
1899
  name
1882
1900
  } = _ref3,
1883
- query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
1901
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
1884
1902
 
1885
1903
  return this.http.get("/layers/" + name + "/features/contains", query).json();
1886
1904
  }
@@ -1902,7 +1920,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1902
1920
  name,
1903
1921
  id
1904
1922
  } = _ref4,
1905
- query = _objectWithoutPropertiesLoose(_ref4, ["name", "id"]);
1923
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
1906
1924
 
1907
1925
  return this.http.get("/layers/" + name + "/features/" + id, query).json();
1908
1926
  }
@@ -1924,7 +1942,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1924
1942
  name,
1925
1943
  id
1926
1944
  } = _ref5,
1927
- query = _objectWithoutPropertiesLoose(_ref5, ["name", "id"]);
1945
+ query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
1928
1946
 
1929
1947
  return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
1930
1948
  }
@@ -1946,7 +1964,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1946
1964
  name,
1947
1965
  id
1948
1966
  } = _ref6,
1949
- query = _objectWithoutPropertiesLoose(_ref6, ["name", "id"]);
1967
+ query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
1950
1968
 
1951
1969
  return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
1952
1970
  }
@@ -1970,7 +1988,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1970
1988
  y,
1971
1989
  z
1972
1990
  } = _ref7,
1973
- query = _objectWithoutPropertiesLoose(_ref7, ["name", "x", "y", "z"]);
1991
+ query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
1974
1992
 
1975
1993
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
1976
1994
  }
@@ -1991,7 +2009,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1991
2009
  let {
1992
2010
  name
1993
2011
  } = _ref8,
1994
- query = _objectWithoutPropertiesLoose(_ref8, ["name"]);
2012
+ query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
1995
2013
 
1996
2014
  return this.http.createUrl("/layers/" + name + "/export", query);
1997
2015
  }
@@ -2012,7 +2030,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2012
2030
  let {
2013
2031
  name
2014
2032
  } = _ref9,
2015
- query = _objectWithoutPropertiesLoose(_ref9, ["name"]);
2033
+ query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
2016
2034
 
2017
2035
  return this.http.get("/layers/" + name + "/extent", query).json();
2018
2036
  }
@@ -2033,7 +2051,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2033
2051
  let {
2034
2052
  name
2035
2053
  } = _ref10,
2036
- query = _objectWithoutPropertiesLoose(_ref10, ["name"]);
2054
+ query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
2037
2055
 
2038
2056
  return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
2039
2057
  }
@@ -2054,7 +2072,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2054
2072
  let {
2055
2073
  name
2056
2074
  } = _ref11,
2057
- query = _objectWithoutPropertiesLoose(_ref11, ["name"]);
2075
+ query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
2058
2076
 
2059
2077
  return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
2060
2078
  }
@@ -2075,7 +2093,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2075
2093
  let {
2076
2094
  name
2077
2095
  } = _ref12,
2078
- query = _objectWithoutPropertiesLoose(_ref12, ["name"]);
2096
+ query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
2079
2097
 
2080
2098
  return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
2081
2099
  }
@@ -2096,7 +2114,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2096
2114
  let {
2097
2115
  name
2098
2116
  } = _ref13,
2099
- query = _objectWithoutPropertiesLoose(_ref13, ["name"]);
2117
+ query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
2100
2118
 
2101
2119
  return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
2102
2120
  }
@@ -2117,7 +2135,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2117
2135
  let {
2118
2136
  name
2119
2137
  } = _ref14,
2120
- query = _objectWithoutPropertiesLoose(_ref14, ["name"]);
2138
+ query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
2121
2139
 
2122
2140
  return this.http.get("/layers/" + name + "/classify", query).json();
2123
2141
  }
@@ -2138,7 +2156,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2138
2156
  let {
2139
2157
  name
2140
2158
  } = _ref15,
2141
- query = _objectWithoutPropertiesLoose(_ref15, ["name"]);
2159
+ query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
2142
2160
 
2143
2161
  return this.http.get("/layers/" + name + "/distincts", query).json();
2144
2162
  }
@@ -2159,7 +2177,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2159
2177
  let {
2160
2178
  name
2161
2179
  } = _ref16,
2162
- query = _objectWithoutPropertiesLoose(_ref16, ["name"]);
2180
+ query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
2163
2181
 
2164
2182
  return this.http.get("/layers/" + name + "/aggregate-values", query).json();
2165
2183
  }
@@ -2180,7 +2198,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2180
2198
  let {
2181
2199
  name
2182
2200
  } = _ref17,
2183
- query = _objectWithoutPropertiesLoose(_ref17, ["name"]);
2201
+ query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
2184
2202
 
2185
2203
  return this.http.get("/layers/" + name + "/features/count", query).json();
2186
2204
  }
@@ -2234,7 +2252,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2234
2252
  let {
2235
2253
  layerName
2236
2254
  } = _ref18,
2237
- query = _objectWithoutPropertiesLoose(_ref18, ["layerName"]);
2255
+ query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
2238
2256
 
2239
2257
  return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
2240
2258
  }
@@ -2400,6 +2418,7 @@ function notError(v) {
2400
2418
  return !isError(v);
2401
2419
  }
2402
2420
 
2421
+ const _excluded$1 = ["remote"];
2403
2422
  let Layers = /*#__PURE__*/function (_LayersService) {
2404
2423
  _inherits(Layers, _LayersService);
2405
2424
 
@@ -2439,7 +2458,7 @@ let Layers = /*#__PURE__*/function (_LayersService) {
2439
2458
  let {
2440
2459
  remote
2441
2460
  } = _ref,
2442
- configuration = _objectWithoutPropertiesLoose(_ref, ["remote"]);
2461
+ configuration = _objectWithoutPropertiesLoose(_ref, _excluded$1);
2443
2462
 
2444
2463
  if (remote) {
2445
2464
  return this.publishRemoteTileService(configuration);
@@ -2488,6 +2507,10 @@ function isTileLayerService(layer) {
2488
2507
  return layer.type && /TileService/.test(layer.type);
2489
2508
  }
2490
2509
 
2510
+ const _excluded$2 = ["name"],
2511
+ _excluded2$1 = ["name"],
2512
+ _excluded3$1 = ["name"],
2513
+ _excluded4$1 = ["name"];
2491
2514
  /**
2492
2515
  * @title Spatial Processing Core API
2493
2516
  * @version v0.6.0
@@ -2507,7 +2530,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2507
2530
 
2508
2531
  _createClass(TablesService, [{
2509
2532
  key: "getTableList",
2510
-
2533
+ value:
2511
2534
  /**
2512
2535
  * No description
2513
2536
  *
@@ -2518,7 +2541,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2518
2541
  * @request GET:/tables
2519
2542
  * @response `200` Success
2520
2543
  */
2521
- value: function getTableList(query) {
2544
+ function getTableList(query) {
2522
2545
  return this.http.get("/tables", query).json();
2523
2546
  }
2524
2547
  /**
@@ -2634,7 +2657,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2634
2657
  let {
2635
2658
  name
2636
2659
  } = _ref,
2637
- query = _objectWithoutPropertiesLoose(_ref, ["name"]);
2660
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$2);
2638
2661
 
2639
2662
  return this.http.get("/tables/" + name + "/data", query).json();
2640
2663
  }
@@ -2655,7 +2678,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2655
2678
  let {
2656
2679
  name
2657
2680
  } = _ref2,
2658
- query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
2681
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
2659
2682
 
2660
2683
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
2661
2684
  }
@@ -2676,7 +2699,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2676
2699
  let {
2677
2700
  name
2678
2701
  } = _ref3,
2679
- query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
2702
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
2680
2703
 
2681
2704
  return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
2682
2705
  }
@@ -2697,7 +2720,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2697
2720
  let {
2698
2721
  name
2699
2722
  } = _ref4,
2700
- query = _objectWithoutPropertiesLoose(_ref4, ["name"]);
2723
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
2701
2724
 
2702
2725
  return this.http.get("/tables/" + name + "/data/unique-values", query).json();
2703
2726
  }
@@ -2993,7 +3016,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
2993
3016
 
2994
3017
  _createClass(ProjectsService, [{
2995
3018
  key: "getProjectLayersExtendedInfo",
2996
-
3019
+ value:
2997
3020
  /**
2998
3021
  * No description
2999
3022
  *
@@ -3004,7 +3027,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
3004
3027
  * @request GET:/projects/{name}/extended-info
3005
3028
  * @response `200` Success
3006
3029
  */
3007
- value: function getProjectLayersExtendedInfo(name) {
3030
+ function getProjectLayersExtendedInfo(name) {
3008
3031
  return this.http.get("/projects/" + name + "/extended-info").json();
3009
3032
  }
3010
3033
  /**
@@ -3486,7 +3509,7 @@ let StyleService = /*#__PURE__*/function (_Service) {
3486
3509
 
3487
3510
  _createClass(StyleService, [{
3488
3511
  key: "getStyle",
3489
-
3512
+ value:
3490
3513
  /**
3491
3514
  * No description
3492
3515
  *
@@ -3497,7 +3520,7 @@ let StyleService = /*#__PURE__*/function (_Service) {
3497
3520
  * @request GET:/styles/{id}
3498
3521
  * @response `200` Success
3499
3522
  */
3500
- value: function getStyle(id) {
3523
+ function getStyle(id) {
3501
3524
  return this.http.get("/styles/" + id).json();
3502
3525
  }
3503
3526
  /**
@@ -3564,9 +3587,12 @@ let Styles = /*#__PURE__*/function (_StyleService) {
3564
3587
  return _super.apply(this, arguments);
3565
3588
  }
3566
3589
 
3567
- return Styles;
3590
+ return _createClass(Styles);
3568
3591
  }(StyleService);
3569
3592
 
3593
+ const _excluded$3 = ["providerName"],
3594
+ _excluded2$2 = ["providerName"],
3595
+ _excluded3$2 = ["providerName"];
3570
3596
  /**
3571
3597
  * @title Spatial Processing Core API
3572
3598
  * @version v0.6.0
@@ -3586,7 +3612,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3586
3612
 
3587
3613
  _createClass(GeocodeService, [{
3588
3614
  key: "geocode",
3589
-
3615
+ value:
3590
3616
  /**
3591
3617
  * No description
3592
3618
  *
@@ -3597,11 +3623,11 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3597
3623
  * @request GET:/geocode/{providerName}
3598
3624
  * @response `200` Success
3599
3625
  */
3600
- value: function geocode(_ref) {
3626
+ function geocode(_ref) {
3601
3627
  let {
3602
3628
  providerName
3603
3629
  } = _ref,
3604
- query = _objectWithoutPropertiesLoose(_ref, ["providerName"]);
3630
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
3605
3631
 
3606
3632
  return this.http.get("/geocode/" + providerName, query).json();
3607
3633
  }
@@ -3622,7 +3648,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3622
3648
  let {
3623
3649
  providerName
3624
3650
  } = _ref2,
3625
- query = _objectWithoutPropertiesLoose(_ref2, ["providerName"]);
3651
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
3626
3652
 
3627
3653
  return this.http.get("/geocode/" + providerName + "/geocodeByPoint", query).json();
3628
3654
  }
@@ -3643,7 +3669,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3643
3669
  let {
3644
3670
  providerName
3645
3671
  } = _ref3,
3646
- query = _objectWithoutPropertiesLoose(_ref3, ["providerName"]);
3672
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
3647
3673
 
3648
3674
  return this.http.get("/geocode/" + providerName + "/suggest", query).json();
3649
3675
  }
@@ -3683,6 +3709,7 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
3683
3709
  return Geocode;
3684
3710
  }(GeocodeService);
3685
3711
 
3712
+ const _excluded$4 = ["resourceType"];
3686
3713
  /**
3687
3714
  * @title Spatial Processing Core API
3688
3715
  * @version v0.6.0
@@ -3702,7 +3729,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3702
3729
 
3703
3730
  _createClass(ResourceCatalogService, [{
3704
3731
  key: "getProjects",
3705
-
3732
+ value:
3706
3733
  /**
3707
3734
  * No description
3708
3735
  *
@@ -3713,7 +3740,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3713
3740
  * @request GET:/resources/projects
3714
3741
  * @response `200` Success
3715
3742
  */
3716
- value: function getProjects(query) {
3743
+ function getProjects(query) {
3717
3744
  return this.http.get("/resources/projects", query).json();
3718
3745
  }
3719
3746
  /**
@@ -3893,7 +3920,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3893
3920
  let {
3894
3921
  resourceType
3895
3922
  } = _ref,
3896
- query = _objectWithoutPropertiesLoose(_ref, ["resourceType"]);
3923
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
3897
3924
 
3898
3925
  return this.http.delete("/resources/" + resourceType, null, query).then(() => {});
3899
3926
  }
@@ -3945,9 +3972,11 @@ let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
3945
3972
  return _super.apply(this, arguments);
3946
3973
  }
3947
3974
 
3948
- return ResourceCatalog;
3975
+ return _createClass(ResourceCatalog);
3949
3976
  }(ResourceCatalogService);
3950
3977
 
3978
+ const _excluded$5 = ["name"],
3979
+ _excluded2$3 = ["name"];
3951
3980
  /**
3952
3981
  * @title Spatial Processing Core API
3953
3982
  * @version v0.6.0
@@ -3967,7 +3996,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
3967
3996
 
3968
3997
  _createClass(ToolsService, [{
3969
3998
  key: "getTools",
3970
-
3999
+ value:
3971
4000
  /**
3972
4001
  * No description
3973
4002
  *
@@ -3978,7 +4007,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
3978
4007
  * @request GET:/tools
3979
4008
  * @response `200` Success
3980
4009
  */
3981
- value: function getTools(query) {
4010
+ function getTools(query) {
3982
4011
  return this.http.get("/tools", query).json();
3983
4012
  }
3984
4013
  /**
@@ -4336,7 +4365,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
4336
4365
  let {
4337
4366
  name
4338
4367
  } = _ref,
4339
- query = _objectWithoutPropertiesLoose(_ref, ["name"]);
4368
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
4340
4369
 
4341
4370
  return this.http.post("/tools/" + name + "/evaluate", data, query).json();
4342
4371
  }
@@ -4358,7 +4387,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
4358
4387
  let {
4359
4388
  name
4360
4389
  } = _ref2,
4361
- query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
4390
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
4362
4391
 
4363
4392
  return this.http.post("/tools/" + name + "/run", data, query).json();
4364
4393
  }
@@ -4442,7 +4471,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
4442
4471
  return _super.apply(this, arguments);
4443
4472
  }
4444
4473
 
4445
- return Tools;
4474
+ return _createClass(Tools);
4446
4475
  }(ToolsService);
4447
4476
 
4448
4477
  /**
@@ -4464,7 +4493,7 @@ let GeneralService = /*#__PURE__*/function (_Service) {
4464
4493
 
4465
4494
  _createClass(GeneralService, [{
4466
4495
  key: "getServerInfo",
4467
-
4496
+ value:
4468
4497
  /**
4469
4498
  * No description
4470
4499
  *
@@ -4475,7 +4504,7 @@ let GeneralService = /*#__PURE__*/function (_Service) {
4475
4504
  * @request GET:/
4476
4505
  * @response `200` Success
4477
4506
  */
4478
- value: function getServerInfo() {
4507
+ function getServerInfo() {
4479
4508
  return this.http.get("/").json();
4480
4509
  }
4481
4510
  /**
@@ -4526,7 +4555,7 @@ let General = /*#__PURE__*/function (_GeneralService) {
4526
4555
  return _super.apply(this, arguments);
4527
4556
  }
4528
4557
 
4529
- return General;
4558
+ return _createClass(General);
4530
4559
  }(GeneralService);
4531
4560
 
4532
4561
  /**
@@ -4548,7 +4577,7 @@ let NamespaceService = /*#__PURE__*/function (_Service) {
4548
4577
 
4549
4578
  _createClass(NamespaceService, [{
4550
4579
  key: "getNamespaces",
4551
-
4580
+ value:
4552
4581
  /**
4553
4582
  * No description
4554
4583
  *
@@ -4559,7 +4588,7 @@ let NamespaceService = /*#__PURE__*/function (_Service) {
4559
4588
  * @request GET:/namespaces
4560
4589
  * @response `200` Success
4561
4590
  */
4562
- value: function getNamespaces(query) {
4591
+ function getNamespaces(query) {
4563
4592
  return this.http.get("/namespaces", query).json();
4564
4593
  }
4565
4594
  /**
@@ -4626,7 +4655,7 @@ let Namespace = /*#__PURE__*/function (_NamespaceService) {
4626
4655
  return _super.apply(this, arguments);
4627
4656
  }
4628
4657
 
4629
- return Namespace;
4658
+ return _createClass(Namespace);
4630
4659
  }(NamespaceService);
4631
4660
 
4632
4661
  /**
@@ -4648,7 +4677,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
4648
4677
 
4649
4678
  _createClass(AccountService, [{
4650
4679
  key: "getUsers",
4651
-
4680
+ value:
4652
4681
  /**
4653
4682
  * No description
4654
4683
  *
@@ -4659,7 +4688,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
4659
4688
  * @request GET:/account/user/list
4660
4689
  * @response `200` Success
4661
4690
  */
4662
- value: function getUsers(query) {
4691
+ function getUsers(query) {
4663
4692
  return this.http.get("/account/user/list", query).json();
4664
4693
  }
4665
4694
  /**
@@ -5230,6 +5259,13 @@ let Account = /*#__PURE__*/function (_AccountService) {
5230
5259
  this.userInfo = await this.getUserInfo('');
5231
5260
  return this.userInfo;
5232
5261
  }
5262
+ }, {
5263
+ key: "username",
5264
+ get: function get() {
5265
+ var _this$userInfo;
5266
+
5267
+ return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
5268
+ }
5233
5269
  }, {
5234
5270
  key: "logout",
5235
5271
  value: async function logout() {
@@ -5253,19 +5289,12 @@ let Account = /*#__PURE__*/function (_AccountService) {
5253
5289
  password
5254
5290
  });
5255
5291
  }
5256
- }, {
5257
- key: "username",
5258
- get: function get() {
5259
- var _this$userInfo;
5260
-
5261
- return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
5262
- }
5263
5292
  }, {
5264
5293
  key: "isAuth",
5265
5294
  get: function get() {
5266
5295
  var _this$userInfo2;
5267
5296
 
5268
- return !!((_this$userInfo2 = this.userInfo) == null ? void 0 : _this$userInfo2.username) && this.userInfo.username !== 'public';
5297
+ return !!((_this$userInfo2 = this.userInfo) != null && _this$userInfo2.username) && this.userInfo.username !== 'public';
5269
5298
  }
5270
5299
  }, {
5271
5300
  key: "user",
@@ -5306,7 +5335,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
5306
5335
 
5307
5336
  _createClass(AccountPreviewService, [{
5308
5337
  key: "getPreview",
5309
-
5338
+ value:
5310
5339
  /**
5311
5340
  * No description
5312
5341
  *
@@ -5317,7 +5346,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
5317
5346
  * @request GET:/account/user/{username}/preview
5318
5347
  * @response `200` Success
5319
5348
  */
5320
- value: function getPreview(username) {
5349
+ function getPreview(username) {
5321
5350
  return this.http.createUrl("/account/user/" + username + "/preview");
5322
5351
  }
5323
5352
  /**
@@ -5389,6 +5418,28 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
5389
5418
  }
5390
5419
 
5391
5420
  _createClass(AccountPreview, [{
5421
+ key: "user",
5422
+ get: function get() {
5423
+ if (this.userInfo) {
5424
+ return this.userInfo;
5425
+ }
5426
+
5427
+ const userInfo = getUserInfo();
5428
+
5429
+ if (userInfo) {
5430
+ this.userInfo = userInfo;
5431
+ }
5432
+
5433
+ return userInfo;
5434
+ }
5435
+ }, {
5436
+ key: "username",
5437
+ get: function get() {
5438
+ var _this$userInfo;
5439
+
5440
+ return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
5441
+ }
5442
+ }, {
5392
5443
  key: "updateCurrentUserPhoto",
5393
5444
  value: async function updateCurrentUserPhoto(file) {
5394
5445
  const {
@@ -5419,28 +5470,6 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
5419
5470
  has_profile_photo: false
5420
5471
  });
5421
5472
  }
5422
- }, {
5423
- key: "user",
5424
- get: function get() {
5425
- if (this.userInfo) {
5426
- return this.userInfo;
5427
- }
5428
-
5429
- const userInfo = getUserInfo();
5430
-
5431
- if (userInfo) {
5432
- this.userInfo = userInfo;
5433
- }
5434
-
5435
- return userInfo;
5436
- }
5437
- }, {
5438
- key: "username",
5439
- get: function get() {
5440
- var _this$userInfo;
5441
-
5442
- return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
5443
- }
5444
5473
  }]);
5445
5474
 
5446
5475
  return AccountPreview;
@@ -5465,7 +5494,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5465
5494
 
5466
5495
  _createClass(ExternalProvidersService, [{
5467
5496
  key: "vkLogin",
5468
-
5497
+ value:
5469
5498
  /**
5470
5499
  * No description
5471
5500
  *
@@ -5476,7 +5505,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5476
5505
  * @request GET:/account/external/login/vk
5477
5506
  * @response `200` Success
5478
5507
  */
5479
- value: function vkLogin() {
5508
+ function vkLogin() {
5480
5509
  return this.http.createUrl("/account/external/login/vk");
5481
5510
  }
5482
5511
  /**
@@ -5711,6 +5740,7 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
5711
5740
  return External;
5712
5741
  }(ExternalProvidersService);
5713
5742
 
5743
+ const _excluded$6 = ["idVariable"];
5714
5744
  /**
5715
5745
  * @title Spatial Processing Core API
5716
5746
  * @version v0.6.0
@@ -5730,7 +5760,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5730
5760
 
5731
5761
  _createClass(ClientSettingsService, [{
5732
5762
  key: "getConfiguration",
5733
-
5763
+ value:
5734
5764
  /**
5735
5765
  * No description
5736
5766
  *
@@ -5741,7 +5771,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5741
5771
  * @request GET:/settings
5742
5772
  * @response `200` Success
5743
5773
  */
5744
- value: function getConfiguration(query) {
5774
+ function getConfiguration(query) {
5745
5775
  return this.http.get("/settings", query).text();
5746
5776
  }
5747
5777
  /**
@@ -5905,7 +5935,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5905
5935
  let {
5906
5936
  idVariable
5907
5937
  } = _ref,
5908
- query = _objectWithoutPropertiesLoose(_ref, ["idVariable"]);
5938
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5909
5939
 
5910
5940
  return this.http.get("/settings/variable/" + idVariable + "/value", query).json();
5911
5941
  }
@@ -6100,11 +6130,11 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
6100
6130
  var _config$settings, _config$settings2, _config$settings3;
6101
6131
 
6102
6132
  const config = JSON.parse(await this.getConfiguration(query));
6103
- this.config = _extends({}, config, {
6133
+ this.config = _extends({}, config || {}, {
6104
6134
  settings: {
6105
- withPortal: ((_config$settings = config.settings) == null ? void 0 : _config$settings.withPortal) === undefined || config.settings.withPortal,
6106
- allowRegistration: ((_config$settings2 = config.settings) == null ? void 0 : _config$settings2.allowRegistration) === undefined || config.settings.allowRegistration,
6107
- allowSNS: ((_config$settings3 = config.settings) == null ? void 0 : _config$settings3.allowSNS) === undefined || config.settings.allowSNS
6135
+ withPortal: (config == null ? void 0 : (_config$settings = config.settings) == null ? void 0 : _config$settings.withPortal) === undefined || config.settings.withPortal,
6136
+ allowRegistration: (config == null ? void 0 : (_config$settings2 = config.settings) == null ? void 0 : _config$settings2.allowRegistration) === undefined || config.settings.allowRegistration,
6137
+ allowSNS: (config == null ? void 0 : (_config$settings3 = config.settings) == null ? void 0 : _config$settings3.allowSNS) === undefined || config.settings.allowSNS
6108
6138
  }
6109
6139
  });
6110
6140
  return this.config;
@@ -6308,7 +6338,7 @@ let IceRouterService = /*#__PURE__*/function (_Service) {
6308
6338
 
6309
6339
  _createClass(IceRouterService, [{
6310
6340
  key: "startTask",
6311
-
6341
+ value:
6312
6342
  /**
6313
6343
  * No description
6314
6344
  *
@@ -6319,7 +6349,7 @@ let IceRouterService = /*#__PURE__*/function (_Service) {
6319
6349
  * @request POST:/ice-router/tasks
6320
6350
  * @response `200` Success
6321
6351
  */
6322
- value: function startTask(data) {
6352
+ function startTask(data) {
6323
6353
  return this.http.post("/ice-router/tasks", data).text();
6324
6354
  }
6325
6355
  /**
@@ -6354,7 +6384,7 @@ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
6354
6384
  return _super.apply(this, arguments);
6355
6385
  }
6356
6386
 
6357
- return IceRouter;
6387
+ return _createClass(IceRouter);
6358
6388
  }(IceRouterService);
6359
6389
 
6360
6390
  /**
@@ -6376,7 +6406,7 @@ let PrintService = /*#__PURE__*/function (_Service) {
6376
6406
 
6377
6407
  _createClass(PrintService, [{
6378
6408
  key: "print",
6379
-
6409
+ value:
6380
6410
  /**
6381
6411
  * No description
6382
6412
  *
@@ -6387,7 +6417,7 @@ let PrintService = /*#__PURE__*/function (_Service) {
6387
6417
  * @request POST:/print/print
6388
6418
  * @response `200` Success
6389
6419
  */
6390
- value: function print(data) {
6420
+ function print(data) {
6391
6421
  return this.http.post("/print/print", data).blob();
6392
6422
  }
6393
6423
  /**
@@ -6486,7 +6516,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
6486
6516
  return _super.apply(this, arguments);
6487
6517
  }
6488
6518
 
6489
- return Print;
6519
+ return _createClass(Print);
6490
6520
  }(PrintService);
6491
6521
 
6492
6522
  var ApiEvent;
@@ -6745,6 +6775,27 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6745
6775
 
6746
6776
 
6747
6777
  _createClass(EvergisDynamicLayer, [{
6778
+ key: "style",
6779
+ get: // @ts-ignore TODO
6780
+ function get() {
6781
+ return this.styleId;
6782
+ } // @ts-ignore TODO
6783
+ ,
6784
+ set: function set(styleId) {
6785
+ this.styleId = styleId;
6786
+ this.forceUpdate();
6787
+ }
6788
+ }, {
6789
+ key: "condition",
6790
+ get: // @ts-ignore TODO
6791
+ function get() {
6792
+ return this.conditionQuery;
6793
+ },
6794
+ set: function set(condition) {
6795
+ this.conditionQuery = condition;
6796
+ this.forceUpdate();
6797
+ }
6798
+ }, {
6748
6799
  key: "getUrl",
6749
6800
  value: function getUrl(bbox, resolution) {
6750
6801
  let imgWidth = Math.round((bbox.xMax - bbox.xMin) / resolution);
@@ -6769,27 +6820,6 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6769
6820
  });
6770
6821
  });
6771
6822
  }
6772
- }, {
6773
- key: "style",
6774
- set: function set(styleId) {
6775
- this.styleId = styleId;
6776
- this.forceUpdate();
6777
- } // @ts-ignore TODO
6778
- ,
6779
- get: function get() {
6780
- return this.styleId;
6781
- } // @ts-ignore TODO
6782
-
6783
- }, {
6784
- key: "condition",
6785
- set: function set(condition) {
6786
- this.conditionQuery = condition;
6787
- this.forceUpdate();
6788
- } // @ts-ignore TODO
6789
- ,
6790
- get: function get() {
6791
- return this.conditionQuery;
6792
- }
6793
6823
  }]);
6794
6824
 
6795
6825
  return EvergisDynamicLayer;