@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.esm.js CHANGED
@@ -209,8 +209,21 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
209
209
  }
210
210
 
211
211
  _createClass(BulkOperationsService, [{
212
- key: "batchAddResourcesToCatalog",
212
+ key: "batchUpdateCatalogResources",
213
213
 
214
+ /**
215
+ * No description
216
+ *
217
+ * @tags BulkOperations
218
+ * @name BatchUpdateCatalogResources
219
+ * @operationId BulkOperationsController_BatchUpdateCatalogResources
220
+ * @summary Overrides resources in catalog.
221
+ * @request PUT:/bulk/catalog/updateResources
222
+ * @response `200` Success
223
+ */
224
+ value: function batchUpdateCatalogResources(data) {
225
+ return this.http.put("/bulk/catalog/updateResources", data).json();
226
+ }
214
227
  /**
215
228
  * No description
216
229
  *
@@ -221,6 +234,9 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
221
234
  * @request POST:/bulk/catalog/addResources
222
235
  * @response `200` Success
223
236
  */
237
+
238
+ }, {
239
+ key: "batchAddResourcesToCatalog",
224
240
  value: function batchAddResourcesToCatalog(data) {
225
241
  return this.http.post("/bulk/catalog/addResources", data).json();
226
242
  }
@@ -287,6 +303,11 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
287
303
  value: function deleteFromCatalog(data) {
288
304
  return this.batchDeleteResourcesFromCatalog(data);
289
305
  }
306
+ }, {
307
+ key: "updateCatalogResources",
308
+ value: function updateCatalogResources(data) {
309
+ return this.batchUpdateCatalogResources(data);
310
+ }
290
311
  }]);
291
312
 
292
313
  return BulkOperations;
@@ -310,8 +331,21 @@ let SecurityService = /*#__PURE__*/function (_Service) {
310
331
  }
311
332
 
