@evergis/api 4.0.4 → 4.0.5

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.
package/dist/api.esm.js CHANGED
@@ -549,6 +549,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
549
549
  return DataSourceService;
550
550
  }(Service);
551
551
 
552
+ const _excluded = ["username"];
552
553
  /**
553
554
  * @title Spatial Processing Core API
554
555
  * @version 1.5.1.0
@@ -567,19 +568,38 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
567
568
  }
568
569
 
569
570
  _createClass(QueryTokenAccessService, [{
570
- key: "createToken",
571
+ key: "getTokensList",
571
572
  value:
573
+ /**
574
+ * No description
575
+ *
576
+ * @tags QueryTokenAccess
577
+ * @name GetTokensList
578
+ * @operationId QueryTokenAccessController_GetTokensList
579
+ * @request GET:/accessToken/list/{username}
580
+ * @response `200` OK
581
+ */
582
+ function getTokensList(_ref) {
583
+ let {
584
+ username
585
+ } = _ref,
586
+ query = _objectWithoutPropertiesLoose(_ref, _excluded);
587
+
588
+ return this.http.get("/accessToken/list/" + username, query).json();
589
+ }
572
590
  /**
573
591
  * No description
574
592
  *
575
593
  * @tags QueryTokenAccess
576
594
  * @name CreateToken
577
595
  * @operationId QueryTokenAccessController_CreateTokenAsync
578
- * @summary Create new query access token.
579
596
  * @request PUT:/accessToken/{username}
580
597
  * @response `200` OK
581
598
  */
