@emilgroup/action-sdk-node 1.0.1-beta.32 → 1.0.1-beta.36

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 (37) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/actions-api.ts +150 -792
  4. package/api/executions-api.ts +119 -12
  5. package/dist/api/actions-api.d.ts +102 -466
  6. package/dist/api/actions-api.js +89 -609
  7. package/dist/api/executions-api.d.ts +69 -12
  8. package/dist/api/executions-api.js +102 -9
  9. package/dist/models/action-class.d.ts +38 -2
  10. package/dist/models/action-execution-class.d.ts +30 -0
  11. package/dist/models/create-action-request-dto.d.ts +31 -1
  12. package/dist/models/create-action-request-dto.js +6 -0
  13. package/dist/models/export-actions-as-yaml-response-class.d.ts +24 -0
  14. package/dist/models/export-actions-as-yaml-response-class.js +15 -0
  15. package/dist/models/import-actions-from-yaml-request-dto.d.ts +36 -0
  16. package/dist/models/import-actions-from-yaml-request-dto.js +15 -0
  17. package/dist/models/import-actions-from-yaml-response-class.d.ts +37 -0
  18. package/dist/models/import-actions-from-yaml-response-class.js +15 -0
  19. package/dist/models/index.d.ts +5 -0
  20. package/dist/models/index.js +5 -0
  21. package/dist/models/trigger-action-request-dto.d.ts +62 -0
  22. package/dist/models/trigger-action-request-dto.js +15 -0
  23. package/dist/models/trigger-action-response-class.d.ts +25 -0
  24. package/dist/models/trigger-action-response-class.js +15 -0
  25. package/dist/models/update-action-request-dto.d.ts +30 -0
  26. package/dist/models/update-action-request-dto.js +6 -0
  27. package/models/action-class.ts +38 -2
  28. package/models/action-execution-class.ts +30 -0
  29. package/models/create-action-request-dto.ts +34 -1
  30. package/models/export-actions-as-yaml-response-class.ts +30 -0
  31. package/models/import-actions-from-yaml-request-dto.ts +42 -0
  32. package/models/import-actions-from-yaml-response-class.ts +43 -0
  33. package/models/index.ts +5 -0
  34. package/models/trigger-action-request-dto.ts +66 -0
  35. package/models/trigger-action-response-class.ts +31 -0
  36. package/models/update-action-request-dto.ts +33 -0
  37. package/package.json +1 -1
@@ -24,6 +24,10 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
24
24
  import { GetActionExecutionStatusResponseClass } from '../models';
25
25
  // @ts-ignore
