@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.
- package/dist/__generated__/CatalogService.d.ts +12 -1
- package/dist/__generated__/DataSourceService.d.ts +15 -4
- package/dist/__generated__/LayersService.d.ts +2 -2
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +96 -38
- package/dist/api.cjs.development.js +35 -2
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +37 -2
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +2 -2
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -406,6 +406,22 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
406
406
|
value: function removeDataSource(name) {
|
|
407
407
|
return this.http.delete("/ds/" + name, null).then(() => {});
|
|
408
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
* No description
|
|
411
|
+
*
|
|
412
|
+
* @tags DataSource
|
|
413
|
+
* @name TestConnection
|
|
414
|
+
* @operationId DataSourceController_TestConnection
|
|
415
|
+
* @summary Test ds connection.
|
|
416
|
+
* @request POST:/ds/testConnection
|
|
417
|
+
* @response `200` OK
|
|
418
|
+
*/
|
|
419
|
+
|
|
420
|
+
}, {
|
|
421
|
+
key: "testConnection",
|
|
422
|
+
value: function testConnection(data) {
|
|
423
|
+
return this.http.post("/ds/testConnection", data).json();
|
|
424
|
+
}
|
|
409
425
|
}]);
|
|
410
426
|
|
|
411
427
|
return DataSourceService;
|
|
@@ -646,8 +662,21 @@ let CatalogService = /*#__PURE__*/function (_Service) {
|
|
|
646
662
|
}
|
|
647
663
|
|
|
648
664
|
_createClass(CatalogService, [{
|
|
649
|
-
key: "
|
|
665
|
+
key: "getParents",
|
|
650
666
|
value:
|
|
667
|
+
/**
|
|
668
|
+
* No description
|
|
669
|
+
*
|
|
670
|
+
* @tags Catalog
|
|
671
|
+
* @name GetParents
|
|
672
|
+
* @operationId CatalogController_GetParents
|
|
673
|
+
* @summary Get parents.
|
|
674
|
+
* @request GET:/resources/{resourceId}/parents
|
|
675
|
+
* @response `200` OK
|
|
676
|
+
*/
|
|
677
|
+
function getParents(resourceId) {
|
|
678
|
+
return this.http.get("/resources/" + resourceId + "/parents").json();
|
|
679
|
+
}
|
|
651
680
|
/**
|
|
652
681
|
* No description
|
|
653
682
|
*
|
|
@@ -658,7 +687,10 @@ let CatalogService = /*#__PURE__*/function (_Service) {
|
|
|
658
687
|
* @request GET:/resources/tags
|
|
659
688
|
* @response `200` OK
|
|
660
689
|
*/
|
|
661
|
-
|
|
690
|
+
|
|
691
|
+
}, {
|
|
692
|
+
key: "getTags",
|
|
693
|
+
value: function getTags(query) {
|
|
662
694
|
return this.http.get("/resources/tags", query).json();
|
|
663
695
|
}
|
|
664
696
|
/**
|
|
@@ -9022,6 +9054,8 @@ ProxyService
|
|
|
9022
9054
|
RemoteTileService
|
|
9023
9055
|
|
|
9024
9056
|
File
|
|
9057
|
+
|
|
9058
|
+
DataSource
|
|
9025
9059
|
*/
|
|
9026
9060
|
|
|
9027
9061
|
|
|
@@ -9035,6 +9069,7 @@ var ResourceTypeFilter;
|
|
|
9035
9069
|
ResourceTypeFilter["ProxyService"] = "ProxyService";
|
|
9036
9070
|
ResourceTypeFilter["RemoteTileService"] = "RemoteTileService";
|
|
9037
9071
|
ResourceTypeFilter["File"] = "File";
|
|
9072
|
+
ResourceTypeFilter["DataSource"] = "DataSource";
|
|
9038
9073
|
})(ResourceTypeFilter || (ResourceTypeFilter = {}));
|
|
9039
9074
|
|
|
9040
9075
|
var ResourceTypeLink;
|