@evergis/api 4.0.5 → 4.0.7

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.
@@ -3277,13 +3277,13 @@ let Import = /*#__PURE__*/function (_ImportService) {
3277
3277
 
3278
3278
  const _excluded$3 = ["name"],
3279
3279
  _excluded2$2 = ["name"],
3280
- _excluded3$2 = ["name"],
3280
+ _excluded3$2 = ["name", "id"],
3281
3281
  _excluded4$1 = ["name", "id"],
3282
3282
  _excluded5$1 = ["name", "id"],
3283
- _excluded6$1 = ["name", "id"],
3284
- _excluded7 = ["name", "x", "y", "z"],
3285
- _excluded8 = ["name", "x", "y", "z", "format"],
3286
- _excluded9 = ["name", "x", "y", "z", "dpi", "format"],
3283
+ _excluded6$1 = ["name", "x", "y", "z"],
3284
+ _excluded7 = ["name", "x", "y", "z", "format"],
3285
+ _excluded8 = ["name", "x", "y", "z", "dpi", "format"],
3286
+ _excluded9 = ["name"],
3287
3287
  _excluded10 = ["name"],
3288
3288
  _excluded11 = ["name"],
3289
3289
  _excluded12 = ["name"],
@@ -3291,12 +3291,8 @@ const _excluded$3 = ["name"],
3291
3291
  _excluded14 = ["name"],
3292
3292
  _excluded15 = ["name"],
3293
3293
  _excluded16 = ["name"],
3294
- _excluded17 = ["name"],
3295
- _excluded18 = ["name"],
3296
- _excluded19 = ["name"],
3297
- _excluded20 = ["name"],
3298
- _excluded21 = ["layerName"],
3299
- _excluded22 = ["name", "id"];
3294
+ _excluded17 = ["layerName"],
3295
+ _excluded18 = ["name", "id"];
3300
3296
  /**
3301
3297
  * @title Spatial Processing Core API
3302
3298
  * @version 1.5.1.0
@@ -3516,42 +3512,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
3516
3512
  type: 'RemoteTileService'
3517
3513
  }).json();
3518
3514
  }
3519
- /**
3520
- * No description
3521
- *
3522
- * @tags Layers
3523
- * @name PublishLocalTileService
3524
- * @operationId LayersController_PublishLocalTileService
3525
- * @summary Creates new Local Tile Service.
3526
- * @request POST:/layers#type=LocalTileService
3527
- * @response `default` Error
3528
- */
3529
-
3530
- }, {
3531
- key: "publishLocalTileService",
3532
- value: function publishLocalTileService(data) {
3533
- return this.http.post("/layers", data, {
3534
- type: 'LocalTileService'
3535
- }).json();
3536
- }
3537
- /**
3538
- * No description
3539
- *
3540
- * @tags Layers
3541
- * @name PublishPostgresLayerService
3542
- * @operationId LayersController_PublishPostgresLayerService
3543
- * @summary Creates new Postgres Layer Service.
3544
- * @request POST:/layers#type=PostgresLayerService
3545
- * @response `default` Error
3546
- */
3547
-
3548
- }, {
3549
- key: "publishPostgresLayerService",
3550
- value: function publishPostgresLayerService(data) {
3551
- return this.http.post("/layers", data, {
3552
- type: 'PostgresLayerService'
3553
- }).json();
3554
- }
3555
3515
  /**
3556
3516
  * No description
3557
3517
  *
@@ -3592,36 +3552,36 @@ let LayersService = /*#__PURE__*/function (_Service) {
3592
3552
  * No description
3593
3553
  *
3594
3554
  * @tags Layers
3595
- * @name UpdateMapboxService
3596
- * @operationId LayersController_UpdateMapboxService
3597
- * @summary Update mapbox service.
3598
- * @request PATCH:/layers/{name}#type=Mapbox
3555
+ * @name PublishPythonService
3556
+ * @operationId LayersController_PublishPythonService
3557
+ * @summary Creates new python service.
3558
+ * @request POST:/layers#type=Python
3599
3559
  * @response `default` Error
3600
3560
  */
3601
3561
 
3602
3562
  }, {
3603
- key: "updateMapboxService",
3604
- value: function updateMapboxService(name, data) {
3605
- return this.http.patch("/layers/" + name, data, {
3606
- type: 'Mapbox'
3563
+ key: "publishPythonService",
3564
+ value: function publishPythonService(data) {
3565
+ return this.http.post("/layers", data, {
3566
+ type: 'Python'
3607
3567
  }).json();
3608
3568
  }
3609
3569
  /**
3610
3570
  * No description
3611
3571
  *
3612
3572
  * @tags Layers
3613
- * @name PublishPythonService
3614
- * @operationId LayersController_PublishPythonService
3615
- * @summary Creates new python service.
3616
- * @request POST:/layers#type=Python
3573
+ * @name UpdateMapboxService
3574
+ * @operationId LayersController_UpdateMapboxService
3575
+ * @summary Update mapbox service.
3576
+ * @request PATCH:/layers/{name}#type=Mapbox
3617
3577
  * @response `default` Error
3618
3578
  */
3619
3579
 
3620
3580
  }, {
3621
- key: "publishPythonService",
3622
- value: function publishPythonService(data) {
3623
- return this.http.post("/layers", data, {
3624
- type: 'Python'
3581
+ key: "updateMapboxService",
3582
+ value: function updateMapboxService(name, data) {
3583
+ return this.http.patch("/layers/" + name, data, {
3584
+ type: 'Mapbox'
3625
3585
  }).json();
3626
3586
  }
3627
3587
  /**
@@ -3696,42 +3656,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
3696
3656
  type: 'RemoteTileService'
3697
3657
  }).json();
3698
3658
  }
3699
- /**
3700
- * No description
3701
- *
3702
- * @tags Layers
3703
- * @name UpdateLocalTileService
3704
- * @operationId LayersController_UpdateLocalTileService
3705
- * @summary Update Local Tile Service.
3706
- * @request PATCH:/layers/{name}#type=LocalTileService
3707
- * @response `default` Error
3708
- */
3709
-
3710
- }, {
3711
- key: "updateLocalTileService",
3712
- value: function updateLocalTileService(name, data) {
3713
- return this.http.patch("/layers/" + name, data, {
3714
- type: 'LocalTileService'
3715
- }).json();
3716
- }
3717
- /**
3718
- * No description
3719
- *
3720
- * @tags Layers
3721
- * @name UpdatePostgresLayerService
3722
- * @operationId LayersController_UpdatePostgresLayerService
3723
- * @summary Update Postgres Layer Service.
3724
- * @request PATCH:/layers/{name}#type=PostgresLayerService
3725
- * @response `default` Error
3726
- */
3727
-
3728
- }, {
3729
- key: "updatePostgresLayerService",
3730
- value: function updatePostgresLayerService(name, data) {
3731
- return this.http.patch("/layers/" + name, data, {
3732
- type: 'PostgresLayerService'
3733
- }).json();
3734
- }
3735
3659
  /**
3736
3660
  * No description
3737
3661
  *
@@ -3856,27 +3780,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
3856
3780
  value: function updateFeature(name, data) {
3857
3781
  return this.http.patch("/layers/" + name + "/features", data).json();
3858
3782
  }
3859
- /**
3860
- * No description
3861
- *
3862
- * @tags Layers
3863
- * @name FeaturesContains
3864
- * @operationId LayersController_FeaturesContains
3865
- * @summary Gets filtered features with given filter.
3866
- * @request GET:/layers/{name}/features/contains
3867
- * @response `200` OK
3868
- */
3869
-
3870
- }, {
3871
- key: "featuresContains",
3872
- value: function featuresContains(_ref3) {
3873
- let {
3874
- name
3875
- } = _ref3,
3876
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
3877
-
3878
- return this.http.get("/layers/" + name + "/features/contains", query).json();
3879
- }
3880
3783
  /**
3881
3784
  * No description
3882
3785
  *
@@ -3890,12 +3793,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
3890
3793
 
3891
3794
  }, {
3892
3795
  key: "getById",
3893
- value: function getById(_ref4) {
3796
+ value: function getById(_ref3) {
3894
3797
  let {
3895
3798
  name,
3896
3799
  id
3897
- } = _ref4,
3898
- query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
3800
+ } = _ref3,
3801
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
3899
3802
 
3900
3803
  return this.http.get("/layers/" + name + "/features/" + id, query).json();
3901
3804
  }
@@ -3912,12 +3815,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
3912
3815
 
3913
3816
  }, {
3914
3817
  key: "unite",
3915
- value: function unite(_ref5, data) {
3818
+ value: function unite(_ref4, data) {
3916
3819
  let {
3917
3820
  name,
3918
3821
  id
3919
- } = _ref5,
3920
- query = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
3822
+ } = _ref4,
3823
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
3921
3824
 
3922
3825
  return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
3923
3826
  }
@@ -3934,12 +3837,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
3934
3837
 
3935
3838
  }, {
3936
3839
  key: "subtract",
3937
- value: function subtract(_ref6, data) {
3840
+ value: function subtract(_ref5, data) {
3938
3841
  let {
3939
3842
  name,
3940
3843
  id
3941
- } = _ref6,
3942
- query = _objectWithoutPropertiesLoose(_ref6, _excluded6$1);
3844
+ } = _ref5,
3845
+ query = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
3943
3846
 
3944
3847
  return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
3945
3848
  }
@@ -3956,14 +3859,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
3956
3859
 
3957
3860
  }, {
3958
3861
  key: "getTilesLayerImage",
3959
- value: function getTilesLayerImage(_ref7) {
3862
+ value: function getTilesLayerImage(_ref6) {
3960
3863
  let {
3961
3864
  name,
3962
3865
  x,
3963
3866
  y,
3964
3867
  z
3965
- } = _ref7,
3966
- query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
3868
+ } = _ref6,
3869
+ query = _objectWithoutPropertiesLoose(_ref6, _excluded6$1);
3967
3870
 
3968
3871
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
3969
3872
  }
@@ -3980,15 +3883,15 @@ let LayersService = /*#__PURE__*/function (_Service) {
3980
3883
 
3981
3884
  }, {
3982
3885
  key: "getTilesLayerImage1",
3983
- value: function getTilesLayerImage1(_ref8) {
3886
+ value: function getTilesLayerImage1(_ref7) {
3984
3887
  let {
3985
3888
  name,
3986
3889
  x,
3987
3890
  y,
3988
3891
  z,
3989
3892
  format
3990
- } = _ref8,
3991
- query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
3893
+ } = _ref7,
3894
+ query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
3992
3895
 
3993
3896
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format, query);
3994
3897
  }
@@ -4005,7 +3908,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
4005
3908
 
4006
3909
  }, {
4007
3910
  key: "getTilesLayerImageWithFormatAndDpi",
4008
- value: function getTilesLayerImageWithFormatAndDpi(_ref9) {
3911
+ value: function getTilesLayerImageWithFormatAndDpi(_ref8) {
4009
3912
  let {
4010
3913
  name,
4011
3914
  x,
@@ -4013,8 +3916,8 @@ let LayersService = /*#__PURE__*/function (_Service) {
4013
3916
  z,
4014
3917
  dpi,
4015
3918
  format
4016
- } = _ref9,
4017
- query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
3919
+ } = _ref8,
3920
+ query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
4018
3921
 
4019
3922
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format, query);
4020
3923
  }
@@ -4031,11 +3934,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4031
3934
 
4032
3935
  }, {
4033
3936
  key: "getLayerImage",
4034
- value: function getLayerImage(_ref10) {
3937
+ value: function getLayerImage(_ref9) {
4035
3938
  let {
4036
3939
  name
4037
- } = _ref10,
4038
- query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
3940
+ } = _ref9,
3941
+ query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
4039
3942
 
4040
3943
  return this.http.createUrl("/layers/" + name + "/export", query);
4041
3944
  }
@@ -4052,56 +3955,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
4052
3955
 
4053
3956
  }, {
4054
3957
  key: "getLayerExtent",
4055
- value: function getLayerExtent(_ref11) {
3958
+ value: function getLayerExtent(_ref10) {
4056
3959
  let {
4057
3960
  name
4058
- } = _ref11,
4059
- query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
3961
+ } = _ref10,
3962
+ query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
4060
3963
 
4061
3964
  return this.http.get("/layers/" + name + "/extent", query).json();
4062
3965
  }
4063
- /**
4064
- * No description
4065
- *
4066
- * @tags Layers
4067
- * @name GetByGeometry
4068
- * @operationId LayersController_GetByGeometryAsync
4069
- * @summary Gets the features within the given geometry.
4070
- * @request GET:/layers/{name}/features/getByGeometry
4071
- * @response `200` OK
4072
- */
4073
-
4074
- }, {
4075
- key: "getByGeometry",
4076
- value: function getByGeometry(_ref12) {
4077
- let {
4078
- name
4079
- } = _ref12,
4080
- query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
4081
-
4082
- return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
4083
- }
4084
- /**
4085
- * No description
4086
- *
4087
- * @tags Layers
4088
- * @name GetByGeometryPost
4089
- * @operationId LayersController_GetByGeometryAsync_1
4090
- * @summary Gets the features within the given geometry.
4091
- * @request POST:/layers/{name}/features/getByGeometry
4092
- * @response `200` OK
4093
- */
4094
-
4095
- }, {
4096
- key: "getByGeometryPost",
4097
- value: function getByGeometryPost(_ref13, data) {
4098
- let {
4099
- name
4100
- } = _ref13,
4101
- query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
4102
-
4103
- return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
4104
- }
4105
3966
  /**
4106
3967
  * No description
4107
3968
  *
@@ -4115,11 +3976,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4115
3976
 
4116
3977
  }, {
4117
3978
  key: "deleteFeatures",
4118
- value: function deleteFeatures(_ref14) {
3979
+ value: function deleteFeatures(_ref11) {
4119
3980
  let {
4120
3981
  name
4121
- } = _ref14,
4122
- query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
3982
+ } = _ref11,
3983
+ query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
4123
3984
 
4124
3985
  return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
4125
3986
  }
@@ -4136,35 +3997,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
4136
3997
 
4137
3998
  }, {
4138
3999
  key: "deleteByCondition",
4139
- value: function deleteByCondition(_ref15) {
4000
+ value: function deleteByCondition(_ref12) {
4140
4001
  let {
4141
4002
  name
4142
- } = _ref15,
4143
- query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
4003
+ } = _ref12,
4004
+ query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
4144
4005
 
4145
4006
  return this.http.delete("/layers/" + name + "/features/deleteByCondition", null, query).json();
4146
4007
  }
4147
- /**
4148
- * No description
4149
- *
4150
- * @tags Layers
4151
- * @name GetByGeometryGet
4152
- * @operationId LayersController_GetByGeometryAsync_2
4153
- * @summary Gets the features by click position.
4154
- * @request GET:/layers/{name}/features/getByGeometryByClick
4155
- * @response `200` OK
4156
- */
4157
-
4158
- }, {
4159
- key: "getByGeometryGet",
4160
- value: function getByGeometryGet(_ref16) {
4161
- let {
4162
- name
4163
- } = _ref16,
4164
- query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
4165
-
4166
- return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
4167
- }
4168
4008
  /**
4169
4009
  * No description
4170
4010
  *
@@ -4178,11 +4018,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4178
4018
 
4179
4019
  }, {
4180
4020
  key: "classify",
4181
- value: function classify(_ref17) {
4021
+ value: function classify(_ref13) {
4182
4022
  let {
4183
4023
  name
4184
- } = _ref17,
4185
- query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
4024
+ } = _ref13,
4025
+ query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
4186
4026
 
4187
4027
  return this.http.get("/layers/" + name + "/classify", query).json();
4188
4028
  }
@@ -4199,11 +4039,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4199
4039
 
4200
4040
  }, {
4201
4041
  key: "distincts",
4202
- value: function distincts(_ref18) {
4042
+ value: function distincts(_ref14) {
4203
4043
  let {
4204
4044
  name
4205
- } = _ref18,
4206
- query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
4045
+ } = _ref14,
4046
+ query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
4207
4047
 
4208
4048
  return this.http.get("/layers/" + name + "/distincts", query).json();
4209
4049
  }
@@ -4220,11 +4060,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4220
4060
 
4221
4061
  }, {
4222
4062
  key: "aggregateAttribute",
4223
- value: function aggregateAttribute(_ref19) {
4063
+ value: function aggregateAttribute(_ref15) {
4224
4064
  let {
4225
4065
  name
4226
- } = _ref19,
4227
- query = _objectWithoutPropertiesLoose(_ref19, _excluded19);
4066
+ } = _ref15,
4067
+ query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
4228
4068
 
4229
4069
  return this.http.get("/layers/" + name + "/aggregate-values", query).json();
4230
4070
  }
@@ -4241,11 +4081,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4241
4081
 
4242
4082
  }, {
4243
4083
  key: "getFilteredFeaturesCount",
4244
- value: function getFilteredFeaturesCount(_ref20) {
4084
+ value: function getFilteredFeaturesCount(_ref16) {
4245
4085
  let {
4246
4086
  name
4247
- } = _ref20,
4248
- query = _objectWithoutPropertiesLoose(_ref20, _excluded20);
4087
+ } = _ref16,
4088
+ query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
4249
4089
 
4250
4090
  return this.http.get("/layers/" + name + "/features/count", query).json();
4251
4091
  }
@@ -4281,22 +4121,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
4281
4121
  value: function editAttributes(name, data) {
4282
4122
  return this.http.post("/layers/" + name + "/features/edit-attributes", data).json();
4283
4123
  }
4284
- /**
4285
- * No description
4286
- *
4287
- * @tags Layers
4288
- * @name SelectFeatures
4289
- * @operationId LayersController_SelectFeatures
4290
- * @summary Selects features from the given layers by the visual point on the map.
4291
- * @request GET:/layers/features/select
4292
- * @response `200` OK
4293
- */
4294
-
4295
- }, {
4296
- key: "selectFeatures",
4297
- value: function selectFeatures(query) {
4298
- return this.http.get("/layers/features/select", query).json();
4299
- }
4300
4124
  /**
4301
4125
  * No description
4302
4126
  *
@@ -4311,11 +4135,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
4311
4135
 
4312
4136
  }, {
4313
4137
  key: "validateExpression",
4314
- value: function validateExpression(_ref21) {
4138
+ value: function validateExpression(_ref17) {
4315
4139
  let {
4316
4140
  layerName
4317
- } = _ref21,
4318
- query = _objectWithoutPropertiesLoose(_ref21, _excluded21);
4141
+ } = _ref17,
4142
+ query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
4319
4143
 
4320
4144
  return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
4321
4145
  }
@@ -4332,12 +4156,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
4332
4156
 
4333
4157
  }, {
4334
4158
  key: "getRasterMeta",
4335
- value: function getRasterMeta(_ref22) {
4159
+ value: function getRasterMeta(_ref18) {
4336
4160
  let {
4337
4161
  name,
4338
4162
  id
4339
- } = _ref22,
4340
- query = _objectWithoutPropertiesLoose(_ref22, _excluded22);
4163
+ } = _ref18,
4164
+ query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
4341
4165
 
4342
4166
  return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
4343
4167
  }
@@ -4487,8 +4311,6 @@ function notError(v) {
4487
4311
  return !isError(v);
4488
4312
  }
4489
4313
 
4490
- const _excluded$4 = ["remote"],
4491
- _excluded2$3 = ["remote"];
4492
4314
  let Layers = /*#__PURE__*/function (_LayersService) {
4493
4315
  _inherits(Layers, _LayersService);
4494
4316
 
@@ -4517,34 +4339,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4517
4339
  types: ['LocalTileService', 'RemoteTileService']
4518
4340
  }));
4519
4341
  }
4520
- }, {
4521
- key: "createTileLayer",
4522
- value: function createTileLayer(_ref) {
4523
- let {
4524
- remote
4525
- } = _ref,
4526
- configuration = _objectWithoutPropertiesLoose(_ref, _excluded$4);
4527
-
4528
- if (remote) {
4529
- return this.publishRemoteTileService(configuration);
4530
- }
4531
-
4532
- return this.publishLocalTileService(configuration);
4533
- }
4534
- }, {
4535
- key: "updateTileLayer",
4536
- value: function updateTileLayer(_ref2) {
4537
- let {
4538
- remote
4539
- } = _ref2,
4540
- configuration = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
4541
-
4542
- if (remote) {
4543
- return this.updateRemoteTileService(configuration.name, configuration);
4544
- }
4545
-
4546
- return this.updateLocalTileService(configuration.name, configuration);
4547
- }
4548
4342
  }, {
4549
4343
  key: "findOne",
4550
4344
  value: function findOne(name) {
@@ -4563,16 +4357,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4563
4357
  value: function findAll(params) {
4564
4358
  return this.getLayersList(params);
4565
4359
  }
4566
- }, {
4567
- key: "create",
4568
- value: function create(configuration) {
4569
- return this.publishPostgresLayerService(configuration);
4570
- }
4571
- }, {
4572
- key: "update",
4573
- value: function update(configuration) {
4574
- return this.updatePostgresLayerService(configuration.name, configuration);
4575
- }
4576
4360
  }, {
4577
4361
  key: "createQueryLayer",
4578
4362
  value: function createQueryLayer(configuration) {
@@ -5226,7 +5010,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
5226
5010
  return _createClass(Print);
5227
5011
  }(PrintService);
5228
5012
 
5229
- const _excluded$5 = ["name"];
5013
+ const _excluded$4 = ["name"];
5230
5014
  /**
5231
5015
  * @title Spatial Processing Core API
5232
5016
  * @version 1.5.1.0
@@ -5373,7 +5157,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
5373
5157
  let {
5374
5158
  name
5375
5159
  } = _ref,
5376
- query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
5160
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
5377
5161
 
5378
5162
  return this.http.get("/projects/" + name + "/extent", query).json();
5379
5163
  }
@@ -5549,8 +5333,8 @@ function isProjectContentItems(v) {
5549
5333
  return v !== null && v !== undefined;
5550
5334
  }
5551
5335
 
5552
- const _excluded$6 = ["id"],
5553
- _excluded2$4 = ["id"];
5336
+ const _excluded$5 = ["id"],
5337
+ _excluded2$3 = ["id"];
5554
5338
  /**
5555
5339
  * @title Spatial Processing Core API
5556
5340
  * @version 1.5.1.0
@@ -5569,201 +5353,8 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5569
5353
  }
5570
5354
 
5571
5355
  _createClass(RemoteTaskManagerService, [{
5572
- key: "cancelTask",
5356
+ key: "get",
5573
5357
  value:
5574
- /**
5575
- * No description
5576
- *
5577
- * @tags RemoteTaskManager
5578
- * @name CancelTask
5579
- * @operationId RemoteTaskManagerController_CancelTask
5580
- * @summary Cancel task execution by given id.
5581
- * @request POST:/scheduler/tasks/{id}/cancel
5582
- * @response `200` OK
5583
- */
5584
- function cancelTask(id) {
5585
- return this.http.post("/scheduler/tasks/" + id + "/cancel", null).then(() => {});
5586
- }
5587
- /**
5588
- * No description
5589
- *
5590
- * @tags RemoteTaskManager
5591
- * @name StartCogCreateTask
5592
- * @operationId RemoteTaskManagerController_StartCogCreateTask
5593
- * @summary Plans the execution of a 'create raster cog' server task.
5594
- * @request POST:/scheduler/tasks#type=cogService_create
5595
- * @response `200` OK
5596
- */
5597
-
5598
- }, {
5599
- key: "startCogCreateTask",
5600
- value: function startCogCreateTask(data) {
5601
- return this.http.post("/scheduler/tasks", data, {
5602
- type: 'cogService_create'
5603
- }).text();
5604
- }
5605
- /**
5606
- * No description
5607
- *
5608
- * @tags RemoteTaskManager
5609
- * @name StartRasterVrtTask
5610
- * @operationId RemoteTaskManagerController_StartRasterVrtTask
5611
- * @summary Plans the execution of a 'create raster vrt' server task.
5612
- * @request POST:/scheduler/tasks#type=cogService_vrt
5613
- * @response `200` OK
5614
- */
5615
-
5616
- }, {
5617
- key: "startRasterVrtTask",
5618
- value: function startRasterVrtTask(data) {
5619
- return this.http.post("/scheduler/tasks", data, {
5620
- type: 'cogService_vrt'
5621
- }).text();
5622
- }
5623
- /**
5624
- * No description
5625
- *
5626
- * @tags RemoteTaskManager
5627
- * @name StartNetCdfTask
5628
- * @operationId RemoteTaskManagerController_StartNetCdfTask
5629
- * @summary Plans the execution of a 'create raster netcdf' server task.
5630
- * @request POST:/scheduler/tasks#type=cogService_netcdf
5631
- * @response `200` OK
5632
- */
5633
-
5634
- }, {
5635
- key: "startNetCdfTask",
5636
- value: function startNetCdfTask(data) {
5637
- return this.http.post("/scheduler/tasks", data, {
5638
- type: 'cogService_netcdf'
5639
- }).text();
5640
- }
5641
- /**
5642
- * No description
5643
- *
5644
- * @tags RemoteTaskManager
5645
- * @name StartBufferTask
5646
- * @operationId RemoteTaskManagerController_StartBufferTask
5647
- * @summary Plans the execution of a 'create buffers' server task.
5648
- * @request POST:/scheduler/tasks#type=geoService_buffer
5649
- * @response `200` OK
5650
- */
5651
-
5652
- }, {
5653
- key: "startBufferTask",
5654
- value: function startBufferTask(data) {
5655
- return this.http.post("/scheduler/tasks", data, {
5656
- type: 'geoService_buffer'
5657
- }).text();
5658
- }
5659
- /**
5660
- * No description
5661
- *
5662
- * @tags RemoteTaskManager
5663
- * @name StartCopyTableTask
5664
- * @operationId RemoteTaskManagerController_StartCopyTableTask
5665
- * @summary Plans the execution of a 'copy table' server task.
5666
- * @request POST:/scheduler/tasks#type=geoService_copy
5667
- * @response `200` OK
5668
- */
5669
-
5670
- }, {
5671
- key: "startCopyTableTask",
5672
- value: function startCopyTableTask(data) {
5673
- return this.http.post("/scheduler/tasks", data, {
5674
- type: 'geoService_copy'
5675
- }).text();
5676
- }
5677
- /**
5678
- * No description
5679
- *
5680
- * @tags RemoteTaskManager
5681
- * @name StartUnionTask
5682
- * @operationId RemoteTaskManagerController_StartUnionTask
5683
- * @summary Plans the execution of a 'create union' server task.
5684
- * @request POST:/scheduler/tasks#type=geoService_union
5685
- * @response `200` OK
5686
- */
5687
-
5688
- }, {
5689
- key: "startUnionTask",
5690
- value: function startUnionTask(data) {
5691
- return this.http.post("/scheduler/tasks", data, {
5692
- type: 'geoService_union'
5693
- }).text();
5694
- }
5695
- /**
5696
- * No description
5697
- *
5698
- * @tags RemoteTaskManager
5699
- * @name StartOverlayTask
5700
- * @operationId RemoteTaskManagerController_StartOverlayTask
5701
- * @summary Plans the execution of a 'create overlay' server task.
5702
- * @request POST:/scheduler/tasks#type=geoService_overlay
5703
- * @response `200` OK
5704
- */
5705
-
5706
- }, {
5707
- key: "startOverlayTask",
5708
- value: function startOverlayTask(data) {
5709
- return this.http.post("/scheduler/tasks", data, {
5710
- type: 'geoService_overlay'
5711
- }).text();
5712
- }
5713
- /**
5714
- * No description
5715
- *
5716
- * @tags RemoteTaskManager
5717
- * @name StartCopyTask
5718
- * @operationId RemoteTaskManagerController_StartCopyTask
5719
- * @summary Plans the execution of a 'copy storages' server task.
5720
- * @request POST:/scheduler/tasks#type=copyTask
5721
- * @response `200` OK
5722
- */
5723
-
5724
- }, {
5725
- key: "startCopyTask",
5726
- value: function startCopyTask(data) {
5727
- return this.http.post("/scheduler/tasks", data, {
5728
- type: 'copyTask'
5729
- }).text();
5730
- }
5731
- /**
5732
- * No description
5733
- *
5734
- * @tags RemoteTaskManager
5735
- * @name StartAvailableAreaTask
5736
- * @operationId RemoteTaskManagerController_StartAvailableAreaTask
5737
- * @summary Plans the execution of a 'create available area' server task.
5738
- * @request POST:/scheduler/tasks#type=availabilityArea
5739
- * @response `200` OK
5740
- */
5741
-
5742
- }, {
5743
- key: "startAvailableAreaTask",
5744
- value: function startAvailableAreaTask(data) {
5745
- return this.http.post("/scheduler/tasks", data, {
5746
- type: 'availabilityArea'
5747
- }).text();
5748
- }
5749
- /**
5750
- * No description
5751
- *
5752
- * @tags RemoteTaskManager
5753
- * @name StartGeocodeTask
5754
- * @operationId RemoteTaskManagerController_StartGeocodeTask
5755
- * @summary Plans the execution of a 'geocode' server task.
5756
- * @request POST:/scheduler/tasks#type=geocodeTask
5757
- * @response `200` OK
5758
- */
5759
-
5760
- }, {
5761
- key: "startGeocodeTask",
5762
- value: function startGeocodeTask(data) {
5763
- return this.http.post("/scheduler/tasks", data, {
5764
- type: 'geocodeTask'
5765
- }).text();
5766
- }
5767
5358
  /**
5768
5359
  * No description
5769
5360
  *
@@ -5774,11 +5365,8 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5774
5365
  * @request GET:/scheduler/task/{id}/subtasks
5775
5366
  * @response `200` OK
5776
5367
  */
5777
-
5778
- }, {
5779
- key: "get",
5780
- value: function get(id) {
5781
- return this.http.get("/scheduler/task/" + id + "/subtasks").then(() => {});
5368
+ function get(id) {
5369
+ return this.http.get("/scheduler/task/" + id + "/subtasks").json();
5782
5370
  }
5783
5371
  /**
5784
5372
  * No description
@@ -5794,7 +5382,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5794
5382
  }, {
5795
5383
  key: "stop",
5796
5384
  value: function stop(id) {
5797
- return this.http.post("/scheduler/task/" + id + "/stop", null).then(() => {});
5385
+ return this.http.post("/scheduler/task/" + id + "/stop", null).text();
5798
5386
  }
5799
5387
  /**
5800
5388
  * No description
@@ -5826,7 +5414,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5826
5414
  }, {
5827
5415
  key: "getTaskPrototypes",
5828
5416
  value: function getTaskPrototypes(query) {
5829
- return this.http.get("/scheduler", query).then(() => {});
5417
+ return this.http.get("/scheduler", query).json();
5830
5418
  }
5831
5419
  /**
5832
5420
  * No description
@@ -5842,7 +5430,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5842
5430
  }, {
5843
5431
  key: "updateTaskPrototype",
5844
5432
  value: function updateTaskPrototype(id, data) {
5845
- return this.http.put("/scheduler/" + id, data).then(() => {});
5433
+ return this.http.put("/scheduler/" + id, data).text();
5846
5434
  }
5847
5435
  /**
5848
5436
  * No description
@@ -5858,7 +5446,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5858
5446
  }, {
5859
5447
  key: "delete",
5860
5448
  value: function _delete(id) {
5861
- return this.http.delete("/scheduler/" + id, null).then(() => {});
5449
+ return this.http.delete("/scheduler/" + id, null).text();
5862
5450
  }
5863
5451
  /**
5864
5452
  * No description
@@ -5874,7 +5462,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5874
5462
  }, {
5875
5463
  key: "setEnable",
5876
5464
  value: function setEnable(id, enable) {
5877
- return this.http.post("/scheduler/" + id + "/enable/" + enable, null).then(() => {});
5465
+ return this.http.post("/scheduler/" + id + "/enable/" + enable, null).text();
5878
5466
  }
5879
5467
  /**
5880
5468
  * No description
@@ -5893,9 +5481,9 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5893
5481
  let {
5894
5482
  id
5895
5483
  } = _ref,
5896
- query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5484
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
5897
5485
 
5898
- return this.http.get("/scheduler/" + id + "/tasks", query).then(() => {});
5486
+ return this.http.get("/scheduler/" + id + "/tasks", query).json();
5899
5487
  }
5900
5488
  /**
5901
5489
  * No description
@@ -5911,7 +5499,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5911
5499
  }, {
5912
5500
  key: "startTask",
5913
5501
  value: function startTask(id, taskId) {
5914
- return this.http.post("/scheduler/" + id + "/start/" + taskId, null).then(() => {});
5502
+ return this.http.post("/scheduler/" + id + "/start/" + taskId, null).json();
5915
5503
  }
5916
5504
  /**
5917
5505
  * No description
@@ -5927,7 +5515,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5927
5515
  }, {
5928
5516
  key: "startTask1",
5929
5517
  value: function startTask1(id) {
5930
- return this.http.post("/scheduler/" + id + "/start", null).then(() => {});
5518
+ return this.http.post("/scheduler/" + id + "/start", null).json();
5931
5519
  }
5932
5520
  /**
5933
5521
  * No description
@@ -5946,7 +5534,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5946
5534
  let {
5947
5535
  id
5948
5536
  } = _ref2,
5949
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5537
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
5950
5538
 
5951
5539
  return this.http.get("/scheduler/taskresource/" + id, query).json();
5952
5540
  }
@@ -6719,10 +6307,9 @@ let Styles = /*#__PURE__*/function (_StyleService) {
6719
6307
  return _createClass(Styles);
6720
6308
  }(StyleService);
6721
6309
 
6722
- const _excluded$7 = ["name"],
6723
- _excluded2$5 = ["name"],
6724
- _excluded3$3 = ["name"],
6725
- _excluded4$2 = ["name"];
6310
+ const _excluded$6 = ["name"],
6311
+ _excluded2$4 = ["name"],
6312
+ _excluded3$3 = ["name"];
6726
6313
  /**
6727
6314
  * @title Spatial Processing Core API
6728
6315
  * @version 1.5.1.0
@@ -6885,7 +6472,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
6885
6472
  let {
6886
6473
  name
6887
6474
  } = _ref,
6888
- query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
6475
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
6889
6476
 
6890
6477
  return this.http.get("/tables/" + name + "/data", query).json();
6891
6478
  }
@@ -6922,7 +6509,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
6922
6509
  let {
6923
6510
  name
6924
6511
  } = _ref2,
6925
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
6512
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
6926
6513
 
6927
6514
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
6928
6515
  }
@@ -6947,27 +6534,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
6947
6534
 
6948
6535
  return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
6949
6536
  }
6950
- /**
6951
- * No description
6952
- *
6953
- * @tags Tables
6954
- * @name GetUniqueDataRows
6955
- * @operationId TablesController_GetUniqueDataRowsAsync
6956
- * @summary Returns a single data row for each unique value defined by uniqueColumn.
6957
- * @request GET:/tables/{name}/data/unique-values
6958
- * @response `200` OK
6959
- */
6960
-
6961
- }, {
6962
- key: "getUniqueDataRows",
6963
- value: function getUniqueDataRows(_ref4) {
6964
- let {
6965
- name
6966
- } = _ref4,
6967
- query = _objectWithoutPropertiesLoose(_ref4, _excluded4$2);
6968
-
6969
- return this.http.get("/tables/" + name + "/data/unique-values", query).json();
6970
- }
6971
6537
  /**
6972
6538
  * No description
6973
6539
  *
@@ -7166,7 +6732,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
7166
6732
  return _createClass(Tools);
7167
6733
  }(ToolsService);
7168
6734
 
7169
- const _excluded$8 = ["name", "z", "x", "y"];
6735
+ const _excluded$7 = ["name", "z", "x", "y"];
7170
6736
  /**
7171
6737
  * @title Spatial Processing Core API
7172
6738
  * @version 1.5.1.0
@@ -7204,7 +6770,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
7204
6770
  x,
7205
6771
  y
7206
6772
  } = _ref,
7207
- query = _objectWithoutPropertiesLoose(_ref, _excluded$8);
6773
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
7208
6774
 
7209
6775
  return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
7210
6776
  }
@@ -7226,13 +6792,12 @@ let VectorTiles = /*#__PURE__*/function (_VectorTileService) {
7226
6792
 
7227
6793
  _createClass(VectorTiles, [{
7228
6794
  key: "getVt",
7229
- value: function getVt(name, z, x, y, isProject) {
6795
+ value: function getVt(name, z, x, y) {
7230
6796
  return this.getVectorTile({
7231
6797
  name,
7232
6798
  z,
7233
6799
  x,
7234
- y,
7235
- isProject
6800
+ y
7236
6801
  });
7237
6802
  }
7238
6803
  }]);
@@ -7652,11 +7217,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7652
7217
  ErrorType["EmailNotSet"] = "EmailNotSet";
7653
7218
  })(exports.ErrorType || (exports.ErrorType = {}));
7654
7219
 
7655
- (function (FeatureType) {
7656
- FeatureType["Unknown"] = "Unknown";
7657
- FeatureType["GeometricFeature"] = "GeometricFeature";
7658
- })(exports.FeatureType || (exports.FeatureType = {}));
7659
-
7660
7220
  (function (FontStyle) {
7661
7221
  FontStyle["Normal"] = "normal";
7662
7222
  FontStyle["Oblique"] = "oblique";
@@ -7721,14 +7281,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7721
7281
  LineJoinType["Round"] = "Round";
7722
7282
  })(exports.LineJoinType || (exports.LineJoinType = {}));
7723
7283
 
7724
- (function (Operation) {
7725
- Operation["Unknown"] = "Unknown";
7726
- Operation["Union"] = "union";
7727
- Operation["Intersection"] = "intersection";
7728
- Operation["Subtraction"] = "subtraction";
7729
- Operation["SymDifference"] = "symDifference";
7730
- })(exports.Operation || (exports.Operation = {}));
7731
-
7732
7284
  (function (OwnerFilter) {
7733
7285
  OwnerFilter["My"] = "My";
7734
7286
  OwnerFilter["Shared"] = "Shared";
@@ -7767,6 +7319,18 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7767
7319
  Quality["High"] = "High";
7768
7320
  })(exports.Quality || (exports.Quality = {}));
7769
7321
 
7322
+ (function (RemoteTaskStatus) {
7323
+ RemoteTaskStatus["Init"] = "Init";
7324
+ RemoteTaskStatus["Process"] = "Process";
7325
+ RemoteTaskStatus["Completed"] = "Completed";
7326
+ RemoteTaskStatus["Interrupted"] = "Interrupted";
7327
+ RemoteTaskStatus["Error"] = "Error";
7328
+ RemoteTaskStatus["Timeout"] = "Timeout";
7329
+ RemoteTaskStatus["Waiting"] = "Waiting";
7330
+ RemoteTaskStatus["InQueue"] = "InQueue";
7331
+ RemoteTaskStatus["Unknown"] = "Unknown";
7332
+ })(exports.RemoteTaskStatus || (exports.RemoteTaskStatus = {}));
7333
+
7770
7334
  (function (ResourceSubTypeFilter) {
7771
7335
  ResourceSubTypeFilter["RemoteTileService"] = "RemoteTileService";
7772
7336
  ResourceSubTypeFilter["ProxyService"] = "ProxyService";
@@ -7795,6 +7359,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7795
7359
  ResourceTypeFilter["RemoteTileService"] = "RemoteTileService";
7796
7360
  ResourceTypeFilter["File"] = "File";
7797
7361
  ResourceTypeFilter["DataSource"] = "DataSource";
7362
+ ResourceTypeFilter["TaskPrototype"] = "TaskPrototype";
7798
7363
  })(exports.ResourceTypeFilter || (exports.ResourceTypeFilter = {}));
7799
7364
 
7800
7365
  (function (ResourceTypeLink) {