@emilgroup/action-sdk-node 1.0.1-beta.22 → 1.0.1-beta.26

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 (45) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +2 -2
  3. package/api/actions-api.ts +987 -0
  4. package/api.ts +2 -0
  5. package/dist/api/actions-api.d.ts +559 -0
  6. package/dist/api/actions-api.js +868 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/action-class.d.ts +84 -0
  10. package/dist/models/action-class.js +15 -0
  11. package/dist/models/action-execution-class.d.ts +107 -0
  12. package/dist/models/action-execution-class.js +15 -0
  13. package/dist/models/create-action-request-dto.d.ts +48 -0
  14. package/dist/models/create-action-request-dto.js +15 -0
  15. package/dist/models/create-action-response-class.d.ts +25 -0
  16. package/dist/models/create-action-response-class.js +15 -0
  17. package/dist/models/get-action-execution-status-response-class.d.ts +25 -0
  18. package/dist/models/get-action-execution-status-response-class.js +15 -0
  19. package/dist/models/get-action-response-class.d.ts +25 -0
  20. package/dist/models/get-action-response-class.js +15 -0
  21. package/dist/models/index.d.ts +11 -0
  22. package/dist/models/index.js +11 -0
  23. package/dist/models/list-action-executions-response-class.d.ts +43 -0
  24. package/dist/models/list-action-executions-response-class.js +15 -0
  25. package/dist/models/list-actions-response-class.d.ts +43 -0
  26. package/dist/models/list-actions-response-class.js +15 -0
  27. package/dist/models/update-action-request-dto.d.ts +54 -0
  28. package/dist/models/update-action-request-dto.js +15 -0
  29. package/dist/models/update-action-response-class.d.ts +25 -0
  30. package/dist/models/update-action-response-class.js +15 -0
  31. package/dist/models/workflow-output-reference-class.d.ts +30 -0
  32. package/dist/models/workflow-output-reference-class.js +15 -0
  33. package/models/action-class.ts +90 -0
  34. package/models/action-execution-class.ts +109 -0
  35. package/models/create-action-request-dto.ts +54 -0
  36. package/models/create-action-response-class.ts +31 -0
  37. package/models/get-action-execution-status-response-class.ts +31 -0
  38. package/models/get-action-response-class.ts +31 -0
  39. package/models/index.ts +11 -0
  40. package/models/list-action-executions-response-class.ts +49 -0
  41. package/models/list-actions-response-class.ts +49 -0
  42. package/models/update-action-request-dto.ts +60 -0
  43. package/models/update-action-response-class.ts +31 -0
  44. package/models/workflow-output-reference-class.ts +36 -0
  45. package/package.json +2 -2
package/api.ts CHANGED
@@ -24,8 +24,10 @@ import FormData from 'form-data'
24
24
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
+ import { ActionsApi } from './api';
27
28
  import { DefaultApi } from './api';
28
29
 
29
30
 
31
+ export * from './api/actions-api';
30
32
  export * from './api/default-api';
31
33
 
