@evergis/api 4.1.48 → 4.1.49

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.
@@ -246,51 +246,6 @@ export type ArcGisDataSourceInfoDc = DataSourceInfoDc & {
246
246
  /** Service url. */
247
247
  serviceUrl?: string | null;
248
248
  };
249
- /**
250
- * Archive calendar response.
251
- */
252
- export interface ArchiveCalendarDc {
253
- /** Each value represents the percentage of time covered by archive records within the corresponding day. */
254
- calendar?: ArchiveCalendarItemDc[];
255
- /** Check if request success. */
256
- success?: boolean;
257
- }
258
- /**
259
- * Archive calendar item.
260
- */
261
- export interface ArchiveCalendarItemDc {
262
- /** Date. */
263
- date?: string;
264
- /**
265
- * Daily coverage values.
266
- * @format int32
267
- */
268
- coverage?: number;
269
- }
270
- /**
271
- * Archive timeline request.
272
- */
273
- export interface ArchiveTimelineDc {
274
- /** A list of daily coverage values. */
275
- timeline?: ArchiveTimelineItemDc[];
276
- /** Check if request success. */
277
- success?: boolean;
278
- }
279
- /**
280
- * Represents the percentage of time covered by archive records within the corresponding day.
281
- */
282
- export interface ArchiveTimelineItemDc {
283
- /**
284
- * Corresponding day.
285
- * @format date-time
286
- */
287
- startTime?: string;
288
- /**
289
- * Percentage of time covered by archive record.
290
- * @format int32
291
- */
292
- duration?: number;
293
- }
294
249
  /**
295
250
  * Configuration of an attribute in a feature layer.
296
251
  */
@@ -793,48 +748,6 @@ export interface BulkOperationResultDc {
793
748
  /** Sets true. */
794
749
  isSuccess?: boolean;
795
750
  }
796
- /**
797
- * Camera item.
798
- */
799
- export interface CameraDc {
800
- /** Id of the camera. */
801
- id?: string;
802
- /** Name of the camera. */
803
- name?: string;
804
- /** Checks if camera online. */
805
- online?: boolean;
806
- }
807
- /**
808
- * Cameras list response.
809
- */
810
- export interface CameraListDc {
811
- /** The retrieved items in the list. */
812
- items?: CameraDc[];
813
- /** Check if request success. */
814
- success?: boolean;
815
- }
816
- /**
817
- * Catalog configuration data contract.
818
- */
819
- export interface CatalogConfigurationDc {
820
- /** Configuration id. */
821
- id?: string;
822
- /**
823
- *
824
- *
825
- * Default
826
- *
827
- * DevConfiguration
828
- */
829
- type?: ConfigurationType;
830
- /** Configuration data. */
831
- configuration?: any;
832
- /**
833
- * Updated at.
834
- * @format date-time
835
- */
836
- updatedAt?: string;
837
- }
838
751
  /**
839
752
  * Resource catalog item.
840
753
  */
