@evergis/api 4.1.13 → 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/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/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Everpoint
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Everpoint
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @evergis/api
|
|
2
|
-
|
|
3
|
-
Библиотека API.
|
|
4
|
-
|
|
5
|
-
### Генерирование API
|
|
6
|
-
|
|
7
|
-
```shell
|
|
8
|
-
$ yarn generate
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы, размещенные в директории `src/__generated__`!
|
|
1
|
+
# @evergis/api
|
|
2
|
+
|
|
3
|
+
Библиотека API.
|
|
4
|
+
|
|
5
|
+
### Генерирование API
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
$ yarn generate
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы, размещенные в директории `src/__generated__`!
|
|
@@ -101,5 +101,5 @@ export declare class CamerasService extends Service {
|
|
|
101
101
|
* @secure
|
|
102
102
|
* @response `200` OK
|
|
103
103
|
*/
|
|
104
|
-
getLivePreviewStream({ cameraId, ...query }: GetLivePreviewStreamParams): Promise<
|
|
104
|
+
getLivePreviewStream({ cameraId, ...query }: GetLivePreviewStreamParams): Promise<IAsyncEnumerableLivePreviewDc>;
|
|
105
105
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AccessControlListDc, CatalogResourceDc, CopyResourceResultDc, CopyResourcesPayload, CreateDirectoryDc, CreateFile1Payload, CreateFilePayload, GetTagsParams, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceParentDc, SetPermissionsPayload } from './data-contracts';
|
|
2
|
+
import { AccessControlListDc, CatalogResourceDc, CopyResourceResultDc, CopyResourcesPayload, CreateDirectoryDc, CreateFile1Payload, CreateFilePayload, CreateSymlinkDc, GetTagsParams, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceParentDc, SetPermissionsPayload } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -42,6 +42,18 @@ export declare class CatalogService extends Service {
|
|
|
42
42
|
* @response `200` OK
|
|
43
43
|
*/
|
|
44
44
|
putTags(resourceId: string, data: PutTagsPayload): Promise<CatalogResourceDc>;
|
|
45
|
+
/**
|
|
46
|
+
* No description
|
|
47
|
+
*
|
|
48
|
+
* @tags Catalog
|
|
49
|
+
* @name PostLink
|
|
50
|
+
* @operationId CatalogController_PostLink
|
|
51
|
+
* @summary Put link to resource.
|
|
52
|
+
* @request POST:/resources/links
|
|
53
|
+
* @secure
|
|
54
|
+
* @response `200` OK
|
|
55
|
+
*/
|
|
56
|
+
postLink(data: CreateSymlinkDc): Promise<CatalogResourceDc>;
|
|
45
57
|
/**
|
|
46
58
|
* No description
|
|
47
59
|
*
|
|
@@ -90,6 +102,54 @@ export declare class CatalogService extends Service {
|
|
|
90
102
|
* @response `200` OK
|
|
91
103
|
*/
|
|
92
104
|
deleteResource(resourceId: string): Promise<void>;
|
|
105
|
+
/**
|
|
106
|
+
* No description
|
|
107
|
+
*
|
|
108
|
+
* @tags Catalog
|
|
109
|
+
* @name ResourceExistsByPath
|
|
110
|
+
* @operationId CatalogController_ResourceExistsByPathAsync
|
|
111
|
+
* @summary Check resource path is existing.
|
|
112
|
+
* @request GET:/resources/existsByPath/{path}
|
|
113
|
+
* @secure
|
|
114
|
+
* @response `200` OK
|
|
115
|
+
*/
|
|
116
|
+
resourceExistsByPath(path: string): Promise<boolean>;
|
|
117
|
+
/**
|
|
118
|
+
* No description
|
|
119
|
+
*
|
|
120
|
+
* @tags Catalog
|
|
121
|
+
* @name ResourceExistsById
|
|
122
|
+
* @operationId CatalogController_ResourceExistsByIdAsync
|
|
123
|
+
* @summary Check resource id is existing.
|
|
124
|
+
* @request GET:/resources/existsById/{resourceId}
|
|
125
|
+
* @secure
|
|
126
|
+
* @response `200` OK
|
|
127
|
+
*/
|
|
128
|
+
resourceExistsById(resourceId: string): Promise<boolean>;
|
|
129
|
+
/**
|
|
130
|
+
* No description
|
|
131
|
+
*
|
|
132
|
+
* @tags Catalog
|
|
133
|
+
* @name ResourceExistsByName
|
|
134
|
+
* @operationId CatalogController_ResourceExistsByNameAsync
|
|
135
|
+
* @summary Check resource path exists.
|
|
136
|
+
* @request GET:/resources/existsByName/{systemName}
|
|
137
|
+
* @secure
|
|
138
|
+
* @response `200` OK
|
|
139
|
+
*/
|
|
140
|
+
resourceExistsByName(systemName: string): Promise<boolean>;
|
|
141
|
+
/**
|
|
142
|
+
* No description
|
|
143
|
+
*
|
|
144
|
+
* @tags Catalog
|
|
145
|
+
* @name GetResourceByPath
|
|
146
|
+
* @operationId CatalogController_GetResourceByPath
|
|
147
|
+
* @summary Get resource with given path.
|
|
148
|
+
* @request GET:/resources/getByPath/{path}
|
|
149
|
+
* @secure
|
|
150
|
+
* @response `200` OK
|
|
151
|
+
*/
|
|
152
|
+
getResourceByPath(path: string): Promise<CatalogResourceDc>;
|
|
93
153
|
/**
|
|
94
154
|
* No description
|
|
95
155
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayersInfoParams,
|
|
2
|
+
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayersInfoParams, GetRasterMetaParams2, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, LinearServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, PythonServiceConfigurationDc, PythonServiceInfoDc, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteServiceConfigurationDc, ServiceInfoDc, TileCatalogServiceInfoDc, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -42,30 +42,6 @@ export declare class LayersService extends Service {
|
|
|
42
42
|
* @response `200` OK
|
|
43
43
|
*/
|
|
44
44
|
getFilteredFeaturesCount(data: GetFilteredFeaturesCountPayload): Promise<BulkFilteredFeaturesCountDc>;
|
|
45
|
-
/**
|
|
46
|
-
* No description
|
|
47
|
-
*
|
|
48
|
-
* @tags Layers
|
|
49
|
-
* @name GetLayersList
|
|
50
|
-
* @operationId LayersController_GetLayersList
|
|
51
|
-
* @summary Returns list of the available layers.
|
|
52
|
-
* @request GET:/layers
|
|
53
|
-
* @secure
|
|
54
|
-
* @response `200` OK
|
|
55
|
-
*/
|
|
56
|
-
getLayersList(query: GetLayersListParams): Promise<ServiceListDc>;
|
|
57
|
-
/**
|
|
58
|
-
* No description
|
|
59
|
-
*
|
|
60
|
-
* @tags Layers
|
|
61
|
-
* @name DeleteResources
|
|
62
|
-
* @operationId LayersController_DeleteResources
|
|
63
|
-
* @summary Bulk delete resources.
|
|
64
|
-
* @request DELETE:/layers
|
|
65
|
-
* @secure
|
|
66
|
-
* @response `200` OK
|
|
67
|
-
*/
|
|
68
|
-
deleteResources(query: DeleteResourcesParams): Promise<BulkOperationResultDc[]>;
|
|
69
45
|
/**
|
|
70
46
|
* No description
|
|
71
47
|
*
|
|
@@ -558,4 +534,16 @@ export declare class LayersService extends Service {
|
|
|
558
534
|
* @response `200` OK
|
|
559
535
|
*/
|
|
560
536
|
getResourceReferences(name: string): Promise<ResourceDependenciesDc>;
|
|
537
|
+
/**
|
|
538
|
+
* No description
|
|
539
|
+
*
|
|
540
|
+
* @tags Layers
|
|
541
|
+
* @name DeleteResources
|
|
542
|
+
* @operationId LayersController_DeleteResources
|
|
543
|
+
* @summary Bulk delete resources.
|
|
544
|
+
* @request DELETE:/layers
|
|
545
|
+
* @secure
|
|
546
|
+
* @response `200` OK
|
|
547
|
+
*/
|
|
548
|
+
deleteResources(query: DeleteResourcesParams): Promise<BulkOperationResultDc[]>;
|
|
561
549
|
}
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { BulkOperationResultDc, CatalogConfigurationDc,
|
|
2
|
+
import { BulkOperationResultDc, CatalogConfigurationDc, DeleteResourcesParams2, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, GetProjectEnvelopeParams, GetProjectsInfoParams, Operation, PatchProjectConfigurationPayload, PutProjectConfigurationPayload, ResourceDependenciesDc, UpdateProjectV2Payload } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
5
|
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class ProjectsService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags Projects
|
|
13
|
-
* @name GetProjectsList
|
|
14
|
-
* @operationId ProjectsController_GetProjectsList
|
|
15
|
-
* @summary Returns the list of projects.
|
|
16
|
-
* @request GET:/projects
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
getProjectsList(query: GetProjectsListParams): Promise<PagedListProjectInfoDc>;
|
|
21
9
|
/**
|
|
22
10
|
* No description
|
|
23
11
|
*
|
|
@@ -133,11 +121,11 @@ export declare class ProjectsService extends Service {
|
|
|
133
121
|
* @name PatchProjectConfiguration
|
|
134
122
|
* @operationId ProjectsController_PatchProjectConfiguration
|
|
135
123
|
* @summary Applies partial updates using JSON Patch.
|
|
136
|
-
* @request PATCH:/projects/{name}/
|
|
124
|
+
* @request PATCH:/projects/{name}/devConfiguration
|
|
137
125
|
* @secure
|
|
138
126
|
* @response `200` OK
|
|
139
127
|
*/
|
|
140
|
-
patchProjectConfiguration(
|
|
128
|
+
patchProjectConfiguration(name: string, data: PatchProjectConfigurationPayload): Promise<CatalogConfigurationDc>;
|
|
141
129
|
/**
|
|
142
130
|
* No description
|
|
143
131
|
*
|
|
@@ -145,11 +133,11 @@ export declare class ProjectsService extends Service {
|
|
|
145
133
|
* @name PutProjectConfiguration
|
|
146
134
|
* @operationId ProjectsController_PutProjectConfiguration
|
|
147
135
|
* @summary Creates or updates configuration (full replacement).
|
|
148
|
-
* @request PUT:/projects/{name}/
|
|
136
|
+
* @request PUT:/projects/{name}/devConfiguration
|
|
149
137
|
* @secure
|
|
150
138
|
* @response `200` OK
|
|
151
139
|
*/
|
|
152
|
-
putProjectConfiguration(
|
|
140
|
+
putProjectConfiguration(name: string, data: PutProjectConfigurationPayload): Promise<CatalogConfigurationDc>;
|
|
153
141
|
/**
|
|
154
142
|
* No description
|
|
155
143
|
*
|
|
@@ -157,11 +145,11 @@ export declare class ProjectsService extends Service {
|
|
|
157
145
|
* @name GetProjectConfiguration
|
|
158
146
|
* @operationId ProjectsController_GetProjectConfiguration
|
|
159
147
|
* @summary Gets configuration for a resource and type.
|
|
160
|
-
* @request GET:/projects/{name}/
|
|
148
|
+
* @request GET:/projects/{name}/devConfiguration
|
|
161
149
|
* @secure
|
|
162
150
|
* @response `200` OK
|
|
163
151
|
*/
|
|
164
|
-
getProjectConfiguration(
|
|
152
|
+
getProjectConfiguration(name: string): Promise<CatalogConfigurationDc>;
|
|
165
153
|
/**
|
|
166
154
|
* No description
|
|
167
155
|
*
|
|
@@ -169,11 +157,11 @@ export declare class ProjectsService extends Service {
|
|
|
169
157
|
* @name DeleteProjectConfiguration
|
|
170
158
|
* @operationId ProjectsController_DeleteProjectConfiguration
|
|
171
159
|
* @summary Creates or updates configuration (full replacement).
|
|
172
|
-
* @request DELETE:/projects/{name}/
|
|
160
|
+
* @request DELETE:/projects/{name}/devConfiguration
|
|
173
161
|
* @secure
|
|
174
162
|
* @response `200` OK
|
|
175
163
|
*/
|
|
176
|
-
deleteProjectConfiguration(
|
|
164
|
+
deleteProjectConfiguration(name: string): Promise<CatalogConfigurationDc>;
|
|
177
165
|
/**
|
|
178
166
|
* No description
|
|
179
167
|
*
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams4, DeleteTableDataParams, DetailedTableInfoDc, GetTableDataParams,
|
|
2
|
+
import { BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams4, DeleteTableDataParams, DetailedTableInfoDc, GetTableDataParams, GetTablesInfoParams, MapTableInfoDc, MapTableParams, PagedBulkFeaturesListDc, PagedFeaturesListDc, PagedListFeatureDc, ResourceDependenciesDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
5
|
* @version 1.5.1.0
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class TablesService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags Tables
|
|
13
|
-
* @name GetTableList
|
|
14
|
-
* @operationId TablesController_GetTableList
|
|
15
|
-
* @summary Returns the list of tables in data service.
|
|
16
|
-
* @request GET:/tables
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
getTableList(query: GetTableListParams): Promise<PagedListTableListItemDc>;
|
|
21
9
|
/**
|
|
22
10
|
* No description
|
|
23
11
|
*
|