@emilgroup/action-sdk-node 1.0.1-beta.31 → 1.0.1-beta.35

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.
Files changed (40) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/actions-api.ts +184 -219
  4. package/api/executions-api.ts +475 -0
  5. package/api.ts +2 -0
  6. package/dist/api/actions-api.d.ts +140 -166
  7. package/dist/api/actions-api.js +126 -141
  8. package/dist/api/executions-api.d.ts +272 -0
  9. package/dist/api/executions-api.js +456 -0
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/action-class.d.ts +38 -2
  13. package/dist/models/action-execution-class.d.ts +30 -0
  14. package/dist/models/create-action-request-dto.d.ts +31 -1
  15. package/dist/models/create-action-request-dto.js +6 -0
  16. package/dist/models/export-actions-as-yaml-response-class.d.ts +24 -0
  17. package/dist/models/export-actions-as-yaml-response-class.js +15 -0
  18. package/dist/models/import-actions-from-yaml-request-dto.d.ts +36 -0
  19. package/dist/models/import-actions-from-yaml-request-dto.js +15 -0
  20. package/dist/models/import-actions-from-yaml-response-class.d.ts +37 -0
  21. package/dist/models/import-actions-from-yaml-response-class.js +15 -0
  22. package/dist/models/index.d.ts +5 -0
  23. package/dist/models/index.js +5 -0
  24. package/dist/models/trigger-action-request-dto.d.ts +62 -0
  25. package/dist/models/trigger-action-request-dto.js +15 -0
  26. package/dist/models/trigger-action-response-class.d.ts +25 -0
  27. package/dist/models/trigger-action-response-class.js +15 -0
  28. package/dist/models/update-action-request-dto.d.ts +30 -0
  29. package/dist/models/update-action-request-dto.js +6 -0
  30. package/models/action-class.ts +38 -2
  31. package/models/action-execution-class.ts +30 -0
  32. package/models/create-action-request-dto.ts +34 -1
  33. package/models/export-actions-as-yaml-response-class.ts +30 -0
  34. package/models/import-actions-from-yaml-request-dto.ts +42 -0
  35. package/models/import-actions-from-yaml-response-class.ts +43 -0
  36. package/models/index.ts +5 -0
  37. package/models/trigger-action-request-dto.ts +66 -0
  38. package/models/trigger-action-response-class.ts +31 -0
  39. package/models/update-action-request-dto.ts +33 -0
  40. package/package.json +1 -1
@@ -97,7 +97,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * Creates a new action configuration
100
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
101
101
  * @summary Create the action
102
102
  * @param {CreateActionRequestDto} createActionRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Deletes an action configuration by its code
149
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
150
150
  * @summary Delete the action
151
151
  * @param {string} code Action code
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -194,24 +194,28 @@ var ActionsApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Retrieves an action configuration by its code
198
- * @summary Retrieve the action
199
- * @param {string} code Action code
197
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
198
+ * @summary Retrieve the entity-actions-yaml
199
+ * @param {string} productSlug Product slug
200
+ * @param {number} productVersionId Product version ID
200
201
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
202
+ * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
203
+ * @param {boolean} [includeDisabled] Include draft (disabled) actions
201
204
  * @param {*} [options] Override http request option.
202
205
  * @throws {RequiredError}
203
206
  */