582
- function createToken(username) {
599
+
600
+ }, {
601
+ key: "createToken",
602
+ value: function createToken(username) {
583
603
  return this.http.put("/accessToken/" + username, null).text();
584
604
  }
585
605
  /**
@@ -588,7 +608,6 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
588
608
  * @tags QueryTokenAccess
589
609
  * @name DisableToken
590
610
  * @operationId QueryTokenAccessController_DisableToken
591
- * @summary Disable token.
592
611
  * @request POST:/accessToken/{token}/disable
593
612
  * @response `200` OK
594
613
  */
@@ -604,7 +623,6 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
604
623
  * @tags QueryTokenAccess
605
624
  * @name EnableToken
606
625
  * @operationId QueryTokenAccessController_EnableToken
607
- * @summary Enable token.
608
626
  * @request POST:/accessToken/{token}/enable
609
627
  * @response `200` OK
610
628
  */
@@ -620,7 +638,6 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
620
638
  * @tags QueryTokenAccess
621
639
  * @name RevokeToken
622
640
  * @operationId QueryTokenAccessController_RevokeToken
623
- * @summary Revoke token.
624
641
  * @request DELETE:/accessToken/{token}
625
642
  * @response `200` OK
626
643
  */
@@ -705,67 +722,6 @@ let SpatialReferencesService = /*#__PURE__*/function (_Service) {
705
722
  return SpatialReferencesService;
706
723
  }(Service);
707
724
 
708
- const _excluded = ["taskId", "layerName"];
709
- /**
710
- * @title Spatial Processing Core API
711
- * @version 1.5.1.0
712
- * @baseUrl /sp
713
- */
714
-
715
- let UniversalSearchService = /*#__PURE__*/function (_Service) {
716
- _inherits(UniversalSearchService, _Service);
717
-
718
- var _super = /*#__PURE__*/_createSuper(UniversalSearchService);
719
-
720
- function UniversalSearchService() {
721
- _classCallCheck(this, UniversalSearchService);
722
-
723
- return _super.apply(this, arguments);
724
- }
725
-
726
- _createClass(UniversalSearchService, [{
727
- key: "searchResultDcGetSearchResult",
728
- value:
729
- /**
730
- * No description
731
- *
732
- * @tags UniversalSearch
733
- * @name SearchResultDcGetSearchResult
734
- * @operationId UniversalSearchController_SearchResultDcGetSearchResult
735
- * @summary Returns search result.
736
- * @request GET:/search/{taskId}/{layerName}
737
- * @response `200` OK
738
- */
739
- function searchResultDcGetSearchResult(_ref) {
740
- let {
741
- taskId,
742
- layerName
743
- } = _ref,
744
- query = _objectWithoutPropertiesLoose(_ref, _excluded);
745
-
746
- return this.http.get("/search/" + taskId + "/" + layerName, query).json();
747
- }
748
- /**
749
- * No description
750
- *
751
- * @tags UniversalSearch
752
- * @name GetSearchResult
753
- * @operationId UniversalSearchController_GetSearchResult
754
- * @summary Returns search result.
755
- * @request GET:/search/{taskId}
756
- * @response `200` OK
757
- */
758
-
759
- }, {
760
- key: "getSearchResult",
761
- value: function getSearchResult(taskId) {
762
- return this.http.get("/search/" + taskId).json();
763
- }
764
- }]);
765
-
766
- return UniversalSearchService;
767
- }(Service);
768
-
769
725
  /**
770
726
  * @title Spatial Processing Core API
771
727
  * @version 1.5.1.0
@@ -2254,8 +2210,21 @@ let EqlService = /*#__PURE__*/function (_Service) {
2254
2210
  }
2255
2211
 
2256
2212
  _createClass(EqlService, [{
2257
- key: "getQueryResult",
2213
+ key: "getFunctionsList",
2258
2214
  value:
2215
+ /**
2216
+ * No description
2217
+ *
2218
+ * @tags Eql
2219
+ * @name GetFunctionsList
2220
+ * @operationId EqlController_GetFunctionsList
2221
+ * @summary Returns list of available functions.
2222
+ * @request GET:/eql/functions
2223
+ * @response `200` OK
2224
+ */
2225
+ function getFunctionsList() {
2226
+ return this.http.get("/eql/functions").json();
2227
+ }
2259
2228
  /**
2260
2229
  * No description
2261
2230
  *
@@ -2266,7 +2235,10 @@ let EqlService = /*#__PURE__*/function (_Service) {
2266
2235
  * @request POST:/eql/query
2267
2236
  * @response `200` OK
2268
2237
  */
2269
- function getQueryResult(data) {
2238
+
2239
+ }, {
2240
+ key: "getQueryResult",
2241
+ value: function getQueryResult(data) {
2270
2242
  return this.http.post("/eql/query", data).json();
2271
2243
  }
2272
2244
  /**
@@ -2756,94 +2728,8 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
2756
2728
  return Feedback;
2757
2729
  }(FeedbackService);
2758
2730
 
2759
- /**
2760
- * @title Spatial Processing Core API
2761
- * @version 1.5.1.0
2762
- * @baseUrl /sp
2763
- */
2764
-
2765
- let StaticContentService = /*#__PURE__*/function (_Service) {
2766
- _inherits(StaticContentService, _Service);
2767
-
2768
- var _super = /*#__PURE__*/_createSuper(StaticContentService);
2769
-
2770
- function StaticContentService() {
2771
- _classCallCheck(this, StaticContentService);
2772
-
2773
- return _super.apply(this, arguments);
2774
- }
2775
-
2776
- _createClass(StaticContentService, [{
2777
- key: "downloadFile",
2778
- value:
2779
- /**
2780
- * No description
2781
- *
2782
- * @tags StaticContentService
2783
- * @name DownloadFile
2784
- * @operationId StaticContentServiceController_DownloadFile
2785
- * @summary Returns a file stream by fileId.
2786
- * @request GET:/upload/file
2787
- * @response `200` OK
2788
- */
2789
- function downloadFile(query) {
2790
- return this.http.get("/upload/file", query).blob();
2791
- }
2792
- /**
2793
- * No description
2794
- *
2795
- * @tags StaticContentService
2796
- * @name UploadFile
2797
- * @operationId StaticContentServiceController_UploadFile
2798
- * @summary Upload file to temporary session storage.
2799
- * @request POST:/upload/file
2800
- * @response `200` OK
2801
- */
2802
-
2803
- }, {
2804
- key: "uploadFile",
2805
- value: function uploadFile(data) {
2806
- return this.http.post("/upload/file", toFormData(data)).json();
2807
- }
2808
- /**
2809
- * No description
2810
- *
2811
- * @tags StaticContentService
2812
- * @name DeleteFile
2813
- * @operationId StaticContentServiceController_DeleteFile
2814
- * @summary Delete file from temporary session storage.
2815
- * @request DELETE:/upload/file
2816
- * @response `200` OK
2817
- */
2818
-
2819
- }, {
2820
- key: "deleteFile",
2821
- value: function deleteFile(query) {
2822
- return this.http.delete("/upload/file", null, query).then(() => {});
2823
- }
2824
- /**
2825
- * No description
2826
- *
2827
- * @tags StaticContentService
2828
- * @name GetFileInfo
2829
- * @operationId StaticContentServiceController_GetFileInfo
2830
- * @summary Returns a file info download by url.
2831
- * @request GET:/upload/fileInfo
2832
- * @response `200` OK
2833
- */
2834
-
2835
- }, {
2836
- key: "getFileInfo",
2837
- value: function getFileInfo(query) {
2838
- return this.http.get("/upload/fileInfo", query).json();
2839
- }
2840
- }]);
2841
-
2842
- return StaticContentService;
2843
- }(Service);
2844
-
2845
- let FileUpload = /*#__PURE__*/function (_StaticContentService) {
2846
- _inherits(FileUpload, _StaticContentService);
2731
+ let FileUpload = /*#__PURE__*/function (_CatalogService) {
2732
+ _inherits(FileUpload, _CatalogService);
2847
2733
 
2848
2734
  var _super = /*#__PURE__*/_createSuper(FileUpload);
2849
2735
 
@@ -2856,7 +2742,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
2856
2742
  _createClass(FileUpload, [{
2857
2743
  key: "upload",
2858
2744
  value: function upload(file, rewrite) {
2859
- return this.uploadFile({
2745
+ return this.createFile({
2860
2746
  file,
2861
2747
  rewrite: !!rewrite
2862
2748
  });
@@ -2864,7 +2750,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
2864
2750
  }]);
2865
2751
 
2866
2752
  return FileUpload;
2867
- }(StaticContentService);
2753
+ }(CatalogService);
2868
2754
 
2869
2755
  /**
2870
2756
  * @title Spatial Processing Core API
@@ -2983,22 +2869,6 @@ let GeneralService = /*#__PURE__*/function (_Service) {
2983
2869
  function getServerInfo() {
2984
2870
  return this.http.get("/").json();
2985
2871
  }
2986
- /**
2987
- * No description
2988
- *
2989
- * @tags General
2990
- * @name GetFunctionsList
2991
- * @operationId GeneralController_GetFunctionsList
2992
- * @summary Returns list of available functions.
2993
- * @request GET:/functions
2994
- * @response `200` OK
2995
- */
2996
-
2997
- }, {
2998
- key: "getFunctionsList",
2999
- value: function getFunctionsList() {
3000
- return this.http.get("/functions").json();
3001
- }
3002
2872
  }]);
3003
2873
 
3004
2874
  return GeneralService;
@@ -3409,7 +3279,7 @@ const _excluded$3 = ["name"],
3409
3279
  _excluded6$1 = ["name", "id"],
3410
3280
  _excluded7 = ["name", "x", "y", "z"],
3411
3281
  _excluded8 = ["name", "x", "y", "z", "format"],
3412
- _excluded9 = ["name"],
3282
+ _excluded9 = ["name", "x", "y", "z", "dpi", "format"],
3413
3283
  _excluded10 = ["name"],
3414
3284
  _excluded11 = ["name"],
3415
3285
  _excluded12 = ["name"],
@@ -3420,8 +3290,9 @@ const _excluded$3 = ["name"],
3420
3290
  _excluded17 = ["name"],
3421
3291
  _excluded18 = ["name"],
3422
3292
  _excluded19 = ["name"],
3423
- _excluded20 = ["layerName"],
3424
- _excluded21 = ["name", "id"];
3293
+ _excluded20 = ["name"],
3294
+ _excluded21 = ["layerName"],
3295
+ _excluded22 = ["name", "id"];
3425
3296
  /**
3426
3297
  * @title Spatial Processing Core API
3427
3298
  * @version 1.5.1.0
@@ -3487,22 +3358,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
3487
3358
  value: function getLayersList(query) {
3488
3359
  return this.http.get("/layers", query).json();
3489
3360
  }
3490
- /**
3491
- * No description
3492
- *
3493
- * @tags Layers
3494
- * @name SetPermissionsBatch
3495
- * @operationId LayersController_SetPermissionsBatch
3496
- * @summary Overrides multiply resources permissions in single batch.
3497
- * @request PUT:/layers
3498
- * @response `200` OK
3499
- */
3500
-
3501
- }, {
3502
- key: "setPermissionsBatch",
3503
- value: function setPermissionsBatch(data) {
3504
- return this.http.put("/layers", data).then(() => {});
3505
- }
3506
3361
  /**
3507
3362
  * No description
3508
3363
  *
@@ -3733,36 +3588,54 @@ let LayersService = /*#__PURE__*/function (_Service) {
3733
3588
  * No description
3734
3589
  *
3735
3590
  * @tags Layers
3736
- * @name PublishStyledLayerService
3737
- * @operationId LayersController_PublishStyledLayerService
3738
- * @summary Creates new Styled Layer Service.
3739
- * @request POST:/layers#type=StyledFeatureLayer
3591
+ * @name UpdateMapboxService
3592
+ * @operationId LayersController_UpdateMapboxService
3593
+ * @summary Update mapbox service.
3594
+ * @request PATCH:/layers/{name}#type=Mapbox
3595
+ * @response `default` Error
3596
+ */
3597
+
3598
+ }, {
3599
+ key: "updateMapboxService",
3600
+ value: function updateMapboxService(name, data) {
3601
+ return this.http.patch("/layers/" + name, data, {
3602
+ type: 'Mapbox'
3603
+ }).json();
3604
+ }
3605
+ /**
3606
+ * No description
3607
+ *
3608
+ * @tags Layers
3609
+ * @name PublishPythonService
3610
+ * @operationId LayersController_PublishPythonService
3611
+ * @summary Creates new python service.
3612
+ * @request POST:/layers#type=Python
3740
3613
  * @response `default` Error
3741
3614
  */
3742
3615
 
3743
3616
  }, {
3744
- key: "publishStyledLayerService",
3745
- value: function publishStyledLayerService(data) {
3617
+ key: "publishPythonService",
3618
+ value: function publishPythonService(data) {
3746
3619
  return this.http.post("/layers", data, {
3747
- type: 'StyledFeatureLayer'
3620
+ type: 'Python'
3748
3621
  }).json();
3749
3622
  }
3750
3623
  /**
3751
3624
  * No description
3752
3625
  *
3753
3626
  * @tags Layers
3754
- * @name UpdateMapboxService
3755
- * @operationId LayersController_UpdateMapboxService
3756
- * @summary Update mapbox service.
3757
- * @request PATCH:/layers/{name}#type=Mapbox
3627
+ * @name UpdatePythonService
3628
+ * @operationId LayersController_UpdatePythonService
3629
+ * @summary Update python service.
3630
+ * @request PATCH:/layers/{name}#type=Python
3758
3631
  * @response `default` Error
3759
3632
  */
3760
3633
 
3761
3634
  }, {
3762
- key: "updateMapboxService",
3763
- value: function updateMapboxService(name, data) {
3635
+ key: "updatePythonService",
3636
+ value: function updatePythonService(name, data) {
3764
3637
  return this.http.patch("/layers/" + name, data, {
3765
- type: 'Mapbox'
3638
+ type: 'Python'
3766
3639
  }).json();
3767
3640
  }
3768
3641
  /**
@@ -3801,24 +3674,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
3801
3674
  type: 'PostgresTileLayerService'
3802
3675
  }).json();
3803
3676
  }
3804
- /**
3805
- * No description
3806
- *
3807
- * @tags Layers
3808
- * @name PublishCompositeService
3809
- * @operationId LayersController_PublishCompositeService
3810
- * @summary Creates new Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
3811
- * @request POST:/layers#type=CompositeService
3812
- * @response `default` Error
3813
- */
3814
-
3815
- }, {
3816
- key: "publishCompositeService",
3817
- value: function publishCompositeService(data) {
3818
- return this.http.post("/layers", data, {
3819
- type: 'CompositeService'
3820
- }).json();
3821
- }
3822
3677
  /**
3823
3678
  * No description
3824
3679
  *
@@ -3891,24 +3746,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
3891
3746
  type: 'QueryLayerService'
3892
3747
  }).json();
3893
3748
  }
3894
- /**
3895
- * No description
3896
- *
3897
- * @tags Layers
3898
- * @name UpdateCompositeService
3899
- * @operationId LayersController_UpdateCompositeService
3900
- * @summary Update Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
3901
- * @request PATCH:/layers/{name}#type=CompositeService
3902
- * @response `default` Error
3903
- */
3904
-
3905
- }, {
3906
- key: "updateCompositeService",
3907
- value: function updateCompositeService(name, data) {
3908
- return this.http.patch("/layers/" + name, data, {
3909
- type: 'CompositeService'
3910
- }).json();
3911
- }
3912
3749
  /**
3913
3750
  * No description
3914
3751
  *
@@ -4130,16 +3967,16 @@ let LayersService = /*#__PURE__*/function (_Service) {
4130
3967
  * No description
4131
3968
  *
4132
3969
  * @tags Layers
4133
- * @name GetTilesLayerImageWithFormat
4134
- * @operationId LayersController_GetTilesLayerImageWithFormat
3970
+ * @name GetTilesLayerImage1
3971
+ * @operationId LayersController_GetTilesLayerImage_1
4135
3972
  * @summary Render tile with input indexes.
4136
3973
  * @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}
4137
3974
  * @response `200` OK
4138
3975
  */
4139
3976
 
4140
3977
  }, {
4141
- key: "getTilesLayerImageWithFormat",
4142
- value: function getTilesLayerImageWithFormat(_ref8) {
3978
+ key: "getTilesLayerImage1",
3979
+ value: function getTilesLayerImage1(_ref8) {
4143
3980
  let {
4144
3981
  name,
4145
3982
  x,
@@ -4151,6 +3988,32 @@ let LayersService = /*#__PURE__*/function (_Service) {
4151
3988
 
4152
3989
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format, query);
4153
3990
  }
3991
+ /**
3992
+ * No description
3993
+ *
3994
+ * @tags Layers
3995
+ * @name GetTilesLayerImageWithFormatAndDpi
3996
+ * @operationId LayersController_GetTilesLayerImageWithFormatAndDpi
3997
+ * @summary Render tile with input indexes.
3998
+ * @request GET:/layers/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
3999
+ * @response `200` OK
4000
+ */
4001
+
4002
+ }, {
4003
+ key: "getTilesLayerImageWithFormatAndDpi",
4004
+ value: function getTilesLayerImageWithFormatAndDpi(_ref9) {
4005
+ let {
4006
+ name,
4007
+ x,
4008
+ y,
4009
+ z,
4010
+ dpi,
4011
+ format
4012
+ } = _ref9,
4013
+ query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
4014
+
4015
+ return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format, query);
4016
+ }
4154
4017
  /**
4155
4018
  * No description
4156
4019
  *
@@ -4164,11 +4027,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4164
4027
 
4165
4028
  }, {
4166
4029
  key: "getLayerImage",
4167
- value: function getLayerImage(_ref9) {
4030
+ value: function getLayerImage(_ref10) {
4168
4031
  let {
4169
4032
  name
4170
- } = _ref9,
4171
- query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
4033
+ } = _ref10,
4034
+ query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
4172
4035
 
4173
4036
  return this.http.createUrl("/layers/" + name + "/export", query);
4174
4037
  }
@@ -4185,11 +4048,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4185
4048
 
4186
4049
  }, {
4187
4050
  key: "getLayerExtent",
4188
- value: function getLayerExtent(_ref10) {
4051
+ value: function getLayerExtent(_ref11) {
4189
4052
  let {
4190
4053
  name
4191
- } = _ref10,
4192
- query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
4054
+ } = _ref11,
4055
+ query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
4193
4056
 
4194
4057
  return this.http.get("/layers/" + name + "/extent", query).json();
4195
4058
  }
@@ -4206,11 +4069,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4206
4069
 
4207
4070
  }, {
4208
4071
  key: "getByGeometry",
4209
- value: function getByGeometry(_ref11) {
4072
+ value: function getByGeometry(_ref12) {
4210
4073
  let {
4211
4074
  name
4212
- } = _ref11,
4213
- query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
4075
+ } = _ref12,
4076
+ query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
4214
4077
 
4215
4078
  return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
4216
4079
  }
@@ -4227,11 +4090,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4227
4090
 
4228
4091
  }, {
4229
4092
  key: "getByGeometryPost",
4230
- value: function getByGeometryPost(_ref12, data) {
4093
+ value: function getByGeometryPost(_ref13, data) {
4231
4094
  let {
4232
4095
  name
4233
- } = _ref12,
4234
- query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
4096
+ } = _ref13,
4097
+ query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
4235
4098
 
4236
4099
  return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
4237
4100
  }
@@ -4248,11 +4111,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4248
4111
 
4249
4112
  }, {
4250
4113
  key: "deleteFeatures",
4251
- value: function deleteFeatures(_ref13) {
4114
+ value: function deleteFeatures(_ref14) {
4252
4115
  let {
4253
4116
  name
4254
- } = _ref13,
4255
- query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
4117
+ } = _ref14,
4118
+ query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
4256
4119
 
4257
4120
  return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
4258
4121
  }
@@ -4269,11 +4132,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4269
4132
 
4270
4133
  }, {
4271
4134
  key: "deleteByCondition",
4272
- value: function deleteByCondition(_ref14) {
4135
+ value: function deleteByCondition(_ref15) {
4273
4136
  let {
4274
4137
  name
4275
- } = _ref14,
4276
- query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
4138
+ } = _ref15,
4139
+ query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
4277
4140
 
4278
4141
  return this.http.delete("/layers/" + name + "/features/deleteByCondition", null, query).json();
4279
4142
  }
@@ -4290,11 +4153,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4290
4153
 
4291
4154
  }, {
4292
4155
  key: "getByGeometryGet",
4293
- value: function getByGeometryGet(_ref15) {
4156
+ value: function getByGeometryGet(_ref16) {
4294
4157
  let {
4295
4158
  name
4296
- } = _ref15,
4297
- query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
4159
+ } = _ref16,
4160
+ query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
4298
4161
 
4299
4162
  return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
4300
4163
  }
@@ -4311,11 +4174,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4311
4174
 
4312
4175
  }, {
4313
4176
  key: "classify",
4314
- value: function classify(_ref16) {
4177
+ value: function classify(_ref17) {
4315
4178
  let {
4316
4179
  name
4317
- } = _ref16,
4318
- query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
4180
+ } = _ref17,
4181
+ query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
4319
4182
 
4320
4183
  return this.http.get("/layers/" + name + "/classify", query).json();
4321
4184
  }
@@ -4332,11 +4195,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4332
4195
 
4333
4196
  }, {
4334
4197
  key: "distincts",
4335
- value: function distincts(_ref17) {
4198
+ value: function distincts(_ref18) {
4336
4199
  let {
4337
4200
  name
4338
- } = _ref17,
4339
- query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
4201
+ } = _ref18,
4202
+ query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
4340
4203
 
4341
4204
  return this.http.get("/layers/" + name + "/distincts", query).json();
4342
4205
  }
@@ -4353,11 +4216,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4353
4216
 
4354
4217
  }, {
4355
4218
  key: "aggregateAttribute",
4356
- value: function aggregateAttribute(_ref18) {
4219
+ value: function aggregateAttribute(_ref19) {
4357
4220
  let {
4358
4221
  name
4359
- } = _ref18,
4360
- query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
4222
+ } = _ref19,
4223
+ query = _objectWithoutPropertiesLoose(_ref19, _excluded19);
4361
4224
 
4362
4225
  return this.http.get("/layers/" + name + "/aggregate-values", query).json();
4363
4226
  }
@@ -4374,11 +4237,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4374
4237
 
4375
4238
  }, {
4376
4239
  key: "getFilteredFeaturesCount",
4377
- value: function getFilteredFeaturesCount(_ref19) {
4240
+ value: function getFilteredFeaturesCount(_ref20) {
4378
4241
  let {
4379
4242
  name
4380
- } = _ref19,
4381
- query = _objectWithoutPropertiesLoose(_ref19, _excluded19);
4243
+ } = _ref20,
4244
+ query = _objectWithoutPropertiesLoose(_ref20, _excluded20);
4382
4245
 
4383
4246
  return this.http.get("/layers/" + name + "/features/count", query).json();
4384
4247
  }
@@ -4444,11 +4307,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4444
4307
 
4445
4308
  }, {
4446
4309
  key: "validateExpression",
4447
- value: function validateExpression(_ref20) {
4310
+ value: function validateExpression(_ref21) {
4448
4311
  let {
4449
4312
  layerName
4450
- } = _ref20,
4451
- query = _objectWithoutPropertiesLoose(_ref20, _excluded20);
4313
+ } = _ref21,
4314
+ query = _objectWithoutPropertiesLoose(_ref21, _excluded21);
4452
4315
 
4453
4316
  return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
4454
4317
  }
@@ -4465,12 +4328,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
4465
4328
 
4466
4329
  }, {
4467
4330
  key: "getRasterMeta",
4468
- value: function getRasterMeta(_ref21) {
4331
+ value: function getRasterMeta(_ref22) {
4469
4332
  let {
4470
4333
  name,
4471
4334
  id
4472
- } = _ref21,
4473
- query = _objectWithoutPropertiesLoose(_ref21, _excluded21);
4335
+ } = _ref22,
4336
+ query = _objectWithoutPropertiesLoose(_ref22, _excluded22);
4474
4337
 
4475
4338
  return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
4476
4339
  }
@@ -4554,54 +4417,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
4554
4417
  value: function getDataLayout(name) {
4555
4418
  return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
4556
4419
  }
4557
- /**
4558
- * No description
4559
- *
4560
- * @tags Layers
4561
- * @name GetPreview
4562
- * @operationId LayersController_GetPreview
4563
- * @summary Gets preview of resource.
4564
- * @request GET:/layers/{name}/preview
4565
- * @response `200` OK
4566
- */
4567
-
4568
- }, {
4569
- key: "getPreview",
4570
- value: function getPreview(name) {
4571
- return this.http.createUrl("/layers/" + name + "/preview");
4572
- }
4573
- /**
4574
- * No description
4575
- *
4576
- * @tags Layers
4577
- * @name SetPreview
4578
- * @operationId LayersController_SetPreview
4579
- * @summary Sets preview to the resource.
4580
- * @request POST:/layers/{name}/preview
4581
- * @response `200` OK
4582
- */
4583
-
4584
- }, {
4585
- key: "setPreview",
4586
- value: function setPreview(name, data) {
4587
- return this.http.post("/layers/" + name + "/preview", toFormData(data)).json();
4588
- }
4589
- /**
4590
- * No description
4591
- *
4592
- * @tags Layers
4593
- * @name DeletePreview
4594
- * @operationId LayersController_DeletePreview
4595
- * @summary Delete resource preview.
4596
- * @request DELETE:/layers/{name}/preview
4597
- * @response `200` OK
4598
- */
4599
-
4600
- }, {
4601
- key: "deletePreview",
4602
- value: function deletePreview(name) {
4603
- return this.http.delete("/layers/" + name + "/preview", null).then(() => {});
4604
- }
4605
4420
  /**
4606
4421
  * No description
4607
4422
  *
@@ -4650,70 +4465,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
4650
4465
  value: function getResourceReferences(name) {
4651
4466
  return this.http.get("/layers/" + name + "/references").json();
4652
4467
  }
4653
- /**
4654
- * No description
4655
- *
4656
- * @tags Layers
4657
- * @name GetPermissions
4658
- * @operationId LayersController_GetPermissions
4659
- * @summary Returns resource permissions.
4660
- * @request GET:/layers/{name}/permissions
4661
- * @response `200` OK
4662
- */
4663
-
4664
- }, {
4665
- key: "getPermissions",
4666
- value: function getPermissions(name) {
4667
- return this.http.get("/layers/" + name + "/permissions").json();
4668
- }
4669
- /**
4670
- * No description
4671
- *
4672
- * @tags Layers
4673
- * @name AddPermissions
4674
- * @operationId LayersController_AddPermissions
4675
- * @summary Adds permissions for the layer, combining existing permissions with the given one.
4676
- * @request POST:/layers/{name}/permissions
4677
- * @response `200` OK
4678
- */
4679
-
4680
- }, {
4681
- key: "addPermissions",
4682
- value: function addPermissions(name, data) {
4683
- return this.http.post("/layers/" + name + "/permissions", data).json();
4684
- }
4685
- /**
4686
- * No description
4687
- *
4688
- * @tags Layers
4689
- * @name SetPermissions
4690
- * @operationId LayersController_SetPermissions
4691
- * @summary Replaces existing access control list for the layer with the given one.
4692
- * @request PUT:/layers/{name}/permissions
4693
- * @response `200` OK
4694
- */
4695
-
4696
- }, {
4697
- key: "setPermissions",
4698
- value: function setPermissions(name, data) {
4699
- return this.http.put("/layers/" + name + "/permissions", data).json();
4700
- }
4701
- /**
4702
- * No description
4703
- *
4704
- * @tags Layers
4705
- * @name RemovePermissions
4706
- * @operationId LayersController_RemovePermissions
4707
- * @summary Removes permissions for the layer for the given role.
4708
- * @request DELETE:/layers/{name}/permissions/{role}
4709
- * @response `200` OK
4710
- */
4711
-
4712
- }, {
4713
- key: "removePermissions",
4714
- value: function removePermissions(name, role) {
4715
- return this.http.delete("/layers/" + name + "/permissions/" + role, null).json();
4716
- }
4717
4468
  }]);
4718
4469
 
4719
4470
  return LayersService;
@@ -4762,11 +4513,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4762
4513
  types: ['LocalTileService', 'RemoteTileService']
4763
4514
  }));
4764
4515
  }
4765
- }, {
4766
- key: "createSubLayer",
4767
- value: function createSubLayer(configuration) {
4768
- return this.publishStyledLayerService(configuration);
4769
- }
4770
4516
  }, {
4771
4517
  key: "createTileLayer",
4772
4518
  value: function createTileLayer(_ref) {
@@ -4795,13 +4541,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4795
4541
 
4796
4542
  return this.updateLocalTileService(configuration.name, configuration);
4797
4543
  }
4798
- }, {
4799
- key: "uploadPreview",
4800
- value: function uploadPreview(name, file) {
4801
- return this.setPreview(name, {
4802
- file
4803
- });
4804
- }
4805
4544
  }, {
4806
4545
  key: "findOne",
4807
4546
  value: function findOne(name) {
@@ -5048,106 +4787,6 @@ let Names = /*#__PURE__*/function () {
5048
4787
  return Names;
5049
4788
  }();
5050
4789
 
5051
- /**
5052
- * @title Spatial Processing Core API
5053
- * @version 1.5.1.0
5054
- * @baseUrl /sp
5055
- */
5056
-
5057
- let NamespaceService = /*#__PURE__*/function (_Service) {
5058
- _inherits(NamespaceService, _Service);
5059
-
5060
- var _super = /*#__PURE__*/_createSuper(NamespaceService);
5061
-
5062
- function NamespaceService() {
5063
- _classCallCheck(this, NamespaceService);
5064
-
5065
- return _super.apply(this, arguments);
5066
- }
5067
-
5068
- _createClass(NamespaceService, [{
5069
- key: "getNamespaces",
5070
- value:
5071
- /**
5072
- * No description
5073
- *
5074
- * @tags Namespace
5075
- * @name GetNamespaces
5076
- * @operationId NamespaceController_GetNamespacesAsync
5077
- * @summary Returns the list of existing namespaces, that correspond to the given conditions.
5078
- * @request GET:/namespaces
5079
- * @response `200` OK
5080
- */
5081
- function getNamespaces(query) {
5082
- return this.http.get("/namespaces", query).json();
5083
- }
5084
- /**
5085
- * No description
5086
- *
5087
- * @tags Namespace
5088
- * @name CreateNamespace
5089
- * @operationId NamespaceController_CreateNamespace
5090
- * @summary Creates a new namespace.
5091
- * @request POST:/namespaces
5092
- * @response `200` OK
5093
- */
5094
-
5095
- }, {
5096
- key: "createNamespace",
5097
- value: function createNamespace(query) {
5098
- return this.http.post("/namespaces", null, query).json();
5099
- }
5100
- /**
5101
- * No description
5102
- *
5103
- * @tags Namespace
5104
- * @name GetNamespace
5105
- * @operationId NamespaceController_GetNamespaceAsync
5106
- * @summary Get namespace information.
5107
- * @request GET:/namespaces/{namespace}
5108
- * @response `200` OK
5109
- */
5110
-
5111
- }, {
5112
- key: "getNamespace",
5113
- value: function getNamespace(namespace) {
5114
- return this.http.get("/namespaces/" + namespace).json();
5115
- }
5116
- /**
5117
- * No description
5118
- *
5119
- * @tags Namespace
5120
- * @name RemoveNamespace
5121
- * @operationId NamespaceController_RemoveNamespaceAsync
5122
- * @summary Remove namespace.
5123
- * @request DELETE:/namespaces/{namespace}
5124
- * @response `200` OK
5125
- */
5126
-
5127
- }, {
5128
- key: "removeNamespace",
5129
- value: function removeNamespace(namespace) {
5130
- return this.http.delete("/namespaces/" + namespace, null).then(() => {});
5131
- }
5132
- }]);
5133
-
5134
- return NamespaceService;
5135
- }(Service);
5136
-
5137
- let Namespace = /*#__PURE__*/function (_NamespaceService) {
5138
- _inherits(Namespace, _NamespaceService);
5139
-
5140
- var _super = /*#__PURE__*/_createSuper(Namespace);
5141
-
5142
- function Namespace() {
5143
- _classCallCheck(this, Namespace);
5144
-
5145
- return _super.apply(this, arguments);
5146
- }
5147
-
5148
- return _createClass(Namespace);
5149
- }(NamespaceService);
5150
-
5151
4790
  /**
5152
4791
  * @title Spatial Processing Core API
5153
4792
  * @version 1.5.1.0
@@ -5638,22 +5277,6 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
5638
5277
  value: function createProject(data) {
5639
5278
  return this.http.post("/projects", data).json();
5640
5279
  }
5641
- /**
5642
- * No description
5643
- *
5644
- * @tags Projects
5645
- * @name SetPermissionsBatch
5646
- * @operationId ProjectsController_SetPermissionsBatch
5647
- * @summary Overrides multiply resources permissions in single batch.
5648
- * @request PUT:/projects
5649
- * @response `200` OK
5650
- */
5651
-
5652
- }, {
5653
- key: "setPermissionsBatch",
5654
- value: function setPermissionsBatch(data) {
5655
- return this.http.put("/projects", data).then(() => {});
5656
- }
5657
5280
  /**
5658
5281
  * No description
5659
5282
  *
@@ -5807,49 +5430,17 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
5807
5430
  * No description
5808
5431
  *
5809
5432
  * @tags Projects
5810
- * @name GetPreview
5811
- * @operationId ProjectsController_GetPreview
5812
- * @summary Gets preview of resource.
5813
- * @request GET:/projects/{name}/preview
5814
- * @response `200` OK
5815
- */
5816
-
5817
- }, {
5818
- key: "getPreview",
5819
- value: function getPreview(name) {
5820
- return this.http.createUrl("/projects/" + name + "/preview");
5821
- }
5822
- /**
5823
- * No description
5824
- *
5825
- * @tags Projects
5826
- * @name SetPreview
5827
- * @operationId ProjectsController_SetPreview
5828
- * @summary Sets preview to the resource.
5829
- * @request POST:/projects/{name}/preview
5830
- * @response `200` OK
5831
- */
5832
-
5833
- }, {
5834
- key: "setPreview",
5835
- value: function setPreview(name, data) {
5836
- return this.http.post("/projects/" + name + "/preview", toFormData(data)).json();
5837
- }
5838
- /**
5839
- * No description
5840
- *
5841
- * @tags Projects
5842
- * @name DeletePreview
5843
- * @operationId ProjectsController_DeletePreview
5844
- * @summary Delete resource preview.
5845
- * @request DELETE:/projects/{name}/preview
5433
+ * @name GetTilesLayerImageWithFormatAndDpi
5434
+ * @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi
5435
+ * @summary Render tile.
5436
+ * @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
5846
5437
  * @response `200` OK
5847
5438
  */
5848
5439
 
5849
5440
  }, {
5850
- key: "deletePreview",
5851
- value: function deletePreview(name) {
5852
- return this.http.delete("/projects/" + name + "/preview", null).then(() => {});
5441
+ key: "getTilesLayerImageWithFormatAndDpi",
5442
+ value: function getTilesLayerImageWithFormatAndDpi(name, x, y, z, dpi, format) {
5443
+ return this.http.createUrl("/projects/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format);
5853
5444
  }
5854
5445
  /**
5855
5446
  * No description
@@ -5899,70 +5490,6 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
5899
5490
  value: function getResourceReferences(name) {
5900
5491
  return this.http.get("/projects/" + name + "/references").json();
5901
5492
  }
5902
- /**
5903
- * No description
5904
- *
5905
- * @tags Projects
5906
- * @name GetPermissions
5907
- * @operationId ProjectsController_GetPermissions
5908
- * @summary Returns resource permissions.
5909
- * @request GET:/projects/{name}/permissions
5910
- * @response `200` OK
5911
- */
5912
-
5913
- }, {
5914
- key: "getPermissions",
5915
- value: function getPermissions(name) {
5916
- return this.http.get("/projects/" + name + "/permissions").json();
5917
- }
5918
- /**
5919
- * No description
5920
- *
5921
- * @tags Projects
5922
- * @name AddPermissions
5923
- * @operationId ProjectsController_AddPermissions
5924
- * @summary Adds permissions for the layer, combining existing permissions with the given one.
5925
- * @request POST:/projects/{name}/permissions
5926
- * @response `200` OK
5927
- */
5928
-
5929
- }, {
5930
- key: "addPermissions",
5931
- value: function addPermissions(name, data) {
5932
- return this.http.post("/projects/" + name + "/permissions", data).json();
5933
- }
5934
- /**
5935
- * No description
5936
- *
5937
- * @tags Projects
5938
- * @name SetPermissions
5939
- * @operationId ProjectsController_SetPermissions
5940
- * @summary Replaces existing access control list for the layer with the given one.
5941
- * @request PUT:/projects/{name}/permissions
5942
- * @response `200` OK
5943
- */
5944
-
5945
- }, {
5946
- key: "setPermissions",
5947
- value: function setPermissions(name, data) {
5948
- return this.http.put("/projects/" + name + "/permissions", data).json();
5949
- }
5950
- /**
5951
- * No description
5952
- *
5953
- * @tags Projects
5954
- * @name RemovePermissions
5955
- * @operationId ProjectsController_RemovePermissions
5956
- * @summary Removes permissions for the layer for the given role.
5957
- * @request DELETE:/projects/{name}/permissions/{role}
5958
- * @response `200` OK
5959
- */
5960
-
5961
- }, {
5962
- key: "removePermissions",
5963
- value: function removePermissions(name, role) {
5964
- return this.http.delete("/projects/" + name + "/permissions/" + role, null).json();
5965
- }
5966
5493
  }]);
5967
5494
 
5968
5495
  return ProjectsService;
@@ -5989,13 +5516,6 @@ let Projects = /*#__PURE__*/function (_ProjectsService) {
5989
5516
  value: function getProjectsDeps(proejcts) {
5990
5517
  return promiseAllIgnoreErrors(proejcts.map(project => this.getResourceDependencies(project)));
5991
5518
  }
5992
- }, {
5993
- key: "uploadPreview",
5994
- value: function uploadPreview(name, file) {
5995
- return this.setPreview(name, {
5996
- file
5997
- });
5998
- }
5999
5519
  }, {
6000
5520
  key: "findOne",
6001
5521
  value: function findOne(name) {
@@ -6030,7 +5550,8 @@ function isProjectContentItems(v) {
6030
5550
  return v !== null && v !== undefined;
6031
5551
  }
6032
5552
 
6033
- const _excluded$6 = ["id"];
5553
+ const _excluded$6 = ["id"],
5554
+ _excluded2$4 = ["id"];
6034
5555
  /**
6035
5556
  * @title Spatial Processing Core API
6036
5557
  * @version 1.5.1.0
@@ -6409,6 +5930,79 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
6409
5930
  value: function startTask1(id) {
6410
5931
  return this.http.post("/scheduler/" + id + "/start", null).then(() => {});
6411
5932
  }
5933
+ /**
5934
+ * No description
5935
+ *
5936
+ * @tags RemoteTaskManager
5937
+ * @name GetTaskResource
5938
+ * @operationId RemoteTaskManagerController_GetTaskResource
5939
+ * @summary Shows SubTask in Task.
5940
+ * @request GET:/scheduler/taskresource/{id}
5941
+ * @response `200` OK
5942
+ */
5943
+
5944
+ }, {
5945
+ key: "getTaskResource",
5946
+ value: function getTaskResource(_ref2) {
5947
+ let {
5948
+ id
5949
+ } = _ref2,
5950
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5951
+
5952
+ return this.http.get("/scheduler/taskresource/" + id, query).json();
5953
+ }
5954
+ /**
5955
+ * No description
5956
+ *
5957
+ * @tags RemoteTaskManager
5958
+ * @name CreateTaskResource
5959
+ * @operationId RemoteTaskManagerController_CreateTaskResource
5960
+ * @summary Create task resource.
5961
+ * @request POST:/scheduler/taskresource
5962
+ * @response `200` OK
5963
+ */
5964
+
5965
+ }, {
5966
+ key: "createTaskResource",
5967
+ value: function createTaskResource(data) {
5968
+ return this.http.post("/scheduler/taskresource", data).text();
5969
+ }
5970
+ /**
5971
+ * No description
5972
+ *
5973
+ * @tags RemoteTaskManager
5974
+ * @name UpdatePythonTaskResource
5975
+ * @operationId RemoteTaskManagerController_UpdatePythonTaskResource
5976
+ * @summary Update python task resource.
5977
+ * @request PATCH:/scheduler/taskresource/{id}#type=PythonTask
5978
+ * @response `200` OK
5979
+ */
5980
+
5981
+ }, {
5982
+ key: "updatePythonTaskResource",
5983
+ value: function updatePythonTaskResource(id, data) {
5984
+ return this.http.patch("/scheduler/taskresource/" + id, data, {
5985
+ type: 'PythonTask'
5986
+ }).then(() => {});
5987
+ }
5988
+ /**
5989
+ * No description
5990
+ *
5991
+ * @tags RemoteTaskManager
5992
+ * @name UpdateSpTaskResource
5993
+ * @operationId RemoteTaskManagerController_UpdateSpTaskResource
5994
+ * @summary Update sp task resource.
5995
+ * @request PATCH:/scheduler/taskresource/{id}#type=SpTask
5996
+ * @response `200` OK
5997
+ */
5998
+
5999
+ }, {
6000
+ key: "updateSpTaskResource",
6001
+ value: function updateSpTaskResource(id, data) {
6002
+ return this.http.patch("/scheduler/taskresource/" + id, data, {
6003
+ type: 'SpTask'
6004
+ }).then(() => {});
6005
+ }
6412
6006
  /**
6413
6007
  * No description
6414
6008
  *
@@ -6441,6 +6035,22 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
6441
6035
  value: function post(data) {
6442
6036
  return this.http.post("/scheduler/worker", data).json();
6443
6037
  }
6038
+ /**
6039
+ * No description
6040
+ *
6041
+ * @tags RemoteTaskManager
6042
+ * @name GetWorker
6043
+ * @operationId RemoteTaskManagerController_GetWorker
6044
+ * @summary Get worker info by type.
6045
+ * @request GET:/scheduler/worker/{type}
6046
+ * @response `200` OK
6047
+ */
6048
+
6049
+ }, {
6050
+ key: "getWorker",
6051
+ value: function getWorker(type) {
6052
+ return this.http.get("/scheduler/worker/" + type).json();
6053
+ }
6444
6054
  }]);
6445
6055
 
6446
6056
  return RemoteTaskManagerService;
@@ -7113,7 +6723,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
7113
6723
  }(StyleService);
7114
6724
 
7115
6725
  const _excluded$7 = ["name"],
7116
- _excluded2$4 = ["name"],
6726
+ _excluded2$5 = ["name"],
7117
6727
  _excluded3$3 = ["name"],
7118
6728
  _excluded4$2 = ["name"];
7119
6729
  /**
@@ -7165,22 +6775,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
7165
6775
  value: function createTable(data) {
7166
6776
  return this.http.post("/tables", data).json();
7167
6777
  }
7168
- /**
7169
- * No description
7170
- *
7171
- * @tags Tables
7172
- * @name SetPermissionsBatch
7173
- * @operationId TablesController_SetPermissionsBatch
7174
- * @summary Overrides multiply resources permissions in single batch.
7175
- * @request PUT:/tables
7176
- * @response `200` OK
7177
- */
7178
-
7179
- }, {
7180
- key: "setPermissionsBatch",
7181
- value: function setPermissionsBatch(data) {
7182
- return this.http.put("/tables", data).then(() => {});
7183
- }
7184
6778
  /**
7185
6779
  * No description
7186
6780
  *
@@ -7331,7 +6925,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
7331
6925
  let {
7332
6926
  name
7333
6927
  } = _ref2,
7334
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
6928
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
7335
6929
 
7336
6930
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
7337
6931
  }
@@ -7441,54 +7035,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
7441
7035
  value: function createViewFromQuery(data) {
7442
7036
  return this.http.post("/tables/fromQuery", data).json();
7443
7037
  }
7444
- /**
7445
- * No description
7446
- *
7447
- * @tags Tables
7448
- * @name GetPreview
7449
- * @operationId TablesController_GetPreview
7450
- * @summary Gets preview of resource.
7451
- * @request GET:/tables/{name}/preview
7452
- * @response `200` OK
7453
- */
7454
-
7455
- }, {
7456
- key: "getPreview",
7457
- value: function getPreview(name) {
7458
- return this.http.createUrl("/tables/" + name + "/preview");
7459
- }
7460
- /**
7461
- * No description
7462
- *
7463
- * @tags Tables
7464
- * @name SetPreview
7465
- * @operationId TablesController_SetPreview
7466
- * @summary Sets preview to the resource.
7467
- * @request POST:/tables/{name}/preview
7468
- * @response `200` OK
7469
- */
7470
-
7471
- }, {
7472
- key: "setPreview",
7473
- value: function setPreview(name, data) {
7474
- return this.http.post("/tables/" + name + "/preview", toFormData(data)).json();
7475
- }
7476
- /**
7477
- * No description
7478
- *
7479
- * @tags Tables
7480
- * @name DeletePreview
7481
- * @operationId TablesController_DeletePreview
7482
- * @summary Delete resource preview.
7483
- * @request DELETE:/tables/{name}/preview
7484
- * @response `200` OK
7485
- */
7486
-
7487
- }, {
7488
- key: "deletePreview",
7489
- value: function deletePreview(name) {
7490
- return this.http.delete("/tables/" + name + "/preview", null).then(() => {});
7491
- }
7492
7038
  /**
7493
7039
  * No description
7494
7040
  *
@@ -7537,70 +7083,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
7537
7083
  value: function getResourceReferences(name) {
7538
7084
  return this.http.get("/tables/" + name + "/references").json();
7539
7085
  }
7540
- /**
7541
- * No description
7542
- *
7543
- * @tags Tables
7544
- * @name GetPermissions
7545
- * @operationId TablesController_GetPermissions
7546
- * @summary Returns resource permissions.
7547
- * @request GET:/tables/{name}/permissions
7548
- * @response `200` OK
7549
- */
7550
-
7551
- }, {
7552
- key: "getPermissions",
7553
- value: function getPermissions(name) {
7554
- return this.http.get("/tables/" + name + "/permissions").json();
7555
- }
7556
- /**
7557
- * No description
7558
- *
7559
- * @tags Tables
7560
- * @name AddPermissions
7561
- * @operationId TablesController_AddPermissions
7562
- * @summary Adds permissions for the layer, combining existing permissions with the given one.
7563
- * @request POST:/tables/{name}/permissions
7564
- * @response `200` OK
7565
- */
7566
-
7567
- }, {
7568
- key: "addPermissions",
7569
- value: function addPermissions(name, data) {
7570
- return this.http.post("/tables/" + name + "/permissions", data).json();
7571
- }
7572
- /**
7573
- * No description
7574
- *
7575
- * @tags Tables
7576
- * @name SetPermissions
7577
- * @operationId TablesController_SetPermissions
7578
- * @summary Replaces existing access control list for the layer with the given one.
7579
- * @request PUT:/tables/{name}/permissions
7580
- * @response `200` OK
7581
- */
7582
-
7583
- }, {
7584
- key: "setPermissions",
7585
- value: function setPermissions(name, data) {
7586
- return this.http.put("/tables/" + name + "/permissions", data).json();
7587
- }
7588
- /**
7589
- * No description
7590
- *
7591
- * @tags Tables
7592
- * @name RemovePermissions
7593
- * @operationId TablesController_RemovePermissions
7594
- * @summary Removes permissions for the layer for the given role.
7595
- * @request DELETE:/tables/{name}/permissions/{role}
7596
- * @response `200` OK
7597
- */
7598
-
7599
- }, {
7600
- key: "removePermissions",
7601
- value: function removePermissions(name, role) {
7602
- return this.http.delete("/tables/" + name + "/permissions/" + role, null).json();
7603
- }
7604
7086
  }]);