26
26
  import { ListActionExecutionsResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { TriggerActionRequestDto } from '../models';
29
+ // @ts-ignore
30
+ import { TriggerActionResponseClass } from '../models';
27
31
  // URLSearchParams not necessarily used
28
32
  // @ts-ignore
29
33
  import { URL, URLSearchParams } from 'url';
@@ -91,11 +95,11 @@ export const ExecutionsApiAxiosParamCreator = function (configuration?: Configur
91
95
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
92
96
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
93
97
  * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
94
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
98
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
95
99
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
96
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt</i>
100
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
97
101
  * @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.<br/> <br/>
98
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
102
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
99
103
  * @param {*} [options] Override http request option.
100
104
  * @throws {RequiredError}
101
105
  */
@@ -156,6 +160,53 @@ export const ExecutionsApiAxiosParamCreator = function (configuration?: Configur
156
160
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
157
161
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
158
162
 
163
+ return {
164
+ url: toPathString(localVarUrlObj),
165
+ options: localVarRequestOptions,
166
+ };
167
+ },
168
+ /**
169
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
170
+ * @summary Create the actionExecution
171
+ * @param {TriggerActionRequestDto} triggerActionRequestDto
172
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ */
176
+ triggerAction: async (triggerActionRequestDto: TriggerActionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
177
+ // verify required parameter 'triggerActionRequestDto' is not null or undefined
178
+ assertParamExists('triggerAction', 'triggerActionRequestDto', triggerActionRequestDto)
179
+ const localVarPath = `/actionservice/v1/actions/trigger`;
180
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
181
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
182
+ let baseOptions;
183
+ let baseAccessToken;
184
+ if (configuration) {
185
+ baseOptions = configuration.baseOptions;
186
+ baseAccessToken = configuration.accessToken;
187
+ }
188
+
189
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
190
+ const localVarHeaderParameter = {} as any;
191
+ const localVarQueryParameter = {} as any;
192
+
193
+ // authentication bearer required
194
+ // http bearer authentication required
195
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
196
+
197
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
198
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
199
+ }
200
+
201
+
202
+
203
+ localVarHeaderParameter['Content-Type'] = 'application/json';
204
+
205
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
206
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
207
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
208
+ localVarRequestOptions.data = serializeDataIfNeeded(triggerActionRequestDto, localVarRequestOptions, configuration)
209
+
159
210
  return {
160
211
  url: toPathString(localVarUrlObj),
161
212
  options: localVarRequestOptions,
@@ -190,11 +241,11 @@ export const ExecutionsApiFp = function(configuration?: Configuration) {
190
241
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
191
242
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
192
243
  * @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.
193
- * @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;
244
+ * @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
194
245
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
195
- * @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;
246
+ * @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt&lt;/i&gt;
196
247
  * @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;
197
- * @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;
248
+ * @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
198
249
  * @param {*} [options] Override http request option.
199
250
  * @throws {RequiredError}
200
251
  */
@@ -202,6 +253,18 @@ export const ExecutionsApiFp = function(configuration?: Configuration) {
202
253
  const localVarAxiosArgs = await localVarAxiosParamCreator.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
203
254
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
204
255
  },
256
+ /**
257
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
258
+ * @summary Create the actionExecution
259
+ * @param {TriggerActionRequestDto} triggerActionRequestDto
260
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
261
+ * @param {*} [options] Override http request option.
262
+ * @throws {RequiredError}
263
+ */
264
+ async triggerAction(triggerActionRequestDto: TriggerActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TriggerActionResponseClass>> {
265
+ const localVarAxiosArgs = await localVarAxiosParamCreator.triggerAction(triggerActionRequestDto, authorization, options);
266
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
267
+ },
205
268
  }
206
269
  };
207
270
 
@@ -230,17 +293,28 @@ export const ExecutionsApiFactory = function (configuration?: Configuration, bas
230
293
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
231
294
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
232
295
  * @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.
233
- * @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;
296
+ * @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
234
297
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
235
- * @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;
298
+ * @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt&lt;/i&gt;
236
299
  * @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;
237
- * @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;
300
+ * @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
238
301
  * @param {*} [options] Override http request option.
239
302
  * @throws {RequiredError}
240
303
  */
241
304
  listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionExecutionsResponseClass> {
242
305
  return localVarFp.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
243
306
  },
307
+ /**
308
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
309
+ * @summary Create the actionExecution
310
+ * @param {TriggerActionRequestDto} triggerActionRequestDto
311
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
312
+ * @param {*} [options] Override http request option.
313
+ * @throws {RequiredError}
314
+ */
315
+ triggerAction(triggerActionRequestDto: TriggerActionRequestDto, authorization?: string, options?: any): AxiosPromise<TriggerActionResponseClass> {
316
+ return localVarFp.triggerAction(triggerActionRequestDto, authorization, options).then((request) => request(axios, basePath));
317
+ },
244
318
  };
245
319
  };
246
320
 
@@ -300,7 +374,7 @@ export interface ExecutionsApiListActionExecutionsRequest {
300
374
  readonly pageToken?: string
301
375
 
302
376
  /**
303
- * 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;
377
+ * 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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
304
378
  * @type {string}
305
379
  * @memberof ExecutionsApiListActionExecutions
306
380
  */
@@ -314,7 +388,7 @@ export interface ExecutionsApiListActionExecutionsRequest {
314
388
  readonly search?: string
315
389
 
316
390
  /**
317
- * 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;
391
+ * 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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt&lt;/i&gt;
318
392
  * @type {string}
319
393
  * @memberof ExecutionsApiListActionExecutions
320
394
  */
@@ -328,13 +402,34 @@ export interface ExecutionsApiListActionExecutionsRequest {
328
402
  readonly expand?: string
329
403
 
330
404
  /**
331
- * 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;
405
+ * 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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
332
406
  * @type {string}
333
407
  * @memberof ExecutionsApiListActionExecutions
334
408
  */
335
409
  readonly filters?: string
336
410
  }
337
411
 
412
+ /**
413
+ * Request parameters for triggerAction operation in ExecutionsApi.
414
+ * @export
415
+ * @interface ExecutionsApiTriggerActionRequest
416
+ */
417
+ export interface ExecutionsApiTriggerActionRequest {
418
+ /**
419
+ *
420
+ * @type {TriggerActionRequestDto}
421
+ * @memberof ExecutionsApiTriggerAction
422
+ */
423
+ readonly triggerActionRequestDto: TriggerActionRequestDto
424
+
425
+ /**
426
+ * Bearer Token: provided by the login endpoint under the name accessToken.
427
+ * @type {string}
428
+ * @memberof ExecutionsApiTriggerAction
429
+ */
430
+ readonly authorization?: string
431
+ }
432
+
338
433
  /**
339
434
  * ExecutionsApi - object-oriented interface
340
435
  * @export
@@ -365,4 +460,16 @@ export class ExecutionsApi extends BaseAPI {
365
460
  public listActionExecutions(requestParameters: ExecutionsApiListActionExecutionsRequest = {}, options?: AxiosRequestConfig) {
366
461
  return ExecutionsApiFp(this.configuration).listActionExecutions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
367
462
  }
463
+
464
+ /**
465
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
466
+ * @summary Create the actionExecution
467
+ * @param {ExecutionsApiTriggerActionRequest} requestParameters Request parameters.
468
+ * @param {*} [options] Override http request option.
469
+ * @throws {RequiredError}
470
+ * @memberof ExecutionsApi
471
+ */
472
+ public triggerAction(requestParameters: ExecutionsApiTriggerActionRequest, options?: AxiosRequestConfig) {
473
+ return ExecutionsApiFp(this.configuration).triggerAction(requestParameters.triggerActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
474
+ }
368
475
  }