@evergis/api 3.0.197 → 3.0.198
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__/DataSourceService.d.ts +31 -0
- package/dist/__generated__/EqlService.d.ts +1 -1
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +76 -13
- package/dist/api.cjs.development.js +10 -7
- 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 +21 -12
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DataSourceDc, GetDataSourcesListParams, PagedListDataSourceDc } from './data-contracts';
|
|
2
|
+
import { Service } from './Service';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version 1.5.1.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class DataSourceService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags DataSource
|
|
13
|
+
* @name GetDataSourcesList
|
|
14
|
+
* @operationId DataSourceController_GetDataSourcesList
|
|
15
|
+
* @summary Returns list of the available data sources.
|
|
16
|
+
* @request GET:/ds
|
|
17
|
+
* @response `200` OK
|
|
18
|
+
*/
|
|
19
|
+
getDataSourcesList(query: GetDataSourcesListParams): Promise<PagedListDataSourceDc>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags DataSource
|
|
24
|
+
* @name GetDataSource
|
|
25
|
+
* @operationId DataSourceController_GetDataSource
|
|
26
|
+
* @summary Get data source by name.
|
|
27
|
+
* @request GET:/ds/{name}
|
|
28
|
+
* @response `200` OK
|
|
29
|
+
*/
|
|
30
|
+
getDataSource(name: string): Promise<DataSourceDc>;
|
|
31
|
+
}
|
|
@@ -16,7 +16,7 @@ export declare class EqlService extends Service {
|
|
|
16
16
|
* @request POST:/eql/query
|
|
17
17
|
* @response `200` OK
|
|
18
18
|
*/
|
|
19
|
-
getQueryResult(data: EqlRequestDc): Promise<
|
|
19
|
+
getQueryResult(data: EqlRequestDc): Promise<Record<string, any>[]>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams6, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } 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` OK
|
|
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, ClassifyParams9, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -38,7 +38,7 @@ export declare class StatisticService extends Service {
|
|
|
38
38
|
* @request GET:/statistics/classify
|
|
39
39
|
* @response `200` OK
|
|
40
40
|
*/
|
|
41
|
-
classify(query:
|
|
41
|
+
classify(query: ClassifyParams9): Promise<ClassifyDc>;
|
|
42
42
|
/**
|
|
43
43
|
* No description
|
|
44
44
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams9, 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` OK
|
|
18
18
|
*/
|
|
19
|
-
getCapabilities(query:
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams9): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
@@ -1605,6 +1605,49 @@ export declare type DashedBrushDc = StrokeBrushDc & {
|
|
|
1605
1605
|
intervals?: ParameterDcDoubleArray;
|
|
1606
1606
|
phase?: number;
|
|
1607
1607
|
};
|
|
1608
|
+
/**
|
|
1609
|
+
* Data source data contract.
|
|
1610
|
+
*/
|
|
1611
|
+
export interface DataSourceDc {
|
|
1612
|
+
/** Name. */
|
|
1613
|
+
name?: string;
|
|
1614
|
+
/** Alias. */
|
|
1615
|
+
alias?: string;
|
|
1616
|
+
/** Description. */
|
|
1617
|
+
description?: string;
|
|
1618
|
+
/**
|
|
1619
|
+
* Data source type.
|
|
1620
|
+
*
|
|
1621
|
+
* Postgres
|
|
1622
|
+
*/
|
|
1623
|
+
type?: DataSourceType;
|
|
1624
|
+
/** Connection string. */
|
|
1625
|
+
connectionString?: string;
|
|
1626
|
+
/** Schema. */
|
|
1627
|
+
schema?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* Date and time when the remote connection was created.
|
|
1630
|
+
* @format date-time
|
|
1631
|
+
*/
|
|
1632
|
+
created?: string;
|
|
1633
|
+
/**
|
|
1634
|
+
* Date and time when the remote connection was last modified.
|
|
1635
|
+
* @format date-time
|
|
1636
|
+
*/
|
|
1637
|
+
modified?: string;
|
|
1638
|
+
/** Login of the owner. */
|
|
1639
|
+
owner?: string;
|
|
1640
|
+
/** Access control list for a security object. */
|
|
1641
|
+
acl?: AccessControlListDc;
|
|
1642
|
+
}
|
|
1643
|
+
/**
|
|
1644
|
+
* Data source type.
|
|
1645
|
+
|
|
1646
|
+
Postgres
|
|
1647
|
+
*/
|
|
1648
|
+
export declare enum DataSourceType {
|
|
1649
|
+
Postgres = "Postgres"
|
|
1650
|
+
}
|
|
1608
1651
|
/**
|
|
1609
1652
|
* Configuration of a table for feature layer.
|
|
1610
1653
|
*/
|
|
@@ -3257,17 +3300,15 @@ export interface ListResourcesDto {
|
|
|
3257
3300
|
*/
|
|
3258
3301
|
filter?: string;
|
|
3259
3302
|
/**
|
|
3260
|
-
*
|
|
3303
|
+
* Filter exists resources by owner.
|
|
3261
3304
|
*
|
|
3262
3305
|
* My
|
|
3263
3306
|
*
|
|
3264
3307
|
* Shared
|
|
3265
3308
|
*
|
|
3266
3309
|
* Public
|
|
3267
|
-
*
|
|
3268
|
-
* All
|
|
3269
3310
|
*/
|
|
3270
|
-
ownerFilter?:
|
|
3311
|
+
ownerFilter?: OwnerFilterDc;
|
|
3271
3312
|
/** Resources types filter. */
|
|
3272
3313
|
resourceTypes?: CatalogResourceType[];
|
|
3273
3314
|
/** Resources subtypes filter. */
|
|
@@ -3457,21 +3498,18 @@ export declare type OverlayTaskParametersDc = FeatureTaskParametersDc & {
|
|
|
3457
3498
|
toolLayer?: LayerTaskDataStorageDc;
|
|
3458
3499
|
};
|
|
3459
3500
|
/**
|
|
3460
|
-
*
|
|
3501
|
+
* Filter exists resources by owner.
|
|
3461
3502
|
|
|
3462
3503
|
My
|
|
3463
3504
|
|
|
3464
3505
|
Shared
|
|
3465
3506
|
|
|
3466
3507
|
Public
|
|
3467
|
-
|
|
3468
|
-
All
|
|
3469
3508
|
*/
|
|
3470
|
-
export declare enum
|
|
3509
|
+
export declare enum OwnerFilterDc {
|
|
3471
3510
|
My = "My",
|
|
3472
3511
|
Shared = "Shared",
|
|
3473
|
-
Public = "Public"
|
|
3474
|
-
All = "All"
|
|
3512
|
+
Public = "Public"
|
|
3475
3513
|
}
|
|
3476
3514
|
/**
|
|
3477
3515
|
* Features list definition.
|
|
@@ -3494,6 +3532,15 @@ export interface PagedListConfigDc {
|
|
|
3494
3532
|
limit?: number;
|
|
3495
3533
|
items?: ConfigDc[];
|
|
3496
3534
|
}
|
|
3535
|
+
export interface PagedListDataSourceDc {
|
|
3536
|
+
/** @format int64 */
|
|
3537
|
+
totalCount?: number;
|
|
3538
|
+
/** @format int32 */
|
|
3539
|
+
offset?: number;
|
|
3540
|
+
/** @format int32 */
|
|
3541
|
+
limit?: number;
|
|
3542
|
+
items?: DataSourceDc[];
|
|
3543
|
+
}
|
|
3497
3544
|
export interface PagedListExtendedUserInfoDc {
|
|
3498
3545
|
/** @format int64 */
|
|
3499
3546
|
totalCount?: number;
|
|
@@ -6905,6 +6952,18 @@ export interface RemoveConfigurationParams {
|
|
|
6905
6952
|
/** URL path. */
|
|
6906
6953
|
urlPath: string;
|
|
6907
6954
|
}
|
|
6955
|
+
export interface GetDataSourcesListParams {
|
|
6956
|
+
/**
|
|
6957
|
+
* Objects limit per response.
|
|
6958
|
+
* @format int32
|
|
6959
|
+
*/
|
|
6960
|
+
offset?: number;
|
|
6961
|
+
/**
|
|
6962
|
+
* Objects count have to skip. Default limit sets in 20 object.
|
|
6963
|
+
* @format int32
|
|
6964
|
+
*/
|
|
6965
|
+
limit?: number;
|
|
6966
|
+
}
|
|
6908
6967
|
export interface SetLayerParameterValueParams {
|
|
6909
6968
|
/** Layer name. */
|
|
6910
6969
|
layerName?: string;
|
|
@@ -7677,7 +7736,7 @@ export interface GetProjectsListParams {
|
|
|
7677
7736
|
tags?: string[];
|
|
7678
7737
|
}
|
|
7679
7738
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
7680
|
-
export interface
|
|
7739
|
+
export interface DeleteResourcesParams6 {
|
|
7681
7740
|
/** Resource names. */
|
|
7682
7741
|
names?: string[];
|
|
7683
7742
|
}
|
|
@@ -7960,7 +8019,7 @@ export interface StatisticsDbParams {
|
|
|
7960
8019
|
*/
|
|
7961
8020
|
types?: AggregationFunction[];
|
|
7962
8021
|
}
|
|
7963
|
-
export interface
|
|
8022
|
+
export interface ClassifyParams9 {
|
|
7964
8023
|
/** Layer name. */
|
|
7965
8024
|
name: string;
|
|
7966
8025
|
/** Attribute name. */
|
|
@@ -8093,6 +8152,10 @@ export interface GetTableListParams {
|
|
|
8093
8152
|
acl?: string;
|
|
8094
8153
|
}
|
|
8095
8154
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
8155
|
+
export interface DeleteResourcesParams3 {
|
|
8156
|
+
/** Resource names. */
|
|
8157
|
+
names?: string[];
|
|
8158
|
+
}
|
|
8096
8159
|
export interface GetTablesInfoParams {
|
|
8097
8160
|
/** Table names. */
|
|
8098
8161
|
tableNames?: string[];
|
|
@@ -8246,7 +8309,7 @@ export interface GetPublicCapabilitiesParams {
|
|
|
8246
8309
|
/** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
|
|
8247
8310
|
AcceptFormats?: string[];
|
|
8248
8311
|
}
|
|
8249
|
-
export interface
|
|
8312
|
+
export interface GetCapabilitiesParams9 {
|
|
8250
8313
|
/** Output format of service metadata. */
|
|
8251
8314
|
Format?: string;
|
|
8252
8315
|
/** Must be WMS. */
|
|
@@ -2076,7 +2076,7 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2076
2076
|
* @response `200` OK
|
|
2077
2077
|
*/
|
|
2078
2078
|
function getQueryResult(data) {
|
|
2079
|
-
return this.http.post("/eql/query", data).
|
|
2079
|
+
return this.http.post("/eql/query", data).json();
|
|
2080
2080
|
}
|
|
2081
2081
|
/**
|
|
2082
2082
|
* No description
|
|
@@ -8154,6 +8154,10 @@ function isFeatureLayer(layer) {
|
|
|
8154
8154
|
ConfigurationErrorEnum["InvalidTableReferenceConfiguration"] = "InvalidTableReferenceConfiguration";
|
|
8155
8155
|
})(exports.ConfigurationErrorEnum || (exports.ConfigurationErrorEnum = {}));
|
|
8156
8156
|
|
|
8157
|
+
(function (DataSourceType) {
|
|
8158
|
+
DataSourceType["Postgres"] = "Postgres";
|
|
8159
|
+
})(exports.DataSourceType || (exports.DataSourceType = {}));
|
|
8160
|
+
|
|
8157
8161
|
(function (ErrorDetailsType) {
|
|
8158
8162
|
ErrorDetailsType["ResourceLimitExceeded"] = "ResourceLimitExceeded";
|
|
8159
8163
|
ErrorDetailsType["ResourceNotFound"] = "ResourceNotFound";
|
|
@@ -8272,12 +8276,11 @@ function isFeatureLayer(layer) {
|
|
|
8272
8276
|
Operation["SymDifference"] = "symDifference";
|
|
8273
8277
|
})(exports.Operation || (exports.Operation = {}));
|
|
8274
8278
|
|
|
8275
|
-
(function (
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
})(exports.OwnerFilter || (exports.OwnerFilter = {}));
|
|
8279
|
+
(function (OwnerFilterDc) {
|
|
8280
|
+
OwnerFilterDc["My"] = "My";
|
|
8281
|
+
OwnerFilterDc["Shared"] = "Shared";
|
|
8282
|
+
OwnerFilterDc["Public"] = "Public";
|
|
8283
|
+
})(exports.OwnerFilterDc || (exports.OwnerFilterDc = {}));
|
|
8281
8284
|
|
|
8282
8285
|
(function (PbfSchema) {
|
|
8283
8286
|
PbfSchema["XYZ"] = "xyz";
|