@evergis/api 3.0.207 → 3.0.209

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 { AccessControlListDc, CatalogResourceDc, CreateDirectoryDc, CreateFilePayload, GetTagsParams, ListResourcesDto, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, SetPermissionsPayload } from './data-contracts';
1
+ import { AccessControlListDc, CatalogResourceDc, CreateDirectoryDc, CreateFilePayload, GetTagsParams, ListResourcesDto, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceParentDc, SetPermissionsPayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -6,6 +6,17 @@ import { Service } from './Service';
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class CatalogService extends Service {
9
+ /**
10
+ * No description
11
+ *
12
+ * @tags Catalog
13
+ * @name GetParents
14
+ * @operationId CatalogController_GetParents
15
+ * @summary Get parents.
16
+ * @request GET:/resources/{resourceId}/parents
17
+ * @response `200` OK
18
+ */
19
+ getParents(resourceId: string): Promise<ResourceParentDc[]>;
9
20
  /**
10
21
  * No description
11
22
  *
@@ -1,4 +1,4 @@
1
- import { CreateDataSourceDc, DataSourceInfoDc, GetDataSourcesListParams, PagedListDataSourceInfoDc, UpdateDataSourceDc } from './data-contracts';
1
+ import { DataSourceInfoDc, GetDataSourcesListParams, PagedListDataSourceInfoDc, PostgresDataSourceDc, PostgresDataSourceInfoDc, TestConnectionInfoDc } 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 DataSourceService extends Service {
27
27
  * @request POST:/ds
28
28
  * @response `200` OK
29
29
  */
30
- createDataSource(data: CreateDataSourceDc): Promise<void>;
30
+ createDataSource(data: PostgresDataSourceDc): Promise<void>;
31
31
  /**
32
32
  * No description
33
33
  *
@@ -38,7 +38,7 @@ export declare class DataSourceService extends Service {
38
38
  * @request PATCH:/ds
39
39
  * @response `200` OK
40
40
  */
41
- updateDataSource(data: UpdateDataSourceDc): Promise<void>;
41
+ updateDataSource(data: PostgresDataSourceDc): Promise<void>;
42
42
  /**
43
43
  * No description
44
44
  *
@@ -49,7 +49,7 @@ export declare class DataSourceService extends Service {
49
49
  * @request GET:/ds/{name}
50
50
  * @response `200` OK
51
51
  */
52
- getDataSource(name: string): Promise<DataSourceInfoDc>;
52
+ getDataSource(name: string): Promise<DataSourceInfoDc | PostgresDataSourceInfoDc>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -61,4 +61,15 @@ export declare class DataSourceService extends Service {
61
61
  * @response `200` OK
62
62
  */
63
63
  removeDataSource(name: string): Promise<void>;
64
+ /**
65
+ * No description
66
+ *
67
+ * @tags DataSource
68
+ * @name TestConnection
69
+ * @operationId DataSourceController_TestConnection
70
+ * @summary Test ds connection.
71
+ * @request POST:/ds/testConnection
72
+ * @response `200` OK
73
+ */
74
+ testConnection(data: PostgresDataSourceDc): Promise<TestConnectionInfoDc>;
64
75
  }
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams4, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, ServiceListDc, SetPermissionsBatchPayload, SetPreviewPayload, SimpleSymbolDc, StyleDc, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
1
+ import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams6, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, ServiceListDc, SetPermissionsBatchPayload, SetPreviewPayload, SimpleSymbolDc, StyleDc, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -589,7 +589,7 @@ export declare class LayersService extends Service {
589
589
  * @request GET:/layers/{name}/{id}/metadata
590
590
  * @response `200` OK
591
591
  */
592
- getRasterMeta({ name, id, ...query }: GetRasterMetaParams4): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
592
+ getRasterMeta({ name, id, ...query }: GetRasterMetaParams6): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
593
593
  /**
594
594
  * No description
595
595
  *
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams1, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams2, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, 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` OK
51
51
  */
52
- deleteResources(query: DeleteResourcesParams1): Promise<BulkOperationResultDc[]>;
52
+ deleteResources(query: DeleteResourcesParams2): Promise<BulkOperationResultDc[]>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -1,4 +1,4 @@
1
- import { ClassifyDc, ClassifyParams4, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
1
+ import { ClassifyDc, ClassifyParams7, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -38,7 +38,7 @@ export declare class StatisticService extends Service {
38
38
  * @request GET:/statistics/classify
39
39
  * @response `200` OK
40
40
  */
41
- classify(query: ClassifyParams4): Promise<ClassifyDc>;
41
+ classify(query: ClassifyParams7): Promise<ClassifyDc>;
42
42
  /**
43
43
  * No description
44
44
  *
@@ -1,4 +1,4 @@
1
- import { GetCapabilities1Params, GetCapabilitiesParams2, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
1
+ import { GetCapabilities1Params, GetCapabilitiesParams7, 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` OK
18
18
  */
19
- getCapabilities(query: GetCapabilitiesParams2): Promise<void>;
19
+ getCapabilities(query: GetCapabilitiesParams7): Promise<void>;
20
20
  /**
21
21
  * No description
22
22
  *
@@ -935,6 +935,13 @@ export interface CatalogResourceDc {
935
935
  * read,write,configure
936
936
  */
937
937
  permissions?: Permissions;
938
+ /** Table schema. */
939
+ schema?: string;
940
+ /**
941
+ * Spatial reference id. Nothing if geometry type is mixed.
942
+ * @format int32
943
+ */
944
+ srid?: number;
938
945
  }
939
946
  /**
940
947
  *
@@ -1294,6 +1301,10 @@ export interface CompositeServiceInfoDc {
1294
1301
  invisibleInCatalog?: boolean;
1295
1302
  /** Parent id in resources catalog. */
1296
1303
  parentId?: string;
1304
+ /** Resource id in resources catalog. */
1305
+ resourceId?: string;
1306
+ /** Resource tags. */
1307
+ tags?: string[];
1297
1308
  }
1298
1309
  /**
1299
1310
  * Composite symbol.
@@ -1473,14 +1484,6 @@ export declare type CopyTaskParametersDc = FeatureTaskParametersDc & {
1473
1484
  condition?: string | null;
1474
1485
  attributeMapping?: Record<string, string | null>;
1475
1486
  };
1476
- /**
1477
- * Create data source data contract.
1478
- */
1479
- export declare type CreateDataSourceDc = DataSourceDc & {
1480
- parentId?: string | null;
1481
- owner?: string | null;
1482
- acl?: AccessControlListDc;
1483
- };
1484
1487
  /**
1485
1488
  * Create directory request.
1486
1489
  */
@@ -1622,6 +1625,12 @@ export declare type DashedBrushDc = StrokeBrushDc & {
1622
1625
  * Data source data contract.
1623
1626
  */
1624
1627
  export interface DataSourceDc {
1628
+ /** Parent id. */
1629
+ parentId?: string;
1630
+ /** Login of the owner. */
1631
+ owner?: string;
1632
+ /** Access control list for a security object. */
1633
+ acl?: AccessControlListDc;
1625
1634
  /** Name. */
1626
1635
  name?: string;
1627
1636
  /** Alias. */
@@ -1642,20 +1651,6 @@ export interface DataSourceDc {
1642
1651
  type?: DataSourceType;
1643
1652
  /** Tags. */
1644
1653
  tags?: string[];
1645
- /** Connection string. */
1646
- connectionString?: string;
1647
- /** Schema. */
1648
- schema?: string;
1649
- /**
1650
- * Date and time when the remote connection was created.
1651
- * @format date-time
1652
- */
1653
- created?: string;
1654
- /**
1655
- * Date and time when the remote connection was last modified.
1656
- * @format date-time
1657
- */
1658
- modified?: string;
1659
1654
  }
1660
1655
  /**
1661
1656
  * Data source info.
@@ -1685,10 +1680,6 @@ export interface DataSourceInfoDc {
1685
1680
  parentId?: string;
1686
1681
  /** Resource id. */
1687
1682
  resourceId?: string;
1688
- /** Connection string. */
1689
- connectionString?: string;
1690
- /** Schema. */
1691
- schema?: string;
1692
1683
  /**
1693
1684
  * Date and time when the remote connection was created.
1694
1685
  * @format date-time
@@ -2186,6 +2177,10 @@ export interface FailedServiceInfoDc {
2186
2177
  invisibleInCatalog?: boolean;
2187
2178
  /** Parent id in resources catalog. */
2188
2179
  parentId?: string;
2180
+ /** Resource id in resources catalog. */
2181
+ resourceId?: string;
2182
+ /** Resource tags. */
2183
+ tags?: string[];
2189
2184
  }
2190
2185
  /**
2191
2186
  * Feature object definition.
@@ -2305,6 +2300,10 @@ export interface FeatureLayerServiceInfoDc {
2305
2300
  invisibleInCatalog?: boolean;
2306
2301
  /** Parent id in resources catalog. */
2307
2302
  parentId?: string;
2303
+ /** Resource id in resources catalog. */
2304
+ resourceId?: string;
2305
+ /** Resource tags. */
2306
+ tags?: string[];
2308
2307
  }
2309
2308
  export interface FeatureSelectionDc {
2310
2309
  layerName: string;
@@ -3723,7 +3722,7 @@ export interface PagedListDataSourceInfoDc {
3723
3722
  offset?: number;
3724
3723
  /** @format int32 */
3725
3724
  limit?: number;
3726
- items?: DataSourceInfoDc[];
3725
+ items?: (DataSourceInfoDc | PostgresDataSourceInfoDc)[];
3727
3726
  }
3728
3727
  export interface PagedListExtendedUserInfoDc {
3729
3728
  /** @format int64 */
@@ -4146,6 +4145,28 @@ export declare type PolylineSymbolDc = SymbolDc & {
4146
4145
  * The position at the map in [X, Y] format.
4147
4146
  */
4148
4147
  export declare type PositionDc = number[];
4148
+ /**
4149
+ * Postgres connection data source connection.
4150
+ */
4151
+ export declare type PostgresDataSourceDc = DataSourceDc & {
4152
+ host?: string | null;
4153
+ userName?: string | null;
4154
+ password?: string | null;
4155
+ port?: number | null;
4156
+ database?: string | null;
4157
+ schema?: string | null;
4158
+ };
4159
+ /**
4160
+ * Postgres data source info.
4161
+ */
4162
+ export declare type PostgresDataSourceInfoDc = DataSourceInfoDc & {
4163
+ host?: string | null;
4164
+ userName?: string | null;
4165
+ password?: string | null;
4166
+ port?: number;
4167
+ database?: string | null;
4168
+ schema?: string | null;
4169
+ };
4149
4170
  /**
4150
4171
  * Configuration of a postgres feature layer service.
4151
4172
  */
@@ -4409,6 +4430,10 @@ export interface ProxyServiceInfoDc {
4409
4430
  invisibleInCatalog?: boolean;
4410
4431
  /** Parent id in resources catalog. */
4411
4432
  parentId?: string;
4433
+ /** Resource id in resources catalog. */
4434
+ resourceId?: string;
4435
+ /** Resource tags. */
4436
+ tags?: string[];
4412
4437
  }
4413
4438
  /**
4414
4439
  * Stream quality.
@@ -4594,6 +4619,10 @@ export interface QueryLayerServiceInfoDc {
4594
4619
  invisibleInCatalog?: boolean;
4595
4620
  /** Parent id in resources catalog. */
4596
4621
  parentId?: string;
4622
+ /** Resource id in resources catalog. */
4623
+ resourceId?: string;
4624
+ /** Resource tags. */
4625
+ tags?: string[];
4597
4626
  }
4598
4627
  /**
4599
4628
  * Raster band cfg.
@@ -4921,6 +4950,21 @@ export interface ResourceInfoDc {
4921
4950
  invisibleInCatalog?: boolean;
4922
4951
  /** Parent id in resources catalog. */
4923
4952
  parentId?: string;
4953
+ /** Resource id in resources catalog. */
4954
+ resourceId?: string;
4955
+ /** Resource tags. */
4956
+ tags?: string[];
4957
+ }
4958
+ /**
4959
+ * Resource parent.
4960
+ */
4961
+ export interface ResourceParentDc {
4962
+ /** Resource id. */
4963
+ resourceId?: string;
4964
+ /** Resource name. */
4965
+ name?: string;
4966
+ /** Resource path. */
4967
+ path?: string;
4924
4968
  }
4925
4969
  /**
4926
4970
  * Resources types filter.
@@ -4984,6 +5028,8 @@ ProxyService
4984
5028
  RemoteTileService
4985
5029
 
4986
5030
  File
5031
+
5032
+ DataSource
4987
5033
  */
4988
5034
  export declare enum ResourceTypeFilter {
4989
5035
  Map = "Map",
@@ -4992,7 +5038,8 @@ export declare enum ResourceTypeFilter {
4992
5038
  RasterCatalog = "RasterCatalog",
4993
5039
  ProxyService = "ProxyService",
4994
5040
  RemoteTileService = "RemoteTileService",
4995
- File = "File"
5041
+ File = "File",
5042
+ DataSource = "DataSource"
4996
5043
  }
4997
5044
  export declare enum ResourceTypeLink {
4998
5045
  Table = "tables",
@@ -6198,6 +6245,15 @@ export interface TemplateModelDc {
6198
6245
  /** Checks if title enabled. */
6199
6246
  titleEnabled?: boolean;
6200
6247
  }
6248
+ /**
6249
+ * Test connection data contract.
6250
+ */
6251
+ export interface TestConnectionInfoDc {
6252
+ /** Check if connection succeed. */
6253
+ isSuccess?: boolean;
6254
+ /** Message. */
6255
+ message?: string;
6256
+ }
6201
6257
  /**
6202
6258
  * Sets the horizontal alignment of text.
6203
6259
 
@@ -6341,6 +6397,10 @@ export interface TileCatalogServiceInfoDc {
6341
6397
  invisibleInCatalog?: boolean;
6342
6398
  /** Parent id in resources catalog. */
6343
6399
  parentId?: string;
6400
+ /** Resource id in resources catalog. */
6401
+ resourceId?: string;
6402
+ /** Resource tags. */
6403
+ tags?: string[];
6344
6404
  }
6345
6405
  /**
6346
6406
  * Configuration of a table for tile catalog layer.
@@ -6520,6 +6580,10 @@ export interface TileServiceInfoDc {
6520
6580
  invisibleInCatalog?: boolean;
6521
6581
  /** Parent id in resources catalog. */
6522
6582
  parentId?: string;
6583
+ /** Resource id in resources catalog. */
6584
+ resourceId?: string;
6585
+ /** Resource tags. */
6586
+ tags?: string[];
6523
6587
  }
6524
6588
  /**
6525
6589
  * The description of the tile feature layer service as a server task data storage.
@@ -6583,12 +6647,6 @@ export declare type TracksSymbolDc = TrackSymbolBaseDc & {
6583
6647
  export declare type UnionTaskParametersDc = FeatureTaskParametersDc & {
6584
6648
  type?: string | null;
6585
6649
  };
6586
- /**
6587
- * Update data source data contract.
6588
- */
6589
- export declare type UpdateDataSourceDc = DataSourceDc & {
6590
- resourceId?: string | null;
6591
- };
6592
6650
  /**
6593
6651
  * Feature object definition for updating.
6594
6652
  */
@@ -7828,7 +7886,7 @@ export interface ValidateExpressionParams {
7828
7886
  /** Layer name. */
7829
7887
  layerName: string;
7830
7888
  }
7831
- export interface GetRasterMetaParams4 {
7889
+ export interface GetRasterMetaParams6 {
7832
7890
  /**
7833
7891
  * Min value for build histogram.
7834
7892
  * @format double
@@ -7947,7 +8005,7 @@ export interface GetProjectsListParams {
7947
8005
  tags?: string[];
7948
8006
  }
7949
8007
  export declare type SetPermissionsBatchBody = ResourceAclDc[];
7950
- export interface DeleteResourcesParams1 {
8008
+ export interface DeleteResourcesParams2 {
7951
8009
  /** Resource names. */
7952
8010
  names?: string[];
7953
8011
  }
@@ -8230,7 +8288,7 @@ export interface StatisticsDbParams {
8230
8288
  */
8231
8289
  types?: AggregationFunction[];
8232
8290
  }
8233
- export interface ClassifyParams4 {
8291
+ export interface ClassifyParams7 {
8234
8292
  /** Layer name. */
8235
8293
  name: string;
8236
8294
  /** Attribute name. */
@@ -8520,7 +8578,7 @@ export interface GetPublicCapabilitiesParams {
8520
8578
  /** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
8521
8579
  AcceptFormats?: string[];
8522
8580
  }
8523
- export interface GetCapabilitiesParams2 {
8581
+ export interface GetCapabilitiesParams7 {
8524
8582
  /** Output format of service metadata. */
8525
8583
  Format?: string;
8526
8584
  /** Must be WMS. */
@@ -412,6 +412,22 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
412
412
  value: function removeDataSource(name) {
413
413
  return this.http.delete("/ds/" + name, null).then(() => {});
414
414
  }
415
+ /**
416
+ * No description
417
+ *
418
+ * @tags DataSource
419
+ * @name TestConnection
420
+ * @operationId DataSourceController_TestConnection
421
+ * @summary Test ds connection.
422
+ * @request POST:/ds/testConnection
423
+ * @response `200` OK
424
+ */
425
+
426
+ }, {
427
+ key: "testConnection",
428
+ value: function testConnection(data) {
429
+ return this.http.post("/ds/testConnection", data).json();
430
+ }
415
431
  }]);
416
432
 
417
433
  return DataSourceService;
@@ -652,8 +668,21 @@ let CatalogService = /*#__PURE__*/function (_Service) {
652
668
  }
653
669
 
654
670
  _createClass(CatalogService, [{
655
- key: "getTags",
671
+ key: "getParents",
656
672
  value:
673
+ /**
674
+ * No description
675
+ *
676
+ * @tags Catalog
677
+ * @name GetParents
678
+ * @operationId CatalogController_GetParents
679
+ * @summary Get parents.
680
+ * @request GET:/resources/{resourceId}/parents
681
+ * @response `200` OK
682
+ */
683
+ function getParents(resourceId) {
684
+ return this.http.get("/resources/" + resourceId + "/parents").json();
685
+ }
657
686
  /**
658
687
  * No description
659
688
  *
@@ -664,7 +693,10 @@ let CatalogService = /*#__PURE__*/function (_Service) {
664
693
  * @request GET:/resources/tags
665
694
  * @response `200` OK
666
695
  */
667
- function getTags(query) {
696
+
697
+ }, {
698
+ key: "getTags",
699
+ value: function getTags(query) {
668
700
  return this.http.get("/resources/tags", query).json();
669
701
  }
670
702
  /**
@@ -8480,6 +8512,7 @@ function isFeatureLayer(layer) {
8480
8512
  ResourceTypeFilter["ProxyService"] = "ProxyService";
8481
8513
  ResourceTypeFilter["RemoteTileService"] = "RemoteTileService";
8482
8514
  ResourceTypeFilter["File"] = "File";
8515
+ ResourceTypeFilter["DataSource"] = "DataSource";
8483
8516
  })(exports.ResourceTypeFilter || (exports.ResourceTypeFilter = {}));
8484
8517
 
8485
8518
  (function (ResourceTypeLink) {