@evergis/api 3.0.84 → 3.0.87
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__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/ResourceCatalogService.d.ts +1 -1
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +24 -8
- 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
|
*
|
|
@@ -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
|
*
|
|
@@ -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
|
*
|
|
@@ -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
|
*
|
|
@@ -3110,6 +3110,8 @@ export interface PolicyDc {
|
|
|
3110
3110
|
* CreateProject
|
|
3111
3111
|
*
|
|
3112
3112
|
* MaxFeaturesInOneTable
|
|
3113
|
+
*
|
|
3114
|
+
* MaxObjectsToExport
|
|
3113
3115
|
*/
|
|
3114
3116
|
type: PolicyType;
|
|
3115
3117
|
role?: string;
|
|
@@ -3128,13 +3130,16 @@ CreateLayer
|
|
|
3128
3130
|
CreateProject
|
|
3129
3131
|
|
|
3130
3132
|
MaxFeaturesInOneTable
|
|
3133
|
+
|
|
3134
|
+
MaxObjectsToExport
|
|
3131
3135
|
*/
|
|
3132
3136
|
export declare enum PolicyType {
|
|
3133
3137
|
Unknown = "Unknown",
|
|
3134
3138
|
CreateTable = "CreateTable",
|
|
3135
3139
|
CreateLayer = "CreateLayer",
|
|
3136
3140
|
CreateProject = "CreateProject",
|
|
3137
|
-
MaxFeaturesInOneTable = "MaxFeaturesInOneTable"
|
|
3141
|
+
MaxFeaturesInOneTable = "MaxFeaturesInOneTable",
|
|
3142
|
+
MaxObjectsToExport = "MaxObjectsToExport"
|
|
3138
3143
|
}
|
|
3139
3144
|
/**
|
|
3140
3145
|
* Polyline and Polygon base geometry object definition.
|
|
@@ -3515,6 +3520,8 @@ export interface ProjectConfigurationDc {
|
|
|
3515
3520
|
srid?: number;
|
|
3516
3521
|
/** Base map service name. */
|
|
3517
3522
|
baseMapName?: string;
|
|
3523
|
+
/** Client data storage. Expecting not used by server. */
|
|
3524
|
+
clientData?: any;
|
|
3518
3525
|
/** Project content items configurations. */
|
|
3519
3526
|
items?: ProjectContentItemDc[];
|
|
3520
3527
|
/** A collection of bookmarks of the map. */
|
|
@@ -5503,6 +5510,11 @@ export interface WorkspaceLimitsDc {
|
|
|
5503
5510
|
* @format int32
|
|
5504
5511
|
*/
|
|
5505
5512
|
maxProjectsCount?: number;
|
|
5513
|
+
/**
|
|
5514
|
+
* Max objects to export.
|
|
5515
|
+
* @format int64
|
|
5516
|
+
*/
|
|
5517
|
+
maxObjectsToExport?: number;
|
|
5506
5518
|
/** Allowed service types in workspace. */
|
|
5507
5519
|
allowedServiceTypes?: string[];
|
|
5508
5520
|
/**
|
|
@@ -5765,6 +5777,10 @@ export interface GetDataSchemaParams {
|
|
|
5765
5777
|
* Data schema of a file for import.
|
|
5766
5778
|
*/
|
|
5767
5779
|
export declare type GetFeaturesCountPayload = ImportFileFeaturesCountDc;
|
|
5780
|
+
export interface GetExternalWmsLayersParams {
|
|
5781
|
+
/** WMS service url. */
|
|
5782
|
+
wmsUrl?: string;
|
|
5783
|
+
}
|
|
5768
5784
|
export interface GetRasterAttributesParams {
|
|
5769
5785
|
/** File name in the temporary static storage. */
|
|
5770
5786
|
fileName?: string;
|
|
@@ -6360,7 +6376,7 @@ export interface GetProjectsListParams {
|
|
|
6360
6376
|
*/
|
|
6361
6377
|
export declare type CreateProjectPayload = ExtendedProjectInfoDc | ResourceInfoDc | ProjectInfoDc;
|
|
6362
6378
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
6363
|
-
export interface
|
|
6379
|
+
export interface DeleteResourcesParams6 {
|
|
6364
6380
|
/** Resource names. */
|
|
6365
6381
|
names?: string[];
|
|
6366
6382
|
}
|
|
@@ -6500,6 +6516,8 @@ export interface GetPolicyListParams {
|
|
|
6500
6516
|
* CreateProject
|
|
6501
6517
|
*
|
|
6502
6518
|
* MaxFeaturesInOneTable
|
|
6519
|
+
*
|
|
6520
|
+
* MaxObjectsToExport
|
|
6503
6521
|
*/
|
|
6504
6522
|
type?: PolicyType;
|
|
6505
6523
|
}
|
|
@@ -6516,6 +6534,8 @@ export interface RemovePolicyParams {
|
|
|
6516
6534
|
* CreateProject
|
|
6517
6535
|
*
|
|
6518
6536
|
* MaxFeaturesInOneTable
|
|
6537
|
+
*
|
|
6538
|
+
* MaxObjectsToExport
|
|
6519
6539
|
*/
|
|
6520
6540
|
type?: PolicyType;
|
|
6521
6541
|
/** Use role the policy is applied to. */
|
|
@@ -6552,7 +6572,7 @@ export interface StatisticsDbParams {
|
|
|
6552
6572
|
/** Type of required statistic function. */
|
|
6553
6573
|
types?: AggregationFunction[];
|
|
6554
6574
|
}
|
|
6555
|
-
export interface
|
|
6575
|
+
export interface ClassifyParams6 {
|
|
6556
6576
|
/** Layer name. */
|
|
6557
6577
|
name?: string;
|
|
6558
6578
|
/** Attribute name. */
|
|
@@ -6657,10 +6677,6 @@ export interface GetTableListParams {
|
|
|
6657
6677
|
*/
|
|
6658
6678
|
export declare type CreateTablePayload = DetailedTableInfoDc | ResourceInfoDc | TableInfoDc;
|
|
6659
6679
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
6660
|
-
export interface DeleteResourcesParams3 {
|
|
6661
|
-
/** Resource names. */
|
|
6662
|
-
names?: string[];
|
|
6663
|
-
}
|
|
6664
6680
|
/**
|
|
6665
6681
|
* Table description with columns what must be added and deleted.
|
|
6666
6682
|
*/
|
|
@@ -6762,7 +6778,7 @@ export interface GetCapabilitiesParams {
|
|
|
6762
6778
|
/** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
|
|
6763
6779
|
AcceptFormats?: string[];
|
|
6764
6780
|
}
|
|
6765
|
-
export interface
|
|
6781
|
+
export interface GetCapabilitiesParams5 {
|
|
6766
6782
|
/** Output format of service metadata. */
|
|
6767
6783
|
Format?: string;
|
|
6768
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) {
|