@evergis/api 4.0.22 → 4.0.24

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 CHANGED
@@ -6,7 +6,7 @@ import { DataSourceService } from './__generated__/DataSourceService';
6
6
  import { QueryTokenAccessService } from './__generated__/QueryTokenAccessService';
7
7
  import { SpatialReferencesService } from './__generated__/SpatialReferencesService';
8
8
  import { CatalogService } from './__generated__/CatalogService';
9
- import { Account, AccountPreview, BulkOperations, ClientSettings, Eql, Feedback, FileUpload, Filters, Geocode, Import, Layers, Names, Notification, PortalSettings, Projects, RemoteTaskManager, Resources, Security, Statistic, Tables, Tools, VectorTiles } from './services';
9
+ import { Account, AccountPreview, BulkOperations, Cameras, ClientSettings, Eql, Feedback, FileUpload, Filters, Geocode, Import, Layers, Names, Notification, PortalSettings, Projects, RemoteTaskManager, Resources, Security, Statistic, Tables, Tools, VectorTiles } from './services';
10
10
  import { AuthenticateParams, LoginDc } from './__generated__/data-contracts';
11
11
  export declare type ApiParams = {
12
12
  url: string;
@@ -56,6 +56,7 @@ export declare class Api extends EventEmitter {
56
56
  readonly queryToken: QueryTokenAccessService;
57
57
  readonly dataSource: DataSourceService;
58
58
  readonly remoteTaskManager: RemoteTaskManager;
59
+ readonly cameras: Cameras;
59
60
  constructor({ url, wsUrl, wsKeepAlive, snappingHubUrl, http, urlPath, httpOptions, }: ApiParams);
60
61
  init({ authParams, authQueryParams, connectWs, fetchSettings, fetchUser, useJwt, }: {
61
62
  authParams?: LoginDc;
@@ -0,0 +1,105 @@
1
+ import { ArchiveCalendarDc, ArchiveTimelineDc, CameraListDc, GetArchiveCalendarParams, GetArchiveFeedParams, GetArchiveSnapshotParams, GetArchiveTimelineParams, GetCamerasParams, GetLiveFeedParams, GetLivePreviewStreamParams } from './data-contracts';
2
+ import { Service } from './Service';
3
+ /**
4
+ * @title Spatial Processing Core API
5
+ * @version 1.5.1.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
+ * @secure
18
+ * @response `200` OK
19
+ */
20
+ getCameras(query: GetCamerasParams): Promise<CameraListDc>;
21
+ /**
22
+ * No description
23
+ *
24
+ * @tags Cameras
25
+ * @name GetArchiveFeed
26
+ * @operationId CamerasController_GetArchiveFeed
27
+ * @summary Streams an FLV-over-HTTP archive feed starting at specific time.
28
+ * @request GET:/cameras/{cameraId}/archiveFeed
29
+ * @secure
30
+ * @response `200` OK
31
+ */
32
+ getArchiveFeed({ cameraId, ...query }: GetArchiveFeedParams): Promise<Blob>;
33
+ /**
34
+ * No description
35
+ *
36
+ * @tags Cameras
37
+ * @name GetArchiveTimeline
38
+ * @operationId CamerasController_GetArchiveTimeline
39
+ * @summary Returns a list of records available within a given timeframe.
40
+ * @request GET:/cameras/{cameraId}/archiveTimeline
41
+ * @secure
42
+ * @response `200` OK
43
+ */
44
+ getArchiveTimeline({ cameraId, ...query }: GetArchiveTimelineParams): Promise<ArchiveTimelineDc>;
45
+ /**
46
+ * No description
47
+ *
48
+ * @tags Cameras
49
+ * @name GetArchiveCalendar
50
+ * @operationId CamerasController_GetArchiveCalendar
51
+ * @summary Returns a list of records available within a given timeframe.
52
+ * @request GET:/cameras/{cameraId}/archiveCalendar
53
+ * @secure
54
+ * @response `200` OK
55
+ */
56
+ getArchiveCalendar({ cameraId, ...query }: GetArchiveCalendarParams): Promise<ArchiveCalendarDc>;
57
+ /**
58
+ * No description
59
+ *
60
+ * @tags Cameras
61
+ * @name GetArchiveSnapshot
62
+ * @operationId CamerasController_GetArchiveSnapshot
63
+ * @summary Returns a JPEG image from the Camera’s archive.
64
+ * @request GET:/cameras/{cameraId}/archiveSnapshot
65
+ * @secure
66
+ * @response `200` OK
67
+ */
68
+ getArchiveSnapshot({ cameraId, ...query }: GetArchiveSnapshotParams): Promise<Blob>;
69
+ /**
70
+ * No description
71
+ *
72
+ * @tags Cameras
73
+ * @name GetLiveFeed
74
+ * @operationId CamerasController_GetLiveFeed
75
+ * @summary Streams live video feed from the Camera.
76
+ * @request GET:/cameras/{cameraId}/liveFeed
77
+ * @secure
78
+ * @response `200` OK
79
+ */
80
+ getLiveFeed({ cameraId, ...query }: GetLiveFeedParams): Promise<Blob>;
81
+ /**
82
+ * No description
83
+ *
84
+ * @tags Cameras
85
+ * @name GetLiveSnapshot
86
+ * @operationId CamerasController_GetLiveSnapshot
87
+ * @summary Returns a JPEG image from the Camera’s live feed.
88
+ * @request GET:/cameras/{cameraId}/liveSnapshot
89
+ * @secure
90
+ * @response `200` OK
91
+ */
92
+ getLiveSnapshot(cameraId: string): Promise<Blob>;
93
+ /**
94
+ * No description
95
+ *
96
+ * @tags Cameras
97
+ * @name GetLivePreviewStream
98
+ * @operationId CamerasController_GetLivePreviewStream
99
+ * @summary Get live preview stream.
100
+ * @request GET:/cameras/{cameraId}/getLivePreviewsStream
101
+ * @secure
102
+ * @response `200` OK
103
+ */
104
+ getLivePreviewStream({ cameraId, ...query }: GetLivePreviewStreamParams): Promise<object>;
105
+ }
@@ -1,4 +1,4 @@
1
- import { ArcGisDataSourceDc, ArcGisDataSourceInfoDc, DataSourceInfoDc, GetDataSourcesListParams, MosRuDataSourceDc, MosRuDataSourceInfoDc, PagedListDataSourceInfoDc, PostgresDataSourceDc, PostgresDataSourceInfoDc, S3DataSourceDc, S3DataSourceInfoDc, TestConnectionInfoDc, WmsDataSourceDc } from './data-contracts';
1
+ import { ArcGisDataSourceDc, ArcGisDataSourceInfoDc, GetDataSourcesListParams, MosRuDataSourceDc, MosRuDataSourceInfoDc, PagedListDataSourceInfoDc, PostgresDataSourceDc, PostgresDataSourceInfoDc, S3DataSourceDc, S3DataSourceInfoDc, TestConnectionInfoDc, WmsDataSourceDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -77,7 +77,7 @@ export declare class DataSourceService extends Service {
77
77
  * @secure
78
78
  * @response `200` OK
79
79
  */
80
- getDataSource(name: string): Promise<DataSourceInfoDc | ArcGisDataSourceInfoDc | MosRuDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc>;
80
+ getDataSource(name: string): Promise<ArcGisDataSourceInfoDc | MosRuDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc>;
81
81
  /**
82
82
  * No description
83
83
  *
@@ -1,4 +1,4 @@
1
- import { FeedbackParams, FeedbackPayload, IncreaseResourcesLimitParams, MoreSymbolsParams } from './data-contracts';
1
+ import { FeedbackParams, FeedbackPayload, IncreaseResourcesLimitParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -18,18 +18,6 @@ export declare class FeedbackService extends Service {
18
18
  * @response `200` OK
19
19
  */
20
20
  increaseResourcesLimit(query: IncreaseResourcesLimitParams): Promise<string[]>;
21
- /**
22
- * No description
23
- *
24
- * @tags Feedback
25
- * @name MoreSymbols
26
- * @operationId FeedbackController_MoreSymbols
27
- * @summary More symbols request.
28
- * @request POST:/feedback/symbol
29
- * @secure
30
- * @response `200` OK
31
- */
32
- moreSymbols(query: MoreSymbolsParams): Promise<string[]>;
33
21
  /**
34
22
  * No description
35
23
  *
@@ -1,4 +1,4 @@
1
- import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcgisFsLayersParams, GetExternalArcGisLayersParams, GetExternalPbfFeaturesParams, GetExternalPbfLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, GetRasterMetaParams, ImportDataSchema, ImportFileFeaturesCountDc, NetCdfMetaDc, PagedFeaturesListDc, RasterMetaDc, ReadPartParams } from './data-contracts';
1
+ import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcgisFsLayersParams, GetExternalArcGisLayersParams, GetExternalPbfFeaturesParams, GetExternalPbfLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, GetRasterMetaParams, ImportDataSchemaDc, ImportFileFeaturesCountDc, NetCdfMetaDc, PagedFeaturesListDc, RasterMetaDc, ReadPartParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -17,7 +17,7 @@ export declare class ImportService extends Service {
17
17
  * @secure
18
18
  * @response `200` OK
19
19
  */
20
- getDataSchema(query: GetDataSchemaParams): Promise<ImportDataSchema>;
20
+ getDataSchema(query: GetDataSchemaParams): Promise<ImportDataSchemaDc>;
21
21
  /**
22
22
  * No description
23
23
  *
@@ -41,7 +41,7 @@ export declare class ImportService extends Service {
41
41
  * @secure
42
42
  * @response `200` OK
43
43
  */
44
- readPart(query: ReadPartParams): Promise<void>;
44
+ readPart(query: ReadPartParams): Promise<Record<string, any>[]>;
45
45
  /**
46
46
  * No description
47
47
  *
@@ -1,4 +1,4 @@
1
- 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, GetLayersListParams, GetRasterMetaParams3, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, LinearServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, PythonServiceConfigurationDc, PythonServiceInfoDc, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteServiceConfigurationDc, ServiceInfoDc, ServiceListDc, TileCatalogServiceInfoDc, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
1
+ 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, GetLayersListParams, GetRasterMetaParams8, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, LinearServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, PythonServiceConfigurationDc, PythonServiceInfoDc, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteServiceConfigurationDc, ServiceInfoDc, ServiceListDc, TileCatalogServiceInfoDc, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -533,7 +533,7 @@ export declare class LayersService extends Service {
533
533
  * @secure
534
534
  * @response `200` OK
535
535
  */
536
- getRasterMeta({ name, id, ...query }: GetRasterMetaParams3): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
536
+ getRasterMeta({ name, id, ...query }: GetRasterMetaParams8): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
537
537
  /**
538
538
  * No description
539
539
  *
@@ -1,4 +1,4 @@
1
- import { BulkOperationResultDc, DeleteResourcesParams3, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, JsonPatchDocumentExtendedProjectInfoDcV2, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, UpdateProjectV2Payload } from './data-contracts';
1
+ import { BulkOperationResultDc, DeleteResourcesParams1, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, JsonPatchDocumentExtendedProjectInfoDcV2, PagedListProjectInfoDc, ResourceDependenciesDc, UpdateProjectV2Payload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -17,7 +17,7 @@ export declare class ProjectsService extends Service {
17
17
  * @secure
18
18
  * @response `200` OK
19
19
  */
20
- getProjectsList(query: GetProjectsListParams): Promise<PagedListProjectInfoDc | ProjectsListDc>;
20
+ getProjectsList(query: GetProjectsListParams): Promise<PagedListProjectInfoDc>;
21
21
  /**
22
22
  * No description
23
23
  *
@@ -41,7 +41,7 @@ export declare class ProjectsService extends Service {
41
41
  * @secure
42
42
  * @response `200` OK
43
43
  */
44
- deleteResources(query: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>;
44
+ deleteResources(query: DeleteResourcesParams1): Promise<BulkOperationResultDc[]>;
45
45
  /**
46
46
  * No description
47
47
  *
@@ -1,4 +1,4 @@
1
- import { BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams3, DeleteTableDataParams, DetailedTableInfoDc, GetTableDataParams, GetTableListParams, GetTablesInfoParams, MapTableInfoDc, MapTableParams, PagedBulkFeaturesListDc, PagedFeaturesListDc, PagedListFeatureDc, PagedListTableListItemDc, ResourceDependenciesDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
1
+ import { BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams5, DeleteTableDataParams, DetailedTableInfoDc, GetTableDataParams, GetTableListParams, GetTablesInfoParams, MapTableInfoDc, MapTableParams, PagedBulkFeaturesListDc, PagedFeaturesListDc, PagedListFeatureDc, PagedListTableListItemDc, ResourceDependenciesDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -41,7 +41,7 @@ export declare class TablesService extends Service {
41
41
  * @secure
42
42
  * @response `200` OK
43
43
  */
44
- deleteResources(query: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>;
44
+ deleteResources(query: DeleteResourcesParams5): Promise<BulkOperationResultDc[]>;
45
45
  /**
46
46
  * No description
47
47
  *
@@ -1,4 +1,4 @@
1
- import { GetCapabilities1Params, GetCapabilitiesParams10, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
1
+ import { GetCapabilities1Params, GetCapabilitiesParams7, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -17,7 +17,7 @@ export declare class WmsServerService extends Service {
17
17
  * @secure
18
18
  * @response `200` OK
19
19
  */
20
- getCapabilities(query: GetCapabilitiesParams10): Promise<void>;
20
+ getCapabilities(query: GetCapabilitiesParams7): Promise<void>;
21
21
  /**
22
22
  * No description
23
23
  *