@evergis/api 4.1.13 → 4.1.15
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 +21 -21
- package/README.md +11 -11
- package/dist/__generated__/CamerasService.d.ts +1 -1
- package/dist/__generated__/CatalogService.d.ts +61 -1
- package/dist/__generated__/LayersService.d.ts +13 -25
- package/dist/__generated__/ProjectsService.d.ts +9 -21
- package/dist/__generated__/TablesService.d.ts +1 -13
- package/dist/__generated__/data-contracts.d.ts +375 -332
- package/dist/api.esm.js +124 -123
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +123 -122
- package/dist/index.js.map +1 -1
- package/dist/interfaces/ResourceService.d.ts +0 -1
- package/dist/services/Layers.d.ts +1 -5
- package/dist/services/Projects.d.ts +1 -2
- package/dist/services/Tables.d.ts +1 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1463,6 +1463,20 @@ class CatalogService extends Service {
|
|
|
1463
1463
|
putTags(resourceId, data) {
|
|
1464
1464
|
return this.http.put(`/resources/${resourceId}/tags`, data).json();
|
|
1465
1465
|
}
|
|
1466
|
+
/**
|
|
1467
|
+
* No description
|
|
1468
|
+
*
|
|
1469
|
+
* @tags Catalog
|
|
1470
|
+
* @name PostLink
|
|
1471
|
+
* @operationId CatalogController_PostLink
|
|
1472
|
+
* @summary Put link to resource.
|
|
1473
|
+
* @request POST:/resources/links
|
|
1474
|
+
* @secure
|
|
1475
|
+
* @response `200` OK
|
|
1476
|
+
*/
|
|
1477
|
+
postLink(data) {
|
|
1478
|
+
return this.http.post(`/resources/links`, data).json();
|
|
1479
|
+
}
|
|
1466
1480
|
/**
|
|
1467
1481
|
* No description
|
|
1468
1482
|
*
|
|
@@ -1519,6 +1533,62 @@ class CatalogService extends Service {
|
|
|
1519
1533
|
deleteResource(resourceId) {
|
|
1520
1534
|
return this.http.delete(`/resources/${resourceId}`, null).then(() => { });
|
|
1521
1535
|
}
|
|
1536
|
+
/**
|
|
1537
|
+
* No description
|
|
1538
|
+
*
|
|
1539
|
+
* @tags Catalog
|
|
1540
|
+
* @name ResourceExistsByPath
|
|
1541
|
+
* @operationId CatalogController_ResourceExistsByPathAsync
|
|
1542
|
+
* @summary Check resource path is existing.
|
|
1543
|
+
* @request GET:/resources/existsByPath/{path}
|
|
1544
|
+
* @secure
|
|
1545
|
+
* @response `200` OK
|
|
1546
|
+
*/
|
|
1547
|
+
resourceExistsByPath(path) {
|
|
1548
|
+
return this.http.get(`/resources/existsByPath/${path}`).json();
|
|
1549
|
+
}
|
|
1550
|
+
/**
|
|
1551
|
+
* No description
|
|
1552
|
+
*
|
|
1553
|
+
* @tags Catalog
|
|
1554
|
+
* @name ResourceExistsById
|
|
1555
|
+
* @operationId CatalogController_ResourceExistsByIdAsync
|
|
1556
|
+
* @summary Check resource id is existing.
|
|
1557
|
+
* @request GET:/resources/existsById/{resourceId}
|
|
1558
|
+
* @secure
|
|
1559
|
+
* @response `200` OK
|
|
1560
|
+
*/
|
|
1561
|
+
resourceExistsById(resourceId) {
|
|
1562
|
+
return this.http.get(`/resources/existsById/${resourceId}`).json();
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* No description
|
|
1566
|
+
*
|
|
1567
|
+
* @tags Catalog
|
|
1568
|
+
* @name ResourceExistsByName
|
|
1569
|
+
* @operationId CatalogController_ResourceExistsByNameAsync
|
|
1570
|
+
* @summary Check resource path exists.
|
|
1571
|
+
* @request GET:/resources/existsByName/{systemName}
|
|
1572
|
+
* @secure
|
|
1573
|
+
* @response `200` OK
|
|
1574
|
+
*/
|
|
1575
|
+
resourceExistsByName(systemName) {
|
|
1576
|
+
return this.http.get(`/resources/existsByName/${systemName}`).json();
|
|
1577
|
+
}
|
|
1578
|
+
/**
|
|
1579
|
+
* No description
|
|
1580
|
+
*
|
|
1581
|
+
* @tags Catalog
|
|
1582
|
+
* @name GetResourceByPath
|
|
1583
|
+
* @operationId CatalogController_GetResourceByPath
|
|
1584
|
+
* @summary Get resource with given path.
|
|
1585
|
+
* @request GET:/resources/getByPath/{path}
|
|
1586
|
+
* @secure
|
|
1587
|
+
* @response `200` OK
|
|
1588
|
+
*/
|
|
1589
|
+
getResourceByPath(path) {
|
|
1590
|
+
return this.http.get(`/resources/getByPath/${path}`).json();
|
|
1591
|
+
}
|
|
1522
1592
|
/**
|
|
1523
1593
|
* No description
|
|
1524
1594
|
*
|
|
@@ -2768,34 +2838,6 @@ class LayersService extends Service {
|
|
|
2768
2838
|
getFilteredFeaturesCount(data) {
|
|
2769
2839
|
return this.http.post(`/bulk/layers/features/count`, data).json();
|
|
2770
2840
|
}
|
|
2771
|
-
/**
|
|
2772
|
-
* No description
|
|
2773
|
-
*
|
|
2774
|
-
* @tags Layers
|
|
2775
|
-
* @name GetLayersList
|
|
2776
|
-
* @operationId LayersController_GetLayersList
|
|
2777
|
-
* @summary Returns list of the available layers.
|
|
2778
|
-
* @request GET:/layers
|
|
2779
|
-
* @secure
|
|
2780
|
-
* @response `200` OK
|
|
2781
|
-
*/
|
|
2782
|
-
getLayersList(query) {
|
|
2783
|
-
return this.http.get(`/layers`, query).json();
|
|
2784
|
-
}
|
|
2785
|
-
/**
|
|
2786
|
-
* No description
|
|
2787
|
-
*
|
|
2788
|
-
* @tags Layers
|
|
2789
|
-
* @name DeleteResources
|
|
2790
|
-
* @operationId LayersController_DeleteResources
|
|
2791
|
-
* @summary Bulk delete resources.
|
|
2792
|
-
* @request DELETE:/layers
|
|
2793
|
-
* @secure
|
|
2794
|
-
* @response `200` OK
|
|
2795
|
-
*/
|
|
2796
|
-
deleteResources(query) {
|
|
2797
|
-
return this.http.delete(`/layers`, null, query).json();
|
|
2798
|
-
}
|
|
2799
2841
|
/**
|
|
2800
2842
|
* No description
|
|
2801
2843
|
*
|
|
@@ -3376,6 +3418,20 @@ class LayersService extends Service {
|
|
|
3376
3418
|
getResourceReferences(name) {
|
|
3377
3419
|
return this.http.get(`/layers/${name}/references`).json();
|
|
3378
3420
|
}
|
|
3421
|
+
/**
|
|
3422
|
+
* No description
|
|
3423
|
+
*
|
|
3424
|
+
* @tags Layers
|
|
3425
|
+
* @name DeleteResources
|
|
3426
|
+
* @operationId LayersController_DeleteResources
|
|
3427
|
+
* @summary Bulk delete resources.
|
|
3428
|
+
* @request DELETE:/layers
|
|
3429
|
+
* @secure
|
|
3430
|
+
* @response `200` OK
|
|
3431
|
+
*/
|
|
3432
|
+
deleteResources(query) {
|
|
3433
|
+
return this.http.delete(`/layers`, null, query).json();
|
|
3434
|
+
}
|
|
3379
3435
|
}
|
|
3380
3436
|
|
|
3381
3437
|
class Layers extends LayersService {
|
|
@@ -3385,21 +3441,12 @@ class Layers extends LayersService {
|
|
|
3385
3441
|
getLayersDeps(layers) {
|
|
3386
3442
|
return promiseAllIgnoreErrors(layers.map(layer => this.getResourceDependencies(layer)));
|
|
3387
3443
|
}
|
|
3388
|
-
getBasemaps(params) {
|
|
3389
|
-
return this.getLayersList({
|
|
3390
|
-
...params,
|
|
3391
|
-
types: ["LocalTileService", "RemoteTileService"],
|
|
3392
|
-
});
|
|
3393
|
-
}
|
|
3394
3444
|
findOne(name) {
|
|
3395
3445
|
return this.getLayerInfo(name);
|
|
3396
3446
|
}
|
|
3397
3447
|
findMany(layerNames, projectNames) {
|
|
3398
3448
|
return this.getLayersInfo({ layerNames, projectNames });
|
|
3399
3449
|
}
|
|
3400
|
-
findAll(params) {
|
|
3401
|
-
return this.getLayersList(params);
|
|
3402
|
-
}
|
|
3403
3450
|
createQueryLayer(configuration) {
|
|
3404
3451
|
return this.publishQueryLayerService(configuration);
|
|
3405
3452
|
}
|
|
@@ -3728,20 +3775,6 @@ class PortalSettings extends ClientSettingsService {
|
|
|
3728
3775
|
* @baseUrl /sp
|
|
3729
3776
|
*/
|
|
3730
3777
|
class ProjectsService extends Service {
|
|
3731
|
-
/**
|
|
3732
|
-
* No description
|
|
3733
|
-
*
|
|
3734
|
-
* @tags Projects
|
|
3735
|
-
* @name GetProjectsList
|
|
3736
|
-
* @operationId ProjectsController_GetProjectsList
|
|
3737
|
-
* @summary Returns the list of projects.
|
|
3738
|
-
* @request GET:/projects
|
|
3739
|
-
* @secure
|
|
3740
|
-
* @response `200` OK
|
|
3741
|
-
*/
|
|
3742
|
-
getProjectsList(query) {
|
|
3743
|
-
return this.http.get(`/projects`, query).json();
|
|
3744
|
-
}
|
|
3745
3778
|
/**
|
|
3746
3779
|
* No description
|
|
3747
3780
|
*
|
|
@@ -3875,12 +3908,12 @@ class ProjectsService extends Service {
|
|
|
3875
3908
|
* @name PatchProjectConfiguration
|
|
3876
3909
|
* @operationId ProjectsController_PatchProjectConfiguration
|
|
3877
3910
|
* @summary Applies partial updates using JSON Patch.
|
|
3878
|
-
* @request PATCH:/projects/{name}/
|
|
3911
|
+
* @request PATCH:/projects/{name}/devConfiguration
|
|
3879
3912
|
* @secure
|
|
3880
3913
|
* @response `200` OK
|
|
3881
3914
|
*/
|
|
3882
|
-
patchProjectConfiguration(
|
|
3883
|
-
return this.http.patch(`/projects/${name}/
|
|
3915
|
+
patchProjectConfiguration(name, data) {
|
|
3916
|
+
return this.http.patch(`/projects/${name}/devConfiguration`, data).json();
|
|
3884
3917
|
}
|
|
3885
3918
|
/**
|
|
3886
3919
|
* No description
|
|
@@ -3889,12 +3922,12 @@ class ProjectsService extends Service {
|
|
|
3889
3922
|
* @name PutProjectConfiguration
|
|
3890
3923
|
* @operationId ProjectsController_PutProjectConfiguration
|
|
3891
3924
|
* @summary Creates or updates configuration (full replacement).
|
|
3892
|
-
* @request PUT:/projects/{name}/
|
|
3925
|
+
* @request PUT:/projects/{name}/devConfiguration
|
|
3893
3926
|
* @secure
|
|
3894
3927
|
* @response `200` OK
|
|
3895
3928
|
*/
|
|
3896
|
-
putProjectConfiguration(
|
|
3897
|
-
return this.http.put(`/projects/${name}/
|
|
3929
|
+
putProjectConfiguration(name, data) {
|
|
3930
|
+
return this.http.put(`/projects/${name}/devConfiguration`, data).json();
|
|
3898
3931
|
}
|
|
3899
3932
|
/**
|
|
3900
3933
|
* No description
|
|
@@ -3903,12 +3936,12 @@ class ProjectsService extends Service {
|
|
|
3903
3936
|
* @name GetProjectConfiguration
|
|
3904
3937
|
* @operationId ProjectsController_GetProjectConfiguration
|
|
3905
3938
|
* @summary Gets configuration for a resource and type.
|
|
3906
|
-
* @request GET:/projects/{name}/
|
|
3939
|
+
* @request GET:/projects/{name}/devConfiguration
|
|
3907
3940
|
* @secure
|
|
3908
3941
|
* @response `200` OK
|
|
3909
3942
|
*/
|
|
3910
|
-
getProjectConfiguration(
|
|
3911
|
-
return this.http.get(`/projects/${name}/
|
|
3943
|
+
getProjectConfiguration(name) {
|
|
3944
|
+
return this.http.get(`/projects/${name}/devConfiguration`).json();
|
|
3912
3945
|
}
|
|
3913
3946
|
/**
|
|
3914
3947
|
* No description
|
|
@@ -3917,12 +3950,12 @@ class ProjectsService extends Service {
|
|
|
3917
3950
|
* @name DeleteProjectConfiguration
|
|
3918
3951
|
* @operationId ProjectsController_DeleteProjectConfiguration
|
|
3919
3952
|
* @summary Creates or updates configuration (full replacement).
|
|
3920
|
-
* @request DELETE:/projects/{name}/
|
|
3953
|
+
* @request DELETE:/projects/{name}/devConfiguration
|
|
3921
3954
|
* @secure
|
|
3922
3955
|
* @response `200` OK
|
|
3923
3956
|
*/
|
|
3924
|
-
deleteProjectConfiguration(
|
|
3925
|
-
return this.http.delete(`/projects/${name}/
|
|
3957
|
+
deleteProjectConfiguration(name) {
|
|
3958
|
+
return this.http.delete(`/projects/${name}/devConfiguration`, null).json();
|
|
3926
3959
|
}
|
|
3927
3960
|
/**
|
|
3928
3961
|
* No description
|
|
@@ -4020,9 +4053,6 @@ class Projects extends ProjectsService {
|
|
|
4020
4053
|
findOne(name) {
|
|
4021
4054
|
return this.getProjectInfo(name);
|
|
4022
4055
|
}
|
|
4023
|
-
findAll(params) {
|
|
4024
|
-
return this.getProjectsList(params);
|
|
4025
|
-
}
|
|
4026
4056
|
create(resource) {
|
|
4027
4057
|
return this.createProject(resource);
|
|
4028
4058
|
}
|
|
@@ -4661,20 +4691,6 @@ class Statistic extends StatisticService {
|
|
|
4661
4691
|
* @baseUrl /sp
|
|
4662
4692
|
*/
|
|
4663
4693
|
class TablesService extends Service {
|
|
4664
|
-
/**
|
|
4665
|
-
* No description
|
|
4666
|
-
*
|
|
4667
|
-
* @tags Tables
|
|
4668
|
-
* @name GetTableList
|
|
4669
|
-
* @operationId TablesController_GetTableList
|
|
4670
|
-
* @summary Returns the list of tables in data service.
|
|
4671
|
-
* @request GET:/tables
|
|
4672
|
-
* @secure
|
|
4673
|
-
* @response `200` OK
|
|
4674
|
-
*/
|
|
4675
|
-
getTableList(query) {
|
|
4676
|
-
return this.http.get(`/tables`, query).json();
|
|
4677
|
-
}
|
|
4678
4694
|
/**
|
|
4679
4695
|
* No description
|
|
4680
4696
|
*
|
|
@@ -4938,9 +4954,6 @@ class Tables extends TablesService {
|
|
|
4938
4954
|
findOne(name) {
|
|
4939
4955
|
return this.getTableInfo(name);
|
|
4940
4956
|
}
|
|
4941
|
-
findAll(params) {
|
|
4942
|
-
return this.getTableList(params);
|
|
4943
|
-
}
|
|
4944
4957
|
create(resource) {
|
|
4945
4958
|
return this.createTable(resource);
|
|
4946
4959
|
}
|
|
@@ -5151,15 +5164,21 @@ Boolean
|
|
|
5151
5164
|
|
|
5152
5165
|
Point
|
|
5153
5166
|
|
|
5154
|
-
|
|
5167
|
+
LineString
|
|
5155
5168
|
|
|
5156
|
-
|
|
5169
|
+
Polygon
|
|
5157
5170
|
|
|
5158
5171
|
Multipoint
|
|
5159
5172
|
|
|
5173
|
+
Polyline
|
|
5174
|
+
|
|
5160
5175
|
H3Index
|
|
5161
5176
|
|
|
5162
5177
|
Json
|
|
5178
|
+
|
|
5179
|
+
MultiPolygon
|
|
5180
|
+
|
|
5181
|
+
GeometryCollection
|
|
5163
5182
|
*/
|
|
5164
5183
|
exports.AttributeType = void 0;
|
|
5165
5184
|
(function (AttributeType) {
|
|
@@ -5171,11 +5190,14 @@ exports.AttributeType = void 0;
|
|
|
5171
5190
|
AttributeType["DateTime"] = "DateTime";
|
|
5172
5191
|
AttributeType["Boolean"] = "Boolean";
|
|
5173
5192
|
AttributeType["Point"] = "Point";
|
|
5174
|
-
AttributeType["
|
|
5175
|
-
AttributeType["
|
|
5193
|
+
AttributeType["LineString"] = "LineString";
|
|
5194
|
+
AttributeType["Polygon"] = "Polygon";
|
|
5176
5195
|
AttributeType["Multipoint"] = "Multipoint";
|
|
5196
|
+
AttributeType["Polyline"] = "Polyline";
|
|
5177
5197
|
AttributeType["H3Index"] = "H3Index";
|
|
5178
5198
|
AttributeType["Json"] = "Json";
|
|
5199
|
+
AttributeType["MultiPolygon"] = "MultiPolygon";
|
|
5200
|
+
AttributeType["GeometryCollection"] = "GeometryCollection";
|
|
5179
5201
|
})(exports.AttributeType || (exports.AttributeType = {}));
|
|
5180
5202
|
/**
|
|
5181
5203
|
*
|
|
@@ -5456,40 +5478,34 @@ point
|
|
|
5456
5478
|
|
|
5457
5479
|
polyline
|
|
5458
5480
|
|
|
5459
|
-
|
|
5481
|
+
polygon
|
|
5460
5482
|
|
|
5461
5483
|
envelope
|
|
5462
5484
|
|
|
5463
5485
|
multipoint
|
|
5486
|
+
|
|
5487
|
+
line
|
|
5488
|
+
|
|
5489
|
+
ring
|
|
5490
|
+
|
|
5491
|
+
multipolygon
|
|
5492
|
+
|
|
5493
|
+
collection
|
|
5464
5494
|
*/
|
|
5465
5495
|
exports.GeometryType = void 0;
|
|
5466
5496
|
(function (GeometryType) {
|
|
5467
5497
|
GeometryType["Unknown"] = "unknown";
|
|
5468
5498
|
GeometryType["Point"] = "point";
|
|
5469
5499
|
GeometryType["Polyline"] = "polyline";
|
|
5470
|
-
GeometryType["Polygon"] = "
|
|
5500
|
+
GeometryType["Polygon"] = "polygon";
|
|
5471
5501
|
GeometryType["Envelope"] = "envelope";
|
|
5472
5502
|
GeometryType["Multipoint"] = "multipoint";
|
|
5503
|
+
GeometryType["LineString"] = "line";
|
|
5504
|
+
GeometryType["LinearRing"] = "ring";
|
|
5505
|
+
GeometryType["MultiPolygon"] = "multipolygon";
|
|
5506
|
+
GeometryType["GeometryCollection"] = "collection";
|
|
5473
5507
|
})(exports.GeometryType || (exports.GeometryType = {}));
|
|
5474
5508
|
/**
|
|
5475
|
-
* Resource group.
|
|
5476
|
-
|
|
5477
|
-
my
|
|
5478
|
-
|
|
5479
|
-
role
|
|
5480
|
-
|
|
5481
|
-
public
|
|
5482
|
-
|
|
5483
|
-
all
|
|
5484
|
-
*/
|
|
5485
|
-
exports.Group = void 0;
|
|
5486
|
-
(function (Group) {
|
|
5487
|
-
Group["My"] = "my";
|
|
5488
|
-
Group["Role"] = "role";
|
|
5489
|
-
Group["Public"] = "public";
|
|
5490
|
-
Group["All"] = "all";
|
|
5491
|
-
})(exports.Group || (exports.Group = {}));
|
|
5492
|
-
/**
|
|
5493
5509
|
* Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
|
|
5494
5510
|
|
|
5495
5511
|
xyz
|
|
@@ -5559,21 +5575,6 @@ exports.PolicyType = void 0;
|
|
|
5559
5575
|
PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
|
|
5560
5576
|
})(exports.PolicyType || (exports.PolicyType = {}));
|
|
5561
5577
|
/**
|
|
5562
|
-
* Stream quality.
|
|
5563
|
-
|
|
5564
|
-
Low
|
|
5565
|
-
|
|
5566
|
-
Medium
|
|
5567
|
-
|
|
5568
|
-
High
|
|
5569
|
-
*/
|
|
5570
|
-
exports.Quality = void 0;
|
|
5571
|
-
(function (Quality) {
|
|
5572
|
-
Quality["Low"] = "Low";
|
|
5573
|
-
Quality["Medium"] = "Medium";
|
|
5574
|
-
Quality["High"] = "High";
|
|
5575
|
-
})(exports.Quality || (exports.Quality = {}));
|
|
5576
|
-
/**
|
|
5577
5578
|
*
|
|
5578
5579
|
|
|
5579
5580
|
Init
|