@evergis/api 3.0.54 → 3.0.58
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 +4 -2
- package/dist/__generated__/StaticContentService.d.ts +12 -1
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +20 -0
- package/dist/__generated__/data-contracts.d.ts +122 -0
- package/dist/api.cjs.development.js +231 -147
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +231 -148
- package/dist/api.esm.js.map +1 -1
- package/dist/services/PortalSettings.d.ts +13 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
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 { 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, DeleteResourcesParams, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, 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
|
|
@@ -93,7 +93,7 @@ export declare class TablesService extends Service {
|
|
|
93
93
|
* @request GET:/tables/{name}/data
|
|
94
94
|
* @response `200` Success
|
|
95
95
|
*/
|
|
96
|
-
getTableData({ name, ...query }: GetTableDataParams): Promise<
|
|
96
|
+
getTableData({ name, ...query }: GetTableDataParams): Promise<ListResponseIEnumerable1>;
|
|
97
97
|
/**
|
|
98
98
|
* No description
|
|
99
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
|
*/
|
|
@@ -4874,7 +4887,9 @@ export interface UpdateVariableDc {
|
|
|
4874
4887
|
export declare type UploadRasterTaskParametersDc = TaskParametersDc & {
|
|
4875
4888
|
target: ConfiguredLayerDataStorageDc | CsvStaticTaskDataStorageDc | ExcelStaticTaskDataStorageDc | InMemoryTaskDataStorageDc | LayerTaskDataStorageDc | StaticTaskDataStorageDc | TableTaskDataStorageDc | TilingTaskDataStorageDc;
|
|
4876
4889
|
files: string[];
|
|
4890
|
+
attributes?: Record<string, any>;
|
|
4877
4891
|
maxZoomLevel: number;
|
|
4892
|
+
polygonize?: boolean;
|
|
4878
4893
|
type?: string;
|
|
4879
4894
|
};
|
|
4880
4895
|
/**
|
|
@@ -5845,6 +5860,10 @@ export interface GetProjectsListParams {
|
|
|
5845
5860
|
forAllUsers?: boolean;
|
|
5846
5861
|
}
|
|
5847
5862
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
5863
|
+
export interface DeleteResourcesParams6 {
|
|
5864
|
+
/** Resource names. */
|
|
5865
|
+
names?: string[];
|
|
5866
|
+
}
|
|
5848
5867
|
export interface SetPreviewBody {
|
|
5849
5868
|
/** @format binary */
|
|
5850
5869
|
file?: File;
|
|
@@ -6029,6 +6048,10 @@ export interface UploadFilePayload {
|
|
|
6029
6048
|
*/
|
|
6030
6049
|
rewrite?: boolean;
|
|
6031
6050
|
}
|
|
6051
|
+
export interface DeleteFileParams {
|
|
6052
|
+
/** File id to delete. */
|
|
6053
|
+
fileid?: string;
|
|
6054
|
+
}
|
|
6032
6055
|
export interface GetTableListParams {
|
|
6033
6056
|
/** Table name filter (support % and _ wildcards). */
|
|
6034
6057
|
filter?: string;
|
|
@@ -6204,4 +6227,103 @@ export interface GetToolsListsParams {
|
|
|
6204
6227
|
*/
|
|
6205
6228
|
status?: ToolStatus;
|
|
6206
6229
|
}
|
|
6230
|
+
export interface GetCapabilitiesParams {
|
|
6231
|
+
/** Name of the service. */
|
|
6232
|
+
Service?: string;
|
|
6233
|
+
/** When omitted, server shall return latest supported version. */
|
|
6234
|
+
AcceptVersions?: string[];
|
|
6235
|
+
/** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */
|
|
6236
|
+
Sections?: string[];
|
|
6237
|
+
/** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
|
|
6238
|
+
AcceptFormats?: string[];
|
|
6239
|
+
}
|
|
6240
|
+
export interface ProcessWmsRequestParams {
|
|
6241
|
+
/** Comma-separated list of one or more layers to be queried. */
|
|
6242
|
+
Query_layers?: string;
|
|
6243
|
+
/** Array of one or more map layers. */
|
|
6244
|
+
QueryLayerNames?: string[];
|
|
6245
|
+
/** Return format of feature information (MIME type). */
|
|
6246
|
+
Info_format?: string;
|
|
6247
|
+
/**
|
|
6248
|
+
* i coordinate in pixels of feature in Map CS.
|
|
6249
|
+
* @format int32
|
|
6250
|
+
*/
|
|
6251
|
+
I?: number;
|
|
6252
|
+
/**
|
|
6253
|
+
* j coordinate in pixels of feature in Map CS.
|
|
6254
|
+
* @format int32
|
|
6255
|
+
*/
|
|
6256
|
+
J?: number;
|
|
6257
|
+
/**
|
|
6258
|
+
* Number of features about which to return information.
|
|
6259
|
+
* @format int32
|
|
6260
|
+
*/
|
|
6261
|
+
Feature_count?: number;
|
|
6262
|
+
/** Request version. */
|
|
6263
|
+
Version?: string;
|
|
6264
|
+
/** Comma-separated list of one or more map layers. */
|
|
6265
|
+
Layers?: string;
|
|
6266
|
+
/** Array of one or more map layers. */
|
|
6267
|
+
LayerNames?: string[];
|
|
6268
|
+
/** Comma-separated list of one rendering style per requested layer. */
|
|
6269
|
+
Styles?: string;
|
|
6270
|
+
/** Coordinate reference system for version 1.3.0. */
|
|
6271
|
+
Crs?: string;
|
|
6272
|
+
/** Comma-separated list of bounding box corners (lower left, upper right) in CRS units. */
|
|
6273
|
+
Bbox?: string;
|
|
6274
|
+
/** @format double */
|
|
6275
|
+
'BoundingBox.Width'?: number;
|
|
6276
|
+
/** @format double */
|
|
6277
|
+
'BoundingBox.Height'?: number;
|
|
6278
|
+
/** @format int32 */
|
|
6279
|
+
'BoundingBox.Center.Dimensions'?: number;
|
|
6280
|
+
/** @format int32 */
|
|
6281
|
+
'BoundingBox.HalfSize.Dimensions'?: number;
|
|
6282
|
+
/**
|
|
6283
|
+
* Width in pixels of map picture.
|
|
6284
|
+
* @format int32
|
|
6285
|
+
*/
|
|
6286
|
+
Width?: number;
|
|
6287
|
+
/**
|
|
6288
|
+
* Height in pixels of map picture.
|
|
6289
|
+
* @format int32
|
|
6290
|
+
*/
|
|
6291
|
+
Height?: number;
|
|
6292
|
+
/** Output format of map. */
|
|
6293
|
+
Format?: string;
|
|
6294
|
+
/** Background transparency of map. */
|
|
6295
|
+
Transparent?: boolean;
|
|
6296
|
+
/** Hexadecimal red-green-blue colour value for the background color. */
|
|
6297
|
+
Bgcolor?: string;
|
|
6298
|
+
/** The format in which exceptions are to be reported by the WMS. */
|
|
6299
|
+
Exceptions?: string;
|
|
6300
|
+
/** Time value of layer desired. */
|
|
6301
|
+
Time?: string;
|
|
6302
|
+
/** Elevation of layer desired. */
|
|
6303
|
+
Elevation?: string;
|
|
6304
|
+
/** Must be WMS. */
|
|
6305
|
+
Service?: string;
|
|
6306
|
+
/** Request name. */
|
|
6307
|
+
Request?: string;
|
|
6308
|
+
}
|
|
6309
|
+
export interface ProcessRequestParams {
|
|
6310
|
+
/** Layer name. */
|
|
6311
|
+
layer?: string;
|
|
6312
|
+
/** wmts version. */
|
|
6313
|
+
version?: string;
|
|
6314
|
+
/** Request type. */
|
|
6315
|
+
request?: string;
|
|
6316
|
+
/** Tile matrix. */
|
|
6317
|
+
tileMatrix?: string;
|
|
6318
|
+
/**
|
|
6319
|
+
* Tile row.
|
|
6320
|
+
* @format int32
|
|
6321
|
+
*/
|
|
6322
|
+
tileRow?: number;
|
|
6323
|
+
/**
|
|
6324
|
+
* Tile col.
|
|
6325
|
+
* @format int32
|
|
6326
|
+
*/
|
|
6327
|
+
tileCol?: number;
|
|
6328
|
+
}
|
|
6207
6329
|
export {};
|