@evergis/api 3.0.48 → 3.0.49

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.
@@ -6,6 +6,17 @@ import { Service } from './Service';
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class BulkOperationsService extends Service {
9
+ /**
10
+ * No description
11
+ *
12
+ * @tags BulkOperations
13
+ * @name BatchUpdateCatalogResources
14
+ * @operationId BulkOperationsController_BatchUpdateCatalogResources
15
+ * @summary Overrides resources in catalog.
16
+ * @request PUT:/bulk/catalog/updateResources
17
+ * @response `200` Success
18
+ */
19
+ batchUpdateCatalogResources(data: BatchResourcesCatalogDc): Promise<BulkOperationResultDc[]>;
9
20
  /**
10
21
  * No description
11
22
  *
@@ -3364,11 +3364,8 @@ export declare enum ResourceTypeLink {
3364
3364
  export interface RoleInfoDc {
3365
3365
  /** Username. */
3366
3366
  name?: string;
3367
- /**
3368
- * The number of users in the role.
3369
- * @format int32
3370
- */
3371
- usersInRole?: number;
3367
+ /** The number of users in the role. */
3368
+ users?: string[];
3372
3369
  /**
3373
3370
  * Gets or sets date and time of creation.
3374
3371
  * @format date-time
@@ -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;