@evergis/api 3.0.157 → 3.0.162
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/Api.d.ts +2 -1
- package/dist/SpatialProcessor.d.ts +1 -1
- package/dist/__generated__/CamerasService.d.ts +86 -0
- package/dist/__generated__/ImportService.d.ts +13 -2
- package/dist/__generated__/LayersService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +276 -23
- package/dist/api.cjs.development.js +232 -34
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +237 -36
- package/dist/api.esm.js.map +1 -1
- package/dist/layers/EvergisDynamicLayer.d.ts +3 -3
- package/dist/services/Cameras.d.ts +3 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +4 -4
package/dist/Api.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Options as KyOptions } from 'ky';
|
|
|
4
4
|
import { LoginDc } from './__generated__/data-contracts';
|
|
5
5
|
import { HttpClient } from './__generated__/HttpClient';
|
|
6
6
|
import { UniversalSearchService } from './__generated__/UniversalSearchService';
|
|
7
|
-
import { Account, AccountPreview, BulkOperations, ClientSettings, External, Feedback, FileUpload, Filters, General, Geocode, IceRouter, Import, Layers, Names, Namespace, Notification, PortalSettings, Projects, ResourceCatalog, Resources, Scheduler, Security, Statistic, Styles, Tables, Tools, VectorTiles } from './services';
|
|
7
|
+
import { Account, AccountPreview, BulkOperations, Cameras, ClientSettings, External, Feedback, FileUpload, Filters, General, Geocode, IceRouter, Import, Layers, Names, Namespace, Notification, PortalSettings, Projects, ResourceCatalog, Resources, Scheduler, Security, Statistic, Styles, Tables, Tools, VectorTiles } from './services';
|
|
8
8
|
import { Print } from './services/Print';
|
|
9
9
|
export declare type ApiParams = {
|
|
10
10
|
url: string;
|
|
@@ -39,6 +39,7 @@ export declare class Api extends EventEmitter {
|
|
|
39
39
|
readonly resources: Resources;
|
|
40
40
|
readonly styles: Styles;
|
|
41
41
|
readonly geocode: Geocode;
|
|
42
|
+
readonly cameras: Cameras;
|
|
42
43
|
readonly print: Print;
|
|
43
44
|
readonly tools: Tools;
|
|
44
45
|
readonly resourceCatalog: ResourceCatalog;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DomPainter } from '@evergis/sgis/es/painters/DomPainter/DomPainter';
|
|
2
|
-
import { ApiParams, Api } from './Api';
|
|
3
2
|
import { IPoint } from '@evergis/sgis/es/Point';
|
|
4
3
|
import { Map } from '@evergis/sgis/es/Map';
|
|
4
|
+
import { ApiParams, Api } from './Api';
|
|
5
5
|
import { LoginDc } from './__generated__/data-contracts';
|
|
6
6
|
declare type MapProps = {
|
|
7
7
|
mapWrapper: HTMLElement;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ArchiveCalendarDc, ArchiveTimelineDc, CameraListDc, GetArchiveCalendarParams, GetArchiveFeedParams, GetArchiveSnapshotParams, GetArchiveTimelineParams, GetCamerasParams, GetLiveFeedParams } from './data-contracts';
|
|
2
|
+
import { Service } from './Service';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version 1.0.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class CamerasService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags Cameras
|
|
13
|
+
* @name GetCameras
|
|
14
|
+
* @operationId CamerasController_GetCameras
|
|
15
|
+
* @summary Get cameras list.
|
|
16
|
+
* @request GET:/cameras
|
|
17
|
+
* @response `200` Success
|
|
18
|
+
*/
|
|
19
|
+
getCameras(query: GetCamerasParams): Promise<CameraListDc>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags Cameras
|
|
24
|
+
* @name GetArchiveFeed
|
|
25
|
+
* @operationId CamerasController_GetArchiveFeed
|
|
26
|
+
* @summary Streams an FLV-over-HTTP archive feed starting at specific time.
|
|
27
|
+
* @request GET:/cameras/{cameraId}/archiveFeed
|
|
28
|
+
* @response `200` Success
|
|
29
|
+
*/
|
|
30
|
+
getArchiveFeed({ cameraId, ...query }: GetArchiveFeedParams): Promise<Blob>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags Cameras
|
|
35
|
+
* @name GetArchiveTimeline
|
|
36
|
+
* @operationId CamerasController_GetArchiveTimeline
|
|
37
|
+
* @summary Returns a list of records available within a given timeframe.
|
|
38
|
+
* @request GET:/cameras/{cameraId}/archiveTimeline
|
|
39
|
+
* @response `200` Success
|
|
40
|
+
*/
|
|
41
|
+
getArchiveTimeline({ cameraId, ...query }: GetArchiveTimelineParams): Promise<ArchiveTimelineDc>;
|
|
42
|
+
/**
|
|
43
|
+
* No description
|
|
44
|
+
*
|
|
45
|
+
* @tags Cameras
|
|
46
|
+
* @name GetArchiveCalendar
|
|
47
|
+
* @operationId CamerasController_GetArchiveCalendar
|
|
48
|
+
* @summary Returns a list of records available within a given timeframe.
|
|
49
|
+
* @request GET:/cameras/{cameraId}/archiveCalendar
|
|
50
|
+
* @response `200` Success
|
|
51
|
+
*/
|
|
52
|
+
getArchiveCalendar({ cameraId, ...query }: GetArchiveCalendarParams): Promise<ArchiveCalendarDc>;
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags Cameras
|
|
57
|
+
* @name GetArchiveSnapshot
|
|
58
|
+
* @operationId CamerasController_GetArchiveSnapshot
|
|
59
|
+
* @summary Returns a JPEG image from the Camera’s archive.
|
|
60
|
+
* @request GET:/cameras/{cameraId}/archiveSnapshot
|
|
61
|
+
* @response `200` Success
|
|
62
|
+
*/
|
|
63
|
+
getArchiveSnapshot({ cameraId, ...query }: GetArchiveSnapshotParams): Promise<Blob>;
|
|
64
|
+
/**
|
|
65
|
+
* No description
|
|
66
|
+
*
|
|
67
|
+
* @tags Cameras
|
|
68
|
+
* @name GetLiveFeed
|
|
69
|
+
* @operationId CamerasController_GetLiveFeed
|
|
70
|
+
* @summary Streams live video feed from the Camera.
|
|
71
|
+
* @request GET:/cameras/{cameraId}/liveFeed
|
|
72
|
+
* @response `200` Success
|
|
73
|
+
*/
|
|
74
|
+
getLiveFeed({ cameraId, ...query }: GetLiveFeedParams): Promise<Blob>;
|
|
75
|
+
/**
|
|
76
|
+
* No description
|
|
77
|
+
*
|
|
78
|
+
* @tags Cameras
|
|
79
|
+
* @name GetLiveSnapshot
|
|
80
|
+
* @operationId CamerasController_GetLiveSnapshot
|
|
81
|
+
* @summary Returns a JPEG image from the Camera’s live feed.
|
|
82
|
+
* @request GET:/cameras/{cameraId}/liveSnapshot
|
|
83
|
+
* @response `200` Success
|
|
84
|
+
*/
|
|
85
|
+
getLiveSnapshot(cameraId: string): Promise<Blob>;
|
|
86
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcGisLayersParams, GetExternalPbfLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, GetRasterMetaParams, ImportDataSchema, ImportFileFeaturesCountDc, NetCdfMetaDc, RasterMetaDc, ReadPartParams } from './data-contracts';
|
|
1
|
+
import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcgisFsLayersParams, GetExternalArcGisLayersParams, GetExternalPbfLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, GetRasterMetaParams, ImportDataSchema, ImportFileFeaturesCountDc, NetCdfMetaDc, RasterMetaDc, ReadPartParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -61,13 +61,24 @@ export declare class ImportService extends Service {
|
|
|
61
61
|
* @response `200` Success
|
|
62
62
|
*/
|
|
63
63
|
getExternalPbfLayers(query: GetExternalPbfLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
64
|
+
/**
|
|
65
|
+
* No description
|
|
66
|
+
*
|
|
67
|
+
* @tags ImportService
|
|
68
|
+
* @name GetExternalArcgisFsLayers
|
|
69
|
+
* @operationId ImportServiceController_GetExternalArcgisFSLayers
|
|
70
|
+
* @summary Get list of external ArcGis FeatureServer layers.
|
|
71
|
+
* @request GET:/import/arcgisfeatureservice
|
|
72
|
+
* @response `200` Success
|
|
73
|
+
*/
|
|
74
|
+
getExternalArcgisFsLayers(query: GetExternalArcgisFsLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
64
75
|
/**
|
|
65
76
|
* No description
|
|
66
77
|
*
|
|
67
78
|
* @tags ImportService
|
|
68
79
|
* @name GetExternalArcGisLayers
|
|
69
80
|
* @operationId ImportServiceController_GetExternalArcGisLayers
|
|
70
|
-
* @summary Get list of external ArcGis
|
|
81
|
+
* @summary Get list of external ArcGis MapServer layers.
|
|
71
82
|
* @request GET:/import/arcgismapservice
|
|
72
83
|
* @response `200` Success
|
|
73
84
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams,
|
|
1
|
+
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams7, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, SetPermissionsBatchPayload, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -556,7 +556,7 @@ export declare class LayersService extends Service {
|
|
|
556
556
|
* @request GET:/layers/{name}/{id}/metadata
|
|
557
557
|
* @response `200` Success
|
|
558
558
|
*/
|
|
559
|
-
getRasterMeta({ name, id, ...query }:
|
|
559
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams7): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
560
560
|
/**
|
|
561
561
|
* No description
|
|
562
562
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams8, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -27,7 +27,7 @@ export declare class StatisticService extends Service {
|
|
|
27
27
|
* @request GET:/statistics/classify
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
|
-
classify(query:
|
|
30
|
+
classify(query: ClassifyParams8): Promise<ClassifyDc>;
|
|
31
31
|
/**
|
|
32
32
|
* No description
|
|
33
33
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams5, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetTablesInfoParams, GetUniqueDataRowsParams, MapTableInfoDc, MapTableParams, PagedListIEnumerable1, PagedListTableInfoDc, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -49,7 +49,7 @@ export declare class TablesService extends Service {
|
|
|
49
49
|
* @request DELETE:/tables
|
|
50
50
|
* @response `200` Success
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams5): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams2, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -16,7 +16,7 @@ export declare class WmsServerService extends Service {
|
|
|
16
16
|
* @request GET:/wms#REQUEST=GetCapabilities
|
|
17
17
|
* @response `200` Success
|
|
18
18
|
*/
|
|
19
|
-
getCapabilities(query:
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams2): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|