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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/actions-api.ts +219 -397
  4. package/api/executions-api.ts +119 -12
  5. package/dist/api/actions-api.d.ts +178 -270
  6. package/dist/api/actions-api.js +153 -328
  7. package/dist/api/executions-api.d.ts +69 -12
  8. package/dist/api/executions-api.js +102 -9
  9. package/dist/models/action-class.d.ts +9 -20
  10. package/dist/models/action-execution-class.d.ts +36 -0
  11. package/dist/models/action-ref-class.d.ts +36 -0
  12. package/dist/models/action-ref-class.js +15 -0
  13. package/dist/models/action-version-class.d.ts +127 -0
  14. package/dist/models/action-version-class.js +21 -0
  15. package/dist/models/create-action-request-dto.d.ts +47 -5
  16. package/dist/models/create-action-request-dto.js +6 -0
  17. package/dist/models/get-action-version-response-class.d.ts +25 -0
  18. package/dist/models/get-action-version-response-class.js +15 -0
  19. package/dist/models/index.d.ts +6 -0
  20. package/dist/models/index.js +6 -0
  21. package/dist/models/list-action-versions-response-class.d.ts +43 -0
  22. package/dist/models/list-action-versions-response-class.js +15 -0
  23. package/dist/models/trigger-action-request-dto.d.ts +62 -0
  24. package/dist/models/trigger-action-request-dto.js +15 -0
  25. package/dist/models/trigger-action-response-class.d.ts +25 -0
  26. package/dist/models/trigger-action-response-class.js +15 -0
  27. package/dist/models/update-action-request-dto.d.ts +41 -5
  28. package/dist/models/update-action-request-dto.js +6 -0
  29. package/models/action-class.ts +9 -20
  30. package/models/action-execution-class.ts +36 -0
  31. package/models/action-ref-class.ts +42 -0
  32. package/models/action-version-class.ts +136 -0
  33. package/models/create-action-request-dto.ts +50 -5
  34. package/models/get-action-version-response-class.ts +31 -0
  35. package/models/index.ts +6 -0
  36. package/models/list-action-versions-response-class.ts +49 -0
  37. package/models/trigger-action-request-dto.ts +66 -0
  38. package/models/trigger-action-response-class.ts +31 -0
  39. package/models/update-action-request-dto.ts +44 -5
  40. package/package.json +1 -1
@@ -14,6 +14,8 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { GetActionExecutionStatusResponseClass } from '../models';
16
16
  import { ListActionExecutionsResponseClass } from '../models';
17
+ import { TriggerActionRequestDto } from '../models';
18
+ import { TriggerActionResponseClass } from '../models';
17
19
  /**
18
20
  * ExecutionsApi - axios parameter creator
19
21
  * @export
@@ -35,15 +37,24 @@ export declare const ExecutionsApiAxiosParamCreator: (configuration?: Configurat
35
37
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
36
38
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
37
39
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
38
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
40
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy</i>
39
41
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
40
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt</i>
42
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, triggeredAt, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
41
43
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
42
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
44
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy</i>
43
45
  * @param {*} [options] Override http request option.
44
46
  * @throws {RequiredError}
45
47
  */
46
48
  listActionExecutions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
49
+ /**
50
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
51
+ * @summary Create the actionExecution
52
+ * @param {TriggerActionRequestDto} triggerActionRequestDto
53
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ triggerAction: (triggerActionRequestDto: TriggerActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
58
  };
48
59
  /**
49
60
  * ExecutionsApi - functional programming interface
@@ -66,15 +77,24 @@ export declare const ExecutionsApiFp: (configuration?: Configuration) => {
66
77
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
67
78
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
68
79
  * @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.
69
- * @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;
80
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
70
81
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
71
- * @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;
82
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, triggeredAt, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt&lt;/i&gt;
72
83
  * @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;
73
- * @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;
84
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
74
85
  * @param {*} [options] Override http request option.
75
86
  * @throws {RequiredError}
76
87
  */
77
88
  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>>;
