@emilgroup/action-sdk 1.1.1-beta.6 → 1.1.1-beta.7

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.
@@ -43,7 +43,7 @@ import { UpdateActionResponseClass } from '../models';
43
43
  export const ActionsApiAxiosParamCreator = function (configuration?: Configuration) {
44
44
  return {
45
45
  /**
46
- * Creates a new action configuration
46
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
47
47
  * @summary Create the action
48
48
  * @param {CreateActionRequestDto} createActionRequestDto
49
49
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -90,7 +90,54 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
90
90
  };
91
91
  },
92
92
  /**
93
- * Deletes an action configuration by its code
93
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
94
+ * @summary Create the action
95
+ * @param {CreateActionRequestDto} createActionRequestDto
96
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ createAction_1: async (createActionRequestDto: CreateActionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
+ // verify required parameter 'createActionRequestDto' is not null or undefined
102
+ assertParamExists('createAction_1', 'createActionRequestDto', createActionRequestDto)
103
+ const localVarPath = `/actionservice/v1/actions`;
104
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
105
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
106
+ let baseOptions;
107
+ let baseAccessToken;
108
+ if (configuration) {
109
+ baseOptions = configuration.baseOptions;
110
+ baseAccessToken = configuration.accessToken;
111
+ }
112
+
113
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
114
+ const localVarHeaderParameter = {} as any;
115
+ const localVarQueryParameter = {} as any;
116
+
117
+ // authentication bearer required
118
+ // http bearer authentication required
119
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
120
+
121
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
122
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
123
+ }
124
+
125
+
126
+
127
+ localVarHeaderParameter['Content-Type'] = 'application/json';
128
+
129
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
130
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
131
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
132
+ localVarRequestOptions.data = serializeDataIfNeeded(createActionRequestDto, localVarRequestOptions, configuration)
133
+
134
+ return {
135
+ url: toPathString(localVarUrlObj),
136
+ options: localVarRequestOptions,
137
+ };
138
+ },
139
+ /**
140
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
94
141
  * @summary Delete the action
95
142
  * @param {string} code Action code
96
143
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -135,7 +182,52 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
135
182
  };
136
183
  },
137
184
  /**
138
- * Retrieves an action configuration by its code
185
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
186
+ * @summary Delete the action
187
+ * @param {string} code Action code
188
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ deleteAction_2: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
+ // verify required parameter 'code' is not null or undefined
194
+ assertParamExists('deleteAction_2', 'code', code)
195
+ const localVarPath = `/actionservice/v1/actions/{code}`
196
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
197
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
198
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
199
+ let baseOptions;
200
+ let baseAccessToken;
201
+ if (configuration) {
202
+ baseOptions = configuration.baseOptions;
203
+ baseAccessToken = configuration.accessToken;
204
+ }
205
+
206
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
207
+ const localVarHeaderParameter = {} as any;
208
+ const localVarQueryParameter = {} as any;
209
+
210
+ // authentication bearer required
211
+ // http bearer authentication required
212
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
213
+
214
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
215
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
216
+ }
217
+
218
+
219
+
220
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
221
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
222
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
223
+
224
+ return {
225
+ url: toPathString(localVarUrlObj),
226
+ options: localVarRequestOptions,
227
+ };
228
+ },
229
+ /**
230
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
139
231
  * @summary Retrieve the action
140
232
  * @param {string} code Action code
141
233
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -180,7 +272,7 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
180
272
  };
181
273
  },
182
274
  /**
183
- * Retrieves the latest action execution status by executionCode or correlationId
275
+ * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
184
276
  * @summary Retrieve the actionExecution
185
277
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
186
278
  * @param {string} [executionCode] Action execution code
@@ -231,7 +323,52 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
231
323
  };
232
324
  },
233
325
  /**
234
- * Lists action executions (latest status per execution only) with optional filters
326
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
327
+ * @summary Retrieve the action
328
+ * @param {string} code Action code
329
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
330
+ * @param {*} [options] Override http request option.
331
+ * @throws {RequiredError}
332
+ */
333
+ getAction_3: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
334
+ // verify required parameter 'code' is not null or undefined
335
+ assertParamExists('getAction_3', 'code', code)
336
+ const localVarPath = `/actionservice/v1/actions/{code}`
337
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
338
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
339
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
340
+ let baseOptions;
341
+ let baseAccessToken;
342
+ if (configuration) {
343
+ baseOptions = configuration.baseOptions;
344
+ baseAccessToken = configuration.accessToken;
345
+ }
346
+
347
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
348
+ const localVarHeaderParameter = {} as any;
349
+ const localVarQueryParameter = {} as any;
350
+
351
+ // authentication bearer required
352
+ // http bearer authentication required
353
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
354
+
355
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
356
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
357
+ }
358
+
359
+
360
+
361
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
362
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
363
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
364
+
365
+ return {
366
+ url: toPathString(localVarUrlObj),
367
+ options: localVarRequestOptions,
368
+ };
369
+ },
370
+ /**
371
+ * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
235
372
  * @summary List actionExecutions
236
373
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
237
374
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -307,7 +444,7 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
307
444
  };
308
445
  },
309
446
  /**
310
- * Lists all action configurations with optional filters
447
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
311
448
  * @summary List actions
312
449
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
313
450
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -383,7 +520,83 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
383
520
  };
384
521
  },
385
522
  /**
386
- * Updates an existing action configuration (patch semantics)
523
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
524
+ * @summary List actions
525
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
526
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
527
+ * @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.
528
+ * @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;
529
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
530
+ * @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;
531
+ * @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;
532
+ * @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;
533
+ * @param {*} [options] Override http request option.
534
+ * @throws {RequiredError}
535
+ */
536
+ listActions_4: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
537
+ const localVarPath = `/actionservice/v1/actions`;
538
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
539
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
540
+ let baseOptions;
541
+ let baseAccessToken;
542
+ if (configuration) {
543
+ baseOptions = configuration.baseOptions;
544
+ baseAccessToken = configuration.accessToken;
545
+ }
546
+
547
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
548
+ const localVarHeaderParameter = {} as any;
549
+ const localVarQueryParameter = {} as any;
550
+
551
+ // authentication bearer required
552
+ // http bearer authentication required
553
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
554
+
555
+ if (pageSize !== undefined) {
556
+ localVarQueryParameter['pageSize'] = pageSize;
557
+ }
558
+
559
+ if (pageToken !== undefined) {
560
+ localVarQueryParameter['pageToken'] = pageToken;
561
+ }
562
+
563
+ if (filter !== undefined) {
564
+ localVarQueryParameter['filter'] = filter;
565
+ }
566
+
567
+ if (search !== undefined) {
568
+ localVarQueryParameter['search'] = search;
569
+ }
570
+
571
+ if (order !== undefined) {
572
+ localVarQueryParameter['order'] = order;
573
+ }
574
+
575
+ if (expand !== undefined) {
576
+ localVarQueryParameter['expand'] = expand;
577
+ }
578
+
579
+ if (filters !== undefined) {
580
+ localVarQueryParameter['filters'] = filters;
581
+ }
582
+
583
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
584
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
585
+ }
586
+
587
+
588
+
589
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
590
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
591
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
592
+
593
+ return {
594
+ url: toPathString(localVarUrlObj),
595
+ options: localVarRequestOptions,
596
+ };
597
+ },
598
+ /**
599
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
387
600
  * @summary Update the action
388
601
  * @param {string} code Action code
389
602
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -421,6 +634,57 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
421
634
 
422
635
 
423
636
 
637
+ localVarHeaderParameter['Content-Type'] = 'application/json';
638
+
639
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
640
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
641
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
642
+ localVarRequestOptions.data = serializeDataIfNeeded(updateActionRequestDto, localVarRequestOptions, configuration)
643
+
644
+ return {
645
+ url: toPathString(localVarUrlObj),
646
+ options: localVarRequestOptions,
647
+ };
648
+ },
649
+ /**
650
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
651
+ * @summary Update the action
652
+ * @param {string} code Action code
653
+ * @param {UpdateActionRequestDto} updateActionRequestDto
654
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
655
+ * @param {*} [options] Override http request option.
656
+ * @throws {RequiredError}
657
+ */
658
+ updateAction_5: async (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
659
+ // verify required parameter 'code' is not null or undefined
660
+ assertParamExists('updateAction_5', 'code', code)
661
+ // verify required parameter 'updateActionRequestDto' is not null or undefined
662
+ assertParamExists('updateAction_5', 'updateActionRequestDto', updateActionRequestDto)
663
+ const localVarPath = `/actionservice/v1/actions/{code}`
664
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
665
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
666
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
667
+ let baseOptions;
668
+ let baseAccessToken;
669
+ if (configuration) {
670
+ baseOptions = configuration.baseOptions;
671
+ baseAccessToken = configuration.accessToken;
672
+ }
673
+
674
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
675
+ const localVarHeaderParameter = {} as any;
676
+ const localVarQueryParameter = {} as any;
677
+
678
+ // authentication bearer required
679
+ // http bearer authentication required
680
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
681
+
682
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
683
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
684
+ }
685
+
686
+
687
+
424
688
  localVarHeaderParameter['Content-Type'] = 'application/json';
