@evergis/api 3.0.181 → 3.0.183

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.
Files changed (50) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +21 -21
  3. package/dist/Api.d.ts +4 -0
  4. package/dist/__generated__/AccountPreviewService.d.ts +1 -1
  5. package/dist/__generated__/AccountService.d.ts +1 -1
  6. package/dist/__generated__/BulkOperationsService.d.ts +1 -1
  7. package/dist/__generated__/CamerasService.d.ts +13 -2
  8. package/dist/__generated__/CatalogService.d.ts +119 -0
  9. package/dist/__generated__/ClientSettingsService.d.ts +1 -1
  10. package/dist/__generated__/EqlTestService.d.ts +3 -3
  11. package/dist/__generated__/ExternalProvidersService.d.ts +1 -1
  12. package/dist/__generated__/FeedbackService.d.ts +1 -1
  13. package/dist/__generated__/FiltersService.d.ts +1 -1
  14. package/dist/__generated__/GeneralService.d.ts +1 -1
  15. package/dist/__generated__/GeocodeService.d.ts +1 -1
  16. package/dist/__generated__/IceRouterService.d.ts +1 -1
  17. package/dist/__generated__/ImportService.d.ts +1 -1
  18. package/dist/__generated__/LayersService.d.ts +47 -3
  19. package/dist/__generated__/NamespaceService.d.ts +1 -1
  20. package/dist/__generated__/NavigationService.d.ts +1 -1
  21. package/dist/__generated__/NotificationService.d.ts +1 -1
  22. package/dist/__generated__/PrintService.d.ts +1 -1
  23. package/dist/__generated__/ProjectsService.d.ts +3 -3
  24. package/dist/__generated__/QueryTokenAccessService.d.ts +52 -0
  25. package/dist/__generated__/ResourceCatalogService.d.ts +1 -1
  26. package/dist/__generated__/S3Service.d.ts +1 -1
  27. package/dist/__generated__/SchedulerService.d.ts +1 -1
  28. package/dist/__generated__/SecurityService.d.ts +1 -1
  29. package/dist/__generated__/SpatialReferencesService.d.ts +1 -1
  30. package/dist/__generated__/StaticContentService.d.ts +1 -1
  31. package/dist/__generated__/StatisticService.d.ts +35 -2
  32. package/dist/__generated__/StyleService.d.ts +1 -1
  33. package/dist/__generated__/SymbolStorageService.d.ts +1 -1
  34. package/dist/__generated__/TablesService.d.ts +3 -3
  35. package/dist/__generated__/TagsService.d.ts +3 -3
  36. package/dist/__generated__/ToolsService.d.ts +1 -1
  37. package/dist/__generated__/UniversalSearchService.d.ts +1 -1
  38. package/dist/__generated__/VectorTileService.d.ts +1 -1
  39. package/dist/__generated__/WfsServerService.d.ts +1 -1
  40. package/dist/__generated__/WmsServerService.d.ts +3 -3
  41. package/dist/__generated__/WmtsService.d.ts +1 -1
  42. package/dist/__generated__/data-contracts.d.ts +613 -546
  43. package/dist/api.cjs.development.js +474 -50
  44. package/dist/api.cjs.development.js.map +1 -1
  45. package/dist/api.cjs.production.min.js +1 -1
  46. package/dist/api.cjs.production.min.js.map +1 -1
  47. package/dist/api.esm.js +698 -238
  48. package/dist/api.esm.js.map +1 -1
  49. package/dist/services/Statistic.d.ts +5 -3
  50. package/package.json +3 -3
@@ -36,9 +36,6 @@ function _defineProperties(target, props) {
36
36
  function _createClass(Constructor, protoProps, staticProps) {
37
37
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
38
  if (staticProps) _defineProperties(Constructor, staticProps);
39
- Object.defineProperty(Constructor, "prototype", {
40
- writable: false
41
- });
42
39
  return Constructor;
43
40
  }
44
41
 
@@ -72,9 +69,6 @@ function _inherits(subClass, superClass) {
72
69
  configurable: true
73
70
  }
74
71
  });
75
- Object.defineProperty(subClass, "prototype", {
76
- writable: false
77
- });
78
72
  if (superClass) _setPrototypeOf(subClass, superClass);
79
73
  }
80
74
 
