@evergis/api 4.1.43 → 4.1.47
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/Api.d.ts +1 -2
- package/dist/api.esm.js +1 -137
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +0 -137
- package/dist/index.js.map +1 -1
- package/dist/services/index.d.ts +0 -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__`!
|
package/dist/Api.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { QueryTokenAccessService } from './__generated__/QueryTokenAccessService
|
|
|
6
6
|
import { SpatialReferencesService } from './__generated__/SpatialReferencesService';
|
|
7
7
|
import { CatalogService } from './__generated__/CatalogService';
|
|
8
8
|
import { EventEmitter } from './EventEmitter';
|
|
9
|
-
import { Account, AccountPreview, External, BulkOperations,
|
|
9
|
+
import { Account, AccountPreview, External, BulkOperations, 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 type ApiParams = {
|
|
12
12
|
url: string;
|
|
@@ -54,7 +54,6 @@ export declare class Api extends EventEmitter {
|
|
|
54
54
|
readonly queryToken: QueryTokenAccessService;
|
|
55
55
|
readonly dataSource: DataSourceService;
|
|
56
56
|
readonly remoteTaskManager: RemoteTaskManager;
|
|
57
|
-
readonly cameras: Cameras;
|
|
58
57
|
protected readonly http: HttpClient;
|
|
59
58
|
private readonly wsUrl;
|
|
60
59
|
private readonly urlPath;
|
package/dist/api.esm.js
CHANGED
|
@@ -1183,140 +1183,6 @@ class BulkOperationsService extends Service {
|
|
|
1183
1183
|
class BulkOperations extends BulkOperationsService {
|
|
1184
1184
|
}
|
|
1185
1185
|
|
|
1186
|
-
/* eslint-disable */
|
|
1187
|
-
/* tslint:disable */
|
|
1188
|
-
/*
|
|
1189
|
-
* ---------------------------------------------------------------
|
|
1190
|
-
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1191
|
-
* ## ##
|
|
1192
|
-
* ## AUTHOR: acacode ##
|
|
1193
|
-
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1194
|
-
* ---------------------------------------------------------------
|
|
1195
|
-
*/
|
|
1196
|
-
// @ts-nocheck
|
|
1197
|
-
/**
|
|
1198
|
-
* @title Spatial Processing Core API
|
|
1199
|
-
* @version 1.5.1.0
|
|
1200
|
-
* @baseUrl /sp
|
|
1201
|
-
*/
|
|
1202
|
-
class CamerasService extends Service {
|
|
1203
|
-
/**
|
|
1204
|
-
* No description
|
|
1205
|
-
*
|
|
1206
|
-
* @tags Cameras
|
|
1207
|
-
* @name GetCameras
|
|
1208
|
-
* @operationId CamerasController_GetCameras
|
|
1209
|
-
* @summary Get cameras list.
|
|
1210
|
-
* @request GET:/cameras
|
|
1211
|
-
* @secure
|
|
1212
|
-
* @response `200` OK
|
|
1213
|
-
*/
|
|
1214
|
-
getCameras(query) {
|
|
1215
|
-
return this.http.get(`/cameras`, query).json();
|
|
1216
|
-
}
|
|
1217
|
-
/**
|
|
1218
|
-
* No description
|
|
1219
|
-
*
|
|
1220
|
-
* @tags Cameras
|
|
1221
|
-
* @name GetArchiveFeed
|
|
1222
|
-
* @operationId CamerasController_GetArchiveFeed
|
|
1223
|
-
* @summary Streams an FLV-over-HTTP archive feed starting at specific time.
|
|
1224
|
-
* @request GET:/cameras/{cameraId}/archiveFeed
|
|
1225
|
-
* @secure
|
|
1226
|
-
* @response `200` OK
|
|
1227
|
-
*/
|
|
1228
|
-
getArchiveFeed({ cameraId, ...query }) {
|
|
1229
|
-
return this.http.get(`/cameras/${cameraId}/archiveFeed`, query).blob();
|
|
1230
|
-
}
|
|
1231
|
-
/**
|
|
1232
|
-
* No description
|
|
1233
|
-
*
|
|
1234
|
-
* @tags Cameras
|
|
1235
|
-
* @name GetArchiveTimeline
|
|
1236
|
-
* @operationId CamerasController_GetArchiveTimeline
|
|
1237
|
-
* @summary Returns a list of records available within a given timeframe.
|
|
1238
|
-
* @request GET:/cameras/{cameraId}/archiveTimeline
|
|
1239
|
-
* @secure
|
|
1240
|
-
* @response `200` OK
|
|
1241
|
-
*/
|
|
1242
|
-
getArchiveTimeline({ cameraId, ...query }) {
|
|
1243
|
-
return this.http.get(`/cameras/${cameraId}/archiveTimeline`, query).json();
|
|
1244
|
-
}
|
|
1245
|
-
/**
|
|
1246
|
-
* No description
|
|
1247
|
-
*
|
|
1248
|
-
* @tags Cameras
|
|
1249
|
-
* @name GetArchiveCalendar
|
|
1250
|
-
* @operationId CamerasController_GetArchiveCalendar
|
|
1251
|
-
* @summary Returns a list of records available within a given timeframe.
|
|
1252
|
-
* @request GET:/cameras/{cameraId}/archiveCalendar
|
|
1253
|
-
* @secure
|
|
1254
|
-
* @response `200` OK
|
|
1255
|
-
*/
|
|
1256
|
-
getArchiveCalendar({ cameraId, ...query }) {
|
|
1257
|
-
return this.http.get(`/cameras/${cameraId}/archiveCalendar`, query).json();
|
|
1258
|
-
}
|
|
1259
|
-
/**
|
|
1260
|
-
* No description
|
|
1261
|
-
*
|
|
1262
|
-
* @tags Cameras
|
|
1263
|
-
* @name GetArchiveSnapshot
|
|
1264
|
-
* @operationId CamerasController_GetArchiveSnapshot
|
|
1265
|
-
* @summary Returns a JPEG image from the Camera’s archive.
|
|
1266
|
-
* @request GET:/cameras/{cameraId}/archiveSnapshot
|
|
1267
|
-
* @secure
|
|
1268
|
-
* @response `200` OK
|
|
1269
|
-
*/
|
|
1270
|
-
getArchiveSnapshot({ cameraId, ...query }) {
|
|
1271
|
-
return this.http.get(`/cameras/${cameraId}/archiveSnapshot`, query).blob();
|
|
1272
|
-
}
|
|
1273
|
-
/**
|
|
1274
|
-
* No description
|
|
1275
|
-
*
|
|
1276
|
-
* @tags Cameras
|
|
1277
|
-
* @name GetLiveFeed
|
|
1278
|
-
* @operationId CamerasController_GetLiveFeed
|
|
1279
|
-
* @summary Streams live video feed from the Camera.
|
|
1280
|
-
* @request GET:/cameras/{cameraId}/liveFeed
|
|
1281
|
-
* @secure
|
|
1282
|
-
* @response `200` OK
|
|
1283
|
-
*/
|
|
1284
|
-
getLiveFeed({ cameraId, ...query }) {
|
|
1285
|
-
return this.http.get(`/cameras/${cameraId}/liveFeed`, query).blob();
|
|
1286
|
-
}
|
|
1287
|
-
/**
|
|
1288
|
-
* No description
|
|
1289
|
-
*
|
|
1290
|
-
* @tags Cameras
|
|
1291
|
-
* @name GetLiveSnapshot
|
|
1292
|
-
* @operationId CamerasController_GetLiveSnapshot
|
|
1293
|
-
* @summary Returns a JPEG image from the Camera’s live feed.
|
|
1294
|
-
* @request GET:/cameras/{cameraId}/liveSnapshot
|
|
1295
|
-
* @secure
|
|
1296
|
-
* @response `200` OK
|
|
1297
|
-
*/
|
|
1298
|
-
getLiveSnapshot(cameraId) {
|
|
1299
|
-
return this.http.get(`/cameras/${cameraId}/liveSnapshot`).blob();
|
|
1300
|
-
}
|
|
1301
|
-
/**
|
|
1302
|
-
* No description
|
|
1303
|
-
*
|
|
1304
|
-
* @tags Cameras
|
|
1305
|
-
* @name GetLivePreviewStream
|
|
1306
|
-
* @operationId CamerasController_GetLivePreviewStream
|
|
1307
|
-
* @summary Get live preview stream.
|
|
1308
|
-
* @request GET:/cameras/{cameraId}/getLivePreviewsStream
|
|
1309
|
-
* @secure
|
|
1310
|
-
* @response `200` OK
|
|
1311
|
-
*/
|
|
1312
|
-
getLivePreviewStream({ cameraId, ...query }) {
|
|
1313
|
-
return this.http.get(`/cameras/${cameraId}/getLivePreviewsStream`, query).json();
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
class Cameras extends CamerasService {
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
1186
|
/* eslint-disable */
|
|
1321
1187
|
/* tslint:disable */
|
|
1322
1188
|
/*
|
|
@@ -2914,7 +2780,6 @@ class Api extends EventEmitter {
|
|
|
2914
2780
|
queryToken;
|
|
2915
2781
|
dataSource;
|
|
2916
2782
|
remoteTaskManager;
|
|
2917
|
-
cameras;
|
|
2918
2783
|
http;
|
|
2919
2784
|
wsUrl;
|
|
2920
2785
|
urlPath;
|
|
@@ -3014,7 +2879,6 @@ class Api extends EventEmitter {
|
|
|
3014
2879
|
this.queryToken = new QueryTokenAccessService(this.http);
|
|
3015
2880
|
this.dataSource = new DataSourceService(this.http);
|
|
3016
2881
|
this.remoteTaskManager = new RemoteTaskManager(this.http);
|
|
3017
|
-
this.cameras = new Cameras(this.http);
|
|
3018
2882
|
this.names = new Names({
|
|
3019
2883
|
account: this.account,
|
|
3020
2884
|
});
|
|
@@ -6197,5 +6061,5 @@ var WorkerSettingsFieldType;
|
|
|
6197
6061
|
WorkerSettingsFieldType["AttributeArray"] = "AttributeArray";
|
|
6198
6062
|
})(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
|
|
6199
6063
|
|
|
6200
|
-
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations,
|
|
6064
|
+
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConfigurationType, ConflictResolutionStrategy, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, GeometryType, HttpClient, Import, Layers, Names, Notification, NotificationEvent, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, Quality, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique, useToken };
|
|
6201
6065
|
//# sourceMappingURL=api.esm.js.map
|