@evergis/api 3.0.49 → 3.0.50

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.
@@ -0,0 +1,31 @@
1
+ import { IceRouterResultDc, IceRouteTaskDc } from './data-contracts';
2
+ import { Service } from './Service';
3
+ /**
4
+ * @title Spatial Processing Core API
5
+ * @version v0.6.0
6
+ * @baseUrl /sp
7
+ */
8
+ export declare class IceRouterService extends Service {
9
+ /**
10
+ * No description
11
+ *
12
+ * @tags IceRouter
13
+ * @name StartTask
14
+ * @operationId IceRouterController_StartTask
15
+ * @summary Start route build between start and end points.
16
+ * @request POST:/ice-router/tasks
17
+ * @response `200` Success
18
+ */
19
+ startTask(data: IceRouteTaskDc): Promise<string>;
20
+ /**
21
+ * No description
22
+ *
23
+ * @tags IceRouter
24
+ * @name GetResult
25
+ * @operationId IceRouterController_GetResult
26
+ * @summary Get task result.
27
+ * @request GET:/ice-router/tasks/{id}
28
+ * @response `200` Success
29
+ */
30
+ getResult(id: string): Promise<IceRouterResultDc>;
31
+ }
@@ -32,8 +32,7 @@ export interface AggregationDataResultDc {
32
32
  /** Aggregation attribute name. */
33
33
  aggregationAttributeName: string;
34
34
  /**
35
- * The type of aggregation function for storage query.
36
- * The aggregation is applied to the source attribute and the result will write in the target attribute.
35
+ *
37
36
  *
38
37
  * None
39
38
  *
@@ -58,8 +57,7 @@ export interface AggregationDataResultDc {
58
57
  value: any;
59
58
  }
60
59
  /**
61
- * The type of aggregation function for storage query.
62
- The aggregation is applied to the source attribute and the result will write in the target attribute.
60
+ *
63
61
 
64
62
  None
65
63
 
@@ -99,8 +97,7 @@ export interface AggregationSettingDc {
99
97
  /** Source attribute name. */
100
98
  sourceAttributeName: string;
101
99
  /**
102
- * The type of aggregation function for storage query.
103
- * The aggregation is applied to the source attribute and the result will write in the target attribute.
100
+ *
104
101
  *
105
102
  * None
106
103
  *
@@ -176,7 +173,7 @@ export interface ArgumentDefinitionDc {
176
173
  defaultValue?: any;
177
174
  isOptional?: boolean;
178
175
  /**
179
- * Type of the geometry.
176
+ *
180
177
  *
181
178
  * unknown
182
179
  *
@@ -315,8 +312,7 @@ export interface AttributeConfigurationDc {
315
312
  /** If false, attribute will not be returned in feature query. */
316
313
  isDisplayed?: boolean;
317
314
  /**
318
- * The type of aggregation function for storage query.
319
- * The aggregation is applied to the source attribute and the result will write in the target attribute.
315
+ *
320
316
  *
321
317
  * None
322
318
  *
@@ -1738,7 +1734,6 @@ export interface GeocodeResultDc {
1738
1734
  * @format double
1739
1735
  */
1740
1736
  score?: number;
1741
- /** Geometry without specified spatial reference. */
1742
1737
  geometry?: IGeometry;
1743
1738
  }
1744
1739
  /**
@@ -1755,7 +1750,7 @@ export interface GeocodeSuggestResultDc {
1755
1750
  */