425
689
 
426
690
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -444,7 +708,7 @@ export const ActionsApiFp = function(configuration?: Configuration) {
444
708
  const localVarAxiosParamCreator = ActionsApiAxiosParamCreator(configuration)
445
709
  return {
446
710
  /**
447
- * Creates a new action configuration
711
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
448
712
  * @summary Create the action
449
713
  * @param {CreateActionRequestDto} createActionRequestDto
450
714
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -456,7 +720,19 @@ export const ActionsApiFp = function(configuration?: Configuration) {
456
720
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
457
721
  },
458
722
  /**
459
- * Deletes an action configuration by its code
723
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
724
+ * @summary Create the action
725
+ * @param {CreateActionRequestDto} createActionRequestDto
726
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
727
+ * @param {*} [options] Override http request option.
728
+ * @throws {RequiredError}
729
+ */
730
+ async createAction_1(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateActionResponseClass>> {
731
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createAction_1(createActionRequestDto, authorization, options);
732
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
733
+ },
734
+ /**
735
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
460
736
  * @summary Delete the action
461
737
  * @param {string} code Action code
462
738
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -468,7 +744,19 @@ export const ActionsApiFp = function(configuration?: Configuration) {
468
744
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
469
745
  },
470
746
  /**
471
- * Retrieves an action configuration by its code
747
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
748
+ * @summary Delete the action
749
+ * @param {string} code Action code
750
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
751
+ * @param {*} [options] Override http request option.
752
+ * @throws {RequiredError}
753
+ */
754
+ async deleteAction_2(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
755
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAction_2(code, authorization, options);
756
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
757
+ },
758
+ /**
759
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
472
760
  * @summary Retrieve the action
473
761
  * @param {string} code Action code
474
762
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -480,7 +768,7 @@ export const ActionsApiFp = function(configuration?: Configuration) {
480
768
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
481
769
  },
482
770
  /**
483
- * Retrieves the latest action execution status by executionCode or correlationId
771
+ * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
484
772
  * @summary Retrieve the actionExecution
485
773
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
486
774
  * @param {string} [executionCode] Action execution code
@@ -493,7 +781,19 @@ export const ActionsApiFp = function(configuration?: Configuration) {
493
781
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
494
782
  },
495
783
  /**
496
- * Lists action executions (latest status per execution only) with optional filters
784
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
785
+ * @summary Retrieve the action
786
+ * @param {string} code Action code
787
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
788
+ * @param {*} [options] Override http request option.
789
+ * @throws {RequiredError}
790
+ */
791
+ async getAction_3(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>> {
792
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAction_3(code, authorization, options);
793
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
794
+ },
795
+ /**
796
+ * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
497
797
  * @summary List actionExecutions
498
798
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
499
799
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -511,7 +811,7 @@ export const ActionsApiFp = function(configuration?: Configuration) {
511
811
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
512
812
  },
513
813
  /**
514
- * Lists all action configurations with optional filters
814
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
515
815
  * @summary List actions
516
816
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
517
817
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -529,7 +829,25 @@ export const ActionsApiFp = function(configuration?: Configuration) {
529
829
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
530
830
  },
531
831
  /**
532
- * Updates an existing action configuration (patch semantics)
832
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
833
+ * @summary List actions
834
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
835
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
836
+ * @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.
837
+ * @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;
838
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
839
+ * @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;
840
+ * @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;
841
+ * @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;
842
+ * @param {*} [options] Override http request option.
843
+ * @throws {RequiredError}
844
+ */
845
+ async listActions_4(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionsResponseClass>> {
846
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listActions_4(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
847
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
848
+ },
849
+ /**
850
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
533
851
  * @summary Update the action
534
852
  * @param {string} code Action code
535
853
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -541,6 +859,19 @@ export const ActionsApiFp = function(configuration?: Configuration) {
541
859
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateAction(code, updateActionRequestDto, authorization, options);
542
860
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
543
861
  },
862
+ /**
863
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
864
+ * @summary Update the action
865
+ * @param {string} code Action code
866
+ * @param {UpdateActionRequestDto} updateActionRequestDto
867
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
868
+ * @param {*} [options] Override http request option.
869
+ * @throws {RequiredError}
870
+ */
871
+ async updateAction_5(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>> {
872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateAction_5(code, updateActionRequestDto, authorization, options);
873
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
874
+ },
544
875
  }
545
876
  };
546
877
 
@@ -552,7 +883,7 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
552
883
  const localVarFp = ActionsApiFp(configuration)
553
884
  return {
554
885
  /**
555
- * Creates a new action configuration
886
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
556
887
  * @summary Create the action
557
888
  * @param {CreateActionRequestDto} createActionRequestDto
558
889
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -563,7 +894,18 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
563
894
  return localVarFp.createAction(createActionRequestDto, authorization, options).then((request) => request(axios, basePath));
564
895
  },
565
896
  /**
566
- * Deletes an action configuration by its code
897
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
898
+ * @summary Create the action
899
+ * @param {CreateActionRequestDto} createActionRequestDto
900
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
901
+ * @param {*} [options] Override http request option.
902
+ * @throws {RequiredError}
903
+ */
904
+ createAction_1(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass> {
905
+ return localVarFp.createAction_1(createActionRequestDto, authorization, options).then((request) => request(axios, basePath));
906
+ },
907
+ /**
908
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
567
909
  * @summary Delete the action
568
910
  * @param {string} code Action code
569
911
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -574,7 +916,18 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
574
916
  return localVarFp.deleteAction(code, authorization, options).then((request) => request(axios, basePath));
575
917
  },
576
918
  /**
577
- * Retrieves an action configuration by its code
919
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
920
+ * @summary Delete the action
921
+ * @param {string} code Action code
922
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
923
+ * @param {*} [options] Override http request option.
924
+ * @throws {RequiredError}
925
+ */
926
+ deleteAction_2(code: string, authorization?: string, options?: any): AxiosPromise<void> {
927
+ return localVarFp.deleteAction_2(code, authorization, options).then((request) => request(axios, basePath));
928
+ },
929
+ /**
930
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
578
931
  * @summary Retrieve the action
579
932
  * @param {string} code Action code
580
933
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -585,7 +938,7 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
585
938
  return localVarFp.getAction(code, authorization, options).then((request) => request(axios, basePath));
586
939
  },
587
940
  /**
588
- * Retrieves the latest action execution status by executionCode or correlationId
941
+ * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
589
942
  * @summary Retrieve the actionExecution
590
943
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
591
944
  * @param {string} [executionCode] Action execution code
@@ -597,7 +950,18 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
597
950
  return localVarFp.getActionExecutionStatus(authorization, executionCode, correlationId, options).then((request) => request(axios, basePath));
598
951
  },
599
952
  /**
600
- * Lists action executions (latest status per execution only) with optional filters
953
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
954
+ * @summary Retrieve the action
955
+ * @param {string} code Action code
956
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
957
+ * @param {*} [options] Override http request option.
958
+ * @throws {RequiredError}
959
+ */
960
+ getAction_3(code: string, authorization?: string, options?: any): AxiosPromise<GetActionResponseClass> {
961
+ return localVarFp.getAction_3(code, authorization, options).then((request) => request(axios, basePath));
962
+ },
963
+ /**
964
+ * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
601
965
  * @summary List actionExecutions
602
966
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
603
967
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -614,7 +978,7 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
614
978
  return localVarFp.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
615
979
  },
616
980
  /**
617
- * Lists all action configurations with optional filters
981
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
618
982
  * @summary List actions
619
983
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
620
984
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -631,7 +995,24 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
631
995
  return localVarFp.listActions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
632
996
  },
633
997
  /**
634
- * Updates an existing action configuration (patch semantics)
998
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
999
+ * @summary List actions
1000
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1001
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1002
+ * @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.
1003
+ * @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;
1004
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
1005
+ * @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;
1006
+ * @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;
1007
+ * @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;
1008
+ * @param {*} [options] Override http request option.
1009
+ * @throws {RequiredError}
1010
+ */
1011
+ listActions_4(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass> {
1012
+ return localVarFp.listActions_4(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
1013
+ },
1014
+ /**
1015
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
635
1016
  * @summary Update the action
636
1017
  * @param {string} code Action code
637
1018
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -642,6 +1023,18 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
642
1023
  updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass> {
643
1024
  return localVarFp.updateAction(code, updateActionRequestDto, authorization, options).then((request) => request(axios, basePath));
644
1025
  },
1026
+ /**
1027
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
1028
+ * @summary Update the action
1029
+ * @param {string} code Action code
1030
+ * @param {UpdateActionRequestDto} updateActionRequestDto
1031
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1032
+ * @param {*} [options] Override http request option.
1033
+ * @throws {RequiredError}
1034
+ */
1035
+ updateAction_5(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass> {
1036
+ return localVarFp.updateAction_5(code, updateActionRequestDto, authorization, options).then((request) => request(axios, basePath));
1037
+ },
645
1038
  };
646
1039
  };
647
1040
 
@@ -666,6 +1059,27 @@ export interface ActionsApiCreateActionRequest {
666
1059
  readonly authorization?: string
667
1060
  }
668
1061
 
1062
+ /**
1063
+ * Request parameters for createAction_1 operation in ActionsApi.
1064
+ * @export
1065
+ * @interface ActionsApiCreateAction0Request
1066
+ */
1067
+ export interface ActionsApiCreateAction0Request {
1068
+ /**
1069
+ *
1070
+ * @type {CreateActionRequestDto}
1071
+ * @memberof ActionsApiCreateAction0
1072
+ */
1073
+ readonly createActionRequestDto: CreateActionRequestDto
1074
+
1075
+ /**
1076
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1077
+ * @type {string}
1078
+ * @memberof ActionsApiCreateAction0
1079
+ */
1080
+ readonly authorization?: string
1081
+ }
1082
+
669
1083
  /**
670
1084
  * Request parameters for deleteAction operation in ActionsApi.
671
1085
  * @export
@@ -687,6 +1101,27 @@ export interface ActionsApiDeleteActionRequest {
687
1101
  readonly authorization?: string
688
1102
  }
689
1103
 
1104
+ /**
1105
+ * Request parameters for deleteAction_2 operation in ActionsApi.
1106
+ * @export
1107
+ * @interface ActionsApiDeleteAction0Request
1108
+ */
1109
+ export interface ActionsApiDeleteAction0Request {
1110
+ /**
1111
+ * Action code
1112
+ * @type {string}
1113
+ * @memberof ActionsApiDeleteAction0
1114
+ */
1115
+ readonly code: string
1116
+
1117
+ /**
1118
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1119
+ * @type {string}
1120
+ * @memberof ActionsApiDeleteAction0
1121
+ */
1122
+ readonly authorization?: string
1123
+ }
1124
+
690
1125
  /**
691
1126
  * Request parameters for getAction operation in ActionsApi.
692
1127
  * @export
@@ -736,6 +1171,27 @@ export interface ActionsApiGetActionExecutionStatusRequest {
736
1171
  readonly correlationId?: string
737
1172
  }
738
1173
 
1174
+ /**
1175
+ * Request parameters for getAction_3 operation in ActionsApi.
1176
+ * @export
1177
+ * @interface ActionsApiGetAction0Request
1178
+ */
1179
+ export interface ActionsApiGetAction0Request {
1180
+ /**
1181
+ * Action code
1182
+ * @type {string}
1183
+ * @memberof ActionsApiGetAction0
1184
+ */
1185
+ readonly code: string
1186
+
1187
+ /**
1188
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1189
+ * @type {string}
1190
+ * @memberof ActionsApiGetAction0
1191
+ */
1192
+ readonly authorization?: string
1193
+ }
1194
+
739
1195
  /**
740
1196
  * Request parameters for listActionExecutions operation in ActionsApi.
741
1197
  * @export
@@ -862,6 +1318,69 @@ export interface ActionsApiListActionsRequest {
862
1318
  readonly filters?: string
863
1319
  }
864
1320
 
1321
+ /**
1322
+ * Request parameters for listActions_4 operation in ActionsApi.
1323
+ * @export
1324
+ * @interface ActionsApiListActions0Request
1325
+ */
1326
+ export interface ActionsApiListActions0Request {
1327
+ /**
1328
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1329
+ * @type {string}
1330
+ * @memberof ActionsApiListActions0
1331
+ */
1332
+ readonly authorization?: string
1333
+
1334
+ /**
1335
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1336
+ * @type {number}
1337
+ * @memberof ActionsApiListActions0
1338
+ */
1339
+ readonly pageSize?: number
1340
+
1341
+ /**
1342
+ * 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.
1343
+ * @type {string}
1344
+ * @memberof ActionsApiListActions0
1345
+ */
1346
+ readonly pageToken?: string
1347
+
1348
+ /**
1349
+ * 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;
1350
+ * @type {string}
1351
+ * @memberof ActionsApiListActions0
1352
+ */
1353
+ readonly filter?: string
1354
+
1355
+ /**
1356
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1357
+ * @type {string}
1358
+ * @memberof ActionsApiListActions0
1359
+ */
1360
+ readonly search?: string
1361
+
1362
+ /**
1363
+ * 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;
1364
+ * @type {string}
1365
+ * @memberof ActionsApiListActions0
1366
+ */
1367
+ readonly order?: string
1368
+
1369
+ /**
1370
+ * 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;
1371
+ * @type {string}
1372
+ * @memberof ActionsApiListActions0
1373
+ */
1374
+ readonly expand?: string
1375
+
1376
+ /**
1377
+ * 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;
1378
+ * @type {string}
1379
+ * @memberof ActionsApiListActions0
1380
+ */
1381
+ readonly filters?: string
1382
+ }
1383
+
865
1384
  /**
866
1385
  * Request parameters for updateAction operation in ActionsApi.
867
1386
  * @export
@@ -890,6 +1409,34 @@ export interface ActionsApiUpdateActionRequest {
890
1409
  readonly authorization?: string
891
1410
  }
892
1411
 
1412
+ /**
1413
+ * Request parameters for updateAction_5 operation in ActionsApi.
1414
+ * @export
1415
+ * @interface ActionsApiUpdateAction0Request
1416
+ */
1417
+ export interface ActionsApiUpdateAction0Request {
1418
+ /**
1419
+ * Action code
1420
+ * @type {string}
1421
+ * @memberof ActionsApiUpdateAction0
1422
+ */
1423
+ readonly code: string
1424
+
1425
+ /**
1426
+ *
1427
+ * @type {UpdateActionRequestDto}
1428
+ * @memberof ActionsApiUpdateAction0
1429
+ */
1430
+ readonly updateActionRequestDto: UpdateActionRequestDto
1431
+
1432
+ /**
1433
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1434
+ * @type {string}
1435
+ * @memberof ActionsApiUpdateAction0
1436
+ */
1437
+ readonly authorization?: string
1438
+ }
1439
+
893
1440
  /**
894
1441
  * ActionsApi - object-oriented interface
895
1442
  * @export
@@ -898,7 +1445,7 @@ export interface ActionsApiUpdateActionRequest {
898
1445
  */
899
1446
  export class ActionsApi extends BaseAPI {
900
1447
  /**
901
- * Creates a new action configuration
1448
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
902
1449
  * @summary Create the action
903
1450
  * @param {ActionsApiCreateActionRequest} requestParameters Request parameters.
904
1451
  * @param {*} [options] Override http request option.
@@ -910,7 +1457,19 @@ export class ActionsApi extends BaseAPI {
910
1457
  }
911
1458
 
912
1459
  /**
913
- * Deletes an action configuration by its code
1460
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
1461
+ * @summary Create the action
1462
+ * @param {ActionsApiCreateAction0Request} requestParameters Request parameters.
1463
+ * @param {*} [options] Override http request option.
1464
+ * @throws {RequiredError}
1465
+ * @memberof ActionsApi
1466
+ */
1467
+ public createAction_1(requestParameters: ActionsApiCreateAction0Request, options?: AxiosRequestConfig) {
1468
+ return ActionsApiFp(this.configuration).createAction_1(requestParameters.createActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1469
+ }
1470
+
1471
+ /**
1472
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
914
1473
  * @summary Delete the action
915
1474
  * @param {ActionsApiDeleteActionRequest} requestParameters Request parameters.
916
1475
  * @param {*} [options] Override http request option.
@@ -922,7 +1481,19 @@ export class ActionsApi extends BaseAPI {
922
1481
  }
923
1482
 
924
1483
  /**
925
- * Retrieves an action configuration by its code
1484
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
1485
+ * @summary Delete the action
1486
+ * @param {ActionsApiDeleteAction0Request} requestParameters Request parameters.
1487
+ * @param {*} [options] Override http request option.
1488
+ * @throws {RequiredError}
1489
+ * @memberof ActionsApi
1490
+ */
1491
+ public deleteAction_2(requestParameters: ActionsApiDeleteAction0Request, options?: AxiosRequestConfig) {
1492
+ return ActionsApiFp(this.configuration).deleteAction_2(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1493
+ }
1494
+
1495
+ /**
1496
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
926
1497
  * @summary Retrieve the action
927
1498
  * @param {ActionsApiGetActionRequest} requestParameters Request parameters.
928
1499
  * @param {*} [options] Override http request option.
@@ -934,7 +1505,7 @@ export class ActionsApi extends BaseAPI {
934
1505
  }
935
1506
 
936
1507
  /**
937
- * Retrieves the latest action execution status by executionCode or correlationId
1508
+ * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
938
1509
  * @summary Retrieve the actionExecution
939
1510
  * @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
940
1511
  * @param {*} [options] Override http request option.
@@ -946,7 +1517,19 @@ export class ActionsApi extends BaseAPI {
946
1517
  }
947
1518
 
948
1519
  /**
949
- * Lists action executions (latest status per execution only) with optional filters
1520
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
1521
+ * @summary Retrieve the action
1522
+ * @param {ActionsApiGetAction0Request} requestParameters Request parameters.
1523
+ * @param {*} [options] Override http request option.
1524
+ * @throws {RequiredError}
1525
+ * @memberof ActionsApi
1526
+ */
1527
+ public getAction_3(requestParameters: ActionsApiGetAction0Request, options?: AxiosRequestConfig) {
1528
+ return ActionsApiFp(this.configuration).getAction_3(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1529
+ }
1530
+
1531
+ /**
1532
+ * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
950
1533
  * @summary List actionExecutions
951
1534
  * @param {ActionsApiListActionExecutionsRequest} requestParameters Request parameters.
952
1535
  * @param {*} [options] Override http request option.
@@ -958,7 +1541,7 @@ export class ActionsApi extends BaseAPI {
958
1541
  }
959
1542
 
960
1543
  /**
961
- * Lists all action configurations with optional filters
1544
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
962
1545
  * @summary List actions
963
1546
  * @param {ActionsApiListActionsRequest} requestParameters Request parameters.
964
1547
  * @param {*} [options] Override http request option.
@@ -970,7 +1553,19 @@ export class ActionsApi extends BaseAPI {
970
1553
  }
971
1554
 
972
1555
  /**
973
- * Updates an existing action configuration (patch semantics)
1556
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
1557
+ * @summary List actions
1558
+ * @param {ActionsApiListActions0Request} requestParameters Request parameters.
1559
+ * @param {*} [options] Override http request option.
1560
+ * @throws {RequiredError}
1561
+ * @memberof ActionsApi
1562
+ */
1563
+ public listActions_4(requestParameters: ActionsApiListActions0Request = {}, options?: AxiosRequestConfig) {
1564
+ return ActionsApiFp(this.configuration).listActions_4(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1565
+ }
1566
+
1567
+ /**
1568
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
974
1569
  * @summary Update the action
975
1570
  * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
976
1571
  * @param {*} [options] Override http request option.
@@ -980,4 +1575,16 @@ export class ActionsApi extends BaseAPI {
980
1575
  public updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig) {
981
1576
  return ActionsApiFp(this.configuration).updateAction(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
982
1577
  }
1578
+
1579
+ /**
1580
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
1581
+ * @summary Update the action
1582
+ * @param {ActionsApiUpdateAction0Request} requestParameters Request parameters.
1583
+ * @param {*} [options] Override http request option.
1584
+ * @throws {RequiredError}
1585
+ * @memberof ActionsApi
1586
+ */
1587
+ public updateAction_5(requestParameters: ActionsApiUpdateAction0Request, options?: AxiosRequestConfig) {
1588
+ return ActionsApiFp(this.configuration).updateAction_5(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1589
+ }
983
1590
  }