@evergis/api 5.0.16 → 5.0.17
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 +12 -12
- package/dist/__generated__/GeocodeService.d.ts +3 -3
- package/dist/__generated__/data-contracts.d.ts +0 -23
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/services/Geocode.d.ts +1 -1
- 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,12 +1,12 @@
|
|
|
1
|
-
# @evergis/api
|
|
2
|
-
|
|
3
|
-
Библиотека API.
|
|
4
|
-
|
|
5
|
-
### Генерирование API
|
|
6
|
-
|
|
7
|
-
```shell
|
|
8
|
-
$ yarn generate
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
|
|
12
|
-
размещенные в директории `src/__generated__`!
|
|
1
|
+
# @evergis/api
|
|
2
|
+
|
|
3
|
+
Библиотека API.
|
|
4
|
+
|
|
5
|
+
### Генерирование API
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
$ yarn generate
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
|
|
12
|
+
размещенные в директории `src/__generated__`!
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { GeocodeByPointParams, GeocodeParams,
|
|
2
|
+
import { GeocodeByPointParams, GeocodeParams, GeocodeSuggestResultDc, PagedFeaturesListDc, SuggestParams } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -17,7 +17,7 @@ export declare class GeocodeService extends Service {
|
|
|
17
17
|
* @secure
|
|
18
18
|
* @response `200` OK
|
|
19
19
|
*/
|
|
20
|
-
geocode({ providerName, ...query }: GeocodeParams): Promise<
|
|
20
|
+
geocode({ providerName, ...query }: GeocodeParams): Promise<PagedFeaturesListDc>;
|
|
21
21
|
/**
|
|
22
22
|
* No description
|
|
23
23
|
*
|
|
@@ -29,7 +29,7 @@ export declare class GeocodeService extends Service {
|
|
|
29
29
|
* @secure
|
|
30
30
|
* @response `200` OK
|
|
31
31
|
*/
|
|
32
|
-
geocodeByPoint({ providerName, ...query }: GeocodeByPointParams): Promise<
|
|
32
|
+
geocodeByPoint({ providerName, ...query }: GeocodeByPointParams): Promise<PagedFeaturesListDc>;
|
|
33
33
|
/**
|
|
34
34
|
* No description
|
|
35
35
|
*
|
|
@@ -1873,8 +1873,6 @@ export interface FeatureDc {
|
|
|
1873
1873
|
properties: Record<string, any>;
|
|
1874
1874
|
/** Feature unique identifier. */
|
|
1875
1875
|
id?: string;
|
|
1876
|
-
/** Values for all bands of feature by pixel point. */
|
|
1877
|
-
bandsValues?: Record<string, number>;
|
|
1878
1876
|
}
|
|
1879
1877
|
export interface FileDto {
|
|
1880
1878
|
path?: string;
|
|
@@ -1913,27 +1911,6 @@ export interface FilterResponseDc {
|
|
|
1913
1911
|
/** Id of the filter. */
|
|
1914
1912
|
id?: string;
|
|
1915
1913
|
}
|
|
1916
|
-
/**
|
|
1917
|
-
* Geocode result.
|
|
1918
|
-
*/
|
|
1919
|
-
export interface GeocodeResultDc {
|
|
1920
|
-
/**
|
|
1921
|
-
* Input geocode address.
|
|
1922
|
-
* @minLength 1
|
|
1923
|
-
*/
|
|
1924
|
-
address: string;
|
|
1925
|
-
/** Source. */
|
|
1926
|
-
source?: string;
|
|
1927
|
-
/**
|
|
1928
|
-
* Result score point.
|
|
1929
|
-
* @format double
|
|
1930
|
-
*/
|
|
1931
|
-
score?: number;
|
|
1932
|
-
/** The position at the map. */
|
|
1933
|
-
center?: PositionDc;
|
|
1934
|
-
/** Result geometry. */
|
|
1935
|
-
geometry?: GeometryCollectionDc | LineStringDc | MultiLineStringDc | MultiPointDc | MultiPolygonDc | PointDc | PolygonDc;
|
|
1936
|
-
}
|
|
1937
1914
|
/**
|
|
1938
1915
|
* Geocode suggest result.
|
|
1939
1916
|
*/
|