@@ -0,0 +1,559 @@
1
+ /**
2
+ * EMIL ActionService
3
+ * The EMIL ActionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateActionRequestDto } from '../models';
16
+ import { CreateActionResponseClass } from '../models';
17
+ import { GetActionExecutionStatusResponseClass } from '../models';
18
+ import { GetActionResponseClass } from '../models';
19
+ import { ListActionExecutionsResponseClass } from '../models';
20
+ import { ListActionsResponseClass } from '../models';
21
+ import { UpdateActionRequestDto } from '../models';
22
+ import { UpdateActionResponseClass } from '../models';
23
+ /**
24
+ * ActionsApi - axios parameter creator
25
+ * @export
26
+ */
27
+ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration) => {
28
+ /**
29
+ * Creates a new action configuration
30
+ * @summary Create the action
31
+ * @param {CreateActionRequestDto} createActionRequestDto
32
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ createAction: (createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ * Deletes an action configuration by its code
39
+ * @summary Delete the action
40
+ * @param {string} code Action code
41
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ deleteAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
+ /**
47
+ * Retrieves an action configuration by its code
48
+ * @summary Retrieve the action
49
+ * @param {string} code Action code
50
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ getAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ * Retrieves the latest action execution status by executionCode or correlationId
57
+ * @summary Retrieve the actionExecution
58
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
+ * @param {string} [executionCode] Action execution code
60
+ * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ getActionExecutionStatus: (authorization?: string, executionCode?: string, correlationId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ /**
66
+ * Lists action executions with optional filters
67
+ * @summary List actionExecutions
68
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
70
+ * @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.
71
+ * @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;
72
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
73
+ * @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;
74
+ * @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;
75
+ * @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;
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ listActionExecutions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
+ /**
81
+ * Lists all action configurations with optional filters
82
+ * @summary List actions
83
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
84
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
85
+ * @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.
86
+ * @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;
87
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
88
+ * @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;
89
+ * @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;
90
+ * @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;
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ listActions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
95
+ /**
96
+ * Updates an existing action configuration (patch semantics)
97
+ * @summary Update the action
98
+ * @param {string} code Action code
99
+ * @param {UpdateActionRequestDto} updateActionRequestDto
100
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ updateAction: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
105
+ };
106
+ /**
107
+ * ActionsApi - functional programming interface
108
+ * @export
109
+ */
110
+ export declare const ActionsApiFp: (configuration?: Configuration) => {
111
+ /**
112
+ * Creates a new action configuration
113
+ * @summary Create the action
114
+ * @param {CreateActionRequestDto} createActionRequestDto
115
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateActionResponseClass>>;
120
+ /**
121
+ * Deletes an action configuration by its code
122
+ * @summary Delete the action
123
+ * @param {string} code Action code
124
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ deleteAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
129
+ /**
130
+ * Retrieves an action configuration by its code
131
+ * @summary Retrieve the action
132
+ * @param {string} code Action code
133
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ getAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
138
+ /**
139
+ * Retrieves the latest action execution status by executionCode or correlationId
140
+ * @summary Retrieve the actionExecution
141
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
142
+ * @param {string} [executionCode] Action execution code
143
+ * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionExecutionStatusResponseClass>>;
148
+ /**
149
+ * Lists action executions with optional filters
150
+ * @summary List actionExecutions
151
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
153
+ * @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.
154
+ * @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;
155
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
156
+ * @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;
157
+ * @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;
158
+ * @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;
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionExecutionsResponseClass>>;
163
+ /**
164
+ * Lists all action configurations with optional filters
165
+ * @summary List actions
166
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
167
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
168
+ * @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.
169
+ * @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;
170
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
171
+ * @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;
172
+ * @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;
173
+ * @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;
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ listActions(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>>;
178
+ /**
179
+ * Updates an existing action configuration (patch semantics)
180
+ * @summary Update the action
181
+ * @param {string} code Action code
182
+ * @param {UpdateActionRequestDto} updateActionRequestDto
183
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
188
+ };
189
+ /**
190
+ * ActionsApi - factory interface
191
+ * @export
192
+ */
193
+ export declare const ActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
194
+ /**
195
+ * Creates a new action configuration
196
+ * @summary Create the action
197
+ * @param {CreateActionRequestDto} createActionRequestDto
198
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ */
202
+ createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass>;
203
+ /**
204
+ * Deletes an action configuration by its code
205
+ * @summary Delete the action
206
+ * @param {string} code Action code
207
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
208
+ * @param {*} [options] Override http request option.
209
+ * @throws {RequiredError}
210
+ */
211
+ deleteAction(code: string, authorization?: string, options?: any): AxiosPromise<void>;
212
+ /**
213
+ * Retrieves an action configuration by its code
214
+ * @summary Retrieve the action
215
+ * @param {string} code Action code
216
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ getAction(code: string, authorization?: string, options?: any): AxiosPromise<GetActionResponseClass>;
221
+ /**
222
+ * Retrieves the latest action execution status by executionCode or correlationId
223
+ * @summary Retrieve the actionExecution
224
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
225
+ * @param {string} [executionCode] Action execution code
226
+ * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
227
+ * @param {*} [options] Override http request option.
228
+ * @throws {RequiredError}
229
+ */
230
+ getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: any): AxiosPromise<GetActionExecutionStatusResponseClass>;
231
+ /**
232
+ * Lists action executions with optional filters
233
+ * @summary List actionExecutions
234
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
235
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
236
+ * @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.
237
+ * @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;
238
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
239
+ * @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;
240
+ * @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;
241
+ * @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;
242
+ * @param {*} [options] Override http request option.
243
+ * @throws {RequiredError}
244
+ */
245
+ listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionExecutionsResponseClass>;
246
+ /**
247
+ * Lists all action configurations with optional filters
248
+ * @summary List actions
249
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
+ * @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.
252
+ * @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;
253
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
254
+ * @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;
255
+ * @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;
256
+ * @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;
257
+ * @param {*} [options] Override http request option.
258
+ * @throws {RequiredError}
259
+ */
260
+ listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass>;
261
+ /**
262
+ * Updates an existing action configuration (patch semantics)
263
+ * @summary Update the action
264
+ * @param {string} code Action code
265
+ * @param {UpdateActionRequestDto} updateActionRequestDto
266
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ */
270
+ updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
271
+ };
272
+ /**
273
+ * Request parameters for createAction operation in ActionsApi.
274
+ * @export
275
+ * @interface ActionsApiCreateActionRequest
276
+ */
277
+ export interface ActionsApiCreateActionRequest {
278
+ /**
279
+ *
280
+ * @type {CreateActionRequestDto}
281
+ * @memberof ActionsApiCreateAction
282
+ */
283
+ readonly createActionRequestDto: CreateActionRequestDto;
284
+ /**
285
+ * Bearer Token: provided by the login endpoint under the name accessToken.
286
+ * @type {string}
287
+ * @memberof ActionsApiCreateAction
288
+ */
289
+ readonly authorization?: string;
290
+ }
291
+ /**
292
+ * Request parameters for deleteAction operation in ActionsApi.
293
+ * @export
294
+ * @interface ActionsApiDeleteActionRequest
295
+ */
296
+ export interface ActionsApiDeleteActionRequest {
297
+ /**
298
+ * Action code
299
+ * @type {string}
300
+ * @memberof ActionsApiDeleteAction
301
+ */
302
+ readonly code: string;
303
+ /**
304
+ * Bearer Token: provided by the login endpoint under the name accessToken.
305
+ * @type {string}
306
+ * @memberof ActionsApiDeleteAction
307
+ */
308
+ readonly authorization?: string;
309
+ }
310
+ /**
311
+ * Request parameters for getAction operation in ActionsApi.
312
+ * @export
313
+ * @interface ActionsApiGetActionRequest
314
+ */
315
+ export interface ActionsApiGetActionRequest {
316
+ /**
317
+ * Action code
318
+ * @type {string}
319
+ * @memberof ActionsApiGetAction
320
+ */
321
+ readonly code: string;
322
+ /**
323
+ * Bearer Token: provided by the login endpoint under the name accessToken.
324
+ * @type {string}
325
+ * @memberof ActionsApiGetAction
326
+ */
327
+ readonly authorization?: string;
328
+ }
329
+ /**
330
+ * Request parameters for getActionExecutionStatus operation in ActionsApi.
331
+ * @export
332
+ * @interface ActionsApiGetActionExecutionStatusRequest
333
+ */
334
+ export interface ActionsApiGetActionExecutionStatusRequest {
335
+ /**
336
+ * Bearer Token: provided by the login endpoint under the name accessToken.
337
+ * @type {string}
338
+ * @memberof ActionsApiGetActionExecutionStatus
339
+ */
340
+ readonly authorization?: string;
341
+ /**
342
+ * Action execution code
343
+ * @type {string}
344
+ * @memberof ActionsApiGetActionExecutionStatus
345
+ */
346
+ readonly executionCode?: string;
347
+ /**
348
+ * Correlation ID (e.g. webhook execution code that triggered this action execution)
349
+ * @type {string}
350
+ * @memberof ActionsApiGetActionExecutionStatus
351
+ */
352
+ readonly correlationId?: string;
353
+ }
354
+ /**
355
+ * Request parameters for listActionExecutions operation in ActionsApi.
356
+ * @export
357
+ * @interface ActionsApiListActionExecutionsRequest
358
+ */
359
+ export interface ActionsApiListActionExecutionsRequest {
360
+ /**
361
+ * Bearer Token: provided by the login endpoint under the name accessToken.
362
+ * @type {string}
363
+ * @memberof ActionsApiListActionExecutions
364
+ */
365
+ readonly authorization?: string;
366
+ /**
367
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
+ * @type {number}
369
+ * @memberof ActionsApiListActionExecutions
370
+ */
371
+ readonly pageSize?: number;
372
+ /**
373
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
374
+ * @type {string}
375
+ * @memberof ActionsApiListActionExecutions
376
+ */
377
+ readonly pageToken?: string;
378
+ /**
379
+ * 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;
380
+ * @type {string}
381
+ * @memberof ActionsApiListActionExecutions
382
+ */
383
+ readonly filter?: string;
384
+ /**
385
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
386
+ * @type {string}
387
+ * @memberof ActionsApiListActionExecutions
388
+ */
389
+ readonly search?: string;
390
+ /**
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, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
392
+ * @type {string}
393
+ * @memberof ActionsApiListActionExecutions
394
+ */
395
+ readonly order?: string;
396
+ /**
397
+ * 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;
398
+ * @type {string}
399
+ * @memberof ActionsApiListActionExecutions
400
+ */
401
+ readonly expand?: string;
402
+ /**
403
+ * 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;
404
+ * @type {string}
405
+ * @memberof ActionsApiListActionExecutions
406
+ */
407
+ readonly filters?: string;
408
+ }
409
+ /**
410
+ * Request parameters for listActions operation in ActionsApi.
411
+ * @export
412
+ * @interface ActionsApiListActionsRequest
413
+ */
414
+ export interface ActionsApiListActionsRequest {
415
+ /**
416
+ * Bearer Token: provided by the login endpoint under the name accessToken.
417
+ * @type {string}
418
+ * @memberof ActionsApiListActions
419
+ */
420
+ readonly authorization?: string;
421
+ /**
422
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
423
+ * @type {number}
424
+ * @memberof ActionsApiListActions
425
+ */
426
+ readonly pageSize?: number;
427
+ /**
428
+ * 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.
429
+ * @type {string}
430
+ * @memberof ActionsApiListActions
431
+ */
432
+ readonly pageToken?: string;
433
+ /**
434
+ * 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;
435
+ * @type {string}
436
+ * @memberof ActionsApiListActions
437
+ */
438
+ readonly filter?: string;
439
+ /**
440
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
441
+ * @type {string}
442
+ * @memberof ActionsApiListActions
443
+ */
444
+ readonly search?: string;
445
+ /**
446
+ * 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;
447
+ * @type {string}
448
+ * @memberof ActionsApiListActions
449
+ */
450
+ readonly order?: string;
451
+ /**
452
+ * 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;
453
+ * @type {string}
454
+ * @memberof ActionsApiListActions
455
+ */
456
+ readonly expand?: string;
457
+ /**
458
+ * 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;
459
+ * @type {string}
460
+ * @memberof ActionsApiListActions
461
+ */
462
+ readonly filters?: string;
463
+ }
464
+ /**
465
+ * Request parameters for updateAction operation in ActionsApi.
466
+ * @export
467
+ * @interface ActionsApiUpdateActionRequest
468
+ */
469
+ export interface ActionsApiUpdateActionRequest {
470
+ /**
471
+ * Action code
472
+ * @type {string}
473
+ * @memberof ActionsApiUpdateAction
474
+ */
475
+ readonly code: string;
476
+ /**
477
+ *
478
+ * @type {UpdateActionRequestDto}
479
+ * @memberof ActionsApiUpdateAction
480
+ */
481
+ readonly updateActionRequestDto: UpdateActionRequestDto;
482
+ /**
483
+ * Bearer Token: provided by the login endpoint under the name accessToken.
484
+ * @type {string}
485
+ * @memberof ActionsApiUpdateAction
486
+ */
487
+ readonly authorization?: string;
488
+ }
489
+ /**
490
+ * ActionsApi - object-oriented interface
491
+ * @export
492
+ * @class ActionsApi
493
+ * @extends {BaseAPI}
494
+ */
495
+ export declare class ActionsApi extends BaseAPI {
496
+ /**
497
+ * Creates a new action configuration
498
+ * @summary Create the action
499
+ * @param {ActionsApiCreateActionRequest} requestParameters Request parameters.
500
+ * @param {*} [options] Override http request option.
501
+ * @throws {RequiredError}
502
+ * @memberof ActionsApi
503
+ */
504
+ createAction(requestParameters: ActionsApiCreateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateActionResponseClass, any, {}>>;
505
+ /**
506
+ * Deletes an action configuration by its code
507
+ * @summary Delete the action
508
+ * @param {ActionsApiDeleteActionRequest} requestParameters Request parameters.
509
+ * @param {*} [options] Override http request option.
510
+ * @throws {RequiredError}
511
+ * @memberof ActionsApi
512
+ */
513
+ deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
514
+ /**
515
+ * Retrieves an action configuration by its code
516
+ * @summary Retrieve the action
517
+ * @param {ActionsApiGetActionRequest} requestParameters Request parameters.
518
+ * @param {*} [options] Override http request option.
519
+ * @throws {RequiredError}
520
+ * @memberof ActionsApi
521
+ */
522
+ getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}>>;
523
+ /**
524
+ * Retrieves the latest action execution status by executionCode or correlationId
525
+ * @summary Retrieve the actionExecution
526
+ * @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
527
+ * @param {*} [options] Override http request option.
528
+ * @throws {RequiredError}
529
+ * @memberof ActionsApi
530
+ */
531
+ getActionExecutionStatus(requestParameters?: ActionsApiGetActionExecutionStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionExecutionStatusResponseClass, any, {}>>;
532
+ /**
533
+ * Lists action executions with optional filters
534
+ * @summary List actionExecutions
535
+ * @param {ActionsApiListActionExecutionsRequest} requestParameters Request parameters.
536
+ * @param {*} [options] Override http request option.
537
+ * @throws {RequiredError}
538
+ * @memberof ActionsApi
539
+ */
540
+ listActionExecutions(requestParameters?: ActionsApiListActionExecutionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionExecutionsResponseClass, any, {}>>;
541
+ /**
542
+ * Lists all action configurations with optional filters
543
+ * @summary List actions
544
+ * @param {ActionsApiListActionsRequest} requestParameters Request parameters.
545
+ * @param {*} [options] Override http request option.
546
+ * @throws {RequiredError}
547
+ * @memberof ActionsApi
548
+ */
549
+ listActions(requestParameters?: ActionsApiListActionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}>>;
550
+ /**
551
+ * Updates an existing action configuration (patch semantics)
552
+ * @summary Update the action
553
+ * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
554
+ * @param {*} [options] Override http request option.
555
+ * @throws {RequiredError}
556
+ * @memberof ActionsApi
557
+ */
558
+ updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
559
+ }