@evergis/api 3.0.56 → 3.0.59

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.
@@ -191,11 +191,11 @@ function _get(target, property, receiver) {
191
191
  * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
192
192
  * ---------------------------------------------------------------
193
193
  */
194
- let Service = function Service(http) {
194
+ let Service = /*#__PURE__*/_createClass(function Service(http) {
195
195
  _classCallCheck(this, Service);
196
196
 
197
197
  this.http = http;
198
- };
198
+ });
199
199
 
200
200
  /**
201
201
  * @title Spatial Processing Core API
@@ -216,7 +216,7 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
216
216
 
217
217
  _createClass(BulkOperationsService, [{
218
218
  key: "batchUpdateCatalogResources",
219
-
219
+ value:
220
220
  /**
221
221
  * No description
222
222
  *
@@ -227,7 +227,7 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
227
227
  * @request PUT:/bulk/catalog/updateResources
228
228
  * @response `200` Success
229
229
  */
230
- value: function batchUpdateCatalogResources(data) {
230
+ function batchUpdateCatalogResources(data) {
231
231
  return this.http.put("/bulk/catalog/updateResources", data).json();
232
232
  }
233
233
  /**
@@ -338,7 +338,7 @@ let SecurityService = /*#__PURE__*/function (_Service) {
338
338
 
339
339
  _createClass(SecurityService, [{
340
340
  key: "findUserByNameByRoles",
341
-
341
+ value:
342
342
  /**
343
343
  * No description
344
344
  *
@@ -349,7 +349,7 @@ let SecurityService = /*#__PURE__*/function (_Service) {
349
349
  * @request GET:/security/findUsersWithRoles
350
350
  * @response `200` Success
351
351
  */
352
- value: function findUserByNameByRoles(query) {
352
+ function findUserByNameByRoles(query) {
353
353
  return this.http.get("/security/findUsersWithRoles", query).json();
354
354
  }
355
355
  /**
@@ -582,7 +582,7 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
582
582
 
583
583
  _createClass(StaticContentService, [{
584
584
  key: "downloadFile",
585
-
585
+ value:
586
586
  /**
587
587
  * No description
588
588
  *
@@ -593,7 +593,7 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
593
593
  * @request GET:/upload/file
594
594
  * @response `200` Success
595
595
  */
596
- value: function downloadFile(query) {
596
+ function downloadFile(query) {
597
597
  return this.http.get("/upload/file", query).blob();
598
598
  }
599
599
  /**
@@ -676,7 +676,7 @@ let ImportService = /*#__PURE__*/function (_Service) {
676
676
 
677
677
  _createClass(ImportService, [{
678
678
  key: "getDataSchema",
679
-
679
+ value:
680
680
  /**
681
681
  * No description
682
682
  *
@@ -687,7 +687,7 @@ let ImportService = /*#__PURE__*/function (_Service) {
687
687
  * @request GET:/import/dataSchema
688
688
  * @response `200` Success
689
689
  */
690
- value: function getDataSchema(query) {
690
+ function getDataSchema(query) {
691
691
  return this.http.get("/import/dataSchema", query).json();
692
692
  }
693
693
  /**
@@ -754,7 +754,7 @@ let Import = /*#__PURE__*/function (_ImportService) {
754
754
  return _super.apply(this, arguments);
755
755
  }
756
756
 
757
- return Import;
757
+ return _createClass(Import);
758
758
  }(ImportService);
759
759
 
760
760
  /**
@@ -776,7 +776,7 @@ let NotificationService = /*#__PURE__*/function (_Service) {
776
776
 
777
777
  _createClass(NotificationService, [{
778
778
  key: "getSubscriptionList",
779
-
779
+ value:
780
780
  /**
781
781
  * No description
782
782
  *
@@ -787,7 +787,7 @@ let NotificationService = /*#__PURE__*/function (_Service) {
787
787
  * @request GET:/notifications/subscribes
788
788
  * @response `200` Success
789
789
  */
790
- value: function getSubscriptionList() {
790
+ function getSubscriptionList() {
791
791
  return this.http.get("/notifications/subscribes").json();
792
792
  }
793
793
  /**
@@ -939,6 +939,18 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
939
939
 
940
940
 
941
941
  _createClass(Notification, [{
942
+ key: "connectStatus",
943
+ get: function get() {
944
+ return this._connectStatus;
945
+ } // @ts-ignore
946
+ ,
947
+ set: function set(connectStatus) {
948
+ this.emitter.emit("ConnectionStatus"
949
+ /* ConnectionStatus */
950
+ , new NotificationEvent(connectStatus));
951
+ this._connectStatus = connectStatus;
952
+ }
953
+ }, {
942
954
  key: "on",
943
955
  value: function on(tag, handler) {
944
956
  this.emitter.on(tag, handler);
@@ -990,27 +1002,15 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
990
1002
  console.warn('Connection to WebSocket not allowed. wsUrl not provided');
991
1003
  }
992
1004
  }
993
- }, {
994
- key: "connectStatus",
995
- get: function get() {
996
- return this._connectStatus;
997
- } // @ts-ignore
998
- ,
999
- set: function set(connectStatus) {
1000
- this.emitter.emit("ConnectionStatus"
1001
- /* ConnectionStatus */
1002
- , new NotificationEvent(connectStatus));
1003
- this._connectStatus = connectStatus;
1004
- }
1005
1005
  }]);
1006
1006
 
1007
1007
  return Notification;
1008
1008
  }(NotificationService);
1009
- let NotificationEvent = function NotificationEvent(data) {
1009
+ let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(data) {
1010
1010
  _classCallCheck(this, NotificationEvent);
1011
1011
 
1012
1012
  this.data = data;
1013
- };
1013
+ });
1014
1014
 
1015
1015
  /**
1016
1016
  * @title Spatial Processing Core API
@@ -1031,7 +1031,7 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
1031
1031
 
1032
1032
  _createClass(SchedulerService, [{
1033
1033
  key: "getTaskList",
1034
-
1034
+ value:
1035
1035
  /**
1036
1036
  * No description
1037
1037
  *
@@ -1042,7 +1042,7 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
1042
1042
  * @request GET:/scheduler/tasks
1043
1043
  * @response `200` Success
1044
1044
  */
1045
- value: function getTaskList(query) {
1045
+ function getTaskList(query) {
1046
1046
  return this.http.get("/scheduler/tasks", query).json();
1047
1047
  }
1048
1048
  /**
@@ -1445,6 +1445,24 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1445
1445
  return Scheduler;
1446
1446
  }(SchedulerService);
1447
1447
 
1448
+ const _excluded = ["name"],
1449
+ _excluded2 = ["name"],
1450
+ _excluded3 = ["name"],
1451
+ _excluded4 = ["name", "id"],
1452
+ _excluded5 = ["name", "id"],
1453
+ _excluded6 = ["name", "id"],
1454
+ _excluded7 = ["name", "x", "y", "z"],
1455
+ _excluded8 = ["name"],
1456
+ _excluded9 = ["name"],
1457
+ _excluded10 = ["name"],
1458
+ _excluded11 = ["name"],
1459
+ _excluded12 = ["name"],
1460
+ _excluded13 = ["name"],
1461
+ _excluded14 = ["name"],
1462
+ _excluded15 = ["name"],
1463
+ _excluded16 = ["name"],
1464
+ _excluded17 = ["name"],
1465
+ _excluded18 = ["layerName"];
1448
1466
  /**
1449
1467
  * @title Spatial Processing Core API
1450
1468
  * @version v0.6.0
@@ -1464,7 +1482,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1464
1482
 
1465
1483
  _createClass(LayersService, [{
1466
1484
  key: "getLayersList",
1467
-
1485
+ value:
1468
1486
  /**
1469
1487
  * No description
1470
1488
  *
@@ -1475,7 +1493,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1475
1493
  * @request GET:/layers
1476
1494
  * @response `200` Success
1477
1495
  */
1478
- value: function getLayersList(query) {
1496
+ function getLayersList(query) {
1479
1497
  return this.http.get("/layers", query).json();
1480
1498
  }
1481
1499
  /**
@@ -1810,7 +1828,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1810
1828
  let {
1811
1829
  name
1812
1830
  } = _ref,
1813
- query = _objectWithoutPropertiesLoose(_ref, ["name"]);
1831
+ query = _objectWithoutPropertiesLoose(_ref, _excluded);
1814
1832
 
1815
1833
  return this.http.get("/layers/" + name + "/features", query).json();
1816
1834
  }
@@ -1831,7 +1849,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1831
1849
  let {
1832
1850
  name
1833
1851
  } = _ref2,
1834
- query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
1852
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
1835
1853
 
1836
1854
  return this.http.delete("/layers/" + name + "/features", null, query).json();
1837
1855
  }
@@ -1884,7 +1902,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1884
1902
  let {
1885
1903
  name
1886
1904
  } = _ref3,
1887
- query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
1905
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
1888
1906
 
1889
1907
  return this.http.get("/layers/" + name + "/features/contains", query).json();
1890
1908
  }
@@ -1906,7 +1924,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1906
1924
  name,
1907
1925
  id
1908
1926
  } = _ref4,
1909
- query = _objectWithoutPropertiesLoose(_ref4, ["name", "id"]);
1927
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
1910
1928
 
1911
1929
  return this.http.get("/layers/" + name + "/features/" + id, query).json();
1912
1930
  }
@@ -1928,7 +1946,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1928
1946
  name,
1929
1947
  id
1930
1948
  } = _ref5,
1931
- query = _objectWithoutPropertiesLoose(_ref5, ["name", "id"]);
1949
+ query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
1932
1950
 
1933
1951
  return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
1934
1952
  }
@@ -1950,7 +1968,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1950
1968
  name,
1951
1969
  id
1952
1970
  } = _ref6,
1953
- query = _objectWithoutPropertiesLoose(_ref6, ["name", "id"]);
1971
+ query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
1954
1972
 
1955
1973
  return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
1956
1974
  }
@@ -1974,7 +1992,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1974
1992
  y,
1975
1993
  z
1976
1994
  } = _ref7,
1977
- query = _objectWithoutPropertiesLoose(_ref7, ["name", "x", "y", "z"]);
1995
+ query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
1978
1996
 
1979
1997
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
1980
1998
  }
@@ -1995,7 +2013,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1995
2013
  let {
1996
2014
  name
1997
2015
  } = _ref8,
1998
- query = _objectWithoutPropertiesLoose(_ref8, ["name"]);
2016
+ query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
1999
2017
 
2000
2018
  return this.http.createUrl("/layers/" + name + "/export", query);
2001
2019
  }
@@ -2016,7 +2034,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2016
2034
  let {
2017
2035
  name
2018
2036
  } = _ref9,
2019
- query = _objectWithoutPropertiesLoose(_ref9, ["name"]);
2037
+ query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
2020
2038
 
2021
2039
  return this.http.get("/layers/" + name + "/extent", query).json();
2022
2040
  }
@@ -2037,7 +2055,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2037
2055
  let {
2038
2056
  name
2039
2057
  } = _ref10,
2040
- query = _objectWithoutPropertiesLoose(_ref10, ["name"]);
2058
+ query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
2041
2059
 
2042
2060
  return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
2043
2061
  }
@@ -2058,7 +2076,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2058
2076
  let {
2059
2077
  name
2060
2078
  } = _ref11,
2061
- query = _objectWithoutPropertiesLoose(_ref11, ["name"]);
2079
+ query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
2062
2080
 
2063
2081
  return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
2064
2082
  }
@@ -2079,7 +2097,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2079
2097
  let {
2080
2098
  name
2081
2099
  } = _ref12,
2082
- query = _objectWithoutPropertiesLoose(_ref12, ["name"]);
2100
+ query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
2083
2101
 
2084
2102
  return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
2085
2103
  }
@@ -2100,7 +2118,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2100
2118
  let {
2101
2119
  name
2102
2120
  } = _ref13,
2103
- query = _objectWithoutPropertiesLoose(_ref13, ["name"]);
2121
+ query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
2104
2122
 
2105
2123
  return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
2106
2124
  }
@@ -2121,7 +2139,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2121
2139
  let {
2122
2140
  name
2123
2141
  } = _ref14,
2124
- query = _objectWithoutPropertiesLoose(_ref14, ["name"]);
2142
+ query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
2125
2143
 
2126
2144
  return this.http.get("/layers/" + name + "/classify", query).json();
2127
2145
  }
@@ -2142,7 +2160,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2142
2160
  let {
2143
2161
  name
2144
2162
  } = _ref15,
2145
- query = _objectWithoutPropertiesLoose(_ref15, ["name"]);
2163
+ query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
2146
2164
 
2147
2165
  return this.http.get("/layers/" + name + "/distincts", query).json();
2148
2166
  }
@@ -2163,7 +2181,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2163
2181
  let {
2164
2182
  name
2165
2183
  } = _ref16,
2166
- query = _objectWithoutPropertiesLoose(_ref16, ["name"]);
2184
+ query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
2167
2185
 
2168
2186
  return this.http.get("/layers/" + name + "/aggregate-values", query).json();
2169
2187
  }
@@ -2184,7 +2202,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2184
2202
  let {
2185
2203
  name
2186
2204
  } = _ref17,
2187
- query = _objectWithoutPropertiesLoose(_ref17, ["name"]);
2205
+ query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
2188
2206
 
2189
2207
  return this.http.get("/layers/" + name + "/features/count", query).json();
2190
2208
  }
@@ -2238,7 +2256,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2238
2256
  let {
2239
2257
  layerName
2240
2258
  } = _ref18,
2241
- query = _objectWithoutPropertiesLoose(_ref18, ["layerName"]);
2259
+ query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
2242
2260
 
2243
2261
  return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
2244
2262
  }
@@ -2404,6 +2422,7 @@ function notError(v) {
2404
2422
  return !isError(v);
2405
2423
  }
2406
2424
 
2425
+ const _excluded$1 = ["remote"];
2407
2426
  let Layers = /*#__PURE__*/function (_LayersService) {
2408
2427
  _inherits(Layers, _LayersService);
2409
2428
 
@@ -2443,7 +2462,7 @@ let Layers = /*#__PURE__*/function (_LayersService) {
2443
2462
  let {
2444
2463
  remote
2445
2464
  } = _ref,
2446
- configuration = _objectWithoutPropertiesLoose(_ref, ["remote"]);
2465
+ configuration = _objectWithoutPropertiesLoose(_ref, _excluded$1);
2447
2466
 
2448
2467
  if (remote) {
2449
2468
  return this.publishRemoteTileService(configuration);
@@ -2492,6 +2511,10 @@ function isTileLayerService(layer) {
2492
2511
  return layer.type && /TileService/.test(layer.type);
2493
2512
  }
2494
2513
 
2514
+ const _excluded$2 = ["name"],
2515
+ _excluded2$1 = ["name"],
2516
+ _excluded3$1 = ["name"],
2517
+ _excluded4$1 = ["name"];
2495
2518
  /**
2496
2519
  * @title Spatial Processing Core API
2497
2520
  * @version v0.6.0
@@ -2511,7 +2534,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2511
2534
 
2512
2535
  _createClass(TablesService, [{
2513
2536
  key: "getTableList",
2514
-
2537
+ value:
2515
2538
  /**
2516
2539
  * No description
2517
2540
  *
@@ -2522,7 +2545,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2522
2545
  * @request GET:/tables
2523
2546
  * @response `200` Success
2524
2547
  */
2525
- value: function getTableList(query) {
2548
+ function getTableList(query) {
2526
2549
  return this.http.get("/tables", query).json();
2527
2550
  }
2528
2551
  /**
@@ -2638,7 +2661,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2638
2661
  let {
2639
2662
  name
2640
2663
  } = _ref,
2641
- query = _objectWithoutPropertiesLoose(_ref, ["name"]);
2664
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$2);
2642
2665
 
2643
2666
  return this.http.get("/tables/" + name + "/data", query).json();
2644
2667
  }
@@ -2659,7 +2682,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2659
2682
  let {
2660
2683
  name
2661
2684
  } = _ref2,
2662
- query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
2685
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
2663
2686
 
2664
2687
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
2665
2688
  }
@@ -2680,7 +2703,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2680
2703
  let {
2681
2704
  name
2682
2705
  } = _ref3,
2683
- query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
2706
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
2684
2707
 
2685
2708
  return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
2686
2709
  }
@@ -2701,7 +2724,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2701
2724
  let {
2702
2725
  name
2703
2726
  } = _ref4,
2704
- query = _objectWithoutPropertiesLoose(_ref4, ["name"]);
2727
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
2705
2728
 
2706
2729
  return this.http.get("/tables/" + name + "/data/unique-values", query).json();
2707
2730
  }
@@ -2997,7 +3020,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
2997
3020
 
2998
3021
  _createClass(ProjectsService, [{
2999
3022
  key: "getProjectLayersExtendedInfo",
3000
-
3023
+ value:
3001
3024
  /**
3002
3025
  * No description
3003
3026
  *
@@ -3008,7 +3031,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
3008
3031
  * @request GET:/projects/{name}/extended-info
3009
3032
  * @response `200` Success
3010
3033
  */
3011
- value: function getProjectLayersExtendedInfo(name) {
3034
+ function getProjectLayersExtendedInfo(name) {
3012
3035
  return this.http.get("/projects/" + name + "/extended-info").json();
3013
3036
  }
3014
3037
  /**
@@ -3488,7 +3511,7 @@ let StyleService = /*#__PURE__*/function (_Service) {
3488
3511
 
3489
3512
  _createClass(StyleService, [{
3490
3513
  key: "getStyle",
3491
-
3514
+ value:
3492
3515
  /**
3493
3516
  * No description
3494
3517
  *
@@ -3499,7 +3522,7 @@ let StyleService = /*#__PURE__*/function (_Service) {
3499
3522
  * @request GET:/styles/{id}
3500
3523
  * @response `200` Success
3501
3524
  */
3502
- value: function getStyle(id) {
3525
+ function getStyle(id) {
3503
3526
  return this.http.get("/styles/" + id).json();
3504
3527
  }
3505
3528
  /**
@@ -3566,9 +3589,12 @@ let Styles = /*#__PURE__*/function (_StyleService) {
3566
3589
  return _super.apply(this, arguments);
3567
3590
  }
3568
3591
 
3569
- return Styles;
3592
+ return _createClass(Styles);
3570
3593
  }(StyleService);
3571
3594
 
3595
+ const _excluded$3 = ["providerName"],
3596
+ _excluded2$2 = ["providerName"],
3597
+ _excluded3$2 = ["providerName"];
3572
3598
  /**
3573
3599
  * @title Spatial Processing Core API
3574
3600
  * @version v0.6.0
@@ -3588,7 +3614,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3588
3614
 
3589
3615
  _createClass(GeocodeService, [{
3590
3616
  key: "geocode",
3591
-
3617
+ value:
3592
3618
  /**
3593
3619
  * No description
3594
3620
  *
@@ -3599,11 +3625,11 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3599
3625
  * @request GET:/geocode/{providerName}
3600
3626
  * @response `200` Success
3601
3627
  */
3602
- value: function geocode(_ref) {
3628
+ function geocode(_ref) {
3603
3629
  let {
3604
3630
  providerName
3605
3631
  } = _ref,
3606
- query = _objectWithoutPropertiesLoose(_ref, ["providerName"]);
3632
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
3607
3633
 
3608
3634
  return this.http.get("/geocode/" + providerName, query).json();
3609
3635
  }
@@ -3624,7 +3650,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3624
3650
  let {
3625
3651
  providerName
3626
3652
  } = _ref2,
3627
- query = _objectWithoutPropertiesLoose(_ref2, ["providerName"]);
3653
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
3628
3654
 
3629
3655
  return this.http.get("/geocode/" + providerName + "/geocodeByPoint", query).json();
3630
3656
  }
@@ -3645,7 +3671,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3645
3671
  let {
3646
3672
  providerName
3647
3673
  } = _ref3,
3648
- query = _objectWithoutPropertiesLoose(_ref3, ["providerName"]);
3674
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
3649
3675
 
3650
3676
  return this.http.get("/geocode/" + providerName + "/suggest", query).json();
3651
3677
  }
@@ -3685,6 +3711,7 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
3685
3711
  return Geocode;
3686
3712
  }(GeocodeService);
3687
3713
 
3714
+ const _excluded$4 = ["resourceType"];
3688
3715
  /**
3689
3716
  * @title Spatial Processing Core API
3690
3717
  * @version v0.6.0
@@ -3704,7 +3731,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3704
3731
 
3705
3732
  _createClass(ResourceCatalogService, [{
3706
3733
  key: "getProjects",
3707
-
3734
+ value:
3708
3735
  /**
3709
3736
  * No description
3710
3737
  *
@@ -3715,7 +3742,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3715
3742
  * @request GET:/resources/projects
3716
3743
  * @response `200` Success
3717
3744
  */
3718
- value: function getProjects(query) {
3745
+ function getProjects(query) {
3719
3746
  return this.http.get("/resources/projects", query).json();
3720
3747
  }
3721
3748
  /**
@@ -3895,7 +3922,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3895
3922
  let {
3896
3923
  resourceType
3897
3924
  } = _ref,
3898
- query = _objectWithoutPropertiesLoose(_ref, ["resourceType"]);
3925
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
3899
3926
 
3900
3927
  return this.http.delete("/resources/" + resourceType, null, query).then(() => {});
3901
3928
  }
@@ -3947,9 +3974,11 @@ let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
3947
3974
  return _super.apply(this, arguments);
3948
3975
  }
3949
3976
 
3950
- return ResourceCatalog;
3977
+ return _createClass(ResourceCatalog);
3951
3978
  }(ResourceCatalogService);
3952
3979
 
3980
+ const _excluded$5 = ["name"],
3981
+ _excluded2$3 = ["name"];
3953
3982
  /**
3954
3983
  * @title Spatial Processing Core API
3955
3984
  * @version v0.6.0
@@ -3969,7 +3998,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
3969
3998
 
3970
3999
  _createClass(ToolsService, [{
3971
4000
  key: "getTools",
3972
-
4001
+ value:
3973
4002
  /**
3974
4003
  * No description
3975
4004
  *
@@ -3980,7 +4009,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
3980
4009
  * @request GET:/tools
3981
4010
  * @response `200` Success
3982
4011
  */
3983
- value: function getTools(query) {
4012
+ function getTools(query) {
3984
4013
  return this.http.get("/tools", query).json();
3985
4014
  }
3986
4015
  /**
@@ -4338,7 +4367,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
4338
4367
  let {
4339
4368
  name
4340
4369
  } = _ref,
4341
- query = _objectWithoutPropertiesLoose(_ref, ["name"]);
4370
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
4342
4371
 
4343
4372
  return this.http.post("/tools/" + name + "/evaluate", data, query).json();
4344
4373
  }
@@ -4360,7 +4389,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
4360
4389
  let {
4361
4390
  name
4362
4391
  } = _ref2,
4363
- query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
4392
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
4364
4393
 
4365
4394
  return this.http.post("/tools/" + name + "/run", data, query).json();
4366
4395
  }
@@ -4444,7 +4473,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
4444
4473
  return _super.apply(this, arguments);
4445
4474
  }
4446
4475
 
4447
- return Tools;
4476
+ return _createClass(Tools);
4448
4477
  }(ToolsService);
4449
4478
 
4450
4479
  /**
@@ -4466,7 +4495,7 @@ let GeneralService = /*#__PURE__*/function (_Service) {
4466
4495
 
4467
4496
  _createClass(GeneralService, [{
4468
4497
  key: "getServerInfo",
4469
-
4498
+ value:
4470
4499
  /**
4471
4500
  * No description
4472
4501
  *
@@ -4477,7 +4506,7 @@ let GeneralService = /*#__PURE__*/function (_Service) {
4477
4506
  * @request GET:/
4478
4507
  * @response `200` Success
4479
4508
  */
4480
- value: function getServerInfo() {
4509
+ function getServerInfo() {
4481
4510
  return this.http.get("/").json();
4482
4511
  }
4483
4512
  /**
@@ -4528,7 +4557,7 @@ let General = /*#__PURE__*/function (_GeneralService) {
4528
4557
  return _super.apply(this, arguments);
4529
4558
  }
4530
4559
 
4531
- return General;
4560
+ return _createClass(General);
4532
4561
  }(GeneralService);
4533
4562
 
4534
4563
  /**
@@ -4550,7 +4579,7 @@ let NamespaceService = /*#__PURE__*/function (_Service) {
4550
4579
 
4551
4580
  _createClass(NamespaceService, [{
4552
4581
  key: "getNamespaces",
4553
-
4582
+ value:
4554
4583
  /**
4555
4584
  * No description
4556
4585
  *
@@ -4561,7 +4590,7 @@ let NamespaceService = /*#__PURE__*/function (_Service) {
4561
4590
  * @request GET:/namespaces
4562
4591
  * @response `200` Success
4563
4592
  */
4564
- value: function getNamespaces(query) {
4593
+ function getNamespaces(query) {
4565
4594
  return this.http.get("/namespaces", query).json();
4566
4595
  }
4567
4596
  /**
@@ -4628,7 +4657,7 @@ let Namespace = /*#__PURE__*/function (_NamespaceService) {
4628
4657
  return _super.apply(this, arguments);
4629
4658
  }
4630
4659
 
4631
- return Namespace;
4660
+ return _createClass(Namespace);
4632
4661
  }(NamespaceService);
4633
4662
 
4634
4663
  /**
@@ -4650,7 +4679,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
4650
4679
 
4651
4680
  _createClass(AccountService, [{
4652
4681
  key: "getUsers",
4653
-
4682
+ value:
4654
4683
  /**
4655
4684
  * No description
4656
4685
  *
@@ -4661,7 +4690,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
4661
4690
  * @request GET:/account/user/list
4662
4691
  * @response `200` Success
4663
4692
  */
4664
- value: function getUsers(query) {
4693
+ function getUsers(query) {
4665
4694
  return this.http.get("/account/user/list", query).json();
4666
4695
  }
4667
4696
  /**
@@ -5232,6 +5261,13 @@ let Account = /*#__PURE__*/function (_AccountService) {
5232
5261
  this.userInfo = await this.getUserInfo('');
5233
5262
  return this.userInfo;
5234
5263
  }
5264
+ }, {
5265
+ key: "username",
5266
+ get: function get() {
5267
+ var _this$userInfo;
5268
+
5269
+ return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
5270
+ }
5235
5271
  }, {
5236
5272
  key: "logout",
5237
5273
  value: async function logout() {
@@ -5255,19 +5291,12 @@ let Account = /*#__PURE__*/function (_AccountService) {
5255
5291
  password
5256
5292
  });
5257
5293
  }
5258
- }, {
5259
- key: "username",
5260
- get: function get() {
5261
- var _this$userInfo;
5262
-
5263
- return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
5264
- }
5265
5294
  }, {
5266
5295
  key: "isAuth",
5267
5296
  get: function get() {
5268
5297
  var _this$userInfo2;
5269
5298
 
5270
- return !!((_this$userInfo2 = this.userInfo) == null ? void 0 : _this$userInfo2.username) && this.userInfo.username !== 'public';
5299
+ return !!((_this$userInfo2 = this.userInfo) != null && _this$userInfo2.username) && this.userInfo.username !== 'public';
5271
5300
  }
5272
5301
  }, {
5273
5302
  key: "user",
@@ -5308,7 +5337,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
5308
5337
 
5309
5338
  _createClass(AccountPreviewService, [{
5310
5339
  key: "getPreview",
5311
-
5340
+ value:
5312
5341
  /**
5313
5342
  * No description
5314
5343
  *
@@ -5319,7 +5348,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
5319
5348
  * @request GET:/account/user/{username}/preview
5320
5349
  * @response `200` Success
5321
5350
  */
5322
- value: function getPreview(username) {
5351
+ function getPreview(username) {
5323
5352
  return this.http.createUrl("/account/user/" + username + "/preview");
5324
5353
  }
5325
5354
  /**
@@ -5391,6 +5420,28 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
5391
5420
  }
5392
5421
 
5393
5422
  _createClass(AccountPreview, [{
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
+ }, {
5394
5445
  key: "updateCurrentUserPhoto",
5395
5446
  value: async function updateCurrentUserPhoto(file) {
5396
5447
  const {
@@ -5421,28 +5472,6 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
5421
5472
  has_profile_photo: false
5422
5473
  });
5423
5474
  }
5424
- }, {
5425
- key: "user",
5426
- get: function get() {
5427
- if (this.userInfo) {
5428
- return this.userInfo;
5429
- }
5430
-
5431
- const userInfo = getUserInfo();
5432
-
5433
- if (userInfo) {
5434
- this.userInfo = userInfo;
5435
- }
5436
-
5437
- return userInfo;
5438
- }
5439
- }, {
5440
- key: "username",
5441
- get: function get() {
5442
- var _this$userInfo;
5443
-
5444
- return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
5445
- }
5446
5475
  }]);
5447
5476
 
5448
5477
  return AccountPreview;
@@ -5467,7 +5496,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5467
5496
 
5468
5497
  _createClass(ExternalProvidersService, [{
5469
5498
  key: "vkLogin",
5470
-
5499
+ value:
5471
5500
  /**
5472
5501
  * No description
5473
5502
  *
@@ -5478,7 +5507,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5478
5507
  * @request GET:/account/external/login/vk
5479
5508
  * @response `200` Success
5480
5509
  */
5481
- value: function vkLogin() {
5510
+ function vkLogin() {
5482
5511
  return this.http.createUrl("/account/external/login/vk");
5483
5512
  }
5484
5513
  /**
@@ -5713,6 +5742,7 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
5713
5742
  return External;
5714
5743
  }(ExternalProvidersService);
5715
5744
 
5745
+ const _excluded$6 = ["idVariable"];
5716
5746
  /**
5717
5747
  * @title Spatial Processing Core API
5718
5748
  * @version v0.6.0
@@ -5732,7 +5762,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5732
5762
 
5733
5763
  _createClass(ClientSettingsService, [{
5734
5764
  key: "getConfiguration",
5735
-
5765
+ value:
5736
5766
  /**
5737
5767
  * No description
5738
5768
  *
@@ -5743,7 +5773,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5743
5773
  * @request GET:/settings
5744
5774
  * @response `200` Success
5745
5775
  */
5746
- value: function getConfiguration(query) {
5776
+ function getConfiguration(query) {
5747
5777
  return this.http.get("/settings", query).text();
5748
5778
  }
5749
5779
  /**
@@ -5907,7 +5937,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5907
5937
  let {
5908
5938
  idVariable
5909
5939
  } = _ref,
5910
- query = _objectWithoutPropertiesLoose(_ref, ["idVariable"]);
5940
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5911
5941
 
5912
5942
  return this.http.get("/settings/variable/" + idVariable + "/value", query).json();
5913
5943
  }
@@ -6102,11 +6132,11 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
6102
6132
  var _config$settings, _config$settings2, _config$settings3;
6103
6133
 
6104
6134
  const config = JSON.parse(await this.getConfiguration(query));
6105
- this.config = _extends({}, config, {
6135
+ this.config = _extends({}, config || {}, {
6106
6136
  settings: {
6107
- withPortal: ((_config$settings = config.settings) == null ? void 0 : _config$settings.withPortal) === undefined || config.settings.withPortal,
6108
- allowRegistration: ((_config$settings2 = config.settings) == null ? void 0 : _config$settings2.allowRegistration) === undefined || config.settings.allowRegistration,
6109
- allowSNS: ((_config$settings3 = config.settings) == null ? void 0 : _config$settings3.allowSNS) === undefined || config.settings.allowSNS
6137
+ withPortal: (config == null ? void 0 : (_config$settings = config.settings) == null ? void 0 : _config$settings.withPortal) === undefined || config.settings.withPortal,
6138
+ allowRegistration: (config == null ? void 0 : (_config$settings2 = config.settings) == null ? void 0 : _config$settings2.allowRegistration) === undefined || config.settings.allowRegistration,
6139
+ allowSNS: (config == null ? void 0 : (_config$settings3 = config.settings) == null ? void 0 : _config$settings3.allowSNS) === undefined || config.settings.allowSNS
6110
6140
  }
6111
6141
  });
6112
6142
  return this.config;
@@ -6307,7 +6337,7 @@ let IceRouterService = /*#__PURE__*/function (_Service) {
6307
6337
 
6308
6338
  _createClass(IceRouterService, [{
6309
6339
  key: "startTask",
6310
-
6340
+ value:
6311
6341
  /**
6312
6342
  * No description
6313
6343
  *
@@ -6318,7 +6348,7 @@ let IceRouterService = /*#__PURE__*/function (_Service) {
6318
6348
  * @request POST:/ice-router/tasks
6319
6349
  * @response `200` Success
6320
6350
  */
6321
- value: function startTask(data) {
6351
+ function startTask(data) {
6322
6352
  return this.http.post("/ice-router/tasks", data).text();
6323
6353
  }
6324
6354
  /**
@@ -6353,7 +6383,7 @@ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
6353
6383
  return _super.apply(this, arguments);
6354
6384
  }
6355
6385
 
6356
- return IceRouter;
6386
+ return _createClass(IceRouter);
6357
6387
  }(IceRouterService);
6358
6388
 
6359
6389
  /**
@@ -6375,7 +6405,7 @@ let PrintService = /*#__PURE__*/function (_Service) {
6375
6405
 
6376
6406
  _createClass(PrintService, [{
6377
6407
  key: "print",
6378
-
6408
+ value:
6379
6409
  /**
6380
6410
  * No description
6381
6411
  *
@@ -6386,7 +6416,7 @@ let PrintService = /*#__PURE__*/function (_Service) {
6386
6416
  * @request POST:/print/print
6387
6417
  * @response `200` Success
6388
6418
  */
6389
- value: function print(data) {
6419
+ function print(data) {
6390
6420
  return this.http.post("/print/print", data).blob();
6391
6421
  }
6392
6422
  /**
@@ -6485,7 +6515,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
6485
6515
  return _super.apply(this, arguments);
6486
6516
  }
6487
6517
 
6488
- return Print;
6518
+ return _createClass(Print);
6489
6519
  }(PrintService);
6490
6520
 
6491
6521
  (function (ApiEvent) {
@@ -6740,6 +6770,27 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6740
6770
 
6741
6771
 
6742
6772
  _createClass(EvergisDynamicLayer, [{
6773
+ key: "style",
6774
+ get: // @ts-ignore TODO
6775
+ function get() {
6776
+ return this.styleId;
6777
+ } // @ts-ignore TODO
6778
+ ,
6779
+ set: function set(styleId) {
6780
+ this.styleId = styleId;
6781
+ this.forceUpdate();
6782
+ }
6783
+ }, {
6784
+ key: "condition",
6785
+ get: // @ts-ignore TODO
6786
+ function get() {
6787
+ return this.conditionQuery;
6788
+ },
6789
+ set: function set(condition) {
6790
+ this.conditionQuery = condition;
6791
+ this.forceUpdate();
6792
+ }
6793
+ }, {
6743
6794
  key: "getUrl",
6744
6795
  value: function getUrl(bbox, resolution) {
6745
6796
  let imgWidth = Math.round((bbox.xMax - bbox.xMin) / resolution);
@@ -6764,27 +6815,6 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6764
6815
  });
6765
6816
  });
6766
6817
  }
6767
- }, {
6768
- key: "style",
6769
- set: function set(styleId) {
6770
- this.styleId = styleId;
6771
- this.forceUpdate();
6772
- } // @ts-ignore TODO
6773
- ,
6774
- get: function get() {
6775
- return this.styleId;
6776
- } // @ts-ignore TODO
6777
-
6778
- }, {
6779
- key: "condition",
6780
- set: function set(condition) {
6781
- this.conditionQuery = condition;
6782
- this.forceUpdate();
6783
- } // @ts-ignore TODO
6784
- ,
6785
- get: function get() {
6786
- return this.conditionQuery;
6787
- }
6788
6818
  }]);
6789
6819
 
6790
6820
  return EvergisDynamicLayer;