@evergis/api 3.0.48 → 3.0.52
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 -1
- package/dist/__generated__/BulkOperationsService.d.ts +11 -0
- package/dist/__generated__/IceRouterService.d.ts +31 -0
- package/dist/__generated__/LayersService.d.ts +12 -1
- package/dist/__generated__/ProjectsService.d.ts +12 -1
- package/dist/__generated__/SecurityService.d.ts +12 -1
- package/dist/__generated__/TablesService.d.ts +12 -1
- package/dist/__generated__/data-contracts.d.ts +113 -125
- package/dist/api.cjs.development.js +157 -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 +160 -7
- package/dist/api.esm.js.map +1 -1
- package/dist/services/BulkOperations.d.ts +1 -0
- package/dist/services/IceRouter.d.ts +3 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -215,8 +215,21 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
_createClass(BulkOperationsService, [{
|
|
218
|
-
key: "
|
|
218
|
+
key: "batchUpdateCatalogResources",
|
|
219
219
|
|
|
220
|
+
/**
|
|
221
|
+
* No description
|
|
222
|
+
*
|
|
223
|
+
* @tags BulkOperations
|
|
224
|
+
* @name BatchUpdateCatalogResources
|
|
225
|
+
* @operationId BulkOperationsController_BatchUpdateCatalogResources
|
|
226
|
+
* @summary Overrides resources in catalog.
|
|
227
|
+
* @request PUT:/bulk/catalog/updateResources
|
|
228
|
+
* @response `200` Success
|
|
229
|
+
*/
|
|
230
|
+
value: function batchUpdateCatalogResources(data) {
|
|
231
|
+
return this.http.put("/bulk/catalog/updateResources", data).json();
|
|
232
|
+
}
|
|
220
233
|
/**
|
|
221
234
|
* No description
|
|
222
235
|
*
|
|
@@ -227,6 +240,9 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
|
|
|
227
240
|
* @request POST:/bulk/catalog/addResources
|
|
228
241
|
* @response `200` Success
|
|
229
242
|
*/
|
|
243
|
+
|
|
244
|
+
}, {
|
|
245
|
+
key: "batchAddResourcesToCatalog",
|
|
230
246
|
value: function batchAddResourcesToCatalog(data) {
|
|
231
247
|
return this.http.post("/bulk/catalog/addResources", data).json();
|
|
232
248
|
}
|
|
@@ -293,6 +309,11 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
|
|
|
293
309
|
value: function deleteFromCatalog(data) {
|
|
294
310
|
return this.batchDeleteResourcesFromCatalog(data);
|
|
295
311
|
}
|
|
312
|
+
}, {
|
|
313
|
+
key: "updateCatalogResources",
|
|
314
|
+
value: function updateCatalogResources(data) {
|
|
315
|
+
return this.batchUpdateCatalogResources(data);
|
|
316
|
+
}
|
|
296
317
|
}]);
|
|
297
318
|
|
|
298
319
|
return BulkOperations;
|
|
@@ -316,8 +337,21 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
316
337
|
}
|
|
317
338
|
|
|
318
339
|
_createClass(SecurityService, [{
|
|
319
|
-
key: "
|
|
340
|
+
key: "findUserByNameByRoles",
|
|
320
341
|
|
|
342
|
+
/**
|
|
343
|
+
* No description
|
|
344
|
+
*
|
|
345
|
+
* @tags SecurityService
|
|
346
|
+
* @name FindUserByNameByRoles
|
|
347
|
+
* @operationId SecurityServiceController_FindUserByNameByRoles
|
|
348
|
+
* @summary Get users list with given roles list.
|
|
349
|
+
* @request GET:/security/findUsersWithRoles
|
|
350
|
+
* @response `200` Success
|
|
351
|
+
*/
|
|
352
|
+
value: function findUserByNameByRoles(query) {
|
|
353
|
+
return this.http.get("/security/findUsersWithRoles", query).json();
|
|
354
|
+
}
|
|
321
355
|
/**
|
|
322
356
|
* No description
|
|
323
357
|
*
|
|
@@ -328,6 +362,9 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
328
362
|
* @request GET:/security/users
|
|
329
363
|
* @response `200` Success
|
|
330
364
|
*/
|
|
365
|
+
|
|
366
|
+
}, {
|
|
367
|
+
key: "findUserByName",
|
|
331
368
|
value: function findUserByName(query) {
|
|
332
369
|
return this.http.get("/security/users", query).json();
|
|
333
370
|
}
|
|
@@ -1441,6 +1478,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1441
1478
|
value: function setPermissionsBatch(data) {
|
|
1442
1479
|
return this.http.put("/layers", data).then(() => {});
|
|
1443
1480
|
}
|
|
1481
|
+
/**
|
|
1482
|
+
* No description
|
|
1483
|
+
*
|
|
1484
|
+
* @tags Layers
|
|
1485
|
+
* @name DeleteResources
|
|
1486
|
+
* @operationId LayersController_DeleteResources
|
|
1487
|
+
* @summary Bulk delete resources.
|
|
1488
|
+
* @request DELETE:/layers
|
|
1489
|
+
* @response `200` Success
|
|
1490
|
+
*/
|
|
1491
|
+
|
|
1492
|
+
}, {
|
|
1493
|
+
key: "deleteResources",
|
|
1494
|
+
value: function deleteResources(query) {
|
|
1495
|
+
return this.http.delete("/layers", null, query).json();
|
|
1496
|
+
}
|
|
1444
1497
|
/**
|
|
1445
1498
|
* No description
|
|
1446
1499
|
*
|
|
@@ -2467,6 +2520,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2467
2520
|
value: function setPermissionsBatch(data) {
|
|
2468
2521
|
return this.http.put("/tables", data).then(() => {});
|
|
2469
2522
|
}
|
|
2523
|
+
/**
|
|
2524
|
+
* No description
|
|
2525
|
+
*
|
|
2526
|
+
* @tags Tables
|
|
2527
|
+
* @name DeleteResources
|
|
2528
|
+
* @operationId TablesController_DeleteResources
|
|
2529
|
+
* @summary Bulk delete resources.
|
|
2530
|
+
* @request DELETE:/tables
|
|
2531
|
+
* @response `200` Success
|
|
2532
|
+
*/
|
|
2533
|
+
|
|
2534
|
+
}, {
|
|
2535
|
+
key: "deleteResources",
|
|
2536
|
+
value: function deleteResources(query) {
|
|
2537
|
+
return this.http.delete("/tables", null, query).json();
|
|
2538
|
+
}
|
|
2470
2539
|
/**
|
|
2471
2540
|
* No description
|
|
2472
2541
|
*
|
|
@@ -2932,6 +3001,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
2932
3001
|
value: function setPermissionsBatch(data) {
|
|
2933
3002
|
return this.http.put("/projects", data).then(() => {});
|
|
2934
3003
|
}
|
|
3004
|
+
/**
|
|
3005
|
+
* No description
|
|
3006
|
+
*
|
|
3007
|
+
* @tags Projects
|
|
3008
|
+
* @name DeleteResources
|
|
3009
|
+
* @operationId ProjectsController_DeleteResources
|
|
3010
|
+
* @summary Bulk delete resources.
|
|
3011
|
+
* @request DELETE:/projects
|
|
3012
|
+
* @response `200` Success
|
|
3013
|
+
*/
|
|
3014
|
+
|
|
3015
|
+
}, {
|
|
3016
|
+
key: "deleteResources",
|
|
3017
|
+
value: function deleteResources(query) {
|
|
3018
|
+
return this.http.delete("/projects", null, query).json();
|
|
3019
|
+
}
|
|
2935
3020
|
/**
|
|
2936
3021
|
* No description
|
|
2937
3022
|
*
|
|
@@ -6110,6 +6195,74 @@ let Names = /*#__PURE__*/function () {
|
|
|
6110
6195
|
return Names;
|
|
6111
6196
|
}();
|
|
6112
6197
|
|
|
6198
|
+
/**
|
|
6199
|
+
* @title Spatial Processing Core API
|
|
6200
|
+
* @version v0.6.0
|
|
6201
|
+
* @baseUrl /sp
|
|
6202
|
+
*/
|
|
6203
|
+
|
|
6204
|
+
let IceRouterService = /*#__PURE__*/function (_Service) {
|
|
6205
|
+
_inherits(IceRouterService, _Service);
|
|
6206
|
+
|
|
6207
|
+
var _super = /*#__PURE__*/_createSuper(IceRouterService);
|
|
6208
|
+
|
|
6209
|
+
function IceRouterService() {
|
|
6210
|
+
_classCallCheck(this, IceRouterService);
|
|
6211
|
+
|
|
6212
|
+
return _super.apply(this, arguments);
|
|
6213
|
+
}
|
|
6214
|
+
|
|
6215
|
+
_createClass(IceRouterService, [{
|
|
6216
|
+
key: "startTask",
|
|
6217
|
+
|
|
6218
|
+
/**
|
|
6219
|
+
* No description
|
|
6220
|
+
*
|
|
6221
|
+
* @tags IceRouter
|
|
6222
|
+
* @name StartTask
|
|
6223
|
+
* @operationId IceRouterController_StartTask
|
|
6224
|
+
* @summary Start route build between start and end points.
|
|
6225
|
+
* @request POST:/ice-router/tasks
|
|
6226
|
+
* @response `200` Success
|
|
6227
|
+
*/
|
|
6228
|
+
value: function startTask(data) {
|
|
6229
|
+
return this.http.post("/ice-router/tasks", data).text();
|
|
6230
|
+
}
|
|
6231
|
+
/**
|
|
6232
|
+
* No description
|
|
6233
|
+
*
|
|
6234
|
+
* @tags IceRouter
|
|
6235
|
+
* @name GetResult
|
|
6236
|
+
* @operationId IceRouterController_GetResult
|
|
6237
|
+
* @summary Get task result.
|
|
6238
|
+
* @request GET:/ice-router/tasks/{id}
|
|
6239
|
+
* @response `200` Success
|
|
6240
|
+
*/
|
|
6241
|
+
|
|
6242
|
+
}, {
|
|
6243
|
+
key: "getResult",
|
|
6244
|
+
value: function getResult(id) {
|
|
6245
|
+
return this.http.get("/ice-router/tasks/" + id).json();
|
|
6246
|
+
}
|
|
6247
|
+
}]);
|
|
6248
|
+
|
|
6249
|
+
return IceRouterService;
|
|
6250
|
+
}(Service);
|
|
6251
|
+
|
|
6252
|
+
let IceRouter = /*#__PURE__*/function (_IceRouterService) {
|
|
6253
|
+
_inherits(IceRouter, _IceRouterService);
|
|
6254
|
+
|
|
6255
|
+
var _super = /*#__PURE__*/_createSuper(IceRouter);
|
|
6256
|
+
|
|
6257
|
+
function IceRouter() {
|
|
6258
|
+
_classCallCheck(this, IceRouter);
|
|
6259
|
+
|
|
6260
|
+
return _super.apply(this, arguments);
|
|
6261
|
+
}
|
|
6262
|
+
|
|
6263
|
+
return IceRouter;
|
|
6264
|
+
}(IceRouterService);
|
|
6265
|
+
|
|
6113
6266
|
/**
|
|
6114
6267
|
* @title Spatial Processing Core API
|
|
6115
6268
|
* @version v0.6.0
|
|
@@ -6321,6 +6474,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6321
6474
|
_this.namespace = new Namespace(_this.http);
|
|
6322
6475
|
_this.external = new External(_this.http);
|
|
6323
6476
|
_this.clientSettings = new ClientSettings(_this.http);
|
|
6477
|
+
_this.iceRouter = new IceRouter(_this.http);
|
|
6324
6478
|
_this.names = new Names({
|
|
6325
6479
|
account: _this.account
|
|
6326
6480
|
});
|
|
@@ -7098,6 +7252,7 @@ exports.GEOCODE_PROVIDER = GEOCODE_PROVIDER;
|
|
|
7098
7252
|
exports.General = General;
|
|
7099
7253
|
exports.Geocode = Geocode;
|
|
7100
7254
|
exports.HttpClient = HttpClient;
|
|
7255
|
+
exports.IceRouter = IceRouter;
|
|
7101
7256
|
exports.Import = Import;
|
|
7102
7257
|
exports.Layers = Layers;
|
|
7103
7258
|
exports.LayersManager = LayersManager;
|