@evergis/api 3.0.83 → 3.0.86

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.
@@ -1,4 +1,4 @@
1
- import { GetDataSchemaParams, GetFeaturesCountPayload, GetRasterAttributesParams, ImportDataSchema } from './data-contracts';
1
+ import { GetDataSchemaParams, GetExternalWmsLayersParams, GetFeaturesCountPayload, GetRasterAttributesParams, ImportDataSchema } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -28,6 +28,17 @@ export declare class ImportService extends Service {
28
28
  * @response `200` Success
29
29
  */
30
30
  getFeaturesCount(data: GetFeaturesCountPayload): Promise<number>;
31
+ /**
32
+ * No description
33
+ *
34
+ * @tags ImportService
35
+ * @name GetExternalWmsLayers
36
+ * @operationId ImportServiceController_GetExternalWmsLayers
37
+ * @summary Get list of external WMS layers.
38
+ * @request GET:/import/wms
39
+ * @response `200` Success
40
+ */
41
+ getExternalWmsLayers(query: GetExternalWmsLayersParams): Promise<void>;
31
42
  /**
32
43
  * No description
33
44
  *
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CreateProjectPayload, DeleteResourcesParams5, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, IListResponse, ListResponseProjectInfoDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPermissionsBody, SetPreviewBody, UpdateProjectPayload } from './data-contracts';
1
+ import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CreateProjectPayload, DeleteResourcesParams6, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, IListResponse, ListResponseProjectInfoDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPermissionsBody, SetPreviewBody, UpdateProjectPayload } 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` Success
51
51
  */
52
- deleteResources(query: DeleteResourcesParams5): Promise<BulkOperationResultDc[]>;
52
+ deleteResources(query: DeleteResourcesParams6): Promise<BulkOperationResultDc[]>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -7,7 +7,7 @@ import { Service } from './Service';
7
7
  */
8
8
  export declare class ResourceCatalogService extends Service {
9
9
  /**
10
- * No description
10
+ * @description This method requires superuser permission.
11
11
  *
12
12
  * @tags ResourceCatalog
13
13
  * @name CheckLimits
@@ -1,4 +1,4 @@
1
- import { ClassifyDc, ClassifyParams7, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
1
+ import { ClassifyDc, ClassifyParams6, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -27,7 +27,7 @@ export declare class StatisticService extends Service {
27
27
  * @request GET:/statistics/classify
28
28
  * @response `200` Success
29
29
  */
30
- classify(query: ClassifyParams7): Promise<ClassifyDc>;
30
+ classify(query: ClassifyParams6): Promise<ClassifyDc>;
31
31
  /**
32
32
  * No description
33
33
  *
@@ -1933,8 +1933,10 @@ export interface GeocodeResultDc {
1933
1933
  * @format double
1934
1934
  */
1935
1935
  score?: number;
1936
- center?: IVector;
1937
- geometry?: IGeometry;
1936
+ /** Result geometry. */
1937
+ center?: PositionDc;
1938
+ /** Result geometry. */
1939
+ geometry?: GeometryDc;
1938
1940
  }
1939
1941
  /**
1940
1942
  * Geocode suggest result.
@@ -2109,27 +2111,6 @@ export interface IEnvelopeGeometry {
2109
2111
  sr?: ISpatialReference;
2110
2112
  envelope?: IEnvelopeGeometry;
2111
2113
  }
2112
- export interface IGeometry {
2113
- centroid?: IVector;
2114
- /**
2115
- *
2116
- *
2117
- * unknown
2118
- *
2119
- * point
2120
- *
2121
- * polyline
2122
- *
2123
- * polygon
2124
- *
2125
- * envelope
2126
- *
2127
- * multipoint
2128
- */
2129
- geometryType?: GeometryType;
2130
- sr?: ISpatialReference;
2131
- envelope?: IEnvelopeGeometry;
2132
- }
2133
2114
  export interface ILineEndingDc {
2134
2115
  /** Type of the line ending. */
2135
2116
  type?: LineEndingType;
@@ -3129,6 +3110,8 @@ export interface PolicyDc {
3129
3110
  * CreateProject
3130
3111
  *
3131
3112
  * MaxFeaturesInOneTable
3113
+ *
3114
+ * MaxObjectsToExport
3132
3115
  */
3133
3116
  type: PolicyType;
3134
3117
  role?: string;
@@ -3147,13 +3130,16 @@ CreateLayer
3147
3130
  CreateProject
3148
3131
 
3149
3132
  MaxFeaturesInOneTable
3133
+
3134
+ MaxObjectsToExport
3150
3135
  */
3151
3136
  export declare enum PolicyType {
3152
3137
  Unknown = "Unknown",
3153
3138
  CreateTable = "CreateTable",
3154
3139
  CreateLayer = "CreateLayer",
3155
3140
  CreateProject = "CreateProject",
3156
- MaxFeaturesInOneTable = "MaxFeaturesInOneTable"
3141
+ MaxFeaturesInOneTable = "MaxFeaturesInOneTable",
3142
+ MaxObjectsToExport = "MaxObjectsToExport"
3157
3143
  }
3158
3144
  /**
3159
3145
  * Polyline and Polygon base geometry object definition.
@@ -3534,6 +3520,8 @@ export interface ProjectConfigurationDc {
3534
3520
  srid?: number;
3535
3521
  /** Base map service name. */
3536
3522
  baseMapName?: string;
3523
+ /** Client data storage. Expecting not used by server. */
3524
+ clientData?: any;
3537
3525
  /** Project content items configurations. */
3538
3526
  items?: ProjectContentItemDc[];
3539
3527
  /** A collection of bookmarks of the map. */
@@ -5522,6 +5510,11 @@ export interface WorkspaceLimitsDc {
5522
5510
  * @format int32
5523
5511
  */
5524
5512
  maxProjectsCount?: number;
5513
+ /**
5514
+ * Max objects to export.
5515
+ * @format int64
5516
+ */
5517
+ maxObjectsToExport?: number;
5525
5518
  /** Allowed service types in workspace. */
5526
5519
  allowedServiceTypes?: string[];
5527
5520
  /**
@@ -5784,6 +5777,10 @@ export interface GetDataSchemaParams {
5784
5777
  * Data schema of a file for import.
5785
5778
  */
5786
5779
  export declare type GetFeaturesCountPayload = ImportFileFeaturesCountDc;
5780
+ export interface GetExternalWmsLayersParams {
5781
+ /** WMS service url. */
5782
+ wmsUrl?: string;
5783
+ }
5787
5784
  export interface GetRasterAttributesParams {
5788
5785
  /** File name in the temporary static storage. */
5789
5786
  fileName?: string;
@@ -6379,7 +6376,7 @@ export interface GetProjectsListParams {
6379
6376
  */
6380
6377
  export declare type CreateProjectPayload = ExtendedProjectInfoDc | ResourceInfoDc | ProjectInfoDc;
6381
6378
  export declare type SetPermissionsBatchBody = ResourceAclDc[];
6382
- export interface DeleteResourcesParams5 {
6379
+ export interface DeleteResourcesParams6 {
6383
6380
  /** Resource names. */
6384
6381
  names?: string[];
6385
6382
  }
@@ -6519,6 +6516,8 @@ export interface GetPolicyListParams {
6519
6516
  * CreateProject
6520
6517
  *
6521
6518
  * MaxFeaturesInOneTable
6519
+ *
6520
+ * MaxObjectsToExport
6522
6521
  */
6523
6522
  type?: PolicyType;
6524
6523
  }
@@ -6535,6 +6534,8 @@ export interface RemovePolicyParams {
6535
6534
  * CreateProject
6536
6535
  *
6537
6536
  * MaxFeaturesInOneTable
6537
+ *
6538
+ * MaxObjectsToExport
6538
6539
  */
6539
6540
  type?: PolicyType;
6540
6541
  /** Use role the policy is applied to. */
@@ -6571,7 +6572,7 @@ export interface StatisticsDbParams {
6571
6572
  /** Type of required statistic function. */
6572
6573
  types?: AggregationFunction[];
6573
6574
  }
6574
- export interface ClassifyParams7 {
6575
+ export interface ClassifyParams6 {
6575
6576
  /** Layer name. */
6576
6577
  name?: string;
6577
6578
  /** Attribute name. */
@@ -6676,10 +6677,6 @@ export interface GetTableListParams {
6676
6677
  */
6677
6678
  export declare type CreateTablePayload = DetailedTableInfoDc | ResourceInfoDc | TableInfoDc;
6678
6679
  export declare type SetPermissionsBatchInput = ResourceAclDc[];
6679
- export interface DeleteResourcesParams6 {
6680
- /** Resource names. */
6681
- names?: string[];
6682
- }
6683
6680
  /**
6684
6681
  * Table description with columns what must be added and deleted.
6685
6682
  */
@@ -663,6 +663,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
663
663
  value: function getFeaturesCount(data) {
664
664
  return this.http.post("/import/count", data).json();
665
665
  }
666
+ /**
667
+ * No description
668
+ *
669
+ * @tags ImportService
670
+ * @name GetExternalWmsLayers
671
+ * @operationId ImportServiceController_GetExternalWmsLayers
672
+ * @summary Get list of external WMS layers.
673
+ * @request GET:/import/wms
674
+ * @response `200` Success
675
+ */
676
+
677
+ }, {
678
+ key: "getExternalWmsLayers",
679
+ value: function getExternalWmsLayers(query) {
680
+ return this.http.get("/import/wms", query).then(() => {});
681
+ }
666
682
  /**
667
683
  * No description
668
684
  *
@@ -3711,7 +3727,7 @@ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
3711
3727
  key: "checkLimits",
3712
3728
  value:
3713
3729
  /**
3714
- * No description
3730
+ * @description This method requires superuser permission.
3715
3731
  *
3716
3732
  * @tags ResourceCatalog
3717
3733
  * @name CheckLimits
@@ -6465,6 +6481,7 @@ function isFeatureLayer(layer) {
6465
6481
  PolicyType["CreateLayer"] = "CreateLayer";
6466
6482
  PolicyType["CreateProject"] = "CreateProject";
6467
6483
  PolicyType["MaxFeaturesInOneTable"] = "MaxFeaturesInOneTable";
6484
+ PolicyType["MaxObjectsToExport"] = "MaxObjectsToExport";
6468
6485
  })(exports.PolicyType || (exports.PolicyType = {}));
6469
6486
 
6470
6487
  (function (ResourceType) {