@evergis/api 4.1.0 → 4.1.2

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.
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
6
 
7
- var eventEmitter = require('@evergis/event-emitter');
8
7
  var ky = require('ky');
9
8
  var ky__default = _interopDefault(ky);
10
9
  var signalr = require('@microsoft/signalr');
@@ -82,19 +81,6 @@ function _setPrototypeOf(o, p) {
82
81
  return _setPrototypeOf(o, p);
83
82
  }
84
83
 
85
- function _isNativeReflectConstruct() {
86
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
87
- if (Reflect.construct.sham) return false;
88
- if (typeof Proxy === "function") return true;
89
-
90
- try {
91
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
92
- return true;
93
- } catch (e) {
94
- return false;
95
- }
96
- }
97
-
98
84
  function _objectWithoutPropertiesLoose(source, excluded) {
99
85
  if (source == null) return {};
100
86
  var target = {};
@@ -126,25 +112,6 @@ function _possibleConstructorReturn(self, call) {
126
112
  return _assertThisInitialized(self);
127
113
  }
128
114
 
129
- function _createSuper(Derived) {
130
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
131
-
132
- return function _createSuperInternal() {
133
- var Super = _getPrototypeOf(Derived),
134
- result;
135
-
136
- if (hasNativeReflectConstruct) {
137
- var NewTarget = _getPrototypeOf(this).constructor;
138
-
139
- result = Reflect.construct(Super, arguments, NewTarget);
140
- } else {
141
- result = Super.apply(this, arguments);
142
- }
143
-
144
- return _possibleConstructorReturn(this, result);
145
- };
146
- }
147
-
148
115
  function _superPropBase(object, property) {
149
116
  while (!Object.prototype.hasOwnProperty.call(object, property)) {
150
117
  object = _getPrototypeOf(object);
@@ -193,7 +160,7 @@ let HttpClient = /*#__PURE__*/function () {
193
160
  this.prefixUrl = ((_options$prefixUrl = options.prefixUrl) == null ? void 0 : _options$prefixUrl.toString()) || '';
194
161
  }
195
162
 
196
- _createClass(HttpClient, [{
163
+ return _createClass(HttpClient, [{
197
164
  key: "extend",
198
165
  value: function extend(options) {
199
166
  var _options$prefixUrl2;
@@ -248,8 +215,6 @@ let HttpClient = /*#__PURE__*/function () {
248
215
  return url;
249
216
  }
250
217
  }]);
251
-
252
- return HttpClient;
253
218
  }();
254
219
 
255
220
  function kyOptions(params, body) {
@@ -309,6 +274,22 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
309
274
  this.http = http;
310
275
  });
311
276
 
277
+ function _callSuper(_this, derived, args) {
278
+ function isNativeReflectConstruct() {
279
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
280
+ if (Reflect.construct.sham) return false;
281
+ if (typeof Proxy === "function") return true;
282
+
283
+ try {
284
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
285
+ } catch (e) {
286
+ return false;
287
+ }
288
+ }
289
+
290
+ derived = _getPrototypeOf(derived);
291
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
292
+ }
312
293
  /**
313
294
  * @title Spatial Processing Core API
314
295
  * @version 1.5.1.0
@@ -316,17 +297,15 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
316
297
  */
317
298
 
318
299
  let DataSourceService = /*#__PURE__*/function (_Service) {
319
- _inherits(DataSourceService, _Service);
320
-
321
- var _super = /*#__PURE__*/_createSuper(DataSourceService);
322
-
323
300
  function DataSourceService() {
324
301
  _classCallCheck(this, DataSourceService);
325
302
 
326
- return _super.apply(this, arguments);
303
+ return _callSuper(this, DataSourceService, arguments);
327
304
  }
328
305
 
329
- _createClass(DataSourceService, [{
306
+ _inherits(DataSourceService, _Service);
307
+
308
+ return _createClass(DataSourceService, [{
330
309
  key: "createArcGisDataSource",
331
310
  value:
332
311
  /**
@@ -383,7 +362,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
383
362
  * @tags DataSource
384
363
  * @name CreateDataSource
385
364
  * @operationId DataSourceController_CreateDataSource
386
- * @summary Create data source.
365
+ * @summary Create postgresql data source.
387
366
  * @request POST:/ds
388
367
  * @secure
389
368
  * @response `200` OK
@@ -400,7 +379,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
400
379
  * @tags DataSource
401
380
  * @name UpdateDataSource
402
381
  * @operationId DataSourceController_UpdateDataSource
403
- * @summary Update data source.
382
+ * @summary Update postgresql data source.
404
383
  * @request PATCH:/ds
405
384
  * @secure
406
385
  * @response `200` OK
@@ -468,7 +447,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
468
447
  * @tags DataSource
469
448
  * @name CreateMosRuDataSource
470
449
  * @operationId DataSourceController_CreateMosRuDataSource
471
- * @summary Create data.mos.ru source.
450
+ * @summary Create data.mos.ru data source.
472
451
  * @request POST:/ds/dataMosRu
473
452
  * @secure
474
453
  * @response `200` OK
@@ -485,7 +464,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
485
464
  * @tags DataSource
486
465
  * @name UpdateMosRuDataSource
487
466
  * @operationId DataSourceController_UpdateMosRuDataSource
488
- * @summary Update arcgis data source.
467
+ * @summary Update data.mos.ru data source.
489
468
  * @request PATCH:/ds/dataMosRu
490
469
  * @secure
491
470
  * @response `200` OK
@@ -530,6 +509,40 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
530
509
  value: function updateS3DataSource(data) {
531
510
  return this.http.patch("/ds/s3", data).then(() => {});
532
511
  }
512
+ /**
513
+ * No description
514
+ *
515
+ * @tags DataSource
516
+ * @name CreateSparkDataSource
517
+ * @operationId DataSourceController_CreateSparkDataSource
518
+ * @summary Create spark data source.
519
+ * @request POST:/ds/spark
520
+ * @secure
521
+ * @response `200` OK
522
+ */
523
+
524
+ }, {
525
+ key: "createSparkDataSource",
526
+ value: function createSparkDataSource(data) {
527
+ return this.http.post("/ds/spark", data).then(() => {});
528
+ }
529
+ /**
530
+ * No description
531
+ *
532
+ * @tags DataSource
533
+ * @name UpdateSparkDataSource
534
+ * @operationId DataSourceController_UpdateSparkDataSource
535
+ * @summary Update spark data source.
536
+ * @request PATCH:/ds/spark
537
+ * @secure
538
+ * @response `200` OK
539
+ */
540
+
541
+ }, {
542
+ key: "updateSparkDataSource",
543
+ value: function updateSparkDataSource(data) {
544
+ return this.http.patch("/ds/spark", data).then(() => {});
545
+ }
533
546
  /**
534
547
  * No description
535
548
  *
@@ -565,11 +578,26 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
565
578
  return this.http.patch("/ds/wms", data).then(() => {});
566
579
  }
567
580
  }]);
568
-
569
- return DataSourceService;
570
581
  }(Service);
571
582
 
572
583
  const _excluded = ["username"];
584
+
585
+ function _callSuper$1(_this, derived, args) {
586
+ function isNativeReflectConstruct() {
587
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
588
+ if (Reflect.construct.sham) return false;
589
+ if (typeof Proxy === "function") return true;
590
+
591
+ try {
592
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
593
+ } catch (e) {
594
+ return false;
595
+ }
596
+ }
597
+
598
+ derived = _getPrototypeOf(derived);
599
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
600
+ }
573
601
  /**
574
602
  * @title Spatial Processing Core API
575
603
  * @version 1.5.1.0
@@ -577,17 +605,15 @@ const _excluded = ["username"];
577
605
  */
578
606
 
579
607
  let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
580
- _inherits(QueryTokenAccessService, _Service);
581
-
582
- var _super = /*#__PURE__*/_createSuper(QueryTokenAccessService);
583
-
584
608
  function QueryTokenAccessService() {
585
609
  _classCallCheck(this, QueryTokenAccessService);
586
610
 
587
- return _super.apply(this, arguments);
611
+ return _callSuper$1(this, QueryTokenAccessService, arguments);
588
612
  }
589
613
 
590
- _createClass(QueryTokenAccessService, [{
614
+ _inherits(QueryTokenAccessService, _Service);
615
+
616
+ return _createClass(QueryTokenAccessService, [{
591
617
  key: "getTokensList",
592
618
  value:
593
619
  /**
@@ -673,10 +699,24 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
673
699
  return this.http.delete("/accessToken/" + token, null).then(() => {});
674
700
  }
675
701
  }]);
676
-
677
- return QueryTokenAccessService;
678
702
  }(Service);
679
703
 
704
+ function _callSuper$2(_this, derived, args) {
705
+ function isNativeReflectConstruct() {
706
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
707
+ if (Reflect.construct.sham) return false;
708
+ if (typeof Proxy === "function") return true;
709
+
710
+ try {
711
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
712
+ } catch (e) {
713
+ return false;
714
+ }
715
+ }
716
+
717
+ derived = _getPrototypeOf(derived);
718
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
719
+ }
680
720
  /**
681
721
  * @title Spatial Processing Core API
682
722
  * @version 1.5.1.0
@@ -684,17 +724,15 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
684
724
  */
685
725
 
686
726
  let SpatialReferencesService = /*#__PURE__*/function (_Service) {
687
- _inherits(SpatialReferencesService, _Service);
688
-
689
- var _super = /*#__PURE__*/_createSuper(SpatialReferencesService);
690
-
691
727
  function SpatialReferencesService() {
692
728
  _classCallCheck(this, SpatialReferencesService);
693
729
 
694
- return _super.apply(this, arguments);
730
+ return _callSuper$2(this, SpatialReferencesService, arguments);
695
731
  }
696
732
 
697
- _createClass(SpatialReferencesService, [{
733
+ _inherits(SpatialReferencesService, _Service);
734
+
735
+ return _createClass(SpatialReferencesService, [{
698
736
  key: "getAvailiableCs",
699
737
  value:
700
738
  /**
@@ -746,10 +784,24 @@ let SpatialReferencesService = /*#__PURE__*/function (_Service) {
746
784
  return this.http.get("/srs/" + name + "/wkt").text();
747
785
  }
748
786
  }]);
749
-
750
- return SpatialReferencesService;
751
787
  }(Service);
752
788
 
789
+ function _callSuper$3(_this, derived, args) {
790
+ function isNativeReflectConstruct() {
791
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
792
+ if (Reflect.construct.sham) return false;
793
+ if (typeof Proxy === "function") return true;
794
+
795
+ try {
796
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
797
+ } catch (e) {
798
+ return false;
799
+ }
800
+ }
801
+
802
+ derived = _getPrototypeOf(derived);
803
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
804
+ }
753
805
  /**
754
806
  * @title Spatial Processing Core API
755
807
  * @version 1.5.1.0
@@ -757,17 +809,15 @@ let SpatialReferencesService = /*#__PURE__*/function (_Service) {
757
809
  */
758
810
 
759
811
  let CatalogService = /*#__PURE__*/function (_Service) {
760
- _inherits(CatalogService, _Service);
761
-
762
- var _super = /*#__PURE__*/_createSuper(CatalogService);
763
-
764
812
  function CatalogService() {
765
813
  _classCallCheck(this, CatalogService);
766
814
 
767
- return _super.apply(this, arguments);
815
+ return _callSuper$3(this, CatalogService, arguments);
768
816
  }
769
817
 
770
- _createClass(CatalogService, [{
818
+ _inherits(CatalogService, _Service);
819
+
820
+ return _createClass(CatalogService, [{
771
821
  key: "getParents",
772
822
  value:
773
823
  /**
@@ -1057,8 +1107,6 @@ let CatalogService = /*#__PURE__*/function (_Service) {
1057
1107
  return this.http.post("/resources/copy", data).json();
1058
1108
  }
1059
1109
  }]);
1060
-
1061
- return CatalogService;
1062
1110
  }(Service);
1063
1111
 
1064
1112
  (function (ApiEvent) {
@@ -1067,6 +1115,67 @@ let CatalogService = /*#__PURE__*/function (_Service) {
1067
1115
  ApiEvent["SessionClosed"] = "SessionClosed";
1068
1116
  })(exports.ApiEvent || (exports.ApiEvent = {}));
1069
1117
 
1118
+ let EventEmitter = /*#__PURE__*/function () {
1119
+ function EventEmitter() {
1120
+ _classCallCheck(this, EventEmitter);
1121
+
1122
+ this.handlers = {
1123
+ "*": []
1124
+ };
1125
+ }
1126
+
1127
+ return _createClass(EventEmitter, [{
1128
+ key: "on",
1129
+ value: function on(type, handler) {
1130
+ if (!this.handlers[type]) {
1131
+ this.handlers[type] = [];
1132
+ }
1133
+
1134
+ this.handlers[type].push(handler);
1135
+ }
1136
+ }, {
1137
+ key: "off",
1138
+ value: function off(type, handler) {
1139
+ if (!this.handlers[type]) return;
1140
+ const index = this.handlers[type].indexOf(handler);
1141
+ if (index === -1) return;
1142
+ this.handlers[type].splice(index, 1);
1143
+ }
1144
+ }, {
1145
+ key: "emit",
1146
+ value: function emit(type, event) {
1147
+ this.handlers[type] && this.handlers[type].map(handler => handler(event));
1148
+ this.handlers["*"].map(handler => handler(type, event));
1149
+ }
1150
+ }, {
1151
+ key: "once",
1152
+ value: function once(type, handler) {
1153
+ const onceHandler = event => {
1154
+ this.off(type, onceHandler);
1155
+ handler(event);
1156
+ };
1157
+
1158
+ this.on(type, onceHandler);
1159
+ }
1160
+ }]);
1161
+ }();
1162
+
1163
+ function _callSuper$4(_this, derived, args) {
1164
+ function isNativeReflectConstruct() {
1165
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
1166
+ if (Reflect.construct.sham) return false;
1167
+ if (typeof Proxy === "function") return true;
1168
+
1169
+ try {
1170
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
1171
+ } catch (e) {
1172
+ return false;
1173
+ }
1174
+ }
1175
+
1176
+ derived = _getPrototypeOf(derived);
1177
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
1178
+ }
1070
1179
  /**
1071
1180
  * @title Spatial Processing Core API
1072
1181
  * @version 1.5.1.0
@@ -1074,17 +1183,15 @@ let CatalogService = /*#__PURE__*/function (_Service) {
1074
1183
  */
1075
1184
 
1076
1185
  let AccountService = /*#__PURE__*/function (_Service) {
1077
- _inherits(AccountService, _Service);
1078
-
1079
- var _super = /*#__PURE__*/_createSuper(AccountService);
1080
-
1081
1186
  function AccountService() {
1082
1187
  _classCallCheck(this, AccountService);
1083
1188
 
1084
- return _super.apply(this, arguments);
1189
+ return _callSuper$4(this, AccountService, arguments);
1085
1190
  }
1086
1191
 
1087
- _createClass(AccountService, [{
1192
+ _inherits(AccountService, _Service);
1193
+
1194
+ return _createClass(AccountService, [{
1088
1195
  key: "getUsers",
1089
1196
  value:
1090
1197
  /**
@@ -1475,6 +1582,23 @@ let AccountService = /*#__PURE__*/function (_Service) {
1475
1582
  value: function createNamespace(query) {
1476
1583
  return this.http.post("/account/namespace", null, query).json();
1477
1584
  }
1585
+ /**
1586
+ * No description
1587
+ *
1588
+ * @tags Account
1589
+ * @name RemoveNamespace
1590
+ * @operationId AccountController_RemoveNamespaceAsync
1591
+ * @summary Remove namespace.
1592
+ * @request DELETE:/account/{namespace}
1593
+ * @secure
1594
+ * @response `200` OK
1595
+ */
1596
+
1597
+ }, {
1598
+ key: "removeNamespace",
1599
+ value: function removeNamespace(namespace) {
1600
+ return this.http.delete("/account/" + namespace, null).then(() => {});
1601
+ }
1478
1602
  /**
1479
1603
  * No description
1480
1604
  *
@@ -1782,8 +1906,6 @@ let AccountService = /*#__PURE__*/function (_Service) {
1782
1906
  return this.http.delete("/account/latest_projects", null).then(() => {});
1783
1907
  }
1784
1908
  }]);
1785
-
1786
- return AccountService;
1787
1909
  }(Service);
1788
1910
 
1789
1911
  const getUserInfo = () => JSON.parse(localStorage.getItem(API_USER_INFO_KEY) || 'null') || void 0;
@@ -1796,18 +1918,32 @@ const updateUserInfo = newUserInfo => {
1796
1918
  }
1797
1919
  };
1798
1920
 
1799
- let Account = /*#__PURE__*/function (_AccountService) {
1800
- _inherits(Account, _AccountService);
1921
+ function _callSuper$5(_this, derived, args) {
1922
+ function isNativeReflectConstruct() {
1923
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
1924
+ if (Reflect.construct.sham) return false;
1925
+ if (typeof Proxy === "function") return true;
1801
1926
 
1802
- var _super = /*#__PURE__*/_createSuper(Account);
1927
+ try {
1928
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
1929
+ } catch (e) {
1930
+ return false;
1931
+ }
1932
+ }
1803
1933
 
1934
+ derived = _getPrototypeOf(derived);
1935
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
1936
+ }
1937
+ let Account = /*#__PURE__*/function (_AccountService) {
1804
1938
  function Account() {
1805
1939
  _classCallCheck(this, Account);
1806
1940
 
1807
- return _super.apply(this, arguments);
1941
+ return _callSuper$5(this, Account, arguments);
1808
1942
  }
1809
1943
 
1810
- _createClass(Account, [{
1944
+ _inherits(Account, _AccountService);
1945
+
1946
+ return _createClass(Account, [{
1811
1947
  key: "login",
1812
1948
  value: async function login(params, authParams, useJwt) {
1813
1949
  if (authParams === void 0) {
@@ -1893,10 +2029,24 @@ let Account = /*#__PURE__*/function (_AccountService) {
1893
2029
  return userInfo;
1894
2030
  }
1895
2031
  }]);
1896
-
1897
- return Account;
1898
2032
  }(AccountService);
1899
2033
 
2034
+ function _callSuper$6(_this, derived, args) {
2035
+ function isNativeReflectConstruct() {
2036
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2037
+ if (Reflect.construct.sham) return false;
2038
+ if (typeof Proxy === "function") return true;
2039
+
2040
+ try {
2041
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2042
+ } catch (e) {
2043
+ return false;
2044
+ }
2045
+ }
2046
+
2047
+ derived = _getPrototypeOf(derived);
2048
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2049
+ }
1900
2050
  /**
1901
2051
  * @title Spatial Processing Core API
1902
2052
  * @version 1.5.1.0
@@ -1904,17 +2054,15 @@ let Account = /*#__PURE__*/function (_AccountService) {
1904
2054
  */
1905
2055
 
1906
2056
  let AccountPreviewService = /*#__PURE__*/function (_Service) {
1907
- _inherits(AccountPreviewService, _Service);
1908
-
1909
- var _super = /*#__PURE__*/_createSuper(AccountPreviewService);
1910
-
1911
2057
  function AccountPreviewService() {
1912
2058
  _classCallCheck(this, AccountPreviewService);
1913
2059
 
1914
- return _super.apply(this, arguments);
2060
+ return _callSuper$6(this, AccountPreviewService, arguments);
1915
2061
  }
1916
2062
 
1917
- _createClass(AccountPreviewService, [{
2063
+ _inherits(AccountPreviewService, _Service);
2064
+
2065
+ return _createClass(AccountPreviewService, [{
1918
2066
  key: "getPreview",
1919
2067
  value:
1920
2068
  /**
@@ -2017,24 +2165,52 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
2017
2165
  return this.http.delete("/account/user/preview/" + username, null).then(() => {});
2018
2166
  }
2019
2167
  }]);
2020
-
2021
- return AccountPreviewService;
2022
2168
  }(Service);
2023
2169
 
2024
- let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
2025
- _inherits(AccountPreview, _AccountPreviewServic);
2170
+ function _callSuper$7(_this, derived, args) {
2171
+ function isNativeReflectConstruct() {
2172
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2173
+ if (Reflect.construct.sham) return false;
2174
+ if (typeof Proxy === "function") return true;
2026
2175
 
2027
- var _super = /*#__PURE__*/_createSuper(AccountPreview);
2176
+ try {
2177
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2178
+ } catch (e) {
2179
+ return false;
2180
+ }
2181
+ }
2028
2182
 
2183
+ derived = _getPrototypeOf(derived);
2184
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2185
+ }
2186
+ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
2029
2187
  function AccountPreview() {
2030
2188
  _classCallCheck(this, AccountPreview);
2031
2189
 
2032
- return _super.apply(this, arguments);
2190
+ return _callSuper$7(this, AccountPreview, arguments);
2033
2191
  }
2034
2192
 
2193
+ _inherits(AccountPreview, _AccountPreviewServic);
2194
+
2035
2195
  return _createClass(AccountPreview);
2036
2196
  }(AccountPreviewService);
2037
2197
 
2198
+ function _callSuper$8(_this, derived, args) {
2199
+ function isNativeReflectConstruct() {
2200
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2201
+ if (Reflect.construct.sham) return false;
2202
+ if (typeof Proxy === "function") return true;
2203
+
2204
+ try {
2205
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2206
+ } catch (e) {
2207
+ return false;
2208
+ }
2209
+ }
2210
+
2211
+ derived = _getPrototypeOf(derived);
2212
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2213
+ }
2038
2214
  /**
2039
2215
  * @title Spatial Processing Core API
2040
2216
  * @version 1.5.1.0
@@ -2042,17 +2218,15 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
2042
2218
  */
2043
2219
 
2044
2220
  let BulkOperationsService = /*#__PURE__*/function (_Service) {
2045
- _inherits(BulkOperationsService, _Service);
2046
-
2047
- var _super = /*#__PURE__*/_createSuper(BulkOperationsService);
2048
-
2049
2221
  function BulkOperationsService() {
2050
2222
  _classCallCheck(this, BulkOperationsService);
2051
2223
 
2052
- return _super.apply(this, arguments);
2224
+ return _callSuper$8(this, BulkOperationsService, arguments);
2053
2225
  }
2054
2226
 
2055
- _createClass(BulkOperationsService, [{
2227
+ _inherits(BulkOperationsService, _Service);
2228
+
2229
+ return _createClass(BulkOperationsService, [{
2056
2230
  key: "batchResourcesPermissionsSet",
2057
2231
  value:
2058
2232
  /**
@@ -2070,21 +2244,33 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
2070
2244
  return this.http.put("/bulk/resources/permissions", data).json();
2071
2245
  }
2072
2246
  }]);
2073
-
2074
- return BulkOperationsService;
2075
2247
  }(Service);
2076
2248
 
2077
- let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
2078
- _inherits(BulkOperations, _BulkOperationsServic);
2249
+ function _callSuper$9(_this, derived, args) {
2250
+ function isNativeReflectConstruct() {
2251
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2252
+ if (Reflect.construct.sham) return false;
2253
+ if (typeof Proxy === "function") return true;
2079
2254
 
2080
- var _super = /*#__PURE__*/_createSuper(BulkOperations);
2255
+ try {
2256
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2257
+ } catch (e) {
2258
+ return false;
2259
+ }
2260
+ }
2081
2261
 
2262
+ derived = _getPrototypeOf(derived);
2263
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2264
+ }
2265
+ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
2082
2266
  function BulkOperations() {
2083
2267
  _classCallCheck(this, BulkOperations);
2084
2268
 
2085
- return _super.apply(this, arguments);
2269
+ return _callSuper$9(this, BulkOperations, arguments);
2086
2270
  }
2087
2271
 
2272
+ _inherits(BulkOperations, _BulkOperationsServic);
2273
+
2088
2274
  return _createClass(BulkOperations);
2089
2275
  }(BulkOperationsService);
2090
2276
 
@@ -2094,6 +2280,23 @@ const _excluded$1 = ["cameraId"],
2094
2280
  _excluded4 = ["cameraId"],
2095
2281
  _excluded5 = ["cameraId"],
2096
2282
  _excluded6 = ["cameraId"];
2283
+
2284
+ function _callSuper$a(_this, derived, args) {
2285
+ function isNativeReflectConstruct() {
2286
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2287
+ if (Reflect.construct.sham) return false;
2288
+ if (typeof Proxy === "function") return true;
2289
+
2290
+ try {
2291
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2292
+ } catch (e) {
2293
+ return false;
2294
+ }
2295
+ }
2296
+
2297
+ derived = _getPrototypeOf(derived);
2298
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2299
+ }
2097
2300
  /**
2098
2301
  * @title Spatial Processing Core API
2099
2302
  * @version 1.5.1.0
@@ -2101,17 +2304,15 @@ const _excluded$1 = ["cameraId"],
2101
2304
  */
2102
2305
 
2103
2306
  let CamerasService = /*#__PURE__*/function (_Service) {
2104
- _inherits(CamerasService, _Service);
2105
-
2106
- var _super = /*#__PURE__*/_createSuper(CamerasService);
2107
-
2108
2307
  function CamerasService() {
2109
2308
  _classCallCheck(this, CamerasService);
2110
2309
 
2111
- return _super.apply(this, arguments);
2310
+ return _callSuper$a(this, CamerasService, arguments);
2112
2311
  }
2113
2312
 
2114
- _createClass(CamerasService, [{
2313
+ _inherits(CamerasService, _Service);
2314
+
2315
+ return _createClass(CamerasService, [{
2115
2316
  key: "getCameras",
2116
2317
  value:
2117
2318
  /**
@@ -2278,24 +2479,52 @@ let CamerasService = /*#__PURE__*/function (_Service) {
2278
2479
  return this.http.get("/cameras/" + cameraId + "/getLivePreviewsStream", query).json();
2279
2480
  }
2280
2481
  }]);
2281
-
2282
- return CamerasService;
2283
2482
  }(Service);
2284
2483
 
2285
- let Cameras = /*#__PURE__*/function (_CamerasService) {
2286
- _inherits(Cameras, _CamerasService);
2484
+ function _callSuper$b(_this, derived, args) {
2485
+ function isNativeReflectConstruct() {
2486
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2487
+ if (Reflect.construct.sham) return false;
2488
+ if (typeof Proxy === "function") return true;
2287
2489
 
2288
- var _super = /*#__PURE__*/_createSuper(Cameras);
2490
+ try {
2491
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2492
+ } catch (e) {
2493
+ return false;
2494
+ }
2495
+ }
2289
2496
 
2497
+ derived = _getPrototypeOf(derived);
2498
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2499
+ }
2500
+ let Cameras = /*#__PURE__*/function (_CamerasService) {
2290
2501
  function Cameras() {
2291
2502
  _classCallCheck(this, Cameras);
2292
2503
 
2293
- return _super.apply(this, arguments);
2504
+ return _callSuper$b(this, Cameras, arguments);
2294
2505
  }
2295
2506
 
2507
+ _inherits(Cameras, _CamerasService);
2508
+
2296
2509
  return _createClass(Cameras);
2297
2510
  }(CamerasService);
2298
2511
 
2512
+ function _callSuper$c(_this, derived, args) {
2513
+ function isNativeReflectConstruct() {
2514
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2515
+ if (Reflect.construct.sham) return false;
2516
+ if (typeof Proxy === "function") return true;
2517
+
2518
+ try {
2519
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2520
+ } catch (e) {
2521
+ return false;
2522
+ }
2523
+ }
2524
+
2525
+ derived = _getPrototypeOf(derived);
2526
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2527
+ }
2299
2528
  /**
2300
2529
  * @title Spatial Processing Core API
2301
2530
  * @version 1.5.1.0
@@ -2303,17 +2532,15 @@ let Cameras = /*#__PURE__*/function (_CamerasService) {
2303
2532
  */
2304
2533
 
2305
2534
  let ClientSettingsService = /*#__PURE__*/function (_Service) {
2306
- _inherits(ClientSettingsService, _Service);
2307
-
2308
- var _super = /*#__PURE__*/_createSuper(ClientSettingsService);
2309
-
2310
2535
  function ClientSettingsService() {
2311
2536
  _classCallCheck(this, ClientSettingsService);
2312
2537
 
2313
- return _super.apply(this, arguments);
2538
+ return _callSuper$c(this, ClientSettingsService, arguments);
2314
2539
  }
2315
2540
 
2316
- _createClass(ClientSettingsService, [{
2541
+ _inherits(ClientSettingsService, _Service);
2542
+
2543
+ return _createClass(ClientSettingsService, [{
2317
2544
  key: "getConfigurationsList",
2318
2545
  value:
2319
2546
  /**
@@ -2382,31 +2609,43 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
2382
2609
  return this.http.delete("/settings", null, query).then(() => {});
2383
2610
  }
2384
2611
  }]);
2385
-
2386
- return ClientSettingsService;
2387
2612
  }(Service);
2388
2613
 
2389
- let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
2390
- _inherits(ClientSettings, _ClientSettingsServic);
2614
+ function _callSuper$d(_this, derived, args) {
2615
+ function isNativeReflectConstruct() {
2616
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2617
+ if (Reflect.construct.sham) return false;
2618
+ if (typeof Proxy === "function") return true;
2391
2619
 
2392
- var _super = /*#__PURE__*/_createSuper(ClientSettings);
2620
+ try {
2621
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2622
+ } catch (e) {
2623
+ return false;
2624
+ }
2625
+ }
2393
2626
 
2627
+ derived = _getPrototypeOf(derived);
2628
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2629
+ }
2630
+ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
2394
2631
  function ClientSettings() {
2395
- var _this;
2632
+ var _this2;
2396
2633
 
2397
2634
  _classCallCheck(this, ClientSettings);
2398
2635
 
2399
- _this = _super.apply(this, arguments);
2400
- _this.settings = {
2636
+ _this2 = _callSuper$d(this, ClientSettings, arguments);
2637
+ _this2.settings = {
2401
2638
  modules: [],
2402
2639
  connection: {
2403
2640
  url: ''
2404
2641
  }
2405
2642
  };
2406
- return _this;
2643
+ return _this2;
2407
2644
  }
2408
2645
 
2409
- _createClass(ClientSettings, [{
2646
+ _inherits(ClientSettings, _ClientSettingsServic);
2647
+
2648
+ return _createClass(ClientSettings, [{
2410
2649
  key: "fetchClientSettings",
2411
2650
  value: async function fetchClientSettings(query) {
2412
2651
  const config = JSON.parse(await this.getConfiguration(query));
@@ -2419,10 +2658,24 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
2419
2658
  Object.assign(this.settings, update);
2420
2659
  }
2421
2660
  }]);
2422
-
2423
- return ClientSettings;
2424
2661
  }(ClientSettingsService);
2425
2662
 
2663
+ function _callSuper$e(_this, derived, args) {
2664
+ function isNativeReflectConstruct() {
2665
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2666
+ if (Reflect.construct.sham) return false;
2667
+ if (typeof Proxy === "function") return true;
2668
+
2669
+ try {
2670
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2671
+ } catch (e) {
2672
+ return false;
2673
+ }
2674
+ }
2675
+
2676
+ derived = _getPrototypeOf(derived);
2677
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2678
+ }
2426
2679
  /**
2427
2680
  * @title Spatial Processing Core API
2428
2681
  * @version 1.5.1.0
@@ -2430,33 +2683,17 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
2430
2683
  */
2431
2684
 
2432
2685
  let EqlService = /*#__PURE__*/function (_Service) {
2433
- _inherits(EqlService, _Service);
2434
-
2435
- var _super = /*#__PURE__*/_createSuper(EqlService);
2436
-
2437
2686
  function EqlService() {
2438
2687
  _classCallCheck(this, EqlService);
2439
2688
 
2440
- return _super.apply(this, arguments);
2689
+ return _callSuper$e(this, EqlService, arguments);
2441
2690
  }
2442
2691
 
2443
- _createClass(EqlService, [{
2444
- key: "getFunctionsList",
2692
+ _inherits(EqlService, _Service);
2693
+
2694
+ return _createClass(EqlService, [{
2695
+ key: "getPagedQueryResult",
2445
2696
  value:
2446
- /**
2447
- * No description
2448
- *
2449
- * @tags Eql
2450
- * @name GetFunctionsList
2451
- * @operationId EqlController_GetFunctionsList
2452
- * @summary Returns list of available functions.
2453
- * @request GET:/eql/functions
2454
- * @secure
2455
- * @response `200` OK
2456
- */
2457
- function getFunctionsList() {
2458
- return this.http.get("/eql/functions").json();
2459
- }
2460
2697
  /**
2461
2698
  * No description
2462
2699
  *
@@ -2468,10 +2705,7 @@ let EqlService = /*#__PURE__*/function (_Service) {
2468
2705
  * @secure
2469
2706
  * @response `200` OK
2470
2707
  */
2471
-
2472
- }, {
2473
- key: "getPagedQueryResult",
2474
- value: function getPagedQueryResult(data) {
2708
+ function getPagedQueryResult(data) {
2475
2709
  return this.http.post("/eql/query", data).json();
2476
2710
  }
2477
2711
  /**
@@ -2594,24 +2828,52 @@ let EqlService = /*#__PURE__*/function (_Service) {
2594
2828
  return this.http.get("/eql/getAvailiableParams", query).json();
2595
2829
  }
2596
2830
  }]);
2597
-
2598
- return EqlService;
2599
2831
  }(Service);
2600
2832
 
2601
- let Eql = /*#__PURE__*/function (_EqlService) {
2602
- _inherits(Eql, _EqlService);
2833
+ function _callSuper$f(_this, derived, args) {
2834
+ function isNativeReflectConstruct() {
2835
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2836
+ if (Reflect.construct.sham) return false;
2837
+ if (typeof Proxy === "function") return true;
2603
2838
 
2604
- var _super = /*#__PURE__*/_createSuper(Eql);
2839
+ try {
2840
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2841
+ } catch (e) {
2842
+ return false;
2843
+ }
2844
+ }
2605
2845
 
2846
+ derived = _getPrototypeOf(derived);
2847
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2848
+ }
2849
+ let Eql = /*#__PURE__*/function (_EqlService) {
2606
2850
  function Eql() {
2607
2851
  _classCallCheck(this, Eql);
2608
2852
 
2609
- return _super.apply(this, arguments);
2853
+ return _callSuper$f(this, Eql, arguments);
2610
2854
  }
2611
2855
 
2856
+ _inherits(Eql, _EqlService);
2857
+
2612
2858
  return _createClass(Eql);
2613
2859
  }(EqlService);
2614
2860
 
2861
+ function _callSuper$g(_this, derived, args) {
2862
+ function isNativeReflectConstruct() {
2863
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2864
+ if (Reflect.construct.sham) return false;
2865
+ if (typeof Proxy === "function") return true;
2866
+
2867
+ try {
2868
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2869
+ } catch (e) {
2870
+ return false;
2871
+ }
2872
+ }
2873
+
2874
+ derived = _getPrototypeOf(derived);
2875
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2876
+ }
2615
2877
  /**
2616
2878
  * @title Spatial Processing Core API
2617
2879
  * @version 1.5.1.0
@@ -2619,17 +2881,15 @@ let Eql = /*#__PURE__*/function (_EqlService) {
2619
2881
  */
2620
2882
 
2621
2883
  let FeedbackService = /*#__PURE__*/function (_Service) {
2622
- _inherits(FeedbackService, _Service);
2623
-
2624
- var _super = /*#__PURE__*/_createSuper(FeedbackService);
2625
-
2626
2884
  function FeedbackService() {
2627
2885
  _classCallCheck(this, FeedbackService);
2628
2886
 
2629
- return _super.apply(this, arguments);
2887
+ return _callSuper$g(this, FeedbackService, arguments);
2630
2888
  }
2631
2889
 
2632
- _createClass(FeedbackService, [{
2890
+ _inherits(FeedbackService, _Service);
2891
+
2892
+ return _createClass(FeedbackService, [{
2633
2893
  key: "increaseResourcesLimit",
2634
2894
  value:
2635
2895
  /**
@@ -2664,36 +2924,62 @@ let FeedbackService = /*#__PURE__*/function (_Service) {
2664
2924
  return this.http.post("/feedback", toFormData(data), query).json();
2665
2925
  }
2666
2926
  }]);
2667
-
2668
- return FeedbackService;
2669
2927
  }(Service);
2670
2928
 
2671
- let Feedback = /*#__PURE__*/function (_FeedbackService) {
2672
- _inherits(Feedback, _FeedbackService);
2929
+ function _callSuper$h(_this, derived, args) {
2930
+ function isNativeReflectConstruct() {
2931
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2932
+ if (Reflect.construct.sham) return false;
2933
+ if (typeof Proxy === "function") return true;
2673
2934
 
2674
- var _super = /*#__PURE__*/_createSuper(Feedback);
2935
+ try {
2936
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2937
+ } catch (e) {
2938
+ return false;
2939
+ }
2940
+ }
2675
2941
 
2942
+ derived = _getPrototypeOf(derived);
2943
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2944
+ }
2945
+ let Feedback = /*#__PURE__*/function (_FeedbackService) {
2676
2946
  function Feedback() {
2677
2947
  _classCallCheck(this, Feedback);
2678
2948
 
2679
- return _super.apply(this, arguments);
2949
+ return _callSuper$h(this, Feedback, arguments);
2680
2950
  }
2681
2951
 
2952
+ _inherits(Feedback, _FeedbackService);
2953
+
2682
2954
  return _createClass(Feedback);
2683
2955
  }(FeedbackService);
2684
2956
 
2685
- let FileUpload = /*#__PURE__*/function (_CatalogService) {
2686
- _inherits(FileUpload, _CatalogService);
2957
+ function _callSuper$i(_this, derived, args) {
2958
+ function isNativeReflectConstruct() {
2959
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
2960
+ if (Reflect.construct.sham) return false;
2961
+ if (typeof Proxy === "function") return true;
2687
2962
 
2688
- var _super = /*#__PURE__*/_createSuper(FileUpload);
2963
+ try {
2964
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
2965
+ } catch (e) {
2966
+ return false;
2967
+ }
2968
+ }
2689
2969
 
2970
+ derived = _getPrototypeOf(derived);
2971
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
2972
+ }
2973
+ let FileUpload = /*#__PURE__*/function (_CatalogService) {
2690
2974
  function FileUpload() {
2691
2975
  _classCallCheck(this, FileUpload);
2692
2976
 
2693
- return _super.apply(this, arguments);
2977
+ return _callSuper$i(this, FileUpload, arguments);
2694
2978
  }
2695
2979
 
2696
- _createClass(FileUpload, [{
2980
+ _inherits(FileUpload, _CatalogService);
2981
+
2982
+ return _createClass(FileUpload, [{
2697
2983
  key: "upload",
2698
2984
  value: function upload(file, rewrite) {
2699
2985
  return this.createFile1({
@@ -2707,10 +2993,24 @@ let FileUpload = /*#__PURE__*/function (_CatalogService) {
2707
2993
  return this.createFile(params);
2708
2994
  }
2709
2995
  }]);
2710
-
2711
- return FileUpload;
2712
2996
  }(CatalogService);
2713
2997
 
2998
+ function _callSuper$j(_this, derived, args) {
2999
+ function isNativeReflectConstruct() {
3000
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
3001
+ if (Reflect.construct.sham) return false;
3002
+ if (typeof Proxy === "function") return true;
3003
+
3004
+ try {
3005
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
3006
+ } catch (e) {
3007
+ return false;
3008
+ }
3009
+ }
3010
+
3011
+ derived = _getPrototypeOf(derived);
3012
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
3013
+ }
2714
3014
  /**
2715
3015
  * @title Spatial Processing Core API
2716
3016
  * @version 1.5.1.0
@@ -2718,17 +3018,15 @@ let FileUpload = /*#__PURE__*/function (_CatalogService) {
2718
3018
  */
2719
3019
 
2720
3020
  let FiltersService = /*#__PURE__*/function (_Service) {
2721
- _inherits(FiltersService, _Service);
2722
-
2723
- var _super = /*#__PURE__*/_createSuper(FiltersService);
2724
-
2725
3021
  function FiltersService() {
2726
3022
  _classCallCheck(this, FiltersService);
2727
3023
 
2728
- return _super.apply(this, arguments);
3024
+ return _callSuper$j(this, FiltersService, arguments);
2729
3025
  }
2730
3026
 
2731
- _createClass(FiltersService, [{
3027
+ _inherits(FiltersService, _Service);
3028
+
3029
+ return _createClass(FiltersService, [{
2732
3030
  key: "get",
2733
3031
  value:
2734
3032
  /**
@@ -2780,27 +3078,56 @@ let FiltersService = /*#__PURE__*/function (_Service) {
2780
3078
  return this.http.post("/filters", data).json();
2781
3079
  }
2782
3080
  }]);
2783
-
2784
- return FiltersService;
2785
3081
  }(Service);
2786
3082
 
2787
- let Filters = /*#__PURE__*/function (_FiltersService) {
2788
- _inherits(Filters, _FiltersService);
3083
+ function _callSuper$k(_this, derived, args) {
3084
+ function isNativeReflectConstruct() {
3085
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
3086
+ if (Reflect.construct.sham) return false;
3087
+ if (typeof Proxy === "function") return true;
2789
3088
 
2790
- var _super = /*#__PURE__*/_createSuper(Filters);
3089
+ try {
3090
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
3091
+ } catch (e) {
3092
+ return false;
3093
+ }
3094
+ }
2791
3095
 
3096
+ derived = _getPrototypeOf(derived);
3097
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
3098
+ }
3099
+ let Filters = /*#__PURE__*/function (_FiltersService) {
2792
3100
  function Filters() {
2793
3101
  _classCallCheck(this, Filters);
2794
3102
 
2795
- return _super.apply(this, arguments);
3103
+ return _callSuper$k(this, Filters, arguments);
2796
3104
  }
2797
3105
 
3106
+ _inherits(Filters, _FiltersService);
3107
+
2798
3108
  return _createClass(Filters);
2799
3109
  }(FiltersService);
2800
3110
 
2801
3111
  const _excluded$2 = ["providerName"],
2802
3112
  _excluded2$1 = ["providerName"],
2803
3113
  _excluded3$1 = ["providerName"];
3114
+
3115
+ function _callSuper$l(_this, derived, args) {
3116
+ function isNativeReflectConstruct() {
3117
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
3118
+ if (Reflect.construct.sham) return false;
3119
+ if (typeof Proxy === "function") return true;
3120
+
3121
+ try {
3122
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
3123
+ } catch (e) {
3124
+ return false;
3125
+ }
3126
+ }
3127
+
3128
+ derived = _getPrototypeOf(derived);
3129
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
3130
+ }
2804
3131
  /**
2805
3132
  * @title Spatial Processing Core API
2806
3133
  * @version 1.5.1.0
@@ -2808,17 +3135,15 @@ const _excluded$2 = ["providerName"],
2808
3135
  */
2809
3136
 
2810
3137
  let GeocodeService = /*#__PURE__*/function (_Service) {
2811
- _inherits(GeocodeService, _Service);
2812
-
2813
- var _super = /*#__PURE__*/_createSuper(GeocodeService);
2814
-
2815
3138
  function GeocodeService() {
2816
3139
  _classCallCheck(this, GeocodeService);
2817
3140
 
2818
- return _super.apply(this, arguments);
3141
+ return _callSuper$l(this, GeocodeService, arguments);
2819
3142
  }
2820
3143
 
2821
- _createClass(GeocodeService, [{
3144
+ _inherits(GeocodeService, _Service);
3145
+
3146
+ return _createClass(GeocodeService, [{
2822
3147
  key: "geocode",
2823
3148
  value:
2824
3149
  /**
@@ -2885,23 +3210,35 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
2885
3210
  return this.http.get("/geocode/" + providerName + "/suggest", query).json();
2886
3211
  }
2887
3212
  }]);
2888
-
2889
- return GeocodeService;
2890
3213
  }(Service);
2891
3214
 
2892
- const GEOCODE_PROVIDER = 'geocode2gis';
2893
- let Geocode = /*#__PURE__*/function (_GeocodeService) {
2894
- _inherits(Geocode, _GeocodeService);
3215
+ function _callSuper$m(_this, derived, args) {
3216
+ function isNativeReflectConstruct() {
3217
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
3218
+ if (Reflect.construct.sham) return false;
3219
+ if (typeof Proxy === "function") return true;
2895
3220
 
2896
- var _super = /*#__PURE__*/_createSuper(Geocode);
3221
+ try {
3222
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
3223
+ } catch (e) {
3224
+ return false;
3225
+ }
3226
+ }
2897
3227
 
3228
+ derived = _getPrototypeOf(derived);
3229
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
3230
+ }
3231
+ const GEOCODE_PROVIDER = 'geocode2gis';
3232
+ let Geocode = /*#__PURE__*/function (_GeocodeService) {
2898
3233
  function Geocode() {
2899
3234
  _classCallCheck(this, Geocode);
2900
3235
 
2901
- return _super.apply(this, arguments);
3236
+ return _callSuper$m(this, Geocode, arguments);
2902
3237
  }
2903
3238
 
2904
- _createClass(Geocode, [{
3239
+ _inherits(Geocode, _GeocodeService);
3240
+
3241
+ return _createClass(Geocode, [{
2905
3242
  key: "geocode2Gis",
2906
3243
  value: function geocode2Gis(params) {
2907
3244
  return this.geocode(_extends({
@@ -2916,10 +3253,24 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
2916
3253
  }, params));
2917
3254
  }
2918
3255
  }]);
2919
-
2920
- return Geocode;
2921
3256
  }(GeocodeService);
2922
3257
 
3258
+ function _callSuper$n(_this, derived, args) {
3259
+ function isNativeReflectConstruct() {
3260
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
3261
+ if (Reflect.construct.sham) return false;
3262
+ if (typeof Proxy === "function") return true;
3263
+
3264
+ try {
3265
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
3266
+ } catch (e) {
3267
+ return false;
3268
+ }
3269
+ }
3270
+
3271
+ derived = _getPrototypeOf(derived);
3272
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
3273
+ }
2923
3274
  /**
2924
3275
  * @title Spatial Processing Core API
2925
3276
  * @version 1.5.1.0
@@ -2927,17 +3278,15 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
2927
3278
  */
2928
3279
 
2929
3280
  let ImportService = /*#__PURE__*/function (_Service) {
2930
- _inherits(ImportService, _Service);
2931
-
2932
- var _super = /*#__PURE__*/_createSuper(ImportService);
2933
-
2934
3281
  function ImportService() {
2935
3282
  _classCallCheck(this, ImportService);
2936
3283
 
2937
- return _super.apply(this, arguments);
3284
+ return _callSuper$n(this, ImportService, arguments);
2938
3285
  }
2939
3286
 
2940
- _createClass(ImportService, [{
3287
+ _inherits(ImportService, _Service);
3288
+
3289
+ return _createClass(ImportService, [{
2941
3290
  key: "getDataSchema",
2942
3291
  value:
2943
3292
  /**
@@ -3108,21 +3457,33 @@ let ImportService = /*#__PURE__*/function (_Service) {
3108
3457
  return this.http.get("/import/rasterMeta", query).json();
3109
3458
  }
3110
3459
  }]);
3111
-
3112
- return ImportService;
3113
3460
  }(Service);
3114
3461
 
3115
- let Import = /*#__PURE__*/function (_ImportService) {
3116
- _inherits(Import, _ImportService);
3117
-
3118
- var _super = /*#__PURE__*/_createSuper(Import);
3462
+ function _callSuper$o(_this, derived, args) {
3463
+ function isNativeReflectConstruct() {
3464
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
3465
+ if (Reflect.construct.sham) return false;
3466
+ if (typeof Proxy === "function") return true;
3119
3467
 
3468
+ try {
3469
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
3470
+ } catch (e) {
3471
+ return false;
3472
+ }
3473
+ }
3474
+
3475
+ derived = _getPrototypeOf(derived);
3476
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
3477
+ }
3478
+ let Import = /*#__PURE__*/function (_ImportService) {
3120
3479
  function Import() {
3121
3480
  _classCallCheck(this, Import);
3122
3481
 
3123
- return _super.apply(this, arguments);
3482
+ return _callSuper$o(this, Import, arguments);
3124
3483
  }
3125
3484
 
3485
+ _inherits(Import, _ImportService);
3486
+
3126
3487
  return _createClass(Import);
3127
3488
  }(ImportService);
3128
3489
 
@@ -3141,6 +3502,23 @@ const _excluded$3 = ["name"],
3141
3502
  _excluded13 = ["name"],
3142
3503
  _excluded14 = ["layerName"],
3143
3504
  _excluded15 = ["name", "id"];
3505
+
3506
+ function _callSuper$p(_this, derived, args) {
3507
+ function isNativeReflectConstruct() {
3508
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
3509
+ if (Reflect.construct.sham) return false;
3510
+ if (typeof Proxy === "function") return true;
3511
+
3512
+ try {
3513
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
3514
+ } catch (e) {
3515
+ return false;
3516
+ }
3517
+ }
3518
+
3519
+ derived = _getPrototypeOf(derived);
3520
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
3521
+ }
3144
3522
  /**
3145
3523
  * @title Spatial Processing Core API
3146
3524
  * @version 1.5.1.0
@@ -3148,17 +3526,15 @@ const _excluded$3 = ["name"],
3148
3526
  */
3149
3527
 
3150
3528
  let LayersService = /*#__PURE__*/function (_Service) {
3151
- _inherits(LayersService, _Service);
3152
-
3153
- var _super = /*#__PURE__*/_createSuper(LayersService);
3154
-
3155
3529
  function LayersService() {
3156
3530
  _classCallCheck(this, LayersService);
3157
3531
 
3158
- return _super.apply(this, arguments);
3532
+ return _callSuper$p(this, LayersService, arguments);
3159
3533
  }
3160
3534
 
3161
- _createClass(LayersService, [{
3535
+ _inherits(LayersService, _Service);
3536
+
3537
+ return _createClass(LayersService, [{
3162
3538
  key: "getBulkFeatures",
3163
3539
  value:
3164
3540
  /**
@@ -4075,8 +4451,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
4075
4451
  return this.http.get("/layers/" + name + "/references").json();
4076
4452
  }
4077
4453
  }]);
4078
-
4079
- return LayersService;
4080
4454
  }(Service);
4081
4455
 
4082
4456
  async function promiseAllIgnoreErrors(promises) {
@@ -4092,18 +4466,32 @@ function notError(v) {
4092
4466
  return !isError(v);
4093
4467
  }
4094
4468
 
4095
- let Layers = /*#__PURE__*/function (_LayersService) {
4096
- _inherits(Layers, _LayersService);
4469
+ function _callSuper$q(_this, derived, args) {
4470
+ function isNativeReflectConstruct() {
4471
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
4472
+ if (Reflect.construct.sham) return false;
4473
+ if (typeof Proxy === "function") return true;
4097
4474
 
4098
- var _super = /*#__PURE__*/_createSuper(Layers);
4475
+ try {
4476
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
4477
+ } catch (e) {
4478
+ return false;
4479
+ }
4480
+ }
4099
4481
 
4482
+ derived = _getPrototypeOf(derived);
4483
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
4484
+ }
4485
+ let Layers = /*#__PURE__*/function (_LayersService) {
4100
4486
  function Layers() {
4101
4487
  _classCallCheck(this, Layers);
4102
4488
 
4103
- return _super.apply(this, arguments);
4489
+ return _callSuper$q(this, Layers, arguments);
4104
4490
  }
4105
4491
 
4106
- _createClass(Layers, [{
4492
+ _inherits(Layers, _LayersService);
4493
+
4494
+ return _createClass(Layers, [{
4107
4495
  key: "getLayerInfos",
4108
4496
  value: function getLayerInfos(layers) {
4109
4497
  return promiseAllIgnoreErrors(layers.map(layer => this.getLayerInfo(layer)));
@@ -4165,8 +4553,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4165
4553
  return name;
4166
4554
  }
4167
4555
  }]);
4168
-
4169
- return Layers;
4170
4556
  }(LayersService);
4171
4557
  function isTileLayerService(layer) {
4172
4558
  return layer.type && /TileService/.test(layer.type);
@@ -4275,7 +4661,7 @@ let Names = /*#__PURE__*/function () {
4275
4661
  /** Generates unique identifier */
4276
4662
 
4277
4663
 
4278
- _createClass(Names, [{
4664
+ return _createClass(Names, [{
4279
4665
  key: "createId",
4280
4666
  value: function createId() {
4281
4667
  return generateId();
@@ -4349,10 +4735,24 @@ let Names = /*#__PURE__*/function () {
4349
4735
  return this.extractResource(resourceName).workspace || '';
4350
4736
  }
4351
4737
  }]);
4352
-
4353
- return Names;
4354
4738
  }();
4355
4739
 
4740
+ function _callSuper$r(_this, derived, args) {
4741
+ function isNativeReflectConstruct() {
4742
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
4743
+ if (Reflect.construct.sham) return false;
4744
+ if (typeof Proxy === "function") return true;
4745
+
4746
+ try {
4747
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
4748
+ } catch (e) {
4749
+ return false;
4750
+ }
4751
+ }
4752
+
4753
+ derived = _getPrototypeOf(derived);
4754
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
4755
+ }
4356
4756
  /**
4357
4757
  * @title Spatial Processing Core API
4358
4758
  * @version 1.5.1.0
@@ -4360,17 +4760,15 @@ let Names = /*#__PURE__*/function () {
4360
4760
  */
4361
4761
 
4362
4762
  let NotificationService = /*#__PURE__*/function (_Service) {
4363
- _inherits(NotificationService, _Service);
4364
-
4365
- var _super = /*#__PURE__*/_createSuper(NotificationService);
4366
-
4367
4763
  function NotificationService() {
4368
4764
  _classCallCheck(this, NotificationService);
4369
4765
 
4370
- return _super.apply(this, arguments);
4766
+ return _callSuper$r(this, NotificationService, arguments);
4371
4767
  }
4372
4768
 
4373
- _createClass(NotificationService, [{
4769
+ _inherits(NotificationService, _Service);
4770
+
4771
+ return _createClass(NotificationService, [{
4374
4772
  key: "getSubscriptionList",
4375
4773
  value:
4376
4774
  /**
@@ -4456,10 +4854,25 @@ let NotificationService = /*#__PURE__*/function (_Service) {
4456
4854
  return this.http.post("/notifications/unsubscribe-list", data).then(() => {});
4457
4855
  }
4458
4856
  }]);
4459
-
4460
- return NotificationService;
4461
4857
  }(Service);
4462
4858
 
4859
+ function _callSuper$s(_this, derived, args) {
4860
+ function isNativeReflectConstruct() {
4861
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
4862
+ if (Reflect.construct.sham) return false;
4863
+ if (typeof Proxy === "function") return true;
4864
+
4865
+ try {
4866
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
4867
+ } catch (e) {
4868
+ return false;
4869
+ }
4870
+ }
4871
+
4872
+ derived = _getPrototypeOf(derived);
4873
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
4874
+ }
4875
+
4463
4876
  (function (ConnectionStatus) {
4464
4877
  ConnectionStatus["Initialized"] = "Initialized";
4465
4878
  ConnectionStatus["Connected"] = "Connected";
@@ -4471,12 +4884,8 @@ let NotificationService = /*#__PURE__*/function (_Service) {
4471
4884
  const SUBSCRIPTION_DELAY = 500;
4472
4885
  const KEEP_ALIVE_INTERVAL = 5 * 1000;
4473
4886
  let Notification = /*#__PURE__*/function (_NotificationService) {
4474
- _inherits(Notification, _NotificationService);
4475
-
4476
- var _super = /*#__PURE__*/_createSuper(Notification);
4477
-
4478
4887
  function Notification(http, api, keepAlive) {
4479
- var _this;
4888
+ var _this2;
4480
4889
 
4481
4890
  if (keepAlive === void 0) {
4482
4891
  keepAlive = false;
@@ -4484,21 +4893,21 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4484
4893
 
4485
4894
  _classCallCheck(this, Notification);
4486
4895
 
4487
- _this = _super.call(this, http);
4488
- _this.api = api;
4489
- _this.MAX_WS_RECONNECT_TRIES = 10;
4490
- _this.keepAlive = false;
4491
- _this.reconnectTries = 0;
4492
- _this.subscriptions = [];
4493
- _this._connectStatus = exports.ConnectionStatus.Initialized;
4494
-
4495
- _this.onWsConnected = () => {
4496
- _this.connectStatus = exports.ConnectionStatus.Connected;
4497
-
4498
- if (_this.keepAlive) {
4499
- _this.keepAliveTimeout = setInterval(() => {
4500
- if (_this.ws) {
4501
- _this.ws.send(JSON.stringify({
4896
+ _this2 = _callSuper$s(this, Notification, [http]);
4897
+ _this2.api = api;
4898
+ _this2.MAX_WS_RECONNECT_TRIES = 10;
4899
+ _this2.keepAlive = false;
4900
+ _this2.reconnectTries = 0;
4901
+ _this2.subscriptions = [];
4902
+ _this2._connectStatus = exports.ConnectionStatus.Initialized;
4903
+
4904
+ _this2.onWsConnected = () => {
4905
+ _this2.connectStatus = exports.ConnectionStatus.Connected;
4906
+
4907
+ if (_this2.keepAlive) {
4908
+ _this2.keepAliveTimeout = setInterval(() => {
4909
+ if (_this2.ws) {
4910
+ _this2.ws.send(JSON.stringify({
4502
4911
  keepAlive: true
4503
4912
  }));
4504
4913
  }
@@ -4508,58 +4917,60 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4508
4917
 
4509
4918
  };
4510
4919
 
4511
- _this.onWsClosed = event => {
4920
+ _this2.onWsClosed = event => {
4512
4921
  if (event.code === 4001
4513
4922
  /* SessionClosed */
4514
4923
  || event.code === 4002
4515
4924
  /* InvalidSession */
4516
4925
  ) {
4517
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
4518
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4519
- _this.connectStatus = exports.ConnectionStatus.Break;
4520
- _this.reconnectTries++;
4521
-
4522
- if (_this.ws) {
4523
- _this.ws.onopen = null;
4524
- _this.ws.onclose = null;
4525
- _this.ws.onmessage = null;
4526
- _this.ws = void 0;
4926
+ _this2.connectStatus = exports.ConnectionStatus.SessionClosed;
4927
+ } else if (_this2.reconnectTries < _this2.MAX_WS_RECONNECT_TRIES) {
4928
+ _this2.connectStatus = exports.ConnectionStatus.Break;
4929
+ _this2.reconnectTries++;
4930
+
4931
+ if (_this2.ws) {
4932
+ _this2.ws.onopen = null;
4933
+ _this2.ws.onclose = null;
4934
+ _this2.ws.onmessage = null;
4935
+ _this2.ws = void 0;
4527
4936
  }
4528
4937
 
4529
- _this.keepAliveTimeout && clearInterval(_this.keepAliveTimeout);
4938
+ _this2.keepAliveTimeout && clearInterval(_this2.keepAliveTimeout);
4530
4939
  setTimeout(() => {
4531
- _this.connect();
4940
+ _this2.connect();
4532
4941
  }, 0);
4533
4942
  } else {
4534
- _this.connectStatus = exports.ConnectionStatus.Lost;
4943
+ _this2.connectStatus = exports.ConnectionStatus.Lost;
4535
4944
  }
4536
4945
  };
4537
4946
 
4538
- _this.onWsMessage = event => {
4947
+ _this2.onWsMessage = event => {
4539
4948
  let message = {};
4540
4949
 
4541
4950
  try {
4542
4951
  message = JSON.parse(event.data);
4543
4952
  } catch (e) {
4544
- console.debug('Failed to parse ws message from sp.'); // ignore
4953
+ console.debug("Failed to parse ws message from sp."); // ignore
4545
4954
  }
4546
4955
 
4547
- if (message.type === 'notification' && message.data) {
4956
+ if (message.type === "notification" && message.data) {
4548
4957
  const {
4549
4958
  tag,
4550
4959
  data
4551
4960
  } = message.data;
4552
- tag && _this.emitter.emit(tag, new NotificationEvent(data));
4961
+ tag && _this2.emitter.emit(tag, new NotificationEvent(data));
4553
4962
  }
4554
4963
  };
4555
4964
 
4556
- _this.emitter = new eventEmitter.EventEmitter();
4557
- _this.keepAlive = keepAlive;
4558
- return _this;
4965
+ _this2.emitter = new EventEmitter();
4966
+ _this2.keepAlive = keepAlive;
4967
+ return _this2;
4559
4968
  } // @ts-ignore
4560
4969
 
4561
4970
 
4562
- _createClass(Notification, [{
4971
+ _inherits(Notification, _NotificationService);
4972
+
4973
+ return _createClass(Notification, [{
4563
4974
  key: "connectStatus",
4564
4975
  get: function get() {
4565
4976
  return this._connectStatus;
@@ -4612,7 +5023,7 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4612
5023
  }, {
4613
5024
  key: "connectWs",
4614
5025
  value: function connectWs(url) {
4615
- const urlWithWsScheme = url.replace('http://', 'ws://').replace('https://', 'wss://');
5026
+ const urlWithWsScheme = url.replace("http://", "ws://").replace("https://", "wss://");
4616
5027
  this.wsUrl = urlWithWsScheme;
4617
5028
  this.connect();
4618
5029
  }
@@ -4625,12 +5036,10 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4625
5036
  this.ws.onclose = this.onWsClosed;
4626
5037
  this.ws.onmessage = this.onWsMessage;
4627
5038
  } else {
4628
- console.warn('Connection to WebSocket not allowed. wsUrl not provided');
5039
+ console.warn("Connection to WebSocket not allowed. wsUrl not provided");
4629
5040
  }
4630
5041
  }
4631
5042
  }]);
4632
-
4633
- return Notification;
4634
5043
  }(NotificationService);
4635
5044
  let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(data) {
4636
5045
  _classCallCheck(this, NotificationEvent);
@@ -4638,33 +5047,62 @@ let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(dat
4638
5047
  this.data = data;
4639
5048
  });
4640
5049
 
4641
- let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
4642
- _inherits(PortalSettings, _ClientSettingsServic);
5050
+ function _callSuper$t(_this, derived, args) {
5051
+ function isNativeReflectConstruct() {
5052
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
5053
+ if (Reflect.construct.sham) return false;
5054
+ if (typeof Proxy === "function") return true;
4643
5055
 
4644
- var _super = /*#__PURE__*/_createSuper(PortalSettings);
5056
+ try {
5057
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
5058
+ } catch (e) {
5059
+ return false;
5060
+ }
5061
+ }
4645
5062
 
5063
+ derived = _getPrototypeOf(derived);
5064
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
5065
+ }
5066
+ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
4646
5067
  function PortalSettings() {
4647
- var _this;
5068
+ var _this2;
4648
5069
 
4649
5070
  _classCallCheck(this, PortalSettings);
4650
5071
 
4651
- _this = _super.apply(this, arguments);
4652
- _this.config = null;
4653
- return _this;
5072
+ _this2 = _callSuper$t(this, PortalSettings, arguments);
5073
+ _this2.config = null;
5074
+ return _this2;
4654
5075
  }
4655
5076
 
4656
- _createClass(PortalSettings, [{
5077
+ _inherits(PortalSettings, _ClientSettingsServic);
5078
+
5079
+ return _createClass(PortalSettings, [{
4657
5080
  key: "fetchPortalSettings",
4658
5081
  value: async function fetchPortalSettings(query) {
4659
5082
  this.config = JSON.parse(await this.getConfiguration(query));
4660
5083
  return this.config;
4661
5084
  }
4662
5085
  }]);
4663
-
4664
- return PortalSettings;
4665
5086
  }(ClientSettingsService);
4666
5087
 
4667
5088
  const _excluded$4 = ["name"];
5089
+
5090
+ function _callSuper$u(_this, derived, args) {
5091
+ function isNativeReflectConstruct() {
5092
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
5093
+ if (Reflect.construct.sham) return false;
5094
+ if (typeof Proxy === "function") return true;
5095
+
5096
+ try {
5097
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
5098
+ } catch (e) {
5099
+ return false;
5100
+ }
5101
+ }
5102
+
5103
+ derived = _getPrototypeOf(derived);
5104
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
5105
+ }
4668
5106
  /**
4669
5107
  * @title Spatial Processing Core API
4670
5108
  * @version 1.5.1.0
@@ -4672,17 +5110,15 @@ const _excluded$4 = ["name"];
4672
5110
  */
4673
5111
 
4674
5112
  let ProjectsService = /*#__PURE__*/function (_Service) {
4675
- _inherits(ProjectsService, _Service);
4676
-
4677
- var _super = /*#__PURE__*/_createSuper(ProjectsService);
4678
-
4679
5113
  function ProjectsService() {
4680
5114
  _classCallCheck(this, ProjectsService);
4681
5115
 
4682
- return _super.apply(this, arguments);
5116
+ return _callSuper$u(this, ProjectsService, arguments);
4683
5117
  }
4684
5118
 
4685
- _createClass(ProjectsService, [{
5119
+ _inherits(ProjectsService, _Service);
5120
+
5121
+ return _createClass(ProjectsService, [{
4686
5122
  key: "getProjectsList",
4687
5123
  value:
4688
5124
  /**
@@ -4857,6 +5293,74 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
4857
5293
  value: function getProjectLayersExtendedInfo(name) {
4858
5294
  return this.http.get("/projects/" + name + "/extended-info").json();
4859
5295
  }
5296
+ /**
5297
+ * No description
5298
+ *
5299
+ * @tags Projects
5300
+ * @name PatchProjectConfiguration
5301
+ * @operationId ProjectsController_PatchProjectConfiguration
5302
+ * @summary Applies partial updates using JSON Patch.
5303
+ * @request PATCH:/projects/{name}/configuration/{type}
5304
+ * @secure
5305
+ * @response `200` OK
5306
+ */
5307
+
5308
+ }, {
5309
+ key: "patchProjectConfiguration",
5310
+ value: function patchProjectConfiguration(name, type, data) {
5311
+ return this.http.patch("/projects/" + name + "/configuration/" + type, data).json();
5312
+ }
5313
+ /**
5314
+ * No description
5315
+ *
5316
+ * @tags Projects
5317
+ * @name PutProjectConfiguration
5318
+ * @operationId ProjectsController_PutProjectConfiguration
5319
+ * @summary Creates or updates configuration (full replacement).
5320
+ * @request PUT:/projects/{name}/configuration/{type}
5321
+ * @secure
5322
+ * @response `200` OK
5323
+ */
5324
+
5325
+ }, {
5326
+ key: "putProjectConfiguration",
5327
+ value: function putProjectConfiguration(name, type, data) {
5328
+ return this.http.put("/projects/" + name + "/configuration/" + type, data).json();
5329
+ }
5330
+ /**
5331
+ * No description
5332
+ *
5333
+ * @tags Projects
5334
+ * @name GetProjectConfiguration
5335
+ * @operationId ProjectsController_GetProjectConfiguration
5336
+ * @summary Gets configuration for a resource and type.
5337
+ * @request GET:/projects/{name}/configuration/{type}
5338
+ * @secure
5339
+ * @response `200` OK
5340
+ */
5341
+
5342
+ }, {
5343
+ key: "getProjectConfiguration",
5344
+ value: function getProjectConfiguration(name, type) {
5345
+ return this.http.get("/projects/" + name + "/configuration/" + type).json();
5346
+ }
5347
+ /**
5348
+ * No description
5349
+ *
5350
+ * @tags Projects
5351
+ * @name DeleteProjectConfiguration
5352
+ * @operationId ProjectsController_DeleteProjectConfiguration
5353
+ * @summary Creates or updates configuration (full replacement).
5354
+ * @request DELETE:/projects/{name}/configuration/{type}
5355
+ * @secure
5356
+ * @response `200` OK
5357
+ */
5358
+
5359
+ }, {
5360
+ key: "deleteProjectConfiguration",
5361
+ value: function deleteProjectConfiguration(name, type) {
5362
+ return this.http.delete("/projects/" + name + "/configuration/" + type, null).json();
5363
+ }
4860
5364
  /**
4861
5365
  * No description
4862
5366
  *
@@ -4960,22 +5464,34 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
4960
5464
  return this.http.get("/projects/" + name + "/references").json();
4961
5465
  }
4962
5466
  }]);
4963
-
4964
- return ProjectsService;
4965
5467
  }(Service);
4966
5468
 
4967
- let Projects = /*#__PURE__*/function (_ProjectsService) {
4968
- _inherits(Projects, _ProjectsService);
5469
+ function _callSuper$v(_this, derived, args) {
5470
+ function isNativeReflectConstruct() {
5471
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
5472
+ if (Reflect.construct.sham) return false;
5473
+ if (typeof Proxy === "function") return true;
4969
5474
 
4970
- var _super = /*#__PURE__*/_createSuper(Projects);
5475
+ try {
5476
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
5477
+ } catch (e) {
5478
+ return false;
5479
+ }
5480
+ }
4971
5481
 
5482
+ derived = _getPrototypeOf(derived);
5483
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
5484
+ }
5485
+ let Projects = /*#__PURE__*/function (_ProjectsService) {
4972
5486
  function Projects() {
4973
5487
  _classCallCheck(this, Projects);
4974
5488
 
4975
- return _super.apply(this, arguments);
5489
+ return _callSuper$v(this, Projects, arguments);
4976
5490
  }
4977
5491
 
4978
- _createClass(Projects, [{
5492
+ _inherits(Projects, _ProjectsService);
5493
+
5494
+ return _createClass(Projects, [{
4979
5495
  key: "getProjectInfos",
4980
5496
  value: function getProjectInfos(projects) {
4981
5497
  return promiseAllIgnoreErrors(projects.map(project => this.getProjectInfo(project)));
@@ -5012,8 +5528,6 @@ let Projects = /*#__PURE__*/function (_ProjectsService) {
5012
5528
  return name;
5013
5529
  }
5014
5530
  }]);
5015
-
5016
- return Projects;
5017
5531
  }(ProjectsService);
5018
5532
  function isProjectContentItems(v) {
5019
5533
  return v !== null && v !== undefined;
@@ -5021,6 +5535,23 @@ function isProjectContentItems(v) {
5021
5535
 
5022
5536
  const _excluded$5 = ["id"],
5023
5537
  _excluded2$3 = ["id"];
5538
+
5539
+ function _callSuper$w(_this, derived, args) {
5540
+ function isNativeReflectConstruct() {
5541
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
5542
+ if (Reflect.construct.sham) return false;
5543
+ if (typeof Proxy === "function") return true;
5544
+
5545
+ try {
5546
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
5547
+ } catch (e) {
5548
+ return false;
5549
+ }
5550
+ }
5551
+
5552
+ derived = _getPrototypeOf(derived);
5553
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
5554
+ }
5024
5555
  /**
5025
5556
  * @title Spatial Processing Core API
5026
5557
  * @version 1.5.1.0
@@ -5028,17 +5559,15 @@ const _excluded$5 = ["id"],
5028
5559
  */
5029
5560
 
5030
5561
  let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5031
- _inherits(RemoteTaskManagerService, _Service);
5032
-
5033
- var _super = /*#__PURE__*/_createSuper(RemoteTaskManagerService);
5034
-
5035
5562
  function RemoteTaskManagerService() {
5036
5563
  _classCallCheck(this, RemoteTaskManagerService);
5037
5564
 
5038
- return _super.apply(this, arguments);
5565
+ return _callSuper$w(this, RemoteTaskManagerService, arguments);
5039
5566
  }
5040
5567
 
5041
- _createClass(RemoteTaskManagerService, [{
5568
+ _inherits(RemoteTaskManagerService, _Service);
5569
+
5570
+ return _createClass(RemoteTaskManagerService, [{
5042
5571
  key: "get",
5043
5572
  value:
5044
5573
  /**
@@ -5342,21 +5871,33 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5342
5871
  return this.http.get("/scheduler/worker/" + type).json();
5343
5872
  }
5344
5873
  }]);
5345
-
5346
- return RemoteTaskManagerService;
5347
5874
  }(Service);
5348
5875
 
5349
- let RemoteTaskManager = /*#__PURE__*/function (_RemoteTaskManagerSer) {
5350
- _inherits(RemoteTaskManager, _RemoteTaskManagerSer);
5876
+ function _callSuper$x(_this, derived, args) {
5877
+ function isNativeReflectConstruct() {
5878
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
5879
+ if (Reflect.construct.sham) return false;
5880
+ if (typeof Proxy === "function") return true;
5351
5881
 
5352
- var _super = /*#__PURE__*/_createSuper(RemoteTaskManager);
5882
+ try {
5883
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
5884
+ } catch (e) {
5885
+ return false;
5886
+ }
5887
+ }
5353
5888
 
5889
+ derived = _getPrototypeOf(derived);
5890
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
5891
+ }
5892
+ let RemoteTaskManager = /*#__PURE__*/function (_RemoteTaskManagerSer) {
5354
5893
  function RemoteTaskManager() {
5355
5894
  _classCallCheck(this, RemoteTaskManager);
5356
5895
 
5357
- return _super.apply(this, arguments);
5896
+ return _callSuper$x(this, RemoteTaskManager, arguments);
5358
5897
  }
5359
5898
 
5899
+ _inherits(RemoteTaskManager, _RemoteTaskManagerSer);
5900
+
5360
5901
  return _createClass(RemoteTaskManager);
5361
5902
  }(RemoteTaskManagerService);
5362
5903
 
@@ -5375,7 +5916,7 @@ let Resources = /*#__PURE__*/function () {
5375
5916
  this.tables = tables;
5376
5917
  }
5377
5918
 
5378
- _createClass(Resources, [{
5919
+ return _createClass(Resources, [{
5379
5920
  key: "getProjectInfosWithDeps",
5380
5921
  value: async function getProjectInfosWithDeps(projects) {
5381
5922
  const projectInfos = await this.projects.getProjectInfos(projects);
@@ -5452,10 +5993,24 @@ let Resources = /*#__PURE__*/function () {
5452
5993
  }).filter(isString);
5453
5994
  }
5454
5995
  }]);
5455
-
5456
- return Resources;
5457
5996
  }();
5458
5997
 
5998
+ function _callSuper$y(_this, derived, args) {
5999
+ function isNativeReflectConstruct() {
6000
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6001
+ if (Reflect.construct.sham) return false;
6002
+ if (typeof Proxy === "function") return true;
6003
+
6004
+ try {
6005
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6006
+ } catch (e) {
6007
+ return false;
6008
+ }
6009
+ }
6010
+
6011
+ derived = _getPrototypeOf(derived);
6012
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6013
+ }
5459
6014
  /**
5460
6015
  * @title Spatial Processing Core API
5461
6016
  * @version 1.5.1.0
@@ -5463,17 +6018,15 @@ let Resources = /*#__PURE__*/function () {
5463
6018
  */
5464
6019
 
5465
6020
  let SecurityService = /*#__PURE__*/function (_Service) {
5466
- _inherits(SecurityService, _Service);
5467
-
5468
- var _super = /*#__PURE__*/_createSuper(SecurityService);
5469
-
5470
6021
  function SecurityService() {
5471
6022
  _classCallCheck(this, SecurityService);
5472
6023
 
5473
- return _super.apply(this, arguments);
6024
+ return _callSuper$y(this, SecurityService, arguments);
5474
6025
  }
5475
6026
 
5476
- _createClass(SecurityService, [{
6027
+ _inherits(SecurityService, _Service);
6028
+
6029
+ return _createClass(SecurityService, [{
5477
6030
  key: "setPolicies",
5478
6031
  value:
5479
6032
  /**
@@ -5695,17 +6248,27 @@ let SecurityService = /*#__PURE__*/function (_Service) {
5695
6248
  return this.http.get("/security/limits/default").json();
5696
6249
  }
5697
6250
  }]);
5698
-
5699
- return SecurityService;
5700
6251
  }(Service);
5701
6252
 
5702
- let Security = /*#__PURE__*/function (_SecurityService) {
5703
- _inherits(Security, _SecurityService);
6253
+ function _callSuper$z(_this, derived, args) {
6254
+ function isNativeReflectConstruct() {
6255
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6256
+ if (Reflect.construct.sham) return false;
6257
+ if (typeof Proxy === "function") return true;
5704
6258
 
5705
- var _super = /*#__PURE__*/_createSuper(Security);
6259
+ try {
6260
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6261
+ } catch (e) {
6262
+ return false;
6263
+ }
6264
+ }
5706
6265
 
6266
+ derived = _getPrototypeOf(derived);
6267
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6268
+ }
6269
+ let Security = /*#__PURE__*/function (_SecurityService) {
5707
6270
  function Security(http, _ref) {
5708
- var _this;
6271
+ var _this2;
5709
6272
 
5710
6273
  let {
5711
6274
  username,
@@ -5714,25 +6277,41 @@ let Security = /*#__PURE__*/function (_SecurityService) {
5714
6277
 
5715
6278
  _classCallCheck(this, Security);
5716
6279
 
5717
- _this = _super.call(this, http);
5718
- _this.ownerName = '';
5719
- _this.ownerRoles = [];
5720
- _this.ownerName = username;
5721
- _this.ownerRoles = roles;
5722
- return _this;
6280
+ _this2 = _callSuper$z(this, Security, [http]);
6281
+ _this2.ownerName = '';
6282
+ _this2.ownerRoles = [];
6283
+ _this2.ownerName = username;
6284
+ _this2.ownerRoles = roles;
6285
+ return _this2;
5723
6286
  }
5724
6287
 
5725
- _createClass(Security, [{
6288
+ _inherits(Security, _SecurityService);
6289
+
6290
+ return _createClass(Security, [{
5726
6291
  key: "reset",
5727
6292
  value: function reset() {
5728
6293
  this.ownerName = '';
5729
6294
  this.ownerRoles = [];
5730
6295
  }
5731
6296
  }]);
5732
-
5733
- return Security;
5734
6297
  }(SecurityService);
5735
6298
 
6299
+ function _callSuper$A(_this, derived, args) {
6300
+ function isNativeReflectConstruct() {
6301
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6302
+ if (Reflect.construct.sham) return false;
6303
+ if (typeof Proxy === "function") return true;
6304
+
6305
+ try {
6306
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6307
+ } catch (e) {
6308
+ return false;
6309
+ }
6310
+ }
6311
+
6312
+ derived = _getPrototypeOf(derived);
6313
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6314
+ }
5736
6315
  /**
5737
6316
  * @title Spatial Processing Core API
5738
6317
  * @version 1.5.1.0
@@ -5740,17 +6319,15 @@ let Security = /*#__PURE__*/function (_SecurityService) {
5740
6319
  */
5741
6320
 
5742
6321
  let StatisticService = /*#__PURE__*/function (_Service) {
5743
- _inherits(StatisticService, _Service);
5744
-
5745
- var _super = /*#__PURE__*/_createSuper(StatisticService);
5746
-
5747
6322
  function StatisticService() {
5748
6323
  _classCallCheck(this, StatisticService);
5749
6324
 
5750
- return _super.apply(this, arguments);
6325
+ return _callSuper$A(this, StatisticService, arguments);
5751
6326
  }
5752
6327
 
5753
- _createClass(StatisticService, [{
6328
+ _inherits(StatisticService, _Service);
6329
+
6330
+ return _createClass(StatisticService, [{
5754
6331
  key: "statisticsDb",
5755
6332
  value:
5756
6333
  /**
@@ -5802,27 +6379,56 @@ let StatisticService = /*#__PURE__*/function (_Service) {
5802
6379
  return this.http.post("/statistics/sumOfProduct", data).json();
5803
6380
  }
5804
6381
  }]);
5805
-
5806
- return StatisticService;
5807
6382
  }(Service);
5808
6383
 
5809
- let Statistic = /*#__PURE__*/function (_StatisticService) {
5810
- _inherits(Statistic, _StatisticService);
6384
+ function _callSuper$B(_this, derived, args) {
6385
+ function isNativeReflectConstruct() {
6386
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6387
+ if (Reflect.construct.sham) return false;
6388
+ if (typeof Proxy === "function") return true;
5811
6389
 
5812
- var _super = /*#__PURE__*/_createSuper(Statistic);
6390
+ try {
6391
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6392
+ } catch (e) {
6393
+ return false;
6394
+ }
6395
+ }
5813
6396
 
6397
+ derived = _getPrototypeOf(derived);
6398
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6399
+ }
6400
+ let Statistic = /*#__PURE__*/function (_StatisticService) {
5814
6401
  function Statistic() {
5815
6402
  _classCallCheck(this, Statistic);
5816
6403
 
5817
- return _super.apply(this, arguments);
6404
+ return _callSuper$B(this, Statistic, arguments);
5818
6405
  }
5819
6406
 
6407
+ _inherits(Statistic, _StatisticService);
6408
+
5820
6409
  return _createClass(Statistic);
5821
6410
  }(StatisticService);
5822
6411
 
5823
6412
  const _excluded$6 = ["name"],
5824
6413
  _excluded2$4 = ["name"],
5825
6414
  _excluded3$3 = ["name"];
6415
+
6416
+ function _callSuper$C(_this, derived, args) {
6417
+ function isNativeReflectConstruct() {
6418
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6419
+ if (Reflect.construct.sham) return false;
6420
+ if (typeof Proxy === "function") return true;
6421
+
6422
+ try {
6423
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6424
+ } catch (e) {
6425
+ return false;
6426
+ }
6427
+ }
6428
+
6429
+ derived = _getPrototypeOf(derived);
6430
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6431
+ }
5826
6432
  /**
5827
6433
  * @title Spatial Processing Core API
5828
6434
  * @version 1.5.1.0
@@ -5830,17 +6436,15 @@ const _excluded$6 = ["name"],
5830
6436
  */
5831
6437
 
5832
6438
  let TablesService = /*#__PURE__*/function (_Service) {
5833
- _inherits(TablesService, _Service);
5834
-
5835
- var _super = /*#__PURE__*/_createSuper(TablesService);
5836
-
5837
6439
  function TablesService() {
5838
6440
  _classCallCheck(this, TablesService);
5839
6441
 
5840
- return _super.apply(this, arguments);
6442
+ return _callSuper$C(this, TablesService, arguments);
5841
6443
  }
5842
6444
 
5843
- _createClass(TablesService, [{
6445
+ _inherits(TablesService, _Service);
6446
+
6447
+ return _createClass(TablesService, [{
5844
6448
  key: "getTableList",
5845
6449
  value:
5846
6450
  /**
@@ -6179,22 +6783,34 @@ let TablesService = /*#__PURE__*/function (_Service) {
6179
6783
  return this.http.get("/tables/" + name + "/references").json();
6180
6784
  }
6181
6785
  }]);
6182
-
6183
- return TablesService;
6184
6786
  }(Service);
6185
6787
 
6186
- let Tables = /*#__PURE__*/function (_TablesService) {
6187
- _inherits(Tables, _TablesService);
6788
+ function _callSuper$D(_this, derived, args) {
6789
+ function isNativeReflectConstruct() {
6790
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6791
+ if (Reflect.construct.sham) return false;
6792
+ if (typeof Proxy === "function") return true;
6188
6793
 
6189
- var _super = /*#__PURE__*/_createSuper(Tables);
6794
+ try {
6795
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6796
+ } catch (e) {
6797
+ return false;
6798
+ }
6799
+ }
6190
6800
 
6801
+ derived = _getPrototypeOf(derived);
6802
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6803
+ }
6804
+ let Tables = /*#__PURE__*/function (_TablesService) {
6191
6805
  function Tables() {
6192
6806
  _classCallCheck(this, Tables);
6193
6807
 
6194
- return _super.apply(this, arguments);
6808
+ return _callSuper$D(this, Tables, arguments);
6195
6809
  }
6196
6810
 
6197
- _createClass(Tables, [{
6811
+ _inherits(Tables, _TablesService);
6812
+
6813
+ return _createClass(Tables, [{
6198
6814
  key: "getTableInfos",
6199
6815
  value: function getTableInfos(tables) {
6200
6816
  return promiseAllIgnoreErrors(tables.map(table => this.getTableInfo(table)));
@@ -6226,10 +6842,24 @@ let Tables = /*#__PURE__*/function (_TablesService) {
6226
6842
  return name;
6227
6843
  }
6228
6844
  }]);
6229
-
6230
- return Tables;
6231
6845
  }(TablesService);
6232
6846
 
6847
+ function _callSuper$E(_this, derived, args) {
6848
+ function isNativeReflectConstruct() {
6849
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6850
+ if (Reflect.construct.sham) return false;
6851
+ if (typeof Proxy === "function") return true;
6852
+
6853
+ try {
6854
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6855
+ } catch (e) {
6856
+ return false;
6857
+ }
6858
+ }
6859
+
6860
+ derived = _getPrototypeOf(derived);
6861
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6862
+ }
6233
6863
  /**
6234
6864
  * @title Spatial Processing Core API
6235
6865
  * @version 1.5.1.0
@@ -6237,34 +6867,63 @@ let Tables = /*#__PURE__*/function (_TablesService) {
6237
6867
  */
6238
6868
 
6239
6869
  let ToolsService = /*#__PURE__*/function (_Service) {
6240
- _inherits(ToolsService, _Service);
6241
-
6242
- var _super = /*#__PURE__*/_createSuper(ToolsService);
6243
-
6244
6870
  function ToolsService() {
6245
6871
  _classCallCheck(this, ToolsService);
6246
6872
 
6247
- return _super.apply(this, arguments);
6873
+ return _callSuper$E(this, ToolsService, arguments);
6248
6874
  }
6249
6875
 
6876
+ _inherits(ToolsService, _Service);
6877
+
6250
6878
  return _createClass(ToolsService);
6251
6879
  }(Service);
6252
6880
 
6253
- let Tools = /*#__PURE__*/function (_ToolsService) {
6254
- _inherits(Tools, _ToolsService);
6881
+ function _callSuper$F(_this, derived, args) {
6882
+ function isNativeReflectConstruct() {
6883
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6884
+ if (Reflect.construct.sham) return false;
6885
+ if (typeof Proxy === "function") return true;
6255
6886
 
6256
- var _super = /*#__PURE__*/_createSuper(Tools);
6887
+ try {
6888
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6889
+ } catch (e) {
6890
+ return false;
6891
+ }
6892
+ }
6257
6893
 
6894
+ derived = _getPrototypeOf(derived);
6895
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6896
+ }
6897
+ let Tools = /*#__PURE__*/function (_ToolsService) {
6258
6898
  function Tools() {
6259
6899
  _classCallCheck(this, Tools);
6260
6900
 
6261
- return _super.apply(this, arguments);
6901
+ return _callSuper$F(this, Tools, arguments);
6262
6902
  }
6263
6903
 
6904
+ _inherits(Tools, _ToolsService);
6905
+
6264
6906
  return _createClass(Tools);
6265
6907
  }(ToolsService);
6266
6908
 
6267
6909
  const _excluded$7 = ["name", "z", "x", "y"];
6910
+
6911
+ function _callSuper$G(_this, derived, args) {
6912
+ function isNativeReflectConstruct() {
6913
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6914
+ if (Reflect.construct.sham) return false;
6915
+ if (typeof Proxy === "function") return true;
6916
+
6917
+ try {
6918
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6919
+ } catch (e) {
6920
+ return false;
6921
+ }
6922
+ }
6923
+
6924
+ derived = _getPrototypeOf(derived);
6925
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6926
+ }
6268
6927
  /**
6269
6928
  * @title Spatial Processing Core API
6270
6929
  * @version 1.5.1.0
@@ -6272,17 +6931,15 @@ const _excluded$7 = ["name", "z", "x", "y"];
6272
6931
  */
6273
6932
 
6274
6933
  let VectorTileService = /*#__PURE__*/function (_Service) {
6275
- _inherits(VectorTileService, _Service);
6276
-
6277
- var _super = /*#__PURE__*/_createSuper(VectorTileService);
6278
-
6279
6934
  function VectorTileService() {
6280
6935
  _classCallCheck(this, VectorTileService);
6281
6936
 
6282
- return _super.apply(this, arguments);
6937
+ return _callSuper$G(this, VectorTileService, arguments);
6283
6938
  }
6284
6939
 
6285
- _createClass(VectorTileService, [{
6940
+ _inherits(VectorTileService, _Service);
6941
+
6942
+ return _createClass(VectorTileService, [{
6286
6943
  key: "getVectorTile",
6287
6944
  value:
6288
6945
  /**
@@ -6308,24 +6965,53 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
6308
6965
  return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
6309
6966
  }
6310
6967
  }]);
6311
-
6312
- return VectorTileService;
6313
6968
  }(Service);
6314
6969
 
6315
- let VectorTiles = /*#__PURE__*/function (_VectorTileService) {
6316
- _inherits(VectorTiles, _VectorTileService);
6970
+ function _callSuper$H(_this, derived, args) {
6971
+ function isNativeReflectConstruct() {
6972
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
6973
+ if (Reflect.construct.sham) return false;
6974
+ if (typeof Proxy === "function") return true;
6317
6975
 
6318
- var _super = /*#__PURE__*/_createSuper(VectorTiles);
6976
+ try {
6977
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
6978
+ } catch (e) {
6979
+ return false;
6980
+ }
6981
+ }
6319
6982
 
6983
+ derived = _getPrototypeOf(derived);
6984
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
6985
+ }
6986
+ let VectorTiles = /*#__PURE__*/function (_VectorTileService) {
6320
6987
  function VectorTiles() {
6321
6988
  _classCallCheck(this, VectorTiles);
6322
6989
 
6323
- return _super.apply(this, arguments);
6990
+ return _callSuper$H(this, VectorTiles, arguments);
6324
6991
  }
6325
6992
 
6993
+ _inherits(VectorTiles, _VectorTileService);
6994
+
6326
6995
  return _createClass(VectorTiles);
6327
6996
  }(VectorTileService);
6328
6997
 
6998
+ function _callSuper$I(_this, derived, args) {
6999
+ function isNativeReflectConstruct() {
7000
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
7001
+ if (Reflect.construct.sham) return false;
7002
+ if (typeof Proxy === "function") return true;
7003
+
7004
+ try {
7005
+ return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
7006
+ } catch (e) {
7007
+ return false;
7008
+ }
7009
+ }
7010
+
7011
+ derived = _getPrototypeOf(derived);
7012
+ return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
7013
+ }
7014
+
6329
7015
  (function (UrlPath) {
6330
7016
  UrlPath["Base"] = "/map";
6331
7017
  UrlPath["Shared"] = "/shared";
@@ -6340,14 +7026,10 @@ const SHARED_PORT = "8082";
6340
7026
  const URL_PATHS = /*#__PURE__*/Object.values(exports.UrlPath);
6341
7027
  const DEFAULT_URL_PATH = URL_PATHS[0];
6342
7028
  let Api = /*#__PURE__*/function (_EventEmitter) {
6343
- _inherits(Api, _EventEmitter);
6344
-
6345
- var _super = /*#__PURE__*/_createSuper(Api);
6346
-
6347
7029
  function Api(_ref) {
6348
7030
  var _hooks$beforeRequest;
6349
7031
 
6350
- var _this;
7032
+ var _this2;
6351
7033
 
6352
7034
  let {
6353
7035
  url,
@@ -6361,11 +7043,11 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6361
7043
 
6362
7044
  _classCallCheck(this, Api);
6363
7045
 
6364
- _this = _super.call(this);
7046
+ _this2 = _callSuper$I(this, Api);
6365
7047
  const {
6366
7048
  hooks
6367
7049
  } = httpOptions || {};
6368
- _this.http = http || new HttpClient(_extends({
7050
+ _this2.http = http || new HttpClient(_extends({
6369
7051
  prefixUrl: url,
6370
7052
  timeout: false,
6371
7053
  retry: {
@@ -6381,7 +7063,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6381
7063
  if (token) {
6382
7064
  var _request$headers;
6383
7065
 
6384
- (_request$headers = request.headers) == null ? void 0 : _request$headers.set("Authorization", "Bearer " + (token || ""));
7066
+ (_request$headers = request.headers) == null || _request$headers.set("Authorization", "Bearer " + (token || ""));
6385
7067
  }
6386
7068
  }, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
6387
7069
  beforeRetry: [async (_ref2) => {
@@ -6398,7 +7080,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6398
7080
  if (refreshToken) {
6399
7081
  var _request$headers2;
6400
7082
 
6401
- const refreshTokenResponse = await _this.account.refreshToken({
7083
+ const refreshTokenResponse = await _this2.account.refreshToken({
6402
7084
  refreshToken
6403
7085
  });
6404
7086
 
@@ -6407,7 +7089,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6407
7089
  window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, refreshTokenResponse.refreshToken);
6408
7090
  }
6409
7091
 
6410
- (_request$headers2 = request.headers) == null ? void 0 : _request$headers2.set("Authorization", "Bearer " + (refreshTokenResponse.token || ""));
7092
+ (_request$headers2 = request.headers) == null || _request$headers2.set("Authorization", "Bearer " + (refreshTokenResponse.token || ""));
6411
7093
  }
6412
7094
  } catch (error) {
6413
7095
  throw new Error("Failed to refresh token");
@@ -6418,54 +7100,56 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6418
7100
  const apiEvent = apiEventsByResponseStatus[response == null ? void 0 : response.status];
6419
7101
 
6420
7102
  if (apiEvent) {
6421
- _this.emit(apiEvent, errorHandler(new ky.HTTPError(response, request, options)));
7103
+ _this2.emit(apiEvent, errorHandler(new ky.HTTPError(response, request, options)));
6422
7104
  }
6423
7105
 
6424
7106
  return response;
6425
7107
  }, ...((hooks == null ? void 0 : hooks.afterResponse) || [])]
6426
7108
  })
6427
7109
  }));
6428
- _this.url = url;
6429
- _this.wsUrl = wsUrl || url;
6430
- _this.urlPath = urlPath || _this.defineUrlPath();
6431
- _this.layers = new Layers(_this.http);
6432
- _this.tables = new Tables(_this.http);
6433
- _this.projects = new Projects(_this.http);
6434
- _this.resources = new Resources(_this.projects, _this.layers, _this.tables);
6435
- _this.account = new Account(_this.http);
6436
- _this.accountPreview = new AccountPreview(_this.http);
6437
- _this.bulk = new BulkOperations(_this.http);
6438
- _this.security = new Security(_this.http, _this.account);
6439
- _this.notification = new Notification(_this.http, _assertThisInitialized(_this), wsKeepAlive);
6440
- _this.file = new FileUpload(_this.http);
6441
- _this.filters = new Filters(_this.http);
6442
- _this.import = new Import(_this.http);
6443
- _this.geocode = new Geocode(_this.http);
6444
- _this.tools = new Tools(_this.http);
6445
- _this.clientSettings = new ClientSettings(_this.http);
6446
- _this.portalSettings = new PortalSettings(_this.http);
6447
- _this.statistic = new Statistic(_this.http);
6448
- _this.feedback = new Feedback(_this.http);
6449
- _this.vectorTiles = new VectorTiles(_this.http);
6450
- _this.spatialReference = new SpatialReferencesService(_this.http);
6451
- _this.eql = new Eql(_this.http);
6452
- _this.catalog = new CatalogService(_this.http);
6453
- _this.queryToken = new QueryTokenAccessService(_this.http);
6454
- _this.dataSource = new DataSourceService(_this.http);
6455
- _this.remoteTaskManager = new RemoteTaskManager(_this.http);
6456
- _this.cameras = new Cameras(_this.http);
6457
- _this.names = new Names({
6458
- account: _this.account
7110
+ _this2.url = url;
7111
+ _this2.wsUrl = wsUrl || url;
7112
+ _this2.urlPath = urlPath || _this2.defineUrlPath();
7113
+ _this2.layers = new Layers(_this2.http);
7114
+ _this2.tables = new Tables(_this2.http);
7115
+ _this2.projects = new Projects(_this2.http);
7116
+ _this2.resources = new Resources(_this2.projects, _this2.layers, _this2.tables);
7117
+ _this2.account = new Account(_this2.http);
7118
+ _this2.accountPreview = new AccountPreview(_this2.http);
7119
+ _this2.bulk = new BulkOperations(_this2.http);
7120
+ _this2.security = new Security(_this2.http, _this2.account);
7121
+ _this2.notification = new Notification(_this2.http, _this2, wsKeepAlive);
7122
+ _this2.file = new FileUpload(_this2.http);
7123
+ _this2.filters = new Filters(_this2.http);
7124
+ _this2.import = new Import(_this2.http);
7125
+ _this2.geocode = new Geocode(_this2.http);
7126
+ _this2.tools = new Tools(_this2.http);
7127
+ _this2.clientSettings = new ClientSettings(_this2.http);
7128
+ _this2.portalSettings = new PortalSettings(_this2.http);
7129
+ _this2.statistic = new Statistic(_this2.http);
7130
+ _this2.feedback = new Feedback(_this2.http);
7131
+ _this2.vectorTiles = new VectorTiles(_this2.http);
7132
+ _this2.spatialReference = new SpatialReferencesService(_this2.http);
7133
+ _this2.eql = new Eql(_this2.http);
7134
+ _this2.catalog = new CatalogService(_this2.http);
7135
+ _this2.queryToken = new QueryTokenAccessService(_this2.http);
7136
+ _this2.dataSource = new DataSourceService(_this2.http);
7137
+ _this2.remoteTaskManager = new RemoteTaskManager(_this2.http);
7138
+ _this2.cameras = new Cameras(_this2.http);
7139
+ _this2.names = new Names({
7140
+ account: _this2.account
6459
7141
  });
6460
- _this.snappingHub = snappingHubUrl ? new signalr.HubConnectionBuilder().withUrl(snappingHubUrl, {
7142
+ _this2.snappingHub = snappingHubUrl ? new signalr.HubConnectionBuilder().withUrl(snappingHubUrl, {
6461
7143
  withCredentials: true,
6462
7144
  skipNegotiation: true,
6463
7145
  transport: signalr.HttpTransportType.WebSockets
6464
7146
  }).withAutomaticReconnect().build() : null;
6465
- return _this;
7147
+ return _this2;
6466
7148
  }
6467
7149
 
6468
- _createClass(Api, [{
7150
+ _inherits(Api, _EventEmitter);
7151
+
7152
+ return _createClass(Api, [{
6469
7153
  key: "init",
6470
7154
  value: async function init(_ref3) {
6471
7155
  let {
@@ -6504,7 +7188,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6504
7188
  }, {
6505
7189
  key: "isAcceptedNetwork",
6506
7190
  value: function isAcceptedNetwork(network) {
6507
- return ['vk', 'google', 'facebook'].includes(network);
7191
+ return ["vk", "google", "facebook"].includes(network);
6508
7192
  }
6509
7193
  }, {
6510
7194
  key: "socAuthLogin",
@@ -6552,7 +7236,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6552
7236
  }, {
6553
7237
  key: "defineUrlPath",
6554
7238
  value: function defineUrlPath() {
6555
- const firstPath = (window.location.href.split(window.location.hostname)[1] || '').split('/').filter(Boolean)[0];
7239
+ const firstPath = (window.location.href.split(window.location.hostname)[1] || "").split("/").filter(Boolean)[0];
6556
7240
  const urlPath = firstPath ? "/" + firstPath : void 0;
6557
7241
  return urlPath && URL_PATHS.includes(urlPath) ? urlPath : DEFAULT_URL_PATH;
6558
7242
  }
@@ -6567,12 +7251,16 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6567
7251
  return this.urlPath === exports.UrlPath.Presentation || window.location.port === SHARED_PORT;
6568
7252
  }
6569
7253
  }]);
6570
-
6571
- return Api;
6572
- }(eventEmitter.EventEmitter);
7254
+ }(EventEmitter);
6573
7255
 
6574
7256
  /* eslint-disable */
6575
7257
 
7258
+ (function (AccessMode) {
7259
+ AccessMode["Shared"] = "Shared";
7260
+ AccessMode["Public"] = "Public";
7261
+ AccessMode["My"] = "My";
7262
+ })(exports.AccessMode || (exports.AccessMode = {}));
7263
+
6576
7264
  (function (AggregationFunction) {
6577
7265
  AggregationFunction["None"] = "None";
6578
7266
  AggregationFunction["Array"] = "Array";
@@ -6685,11 +7373,17 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6685
7373
  ConfigurationErrorEnum["InvalidTableReferenceConfiguration"] = "InvalidTableReferenceConfiguration";
6686
7374
  })(exports.ConfigurationErrorEnum || (exports.ConfigurationErrorEnum = {}));
6687
7375
 
7376
+ (function (ConfigurationType) {
7377
+ ConfigurationType["Default"] = "Default";
7378
+ ConfigurationType["DevConfiguration"] = "DevConfiguration";
7379
+ })(exports.ConfigurationType || (exports.ConfigurationType = {}));
7380
+
6688
7381
  (function (DataSourceType) {
6689
7382
  DataSourceType["Postgres"] = "Postgres";
6690
7383
  DataSourceType["Trino"] = "Trino";
6691
7384
  DataSourceType["S3"] = "S3";
6692
7385
  DataSourceType["GisServer"] = "GisServer";
7386
+ DataSourceType["Spark"] = "Spark";
6693
7387
  })(exports.DataSourceType || (exports.DataSourceType = {}));
6694
7388
 
6695
7389
  (function (ErrorDetailsType) {
@@ -6749,12 +7443,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6749
7443
  Group["All"] = "all";
6750
7444
  })(exports.Group || (exports.Group = {}));
6751
7445
 
6752
- (function (OwnerFilter) {
6753
- OwnerFilter["My"] = "My";
6754
- OwnerFilter["Shared"] = "Shared";
6755
- OwnerFilter["Public"] = "Public";
6756
- })(exports.OwnerFilter || (exports.OwnerFilter = {}));
6757
-
6758
7446
  (function (PbfSchema) {
6759
7447
  PbfSchema["XYZ"] = "xyz";
6760
7448
  PbfSchema["TMS"] = "tms";