@evergis/api 4.1.17 → 4.1.18
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__/CatalogService.d.ts +25 -1
- package/dist/__generated__/LayersService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +65 -4
- package/dist/api.esm.js +52 -3
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +51 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AccessControlListDc, CatalogResourceDc, CopyResourceResultDc, CopyResourcesPayload, CreateDirectoryDc, CreateFile1Payload, CreateFilePayload, CreateSymlinkDc, GetTagsParams, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceParentDc, SetPermissionsPayload } from './data-contracts';
|
|
2
|
+
import { AccessControlListDc, CatalogResourceDc, CopyResourceResultDc, CopyResourcesPayload, CreateDirectoryDc, CreateFile1Payload, CreateFilePayload, CreateSymlinkDc, GetByPathDc, GetTagsParams, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceParentDc, SetPermissionsPayload, ZipExtractRequestDc } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -150,6 +150,18 @@ export declare class CatalogService extends Service {
|
|
|
150
150
|
* @response `200` OK
|
|
151
151
|
*/
|
|
152
152
|
getResourceByPath(path: string): Promise<CatalogResourceDc>;
|
|
153
|
+
/**
|
|
154
|
+
* No description
|
|
155
|
+
*
|
|
156
|
+
* @tags Catalog
|
|
157
|
+
* @name PostGetResourceByPath
|
|
158
|
+
* @operationId CatalogController_PostGetResourceByPath
|
|
159
|
+
* @summary Get resource with given path.
|
|
160
|
+
* @request POST:/resources/getByPath
|
|
161
|
+
* @secure
|
|
162
|
+
* @response `200` OK
|
|
163
|
+
*/
|
|
164
|
+
postGetResourceByPath(data: GetByPathDc): Promise<CatalogResourceDc>;
|
|
153
165
|
/**
|
|
154
166
|
* No description
|
|
155
167
|
*
|
|
@@ -270,4 +282,16 @@ export declare class CatalogService extends Service {
|
|
|
270
282
|
* @response `200` OK
|
|
271
283
|
*/
|
|
272
284
|
copyResources(data: CopyResourcesPayload): Promise<CopyResourceResultDc[]>;
|
|
285
|
+
/**
|
|
286
|
+
* No description
|
|
287
|
+
*
|
|
288
|
+
* @tags Catalog
|
|
289
|
+
* @name ExtractZipArchive
|
|
290
|
+
* @operationId CatalogController_ExtractZipArchive
|
|
291
|
+
* @summary Extract zip archive.
|
|
292
|
+
* @request POST:/resources/zip/extract
|
|
293
|
+
* @secure
|
|
294
|
+
* @response `200` OK
|
|
295
|
+
*/
|
|
296
|
+
extractZipArchive(data: ZipExtractRequestDc): Promise<void>;
|
|
273
297
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayersInfoParams, GetRasterMetaParams2, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, LinearServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, PythonServiceConfigurationDc, PythonServiceInfoDc, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteServiceConfigurationDc, ServiceInfoDc, TileCatalogServiceInfoDc, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
|
|
2
|
+
import { AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkFilteredFeaturesCountDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CreateFeaturesParams, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCount1Params, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountPayload, GetLayerExtentParams, GetLayersInfoParams, GetRasterMetaParams2, GetTilesLayerImage1Params, GetTilesLayerImageParams, GetTilesLayerImageWithFormatAndDpiParams, LayerUpdateInfoDc, LinearServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, PythonServiceConfigurationDc, PythonServiceInfoDc, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteServiceConfigurationDc, ServiceInfoDc, TileCatalogServiceInfoDc, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -305,7 +305,7 @@ export declare class LayersService extends Service {
|
|
|
305
305
|
* @secure
|
|
306
306
|
* @response `200` OK
|
|
307
307
|
*/
|
|
308
|
-
createFeatures(name:
|
|
308
|
+
createFeatures({ name, ...query }: CreateFeaturesParams, data: CreateFeaturesPayload): Promise<LayerUpdateInfoDc>;
|
|
309
309
|
/**
|
|
310
310
|
* No description
|
|
311
311
|
*
|
|
@@ -1197,6 +1197,23 @@ export declare enum ConfigurationType {
|
|
|
1197
1197
|
Default = "Default",
|
|
1198
1198
|
DevConfiguration = "DevConfiguration"
|
|
1199
1199
|
}
|
|
1200
|
+
/**
|
|
1201
|
+
*
|
|
1202
|
+
|
|
1203
|
+
Skip
|
|
1204
|
+
|
|
1205
|
+
Overwrite
|
|
1206
|
+
|
|
1207
|
+
GenerateUnique
|
|
1208
|
+
|
|
1209
|
+
ThrowError
|
|
1210
|
+
*/
|
|
1211
|
+
export declare enum ConflictResolutionStrategy {
|
|
1212
|
+
Skip = "Skip",
|
|
1213
|
+
Overwrite = "Overwrite",
|
|
1214
|
+
GenerateUnique = "GenerateUnique",
|
|
1215
|
+
ThrowError = "ThrowError"
|
|
1216
|
+
}
|
|
1200
1217
|
/**
|
|
1201
1218
|
* Describes resource to copy.
|
|
1202
1219
|
*/
|
|
@@ -1353,7 +1370,7 @@ export interface CreateSymlinkDc {
|
|
|
1353
1370
|
/** Symlink name. */
|
|
1354
1371
|
name: string;
|
|
1355
1372
|
/** System name. */
|
|
1356
|
-
systemName
|
|
1373
|
+
systemName?: string;
|
|
1357
1374
|
/** Target resource. */
|
|
1358
1375
|
targetResourceId: string;
|
|
1359
1376
|
/** Description of the file. */
|
|
@@ -2516,6 +2533,13 @@ export interface GetBulkFilteredFeaturesCountDc {
|
|
|
2516
2533
|
/** Filter query geometries. */
|
|
2517
2534
|
geometries?: QueryGeometryDc[];
|
|
2518
2535
|
}
|
|
2536
|
+
/**
|
|
2537
|
+
* Get resource by path request data.
|
|
2538
|
+
*/
|
|
2539
|
+
export interface GetByPathDc {
|
|
2540
|
+
/** Resource path. */
|
|
2541
|
+
path: string;
|
|
2542
|
+
}
|
|
2519
2543
|
/**
|
|
2520
2544
|
* Get classified attribute values data contract.
|
|
2521
2545
|
*/
|
|
@@ -2906,6 +2930,8 @@ export interface ListResourcesDc {
|
|
|
2906
2930
|
types?: ResourceTypeFilter[];
|
|
2907
2931
|
/** Filter by set of roles permissions. */
|
|
2908
2932
|
aclFilter?: Record<string, Permissions>;
|
|
2933
|
+
/** Search mode. */
|
|
2934
|
+
searchMode?: boolean;
|
|
2909
2935
|
}
|
|
2910
2936
|
/**
|
|
2911
2937
|
* Tile LOD structure.
|
|
@@ -4814,6 +4840,8 @@ File
|
|
|
4814
4840
|
DataSource
|
|
4815
4841
|
|
|
4816
4842
|
TaskPrototype
|
|
4843
|
+
|
|
4844
|
+
Directory
|
|
4817
4845
|
*/
|
|
4818
4846
|
export declare enum ResourceTypeFilter {
|
|
4819
4847
|
Map = "Map",
|
|
@@ -4824,7 +4852,8 @@ export declare enum ResourceTypeFilter {
|
|
|
4824
4852
|
RemoteTileService = "RemoteTileService",
|
|
4825
4853
|
File = "File",
|
|
4826
4854
|
DataSource = "DataSource",
|
|
4827
|
-
TaskPrototype = "TaskPrototype"
|
|
4855
|
+
TaskPrototype = "TaskPrototype",
|
|
4856
|
+
Directory = "Directory"
|
|
4828
4857
|
}
|
|
4829
4858
|
export declare enum ResourceTypeLink {
|
|
4830
4859
|
Table = "tables",
|
|
@@ -6268,8 +6297,6 @@ export type UpdateTableDc = TableInfoDc & {
|
|
|
6268
6297
|
* UpdateTaskPrototypeDto.
|
|
6269
6298
|
*/
|
|
6270
6299
|
export interface UpdateTaskPrototypeDto {
|
|
6271
|
-
/** SubTaskSettings. */
|
|
6272
|
-
subTaskSettings?: SubTaskSettingsDto[];
|
|
6273
6300
|
/** Enabled. */
|
|
6274
6301
|
enabled?: boolean;
|
|
6275
6302
|
/** StartIfPreviousError. */
|
|
@@ -6712,6 +6739,31 @@ export interface WorkspaceLimitsDc {
|
|
|
6712
6739
|
*/
|
|
6713
6740
|
currentProjectCount?: number;
|
|
6714
6741
|
}
|
|
6742
|
+
/**
|
|
6743
|
+
* Zip extraction request.
|
|
6744
|
+
*/
|
|
6745
|
+
export interface ZipExtractRequestDc {
|
|
6746
|
+
/** Zip resource id. */
|
|
6747
|
+
resourceId: string;
|
|
6748
|
+
/** Target parent resource id. */
|
|
6749
|
+
targetParentId?: string;
|
|
6750
|
+
/** If true delete archive after extraction. */
|
|
6751
|
+
deleteZipAfterExtraction?: boolean;
|
|
6752
|
+
/**
|
|
6753
|
+
*
|
|
6754
|
+
*
|
|
6755
|
+
* Skip
|
|
6756
|
+
*
|
|
6757
|
+
* Overwrite
|
|
6758
|
+
*
|
|
6759
|
+
* GenerateUnique
|
|
6760
|
+
*
|
|
6761
|
+
* ThrowError
|
|
6762
|
+
*/
|
|
6763
|
+
conflictStrategy?: ConflictResolutionStrategy;
|
|
6764
|
+
/** Is true extract nested archives. */
|
|
6765
|
+
extractNestedArchives?: boolean;
|
|
6766
|
+
}
|
|
6715
6767
|
export interface GetUsersParams {
|
|
6716
6768
|
/** String filter for the user (uses % and _ wild cards like SQL). */
|
|
6717
6769
|
filter?: string;
|
|
@@ -7408,6 +7460,15 @@ export interface DeleteFeatureParams {
|
|
|
7408
7460
|
name: string;
|
|
7409
7461
|
}
|
|
7410
7462
|
export type CreateFeaturesPayload = FeatureDc[];
|
|
7463
|
+
export interface CreateFeaturesParams {
|
|
7464
|
+
/**
|
|
7465
|
+
* Allow additional atributes.
|
|
7466
|
+
* @default false
|
|
7467
|
+
*/
|
|
7468
|
+
allowAdditionalAttributes?: boolean;
|
|
7469
|
+
/** Full name of the layer. */
|
|
7470
|
+
name: string;
|
|
7471
|
+
}
|
|
7411
7472
|
export type UpdateFeaturePayload = UpdateFeatureDc[];
|
|
7412
7473
|
export interface GetByIdParams {
|
|
7413
7474
|
/**
|
package/dist/api.esm.js
CHANGED
|
@@ -1588,6 +1588,20 @@ class CatalogService extends Service {
|
|
|
1588
1588
|
getResourceByPath(path) {
|
|
1589
1589
|
return this.http.get(`/resources/getByPath/${path}`).json();
|
|
1590
1590
|
}
|
|
1591
|
+
/**
|
|
1592
|
+
* No description
|
|
1593
|
+
*
|
|
1594
|
+
* @tags Catalog
|
|
1595
|
+
* @name PostGetResourceByPath
|
|
1596
|
+
* @operationId CatalogController_PostGetResourceByPath
|
|
1597
|
+
* @summary Get resource with given path.
|
|
1598
|
+
* @request POST:/resources/getByPath
|
|
1599
|
+
* @secure
|
|
1600
|
+
* @response `200` OK
|
|
1601
|
+
*/
|
|
1602
|
+
postGetResourceByPath(data) {
|
|
1603
|
+
return this.http.post(`/resources/getByPath`, data).json();
|
|
1604
|
+
}
|
|
1591
1605
|
/**
|
|
1592
1606
|
* No description
|
|
1593
1607
|
*
|
|
@@ -1728,6 +1742,20 @@ class CatalogService extends Service {
|
|
|
1728
1742
|
copyResources(data) {
|
|
1729
1743
|
return this.http.post(`/resources/copy`, data).json();
|
|
1730
1744
|
}
|
|
1745
|
+
/**
|
|
1746
|
+
* No description
|
|
1747
|
+
*
|
|
1748
|
+
* @tags Catalog
|
|
1749
|
+
* @name ExtractZipArchive
|
|
1750
|
+
* @operationId CatalogController_ExtractZipArchive
|
|
1751
|
+
* @summary Extract zip archive.
|
|
1752
|
+
* @request POST:/resources/zip/extract
|
|
1753
|
+
* @secure
|
|
1754
|
+
* @response `200` OK
|
|
1755
|
+
*/
|
|
1756
|
+
extractZipArchive(data) {
|
|
1757
|
+
return this.http.post(`/resources/zip/extract`, data).then(() => { });
|
|
1758
|
+
}
|
|
1731
1759
|
}
|
|
1732
1760
|
|
|
1733
1761
|
class FileUpload extends CatalogService {
|
|
@@ -3148,8 +3176,8 @@ class LayersService extends Service {
|
|
|
3148
3176
|
* @secure
|
|
3149
3177
|
* @response `200` OK
|
|
3150
3178
|
*/
|
|
3151
|
-
createFeatures(name, data) {
|
|
3152
|
-
return this.http.post(`/layers/${name}/features`, data).json();
|
|
3179
|
+
createFeatures({ name, ...query }, data) {
|
|
3180
|
+
return this.http.post(`/layers/${name}/features`, data, query).json();
|
|
3153
3181
|
}
|
|
3154
3182
|
/**
|
|
3155
3183
|
* No description
|
|
@@ -5372,6 +5400,24 @@ var ConfigurationType;
|
|
|
5372
5400
|
/**
|
|
5373
5401
|
*
|
|
5374
5402
|
|
|
5403
|
+
Skip
|
|
5404
|
+
|
|
5405
|
+
Overwrite
|
|
5406
|
+
|
|
5407
|
+
GenerateUnique
|
|
5408
|
+
|
|
5409
|
+
ThrowError
|
|
5410
|
+
*/
|
|
5411
|
+
var ConflictResolutionStrategy;
|
|
5412
|
+
(function (ConflictResolutionStrategy) {
|
|
5413
|
+
ConflictResolutionStrategy["Skip"] = "Skip";
|
|
5414
|
+
ConflictResolutionStrategy["Overwrite"] = "Overwrite";
|
|
5415
|
+
ConflictResolutionStrategy["GenerateUnique"] = "GenerateUnique";
|
|
5416
|
+
ConflictResolutionStrategy["ThrowError"] = "ThrowError";
|
|
5417
|
+
})(ConflictResolutionStrategy || (ConflictResolutionStrategy = {}));
|
|
5418
|
+
/**
|
|
5419
|
+
*
|
|
5420
|
+
|
|
5375
5421
|
Json
|
|
5376
5422
|
|
|
5377
5423
|
Csv
|
|
@@ -5689,6 +5735,8 @@ File
|
|
|
5689
5735
|
DataSource
|
|
5690
5736
|
|
|
5691
5737
|
TaskPrototype
|
|
5738
|
+
|
|
5739
|
+
Directory
|
|
5692
5740
|
*/
|
|
5693
5741
|
var ResourceTypeFilter;
|
|
5694
5742
|
(function (ResourceTypeFilter) {
|
|
@@ -5701,6 +5749,7 @@ var ResourceTypeFilter;
|
|
|
5701
5749
|
ResourceTypeFilter["File"] = "File";
|
|
5702
5750
|
ResourceTypeFilter["DataSource"] = "DataSource";
|
|
5703
5751
|
ResourceTypeFilter["TaskPrototype"] = "TaskPrototype";
|
|
5752
|
+
ResourceTypeFilter["Directory"] = "Directory";
|
|
5704
5753
|
})(ResourceTypeFilter || (ResourceTypeFilter = {}));
|
|
5705
5754
|
var ResourceTypeLink;
|
|
5706
5755
|
(function (ResourceTypeLink) {
|
|
@@ -5853,5 +5902,5 @@ var WorkerSettingsFieldType;
|
|
|
5853
5902
|
WorkerSettingsFieldType["AttributeArray"] = "AttributeArray";
|
|
5854
5903
|
})(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
|
|
5855
5904
|
|
|
5856
|
-
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConfigurationType, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, GeometryType, HttpClient, Import, Layers, Names, Notification, NotificationEvent, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, Quality, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique, useToken };
|
|
5905
|
+
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConfigurationType, ConflictResolutionStrategy, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, GeometryType, HttpClient, Import, Layers, Names, Notification, NotificationEvent, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, Quality, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique, useToken };
|
|
5857
5906
|
//# sourceMappingURL=api.esm.js.map
|