@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
package/dist/api.esm.js
CHANGED
|
@@ -294,14 +294,6 @@ function toFormData(input) {
|
|
|
294
294
|
}, new FormData());
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
-
var ApiEvent;
|
|
298
|
-
|
|
299
|
-
(function (ApiEvent) {
|
|
300
|
-
ApiEvent["ConnectionLost"] = "ConnectionLost";
|
|
301
|
-
ApiEvent["Unauthorized"] = "Unauthorized";
|
|
302
|
-
ApiEvent["SessionClosed"] = "SessionClosed";
|
|
303
|
-
})(ApiEvent || (ApiEvent = {}));
|
|
304
|
-
|
|
305
297
|
/* eslint-disable */
|
|
306
298
|
|
|
307
299
|
/* tslint:disable */
|
|
@@ -320,6 +312,75 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
|
|
|
320
312
|
this.http = http;
|
|
321
313
|
});
|
|
322
314
|
|
|
315
|
+
const _excluded = ["taskId", "layerName"];
|
|
316
|
+
/**
|
|
317
|
+
* @title Spatial Processing Core API
|
|
318
|
+
* @version 1.0.0
|
|
319
|
+
* @baseUrl /sp
|
|
320
|
+
*/
|
|
321
|
+
|
|
322
|
+
let UniversalSearchService = /*#__PURE__*/function (_Service) {
|
|
323
|
+
_inherits(UniversalSearchService, _Service);
|
|
324
|
+
|
|
325
|
+
var _super = /*#__PURE__*/_createSuper(UniversalSearchService);
|
|
326
|
+
|
|
327
|
+
function UniversalSearchService() {
|
|
328
|
+
_classCallCheck(this, UniversalSearchService);
|
|
329
|
+
|
|
330
|
+
return _super.apply(this, arguments);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
_createClass(UniversalSearchService, [{
|
|
334
|
+
key: "getSearchResult",
|
|
335
|
+
value:
|
|
336
|
+
/**
|
|
337
|
+
* No description
|
|
338
|
+
*
|
|
339
|
+
* @tags UniversalSearch
|
|
340
|
+
* @name GetSearchResult
|
|
341
|
+
* @operationId UniversalSearchController_GetSearchResult
|
|
342
|
+
* @summary Returns search result.
|
|
343
|
+
* @request GET:/search/{taskId}/{layerName}
|
|
344
|
+
* @response `200` Success
|
|
345
|
+
*/
|
|
346
|
+
function getSearchResult(_ref) {
|
|
347
|
+
let {
|
|
348
|
+
taskId,
|
|
349
|
+
layerName
|
|
350
|
+
} = _ref,
|
|
351
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
352
|
+
|
|
353
|
+
return this.http.get("/search/" + taskId + "/" + layerName, query).json();
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* No description
|
|
357
|
+
*
|
|
358
|
+
* @tags UniversalSearch
|
|
359
|
+
* @name GetSearchResult1
|
|
360
|
+
* @operationId UniversalSearchController_GetSearchResult_1
|
|
361
|
+
* @summary Returns search result.
|
|
362
|
+
* @request GET:/search/{taskId}
|
|
363
|
+
* @response `200` Success
|
|
364
|
+
*/
|
|
365
|
+
|
|
366
|
+
}, {
|
|
367
|
+
key: "getSearchResult1",
|
|
368
|
+
value: function getSearchResult1(taskId) {
|
|
369
|
+
return this.http.get("/search/" + taskId).json();
|
|
370
|
+
}
|
|
371
|
+
}]);
|
|
372
|
+
|
|
373
|
+
return UniversalSearchService;
|
|
374
|
+
}(Service);
|
|
375
|
+
|
|
376
|
+
var ApiEvent;
|
|
377
|
+
|
|
378
|
+
(function (ApiEvent) {
|
|
379
|
+
ApiEvent["ConnectionLost"] = "ConnectionLost";
|
|
380
|
+
ApiEvent["Unauthorized"] = "Unauthorized";
|
|
381
|
+
ApiEvent["SessionClosed"] = "SessionClosed";
|
|
382
|
+
})(ApiEvent || (ApiEvent = {}));
|
|
383
|
+
|
|
323
384
|
/**
|
|
324
385
|
* @title Spatial Processing Core API
|
|
325
386
|
* @version 1.0.0
|
|
@@ -847,6 +908,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
|
|
|
847
908
|
value: function getRasterAttributes(query) {
|
|
848
909
|
return this.http.get("/import/rasterAttributes", query).json();
|
|
849
910
|
}
|
|
911
|
+
/**
|
|
912
|
+
* No description
|
|
913
|
+
*
|
|
914
|
+
* @tags ImportService
|
|
915
|
+
* @name GetRasterMeta
|
|
916
|
+
* @operationId ImportServiceController_GetRasterMeta
|
|
917
|
+
* @summary Get raster meta data.
|
|
918
|
+
* @request GET:/import/rasterMeta
|
|
919
|
+
* @response `200` Success
|
|
920
|
+
*/
|
|
921
|
+
|
|
922
|
+
}, {
|
|
923
|
+
key: "getRasterMeta",
|
|
924
|
+
value: function getRasterMeta(query) {
|
|
925
|
+
return this.http.get("/import/rasterMeta", query).json();
|
|
926
|
+
}
|
|
850
927
|
}]);
|
|
851
928
|
|
|
852
929
|
return ImportService;
|
|
@@ -1319,6 +1396,24 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
|
1319
1396
|
type: 'tiling'
|
|
1320
1397
|
}).json();
|
|
1321
1398
|
}
|
|
1399
|
+
/**
|
|
1400
|
+
* No description
|
|
1401
|
+
*
|
|
1402
|
+
* @tags SchedulerService
|
|
1403
|
+
* @name StartNetCdfTask
|
|
1404
|
+
* @operationId SchedulerServiceController_StartNetCdfTask
|
|
1405
|
+
* @summary Plans the execution of a 'netcdf' server task.
|
|
1406
|
+
* @request POST:/scheduler/tasks#type=netcdf
|
|
1407
|
+
* @response `200` Success
|
|
1408
|
+
*/
|
|
1409
|
+
|
|
1410
|
+
}, {
|
|
1411
|
+
key: "startNetCdfTask",
|
|
1412
|
+
value: function startNetCdfTask(data) {
|
|
1413
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
1414
|
+
type: 'netcdf'
|
|
1415
|
+
}).json();
|
|
1416
|
+
}
|
|
1322
1417
|
/**
|
|
1323
1418
|
* No description
|
|
1324
1419
|
*
|
|
@@ -1427,6 +1522,24 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
|
1427
1522
|
type: 'editAttributes'
|
|
1428
1523
|
}).json();
|
|
1429
1524
|
}
|
|
1525
|
+
/**
|
|
1526
|
+
* No description
|
|
1527
|
+
*
|
|
1528
|
+
* @tags SchedulerService
|
|
1529
|
+
* @name UniversalSearchTask
|
|
1530
|
+
* @operationId SchedulerServiceController_UniversalSearchTask
|
|
1531
|
+
* @summary Plans the execution of a 'edit attributes' server task.
|
|
1532
|
+
* @request POST:/scheduler/tasks#type=universalSearch
|
|
1533
|
+
* @response `200` Success
|
|
1534
|
+
*/
|
|
1535
|
+
|
|
1536
|
+
}, {
|
|
1537
|
+
key: "universalSearchTask",
|
|
1538
|
+
value: function universalSearchTask(data) {
|
|
1539
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
1540
|
+
type: 'universalSearch'
|
|
1541
|
+
}).json();
|
|
1542
|
+
}
|
|
1430
1543
|
}]);
|
|
1431
1544
|
|
|
1432
1545
|
return SchedulerService;
|
|
@@ -1581,7 +1694,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
1581
1694
|
return Scheduler;
|
|
1582
1695
|
}(SchedulerService);
|
|
1583
1696
|
|
|
1584
|
-
const _excluded = ["name"],
|
|
1697
|
+
const _excluded$1 = ["name"],
|
|
1585
1698
|
_excluded2 = ["name"],
|
|
1586
1699
|
_excluded3 = ["name"],
|
|
1587
1700
|
_excluded4 = ["name", "id"],
|
|
@@ -1599,7 +1712,8 @@ const _excluded = ["name"],
|
|
|
1599
1712
|
_excluded16 = ["name"],
|
|
1600
1713
|
_excluded17 = ["name"],
|
|
1601
1714
|
_excluded18 = ["name"],
|
|
1602
|
-
_excluded19 = ["layerName"]
|
|
1715
|
+
_excluded19 = ["layerName"],
|
|
1716
|
+
_excluded20 = ["name", "id"];
|
|
1603
1717
|
/**
|
|
1604
1718
|
* @title Spatial Processing Core API
|
|
1605
1719
|
* @version 1.0.0
|
|
@@ -2016,7 +2130,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2016
2130
|
let {
|
|
2017
2131
|
name
|
|
2018
2132
|
} = _ref,
|
|
2019
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
2133
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
2020
2134
|
|
|
2021
2135
|
return this.http.get("/layers/" + name + "/features", query).json();
|
|
2022
2136
|
}
|
|
@@ -2469,6 +2583,28 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2469
2583
|
|
|
2470
2584
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
2471
2585
|
}
|
|
2586
|
+
/**
|
|
2587
|
+
* No description
|
|
2588
|
+
*
|
|
2589
|
+
* @tags Layers
|
|
2590
|
+
* @name GetRasterMeta
|
|
2591
|
+
* @operationId LayersController_GetRasterMeta
|
|
2592
|
+
* @summary Get raster metadata.
|
|
2593
|
+
* @request GET:/layers/{name}/{id}/metadata
|
|
2594
|
+
* @response `200` Success
|
|
2595
|
+
*/
|
|
2596
|
+
|
|
2597
|
+
}, {
|
|
2598
|
+
key: "getRasterMeta",
|
|
2599
|
+
value: function getRasterMeta(_ref20) {
|
|
2600
|
+
let {
|
|
2601
|
+
name,
|
|
2602
|
+
id
|
|
2603
|
+
} = _ref20,
|
|
2604
|
+
query = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
2605
|
+
|
|
2606
|
+
return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
|
|
2607
|
+
}
|
|
2472
2608
|
/**
|
|
2473
2609
|
* No description
|
|
2474
2610
|
*
|
|
@@ -2663,7 +2799,7 @@ function notError(v) {
|
|
|
2663
2799
|
return !isError(v);
|
|
2664
2800
|
}
|
|
2665
2801
|
|
|
2666
|
-
const _excluded$
|
|
2802
|
+
const _excluded$2 = ["remote"];
|
|
2667
2803
|
let Layers = /*#__PURE__*/function (_LayersService) {
|
|
2668
2804
|
_inherits(Layers, _LayersService);
|
|
2669
2805
|
|
|
@@ -2703,7 +2839,7 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
2703
2839
|
let {
|
|
2704
2840
|
remote
|
|
2705
2841
|
} = _ref,
|
|
2706
|
-
configuration = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2842
|
+
configuration = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
2707
2843
|
|
|
2708
2844
|
if (remote) {
|
|
2709
2845
|
return this.publishRemoteTileService(configuration);
|
|
@@ -2752,7 +2888,7 @@ function isTileLayerService(layer) {
|
|
|
2752
2888
|
return layer.type && /TileService/.test(layer.type);
|
|
2753
2889
|
}
|
|
2754
2890
|
|
|
2755
|
-
const _excluded$
|
|
2891
|
+
const _excluded$3 = ["name"],
|
|
2756
2892
|
_excluded2$1 = ["name"],
|
|
2757
2893
|
_excluded3$1 = ["name"],
|
|
2758
2894
|
_excluded4$1 = ["name"];
|
|
@@ -2934,7 +3070,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2934
3070
|
let {
|
|
2935
3071
|
name
|
|
2936
3072
|
} = _ref,
|
|
2937
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3073
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
2938
3074
|
|
|
2939
3075
|
return this.http.get("/tables/" + name + "/data", query).json();
|
|
2940
3076
|
}
|
|
@@ -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
|
}
|
|
@@ -5991,7 +6127,7 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
|
|
|
5991
6127
|
return Feedback;
|
|
5992
6128
|
}(FeedbackService);
|
|
5993
6129
|
|
|
5994
|
-
const _excluded$
|
|
6130
|
+
const _excluded$6 = ["name", "z", "x", "y"];
|
|
5995
6131
|
/**
|
|
5996
6132
|
* @title Spatial Processing Core API
|
|
5997
6133
|
* @version 1.0.0
|
|
@@ -6029,7 +6165,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
|
6029
6165
|
x,
|
|
6030
6166
|
y
|
|
6031
6167
|
} = _ref,
|
|
6032
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6168
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
6033
6169
|
|
|
6034
6170
|
return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
|
|
6035
6171
|
}
|
|
@@ -6281,6 +6417,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6281
6417
|
_this.statistic = new Statistic(_this.http);
|
|
6282
6418
|
_this.feedback = new Feedback(_this.http);
|
|
6283
6419
|
_this.vectorTiles = new VectorTiles(_this.http);
|
|
6420
|
+
_this.universalSearch = new UniversalSearchService(_this.http);
|
|
6284
6421
|
_this.names = new Names({
|
|
6285
6422
|
account: _this.account
|
|
6286
6423
|
});
|
|
@@ -6457,7 +6594,7 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
|
|
|
6457
6594
|
return EvergisTileLayer;
|
|
6458
6595
|
}(TileLayer);
|
|
6459
6596
|
|
|
6460
|
-
const _excluded$
|
|
6597
|
+
const _excluded$7 = ["name", "style", "condition", "dataFilterId"];
|
|
6461
6598
|
let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
6462
6599
|
_inherits(EvergisDynamicLayer, _DynamicLayer);
|
|
6463
6600
|
|
|
@@ -6472,7 +6609,7 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
|
6472
6609
|
condition,
|
|
6473
6610
|
dataFilterId
|
|
6474
6611
|
} = _ref,
|
|
6475
|
-
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6612
|
+
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
6476
6613
|
|
|
6477
6614
|
_classCallCheck(this, EvergisDynamicLayer);
|
|
6478
6615
|
|
|
@@ -6872,7 +7009,7 @@ var AttributeType;
|
|
|
6872
7009
|
AttributeType["Boolean"] = "Boolean";
|
|
6873
7010
|
AttributeType["Point"] = "Point";
|
|
6874
7011
|
AttributeType["Polyline"] = "Polyline";
|
|
6875
|
-
AttributeType["
|
|
7012
|
+
AttributeType["MultiPolygon"] = "Polygon";
|
|
6876
7013
|
AttributeType["Multipoint"] = "Multipoint";
|
|
6877
7014
|
AttributeType["H3Index"] = "H3Index";
|
|
6878
7015
|
})(AttributeType || (AttributeType = {}));
|