@evergis/api 4.0.5 → 4.0.9
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/LICENSE +20 -20
- package/README.md +21 -21
- package/dist/__generated__/EqlService.d.ts +4 -4
- package/dist/__generated__/LayersService.d.ts +14 -113
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/RemoteTaskManagerService.d.ts +11 -132
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +1 -12
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +732 -906
- package/dist/api.cjs.development.js +141 -562
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +435 -844
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Layers.d.ts +2 -6
- package/dist/services/VectorTiles.d.ts +1 -1
- package/package.json +2 -2
|
@@ -30,6 +30,9 @@ function _defineProperties(target, props) {
|
|
|
30
30
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
31
31
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
32
32
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
33
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
34
|
+
writable: false
|
|
35
|
+
});
|
|
33
36
|
return Constructor;
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -63,6 +66,9 @@ function _inherits(subClass, superClass) {
|
|
|
63
66
|
configurable: true
|
|
64
67
|
}
|
|
65
68
|
});
|
|
69
|
+
Object.defineProperty(subClass, "prototype", {
|
|
70
|
+
writable: false
|
|
71
|
+
});
|
|
66
72
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
67
73
|
}
|
|
68
74
|
|
|
@@ -121,6 +127,8 @@ function _assertThisInitialized(self) {
|
|
|
121
127
|
function _possibleConstructorReturn(self, call) {
|
|
122
128
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
123
129
|
return call;
|
|
130
|
+
} else if (call !== void 0) {
|
|
131
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
124
132
|
}
|
|
125
133
|
|
|
126
134
|
return _assertThisInitialized(self);
|
|
@@ -154,7 +162,7 @@ function _superPropBase(object, property) {
|
|
|
154
162
|
return object;
|
|
155
163
|
}
|
|
156
164
|
|
|
157
|
-
function _get(
|
|
165
|
+
function _get() {
|
|
158
166
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
159
167
|
_get = Reflect.get;
|
|
160
168
|
} else {
|
|
@@ -165,14 +173,14 @@ function _get(target, property, receiver) {
|
|
|
165
173
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
166
174
|
|
|
167
175
|
if (desc.get) {
|
|
168
|
-
return desc.get.call(receiver);
|
|
176
|
+
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
169
177
|
}
|
|
170
178
|
|
|
171
179
|
return desc.value;
|
|
172
180
|
};
|
|
173
181
|
}
|
|
174
182
|
|
|
175
|
-
return _get(
|
|
183
|
+
return _get.apply(this, arguments);
|
|
176
184
|
}
|
|
177
185
|
|
|
178
186
|
const API_USER_INFO_KEY = "@evergis/user-info";
|
|
@@ -2233,16 +2241,16 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2233
2241
|
* No description
|
|
2234
2242
|
*
|
|
2235
2243
|
* @tags Eql
|
|
2236
|
-
* @name
|
|
2237
|
-
* @operationId
|
|
2244
|
+
* @name GetPagedQueryResult
|
|
2245
|
+
* @operationId EqlController_GetPagedQueryResult
|
|
2238
2246
|
* @summary Perform resources set acl access batch operation.
|
|
2239
2247
|
* @request POST:/eql/query
|
|
2240
2248
|
* @response `200` OK
|
|
2241
2249
|
*/
|
|
2242
2250
|
|
|
2243
2251
|
}, {
|
|
2244
|
-
key: "
|
|
2245
|
-
value: function
|
|
2252
|
+
key: "getPagedQueryResult",
|
|
2253
|
+
value: function getPagedQueryResult(data) {
|
|
2246
2254
|
return this.http.post("/eql/query", data).json();
|
|
2247
2255
|
}
|
|
2248
2256
|
/**
|
|
@@ -3277,13 +3285,13 @@ let Import = /*#__PURE__*/function (_ImportService) {
|
|
|
3277
3285
|
|
|
3278
3286
|
const _excluded$3 = ["name"],
|
|
3279
3287
|
_excluded2$2 = ["name"],
|
|
3280
|
-
_excluded3$2 = ["name"],
|
|
3288
|
+
_excluded3$2 = ["name", "id"],
|
|
3281
3289
|
_excluded4$1 = ["name", "id"],
|
|
3282
3290
|
_excluded5$1 = ["name", "id"],
|
|
3283
|
-
_excluded6$1 = ["name", "
|
|
3284
|
-
_excluded7 = ["name", "x", "y", "z"],
|
|
3285
|
-
_excluded8 = ["name", "x", "y", "z", "format"],
|
|
3286
|
-
_excluded9 = ["name"
|
|
3291
|
+
_excluded6$1 = ["name", "x", "y", "z"],
|
|
3292
|
+
_excluded7 = ["name", "x", "y", "z", "format"],
|
|
3293
|
+
_excluded8 = ["name", "x", "y", "z", "dpi", "format"],
|
|
3294
|
+
_excluded9 = ["name"],
|
|
3287
3295
|
_excluded10 = ["name"],
|
|
3288
3296
|
_excluded11 = ["name"],
|
|
3289
3297
|
_excluded12 = ["name"],
|
|
@@ -3291,12 +3299,8 @@ const _excluded$3 = ["name"],
|
|
|
3291
3299
|
_excluded14 = ["name"],
|
|
3292
3300
|
_excluded15 = ["name"],
|
|
3293
3301
|
_excluded16 = ["name"],
|
|
3294
|
-
_excluded17 = ["
|
|
3295
|
-
_excluded18 = ["name"]
|
|
3296
|
-
_excluded19 = ["name"],
|
|
3297
|
-
_excluded20 = ["name"],
|
|
3298
|
-
_excluded21 = ["layerName"],
|
|
3299
|
-
_excluded22 = ["name", "id"];
|
|
3302
|
+
_excluded17 = ["layerName"],
|
|
3303
|
+
_excluded18 = ["name", "id"];
|
|
3300
3304
|
/**
|
|
3301
3305
|
* @title Spatial Processing Core API
|
|
3302
3306
|
* @version 1.5.1.0
|
|
@@ -3516,42 +3520,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3516
3520
|
type: 'RemoteTileService'
|
|
3517
3521
|
}).json();
|
|
3518
3522
|
}
|
|
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
3523
|
/**
|
|
3556
3524
|
* No description
|
|
3557
3525
|
*
|
|
@@ -3592,36 +3560,36 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3592
3560
|
* No description
|
|
3593
3561
|
*
|
|
3594
3562
|
* @tags Layers
|
|
3595
|
-
* @name
|
|
3596
|
-
* @operationId
|
|
3597
|
-
* @summary
|
|
3598
|
-
* @request
|
|
3563
|
+
* @name PublishPythonService
|
|
3564
|
+
* @operationId LayersController_PublishPythonService
|
|
3565
|
+
* @summary Creates new python service.
|
|
3566
|
+
* @request POST:/layers#type=Python
|
|
3599
3567
|
* @response `default` Error
|
|
3600
3568
|
*/
|
|
3601
3569
|
|
|
3602
3570
|
}, {
|
|
3603
|
-
key: "
|
|
3604
|
-
value: function
|
|
3605
|
-
return this.http.
|
|
3606
|
-
type: '
|
|
3571
|
+
key: "publishPythonService",
|
|
3572
|
+
value: function publishPythonService(data) {
|
|
3573
|
+
return this.http.post("/layers", data, {
|
|
3574
|
+
type: 'Python'
|
|
3607
3575
|
}).json();
|
|
3608
3576
|
}
|
|
3609
3577
|
/**
|
|
3610
3578
|
* No description
|
|
3611
3579
|
*
|
|
3612
3580
|
* @tags Layers
|
|
3613
|
-
* @name
|
|
3614
|
-
* @operationId
|
|
3615
|
-
* @summary
|
|
3616
|
-
* @request
|
|
3581
|
+
* @name UpdateMapboxService
|
|
3582
|
+
* @operationId LayersController_UpdateMapboxService
|
|
3583
|
+
* @summary Update mapbox service.
|
|
3584
|
+
* @request PATCH:/layers/{name}#type=Mapbox
|
|
3617
3585
|
* @response `default` Error
|
|
3618
3586
|
*/
|
|
3619
3587
|
|
|
3620
3588
|
}, {
|
|
3621
|
-
key: "
|
|
3622
|
-
value: function
|
|
3623
|
-
return this.http.
|
|
3624
|
-
type: '
|
|
3589
|
+
key: "updateMapboxService",
|
|
3590
|
+
value: function updateMapboxService(name, data) {
|
|
3591
|
+
return this.http.patch("/layers/" + name, data, {
|
|
3592
|
+
type: 'Mapbox'
|
|
3625
3593
|
}).json();
|
|
3626
3594
|
}
|
|
3627
3595
|
/**
|
|
@@ -3696,42 +3664,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3696
3664
|
type: 'RemoteTileService'
|
|
3697
3665
|
}).json();
|
|
3698
3666
|
}
|
|
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
3667
|
/**
|
|
3736
3668
|
* No description
|
|
3737
3669
|
*
|
|
@@ -3856,27 +3788,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3856
3788
|
value: function updateFeature(name, data) {
|
|
3857
3789
|
return this.http.patch("/layers/" + name + "/features", data).json();
|
|
3858
3790
|
}
|
|
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
3791
|
/**
|
|
3881
3792
|
* No description
|
|
3882
3793
|
*
|
|
@@ -3890,12 +3801,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3890
3801
|
|
|
3891
3802
|
}, {
|
|
3892
3803
|
key: "getById",
|
|
3893
|
-
value: function getById(
|
|
3804
|
+
value: function getById(_ref3) {
|
|
3894
3805
|
let {
|
|
3895
3806
|
name,
|
|
3896
3807
|
id
|
|
3897
|
-
} =
|
|
3898
|
-
query = _objectWithoutPropertiesLoose(
|
|
3808
|
+
} = _ref3,
|
|
3809
|
+
query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
|
|
3899
3810
|
|
|
3900
3811
|
return this.http.get("/layers/" + name + "/features/" + id, query).json();
|
|
3901
3812
|
}
|
|
@@ -3912,12 +3823,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3912
3823
|
|
|
3913
3824
|
}, {
|
|
3914
3825
|
key: "unite",
|
|
3915
|
-
value: function unite(
|
|
3826
|
+
value: function unite(_ref4, data) {
|
|
3916
3827
|
let {
|
|
3917
3828
|
name,
|
|
3918
3829
|
id
|
|
3919
|
-
} =
|
|
3920
|
-
query = _objectWithoutPropertiesLoose(
|
|
3830
|
+
} = _ref4,
|
|
3831
|
+
query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
|
|
3921
3832
|
|
|
3922
3833
|
return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
|
|
3923
3834
|
}
|
|
@@ -3934,12 +3845,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3934
3845
|
|
|
3935
3846
|
}, {
|
|
3936
3847
|
key: "subtract",
|
|
3937
|
-
value: function subtract(
|
|
3848
|
+
value: function subtract(_ref5, data) {
|
|
3938
3849
|
let {
|
|
3939
3850
|
name,
|
|
3940
3851
|
id
|
|
3941
|
-
} =
|
|
3942
|
-
query = _objectWithoutPropertiesLoose(
|
|
3852
|
+
} = _ref5,
|
|
3853
|
+
query = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
|
|
3943
3854
|
|
|
3944
3855
|
return this.http.post("/layers/" + name + "/features/" + id + "/subtract", data, query).json();
|
|
3945
3856
|
}
|
|
@@ -3956,14 +3867,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3956
3867
|
|
|
3957
3868
|
}, {
|
|
3958
3869
|
key: "getTilesLayerImage",
|
|
3959
|
-
value: function getTilesLayerImage(
|
|
3870
|
+
value: function getTilesLayerImage(_ref6) {
|
|
3960
3871
|
let {
|
|
3961
3872
|
name,
|
|
3962
3873
|
x,
|
|
3963
3874
|
y,
|
|
3964
3875
|
z
|
|
3965
|
-
} =
|
|
3966
|
-
query = _objectWithoutPropertiesLoose(
|
|
3876
|
+
} = _ref6,
|
|
3877
|
+
query = _objectWithoutPropertiesLoose(_ref6, _excluded6$1);
|
|
3967
3878
|
|
|
3968
3879
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
|
|
3969
3880
|
}
|
|
@@ -3980,15 +3891,15 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3980
3891
|
|
|
3981
3892
|
}, {
|
|
3982
3893
|
key: "getTilesLayerImage1",
|
|
3983
|
-
value: function getTilesLayerImage1(
|
|
3894
|
+
value: function getTilesLayerImage1(_ref7) {
|
|
3984
3895
|
let {
|
|
3985
3896
|
name,
|
|
3986
3897
|
x,
|
|
3987
3898
|
y,
|
|
3988
3899
|
z,
|
|
3989
3900
|
format
|
|
3990
|
-
} =
|
|
3991
|
-
query = _objectWithoutPropertiesLoose(
|
|
3901
|
+
} = _ref7,
|
|
3902
|
+
query = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
3992
3903
|
|
|
3993
3904
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format, query);
|
|
3994
3905
|
}
|
|
@@ -4005,7 +3916,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4005
3916
|
|
|
4006
3917
|
}, {
|
|
4007
3918
|
key: "getTilesLayerImageWithFormatAndDpi",
|
|
4008
|
-
value: function getTilesLayerImageWithFormatAndDpi(
|
|
3919
|
+
value: function getTilesLayerImageWithFormatAndDpi(_ref8) {
|
|
4009
3920
|
let {
|
|
4010
3921
|
name,
|
|
4011
3922
|
x,
|
|
@@ -4013,8 +3924,8 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4013
3924
|
z,
|
|
4014
3925
|
dpi,
|
|
4015
3926
|
format
|
|
4016
|
-
} =
|
|
4017
|
-
query = _objectWithoutPropertiesLoose(
|
|
3927
|
+
} = _ref8,
|
|
3928
|
+
query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
4018
3929
|
|
|
4019
3930
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format, query);
|
|
4020
3931
|
}
|
|
@@ -4031,11 +3942,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4031
3942
|
|
|
4032
3943
|
}, {
|
|
4033
3944
|
key: "getLayerImage",
|
|
4034
|
-
value: function getLayerImage(
|
|
3945
|
+
value: function getLayerImage(_ref9) {
|
|
4035
3946
|
let {
|
|
4036
3947
|
name
|
|
4037
|
-
} =
|
|
4038
|
-
query = _objectWithoutPropertiesLoose(
|
|
3948
|
+
} = _ref9,
|
|
3949
|
+
query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
4039
3950
|
|
|
4040
3951
|
return this.http.createUrl("/layers/" + name + "/export", query);
|
|
4041
3952
|
}
|
|
@@ -4052,56 +3963,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4052
3963
|
|
|
4053
3964
|
}, {
|
|
4054
3965
|
key: "getLayerExtent",
|
|
4055
|
-
value: function getLayerExtent(
|
|
3966
|
+
value: function getLayerExtent(_ref10) {
|
|
4056
3967
|
let {
|
|
4057
3968
|
name
|
|
4058
|
-
} =
|
|
4059
|
-
query = _objectWithoutPropertiesLoose(
|
|
3969
|
+
} = _ref10,
|
|
3970
|
+
query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
4060
3971
|
|
|
4061
3972
|
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
4062
3973
|
}
|
|
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
3974
|
/**
|
|
4106
3975
|
* No description
|
|
4107
3976
|
*
|
|
@@ -4115,11 +3984,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4115
3984
|
|
|
4116
3985
|
}, {
|
|
4117
3986
|
key: "deleteFeatures",
|
|
4118
|
-
value: function deleteFeatures(
|
|
3987
|
+
value: function deleteFeatures(_ref11) {
|
|
4119
3988
|
let {
|
|
4120
3989
|
name
|
|
4121
|
-
} =
|
|
4122
|
-
query = _objectWithoutPropertiesLoose(
|
|
3990
|
+
} = _ref11,
|
|
3991
|
+
query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
4123
3992
|
|
|
4124
3993
|
return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
|
|
4125
3994
|
}
|
|
@@ -4136,35 +4005,14 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4136
4005
|
|
|
4137
4006
|
}, {
|
|
4138
4007
|
key: "deleteByCondition",
|
|
4139
|
-
value: function deleteByCondition(
|
|
4008
|
+
value: function deleteByCondition(_ref12) {
|
|
4140
4009
|
let {
|
|
4141
4010
|
name
|
|
4142
|
-
} =
|
|
4143
|
-
query = _objectWithoutPropertiesLoose(
|
|
4011
|
+
} = _ref12,
|
|
4012
|
+
query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
4144
4013
|
|
|
4145
4014
|
return this.http.delete("/layers/" + name + "/features/deleteByCondition", null, query).json();
|
|
4146
4015
|
}
|
|
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
4016
|
/**
|
|
4169
4017
|
* No description
|
|
4170
4018
|
*
|
|
@@ -4178,11 +4026,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4178
4026
|
|
|
4179
4027
|
}, {
|
|
4180
4028
|
key: "classify",
|
|
4181
|
-
value: function classify(
|
|
4029
|
+
value: function classify(_ref13) {
|
|
4182
4030
|
let {
|
|
4183
4031
|
name
|
|
4184
|
-
} =
|
|
4185
|
-
query = _objectWithoutPropertiesLoose(
|
|
4032
|
+
} = _ref13,
|
|
4033
|
+
query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
4186
4034
|
|
|
4187
4035
|
return this.http.get("/layers/" + name + "/classify", query).json();
|
|
4188
4036
|
}
|
|
@@ -4199,11 +4047,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4199
4047
|
|
|
4200
4048
|
}, {
|
|
4201
4049
|
key: "distincts",
|
|
4202
|
-
value: function distincts(
|
|
4050
|
+
value: function distincts(_ref14) {
|
|
4203
4051
|
let {
|
|
4204
4052
|
name
|
|
4205
|
-
} =
|
|
4206
|
-
query = _objectWithoutPropertiesLoose(
|
|
4053
|
+
} = _ref14,
|
|
4054
|
+
query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
4207
4055
|
|
|
4208
4056
|
return this.http.get("/layers/" + name + "/distincts", query).json();
|
|
4209
4057
|
}
|
|
@@ -4220,11 +4068,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4220
4068
|
|
|
4221
4069
|
}, {
|
|
4222
4070
|
key: "aggregateAttribute",
|
|
4223
|
-
value: function aggregateAttribute(
|
|
4071
|
+
value: function aggregateAttribute(_ref15) {
|
|
4224
4072
|
let {
|
|
4225
4073
|
name
|
|
4226
|
-
} =
|
|
4227
|
-
query = _objectWithoutPropertiesLoose(
|
|
4074
|
+
} = _ref15,
|
|
4075
|
+
query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
4228
4076
|
|
|
4229
4077
|
return this.http.get("/layers/" + name + "/aggregate-values", query).json();
|
|
4230
4078
|
}
|
|
@@ -4241,11 +4089,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4241
4089
|
|
|
4242
4090
|
}, {
|
|
4243
4091
|
key: "getFilteredFeaturesCount",
|
|
4244
|
-
value: function getFilteredFeaturesCount(
|
|
4092
|
+
value: function getFilteredFeaturesCount(_ref16) {
|
|
4245
4093
|
let {
|
|
4246
4094
|
name
|
|
4247
|
-
} =
|
|
4248
|
-
query = _objectWithoutPropertiesLoose(
|
|
4095
|
+
} = _ref16,
|
|
4096
|
+
query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
4249
4097
|
|
|
4250
4098
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
4251
4099
|
}
|
|
@@ -4281,22 +4129,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4281
4129
|
value: function editAttributes(name, data) {
|
|
4282
4130
|
return this.http.post("/layers/" + name + "/features/edit-attributes", data).json();
|
|
4283
4131
|
}
|
|
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
4132
|
/**
|
|
4301
4133
|
* No description
|
|
4302
4134
|
*
|
|
@@ -4311,11 +4143,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4311
4143
|
|
|
4312
4144
|
}, {
|
|
4313
4145
|
key: "validateExpression",
|
|
4314
|
-
value: function validateExpression(
|
|
4146
|
+
value: function validateExpression(_ref17) {
|
|
4315
4147
|
let {
|
|
4316
4148
|
layerName
|
|
4317
|
-
} =
|
|
4318
|
-
query = _objectWithoutPropertiesLoose(
|
|
4149
|
+
} = _ref17,
|
|
4150
|
+
query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
4319
4151
|
|
|
4320
4152
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
4321
4153
|
}
|
|
@@ -4332,12 +4164,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4332
4164
|
|
|
4333
4165
|
}, {
|
|
4334
4166
|
key: "getRasterMeta",
|
|
4335
|
-
value: function getRasterMeta(
|
|
4167
|
+
value: function getRasterMeta(_ref18) {
|
|
4336
4168
|
let {
|
|
4337
4169
|
name,
|
|
4338
4170
|
id
|
|
4339
|
-
} =
|
|
4340
|
-
query = _objectWithoutPropertiesLoose(
|
|
4171
|
+
} = _ref18,
|
|
4172
|
+
query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
4341
4173
|
|
|
4342
4174
|
return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
|
|
4343
4175
|
}
|
|
@@ -4487,8 +4319,6 @@ function notError(v) {
|
|
|
4487
4319
|
return !isError(v);
|
|
4488
4320
|
}
|
|
4489
4321
|
|
|
4490
|
-
const _excluded$4 = ["remote"],
|
|
4491
|
-
_excluded2$3 = ["remote"];
|
|
4492
4322
|
let Layers = /*#__PURE__*/function (_LayersService) {
|
|
4493
4323
|
_inherits(Layers, _LayersService);
|
|
4494
4324
|
|
|
@@ -4517,34 +4347,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4517
4347
|
types: ['LocalTileService', 'RemoteTileService']
|
|
4518
4348
|
}));
|
|
4519
4349
|
}
|
|
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
4350
|
}, {
|
|
4549
4351
|
key: "findOne",
|
|
4550
4352
|
value: function findOne(name) {
|
|
@@ -4563,16 +4365,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4563
4365
|
value: function findAll(params) {
|
|
4564
4366
|
return this.getLayersList(params);
|
|
4565
4367
|
}
|
|
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
4368
|
}, {
|
|
4577
4369
|
key: "createQueryLayer",
|
|
4578
4370
|
value: function createQueryLayer(configuration) {
|
|
@@ -4944,8 +4736,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
4944
4736
|
|| event.code === 4002
|
|
4945
4737
|
/* InvalidSession */
|
|
4946
4738
|
) {
|
|
4947
|
-
|
|
4948
|
-
|
|
4739
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
4740
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
4949
4741
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
4950
4742
|
_this.reconnectTries++;
|
|
4951
4743
|
|
|
@@ -5226,7 +5018,7 @@ let Print = /*#__PURE__*/function (_PrintService) {
|
|
|
5226
5018
|
return _createClass(Print);
|
|
5227
5019
|
}(PrintService);
|
|
5228
5020
|
|
|
5229
|
-
const _excluded$
|
|
5021
|
+
const _excluded$4 = ["name"];
|
|
5230
5022
|
/**
|
|
5231
5023
|
* @title Spatial Processing Core API
|
|
5232
5024
|
* @version 1.5.1.0
|
|
@@ -5373,7 +5165,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5373
5165
|
let {
|
|
5374
5166
|
name
|
|
5375
5167
|
} = _ref,
|
|
5376
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5168
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
5377
5169
|
|
|
5378
5170
|
return this.http.get("/projects/" + name + "/extent", query).json();
|
|
5379
5171
|
}
|
|
@@ -5549,8 +5341,8 @@ function isProjectContentItems(v) {
|
|
|
5549
5341
|
return v !== null && v !== undefined;
|
|
5550
5342
|
}
|
|
5551
5343
|
|
|
5552
|
-
const _excluded$
|
|
5553
|
-
_excluded2$
|
|
5344
|
+
const _excluded$5 = ["id"],
|
|
5345
|
+
_excluded2$3 = ["id"];
|
|
5554
5346
|
/**
|
|
5555
5347
|
* @title Spatial Processing Core API
|
|
5556
5348
|
* @version 1.5.1.0
|
|
@@ -5569,201 +5361,8 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5569
5361
|
}
|
|
5570
5362
|
|
|
5571
5363
|
_createClass(RemoteTaskManagerService, [{
|
|
5572
|
-
key: "
|
|
5364
|
+
key: "get",
|
|
5573
5365
|
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
5366
|
/**
|
|
5768
5367
|
* No description
|
|
5769
5368
|
*
|
|
@@ -5774,11 +5373,8 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5774
5373
|
* @request GET:/scheduler/task/{id}/subtasks
|
|
5775
5374
|
* @response `200` OK
|
|
5776
5375
|
*/
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
key: "get",
|
|
5780
|
-
value: function get(id) {
|
|
5781
|
-
return this.http.get("/scheduler/task/" + id + "/subtasks").then(() => {});
|
|
5376
|
+
function get(id) {
|
|
5377
|
+
return this.http.get("/scheduler/task/" + id + "/subtasks").json();
|
|
5782
5378
|
}
|
|
5783
5379
|
/**
|
|
5784
5380
|
* No description
|
|
@@ -5794,7 +5390,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5794
5390
|
}, {
|
|
5795
5391
|
key: "stop",
|
|
5796
5392
|
value: function stop(id) {
|
|
5797
|
-
return this.http.post("/scheduler/task/" + id + "/stop", null).
|
|
5393
|
+
return this.http.post("/scheduler/task/" + id + "/stop", null).text();
|
|
5798
5394
|
}
|
|
5799
5395
|
/**
|
|
5800
5396
|
* No description
|
|
@@ -5826,7 +5422,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5826
5422
|
}, {
|
|
5827
5423
|
key: "getTaskPrototypes",
|
|
5828
5424
|
value: function getTaskPrototypes(query) {
|
|
5829
|
-
return this.http.get("/scheduler", query).
|
|
5425
|
+
return this.http.get("/scheduler", query).json();
|
|
5830
5426
|
}
|
|
5831
5427
|
/**
|
|
5832
5428
|
* No description
|
|
@@ -5842,7 +5438,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5842
5438
|
}, {
|
|
5843
5439
|
key: "updateTaskPrototype",
|
|
5844
5440
|
value: function updateTaskPrototype(id, data) {
|
|
5845
|
-
return this.http.put("/scheduler/" + id, data).
|
|
5441
|
+
return this.http.put("/scheduler/" + id, data).text();
|
|
5846
5442
|
}
|
|
5847
5443
|
/**
|
|
5848
5444
|
* No description
|
|
@@ -5858,7 +5454,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5858
5454
|
}, {
|
|
5859
5455
|
key: "delete",
|
|
5860
5456
|
value: function _delete(id) {
|
|
5861
|
-
return this.http.delete("/scheduler/" + id, null).
|
|
5457
|
+
return this.http.delete("/scheduler/" + id, null).text();
|
|
5862
5458
|
}
|
|
5863
5459
|
/**
|
|
5864
5460
|
* No description
|
|
@@ -5874,7 +5470,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5874
5470
|
}, {
|
|
5875
5471
|
key: "setEnable",
|
|
5876
5472
|
value: function setEnable(id, enable) {
|
|
5877
|
-
return this.http.post("/scheduler/" + id + "/enable/" + enable, null).
|
|
5473
|
+
return this.http.post("/scheduler/" + id + "/enable/" + enable, null).text();
|
|
5878
5474
|
}
|
|
5879
5475
|
/**
|
|
5880
5476
|
* No description
|
|
@@ -5893,9 +5489,9 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5893
5489
|
let {
|
|
5894
5490
|
id
|
|
5895
5491
|
} = _ref,
|
|
5896
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5492
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
5897
5493
|
|
|
5898
|
-
return this.http.get("/scheduler/" + id + "/tasks", query).
|
|
5494
|
+
return this.http.get("/scheduler/" + id + "/tasks", query).json();
|
|
5899
5495
|
}
|
|
5900
5496
|
/**
|
|
5901
5497
|
* No description
|
|
@@ -5911,7 +5507,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5911
5507
|
}, {
|
|
5912
5508
|
key: "startTask",
|
|
5913
5509
|
value: function startTask(id, taskId) {
|
|
5914
|
-
return this.http.post("/scheduler/" + id + "/start/" + taskId, null).
|
|
5510
|
+
return this.http.post("/scheduler/" + id + "/start/" + taskId, null).json();
|
|
5915
5511
|
}
|
|
5916
5512
|
/**
|
|
5917
5513
|
* No description
|
|
@@ -5927,7 +5523,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5927
5523
|
}, {
|
|
5928
5524
|
key: "startTask1",
|
|
5929
5525
|
value: function startTask1(id) {
|
|
5930
|
-
return this.http.post("/scheduler/" + id + "/start", null).
|
|
5526
|
+
return this.http.post("/scheduler/" + id + "/start", null).json();
|
|
5931
5527
|
}
|
|
5932
5528
|
/**
|
|
5933
5529
|
* No description
|
|
@@ -5946,7 +5542,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
5946
5542
|
let {
|
|
5947
5543
|
id
|
|
5948
5544
|
} = _ref2,
|
|
5949
|
-
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
5545
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
5950
5546
|
|
|
5951
5547
|
return this.http.get("/scheduler/taskresource/" + id, query).json();
|
|
5952
5548
|
}
|
|
@@ -6200,12 +5796,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
6200
5796
|
}, {
|
|
6201
5797
|
key: "getDependentNames",
|
|
6202
5798
|
value: function getDependentNames(deps, depType) {
|
|
6203
|
-
return deps.filter(
|
|
5799
|
+
return deps.filter(_ref => {
|
|
6204
5800
|
let {
|
|
6205
5801
|
type
|
|
6206
5802
|
} = _ref;
|
|
6207
5803
|
return type === depType;
|
|
6208
|
-
}).map(
|
|
5804
|
+
}).map(_ref2 => {
|
|
6209
5805
|
let {
|
|
6210
5806
|
name
|
|
6211
5807
|
} = _ref2;
|
|
@@ -6719,10 +6315,9 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
6719
6315
|
return _createClass(Styles);
|
|
6720
6316
|
}(StyleService);
|
|
6721
6317
|
|
|
6722
|
-
const _excluded$
|
|
6723
|
-
_excluded2$
|
|
6724
|
-
_excluded3$3 = ["name"]
|
|
6725
|
-
_excluded4$2 = ["name"];
|
|
6318
|
+
const _excluded$6 = ["name"],
|
|
6319
|
+
_excluded2$4 = ["name"],
|
|
6320
|
+
_excluded3$3 = ["name"];
|
|
6726
6321
|
/**
|
|
6727
6322
|
* @title Spatial Processing Core API
|
|
6728
6323
|
* @version 1.5.1.0
|
|
@@ -6885,7 +6480,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
6885
6480
|
let {
|
|
6886
6481
|
name
|
|
6887
6482
|
} = _ref,
|
|
6888
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6483
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
6889
6484
|
|
|
6890
6485
|
return this.http.get("/tables/" + name + "/data", query).json();
|
|
6891
6486
|
}
|
|
@@ -6922,7 +6517,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
6922
6517
|
let {
|
|
6923
6518
|
name
|
|
6924
6519
|
} = _ref2,
|
|
6925
|
-
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6520
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
6926
6521
|
|
|
6927
6522
|
return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
|
|
6928
6523
|
}
|
|
@@ -6947,27 +6542,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
6947
6542
|
|
|
6948
6543
|
return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
|
|
6949
6544
|
}
|
|
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
6545
|
/**
|
|
6972
6546
|
* No description
|
|
6973
6547
|
*
|
|
@@ -7166,7 +6740,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
|
|
|
7166
6740
|
return _createClass(Tools);
|
|
7167
6741
|
}(ToolsService);
|
|
7168
6742
|
|
|
7169
|
-
const _excluded$
|
|
6743
|
+
const _excluded$7 = ["name", "z", "x", "y"];
|
|
7170
6744
|
/**
|
|
7171
6745
|
* @title Spatial Processing Core API
|
|
7172
6746
|
* @version 1.5.1.0
|
|
@@ -7204,7 +6778,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
|
7204
6778
|
x,
|
|
7205
6779
|
y
|
|
7206
6780
|
} = _ref,
|
|
7207
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6781
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
7208
6782
|
|
|
7209
6783
|
return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
|
|
7210
6784
|
}
|
|
@@ -7226,13 +6800,12 @@ let VectorTiles = /*#__PURE__*/function (_VectorTileService) {
|
|
|
7226
6800
|
|
|
7227
6801
|
_createClass(VectorTiles, [{
|
|
7228
6802
|
key: "getVt",
|
|
7229
|
-
value: function getVt(name, z, x, y
|
|
6803
|
+
value: function getVt(name, z, x, y) {
|
|
7230
6804
|
return this.getVectorTile({
|
|
7231
6805
|
name,
|
|
7232
6806
|
z,
|
|
7233
6807
|
x,
|
|
7234
|
-
y
|
|
7235
|
-
isProject
|
|
6808
|
+
y
|
|
7236
6809
|
});
|
|
7237
6810
|
}
|
|
7238
6811
|
}]);
|
|
@@ -7298,7 +6871,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7298
6871
|
(_request$headers = request.headers) == null ? void 0 : _request$headers.set("Authorization", "Bearer " + (token || ""));
|
|
7299
6872
|
}
|
|
7300
6873
|
}, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
|
|
7301
|
-
beforeRetry: [async
|
|
6874
|
+
beforeRetry: [async _ref2 => {
|
|
7302
6875
|
let {
|
|
7303
6876
|
request,
|
|
7304
6877
|
error,
|
|
@@ -7652,11 +7225,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7652
7225
|
ErrorType["EmailNotSet"] = "EmailNotSet";
|
|
7653
7226
|
})(exports.ErrorType || (exports.ErrorType = {}));
|
|
7654
7227
|
|
|
7655
|
-
(function (FeatureType) {
|
|
7656
|
-
FeatureType["Unknown"] = "Unknown";
|
|
7657
|
-
FeatureType["GeometricFeature"] = "GeometricFeature";
|
|
7658
|
-
})(exports.FeatureType || (exports.FeatureType = {}));
|
|
7659
|
-
|
|
7660
7228
|
(function (FontStyle) {
|
|
7661
7229
|
FontStyle["Normal"] = "normal";
|
|
7662
7230
|
FontStyle["Oblique"] = "oblique";
|
|
@@ -7721,14 +7289,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7721
7289
|
LineJoinType["Round"] = "Round";
|
|
7722
7290
|
})(exports.LineJoinType || (exports.LineJoinType = {}));
|
|
7723
7291
|
|
|
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
7292
|
(function (OwnerFilter) {
|
|
7733
7293
|
OwnerFilter["My"] = "My";
|
|
7734
7294
|
OwnerFilter["Shared"] = "Shared";
|
|
@@ -7767,6 +7327,18 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7767
7327
|
Quality["High"] = "High";
|
|
7768
7328
|
})(exports.Quality || (exports.Quality = {}));
|
|
7769
7329
|
|
|
7330
|
+
(function (RemoteTaskStatus) {
|
|
7331
|
+
RemoteTaskStatus["Init"] = "Init";
|
|
7332
|
+
RemoteTaskStatus["Process"] = "Process";
|
|
7333
|
+
RemoteTaskStatus["Completed"] = "Completed";
|
|
7334
|
+
RemoteTaskStatus["Interrupted"] = "Interrupted";
|
|
7335
|
+
RemoteTaskStatus["Error"] = "Error";
|
|
7336
|
+
RemoteTaskStatus["Timeout"] = "Timeout";
|
|
7337
|
+
RemoteTaskStatus["Waiting"] = "Waiting";
|
|
7338
|
+
RemoteTaskStatus["InQueue"] = "InQueue";
|
|
7339
|
+
RemoteTaskStatus["Unknown"] = "Unknown";
|
|
7340
|
+
})(exports.RemoteTaskStatus || (exports.RemoteTaskStatus = {}));
|
|
7341
|
+
|
|
7770
7342
|
(function (ResourceSubTypeFilter) {
|
|
7771
7343
|
ResourceSubTypeFilter["RemoteTileService"] = "RemoteTileService";
|
|
7772
7344
|
ResourceSubTypeFilter["ProxyService"] = "ProxyService";
|
|
@@ -7795,6 +7367,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7795
7367
|
ResourceTypeFilter["RemoteTileService"] = "RemoteTileService";
|
|
7796
7368
|
ResourceTypeFilter["File"] = "File";
|
|
7797
7369
|
ResourceTypeFilter["DataSource"] = "DataSource";
|
|
7370
|
+
ResourceTypeFilter["TaskPrototype"] = "TaskPrototype";
|
|
7798
7371
|
})(exports.ResourceTypeFilter || (exports.ResourceTypeFilter = {}));
|
|
7799
7372
|
|
|
7800
7373
|
(function (ResourceTypeLink) {
|
|
@@ -7846,22 +7419,28 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7846
7419
|
})(exports.WorkerMethodType || (exports.WorkerMethodType = {}));
|
|
7847
7420
|
|
|
7848
7421
|
(function (WorkerSettingsFieldType) {
|
|
7849
|
-
WorkerSettingsFieldType["
|
|
7422
|
+
WorkerSettingsFieldType["Int32"] = "Int32";
|
|
7423
|
+
WorkerSettingsFieldType["Int64"] = "Int64";
|
|
7850
7424
|
WorkerSettingsFieldType["Double"] = "Double";
|
|
7851
7425
|
WorkerSettingsFieldType["String"] = "String";
|
|
7852
|
-
WorkerSettingsFieldType["
|
|
7426
|
+
WorkerSettingsFieldType["Boolean"] = "Boolean";
|
|
7427
|
+
WorkerSettingsFieldType["DateTime"] = "DateTime";
|
|
7428
|
+
WorkerSettingsFieldType["Point"] = "Point";
|
|
7853
7429
|
WorkerSettingsFieldType["Geometry"] = "Geometry";
|
|
7430
|
+
WorkerSettingsFieldType["Polyline"] = "Polyline";
|
|
7431
|
+
WorkerSettingsFieldType["MultiPolygon"] = "MultiPolygon";
|
|
7432
|
+
WorkerSettingsFieldType["Polygon"] = "Polygon";
|
|
7433
|
+
WorkerSettingsFieldType["Multipoint"] = "Multipoint";
|
|
7854
7434
|
WorkerSettingsFieldType["IntergerArray"] = "IntergerArray";
|
|
7855
7435
|
WorkerSettingsFieldType["DoubleArray"] = "DoubleArray";
|
|
7856
7436
|
WorkerSettingsFieldType["StringArray"] = "StringArray";
|
|
7857
|
-
WorkerSettingsFieldType["Boolean"] = "Boolean";
|
|
7858
7437
|
WorkerSettingsFieldType["SourceEql"] = "SourceEql";
|
|
7859
7438
|
WorkerSettingsFieldType["Layer"] = "Layer";
|
|
7860
7439
|
WorkerSettingsFieldType["Table"] = "Table";
|
|
7861
7440
|
WorkerSettingsFieldType["Folder"] = "Folder";
|
|
7862
7441
|
WorkerSettingsFieldType["Json"] = "Json";
|
|
7863
|
-
WorkerSettingsFieldType["
|
|
7864
|
-
WorkerSettingsFieldType["
|
|
7442
|
+
WorkerSettingsFieldType["Attribute"] = "Attribute";
|
|
7443
|
+
WorkerSettingsFieldType["AttributeArray"] = "AttributeArray";
|
|
7865
7444
|
})(exports.WorkerSettingsFieldType || (exports.WorkerSettingsFieldType = {}));
|
|
7866
7445
|
|
|
7867
7446
|
Object.defineProperty(exports, 'HTTPError', {
|