@evergis/api 3.0.182 → 3.0.183
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__/LayersService.d.ts +46 -2
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +35 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +121 -19
- package/dist/api.cjs.development.js +122 -0
- 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 +122 -0
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +5 -3
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -3989,6 +3989,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3989
3989
|
|
|
3990
3990
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
3991
3991
|
}
|
|
3992
|
+
/**
|
|
3993
|
+
* No description
|
|
3994
|
+
*
|
|
3995
|
+
* @tags Layers
|
|
3996
|
+
* @name GetFilteredFeaturesCount1
|
|
3997
|
+
* @operationId LayersController_GetFilteredFeaturesCount_1
|
|
3998
|
+
* @summary Get features count according layer filter of the given name.
|
|
3999
|
+
* @request POST:/layers/{name}/features/count
|
|
4000
|
+
* @response `200` Success
|
|
4001
|
+
*/
|
|
4002
|
+
|
|
4003
|
+
}, {
|
|
4004
|
+
key: "getFilteredFeaturesCount1",
|
|
4005
|
+
value: function getFilteredFeaturesCount1(name, data) {
|
|
4006
|
+
return this.http.post("/layers/" + name + "/features/count", data).json();
|
|
4007
|
+
}
|
|
3992
4008
|
/**
|
|
3993
4009
|
* No description
|
|
3994
4010
|
*
|
|
@@ -4081,6 +4097,54 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4081
4097
|
value: function createRoute(name, data) {
|
|
4082
4098
|
return this.http.post("/layers/" + name + "/createRoute", data).json();
|
|
4083
4099
|
}
|
|
4100
|
+
/**
|
|
4101
|
+
* No description
|
|
4102
|
+
*
|
|
4103
|
+
* @tags Layers
|
|
4104
|
+
* @name ApplyStyle
|
|
4105
|
+
* @operationId LayersController_ApplyStyle
|
|
4106
|
+
* @summary Create data layout and image layout for given style.
|
|
4107
|
+
* @request PUT:/layers/{name}/style
|
|
4108
|
+
* @response `200` Success
|
|
4109
|
+
*/
|
|
4110
|
+
|
|
4111
|
+
}, {
|
|
4112
|
+
key: "applyStyle",
|
|
4113
|
+
value: function applyStyle(name, data) {
|
|
4114
|
+
return this.http.put("/layers/" + name + "/style", data).then(() => {});
|
|
4115
|
+
}
|
|
4116
|
+
/**
|
|
4117
|
+
* No description
|
|
4118
|
+
*
|
|
4119
|
+
* @tags Layers
|
|
4120
|
+
* @name GetImageLayout
|
|
4121
|
+
* @operationId LayersController_GetImageLayout
|
|
4122
|
+
* @summary Get date layout.
|
|
4123
|
+
* @request GET:/layers/{name}/style/sprite.png
|
|
4124
|
+
* @response `200` Success
|
|
4125
|
+
*/
|
|
4126
|
+
|
|
4127
|
+
}, {
|
|
4128
|
+
key: "getImageLayout",
|
|
4129
|
+
value: function getImageLayout(name) {
|
|
4130
|
+
return this.http.get("/layers/" + name + "/style/sprite.png").blob();
|
|
4131
|
+
}
|
|
4132
|
+
/**
|
|
4133
|
+
* No description
|
|
4134
|
+
*
|
|
4135
|
+
* @tags Layers
|
|
4136
|
+
* @name GetDataLayout
|
|
4137
|
+
* @operationId LayersController_GetDataLayout
|
|
4138
|
+
* @summary Get image layout.
|
|
4139
|
+
* @request GET:/layers/{name}/style/sprite.json
|
|
4140
|
+
* @response `200` Success
|
|
4141
|
+
*/
|
|
4142
|
+
|
|
4143
|
+
}, {
|
|
4144
|
+
key: "getDataLayout",
|
|
4145
|
+
value: function getDataLayout(name) {
|
|
4146
|
+
return this.http.get("/layers/" + name + "/style/sprite.json").blob();
|
|
4147
|
+
}
|
|
4084
4148
|
/**
|
|
4085
4149
|
* No description
|
|
4086
4150
|
*
|
|
@@ -6350,6 +6414,22 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
6350
6414
|
function statisticsDb(query) {
|
|
6351
6415
|
return this.http.get("/statistics", query).json();
|
|
6352
6416
|
}
|
|
6417
|
+
/**
|
|
6418
|
+
* No description
|
|
6419
|
+
*
|
|
6420
|
+
* @tags Statistic
|
|
6421
|
+
* @name StatisticsDb1
|
|
6422
|
+
* @operationId StatisticController_StatisticsDb_1
|
|
6423
|
+
* @summary Calculates statistics for layer attribute.
|
|
6424
|
+
* @request POST:/statistics
|
|
6425
|
+
* @response `200` Success
|
|
6426
|
+
*/
|
|
6427
|
+
|
|
6428
|
+
}, {
|
|
6429
|
+
key: "statisticsDb1",
|
|
6430
|
+
value: function statisticsDb1(data) {
|
|
6431
|
+
return this.http.post("/statistics", data).json();
|
|
6432
|
+
}
|
|
6353
6433
|
/**
|
|
6354
6434
|
* No description
|
|
6355
6435
|
*
|
|
@@ -6366,6 +6446,22 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
6366
6446
|
value: function classify(query) {
|
|
6367
6447
|
return this.http.get("/statistics/classify", query).json();
|
|
6368
6448
|
}
|
|
6449
|
+
/**
|
|
6450
|
+
* No description
|
|
6451
|
+
*
|
|
6452
|
+
* @tags Statistic
|
|
6453
|
+
* @name Classify1
|
|
6454
|
+
* @operationId StatisticController_Classify_1
|
|
6455
|
+
* @summary Returns the classified attribute values that correspond to the given number of classes and given condition.
|
|
6456
|
+
* @request POST:/statistics/classify
|
|
6457
|
+
* @response `200` Success
|
|
6458
|
+
*/
|
|
6459
|
+
|
|
6460
|
+
}, {
|
|
6461
|
+
key: "classify1",
|
|
6462
|
+
value: function classify1(data) {
|
|
6463
|
+
return this.http.post("/statistics/classify", data).json();
|
|
6464
|
+
}
|
|
6369
6465
|
/**
|
|
6370
6466
|
* No description
|
|
6371
6467
|
*
|
|
@@ -6382,6 +6478,22 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
6382
6478
|
value: function sumOfProduct(query) {
|
|
6383
6479
|
return this.http.get("/statistics/sumOfProduct", query).json();
|
|
6384
6480
|
}
|
|
6481
|
+
/**
|
|
6482
|
+
* No description
|
|
6483
|
+
*
|
|
6484
|
+
* @tags Statistic
|
|
6485
|
+
* @name SumOfProduct1
|
|
6486
|
+
* @operationId StatisticController_SumOfProduct_1
|
|
6487
|
+
* @summary Sum of product.
|
|
6488
|
+
* @request POST:/statistics/sumOfProduct
|
|
6489
|
+
* @response `200` Success
|
|
6490
|
+
*/
|
|
6491
|
+
|
|
6492
|
+
}, {
|
|
6493
|
+
key: "sumOfProduct1",
|
|
6494
|
+
value: function sumOfProduct1(data) {
|
|
6495
|
+
return this.http.post("/statistics/sumOfProduct", data).json();
|
|
6496
|
+
}
|
|
6385
6497
|
}]);
|
|
6386
6498
|
|
|
6387
6499
|
return StatisticService;
|
|
@@ -6403,11 +6515,21 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
|
|
|
6403
6515
|
value: function getStatistic(params) {
|
|
6404
6516
|
return this.statisticsDb(params);
|
|
6405
6517
|
}
|
|
6518
|
+
}, {
|
|
6519
|
+
key: "postStatistic",
|
|
6520
|
+
value: function postStatistic(params) {
|
|
6521
|
+
return this.statisticsDb1(params);
|
|
6522
|
+
}
|
|
6406
6523
|
}, {
|
|
6407
6524
|
key: "getClassify",
|
|
6408
6525
|
value: function getClassify(params) {
|
|
6409
6526
|
return this.classify(params);
|
|
6410
6527
|
}
|
|
6528
|
+
}, {
|
|
6529
|
+
key: "postClassify",
|
|
6530
|
+
value: function postClassify(params) {
|
|
6531
|
+
return this.classify1(params);
|
|
6532
|
+
}
|
|
6411
6533
|
}]);
|
|
6412
6534
|
|
|
6413
6535
|
return Statistic;
|