@evergis/api 4.1.24 → 4.1.27
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__/CatalogService.d.ts +12 -0
- package/dist/__generated__/ExternalProvidersService.d.ts +43 -7
- package/dist/__generated__/LayersService.d.ts +6 -18
- package/dist/__generated__/ProjectsService.d.ts +0 -12
- package/dist/__generated__/TablesService.d.ts +0 -12
- package/dist/__generated__/data-contracts.d.ts +107 -694
- package/dist/api.esm.js +75 -55
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +75 -55
- package/dist/index.js.map +1 -1
- package/dist/services/Account.d.ts +1 -1
- package/dist/services/Layers.d.ts +4 -4
- 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__`!
|
|
@@ -162,6 +162,18 @@ export declare class CatalogService extends Service {
|
|
|
162
162
|
* @response `200` OK
|
|
163
163
|
*/
|
|
164
164
|
postGetResourceByPath(data: GetByPathDc): Promise<CatalogResourceDc>;
|
|
165
|
+
/**
|
|
166
|
+
* No description
|
|
167
|
+
*
|
|
168
|
+
* @tags Catalog
|
|
169
|
+
* @name GetBySystemName
|
|
170
|
+
* @operationId CatalogController_GetBySystemName
|
|
171
|
+
* @summary Get resource with given system name.
|
|
172
|
+
* @request GET:/resources/getBySystemName/{systemName}
|
|
173
|
+
* @secure
|
|
174
|
+
* @response `200` OK
|
|
175
|
+
*/
|
|
176
|
+
getBySystemName(systemName: string): Promise<CatalogResourceDc>;
|
|
165
177
|
/**
|
|
166
178
|
* No description
|
|
167
179
|
*
|
|
@@ -41,6 +41,18 @@ export declare class ExternalProvidersService extends Service {
|
|
|
41
41
|
* @response `200` OK
|
|
42
42
|
*/
|
|
43
43
|
vkLogin(): string;
|
|
44
|
+
/**
|
|
45
|
+
* No description
|
|
46
|
+
*
|
|
47
|
+
* @tags ExternalProviders
|
|
48
|
+
* @name VkLoginOld
|
|
49
|
+
* @operationId ExternalProvidersController_VkLoginOld
|
|
50
|
+
* @summary The external login by vk.
|
|
51
|
+
* @request GET:/account/external/login/vk-old
|
|
52
|
+
* @secure
|
|
53
|
+
* @response `200` OK
|
|
54
|
+
*/
|
|
55
|
+
vkLoginOld(): Promise<void>;
|
|
44
56
|
/**
|
|
45
57
|
* No description
|
|
46
58
|
*
|
|
@@ -71,7 +83,7 @@ export declare class ExternalProvidersService extends Service {
|
|
|
71
83
|
* @tags ExternalProviders
|
|
72
84
|
* @name UnbindFacebook
|
|
73
85
|
* @operationId ExternalProvidersController_UnbindFacebook
|
|
74
|
-
* @summary Unbind external login from current user account (
|
|
86
|
+
* @summary Unbind external login from current user account (facebook).
|
|
75
87
|
* @request DELETE:/account/external/unbind/facebook
|
|
76
88
|
* @secure
|
|
77
89
|
* @response `200` OK
|
|
@@ -95,12 +107,24 @@ export declare class ExternalProvidersService extends Service {
|
|
|
95
107
|
* @tags ExternalProviders
|
|
96
108
|
* @name UnbindVk
|
|
97
109
|
* @operationId ExternalProvidersController_UnbindVk
|
|
98
|
-
* @summary Unbind external login from current user account (
|
|
110
|
+
* @summary Unbind external login from current user account (vk).
|
|
99
111
|
* @request DELETE:/account/external/unbind/vk
|
|
100
112
|
* @secure
|
|
101
113
|
* @response `200` OK
|
|
102
114
|
*/
|
|
103
115
|
unbindVk(): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* No description
|
|
118
|
+
*
|
|
119
|
+
* @tags ExternalProviders
|
|
120
|
+
* @name UnbindVkOld
|
|
121
|
+
* @operationId ExternalProvidersController_UnbindVkOld
|
|
122
|
+
* @summary Unbind external login from current user account (vk).
|
|
123
|
+
* @request DELETE:/account/external/unbind/vk-old
|
|
124
|
+
* @secure
|
|
125
|
+
* @response `200` OK
|
|
126
|
+
*/
|
|
127
|
+
unbindVkOld(): Promise<void>;
|
|
104
128
|
/**
|
|
105
129
|
* No description
|
|
106
130
|
*
|
|
@@ -119,7 +143,7 @@ export declare class ExternalProvidersService extends Service {
|
|
|
119
143
|
* @tags ExternalProviders
|
|
120
144
|
* @name BindFacebook
|
|
121
145
|
* @operationId ExternalProvidersController_BindFacebook
|
|
122
|
-
* @summary
|
|
146
|
+
* @summary Bind external login from current user account (facebook).
|
|
123
147
|
* @request GET:/account/external/bind/facebook
|
|
124
148
|
* @secure
|
|
125
149
|
* @response `200` OK
|
|
@@ -131,7 +155,7 @@ export declare class ExternalProvidersService extends Service {
|
|
|
131
155
|
* @tags ExternalProviders
|
|
132
156
|
* @name BindGoogle
|
|
133
157
|
* @operationId ExternalProvidersController_BindGoogle
|
|
134
|
-
* @summary
|
|
158
|
+
* @summary Bind external login from current user account (google).
|
|
135
159
|
* @request GET:/account/external/bind/google
|
|
136
160
|
* @secure
|
|
137
161
|
* @response `200` OK
|
|
@@ -143,19 +167,31 @@ export declare class ExternalProvidersService extends Service {
|
|
|
143
167
|
* @tags ExternalProviders
|
|
144
168
|
* @name BindVk
|
|
145
169
|
* @operationId ExternalProvidersController_BindVk
|
|
146
|
-
* @summary
|
|
170
|
+
* @summary Bind external login from current user account (vk).
|
|
147
171
|
* @request GET:/account/external/bind/vk
|
|
148
172
|
* @secure
|
|
149
173
|
* @response `200` OK
|
|
150
174
|
*/
|
|
151
175
|
bindVk(): string;
|
|
176
|
+
/**
|
|
177
|
+
* No description
|
|
178
|
+
*
|
|
179
|
+
* @tags ExternalProviders
|
|
180
|
+
* @name BindVkOld
|
|
181
|
+
* @operationId ExternalProvidersController_BindVkOld
|
|
182
|
+
* @summary Bind external login from current user account (vk).
|
|
183
|
+
* @request GET:/account/external/bind/vk-old
|
|
184
|
+
* @secure
|
|
185
|
+
* @response `200` OK
|
|
186
|
+
*/
|
|
187
|
+
bindVkOld(): Promise<void>;
|
|
152
188
|
/**
|
|
153
189
|
* No description
|
|
154
190
|
*
|
|
155
191
|
* @tags ExternalProviders
|
|
156
192
|
* @name BindYandex
|
|
157
193
|
* @operationId ExternalProvidersController_BindYandex
|
|
158
|
-
* @summary
|
|
194
|
+
* @summary Bind external login from current user account (yandex).
|
|
159
195
|
* @request GET:/account/external/bind/yandex
|
|
160
196
|
* @secure
|
|
161
197
|
* @response `200` OK
|
|
@@ -167,7 +203,7 @@ export declare class ExternalProvidersService extends Service {
|
|
|
167
203
|
* @tags ExternalProviders
|
|
168
204
|
* @name BindCallback
|
|
169
205
|
* @operationId ExternalProvidersController_BindCallback
|
|
170
|
-
* @summary
|
|
206
|
+
* @summary Callback for bind external login to current user account.
|
|
171
207
|
* @request GET:/account/external/bind/callback
|
|
172
208
|
* @secure
|
|
173
209
|
* @response `200` OK
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesParams, 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,
|
|
2
|
+
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FailedServiceInfoDc, FeatureDc, FeatureLayerServiceInfoDc, 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, 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
|
|
@@ -53,19 +53,7 @@ export declare class LayersService extends Service {
|
|
|
53
53
|
* @secure
|
|
54
54
|
* @response `200` OK
|
|
55
55
|
*/
|
|
56
|
-
getLayerInfo(name: string): Promise<
|
|
57
|
-
/**
|
|
58
|
-
* No description
|
|
59
|
-
*
|
|
60
|
-
* @tags Layers
|
|
61
|
-
* @name DeleteResource
|
|
62
|
-
* @operationId LayersController_DeleteResource
|
|
63
|
-
* @summary Deletes resource.
|
|
64
|
-
* @request DELETE:/layers/{name}
|
|
65
|
-
* @secure
|
|
66
|
-
* @response `200` OK
|
|
67
|
-
*/
|
|
68
|
-
deleteResource(name: string): Promise<void>;
|
|
56
|
+
getLayerInfo(name: string): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | PbfServiceInfoDc | FailedServiceInfoDc | FeatureLayerServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc>;
|
|
69
57
|
/**
|
|
70
58
|
* No description
|
|
71
59
|
*
|
|
@@ -77,7 +65,7 @@ export declare class LayersService extends Service {
|
|
|
77
65
|
* @secure
|
|
78
66
|
* @response `200` OK
|
|
79
67
|
*/
|
|
80
|
-
getLayersInfo(query: GetLayersInfoParams): Promise<(
|
|
68
|
+
getLayersInfo(query: GetLayersInfoParams): Promise<(ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | PbfServiceInfoDc | FailedServiceInfoDc | FeatureLayerServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc)[]>;
|
|
81
69
|
/**
|
|
82
70
|
* No description
|
|
83
71
|
*
|
|
@@ -101,7 +89,7 @@ export declare class LayersService extends Service {
|
|
|
101
89
|
* @secure
|
|
102
90
|
* @response `default` Error
|
|
103
91
|
*/
|
|
104
|
-
publishProxyService(data: PublishProxyServicePayload): Promise<ProxyServiceInfoDc |
|
|
92
|
+
publishProxyService(data: PublishProxyServicePayload): Promise<ProxyServiceInfoDc | PythonServiceInfoDc | PbfServiceInfoDc>;
|
|
105
93
|
/**
|
|
106
94
|
* No description
|
|
107
95
|
*
|
|
@@ -209,7 +197,7 @@ export declare class LayersService extends Service {
|
|
|
209
197
|
* @secure
|
|
210
198
|
* @response `200` OK
|
|
211
199
|
*/
|
|
212
|
-
updateProxyService(name: string, data: UpdateProxyServicePayload): Promise<ProxyServiceInfoDc |
|
|
200
|
+
updateProxyService(name: string, data: UpdateProxyServicePayload): Promise<ProxyServiceInfoDc | PythonServiceInfoDc | PbfServiceInfoDc>;
|
|
213
201
|
/**
|
|
214
202
|
* No description
|
|
215
203
|
*
|
|
@@ -257,7 +245,7 @@ export declare class LayersService extends Service {
|
|
|
257
245
|
* @secure
|
|
258
246
|
* @response `default` Error
|
|
259
247
|
*/
|
|
260
|
-
reloadService(name: string): Promise<
|
|
248
|
+
reloadService(name: string): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | PbfServiceInfoDc | FailedServiceInfoDc | FeatureLayerServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc>;
|
|
261
249
|
/**
|
|
262
250
|
* No description
|
|
263
251
|
*
|
|
@@ -54,18 +54,6 @@ export declare class ProjectsService extends Service {
|
|
|
54
54
|
* @response `200` OK
|
|
55
55
|
*/
|
|
56
56
|
getProjectInfo(name: string): Promise<ExtendedProjectInfoDc>;
|
|
57
|
-
/**
|
|
58
|
-
* No description
|
|
59
|
-
*
|
|
60
|
-
* @tags Projects
|
|
61
|
-
* @name DeleteResource
|
|
62
|
-
* @operationId ProjectsController_DeleteResource
|
|
63
|
-
* @summary Deletes resource.
|
|
64
|
-
* @request DELETE:/projects/{name}
|
|
65
|
-
* @secure
|
|
66
|
-
* @response `200` OK
|
|
67
|
-
*/
|
|
68
|
-
deleteResource(name: string): Promise<void>;
|
|
69
57
|
/**
|
|
70
58
|
* No description
|
|
71
59
|
*
|
|
@@ -66,18 +66,6 @@ export declare class TablesService extends Service {
|
|
|
66
66
|
* @response `200` OK
|
|
67
67
|
*/
|
|
68
68
|
getTableInfo(name: string): Promise<DetailedTableInfoDc>;
|
|
69
|
-
/**
|
|
70
|
-
* No description
|
|
71
|
-
*
|
|
72
|
-
* @tags Tables
|
|
73
|
-
* @name DeleteResource
|
|
74
|
-
* @operationId TablesController_DeleteResource
|
|
75
|
-
* @summary Deletes resource.
|
|
76
|
-
* @request DELETE:/tables/{name}
|
|
77
|
-
* @secure
|
|
78
|
-
* @response `200` OK
|
|
79
|
-
*/
|
|
80
|
-
deleteResource(name: string): Promise<void>;
|
|
81
69
|
/**
|
|
82
70
|
* No description
|
|
83
71
|
*
|