312
333
  _createClass(SecurityService, [{
313
- key: "findUserByName",
334
+ key: "findUserByNameByRoles",
314
335
 
336
+ /**
337
+ * No description
338
+ *
339
+ * @tags SecurityService
340
+ * @name FindUserByNameByRoles
341
+ * @operationId SecurityServiceController_FindUserByNameByRoles
342
+ * @summary Get users list with given roles list.
343
+ * @request GET:/security/findUsersWithRoles
344
+ * @response `200` Success
345
+ */
346
+ value: function findUserByNameByRoles(query) {
347
+ return this.http.get("/security/findUsersWithRoles", query).json();
348
+ }
315
349
  /**
316
350
  * No description
317
351
  *
@@ -322,6 +356,9 @@ let SecurityService = /*#__PURE__*/function (_Service) {
322
356
  * @request GET:/security/users
323
357
  * @response `200` Success
324
358
  */
359
+
360
+ }, {
361
+ key: "findUserByName",
325
362
  value: function findUserByName(query) {
326
363
  return this.http.get("/security/users", query).json();
327
364
  }
@@ -1437,6 +1474,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
1437
1474
  value: function setPermissionsBatch(data) {
1438
1475
  return this.http.put("/layers", data).then(() => {});
1439
1476
  }
1477
+ /**
1478
+ * No description
1479
+ *
1480
+ * @tags Layers
1481
+ * @name DeleteResources
1482
+ * @operationId LayersController_DeleteResources
1483
+ * @summary Bulk delete resources.
1484
+ * @request DELETE:/layers
1485
+ * @response `200` Success
1486
+ */
1487
+
1488
+ }, {
1489
+ key: "deleteResources",
1490
+ value: function deleteResources(query) {
1491
+ return this.http.delete("/layers", null, query).json();
1492
+ }
1440
1493
  /**
1441
1494
  * No description
1442
1495
  *
@@ -2463,6 +2516,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
2463
2516
  value: function setPermissionsBatch(data) {
2464
2517
  return this.http.put("/tables", data).then(() => {});
2465
2518
  }
2519
+ /**
2520
+ * No description
2521
+ *
2522
+ * @tags Tables
2523
+ * @name DeleteResources
2524
+ * @operationId TablesController_DeleteResources
2525
+ * @summary Bulk delete resources.
2526
+ * @request DELETE:/tables
2527
+ * @response `200` Success
2528
+ */
2529
+
2530
+ }, {
2531
+ key: "deleteResources",
2532
+ value: function deleteResources(query) {
2533
+ return this.http.delete("/tables", null, query).json();
2534
+ }
2466
2535
  /**
2467
2536
  * No description
2468
2537
  *
@@ -2928,6 +2997,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
2928
2997
  value: function setPermissionsBatch(data) {
2929
2998
  return this.http.put("/projects", data).then(() => {});
2930
2999
  }
3000
+ /**
3001
+ * No description
3002
+ *
3003
+ * @tags Projects
3004
+ * @name DeleteResources
3005
+ * @operationId ProjectsController_DeleteResources
3006
+ * @summary Bulk delete resources.
3007
+ * @request DELETE:/projects
3008
+ * @response `200` Success
3009
+ */
3010
+
3011
+ }, {
3012
+ key: "deleteResources",
3013
+ value: function deleteResources(query) {
3014
+ return this.http.delete("/projects", null, query).json();
3015
+ }
2931
3016
  /**
2932
3017
  * No description
2933
3018
  *
@@ -6111,6 +6196,74 @@ let Names = /*#__PURE__*/function () {
6111
6196
  return Names;
6112
6197
  }();
6113
6198
 
6199
+ /**
6200
+ * @title Spatial Processing Core API
6201
+ * @version v0.6.0
6202
+ * @baseUrl /sp
6203
+ */
6204
+
6205
+ let IceRouterService = /*#__PURE__*/function (_Service) {
6206
+ _inherits(IceRouterService, _Service);
6207
+
6208
+ var _super = /*#__PURE__*/_createSuper(IceRouterService);
6209
+
6210
+ function IceRouterService() {
6211
+ _classCallCheck(this, IceRouterService);
6212
+
6213
+ return _super.apply(this, arguments);
6214
+ }
6215
+
6216
+ _createClass(IceRouterService, [{
6217
+ key: "startTask",
6218
+
6219
+ /**
6220
+ * No description
6221
+ *
6222
+ * @tags IceRouter
6223
+ * @name StartTask
6224
+ * @operationId IceRouterController_StartTask
6225
+ * @summary Start route build between start and end points.
6226
+ * @request POST:/ice-router/tasks
6227
+ * @response `200` Success
6228
+ */
6229
+ value: function startTask(data) {
6230
+ return this.http.post("/ice-router/tasks", data).text();
6231
+ }
6232
+ /**
6233
+ * No description
6234
+ *
6235
+ * @tags IceRouter
6236
+ * @name GetResult
6237
+ * @operationId IceRouterController_GetResult
6238
+ * @summary Get task result.
6239
+ * @request GET:/ice-router/tasks/{id}
6240
+ * @response `200` Success
6241
+ */
6242
+
6243
+ }, {
6244
+ key: "getResult",
6245
+ value: function getResult(id) {
6246
+ return this.http.get("/ice-router/tasks/" + id).json();
6247
+ }
6248
+ }]);
6249
+
6250
+ return IceRouterService;
6251
+ }(Service);
6252
+
6253
+ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
6254
+ _inherits(IceRouter, _IceRouterService);
6255
+
6256
+ var _super = /*#__PURE__*/_createSuper(IceRouter);
6257
+
6258
+ function IceRouter() {
6259
+ _classCallCheck(this, IceRouter);
6260
+
6261
+ return _super.apply(this, arguments);
6262
+ }
6263
+
6264
+ return IceRouter;
6265
+ }(IceRouterService);
6266
+
6114
6267
  /**
6115
6268
  * @title Spatial Processing Core API
6116
6269
  * @version v0.6.0
@@ -6326,6 +6479,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6326
6479
  _this.namespace = new Namespace(_this.http);
6327
6480
  _this.external = new External(_this.http);
6328
6481
  _this.clientSettings = new ClientSettings(_this.http);
6482
+ _this.iceRouter = new IceRouter(_this.http);
6329
6483
  _this.names = new Names({
6330
6484
  account: _this.account
6331
6485
  });
@@ -6755,8 +6909,7 @@ function isFeatureLayer(layer) {
6755
6909
  */
6756
6910
 
6757
6911
  /**
6758
- * The type of aggregation function for storage query.
6759
- The aggregation is applied to the source attribute and the result will write in the target attribute.
6912
+ *
6760
6913
 
6761
6914
  None
6762
6915
 
@@ -7188,7 +7341,7 @@ var FontWeight;
7188
7341
  FontWeight["UltraBlack"] = "UltraBlack";
7189
7342
  })(FontWeight || (FontWeight = {}));
7190
7343
  /**
7191
- * Type of the geometry.
7344
+ *
7192
7345
 
7193
7346
  unknown
7194
7347
 
@@ -7332,7 +7485,7 @@ var LineEndingType;
7332
7485
  LineEndingType["FilledCircle"] = "filledCircle";
7333
7486
  })(LineEndingType || (LineEndingType = {}));
7334
7487
  /**
7335
- * Boolean operation between polygons.
7488
+ *
7336
7489
 
7337
7490
  Unknown
7338
7491
 
@@ -7587,5 +7740,5 @@ var ToolStorageType;
7587
7740
  ToolStorageType["LayersStorage"] = "layersStorage";
7588
7741
  })(ToolStorageType || (ToolStorageType = {}));
7589
7742
 
7590
- export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, BulkOperations, ClassificationType, ClientSettings, CombineType, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ElementType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, HttpClient, HttpStatusCode, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, ToolStatus, ToolStorageType, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
7743
+ export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, BulkOperations, ClassificationType, ClientSettings, CombineType, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ElementType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, HttpClient, HttpStatusCode, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, ToolStatus, ToolStorageType, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
7591
7744
  //# sourceMappingURL=api.esm.js.map