@evergis/api 4.1.15 → 4.1.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 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,11 +1,11 @@
1
- # @evergis/api
2
-
3
- Библиотека API.
4
-
5
- ### Генерирование API
6
-
7
- ```shell
8
- $ yarn generate
9
- ```
10
-
11
- ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы, размещенные в директории `src/__generated__`!
1
+ # @evergis/api
2
+
3
+ Библиотека API.
4
+
5
+ ### Генерирование API
6
+
7
+ ```shell
8
+ $ yarn generate
9
+ ```
10
+
11
+ ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы, размещенные в директории `src/__generated__`!
@@ -101,5 +101,5 @@ export declare class CamerasService extends Service {
101
101
  * @secure
102
102
  * @response `200` OK
103
103
  */
104
- getLivePreviewStream({ cameraId, ...query }: GetLivePreviewStreamParams): Promise<IAsyncEnumerableLivePreviewDc>;
104
+ getLivePreviewStream({ cameraId, ...query }: GetLivePreviewStreamParams): Promise<object>;
105
105
  }
@@ -1367,16 +1367,6 @@ export interface CreateSymlinkDc {
1367
1367
  * Data contract for create new user.
1368
1368
  */
1369
1369
  export interface CreateUserDc {
1370
- /** First name. */
1371
- first_name?: string;
1372
- /** Last name. */
1373
- last_name?: string;
1374
- /** Patronymic. */
1375
- patronymic?: string;
1376
- /** Phone number. */
1377
- phone?: string;
1378
- /** Has newsletter subscription. */
1379
- is_subscribed?: boolean;
1380
1370
  /** Whether to open the last used project when opening a client. */
1381
1371
  is_open_last_project?: boolean;
1382
1372
  /** Is active. */
@@ -1394,8 +1384,20 @@ export interface CreateUserDc {
1394
1384
  * @format email
1395
1385
  */
1396
1386
  email?: string;
1387
+ /** Phone number. */
1388
+ phone?: string;
1397
1389
  /** Password. */
1398
1390
  password?: string;
1391
+ /** First name. */
1392
+ first_name?: string;
1393
+ /** Last name. */
1394
+ last_name?: string;
1395
+ /** Patronymic. */
1396
+ patronymic?: string;
1397
+ /** Gets or sets company. */
1398
+ company?: string;
1399
+ /** Has newsletter subscription. */
1400
+ is_subscribed?: boolean;
1399
1401
  }
1400
1402
  /**
1401
1403
  * Create view from query layer data contract.
@@ -2690,6 +2692,7 @@ export interface GetSumOfProductDc {
2690
2692
  /** Filter query geometries. */
2691
2693
  geometries?: QueryGeometryDc[];
2692
2694
  }
2695
+ export type IAsyncEnumerableLivePreviewDc = object;
2693
2696
  /**
2694
2697
  * Data schema of a file for import.
2695
2698
  */
@@ -2949,7 +2952,7 @@ export interface LoginResultDc {
2949
2952
  }
2950
2953
  /**
2951
2954
  * SPCore.Connectors.Connectors.Base.Models.Data.MapTableInfoDc provides information to create datasource and maps it to exists database table.
2952
-
2955
+
2953
2956
  SPCore.Connectors.Connectors.Base.Models.Data.MapTableInfoDc.Name can be materialized view or view.
2954
2957
  */
2955
2958
  export interface MapTableInfoDc {
@@ -3942,6 +3945,20 @@ export type PythonTaskMethodConfigurationDc = TaskMethodConfigurationDc & {
3942
3945
  /** Gets or sets method. */
3943
3946
  method?: string | null;
3944
3947
  };
3948
+ /**
3949
+ * Stream quality.
3950
+
3951
+ Low
3952
+
3953
+ Medium
3954
+
3955
+ High
3956
+ */
3957
+ export declare enum Quality {
3958
+ Low = "Low",
3959
+ Medium = "Medium",
3960
+ High = "High"
3961
+ }
3945
3962
  /**
3946
3963
  * Query geometry data contract.
3947
3964
  */
@@ -4422,8 +4439,20 @@ export interface RegisterUserDc {
4422
4439
  * @format email
4423
4440
  */
4424
4441
  email?: string;
4442
+ /** Phone number. */
4443
+ phone?: string;
4425
4444
  /** Password. */
4426
4445
  password?: string;
4446
+ /** First name. */
4447
+ first_name?: string;
4448
+ /** Last name. */
4449
+ last_name?: string;
4450
+ /** Patronymic. */
4451
+ patronymic?: string;
4452
+ /** Gets or sets company. */
4453
+ company?: string;
4454
+ /** Has newsletter subscription. */
4455
+ is_subscribed?: boolean;
4427
4456
  }
4428
4457
  /**
4429
4458
  *
@@ -6261,20 +6290,8 @@ export interface UpdateTaskPrototypeDto {
6261
6290
  export interface UpdateUserDc {
6262
6291
  /** Gets or sets location. */
6263
6292
  location?: string;
6264
- /** Gets or sets company. */
6265
- company?: string;
6266
6293
  /** Gets or sets position. */
6267
6294
  position?: string;
6268
- /** First name. */
6269
- first_name?: string;
6270
- /** Last name. */
6271
- last_name?: string;
6272
- /** Patronymic. */
6273
- patronymic?: string;
6274
- /** Phone number. */
6275
- phone?: string;
6276
- /** Has newsletter subscription. */
6277
- is_subscribed?: boolean;
6278
6295
  /** Whether to open the last used project when opening a client. */
6279
6296
  is_open_last_project?: boolean;
6280
6297
  /** Is active. */
@@ -6292,8 +6309,20 @@ export interface UpdateUserDc {
6292
6309
  * @format email
6293
6310
  */
6294
6311
  email?: string;
6312
+ /** Phone number. */
6313
+ phone?: string;
6295
6314
  /** Password. */
6296
6315
  password?: string;
6316
+ /** First name. */
6317
+ first_name?: string;
6318
+ /** Last name. */
6319
+ last_name?: string;
6320
+ /** Patronymic. */
6321
+ patronymic?: string;
6322
+ /** Gets or sets company. */
6323
+ company?: string;
6324
+ /** Has newsletter subscription. */
6325
+ is_subscribed?: boolean;
6297
6326
  }
6298
6327
  /**
6299
6328
  * Set used project.
package/dist/api.esm.js CHANGED
@@ -5574,6 +5574,21 @@ var PolicyType;
5574
5574
  PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
5575
5575
  })(PolicyType || (PolicyType = {}));
5576
5576
  /**
5577
+ * Stream quality.
5578
+
5579
+ Low
5580
+
5581
+ Medium
5582
+
5583
+ High
5584
+ */
5585
+ var Quality;
5586
+ (function (Quality) {
5587
+ Quality["Low"] = "Low";
5588
+ Quality["Medium"] = "Medium";
5589
+ Quality["High"] = "High";
5590
+ })(Quality || (Quality = {}));
5591
+ /**
5577
5592
  *
5578
5593
 
5579
5594
  Init
@@ -5838,5 +5853,5 @@ var WorkerSettingsFieldType;
5838
5853
  WorkerSettingsFieldType["AttributeArray"] = "AttributeArray";
5839
5854
  })(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
5840
5855
 
5841
- export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConfigurationType, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, GeometryType, HttpClient, Import, Layers, Names, Notification, NotificationEvent, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, 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 };
5856
+ export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConfigurationType, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, 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 };
5842
5857
  //# sourceMappingURL=api.esm.js.map