@evergis/api 3.0.45 → 3.0.46

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
@@ -191,6 +191,65 @@ let Service = function Service(http) {
191
191
  this.http = http;
192
192
  };
193
193
 
194
+ /**
195
+ * @title Spatial Processing Core API
196
+ * @version v0.6.0
197
+ * @baseUrl /sp
198
+ */
199
+
200
+ let BulkOperationsService = /*#__PURE__*/function (_Service) {
201
+ _inherits(BulkOperationsService, _Service);
202
+
203
+ var _super = /*#__PURE__*/_createSuper(BulkOperationsService);
204
+
205
+ function BulkOperationsService() {
206
+ _classCallCheck(this, BulkOperationsService);
207
+
208
+ return _super.apply(this, arguments);
209
+ }
210
+
211
+ _createClass(BulkOperationsService, [{
212
+ key: "batchResourcesPermissionsSet",
213
+
214
+ /**
215
+ * No description
216
+ *
217
+ * @tags BulkOperations
218
+ * @name BatchResourcesPermissionsSet
219
+ * @operationId BulkOperationsController_BatchResourcesPermissionsSet
220
+ * @summary Perform resources set acl access batch operation.
221
+ * @request PUT:/bulk/resources/permissions
222
+ * @response `200` Success
223
+ */
224
+ value: function batchResourcesPermissionsSet(data) {
225
+ return this.http.put("/bulk/resources/permissions", data).then(() => {});
226
+ }
227
+ }]);
228
+
229
+ return BulkOperationsService;
230
+ }(Service);
231
+
232
+ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
233
+ _inherits(BulkOperations, _BulkOperationsServic);
234
+
235
+ var _super = /*#__PURE__*/_createSuper(BulkOperations);
236
+
237
+ function BulkOperations() {
238
+ _classCallCheck(this, BulkOperations);
239
+
240
+ return _super.apply(this, arguments);
241
+ }
242
+
243
+ _createClass(BulkOperations, [{
244
+ key: "updatePermissions",
245
+ value: function updatePermissions(data) {
246
+ return this.batchResourcesPermissionsSet(data);
247
+ }
248
+ }]);
249
+
250
+ return BulkOperations;
251
+ }(BulkOperationsService);
252
+
194
253
  /**
195
254
  * @title Spatial Processing Core API
196
255
  * @version v0.6.0
@@ -6208,6 +6267,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6208
6267
  _this.styles = new Styles(_this.http);
6209
6268
  _this.account = new Account(_this.http);
6210
6269
  _this.accountPreview = new AccountPreview(_this.http, _this.account);
6270
+ _this.bulk = new BulkOperations(_this.http);
6211
6271
  _this.security = new Security(_this.http, _this.account);
6212
6272
  _this.notification = new Notification(_this.http);
6213
6273
  _this.scheduler = new Scheduler(_this.http);
@@ -7482,5 +7542,5 @@ var ToolStorageType;
7482
7542
  ToolStorageType["LayersStorage"] = "layersStorage";
7483
7543
  })(ToolStorageType || (ToolStorageType = {}));
7484
7544
 
7485
- export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, 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 };
7545
+ 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 };
7486
7546
  //# sourceMappingURL=api.esm.js.map