@evergis/api 3.0.65 → 3.0.66
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__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +20 -0
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +149 -2
- package/dist/api.cjs.development.js +13 -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 +40 -1
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CompositeServiceInfoDc, CreateProjectPayload, CreateShareProjectPayload,
|
|
1
|
+
import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CompositeServiceInfoDc, CreateProjectPayload, CreateShareProjectPayload, DeleteResourcesParams8, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, IListResponse, ListResponseProjectInfoDc, ResourceDependenciesDc, ResourceInfoDc, ServiceInfoDc, SetPermissionsBatchBody, SetPermissionsBody, SetPreviewBody, SharedProjectInfoDc, UpdateProjectPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -82,7 +82,7 @@ export declare class ProjectsService extends Service {
|
|
|
82
82
|
* @request DELETE:/projects
|
|
83
83
|
* @response `200` Success
|
|
84
84
|
*/
|
|
85
|
-
deleteResources(query:
|
|
85
|
+
deleteResources(query: DeleteResourcesParams8): Promise<BulkOperationResultDc[]>;
|
|
86
86
|
/**
|
|
87
87
|
* No description
|
|
88
88
|
*
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PositionDc, StatisticParams } 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 StatisticService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags Statistic
|
|
13
|
+
* @name Statistic
|
|
14
|
+
* @operationId StatisticController_Statistic
|
|
15
|
+
* @summary Returns statistic result based on requested statistic type.
|
|
16
|
+
* @request POST:/statistics
|
|
17
|
+
* @response `200` Success
|
|
18
|
+
*/
|
|
19
|
+
statistic(query: StatisticParams): Promise<PositionDc>;
|
|
20
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AddPermissionsInput, BulkOperationResultDc, CreateTablePayload,
|
|
1
|
+
import { AccessControlListDc, AddPermissionsInput, BulkOperationResultDc, CreateTablePayload, DeleteResourcesParams1, 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: DeleteResourcesParams1): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams6, 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: GetCapabilitiesParams6): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
@@ -6,7 +6,7 @@ interface BrandedType<T> {
|
|
|
6
6
|
*/
|
|
7
7
|
export interface AccessControlListDc {
|
|
8
8
|
/** All available permissions list. */
|
|
9
|
-
data
|
|
9
|
+
data?: RolePermissionDc[];
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Server task that aggregate the objects from one storage to another by polygon geometry.
|
|
@@ -1323,6 +1323,61 @@ export interface ExtendedUserInfoDc {
|
|
|
1323
1323
|
/** The roles of the user. */
|
|
1324
1324
|
roles?: string[];
|
|
1325
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
* The `FailedServiceInfoDc` describes SPCore.Security.Base.Services.FailedServiceInfo data contact.
|
|
1328
|
+
*/
|
|
1329
|
+
export interface FailedServiceInfoDc {
|
|
1330
|
+
/** Types of errors that can occur during layer initialize. */
|
|
1331
|
+
errorType?: ConfigurationErrorEnum;
|
|
1332
|
+
/** The type of the resource. */
|
|
1333
|
+
type: string;
|
|
1334
|
+
/** The category of the service. */
|
|
1335
|
+
categories?: string[];
|
|
1336
|
+
/** Configuration of the service. */
|
|
1337
|
+
configuration?: ServiceConfigurationBaseDc;
|
|
1338
|
+
/** Name of the resource including its namespaces (names of the service managers that contain this service). */
|
|
1339
|
+
name: string;
|
|
1340
|
+
/** Resource alias. */
|
|
1341
|
+
alias?: string;
|
|
1342
|
+
/** Resource owner. */
|
|
1343
|
+
owner?: string;
|
|
1344
|
+
/** Resource description. */
|
|
1345
|
+
description?: string;
|
|
1346
|
+
/** Resource preview. */
|
|
1347
|
+
preview?: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* The date when resource was created.
|
|
1350
|
+
* @format date-time
|
|
1351
|
+
*/
|
|
1352
|
+
createdDate?: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* The date when resource was last modified.
|
|
1355
|
+
* @format date-time
|
|
1356
|
+
*/
|
|
1357
|
+
changedDate?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* User permissions for server security objects (services, projects etc.)
|
|
1360
|
+
*
|
|
1361
|
+
* none
|
|
1362
|
+
*
|
|
1363
|
+
* configure
|
|
1364
|
+
*
|
|
1365
|
+
* write
|
|
1366
|
+
*
|
|
1367
|
+
* read
|
|
1368
|
+
*
|
|
1369
|
+
* read,configure
|
|
1370
|
+
*
|
|
1371
|
+
* read,write
|
|
1372
|
+
*
|
|
1373
|
+
* read,write,configure
|
|
1374
|
+
*/
|
|
1375
|
+
permissions?: Permissions;
|
|
1376
|
+
/** Access control list. */
|
|
1377
|
+
acl?: AccessControlListDc;
|
|
1378
|
+
/** Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends. */
|
|
1379
|
+
icon?: string;
|
|
1380
|
+
}
|
|
1326
1381
|
/**
|
|
1327
1382
|
* Feature object definition.
|
|
1328
1383
|
*/
|
|
@@ -2247,6 +2302,14 @@ export interface MaskedImagePointSymbolDc {
|
|
|
2247
2302
|
*/
|
|
2248
2303
|
angle?: ParameterDcDouble;
|
|
2249
2304
|
}
|
|
2305
|
+
/**
|
|
2306
|
+
* A multipoint symbol.
|
|
2307
|
+
*/
|
|
2308
|
+
export interface MultipointSymbolDc {
|
|
2309
|
+
type?: string;
|
|
2310
|
+
/** Point symbol that will be used to draw all the points. */
|
|
2311
|
+
pointSymbol?: SymbolDc;
|
|
2312
|
+
}
|
|
2250
2313
|
/**
|
|
2251
2314
|
* Information about a namespace .
|
|
2252
2315
|
*/
|
|
@@ -3890,6 +3953,41 @@ export interface SquarePointSymbolDc {
|
|
|
3890
3953
|
offset?: ParameterDcDouble[];
|
|
3891
3954
|
}
|
|
3892
3955
|
/**
|
|
3956
|
+
* Describes statistics methods.
|
|
3957
|
+
|
|
3958
|
+
min
|
|
3959
|
+
|
|
3960
|
+
max
|
|
3961
|
+
|
|
3962
|
+
avg
|
|
3963
|
+
|
|
3964
|
+
med
|
|
3965
|
+
|
|
3966
|
+
mod
|
|
3967
|
+
|
|
3968
|
+
sum
|
|
3969
|
+
|
|
3970
|
+
sumOfProduct
|
|
3971
|
+
|
|
3972
|
+
count
|
|
3973
|
+
|
|
3974
|
+
firstLast
|
|
3975
|
+
|
|
3976
|
+
standardDeviation
|
|
3977
|
+
*/
|
|
3978
|
+
export declare enum StatisticsType {
|
|
3979
|
+
Min = "min",
|
|
3980
|
+
Max = "max",
|
|
3981
|
+
Avg = "avg",
|
|
3982
|
+
Med = "med",
|
|
3983
|
+
Mod = "mod",
|
|
3984
|
+
Sum = "sum",
|
|
3985
|
+
SumOfProduct = "sumOfProduct",
|
|
3986
|
+
Count = "count",
|
|
3987
|
+
FirstLast = "firstLast",
|
|
3988
|
+
StandardDeviation = "standardDeviation"
|
|
3989
|
+
}
|
|
3990
|
+
/**
|
|
3893
3991
|
* The `StringSubType` provides information about string attribute subtype.
|
|
3894
3992
|
|
|
3895
3993
|
None
|
|
@@ -4647,6 +4745,11 @@ export interface WorkspaceLimitsDc {
|
|
|
4647
4745
|
* @format int32
|
|
4648
4746
|
*/
|
|
4649
4747
|
maxFeaturesInOneTable?: number;
|
|
4748
|
+
/**
|
|
4749
|
+
* Max current features in one table.
|
|
4750
|
+
* @format int64
|
|
4751
|
+
*/
|
|
4752
|
+
maxCurrentFeaturesInOneTable?: number;
|
|
4650
4753
|
/**
|
|
4651
4754
|
* Max projects count in workspace.
|
|
4652
4755
|
* @format int32
|
|
@@ -4958,6 +5061,8 @@ export interface GetLayersListParams {
|
|
|
4958
5061
|
orderByFields?: string[];
|
|
4959
5062
|
/** Filters layers by geometry types. */
|
|
4960
5063
|
geometryFilter?: string[];
|
|
5064
|
+
/** ACL in string format `role:permissions;role:permissions`. */
|
|
5065
|
+
acl?: string;
|
|
4961
5066
|
}
|
|
4962
5067
|
export declare type SetPermissionsBatchPayload = ResourceAclDc[];
|
|
4963
5068
|
export interface DeleteResourcesParams {
|
|
@@ -5483,12 +5588,18 @@ export interface GetProjectsListParams {
|
|
|
5483
5588
|
group?: Group;
|
|
5484
5589
|
/** A list of `ProjectInfoDc` fields for sorting. If a field starts with `-` ordering is by descending. */
|
|
5485
5590
|
orderByFields?: string[];
|
|
5591
|
+
/** All available permissions list. */
|
|
5592
|
+
acl?: RolePermissionDc[];
|
|
5486
5593
|
}
|
|
5487
5594
|
/**
|
|
5488
5595
|
* Project extended configuration data contract.
|
|
5489
5596
|
*/
|
|
5490
5597
|
export declare type CreateProjectPayload = ExtendedProjectInfoDc | ResourceInfoDc | ProjectInfoDc;
|
|
5491
5598
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
5599
|
+
export interface DeleteResourcesParams8 {
|
|
5600
|
+
/** Resource names. */
|
|
5601
|
+
names?: string[];
|
|
5602
|
+
}
|
|
5492
5603
|
/**
|
|
5493
5604
|
* Project extended configuration data contract.
|
|
5494
5605
|
*/
|
|
@@ -5667,6 +5778,36 @@ export interface DeleteFileParams {
|
|
|
5667
5778
|
/** File id to delete. */
|
|
5668
5779
|
fileid?: string;
|
|
5669
5780
|
}
|
|
5781
|
+
export interface StatisticParams {
|
|
5782
|
+
/**
|
|
5783
|
+
* Type of required statistic function.
|
|
5784
|
+
*
|
|
5785
|
+
* min
|
|
5786
|
+
*
|
|
5787
|
+
* max
|
|
5788
|
+
*
|
|
5789
|
+
* avg
|
|
5790
|
+
*
|
|
5791
|
+
* med
|
|
5792
|
+
*
|
|
5793
|
+
* mod
|
|
5794
|
+
*
|
|
5795
|
+
* sum
|
|
5796
|
+
*
|
|
5797
|
+
* sumOfProduct
|
|
5798
|
+
*
|
|
5799
|
+
* count
|
|
5800
|
+
*
|
|
5801
|
+
* firstLast
|
|
5802
|
+
*
|
|
5803
|
+
* standardDeviation
|
|
5804
|
+
*/
|
|
5805
|
+
type?: StatisticsType;
|
|
5806
|
+
/** Layer name. */
|
|
5807
|
+
layerName?: string;
|
|
5808
|
+
/** Attribute name. */
|
|
5809
|
+
attribute?: string;
|
|
5810
|
+
}
|
|
5670
5811
|
/**
|
|
5671
5812
|
* Feature layer rendering style.
|
|
5672
5813
|
*/
|
|
@@ -5706,12 +5847,18 @@ export interface GetTableListParams {
|
|
|
5706
5847
|
orderByFields?: string[];
|
|
5707
5848
|
/** Filters layers by geometry types. */
|
|
5708
5849
|
geometryFilter?: string[];
|
|
5850
|
+
/** All available permissions list. */
|
|
5851
|
+
acl?: RolePermissionDc[];
|
|
5709
5852
|
}
|
|
5710
5853
|
/**
|
|
5711
5854
|
* Table description with columns and access control list.
|
|
5712
5855
|
*/
|
|
5713
5856
|
export declare type CreateTablePayload = DetailedTableInfoDc | ResourceInfoDc | TableInfoDc;
|
|
5714
5857
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
5858
|
+
export interface DeleteResourcesParams1 {
|
|
5859
|
+
/** Resource names. */
|
|
5860
|
+
names?: string[];
|
|
5861
|
+
}
|
|
5715
5862
|
/**
|
|
5716
5863
|
* Table description with columns what must be added and deleted.
|
|
5717
5864
|
*/
|
|
@@ -5813,7 +5960,7 @@ export interface GetCapabilitiesParams {
|
|
|
5813
5960
|
/** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
|
|
5814
5961
|
AcceptFormats?: string[];
|
|
5815
5962
|
}
|
|
5816
|
-
export interface
|
|
5963
|
+
export interface GetCapabilitiesParams6 {
|
|
5817
5964
|
/** Output format of service metadata. */
|
|
5818
5965
|
Format?: string;
|
|
5819
5966
|
/** Must be WMS. */
|
|
@@ -6312,6 +6312,19 @@ function isFeatureLayer(layer) {
|
|
|
6312
6312
|
ServerTaskStatus["Timeout"] = "Timeout";
|
|
6313
6313
|
})(exports.ServerTaskStatus || (exports.ServerTaskStatus = {}));
|
|
6314
6314
|
|
|
6315
|
+
(function (StatisticsType) {
|
|
6316
|
+
StatisticsType["Min"] = "min";
|
|
6317
|
+
StatisticsType["Max"] = "max";
|
|
6318
|
+
StatisticsType["Avg"] = "avg";
|
|
6319
|
+
StatisticsType["Med"] = "med";
|
|
6320
|
+
StatisticsType["Mod"] = "mod";
|
|
6321
|
+
StatisticsType["Sum"] = "sum";
|
|
6322
|
+
StatisticsType["SumOfProduct"] = "sumOfProduct";
|
|
6323
|
+
StatisticsType["Count"] = "count";
|
|
6324
|
+
StatisticsType["FirstLast"] = "firstLast";
|
|
6325
|
+
StatisticsType["StandardDeviation"] = "standardDeviation";
|
|
6326
|
+
})(exports.StatisticsType || (exports.StatisticsType = {}));
|
|
6327
|
+
|
|
6315
6328
|
(function (StringSubType) {
|
|
6316
6329
|
StringSubType["None"] = "None";
|
|
6317
6330
|
StringSubType["Image"] = "Image";
|