7605
7087
 
7606
7088
  return TablesService;
@@ -7622,13 +7104,6 @@ let Tables = /*#__PURE__*/function (_TablesService) {
7622
7104
  value: function getTableInfos(tables) {
7623
7105
  return promiseAllIgnoreErrors(tables.map(table => this.getTableInfo(table)));
7624
7106
  }
7625
- }, {
7626
- key: "uploadPreview",
7627
- value: function uploadPreview(name, file) {
7628
- return this.setPreview(name, {
7629
- file
7630
- });
7631
- }
7632
7107
  }, {
7633
7108
  key: "findOne",
7634
7109
  value: function findOne(name) {
@@ -7891,7 +7366,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7891
7366
  _this.tools = new Tools(_this.http);
7892
7367
  _this.resourceCatalog = new ResourceCatalog(_this.http);
7893
7368
  _this.general = new General(_this.http);
7894
- _this.namespace = new Namespace(_this.http);
7895
7369
  _this.external = new External(_this.http);
7896
7370
  _this.clientSettings = new ClientSettings(_this.http);
7897
7371
  _this.portalSettings = new PortalSettings(_this.http);
@@ -7899,7 +7373,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7899
7373
  _this.statistic = new Statistic(_this.http);
7900
7374
  _this.feedback = new Feedback(_this.http);
7901
7375
  _this.vectorTiles = new VectorTiles(_this.http);
7902
- _this.universalSearch = new UniversalSearchService(_this.http);
7903
7376
  _this.spatialReference = new SpatialReferencesService(_this.http);
7904
7377
  _this.eql = new Eql(_this.http);
7905
7378
  _this.catalog = new CatalogService(_this.http);
@@ -8197,9 +7670,7 @@ var AttributeType;
8197
7670
  AttributeType["Json"] = "Json";
8198
7671
  })(AttributeType || (AttributeType = {}));
