@evergis/api 5.0.47 → 5.0.48

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 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__`!
@@ -0,0 +1,118 @@
1
+ import { Service } from './Service';
2
+ import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcGisLayersParams, GetExternalArcgisFsLayersParams, GetExternalPbfFeaturesParams, GetExternalPbfLayersParams, GetRasterAttributesParams, GetRasterMetaParams, ImportDataSchemaDc, ImportFileFeaturesCountDc, NetCdfMetaDc, PagedFeaturesListDc, RasterMetaDc, ReadPartParams } from './data-contracts';
3
+ /**
4
+ * @title Spatial Processing Gateway API
5
+ * @version 1.5.1.0
6
+ * @baseUrl /sp
7
+ */
8
+ export declare class ImportService extends Service {
9
+ /**
10
+ * No description
11
+ *
12
+ * @tags ImportService
13
+ * @name GetDataSchema
14
+ * @operationId ImportServiceController_GetDataSchema
15
+ * @summary Using a file uploaded to the file upload service, reads the headers of the file and returns the information about data schema of all layers in that file,
16
+ available for import.
17
+ * @request GET:/import/dataSchema
18
+ * @secure
19
+ * @response `200` OK
20
+ */
21
+ getDataSchema(query: GetDataSchemaParams): Promise<ImportDataSchemaDc>;
22
+ /**
23
+ * No description
24
+ *
25
+ * @tags ImportService
26
+ * @name GetFeaturesCount
27
+ * @operationId ImportServiceController_GetFeaturesCount
28
+ * @summary Returns the features count of the given file in temporary static storage.
29
+ * @request POST:/import/count
30
+ * @secure
31
+ * @response `200` OK
32
+ */
33
+ getFeaturesCount(data: ImportFileFeaturesCountDc): Promise<number>;
34
+ /**
35
+ * No description
36
+ *
37
+ * @tags ImportService
38
+ * @name ReadPart
39
+ * @operationId ImportServiceController_ReadPart
40
+ * @summary Returns the features of the given file in temporary static storage.
41
+ * @request GET:/import/read
42
+ * @secure
43
+ * @response `200` OK
44
+ */
45
+ readPart(query: ReadPartParams): Promise<Record<string, any>[]>;
46
+ /**
47
+ * No description
48
+ *
49
+ * @tags ImportService
50
+ * @name GetExternalPbfLayers
51
+ * @operationId ImportServiceController_GetExternalPbfLayers
52
+ * @summary Get list of external PBF layers.
53
+ * @request GET:/import/pbf
54
+ * @secure
55
+ * @response `200` OK
56
+ */
57
+ getExternalPbfLayers(query: GetExternalPbfLayersParams): Promise<ExternalLayerInfoDc[]>;
58
+ /**
59
+ * No description
60
+ *
61
+ * @tags ImportService
62
+ * @name GetExternalPbfFeatures
63
+ * @operationId ImportServiceController_GetExternalPbfFeatures
64
+ * @summary Get features list in external PBF layer.
65
+ * @request GET:/import/pbf/features
66
+ * @secure
67
+ * @response `200` OK
68
+ */
69
+ getExternalPbfFeatures(query: GetExternalPbfFeaturesParams): Promise<PagedFeaturesListDc>;
70
+ /**
71
+ * No description
72
+ *
73
+ * @tags ImportService
74
+ * @name GetExternalArcgisFsLayers
75
+ * @operationId ImportServiceController_GetExternalArcgisFSLayers
76
+ * @summary Get list of external ArcGis FeatureServer layers.
77
+ * @request GET:/import/arcgisfeatureservice
78
+ * @secure
79
+ * @response `200` OK
80
+ */
81
+ getExternalArcgisFsLayers(query: GetExternalArcgisFsLayersParams): Promise<ExternalLayerInfoDc[]>;
82
+ /**
83
+ * No description
84
+ *
85
+ * @tags ImportService
86
+ * @name GetExternalArcGisLayers
87
+ * @operationId ImportServiceController_GetExternalArcGisLayers
88
+ * @summary Get list of external ArcGis MapServer layers.
89
+ * @request GET:/import/arcgismapservice
90
+ * @secure
91
+ * @response `200` OK
92
+ */
93
+ getExternalArcGisLayers(query: GetExternalArcGisLayersParams): Promise<ExternalLayerInfoDc[]>;
94
+ /**
95
+ * No description
96
+ *
97
+ * @tags ImportService
98
+ * @name GetRasterAttributes
99
+ * @operationId ImportServiceController_GetRasterAttributes
100
+ * @summary Parse raster attributes from file name.
101
+ * @request GET:/import/rasterAttributes
102
+ * @secure
103
+ * @response `200` OK
104
+ */
105
+ getRasterAttributes(query: GetRasterAttributesParams): Promise<Record<string, any>>;
106
+ /**
107
+ * No description
108
+ *
109
+ * @tags ImportService
110
+ * @name GetRasterMeta
111
+ * @operationId ImportServiceController_GetRasterMeta
112
+ * @summary Get raster meta data.
113
+ * @request GET:/import/rasterMeta
114
+ * @secure
115
+ * @response `200` OK
116
+ */
117
+ getRasterMeta(query: GetRasterMetaParams): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
118
+ }