@@ -133,8 +127,6 @@ function _assertThisInitialized(self) {
133
127
  function _possibleConstructorReturn(self, call) {
134
128
  if (call && (typeof call === "object" || typeof call === "function")) {
135
129
  return call;
136
- } else if (call !== void 0) {
137
- throw new TypeError("Derived constructors may only return object or undefined");
138
130
  }
139
131
 
140
132
  return _assertThisInitialized(self);
@@ -168,7 +160,7 @@ function _superPropBase(object, property) {
168
160
  return object;
169
161
  }
170
162
 
171
- function _get() {
163
+ function _get(target, property, receiver) {
172
164
  if (typeof Reflect !== "undefined" && Reflect.get) {
173
165
  _get = Reflect.get;
174
166
  } else {
@@ -179,14 +171,14 @@ function _get() {
179
171
  var desc = Object.getOwnPropertyDescriptor(base, property);
180
172
 
181
173
  if (desc.get) {
182
- return desc.get.call(arguments.length < 3 ? target : receiver);
174
+ return desc.get.call(receiver);
183
175
  }
184
176
 
185
177
  return desc.value;
186
178
  };
187
179
  }
188
180
 
189
- return _get.apply(this, arguments);
181
+ return _get(target, property, receiver || target);
190
182
  }
191
183
 
192
184
  let HttpClient = /*#__PURE__*/function () {
@@ -321,7 +313,93 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
321
313
 
322
314
  /**
323
315
  * @title Spatial Processing Core API
324
- * @version 1.5.1
316
+ * @version 1.5.1.0
317
+ * @baseUrl /sp
318
+ */
319
+
320
+ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
321
+ _inherits(QueryTokenAccessService, _Service);
322
+
323
+ var _super = /*#__PURE__*/_createSuper(QueryTokenAccessService);
324
+
325
+ function QueryTokenAccessService() {
326
+ _classCallCheck(this, QueryTokenAccessService);
327
+
328
+ return _super.apply(this, arguments);
329
+ }
330
+
331
+ _createClass(QueryTokenAccessService, [{
332
+ key: "createToken",
333
+ value:
334
+ /**
335
+ * No description
336
+ *
337
+ * @tags QueryTokenAccess
338
+ * @name CreateToken
339
+ * @operationId QueryTokenAccessController_CreateTokenAsync
340
+ * @summary Create new query access token.
341
+ * @request PUT:/accessToken/{username}
342
+ * @response `200` Success
343
+ */
344
+ function createToken(username) {
345
+ return this.http.put("/accessToken/" + username, null).text();
346
+ }
347
+ /**
348
+ * No description
349
+ *
350
+ * @tags QueryTokenAccess
351
+ * @name DisableToken
352
+ * @operationId QueryTokenAccessController_DisableToken
353
+ * @summary Disable token.
354
+ * @request POST:/accessToken/{token}/disable
355
+ * @response `200` Success
356
+ */
357
+
358
+ }, {
359
+ key: "disableToken",
360
+ value: function disableToken(token) {
361
+ return this.http.post("/accessToken/" + token + "/disable", null).then(() => {});
362
+ }
363
+ /**
364
+ * No description
365
+ *
366
+ * @tags QueryTokenAccess
367
+ * @name EnableToken
368
+ * @operationId QueryTokenAccessController_EnableToken
369
+ * @summary Enable token.
370
+ * @request POST:/accessToken/{token}/enable
371
+ * @response `200` Success
372
+ */
373
+
374
+ }, {
375
+ key: "enableToken",
376
+ value: function enableToken(token) {
377
+ return this.http.post("/accessToken/" + token + "/enable", null).then(() => {});
378
+ }
379
+ /**
380
+ * No description
381
+ *
382
+ * @tags QueryTokenAccess
383
+ * @name RevokeToken
384
+ * @operationId QueryTokenAccessController_RevokeToken
385
+ * @summary Revoke token.
386
+ * @request DELETE:/accessToken/{token}
387
+ * @response `200` Success
388
+ */
389
+
390
+ }, {
391
+ key: "revokeToken",
392
+ value: function revokeToken(token) {
393
+ return this.http.delete("/accessToken/" + token, null).then(() => {});
394
+ }
395
+ }]);
396
+
397
+ return QueryTokenAccessService;
398
+ }(Service);
399
+
400
+ /**
401
+ * @title Spatial Processing Core API
402
+ * @version 1.5.1.0
325
403
  * @baseUrl /sp
326
404
  */
327
405
 
@@ -392,7 +470,7 @@ let SpatialReferencesService = /*#__PURE__*/function (_Service) {
392
470
  const _excluded = ["taskId", "layerName"];
393
471
  /**
394
472
  * @title Spatial Processing Core API
395
- * @version 1.5.1
473
+ * @version 1.5.1.0
396
474
  * @baseUrl /sp
397
475
  */
398
476
 
@@ -450,6 +528,188 @@ let UniversalSearchService = /*#__PURE__*/function (_Service) {
450
528
  return UniversalSearchService;
451
529
  }(Service);
452
530
 
531
+ /**
532
+ * @title Spatial Processing Core API
533
+ * @version 1.5.1.0
534
+ * @baseUrl /sp
535
+ */
536
+
537
+ let CatalogService = /*#__PURE__*/function (_Service) {
538
+ _inherits(CatalogService, _Service);
539
+
540
+ var _super = /*#__PURE__*/_createSuper(CatalogService);
541
+
542
+ function CatalogService() {
543
+ _classCallCheck(this, CatalogService);
544
+
545
+ return _super.apply(this, arguments);
546
+ }
547
+
548
+ _createClass(CatalogService, [{
549
+ key: "getAll",
550
+ value:
551
+ /**
552
+ * No description
553
+ *
554
+ * @tags Catalog
555
+ * @name GetAll
556
+ * @operationId CatalogController_GetAll
557
+ * @summary Get all resource with given.
558
+ * @request GET:/resources
559
+ * @response `200` Success
560
+ */
561
+ function getAll(query) {
562
+ return this.http.get("/resources", query).json();
563
+ }
564
+ /**
565
+ * No description
566
+ *
567
+ * @tags Catalog
568
+ * @name SearchResources
569
+ * @operationId CatalogController_SearchResources
570
+ * @summary Search resources.
571
+ * @request POST:/resources/search
572
+ * @response `200` Success
573
+ */
574
+
575
+ }, {
576
+ key: "searchResources",
577
+ value: function searchResources(query, data) {
578
+ return this.http.post("/resources/search", data, query).json();
579
+ }
580
+ /**
581
+ * No description
582
+ *
583
+ * @tags Catalog
584
+ * @name GetResource
585
+ * @operationId CatalogController_GetResource
586
+ * @summary Get resource with given id.
587
+ * @request GET:/resources/{resourceId}
588
+ * @response `200` Success
589
+ */
590
+
591
+ }, {
592
+ key: "getResource",
593
+ value: function getResource(resourceId) {
594
+ return this.http.get("/resources/" + resourceId).json();
595
+ }
596
+ /**
597
+ * No description
598
+ *
599
+ * @tags Catalog
600
+ * @name DeleteResource
601
+ * @operationId CatalogController_DeleteResource
602
+ * @summary Delete resource.
603
+ * @request DELETE:/resources/{resourceId}
604
+ * @response `200` Success
605
+ */
606
+
607
+ }, {
608
+ key: "deleteResource",
609
+ value: function deleteResource(resourceId) {
610
+ return this.http.delete("/resources/" + resourceId, null).then(() => {});
611
+ }
612
+ /**
613
+ * No description
614
+ *
615
+ * @tags Catalog
616
+ * @name MoveResource
617
+ * @operationId CatalogController_MoveResource
618
+ * @summary Rename resource with given id.
619
+ * @request POST:/resources/{resourceId}/move
620
+ * @response `200` Success
621
+ */
622
+
623
+ }, {
624
+ key: "moveResource",
625
+ value: function moveResource(resourceId, data) {
626
+ return this.http.post("/resources/" + resourceId + "/move", data).json();
627
+ }
628
+ /**
629
+ * No description
630
+ *
631
+ * @tags Catalog
632
+ * @name CreateDirectory
633
+ * @operationId CatalogController_CreateDirectory
634
+ * @summary Create directory.
635
+ * @request POST:/resources/directory
636
+ * @response `200` Success
637
+ */
638
+
639
+ }, {
640
+ key: "createDirectory",
641
+ value: function createDirectory(data) {
642
+ return this.http.post("/resources/directory", data).json();
643
+ }
644
+ /**
645
+ * No description
646
+ *
647
+ * @tags Catalog
648
+ * @name CreateFile
649
+ * @operationId CatalogController_CreateFile
650
+ * @summary Create new file.
651
+ * @request POST:/resources/file
652
+ * @response `200` Success
653
+ */
654
+
655
+ }, {
656
+ key: "createFile",
657
+ value: function createFile(data) {
658
+ return this.http.post("/resources/file", toFormData(data)).json();
659
+ }
660
+ /**
661
+ * No description
662
+ *
663
+ * @tags Catalog
664
+ * @name GetPermissions
665
+ * @operationId CatalogController_GetPermissions
666
+ * @summary Set permissions to the resource.
667
+ * @request GET:/resources/{resourceId}/permissions
668
+ * @response `200` Success
669
+ */
670
+
671
+ }, {
672
+ key: "getPermissions",
673
+ value: function getPermissions(resourceId) {
674
+ return this.http.get("/resources/" + resourceId + "/permissions").json();
675
+ }
676
+ /**
677
+ * No description
678
+ *
679
+ * @tags Catalog
680
+ * @name SetPermissions
681
+ * @operationId CatalogController_SetPermissions
682
+ * @summary Set permissions to the resource.
683
+ * @request PUT:/resources/{resourceId}/permissions
684
+ * @response `200` Success
685
+ */
686
+
687
+ }, {
688
+ key: "setPermissions",
689
+ value: function setPermissions(resourceId, data) {
690
+ return this.http.put("/resources/" + resourceId + "/permissions", data).json();
691
+ }
692
+ /**
693
+ * No description
694
+ *
695
+ * @tags Catalog
696
+ * @name DownloadFile
697
+ * @operationId CatalogController_DownloadFile
698
+ * @summary Download file.
699
+ * @request GET:/resources/{resourceId}/download
700
+ * @response `200` Success
701
+ */
702
+
703
+ }, {
704
+ key: "downloadFile",
705
+ value: function downloadFile(resourceId) {
706
+ return this.http.get("/resources/" + resourceId + "/download").blob();
707
+ }
708
+ }]);
709
+
710
+ return CatalogService;
711
+ }(Service);
712
+
453
713
  (function (ApiEvent) {
454
714
  ApiEvent["ConnectionLost"] = "ConnectionLost";
455
715
  ApiEvent["Unauthorized"] = "Unauthorized";
@@ -458,7 +718,7 @@ let UniversalSearchService = /*#__PURE__*/function (_Service) {
458
718
 
459
719
  /**
460
720
  * @title Spatial Processing Core API
461
- * @version 1.5.1
721
+ * @version 1.5.1.0
462
722
  * @baseUrl /sp
463
723
  */
464
724
 
@@ -1134,7 +1394,7 @@ let Account = /*#__PURE__*/function (_AccountService) {
1134
1394
  const _excluded$1 = ["username"];
1135
1395
  /**
1136
1396
  * @title Spatial Processing Core API
1137
- * @version 1.5.1
1397
+ * @version 1.5.1.0
1138
1398
  * @baseUrl /sp
1139
1399
  */
1140
1400
 
@@ -1288,7 +1548,7 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
1288
1548
 
1289
1549
  /**
1290
1550
  * @title Spatial Processing Core API
1291
- * @version 1.5.1
1551
+ * @version 1.5.1.0
1292
1552
  * @baseUrl /sp
1293
1553
  */
1294
1554
 
@@ -1342,10 +1602,11 @@ const _excluded$2 = ["cameraId"],
1342
1602
  _excluded2 = ["cameraId"],
1343
1603
  _excluded3 = ["cameraId"],
1344
1604
  _excluded4 = ["cameraId"],
1345
- _excluded5 = ["cameraId"];
1605
+ _excluded5 = ["cameraId"],
1606
+ _excluded6 = ["cameraId"];
1346
1607
  /**
1347
1608
  * @title Spatial Processing Core API
1348
- * @version 1.5.1
1609
+ * @version 1.5.1.0
1349
1610
  * @baseUrl /sp
1350
1611
  */
1351
1612
 
@@ -1497,6 +1758,27 @@ let CamerasService = /*#__PURE__*/function (_Service) {
1497
1758
  value: function getLiveSnapshot(cameraId) {
1498
1759
  return this.http.get("/cameras/" + cameraId + "/liveSnapshot").blob();
1499
1760
  }
1761
+ /**
1762
+ * No description
1763
+ *
1764
+ * @tags Cameras
1765
+ * @name GetLivePreviewStream
1766
+ * @operationId CamerasController_GetLivePreviewStream
1767
+ * @summary Get live preview stream.
1768
+ * @request GET:/cameras/{cameraId}/getLivePreviewsStream
1769
+ * @response `200` Success
1770
+ */
1771
+
1772
+ }, {
1773
+ key: "getLivePreviewStream",
1774
+ value: function getLivePreviewStream(_ref6) {
1775
+ let {
1776
+ cameraId
1777
+ } = _ref6,
1778
+ query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
1779
+
1780
+ return this.http.get("/cameras/" + cameraId + "/getLivePreviewsStream", query).json();
1781
+ }
1500
1782
  }]);
1501
1783
 
1502
1784
  return CamerasService;
@@ -1518,7 +1800,7 @@ let Cameras = /*#__PURE__*/function (_CamerasService) {
1518
1800
 
1519
1801
  /**
1520
1802
  * @title Spatial Processing Core API
1521
- * @version 1.5.1
1803
+ * @version 1.5.1.0
1522
1804
  * @baseUrl /sp
1523
1805
  */
1524
1806
 
@@ -1641,7 +1923,7 @@ let ClientSettings = /*#__PURE__*/function (_ClientSettingsServic) {
1641
1923
 
1642
1924
  /**
1643
1925
  * @title Spatial Processing Core API
1644
- * @version 1.5.1
1926
+ * @version 1.5.1.0
1645
1927
  * @baseUrl /sp
1646
1928
  */
1647
1929
 
@@ -1726,7 +2008,7 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
1726
2008
  * @tags EqlTest
1727
2009
  * @name GetLayerParameters
1728
2010
  * @operationId EqlTestController_GetLayerParameters
1729
- * @summary Get all set EQL layer parameters.
2011
+ * @summary Get EQL parameter.
1730
2012
  * @request GET:/eql/getParam
1731
2013
  * @response `200` Success
1732
2014
  */
@@ -1742,7 +2024,7 @@ let EqlTestService = /*#__PURE__*/function (_Service) {
1742
2024
  * @tags EqlTest
1743
2025
  * @name GetLayerParameters1
1744
2026
  * @operationId EqlTestController_GetLayerParameters_1
1745
- * @summary Get all EQL layer parameters.
2027
+ * @summary Get all EQL parameters.
1746
2028
  * @request GET:/eql/getParams
1747
2029
  * @response `200` Success
1748
2030
  */
@@ -1789,7 +2071,7 @@ let EqlTest = /*#__PURE__*/function (_EqlTestService) {
1789
2071
 
1790
2072
  /**
1791
2073
  * @title Spatial Processing Core API
1792
- * @version 1.5.1
2074
+ * @version 1.5.1.0
1793
2075
  * @baseUrl /sp
1794
2076
  */
1795
2077
 
@@ -2054,7 +2336,7 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
2054
2336
 
2055
2337
  /**
2056
2338
  * @title Spatial Processing Core API
2057
- * @version 1.5.1
2339
+ * @version 1.5.1.0
2058
2340
  * @baseUrl /sp
2059
2341
  */
2060
2342
 
@@ -2145,7 +2427,7 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
2145
2427
 
2146
2428
  /**
2147
2429
  * @title Spatial Processing Core API
2148
- * @version 1.5.1
2430
+ * @version 1.5.1.0
2149
2431
  * @baseUrl /sp
2150
2432
  */
2151
2433
 
@@ -2255,7 +2537,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
2255
2537
 
2256
2538
  /**
2257
2539
  * @title Spatial Processing Core API
2258
- * @version 1.5.1
2540
+ * @version 1.5.1.0
2259
2541
  * @baseUrl /sp
2260
2542
  */
2261
2543
 
@@ -2339,7 +2621,7 @@ let Filters = /*#__PURE__*/function (_FiltersService) {
2339
2621
 
2340
2622
  /**
2341
2623
  * @title Spatial Processing Core API
2342
- * @version 1.5.1
2624
+ * @version 1.5.1.0
2343
2625
  * @baseUrl /sp
2344
2626
  */
2345
2627
 
@@ -2410,7 +2692,7 @@ const _excluded$3 = ["providerName"],
2410
2692
  _excluded3$1 = ["providerName"];
2411
2693
  /**
2412
2694
  * @title Spatial Processing Core API
2413
- * @version 1.5.1
2695
+ * @version 1.5.1.0
2414
2696
  * @baseUrl /sp
2415
2697
  */
2416
2698
 
@@ -2526,7 +2808,7 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
2526
2808
 
2527
2809
  /**
2528
2810
  * @title Spatial Processing Core API
2529
- * @version 1.5.1
2811
+ * @version 1.5.1.0
2530
2812
  * @baseUrl /sp
2531
2813
  */
2532
2814
 
@@ -2594,7 +2876,7 @@ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
2594
2876
 
2595
2877
  /**
2596
2878
  * @title Spatial Processing Core API
2597
- * @version 1.5.1
2879
+ * @version 1.5.1.0
2598
2880
  * @baseUrl /sp
2599
2881
  */
2600
2882
 
@@ -2793,7 +3075,7 @@ const _excluded$4 = ["name"],
2793
3075
  _excluded3$2 = ["name"],
2794
3076
  _excluded4$1 = ["name", "id"],
2795
3077
  _excluded5$1 = ["name", "id"],
2796
- _excluded6 = ["name", "id"],
3078
+ _excluded6$1 = ["name", "id"],
2797
3079
  _excluded7 = ["name", "x", "y", "z"],
2798
3080
  _excluded8 = ["name"],
2799
3081
  _excluded9 = ["name"],
@@ -2810,7 +3092,7 @@ const _excluded$4 = ["name"],
2810
3092
  _excluded20 = ["name", "id"];
2811
3093
  /**
2812
3094
  * @title Spatial Processing Core API
2813
- * @version 1.5.1
3095
+ * @version 1.5.1.0
2814
3096
  * @baseUrl /sp
2815
3097
  */
2816
3098
 
@@ -3452,7 +3734,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
3452
3734
  name,
3453
3735
  id
3454
3736
  } = _ref6,
3455
- query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
3737
+ query = _objectWithoutPropertiesLoose(_ref6, _excluded6$1);
3456
3738
 
3457
3739
  return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
3458
3740
  }
@@ -3711,6 +3993,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
3711
3993
 
3712
3994
  return this.http.get("/layers/" + name + "/features/count", query).json();
3713
3995
  }
3996
+ /**
3997
+ * No description
3998
+ *
3999
+ * @tags Layers
4000
+ * @name GetFilteredFeaturesCount1
4001
+ * @operationId LayersController_GetFilteredFeaturesCount_1
4002
+ * @summary Get features count according layer filter of the given name.
4003
+ * @request POST:/layers/{name}/features/count
4004
+ * @response `200` Success
4005
+ */
4006
+
4007
+ }, {
4008
+ key: "getFilteredFeaturesCount1",
4009
+ value: function getFilteredFeaturesCount1(name, data) {
4010
+ return this.http.post("/layers/" + name + "/features/count", data).json();
4011
+ }
3714
4012
  /**
3715
4013
  * No description
3716
4014
  *
@@ -3803,6 +4101,54 @@ let LayersService = /*#__PURE__*/function (_Service) {
3803
4101
  value: function createRoute(name, data) {
3804
4102
  return this.http.post("/layers/" + name + "/createRoute", data).json();
3805
4103
  }
4104
+ /**
4105
+ * No description
4106
+ *
4107
+ * @tags Layers
4108
+ * @name ApplyStyle
4109
+ * @operationId LayersController_ApplyStyle
4110
+ * @summary Create data layout and image layout for given style.
4111
+ * @request PUT:/layers/{name}/style
4112
+ * @response `200` Success
4113
+ */
4114
+
4115
+ }, {
4116
+ key: "applyStyle",
4117
+ value: function applyStyle(name, data) {
4118
+ return this.http.put("/layers/" + name + "/style", data).then(() => {});
4119
+ }
4120
+ /**
4121
+ * No description
4122
+ *
4123
+ * @tags Layers
4124
+ * @name GetImageLayout
4125
+ * @operationId LayersController_GetImageLayout
4126
+ * @summary Get date layout.
4127
+ * @request GET:/layers/{name}/style/sprite.png
4128
+ * @response `200` Success
4129
+ */
4130
+
4131
+ }, {
4132
+ key: "getImageLayout",
4133
+ value: function getImageLayout(name) {
4134
+ return this.http.get("/layers/" + name + "/style/sprite.png").blob();
4135
+ }
4136
+ /**
4137
+ * No description
4138
+ *
4139
+ * @tags Layers
4140
+ * @name GetDataLayout
4141
+ * @operationId LayersController_GetDataLayout
4142
+ * @summary Get image layout.
4143
+ * @request GET:/layers/{name}/style/sprite.json
4144
+ * @response `200` Success
4145
+ */
4146
+
4147
+ }, {
4148
+ key: "getDataLayout",
4149
+ value: function getDataLayout(name) {
4150
+ return this.http.get("/layers/" + name + "/style/sprite.json").blob();
4151
+ }
3806
4152
  /**
3807
4153
  * No description
3808
4154
  *
@@ -4289,7 +4635,7 @@ let Names = /*#__PURE__*/function () {
4289
4635
 
4290
4636
  /**
4291
4637
  * @title Spatial Processing Core API
4292
- * @version 1.5.1
4638
+ * @version 1.5.1.0
4293
4639
  * @baseUrl /sp
4294
4640
  */
4295
4641
 
@@ -4389,7 +4735,7 @@ let Namespace = /*#__PURE__*/function (_NamespaceService) {
4389
4735
 
4390
4736
  /**
4391
4737
  * @title Spatial Processing Core API
4392
- * @version 1.5.1
4738
+ * @version 1.5.1.0
4393
4739
  * @baseUrl /sp
4394
4740
  */
4395
4741
 
@@ -4543,8 +4889,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4543
4889
  || event.code === 4002
4544
4890
  /* InvalidSession */
4545
4891
  ) {
4546
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
4547
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4892
+ _this.connectStatus = exports.ConnectionStatus.SessionClosed;
4893
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4548
4894
  _this.connectStatus = exports.ConnectionStatus.Break;
4549
4895
  _this.reconnectTries++;
4550
4896
 
@@ -4695,7 +5041,7 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
4695
5041
 
4696
5042
  /**
4697
5043
  * @title Spatial Processing Core API
4698
- * @version 1.5.1
5044
+ * @version 1.5.1.0
4699
5045
  * @baseUrl /sp
4700
5046
  */
4701
5047
 
@@ -4827,7 +5173,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
4827
5173
 
4828
5174
  /**
4829
5175
  * @title Spatial Processing Core API
4830
- * @version 1.5.1
5176
+ * @version 1.5.1.0
4831
5177
  * @baseUrl /sp
4832
5178
  */
4833
5179
 
@@ -5231,7 +5577,7 @@ function isProjectContentItems(v) {
5231
5577
 
5232
5578
  /**
5233
5579
  * @title Spatial Processing Core API
5234
- * @version 1.5.1
5580
+ * @version 1.5.1.0
5235
5581
  * @baseUrl /sp
5236
5582
  */
5237
5583
 
@@ -5376,12 +5722,12 @@ let Resources = /*#__PURE__*/function () {
5376
5722
  }, {
5377
5723
  key: "getDependentNames",
5378
5724
  value: function getDependentNames(deps, depType) {
5379
- return deps.filter(_ref => {
5725
+ return deps.filter((_ref) => {
5380
5726
  let {
5381
5727
  type
5382
5728
  } = _ref;
5383
5729
  return type === depType;
5384
- }).map(_ref2 => {
5730
+ }).map((_ref2) => {
5385
5731
  let {
5386
5732
  name
5387
5733
  } = _ref2;
@@ -5395,7 +5741,7 @@ let Resources = /*#__PURE__*/function () {
5395
5741
 
5396
5742
  /**
5397
5743
  * @title Spatial Processing Core API
5398
- * @version 1.5.1
5744
+ * @version 1.5.1.0
5399
5745
  * @baseUrl /sp
5400
5746
  */
5401
5747
 
@@ -5837,7 +6183,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
5837
6183
  const taskProgress = await this.getTaskProgress(id);
5838
6184
  this.resolveTaskStatus(taskProgress, resolve, reject);
5839
6185
 
5840
- const taskResultCallback = async _ref => {
6186
+ const taskResultCallback = async (_ref) => {
5841
6187
  let {
5842
6188
  data
5843
6189
  } = _ref;
@@ -5882,7 +6228,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
5882
6228
 
5883
6229
  /**
5884
6230
  * @title Spatial Processing Core API
5885
- * @version 1.5.1
6231
+ * @version 1.5.1.0
5886
6232
  * @baseUrl /sp
5887
6233
  */
5888
6234
 
@@ -6034,7 +6380,7 @@ let Security = /*#__PURE__*/function (_SecurityService) {
6034
6380
 
6035
6381
  /**
6036
6382
  * @title Spatial Processing Core API
6037
- * @version 1.5.1
6383
+ * @version 1.5.1.0
6038
6384
  * @baseUrl /sp
6039
6385
  */
6040
6386
 
@@ -6065,6 +6411,22 @@ let StatisticService = /*#__PURE__*/function (_Service) {
6065
6411
  function statisticsDb(query) {
6066
6412
  return this.http.get("/statistics", query).json();
6067
6413
  }
6414
+ /**
6415
+ * No description
6416
+ *
6417
+ * @tags Statistic
6418
+ * @name StatisticsDb1
6419
+ * @operationId StatisticController_StatisticsDb_1
6420
+ * @summary Calculates statistics for layer attribute.
6421
+ * @request POST:/statistics
6422
+ * @response `200` Success
6423
+ */
6424
+
6425
+ }, {
6426
+ key: "statisticsDb1",
6427
+ value: function statisticsDb1(data) {
6428
+ return this.http.post("/statistics", data).json();
6429
+ }
6068
6430
  /**
6069
6431
  * No description
6070
6432
  *
@@ -6081,6 +6443,22 @@ let StatisticService = /*#__PURE__*/function (_Service) {
6081
6443
  value: function classify(query) {
6082
6444
  return this.http.get("/statistics/classify", query).json();
6083
6445
  }
6446
+ /**
6447
+ * No description
6448
+ *
6449
+ * @tags Statistic
6450
+ * @name Classify1
6451
+ * @operationId StatisticController_Classify_1
6452
+ * @summary Returns the classified attribute values that correspond to the given number of classes and given condition.
6453
+ * @request POST:/statistics/classify
6454
+ * @response `200` Success
6455
+ */
6456
+
6457
+ }, {
6458
+ key: "classify1",
6459
+ value: function classify1(data) {
6460
+ return this.http.post("/statistics/classify", data).json();
6461
+ }
6084
6462
  /**
6085
6463
  * No description
6086
6464
  *
@@ -6097,6 +6475,22 @@ let StatisticService = /*#__PURE__*/function (_Service) {
6097
6475
  value: function sumOfProduct(query) {
6098
6476
  return this.http.get("/statistics/sumOfProduct", query).json();
6099
6477
  }
6478
+ /**
6479
+ * No description
6480
+ *
6481
+ * @tags Statistic
6482
+ * @name SumOfProduct1
6483
+ * @operationId StatisticController_SumOfProduct_1
6484
+ * @summary Sum of product.
6485
+ * @request POST:/statistics/sumOfProduct
6486
+ * @response `200` Success
6487
+ */
6488
+
6489
+ }, {
6490
+ key: "sumOfProduct1",
6491
+ value: function sumOfProduct1(data) {
6492
+ return this.http.post("/statistics/sumOfProduct", data).json();
6493
+ }
6100
6494
  }]);
6101
6495
 
6102
6496
  return StatisticService;
@@ -6118,11 +6512,21 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
6118
6512
  value: function getStatistic(params) {
6119
6513
  return this.statisticsDb(params);
6120
6514
  }
6515
+ }, {
6516
+ key: "postStatistic",
6517
+ value: function postStatistic(params) {
6518
+ return this.statisticsDb1(params);
6519
+ }
6121
6520
  }, {
6122
6521
  key: "getClassify",
6123
6522
  value: function getClassify(params) {
6124
6523
  return this.classify(params);
6125
6524
  }
6525
+ }, {
6526
+ key: "postClassify",
6527
+ value: function postClassify(params) {
6528
+ return this.classify1(params);
6529
+ }
6126
6530
  }]);
6127
6531
 
6128
6532
  return Statistic;
@@ -6130,7 +6534,7 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
6130
6534
 
6131
6535
  /**
6132
6536
  * @title Spatial Processing Core API
6133
- * @version 1.5.1
6537
+ * @version 1.5.1.0
6134
6538
  * @baseUrl /sp
6135
6539
  */
6136
6540
 
@@ -6266,7 +6670,7 @@ const _excluded$6 = ["name"],
6266
6670
  _excluded4$2 = ["name"];
6267
6671
  /**
6268
6672
  * @title Spatial Processing Core API
6269
- * @version 1.5.1
6673
+ * @version 1.5.1.0
6270
6674
  * @baseUrl /sp
6271
6675
  */
6272
6676
 
@@ -6778,7 +7182,7 @@ let Tables = /*#__PURE__*/function (_TablesService) {
6778
7182
 
6779
7183
  /**
6780
7184
  * @title Spatial Processing Core API
6781
- * @version 1.5.1
7185
+ * @version 1.5.1.0
6782
7186
  * @baseUrl /sp
6783
7187
  */
6784
7188
 
@@ -6813,7 +7217,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
6813
7217
  const _excluded$7 = ["name", "z", "x", "y"];
6814
7218
  /**
6815
7219
  * @title Spatial Processing Core API
6816
- * @version 1.5.1
7220
+ * @version 1.5.1.0
6817
7221
  * @baseUrl /sp
6818
7222
  */
6819
7223
 
@@ -6970,6 +7374,8 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6970
7374
  _this.universalSearch = new UniversalSearchService(_this.http);
6971
7375
  _this.spatialReference = new SpatialReferencesService(_this.http);
6972
7376
  _this.eqlTest = new EqlTest(_this.http);
7377
+ _this.catalog = new CatalogService(_this.http);
7378
+ _this.queryToken = new QueryTokenAccessService(_this.http);
6973
7379
  _this.names = new Names({
6974
7380
  account: _this.account
6975
7381
  });
@@ -7640,6 +8046,12 @@ function isFeatureLayer(layer) {
7640
8046
  LineJoinType["Round"] = "Round";
7641
8047
  })(exports.LineJoinType || (exports.LineJoinType = {}));
7642
8048
 
8049
+ (function (ObjectTypeFilter) {
8050
+ ObjectTypeFilter["All"] = "All";
8051
+ ObjectTypeFilter["Directory"] = "Directory";
8052
+ ObjectTypeFilter["File"] = "File";
8053
+ })(exports.ObjectTypeFilter || (exports.ObjectTypeFilter = {}));
8054
+
7643
8055
  (function (Operation) {
7644
8056
  Operation["Unknown"] = "Unknown";
7645
8057
  Operation["Union"] = "union";
@@ -7648,6 +8060,12 @@ function isFeatureLayer(layer) {
7648
8060
  Operation["SymDifference"] = "symDifference";
7649
8061
  })(exports.Operation || (exports.Operation = {}));
7650
8062
 
8063
+ (function (OwnerFilter) {
8064
+ OwnerFilter["My"] = "My";
8065
+ OwnerFilter["All"] = "All";
8066
+ OwnerFilter["Other"] = "Other";
8067
+ })(exports.OwnerFilter || (exports.OwnerFilter = {}));
8068
+
7651
8069
  (function (PbfSchema) {
7652
8070
  PbfSchema["XYZ"] = "xyz";
7653
8071
  PbfSchema["TMS"] = "tms";
@@ -7673,6 +8091,12 @@ function isFeatureLayer(layer) {
7673
8091
  PolicyType["MaxUploadContentSize"] = "MaxUploadContentSize";
7674
8092
  })(exports.PolicyType || (exports.PolicyType = {}));
7675
8093
 
8094
+ (function (Quality) {
8095
+ Quality["Low"] = "Low";
8096
+ Quality["Medium"] = "Medium";
8097
+ Quality["High"] = "High";
8098
+ })(exports.Quality || (exports.Quality = {}));
8099
+
7676
8100
  (function (ReferenceJoinType) {
7677
8101
  ReferenceJoinType["OneToMany"] = "OneToMany";
7678
8102
  ReferenceJoinType["OneToOne"] = "OneToOne";