1756
1751
  export interface GeometryDc {
1757
1752
  /**
1758
- * Type of the geometry.
1753
+ *
1759
1754
  *
1760
1755
  * unknown
1761
1756
  *
@@ -1777,7 +1772,7 @@ export interface GeometryDc {
1777
1772
  sr?: number;
1778
1773
  }
1779
1774
  /**
1780
- * Type of the geometry.
1775
+ *
1781
1776
 
1782
1777
  unknown
1783
1778
 
@@ -1897,72 +1892,97 @@ export declare enum HttpStatusCode {
1897
1892
  NetworkAuthenticationRequired = "NetworkAuthenticationRequired"
1898
1893
  }
1899
1894
  /**
1900
- * Geographic spatial reference (e.g. with lat/long coordinates).
1895
+ * Attributes provides by router to describe route.
1901
1896
  */
1902
- export interface IDatum {
1897
+ export interface IceRouteAttributesDc {
1898
+ /** Gets route builder mode. */
1899
+ type?: string;
1900
+ /** Gets route title. */
1901
+ title?: string;
1903
1902
  /**
1904
- * Semimajor axis length.
1903
+ * Gets route build time.
1905
1904
  * @format double
1906
1905
  */
1907
- semimajor?: number;
1906
+ time?: number;
1908
1907
  /**
1909
- * Inverse flattening.
1908
+ * Gets route distance.
1910
1909
  * @format double
1911
1910
  */
1912
- inverseFlattening?: number;
1911
+ distance?: number;
1912
+ }
1913
+ /**
1914
+ * Provides description of result of ice router.
1915
+ */
1916
+ export interface IceRouteDc {
1917
+ /** Attributes provides by router to describe route. */
1918
+ attributes?: IceRouteAttributesDc;
1919
+ /** Route geometry. */
1920
+ geometry?: IceRouteGeometryDc;
1921
+ }
1922
+ /**
1923
+ * Route geometry.
1924
+ */
1925
+ export interface IceRouteGeometryDc {
1926
+ /** Gets type of geometry. */
1927
+ type?: string;
1928
+ /** Gets polyline coordinates. */
1929
+ coordinates?: number[][];
1930
+ }
1931
+ /**
1932
+ * Provides result of ice route builder.
1933
+ */
1934
+ export interface IceRouterResultDc {
1935
+ /** Gets status the task is done. */
1936
+ isDone?: boolean;
1913
1937
  /**
1914
- * Semiminor axis length.
1915
- * @format double
1938
+ * Gets list of the result tasks. Provides with status "completed".
1939
+ * <br>
1940
+ * Routes array contains three routes of types.
1941
+ * 1. Economic.
1942
+ * 2. Optimum.
1943
+ * 3. Fast.
1944
+ *
1916
1945
  */
1946
+ routes?: IceRouteDc[];
1947
+ }
1948
+ /**
1949
+ * Data contract to start ice routing task.
1950
+ */
1951
+ export interface IceRouteTaskDc {
1952
+ /** Gets or sets start point. */
1953
+ start: number[];
1954
+ /** Gets or sets end point. */
1955
+ end: number[];
1956
+ }
1957
+ export interface IDatum {
1958
+ /** @format double */
1959
+ semimajor?: number;
1960
+ /** @format double */
1961
+ inverseFlattening?: number;
1962
+ /** @format double */
1917
1963
  semiminor?: number;
1918
- /**
1919
- * Flattening value.
1920
- * @format double
1921
- */
1964
+ /** @format double */
1922
1965
  flattening?: number;
1923
- /** If true longitude is the first coordinate, if false latitude is the first coordinate. */
1924
1966
  reversedOrder?: boolean;
1925
- /**
1926
- * Numerical ID of the spatial reference as given by the publishing authority. E.g. for EPSG:3857 id is '3857'.
1927
- * @format int32
1928
- */
1967
+ /** @format int32 */
1929
1968
  id?: number;
1930
- /** Publishing authority of the spatial reference. E.g. EPSG or OSG. */
1931
1969
  authority?: string;
1932
- /** Human readable description of the spatial reference. */
1933
1970
  description?: string;
1934
- /** Well known text as specified by http://docs.opengeospatial.org/is/12-063r5/12-063r5.html. */
1935
1971
  wkt?: string;
1936
- /**
1937
- * Number of coordinate dimensions in this spatial reference.
1938
- * @format int32
1939
- */
1972
+ /** @format int32 */
1940
1973
  dimensions?: number;
1941
- /** Geographic spatial reference (e.g. with lat/long coordinates). */
1942
1974
  datum?: IDatum;
1943
1975
  }
1944
- /**
1945
- * A pair of points that represent a rectangular area in the space.
1946
- */
1947
1976
  export interface IEnvelopeGeometry {
1948
- /** Double values vector. */
1949
1977
  start?: IVector;
1950
- /** Double values vector. */
1951
1978
  end?: IVector;
1952
- /**
1953
- * Width of the envelope.
1954
- * @format double
1955
- */
1979
+ /** @format double */
1956
1980
  width?: number;
1957
- /**
1958
- * Height of the envelope.
1959
- * @format double
1960
- */
1981
+ /** @format double */
1961
1982
  height?: number;
1962
- /** Double values vector. */
1963
1983
  centroid?: IVector;
1964
1984
  /**
1965
- * Type of the geometry.
1985
+ *
1966
1986
  *
1967
1987
  * unknown
1968
1988
  *
@@ -1977,19 +1997,13 @@ export interface IEnvelopeGeometry {
1977
1997
  * multipoint
1978
1998
  */
1979
1999
  geometryType?: GeometryType;
1980
- /** Spatial reference is an object that specifies the geodetic datum and projection parameters of the coordinate system in use. */
1981
2000
  sr?: ISpatialReference;
1982
- /** A pair of points that represent a rectangular area in the space. */
1983
2001
  envelope?: IEnvelopeGeometry;
1984
2002
  }
1985
- /**
1986
- * Geometry without specified spatial reference.
1987
- */
1988
2003
  export interface IGeometry {
1989
- /** Double values vector. */
1990
2004
  centroid?: IVector;
1991
2005
  /**
1992
- * Type of the geometry.
2006
+ *
1993
2007
  *
1994
2008
  * unknown
1995
2009
  *
@@ -2004,9 +2018,7 @@ export interface IGeometry {
2004
2018
  * multipoint
2005
2019
  */
2006
2020
  geometryType?: GeometryType;
2007
- /** Spatial reference is an object that specifies the geodetic datum and projection parameters of the coordinate system in use. */
2008
2021
  sr?: ISpatialReference;
2009
- /** A pair of points that represent a rectangular area in the space. */
2010
2022
  envelope?: IEnvelopeGeometry;
2011
2023
  }
2012
2024
  export interface ILineEndingDc {
@@ -2089,27 +2101,14 @@ export interface IServiceConfiguration {
2089
2101
  /** Type of the layer. */
2090
2102
  type?: string;
2091
2103
  }
2092
- /**
2093
- * Spatial reference is an object that specifies the geodetic datum and projection parameters of the coordinate system in use.
2094
- */
2095
2104
  export interface ISpatialReference {
2096
- /**
2097
- * Numerical ID of the spatial reference as given by the publishing authority. E.g. for EPSG:3857 id is '3857'.
2098
- * @format int32
2099
- */
2105
+ /** @format int32 */
2100
2106
  id?: number;
2101
- /** Publishing authority of the spatial reference. E.g. EPSG or OSG. */
2102
2107
  authority?: string;
2103
- /** Human readable description of the spatial reference. */
2104
2108
  description?: string;
2105
- /** Well known text as specified by http://docs.opengeospatial.org/is/12-063r5/12-063r5.html. */
2106
2109
  wkt?: string;
2107
- /**
2108
- * Number of coordinate dimensions in this spatial reference.
2109
- * @format int32
2110
- */
2110
+ /** @format int32 */
2111
2111
  dimensions?: number;
2112
- /** Geographic spatial reference (e.g. with lat/long coordinates). */
2113
2112
  datum?: IDatum;
2114
2113
  }
2115
2114
  /**
@@ -2121,14 +2120,8 @@ export interface IValidationError {
2121
2120
  /** Validation errors. */
2122
2121
  message?: string;
2123
2122
  }
2124
- /**
2125
- * Double values vector.
2126
- */
2127
2123
  export interface IVector {
2128
- /**
2129
- * Number of coordinates dimensions.
2130
- * @format int32
2131
- */
2124
+ /** @format int32 */
2132
2125
  dimensions?: number;
2133
2126
  }
2134
2127
  /**
@@ -2200,7 +2193,7 @@ export interface LayerDefinitionDc {
2200
2193
  /** The name of the attribute that is used for assigning geometry value for the feature. */
2201
2194
  geometryAttribute: string;
2202
2195
  /**
2203
- * Type of the geometry.
2196
+ *
2204
2197
  *
2205
2198
  * unknown
2206
2199
  *
@@ -2278,7 +2271,6 @@ Includes ids of modified features and their bbox.
2278
2271
  export interface LayerUpdateInfoDc {
2279
2272
  /** Updated layer service name. */
2280
2273
  layerServiceName: string;
2281
- /** A pair of points that represent a rectangular area in the space. */
2282
2274
  boundingBox?: IEnvelopeGeometry;
2283
2275
  /** Array of created ids. */
2284
2276
  createdIds?: ObjectId[];
@@ -2644,7 +2636,7 @@ export interface NewResourcesTypesDc {
2644
2636
  */
2645
2637
  export declare type ObjectId = object;
2646
2638
  /**
2647
- * Boolean operation between polygons.
2639
+ *
2648
2640
 
2649
2641
  Unknown
2650
2642
 
@@ -3150,9 +3142,6 @@ export declare type RasterSymbolDc = SymbolDc & {
3150
3142
  type?: string;
3151
3143
  opacity?: CalculatedParameterDc;
3152
3144
  };
3153
- /**
3154
- * Geometrical rectangle.
3155
- */
3156
3145
  export interface Rectangle2 {
3157
3146
  /** @format double */
3158
3147
  x1?: number;
@@ -3162,19 +3151,11 @@ export interface Rectangle2 {
3162
3151
  x2?: number;
3163
3152
  /** @format double */
3164
3153
  y2?: number;
3165
- /**
3166
- * Width of the rectangle.
3167
- * @format double
3168
- */
3154
+ /** @format double */
3169
3155
  width?: number;
3170
- /**
3171
- * Height of the rectangle.
3172
- * @format double
3173
- */
3156
+ /** @format double */
3174
3157
  height?: number;
3175
- /** Double values vector. */
3176
3158
  center?: IVector;
3177
- /** Double values vector. */
3178
3159
  halfSize?: IVector;
3179
3160
  }
3180
3161
  /**
@@ -3230,8 +3211,8 @@ export interface RemoteTileServiceInfo {
3230
3211
  * Service info for a tile service.
3231
3212
  */
3232
3213
  export declare type RemoteTileServiceInfoDc = TileServiceInfoDc & {
3233
- sourceUrl: string;
3234
- sourceUrlMask: string;
3214
+ sourceUrl?: string;
3215
+ sourceUrlMask?: string;
3235
3216
  sourceServers?: string[];
3236
3217
  copyrightText?: string;
3237
3218
  };
@@ -3609,7 +3590,7 @@ export interface ServiceInfoPubDc {
3609
3590
  */
3610
3591
  condition?: string;
3611
3592
  /**
3612
- * Type of the geometry.
3593
+ *
3613
3594
  *
3614
3595
  * unknown
3615
3596
  *
@@ -3732,7 +3713,7 @@ export interface ServiceListItemDc {
3732
3713
  */
3733
3714
  condition?: string;
3734
3715
  /**
3735
- * Type of the geometry.
3716
+ *
3736
3717
  *
3737
3718
  * unknown
3738
3719
  *
@@ -4404,9 +4385,7 @@ export declare type TileCatalogTableConfigurationDc = TableConfigurationBaseDc &
4404
4385
  * Tile info structure.
4405
4386
  */
4406
4387
  export interface TileInfo {
4407
- /** Double values vector. */
4408
4388
  origin?: IVector;
4409
- /** Geometrical rectangle. */
4410
4389
  boundingRectangle?: Rectangle2;
4411
4390
  /**
4412
4391
  * If set to true, the origin point will be considered to be the bottom left corner and increasing tile indexes increase
@@ -4431,7 +4410,6 @@ export interface TileInfo {
4431
4410
  width?: number;
4432
4411
  /** Image format. */
4433
4412
  format?: string;
4434
- /** Spatial reference is an object that specifies the geodetic datum and projection parameters of the coordinate system in use. */
4435
4413
  spatialReference?: ISpatialReference;
4436
4414
  /** List of levels of detail that define the tiling schema. */
4437
4415
  lods?: LodInfo[];
@@ -5056,21 +5034,12 @@ export interface VariableValueInfo {
5056
5034
  /** Gets or sets roles. */
5057
5035
  roles?: string[];
5058
5036
  }
5059
- /**
5060
- * 2-dimensional vector.
5061
- */
5062
5037
  export interface Vector2 {
5063
5038
  /** @format int32 */
5064
5039
  dimensions?: number;
5065
- /**
5066
- * First coordinate.
5067
- * @format double
5068
- */
5040
+ /** @format double */
5069
5041
  x?: number;
5070
- /**
5071
- * Second coordinate.
5072
- * @format double
5073
- */
5042
+ /** @format double */
5074
5043
  y?: number;
5075
5044
  }
5076
5045
  /**
@@ -5122,7 +5091,7 @@ export interface WorkspaceLimitsDc {
5122
5091
  currentProjectCount?: number;
5123
5092
  }
5124
5093
  export interface GetUsersParams {
5125
- /** String filter for the user name (uses % and _ wild cards like SQL). */
5094
+ /** String filter for the user (uses % and _ wild cards like SQL). */
5126
5095
  filter?: string;
5127
5096
  /** Ordering property name. */
5128
5097
  orderBy?: string;
@@ -5144,7 +5113,7 @@ export interface GetUsersParams {
5144
5113
  roles?: string[];
5145
5114
  }
5146
5115
  export interface GetExtendedUsersParams {
5147
- /** String filter for the user name (uses % and _ wild cards like SQL). */
5116
+ /** String filter for the user (uses % and _ wild cards like SQL). */
5148
5117
  filter?: string;
5149
5118
  /** Ordering property name. */
5150
5119
  orderBy?: string;
@@ -5215,8 +5184,10 @@ export interface ResetPasswordCallbackPayload {
5215
5184
  newPassword: string;
5216
5185
  }
5217
5186
  export interface GetRolesParams {
5218
- /** String filter for the role name (uses % and _ wild cards like SQL). */
5187
+ /** String filter for the role (uses % and _ wild cards like SQL). */
5219
5188
  filter?: string;
5189
+ /** String filter for the user (uses % and _ wild cards like SQL). */
5190
+ userFilter?: string;
5220
5191
  /** Ordering property name. */
5221
5192
  orderBy?: string;
5222
5193
  /** Include system roles (starts from '__'). */