@evergis/api 3.0.47 → 3.0.51

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.
@@ -215,8 +215,21 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
215
215
  }
216
216
 
217
217
  _createClass(BulkOperationsService, [{
218
- key: "batchAddResourcesToCatalog",
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;
@@ -6110,6 +6131,74 @@ let Names = /*#__PURE__*/function () {
6110
6131
  return Names;
6111
6132
  }();
6112
6133
 
6134
+ /**
6135
+ * @title Spatial Processing Core API
6136
+ * @version v0.6.0
6137
+ * @baseUrl /sp
6138
+ */
6139
+
6140
+ let IceRouterService = /*#__PURE__*/function (_Service) {
6141
+ _inherits(IceRouterService, _Service);
6142
+
6143
+ var _super = /*#__PURE__*/_createSuper(IceRouterService);
6144
+
6145
+ function IceRouterService() {
6146
+ _classCallCheck(this, IceRouterService);
6147
+
6148
+ return _super.apply(this, arguments);
6149
+ }
6150
+
6151
+ _createClass(IceRouterService, [{
6152
+ key: "startTask",
6153
+
6154
+ /**
6155
+ * No description
6156
+ *
6157
+ * @tags IceRouter
6158
+ * @name StartTask
6159
+ * @operationId IceRouterController_StartTask
6160
+ * @summary Start route build between start and end points.
6161
+ * @request POST:/ice-router/tasks
6162
+ * @response `200` Success
6163
+ */
6164
+ value: function startTask(data) {
6165
+ return this.http.post("/ice-router/tasks", data).text();
6166
+ }
6167
+ /**
6168
+ * No description
6169
+ *
6170
+ * @tags IceRouter
6171
+ * @name GetResult
6172
+ * @operationId IceRouterController_GetResult
6173
+ * @summary Get task result.
6174
+ * @request GET:/ice-router/tasks/{id}
6175
+ * @response `200` Success
6176
+ */
6177
+
6178
+ }, {
6179
+ key: "getResult",
6180
+ value: function getResult(id) {
6181
+ return this.http.get("/ice-router/tasks/" + id).json();
6182
+ }
6183
+ }]);
6184
+
6185
+ return IceRouterService;
6186
+ }(Service);
6187
+
6188
+ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
6189
+ _inherits(IceRouter, _IceRouterService);
6190
+
6191
+ var _super = /*#__PURE__*/_createSuper(IceRouter);
6192
+
6193
+ function IceRouter() {
6194
+ _classCallCheck(this, IceRouter);
6195
+
6196
+ return _super.apply(this, arguments);
6197
+ }
6198
+
6199
+ return IceRouter;
6200
+ }(IceRouterService);
6201
+
6113
6202
  /**
6114
6203
  * @title Spatial Processing Core API
6115
6204
  * @version v0.6.0
@@ -6321,6 +6410,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6321
6410
  _this.namespace = new Namespace(_this.http);
6322
6411
  _this.external = new External(_this.http);
6323
6412
  _this.clientSettings = new ClientSettings(_this.http);
6413
+ _this.iceRouter = new IceRouter(_this.http);
6324
6414
  _this.names = new Names({
6325
6415
  account: _this.account
6326
6416
  });
@@ -7098,6 +7188,7 @@ exports.GEOCODE_PROVIDER = GEOCODE_PROVIDER;
7098
7188
  exports.General = General;
7099
7189
  exports.Geocode = Geocode;
7100
7190
  exports.HttpClient = HttpClient;
7191
+ exports.IceRouter = IceRouter;
7101
7192
  exports.Import = Import;
7102
7193
  exports.Layers = Layers;
7103
7194
  exports.LayersManager = LayersManager;