@evergis/api 3.0.182 → 3.0.184
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 +57 -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__/TagsService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +146 -20
- package/dist/api.cjs.development.js +138 -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 +138 -0
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +5 -3
- package/package.json +2 -2
|
@@ -3993,6 +3993,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3993
3993
|
|
|
3994
3994
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
3995
3995
|
}
|
|
3996
|
+
/**
|
|
3997
|
+
* No description
|
|
3998
|
+
*
|
|
3999
|
+
* @tags Layers
|
|
4000
|
+
* @name GetFilteredFeaturesCount1
|
|
4001
|
+
* @operationId LayersController_GetFilteredFeaturesCount_1
|
|
4002
|
+
* @summary Get features count according layer filter of the given name.
|
|
4003
|
+
* @request POST:/layers/{name}/features/count
|
|
4004
|
+
* @response `200` Success
|
|
4005
|
+
*/
|
|
4006
|
+
|
|
4007
|
+
}, {
|
|
4008
|
+
key: "getFilteredFeaturesCount1",
|
|
4009
|
+
value: function getFilteredFeaturesCount1(name, data) {
|
|
4010
|
+
return this.http.post("/layers/" + name + "/features/count", data).json();
|
|
4011
|
+
}
|
|
3996
4012
|
/**
|
|
3997
4013
|
* No description
|
|
3998
4014
|
*
|
|
@@ -4085,6 +4101,70 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4085
4101
|
value: function createRoute(name, data) {
|
|
4086
4102
|
return this.http.post("/layers/" + name + "/createRoute", data).json();
|
|
4087
4103
|
}
|
|
4104
|
+
/**
|
|
4105
|
+
* No description
|
|
4106
|
+
*
|
|
4107
|
+
* @tags Layers
|
|
4108
|
+
* @name ApplyStyle
|
|
4109
|
+
* @operationId LayersController_ApplyStyle
|
|
4110
|
+
* @summary Create data layout and image layout for given style.
|
|
4111
|
+
* @request PUT:/layers/{name}/style
|
|
4112
|
+
* @response `200` Success
|
|
4113
|
+
*/
|
|
4114
|
+
|
|
4115
|
+
}, {
|
|
4116
|
+
key: "applyStyle",
|
|
4117
|
+
value: function applyStyle(name, data) {
|
|
4118
|
+
return this.http.put("/layers/" + name + "/style", data).then(() => {});
|
|
4119
|
+
}
|
|
4120
|
+
/**
|
|
4121
|
+
* No description
|
|
4122
|
+
*
|
|
4123
|
+
* @tags Layers
|
|
4124
|
+
* @name GetStyle
|
|
4125
|
+
* @operationId LayersController_GetStyle
|
|
4126
|
+
* @summary Get style of the given layer.
|
|
4127
|
+
* @request GET:/layers/{name}/style
|
|
4128
|
+
* @response `200` Success
|
|
4129
|
+
*/
|
|
4130
|
+
|
|
4131
|
+
}, {
|
|
4132
|
+
key: "getStyle",
|
|
4133
|
+
value: function getStyle(name) {
|
|
4134
|
+
return this.http.get("/layers/" + name + "/style").json();
|
|
4135
|
+
}
|
|
4136
|
+
/**
|
|
4137
|
+
* No description
|
|
4138
|
+
*
|
|
4139
|
+
* @tags Layers
|
|
4140
|
+
* @name GetImageLayout
|
|
4141
|
+
* @operationId LayersController_GetImageLayout
|
|
4142
|
+
* @summary Get date layout.
|
|
4143
|
+
* @request GET:/layers/{name}/style/sprite.png
|
|
4144
|
+
* @response `200` Success
|
|
4145
|
+
*/
|
|
4146
|
+
|
|
4147
|
+
}, {
|
|
4148
|
+
key: "getImageLayout",
|
|
4149
|
+
value: function getImageLayout(name) {
|
|
4150
|
+
return this.http.get("/layers/" + name + "/style/sprite.png").blob();
|
|
4151
|
+
}
|
|
4152
|
+
/**
|
|
4153
|
+
* No description
|
|
4154
|
+
*
|
|
4155
|
+
* @tags Layers
|
|
4156
|
+
* @name GetDataLayout
|
|
4157
|
+
* @operationId LayersController_GetDataLayout
|
|
4158
|
+
* @summary Get image layout.
|
|
4159
|
+
* @request GET:/layers/{name}/style/sprite.json
|
|
4160
|
+
* @response `200` Success
|
|
4161
|
+
*/
|
|
4162
|
+
|
|
4163
|
+
}, {
|
|
4164
|
+
key: "getDataLayout",
|
|
4165
|
+
value: function getDataLayout(name) {
|
|
4166
|
+
return this.http.get("/layers/" + name + "/style/sprite.json").blob();
|
|
4167
|
+
}
|
|
4088
4168
|
/**
|
|
4089
4169
|
* No description
|
|
4090
4170
|
*
|
|
@@ -6347,6 +6427,22 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
6347
6427
|
function statisticsDb(query) {
|
|
6348
6428
|
return this.http.get("/statistics", query).json();
|
|
6349
6429
|
}
|
|
6430
|
+
/**
|
|
6431
|
+
* No description
|
|
6432
|
+
*
|
|
6433
|
+
* @tags Statistic
|
|
6434
|
+
* @name StatisticsDb1
|
|
6435
|
+
* @operationId StatisticController_StatisticsDb_1
|
|
6436
|
+
* @summary Calculates statistics for layer attribute.
|
|
6437
|
+
* @request POST:/statistics
|
|
6438
|
+
* @response `200` Success
|
|
6439
|
+
*/
|
|
6440
|
+
|
|
6441
|
+
}, {
|
|
6442
|
+
key: "statisticsDb1",
|
|
6443
|
+
value: function statisticsDb1(data) {
|
|
6444
|
+
return this.http.post("/statistics", data).json();
|
|
6445
|
+
}
|
|
6350
6446
|
/**
|
|
6351
6447
|
* No description
|
|
6352
6448
|
*
|
|
@@ -6363,6 +6459,22 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
6363
6459
|
value: function classify(query) {
|
|
6364
6460
|
return this.http.get("/statistics/classify", query).json();
|
|
6365
6461
|
}
|
|
6462
|
+
/**
|
|
6463
|
+
* No description
|
|
6464
|
+
*
|
|
6465
|
+
* @tags Statistic
|
|
6466
|
+
* @name Classify1
|
|
6467
|
+
* @operationId StatisticController_Classify_1
|
|
6468
|
+
* @summary Returns the classified attribute values that correspond to the given number of classes and given condition.
|
|
6469
|
+
* @request POST:/statistics/classify
|
|
6470
|
+
* @response `200` Success
|
|
6471
|
+
*/
|
|
6472
|
+
|
|
6473
|
+
}, {
|
|
6474
|
+
key: "classify1",
|
|
6475
|
+
value: function classify1(data) {
|
|
6476
|
+
return this.http.post("/statistics/classify", data).json();
|
|
6477
|
+
}
|
|
6366
6478
|
/**
|
|
6367
6479
|
* No description
|
|
6368
6480
|
*
|
|
@@ -6379,6 +6491,22 @@ let StatisticService = /*#__PURE__*/function (_Service) {
|
|
|
6379
6491
|
value: function sumOfProduct(query) {
|
|
6380
6492
|
return this.http.get("/statistics/sumOfProduct", query).json();
|
|
6381
6493
|
}
|
|
6494
|
+
/**
|
|
6495
|
+
* No description
|
|
6496
|
+
*
|
|
6497
|
+
* @tags Statistic
|
|
6498
|
+
* @name SumOfProduct1
|
|
6499
|
+
* @operationId StatisticController_SumOfProduct_1
|
|
6500
|
+
* @summary Sum of product.
|
|
6501
|
+
* @request POST:/statistics/sumOfProduct
|
|
6502
|
+
* @response `200` Success
|
|
6503
|
+
*/
|
|
6504
|
+
|
|
6505
|
+
}, {
|
|
6506
|
+
key: "sumOfProduct1",
|
|
6507
|
+
value: function sumOfProduct1(data) {
|
|
6508
|
+
return this.http.post("/statistics/sumOfProduct", data).json();
|
|
6509
|
+
}
|
|
6382
6510
|
}]);
|
|
6383
6511
|
|
|
6384
6512
|
return StatisticService;
|
|
@@ -6400,11 +6528,21 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
|
|
|
6400
6528
|
value: function getStatistic(params) {
|
|
6401
6529
|
return this.statisticsDb(params);
|
|
6402
6530
|
}
|
|
6531
|
+
}, {
|
|
6532
|
+
key: "postStatistic",
|
|
6533
|
+
value: function postStatistic(params) {
|
|
6534
|
+
return this.statisticsDb1(params);
|
|
6535
|
+
}
|
|
6403
6536
|
}, {
|
|
6404
6537
|
key: "getClassify",
|
|
6405
6538
|
value: function getClassify(params) {
|
|
6406
6539
|
return this.classify(params);
|
|
6407
6540
|
}
|
|
6541
|
+
}, {
|
|
6542
|
+
key: "postClassify",
|
|
6543
|
+
value: function postClassify(params) {
|
|
6544
|
+
return this.classify1(params);
|
|
6545
|
+
}
|
|
6408
6546
|
}]);
|
|
6409
6547
|
|
|
6410
6548
|
return Statistic;
|