@evergis/api 3.0.53 → 3.0.57

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, IceRouter } from './services';
3
+ import { Account, External, ClientSettings, PortalSettings, 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';
@@ -13,7 +13,8 @@ export declare type ApiParams = {
13
13
  };
14
14
  export declare enum UrlPath {
15
15
  Base = "/map",
16
- Shared = "/shared"
16
+ Shared = "/shared",
17
+ Portal = "/portal"
17
18
  }
18
19
  export declare type SocAuthNetwork = 'vk' | 'facebook' | 'google';
19
20
  export declare type SocAuthCallback = 'vkCallback' | 'facebookCallback' | 'googleCallback';
@@ -42,6 +43,7 @@ export declare class Api extends EventEmitter {
42
43
  readonly accountPreview: AccountPreview;
43
44
  readonly external: External;
44
45
  readonly clientSettings: ClientSettings;
46
+ readonly portalSettings: PortalSettings;
45
47
  readonly names: Names;
46
48
  readonly bulk: BulkOperations;
47
49
  readonly iceRouter: IceRouter;
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams8, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoPubDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody, SharedProjectConfigurationDc, SharedProjectInfoDc } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams, 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
@@ -60,7 +60,7 @@ export declare class ProjectsService extends Service {
60
60
  * @request DELETE:/projects
61
61
  * @response `200` Success
62
62
  */
63
- deleteResources(query: DeleteResourcesParams8): Promise<BulkOperationResultDc[]>;
63
+ deleteResources(query: DeleteResourcesParams): Promise<BulkOperationResultDc[]>;
64
64
  /**
65
65
  * No description
66
66
  *
@@ -23,7 +23,7 @@ export declare class SecurityService extends Service {
23
23
  * @tags SecurityService
24
24
  * @name FindUserByName
25
25
  * @operationId SecurityServiceController_FindUserByName
26
- * @summary Returns the list of users found by username or email.
26
+ * @summary Returns the list of users found by username.
27
27
  * @request GET:/security/users
28
28
  * @response `200` Success
29
29
  */
@@ -1,4 +1,4 @@
1
- import { DownloadFileParams, FileUploadResponse, UploadFilePayload } from './data-contracts';
1
+ import { DeleteFileParams, DownloadFileParams, FileUploadResponse, UploadFilePayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -28,4 +28,15 @@ export declare class StaticContentService extends Service {
28
28
  * @response `200` Success
29
29
  */
30
30
  uploadFile(data: UploadFilePayload): Promise<FileUploadResponse>;
31
+ /**
32
+ * No description
33
+ *
34
+ * @tags StaticContentService
35
+ * @name DeleteFile
36
+ * @operationId StaticContentServiceController_DeleteFile
37
+ * @summary Delete file from temporary session storage.
38
+ * @request DELETE:/upload/file
39
+ * @response `200` Success
40
+ */
41
+ deleteFile(query: DeleteFileParams): Promise<void>;
31
42
  }
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams2, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableListParams, GetUniqueDataRowsParams, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetUniqueDataRowsParams, ListResponseIEnumerable1, 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
@@ -49,7 +49,7 @@ export declare class TablesService extends Service {
49
49
  * @request DELETE:/tables
50
50
  * @response `200` Success
51
51
  */
52
- deleteResources(query: DeleteResourcesParams2): Promise<BulkOperationResultDc[]>;
52
+ deleteResources(query: DeleteResourcesParams): Promise<BulkOperationResultDc[]>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -83,6 +83,17 @@ export declare class TablesService extends Service {
83
83
  * @response `200` Success
84
84
  */
85
85
  getTableInfo(name: string): Promise<DetailedTableInfoDc>;
86
+ /**
87
+ * No description
88
+ *
89
+ * @tags Tables
90
+ * @name GetTableData
91
+ * @operationId TablesController_GetTableData
92
+ * @summary Retrieves the data from the table.
93
+ * @request GET:/tables/{name}/data
94
+ * @response `200` Success
95
+ */
96
+ getTableData({ name, ...query }: GetTableDataParams): Promise<ListResponseIEnumerable1>;
86
97
  /**
87
98
  * No description
88
99
  *
@@ -0,0 +1,20 @@
1
+ import { ProcessWmsRequestParams } 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 WmsServerService extends Service {
9
+ /**
10
+ * No description
11
+ *
12
+ * @tags WmsServer
13
+ * @name ProcessWmsRequest
14
+ * @operationId WmsServerController_ProcessWmsRequestAsync
15
+ * @summary WMS entrypoint.
16
+ * @request GET:/wms
17
+ * @response `200` Success
18
+ */
19
+ processWmsRequest(query: ProcessWmsRequestParams): Promise<void>;
20
+ }
@@ -2388,6 +2388,19 @@ export interface ListResponseFeatureDc {
2388
2388
  /** @format int64 */
2389
2389
  limit?: number;
2390
2390
  }
2391
+ /**
2392
+ * The response that contains a paged list of items.
2393
+ */
2394
+ export interface ListResponseIEnumerable1 {
2395
+ /** The items of the response. */
2396
+ items?: Record<string, any>[][];
2397
+ /** @format int64 */
2398
+ totalCount?: number;
2399
+ /** @format int64 */
2400
+ offset?: number;
2401
+ /** @format int64 */
2402
+ limit?: number;
2403
+ }
2391
2404
  /**
2392
2405
  * The response that contains a paged list of items.
2393
2406
  */
@@ -5404,6 +5417,8 @@ export interface GetLayersListParams {
5404
5417
  * @format int32
5405
5418
  */
5406
5419
  limit?: number;
5420
+ /** Strict list of names of the resources to get. */
5421
+ names?: string[];
5407
5422
  /** A list of {ServiceInfoDc} fields for sorting. If a field starts with {-} ordering is by descending. */
5408
5423
  orderByFields?: string[];
5409
5424
  /** Filters layers by geometry types. */
@@ -5843,7 +5858,7 @@ export interface GetProjectsListParams {
5843
5858
  forAllUsers?: boolean;
5844
5859
  }
5845
5860
  export declare type SetPermissionsBatchBody = ResourceAclDc[];
5846
- export interface DeleteResourcesParams8 {
5861
+ export interface DeleteResourcesParams6 {
5847
5862
  /** Resource names. */
5848
5863
  names?: string[];
5849
5864
  }
@@ -5978,7 +5993,7 @@ export interface FindUserByNameByRolesParams {
5978
5993
  roles?: string[];
5979
5994
  }
5980
5995
  export interface FindUserByNameParams {
5981
- /** String filter for the username or email (uses % and _ wild cards like SQL). */
5996
+ /** String filter for the username. */
5982
5997
  filter?: string;
5983
5998
  }
5984
5999
  export interface GetPolicyListParams {
@@ -6031,6 +6046,10 @@ export interface UploadFilePayload {
6031
6046
  */
6032
6047
  rewrite?: boolean;
6033
6048
  }
6049
+ export interface DeleteFileParams {
6050
+ /** File id to delete. */
6051
+ fileid?: string;
6052
+ }
6034
6053
  export interface GetTableListParams {
6035
6054
  /** Table name filter (support % and _ wildcards). */
6036
6055
  filter?: string;
@@ -6044,6 +6063,8 @@ export interface GetTableListParams {
6044
6063
  * @format int32
6045
6064
  */
6046
6065
  limit?: number;
6066
+ /** Strict list of names of the resources to get. */
6067
+ names?: string[];
6047
6068
  /** A list of {TableListDc} fields for sorting. If a field starts with {-} ordering is by descending. */
6048
6069
  orderByFields?: string[];
6049
6070
  /** Filters tables list by users favorite. */
@@ -6054,10 +6075,30 @@ export interface GetTableListParams {
6054
6075
  geometryFilter?: string[];
6055
6076
  }
6056
6077
  export declare type SetPermissionsBatchInput = ResourceAclDc[];
6057
- export interface DeleteResourcesParams2 {
6078
+ export interface DeleteResourcesParams5 {
6058
6079
  /** Resource names. */
6059
6080
  names?: string[];
6060
6081
  }
6082
+ export interface GetTableDataParams {
6083
+ /** String filter for the all text column (uses % and _ wild cards like SQL). */
6084
+ filter?: string;
6085
+ /**
6086
+ * Max number of rows to return.
6087
+ * @format int32
6088
+ */
6089
+ limit?: number;
6090
+ /**
6091
+ * The first row index to return.
6092
+ * @format int32
6093
+ */
6094
+ offset?: number;
6095
+ /** Include column with geometry. */
6096
+ includeGeometry?: boolean;
6097
+ /** Columns to select. */
6098
+ columns?: string[];
6099
+ /** Name of the table. */
6100
+ name: string;
6101
+ }
6061
6102
  export declare type UpdateTableDataPayload = Record<string, any>[];
6062
6103
  export interface UpdateTableDataParams {
6063
6104
  /** Id column name. */
@@ -6188,4 +6229,52 @@ export interface GetToolsListsParams {
6188
6229
  */
6189
6230
  status?: ToolStatus;
6190
6231
  }
6232
+ export interface ProcessWmsRequestParams {
6233
+ /** Request version. */
6234
+ Version?: string;
6235
+ /** Comma-separated list of one or more map layers. */
6236
+ Layers?: string;
6237
+ /** Array of one or more map layers. */
6238
+ LayerNames?: string[];
6239
+ /** Comma-separated list of one rendering style per requested layer. */
6240
+ Styles?: string;
6241
+ /** Coordinate reference system for version 1.3.0. */
6242
+ Crs?: string;
6243
+ /** Comma-separated list of bounding box corners (lower left, upper right) in CRS units. */
6244
+ Bbox?: string;
6245
+ /** @format double */
6246
+ 'BoundingBox.Width'?: number;
6247
+ /** @format double */
6248
+ 'BoundingBox.Height'?: number;
6249
+ /** @format int32 */
6250
+ 'BoundingBox.Center.Dimensions'?: number;
6251
+ /** @format int32 */
6252
+ 'BoundingBox.HalfSize.Dimensions'?: number;
6253
+ /**
6254
+ * Width in pixels of map picture.
6255
+ * @format int32
6256
+ */
6257
+ Width?: number;
6258
+ /**
6259
+ * Height in pixels of map picture.
6260
+ * @format int32
6261
+ */
6262
+ Height?: number;
6263
+ /** Output format of map. */
6264
+ Format?: string;
6265
+ /** Background transparency of map. */
6266
+ Transparent?: boolean;
6267
+ /** Hexadecimal red-green-blue colour value for the background color. */
6268
+ Bgcolor?: string;
6269
+ /** The format in which exceptions are to be reported by the WMS. */
6270
+ Exceptions?: string;
6271
+ /** Time value of layer desired. */
6272
+ Time?: string;
6273
+ /** Elevation of layer desired. */
6274
+ Elevation?: string;
6275
+ /** Must be WMS. */
6276
+ Service?: string;
6277
+ /** Request name. */
6278
+ Request?: string;
6279
+ }
6191
6280
  export {};