@emilgroup/action-sdk 1.1.1-beta.1 → 1.1.1-beta.11

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 +471 -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 +452 -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
@@ -93,7 +93,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Creates a new action configuration
96
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
97
97
  * @summary Create the action
98
98
  * @param {CreateActionRequestDto} createActionRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -142,7 +142,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * Deletes an action configuration by its code
145
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
146
146
  * @summary Delete the action
147
147
  * @param {string} code Action code
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -190,24 +190,28 @@ var ActionsApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * Retrieves an action configuration by its code
194
- * @summary Retrieve the action
195
- * @param {string} code Action code
193
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
194
+ * @summary Retrieve the entity-actions-yaml
195
+ * @param {string} productSlug Product slug
196
+ * @param {number} productVersionId Product version ID
196
197
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
198
+ * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
199
+ * @param {boolean} [includeDisabled] Include draft (disabled) actions
197
200
  * @param {*} [options] Override http request option.
198
201
  * @throws {RequiredError}
199
202
  */
200
- getAction: function (code, authorization, options) {
203
+ exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
201
204
  if (options === void 0) { options = {}; }
202
205
  return __awaiter(_this, void 0, void 0, function () {
203
206
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
204
207
  return __generator(this, function (_a) {
205
208
  switch (_a.label) {
206
209
  case 0:
207
- // verify required parameter 'code' is not null or undefined
208
- (0, common_1.assertParamExists)('getAction', 'code', code);
209
- localVarPath = "/actionservice/v1/actions/{code}"
210
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
210
+ // verify required parameter 'productSlug' is not null or undefined
211
+ (0, common_1.assertParamExists)('exportActionsAsYaml', 'productSlug', productSlug);
212
+ // verify required parameter 'productVersionId' is not null or undefined
213
+ (0, common_1.assertParamExists)('exportActionsAsYaml', 'productVersionId', productVersionId);
214
+ localVarPath = "/actionservice/v1/actions/entity-actions-yaml";
211
215
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
212
216
  if (configuration) {
213
217
  baseOptions = configuration.baseOptions;
@@ -223,6 +227,18 @@ var ActionsApiAxiosParamCreator = function (configuration) {
223
227
  // authentication bearer required
224
228
  // http bearer authentication required
225
229
  _a.sent();
230
+ if (productSlug !== undefined) {
231
+ localVarQueryParameter['productSlug'] = productSlug;
232
+ }
233
+ if (productVersionId !== undefined) {
234
+ localVarQueryParameter['productVersionId'] = productVersionId;
235
+ }
236
+ if (actionSlugs) {
237
+ localVarQueryParameter['actionSlugs'] = actionSlugs;
238
+ }
239
+ if (includeDisabled !== undefined) {
240
+ localVarQueryParameter['includeDisabled'] = includeDisabled;
241
+ }
226
242
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
227
243
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
228
244
  }
@@ -238,22 +254,25 @@ var ActionsApiAxiosParamCreator = function (configuration) {
238
254
  });
239
255
  },
240
256
  /**
241
- * Retrieves the latest action execution status by executionCode or correlationId
242
- * @summary Retrieve the actionExecution
257
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
258
+ * @summary Retrieve the action
259
+ * @param {string} code Action code
243
260
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
- * @param {string} [executionCode] Action execution code
245
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
261
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
246
262
  * @param {*} [options] Override http request option.
247
263
  * @throws {RequiredError}
248
264
  */
249
- getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
265
+ getAction: function (code, authorization, expand, options) {
250
266
  if (options === void 0) { options = {}; }
251
267
  return __awaiter(_this, void 0, void 0, function () {
252
268
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
253
269
  return __generator(this, function (_a) {
254
270
  switch (_a.label) {
255
271
  case 0:
256
- localVarPath = "/actionservice/v1/actions/executions/status";
272
+ // verify required parameter 'code' is not null or undefined
273
+ (0, common_1.assertParamExists)('getAction', 'code', code);
274
+ localVarPath = "/actionservice/v1/actions/{code}"
275
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
257
276
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
258
277
  if (configuration) {
259
278
  baseOptions = configuration.baseOptions;
@@ -269,11 +288,8 @@ var ActionsApiAxiosParamCreator = function (configuration) {
269
288
  // authentication bearer required
270
289
  // http bearer authentication required
271
290
  _a.sent();
272
- if (executionCode !== undefined) {
273
- localVarQueryParameter['executionCode'] = executionCode;
274
- }
275
- if (correlationId !== undefined) {
276
- localVarQueryParameter['correlationId'] = correlationId;
291
+ if (expand !== undefined) {
292
+ localVarQueryParameter['expand'] = expand;
277
293
  }
278
294
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
279
295
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
@@ -290,33 +306,29 @@ var ActionsApiAxiosParamCreator = function (configuration) {
290
306
  });
291
307
  },
292
308
  /**
293
- * Lists action executions with optional filters
294
- * @summary List actionExecutions
309
+ * 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\"
310
+ * @summary Update the entity-actions-yaml
311
+ * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
295
312
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
296
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
297
- * @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.
298
- * @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;
299
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
300
- * @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;
301
- * @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;
302
- * @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;
303
313
  * @param {*} [options] Override http request option.
304
314
  * @throws {RequiredError}
305
315
  */
306
- listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
316
+ importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
307
317
  if (options === void 0) { options = {}; }
308
318
  return __awaiter(_this, void 0, void 0, function () {
309
319
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
310
320
  return __generator(this, function (_a) {
311
321
  switch (_a.label) {
312
322
  case 0:
313
- localVarPath = "/actionservice/v1/actions/executions";
323
+ // verify required parameter 'importActionsFromYamlRequestDto' is not null or undefined
324
+ (0, common_1.assertParamExists)('importActionsFromYaml', 'importActionsFromYamlRequestDto', importActionsFromYamlRequestDto);
325
+ localVarPath = "/actionservice/v1/actions/entity-actions-yaml";
314
326
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
315
327
  if (configuration) {
316
328
  baseOptions = configuration.baseOptions;
317
329
  baseAccessToken = configuration.accessToken;
318
330
  }
319
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
331
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
320
332
  localVarHeaderParameter = {};
321
333
  localVarQueryParameter = {};
322
334
  // authentication bearer required
@@ -326,33 +338,14 @@ var ActionsApiAxiosParamCreator = function (configuration) {
326
338
  // authentication bearer required
327
339
  // http bearer authentication required
328
340
  _a.sent();
329
- if (pageSize !== undefined) {
330
- localVarQueryParameter['pageSize'] = pageSize;
331
- }
332
- if (pageToken !== undefined) {
333
- localVarQueryParameter['pageToken'] = pageToken;
334
- }
335
- if (filter !== undefined) {
336
- localVarQueryParameter['filter'] = filter;
337
- }
338
- if (search !== undefined) {
339
- localVarQueryParameter['search'] = search;
340
- }
341
- if (order !== undefined) {
342
- localVarQueryParameter['order'] = order;
343
- }
344
- if (expand !== undefined) {
345
- localVarQueryParameter['expand'] = expand;
346
- }
347
- if (filters !== undefined) {
348
- localVarQueryParameter['filters'] = filters;
349
- }
350
341
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
351
342
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
352
343
  }
344
+ localVarHeaderParameter['Content-Type'] = 'application/json';
353
345
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
354
346
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
355
347
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
348
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(importActionsFromYamlRequestDto, localVarRequestOptions, configuration);
356
349
  return [2 /*return*/, {
357
350
  url: (0, common_1.toPathString)(localVarUrlObj),
358
351
  options: localVarRequestOptions,
@@ -362,16 +355,16 @@ var ActionsApiAxiosParamCreator = function (configuration) {
362
355
  });
363
356
  },
364
357
  /**
365
- * Lists all action configurations with optional filters
358
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
366
359
  * @summary List actions
367
360
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
368
361
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
369
362
  * @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.
370
- * @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;
363
+ * @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;
371
364
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
372
- * @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;
373
- * @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;
374
- * @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;
365
+ * @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;
366
+ * @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;
367
+ * @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;
375
368
  * @param {*} [options] Override http request option.
376
369
  * @throws {RequiredError}
377
370
  */
@@ -434,7 +427,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
434
427
  });
435
428
  },
436
429
  /**
437
- * Updates an existing action configuration (patch semantics)
430
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
438
431
  * @summary Update the action
439
432
  * @param {string} code Action code
440
433
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -497,7 +490,7 @@ var ActionsApiFp = function (configuration) {
497
490
  var localVarAxiosParamCreator = (0, exports.ActionsApiAxiosParamCreator)(configuration);
498
491
  return {
499
492
  /**
500
- * Creates a new action configuration
493
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
501
494
  * @summary Create the action
502
495
  * @param {CreateActionRequestDto} createActionRequestDto
503
496
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -518,7 +511,7 @@ var ActionsApiFp = function (configuration) {
518
511
  });
519
512
  },
520
513
  /**
521
- * Deletes an action configuration by its code
514
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
522
515
  * @summary Delete the action
523
516
  * @param {string} code Action code
524
517
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -539,19 +532,22 @@ var ActionsApiFp = function (configuration) {
539
532
  });
540
533
  },
541
534
  /**
542
- * Retrieves an action configuration by its code
543
- * @summary Retrieve the action
544
- * @param {string} code Action code
535
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
536
+ * @summary Retrieve the entity-actions-yaml
537
+ * @param {string} productSlug Product slug
538
+ * @param {number} productVersionId Product version ID
545
539
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
540
+ * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
541
+ * @param {boolean} [includeDisabled] Include draft (disabled) actions
546
542
  * @param {*} [options] Override http request option.
547
543
  * @throws {RequiredError}
548
544
  */
549
- getAction: function (code, authorization, options) {
545
+ exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
550
546
  return __awaiter(this, void 0, void 0, function () {
551
547
  var localVarAxiosArgs;
552
548
  return __generator(this, function (_a) {
553
549
  switch (_a.label) {
554
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAction(code, authorization, options)];
550
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options)];
555
551
  case 1:
556
552
  localVarAxiosArgs = _a.sent();
557
553
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -560,20 +556,20 @@ var ActionsApiFp = function (configuration) {
560
556
  });
561
557
  },
562
558
  /**
563
- * Retrieves the latest action execution status by executionCode or correlationId
564
- * @summary Retrieve the actionExecution
559
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
560
+ * @summary Retrieve the action
561
+ * @param {string} code Action code
565
562
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
566
- * @param {string} [executionCode] Action execution code
567
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
563
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
568
564
  * @param {*} [options] Override http request option.
569
565
  * @throws {RequiredError}
570
566
  */
571
- getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
567
+ getAction: function (code, authorization, expand, options) {
572
568
  return __awaiter(this, void 0, void 0, function () {
573
569
  var localVarAxiosArgs;
574
570
  return __generator(this, function (_a) {
575
571
  switch (_a.label) {
576
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getActionExecutionStatus(authorization, executionCode, correlationId, options)];
572
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAction(code, authorization, expand, options)];
577
573
  case 1:
578
574
  localVarAxiosArgs = _a.sent();
579
575
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -582,25 +578,19 @@ var ActionsApiFp = function (configuration) {
582
578
  });
583
579
  },
584
580
  /**
585
- * Lists action executions with optional filters
586
- * @summary List actionExecutions
581
+ * 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\"
582
+ * @summary Update the entity-actions-yaml
583
+ * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
587
584
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
588
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
589
- * @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.
590
- * @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;
591
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
592
- * @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;
593
- * @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;
594
- * @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;
595
585
  * @param {*} [options] Override http request option.
596
586
  * @throws {RequiredError}
597
587
  */
598
- listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
588
+ importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
599
589
  return __awaiter(this, void 0, void 0, function () {
600
590
  var localVarAxiosArgs;
601
591
  return __generator(this, function (_a) {
602
592
  switch (_a.label) {
603
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
593
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options)];
604
594
  case 1:
605
595
  localVarAxiosArgs = _a.sent();
606
596
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -609,16 +599,16 @@ var ActionsApiFp = function (configuration) {
609
599
  });
610
600
  },
611
601
  /**
612
- * Lists all action configurations with optional filters
602
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
613
603
  * @summary List actions
614
604
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
615
605
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
616
606
  * @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.
617
- * @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;
607
+ * @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;
618
608
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
619
- * @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;
620
- * @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;
621
- * @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;
609
+ * @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;
610
+ * @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;
611
+ * @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;
622
612
  * @param {*} [options] Override http request option.
623
613
  * @throws {RequiredError}
624
614
  */
@@ -636,7 +626,7 @@ var ActionsApiFp = function (configuration) {
636
626
  });
637
627
  },
638
628
  /**
639
- * Updates an existing action configuration (patch semantics)
629
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
640
630
  * @summary Update the action
641
631
  * @param {string} code Action code
642
632
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -668,7 +658,7 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
668
658
  var localVarFp = (0, exports.ActionsApiFp)(configuration);
669
659
  return {
670
660
  /**
671
- * Creates a new action configuration
661
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
672
662
  * @summary Create the action
673
663
  * @param {CreateActionRequestDto} createActionRequestDto
674
664
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -679,7 +669,7 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
679
669
  return localVarFp.createAction(createActionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
680
670
  },
681
671
  /**
682
- * Deletes an action configuration by its code
672
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
683
673
  * @summary Delete the action
684
674
  * @param {string} code Action code
685
675
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -690,56 +680,53 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
690
680
  return localVarFp.deleteAction(code, authorization, options).then(function (request) { return request(axios, basePath); });
691
681
  },
692
682
  /**
693
- * Retrieves an action configuration by its code
694
- * @summary Retrieve the action
695
- * @param {string} code Action code
683
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
684
+ * @summary Retrieve the entity-actions-yaml
685
+ * @param {string} productSlug Product slug
686
+ * @param {number} productVersionId Product version ID
696
687
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
688
+ * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
689
+ * @param {boolean} [includeDisabled] Include draft (disabled) actions
697
690
  * @param {*} [options] Override http request option.
698
691
  * @throws {RequiredError}
699
692
  */
700
- getAction: function (code, authorization, options) {
701
- return localVarFp.getAction(code, authorization, options).then(function (request) { return request(axios, basePath); });
693
+ exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
694
+ return localVarFp.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options).then(function (request) { return request(axios, basePath); });
702
695
  },
703
696
  /**
704
- * Retrieves the latest action execution status by executionCode or correlationId
705
- * @summary Retrieve the actionExecution
697
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
698
+ * @summary Retrieve the action
699
+ * @param {string} code Action code
706
700
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
707
- * @param {string} [executionCode] Action execution code
708
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
701
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
709
702
  * @param {*} [options] Override http request option.
710
703
  * @throws {RequiredError}
711
704
  */
712
- getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
713
- return localVarFp.getActionExecutionStatus(authorization, executionCode, correlationId, options).then(function (request) { return request(axios, basePath); });
705
+ getAction: function (code, authorization, expand, options) {
706
+ return localVarFp.getAction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
714
707
  },
715
708
  /**
716
- * Lists action executions with optional filters
717
- * @summary List actionExecutions
709
+ * 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\"
710
+ * @summary Update the entity-actions-yaml
711
+ * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
718
712
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
719
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
720
- * @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.
721
- * @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;
722
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
723
- * @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;
724
- * @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;
725
- * @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;
726
713
  * @param {*} [options] Override http request option.
727
714
  * @throws {RequiredError}
728
715
  */
729
- listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
730
- return localVarFp.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
716
+ importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
717
+ return localVarFp.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
731
718
  },
732
719
  /**
733
- * Lists all action configurations with optional filters
720
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
734
721
  * @summary List actions
735
722
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
736
723
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
737
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.
738
- * @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;
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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
739
726
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
740
- * @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;
741
- * @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;
742
- * @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;
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, code, name, slug, isEnabled, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, 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; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
743
730
  * @param {*} [options] Override http request option.
744
731
  * @throws {RequiredError}
745
732
  */
@@ -747,7 +734,7 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
747
734
  return localVarFp.listActions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
748
735
  },
749
736
  /**
750
- * Updates an existing action configuration (patch semantics)
737
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
751
738
  * @summary Update the action
752
739
  * @param {string} code Action code
753
740
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -773,7 +760,7 @@ var ActionsApi = /** @class */ (function (_super) {
773
760
  return _super !== null && _super.apply(this, arguments) || this;
774
761
  }
775
762
  /**
776
- * Creates a new action configuration
763
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
777
764
  * @summary Create the action
778
765
  * @param {ActionsApiCreateActionRequest} requestParameters Request parameters.
779
766
  * @param {*} [options] Override http request option.
@@ -785,7 +772,7 @@ var ActionsApi = /** @class */ (function (_super) {
785
772
  return (0, exports.ActionsApiFp)(this.configuration).createAction(requestParameters.createActionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
786
773
  };
787
774
  /**
788
- * Deletes an action configuration by its code
775
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
789
776
  * @summary Delete the action
790
777
  * @param {ActionsApiDeleteActionRequest} requestParameters Request parameters.
791
778
  * @param {*} [options] Override http request option.
@@ -797,45 +784,43 @@ var ActionsApi = /** @class */ (function (_super) {
797
784
  return (0, exports.ActionsApiFp)(this.configuration).deleteAction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
798
785
  };
799
786
  /**
800
- * Retrieves an action configuration by its code
801
- * @summary Retrieve the action
802
- * @param {ActionsApiGetActionRequest} requestParameters Request parameters.
787
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
788
+ * @summary Retrieve the entity-actions-yaml
789
+ * @param {ActionsApiExportActionsAsYamlRequest} requestParameters Request parameters.
803
790
  * @param {*} [options] Override http request option.
804
791
  * @throws {RequiredError}
805
792
  * @memberof ActionsApi
806
793
  */
807
- ActionsApi.prototype.getAction = function (requestParameters, options) {
794
+ ActionsApi.prototype.exportActionsAsYaml = function (requestParameters, options) {
808
795
  var _this = this;
809
- return (0, exports.ActionsApiFp)(this.configuration).getAction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
796
+ 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); });
810
797
  };
811
798
  /**
812
- * Retrieves the latest action execution status by executionCode or correlationId
813
- * @summary Retrieve the actionExecution
814
- * @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
799
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
800
+ * @summary Retrieve the action
801
+ * @param {ActionsApiGetActionRequest} requestParameters Request parameters.
815
802
  * @param {*} [options] Override http request option.
816
803
  * @throws {RequiredError}
817
804
  * @memberof ActionsApi
818
805
  */
819
- ActionsApi.prototype.getActionExecutionStatus = function (requestParameters, options) {
806
+ ActionsApi.prototype.getAction = function (requestParameters, options) {
820
807
  var _this = this;
821
- if (requestParameters === void 0) { requestParameters = {}; }
822
- return (0, exports.ActionsApiFp)(this.configuration).getActionExecutionStatus(requestParameters.authorization, requestParameters.executionCode, requestParameters.correlationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
808
+ return (0, exports.ActionsApiFp)(this.configuration).getAction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
823
809
  };
824
810
  /**
825
- * Lists action executions with optional filters
826
- * @summary List actionExecutions
827
- * @param {ActionsApiListActionExecutionsRequest} requestParameters Request parameters.
811
+ * 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\"
812
+ * @summary Update the entity-actions-yaml
813
+ * @param {ActionsApiImportActionsFromYamlRequest} requestParameters Request parameters.
828
814
  * @param {*} [options] Override http request option.
829
815
  * @throws {RequiredError}
830
816
  * @memberof ActionsApi
831
817
  */
832
- ActionsApi.prototype.listActionExecutions = function (requestParameters, options) {
818
+ ActionsApi.prototype.importActionsFromYaml = function (requestParameters, options) {
833
819
  var _this = this;
834
- if (requestParameters === void 0) { requestParameters = {}; }
835
- 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); });
820
+ return (0, exports.ActionsApiFp)(this.configuration).importActionsFromYaml(requestParameters.importActionsFromYamlRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
836
821
  };
837
822
  /**
838
- * Lists all action configurations with optional filters
823
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
839
824
  * @summary List actions
840
825
  * @param {ActionsApiListActionsRequest} requestParameters Request parameters.
841
826
  * @param {*} [options] Override http request option.
@@ -848,7 +833,7 @@ var ActionsApi = /** @class */ (function (_super) {
848
833
  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); });
849
834
  };
850
835
  /**
851
- * Updates an existing action configuration (patch semantics)
836
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
852
837
  * @summary Update the action
853
838
  * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
854
839
  * @param {*} [options] Override http request option.