89
+ /**
90
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
91
+ * @summary Create the actionExecution
92
+ * @param {TriggerActionRequestDto} triggerActionRequestDto
93
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ triggerAction(triggerActionRequestDto: TriggerActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TriggerActionResponseClass>>;
78
98
  };
79
99
  /**
80
100
  * ExecutionsApi - factory interface
@@ -97,15 +117,24 @@ export declare const ExecutionsApiFactory: (configuration?: Configuration, baseP
97
117
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
98
118
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
99
119
  * @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.
100
- * @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;
120
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
101
121
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
102
- * @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;
122
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, triggeredAt, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt&lt;/i&gt;
103
123
  * @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;
104
- * @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;
124
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
105
125
  * @param {*} [options] Override http request option.
106
126
  * @throws {RequiredError}
107
127
  */
108
128
  listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionExecutionsResponseClass>;
129
+ /**
130
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
131
+ * @summary Create the actionExecution
132
+ * @param {TriggerActionRequestDto} triggerActionRequestDto
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
+ triggerAction(triggerActionRequestDto: TriggerActionRequestDto, authorization?: string, options?: any): AxiosPromise<TriggerActionResponseClass>;
109
138
  };
110
139
  /**
111
140
  * Request parameters for getActionExecutionStatus operation in ExecutionsApi.
@@ -157,7 +186,7 @@ export interface ExecutionsApiListActionExecutionsRequest {
157
186
  */
158
187
  readonly pageToken?: string;
159
188
  /**
160
- * 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;
189
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
161
190
  * @type {string}
162
191
  * @memberof ExecutionsApiListActionExecutions
163
192
  */
@@ -169,7 +198,7 @@ export interface ExecutionsApiListActionExecutionsRequest {
169
198
  */
170
199
  readonly search?: string;
171
200
  /**
172
- * 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;
201
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, triggeredAt, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt&lt;/i&gt;
173
202
  * @type {string}
174
203
  * @memberof ExecutionsApiListActionExecutions
175
204
  */
@@ -181,12 +210,31 @@ export interface ExecutionsApiListActionExecutionsRequest {
181
210
  */
182
211
  readonly expand?: string;
183
212
  /**
184
- * 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;
213
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
185
214
  * @type {string}
186
215
  * @memberof ExecutionsApiListActionExecutions
187
216
  */
188
217
  readonly filters?: string;
189
218
  }
219
+ /**
220
+ * Request parameters for triggerAction operation in ExecutionsApi.
221
+ * @export
222
+ * @interface ExecutionsApiTriggerActionRequest
223
+ */
224
+ export interface ExecutionsApiTriggerActionRequest {
225
+ /**
226
+ *
227
+ * @type {TriggerActionRequestDto}
228
+ * @memberof ExecutionsApiTriggerAction
229
+ */
230
+ readonly triggerActionRequestDto: TriggerActionRequestDto;
231
+ /**
232
+ * Bearer Token: provided by the login endpoint under the name accessToken.
233
+ * @type {string}
234
+ * @memberof ExecutionsApiTriggerAction
235
+ */
236
+ readonly authorization?: string;
237
+ }
190
238
  /**
191
239
  * ExecutionsApi - object-oriented interface
192
240
  * @export
@@ -212,4 +260,13 @@ export declare class ExecutionsApi extends BaseAPI {
212
260
  * @memberof ExecutionsApi
213
261
  */
214
262
  listActionExecutions(requestParameters?: ExecutionsApiListActionExecutionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionExecutionsResponseClass, any, {}>>;
263
+ /**
264
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
265
+ * @summary Create the actionExecution
266
+ * @param {ExecutionsApiTriggerActionRequest} requestParameters Request parameters.
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ * @memberof ExecutionsApi
270
+ */
271
+ triggerAction(requestParameters: ExecutionsApiTriggerActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TriggerActionResponseClass, any, {}>>;
215
272
  }
@@ -150,11 +150,11 @@ var ExecutionsApiAxiosParamCreator = function (configuration) {
150
150
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
151
151
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
152
152
  * @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.
153
- * @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;
153
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
154
154
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
155
- * @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;
155
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, triggeredAt, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt&lt;/i&gt;
156
156
  * @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;
157
- * @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;
157
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
158
158
  * @param {*} [options] Override http request option.
159
159
  * @throws {RequiredError}
160
160
  */
@@ -216,6 +216,55 @@ var ExecutionsApiAxiosParamCreator = function (configuration) {
216
216
  });
217
217
  });
218
218
  },
