@evergis/api 5.0.38 → 5.0.39
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/LICENSE +21 -21
- package/README.md +12 -12
- package/dist/__generated__/CatalogService.d.ts +13 -1
- package/dist/__generated__/LayersService.d.ts +6 -6
- package/dist/__generated__/ProjectsService.d.ts +1 -61
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +95 -185
- package/dist/api.esm.js +16 -74
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +15 -74
- package/dist/index.js.map +1 -1
- package/dist/services/Layers.d.ts +4 -4
- package/dist/services/Projects.d.ts +1 -2
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Everpoint
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Everpoint
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# @evergis/api
|
|
2
|
-
|
|
3
|
-
Библиотека API.
|
|
4
|
-
|
|
5
|
-
### Генерирование API
|
|
6
|
-
|
|
7
|
-
```shell
|
|
8
|
-
$ yarn generate
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
|
|
12
|
-
размещенные в директории `src/__generated__`!
|
|
1
|
+
# @evergis/api
|
|
2
|
+
|
|
3
|
+
Библиотека API.
|
|
4
|
+
|
|
5
|
+
### Генерирование API
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
$ yarn generate
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
|
|
12
|
+
размещенные в директории `src/__generated__`!
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AccessControlListDc, CopyResourceResultDc, CopyResourcesPayload, CreateDirectoryDc, CreateFile1Payload, CreateFilePayload, CreateSymlinkDc, DeleteResourceParams, ExtendedCatalogResourceDc, FailedCatalogConfigurationDc, GetTagsParams, ListConfigurationsDc, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceParentDc, SetPermissionsPayload, SucceedCatalogConfigurationDc, ZipExtractRequestDc } from './data-contracts';
|
|
2
|
+
import { AccessControlListDc, CopyResourceResultDc, CopyResourcesPayload, CreateDirectoryDc, CreateFile1Payload, CreateFilePayload, CreateSymlinkDc, CustomResourceDc, DeleteResourceParams, ExtendedCatalogResourceDc, FailedCatalogConfigurationDc, GetTagsParams, ListConfigurationsDc, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceParentDc, SetPermissionsPayload, SucceedCatalogConfigurationDc, ZipExtractRequestDc } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Gateway API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -102,6 +102,18 @@ export declare class CatalogService extends Service {
|
|
|
102
102
|
* @response `200` OK
|
|
103
103
|
*/
|
|
104
104
|
deleteResource({ resourceId, ...query }: DeleteResourceParams): Promise<void>;
|
|
105
|
+
/**
|
|
106
|
+
* No description
|
|
107
|
+
*
|
|
108
|
+
* @tags Catalog
|
|
109
|
+
* @name CreateResource
|
|
110
|
+
* @operationId CatalogController_CreateResource
|
|
111
|
+
* @summary Create new Everpoint.ResourcesCatalog.Tools.Models.CatalogResourceType.Custom resource.
|
|
112
|
+
* @request POST:/resources/custom
|
|
113
|
+
* @secure
|
|
114
|
+
* @response `200` OK
|
|
115
|
+
*/
|
|
116
|
+
createResource(data: CustomResourceDc): Promise<ExtendedCatalogResourceDc>;
|
|
105
117
|
/**
|
|
106
118
|
* No description
|
|
107
119
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, ClassifyDc, ClassifyParams, CreateFeaturesParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DetailedTableInfoDc, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, ExtendedProjectInfoDc,
|
|
2
|
+
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, ClassifyDc, ClassifyParams, CreateFeaturesParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DetailedTableInfoDc, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, ExtendedProjectInfoDc, FailedServiceInfoDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayersInfoParams, GetRasterMetaParams2, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, NetCdfMetaDc, Operation, PagedBulkFeaturesListDc, PagedFeaturesListDc, PatchQueryLayerService1Payload, PatchQueryLayerServicePayload, PbfServiceInfoDc, ProxyServiceInfoDc, PublishLayerInfoDc, PythonServiceInfoDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceInfoDc, ResourceDependenciesDc, ServiceInfoDc, TileCatalogServiceInfoDc, UpdateFeaturePayload, UpdateTableDc, ValidateExpressionParams } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Gateway API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -53,7 +53,7 @@ export declare class LayersService extends Service {
|
|
|
53
53
|
* @secure
|
|
54
54
|
* @response `200` OK
|
|
55
55
|
*/
|
|
56
|
-
getLayerInfo(name: string): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc |
|
|
56
|
+
getLayerInfo(name: string): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc>;
|
|
57
57
|
/**
|
|
58
58
|
* No description
|
|
59
59
|
*
|
|
@@ -65,7 +65,7 @@ export declare class LayersService extends Service {
|
|
|
65
65
|
* @secure
|
|
66
66
|
* @response `200` OK
|
|
67
67
|
*/
|
|
68
|
-
patchQueryLayerService(name: string, data: PatchQueryLayerServicePayload): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc |
|
|
68
|
+
patchQueryLayerService(name: string, data: PatchQueryLayerServicePayload): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc>;
|
|
69
69
|
/**
|
|
70
70
|
* No description
|
|
71
71
|
*
|
|
@@ -77,7 +77,7 @@ export declare class LayersService extends Service {
|
|
|
77
77
|
* @secure
|
|
78
78
|
* @response `200` OK
|
|
79
79
|
*/
|
|
80
|
-
getLayersInfo(query: GetLayersInfoParams): Promise<(ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc |
|
|
80
|
+
getLayersInfo(query: GetLayersInfoParams): Promise<(ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc)[]>;
|
|
81
81
|
/**
|
|
82
82
|
* No description
|
|
83
83
|
*
|
|
@@ -89,7 +89,7 @@ export declare class LayersService extends Service {
|
|
|
89
89
|
* @secure
|
|
90
90
|
* @response `200` OK
|
|
91
91
|
*/
|
|
92
|
-
publishService(data: PublishLayerInfoDc): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc |
|
|
92
|
+
publishService(data: PublishLayerInfoDc): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc>;
|
|
93
93
|
/**
|
|
94
94
|
* No description
|
|
95
95
|
*
|
|
@@ -113,7 +113,7 @@ export declare class LayersService extends Service {
|
|
|
113
113
|
* @secure
|
|
114
114
|
* @response `200` OK
|
|
115
115
|
*/
|
|
116
|
-
reloadService(name: string): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc |
|
|
116
|
+
reloadService(name: string): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ExtendedProjectInfoDc | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc>;
|
|
117
117
|
/**
|
|
118
118
|
* No description
|
|
119
119
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import {
|
|
2
|
+
import { ExtendedProjectInfoDc, GetProjectsInfoParams, Operation, ResourceDependenciesDc, UpdateProjectV2Payload } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Gateway API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -66,66 +66,6 @@ export declare class ProjectsService extends Service {
|
|
|
66
66
|
* @response `200` OK
|
|
67
67
|
*/
|
|
68
68
|
getProjectsInfo(query: GetProjectsInfoParams): Promise<ExtendedProjectInfoDc[]>;
|
|
69
|
-
/**
|
|
70
|
-
* No description
|
|
71
|
-
*
|
|
72
|
-
* @tags Projects
|
|
73
|
-
* @name GetProjectEnvelope
|
|
74
|
-
* @operationId ProjectsController_GetProjectEnvelope
|
|
75
|
-
* @summary Get project extent.
|
|
76
|
-
* @request GET:/projects/{name}/extent
|
|
77
|
-
* @secure
|
|
78
|
-
* @response `200` OK
|
|
79
|
-
*/
|
|
80
|
-
getProjectEnvelope({ name, ...query }: GetProjectEnvelopeParams): Promise<EnvelopeDc>;
|
|
81
|
-
/**
|
|
82
|
-
* No description
|
|
83
|
-
*
|
|
84
|
-
* @tags Projects
|
|
85
|
-
* @name GetProjectLayersExtendedInfo
|
|
86
|
-
* @operationId ProjectsController_GetProjectLayersExtendedInfo
|
|
87
|
-
* @summary Gets extended project info with layers info.
|
|
88
|
-
* @request GET:/projects/{name}/extended-info
|
|
89
|
-
* @secure
|
|
90
|
-
* @response `200` OK
|
|
91
|
-
*/
|
|
92
|
-
getProjectLayersExtendedInfo(name: string): Promise<ExtendedProjectLayersInfo>;
|
|
93
|
-
/**
|
|
94
|
-
* No description
|
|
95
|
-
*
|
|
96
|
-
* @tags Projects
|
|
97
|
-
* @name GetTilesLayerImage
|
|
98
|
-
* @operationId ProjectsController_GetTilesLayerImage
|
|
99
|
-
* @summary Render tile.
|
|
100
|
-
* @request GET:/projects/{name}/tile/{z}/{x}/{y}
|
|
101
|
-
* @secure
|
|
102
|
-
* @response `200` OK
|
|
103
|
-
*/
|
|
104
|
-
getTilesLayerImage(name: string, x: number, y: number, z: number): string;
|
|
105
|
-
/**
|
|
106
|
-
* No description
|
|
107
|
-
*
|
|
108
|
-
* @tags Projects
|
|
109
|
-
* @name GetTilesLayerImageWithFormat
|
|
110
|
-
* @operationId ProjectsController_GetTilesLayerImageWithFormat
|
|
111
|
-
* @summary Render tile.
|
|
112
|
-
* @request GET:/projects/{name}/tile/{z}/{x}/{y}.{format}
|
|
113
|
-
* @secure
|
|
114
|
-
* @response `200` OK
|
|
115
|
-
*/
|
|
116
|
-
getTilesLayerImageWithFormat(name: string, x: number, y: number, z: number, format: string): string;
|
|
117
|
-
/**
|
|
118
|
-
* No description
|
|
119
|
-
*
|
|
120
|
-
* @tags Projects
|
|
121
|
-
* @name GetTilesLayerImageWithFormatAndDpi
|
|
122
|
-
* @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi
|
|
123
|
-
* @summary Render tile.
|
|
124
|
-
* @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
125
|
-
* @secure
|
|
126
|
-
* @response `200` OK
|
|
127
|
-
*/
|
|
128
|
-
getTilesLayerImageWithFormatAndDpi(name: string, x: number, y: number, z: number, dpi: number, format: string): string;
|
|
129
69
|
/**
|
|
130
70
|
* No description
|
|
131
71
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { CleanParams, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteTableDataParams, DetailedTableInfoDc, DisableParams, EnableParams, GetTableDataParams, GetTablesInfoParams,
|
|
2
|
+
import { CleanParams, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteTableDataParams, DetailedTableInfoDc, DisableParams, EnableParams, GetTableDataParams, GetTablesInfoParams, MapTableInfoDc, MapTableParams, PagedListFeatureDc, PagedListHistoryItemDc, ResourceDependenciesDc, TableHistoryRequestDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Gateway API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -185,7 +185,7 @@ export declare class TablesService extends Service {
|
|
|
185
185
|
* @secure
|
|
186
186
|
* @response `200` OK
|
|
187
187
|
*/
|
|
188
|
-
get(tableName: string, data: TableHistoryRequestDc): Promise<
|
|
188
|
+
get(tableName: string, data: TableHistoryRequestDc): Promise<PagedListHistoryItemDc>;
|
|
189
189
|
/**
|
|
190
190
|
* No description
|
|
191
191
|
*
|
|
@@ -318,6 +318,16 @@ export interface BaseResourceInfoDc {
|
|
|
318
318
|
* @minLength 1
|
|
319
319
|
*/
|
|
320
320
|
name: string;
|
|
321
|
+
/**
|
|
322
|
+
* When the resource expires and is automatically deleted, or null.
|
|
323
|
+
* @format date-time
|
|
324
|
+
*/
|
|
325
|
+
expiresAt?: string;
|
|
326
|
+
/**
|
|
327
|
+
* When the resource was soft-deleted, or null if still active.
|
|
328
|
+
* @format date-time
|
|
329
|
+
*/
|
|
330
|
+
deletedAt?: string;
|
|
321
331
|
}
|
|
322
332
|
/**
|
|
323
333
|
* Provides resources with their acl.
|
|
@@ -461,7 +471,8 @@ export declare enum CatalogResourceType {
|
|
|
461
471
|
Table = "Table",
|
|
462
472
|
File = "File",
|
|
463
473
|
TaskPrototype = "TaskPrototype",
|
|
464
|
-
DataSource = "DataSource"
|
|
474
|
+
DataSource = "DataSource",
|
|
475
|
+
Custom = "Custom"
|
|
465
476
|
}
|
|
466
477
|
export declare enum ClassificationType {
|
|
467
478
|
None = "none",
|
|
@@ -898,6 +909,30 @@ export interface CreatedTaskResultDto {
|
|
|
898
909
|
/** Success flag. */
|
|
899
910
|
success?: boolean;
|
|
900
911
|
}
|
|
912
|
+
/**
|
|
913
|
+
* A custom resource in the catalog.
|
|
914
|
+
*/
|
|
915
|
+
export interface CustomResourceDc {
|
|
916
|
+
/** The name of the resource, including user namespace. */
|
|
917
|
+
name: string;
|
|
918
|
+
/** The subtype of the resource. */
|
|
919
|
+
subtype: string;
|
|
920
|
+
/** Whether the resource can contain child resources. */
|
|
921
|
+
isContainer?: boolean;
|
|
922
|
+
/** The id of the parent resource, or a human-readable path to it, or null for a root resource. */
|
|
923
|
+
parentId?: string;
|
|
924
|
+
/** The description of the custom resource, or null if not set. */
|
|
925
|
+
description?: string;
|
|
926
|
+
/** A set of tags, or null if not set. If specified, must not be empty and must not contain empty values. */
|
|
927
|
+
tags?: string[];
|
|
928
|
+
/** The JSON configuration, or null if not set. */
|
|
929
|
+
configuration?: any;
|
|
930
|
+
/**
|
|
931
|
+
* When the resource expires and is automatically deleted, or null.
|
|
932
|
+
* @format date-time
|
|
933
|
+
*/
|
|
934
|
+
expiresAt?: string;
|
|
935
|
+
}
|
|
901
936
|
export declare enum DataSourceConnectionType {
|
|
902
937
|
Json = "Json",
|
|
903
938
|
Csv = "Csv",
|
|
@@ -1160,22 +1195,6 @@ export type ExtendedProjectInfoDc = ResourceInfoDc & {
|
|
|
1160
1195
|
/** Project content configuration data contract. */
|
|
1161
1196
|
content: ProjectConfigurationDc;
|
|
1162
1197
|
};
|
|
1163
|
-
/**
|
|
1164
|
-
* Project extended configuration data contract.
|
|
1165
|
-
*/
|
|
1166
|
-
export type ExtendedProjectInfoDcV2 = ProjectInfoDcV2 & {
|
|
1167
|
-
/** Project content configuration data contract. */
|
|
1168
|
-
content: ProjectConfigurationDcV2;
|
|
1169
|
-
};
|
|
1170
|
-
/**
|
|
1171
|
-
* SPCore.Connectors.Connectors.Base.Models.Projects.ExtendedProjectLayersInfo provides extended project info with included layers info.
|
|
1172
|
-
*/
|
|
1173
|
-
export interface ExtendedProjectLayersInfo {
|
|
1174
|
-
/** Project extended configuration data contract. */
|
|
1175
|
-
projectInfo?: ExtendedProjectInfoDc;
|
|
1176
|
-
/** A collection of layers info. */
|
|
1177
|
-
layersInfo?: ServiceListItemDc[];
|
|
1178
|
-
}
|
|
1179
1198
|
/**
|
|
1180
1199
|
* Extended user information.
|
|
1181
1200
|
*/
|
|
@@ -1596,11 +1615,8 @@ export interface HistoryItemDc {
|
|
|
1596
1615
|
oldFeature?: FeatureDc;
|
|
1597
1616
|
/** Feature object definition. */
|
|
1598
1617
|
newFeature?: FeatureDc;
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
export interface IAttributesTable {
|
|
1602
|
-
/** @format int32 */
|
|
1603
|
-
count?: number;
|
|
1618
|
+
/** Feature difference. */
|
|
1619
|
+
diff?: PropertyDcObject[];
|
|
1604
1620
|
}
|
|
1605
1621
|
/**
|
|
1606
1622
|
* Data schema of a file for import.
|
|
@@ -2064,6 +2080,15 @@ export interface PagedListFeatureDc {
|
|
|
2064
2080
|
limit?: number;
|
|
2065
2081
|
items?: FeatureDc[];
|
|
2066
2082
|
}
|
|
2083
|
+
export interface PagedListHistoryItemDc {
|
|
2084
|
+
/** @format int64 */
|
|
2085
|
+
totalCount?: number;
|
|
2086
|
+
/** @format int32 */
|
|
2087
|
+
offset?: number;
|
|
2088
|
+
/** @format int32 */
|
|
2089
|
+
limit?: number;
|
|
2090
|
+
items?: HistoryItemDc[];
|
|
2091
|
+
}
|
|
2067
2092
|
export interface PagedListQueryHistoryDc {
|
|
2068
2093
|
/** @format int64 */
|
|
2069
2094
|
totalCount?: number;
|
|
@@ -2293,25 +2318,6 @@ export type PostgresTileCatalogServiceConfigurationDc = ServiceConfigurationBase
|
|
|
2293
2318
|
* Project content configuration data contract.
|
|
2294
2319
|
*/
|
|
2295
2320
|
export interface ProjectConfigurationDc {
|
|
2296
|
-
/** Client data storage. Expecting not used by server. */
|
|
2297
|
-
clientData?: any;
|
|
2298
|
-
/** Card configuration. Storage isn't used by server. */
|
|
2299
|
-
dashboardConfiguration?: any;
|
|
2300
|
-
/** Developer configuration. */
|
|
2301
|
-
devConfiguration?: any;
|
|
2302
|
-
/** Edit configuration. Storage isn't used by server. */
|
|
2303
|
-
editConfiguration?: any;
|
|
2304
|
-
/** Project information. Storage isn't used by server. */
|
|
2305
|
-
projectInfo?: any;
|
|
2306
|
-
/** Project content items configurations. */
|
|
2307
|
-
items?: ProjectContentItemDc[];
|
|
2308
|
-
/** Project configuration. */
|
|
2309
|
-
config?: any;
|
|
2310
|
-
}
|
|
2311
|
-
/**
|
|
2312
|
-
* Project content configuration data contract.
|
|
2313
|
-
*/
|
|
2314
|
-
export interface ProjectConfigurationDcV2 {
|
|
2315
2321
|
/** Client data storage. Expecting not used by server. */
|
|
2316
2322
|
clientData?: any;
|
|
2317
2323
|
/** Card configuration. Storage isn't used by server. */
|
|
@@ -2326,53 +2332,14 @@ export interface ProjectConfigurationDcV2 {
|
|
|
2326
2332
|
config?: any;
|
|
2327
2333
|
}
|
|
2328
2334
|
/**
|
|
2329
|
-
*
|
|
2335
|
+
* Property.
|
|
2330
2336
|
*/
|
|
2331
|
-
export interface
|
|
2332
|
-
/**
|
|
2337
|
+
export interface PropertyDcObject {
|
|
2338
|
+
/** Property name. */
|
|
2333
2339
|
name?: string;
|
|
2334
|
-
/**
|
|
2335
|
-
|
|
2336
|
-
/** Client data storage. Storage isn't used by server. */
|
|
2337
|
-
alias?: string;
|
|
2338
|
-
/**
|
|
2339
|
-
* Opacity level of item.
|
|
2340
|
-
* @format float
|
|
2341
|
-
* @default 1
|
|
2342
|
-
*/
|
|
2343
|
-
opacity?: number;
|
|
2344
|
-
/**
|
|
2345
|
-
* Indicates if item is visible.
|
|
2346
|
-
* @default true
|
|
2347
|
-
*/
|
|
2348
|
-
isVisible?: boolean;
|
|
2349
|
-
/** Checks if list of children is expanded. */
|
|
2350
|
-
isExpanded?: boolean;
|
|
2351
|
-
/** Checks if legend is expanded. */
|
|
2352
|
-
isLegendExpanded?: boolean;
|
|
2353
|
-
/**
|
|
2354
|
-
* Minimum scale resolution.
|
|
2355
|
-
* @format double
|
|
2356
|
-
* @default 0
|
|
2357
|
-
*/
|
|
2358
|
-
minScale?: number;
|
|
2359
|
-
/**
|
|
2360
|
-
* Maximum scale resolution.
|
|
2361
|
-
* @format double
|
|
2362
|
-
* @default 0
|
|
2363
|
-
*/
|
|
2364
|
-
maxScale?: number;
|
|
2365
|
-
/** If set true, item is basemap. */
|
|
2366
|
-
isBasemap?: boolean;
|
|
2367
|
-
/** Children items. */
|
|
2368
|
-
children?: ProjectContentItemDc[];
|
|
2369
|
-
/** Layer type. */
|
|
2370
|
-
layerType?: string;
|
|
2340
|
+
/** Property value. */
|
|
2341
|
+
value?: any;
|
|
2371
2342
|
}
|
|
2372
|
-
/**
|
|
2373
|
-
* A project configuration data contract.
|
|
2374
|
-
*/
|
|
2375
|
-
export type ProjectInfoDcV2 = ResourceInfoDcV2 & object;
|
|
2376
2343
|
/**
|
|
2377
2344
|
* Request to propose a share invitation for a resource.
|
|
2378
2345
|
*/
|
|
@@ -2951,9 +2918,9 @@ export interface ResourceInfoDc {
|
|
|
2951
2918
|
* @maxLength 102400
|
|
2952
2919
|
*/
|
|
2953
2920
|
icon?: string;
|
|
2954
|
-
/**
|
|
2921
|
+
/** The id of the parent resource, or a human-readable path to it, or null for a root resource. */
|
|
2955
2922
|
parentId?: string;
|
|
2956
|
-
/**
|
|
2923
|
+
/** The id of the resource, or a human-readable path to it. */
|
|
2957
2924
|
resourceId?: string;
|
|
2958
2925
|
/** Resource tags. */
|
|
2959
2926
|
tags?: string[];
|
|
@@ -2962,45 +2929,16 @@ export interface ResourceInfoDc {
|
|
|
2962
2929
|
* @minLength 1
|
|
2963
2930
|
*/
|
|
2964
2931
|
name: string;
|
|
2965
|
-
}
|
|
2966
|
-
/**
|
|
2967
|
-
* The `ResourceInfoDc` provides information about resource.
|
|
2968
|
-
*/
|
|
2969
|
-
export interface ResourceInfoDcV2 {
|
|
2970
|
-
/** Resource alias. */
|
|
2971
|
-
alias?: string;
|
|
2972
|
-
/** Resource owner. */
|
|
2973
|
-
owner?: string;
|
|
2974
|
-
/** Resource description. */
|
|
2975
|
-
description?: string;
|
|
2976
2932
|
/**
|
|
2977
|
-
*
|
|
2933
|
+
* When the resource expires and is automatically deleted, or null.
|
|
2978
2934
|
* @format date-time
|
|
2979
2935
|
*/
|
|
2980
|
-
|
|
2936
|
+
expiresAt?: string;
|
|
2981
2937
|
/**
|
|
2982
|
-
*
|
|
2938
|
+
* When the resource was soft-deleted, or null if still active.
|
|
2983
2939
|
* @format date-time
|
|
2984
2940
|
*/
|
|
2985
|
-
|
|
2986
|
-
permissions?: Permissions;
|
|
2987
|
-
/**
|
|
2988
|
-
* Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.
|
|
2989
|
-
* @minLength 0
|
|
2990
|
-
* @maxLength 102400
|
|
2991
|
-
*/
|
|
2992
|
-
icon?: string;
|
|
2993
|
-
/** Parent id in resources catalog. */
|
|
2994
|
-
parentId?: string;
|
|
2995
|
-
/** Resource id in resources catalog. */
|
|
2996
|
-
resourceId?: string;
|
|
2997
|
-
/** Resource tags. */
|
|
2998
|
-
tags?: string[];
|
|
2999
|
-
/**
|
|
3000
|
-
* Name of the resource including its namespaces (names of the service managers that contain this service).
|
|
3001
|
-
* @minLength 1
|
|
3002
|
-
*/
|
|
3003
|
-
name: string;
|
|
2941
|
+
deletedAt?: string;
|
|
3004
2942
|
}
|
|
3005
2943
|
/**
|
|
3006
2944
|
* Resource parent.
|
|
@@ -3207,7 +3145,10 @@ export interface ServiceConfigurationBaseDc {
|
|
|
3207
3145
|
* @minLength 1
|
|
3208
3146
|
*/
|
|
3209
3147
|
name: string;
|
|
3210
|
-
/**
|
|
3148
|
+
/**
|
|
3149
|
+
* The human-friendly name of the service, or the service SPCore.Connectors.Connectors.Base.Models.ServiceManager.Configurations.ServiceConfigurationBaseDc.Name if not set.
|
|
3150
|
+
* This value is used as a segment of the catalog resource path.
|
|
3151
|
+
*/
|
|
3211
3152
|
alias?: string;
|
|
3212
3153
|
/** Description of the service. */
|
|
3213
3154
|
description?: string;
|
|
@@ -3232,8 +3173,18 @@ export interface ServiceConfigurationBaseDc {
|
|
|
3232
3173
|
cardConfiguration?: any;
|
|
3233
3174
|
/** Edit configuration. Storage isn't used by server. */
|
|
3234
3175
|
editConfiguration?: any;
|
|
3235
|
-
/**
|
|
3176
|
+
/** The id of the parent resource, or a human-readable path to it, or null for a root resource. */
|
|
3236
3177
|
parentId?: string;
|
|
3178
|
+
/**
|
|
3179
|
+
* When the resource expires at and is automatically deleted, or null.
|
|
3180
|
+
* @format date-time
|
|
3181
|
+
*/
|
|
3182
|
+
expiresAt?: string;
|
|
3183
|
+
/**
|
|
3184
|
+
* When the resource was soft-deleted, or null if still active.
|
|
3185
|
+
* @format date-time
|
|
3186
|
+
*/
|
|
3187
|
+
deletedAt?: string;
|
|
3237
3188
|
}
|
|
3238
3189
|
/**
|
|
3239
3190
|
* The `ServiceInfoDc` provides information about the service.
|
|
@@ -3259,58 +3210,6 @@ export type ServiceInfoDc = BaseResourceInfoDc & {
|
|
|
3259
3210
|
/** Access control list for a security object. */
|
|
3260
3211
|
acl?: AccessControlListDc;
|
|
3261
3212
|
};
|
|
3262
|
-
/**
|
|
3263
|
-
* An entry in the service list response.
|
|
3264
|
-
*/
|
|
3265
|
-
export interface ServiceListItemDc {
|
|
3266
|
-
/** Name of the resource. */
|
|
3267
|
-
name?: string;
|
|
3268
|
-
/** Type of the service. */
|
|
3269
|
-
type?: string;
|
|
3270
|
-
/** Alias of the resource. */
|
|
3271
|
-
alias?: string;
|
|
3272
|
-
/** Description of the resource. */
|
|
3273
|
-
description?: string;
|
|
3274
|
-
/** System name of the resource owner. */
|
|
3275
|
-
owner?: string;
|
|
3276
|
-
/** User name of the resource owner (human friendly name). */
|
|
3277
|
-
ownerName?: string;
|
|
3278
|
-
/**
|
|
3279
|
-
* The date and time the resource was created.
|
|
3280
|
-
* @format date-time
|
|
3281
|
-
*/
|
|
3282
|
-
createdDate?: string;
|
|
3283
|
-
/**
|
|
3284
|
-
* The date and time the resource was modified the last time.
|
|
3285
|
-
* @format date-time
|
|
3286
|
-
*/
|
|
3287
|
-
changedDate?: string;
|
|
3288
|
-
permissions?: Permissions;
|
|
3289
|
-
/**
|
|
3290
|
-
* Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level
|
|
3291
|
-
* style of the service, or if no such property is available for this type of the service, 0 is returned.
|
|
3292
|
-
* @format double
|
|
3293
|
-
*/
|
|
3294
|
-
minResolution?: number;
|
|
3295
|
-
/**
|
|
3296
|
-
* Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level
|
|
3297
|
-
* style of the service, or if no such property is available for this type of the service, 0 is returned.
|
|
3298
|
-
* @format double
|
|
3299
|
-
*/
|
|
3300
|
-
maxResolution?: number;
|
|
3301
|
-
/**
|
|
3302
|
-
* Filtering condition for the objects in the service. If no condition set or if no such property is available
|
|
3303
|
-
* for the given service type, null is returned.
|
|
3304
|
-
*/
|
|
3305
|
-
condition?: string;
|
|
3306
|
-
geometryType?: OgcGeometryType;
|
|
3307
|
-
/** Provides data source type info. */
|
|
3308
|
-
dataSourceType?: string;
|
|
3309
|
-
/** A set of tags. */
|
|
3310
|
-
tags?: string[];
|
|
3311
|
-
/** Envelope geometry. */
|
|
3312
|
-
envelope?: EnvelopeDc;
|
|
3313
|
-
}
|
|
3314
3213
|
export declare enum ShareInvitationStatus {
|
|
3315
3214
|
Unspecified = "Unspecified",
|
|
3316
3215
|
Pending = "Pending",
|
|
@@ -3597,6 +3496,16 @@ export interface TableHistoryRequestDc {
|
|
|
3597
3496
|
* @format date-time
|
|
3598
3497
|
*/
|
|
3599
3498
|
end?: string;
|
|
3499
|
+
/**
|
|
3500
|
+
* History items count have to skip.
|
|
3501
|
+
* @format int32
|
|
3502
|
+
*/
|
|
3503
|
+
offset?: number;
|
|
3504
|
+
/**
|
|
3505
|
+
* History items limit per response.
|
|
3506
|
+
* @format int32
|
|
3507
|
+
*/
|
|
3508
|
+
limit?: number;
|
|
3600
3509
|
}
|
|
3601
3510
|
/**
|
|
3602
3511
|
* Table description.
|
|
@@ -3635,9 +3544,9 @@ export interface TableInfoDc {
|
|
|
3635
3544
|
* @maxLength 102400
|
|
3636
3545
|
*/
|
|
3637
3546
|
icon?: string;
|
|
3638
|
-
/**
|
|
3547
|
+
/** The id of the parent resource, or a human-readable path to it, or null for a root resource. */
|
|
3639
3548
|
parentId?: string;
|
|
3640
|
-
/**
|
|
3549
|
+
/** The id of the resource, or a human-readable path to it. */
|
|
3641
3550
|
resourceId?: string;
|
|
3642
3551
|
/** Resource tags. */
|
|
3643
3552
|
tags?: string[];
|
|
@@ -3646,6 +3555,16 @@ export interface TableInfoDc {
|
|
|
3646
3555
|
* @minLength 1
|
|
3647
3556
|
*/
|
|
3648
3557
|
name: string;
|
|
3558
|
+
/**
|
|
3559
|
+
* When the resource expires and is automatically deleted, or null.
|
|
3560
|
+
* @format date-time
|
|
3561
|
+
*/
|
|
3562
|
+
expiresAt?: string;
|
|
3563
|
+
/**
|
|
3564
|
+
* When the resource was soft-deleted, or null if still active.
|
|
3565
|
+
* @format date-time
|
|
3566
|
+
*/
|
|
3567
|
+
deletedAt?: string;
|
|
3649
3568
|
}
|
|
3650
3569
|
/**
|
|
3651
3570
|
* Tags filter.
|
|
@@ -5154,15 +5073,6 @@ export interface GetProjectsInfoParams {
|
|
|
5154
5073
|
/** Project names. */
|
|
5155
5074
|
projectNames?: string[];
|
|
5156
5075
|
}
|
|
5157
|
-
export interface GetProjectEnvelopeParams {
|
|
5158
|
-
/**
|
|
5159
|
-
* Spatial reference to return the extent in.
|
|
5160
|
-
* @format int32
|
|
5161
|
-
*/
|
|
5162
|
-
srId?: number;
|
|
5163
|
-
/** The name of the project. */
|
|
5164
|
-
name: string;
|
|
5165
|
-
}
|
|
5166
5076
|
export interface GetAllScriptMethodsParams {
|
|
5167
5077
|
/** ResourceId. */
|
|
5168
5078
|
resourceId?: string;
|