@evergis/api 4.1.12 → 4.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__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/api.esm.js
CHANGED
|
@@ -1462,6 +1462,20 @@ class CatalogService extends Service {
|
|
|
1462
1462
|
putTags(resourceId, data) {
|
|
1463
1463
|
return this.http.put(`/resources/${resourceId}/tags`, data).json();
|
|
1464
1464
|
}
|
|
1465
|
+
/**
|
|
1466
|
+
* No description
|
|
1467
|
+
*
|
|
1468
|
+
* @tags Catalog
|
|
1469
|
+
* @name PostLink
|
|
1470
|
+
* @operationId CatalogController_PostLink
|
|
1471
|
+
* @summary Put link to resource.
|
|
1472
|
+
* @request POST:/resources/links
|
|
1473
|
+
* @secure
|
|
1474
|
+
* @response `200` OK
|
|
1475
|
+
*/
|
|
1476
|
+
postLink(data) {
|
|
1477
|
+
return this.http.post(`/resources/links`, data).json();
|
|
1478
|
+
}
|
|
1465
1479
|
/**
|
|
1466
1480
|
* No description
|
|
1467
1481
|
*
|
|
@@ -1518,6 +1532,62 @@ class CatalogService extends Service {
|
|
|
1518
1532
|
deleteResource(resourceId) {
|
|
1519
1533
|
return this.http.delete(`/resources/${resourceId}`, null).then(() => { });
|
|
1520
1534
|
}
|
|
1535
|
+
/**
|
|
1536
|
+
* No description
|
|
1537
|
+
*
|
|
1538
|
+
* @tags Catalog
|
|
1539
|
+
* @name ResourceExistsByPath
|
|
1540
|
+
* @operationId CatalogController_ResourceExistsByPathAsync
|
|
1541
|
+
* @summary Check resource path is existing.
|
|
1542
|
+
* @request GET:/resources/existsByPath/{path}
|
|
1543
|
+
* @secure
|
|
1544
|
+
* @response `200` OK
|
|
1545
|
+
*/
|
|
1546
|
+
resourceExistsByPath(path) {
|
|
1547
|
+
return this.http.get(`/resources/existsByPath/${path}`).json();
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* No description
|
|
1551
|
+
*
|
|
1552
|
+
* @tags Catalog
|
|
1553
|
+
* @name ResourceExistsById
|
|
1554
|
+
* @operationId CatalogController_ResourceExistsByIdAsync
|
|
1555
|
+
* @summary Check resource id is existing.
|
|
1556
|
+
* @request GET:/resources/existsById/{resourceId}
|
|
1557
|
+
* @secure
|
|
1558
|
+
* @response `200` OK
|
|
1559
|
+
*/
|
|
1560
|
+
resourceExistsById(resourceId) {
|
|
1561
|
+
return this.http.get(`/resources/existsById/${resourceId}`).json();
|
|
1562
|
+
}
|
|
1563
|
+
/**
|
|
1564
|
+
* No description
|
|
1565
|
+
*
|
|
1566
|
+
* @tags Catalog
|
|
1567
|
+
* @name ResourceExistsByName
|
|
1568
|
+
* @operationId CatalogController_ResourceExistsByNameAsync
|
|
1569
|
+
* @summary Check resource path exists.
|
|
1570
|
+
* @request GET:/resources/existsByName/{systemName}
|
|
1571
|
+
* @secure
|
|
1572
|
+
* @response `200` OK
|
|
1573
|
+
*/
|
|
1574
|
+
resourceExistsByName(systemName) {
|
|
1575
|
+
return this.http.get(`/resources/existsByName/${systemName}`).json();
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* No description
|
|
1579
|
+
*
|
|
1580
|
+
* @tags Catalog
|
|
1581
|
+
* @name GetResourceByPath
|
|
1582
|
+
* @operationId CatalogController_GetResourceByPath
|
|
1583
|
+
* @summary Get resource with given path.
|
|
1584
|
+
* @request GET:/resources/getByPath/{path}
|
|
1585
|
+
* @secure
|
|
1586
|
+
* @response `200` OK
|
|
1587
|
+
*/
|
|
1588
|
+
getResourceByPath(path) {
|
|
1589
|
+
return this.http.get(`/resources/getByPath/${path}`).json();
|
|
1590
|
+
}
|
|
1521
1591
|
/**
|
|
1522
1592
|
* No description
|
|
1523
1593
|
*
|
|
@@ -2767,34 +2837,6 @@ class LayersService extends Service {
|
|
|
2767
2837
|
getFilteredFeaturesCount(data) {
|
|
2768
2838
|
return this.http.post(`/bulk/layers/features/count`, data).json();
|
|
2769
2839
|
}
|
|
2770
|
-
/**
|
|
2771
|
-
* No description
|
|
2772
|
-
*
|
|
2773
|
-
* @tags Layers
|
|
2774
|
-
* @name GetLayersList
|
|
2775
|
-
* @operationId LayersController_GetLayersList
|
|
2776
|
-
* @summary Returns list of the available layers.
|
|
2777
|
-
* @request GET:/layers
|
|
2778
|
-
* @secure
|
|
2779
|
-
* @response `200` OK
|
|
2780
|
-
*/
|
|
2781
|
-
getLayersList(query) {
|
|
2782
|
-
return this.http.get(`/layers`, query).json();
|
|
2783
|
-
}
|
|
2784
|
-
/**
|
|
2785
|
-
* No description
|
|
2786
|
-
*
|
|
2787
|
-
* @tags Layers
|
|
2788
|
-
* @name DeleteResources
|
|
2789
|
-
* @operationId LayersController_DeleteResources
|
|
2790
|
-
* @summary Bulk delete resources.
|
|
2791
|
-
* @request DELETE:/layers
|
|
2792
|
-
* @secure
|
|
2793
|
-
* @response `200` OK
|
|
2794
|
-
*/
|
|
2795
|
-
deleteResources(query) {
|
|
2796
|
-
return this.http.delete(`/layers`, null, query).json();
|
|
2797
|
-
}
|
|
2798
2840
|
/**
|
|
2799
2841
|
* No description
|
|
2800
2842
|
*
|
|
@@ -3375,6 +3417,20 @@ class LayersService extends Service {
|
|
|
3375
3417
|
getResourceReferences(name) {
|
|
3376
3418
|
return this.http.get(`/layers/${name}/references`).json();
|
|
3377
3419
|
}
|
|
3420
|
+
/**
|
|
3421
|
+
* No description
|
|
3422
|
+
*
|
|
3423
|
+
* @tags Layers
|
|
3424
|
+
* @name DeleteResources
|
|
3425
|
+
* @operationId LayersController_DeleteResources
|
|
3426
|
+
* @summary Bulk delete resources.
|
|
3427
|
+
* @request DELETE:/layers
|
|
3428
|
+
* @secure
|
|
3429
|
+
* @response `200` OK
|
|
3430
|
+
*/
|
|
3431
|
+
deleteResources(query) {
|
|
3432
|
+
return this.http.delete(`/layers`, null, query).json();
|
|
3433
|
+
}
|
|
3378
3434
|
}
|
|
3379
3435
|
|
|
3380
3436
|
class Layers extends LayersService {
|
|
@@ -3384,21 +3440,12 @@ class Layers extends LayersService {
|
|
|
3384
3440
|
getLayersDeps(layers) {
|
|
3385
3441
|
return promiseAllIgnoreErrors(layers.map(layer => this.getResourceDependencies(layer)));
|
|
3386
3442
|
}
|
|
3387
|
-
getBasemaps(params) {
|
|
3388
|
-
return this.getLayersList({
|
|
3389
|
-
...params,
|
|
3390
|
-
types: ["LocalTileService", "RemoteTileService"],
|
|
3391
|
-
});
|
|
3392
|
-
}
|
|
3393
3443
|
findOne(name) {
|
|
3394
3444
|
return this.getLayerInfo(name);
|
|
3395
3445
|
}
|
|
3396
3446
|
findMany(layerNames, projectNames) {
|
|
3397
3447
|
return this.getLayersInfo({ layerNames, projectNames });
|
|
3398
3448
|
}
|
|
3399
|
-
findAll(params) {
|
|
3400
|
-
return this.getLayersList(params);
|
|
3401
|
-
}
|
|
3402
3449
|
createQueryLayer(configuration) {
|
|
3403
3450
|
return this.publishQueryLayerService(configuration);
|
|
3404
3451
|
}
|
|
@@ -3727,20 +3774,6 @@ class PortalSettings extends ClientSettingsService {
|
|
|
3727
3774
|
* @baseUrl /sp
|
|
3728
3775
|
*/
|
|
3729
3776
|
class ProjectsService extends Service {
|
|
3730
|
-
/**
|
|
3731
|
-
* No description
|
|
3732
|
-
*
|
|
3733
|
-
* @tags Projects
|
|
3734
|
-
* @name GetProjectsList
|
|
3735
|
-
* @operationId ProjectsController_GetProjectsList
|
|
3736
|
-
* @summary Returns the list of projects.
|
|
3737
|
-
* @request GET:/projects
|
|
3738
|
-
* @secure
|
|
3739
|
-
* @response `200` OK
|
|
3740
|
-
*/
|
|
3741
|
-
getProjectsList(query) {
|
|
3742
|
-
return this.http.get(`/projects`, query).json();
|
|
3743
|
-
}
|
|
3744
3777
|
/**
|
|
3745
3778
|
* No description
|
|
3746
3779
|
*
|
|
@@ -3874,12 +3907,12 @@ class ProjectsService extends Service {
|
|
|
3874
3907
|
* @name PatchProjectConfiguration
|
|
3875
3908
|
* @operationId ProjectsController_PatchProjectConfiguration
|
|
3876
3909
|
* @summary Applies partial updates using JSON Patch.
|
|
3877
|
-
* @request PATCH:/projects/{name}/
|
|
3910
|
+
* @request PATCH:/projects/{name}/devConfiguration
|
|
3878
3911
|
* @secure
|
|
3879
3912
|
* @response `200` OK
|
|
3880
3913
|
*/
|
|
3881
|
-
patchProjectConfiguration(
|
|
3882
|
-
return this.http.patch(`/projects/${name}/
|
|
3914
|
+
patchProjectConfiguration(name, data) {
|
|
3915
|
+
return this.http.patch(`/projects/${name}/devConfiguration`, data).json();
|
|
3883
3916
|
}
|
|
3884
3917
|
/**
|
|
3885
3918
|
* No description
|
|
@@ -3888,12 +3921,12 @@ class ProjectsService extends Service {
|
|
|
3888
3921
|
* @name PutProjectConfiguration
|
|
3889
3922
|
* @operationId ProjectsController_PutProjectConfiguration
|
|
3890
3923
|
* @summary Creates or updates configuration (full replacement).
|
|
3891
|
-
* @request PUT:/projects/{name}/
|
|
3924
|
+
* @request PUT:/projects/{name}/devConfiguration
|
|
3892
3925
|
* @secure
|
|
3893
3926
|
* @response `200` OK
|
|
3894
3927
|
*/
|
|
3895
|
-
putProjectConfiguration(
|
|
3896
|
-
return this.http.put(`/projects/${name}/
|
|
3928
|
+
putProjectConfiguration(name, data) {
|
|
3929
|
+
return this.http.put(`/projects/${name}/devConfiguration`, data).json();
|
|
3897
3930
|
}
|
|
3898
3931
|
/**
|
|
3899
3932
|
* No description
|
|
@@ -3902,12 +3935,12 @@ class ProjectsService extends Service {
|
|
|
3902
3935
|
* @name GetProjectConfiguration
|
|
3903
3936
|
* @operationId ProjectsController_GetProjectConfiguration
|
|
3904
3937
|
* @summary Gets configuration for a resource and type.
|
|
3905
|
-
* @request GET:/projects/{name}/
|
|
3938
|
+
* @request GET:/projects/{name}/devConfiguration
|
|
3906
3939
|
* @secure
|
|
3907
3940
|
* @response `200` OK
|
|
3908
3941
|
*/
|
|
3909
|
-
getProjectConfiguration(
|
|
3910
|
-
return this.http.get(`/projects/${name}/
|
|
3942
|
+
getProjectConfiguration(name) {
|
|
3943
|
+
return this.http.get(`/projects/${name}/devConfiguration`).json();
|
|
3911
3944
|
}
|
|
3912
3945
|
/**
|
|
3913
3946
|
* No description
|
|
@@ -3916,12 +3949,12 @@ class ProjectsService extends Service {
|
|
|
3916
3949
|
* @name DeleteProjectConfiguration
|
|
3917
3950
|
* @operationId ProjectsController_DeleteProjectConfiguration
|
|
3918
3951
|
* @summary Creates or updates configuration (full replacement).
|
|
3919
|
-
* @request DELETE:/projects/{name}/
|
|
3952
|
+
* @request DELETE:/projects/{name}/devConfiguration
|
|
3920
3953
|
* @secure
|
|
3921
3954
|
* @response `200` OK
|
|
3922
3955
|
*/
|
|
3923
|
-
deleteProjectConfiguration(
|
|
3924
|
-
return this.http.delete(`/projects/${name}/
|
|
3956
|
+
deleteProjectConfiguration(name) {
|
|
3957
|
+
return this.http.delete(`/projects/${name}/devConfiguration`, null).json();
|
|
3925
3958
|
}
|
|
3926
3959
|
/**
|
|
3927
3960
|
* No description
|
|
@@ -4019,9 +4052,6 @@ class Projects extends ProjectsService {
|
|
|
4019
4052
|
findOne(name) {
|
|
4020
4053
|
return this.getProjectInfo(name);
|
|
4021
4054
|
}
|
|
4022
|
-
findAll(params) {
|
|
4023
|
-
return this.getProjectsList(params);
|
|
4024
|
-
}
|
|
4025
4055
|
create(resource) {
|
|
4026
4056
|
return this.createProject(resource);
|
|
4027
4057
|
}
|
|
@@ -4660,20 +4690,6 @@ class Statistic extends StatisticService {
|
|
|
4660
4690
|
* @baseUrl /sp
|
|
4661
4691
|
*/
|
|
4662
4692
|
class TablesService extends Service {
|
|
4663
|
-
/**
|
|
4664
|
-
* No description
|
|
4665
|
-
*
|
|
4666
|
-
* @tags Tables
|
|
4667
|
-
* @name GetTableList
|
|
4668
|
-
* @operationId TablesController_GetTableList
|
|
4669
|
-
* @summary Returns the list of tables in data service.
|
|
4670
|
-
* @request GET:/tables
|
|
4671
|
-
* @secure
|
|
4672
|
-
* @response `200` OK
|
|
4673
|
-
*/
|
|
4674
|
-
getTableList(query) {
|
|
4675
|
-
return this.http.get(`/tables`, query).json();
|
|
4676
|
-
}
|
|
4677
4693
|
/**
|
|
4678
4694
|
* No description
|
|
4679
4695
|
*
|
|
@@ -4937,9 +4953,6 @@ class Tables extends TablesService {
|
|
|
4937
4953
|
findOne(name) {
|
|
4938
4954
|
return this.getTableInfo(name);
|
|
4939
4955
|
}
|
|
4940
|
-
findAll(params) {
|
|
4941
|
-
return this.getTableList(params);
|
|
4942
|
-
}
|
|
4943
4956
|
create(resource) {
|
|
4944
4957
|
return this.createTable(resource);
|
|
4945
4958
|
}
|
|
@@ -5150,15 +5163,21 @@ Boolean
|
|
|
5150
5163
|
|
|
5151
5164
|
Point
|
|
5152
5165
|
|
|
5153
|
-
|
|
5166
|
+
LineString
|
|
5154
5167
|
|
|
5155
|
-
|
|
5168
|
+
Polygon
|
|
5156
5169
|
|
|
5157
5170
|
Multipoint
|
|
5158
5171
|
|
|
5172
|
+
Polyline
|
|
5173
|
+
|
|
5159
5174
|
H3Index
|
|
5160
5175
|
|
|
5161
5176
|
Json
|
|
5177
|
+
|
|
5178
|
+
MultiPolygon
|
|
5179
|
+
|
|
5180
|
+
GeometryCollection
|
|
5162
5181
|
*/
|
|
5163
5182
|
var AttributeType;
|
|
5164
5183
|
(function (AttributeType) {
|
|
@@ -5170,11 +5189,14 @@ var AttributeType;
|
|
|
5170
5189
|
AttributeType["DateTime"] = "DateTime";
|
|
5171
5190
|
AttributeType["Boolean"] = "Boolean";
|
|
5172
5191
|
AttributeType["Point"] = "Point";
|
|
5173
|
-
AttributeType["
|
|
5174
|
-
AttributeType["
|
|
5192
|
+
AttributeType["LineString"] = "LineString";
|
|
5193
|
+
AttributeType["Polygon"] = "Polygon";
|
|
5175
5194
|
AttributeType["Multipoint"] = "Multipoint";
|
|
5195
|
+
AttributeType["Polyline"] = "Polyline";
|
|
5176
5196
|
AttributeType["H3Index"] = "H3Index";
|
|
5177
5197
|
AttributeType["Json"] = "Json";
|
|
5198
|
+
AttributeType["MultiPolygon"] = "MultiPolygon";
|
|
5199
|
+
AttributeType["GeometryCollection"] = "GeometryCollection";
|
|
5178
5200
|
})(AttributeType || (AttributeType = {}));
|
|
5179
5201
|
/**
|
|
5180
5202
|
*
|
|
@@ -5455,40 +5477,34 @@ point
|
|
|
5455
5477
|
|
|
5456
5478
|
polyline
|
|
5457
5479
|
|
|
5458
|
-
|
|
5480
|
+
polygon
|
|
5459
5481
|
|
|
5460
5482
|
envelope
|
|
5461
5483
|
|
|
5462
5484
|
multipoint
|
|
5485
|
+
|
|
5486
|
+
line
|
|
5487
|
+
|
|
5488
|
+
ring
|
|
5489
|
+
|
|
5490
|
+
multipolygon
|
|
5491
|
+
|
|
5492
|
+
collection
|
|
5463
5493
|
*/
|
|
5464
5494
|
var GeometryType;
|
|
5465
5495
|
(function (GeometryType) {
|
|
5466
5496
|
GeometryType["Unknown"] = "unknown";
|
|
5467
5497
|
GeometryType["Point"] = "point";
|
|
5468
5498
|
GeometryType["Polyline"] = "polyline";
|
|
5469
|
-
GeometryType["Polygon"] = "
|
|
5499
|
+
GeometryType["Polygon"] = "polygon";
|
|
5470
5500
|
GeometryType["Envelope"] = "envelope";
|
|
5471
5501
|
GeometryType["Multipoint"] = "multipoint";
|
|
5502
|
+
GeometryType["LineString"] = "line";
|
|
5503
|
+
GeometryType["LinearRing"] = "ring";
|
|
5504
|
+
GeometryType["MultiPolygon"] = "multipolygon";
|
|
5505
|
+
GeometryType["GeometryCollection"] = "collection";
|
|
5472
5506
|
})(GeometryType || (GeometryType = {}));
|
|
5473
5507
|
/**
|
|
5474
|
-
* Resource group.
|
|
5475
|
-
|
|
5476
|
-
my
|
|
5477
|
-
|
|
5478
|
-
role
|
|
5479
|
-
|
|
5480
|
-
public
|
|
5481
|
-
|
|
5482
|
-
all
|
|
5483
|
-
*/
|
|
5484
|
-
var Group;
|
|
5485
|
-
(function (Group) {
|
|
5486
|
-
Group["My"] = "my";
|
|
5487
|
-
Group["Role"] = "role";
|
|
5488
|
-
Group["Public"] = "public";
|
|
5489
|
-
Group["All"] = "all";
|
|
5490
|
-
})(Group || (Group = {}));
|
|
5491
|
-
/**
|
|
5492
5508
|
* Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
|
|
5493
5509
|
|
|
5494
5510
|
xyz
|
|
@@ -5558,21 +5574,6 @@ var PolicyType;
|
|
|
5558
5574
|
PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
|
|
5559
5575
|
})(PolicyType || (PolicyType = {}));
|
|
5560
5576
|
/**
|
|
5561
|
-
* Stream quality.
|
|
5562
|
-
|
|
5563
|
-
Low
|
|
5564
|
-
|
|
5565
|
-
Medium
|
|
5566
|
-
|
|
5567
|
-
High
|
|
5568
|
-
*/
|
|
5569
|
-
var Quality;
|
|
5570
|
-
(function (Quality) {
|
|
5571
|
-
Quality["Low"] = "Low";
|
|
5572
|
-
Quality["Medium"] = "Medium";
|
|
5573
|
-
Quality["High"] = "High";
|
|
5574
|
-
})(Quality || (Quality = {}));
|
|
5575
|
-
/**
|
|
5576
5577
|
*
|
|
5577
5578
|
|
|
5578
5579
|
Init
|
|
@@ -5837,5 +5838,5 @@ var WorkerSettingsFieldType;
|
|
|
5837
5838
|
WorkerSettingsFieldType["AttributeArray"] = "AttributeArray";
|
|
5838
5839
|
})(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
|
|
5839
5840
|
|
|
5840
|
-
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConfigurationType, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, GeometryType,
|
|
5841
|
+
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConfigurationType, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, GeometryType, HttpClient, Import, Layers, Names, Notification, NotificationEvent, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique, useToken };
|
|
5841
5842
|
//# sourceMappingURL=api.esm.js.map
|