219
+ /**
220
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
221
+ * @summary Create the actionExecution
222
+ * @param {TriggerActionRequestDto} triggerActionRequestDto
223
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
224
+ * @param {*} [options] Override http request option.
225
+ * @throws {RequiredError}
226
+ */
227
+ triggerAction: function (triggerActionRequestDto, authorization, options) {
228
+ if (options === void 0) { options = {}; }
229
+ return __awaiter(_this, void 0, void 0, function () {
230
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
231
+ return __generator(this, function (_a) {
232
+ switch (_a.label) {
233
+ case 0:
234
+ // verify required parameter 'triggerActionRequestDto' is not null or undefined
235
+ (0, common_1.assertParamExists)('triggerAction', 'triggerActionRequestDto', triggerActionRequestDto);
236
+ localVarPath = "/actionservice/v1/actions/trigger";
237
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
238
+ if (configuration) {
239
+ baseOptions = configuration.baseOptions;
240
+ baseAccessToken = configuration.accessToken;
241
+ }
242
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
243
+ localVarHeaderParameter = {};
244
+ localVarQueryParameter = {};
245
+ // authentication bearer required
246
+ // http bearer authentication required
247
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
248
+ case 1:
249
+ // authentication bearer required
250
+ // http bearer authentication required
251
+ _a.sent();
252
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
253
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
254
+ }
255
+ localVarHeaderParameter['Content-Type'] = 'application/json';
256
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
257
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
258
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
259
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(triggerActionRequestDto, localVarRequestOptions, configuration);
260
+ return [2 /*return*/, {
261
+ url: (0, common_1.toPathString)(localVarUrlObj),
262
+ options: localVarRequestOptions,
263
+ }];
264
+ }
265
+ });
266
+ });
267
+ },
219
268
  };
220
269
  };
221
270
  exports.ExecutionsApiAxiosParamCreator = ExecutionsApiAxiosParamCreator;
@@ -254,11 +303,11 @@ var ExecutionsApiFp = function (configuration) {
254
303
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
255
304
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
256
305
  * @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.
257
- * @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;
306
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
258
307
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
259
- * @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;
308
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, triggeredAt, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt&lt;/i&gt;
260
309
  * @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;
261
- * @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;
310
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
262
311
  * @param {*} [options] Override http request option.
263
312
  * @throws {RequiredError}
264
313
  */
@@ -275,6 +324,27 @@ var ExecutionsApiFp = function (configuration) {
275
324
  });
276
325
  });
277
326
  },
327
+ /**
328
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
329
+ * @summary Create the actionExecution
330
+ * @param {TriggerActionRequestDto} triggerActionRequestDto
331
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
332
+ * @param {*} [options] Override http request option.
333
+ * @throws {RequiredError}
334
+ */
335
+ triggerAction: function (triggerActionRequestDto, authorization, options) {
336
+ return __awaiter(this, void 0, void 0, function () {
337
+ var localVarAxiosArgs;
338
+ return __generator(this, function (_a) {
339
+ switch (_a.label) {
340
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.triggerAction(triggerActionRequestDto, authorization, options)];
341
+ case 1:
342
+ localVarAxiosArgs = _a.sent();
343
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
344
+ }
345
+ });
346
+ });
347
+ },
278
348
  };
279
349
  };
280
350
  exports.ExecutionsApiFp = ExecutionsApiFp;
@@ -303,17 +373,28 @@ var ExecutionsApiFactory = function (configuration, basePath, axios) {
303
373
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
304
374
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
305
375
  * @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.
306
- * @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;
376
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
307
377
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
308
- * @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;
378
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, triggeredAt, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt&lt;/i&gt;
309
379
  * @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;
310
- * @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;
380
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, triggeredAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
311
381
  * @param {*} [options] Override http request option.
312
382
  * @throws {RequiredError}
313
383
  */
314
384
  listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
315
385
  return localVarFp.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
316
386
  },
387
+ /**
388
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
389
+ * @summary Create the actionExecution
390
+ * @param {TriggerActionRequestDto} triggerActionRequestDto
391
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
392
+ * @param {*} [options] Override http request option.
393
+ * @throws {RequiredError}
394
+ */
395
+ triggerAction: function (triggerActionRequestDto, authorization, options) {
396
+ return localVarFp.triggerAction(triggerActionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
397
+ },
317
398
  };
318
399
  };
319
400
  exports.ExecutionsApiFactory = ExecutionsApiFactory;
