@evergis/api 3.0.74 → 3.0.75
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__/FiltersService.d.ts +42 -0
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- 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 +38 -4
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { CreatePayload, FilterCreationResponseDc, UpdatePayload } 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 FiltersService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags FiltersService
|
|
13
|
+
* @name Get
|
|
14
|
+
* @operationId FiltersServiceController_Get
|
|
15
|
+
* @summary Returns the filter by its id.
|
|
16
|
+
* @request GET:/filters/{id}
|
|
17
|
+
* @response `200` Success
|
|
18
|
+
*/
|
|
19
|
+
get(id: string): Promise<string>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags FiltersService
|
|
24
|
+
* @name Update
|
|
25
|
+
* @operationId FiltersServiceController_Update
|
|
26
|
+
* @summary Replaces a filter and gives it a new id.
|
|
27
|
+
* @request POST:/filters/{id}
|
|
28
|
+
* @response `200` Success
|
|
29
|
+
*/
|
|
30
|
+
update(id: string, data: UpdatePayload): Promise<FilterCreationResponseDc>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags FiltersService
|
|
35
|
+
* @name Create
|
|
36
|
+
* @operationId FiltersServiceController_Create
|
|
37
|
+
* @summary Creates a new filter.
|
|
38
|
+
* @request POST:/filters
|
|
39
|
+
* @response `200` Success
|
|
40
|
+
*/
|
|
41
|
+
create(data: CreatePayload): Promise<FilterCreationResponseDc>;
|
|
42
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CompositeServiceInfoDc, CreateProjectPayload, CreateShareProjectPayload,
|
|
1
|
+
import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CompositeServiceInfoDc, CreateProjectPayload, CreateShareProjectPayload, DeleteResourcesParams7, 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: DeleteResourcesParams7): Promise<BulkOperationResultDc[]>;
|
|
86
86
|
/**
|
|
87
87
|
* No description
|
|
88
88
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams3, StatisticsDbParams, StatisticsDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -27,5 +27,5 @@ export declare class StatisticService extends Service {
|
|
|
27
27
|
* @request GET:/classify
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
|
-
classify(query:
|
|
30
|
+
classify(query: ClassifyParams3): Promise<ClassifyDc>;
|
|
31
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AddPermissionsInput, BulkOperationResultDc, CreateTablePayload,
|
|
1
|
+
import { AccessControlListDc, AddPermissionsInput, BulkOperationResultDc, CreateTablePayload, DeleteResourcesParams2, 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: DeleteResourcesParams2): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -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` Success
|
|
18
18
|
*/
|
|
19
|
-
getCapabilities(query:
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams9): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
@@ -1762,6 +1762,20 @@ export interface FilterCopyTaskParametersDc {
|
|
|
1762
1762
|
/** Storage that is to be used as a target for writing the task result. */
|
|
1763
1763
|
target: BaseTaskDataStorageDc;
|
|
1764
1764
|
}
|
|
1765
|
+
/**
|
|
1766
|
+
* Server response for the creation of a filter in filter service.
|
|
1767
|
+
*/
|
|
1768
|
+
export interface FilterCreationResponseDc {
|
|
1769
|
+
/** Id of the filter. */
|
|
1770
|
+
id?: string;
|
|
1771
|
+
}
|
|
1772
|
+
/**
|
|
1773
|
+
* Provides filter data contract.
|
|
1774
|
+
*/
|
|
1775
|
+
export interface FilterDc {
|
|
1776
|
+
/** Filter string to save. */
|
|
1777
|
+
filterString: string;
|
|
1778
|
+
}
|
|
1765
1779
|
/**
|
|
1766
1780
|
* Sets whether font should be styled.
|
|
1767
1781
|
*/
|
|
@@ -2158,6 +2172,8 @@ export interface ImagePointSymbolDc {
|
|
|
2158
2172
|
export interface ImportDataSchema {
|
|
2159
2173
|
/** List of layers in the data-set. */
|
|
2160
2174
|
layers: ImportLayerDataSchema[];
|
|
2175
|
+
/** Importing file type. */
|
|
2176
|
+
type: string;
|
|
2161
2177
|
}
|
|
2162
2178
|
/**
|
|
2163
2179
|
* Schema of a layer in an imported file.
|
|
@@ -2346,6 +2362,8 @@ export interface LayerModelDc {
|
|
|
2346
2362
|
condition?: string;
|
|
2347
2363
|
/** Id of the override style to apply to the layer. If not set, the layer original style is used. */
|
|
2348
2364
|
styleId?: string;
|
|
2365
|
+
/** Id of the override data filter to apply to the layer. If not set, the layer original data filter is used. */
|
|
2366
|
+
dataFilterId?: string;
|
|
2349
2367
|
}
|
|
2350
2368
|
/**
|
|
2351
2369
|
* The description of the layer service as a server task data storage.
|
|
@@ -5668,6 +5686,14 @@ export interface FeedbackParams {
|
|
|
5668
5686
|
/** Message text. */
|
|
5669
5687
|
Message?: string;
|
|
5670
5688
|
}
|
|
5689
|
+
/**
|
|
5690
|
+
* Provides filter data contract.
|
|
5691
|
+
*/
|
|
5692
|
+
export declare type UpdatePayload = FilterDc;
|
|
5693
|
+
/**
|
|
5694
|
+
* Provides filter data contract.
|
|
5695
|
+
*/
|
|
5696
|
+
export declare type CreatePayload = FilterDc;
|
|
5671
5697
|
export interface GeocodeParams {
|
|
5672
5698
|
/** Input address. */
|
|
5673
5699
|
address?: string;
|
|
@@ -5829,6 +5855,8 @@ export declare type UpdateCompositeServicePayload = CompositeServiceConfiguratio
|
|
|
5829
5855
|
export interface GetFeaturesParams {
|
|
5830
5856
|
/** Sets features filtering query. */
|
|
5831
5857
|
query?: string;
|
|
5858
|
+
/** Id of override data filter to apply to the layer. If not set, the default filter is used. */
|
|
5859
|
+
dataFilterId?: string;
|
|
5832
5860
|
/**
|
|
5833
5861
|
* Features count have to skip.
|
|
5834
5862
|
* @format int32
|
|
@@ -5979,6 +6007,8 @@ export interface GetLayerImageParams {
|
|
|
5979
6007
|
opacity?: number;
|
|
5980
6008
|
/** Id of the override style to apply to the layer. If not set, the layer original style is used. */
|
|
5981
6009
|
styleId?: string;
|
|
6010
|
+
/** Id of override data filter to apply to the layer. If not set, the default filter is used. */
|
|
6011
|
+
dataFilterId?: string;
|
|
5982
6012
|
/** Full name of the layer. */
|
|
5983
6013
|
name: string;
|
|
5984
6014
|
}
|
|
@@ -6068,6 +6098,8 @@ export interface GetByGeometryGetParams {
|
|
|
6068
6098
|
query?: string;
|
|
6069
6099
|
/** Id of the override style to apply to the layer. If not set, the layer original style is used. */
|
|
6070
6100
|
styleId?: string;
|
|
6101
|
+
/** Id of the override data filter to apply to the layer. If not set, the layer original data filter is used. */
|
|
6102
|
+
dataFilterId?: string;
|
|
6071
6103
|
/** The name of the layer. */
|
|
6072
6104
|
name: string;
|
|
6073
6105
|
}
|
|
@@ -6202,6 +6234,8 @@ export interface SelectFeaturesParams {
|
|
|
6202
6234
|
query?: string[];
|
|
6203
6235
|
/** Id of the override style to apply to the layer. If not set, the layer original style is used. */
|
|
6204
6236
|
styles?: string[];
|
|
6237
|
+
/** Id of the data filter to override data filter of the layer. If not set, the layer original data filter is used. */
|
|
6238
|
+
filters?: string[];
|
|
6205
6239
|
/** If set to true, the response will include the specific symbol for each feature. */
|
|
6206
6240
|
includeSymbols?: boolean;
|
|
6207
6241
|
}
|
|
@@ -6314,7 +6348,7 @@ export interface GetProjectsListParams {
|
|
|
6314
6348
|
*/
|
|
6315
6349
|
export declare type CreateProjectPayload = ExtendedProjectInfoDc | ResourceInfoDc | ProjectInfoDc;
|
|
6316
6350
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
6317
|
-
export interface
|
|
6351
|
+
export interface DeleteResourcesParams7 {
|
|
6318
6352
|
/** Resource names. */
|
|
6319
6353
|
names?: string[];
|
|
6320
6354
|
}
|
|
@@ -6506,7 +6540,7 @@ export interface StatisticsDbParams {
|
|
|
6506
6540
|
/** Type of required statistic function. */
|
|
6507
6541
|
types?: AggregationFunction[];
|
|
6508
6542
|
}
|
|
6509
|
-
export interface
|
|
6543
|
+
export interface ClassifyParams3 {
|
|
6510
6544
|
/** Layer name. */
|
|
6511
6545
|
name?: string;
|
|
6512
6546
|
/** Attribute name. */
|
|
@@ -6599,7 +6633,7 @@ export interface GetTableListParams {
|
|
|
6599
6633
|
*/
|
|
6600
6634
|
export declare type CreateTablePayload = DetailedTableInfoDc | ResourceInfoDc | TableInfoDc;
|
|
6601
6635
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
6602
|
-
export interface
|
|
6636
|
+
export interface DeleteResourcesParams2 {
|
|
6603
6637
|
/** Resource names. */
|
|
6604
6638
|
names?: string[];
|
|
6605
6639
|
}
|
|
@@ -6704,7 +6738,7 @@ export interface GetCapabilitiesParams {
|
|
|
6704
6738
|
/** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
|
|
6705
6739
|
AcceptFormats?: string[];
|
|
6706
6740
|
}
|
|
6707
|
-
export interface
|
|
6741
|
+
export interface GetCapabilitiesParams9 {
|
|
6708
6742
|
/** Output format of service metadata. */
|
|
6709
6743
|
Format?: string;
|
|
6710
6744
|
/** Must be WMS. */
|