@evergis/api 3.0.143 → 3.0.145
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/Api.d.ts +2 -0
- package/dist/__generated__/ImportService.d.ts +12 -1
- package/dist/__generated__/LayersService.d.ts +12 -1
- package/dist/__generated__/NavigationService.d.ts +20 -0
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/SchedulerService.d.ts +23 -1
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/UniversalSearchService.d.ts +31 -0
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +340 -42
- package/dist/api.cjs.development.js +159 -22
- 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 +161 -24
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -300,12 +300,6 @@ function toFormData(input) {
|
|
|
300
300
|
}, new FormData());
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
(function (ApiEvent) {
|
|
304
|
-
ApiEvent["ConnectionLost"] = "ConnectionLost";
|
|
305
|
-
ApiEvent["Unauthorized"] = "Unauthorized";
|
|
306
|
-
ApiEvent["SessionClosed"] = "SessionClosed";
|
|
307
|
-
})(exports.ApiEvent || (exports.ApiEvent = {}));
|
|
308
|
-
|
|
309
303
|
/* eslint-disable */
|
|
310
304
|
|
|
311
305
|
/* tslint:disable */
|
|
@@ -324,6 +318,73 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
|
|
|
324
318
|
this.http = http;
|
|
325
319
|
});
|
|
326
320
|
|
|
321
|
+
const _excluded = ["taskId", "layerName"];
|
|
322
|
+
/**
|
|
323
|
+
* @title Spatial Processing Core API
|
|
324
|
+
* @version 1.0.0
|
|
325
|
+
* @baseUrl /sp
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
let UniversalSearchService = /*#__PURE__*/function (_Service) {
|
|
329
|
+
_inherits(UniversalSearchService, _Service);
|
|
330
|
+
|
|
331
|
+
var _super = /*#__PURE__*/_createSuper(UniversalSearchService);
|
|
332
|
+
|
|
333
|
+
function UniversalSearchService() {
|
|
334
|
+
_classCallCheck(this, UniversalSearchService);
|
|
335
|
+
|
|
336
|
+
return _super.apply(this, arguments);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
_createClass(UniversalSearchService, [{
|
|
340
|
+
key: "getSearchResult",
|
|
341
|
+
value:
|
|
342
|
+
/**
|
|
343
|
+
* No description
|
|
344
|
+
*
|
|
345
|
+
* @tags UniversalSearch
|
|
346
|
+
* @name GetSearchResult
|
|
347
|
+
* @operationId UniversalSearchController_GetSearchResult
|
|
348
|
+
* @summary Returns search result.
|
|
349
|
+
* @request GET:/search/{taskId}/{layerName}
|
|
350
|
+
* @response `200` Success
|
|
351
|
+
*/
|
|
352
|
+
function getSearchResult(_ref) {
|
|
353
|
+
let {
|
|
354
|
+
taskId,
|
|
355
|
+
layerName
|
|
356
|
+
} = _ref,
|
|
357
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
358
|
+
|
|
359
|
+
return this.http.get("/search/" + taskId + "/" + layerName, query).json();
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* No description
|
|
363
|
+
*
|
|
364
|
+
* @tags UniversalSearch
|
|
365
|
+
* @name GetSearchResult1
|
|
366
|
+
* @operationId UniversalSearchController_GetSearchResult_1
|
|
367
|
+
* @summary Returns search result.
|
|
368
|
+
* @request GET:/search/{taskId}
|
|
369
|
+
* @response `200` Success
|
|
370
|
+
*/
|
|
371
|
+
|
|
372
|
+
}, {
|
|
373
|
+
key: "getSearchResult1",
|
|
374
|
+
value: function getSearchResult1(taskId) {
|
|
375
|
+
return this.http.get("/search/" + taskId).json();
|
|
376
|
+
}
|
|
377
|
+
}]);
|
|
378
|
+
|
|
379
|
+
return UniversalSearchService;
|
|
380
|
+
}(Service);
|
|
381
|
+
|
|
382
|
+
(function (ApiEvent) {
|
|
383
|
+
ApiEvent["ConnectionLost"] = "ConnectionLost";
|
|
384
|
+
ApiEvent["Unauthorized"] = "Unauthorized";
|
|
385
|
+
ApiEvent["SessionClosed"] = "SessionClosed";
|
|
386
|
+
})(exports.ApiEvent || (exports.ApiEvent = {}));
|
|
387
|
+
|
|
327
388
|
/**
|
|
328
389
|
* @title Spatial Processing Core API
|
|
329
390
|
* @version 1.0.0
|
|
@@ -851,6 +912,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
|
|
|
851
912
|
value: function getRasterAttributes(query) {
|
|
852
913
|
return this.http.get("/import/rasterAttributes", query).json();
|
|
853
914
|
}
|
|
915
|
+
/**
|
|
916
|
+
* No description
|
|
917
|
+
*
|
|
918
|
+
* @tags ImportService
|
|
919
|
+
* @name GetRasterMeta
|
|
920
|
+
* @operationId ImportServiceController_GetRasterMeta
|
|
921
|
+
* @summary Get raster meta data.
|
|
922
|
+
* @request GET:/import/rasterMeta
|
|
923
|
+
* @response `200` Success
|
|
924
|
+
*/
|
|
925
|
+
|
|
926
|
+
}, {
|
|
927
|
+
key: "getRasterMeta",
|
|
928
|
+
value: function getRasterMeta(query) {
|
|
929
|
+
return this.http.get("/import/rasterMeta", query).json();
|
|
930
|
+
}
|
|
854
931
|
}]);
|
|
855
932
|
|
|
856
933
|
return ImportService;
|
|
@@ -1321,6 +1398,24 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
|
1321
1398
|
type: 'tiling'
|
|
1322
1399
|
}).json();
|
|
1323
1400
|
}
|
|
1401
|
+
/**
|
|
1402
|
+
* No description
|
|
1403
|
+
*
|
|
1404
|
+
* @tags SchedulerService
|
|
1405
|
+
* @name StartNetCdfTask
|
|
1406
|
+
* @operationId SchedulerServiceController_StartNetCdfTask
|
|
1407
|
+
* @summary Plans the execution of a 'netcdf' server task.
|
|
1408
|
+
* @request POST:/scheduler/tasks#type=netcdf
|
|
1409
|
+
* @response `200` Success
|
|
1410
|
+
*/
|
|
1411
|
+
|
|
1412
|
+
}, {
|
|
1413
|
+
key: "startNetCdfTask",
|
|
1414
|
+
value: function startNetCdfTask(data) {
|
|
1415
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
1416
|
+
type: 'netcdf'
|
|
1417
|
+
}).json();
|
|
1418
|
+
}
|
|
1324
1419
|
/**
|
|
1325
1420
|
* No description
|
|
1326
1421
|
*
|
|
@@ -1429,6 +1524,24 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
|
1429
1524
|
type: 'editAttributes'
|
|
1430
1525
|
}).json();
|
|
1431
1526
|
}
|
|
1527
|
+
/**
|
|
1528
|
+
* No description
|
|
1529
|
+
*
|
|
1530
|
+
* @tags SchedulerService
|
|
1531
|
+
* @name UniversalSearchTask
|
|
1532
|
+
* @operationId SchedulerServiceController_UniversalSearchTask
|
|
1533
|
+
* @summary Plans the execution of a 'edit attributes' server task.
|
|
1534
|
+
* @request POST:/scheduler/tasks#type=universalSearch
|
|
1535
|
+
* @response `200` Success
|
|
1536
|
+
*/
|
|
1537
|
+
|
|
1538
|
+
}, {
|
|
1539
|
+
key: "universalSearchTask",
|
|
1540
|
+
value: function universalSearchTask(data) {
|
|
1541
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
1542
|
+
type: 'universalSearch'
|
|
1543
|
+
}).json();
|
|
1544
|
+
}
|
|
1432
1545
|
}]);
|
|
1433
1546
|
|
|
1434
1547
|
return SchedulerService;
|
|
@@ -1583,7 +1696,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
1583
1696
|
return Scheduler;
|
|
1584
1697
|
}(SchedulerService);
|
|
1585
1698
|
|
|
1586
|
-
const _excluded = ["name"],
|
|
1699
|
+
const _excluded$1 = ["name"],
|
|
1587
1700
|
_excluded2 = ["name"],
|
|
1588
1701
|
_excluded3 = ["name"],
|
|
1589
1702
|
_excluded4 = ["name", "id"],
|
|
@@ -1601,7 +1714,8 @@ const _excluded = ["name"],
|
|
|
1601
1714
|
_excluded16 = ["name"],
|
|
1602
1715
|
_excluded17 = ["name"],
|
|
1603
1716
|
_excluded18 = ["name"],
|
|
1604
|
-
_excluded19 = ["layerName"]
|
|
1717
|
+
_excluded19 = ["layerName"],
|
|
1718
|
+
_excluded20 = ["name", "id"];
|
|
1605
1719
|
/**
|
|
1606
1720
|
* @title Spatial Processing Core API
|
|
1607
1721
|
* @version 1.0.0
|
|
@@ -2018,7 +2132,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2018
2132
|
let {
|
|
2019
2133
|
name
|
|
2020
2134
|
} = _ref,
|
|
2021
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
2135
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
2022
2136
|
|
|
2023
2137
|
return this.http.get("/layers/" + name + "/features", query).json();
|
|
2024
2138
|
}
|
|
@@ -2471,6 +2585,28 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2471
2585
|
|
|
2472
2586
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
2473
2587
|
}
|
|
2588
|
+
/**
|
|
2589
|
+
* No description
|
|
2590
|
+
*
|
|
2591
|
+
* @tags Layers
|
|
2592
|
+
* @name GetRasterMeta
|
|
2593
|
+
* @operationId LayersController_GetRasterMeta
|
|
2594
|
+
* @summary Get raster metadata.
|
|
2595
|
+
* @request GET:/layers/{name}/{id}/metadata
|
|
2596
|
+
* @response `200` Success
|
|
2597
|
+
*/
|
|
2598
|
+
|
|
2599
|
+
}, {
|
|
2600
|
+
key: "getRasterMeta",
|
|
2601
|
+
value: function getRasterMeta(_ref20) {
|
|
2602
|
+
let {
|
|
2603
|
+
name,
|
|
2604
|
+
id
|
|
2605
|
+
} = _ref20,
|
|
2606
|
+
query = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
2607
|
+
|
|
2608
|
+
return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
|
|
2609
|
+
}
|
|
2474
2610
|
/**
|
|
2475
2611
|
* No description
|
|
2476
2612
|
*
|
|
@@ -2665,7 +2801,7 @@ function notError(v) {
|
|
|
2665
2801
|
return !isError(v);
|
|
2666
2802
|
}
|
|
2667
2803
|
|
|
2668
|
-
const _excluded$
|
|
2804
|
+
const _excluded$2 = ["remote"];
|
|
2669
2805
|
let Layers = /*#__PURE__*/function (_LayersService) {
|
|
2670
2806
|
_inherits(Layers, _LayersService);
|
|
2671
2807
|
|
|
@@ -2705,7 +2841,7 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
2705
2841
|
let {
|
|
2706
2842
|
remote
|
|
2707
2843
|
} = _ref,
|
|
2708
|
-
configuration = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2844
|
+
configuration = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
2709
2845
|
|
|
2710
2846
|
if (remote) {
|
|
2711
2847
|
return this.publishRemoteTileService(configuration);
|
|
@@ -2754,7 +2890,7 @@ function isTileLayerService(layer) {
|
|
|
2754
2890
|
return layer.type && /TileService/.test(layer.type);
|
|
2755
2891
|
}
|
|
2756
2892
|
|
|
2757
|
-
const _excluded$
|
|
2893
|
+
const _excluded$3 = ["name"],
|
|
2758
2894
|
_excluded2$1 = ["name"],
|
|
2759
2895
|
_excluded3$1 = ["name"],
|
|
2760
2896
|
_excluded4$1 = ["name"];
|
|
@@ -2936,7 +3072,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2936
3072
|
let {
|
|
2937
3073
|
name
|
|
2938
3074
|
} = _ref,
|
|
2939
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3075
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
2940
3076
|
|
|
2941
3077
|
return this.http.get("/tables/" + name + "/data", query).json();
|
|
2942
3078
|
}
|
|
@@ -3910,7 +4046,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
3910
4046
|
return _createClass(Styles);
|
|
3911
4047
|
}(StyleService);
|
|
3912
4048
|
|
|
3913
|
-
const _excluded$
|
|
4049
|
+
const _excluded$4 = ["providerName"],
|
|
3914
4050
|
_excluded2$2 = ["providerName"],
|
|
3915
4051
|
_excluded3$2 = ["providerName"];
|
|
3916
4052
|
/**
|
|
@@ -3947,7 +4083,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
|
|
|
3947
4083
|
let {
|
|
3948
4084
|
providerName
|
|
3949
4085
|
} = _ref,
|
|
3950
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4086
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
3951
4087
|
|
|
3952
4088
|
return this.http.get("/geocode/" + providerName, query).json();
|
|
3953
4089
|
}
|
|
@@ -4990,7 +5126,7 @@ let Account = /*#__PURE__*/function (_AccountService) {
|
|
|
4990
5126
|
return Account;
|
|
4991
5127
|
}(AccountService);
|
|
4992
5128
|
|
|
4993
|
-
const _excluded$
|
|
5129
|
+
const _excluded$5 = ["username"];
|
|
4994
5130
|
/**
|
|
4995
5131
|
* @title Spatial Processing Core API
|
|
4996
5132
|
* @version 1.0.0
|
|
@@ -5041,7 +5177,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
|
|
|
5041
5177
|
let {
|
|
5042
5178
|
username
|
|
5043
5179
|
} = _ref,
|
|
5044
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5180
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
5045
5181
|
|
|
5046
5182
|
return this.http.post("/account/user/preview/" + username, toFormData(data), query).json();
|
|
5047
5183
|
}
|
|
@@ -5988,7 +6124,7 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
|
|
|
5988
6124
|
return Feedback;
|
|
5989
6125
|
}(FeedbackService);
|
|
5990
6126
|
|
|
5991
|
-
const _excluded$
|
|
6127
|
+
const _excluded$6 = ["name", "z", "x", "y"];
|
|
5992
6128
|
/**
|
|
5993
6129
|
* @title Spatial Processing Core API
|
|
5994
6130
|
* @version 1.0.0
|
|
@@ -6026,7 +6162,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
|
6026
6162
|
x,
|
|
6027
6163
|
y
|
|
6028
6164
|
} = _ref,
|
|
6029
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6165
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
6030
6166
|
|
|
6031
6167
|
return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
|
|
6032
6168
|
}
|
|
@@ -6276,6 +6412,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6276
6412
|
_this.statistic = new Statistic(_this.http);
|
|
6277
6413
|
_this.feedback = new Feedback(_this.http);
|
|
6278
6414
|
_this.vectorTiles = new VectorTiles(_this.http);
|
|
6415
|
+
_this.universalSearch = new UniversalSearchService(_this.http);
|
|
6279
6416
|
_this.names = new Names({
|
|
6280
6417
|
account: _this.account
|
|
6281
6418
|
});
|
|
@@ -6452,7 +6589,7 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
|
|
|
6452
6589
|
return EvergisTileLayer;
|
|
6453
6590
|
}(TileLayer.TileLayer);
|
|
6454
6591
|
|
|
6455
|
-
const _excluded$
|
|
6592
|
+
const _excluded$7 = ["name", "style", "condition", "dataFilterId"];
|
|
6456
6593
|
let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
6457
6594
|
_inherits(EvergisDynamicLayer, _DynamicLayer);
|
|
6458
6595
|
|
|
@@ -6467,7 +6604,7 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
|
6467
6604
|
condition,
|
|
6468
6605
|
dataFilterId
|
|
6469
6606
|
} = _ref,
|
|
6470
|
-
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6607
|
+
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
6471
6608
|
|
|
6472
6609
|
_classCallCheck(this, EvergisDynamicLayer);
|
|
6473
6610
|
|
|
@@ -6779,7 +6916,7 @@ function isFeatureLayer(layer) {
|
|
|
6779
6916
|
AttributeType["Boolean"] = "Boolean";
|
|
6780
6917
|
AttributeType["Point"] = "Point";
|
|
6781
6918
|
AttributeType["Polyline"] = "Polyline";
|
|
6782
|
-
AttributeType["
|
|
6919
|
+
AttributeType["MultiPolygon"] = "Polygon";
|
|
6783
6920
|
AttributeType["Multipoint"] = "Multipoint";
|
|
6784
6921
|
AttributeType["H3Index"] = "H3Index";
|
|
6785
6922
|
})(exports.AttributeType || (exports.AttributeType = {}));
|