@@ -354,6 +435,18 @@ var ExecutionsApi = /** @class */ (function (_super) {
354
435
  if (requestParameters === void 0) { requestParameters = {}; }
355
436
  return (0, exports.ExecutionsApiFp)(this.configuration).listActionExecutions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
356
437
  };
438
+ /**
439
+ * Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
440
+ * @summary Create the actionExecution
441
+ * @param {ExecutionsApiTriggerActionRequest} requestParameters Request parameters.
442
+ * @param {*} [options] Override http request option.
443
+ * @throws {RequiredError}
444
+ * @memberof ExecutionsApi
445
+ */
446
+ ExecutionsApi.prototype.triggerAction = function (requestParameters, options) {
447
+ var _this = this;
448
+ return (0, exports.ExecutionsApiFp)(this.configuration).triggerAction(requestParameters.triggerActionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
449
+ };
357
450
  return ExecutionsApi;
358
451
  }(base_1.BaseAPI));
359
452
  exports.ExecutionsApi = ExecutionsApi;
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ActionVersionClass } from './action-version-class';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -28,35 +29,17 @@ export interface ActionClass {
28
29
  */
29
30
  'code': string;
30
31
  /**
31
- * Human readable action name
32
+ * Human readable action name (from active version)
32
33
  * @type {string}
33
34
  * @memberof ActionClass
34
35
  */
35
36
  'name': string;
36
37
  /**
37
- * Stable identifier; unique per tenant
38
+ * Stable identifier; unique per tenant (from active version)
38
39
  * @type {string}
39
40
  * @memberof ActionClass
40
41
  */
41
42
  'slug': string;
42
- /**
43
- * BPMN/workflow code to execute when this action is triggered
44
- * @type {string}
45
- * @memberof ActionClass
46
- */
47
- 'workflowCode'?: string;
48
- /**
49
- * Whether the action is enabled and can be triggered
50
- * @type {boolean}
51
- * @memberof ActionClass
52
- */
53
- 'isEnabled': boolean;
54
- /**
55
- * Detailed description of what this action does
56
- * @type {string}
57
- * @memberof ActionClass
58
- */
59
- 'description'?: string;
60
43
  /**
61
44
  * Time at which the object was created.
62
45
  * @type {string}
@@ -81,4 +64,10 @@ export interface ActionClass {
81
64
  * @memberof ActionClass
82
65
  */
83
66
  'updatedBy': string;
67
+ /**
68
+ * No expand: empty. expand=versions: active version only. All versions: use listActionVersions.
69
+ * @type {Array<ActionVersionClass>}
70
+ * @memberof ActionClass
71
+ */
72
+ 'versions': Array<ActionVersionClass>;
84
73
  }
@@ -34,6 +34,12 @@ export interface ActionExecutionClass {
34
34
  * @memberof ActionExecutionClass
35
35
  */
36
36
  'actionCode': string;
37
+ /**
38
+ * Action config version (version_number) at trigger time for audit/tracing
39
+ * @type {number}
40
+ * @memberof ActionExecutionClass
41
+ */
42
+ 'actionVersion': number;
37
43
  /**
38
44
  * Execution status
39
45
  * @type {string}
@@ -104,4 +110,34 @@ export interface ActionExecutionClass {
104
110
  * @memberof ActionExecutionClass
105
111
  */
106
112
  'workflowOutputReference'?: WorkflowOutputReferenceClass;
113
+ /**
114
+ * When true, execution was triggered with force (e.g. draft/disabled action)
115
+ * @type {boolean}
116
+ * @memberof ActionExecutionClass
117
+ */
118
+ 'force'?: boolean;
119
+ /**
120
+ * For entity actions: code of the entity the action was run on (e.g. policy code, lead code)
121
+ * @type {string}
122
+ * @memberof ActionExecutionClass
123
+ */
124
+ 'entityCode'?: string;
125
+ /**
126
+ * For entity actions: entity type (POLICY, LEAD, CLAIM) for lookup
127
+ * @type {string}
128
+ * @memberof ActionExecutionClass
129
+ */
130
+ 'entityType'?: string;
131
+ /**
132
+ * JWT sub of who triggered the action (set when trigger is from API; null for webhook/system)
133
+ * @type {string}
134
+ * @memberof ActionExecutionClass
135
+ */
136
+ 'triggeredBySub'?: string;
137
+ /**
138
+ * When the action was triggered (set at creation, same for all status rows of this execution)
139
+ * @type {string}
140
+ * @memberof ActionExecutionClass
141
+ */
142
+ 'triggeredAt'?: string;
107
143
  }
