@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.
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;
@@ -6111,6 +6132,74 @@ let Names = /*#__PURE__*/function () {
6111
6132
  return Names;
6112
6133
  }();
6113
6134
 
6135
+ /**
6136
+ * @title Spatial Processing Core API
6137
+ * @version v0.6.0
6138
+ * @baseUrl /sp
6139
+ */
6140
+
6141
+ let IceRouterService = /*#__PURE__*/function (_Service) {
6142
+ _inherits(IceRouterService, _Service);
6143
+
6144
+ var _super = /*#__PURE__*/_createSuper(IceRouterService);
6145
+
6146
+ function IceRouterService() {
6147
+ _classCallCheck(this, IceRouterService);
6148
+
6149
+ return _super.apply(this, arguments);
6150
+ }
6151
+
6152
+ _createClass(IceRouterService, [{
6153
+ key: "startTask",
6154
+
6155
+ /**
6156
+ * No description
6157
+ *
6158
+ * @tags IceRouter
6159
+ * @name StartTask
6160
+ * @operationId IceRouterController_StartTask
6161
+ * @summary Start route build between start and end points.
6162
+ * @request POST:/ice-router/tasks
6163
+ * @response `200` Success
6164
+ */
6165
+ value: function startTask(data) {
6166
+ return this.http.post("/ice-router/tasks", data).text();
6167
+ }
6168
+ /**
6169
+ * No description
6170
+ *
6171
+ * @tags IceRouter
6172
+ * @name GetResult
6173
+ * @operationId IceRouterController_GetResult
6174
+ * @summary Get task result.
6175
+ * @request GET:/ice-router/tasks/{id}
6176
+ * @response `200` Success
6177
+ */
6178
+
6179
+ }, {
6180
+ key: "getResult",
6181
+ value: function getResult(id) {
6182
+ return this.http.get("/ice-router/tasks/" + id).json();
6183
+ }
6184
+ }]);
6185
+
6186
+ return IceRouterService;
6187
+ }(Service);
6188
+
6189
+ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
6190
+ _inherits(IceRouter, _IceRouterService);
6191
+
6192
+ var _super = /*#__PURE__*/_createSuper(IceRouter);
6193
+
6194
+ function IceRouter() {
6195
+ _classCallCheck(this, IceRouter);
6196
+
6197
+ return _super.apply(this, arguments);
6198
+ }
6199
+
6200
+ return IceRouter;
6201
+ }(IceRouterService);
6202
+
6114
6203
  /**
6115
6204
  * @title Spatial Processing Core API
6116
6205
  * @version v0.6.0
@@ -6326,6 +6415,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6326
6415
  _this.namespace = new Namespace(_this.http);
6327
6416
  _this.external = new External(_this.http);
6328
6417
  _this.clientSettings = new ClientSettings(_this.http);
6418
+ _this.iceRouter = new IceRouter(_this.http);
6329
6419
  _this.names = new Names({
6330
6420
  account: _this.account
6331
6421
  });
@@ -6755,8 +6845,7 @@ function isFeatureLayer(layer) {
6755
6845
  */
6756
6846
 
6757
6847
  /**
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.
6848
+ *
6760
6849
 
6761
6850
  None
6762
6851
 
@@ -7188,7 +7277,7 @@ var FontWeight;
7188
7277
  FontWeight["UltraBlack"] = "UltraBlack";
7189
7278
  })(FontWeight || (FontWeight = {}));
7190
7279
  /**
7191
- * Type of the geometry.
7280
+ *
7192
7281
 
7193
7282
  unknown
7194
7283
 
@@ -7332,7 +7421,7 @@ var LineEndingType;
7332
7421
  LineEndingType["FilledCircle"] = "filledCircle";
7333
7422
  })(LineEndingType || (LineEndingType = {}));
7334
7423
  /**
7335
- * Boolean operation between polygons.
7424
+ *
7336
7425
 
7337
7426
  Unknown
7338
7427
 
@@ -7587,5 +7676,5 @@ var ToolStorageType;
7587
7676
  ToolStorageType["LayersStorage"] = "layersStorage";
7588
7677
  })(ToolStorageType || (ToolStorageType = {}));
7589
7678
 
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 };
7679
+ 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
7680
  //# sourceMappingURL=api.esm.js.map