@evergis/api 3.0.94 → 3.0.96

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, GetExternalWmsLayersParams, GetRasterAttributesParams, ImportDataSchema, ImportFileFeaturesCountDc } from './data-contracts';
1
+ import { GetDataSchemaParams, GetExternalArcGisLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, ImportDataSchema, ImportExternalLayers, ImportFileFeaturesCountDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -38,7 +38,18 @@ export declare class ImportService extends Service {
38
38
  * @request GET:/import/wms
39
39
  * @response `200` Success
40
40
  */
41
- getExternalWmsLayers(query: GetExternalWmsLayersParams): Promise<void>;
41
+ getExternalWmsLayers(query: GetExternalWmsLayersParams): Promise<ImportExternalLayers>;
42
+ /**
43
+ * No description
44
+ *
45
+ * @tags ImportService
46
+ * @name GetExternalArcGisLayers
47
+ * @operationId ImportServiceController_GetExternalArcGisLayers
48
+ * @summary Get list of external ArcGis map service layers.
49
+ * @request GET:/import/arcgismapservice
50
+ * @response `200` Success
51
+ */
52
+ getExternalArcGisLayers(query: GetExternalArcGisLayersParams): Promise<ImportExternalLayers>;
42
53
  /**
43
54
  * No description
44
55
  *
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams5, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams8, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoDc, 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` Success
51
51
  */
52
- deleteResources(query: DeleteResourcesParams5): Promise<BulkOperationResultDc[]>;
52
+ deleteResources(query: DeleteResourcesParams8): Promise<BulkOperationResultDc[]>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -1,4 +1,4 @@
1
- import { ClassifyDc, ClassifyParams2, 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: ClassifyParams2): Promise<ClassifyDc>;
30
+ classify(query: ClassifyParams6): Promise<ClassifyDc>;
31
31
  /**
32
32
  * No description
33
33
  *
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams3, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetUniqueDataRowsParams, ListResponseIEnumerable1, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams7, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetUniqueDataRowsParams, ListResponseIEnumerable1, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, 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: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>;
52
+ deleteResources(query: DeleteResourcesParams7): Promise<BulkOperationResultDc[]>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -1,4 +1,4 @@
1
- import { GetCapabilities1Params, GetCapabilitiesParams3, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
1
+ import { GetCapabilities1Params, GetCapabilitiesParams5, 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: GetCapabilitiesParams3): Promise<void>;
19
+ getCapabilities(query: GetCapabilitiesParams5): Promise<void>;
20
20
  /**
21
21
  * No description
22
22
  *
@@ -2096,6 +2096,19 @@ export declare type ImagePolygonSymbolDc = SymbolDc & {
2096
2096
  strokeColor?: ParameterDcColor;
2097
2097
  strokeWidth?: CalculatedParameterDc;
2098
2098
  };
2099
+ /**
2100
+ * Layers of WMS external service.
2101
+ */
2102
+ export interface ImportExternalLayers {
2103
+ /** List of layers in the data-set. */
2104
+ layer: ImportExternalLayers[] | null;
2105
+ /** abstract field of WMS external service. */
2106
+ abstract: string;
2107
+ /** name field of WMS external service. */
2108
+ name: string;
2109
+ /** title field of WMS external service. */
2110
+ title: string;
2111
+ }
2099
2112
  /**
2100
2113
  * Data schema of a file for import.
2101
2114
  */
@@ -3527,6 +3540,8 @@ export interface ServiceConfigurationBaseDc {
3527
3540
  copyrightText?: string;
3528
3541
  /** A set of layer tags. */
3529
3542
  tags?: string[];
3543
+ /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
3544
+ invisibleInCatalog?: boolean;
3530
3545
  }
3531
3546
  /**
3532
3547
  * Description of a service in the Spatial Processor.
@@ -3695,6 +3710,8 @@ export interface ServiceListItemDc {
3695
3710
  tags?: string[];
3696
3711
  /** Envelope geometry. */
3697
3712
  envelope?: EnvelopeDc;
3713
+ /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
3714
+ invisibleInCatalog?: boolean;
3698
3715
  }
3699
3716
  /**
3700
3717
  * Task data storage that works with import and export provider to give access to data stored in static files.
@@ -4933,6 +4950,10 @@ export interface GetExternalWmsLayersParams {
4933
4950
  /** WMS service url. */
4934
4951
  wmsUrl?: string;
4935
4952
  }
4953
+ export interface GetExternalArcGisLayersParams {
4954
+ /** ArcGis map service url. */
4955
+ arcgisUrl?: string;
4956
+ }
4936
4957
  export interface GetRasterAttributesParams {
4937
4958
  /** File name in the temporary static storage. */
4938
4959
  fileName?: string;
@@ -5465,7 +5486,7 @@ export interface GetProjectsListParams {
5465
5486
  tags?: string[];
5466
5487
  }
5467
5488
  export declare type SetPermissionsBatchBody = ResourceAclDc[];
5468
- export interface DeleteResourcesParams5 {
5489
+ export interface DeleteResourcesParams8 {
5469
5490
  /** Resource names. */
5470
5491
  names?: string[];
5471
5492
  }
@@ -5605,7 +5626,7 @@ export interface StatisticsDbParams {
5605
5626
  /** Type of required statistic function. */
5606
5627
  types?: AggregationFunction[];
5607
5628
  }
5608
- export interface ClassifyParams2 {
5629
+ export interface ClassifyParams6 {
5609
5630
  /** Layer name. */
5610
5631
  name?: string;
5611
5632
  /** Attribute name. */
@@ -5700,7 +5721,7 @@ export interface GetTableListParams {
5700
5721
  acl?: string;
5701
5722
  }
5702
5723
  export declare type SetPermissionsBatchInput = ResourceAclDc[];
5703
- export interface DeleteResourcesParams3 {
5724
+ export interface DeleteResourcesParams7 {
5704
5725
  /** Resource names. */
5705
5726
  names?: string[];
5706
5727
  }
@@ -5819,7 +5840,7 @@ export interface GetPublicCapabilitiesParams {
5819
5840
  /** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
5820
5841
  AcceptFormats?: string[];
5821
5842
  }
5822
- export interface GetCapabilitiesParams3 {
5843
+ export interface GetCapabilitiesParams5 {
5823
5844
  /** Output format of service metadata. */
5824
5845
  Format?: string;
5825
5846
  /** Must be WMS. */
@@ -677,7 +677,23 @@ let ImportService = /*#__PURE__*/function (_Service) {
677
677
  }, {
678
678
  key: "getExternalWmsLayers",
679
679
  value: function getExternalWmsLayers(query) {
680
- return this.http.get("/import/wms", query).then(() => {});
680
+ return this.http.get("/import/wms", query).json();
681
+ }
682
+ /**
683
+ * No description
684
+ *
685
+ * @tags ImportService
686
+ * @name GetExternalArcGisLayers
687
+ * @operationId ImportServiceController_GetExternalArcGisLayers
688
+ * @summary Get list of external ArcGis map service layers.
689
+ * @request GET:/import/arcgismapservice
690
+ * @response `200` Success
691
+ */
692
+
693
+ }, {
694
+ key: "getExternalArcGisLayers",
695
+ value: function getExternalArcGisLayers(query) {
696
+ return this.http.get("/import/arcgismapservice", query).json();
681
697
  }
682
698
  /**
683
699
  * No description