@@ -0,0 +1,36 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ActionRefClass
16
+ */
17
+ export interface ActionRefClass {
18
+ /**
19
+ * Action code
20
+ * @type {string}
21
+ * @memberof ActionRefClass
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Action name
26
+ * @type {string}
27
+ * @memberof ActionRefClass
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Action slug
32
+ * @type {string}
33
+ * @memberof ActionRefClass
34
+ */
35
+ 'slug': string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ActionService
6
+ * The EMIL ActionService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,127 @@
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 { ActionRefClass } from './action-ref-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ActionVersionClass
17
+ */
18
+ export interface ActionVersionClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof ActionVersionClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Whether this version is the active/published one (only one per action config)
27
+ * @type {boolean}
28
+ * @memberof ActionVersionClass
29
+ */
30
+ 'isActive': boolean;
31
+ /**
32
+ * Version number (1, 2, 3...)
33
+ * @type {number}
34
+ * @memberof ActionVersionClass
35
+ */
36
+ 'versionNumber': number;
37
+ /**
38
+ * Version code (unique id, e.g. acv_<nanoid>)
39
+ * @type {string}
40
+ * @memberof ActionVersionClass
41
+ */
42
+ 'code': string;
43
+ /**
44
+ * Detailed description of what this action does
45
+ * @type {string}
46
+ * @memberof ActionVersionClass
47
+ */
48
+ 'description'?: string;
49
+ /**
50
+ * BPMN/workflow code (resolved from workflow_slug)
51
+ * @type {string}
52
+ * @memberof ActionVersionClass
53
+ */
54
+ 'workflowCode': string;
55
+ /**
56
+ * BPMN/workflow slug
57
+ * @type {string}
58
+ * @memberof ActionVersionClass
59
+ */
60
+ 'workflowSlug': string;
61
+ /**
62
+ * Entity type: Policy, Lead, Claim
63
+ * @type {string}
64
+ * @memberof ActionVersionClass
65
+ */
66
+ 'entityType'?: ActionVersionClassEntityTypeEnum;
67
+ /**
68
+ * Product version ID
69
+ * @type {number}
70
+ * @memberof ActionVersionClass
71
+ */
72
+ 'productVersionId'?: number;
73
+ /**
74
+ * Derived from product_version.product_id
75
+ * @type {string}
76
+ * @memberof ActionVersionClass
77
+ */
78
+ 'productSlug'?: string;
79
+ /**
80
+ * Whether the action is available in the UI
81
+ * @type {boolean}
82
+ * @memberof ActionVersionClass
83
+ */
84
+ 'isAvailableInUi'?: boolean;
85
+ /**
86
+ * Optional JSON Schema to validate input_payload when triggering (only when expand=inputValidationSchema)
87
+ * @type {object}
88
+ * @memberof ActionVersionClass
89
+ */
90
+ 'inputValidationSchema'?: object;
91
+ /**
92
+ * Time at which the object was created.
93
+ * @type {string}
94
+ * @memberof ActionVersionClass
95
+ */
96
+ 'createdAt': string;
97
+ /**
98
+ * Time at which the object was updated.
99
+ * @type {string}
100
+ * @memberof ActionVersionClass
101
+ */
102
+ 'updatedAt': string;
103
+ /**
104
+ * Identifier of the user who created the record.
105
+ * @type {string}
106
+ * @memberof ActionVersionClass
107
+ */
108
+ 'createdBy': string;
109
+ /**
110
+ * Identifier of the user who last updated the record.
111
+ * @type {string}
112
+ * @memberof ActionVersionClass
113
+ */
114
+ 'updatedBy': string;
115
+ /**
116
+ * Parent action (code, name, slug). Set when listing versions so clients know which action each version belongs to.
117
+ * @type {ActionRefClass}
118
+ * @memberof ActionVersionClass
119
+ */
120
+ 'action'?: ActionRefClass;
121
+ }
122
+ export declare const ActionVersionClassEntityTypeEnum: {
123
+ readonly Policy: "POLICY";
124
+ readonly Lead: "LEAD";
125
+ readonly Claim: "CLAIM";
126
+ };
127
+ export type ActionVersionClassEntityTypeEnum = typeof ActionVersionClassEntityTypeEnum[keyof typeof ActionVersionClassEntityTypeEnum];