@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.
@@ -215,8 +215,53 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
215
215
  }
216
216
 
217
217
  _createClass(BulkOperationsService, [{
218
- key: "batchResourcesPermissionsSet",
218
+ key: "batchUpdateCatalogResources",
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
+ }
233
+ /**
234
+ * No description
235
+ *
236
+ * @tags BulkOperations
237
+ * @name BatchAddResourcesToCatalog
238
+ * @operationId BulkOperationsController_BatchAddResourcesToCatalog
239
+ * @summary Add resources to catalog.
240
+ * @request POST:/bulk/catalog/addResources
241
+ * @response `200` Success
242
+ */
243
+
244
+ }, {
245
+ key: "batchAddResourcesToCatalog",
246
+ value: function batchAddResourcesToCatalog(data) {
247
+ return this.http.post("/bulk/catalog/addResources", data).json();
248
+ }
249
+ /**
250
+ * No description
251
+ *
252
+ * @tags BulkOperations
253
+ * @name BatchDeleteResourcesFromCatalog
254
+ * @operationId BulkOperationsController_BatchDeleteResourcesFromCatalog
255
+ * @summary Delete resources to catalog.
256
+ * @request POST:/bulk/catalog/removeResources
257
+ * @response `200` Success
258
+ */
219
259
 
260
+ }, {
261
+ key: "batchDeleteResourcesFromCatalog",
262
+ value: function batchDeleteResourcesFromCatalog(data) {
263
+ return this.http.post("/bulk/catalog/removeResources", data).json();
264
+ }
220
265
  /**
221
266
  * No description
222
267
  *
@@ -227,8 +272,11 @@ let BulkOperationsService = /*#__PURE__*/function (_Service) {
227
272
  * @request PUT:/bulk/resources/permissions
228
273
  * @response `200` Success
229
274
  */
275
+
276
+ }, {
277
+ key: "batchResourcesPermissionsSet",
230
278
  value: function batchResourcesPermissionsSet(data) {
231
- return this.http.put("/bulk/resources/permissions", data).then(() => {});
279
+ return this.http.put("/bulk/resources/permissions", data).json();
232
280
  }
233
281
  }]);
234
282
 
@@ -251,6 +299,21 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
251
299
  value: function updatePermissions(data) {
252
300
  return this.batchResourcesPermissionsSet(data);
253
301
  }
302
+ }, {
303
+ key: "addToCatalog",
304
+ value: function addToCatalog(data) {
305
+ return this.batchAddResourcesToCatalog(data);
306
+ }
307
+ }, {
308
+ key: "deleteFromCatalog",
309
+ value: function deleteFromCatalog(data) {
310
+ return this.batchDeleteResourcesFromCatalog(data);
311
+ }
312
+ }, {
313
+ key: "updateCatalogResources",
314
+ value: function updateCatalogResources(data) {
315
+ return this.batchUpdateCatalogResources(data);
316
+ }
254
317
  }]);
255
318
 
256
319
  return BulkOperations;
@@ -4710,14 +4773,14 @@ let AccountService = /*#__PURE__*/function (_Service) {
4710
4773
  * @name SetUserPassword
4711
4774
  * @operationId AccountController_SetUserPassword
4712
4775
  * @summary Set user password.
4713
- * @request PATCH:/account/user/{username}/password
4776
+ * @request PATCH:/account/password/set
4714
4777
  * @response `200` Success
4715
4778
  */
4716
4779
 
4717
4780
  }, {
4718
4781
  key: "setUserPassword",
4719
- value: function setUserPassword(username, data) {
4720
- return this.http.patch("/account/user/" + username + "/password", data).then(() => {});
4782
+ value: function setUserPassword(data) {
4783
+ return this.http.patch("/account/password/set", data).then(() => {});
4721
4784
  }
4722
4785
  /**
4723
4786
  * No description
@@ -5065,7 +5128,10 @@ let Account = /*#__PURE__*/function (_AccountService) {
5065
5128
  }, {
5066
5129
  key: "setPassword",
5067
5130
  value: function setPassword(password) {
5068
- return this.setUserPassword(this.username, password);
5131
+ return this.setUserPassword({
5132
+ username: this.username,
5133
+ password
5134
+ });
5069
5135
  }
5070
5136
  }, {
5071
5137
  key: "username",