@evergis/api 3.0.55 → 3.0.56
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/__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 +73 -0
- package/dist/api.cjs.development.js +16 -0
- 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 +16 -0
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
*/
|
|
@@ -5845,6 +5858,10 @@ export interface GetProjectsListParams {
|
|
|
5845
5858
|
forAllUsers?: boolean;
|
|
5846
5859
|
}
|
|
5847
5860
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
5861
|
+
export interface DeleteResourcesParams6 {
|
|
5862
|
+
/** Resource names. */
|
|
5863
|
+
names?: string[];
|
|
5864
|
+
}
|
|
5848
5865
|
export interface SetPreviewBody {
|
|
5849
5866
|
/** @format binary */
|
|
5850
5867
|
file?: File;
|
|
@@ -6029,6 +6046,10 @@ export interface UploadFilePayload {
|
|
|
6029
6046
|
*/
|
|
6030
6047
|
rewrite?: boolean;
|
|
6031
6048
|
}
|
|
6049
|
+
export interface DeleteFileParams {
|
|
6050
|
+
/** File id to delete. */
|
|
6051
|
+
fileid?: string;
|
|
6052
|
+
}
|
|
6032
6053
|
export interface GetTableListParams {
|
|
6033
6054
|
/** Table name filter (support % and _ wildcards). */
|
|
6034
6055
|
filter?: string;
|
|
@@ -6054,6 +6075,10 @@ export interface GetTableListParams {
|
|
|
6054
6075
|
geometryFilter?: string[];
|
|
6055
6076
|
}
|
|
6056
6077
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
6078
|
+
export interface DeleteResourcesParams5 {
|
|
6079
|
+
/** Resource names. */
|
|
6080
|
+
names?: string[];
|
|
6081
|
+
}
|
|
6057
6082
|
export interface GetTableDataParams {
|
|
6058
6083
|
/** String filter for the all text column (uses % and _ wild cards like SQL). */
|
|
6059
6084
|
filter?: string;
|
|
@@ -6204,4 +6229,52 @@ export interface GetToolsListsParams {
|
|
|
6204
6229
|
*/
|
|
6205
6230
|
status?: ToolStatus;
|
|
6206
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
|
+
}
|
|
6207
6280
|
export {};
|
|
@@ -612,6 +612,22 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
|
|
|
612
612
|
value: function uploadFile(data) {
|
|
613
613
|
return this.http.post("/upload/file", toFormData(data)).json();
|
|
614
614
|
}
|
|
615
|
+
/**
|
|
616
|
+
* No description
|
|
617
|
+
*
|
|
618
|
+
* @tags StaticContentService
|
|
619
|
+
* @name DeleteFile
|
|
620
|
+
* @operationId StaticContentServiceController_DeleteFile
|
|
621
|
+
* @summary Delete file from temporary session storage.
|
|
622
|
+
* @request DELETE:/upload/file
|
|
623
|
+
* @response `200` Success
|
|
624
|
+
*/
|
|
625
|
+
|
|
626
|
+
}, {
|
|
627
|
+
key: "deleteFile",
|
|
628
|
+
value: function deleteFile(query) {
|
|
629
|
+
return this.http.delete("/upload/file", null, query).then(() => {});
|
|
630
|
+
}
|
|
615
631
|
}]);
|
|
616
632
|
|
|
617
633
|
return StaticContentService;
|