@evergis/api 3.0.82 → 3.0.85
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__/ImportService.d.ts +12 -1
- package/dist/__generated__/LayersService.d.ts +1 -1
- package/dist/__generated__/ProjectsService.d.ts +3 -3
- package/dist/__generated__/ResourceCatalogService.d.ts +1 -1
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +3 -3
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +35 -31
- package/dist/api.cjs.development.js +18 -1
- 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 +20 -1
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetDataSchemaParams, GetFeaturesCountPayload, GetRasterAttributesParams, ImportDataSchema } from './data-contracts';
|
|
1
|
+
import { GetDataSchemaParams, GetExternalWmsLayersParams, GetFeaturesCountPayload, GetRasterAttributesParams, ImportDataSchema } 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 ImportService extends Service {
|
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
30
|
getFeaturesCount(data: GetFeaturesCountPayload): Promise<number>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags ImportService
|
|
35
|
+
* @name GetExternalWmsLayers
|
|
36
|
+
* @operationId ImportServiceController_GetExternalWmsLayers
|
|
37
|
+
* @summary Get list of external WMS layers.
|
|
38
|
+
* @request GET:/import/wms
|
|
39
|
+
* @response `200` Success
|
|
40
|
+
*/
|
|
41
|
+
getExternalWmsLayers(query: GetExternalWmsLayersParams): Promise<void>;
|
|
31
42
|
/**
|
|
32
43
|
* No description
|
|
33
44
|
*
|
|
@@ -490,7 +490,7 @@ export declare class LayersService extends Service {
|
|
|
490
490
|
* @request POST:/layers/{name}/preview
|
|
491
491
|
* @response `200` Success
|
|
492
492
|
*/
|
|
493
|
-
setPreview(name: string, data: SetPreviewPayload): Promise<FileUploadResponse>;
|
|
493
|
+
setPreview(name: string, data: SetPreviewPayload | FormData): Promise<FileUploadResponse>;
|
|
494
494
|
/**
|
|
495
495
|
* No description
|
|
496
496
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CreateProjectPayload,
|
|
1
|
+
import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CreateProjectPayload, DeleteResourcesParams6, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, IListResponse, ListResponseProjectInfoDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPermissionsBody, SetPreviewBody, UpdateProjectPayload } 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 ProjectsService extends Service {
|
|
|
49
49
|
* @request DELETE:/projects
|
|
50
50
|
* @response `200` Success
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams6): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -115,7 +115,7 @@ export declare class ProjectsService extends Service {
|
|
|
115
115
|
* @request POST:/projects/{name}/preview
|
|
116
116
|
* @response `200` Success
|
|
117
117
|
*/
|
|
118
|
-
setPreview(name: string, data: SetPreviewBody): Promise<FileUploadResponse>;
|
|
118
|
+
setPreview(name: string, data: SetPreviewBody | FormData): Promise<FileUploadResponse>;
|
|
119
119
|
/**
|
|
120
120
|
* No description
|
|
121
121
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams6, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -27,7 +27,7 @@ export declare class StatisticService extends Service {
|
|
|
27
27
|
* @request GET:/statistics/classify
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
|
-
classify(query:
|
|
30
|
+
classify(query: ClassifyParams6): Promise<ClassifyDc>;
|
|
31
31
|
/**
|
|
32
32
|
* No description
|
|
33
33
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AddPermissionsInput, BulkOperationResultDc, CreateTablePayload,
|
|
1
|
+
import { AccessControlListDc, AddPermissionsInput, BulkOperationResultDc, CreateTablePayload, DeleteResourcesParams6, DeleteTableDataParams, FileUploadResponse, GetTableDataParams, GetTableListParams, GetUniqueDataRowsParams, IListResponse, ListResponseIEnumerable1, MapRemoteTableParams, MapRemoteTablePayload, MapTableParams, MapTablePayload, MapViewParams, MapViewPayload, ResourceDependenciesDc, SetPermissionsBatchInput, SetPermissionsInput, SetPreviewInput, TableListDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTablePayload, WriteTableDataPayload } 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:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams6): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -203,7 +203,7 @@ export declare class TablesService extends Service {
|
|
|
203
203
|
* @request POST:/tables/{name}/preview
|
|
204
204
|
* @response `200` Success
|
|
205
205
|
*/
|
|
206
|
-
setPreview(name: string, data: SetPreviewInput): Promise<FileUploadResponse>;
|
|
206
|
+
setPreview(name: string, data: SetPreviewInput | FormData): Promise<FileUploadResponse>;
|
|
207
207
|
/**
|
|
208
208
|
* No description
|
|
209
209
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams5, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -16,7 +16,7 @@ export declare class WmsServerService extends Service {
|
|
|
16
16
|
* @request GET:/wms#REQUEST=GetCapabilities
|
|
17
17
|
* @response `200` Success
|
|
18
18
|
*/
|
|
19
|
-
getCapabilities(query:
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams5): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
@@ -1933,7 +1933,10 @@ export interface GeocodeResultDc {
|
|
|
1933
1933
|
* @format double
|
|
1934
1934
|
*/
|
|
1935
1935
|
score?: number;
|
|
1936
|
-
geometry
|
|
1936
|
+
/** Result geometry. */
|
|
1937
|
+
center?: PositionDc;
|
|
1938
|
+
/** Result geometry. */
|
|
1939
|
+
geometry?: GeometryDc;
|
|
1937
1940
|
}
|
|
1938
1941
|
/**
|
|
1939
1942
|
* Geocode suggest result.
|
|
@@ -2108,27 +2111,6 @@ export interface IEnvelopeGeometry {
|
|
|
2108
2111
|
sr?: ISpatialReference;
|
|
2109
2112
|
envelope?: IEnvelopeGeometry;
|
|
2110
2113
|
}
|
|
2111
|
-
export interface IGeometry {
|
|
2112
|
-
centroid?: IVector;
|
|
2113
|
-
/**
|
|
2114
|
-
*
|
|
2115
|
-
*
|
|
2116
|
-
* unknown
|
|
2117
|
-
*
|
|
2118
|
-
* point
|
|
2119
|
-
*
|
|
2120
|
-
* polyline
|
|
2121
|
-
*
|
|
2122
|
-
* polygon
|
|
2123
|
-
*
|
|
2124
|
-
* envelope
|
|
2125
|
-
*
|
|
2126
|
-
* multipoint
|
|
2127
|
-
*/
|
|
2128
|
-
geometryType?: GeometryType;
|
|
2129
|
-
sr?: ISpatialReference;
|
|
2130
|
-
envelope?: IEnvelopeGeometry;
|
|
2131
|
-
}
|
|
2132
2114
|
export interface ILineEndingDc {
|
|
2133
2115
|
/** Type of the line ending. */
|
|
2134
2116
|
type?: LineEndingType;
|
|
@@ -2786,6 +2768,8 @@ export interface MapRemoteTableInfoDc {
|
|
|
2786
2768
|
dataProvider: string;
|
|
2787
2769
|
/** Name of the table, materialized view or view. */
|
|
2788
2770
|
name: string;
|
|
2771
|
+
/** Owner of the table. */
|
|
2772
|
+
owner: string;
|
|
2789
2773
|
/** Create datasource alias. */
|
|
2790
2774
|
alias?: string;
|
|
2791
2775
|
/** Create datasource description. */
|
|
@@ -2798,6 +2782,8 @@ export interface MapRemoteTableInfoDc {
|
|
|
2798
2782
|
export interface MapTableInfoDc {
|
|
2799
2783
|
/** Name of the table, materialized view or view. */
|
|
2800
2784
|
name: string;
|
|
2785
|
+
/** Owner of the table. */
|
|
2786
|
+
owner: string;
|
|
2801
2787
|
/** Create datasource alias. */
|
|
2802
2788
|
alias?: string;
|
|
2803
2789
|
/** Create datasource description. */
|
|
@@ -2809,6 +2795,8 @@ export interface MapTableInfoDc {
|
|
|
2809
2795
|
export interface MapViewInfoDc {
|
|
2810
2796
|
/** Name of the table, materialized view or view. */
|
|
2811
2797
|
name: string;
|
|
2798
|
+
/** Owner of the table. */
|
|
2799
|
+
owner: string;
|
|
2812
2800
|
/** Create datasource alias. */
|
|
2813
2801
|
alias?: string;
|
|
2814
2802
|
/** Create datasource description. */
|
|
@@ -3122,6 +3110,8 @@ export interface PolicyDc {
|
|
|
3122
3110
|
* CreateProject
|
|
3123
3111
|
*
|
|
3124
3112
|
* MaxFeaturesInOneTable
|
|
3113
|
+
*
|
|
3114
|
+
* MaxObjectsToExport
|
|
3125
3115
|
*/
|
|
3126
3116
|
type: PolicyType;
|
|
3127
3117
|
role?: string;
|
|
@@ -3140,13 +3130,16 @@ CreateLayer
|
|
|
3140
3130
|
CreateProject
|
|
3141
3131
|
|
|
3142
3132
|
MaxFeaturesInOneTable
|
|
3133
|
+
|
|
3134
|
+
MaxObjectsToExport
|
|
3143
3135
|
*/
|
|
3144
3136
|
export declare enum PolicyType {
|
|
3145
3137
|
Unknown = "Unknown",
|
|
3146
3138
|
CreateTable = "CreateTable",
|
|
3147
3139
|
CreateLayer = "CreateLayer",
|
|
3148
3140
|
CreateProject = "CreateProject",
|
|
3149
|
-
MaxFeaturesInOneTable = "MaxFeaturesInOneTable"
|
|
3141
|
+
MaxFeaturesInOneTable = "MaxFeaturesInOneTable",
|
|
3142
|
+
MaxObjectsToExport = "MaxObjectsToExport"
|
|
3150
3143
|
}
|
|
3151
3144
|
/**
|
|
3152
3145
|
* Polyline and Polygon base geometry object definition.
|
|
@@ -3527,6 +3520,8 @@ export interface ProjectConfigurationDc {
|
|
|
3527
3520
|
srid?: number;
|
|
3528
3521
|
/** Base map service name. */
|
|
3529
3522
|
baseMapName?: string;
|
|
3523
|
+
/** Client data storage. Expecting not used by server. */
|
|
3524
|
+
clientData?: any;
|
|
3530
3525
|
/** Project content items configurations. */
|
|
3531
3526
|
items?: ProjectContentItemDc[];
|
|
3532
3527
|
/** A collection of bookmarks of the map. */
|
|
@@ -5515,6 +5510,11 @@ export interface WorkspaceLimitsDc {
|
|
|
5515
5510
|
* @format int32
|
|
5516
5511
|
*/
|
|
5517
5512
|
maxProjectsCount?: number;
|
|
5513
|
+
/**
|
|
5514
|
+
* Max objects to export.
|
|
5515
|
+
* @format int64
|
|
5516
|
+
*/
|
|
5517
|
+
maxObjectsToExport?: number;
|
|
5518
5518
|
/** Allowed service types in workspace. */
|
|
5519
5519
|
allowedServiceTypes?: string[];
|
|
5520
5520
|
/**
|
|
@@ -5777,6 +5777,10 @@ export interface GetDataSchemaParams {
|
|
|
5777
5777
|
* Data schema of a file for import.
|
|
5778
5778
|
*/
|
|
5779
5779
|
export declare type GetFeaturesCountPayload = ImportFileFeaturesCountDc;
|
|
5780
|
+
export interface GetExternalWmsLayersParams {
|
|
5781
|
+
/** WMS service url. */
|
|
5782
|
+
wmsUrl?: string;
|
|
5783
|
+
}
|
|
5780
5784
|
export interface GetRasterAttributesParams {
|
|
5781
5785
|
/** File name in the temporary static storage. */
|
|
5782
5786
|
fileName?: string;
|
|
@@ -6042,7 +6046,7 @@ export interface GetLayerImageParams {
|
|
|
6042
6046
|
}
|
|
6043
6047
|
export interface GetLayerExtentParams {
|
|
6044
6048
|
/** If set, only the features that satisfy the condition will be considered when calculating the extent. */
|
|
6045
|
-
|
|
6049
|
+
condition?: string;
|
|
6046
6050
|
/**
|
|
6047
6051
|
* Spatial reference to return the extent in.
|
|
6048
6052
|
* @format int32
|
|
@@ -6372,7 +6376,7 @@ export interface GetProjectsListParams {
|
|
|
6372
6376
|
*/
|
|
6373
6377
|
export declare type CreateProjectPayload = ExtendedProjectInfoDc | ResourceInfoDc | ProjectInfoDc;
|
|
6374
6378
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
6375
|
-
export interface
|
|
6379
|
+
export interface DeleteResourcesParams6 {
|
|
6376
6380
|
/** Resource names. */
|
|
6377
6381
|
names?: string[];
|
|
6378
6382
|
}
|
|
@@ -6512,6 +6516,8 @@ export interface GetPolicyListParams {
|
|
|
6512
6516
|
* CreateProject
|
|
6513
6517
|
*
|
|
6514
6518
|
* MaxFeaturesInOneTable
|
|
6519
|
+
*
|
|
6520
|
+
* MaxObjectsToExport
|
|
6515
6521
|
*/
|
|
6516
6522
|
type?: PolicyType;
|
|
6517
6523
|
}
|
|
@@ -6528,6 +6534,8 @@ export interface RemovePolicyParams {
|
|
|
6528
6534
|
* CreateProject
|
|
6529
6535
|
*
|
|
6530
6536
|
* MaxFeaturesInOneTable
|
|
6537
|
+
*
|
|
6538
|
+
* MaxObjectsToExport
|
|
6531
6539
|
*/
|
|
6532
6540
|
type?: PolicyType;
|
|
6533
6541
|
/** Use role the policy is applied to. */
|
|
@@ -6564,7 +6572,7 @@ export interface StatisticsDbParams {
|
|
|
6564
6572
|
/** Type of required statistic function. */
|
|
6565
6573
|
types?: AggregationFunction[];
|
|
6566
6574
|
}
|
|
6567
|
-
export interface
|
|
6575
|
+
export interface ClassifyParams6 {
|
|
6568
6576
|
/** Layer name. */
|
|
6569
6577
|
name?: string;
|
|
6570
6578
|
/** Attribute name. */
|
|
@@ -6669,10 +6677,6 @@ export interface GetTableListParams {
|
|
|
6669
6677
|
*/
|
|
6670
6678
|
export declare type CreateTablePayload = DetailedTableInfoDc | ResourceInfoDc | TableInfoDc;
|
|
6671
6679
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
6672
|
-
export interface DeleteResourcesParams10 {
|
|
6673
|
-
/** Resource names. */
|
|
6674
|
-
names?: string[];
|
|
6675
|
-
}
|
|
6676
6680
|
/**
|
|
6677
6681
|
* Table description with columns what must be added and deleted.
|
|
6678
6682
|
*/
|
|
@@ -6774,7 +6778,7 @@ export interface GetCapabilitiesParams {
|
|
|
6774
6778
|
/** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
|
|
6775
6779
|
AcceptFormats?: string[];
|
|
6776
6780
|
}
|
|
6777
|
-
export interface
|
|
6781
|
+
export interface GetCapabilitiesParams5 {
|
|
6778
6782
|
/** Output format of service metadata. */
|
|
6779
6783
|
Format?: string;
|
|
6780
6784
|
/** Must be WMS. */
|
|
@@ -663,6 +663,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
|
|
|
663
663
|
value: function getFeaturesCount(data) {
|
|
664
664
|
return this.http.post("/import/count", data).json();
|
|
665
665
|
}
|
|
666
|
+
/**
|
|
667
|
+
* No description
|
|
668
|
+
*
|
|
669
|
+
* @tags ImportService
|
|
670
|
+
* @name GetExternalWmsLayers
|
|
671
|
+
* @operationId ImportServiceController_GetExternalWmsLayers
|
|
672
|
+
* @summary Get list of external WMS layers.
|
|
673
|
+
* @request GET:/import/wms
|
|
674
|
+
* @response `200` Success
|
|
675
|
+
*/
|
|
676
|
+
|
|
677
|
+
}, {
|
|
678
|
+
key: "getExternalWmsLayers",
|
|
679
|
+
value: function getExternalWmsLayers(query) {
|
|
680
|
+
return this.http.get("/import/wms", query).then(() => {});
|
|
681
|
+
}
|
|
666
682
|
/**
|
|
667
683
|
* No description
|
|
668
684
|
*
|
|
@@ -3711,7 +3727,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
|
|
|
3711
3727
|
key: "checkLimits",
|
|
3712
3728
|
value:
|
|
3713
3729
|
/**
|
|
3714
|
-
*
|
|
3730
|
+
* @description This method requires superuser permission.
|
|
3715
3731
|
*
|
|
3716
3732
|
* @tags ResourceCatalog
|
|
3717
3733
|
* @name CheckLimits
|
|
@@ -6465,6 +6481,7 @@ function isFeatureLayer(layer) {
|
|
|
6465
6481
|
PolicyType["CreateLayer"] = "CreateLayer";
|
|
6466
6482
|
PolicyType["CreateProject"] = "CreateProject";
|
|
6467
6483
|
PolicyType["MaxFeaturesInOneTable"] = "MaxFeaturesInOneTable";
|
|
6484
|
+
PolicyType["MaxObjectsToExport"] = "MaxObjectsToExport";
|
|
6468
6485
|
})(exports.PolicyType || (exports.PolicyType = {}));
|
|
6469
6486
|
|
|
6470
6487
|
(function (ResourceType) {
|