@evergis/api 4.0.21 → 4.0.22

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.
@@ -30,9 +30,6 @@ function _defineProperties(target, props) {
30
30
  function _createClass(Constructor, protoProps, staticProps) {
31
31
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
32
32
  if (staticProps) _defineProperties(Constructor, staticProps);
33
- Object.defineProperty(Constructor, "prototype", {
34
- writable: false
35
- });
36
33
  return Constructor;
37
34
  }
38
35
 
@@ -66,9 +63,6 @@ function _inherits(subClass, superClass) {
66
63
  configurable: true
67
64
  }
68
65
  });
69
- Object.defineProperty(subClass, "prototype", {
70
- writable: false
71
- });
72
66
  if (superClass) _setPrototypeOf(subClass, superClass);
73
67
  }
74
68
 
@@ -127,8 +121,6 @@ function _assertThisInitialized(self) {
127
121
  function _possibleConstructorReturn(self, call) {
128
122
  if (call && (typeof call === "object" || typeof call === "function")) {
129
123
  return call;
130
- } else if (call !== void 0) {
131
- throw new TypeError("Derived constructors may only return object or undefined");
132
124
  }
133
125
 
134
126
  return _assertThisInitialized(self);
@@ -162,7 +154,7 @@ function _superPropBase(object, property) {
162
154
  return object;
163
155
  }
164
156
 
165
- function _get() {
157
+ function _get(target, property, receiver) {
166
158
  if (typeof Reflect !== "undefined" && Reflect.get) {
167
159
  _get = Reflect.get;
168
160
  } else {
@@ -173,14 +165,14 @@ function _get() {
173
165
  var desc = Object.getOwnPropertyDescriptor(base, property);
174
166
 
175
167
  if (desc.get) {
176
- return desc.get.call(arguments.length < 3 ? target : receiver);
168
+ return desc.get.call(receiver);
177
169
  }
178
170
 
179
171
  return desc.value;
180
172
  };
181
173
  }
182
174
 
183
- return _get.apply(this, arguments);
175
+ return _get(target, property, receiver || target);
184
176
  }
185
177
 
186
178
  const API_USER_INFO_KEY = "@evergis/user-info";
@@ -1466,6 +1458,23 @@ let AccountService = /*#__PURE__*/function (_Service) {
1466
1458
  value: function removeUser(username) {
1467
1459
  return this.http.delete("/account/user/" + username, null).then(() => {});
1468
1460
  }
1461
+ /**
1462
+ * No description
1463
+ *
1464
+ * @tags Account
1465
+ * @name CreateNamespace
1466
+ * @operationId AccountController_CreateNamespace
1467
+ * @summary Creates a new namespace.
1468
+ * @request POST:/account/namespace
1469
+ * @secure
1470
+ * @response `200` OK
1471
+ */
1472
+
1473
+ }, {
1474
+ key: "createNamespace",
1475
+ value: function createNamespace(query) {
1476
+ return this.http.post("/account/namespace", null, query).json();
1477
+ }
1469
1478
  /**
1470
1479
  * No description
1471
1480
  *
@@ -2079,214 +2088,6 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
2079
2088
  return _createClass(BulkOperations);
2080
2089
  }(BulkOperationsService);
2081
2090
 
2082
- const _excluded$1 = ["cameraId"],
2083
- _excluded2 = ["cameraId"],
2084
- _excluded3 = ["cameraId"],
2085
- _excluded4 = ["cameraId"],
2086
- _excluded5 = ["cameraId"],
2087
- _excluded6 = ["cameraId"];
2088
- /**
2089
- * @title Spatial Processing Core API
2090
- * @version 1.5.1.0
2091
- * @baseUrl /sp
2092
- */
2093
-
2094
- let CamerasService = /*#__PURE__*/function (_Service) {
2095
- _inherits(CamerasService, _Service);
2096
-
2097
- var _super = /*#__PURE__*/_createSuper(CamerasService);
2098
-
2099
- function CamerasService() {
2100
- _classCallCheck(this, CamerasService);
2101
-
2102
- return _super.apply(this, arguments);
2103
- }
2104
-
2105
- _createClass(CamerasService, [{
2106
- key: "getCameras",
2107
- value:
2108
- /**
2109
- * No description
2110
- *
2111
- * @tags Cameras
2112
- * @name GetCameras
2113
- * @operationId CamerasController_GetCameras
2114
- * @summary Get cameras list.
2115
- * @request GET:/cameras
2116
- * @secure
2117
- * @response `200` OK
2118
- */
2119
- function getCameras(query) {
2120
- return this.http.get("/cameras", query).json();
2121
- }
2122
- /**
2123
- * No description
2124
- *
2125
- * @tags Cameras
2126
- * @name GetArchiveFeed
2127
- * @operationId CamerasController_GetArchiveFeed
2128
- * @summary Streams an FLV-over-HTTP archive feed starting at specific time.
2129
- * @request GET:/cameras/{cameraId}/archiveFeed
2130
- * @secure
2131
- * @response `200` OK
2132
- */
2133
-
2134
- }, {
2135
- key: "getArchiveFeed",
2136
- value: function getArchiveFeed(_ref) {
2137
- let {
2138
- cameraId
2139
- } = _ref,
2140
- query = _objectWithoutPropertiesLoose(_ref, _excluded$1);
2141
-
2142
- return this.http.get("/cameras/" + cameraId + "/archiveFeed", query).blob();
2143
- }
2144
- /**
2145
- * No description
2146
- *
2147
- * @tags Cameras
2148
- * @name GetArchiveTimeline
2149
- * @operationId CamerasController_GetArchiveTimeline
2150
- * @summary Returns a list of records available within a given timeframe.
2151
- * @request GET:/cameras/{cameraId}/archiveTimeline
2152
- * @secure
2153
- * @response `200` OK
2154
- */
2155
-
2156
- }, {
2157
- key: "getArchiveTimeline",
2158
- value: function getArchiveTimeline(_ref2) {
2159
- let {
2160
- cameraId
2161
- } = _ref2,
2162
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
2163
-
2164
- return this.http.get("/cameras/" + cameraId + "/archiveTimeline", query).json();
2165
- }
2166
- /**
2167
- * No description
2168
- *
2169
- * @tags Cameras
2170
- * @name GetArchiveCalendar
2171
- * @operationId CamerasController_GetArchiveCalendar
2172
- * @summary Returns a list of records available within a given timeframe.
2173
- * @request GET:/cameras/{cameraId}/archiveCalendar
2174
- * @secure
2175
- * @response `200` OK
2176
- */
2177
-
2178
- }, {
2179
- key: "getArchiveCalendar",
2180
- value: function getArchiveCalendar(_ref3) {
2181
- let {
2182
- cameraId
2183
- } = _ref3,
2184
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
2185
-
2186
- return this.http.get("/cameras/" + cameraId + "/archiveCalendar", query).json();
2187
- }
2188
- /**
2189
- * No description
2190
- *
2191
- * @tags Cameras
2192
- * @name GetArchiveSnapshot
2193
- * @operationId CamerasController_GetArchiveSnapshot
2194
- * @summary Returns a JPEG image from the Camera’s archive.
2195
- * @request GET:/cameras/{cameraId}/archiveSnapshot
2196
- * @secure
2197
- * @response `200` OK
2198
- */
2199
-
2200
- }, {
2201
- key: "getArchiveSnapshot",
2202
- value: function getArchiveSnapshot(_ref4) {
2203
- let {
2204
- cameraId
2205
- } = _ref4,
2206
- query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
2207
-
2208
- return this.http.get("/cameras/" + cameraId + "/archiveSnapshot", query).blob();
2209
- }
2210
- /**
2211
- * No description
2212
- *
2213
- * @tags Cameras
2214
- * @name GetLiveFeed
2215
- * @operationId CamerasController_GetLiveFeed
2216
- * @summary Streams live video feed from the Camera.
2217
- * @request GET:/cameras/{cameraId}/liveFeed
2218
- * @secure
2219
- * @response `200` OK
2220
- */
2221
-
2222
- }, {
2223
- key: "getLiveFeed",
2224
- value: function getLiveFeed(_ref5) {
2225
- let {
2226
- cameraId
2227
- } = _ref5,
2228
- query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
2229
-
2230
- return this.http.get("/cameras/" + cameraId + "/liveFeed", query).blob();
2231
- }
2232
- /**
2233
- * No description
2234
- *
2235
- * @tags Cameras
2236
- * @name GetLiveSnapshot
2237
- * @operationId CamerasController_GetLiveSnapshot
2238
- * @summary Returns a JPEG image from the Camera’s live feed.
2239
- * @request GET:/cameras/{cameraId}/liveSnapshot
2240
- * @secure
2241
- * @response `200` OK
2242
- */
2243
-
2244
- }, {
2245
- key: "getLiveSnapshot",
2246
- value: function getLiveSnapshot(cameraId) {
2247
- return this.http.get("/cameras/" + cameraId + "/liveSnapshot").blob();
2248
- }
2249
- /**
2250
- * No description
2251
- *
2252
- * @tags Cameras
2253
- * @name GetLivePreviewStream
2254
- * @operationId CamerasController_GetLivePreviewStream
2255
- * @summary Get live preview stream.
2256
- * @request GET:/cameras/{cameraId}/getLivePreviewsStream
2257
- * @secure
2258
- * @response `200` OK
2259
- */
2260
-
2261
- }, {
2262
- key: "getLivePreviewStream",
2263
- value: function getLivePreviewStream(_ref6) {
2264
- let {
2265
- cameraId
2266
- } = _ref6,
2267
- query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
2268
-
2269
- return this.http.get("/cameras/" + cameraId + "/getLivePreviewsStream", query).json();
2270
- }
2271
- }]);
2272
-
2273
- return CamerasService;
2274
- }(Service);
2275
-
2276
- let Cameras = /*#__PURE__*/function (_CamerasService) {
2277
- _inherits(Cameras, _CamerasService);
2278
-
2279
- var _super = /*#__PURE__*/_createSuper(Cameras);
2280
-
2281
- function Cameras() {
2282
- _classCallCheck(this, Cameras);
2283
-
2284
- return _super.apply(this, arguments);
2285
- }
2286
-
2287
- return _createClass(Cameras);
2288
- }(CamerasService);
2289
-
2290
2091
  /**
2291
2092
  * @title Spatial Processing Core API
2292
2093
  * @version 1.5.1.0
@@ -2603,282 +2404,6 @@ let Eql = /*#__PURE__*/function (_EqlService) {
2603
2404
  return _createClass(Eql);
2604
2405
  }(EqlService);
2605
2406
 
2606
- /**
2607
- * @title Spatial Processing Core API
2608
- * @version 1.5.1.0
2609
- * @baseUrl /sp
2610
- */
2611
-
2612
- let ExternalProvidersService = /*#__PURE__*/function (_Service) {
2613
- _inherits(ExternalProvidersService, _Service);
2614
-
2615
- var _super = /*#__PURE__*/_createSuper(ExternalProvidersService);
2616
-
2617
- function ExternalProvidersService() {
2618
- _classCallCheck(this, ExternalProvidersService);
2619
-
2620
- return _super.apply(this, arguments);
2621
- }
2622
-
2623
- _createClass(ExternalProvidersService, [{
2624
- key: "vkLogin",
2625
- value:
2626
- /**
2627
- * No description
2628
- *
2629
- * @tags ExternalProviders
2630
- * @name VkLogin
2631
- * @operationId ExternalProvidersController_VkLogin
2632
- * @summary The external login by vk.
2633
- * @request GET:/account/external/login/vk
2634
- * @secure
2635
- * @response `200` OK
2636
- */
2637
- function vkLogin() {
2638
- return this.http.createUrl("/account/external/login/vk");
2639
- }
2640
- /**
2641
- * No description
2642
- *
2643
- * @tags ExternalProviders
2644
- * @name GoogleLogin
2645
- * @operationId ExternalProvidersController_GoogleLogin
2646
- * @summary The external login by google.
2647
- * @request GET:/account/external/login/google
2648
- * @secure
2649
- * @response `200` OK
2650
- */
2651
-
2652
- }, {
2653
- key: "googleLogin",
2654
- value: function googleLogin() {
2655
- return this.http.createUrl("/account/external/login/google");
2656
- }
2657
- /**
2658
- * No description
2659
- *
2660
- * @tags ExternalProviders
2661
- * @name FacebookLogin
2662
- * @operationId ExternalProvidersController_FacebookLogin
2663
- * @summary The external login by facebook.
2664
- * @request GET:/account/external/login/facebook
2665
- * @secure
2666
- * @response `200` OK
2667
- */
2668
-
2669
- }, {
2670
- key: "facebookLogin",
2671
- value: function facebookLogin() {
2672
- return this.http.createUrl("/account/external/login/facebook");
2673
- }
2674
- /**
2675
- * No description
2676
- *
2677
- * @tags ExternalProviders
2678
- * @name LoginCallback
2679
- * @operationId ExternalProvidersController_LoginCallback
2680
- * @summary The external login callback.
2681
- * @request GET:/account/external/login/callback
2682
- * @secure
2683
- * @response `200` OK
2684
- */
2685
-
2686
- }, {
2687
- key: "loginCallback",
2688
- value: function loginCallback() {
2689
- return this.http.get("/account/external/login/callback").then(() => {});
2690
- }
2691
- /**
2692
- * No description
2693
- *
2694
- * @tags ExternalProviders
2695
- * @name UnbindVk
2696
- * @operationId ExternalProvidersController_UnbindVk
2697
- * @summary Unbind external login from current user account (google).
2698
- * @request DELETE:/account/external/unbind/vk
2699
- * @secure
2700
- * @response `200` OK
2701
- */
2702
-
2703
- }, {
2704
- key: "unbindVk",
2705
- value: function unbindVk() {
2706
- return this.http.delete("/account/external/unbind/vk", null).then(() => {});
2707
- }
2708
- /**
2709
- * No description
2710
- *
2711
- * @tags ExternalProviders
2712
- * @name UnbindGoogle
2713
- * @operationId ExternalProvidersController_UnbindGoogle
2714
- * @summary Unbind external login from current user account (google).
2715
- * @request DELETE:/account/external/unbind/google
2716
- * @secure
2717
- * @response `200` OK
2718
- */
2719
-
2720
- }, {
2721
- key: "unbindGoogle",
2722
- value: function unbindGoogle() {
2723
- return this.http.delete("/account/external/unbind/google", null).then(() => {});
2724
- }
2725
- /**
2726
- * No description
2727
- *
2728
- * @tags ExternalProviders
2729
- * @name UnbindFacebook
2730
- * @operationId ExternalProvidersController_UnbindFacebook
2731
- * @summary Unbind external login from current user account (google).
2732
- * @request DELETE:/account/external/unbind/facebook
2733
- * @secure
2734
- * @response `200` OK
2735
- */
2736
-
2737
- }, {
2738
- key: "unbindFacebook",
2739
- value: function unbindFacebook() {
2740
- return this.http.delete("/account/external/unbind/facebook", null).then(() => {});
2741
- }
2742
- /**
2743
- * No description
2744
- *
2745
- * @tags ExternalProviders
2746
- * @name BindVk
2747
- * @operationId ExternalProvidersController_BindVk
2748
- * @summary The external login by vk.
2749
- * @request GET:/account/external/bind/vk
2750
- * @secure
2751
- * @response `200` OK
2752
- */
2753
-
2754
- }, {
2755
- key: "bindVk",
2756
- value: function bindVk() {
2757
- return this.http.createUrl("/account/external/bind/vk");
2758
- }
2759
- /**
2760
- * No description
2761
- *
2762
- * @tags ExternalProviders
2763
- * @name BindGoogle
2764
- * @operationId ExternalProvidersController_BindGoogle
2765
- * @summary The external login by vk.
2766
- * @request GET:/account/external/bind/google
2767
- * @secure
2768
- * @response `200` OK
2769
- */
2770
-
2771
- }, {
2772
- key: "bindGoogle",
2773
- value: function bindGoogle() {
2774
- return this.http.createUrl("/account/external/bind/google");
2775
- }
2776
- /**
2777
- * No description
2778
- *
2779
- * @tags ExternalProviders
2780
- * @name BindFacebook
2781
- * @operationId ExternalProvidersController_BindFacebook
2782
- * @summary The external login by vk.
2783
- * @request GET:/account/external/bind/facebook
2784
- * @secure
2785
- * @response `200` OK
2786
- */
2787
-
2788
- }, {
2789
- key: "bindFacebook",
2790
- value: function bindFacebook() {
2791
- return this.http.createUrl("/account/external/bind/facebook");
2792
- }
2793
- /**
2794
- * No description
2795
- *
2796
- * @tags ExternalProviders
2797
- * @name BindCallback
2798
- * @operationId ExternalProvidersController_BindCallback
2799
- * @summary Bind external login to current user account.
2800
- * @request GET:/account/external/bind/callback
2801
- * @secure
2802
- * @response `200` OK
2803
- */
2804
-
2805
- }, {
2806
- key: "bindCallback",
2807
- value: function bindCallback() {
2808
- return this.http.get("/account/external/bind/callback").then(() => {});
2809
- }
2810
- }]);
2811
-
2812
- return ExternalProvidersService;
2813
- }(Service);
2814
-
2815
- let External = /*#__PURE__*/function (_ExternalProvidersSer) {
2816
- _inherits(External, _ExternalProvidersSer);
2817
-
2818
- var _super = /*#__PURE__*/_createSuper(External);
2819
-
2820
- function External() {
2821
- _classCallCheck(this, External);
2822
-
2823
- return _super.apply(this, arguments);
2824
- }
2825
-
2826
- _createClass(External, [{
2827
- key: "login",
2828
- value: function login(network) {
2829
- switch (network) {
2830
- case 'vk':
2831
- return this.vkLogin();
2832
-
2833
- case 'google':
2834
- return this.googleLogin();
2835
-
2836
- case 'facebook':
2837
- return this.facebookLogin();
2838
-
2839
- default:
2840
- return '';
2841
- }
2842
- }
2843
- }, {
2844
- key: "bind",
2845
- value: function bind(network) {
2846
- switch (network) {
2847
- case 'vk':
2848
- return this.bindVk();
2849
-
2850
- case 'google':
2851
- return this.bindGoogle();
2852
-
2853
- case 'facebook':
2854
- return this.bindFacebook();
2855
-
2856
- default:
2857
- return '';
2858
- }
2859
- }
2860
- }, {
2861
- key: "unbind",
2862
- value: function unbind(network) {
2863
- switch (network) {
2864
- case 'vk':
2865
- return this.unbindVk();
2866
-
2867
- case 'google':
2868
- return this.unbindGoogle();
2869
-
2870
- case 'facebook':
2871
- return this.unbindFacebook();
2872
-
2873
- default:
2874
- return '';
2875
- }
2876
- }
2877
- }]);
2878
-
2879
- return External;
2880
- }(ExternalProvidersService);
2881
-
2882
2407
  /**
2883
2408
  * @title Spatial Processing Core API
2884
2409
  * @version 1.5.1.0
@@ -3089,9 +2614,9 @@ let Filters = /*#__PURE__*/function (_FiltersService) {
3089
2614
  return _createClass(Filters);
3090
2615
  }(FiltersService);
3091
2616
 
3092
- const _excluded$2 = ["providerName"],
3093
- _excluded2$1 = ["providerName"],
3094
- _excluded3$1 = ["providerName"];
2617
+ const _excluded$1 = ["providerName"],
2618
+ _excluded2 = ["providerName"],
2619
+ _excluded3 = ["providerName"];
3095
2620
  /**
3096
2621
  * @title Spatial Processing Core API
3097
2622
  * @version 1.5.1.0
@@ -3127,7 +2652,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3127
2652
  let {
3128
2653
  providerName
3129
2654
  } = _ref,
3130
- query = _objectWithoutPropertiesLoose(_ref, _excluded$2);
2655
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$1);
3131
2656
 
3132
2657
  return this.http.get("/geocode/" + providerName, query).json();
3133
2658
  }
@@ -3149,7 +2674,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3149
2674
  let {
3150
2675
  providerName
3151
2676
  } = _ref2,
3152
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
2677
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
3153
2678
 
3154
2679
  return this.http.get("/geocode/" + providerName + "/geocodeByPoint", query).json();
3155
2680
  }
@@ -3171,7 +2696,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
3171
2696
  let {
3172
2697
  providerName
3173
2698
  } = _ref3,
3174
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
2699
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
3175
2700
 
3176
2701
  return this.http.get("/geocode/" + providerName + "/suggest", query).json();
3177
2702
  }
@@ -3211,76 +2736,6 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
3211
2736
  return Geocode;
3212
2737
  }(GeocodeService);
3213
2738
 
3214
- /**
3215
- * @title Spatial Processing Core API
3216
- * @version 1.5.1.0
3217
- * @baseUrl /sp
3218
- */
3219
-
3220
- let IceRouterService = /*#__PURE__*/function (_Service) {
3221
- _inherits(IceRouterService, _Service);
3222
-
3223
- var _super = /*#__PURE__*/_createSuper(IceRouterService);
3224
-
3225
- function IceRouterService() {
3226
- _classCallCheck(this, IceRouterService);
3227
-
3228
- return _super.apply(this, arguments);
3229
- }
3230
-
3231
- _createClass(IceRouterService, [{
3232
- key: "startTask",
3233
- value:
3234
- /**
3235
- * No description
3236
- *
3237
- * @tags IceRouter
3238
- * @name StartTask
3239
- * @operationId IceRouterController_StartTask
3240
- * @summary Start route build between start and end points.
3241
- * @request POST:/ice-router/tasks
3242
- * @secure
3243
- * @response `200` OK
3244
- */
3245
- function startTask(data) {
3246
- return this.http.post("/ice-router/tasks", data).text();
3247
- }
3248
- /**
3249
- * No description
3250
- *
3251
- * @tags IceRouter
3252
- * @name GetResult
3253
- * @operationId IceRouterController_GetResult
3254
- * @summary Get task result.
3255
- * @request GET:/ice-router/tasks/{id}
3256
- * @secure
3257
- * @response `200` OK
3258
- */
3259
-
3260
- }, {
3261
- key: "getResult",
3262
- value: function getResult(id) {
3263
- return this.http.get("/ice-router/tasks/" + id).json();
3264
- }
3265
- }]);
3266
-
3267
- return IceRouterService;
3268
- }(Service);
3269
-
3270
- let IceRouter = /*#__PURE__*/function (_IceRouterService) {
3271
- _inherits(IceRouter, _IceRouterService);
3272
-
3273
- var _super = /*#__PURE__*/_createSuper(IceRouter);
3274
-
3275
- function IceRouter() {
3276
- _classCallCheck(this, IceRouter);
3277
-
3278
- return _super.apply(this, arguments);
3279
- }
3280
-
3281
- return _createClass(IceRouter);
3282
- }(IceRouterService);
3283
-
3284
2739
  /**
3285
2740
  * @title Spatial Processing Core API
3286
2741
  * @version 1.5.1.0
@@ -3487,24 +2942,21 @@ let Import = /*#__PURE__*/function (_ImportService) {
3487
2942
  return _createClass(Import);
3488
2943
  }(ImportService);
3489
2944
 
3490
- const _excluded$3 = ["name"],
3491
- _excluded2$2 = ["name"],
3492
- _excluded3$2 = ["name", "id"],
3493
- _excluded4$1 = ["name", "id"],
3494
- _excluded5$1 = ["name", "id"],
3495
- _excluded6$1 = ["name", "x", "y", "z"],
3496
- _excluded7 = ["name", "x", "y", "z", "format"],
3497
- _excluded8 = ["name", "x", "y", "z", "dpi", "format"],
2945
+ const _excluded$2 = ["name"],
2946
+ _excluded2$1 = ["name"],
2947
+ _excluded3$1 = ["name", "id"],
2948
+ _excluded4 = ["name", "x", "y", "z"],
2949
+ _excluded5 = ["name", "x", "y", "z", "format"],
2950
+ _excluded6 = ["name", "x", "y", "z", "dpi", "format"],
2951
+ _excluded7 = ["name"],
2952
+ _excluded8 = ["name"],
3498
2953
  _excluded9 = ["name"],
3499
2954
  _excluded10 = ["name"],
3500
2955
  _excluded11 = ["name"],
3501
2956
  _excluded12 = ["name"],
3502
2957
  _excluded13 = ["name"],
3503
- _excluded14 = ["name"],
3504
- _excluded15 = ["name"],
3505
- _excluded16 = ["name"],
3506
- _excluded17 = ["layerName"],
3507
- _excluded18 = ["name", "id"];
2958
+ _excluded14 = ["layerName"],
2959
+ _excluded15 = ["name", "id"];
3508
2960
  /**
3509
2961
  * @title Spatial Processing Core API
3510
2962
  * @version 1.5.1.0
@@ -3976,7 +3428,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
3976
3428
  let {
3977
3429
  name
3978
3430
  } = _ref,
3979
- query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
3431
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$2);
3980
3432
 
3981
3433
  return this.http.get("/layers/" + name + "/features", query).json();
3982
3434
  }
@@ -3998,7 +3450,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
3998
3450
  let {
3999
3451
  name
4000
3452
  } = _ref2,
4001
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
3453
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
4002
3454
 
4003
3455
  return this.http.delete("/layers/" + name + "/features", null, query).json();
4004
3456
  }
@@ -4055,56 +3507,10 @@ let LayersService = /*#__PURE__*/function (_Service) {
4055
3507
  name,
4056
3508
  id
4057
3509
  } = _ref3,
4058
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
3510
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
4059
3511
 
4060
3512
  return this.http.get("/layers/" + name + "/features/" + id, query).json();
4061
3513
  }
4062
- /**
4063
- * No description
4064
- *
4065
- * @tags Layers
4066
- * @name Unite
4067
- * @operationId LayersController_Unite
4068
- * @summary Provides method to unite feature geometry with given id and given geometry. Updated feature will be save in db storage. Result of the operation will be updated layer info.
4069
- * @request POST:/layers/{name}/features/{id}/unite
4070
- * @secure
4071
- * @response `200` OK
4072
- */
4073
-
4074
- }, {
4075
- key: "unite",
4076
- value: function unite(_ref4, data) {
4077
- let {
4078
- name,
4079
- id
4080
- } = _ref4,
4081
- query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
4082
-
4083
- return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
4084
- }
4085
- /**
4086
- * No description
4087
- *
4088
- * @tags Layers
4089
- * @name Subtract
4090
- * @operationId LayersController_Subtract
4091
- * @summary Provides method to subtract feature geometry with given id and given geometry. Updated feature will be save in db storage. Result of the operation will be updated layer info with feature id.
4092
- * @request POST:/layers/{name}/features/{id}/subtract
4093
- * @secure
4094
- * @response `200` OK
4095
- */
4096
-
4097
- }, {
4098
- key: "subtract",
4099
- value: function subtract(_ref5, data) {
4100
- let {
4101
- name,
4102
- id
4103
- } = _ref5,
4104
- query = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
4105
-
4106
- return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
4107
- }
4108
3514
  /**
4109
3515
  * No description
4110
3516
  *
@@ -4119,14 +3525,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
4119
3525
 
4120
3526
  }, {
4121
3527
  key: "getTilesLayerImage",
4122
- value: function getTilesLayerImage(_ref6) {
3528
+ value: function getTilesLayerImage(_ref4) {
4123
3529
  let {
4124
3530
  name,
4125
3531
  x,
4126
3532
  y,
4127
3533
  z
4128
- } = _ref6,
4129
- query = _objectWithoutPropertiesLoose(_ref6, _excluded6$1);
3534
+ } = _ref4,
3535
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
4130
3536
 
4131
3537
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
4132
3538
  }
@@ -4144,15 +3550,15 @@ let LayersService = /*#__PURE__*/function (_Service) {
4144
3550
 
4145
3551
  }, {
4146
3552
  key: "getTilesLayerImage1",
4147
- value: function getTilesLayerImage1(_ref7) {
3553
+ value: function getTilesLayerImage1(_ref5) {
4148
3554
  let {
4149
3555
  name,
4150
3556
  x,
4151
3557
  y,
4152
3558
  z,
4153
3559
  format
4154
- } = _ref7,
4155
- query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
3560
+ } = _ref5,
3561
+ query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
4156
3562
 
4157
3563
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format, query);
4158
3564
  }
@@ -4170,7 +3576,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
4170
3576
 
4171
3577
  }, {
4172
3578
  key: "getTilesLayerImageWithFormatAndDpi",
4173
- value: function getTilesLayerImageWithFormatAndDpi(_ref8) {
3579
+ value: function getTilesLayerImageWithFormatAndDpi(_ref6) {
4174
3580
  let {
4175
3581
  name,
4176
3582
  x,
@@ -4178,33 +3584,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4178
3584
  z,
4179
3585
  dpi,
4180
3586
  format
4181
- } = _ref8,
4182
- query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
3587
+ } = _ref6,
3588
+ query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
4183
3589
 
4184
3590
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format, query);
4185
3591
  }
4186
- /**
4187
- * No description
4188
- *
4189
- * @tags Layers
4190
- * @name GetLayerImage
4191
- * @operationId LayersController_GetLayerImage
4192
- * @summary Renders the layer to the image of the requested size.
4193
- * @request GET:/layers/{name}/export
4194
- * @secure
4195
- * @response `200` OK
4196
- */
4197
-
4198
- }, {
4199
- key: "getLayerImage",
4200
- value: function getLayerImage(_ref9) {
4201
- let {
4202
- name
4203
- } = _ref9,
4204
- query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
4205
-
4206
- return this.http.createUrl("/layers/" + name + "/export", query);
4207
- }
4208
3592
  /**
4209
3593
  * No description
4210
3594
  *
@@ -4219,11 +3603,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4219
3603
 
4220
3604
  }, {
4221
3605
  key: "getLayerExtent",
4222
- value: function getLayerExtent(_ref10) {
3606
+ value: function getLayerExtent(_ref7) {
4223
3607
  let {
4224
3608
  name
4225
- } = _ref10,
4226
- query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
3609
+ } = _ref7,
3610
+ query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
4227
3611
 
4228
3612
  return this.http.get("/layers/" + name + "/extent", query).json();
4229
3613
  }
@@ -4241,11 +3625,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4241
3625
 
4242
3626
  }, {
4243
3627
  key: "deleteFeatures",
4244
- value: function deleteFeatures(_ref11) {
3628
+ value: function deleteFeatures(_ref8) {
4245
3629
  let {
4246
3630
  name
4247
- } = _ref11,
4248
- query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
3631
+ } = _ref8,
3632
+ query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
4249
3633
 
4250
3634
  return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
4251
3635
  }
@@ -4263,11 +3647,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4263
3647
 
4264
3648
  }, {
4265
3649
  key: "deleteByCondition",
4266
- value: function deleteByCondition(_ref12) {
3650
+ value: function deleteByCondition(_ref9) {
4267
3651
  let {
4268
3652
  name
4269
- } = _ref12,
4270
- query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
3653
+ } = _ref9,
3654
+ query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
4271
3655
 
4272
3656
  return this.http.delete("/layers/" + name + "/features/deleteByCondition", null, query).json();
4273
3657
  }
@@ -4285,11 +3669,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4285
3669
 
4286
3670
  }, {
4287
3671
  key: "classify",
4288
- value: function classify(_ref13) {
3672
+ value: function classify(_ref10) {
4289
3673
  let {
4290
3674
  name
4291
- } = _ref13,
4292
- query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
3675
+ } = _ref10,
3676
+ query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
4293
3677
 
4294
3678
  return this.http.get("/layers/" + name + "/classify", query).json();
4295
3679
  }
@@ -4307,11 +3691,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4307
3691
 
4308
3692
  }, {
4309
3693
  key: "distincts",
4310
- value: function distincts(_ref14) {
3694
+ value: function distincts(_ref11) {
4311
3695
  let {
4312
3696
  name
4313
- } = _ref14,
4314
- query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
3697
+ } = _ref11,
3698
+ query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
4315
3699
 
4316
3700
  return this.http.get("/layers/" + name + "/distincts", query).json();
4317
3701
  }
@@ -4329,11 +3713,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4329
3713
 
4330
3714
  }, {
4331
3715
  key: "aggregateAttribute",
4332
- value: function aggregateAttribute(_ref15) {
3716
+ value: function aggregateAttribute(_ref12) {
4333
3717
  let {
4334
3718
  name
4335
- } = _ref15,
4336
- query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
3719
+ } = _ref12,
3720
+ query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
4337
3721
 
4338
3722
  return this.http.get("/layers/" + name + "/aggregate-values", query).json();
4339
3723
  }
@@ -4351,194 +3735,109 @@ let LayersService = /*#__PURE__*/function (_Service) {
4351
3735
 
4352
3736
  }, {
4353
3737
  key: "getFilteredFeaturesCount1",
4354
- value: function getFilteredFeaturesCount1(_ref16) {
4355
- let {
4356
- name
4357
- } = _ref16,
4358
- query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
4359
-
4360
- return this.http.get("/layers/" + name + "/features/count", query).json();
4361
- }
4362
- /**
4363
- * No description
4364
- *
4365
- * @tags Layers
4366
- * @name GetFilteredFeaturesCount2
4367
- * @operationId LayersController_GetFilteredFeaturesCount_2
4368
- * @summary Get features count according layer filter of the given name.
4369
- * @request POST:/layers/{name}/features/count
4370
- * @secure
4371
- * @response `200` OK
4372
- */
4373
-
4374
- }, {
4375
- key: "getFilteredFeaturesCount2",
4376
- value: function getFilteredFeaturesCount2(name, data) {
4377
- return this.http.post("/layers/" + name + "/features/count", data).json();
4378
- }
4379
- /**
4380
- * No description
4381
- *
4382
- * @tags Layers
4383
- * @name EditAttributes
4384
- * @operationId LayersController_EditAttributes
4385
- * @summary Edit attributes with editInfo.
4386
- * @request POST:/layers/{name}/features/edit-attributes
4387
- * @secure
4388
- * @response `200` OK
4389
- */
4390
-
4391
- }, {
4392
- key: "editAttributes",
4393
- value: function editAttributes(name, data) {
4394
- return this.http.post("/layers/" + name + "/features/edit-attributes", data).json();
4395
- }
4396
- /**
4397
- * No description
4398
- *
4399
- * @tags Layers
4400
- * @name ValidateExpression
4401
- * @operationId LayersController_ValidateExpression
4402
- * @summary Validates the given EQL expression against the requested layer. If the expression is valid, it can be executed on the features in the layer to produce a value of some type. The type of the resulting value will be also returned in the validation result.
4403
- * @request GET:/layers/{layerName}/validateExpression
4404
- * @secure
4405
- * @response `200` OK
4406
- */
4407
-
4408
- }, {
4409
- key: "validateExpression",
4410
- value: function validateExpression(_ref17) {
4411
- let {
4412
- layerName
4413
- } = _ref17,
4414
- query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
4415
-
4416
- return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
4417
- }
4418
- /**
4419
- * No description
4420
- *
4421
- * @tags Layers
4422
- * @name FlipCoordinates
4423
- * @operationId LayersController_FlipCoordinates
4424
- * @summary Flip geometry coordinates.
4425
- * @request POST:/layers/{layerName}/flip-coordinates
4426
- * @secure
4427
- * @response `200` OK
4428
- */
4429
-
4430
- }, {
4431
- key: "flipCoordinates",
4432
- value: function flipCoordinates(layerName) {
4433
- return this.http.post("/layers/" + layerName + "/flip-coordinates", null).json();
4434
- }
4435
- /**
4436
- * No description
4437
- *
4438
- * @tags Layers
4439
- * @name GetRasterMeta
4440
- * @operationId LayersController_GetRasterMeta
4441
- * @summary Get raster metadata.
4442
- * @request GET:/layers/{name}/{id}/metadata
4443
- * @secure
4444
- * @response `200` OK
4445
- */
4446
-
4447
- }, {
4448
- key: "getRasterMeta",
4449
- value: function getRasterMeta(_ref18) {
3738
+ value: function getFilteredFeaturesCount1(_ref13) {
4450
3739
  let {
4451
- name,
4452
- id
4453
- } = _ref18,
4454
- query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
3740
+ name
3741
+ } = _ref13,
3742
+ query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
4455
3743
 
4456
- return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
3744
+ return this.http.get("/layers/" + name + "/features/count", query).json();
4457
3745
  }
4458
3746
  /**
4459
3747
  * No description
4460
3748
  *
4461
3749
  * @tags Layers
4462
- * @name CreateRoute
4463
- * @operationId LayersController_CreateRoute
4464
- * @summary Create new route (feature) from source features.
4465
- * @request POST:/layers/{name}/createRoute
3750
+ * @name GetFilteredFeaturesCount2
3751
+ * @operationId LayersController_GetFilteredFeaturesCount_2
3752
+ * @summary Get features count according layer filter of the given name.
3753
+ * @request POST:/layers/{name}/features/count
4466
3754
  * @secure
4467
3755
  * @response `200` OK
4468
3756
  */
4469
3757
 
4470
3758
  }, {
4471
- key: "createRoute",
4472
- value: function createRoute(name, data) {
4473
- return this.http.post("/layers/" + name + "/createRoute", data).json();
3759
+ key: "getFilteredFeaturesCount2",
3760
+ value: function getFilteredFeaturesCount2(name, data) {
3761
+ return this.http.post("/layers/" + name + "/features/count", data).json();
4474
3762
  }
4475
3763
  /**
4476
3764
  * No description
4477
3765
  *
4478
3766
  * @tags Layers
4479
- * @name ApplyStyle
4480
- * @operationId LayersController_ApplyStyle
4481
- * @summary Create data layout and image layout for given style.
4482
- * @request PUT:/layers/{name}/style
3767
+ * @name EditAttributes
3768
+ * @operationId LayersController_EditAttributes
3769
+ * @summary Edit attributes with editInfo.
3770
+ * @request POST:/layers/{name}/features/edit-attributes
4483
3771
  * @secure
4484
3772
  * @response `200` OK
4485
3773
  */
4486
3774
 
4487
3775
  }, {
4488
- key: "applyStyle",
4489
- value: function applyStyle(name, data) {
4490
- return this.http.put("/layers/" + name + "/style", data).then(() => {});
3776
+ key: "editAttributes",
3777
+ value: function editAttributes(name, data) {
3778
+ return this.http.post("/layers/" + name + "/features/edit-attributes", data).json();
4491
3779
  }
4492
3780
  /**
4493
3781
  * No description
4494
3782
  *
4495
3783
  * @tags Layers
4496
- * @name GetStyle
4497
- * @operationId LayersController_GetStyle
4498
- * @summary Get style of the given layer.
4499
- * @request GET:/layers/{name}/style
3784
+ * @name ValidateExpression
3785
+ * @operationId LayersController_ValidateExpression
3786
+ * @summary Validates the given EQL expression against the requested layer. If the expression is valid, it can be executed on the features in the layer to produce a value of some type. The type of the resulting value will be also returned in the validation result.
3787
+ * @request GET:/layers/{layerName}/validateExpression
4500
3788
  * @secure
4501
3789
  * @response `200` OK
4502
3790
  */
4503
3791
 
4504
3792
  }, {
4505
- key: "getStyle",
4506
- value: function getStyle(name) {
4507
- return this.http.get("/layers/" + name + "/style").json();
3793
+ key: "validateExpression",
3794
+ value: function validateExpression(_ref14) {
3795
+ let {
3796
+ layerName
3797
+ } = _ref14,
3798
+ query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
3799
+
3800
+ return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
4508
3801
  }
4509
3802
  /**
4510
3803
  * No description
4511
3804
  *
4512
3805
  * @tags Layers
4513
- * @name GetImageLayout
4514
- * @operationId LayersController_GetImageLayout
4515
- * @summary Get date layout.
4516
- * @request GET:/layers/{name}/style/sprite.png
3806
+ * @name FlipCoordinates
3807
+ * @operationId LayersController_FlipCoordinates
3808
+ * @summary Flip geometry coordinates.
3809
+ * @request POST:/layers/{layerName}/flip-coordinates
4517
3810
  * @secure
4518
3811
  * @response `200` OK
4519
3812
  */
4520
3813
 
4521
3814
  }, {
4522
- key: "getImageLayout",
4523
- value: function getImageLayout(name) {
4524
- return this.http.get("/layers/" + name + "/style/sprite.png").blob();
3815
+ key: "flipCoordinates",
3816
+ value: function flipCoordinates(layerName) {
3817
+ return this.http.post("/layers/" + layerName + "/flip-coordinates", null).json();
4525
3818
  }
4526
3819
  /**
4527
3820
  * No description
4528
3821
  *
4529
3822
  * @tags Layers
4530
- * @name GetDataLayout
4531
- * @operationId LayersController_GetDataLayout
4532
- * @summary Get image layout.
4533
- * @request GET:/layers/{name}/style/sprite.json
3823
+ * @name GetRasterMeta
3824
+ * @operationId LayersController_GetRasterMeta
3825
+ * @summary Get raster metadata.
3826
+ * @request GET:/layers/{name}/{id}/metadata
4534
3827
  * @secure
4535
3828
  * @response `200` OK
4536
3829
  */
4537
3830
 
4538
3831
  }, {
4539
- key: "getDataLayout",
4540
- value: function getDataLayout(name) {
4541
- return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
3832
+ key: "getRasterMeta",
3833
+ value: function getRasterMeta(_ref15) {
3834
+ let {
3835
+ name,
3836
+ id
3837
+ } = _ref15,
3838
+ query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
3839
+
3840
+ return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
4542
3841
  }
4543
3842
  /**
4544
3843
  * No description
@@ -5031,8 +4330,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
5031
4330
  || event.code === 4002
5032
4331
  /* InvalidSession */
5033
4332
  ) {
5034
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
5035
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4333
+ _this.connectStatus = exports.ConnectionStatus.SessionClosed;
4334
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
5036
4335
  _this.connectStatus = exports.ConnectionStatus.Break;
5037
4336
  _this.reconnectTries++;
5038
4337
 
@@ -5181,145 +4480,7 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
5181
4480
  return PortalSettings;
5182
4481
  }(ClientSettingsService);
5183
4482
 
5184
- /**
5185
- * @title Spatial Processing Core API
5186
- * @version 1.5.1.0
5187
- * @baseUrl /sp
5188
- */
5189
-
5190
- let PrintService = /*#__PURE__*/function (_Service) {
5191
- _inherits(PrintService, _Service);
5192
-
5193
- var _super = /*#__PURE__*/_createSuper(PrintService);
5194
-
5195
- function PrintService() {
5196
- _classCallCheck(this, PrintService);
5197
-
5198
- return _super.apply(this, arguments);
5199
- }
5200
-
5201
- _createClass(PrintService, [{
5202
- key: "print",
5203
- value:
5204
- /**
5205
- * No description
5206
- *
5207
- * @tags Print
5208
- * @name Print
5209
- * @operationId PrintController_Print
5210
- * @summary Print map with template.
5211
- * @request POST:/print/print
5212
- * @secure
5213
- * @response `200` OK
5214
- */
5215
- function print(data) {
5216
- return this.http.post("/print/print", data).then(() => {});
5217
- }
5218
- /**
5219
- * No description
5220
- *
5221
- * @tags Print
5222
- * @name PrintToHtml
5223
- * @operationId PrintController_PrintToHtml
5224
- * @summary Print map with template to html string.
5225
- * @request POST:/print/printHtml
5226
- * @secure
5227
- * @response `200` OK
5228
- */
5229
-
5230
- }, {
5231
- key: "printToHtml",
5232
- value: function printToHtml(data) {
5233
- return this.http.post("/print/printHtml", data).text();
5234
- }
5235
- /**
5236
- * No description
5237
- *
5238
- * @tags Print
5239
- * @name UploadTemplate
5240
- * @operationId PrintController_UploadTemplate
5241
- * @summary Upload template on server.
5242
- * @request POST:/print/templates
5243
- * @secure
5244
- * @response `200` OK
5245
- */
5246
-
5247
- }, {
5248
- key: "uploadTemplate",
5249
- value: function uploadTemplate(query, data) {
5250
- return this.http.post("/print/templates", toFormData(data), query).then(() => {});
5251
- }
5252
- /**
5253
- * No description
5254
- *
5255
- * @tags Print
5256
- * @name GetTemplates
5257
- * @operationId PrintController_GetTemplates
5258
- * @summary Get all templates from server.
5259
- * @request GET:/print/templates
5260
- * @secure
5261
- * @response `200` OK
5262
- */
5263
-
5264
- }, {
5265
- key: "getTemplates",
5266
- value: function getTemplates() {
5267
- return this.http.get("/print/templates").json();
5268
- }
5269
- /**
5270
- * No description
5271
- *
5272
- * @tags Print
5273
- * @name DeleteTemplate
5274
- * @operationId PrintController_DeleteTemplate
5275
- * @summary Delete template from server.
5276
- * @request DELETE:/print/templates/{name}
5277
- * @secure
5278
- * @response `200` OK
5279
- */
5280
-
5281
- }, {
5282
- key: "deleteTemplate",
5283
- value: function deleteTemplate(name) {
5284
- return this.http.delete("/print/templates/" + name, null).then(() => {});
5285
- }
5286
- /**
5287
- * No description
5288
- *
5289
- * @tags Print
5290
- * @name GetTemplate
5291
- * @operationId PrintController_GetTemplate
5292
- * @summary Get template from server.
5293
- * @request GET:/print/templates/{name}
5294
- * @secure
5295
- * @response `200` OK
5296
- */
5297
-
5298
- }, {
5299
- key: "getTemplate",
5300
- value: function getTemplate(name) {
5301
- return this.http.get("/print/templates/" + name).text();
5302
- }
5303
- }]);
5304
-
5305
- return PrintService;
5306
- }(Service);
5307
-
5308
- let Print = /*#__PURE__*/function (_PrintService) {
5309
- _inherits(Print, _PrintService);
5310
-
5311
- var _super = /*#__PURE__*/_createSuper(Print);
5312
-
5313
- function Print() {
5314
- _classCallCheck(this, Print);
5315
-
5316
- return _super.apply(this, arguments);
5317
- }
5318
-
5319
- return _createClass(Print);
5320
- }(PrintService);
5321
-
5322
- const _excluded$4 = ["name"];
4483
+ const _excluded$3 = ["name"];
5323
4484
  /**
5324
4485
  * @title Spatial Processing Core API
5325
4486
  * @version 1.5.1.0
@@ -5491,7 +4652,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
5491
4652
  let {
5492
4653
  name
5493
4654
  } = _ref,
5494
- query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
4655
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
5495
4656
 
5496
4657
  return this.http.get("/projects/" + name + "/extent", query).json();
5497
4658
  }
@@ -5674,8 +4835,8 @@ function isProjectContentItems(v) {
5674
4835
  return v !== null && v !== undefined;
5675
4836
  }
5676
4837
 
5677
- const _excluded$5 = ["id"],
5678
- _excluded2$3 = ["id"];
4838
+ const _excluded$4 = ["id"],
4839
+ _excluded2$2 = ["id"];
5679
4840
  /**
5680
4841
  * @title Spatial Processing Core API
5681
4842
  * @version 1.5.1.0
@@ -5830,7 +4991,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5830
4991
  let {
5831
4992
  id
5832
4993
  } = _ref,
5833
- query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
4994
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
5834
4995
 
5835
4996
  return this.http.get("/scheduler/" + id + "/tasks", query).json();
5836
4997
  }
@@ -5886,7 +5047,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5886
5047
  let {
5887
5048
  id
5888
5049
  } = _ref2,
5889
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
5050
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
5890
5051
 
5891
5052
  return this.http.get("/scheduler/taskresource/" + id, query).json();
5892
5053
  }
@@ -6094,12 +5255,12 @@ let Resources = /*#__PURE__*/function () {
6094
5255
  }, {
6095
5256
  key: "getDependentNames",
6096
5257
  value: function getDependentNames(deps, depType) {
6097
- return deps.filter(_ref => {
5258
+ return deps.filter((_ref) => {
6098
5259
  let {
6099
5260
  type
6100
5261
  } = _ref;
6101
5262
  return type === depType;
6102
- }).map(_ref2 => {
5263
+ }).map((_ref2) => {
6103
5264
  let {
6104
5265
  name
6105
5266
  } = _ref2;
@@ -6415,28 +5576,11 @@ let StatisticService = /*#__PURE__*/function (_Service) {
6415
5576
  * @name StatisticsDb
6416
5577
  * @operationId StatisticController_StatisticsDb
6417
5578
  * @summary Calculates statistics for layer attribute.
6418
- * @request GET:/statistics
6419
- * @secure
6420
- * @response `200` OK
6421
- */
6422
- function statisticsDb(query) {
6423
- return this.http.get("/statistics", query).json();
6424
- }
6425
- /**
6426
- * No description
6427
- *
6428
- * @tags Statistic
6429
- * @name StatisticsDb1
6430
- * @operationId StatisticController_StatisticsDb_1
6431
- * @summary Calculates statistics for layer attribute.
6432
5579
  * @request POST:/statistics
6433
5580
  * @secure
6434
5581
  * @response `200` OK
6435
5582
  */
6436
-
6437
- }, {
6438
- key: "statisticsDb1",
6439
- value: function statisticsDb1(data) {
5583
+ function statisticsDb(data) {
6440
5584
  return this.http.post("/statistics", data).json();
6441
5585
  }
6442
5586
  /**
@@ -6446,31 +5590,14 @@ let StatisticService = /*#__PURE__*/function (_Service) {
6446
5590
  * @name Classify
6447
5591
  * @operationId StatisticController_Classify
6448
5592
  * @summary Returns the classified attribute values that correspond to the given number of classes and given condition.
6449
- * @request GET:/statistics/classify
6450
- * @secure
6451
- * @response `200` OK
6452
- */
6453
-
6454
- }, {
6455
- key: "classify",
6456
- value: function classify(query) {
6457
- return this.http.get("/statistics/classify", query).json();
6458
- }
6459
- /**
6460
- * No description
6461
- *
6462
- * @tags Statistic
6463
- * @name Classify1
6464
- * @operationId StatisticController_Classify_1
6465
- * @summary Returns the classified attribute values that correspond to the given number of classes and given condition.
6466
5593
  * @request POST:/statistics/classify
6467
5594
  * @secure
6468
5595
  * @response `200` OK
6469
5596
  */
6470
5597
 
6471
5598
  }, {
6472
- key: "classify1",
6473
- value: function classify1(data) {
5599
+ key: "classify",
5600
+ value: function classify(data) {
6474
5601
  return this.http.post("/statistics/classify", data).json();
6475
5602
  }
6476
5603
  /**
@@ -6480,31 +5607,14 @@ let StatisticService = /*#__PURE__*/function (_Service) {
6480
5607
  * @name SumOfProduct
6481
5608
  * @operationId StatisticController_SumOfProduct
6482
5609
  * @summary Sum of product.
6483
- * @request GET:/statistics/sumOfProduct
6484
- * @secure
6485
- * @response `200` OK
6486
- */
6487
-
6488
- }, {
6489
- key: "sumOfProduct",
6490
- value: function sumOfProduct(query) {
6491
- return this.http.get("/statistics/sumOfProduct", query).json();
6492
- }
6493
- /**
6494
- * No description
6495
- *
6496
- * @tags Statistic
6497
- * @name SumOfProduct1
6498
- * @operationId StatisticController_SumOfProduct_1
6499
- * @summary Sum of product.
6500
5610
  * @request POST:/statistics/sumOfProduct
6501
5611
  * @secure
6502
5612
  * @response `200` OK
6503
5613
  */
6504
5614
 
6505
5615
  }, {
6506
- key: "sumOfProduct1",
6507
- value: function sumOfProduct1(data) {
5616
+ key: "sumOfProduct",
5617
+ value: function sumOfProduct(data) {
6508
5618
  return this.http.post("/statistics/sumOfProduct", data).json();
6509
5619
  }
6510
5620
  }]);
@@ -6528,167 +5638,19 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
6528
5638
  value: function getStatistic(params) {
6529
5639
  return this.statisticsDb(params);
6530
5640
  }
6531
- }, {
6532
- key: "postStatistic",
6533
- value: function postStatistic(params) {
6534
- return this.statisticsDb1(params);
6535
- }
6536
5641
  }, {
6537
5642
  key: "getClassify",
6538
5643
  value: function getClassify(params) {
6539
5644
  return this.classify(params);
6540
5645
  }
6541
- }, {
6542
- key: "postClassify",
6543
- value: function postClassify(params) {
6544
- return this.classify1(params);
6545
- }
6546
5646
  }]);
6547
5647
 
6548
5648
  return Statistic;
6549
5649
  }(StatisticService);
6550
5650
 
6551
- /**
6552
- * @title Spatial Processing Core API
6553
- * @version 1.5.1.0
6554
- * @baseUrl /sp
6555
- */
6556
-
6557
- let StyleService = /*#__PURE__*/function (_Service) {
6558
- _inherits(StyleService, _Service);
6559
-
6560
- var _super = /*#__PURE__*/_createSuper(StyleService);
6561
-
6562
- function StyleService() {
6563
- _classCallCheck(this, StyleService);
6564
-
6565
- return _super.apply(this, arguments);
6566
- }
6567
-
6568
- _createClass(StyleService, [{
6569
- key: "getStyle",
6570
- value:
6571
- /**
6572
- * No description
6573
- *
6574
- * @tags StyleService
6575
- * @name GetStyle
6576
- * @operationId StyleServiceController_GetStyle
6577
- * @summary Returns the style by its id.
6578
- * @request GET:/styles/{id}
6579
- * @secure
6580
- * @response `200` OK
6581
- */
6582
- function getStyle(id) {
6583
- return this.http.get("/styles/" + id).json();
6584
- }
6585
- /**
6586
- * No description
6587
- *
6588
- * @tags StyleService
6589
- * @name UpdateStyle
6590
- * @operationId StyleServiceController_UpdateStyle
6591
- * @summary Replaces a style and gives it a new id.
6592
- * @request POST:/styles/{id}
6593
- * @secure
6594
- * @response `200` OK
6595
- */
6596
-
6597
- }, {
6598
- key: "updateStyle",
6599
- value: function updateStyle(id, data) {
6600
- return this.http.post("/styles/" + id, data).json();
6601
- }
6602
- /**
6603
- * No description
6604
- *
6605
- * @tags StyleService
6606
- * @name CreateStyle
6607
- * @operationId StyleServiceController_CreateStyle
6608
- * @summary Creates a new style.
6609
- * @request POST:/styles
6610
- * @secure
6611
- * @response `200` OK
6612
- */
6613
-
6614
- }, {
6615
- key: "createStyle",
6616
- value: function createStyle(data) {
6617
- return this.http.post("/styles", data).json();
6618
- }
6619
- /**
6620
- * No description
6621
- *
6622
- * @tags StyleService
6623
- * @name GetAllFonts
6624
- * @operationId StyleServiceController_GetAllFonts
6625
- * @summary Gets all installed fonts.
6626
- * @request GET:/styles/fonts
6627
- * @secure
6628
- * @response `200` OK
6629
- */
6630
-
6631
- }, {
6632
- key: "getAllFonts",
6633
- value: function getAllFonts() {
6634
- return this.http.get("/styles/fonts").json();
6635
- }
6636
- /**
6637
- * No description
6638
- *
6639
- * @tags StyleService
6640
- * @name AddFont
6641
- * @operationId StyleServiceController_AddFont
6642
- * @summary Install new font.
6643
- * @request POST:/styles/fonts
6644
- * @secure
6645
- * @response `200` OK
6646
- */
6647
-
6648
- }, {
6649
- key: "addFont",
6650
- value: function addFont(data) {
6651
- return this.http.post("/styles/fonts", toFormData(data)).then(() => {});
6652
- }
6653
- /**
6654
- * No description
6655
- *
6656
- * @tags StyleService
6657
- * @name RemoveFont
6658
- * @operationId StyleServiceController_RemoveFont
6659
- * @summary Remove installed font.
6660
- * @request DELETE:/styles/fonts
6661
- * @secure
6662
- * @response `200` OK
6663
- */
6664
-
6665
- }, {
6666
- key: "removeFont",
6667
- value: function removeFont(query) {
6668
- return this.http.delete("/styles/fonts", null, query).then(() => {});
6669
- }
6670
- }]);
6671
-
6672
- return StyleService;
6673
- }(Service);
6674
-
6675
- let Styles = /*#__PURE__*/function (_StyleService) {
6676
- _inherits(Styles, _StyleService);
6677
-
6678
- var _super = /*#__PURE__*/_createSuper(Styles);
6679
-
6680
- function Styles() {
6681
- _classCallCheck(this, Styles);
6682
-
6683
- return _super.apply(this, arguments);
6684
- }
6685
-
6686
- return _createClass(Styles);
6687
- }(StyleService);
6688
-
6689
- const _excluded$6 = ["name"],
6690
- _excluded2$4 = ["name"],
6691
- _excluded3$3 = ["name"];
5651
+ const _excluded$5 = ["name"],
5652
+ _excluded2$3 = ["name"],
5653
+ _excluded3$2 = ["name"];
6692
5654
  /**
6693
5655
  * @title Spatial Processing Core API
6694
5656
  * @version 1.5.1.0
@@ -6860,7 +5822,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
6860
5822
  let {
6861
5823
  name
6862
5824
  } = _ref,
6863
- query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5825
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
6864
5826
 
6865
5827
  return this.http.get("/tables/" + name + "/data", query).json();
6866
5828
  }
@@ -6899,7 +5861,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
6899
5861
  let {
6900
5862
  name
6901
5863
  } = _ref2,
6902
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5864
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
6903
5865
 
6904
5866
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
6905
5867
  }
@@ -6921,7 +5883,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
6921
5883
  let {
6922
5884
  name
6923
5885
  } = _ref3,
6924
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
5886
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
6925
5887
 
6926
5888
  return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
6927
5889
  }
@@ -7130,7 +6092,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
7130
6092
  return _createClass(Tools);
7131
6093
  }(ToolsService);
7132
6094
 
7133
- const _excluded$7 = ["name", "z", "x", "y"];
6095
+ const _excluded$6 = ["name", "z", "x", "y"];
7134
6096
  /**
7135
6097
  * @title Spatial Processing Core API
7136
6098
  * @version 1.5.1.0
@@ -7169,7 +6131,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
7169
6131
  x,
7170
6132
  y
7171
6133
  } = _ref,
7172
- query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
6134
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
7173
6135
 
7174
6136
  return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
7175
6137
  }
@@ -7262,7 +6224,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7262
6224
  (_request$headers = request.headers) == null ? void 0 : _request$headers.set("Authorization", "Bearer " + (token || ""));
7263
6225
  }
7264
6226
  }, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
7265
- beforeRetry: [async _ref2 => {
6227
+ beforeRetry: [async (_ref2) => {
7266
6228
  let {
7267
6229
  request,
7268
6230
  error,
@@ -7310,7 +6272,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7310
6272
  _this.tables = new Tables(_this.http);
7311
6273
  _this.projects = new Projects(_this.http);
7312
6274
  _this.resources = new Resources(_this.projects, _this.layers, _this.tables);
7313
- _this.styles = new Styles(_this.http);
7314
6275
  _this.account = new Account(_this.http);
7315
6276
  _this.accountPreview = new AccountPreview(_this.http);
7316
6277
  _this.bulk = new BulkOperations(_this.http);
@@ -7320,13 +6281,9 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7320
6281
  _this.filters = new Filters(_this.http);
7321
6282
  _this.import = new Import(_this.http);
7322
6283
  _this.geocode = new Geocode(_this.http);
7323
- _this.cameras = new Cameras(_this.http);
7324
- _this.print = new Print(_this.http);
7325
6284
  _this.tools = new Tools(_this.http);
7326
- _this.external = new External(_this.http);
7327
6285
  _this.clientSettings = new ClientSettings(_this.http);
7328
6286
  _this.portalSettings = new PortalSettings(_this.http);
7329
- _this.iceRouter = new IceRouter(_this.http);
7330
6287
  _this.statistic = new Statistic(_this.http);
7331
6288
  _this.feedback = new Feedback(_this.http);
7332
6289
  _this.vectorTiles = new VectorTiles(_this.http);
@@ -7529,9 +6486,8 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7529
6486
  ClassificationType["NaturalBreaks"] = "naturalBreaks";
7530
6487
  ClassificationType["EqualInterval"] = "equalInterval";
7531
6488
  ClassificationType["Quantile"] = "quantile";
7532
- ClassificationType["Distinct"] = "distinct";
7533
- ClassificationType["Step"] = "step";
7534
6489
  ClassificationType["Unique"] = "unique";
6490
+ ClassificationType["Step"] = "step";
7535
6491
  })(exports.ClassificationType || (exports.ClassificationType = {}));
7536
6492
 
7537
6493
  (function (ClassifyAttributeType) {
@@ -7712,12 +6668,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7712
6668
  PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
7713
6669
  })(exports.PolicyType || (exports.PolicyType = {}));
7714
6670
 
7715
- (function (Quality) {
7716
- Quality["Low"] = "Low";
7717
- Quality["Medium"] = "Medium";
7718
- Quality["High"] = "High";
7719
- })(exports.Quality || (exports.Quality = {}));
7720
-
7721
6671
  (function (RemoteTaskStatus) {
7722
6672
  RemoteTaskStatus["Init"] = "Init";
7723
6673
  RemoteTaskStatus["Process"] = "Process";
@@ -7850,24 +6800,20 @@ exports.Account = Account;
7850
6800
  exports.AccountPreview = AccountPreview;
7851
6801
  exports.Api = Api;
7852
6802
  exports.BulkOperations = BulkOperations;
7853
- exports.Cameras = Cameras;
7854
6803
  exports.ClientSettings = ClientSettings;
7855
6804
  exports.Eql = Eql;
7856
- exports.External = External;
7857
6805
  exports.Feedback = Feedback;
7858
6806
  exports.FileUpload = FileUpload;
7859
6807
  exports.Filters = Filters;
7860
6808
  exports.GEOCODE_PROVIDER = GEOCODE_PROVIDER;
7861
6809
  exports.Geocode = Geocode;
7862
6810
  exports.HttpClient = HttpClient;
7863
- exports.IceRouter = IceRouter;
7864
6811
  exports.Import = Import;
7865
6812
  exports.Layers = Layers;
7866
6813
  exports.Names = Names;
7867
6814
  exports.Notification = Notification;
7868
6815
  exports.NotificationEvent = NotificationEvent;
7869
6816
  exports.PortalSettings = PortalSettings;
7870
- exports.Print = Print;
7871
6817
  exports.Projects = Projects;
7872
6818
  exports.RemoteTaskManager = RemoteTaskManager;
7873
6819
  exports.Resources = Resources;
@@ -7875,7 +6821,6 @@ exports.STORAGE_REFRESH_TOKEN_KEY = STORAGE_REFRESH_TOKEN_KEY;
7875
6821
  exports.STORAGE_TOKEN_KEY = STORAGE_TOKEN_KEY;
7876
6822
  exports.Security = Security;
7877
6823
  exports.Statistic = Statistic;
7878
- exports.Styles = Styles;
7879
6824
  exports.Tables = Tables;
7880
6825
  exports.Tools = Tools;
7881
6826
  exports.VectorTiles = VectorTiles;