@evergis/api 3.0.46 → 3.0.50

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,53 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
209
209
  }
210
210
 
211
211
  _createClass(BulkOperationsService, [{
212
- key: "batchResourcesPermissionsSet",
212
+ key: "batchUpdateCatalogResources",
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
+ }
227
+ /**
228
+ * No description
229
+ *
230
+ * @tags BulkOperations
231
+ * @name BatchAddResourcesToCatalog
232
+ * @operationId BulkOperationsController_BatchAddResourcesToCatalog
233
+ * @summary Add resources to catalog.
234
+ * @request POST:/bulk/catalog/addResources
235
+ * @response `200` Success
236
+ */
213
237
 
238
+ }, {
239
+ key: "batchAddResourcesToCatalog",
240
+ value: function batchAddResourcesToCatalog(data) {
241
+ return this.http.post("/bulk/catalog/addResources", data).json();
242
+ }
243
+ /**
244
+ * No description
245
+ *
246
+ * @tags BulkOperations
247
+ * @name BatchDeleteResourcesFromCatalog
248
+ * @operationId BulkOperationsController_BatchDeleteResourcesFromCatalog
249
+ * @summary Delete resources to catalog.
250
+ * @request POST:/bulk/catalog/removeResources
251
+ * @response `200` Success
252
+ */
253
+
254
+ }, {
255
+ key: "batchDeleteResourcesFromCatalog",
256
+ value: function batchDeleteResourcesFromCatalog(data) {
257
+ return this.http.post("/bulk/catalog/removeResources", data).json();
258
+ }
214
259
  /**
215
260
  * No description
216
261
  *
@@ -221,8 +266,11 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
221
266
  * @request PUT:/bulk/resources/permissions
222
267
  * @response `200` Success
223
268
  */
269
+
270
+ }, {
271
+ key: "batchResourcesPermissionsSet",
224
272
  value: function batchResourcesPermissionsSet(data) {
225
- return this.http.put("/bulk/resources/permissions", data).then(() => {});
273
+ return this.http.put("/bulk/resources/permissions", data).json();
226
274
  }
227
275
  }]);
228
276
 
@@ -245,6 +293,21 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
245
293
  value: function updatePermissions(data) {
246
294
  return this.batchResourcesPermissionsSet(data);
247
295
  }
296
+ }, {
297
+ key: "addToCatalog",
298
+ value: function addToCatalog(data) {
299
+ return this.batchAddResourcesToCatalog(data);
300
+ }
301
+ }, {
302
+ key: "deleteFromCatalog",
303
+ value: function deleteFromCatalog(data) {
304
+ return this.batchDeleteResourcesFromCatalog(data);
305
+ }
306
+ }, {
307
+ key: "updateCatalogResources",
308
+ value: function updateCatalogResources(data) {
309
+ return this.batchUpdateCatalogResources(data);
310
+ }
248
311
  }]);
249
312
 
250
313
  return BulkOperations;
@@ -4708,14 +4771,14 @@ let AccountService = /*#__PURE__*/function (_Service) {
4708
4771
  * @name SetUserPassword
4709
4772
  * @operationId AccountController_SetUserPassword
4710
4773
  * @summary Set user password.
4711
- * @request PATCH:/account/user/{username}/password
4774
+ * @request PATCH:/account/password/set
4712
4775
  * @response `200` Success
4713
4776
  */
4714
4777
 
4715
4778
  }, {
4716
4779
  key: "setUserPassword",
4717
- value: function setUserPassword(username, data) {
4718
- return this.http.patch("/account/user/" + username + "/password", data).then(() => {});
4780
+ value: function setUserPassword(data) {
4781
+ return this.http.patch("/account/password/set", data).then(() => {});
4719
4782
  }
4720
4783
  /**
4721
4784
  * No description
@@ -5063,7 +5126,10 @@ let Account = /*#__PURE__*/function (_AccountService) {
5063
5126
  }, {
5064
5127
  key: "setPassword",
5065
5128
  value: function setPassword(password) {
5066
- return this.setUserPassword(this.username, password);
5129
+ return this.setUserPassword({
5130
+ username: this.username,
5131
+ password
5132
+ });
5067
5133
  }
5068
5134
  }, {
5069
5135
  key: "username",
@@ -6710,8 +6776,7 @@ function isFeatureLayer(layer) {
6710
6776
  */
6711
6777
 
6712
6778
  /**
6713
- * The type of aggregation function for storage query.
6714
- The aggregation is applied to the source attribute and the result will write in the target attribute.
6779
+ *
6715
6780
 
6716
6781
  None
6717
6782
 
@@ -7143,7 +7208,7 @@ var FontWeight;
7143
7208
  FontWeight["UltraBlack"] = "UltraBlack";
7144
7209
  })(FontWeight || (FontWeight = {}));
7145
7210
  /**
7146
- * Type of the geometry.
7211
+ *
7147
7212
 
7148
7213
  unknown
7149
7214
 
@@ -7287,7 +7352,7 @@ var LineEndingType;
7287
7352
  LineEndingType["FilledCircle"] = "filledCircle";
7288
7353
  })(LineEndingType || (LineEndingType = {}));
7289
7354
  /**
7290
- * Boolean operation between polygons.
7355
+ *
7291
7356
 
7292
7357
  Unknown
7293
7358