@@ -1189,17 +1102,6 @@ export declare enum ConfigurationErrorEnum {
1189
1102
  /**
1190
1103
  *
1191
1104
 
1192
- Default
1193
-
1194
- DevConfiguration
1195
- */
1196
- export declare enum ConfigurationType {
1197
- Default = "Default",
1198
- DevConfiguration = "DevConfiguration"
1199
- }
1200
- /**
1201
- *
1202
-
1203
1105
  Skip
1204
1106
 
1205
1107
  Overwrite
@@ -1214,6 +1116,35 @@ export declare enum ConflictResolutionStrategy {
1214
1116
  GenerateUnique = "GenerateUnique",
1215
1117
  ThrowError = "ThrowError"
1216
1118
  }
1119
+ /**
1120
+ * DTO for connection request containing resource connection parameters.
1121
+ */
1122
+ export interface ConnectRequestDc {
1123
+ /** Gets or sets the unique identifier of the resource to connect to. */
1124
+ resourceId: string;
1125
+ /** Gets or sets the URL of the repository containing the resource. */
1126
+ repositoryUrl: string;
1127
+ /** Gets or sets the access token for authentication with the repository. */
1128
+ accessToken: string;
1129
+ /** Gets or sets the optional branch name to use for the repository connection. */
1130
+ branch?: string;
1131
+ }
1132
+ /**
1133
+ * DTO for connection response containing resource connection parameters.
1134
+ */
1135
+ export interface ConnectResponseDc {
1136
+ /** The name of the storage/repository. */
1137
+ name?: string;
1138
+ /**
1139
+ * The timestamp when the connection was established.
1140
+ * @format date-time
1141
+ */
1142
+ connectedAt?: string;
1143
+ /** The SHA of the last commit in the connected branch. */
1144
+ lastCommitSha?: string;
1145
+ /** The branch that was connected to. */
1146
+ branch?: string;
1147
+ }
1217
1148
  /**
1218
1149
  * Describes resource to copy.
1219
1150
  */
@@ -1415,9 +1346,11 @@ export interface CreateUserDc {
1415
1346
  company?: string;
1416
1347
  /** Has newsletter subscription. */
1417
1348
  is_subscribed?: boolean;
1349
+ /** Additional information or goals. */
1350
+ goals?: string;
1418
1351
  }
1419
1352
  /**
1420
- * Create view from query layer data contract.
1353
+ * Create view from query data contract.
1421
1354
  */
1422
1355
  export interface CreateViewFromQueryDc {
1423
1356
  /** Add gid column. */
@@ -1653,9 +1586,7 @@ export interface EditAttributesInfoDc {
1653
1586
  /**
1654
1587
  * Envelope geometry.
1655
1588
  */
1656
- export type EnvelopeDc = GeometryDc & {
1657
- /** Coordinates of the envelope. Always has exactly 2 points: left bottom and right top. */
1658
- coordinates: PositionDc[];
1589
+ export interface EnvelopeDc {
1659
1590
  /**
1660
1591
  *
1661
1592
  *
@@ -1679,8 +1610,15 @@ export type EnvelopeDc = GeometryDc & {
1679
1610
  *
1680
1611
  * collection
1681
1612
  */
1682
- type?: GeometryType;
1683
- };
1613
+ type: GeometryType;
1614
+ /** Coordinates of the envelope. Always has exactly 2 points: left bottom and right top. */
1615
+ coordinates: PositionDc[];
1616
+ /**
1617
+ * Spatial reference id.
1618
+ * @format int32
1619
+ */
1620
+ srId?: number;
1621
+ }
1684
1622
  /**
1685
1623
  * Configuration of an attribute in a feature layer.
1686
1624
  */
@@ -2096,7 +2034,7 @@ export type FailedServiceInfoDc = ServiceInfoDc & {
2096
2034
  */
2097
2035
  export interface FeatureDc {
2098
2036
  /** Feature geometry definition. */
2099
- geometry?: EnvelopeDc | GeometryCollectionDc | LineStringDc | MultiPointDc | MultiPolygonDc | PointDc | PolygonDc | PolylineDc;
2037
+ geometry?: GeometryCollectionDc | LineStringDc | MultiPointDc | MultiPolygonDc | PointDc | PolygonDc | PolylineDc;
2100
2038
  /** Feature attributes collection. */
2101
2039
  attributes: Record<string, any>;
2102
2040
  /** Feature unique identifier. */
@@ -2123,6 +2061,12 @@ export type FeatureLayerServiceInfoDc = ServiceInfoDc & {
2123
2061
  /** Edit configuration. Storage isn't used by server. */
2124
2062
  editConfiguration?: any;
2125
2063
  };
2064
+ export interface FileDto {
2065
+ path?: string;
2066
+ content?: string;
2067
+ /** @format int32 */
2068
+ size?: number;
2069
+ }
2126
2070
  /**
2127
2071
  * The result of uploading a file.
2128
2072
  */
@@ -2178,7 +2122,7 @@ export interface GeocodeResultDc {
2178
2122
  /** The position at the map. */
2179
2123
  center?: PositionDc;
2180
2124
  /** Result geometry. */
2181
- geometry?: EnvelopeDc | GeometryCollectionDc | LineStringDc | MultiPointDc | MultiPolygonDc | PointDc | PolygonDc | PolylineDc;
2125
+ geometry?: GeometryCollectionDc | LineStringDc | MultiPointDc | MultiPolygonDc | PointDc | PolygonDc | PolylineDc;
2182
2126
  }
2183
2127
  /**
2184
2128
  * Geocode suggest result.
@@ -2196,7 +2140,7 @@ export interface GeocodeSuggestResultDc {
2196
2140
  */
2197
2141
  export type GeometryCollectionDc = GeometryDc & {
2198
2142
  /** Multipoint coordinates. */
2199
- geometries: (EnvelopeDc | GeometryCollectionDc | LineStringDc | MultiPointDc | MultiPolygonDc | PointDc | PolygonDc | PolylineDc)[];
2143
+ geometries: (GeometryCollectionDc | LineStringDc | MultiPointDc | MultiPolygonDc | PointDc | PolygonDc | PolylineDc)[];
2200
2144
  /**
2201
2145
  *
2202
2146
  *
@@ -2559,7 +2503,6 @@ export interface GetSumOfProductDc {
2559
2503
  /** Filter query geometries. */
2560
2504
  geometries?: QueryGeometryDc[];
2561
2505
  }
2562
- export type IAsyncEnumerableLivePreviewDc = object;
2563
2506
  /**
2564
2507
  * Data schema of a file for import.
2565
2508
  */
@@ -2611,6 +2554,28 @@ export interface ImportLayerDataSchemaDc {
2611
2554
  /** Schema of a inner layers. */
2612
2555
  children?: ImportLayerDataSchemaDc[];
2613
2556
  }
2557
+ /**
2558
+ * Increase resources limit feedback data contract.
2559
+ */
2560
+ export interface IncreaseResourcesLimitDc {
2561
+ /**
2562
+ * Additional maps count.
2563
+ * @format int32
2564
+ */
2565
+ map?: number;
2566
+ /**
2567
+ * Additional layers count.
2568
+ * @format int32
2569
+ */
2570
+ layer?: number;
2571
+ /**
2572
+ * Additional data sources count.
2573
+ * @format int32
2574
+ */
2575
+ dataSource?: number;
2576
+ /** Request justification. */
2577
+ justification?: string;
2578
+ }
2614
2579
  /**
2615
2580
  * Information about the layer attributes and their configuration.
2616
2581
  */
@@ -3655,6 +3620,32 @@ export type ProxyServiceInfoDc = ServiceInfoDc & {
3655
3620
  /** Edit configuration. Storage isn't used by server. */
3656
3621
  editConfiguration?: any;
3657
3622
  };
3623
+ export interface PullResponse {
3624
+ commitSha?: string;
3625
+ files?: FileDto[];
3626
+ /** @format int32 */
3627
+ syncVersion?: number;
3628
+ /** @format date-time */
3629
+ pulledAt?: string;
3630
+ }
3631
+ /**
3632
+ * Push request data transfer object.
3633
+ */
3634
+ export interface PushRequestDc {
3635
+ /** Resource id to push. */
3636
+ resourceId: string;
3637
+ /** Commit message. */
3638
+ commitMessage: string;
3639
+ }
3640
+ export interface PushResponse {
3641
+ commitSha?: string;
3642
+ /** @format int32 */
3643
+ syncVersion?: number;
3644
+ /** @format int32 */
3645
+ changesCount?: number;
3646
+ /** @format date-time */
3647
+ pushedAt?: string;
3648
+ }
3658
3649
  /**
3659
3650
  * Configuration for the python service.
3660
3651
  */
@@ -3707,20 +3698,6 @@ export type PythonTaskMethodConfigurationDc = TaskMethodConfigurationDc & {
3707
3698
  /** Gets or sets method. */
3708
3699
  method?: string | null;
3709
3700
  };
3710
- /**
3711
- * Stream quality.
3712
-
3713
- Low
3714
-
3715
- Medium
3716
-
3717
- High
3718
- */
3719
- export declare enum Quality {
3720
- Low = "Low",
3721
- Medium = "Medium",
3722
- High = "High"
3723
- }
3724
3701
  /**
3725
3702
  * Query geometry data contract.
3726
3703
  */
@@ -4106,6 +4083,8 @@ export interface RegisterUserDc {
4106
4083
  company?: string;
4107
4084
  /** Has newsletter subscription. */
4108
4085
  is_subscribed?: boolean;
4086
+ /** Additional information or goals. */
4087
+ goals?: string;
4109
4088
  }
4110
4089
  /**
4111
4090
  *
@@ -4443,6 +4422,27 @@ export interface RolePermissionDc {
4443
4422
  */
4444
4423
  permissions: Permissions;
4445
4424
  }
4425
+ /**
4426
+ * Rollback request data transfer object.
4427
+ */
4428
+ export interface RollbackRequestDc {
4429
+ /** Resource id to rollback. */
4430
+ resourceId: string;
4431
+ /**
4432
+ * Target version rollback to.
4433
+ * @format int32
4434
+ */
4435
+ targetVersion: number;
4436
+ }
4437
+ export interface RollbackResponse {
4438
+ newCommitSha?: string;
4439
+ /** @format int32 */
4440
+ syncVersion?: number;
4441
+ /** @format int32 */
4442
+ rolledBackToVersion?: number;
4443
+ /** @format date-time */
4444
+ rolledBackAt?: string;
4445
+ }
4446
4446
  /**
4447
4447
  * Route service configuration Dc.
4448
4448
  */
@@ -4932,6 +4932,32 @@ export interface StatisticsResultObject {
4932
4932
  /** Value. */
4933
4933
  value?: any;
4934
4934
  }
4935
+ /**
4936
+ * Represents the current status of a connected storage.
4937
+ */
4938
+ export interface StatusResponseDc {
4939
+ /** Repository url. */
4940
+ repositoryUrl?: string;
4941
+ /** Branch. */
4942
+ branch?: string;
4943
+ /** Last commit sha. */
4944
+ lastCommitSha?: string;
4945
+ /**
4946
+ * Latest repository version.
4947
+ * @format int32
4948
+ */
4949
+ latestVersion?: number;
4950
+ /**
4951
+ * Connection timestamp.
4952
+ * @format date-time
4953
+ */
4954
+ connectedAt?: string;
4955
+ /**
4956
+ * Last sync timestamp.
4957
+ * @format date-time
4958
+ */
4959
+ lastSyncAt?: string;
4960
+ }
4935
4961
  /**
4936
4962
  *
4937
4963
 
@@ -4960,6 +4986,8 @@ export interface SubTaskSettingsDto {
4960
4986
  order?: number;
4961
4987
  /** Type. */
4962
4988
  type?: string;
4989
+ /** Description. */
4990
+ description?: string;
4963
4991
  /** StartParameters. */
4964
4992
  startParameters?: any;
4965
4993
  }
@@ -5695,7 +5723,7 @@ export interface TokenResponseDc {
5695
5723
  */
5696
5724
  export interface UpdateFeatureDc {
5697
5725
  /** Feature geometry definition. */
5698
- geometry?: EnvelopeDc | GeometryCollectionDc | LineStringDc | MultiPointDc | MultiPolygonDc | PointDc | PolygonDc | PolylineDc;
5726
+ geometry?: GeometryCollectionDc | LineStringDc | MultiPointDc | MultiPolygonDc | PointDc | PolygonDc | PolylineDc;
5699
5727
  /** Feature attributes collection. */
5700
5728
  attributes?: Record<string, any>;
5701
5729
  /** Feature unique identifier. */
@@ -5818,6 +5846,8 @@ export interface UpdateUserDc {
5818
5846
  company?: string;
5819
5847
  /** Has newsletter subscription. */
5820
5848
  is_subscribed?: boolean;
5849
+ /** Additional information or goals. */
5850
+ goals?: string;
5821
5851
  }
5822
5852
  /**
5823
5853
  * Set used project.
@@ -5896,6 +5926,17 @@ export interface ValuesRangeDc {
5896
5926
  /** Maximum value. */
5897
5927
  max: any;
5898
5928
  }
5929
+ export interface VersionDto {
5930
+ /** @format int32 */
5931
+ versionNumber?: number;
5932
+ commitSha?: string;
5933
+ message?: string;
5934
+ /** @format date-time */
5935
+ createdAt?: string;
5936
+ }
5937
+ export interface VersionsResponse {
5938
+ versions?: VersionDto[];
5939
+ }
5899
5940
  /**
5900
5941
  * Configuration of a table for feature layer.
5901
5942
  */
@@ -6387,104 +6428,6 @@ export interface UploadPreview1Payload {
6387
6428
  /** @format binary */
6388
6429
  file?: File;
6389
6430
  }
6390
- export interface GetCamerasParams {
6391
- /**
6392
- * Page objects limit.
6393
- * @format int32
6394
- * @default 50
6395
- */
6396
- limit?: number;
6397
- /**
6398
- * Objects skip.
6399
- * @format int32
6400
- * @default 0
6401
- */
6402
- offset?: number;
6403
- }
6404
- export interface GetArchiveFeedParams {
6405
- /**
6406
- * Timestamp from which to start the archive playback.
6407
- * UNIX time (both seconds and milliseconds are supported).
6408
- * @format date-time
6409
- */
6410
- startTime?: string;
6411
- /**
6412
- * Timestamp at which to stop the playback.
6413
- * UNIX time (both seconds and milliseconds are supported).
6414
- * @format date-time
6415
- */
6416
- endTime?: string;
6417
- /**
6418
- * Playback speed factor.
6419
- * Possible values: 1 2 4 8 16 32 64.
6420
- * @format int32
6421
- */
6422
- speed?: number;
6423
- /** Camera id. */
6424
- cameraId: string;
6425
- }
6426
- export interface GetArchiveTimelineParams {
6427
- /**
6428
- * Start of the timeframe UNIX time (seconds).
6429
- * @format date-time
6430
- */
6431
- startTime?: string;
6432
- /**
6433
- * End of the timeframe UNIX time (seconds).
6434
- * @format date-time
6435
- */
6436
- endTime?: string;
6437
- /** Camera id. */
6438
- cameraId: string;
6439
- }
6440
- export interface GetArchiveCalendarParams {
6441
- /** Start of the timeframe UNIX time (seconds). */
6442
- startTime?: string;
6443
- /** End of the timeframe UNIX time (seconds). */
6444
- endTime?: string;
6445
- /** Timezone. */
6446
- tz?: string;
6447
- /** Camera id. */
6448
- cameraId: string;
6449
- }
6450
- export interface GetArchiveSnapshotParams {
6451
- /**
6452
- * Timestamp of the moment at which to take the snapshot.
6453
- * UNIX timestamp (in seconds).
6454
- * @format date-time
6455
- */
6456
- time?: string;
6457
- /** Camera id. */
6458
- cameraId: string;
6459
- }
6460
- export interface GetLiveFeedParams {
6461
- /**
6462
- * Duration.
6463
- * @format int64
6464
- */
6465
- duration?: number;
6466
- /** Camera id. */
6467
- cameraId: string;
6468
- }
6469
- export interface GetLivePreviewStreamParams {
6470
- /**
6471
- * Frame per second.
6472
- * @format float
6473
- */
6474
- fps?: number;
6475
- /**
6476
- * Quality.
6477
- *
6478
- * Low
6479
- *
6480
- * Medium
6481
- *
6482
- * High
6483
- */
6484
- quality?: Quality;
6485
- /** Id of the camera. */
6486
- cameraId: string;
6487
- }
6488
6431
  export interface GetTagsParams {
6489
6432
  /** Text filter. */
6490
6433
  filter?: string;
@@ -6574,6 +6517,16 @@ export interface CreateFile1Payload {
6574
6517
  }
6575
6518
  export type SetPermissionsPayload = ResourceAclDc[];
6576
6519
  export type CopyResourcesPayload = CopyResourceDc[];
6520
+ export interface GitVersionsParams {
6521
+ /**
6522
+ * Limit of versions to get.
6523
+ * @format int32
6524
+ * @default 10
6525
+ */
6526
+ limit?: number;
6527
+ /** Resource id to get versions. */
6528
+ resourceId: string;
6529
+ }
6577
6530
  export interface GetConfigurationsListParams {
6578
6531
  /**
6579
6532
  * Offset.
@@ -6723,25 +6676,6 @@ export interface BindCallbackParams {
6723
6676
  /** Redirect URL. */
6724
6677
  redirect?: string;
6725
6678
  }
6726
- export interface IncreaseResourcesLimitParams {
6727
- /**
6728
- * Additional maps count.
6729
- * @format int32
6730
- */
6731
- MapLimit?: number;
6732
- /**
6733
- * Additional layers count.
6734
- * @format int32
6735
- */
6736
- LayersLimit?: number;
6737
- /**
6738
- * Additional data sources count.
6739
- * @format int32
6740
- */
6741
- DataSourceLimit?: number;
6742
- /** Request justification. */
6743
- Justification?: string;
6744
- }
6745
6679
  export interface FeedbackPayload {
6746
6680
  /** Attachments. */
6747
6681
  Attachments?: File[];
@@ -6905,6 +6839,7 @@ export type PublishProxyServicePayload = ProxyServiceConfigurationDc | PbfServic
6905
6839
  * Configuration for the proxy service.
6906
6840
  */
6907
6841
  export type UpdateProxyServicePayload = ProxyServiceConfigurationDc | PbfServiceConfigurationDc | PythonServiceConfigurationDc;
6842
+ export type PatchQueryLayerServicePayload = Operation[];
6908
6843
  export interface GetFeatures1Params {
6909
6844
  /** Click geometry. */
6910
6845
  ewktGeometry?: string;
@@ -7256,8 +7191,6 @@ export interface GetProjectEnvelopeParams {
7256
7191
  /** The name of the project. */
7257
7192
  name: string;
7258
7193
  }
7259
- export type PatchProjectConfigurationPayload = Operation[];
7260
- export type PutProjectConfigurationPayload = any;
7261
7194
  export interface GetAllScriptMethodsParams {
7262
7195
  /** ResourceId. */
7263
7196
  resourceId?: string;