8199
7672
  /**
8200
- * An authorization grant is a credential representing the resource
8201
- owner's authorization (to access its protected resources) used by the
8202
- client to obtain an access token.
7673
+ *
8203
7674
 
8204
7675
  authorization_code
8205
7676
 
@@ -8893,7 +8364,7 @@ var ResourceTypeLink;
8893
8364
  ResourceTypeLink["Project"] = "projects";
8894
8365
  })(ResourceTypeLink || (ResourceTypeLink = {}));
8895
8366
  /**
8896
- * Response type.
8367
+ *
8897
8368
 
8898
8369
  code
8899
8370
 
@@ -8947,6 +8418,21 @@ var StringSubType;
8947
8418
  StringSubType["Attachments"] = "Attachments";
8948
8419
  })(StringSubType || (StringSubType = {}));
8949
8420
  /**
8421
+ * TaskPrototypeSubType.
8422
+
8423
+ SpTask
8424
+
8425
+ PythonTask
8426
+ */
8427
+
8428
+
8429
+ var TaskResourceSubType;
8430
+
8431
+ (function (TaskResourceSubType) {
8432
+ TaskResourceSubType["SpTask"] = "SpTask";
8433
+ TaskResourceSubType["PythonTask"] = "PythonTask";
8434
+ })(TaskResourceSubType || (TaskResourceSubType = {}));
8435
+ /**
8950
8436
  * Sets the horizontal alignment of text.
8951
8437
 
8952
8438
  right
@@ -9061,5 +8547,5 @@ var WorkerSettingsFieldType;
9061
8547
  WorkerSettingsFieldType["Expressions"] = "Expressions";
9062
8548
  })(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
9063
8549
 
9064
- export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, RemoteTaskManager, ResourceCatalog, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
8550
+ export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LineCapStyle, LineEndingType, LineJoinType, Names, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, RemoteTaskManager, ResourceCatalog, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Styles, Tables, TaskResourceSubType, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
9065
8551
  //# sourceMappingURL=api.esm.js.map