@evergis/api 3.0.54 → 3.0.58

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
  /**
@@ -612,6 +612,22 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
612
612
  value: function uploadFile(data) {
613
613
  return this.http.post("/upload/file", toFormData(data)).json();
614
614
  }
615
+ /**
616
+ * No description
617
+ *
618
+ * @tags StaticContentService
619
+ * @name DeleteFile
620
+ * @operationId StaticContentServiceController_DeleteFile
621
+ * @summary Delete file from temporary session storage.
622
+ * @request DELETE:/upload/file
623
+ * @response `200` Success
624
+ */
625
+
626
+ }, {
627
+ key: "deleteFile",
628
+ value: function deleteFile(query) {
629
+ return this.http.delete("/upload/file", null, query).then(() => {});
630
+ }
615
631
  }]);
616
632
 
617
633
  return StaticContentService;
@@ -660,7 +676,7 @@ let ImportService = /*#__PURE__*/function (_Service) {
660
676
 
661
677
  _createClass(ImportService, [{
662
678
  key: "getDataSchema",
663
-
679
+ value:
664
680
  /**
665
681
  * No description
666
682
  *
@@ -671,7 +687,7 @@ let ImportService = /*#__PURE__*/function (_Service) {
671
687
  * @request GET:/import/dataSchema
672
688
  * @response `200` Success
673
689
  */
674
- value: function getDataSchema(query) {
690
+ function getDataSchema(query) {
675
691
  return this.http.get("/import/dataSchema", query).json();
676
692
  }
677
693
  /**
@@ -738,7 +754,7 @@ let Import = /*#__PURE__*/function (_ImportService) {
738
754
  return _super.apply(this, arguments);
739
755
  }
740
756
 
741
- return Import;
757
+ return _createClass(Import);
742
758
  }(ImportService);
743
759
 
744
760
  /**
@@ -760,7 +776,7 @@ let NotificationService = /*#__PURE__*/function (_Service) {
760
776
 
761
777
  _createClass(NotificationService, [{
762
778
  key: "getSubscriptionList",
763
-
779
+ value:
764
780
  /**
765
781
  * No description
766
782
  *
@@ -771,7 +787,7 @@ let NotificationService = /*#__PURE__*/function (_Service) {
771
787
  * @request GET:/notifications/subscribes
772
788
  * @response `200` Success
773
789
  */
774
- value: function getSubscriptionList() {
790
+ function getSubscriptionList() {
775
791
  return this.http.get("/notifications/subscribes").json();
776
792
  }
777
793
  /**
@@ -923,6 +939,18 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
923
939
 
924
940
 
925
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
+ }, {
926
954
  key: "on",
927
955
  value: function on(tag, handler) {
928
956
  this.emitter.on(tag, handler);
@@ -974,27 +1002,15 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
974
1002
  console.warn('Connection to WebSocket not allowed. wsUrl not provided');
975
1003
  }
976
1004
  }
977
- }, {
978
- key: "connectStatus",
979
- get: function get() {
980
- return this._connectStatus;
981
- } // @ts-ignore
982
- ,
983
- set: function set(connectStatus) {
984
- this.emitter.emit("ConnectionStatus"
985
- /* ConnectionStatus */
986
- , new NotificationEvent(connectStatus));
987
- this._connectStatus = connectStatus;
988
- }
989
1005
  }]);
990
1006
 
991
1007
  return Notification;
992
1008
  }(NotificationService);
993
- let NotificationEvent = function NotificationEvent(data) {
1009
+ let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(data) {
994
1010
  _classCallCheck(this, NotificationEvent);
995
1011
 
996
1012
  this.data = data;
997
- };
1013
+ });
998
1014
 
999
1015
  /**
1000
1016
  * @title Spatial Processing Core API
@@ -1015,7 +1031,7 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
1015
1031
 
1016
1032
  _createClass(SchedulerService, [{
1017
1033
  key: "getTaskList",
1018
-
1034
+ value:
1019
1035
  /**
1020
1036
  * No description
1021
1037
  *
@@ -1026,7 +1042,7 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
1026
1042
  * @request GET:/scheduler/tasks
1027
1043
  * @response `200` Success
1028
1044
  */
1029
- value: function getTaskList(query) {
1045
+ function getTaskList(query) {
1030
1046
  return this.http.get("/scheduler/tasks", query).json();
1031
1047
  }
1032
1048
  /**
@@ -1429,6 +1445,24 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1429
1445
  return Scheduler;
1430
1446
  }(SchedulerService);
1431
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"];
1432
1466
  /**
1433
1467
  * @title Spatial Processing Core API
1434
1468
  * @version v0.6.0
@@ -1448,7 +1482,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1448
1482
 
1449
1483
  _createClass(LayersService, [{
1450
1484
  key: "getLayersList",
1451
-
1485
+ value:
1452
1486
  /**
1453
1487
  * No description
1454
1488
  *
@@ -1459,7 +1493,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1459
1493
  * @request GET:/layers
1460
1494
  * @response `200` Success
1461
1495
  */
1462
- value: function getLayersList(query) {
1496
+ function getLayersList(query) {
1463
1497
  return this.http.get("/layers", query).json();
1464
1498
  }
1465
1499
  /**
@@ -1794,7 +1828,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1794
1828
  let {
1795
1829
  name
1796
1830
  } = _ref,
1797
- query = _objectWithoutPropertiesLoose(_ref, ["name"]);
1831
+ query = _objectWithoutPropertiesLoose(_ref, _excluded);
1798
1832
 
1799
1833
  return this.http.get("/layers/" + name + "/features", query).json();
1800
1834
  }
@@ -1815,7 +1849,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1815
1849
  let {
1816
1850
  name
1817
1851
  } = _ref2,
1818
- query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
1852
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
1819
1853
 
1820
1854
  return this.http.delete("/layers/" + name + "/features", null, query).json();
1821
1855
  }
@@ -1868,7 +1902,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1868
1902
  let {
1869
1903
  name
1870
1904
  } = _ref3,
1871
- query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
1905
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
1872
1906
 
1873
1907
  return this.http.get("/layers/" + name + "/features/contains", query).json();
1874
1908
  }
@@ -1890,7 +1924,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1890
1924
  name,
1891
1925
  id
1892
1926
  } = _ref4,
1893
- query = _objectWithoutPropertiesLoose(_ref4, ["name", "id"]);
1927
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
1894
1928
 
1895
1929
  return this.http.get("/layers/" + name + "/features/" + id, query).json();
1896
1930
  }
@@ -1912,7 +1946,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1912
1946
  name,
1913
1947
  id
1914
1948
  } = _ref5,
1915
- query = _objectWithoutPropertiesLoose(_ref5, ["name", "id"]);
1949
+ query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
1916
1950
 
1917
1951
  return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
1918
1952
  }
@@ -1934,7 +1968,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1934
1968
  name,
1935
1969
  id
1936
1970
  } = _ref6,
1937
- query = _objectWithoutPropertiesLoose(_ref6, ["name", "id"]);
1971
+ query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
1938
1972
 
1939
1973
  return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
1940
1974
  }
@@ -1958,7 +1992,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1958
1992
  y,
1959
1993
  z
1960
1994
  } = _ref7,
1961
- query = _objectWithoutPropertiesLoose(_ref7, ["name", "x", "y", "z"]);
1995
+ query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
1962
1996
 
1963
1997
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
1964
1998
  }
@@ -1979,7 +2013,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
1979
2013
  let {
1980
2014
  name
1981
2015
  } = _ref8,
1982
- query = _objectWithoutPropertiesLoose(_ref8, ["name"]);
2016
+ query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
1983
2017
 
1984
2018
  return this.http.createUrl("/layers/" + name + "/export", query);
1985
2019
  }
@@ -2000,7 +2034,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2000
2034
  let {
2001
2035
  name
2002
2036
  } = _ref9,
2003
- query = _objectWithoutPropertiesLoose(_ref9, ["name"]);
2037
+ query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
2004
2038
 
2005
2039
  return this.http.get("/layers/" + name + "/extent", query).json();
2006
2040
  }
@@ -2021,7 +2055,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2021
2055
  let {
2022
2056
  name
2023
2057
  } = _ref10,
2024
- query = _objectWithoutPropertiesLoose(_ref10, ["name"]);
2058
+ query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
2025
2059
 
2026
2060
  return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
2027
2061
  }
@@ -2042,7 +2076,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2042
2076
  let {
2043
2077
  name
2044
2078
  } = _ref11,
2045
- query = _objectWithoutPropertiesLoose(_ref11, ["name"]);
2079
+ query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
2046
2080
 
2047
2081
  return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
2048
2082
  }
@@ -2063,7 +2097,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2063
2097
  let {
2064
2098
  name
2065
2099
  } = _ref12,
2066
- query = _objectWithoutPropertiesLoose(_ref12, ["name"]);
2100
+ query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
2067
2101
 
2068
2102
  return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
2069
2103
  }
@@ -2084,7 +2118,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2084
2118
  let {
2085
2119
  name
2086
2120
  } = _ref13,
2087
- query = _objectWithoutPropertiesLoose(_ref13, ["name"]);
2121
+ query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
2088
2122
 
2089
2123
  return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
2090
2124
  }
@@ -2105,7 +2139,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2105
2139
  let {
2106
2140
  name
2107
2141
  } = _ref14,
2108
- query = _objectWithoutPropertiesLoose(_ref14, ["name"]);
2142
+ query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
2109
2143
 
2110
2144
  return this.http.get("/layers/" + name + "/classify", query).json();
2111
2145
  }
@@ -2126,7 +2160,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2126
2160
  let {
2127
2161
  name
2128
2162
  } = _ref15,
2129
- query = _objectWithoutPropertiesLoose(_ref15, ["name"]);
2163
+ query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
2130
2164
 
2131
2165
  return this.http.get("/layers/" + name + "/distincts", query).json();
2132
2166
  }
@@ -2147,7 +2181,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2147
2181
  let {
2148
2182
  name
2149
2183
  } = _ref16,
2150
- query = _objectWithoutPropertiesLoose(_ref16, ["name"]);
2184
+ query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
2151
2185
 
2152
2186
  return this.http.get("/layers/" + name + "/aggregate-values", query).json();
2153
2187
  }
@@ -2168,7 +2202,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2168
2202
  let {
2169
2203
  name
2170
2204
  } = _ref17,
2171
- query = _objectWithoutPropertiesLoose(_ref17, ["name"]);
2205
+ query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
2172
2206
 
2173
2207
  return this.http.get("/layers/" + name + "/features/count", query).json();
2174
2208
  }
@@ -2222,7 +2256,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2222
2256
  let {
2223
2257
  layerName
2224
2258
  } = _ref18,
2225
- query = _objectWithoutPropertiesLoose(_ref18, ["layerName"]);
2259
+ query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
2226
2260
 
2227
2261
  return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
2228
2262
  }
@@ -2388,6 +2422,7 @@ function notError(v) {
2388
2422
  return !isError(v);
2389
2423
  }
2390
2424
 
2425
+ const _excluded$1 = ["remote"];
2391
2426
  let Layers = /*#__PURE__*/function (_LayersService) {
2392
2427
  _inherits(Layers, _LayersService);
2393
2428
 
@@ -2427,7 +2462,7 @@ let Layers = /*#__PURE__*/function (_LayersService) {
2427
2462
  let {
2428
2463
  remote
2429
2464
  } = _ref,
2430
- configuration = _objectWithoutPropertiesLoose(_ref, ["remote"]);
2465
+ configuration = _objectWithoutPropertiesLoose(_ref, _excluded$1);
2431
2466
 
2432
2467
  if (remote) {
2433
2468
  return this.publishRemoteTileService(configuration);
@@ -2476,6 +2511,10 @@ function isTileLayerService(layer) {
2476
2511
  return layer.type && /TileService/.test(layer.type);
2477
2512
  }
2478
2513
 
2514
+ const _excluded$2 = ["name"],
2515
+ _excluded2$1 = ["name"],
2516
+ _excluded3$1 = ["name"],
2517
+ _excluded4$1 = ["name"];
2479
2518
  /**
2480
2519
  * @title Spatial Processing Core API
2481
2520
  * @version v0.6.0
@@ -2495,7 +2534,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2495
2534
 
2496
2535
  _createClass(TablesService, [{
2497
2536
  key: "getTableList",
2498
-
2537
+ value:
2499
2538
  /**
2500
2539
  * No description
2501
2540
  *
@@ -2506,7 +2545,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2506
2545
  * @request GET:/tables
2507
2546
  * @response `200` Success
2508
2547
  */
2509
- value: function getTableList(query) {
2548
+ function getTableList(query) {
2510
2549
  return this.http.get("/tables", query).json();
2511
2550
  }
2512
2551
  /**
@@ -2622,7 +2661,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2622
2661
  let {
2623
2662
  name
2624
2663
  } = _ref,
2625
- query = _objectWithoutPropertiesLoose(_ref, ["name"]);
2664
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$2);
2626
2665
 
2627
2666
  return this.http.get("/tables/" + name + "/data", query).json();
2628
2667
  }
@@ -2643,7 +2682,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2643
2682
  let {
2644
2683
  name
2645
2684
  } = _ref2,
2646
- query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
2685
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
2647
2686
 
2648
2687
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
2649
2688
  }
@@ -2664,7 +2703,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2664
2703
  let {
2665
2704
  name
2666
2705
  } = _ref3,
2667
- query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
2706
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
2668
2707
 
2669
2708
  return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
2670
2709
  }
@@ -2685,7 +2724,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
2685
2724
  let {
2686
2725
  name
2687
2726
  } = _ref4,
2688
- query = _objectWithoutPropertiesLoose(_ref4, ["name"]);
2727
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
2689
2728
 
2690
2729
  return this.http.get("/tables/" + name + "/data/unique-values", query).json();
2691
2730
  }
@@ -2981,7 +3020,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
2981
3020
 
2982
3021
  _createClass(ProjectsService, [{
2983
3022
  key: "getProjectLayersExtendedInfo",
2984
-
3023
+ value:
2985
3024
  /**
2986
3025
  * No description
2987
3026
  *
@@ -2992,7 +3031,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
2992
3031
  * @request GET:/projects/{name}/extended-info
2993
3032
  * @response `200` Success
2994
3033
  */
2995
- value: function getProjectLayersExtendedInfo(name) {
3034
+ function getProjectLayersExtendedInfo(name) {
2996
3035
  return this.http.get("/projects/" + name + "/extended-info").json();
2997
3036
  }
2998
3037
  /**
@@ -3472,7 +3511,7 @@ let StyleService = /*#__PURE__*/function (_Service) {
3472
3511
 
3473
3512
  _createClass(StyleService, [{
3474
3513
  key: "getStyle",
3475
-
3514
+ value:
3476
3515
  /**
3477
3516
  * No description
3478
3517
  *
@@ -3483,7 +3522,7 @@ let StyleService = /*#__PURE__*/function (_Service) {
3483
3522
  * @request GET:/styles/{id}
3484
3523
  * @response `200` Success
3485
3524
  */
3486
- value: function getStyle(id) {
3525
+ function getStyle(id) {
3487
3526
  return this.http.get("/styles/" + id).json();
3488
3527
  }
3489
3528
  /**
@@ -3550,9 +3589,12 @@ let Styles = /*#__PURE__*/function (_StyleService) {
3550
3589
  return _super.apply(this, arguments);
3551
3590
  }
3552
3591
 
3553
- return Styles;
3592
+ return _createClass(Styles);
3554
3593
  }(StyleService);
3555
3594
 
3595
+ const _excluded$3 = ["providerName"],
3596
+ _excluded2$2 = ["providerName"],
3597
+ _excluded3$2 = ["providerName"];
3556
3598
  /**
3557
3599
  * @title Spatial Processing Core API
3558
3600
  * @version v0.6.0
@@ -3572,7 +3614,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3572
3614
 
3573
3615
  _createClass(GeocodeService, [{
3574
3616
  key: "geocode",
3575
-
3617
+ value:
3576
3618
  /**
3577
3619
  * No description
3578
3620
  *
@@ -3583,11 +3625,11 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3583
3625
  * @request GET:/geocode/{providerName}
3584
3626
  * @response `200` Success
3585
3627
  */
3586
- value: function geocode(_ref) {
3628
+ function geocode(_ref) {
3587
3629
  let {
3588
3630
  providerName
3589
3631
  } = _ref,
3590
- query = _objectWithoutPropertiesLoose(_ref, ["providerName"]);
3632
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
3591
3633
 
3592
3634
  return this.http.get("/geocode/" + providerName, query).json();
3593
3635
  }
@@ -3608,7 +3650,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3608
3650
  let {
3609
3651
  providerName
3610
3652
  } = _ref2,
3611
- query = _objectWithoutPropertiesLoose(_ref2, ["providerName"]);
3653
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
3612
3654
 
3613
3655
  return this.http.get("/geocode/" + providerName + "/geocodeByPoint", query).json();
3614
3656
  }
@@ -3629,7 +3671,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3629
3671
  let {
3630
3672
  providerName
3631
3673
  } = _ref3,
3632
- query = _objectWithoutPropertiesLoose(_ref3, ["providerName"]);
3674
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
3633
3675
 
3634
3676
  return this.http.get("/geocode/" + providerName + "/suggest", query).json();
3635
3677
  }
@@ -3669,6 +3711,7 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
3669
3711
  return Geocode;
3670
3712
  }(GeocodeService);
3671
3713
 
3714
+ const _excluded$4 = ["resourceType"];
3672
3715
  /**
3673
3716
  * @title Spatial Processing Core API
3674
3717
  * @version v0.6.0
@@ -3688,7 +3731,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3688
3731
 
3689
3732
  _createClass(ResourceCatalogService, [{
3690
3733
  key: "getProjects",
3691
-
3734
+ value:
3692
3735
  /**
3693
3736
  * No description
3694
3737
  *
@@ -3699,7 +3742,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3699
3742
  * @request GET:/resources/projects
3700
3743
  * @response `200` Success
3701
3744
  */
3702
- value: function getProjects(query) {
3745
+ function getProjects(query) {
3703
3746
  return this.http.get("/resources/projects", query).json();
3704
3747
  }
3705
3748
  /**
@@ -3879,7 +3922,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3879
3922
  let {
3880
3923
  resourceType
3881
3924
  } = _ref,
3882
- query = _objectWithoutPropertiesLoose(_ref, ["resourceType"]);
3925
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
3883
3926
 
3884
3927
  return this.http.delete("/resources/" + resourceType, null, query).then(() => {});
3885
3928
  }
@@ -3931,9 +3974,11 @@ let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
3931
3974
  return _super.apply(this, arguments);
3932
3975
  }
3933
3976
 
3934
- return ResourceCatalog;
3977
+ return _createClass(ResourceCatalog);
3935
3978
  }(ResourceCatalogService);
3936
3979
 
3980
+ const _excluded$5 = ["name"],
3981
+ _excluded2$3 = ["name"];
3937
3982
  /**
3938
3983
  * @title Spatial Processing Core API
3939
3984
  * @version v0.6.0
@@ -3953,7 +3998,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
3953
3998
 
3954
3999
  _createClass(ToolsService, [{
3955
4000
  key: "getTools",
3956
-
4001
+ value:
3957
4002
  /**
3958
4003
  * No description
3959
4004
  *
@@ -3964,7 +4009,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
3964
4009
  * @request GET:/tools
3965
4010
  * @response `200` Success
3966
4011
  */
3967
- value: function getTools(query) {
4012
+ function getTools(query) {
3968
4013
  return this.http.get("/tools", query).json();
3969
4014
  }
3970
4015
  /**
@@ -4322,7 +4367,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
4322
4367
  let {
4323
4368
  name
4324
4369
  } = _ref,
4325
- query = _objectWithoutPropertiesLoose(_ref, ["name"]);
4370
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
4326
4371
 
4327
4372
  return this.http.post("/tools/" + name + "/evaluate", data, query).json();
4328
4373
  }
@@ -4344,7 +4389,7 @@ let ToolsService = /*#__PURE__*/function (_Service) {
4344
4389
  let {
4345
4390
  name
4346
4391
  } = _ref2,
4347
- query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
4392
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
4348
4393
 
4349
4394
  return this.http.post("/tools/" + name + "/run", data, query).json();
4350
4395
  }
@@ -4428,7 +4473,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
4428
4473
  return _super.apply(this, arguments);
4429
4474
  }
4430
4475
 
4431
- return Tools;
4476
+ return _createClass(Tools);
4432
4477
  }(ToolsService);
4433
4478
 
4434
4479
  /**
@@ -4450,7 +4495,7 @@ let GeneralService = /*#__PURE__*/function (_Service) {
4450
4495
 
4451
4496
  _createClass(GeneralService, [{
4452
4497
  key: "getServerInfo",
4453
-
4498
+ value:
4454
4499
  /**
4455
4500
  * No description
4456
4501
  *
@@ -4461,7 +4506,7 @@ let GeneralService = /*#__PURE__*/function (_Service) {
4461
4506
  * @request GET:/
4462
4507
  * @response `200` Success
4463
4508
  */
4464
- value: function getServerInfo() {
4509
+ function getServerInfo() {
4465
4510
  return this.http.get("/").json();
4466
4511
  }
4467
4512
  /**
@@ -4512,7 +4557,7 @@ let General = /*#__PURE__*/function (_GeneralService) {
4512
4557
  return _super.apply(this, arguments);
4513
4558
  }
4514
4559
 
4515
- return General;
4560
+ return _createClass(General);
4516
4561
  }(GeneralService);
4517
4562
 
4518
4563
  /**
@@ -4534,7 +4579,7 @@ let NamespaceService = /*#__PURE__*/function (_Service) {
4534
4579
 
4535
4580
  _createClass(NamespaceService, [{
4536
4581
  key: "getNamespaces",
4537
-
4582
+ value:
4538
4583
  /**
4539
4584
  * No description
4540
4585
  *
@@ -4545,7 +4590,7 @@ let NamespaceService = /*#__PURE__*/function (_Service) {
4545
4590
  * @request GET:/namespaces
4546
4591
  * @response `200` Success
4547
4592
  */
4548
- value: function getNamespaces(query) {
4593
+ function getNamespaces(query) {
4549
4594
  return this.http.get("/namespaces", query).json();
4550
4595
  }
4551
4596
  /**
@@ -4612,7 +4657,7 @@ let Namespace = /*#__PURE__*/function (_NamespaceService) {
4612
4657
  return _super.apply(this, arguments);
4613
4658
  }
4614
4659
 
4615
- return Namespace;
4660
+ return _createClass(Namespace);
4616
4661
  }(NamespaceService);
4617
4662
 
4618
4663
  /**
@@ -4634,7 +4679,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
4634
4679
 
4635
4680
  _createClass(AccountService, [{
4636
4681
  key: "getUsers",
4637
-
4682
+ value:
4638
4683
  /**
4639
4684
  * No description
4640
4685
  *
@@ -4645,7 +4690,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
4645
4690
  * @request GET:/account/user/list
4646
4691
  * @response `200` Success
4647
4692
  */
4648
- value: function getUsers(query) {
4693
+ function getUsers(query) {
4649
4694
  return this.http.get("/account/user/list", query).json();
4650
4695
  }
4651
4696
  /**
@@ -5216,6 +5261,13 @@ let Account = /*#__PURE__*/function (_AccountService) {
5216
5261
  this.userInfo = await this.getUserInfo('');
5217
5262
  return this.userInfo;
5218
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
+ }
5219
5271
  }, {
5220
5272
  key: "logout",
5221
5273
  value: async function logout() {
@@ -5239,19 +5291,12 @@ let Account = /*#__PURE__*/function (_AccountService) {
5239
5291
  password
5240
5292
  });
5241
5293
  }
5242
- }, {
5243
- key: "username",
5244
- get: function get() {
5245
- var _this$userInfo;
5246
-
5247
- return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
5248
- }
5249
5294
  }, {
5250
5295
  key: "isAuth",
5251
5296
  get: function get() {
5252
5297
  var _this$userInfo2;
5253
5298
 
5254
- 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';
5255
5300
  }
5256
5301
  }, {
5257
5302
  key: "user",
@@ -5292,7 +5337,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
5292
5337
 
5293
5338
  _createClass(AccountPreviewService, [{
5294
5339
  key: "getPreview",
5295
-
5340
+ value:
5296
5341
  /**
5297
5342
  * No description
5298
5343
  *
@@ -5303,7 +5348,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
5303
5348
  * @request GET:/account/user/{username}/preview
5304
5349
  * @response `200` Success
5305
5350
  */
5306
- value: function getPreview(username) {
5351
+ function getPreview(username) {
5307
5352
  return this.http.createUrl("/account/user/" + username + "/preview");
5308
5353
  }
5309
5354
  /**
@@ -5375,6 +5420,28 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
5375
5420
  }
5376
5421
 
5377
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
+ }, {
5378
5445
  key: "updateCurrentUserPhoto",
5379
5446
  value: async function updateCurrentUserPhoto(file) {
5380
5447
  const {
@@ -5405,28 +5472,6 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
5405
5472
  has_profile_photo: false
5406
5473
  });
5407
5474
  }
5408
- }, {
5409
- key: "user",
5410
- get: function get() {
5411
- if (this.userInfo) {
5412
- return this.userInfo;
5413
- }
5414
-
5415
- const userInfo = getUserInfo();
5416
-
5417
- if (userInfo) {
5418
- this.userInfo = userInfo;
5419
- }
5420
-
5421
- return userInfo;
5422
- }
5423
- }, {
5424
- key: "username",
5425
- get: function get() {
5426
- var _this$userInfo;
5427
-
5428
- return ((_this$userInfo = this.userInfo) == null ? void 0 : _this$userInfo.username) || '';
5429
- }
5430
5475
  }]);
5431
5476
 
5432
5477
  return AccountPreview;
@@ -5451,7 +5496,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5451
5496
 
5452
5497
  _createClass(ExternalProvidersService, [{
5453
5498
  key: "vkLogin",
5454
-
5499
+ value:
5455
5500
  /**
5456
5501
  * No description
5457
5502
  *
@@ -5462,7 +5507,7 @@ let ExternalProvidersService = /*#__PURE__*/function (_Service) {
5462
5507
  * @request GET:/account/external/login/vk
5463
5508
  * @response `200` Success
5464
5509
  */
5465
- value: function vkLogin() {
5510
+ function vkLogin() {
5466
5511
  return this.http.createUrl("/account/external/login/vk");
5467
5512
  }
5468
5513
  /**
@@ -5697,6 +5742,7 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
5697
5742
  return External;
5698
5743
  }(ExternalProvidersService);
5699
5744
 
5745
+ const _excluded$6 = ["idVariable"];
5700
5746
  /**
5701
5747
  * @title Spatial Processing Core API
5702
5748
  * @version v0.6.0
@@ -5716,7 +5762,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5716
5762
 
5717
5763
  _createClass(ClientSettingsService, [{
5718
5764
  key: "getConfiguration",
5719
-
5765
+ value:
5720
5766
  /**
5721
5767
  * No description
5722
5768
  *
@@ -5727,7 +5773,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5727
5773
  * @request GET:/settings
5728
5774
  * @response `200` Success
5729
5775
  */
5730
- value: function getConfiguration(query) {
5776
+ function getConfiguration(query) {
5731
5777
  return this.http.get("/settings", query).text();
5732
5778
  }
5733
5779
  /**
@@ -5891,7 +5937,7 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5891
5937
  let {
5892
5938
  idVariable
5893
5939
  } = _ref,
5894
- query = _objectWithoutPropertiesLoose(_ref, ["idVariable"]);
5940
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5895
5941
 
5896
5942
  return this.http.get("/settings/variable/" + idVariable + "/value", query).json();
5897
5943
  }
@@ -6065,6 +6111,41 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
6065
6111
  return ClientSettings;
6066
6112
  }(ClientSettingsService);
6067
6113
 
6114
+ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
6115
+ _inherits(PortalSettings, _ClientSettingsServic);
6116
+
6117
+ var _super = /*#__PURE__*/_createSuper(PortalSettings);
6118
+
6119
+ function PortalSettings() {
6120
+ var _this;
6121
+
6122
+ _classCallCheck(this, PortalSettings);
6123
+
6124
+ _this = _super.apply(this, arguments);
6125
+ _this.config = null;
6126
+ return _this;
6127
+ }
6128
+
6129
+ _createClass(PortalSettings, [{
6130
+ key: "fetchPortalSettings",
6131
+ value: async function fetchPortalSettings(query) {
6132
+ var _config$settings, _config$settings2, _config$settings3;
6133
+
6134
+ const config = JSON.parse(await this.getConfiguration(query));
6135
+ this.config = _extends({}, config || {}, {
6136
+ settings: {
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
6140
+ }
6141
+ });
6142
+ return this.config;
6143
+ }
6144
+ }]);
6145
+
6146
+ return PortalSettings;
6147
+ }(ClientSettingsService);
6148
+
6068
6149
  (function (ErrorReason) {
6069
6150
  /** When request has status code less than 400 */
6070
6151
  ErrorReason["HTTP_OTHER"] = "other";
@@ -6256,7 +6337,7 @@ let IceRouterService = /*#__PURE__*/function (_Service) {
6256
6337
 
6257
6338
  _createClass(IceRouterService, [{
6258
6339
  key: "startTask",
6259
-
6340
+ value:
6260
6341
  /**
6261
6342
  * No description
6262
6343
  *
@@ -6267,7 +6348,7 @@ let IceRouterService = /*#__PURE__*/function (_Service) {
6267
6348
  * @request POST:/ice-router/tasks
6268
6349
  * @response `200` Success
6269
6350
  */
6270
- value: function startTask(data) {
6351
+ function startTask(data) {
6271
6352
  return this.http.post("/ice-router/tasks", data).text();
6272
6353
  }
6273
6354
  /**
@@ -6302,7 +6383,7 @@ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
6302
6383
  return _super.apply(this, arguments);
6303
6384
  }
6304
6385
 
6305
- return IceRouter;
6386
+ return _createClass(IceRouter);
6306
6387
  }(IceRouterService);
6307
6388
 
6308
6389
  /**
@@ -6324,7 +6405,7 @@ let PrintService = /*#__PURE__*/function (_Service) {
6324
6405
 
6325
6406
  _createClass(PrintService, [{
6326
6407
  key: "print",
6327
-
6408
+ value:
6328
6409
  /**
6329
6410
  * No description
6330
6411
  *
@@ -6335,7 +6416,7 @@ let PrintService = /*#__PURE__*/function (_Service) {
6335
6416
  * @request POST:/print/print
6336
6417
  * @response `200` Success
6337
6418
  */
6338
- value: function print(data) {
6419
+ function print(data) {
6339
6420
  return this.http.post("/print/print", data).blob();
6340
6421
  }
6341
6422
  /**
@@ -6434,7 +6515,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
6434
6515
  return _super.apply(this, arguments);
6435
6516
  }
6436
6517
 
6437
- return Print;
6518
+ return _createClass(Print);
6438
6519
  }(PrintService);
6439
6520
 
6440
6521
  (function (ApiEvent) {
@@ -6446,6 +6527,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
6446
6527
  (function (UrlPath) {
6447
6528
  UrlPath["Base"] = "/map";
6448
6529
  UrlPath["Shared"] = "/shared";
6530
+ UrlPath["Portal"] = "/portal";
6449
6531
  })(exports.UrlPath || (exports.UrlPath = {}));
6450
6532
 
6451
6533
  const apiEventsByResponseStatus = {
@@ -6516,6 +6598,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6516
6598
  _this.namespace = new Namespace(_this.http);
6517
6599
  _this.external = new External(_this.http);
6518
6600
  _this.clientSettings = new ClientSettings(_this.http);
6601
+ _this.portalSettings = new PortalSettings(_this.http);
6519
6602
  _this.iceRouter = new IceRouter(_this.http);
6520
6603
  _this.names = new Names({
6521
6604
  account: _this.account
@@ -6687,6 +6770,27 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6687
6770
 
6688
6771
 
6689
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
+ }, {
6690
6794
  key: "getUrl",
6691
6795
  value: function getUrl(bbox, resolution) {
6692
6796
  let imgWidth = Math.round((bbox.xMax - bbox.xMin) / resolution);
@@ -6711,27 +6815,6 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6711
6815
  });
6712
6816
  });
6713
6817
  }
6714
- }, {
6715
- key: "style",
6716
- set: function set(styleId) {
6717
- this.styleId = styleId;
6718
- this.forceUpdate();
6719
- } // @ts-ignore TODO
6720
- ,
6721
- get: function get() {
6722
- return this.styleId;
6723
- } // @ts-ignore TODO
6724
-
6725
- }, {
6726
- key: "condition",
6727
- set: function set(condition) {
6728
- this.conditionQuery = condition;
6729
- this.forceUpdate();
6730
- } // @ts-ignore TODO
6731
- ,
6732
- get: function get() {
6733
- return this.conditionQuery;
6734
- }
6735
6818
  }]);
6736
6819
 
6737
6820
  return EvergisDynamicLayer;
@@ -7303,6 +7386,7 @@ exports.Names = Names;
7303
7386
  exports.Namespace = Namespace;
7304
7387
  exports.Notification = Notification;
7305
7388
  exports.NotificationEvent = NotificationEvent;
7389
+ exports.PortalSettings = PortalSettings;
7306
7390
  exports.Projects = Projects;
7307
7391
  exports.ResourceCatalog = ResourceCatalog;
7308
7392
  exports.Resources = Resources;