@evergis/api 4.0.0-alpha.0 → 4.0.2

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.
@@ -12,6 +12,48 @@ export interface AccessControlListDc {
12
12
  /** All available permissions list. */
13
13
  data?: RolePermissionDc[];
14
14
  }
15
+ /**
16
+ * Active worker data contract.
17
+ */
18
+ export interface ActiveWorkerDc {
19
+ /**
20
+ * Идентификатор.
21
+ * @format uuid
22
+ */
23
+ id?: string;
24
+ /** Worker type. */
25
+ type?: string;
26
+ /** Worker tasks. */
27
+ activeWorkerTasks?: ActiveWorkerTaskDc[];
28
+ /**
29
+ * Last update status date.
30
+ * @format date-time
31
+ */
32
+ lastUpdateStatusDate?: string;
33
+ /** IsInError. */
34
+ isInError?: boolean;
35
+ /** IsInTimeout. */
36
+ isInTimeout?: boolean;
37
+ }
38
+ /**
39
+ * Active worker task data contract.
40
+ */
41
+ export interface ActiveWorkerTaskDc {
42
+ /** Task type. */
43
+ type?: string;
44
+ /**
45
+ *
46
+ *
47
+ * Task
48
+ *
49
+ * Rest
50
+ *
51
+ * Both
52
+ */
53
+ methodCallType?: WorkerMethodType;
54
+ /** SettingsFields. */
55
+ settingsFields?: WorkerSettingsFieldDc[];
56
+ }
15
57
  export declare type AggregatedClusterSymbolDc = SymbolDc & {
16
58
  type?: string | null;
17
59
  pointSymbol?: AutoClassificationRasterSymbolDc | CirclePointSymbolDc | ClassificationRasterSymbolDc | CombinedPolylineSymbolDc | CompositeSymbolDc | ImagePointSymbolDc | ImagePolygonSymbolDc | IsolinesLabelSymbolDc | LabelSymbolDc | MaskedImagePointSymbolDc | MaskedImagePolygonSymbolDc | MultipointSymbolDc | PointLabelSymbolDc | PolygonCenterLabelSymbolDc | PolygonLabelSymbolDc | PolygonSymbolDc | PolylineLabelSymbolDc | PolylineSymbolDc | RasterSymbolDc | RgbRasterSymbolDc | SimplePolylineSymbolDc | SquarePointSymbolDc | SvgPointSymbolDc | LastTrackSymbolDc | TracksSymbolDc | TrackSymbolBaseDc | CombinedSvgSymbolDc | SvgSymbolDc | AggregatedClusterSymbolDc | ClusterSymbolDc | H3GridSymbolDc | HexGridSymbolDc | PolygonGridSymbolDc | null;
@@ -205,17 +247,16 @@ export interface AggregationMappingDc {
205
247
  * S3 data source settings.
206
248
  */
207
249
  export declare type ArcGisDataSourceDc = DataSourceDc & {
250
+ type?: DataSourceType;
208
251
  serviceUrl?: string | null;
209
- username?: string | null;
210
- password?: string | null;
252
+ params?: Record<string, string | null>;
253
+ headers?: Record<string, string | null>;
211
254
  };
212
255
  /**
213
256
  * S3 data source info.
214
257
  */
215
258
  export declare type ArcGisDataSourceInfoDc = DataSourceInfoDc & {
216
259
  serviceUrl?: string | null;
217
- username?: string | null;
218
- password?: string | null;
219
260
  };
220
261
  /**
221
262
  * Archive calendar response.
@@ -917,6 +958,8 @@ export interface CatalogResourceDc {
917
958
  * @format int32
918
959
  */
919
960
  srid?: number;
961
+ /** True if resource has children. */
962
+ hasChildren?: boolean;
920
963
  }
921
964
  /**
922
965
  *
@@ -2025,6 +2068,8 @@ export interface ExtendedUserInfoDc {
2025
2068
  * @format int32
2026
2069
  */
2027
2070
  idModifyUser?: number;
2071
+ /** Gets or sets emoji. */
2072
+ emoji?: string;
2028
2073
  /** Information about connected social networks. */
2029
2074
  social?: SocialNetworkInfoDc[];
2030
2075
  /** Username. */
@@ -2242,6 +2287,8 @@ export interface FeatureLayerServiceInfoDc {
2242
2287
  copyrightText?: string;
2243
2288
  /** Client data storage. Storage isn't used by server. */
2244
2289
  clientData?: any;
2290
+ /** Card configuration. Storage isn't used by server. */
2291
+ cardConfiguration?: any;
2245
2292
  /** The type of the resource. */
2246
2293
  type: string;
2247
2294
  /**
@@ -2596,6 +2643,8 @@ export interface GeocodeSuggestResultDc {
2596
2643
  text?: string;
2597
2644
  /** Source label. */
2598
2645
  label?: string;
2646
+ /** Source id. */
2647
+ id?: string;
2599
2648
  }
2600
2649
  /**
2601
2650
  * Geocode task.
@@ -2761,6 +2810,8 @@ export interface GetFeaturesParametersDc {
2761
2810
  query?: string;
2762
2811
  /** Id of override data filter to apply to the layer. If not set, the default filter is used. */
2763
2812
  dataFilterId?: string;
2813
+ /** Click geometry. */
2814
+ ewktGeometry?: string;
2764
2815
  /**
2765
2816
  * Features count have to skip.
2766
2817
  * @format int32
@@ -3644,6 +3695,21 @@ export declare type MaterializedViewConfigurationDc = TableConfigurationBaseDc &
3644
3695
  eql?: string | null;
3645
3696
  eqlParameters?: Record<string, any>;
3646
3697
  };
3698
+ /**
3699
+ * MosRu data source.
3700
+ */
3701
+ export declare type MosRuDataSourceDc = DataSourceDc & {
3702
+ type?: DataSourceType;
3703
+ serviceUrl?: string | null;
3704
+ accessToken?: string | null;
3705
+ };
3706
+ /**
3707
+ * MosRu data source info.
3708
+ */
3709
+ export declare type MosRuDataSourceInfoDc = DataSourceInfoDc & {
3710
+ serviceUrl?: string | null;
3711
+ accessToken?: string | null;
3712
+ };
3647
3713
  /**
3648
3714
  * Move resource dto.
3649
3715
  */
@@ -3772,7 +3838,7 @@ export interface PagedListDataSourceInfoDc {
3772
3838
  offset?: number;
3773
3839
  /** @format int32 */
3774
3840
  limit?: number;
3775
- items?: (DataSourceInfoDc | ArcGisDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc)[];
3841
+ items?: (DataSourceInfoDc | ArcGisDataSourceInfoDc | MosRuDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc)[];
3776
3842
  }
3777
3843
  export interface PagedListExtendedUserInfoDc {
3778
3844
  /** @format int64 */
@@ -4188,6 +4254,7 @@ export declare type PositionDc = number[];
4188
4254
  * Postgres connection data source connection.
4189
4255
  */
4190
4256
  export declare type PostgresDataSourceDc = DataSourceDc & {
4257
+ type?: DataSourceType;
4191
4258
  host?: string | null;
4192
4259
  userName?: string | null;
4193
4260
  password?: string | null;
@@ -4266,6 +4333,10 @@ export interface ProjectConfigurationDc {
4266
4333
  items?: ProjectContentItemDc[];
4267
4334
  /** A collection of bookmarks of the map. */
4268
4335
  bookmarks?: BookmarkDc[];
4336
+ /** Language of the project. */
4337
+ language?: string;
4338
+ /** Project configuration. */
4339
+ config?: any;
4269
4340
  }
4270
4341
  /**
4271
4342
  * Project item description.
@@ -4302,6 +4373,8 @@ export interface ProjectContentItemDc {
4302
4373
  isBasemap?: boolean;
4303
4374
  /** Children items. */
4304
4375
  children?: ProjectContentItemDc[];
4376
+ /** Layer type. */
4377
+ layerType?: string;
4305
4378
  }
4306
4379
  /**
4307
4380
  * A project configuration data contract.
@@ -4345,8 +4418,10 @@ export interface ProxyLayerLegendItemDc {
4345
4418
  * Configuration for the proxy service.
4346
4419
  */
4347
4420
  export declare type ProxyServiceConfigurationDc = ServiceConfigurationBaseDc & {
4348
- sourceType: string;
4349
- sourceUrl: string;
4421
+ resourceId?: string | null;
4422
+ geometryType?: GeometryType;
4423
+ sourceType?: string | null;
4424
+ sourceUrl?: string | null;
4350
4425
  minResolution?: number;
4351
4426
  maxResolution?: number;
4352
4427
  layers?: string[] | null;
@@ -4360,6 +4435,8 @@ export declare type ProxyServiceConfigurationDc = ServiceConfigurationBaseDc & {
4360
4435
  * Service info for a Proxy service.
4361
4436
  */
4362
4437
  export interface ProxyServiceInfoDc {
4438
+ /** Information about the layer attributes and their configuration. */
4439
+ layerDefinition?: LayerDefinitionDc;
4363
4440
  /** Source system type, e.g. "ArcGIS". */
4364
4441
  sourceType: string;
4365
4442
  /** Source url path. Like http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/SuperTuesdaySample/MapServer. */
@@ -4466,6 +4543,21 @@ export interface ProxyServiceInfoDc {
4466
4543
  /** Resource tags. */
4467
4544
  tags?: string[];
4468
4545
  }
4546
+ /**
4547
+ * PythonResourceCreateDto.
4548
+ */
4549
+ export interface PythonResourceCreateDto {
4550
+ /** SystemName. */
4551
+ systemName?: string;
4552
+ /** Name. */
4553
+ name?: string;
4554
+ /** ParentId. */
4555
+ parentId?: string;
4556
+ /** Description. */
4557
+ description?: string;
4558
+ /** Tags. */
4559
+ tags?: string[];
4560
+ }
4469
4561
  /**
4470
4562
  * Stream quality.
4471
4563
 
@@ -4578,6 +4670,8 @@ export interface QueryLayerServiceInfoDc {
4578
4670
  copyrightText?: string;
4579
4671
  /** Client data storage. Storage isn't used by server. */
4580
4672
  clientData?: any;
4673
+ /** Card configuration. Storage isn't used by server. */
4674
+ cardConfiguration?: any;
4581
4675
  /** The type of the resource. */
4582
4676
  type: string;
4583
4677
  /**
@@ -4887,6 +4981,7 @@ export declare type RemoteTileServiceConfigurationDc = ServiceConfigurationBaseD
4887
4981
  subDomains?: string[] | null;
4888
4982
  allowDirectAccess?: boolean;
4889
4983
  RequestTimeout?: number;
4984
+ useProxyHttpClient?: boolean;
4890
4985
  };
4891
4986
  export interface RemoteTileServiceInfo {
4892
4987
  /** Description of a service in the Spatial Processor. */
@@ -5228,6 +5323,7 @@ export interface RoutingProviderInfoDc {
5228
5323
  * S3 data source settings.
5229
5324
  */
5230
5325
  export declare type S3DataSourceDc = DataSourceDc & {
5326
+ type?: DataSourceType;
5231
5327
  endpoint?: string | null;
5232
5328
  secretKey?: string | null;
5233
5329
  accessKey?: string | null;
@@ -5272,6 +5368,23 @@ export interface ScaleBarElementDc {
5272
5368
  /** Check what this model element enabled. */
5273
5369
  enabled?: boolean;
5274
5370
  }
5371
+ /**
5372
+ * ScriptConfiguration.
5373
+ */
5374
+ export interface ScriptConfiguration {
5375
+ /** Gets or sets script. */
5376
+ script?: string;
5377
+ /** Gets or sets method. */
5378
+ method?: string;
5379
+ /** Gets or sets description. */
5380
+ description?: string;
5381
+ /** Parameters. */
5382
+ parameters?: ScriptParameter[];
5383
+ /** ScriptReturnType. */
5384
+ return?: ScriptReturnType;
5385
+ /** Script error message. */
5386
+ error?: string;
5387
+ }
5275
5388
  /**
5276
5389
  * Script data contract.
5277
5390
  */
@@ -5281,6 +5394,113 @@ export interface ScriptDc {
5281
5394
  /** Description. */
5282
5395
  description?: string;
5283
5396
  }
5397
+ /**
5398
+ * ScriptParameter.
5399
+ */
5400
+ export interface ScriptParameter {
5401
+ /** Name. */
5402
+ name?: string;
5403
+ /** Gets or sets description. */
5404
+ description?: string;
5405
+ /**
5406
+ *
5407
+ *
5408
+ * Integer
5409
+ *
5410
+ * Double
5411
+ *
5412
+ * String
5413
+ *
5414
+ * Extent
5415
+ *
5416
+ * Geometry
5417
+ *
5418
+ * IntergerArray
5419
+ *
5420
+ * DoubleArray
5421
+ *
5422
+ * StringArray
5423
+ *
5424
+ * Boolean
5425
+ *
5426
+ * SourceEql
5427
+ *
5428
+ * Layer
5429
+ *
5430
+ * Table
5431
+ *
5432
+ * Folder
5433
+ *
5434
+ * Json
5435
+ *
5436
+ * Expression
5437
+ *
5438
+ * Expressions
5439
+ */
5440
+ type?: WorkerSettingsFieldType;
5441
+ /** Name. */
5442
+ default?: any;
5443
+ /** ScriptRange. */
5444
+ range?: ScriptRange;
5445
+ /** Name. */
5446
+ nullable?: boolean;
5447
+ }
5448
+ /**
5449
+ * ScriptRange.
5450
+ */
5451
+ export interface ScriptRange {
5452
+ /** Name. */
5453
+ min?: any;
5454
+ /** Name. */
5455
+ max?: any;
5456
+ }
5457
+ /**
5458
+ * ScriptReturnType.
5459
+ */
5460
+ export interface ScriptReturnType {
5461
+ /** Gets or sets description. */
5462
+ description?: string;
5463
+ /**
5464
+ *
5465
+ *
5466
+ * Integer
5467
+ *
5468
+ * Double
5469
+ *
5470
+ * String
5471
+ *
5472
+ * Extent
5473
+ *
5474
+ * Geometry
5475
+ *
5476
+ * IntergerArray
5477
+ *
5478
+ * DoubleArray
5479
+ *
5480
+ * StringArray
5481
+ *
5482
+ * Boolean
5483
+ *
5484
+ * SourceEql
5485
+ *
5486
+ * Layer
5487
+ *
5488
+ * Table
5489
+ *
5490
+ * Folder
5491
+ *
5492
+ * Json
5493
+ *
5494
+ * Expression
5495
+ *
5496
+ * Expressions
5497
+ */
5498
+ type?: WorkerSettingsFieldType;
5499
+ /** Name. */
5500
+ default?: any;
5501
+ /** Name. */
5502
+ nullable?: boolean;
5503
+ }
5284
5504
  /**
5285
5505
  * Result data.
5286
5506
  */
@@ -6747,6 +6967,133 @@ export declare type ViewConfigurationDc = TableConfigurationBaseDc & {
6747
6967
  eql?: string | null;
6748
6968
  eqlParameters?: Record<string, any>;
6749
6969
  };
6970
+ /**
6971
+ * S3 data source settings.
6972
+ */
6973
+ export declare type WmsDataSourceDc = DataSourceDc & {
6974
+ type?: DataSourceType;
6975
+ serviceUrl?: string | null;
6976
+ params?: Record<string, string | null>;
6977
+ headers?: Record<string, string | null>;
6978
+ };
6979
+ /**
6980
+ *
6981
+
6982
+ Task
6983
+
6984
+ Rest
6985
+
6986
+ Both
6987
+ */
6988
+ export declare enum WorkerMethodType {
6989
+ Task = "Task",
6990
+ Rest = "Rest",
6991
+ Both = "Both"
6992
+ }
6993
+ /**
6994
+ * Worker settings field data contract.
6995
+ */
6996
+ export interface WorkerSettingsFieldDc {
6997
+ /** Name. */
6998
+ name?: string;
6999
+ /** Alias. */
7000
+ alias?: string;
7001
+ /** Group. */
7002
+ group?: string;
7003
+ /**
7004
+ *
7005
+ *
7006
+ * Integer
7007
+ *
7008
+ * Double
7009
+ *
7010
+ * String
7011
+ *
7012
+ * Extent
7013
+ *
7014
+ * Geometry
7015
+ *
7016
+ * IntergerArray
7017
+ *
7018
+ * DoubleArray
7019
+ *
7020
+ * StringArray
7021
+ *
7022
+ * Boolean
7023
+ *
7024
+ * SourceEql
7025
+ *
7026
+ * Layer
7027
+ *
7028
+ * Table
7029
+ *
7030
+ * Folder
7031
+ *
7032
+ * Json
7033
+ *
7034
+ * Expression
7035
+ *
7036
+ * Expressions
7037
+ */
7038
+ type?: WorkerSettingsFieldType;
7039
+ /** Lookup values. */
7040
+ lookupValues?: Record<string, string | null>;
7041
+ /** Children fields. */
7042
+ ChildrenFields?: Record<string, WorkerSettingsFieldDc[] | null>;
7043
+ }
7044
+ /**
7045
+ *
7046
+
7047
+ Integer
7048
+
7049
+ Double
7050
+
7051
+ String
7052
+
7053
+ Extent
7054
+
7055
+ Geometry
7056
+
7057
+ IntergerArray
7058
+
7059
+ DoubleArray
7060
+
7061
+ StringArray
7062
+
7063
+ Boolean
7064
+
7065
+ SourceEql
7066
+
7067
+ Layer
7068
+
7069
+ Table
7070
+
7071
+ Folder
7072
+
7073
+ Json
7074
+
7075
+ Expression
7076
+
7077
+ Expressions
7078
+ */
7079
+ export declare enum WorkerSettingsFieldType {
7080
+ Integer = "Integer",
7081
+ Double = "Double",
7082
+ String = "String",
7083
+ Extent = "Extent",
7084
+ Geometry = "Geometry",
7085
+ IntergerArray = "IntergerArray",
7086
+ DoubleArray = "DoubleArray",
7087
+ StringArray = "StringArray",
7088
+ Boolean = "Boolean",
7089
+ SourceEql = "SourceEql",
7090
+ Layer = "Layer",
7091
+ Table = "Table",
7092
+ Folder = "Folder",
7093
+ Json = "Json",
7094
+ Expression = "Expression",
7095
+ Expressions = "Expressions"
7096
+ }
6750
7097
  /**
6751
7098
  * Worker post method params.
6752
7099
  */
@@ -6777,11 +7124,6 @@ export interface WorkspaceLimitsDc {
6777
7124
  * @format int32
6778
7125
  */
6779
7126
  maxFeaturesInOneTable?: number;
6780
- /**
6781
- * Max current features in one table.
6782
- * @format int64
6783
- */
6784
- currentFeaturesInOneTable?: number;
6785
7127
  /**
6786
7128
  * Max projects count in workspace.
6787
7129
  * @format int32
@@ -6797,8 +7139,11 @@ export interface WorkspaceLimitsDc {
6797
7139
  * @format int64
6798
7140
  */
6799
7141
  maxObjectsToExport?: number;
6800
- /** Allowed service types in workspace. */
6801
- allowedServiceTypes?: string[];
7142
+ /**
7143
+ * Maximum number of rows that a user can quering by eql parameter query.
7144
+ * @format int64
7145
+ */
7146
+ maxEqlQueryParametersValues?: number;
6802
7147
  /**
6803
7148
  * Current table count.
6804
7149
  * @format int64
@@ -6949,12 +7294,6 @@ export interface UploadPreviewPayload {
6949
7294
  /** @format binary */
6950
7295
  file?: File;
6951
7296
  }
6952
- export interface UploadPreviewParams {
6953
- /** Image in base64 format. */
6954
- base64Image?: string;
6955
- /** User name. */
6956
- username: string;
6957
- }
6958
7297
  export interface GetCamerasParams {
6959
7298
  /**
6960
7299
  * Page objects limit.
@@ -7406,6 +7745,8 @@ export declare type PublishProxyServicePayload = ProxyServiceConfigurationDc | P
7406
7745
  */
7407
7746
  export declare type UpdateProxyServicePayload = ProxyServiceConfigurationDc | PbfServiceConfigurationDc;
7408
7747
  export interface GetFeatures1Params {
7748
+ /** Click geometry. */
7749
+ ewktGeometry?: string;
7409
7750
  /** Sets features filtering query. */
7410
7751
  query?: string;
7411
7752
  /** Id of override data filter to apply to the layer. If not set, the default filter is used. */
@@ -7805,7 +8146,7 @@ export interface ValidateExpressionParams {
7805
8146
  /** Layer name. */
7806
8147
  layerName: string;
7807
8148
  }
7808
- export interface GetRasterMetaParams6 {
8149
+ export interface GetRasterMetaParams5 {
7809
8150
  /**
7810
8151
  * Min value for build histogram.
7811
8152
  * @format double
@@ -7924,7 +8265,7 @@ export interface GetProjectsListParams {
7924
8265
  tags?: string[];
7925
8266
  }
7926
8267
  export declare type SetPermissionsBatchBody = ResourceAclDc[];
7927
- export interface DeleteResourcesParams5 {
8268
+ export interface DeleteResourcesParams8 {
7928
8269
  /** Resource names. */
7929
8270
  names?: string[];
7930
8271
  }
@@ -7945,6 +8286,35 @@ export interface SetPreviewBody {
7945
8286
  /** @format binary */
7946
8287
  file?: File;
7947
8288
  }
8289
+ export interface UpdatePythonConfigurationParams {
8290
+ /** ResourceId. */
8291
+ resourceId?: string;
8292
+ }
8293
+ export interface GetPythonConfigurationParams {
8294
+ /** ResourceId. */
8295
+ resourceId?: string;
8296
+ }
8297
+ export interface GetAutoConfigurationParams {
8298
+ /** ResourceId. */
8299
+ resourceId?: string;
8300
+ /** Script name. */
8301
+ scriptName?: string;
8302
+ /** Method name. */
8303
+ methodName?: string;
8304
+ }
8305
+ export interface GetAllScriptMethodsParams {
8306
+ /** ResourceId. */
8307
+ resourceId?: string;
8308
+ }
8309
+ export declare type RunScriptPayload = any;
8310
+ export interface RunScriptParams {
8311
+ /** Python resource id. */
8312
+ resourceId?: string;
8313
+ /** Script name. */
8314
+ scriptName?: string;
8315
+ /** Method name. */
8316
+ methodName?: string;
8317
+ }
7948
8318
  export interface AddPayload {
7949
8319
  /** Name. */
7950
8320
  Name: string;
@@ -8021,10 +8391,6 @@ export interface GetTasksForPrototypeParams {
8021
8391
  */
8022
8392
  id: string;
8023
8393
  }
8024
- export interface CheckLimitsParams {
8025
- /** Workspace. */
8026
- userName?: string;
8027
- }
8028
8394
  export declare type CopyResourcesPayload = CopyResourceDc[];
8029
8395
  export interface GetResourceParams {
8030
8396
  /** Object name. */
@@ -8203,7 +8569,7 @@ export interface StatisticsDbParams {
8203
8569
  */
8204
8570
  types?: AggregationFunction[];
8205
8571
  }
8206
- export interface ClassifyParams7 {
8572
+ export interface ClassifyParams9 {
8207
8573
  /** Layer name. */
8208
8574
  name: string;
8209
8575
  /** Attribute name. */
@@ -8336,7 +8702,7 @@ export interface GetTableListParams {
8336
8702
  acl?: string;
8337
8703
  }
8338
8704
  export declare type SetPermissionsBatchInput = ResourceAclDc[];
8339
- export interface DeleteResourcesParams2 {
8705
+ export interface DeleteResourcesParams1 {
8340
8706
  /** Resource names. */
8341
8707
  names?: string[];
8342
8708
  }