@evergis/api 3.0.48 → 3.0.52

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/dist/Api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Options as KyOptions } from 'ky';
2
2
  import { EventEmitter } from '@evergis/event-emitter';
3
- import { Account, External, ClientSettings, FileUpload, General, Geocode, Import, Layers, Names, Namespace, Notification, Projects, ResourceCatalog, Resources, Scheduler, Security, Styles, Tables, Tools, AccountPreview, BulkOperations } from './services';
3
+ import { Account, External, ClientSettings, FileUpload, General, Geocode, Import, Layers, Names, Namespace, Notification, Projects, ResourceCatalog, Resources, Scheduler, Security, Styles, Tables, Tools, AccountPreview, BulkOperations, IceRouter } from './services';
4
4
  import { Print } from './services/Print';
5
5
  import { HttpClient } from './__generated__/HttpClient';
6
6
  import { LoginDc } from './__generated__/data-contracts';
@@ -44,6 +44,7 @@ export declare class Api extends EventEmitter {
44
44
  readonly clientSettings: ClientSettings;
45
45
  readonly names: Names;
46
46
  readonly bulk: BulkOperations;
47
+ readonly iceRouter: IceRouter;
47
48
  constructor({ url, wsUrl, http, urlPath, httpOptions }: ApiParams);
48
49
  init({ authParams, connectWs, initScheduler, fetchSettings, fetchUser, }: {
49
50
  authParams?: LoginDc;
@@ -6,6 +6,17 @@ import { Service } from './Service';
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class BulkOperationsService extends Service {
9
+ /**
10
+ * No description
11
+ *
12
+ * @tags BulkOperations
13
+ * @name BatchUpdateCatalogResources
14
+ * @operationId BulkOperationsController_BatchUpdateCatalogResources
15
+ * @summary Overrides resources in catalog.
16
+ * @request PUT:/bulk/catalog/updateResources
17
+ * @response `200` Success
18
+ */
19
+ batchUpdateCatalogResources(data: BatchResourcesCatalogDc): Promise<BulkOperationResultDc[]>;
9
20
  /**
10
21
  * No description
11
22
  *
@@ -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
+ }
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteFeatureParams, DeleteFeaturesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FailedServiceInfoDc, FeatureDc, FeatureLayerServiceInfoDc, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersListParams, GetTilesLayerImageParams, LayerUpdateInfoDc, LocalTileServiceConfigurationDc, PositionDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceConfigurationDc, ProxyServiceInfoDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, SelectFeaturesParams, ServiceInfoDc, SetPermissionsBatchPayload, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileCatalogServiceInfoDc, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, ValidateExpressionParams } from './data-contracts';
1
+ import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FailedServiceInfoDc, FeatureDc, FeatureLayerServiceInfoDc, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersListParams, GetTilesLayerImageParams, LayerUpdateInfoDc, LocalTileServiceConfigurationDc, PositionDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceConfigurationDc, ProxyServiceInfoDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, SelectFeaturesParams, ServiceInfoDc, SetPermissionsBatchPayload, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileCatalogServiceInfoDc, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, ValidateExpressionParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -28,6 +28,17 @@ export declare class LayersService extends Service {
28
28
  * @response `200` Success
29
29
  */
30
30
  setPermissionsBatch(data: SetPermissionsBatchPayload): Promise<void>;
31
+ /**
32
+ * No description
33
+ *
34
+ * @tags Layers
35
+ * @name DeleteResources
36
+ * @operationId LayersController_DeleteResources
37
+ * @summary Bulk delete resources.
38
+ * @request DELETE:/layers
39
+ * @response `200` Success
40
+ */
41
+ deleteResources(query: DeleteResourcesParams): Promise<BulkOperationResultDc[]>;
31
42
  /**
32
43
  * No description
33
44
  *
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoPubDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody, SharedProjectConfigurationDc, SharedProjectInfoDc } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams7, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoPubDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody, SharedProjectConfigurationDc, SharedProjectInfoDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -50,6 +50,17 @@ export declare class ProjectsService extends Service {
50
50
  * @response `200` Success
51
51
  */
52
52
  setPermissionsBatch(data: SetPermissionsBatchBody): Promise<void>;
53
+ /**
54
+ * No description
55
+ *
56
+ * @tags Projects
57
+ * @name DeleteResources
58
+ * @operationId ProjectsController_DeleteResources
59
+ * @summary Bulk delete resources.
60
+ * @request DELETE:/projects
61
+ * @response `200` Success
62
+ */
63
+ deleteResources(query: DeleteResourcesParams7): Promise<BulkOperationResultDc[]>;
53
64
  /**
54
65
  * No description
55
66
  *
@@ -1,4 +1,4 @@
1
- import { FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams, SearchedUserDc } from './data-contracts';
1
+ import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams, SearchedUserDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -6,6 +6,17 @@ import { Service } from './Service';
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class SecurityService extends Service {
9
+ /**
10
+ * No description
11
+ *
12
+ * @tags SecurityService
13
+ * @name FindUserByNameByRoles
14
+ * @operationId SecurityServiceController_FindUserByNameByRoles
15
+ * @summary Get users list with given roles list.
16
+ * @request GET:/security/findUsersWithRoles
17
+ * @response `200` Success
18
+ */
19
+ findUserByNameByRoles(query: FindUserByNameByRolesParams): Promise<SearchedUserDc[]>;
9
20
  /**
10
21
  * No description
11
22
  *
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableListParams, GetUniqueDataRowsParams, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams5, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableListParams, GetUniqueDataRowsParams, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -39,6 +39,17 @@ export declare class TablesService extends Service {
39
39
  * @response `200` Success
40
40
  */
41
41
  setPermissionsBatch(data: SetPermissionsBatchInput): Promise<void>;
42
+ /**
43
+ * No description
44
+ *
45
+ * @tags Tables
46
+ * @name DeleteResources
47
+ * @operationId TablesController_DeleteResources
48
+ * @summary Bulk delete resources.
49
+ * @request DELETE:/tables
50
+ * @response `200` Success
51
+ */
52
+ deleteResources(query: DeleteResourcesParams5): Promise<BulkOperationResultDc[]>;
42
53
  /**
43
54
  * No description
44
55
  *
@@ -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,101 @@ 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
+ /** Gets false if route build process failed. */
1922
+ isSuccess?: boolean;
1923
+ /** Gets error message if route build process failed. */
1924
+ error?: string;
1925
+ }
1926
+ /**
1927
+ * Route geometry.
1928
+ */
1929
+ export interface IceRouteGeometryDc {
1930
+ /** Gets type of geometry. */
1931
+ type?: string;
1932
+ /** Gets polyline coordinates. */
1933
+ coordinates?: number[][];
1934
+ }
1935
+ /**
1936
+ * Provides result of ice route builder.
1937
+ */
1938
+ export interface IceRouterResultDc {
1939
+ /** Gets status the task is done. */
1940
+ isDone?: boolean;
1913
1941
  /**
1914
- * Semiminor axis length.
1915
- * @format double
1942
+ * Gets list of the result tasks. Provides with status "completed".
1943
+ * <br>
1944
+ * Routes array contains three routes of types.
1945
+ * 1. Economic.
1946
+ * 2. Optimum.
1947
+ * 3. Fast.
1948
+ *
1916
1949
  */
1950
+ routes?: IceRouteDc[];
1951
+ }
1952
+ /**
1953
+ * Data contract to start ice routing task.
1954
+ */
1955
+ export interface IceRouteTaskDc {
1956
+ /** Gets or sets start point. */
1957
+ start: number[];
1958
+ /** Gets or sets end point. */
1959
+ end: number[];
1960
+ }
1961
+ export interface IDatum {
1962
+ /** @format double */
1963
+ semimajor?: number;
1964
+ /** @format double */
1965
+ inverseFlattening?: number;
1966
+ /** @format double */
1917
1967
  semiminor?: number;
1918
- /**
1919
- * Flattening value.
1920
- * @format double
1921
- */
1968
+ /** @format double */
1922
1969
  flattening?: number;
1923
- /** If true longitude is the first coordinate, if false latitude is the first coordinate. */
1924
1970
  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
- */
1971
+ /** @format int32 */
1929
1972
  id?: number;
1930
- /** Publishing authority of the spatial reference. E.g. EPSG or OSG. */
1931
1973
  authority?: string;
1932
- /** Human readable description of the spatial reference. */
1933
1974
  description?: string;
1934
- /** Well known text as specified by http://docs.opengeospatial.org/is/12-063r5/12-063r5.html. */
1935
1975
  wkt?: string;
1936
- /**
1937
- * Number of coordinate dimensions in this spatial reference.
1938
- * @format int32
1939
- */
1976
+ /** @format int32 */
1940
1977
  dimensions?: number;
1941
- /** Geographic spatial reference (e.g. with lat/long coordinates). */
1942
1978
  datum?: IDatum;
1943
1979
  }
1944
- /**
1945
- * A pair of points that represent a rectangular area in the space.
1946
- */
1947
1980
  export interface IEnvelopeGeometry {
1948
- /** Double values vector. */
1949
1981
  start?: IVector;
1950
- /** Double values vector. */
1951
1982
  end?: IVector;
1952
- /**
1953
- * Width of the envelope.
1954
- * @format double
1955
- */
1983
+ /** @format double */
1956
1984
  width?: number;
1957
- /**
1958
- * Height of the envelope.
1959
- * @format double
1960
- */
1985
+ /** @format double */
1961
1986
  height?: number;
1962
- /** Double values vector. */
1963
1987
  centroid?: IVector;
1964
1988
  /**
1965
- * Type of the geometry.
1989
+ *
1966
1990
  *
1967
1991
  * unknown
1968
1992
  *
@@ -1977,19 +2001,13 @@ export interface IEnvelopeGeometry {
1977
2001
  * multipoint
1978
2002
  */
1979
2003
  geometryType?: GeometryType;
1980
- /** Spatial reference is an object that specifies the geodetic datum and projection parameters of the coordinate system in use. */
1981
2004
  sr?: ISpatialReference;
1982
- /** A pair of points that represent a rectangular area in the space. */
1983
2005
  envelope?: IEnvelopeGeometry;
1984
2006
  }
1985
- /**
1986
- * Geometry without specified spatial reference.
1987
- */
1988
2007
  export interface IGeometry {
1989
- /** Double values vector. */
1990
2008
  centroid?: IVector;
1991
2009
  /**
1992
- * Type of the geometry.
2010
+ *
1993
2011
  *
1994
2012
  * unknown
1995
2013
  *
@@ -2004,9 +2022,7 @@ export interface IGeometry {
2004
2022
  * multipoint
2005
2023
  */
2006
2024
  geometryType?: GeometryType;
2007
- /** Spatial reference is an object that specifies the geodetic datum and projection parameters of the coordinate system in use. */
2008
2025
  sr?: ISpatialReference;
2009
- /** A pair of points that represent a rectangular area in the space. */
2010
2026
  envelope?: IEnvelopeGeometry;
2011
2027
  }
2012
2028
  export interface ILineEndingDc {
@@ -2089,27 +2105,14 @@ export interface IServiceConfiguration {
2089
2105
  /** Type of the layer. */
2090
2106
  type?: string;
2091
2107
  }
2092
- /**
2093
- * Spatial reference is an object that specifies the geodetic datum and projection parameters of the coordinate system in use.
2094
- */
2095
2108
  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
- */
2109
+ /** @format int32 */
2100
2110
  id?: number;
2101
- /** Publishing authority of the spatial reference. E.g. EPSG or OSG. */
2102
2111
  authority?: string;
2103
- /** Human readable description of the spatial reference. */
2104
2112
  description?: string;
2105
- /** Well known text as specified by http://docs.opengeospatial.org/is/12-063r5/12-063r5.html. */
2106
2113
  wkt?: string;
2107
- /**
2108
- * Number of coordinate dimensions in this spatial reference.
2109
- * @format int32
2110
- */
2114
+ /** @format int32 */
2111
2115
  dimensions?: number;
2112
- /** Geographic spatial reference (e.g. with lat/long coordinates). */
2113
2116
  datum?: IDatum;
2114
2117
  }
2115
2118
  /**
@@ -2121,14 +2124,8 @@ export interface IValidationError {
2121
2124
  /** Validation errors. */
2122
2125
  message?: string;
2123
2126
  }
2124
- /**
2125
- * Double values vector.
2126
- */
2127
2127
  export interface IVector {
2128
- /**
2129
- * Number of coordinates dimensions.
2130
- * @format int32
2131
- */
2128
+ /** @format int32 */
2132
2129
  dimensions?: number;
2133
2130
  }
2134
2131
  /**
@@ -2200,7 +2197,7 @@ export interface LayerDefinitionDc {
2200
2197
  /** The name of the attribute that is used for assigning geometry value for the feature. */
2201
2198
  geometryAttribute: string;
2202
2199
  /**
2203
- * Type of the geometry.
2200
+ *
2204
2201
  *
2205
2202
  * unknown
2206
2203
  *
@@ -2278,7 +2275,6 @@ Includes ids of modified features and their bbox.
2278
2275
  export interface LayerUpdateInfoDc {
2279
2276
  /** Updated layer service name. */
2280
2277
  layerServiceName: string;
2281
- /** A pair of points that represent a rectangular area in the space. */
2282
2278
  boundingBox?: IEnvelopeGeometry;
2283
2279
  /** Array of created ids. */
2284
2280
  createdIds?: ObjectId[];
@@ -2644,7 +2640,7 @@ export interface NewResourcesTypesDc {
2644
2640
  */
2645
2641
  export declare type ObjectId = object;
2646
2642
  /**
2647
- * Boolean operation between polygons.
2643
+ *
2648
2644
 
2649
2645
  Unknown
2650
2646
 
@@ -3150,9 +3146,6 @@ export declare type RasterSymbolDc = SymbolDc & {
3150
3146
  type?: string;
3151
3147
  opacity?: CalculatedParameterDc;
3152
3148
  };
3153
- /**
3154
- * Geometrical rectangle.
3155
- */
3156
3149
  export interface Rectangle2 {
3157
3150
  /** @format double */
3158
3151
  x1?: number;
@@ -3162,19 +3155,11 @@ export interface Rectangle2 {
3162
3155
  x2?: number;
3163
3156
  /** @format double */
3164
3157
  y2?: number;
3165
- /**
3166
- * Width of the rectangle.
3167
- * @format double
3168
- */
3158
+ /** @format double */
3169
3159
  width?: number;
3170
- /**
3171
- * Height of the rectangle.
3172
- * @format double
3173
- */
3160
+ /** @format double */
3174
3161
  height?: number;
3175
- /** Double values vector. */
3176
3162
  center?: IVector;
3177
- /** Double values vector. */
3178
3163
  halfSize?: IVector;
3179
3164
  }
3180
3165
  /**
@@ -3230,8 +3215,8 @@ export interface RemoteTileServiceInfo {
3230
3215
  * Service info for a tile service.
3231
3216
  */
3232
3217
  export declare type RemoteTileServiceInfoDc = TileServiceInfoDc & {
3233
- sourceUrl: string;
3234
- sourceUrlMask: string;
3218
+ sourceUrl?: string;
3219
+ sourceUrlMask?: string;
3235
3220
  sourceServers?: string[];
3236
3221
  copyrightText?: string;
3237
3222
  };
@@ -3364,11 +3349,8 @@ export declare enum ResourceTypeLink {
3364
3349
  export interface RoleInfoDc {
3365
3350
  /** Username. */
3366
3351
  name?: string;
3367
- /**
3368
- * The number of users in the role.
3369
- * @format int32
3370
- */
3371
- usersInRole?: number;
3352
+ /** The number of users in the role. */
3353
+ users?: string[];
3372
3354
  /**
3373
3355
  * Gets or sets date and time of creation.
3374
3356
  * @format date-time
@@ -3612,7 +3594,7 @@ export interface ServiceInfoPubDc {
3612
3594
  */
3613
3595
  condition?: string;
3614
3596
  /**
3615
- * Type of the geometry.
3597
+ *
3616
3598
  *
3617
3599
  * unknown
3618
3600
  *
@@ -3735,7 +3717,7 @@ export interface ServiceListItemDc {
3735
3717
  */
3736
3718
  condition?: string;
3737
3719
  /**
3738
- * Type of the geometry.
3720
+ *
3739
3721
  *
3740
3722
  * unknown
3741
3723
  *
@@ -4407,9 +4389,7 @@ export declare type TileCatalogTableConfigurationDc = TableConfigurationBaseDc &
4407
4389
  * Tile info structure.
4408
4390
  */
4409
4391
  export interface TileInfo {
4410
- /** Double values vector. */
4411
4392
  origin?: IVector;
4412
- /** Geometrical rectangle. */
4413
4393
  boundingRectangle?: Rectangle2;
4414
4394
  /**
4415
4395
  * If set to true, the origin point will be considered to be the bottom left corner and increasing tile indexes increase
@@ -4434,7 +4414,6 @@ export interface TileInfo {
4434
4414
  width?: number;
4435
4415
  /** Image format. */
4436
4416
  format?: string;
4437
- /** Spatial reference is an object that specifies the geodetic datum and projection parameters of the coordinate system in use. */
4438
4417
  spatialReference?: ISpatialReference;
4439
4418
  /** List of levels of detail that define the tiling schema. */
4440
4419
  lods?: LodInfo[];
@@ -5059,21 +5038,12 @@ export interface VariableValueInfo {
5059
5038
  /** Gets or sets roles. */
5060
5039
  roles?: string[];
5061
5040
  }
5062
- /**
5063
- * 2-dimensional vector.
5064
- */
5065
5041
  export interface Vector2 {
5066
5042
  /** @format int32 */
5067
5043
  dimensions?: number;
5068
- /**
5069
- * First coordinate.
5070
- * @format double
5071
- */
5044
+ /** @format double */
5072
5045
  x?: number;
5073
- /**
5074
- * Second coordinate.
5075
- * @format double
5076
- */
5046
+ /** @format double */
5077
5047
  y?: number;
5078
5048
  }
5079
5049
  /**
@@ -5125,7 +5095,7 @@ export interface WorkspaceLimitsDc {
5125
5095
  currentProjectCount?: number;
5126
5096
  }
5127
5097
  export interface GetUsersParams {
5128
- /** String filter for the user name (uses % and _ wild cards like SQL). */
5098
+ /** String filter for the user (uses % and _ wild cards like SQL). */
5129
5099
  filter?: string;
5130
5100
  /** Ordering property name. */
5131
5101
  orderBy?: string;
@@ -5147,7 +5117,7 @@ export interface GetUsersParams {
5147
5117
  roles?: string[];
5148
5118
  }
5149
5119
  export interface GetExtendedUsersParams {
5150
- /** String filter for the user name (uses % and _ wild cards like SQL). */
5120
+ /** String filter for the user (uses % and _ wild cards like SQL). */
5151
5121
  filter?: string;
5152
5122
  /** Ordering property name. */
5153
5123
  orderBy?: string;
@@ -5218,8 +5188,10 @@ export interface ResetPasswordCallbackPayload {
5218
5188
  newPassword: string;
5219
5189
  }
5220
5190
  export interface GetRolesParams {
5221
- /** String filter for the role name (uses % and _ wild cards like SQL). */
5191
+ /** String filter for the role (uses % and _ wild cards like SQL). */
5222
5192
  filter?: string;
5193
+ /** String filter for the user (uses % and _ wild cards like SQL). */
5194
+ userFilter?: string;
5223
5195
  /** Ordering property name. */
5224
5196
  orderBy?: string;
5225
5197
  /** Include system roles (starts from '__'). */
@@ -5439,6 +5411,10 @@ export interface GetLayersListParams {
5439
5411
  forAllUsers?: boolean;
5440
5412
  }
5441
5413
  export declare type SetPermissionsBatchPayload = ResourceAclDc[];
5414
+ export interface DeleteResourcesParams {
5415
+ /** Resource names. */
5416
+ names?: string[];
5417
+ }
5442
5418
  export interface GetFeaturesParams {
5443
5419
  /** Sets features filtering query. */
5444
5420
  query?: string;
@@ -5831,6 +5807,10 @@ export interface GetProjectsListParams {
5831
5807
  forAllUsers?: boolean;
5832
5808
  }
5833
5809
  export declare type SetPermissionsBatchBody = ResourceAclDc[];
5810
+ export interface DeleteResourcesParams7 {
5811
+ /** Resource names. */
5812
+ names?: string[];
5813
+ }
5834
5814
  export interface SetPreviewBody {
5835
5815
  /** @format binary */
5836
5816
  file?: File;
@@ -5957,6 +5937,10 @@ export interface UploadScriptFilePayload {
5957
5937
  /** @format binary */
5958
5938
  settings?: File;
5959
5939
  }
5940
+ export interface FindUserByNameByRolesParams {
5941
+ /** Roles. */
5942
+ roles?: string[];
5943
+ }
5960
5944
  export interface FindUserByNameParams {
5961
5945
  /** String filter for the username or email (uses % and _ wild cards like SQL). */
5962
5946
  filter?: string;
@@ -6034,6 +6018,10 @@ export interface GetTableListParams {
6034
6018
  geometryFilter?: string[];
6035
6019
  }
6036
6020
  export declare type SetPermissionsBatchInput = ResourceAclDc[];
6021
+ export interface DeleteResourcesParams5 {
6022
+ /** Resource names. */
6023
+ names?: string[];
6024
+ }
6037
6025
  export declare type UpdateTableDataPayload = Record<string, any>[];
6038
6026
  export interface UpdateTableDataParams {
6039
6027
  /** Id column name. */