204
- getAction: function (code, authorization, options) {
207
+ exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
205
208
  if (options === void 0) { options = {}; }
206
209
  return __awaiter(_this, void 0, void 0, function () {
207
210
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
208
211
  return __generator(this, function (_a) {
209
212
  switch (_a.label) {
210
213
  case 0:
211
- // verify required parameter 'code' is not null or undefined
212
- (0, common_1.assertParamExists)('getAction', 'code', code);
213
- localVarPath = "/actionservice/v1/actions/{code}"
214
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
214
+ // verify required parameter 'productSlug' is not null or undefined
215
+ (0, common_1.assertParamExists)('exportActionsAsYaml', 'productSlug', productSlug);
216
+ // verify required parameter 'productVersionId' is not null or undefined
217
+ (0, common_1.assertParamExists)('exportActionsAsYaml', 'productVersionId', productVersionId);
218
+ localVarPath = "/actionservice/v1/actions/entity-actions-yaml";
215
219
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
216
220
  if (configuration) {
217
221
  baseOptions = configuration.baseOptions;
@@ -227,6 +231,18 @@ var ActionsApiAxiosParamCreator = function (configuration) {
227
231
  // authentication bearer required
228
232
  // http bearer authentication required
229
233
  _a.sent();
234
+ if (productSlug !== undefined) {
235
+ localVarQueryParameter['productSlug'] = productSlug;
236
+ }
237
+ if (productVersionId !== undefined) {
238
+ localVarQueryParameter['productVersionId'] = productVersionId;
239
+ }
240
+ if (actionSlugs) {
241
+ localVarQueryParameter['actionSlugs'] = actionSlugs;
242
+ }
243
+ if (includeDisabled !== undefined) {
244
+ localVarQueryParameter['includeDisabled'] = includeDisabled;
245
+ }
230
246
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
231
247
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
232
248
  }
@@ -242,22 +258,25 @@ var ActionsApiAxiosParamCreator = function (configuration) {
242
258
  });
243
259
  },
244
260
  /**
245
- * Retrieves the latest action execution status by executionCode or correlationId
246
- * @summary Retrieve the actionExecution
261
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
262
+ * @summary Retrieve the action
263
+ * @param {string} code Action code
247
264
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
- * @param {string} [executionCode] Action execution code
249
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
265
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
250
266
  * @param {*} [options] Override http request option.
251
267
  * @throws {RequiredError}
252
268
  */
253
- getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
269
+ getAction: function (code, authorization, expand, options) {
254
270
  if (options === void 0) { options = {}; }
255
271
  return __awaiter(_this, void 0, void 0, function () {
256
272
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
257
273
  return __generator(this, function (_a) {
258
274
  switch (_a.label) {
259
275
  case 0:
260
- localVarPath = "/actionservice/v1/actions/executions/status";
276
+ // verify required parameter 'code' is not null or undefined
277
+ (0, common_1.assertParamExists)('getAction', 'code', code);
278
+ localVarPath = "/actionservice/v1/actions/{code}"
279
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
261
280
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
262
281
  if (configuration) {
263
282
  baseOptions = configuration.baseOptions;
@@ -273,11 +292,8 @@ var ActionsApiAxiosParamCreator = function (configuration) {
273
292
  // authentication bearer required
274
293
  // http bearer authentication required
275
294
  _a.sent();
276
- if (executionCode !== undefined) {
277
- localVarQueryParameter['executionCode'] = executionCode;
278
- }
279
- if (correlationId !== undefined) {
280
- localVarQueryParameter['correlationId'] = correlationId;
295
+ if (expand !== undefined) {
296
+ localVarQueryParameter['expand'] = expand;
281
297
  }
282
298
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
283
299
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
@@ -294,33 +310,29 @@ var ActionsApiAxiosParamCreator = function (configuration) {
294
310
  });
295
311
  },
296
312
  /**
297
- * Lists action executions (latest status per execution only) with optional filters
298
- * @summary List actionExecutions
313
+ * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
314
+ * @summary Update the entity-actions-yaml
315
+ * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
299
316
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
300
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
301
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
302
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
303
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
304
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
305
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
306
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
307
317
  * @param {*} [options] Override http request option.
308
318
  * @throws {RequiredError}
309
319
  */
310
- listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
320
+ importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
311
321
  if (options === void 0) { options = {}; }
312
322
  return __awaiter(_this, void 0, void 0, function () {
313
323
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
314
324
  return __generator(this, function (_a) {
315
325
  switch (_a.label) {
316
326
  case 0:
317
- localVarPath = "/actionservice/v1/actions/executions";
327
+ // verify required parameter 'importActionsFromYamlRequestDto' is not null or undefined
328
+ (0, common_1.assertParamExists)('importActionsFromYaml', 'importActionsFromYamlRequestDto', importActionsFromYamlRequestDto);
329
+ localVarPath = "/actionservice/v1/actions/entity-actions-yaml";
318
330
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
319
331
  if (configuration) {
320
332
  baseOptions = configuration.baseOptions;
321
333
  baseAccessToken = configuration.accessToken;
322
334
  }
323
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
335
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
324
336
  localVarHeaderParameter = {};
325
337
  localVarQueryParameter = {};
326
338
  // authentication bearer required
@@ -330,33 +342,14 @@ var ActionsApiAxiosParamCreator = function (configuration) {
330
342
  // authentication bearer required
331
343
  // http bearer authentication required
332
344
  _a.sent();
333
- if (pageSize !== undefined) {
334
- localVarQueryParameter['pageSize'] = pageSize;
335
- }
336
- if (pageToken !== undefined) {
337
- localVarQueryParameter['pageToken'] = pageToken;
338
- }
339
- if (filter !== undefined) {
340
- localVarQueryParameter['filter'] = filter;
341
- }
342
- if (search !== undefined) {
343
- localVarQueryParameter['search'] = search;
344
- }
345
- if (order !== undefined) {
346
- localVarQueryParameter['order'] = order;
347
- }
348
- if (expand !== undefined) {
349
- localVarQueryParameter['expand'] = expand;
350
- }
351
- if (filters !== undefined) {
352
- localVarQueryParameter['filters'] = filters;
353
- }
354
345
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
355
346
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
356
347
  }
348
+ localVarHeaderParameter['Content-Type'] = 'application/json';
357
349
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
358
350
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
359
351
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
352
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(importActionsFromYamlRequestDto, localVarRequestOptions, configuration);
360
353
  return [2 /*return*/, {
361
354
  url: (0, common_1.toPathString)(localVarUrlObj),
362
355
  options: localVarRequestOptions,
@@ -366,16 +359,16 @@ var ActionsApiAxiosParamCreator = function (configuration) {
366
359
  });
367
360
  },
368
361
  /**
369
- * Lists all action configurations with optional filters
362
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
370
363
  * @summary List actions
371
364
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
372
365
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
373
366
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
374
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
367
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
375
368
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
376
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
377
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
378
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
369
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
370
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
371
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
379
372
  * @param {*} [options] Override http request option.
380
373
  * @throws {RequiredError}
381
374
  */
@@ -438,7 +431,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
438
431
  });
439
432
  },
440
433
  /**
441
- * Updates an existing action configuration (patch semantics)
434
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
442
435
  * @summary Update the action
443
436
  * @param {string} code Action code
444
437
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -501,7 +494,7 @@ var ActionsApiFp = function (configuration) {
501
494
  var localVarAxiosParamCreator = (0, exports.ActionsApiAxiosParamCreator)(configuration);
502
495
  return {
503
496
  /**
504
- * Creates a new action configuration
497
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
505
498
  * @summary Create the action
506
499
  * @param {CreateActionRequestDto} createActionRequestDto
507
500
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -522,7 +515,7 @@ var ActionsApiFp = function (configuration) {
522
515
  });
523
516
  },
524
517
  /**
525
- * Deletes an action configuration by its code
518
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
526
519
  * @summary Delete the action
527
520
  * @param {string} code Action code
528
521
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -543,19 +536,22 @@ var ActionsApiFp = function (configuration) {
543
536
  });
544
537
  },
545
538
  /**
546
- * Retrieves an action configuration by its code
547
- * @summary Retrieve the action
548
- * @param {string} code Action code
539
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
540
+ * @summary Retrieve the entity-actions-yaml
541
+ * @param {string} productSlug Product slug
542
+ * @param {number} productVersionId Product version ID
549
543
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
544
+ * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
545
+ * @param {boolean} [includeDisabled] Include draft (disabled) actions
550
546
  * @param {*} [options] Override http request option.
551
547
  * @throws {RequiredError}
552
548
  */
553
- getAction: function (code, authorization, options) {
549
+ exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
554
550
  return __awaiter(this, void 0, void 0, function () {
555
551
  var localVarAxiosArgs;
556
552
  return __generator(this, function (_a) {
557
553
  switch (_a.label) {
558
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAction(code, authorization, options)];
554
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options)];
559
555
  case 1:
560
556
  localVarAxiosArgs = _a.sent();
561
557
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -564,20 +560,20 @@ var ActionsApiFp = function (configuration) {
564
560
  });
565
561
  },
566
562
  /**
567
- * Retrieves the latest action execution status by executionCode or correlationId
568
- * @summary Retrieve the actionExecution
563
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
564
+ * @summary Retrieve the action
565
+ * @param {string} code Action code
569
566
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
570
- * @param {string} [executionCode] Action execution code
571
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
567
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
572
568
  * @param {*} [options] Override http request option.
573
569
  * @throws {RequiredError}
574
570
  */
575
- getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
571
+ getAction: function (code, authorization, expand, options) {
576
572
  return __awaiter(this, void 0, void 0, function () {
577
573
  var localVarAxiosArgs;
578
574
  return __generator(this, function (_a) {
579
575
  switch (_a.label) {
580
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getActionExecutionStatus(authorization, executionCode, correlationId, options)];
576
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAction(code, authorization, expand, options)];
581
577
  case 1:
582
578
  localVarAxiosArgs = _a.sent();
583
579
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -586,25 +582,19 @@ var ActionsApiFp = function (configuration) {
586
582
  });
587
583
  },
588
584
  /**
589
- * Lists action executions (latest status per execution only) with optional filters
590
- * @summary List actionExecutions
585
+ * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
586
+ * @summary Update the entity-actions-yaml
587
+ * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
591
588
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
592
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
593
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
594
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
595
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
596
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
597
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
598
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
599
589
  * @param {*} [options] Override http request option.
600
590
  * @throws {RequiredError}
601
591
  */
602
- listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
592
+ importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
603
593
  return __awaiter(this, void 0, void 0, function () {
604
594
  var localVarAxiosArgs;
605
595
  return __generator(this, function (_a) {
606
596
  switch (_a.label) {
607
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
597
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options)];
608
598
  case 1:
609
599
  localVarAxiosArgs = _a.sent();
610
600
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -613,16 +603,16 @@ var ActionsApiFp = function (configuration) {
613
603
  });
614
604
  },
615
605
  /**
616
- * Lists all action configurations with optional filters
606
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
617
607
  * @summary List actions
618
608
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
619
609
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
620
610
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
621
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
611
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
622
612
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
623
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
624
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
625
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
613
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
614
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
615
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
626
616
  * @param {*} [options] Override http request option.
627
617
  * @throws {RequiredError}
628
618
  */
@@ -640,7 +630,7 @@ var ActionsApiFp = function (configuration) {
640
630
  });
641
631
  },
642
632
  /**
643
- * Updates an existing action configuration (patch semantics)
633
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
644
634
  * @summary Update the action
645
635
  * @param {string} code Action code
646
636
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -672,7 +662,7 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
672
662
  var localVarFp = (0, exports.ActionsApiFp)(configuration);
673
663
  return {
674
664
  /**
675
- * Creates a new action configuration
665
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
676
666
  * @summary Create the action
677
667
  * @param {CreateActionRequestDto} createActionRequestDto
678
668
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -683,7 +673,7 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
683
673
  return localVarFp.createAction(createActionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
684
674
  },
685
675
  /**
686
- * Deletes an action configuration by its code
676
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
687
677
  * @summary Delete the action
688
678
  * @param {string} code Action code
689
679
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -694,56 +684,53 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
694
684
  return localVarFp.deleteAction(code, authorization, options).then(function (request) { return request(axios, basePath); });
695
685
  },
696
686
  /**
697
- * Retrieves an action configuration by its code
698
- * @summary Retrieve the action
699
- * @param {string} code Action code
687
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
688
+ * @summary Retrieve the entity-actions-yaml
689
+ * @param {string} productSlug Product slug
690
+ * @param {number} productVersionId Product version ID
700
691
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
692
+ * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
693
+ * @param {boolean} [includeDisabled] Include draft (disabled) actions
701
694
  * @param {*} [options] Override http request option.
702
695
  * @throws {RequiredError}
703
696
  */
704
- getAction: function (code, authorization, options) {
705
- return localVarFp.getAction(code, authorization, options).then(function (request) { return request(axios, basePath); });
697
+ exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
698
+ return localVarFp.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options).then(function (request) { return request(axios, basePath); });
706
699
  },
707
700
  /**
708
- * Retrieves the latest action execution status by executionCode or correlationId
709
- * @summary Retrieve the actionExecution
701
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
702
+ * @summary Retrieve the action
703
+ * @param {string} code Action code
710
704
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
711
- * @param {string} [executionCode] Action execution code
712
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
705
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
713
706
  * @param {*} [options] Override http request option.
714
707
  * @throws {RequiredError}
715
708
  */
716
- getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
717
- return localVarFp.getActionExecutionStatus(authorization, executionCode, correlationId, options).then(function (request) { return request(axios, basePath); });
709
+ getAction: function (code, authorization, expand, options) {
710
+ return localVarFp.getAction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
718
711
  },
719
712
  /**
720
- * Lists action executions (latest status per execution only) with optional filters
721
- * @summary List actionExecutions
713
+ * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
714
+ * @summary Update the entity-actions-yaml
715
+ * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
722
716
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
723
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
724
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
725
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
726
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
727
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
728
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
729
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
730
717
  * @param {*} [options] Override http request option.
731
718
  * @throws {RequiredError}
732
719
  */
733
- listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
734
- return localVarFp.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
720
+ importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
721
+ return localVarFp.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
735
722
  },
736
723
  /**
737
- * Lists all action configurations with optional filters
724
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
738
725
  * @summary List actions
739
726
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
740
727
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
741
728
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
742
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
729
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
743
730
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
744
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
745
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
746
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
731
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
732
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
733
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
747
734
  * @param {*} [options] Override http request option.
748
735
  * @throws {RequiredError}
749
736
  */
@@ -751,7 +738,7 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
751
738
  return localVarFp.listActions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
752
739
  },
753
740
  /**
754
- * Updates an existing action configuration (patch semantics)
741
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
755
742
  * @summary Update the action
756
743
  * @param {string} code Action code
757
744
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -777,7 +764,7 @@ var ActionsApi = /** @class */ (function (_super) {
777
764
  return _super !== null && _super.apply(this, arguments) || this;
778
765
  }
779
766
  /**
780
- * Creates a new action configuration
767
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
781
768
  * @summary Create the action
782
769
  * @param {ActionsApiCreateActionRequest} requestParameters Request parameters.
783
770
  * @param {*} [options] Override http request option.
@@ -789,7 +776,7 @@ var ActionsApi = /** @class */ (function (_super) {
789
776
  return (0, exports.ActionsApiFp)(this.configuration).createAction(requestParameters.createActionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
790
777
  };
791
778
  /**
792
- * Deletes an action configuration by its code
779
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
793
780
  * @summary Delete the action
794
781
  * @param {ActionsApiDeleteActionRequest} requestParameters Request parameters.
795
782
  * @param {*} [options] Override http request option.
@@ -801,45 +788,43 @@ var ActionsApi = /** @class */ (function (_super) {
801
788
  return (0, exports.ActionsApiFp)(this.configuration).deleteAction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
802
789
  };
803
790
  /**
804
- * Retrieves an action configuration by its code
805
- * @summary Retrieve the action
806
- * @param {ActionsApiGetActionRequest} requestParameters Request parameters.
791
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
792
+ * @summary Retrieve the entity-actions-yaml
793
+ * @param {ActionsApiExportActionsAsYamlRequest} requestParameters Request parameters.
807
794
  * @param {*} [options] Override http request option.
808
795
  * @throws {RequiredError}
809
796
  * @memberof ActionsApi
810
797
  */
811
- ActionsApi.prototype.getAction = function (requestParameters, options) {
798
+ ActionsApi.prototype.exportActionsAsYaml = function (requestParameters, options) {
812
799
  var _this = this;
813
- return (0, exports.ActionsApiFp)(this.configuration).getAction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
800
+ return (0, exports.ActionsApiFp)(this.configuration).exportActionsAsYaml(requestParameters.productSlug, requestParameters.productVersionId, requestParameters.authorization, requestParameters.actionSlugs, requestParameters.includeDisabled, options).then(function (request) { return request(_this.axios, _this.basePath); });
814
801
  };
815
802
  /**
816
- * Retrieves the latest action execution status by executionCode or correlationId
817
- * @summary Retrieve the actionExecution
818
- * @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
803
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
804
+ * @summary Retrieve the action
805
+ * @param {ActionsApiGetActionRequest} requestParameters Request parameters.
819
806
  * @param {*} [options] Override http request option.
820
807
  * @throws {RequiredError}
821
808
  * @memberof ActionsApi
822
809
  */
823
- ActionsApi.prototype.getActionExecutionStatus = function (requestParameters, options) {
810
+ ActionsApi.prototype.getAction = function (requestParameters, options) {
824
811
  var _this = this;
825
- if (requestParameters === void 0) { requestParameters = {}; }
826
- return (0, exports.ActionsApiFp)(this.configuration).getActionExecutionStatus(requestParameters.authorization, requestParameters.executionCode, requestParameters.correlationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
812
+ return (0, exports.ActionsApiFp)(this.configuration).getAction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
827
813
  };
828
814
  /**
829
- * Lists action executions (latest status per execution only) with optional filters
830
- * @summary List actionExecutions
831
- * @param {ActionsApiListActionExecutionsRequest} requestParameters Request parameters.
815
+ * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
816
+ * @summary Update the entity-actions-yaml
817
+ * @param {ActionsApiImportActionsFromYamlRequest} requestParameters Request parameters.
832
818
  * @param {*} [options] Override http request option.
833
819
  * @throws {RequiredError}
834
820
  * @memberof ActionsApi
835
821
  */
836
- ActionsApi.prototype.listActionExecutions = function (requestParameters, options) {
822
+ ActionsApi.prototype.importActionsFromYaml = function (requestParameters, options) {
837
823
  var _this = this;
838
- if (requestParameters === void 0) { requestParameters = {}; }
839
- return (0, exports.ActionsApiFp)(this.configuration).listActionExecutions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
824
+ return (0, exports.ActionsApiFp)(this.configuration).importActionsFromYaml(requestParameters.importActionsFromYamlRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
840
825
  };
841
826
  /**
842
- * Lists all action configurations with optional filters
827
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
843
828
  * @summary List actions
844
829
  * @param {ActionsApiListActionsRequest} requestParameters Request parameters.
845
830
  * @param {*} [options] Override http request option.
@@ -852,7 +837,7 @@ var ActionsApi = /** @class */ (function (_super) {
852
837
  return (0, exports.ActionsApiFp)(this.configuration).listActions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
853
838
  };
854
839
  /**
855
- * Updates an existing action configuration (patch semantics)
840
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
856
841
  * @summary Update the action
857
842
  * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
858
843
  * @param {*} [options] Override http request option.