@emilgroup/action-sdk-node 1.0.1-beta.41 → 1.0.1-beta.47

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 (31) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/api/actions-api.ts +486 -99
  4. package/api/executions-api.ts +12 -12
  5. package/dist/api/actions-api.d.ts +296 -75
  6. package/dist/api/actions-api.js +374 -65
  7. package/dist/api/executions-api.d.ts +12 -12
  8. package/dist/api/executions-api.js +9 -9
  9. package/dist/models/action-class.d.ts +6 -59
  10. package/dist/models/action-execution-class.d.ts +7 -1
  11. package/dist/models/action-version-class.d.ts +120 -0
  12. package/dist/models/action-version-class.js +21 -0
  13. package/dist/models/create-action-request-dto.d.ts +1 -1
  14. package/dist/models/get-action-version-response-class.d.ts +25 -0
  15. package/dist/models/get-action-version-response-class.js +15 -0
  16. package/dist/models/index.d.ts +3 -0
  17. package/dist/models/index.js +3 -0
  18. package/dist/models/list-action-versions-response-class.d.ts +43 -0
  19. package/dist/models/list-action-versions-response-class.js +15 -0
  20. package/dist/models/trigger-action-request-dto.d.ts +6 -6
  21. package/dist/models/update-action-request-dto.d.ts +2 -2
  22. package/models/action-class.ts +6 -59
  23. package/models/action-execution-class.ts +7 -1
  24. package/models/action-version-class.ts +129 -0
  25. package/models/create-action-request-dto.ts +1 -1
  26. package/models/get-action-version-response-class.ts +31 -0
  27. package/models/index.ts +3 -0
  28. package/models/list-action-versions-response-class.ts +49 -0
  29. package/models/trigger-action-request-dto.ts +6 -6
  30. package/models/update-action-request-dto.ts +2 -2
  31. package/package.json +1 -1
@@ -37,11 +37,11 @@ export declare const ExecutionsApiAxiosParamCreator: (configuration?: Configurat
37
37
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
38
38
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
39
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.
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, 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>
41
41
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, 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>
43
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/>
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, 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>
45
45
  * @param {*} [options] Override http request option.
46
46
  * @throws {RequiredError}
47
47
  */
@@ -77,11 +77,11 @@ export declare const ExecutionsApiFp: (configuration?: Configuration) => {
77
77
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
78
78
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
79
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
80
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
80
+ * @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>
81
81
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
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.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, triggeredAt, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
83
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.<br/> <br/>
84
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
84
+ * @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>
85
85
  * @param {*} [options] Override http request option.
86
86
  * @throws {RequiredError}
87
87
  */
@@ -117,11 +117,11 @@ export declare const ExecutionsApiFactory: (configuration?: Configuration, baseP
117
117
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
118
118
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
119
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
120
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
120
+ * @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>
121
121
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
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.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, triggeredAt, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
123
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.<br/> <br/>
124
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
124
+ * @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>
125
125
  * @param {*} [options] Override http request option.
126
126
  * @throws {RequiredError}
127
127
  */
@@ -186,7 +186,7 @@ export interface ExecutionsApiListActionExecutionsRequest {
186
186
  */
187
187
  readonly pageToken?: string;
188
188
  /**
189
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
189
+ * 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>
190
190
  * @type {string}
191
191
  * @memberof ExecutionsApiListActionExecutions
192
192
  */
@@ -198,7 +198,7 @@ export interface ExecutionsApiListActionExecutionsRequest {
198
198
  */
199
199
  readonly search?: string;
200
200
  /**
201
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
201
+ * 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>
202
202
  * @type {string}
203
203
  * @memberof ExecutionsApiListActionExecutions
204
204
  */
@@ -210,7 +210,7 @@ export interface ExecutionsApiListActionExecutionsRequest {
210
210
  */
211
211
  readonly expand?: string;
212
212
  /**
213
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
213
+ * 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>
214
214
  * @type {string}
215
215
  * @memberof ExecutionsApiListActionExecutions
216
216
  */
@@ -154,11 +154,11 @@ var ExecutionsApiAxiosParamCreator = function (configuration) {
154
154
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
155
155
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
156
156
  * @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.
157
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
157
+ * @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>
158
158
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
159
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
159
+ * @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>
160
160
  * @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/>
161
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
161
+ * @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>
162
162
  * @param {*} [options] Override http request option.
163
163
  * @throws {RequiredError}
164
164
  */
@@ -307,11 +307,11 @@ var ExecutionsApiFp = function (configuration) {
307
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
308
308
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
309
309
  * @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.
310
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
310
+ * @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>
311
311
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
312
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
312
+ * @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>
313
313
  * @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/>
314
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
314
+ * @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>
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
317
317
  */
@@ -377,11 +377,11 @@ var ExecutionsApiFactory = function (configuration, basePath, axios) {
377
377
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
378
378
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
379
379
  * @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.
380
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
380
+ * @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>
381
381
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
382
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
382
+ * @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>
383
383
  * @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/>
384
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
384
+ * @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>
385
385
  * @param {*} [options] Override http request option.
386
386
  * @throws {RequiredError}
387
387
  */
@@ -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,47 +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 slug identifying the workflow to execute when this action is triggered
44
- * @type {string}
45
- * @memberof ActionClass
46
- */
47
- 'workflowSlug': string;
48
- /**
49
- * BPMN/workflow code resolved from workflow_slug or provided directly (used when triggering)
50
- * @type {string}
51
- * @memberof ActionClass
52
- */
53
- 'workflowCode': string;
54
- /**
55
- * true = published (and triggerable), false = draft; only one published per code/slug/name
56
- * @type {boolean}
57
- * @memberof ActionClass
58
- */
59
- 'isEnabled': boolean;
60
- /**
61
- * Whether the action is available in the UI
62
- * @type {boolean}
63
- * @memberof ActionClass
64
- */
65
- 'isAvailableInUi'?: boolean;
66
- /**
67
- * Detailed description of what this action does
68
- * @type {string}
69
- * @memberof ActionClass
70
- */
71
- 'description'?: string;
72
43
  /**
73
44
  * Time at which the object was created.
74
45
  * @type {string}
@@ -94,33 +65,9 @@ export interface ActionClass {
94
65
  */
95
66
  'updatedBy': string;
96
67
  /**
97
- * Entity type: Policy, Lead, Claim
98
- * @type {string}
99
- * @memberof ActionClass
100
- */
101
- 'entityType'?: string;
102
- /**
103
- * Product version ID
104
- * @type {number}
105
- * @memberof ActionClass
106
- */
107
- 'productVersionId'?: number;
108
- /**
109
- * Derived from product_version.product_id
110
- * @type {string}
111
- * @memberof ActionClass
112
- */
113
- 'productSlug'?: string;
114
- /**
115
- * Optional JSON Schema to validate input_payload when triggering the action (only populated when expand=inputValidationSchema)
116
- * @type {object}
117
- * @memberof ActionClass
118
- */
119
- 'inputValidationSchema'?: object;
120
- /**
121
- * Business version per action config
122
- * @type {number}
68
+ * No expand: empty. expand=versions: active version only. All versions: use listActionVersions.
69
+ * @type {Array<ActionVersionClass>}
123
70
  * @memberof ActionClass
124
71
  */
125
- 'configVersion': number;
72
+ 'versions': Array<ActionVersionClass>;
126
73
  }
@@ -35,7 +35,7 @@ export interface ActionExecutionClass {
35
35
  */
36
36
  'actionCode': string;
37
37
  /**
38
- * Action config version (config_version) at trigger time for audit/tracing
38
+ * Action config version (version_number) at trigger time for audit/tracing
39
39
  * @type {number}
40
40
  * @memberof ActionExecutionClass
41
41
  */
@@ -134,4 +134,10 @@ export interface ActionExecutionClass {
134
134
  * @memberof ActionExecutionClass
135
135
  */
136
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;
137
143
  }
@@ -0,0 +1,120 @@
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 ActionVersionClass
16
+ */
17
+ export interface ActionVersionClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ActionVersionClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Whether this version is the active/published one (only one per action config)
26
+ * @type {boolean}
27
+ * @memberof ActionVersionClass
28
+ */
29
+ 'isActive': boolean;
30
+ /**
31
+ * Version number (1, 2, 3...)
32
+ * @type {number}
33
+ * @memberof ActionVersionClass
34
+ */
35
+ 'versionNumber': number;
36
+ /**
37
+ * Version code (unique id, e.g. acv_<nanoid>)
38
+ * @type {string}
39
+ * @memberof ActionVersionClass
40
+ */
41
+ 'code': string;
42
+ /**
43
+ * Detailed description of what this action does
44
+ * @type {string}
45
+ * @memberof ActionVersionClass
46
+ */
47
+ 'description'?: string;
48
+ /**
49
+ * BPMN/workflow code (resolved from workflow_slug)
50
+ * @type {string}
51
+ * @memberof ActionVersionClass
52
+ */
53
+ 'workflowCode': string;
54
+ /**
55
+ * BPMN/workflow slug
56
+ * @type {string}
57
+ * @memberof ActionVersionClass
58
+ */
59
+ 'workflowSlug': string;
60
+ /**
61
+ * Entity type: Policy, Lead, Claim
62
+ * @type {string}
63
+ * @memberof ActionVersionClass
64
+ */
65
+ 'entityType'?: ActionVersionClassEntityTypeEnum;
66
+ /**
67
+ * Product version ID
68
+ * @type {number}
69
+ * @memberof ActionVersionClass
70
+ */
71
+ 'productVersionId'?: number;
72
+ /**
73
+ * Derived from product_version.product_id
74
+ * @type {string}
75
+ * @memberof ActionVersionClass
76
+ */
77
+ 'productSlug'?: string;
78
+ /**
79
+ * Whether the action is available in the UI
80
+ * @type {boolean}
81
+ * @memberof ActionVersionClass
82
+ */
83
+ 'isAvailableInUi'?: boolean;
84
+ /**
85
+ * Optional JSON Schema to validate input_payload when triggering (only when expand=inputValidationSchema)
86
+ * @type {object}
87
+ * @memberof ActionVersionClass
88
+ */
89
+ 'inputValidationSchema'?: object;
90
+ /**
91
+ * Time at which the object was created.
92
+ * @type {string}
93
+ * @memberof ActionVersionClass
94
+ */
95
+ 'createdAt': string;
96
+ /**
97
+ * Time at which the object was updated.
98
+ * @type {string}
99
+ * @memberof ActionVersionClass
100
+ */
101
+ 'updatedAt': string;
102
+ /**
103
+ * Identifier of the user who created the record.
104
+ * @type {string}
105
+ * @memberof ActionVersionClass
106
+ */
107
+ 'createdBy': string;
108
+ /**
109
+ * Identifier of the user who last updated the record.
110
+ * @type {string}
111
+ * @memberof ActionVersionClass
112
+ */
113
+ 'updatedBy': string;
114
+ }
115
+ export declare const ActionVersionClassEntityTypeEnum: {
116
+ readonly Policy: "POLICY";
117
+ readonly Lead: "LEAD";
118
+ readonly Claim: "CLAIM";
119
+ };
120
+ export type ActionVersionClassEntityTypeEnum = typeof ActionVersionClassEntityTypeEnum[keyof typeof ActionVersionClassEntityTypeEnum];
@@ -0,0 +1,21 @@
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 });
16
+ exports.ActionVersionClassEntityTypeEnum = void 0;
17
+ exports.ActionVersionClassEntityTypeEnum = {
18
+ Policy: 'POLICY',
19
+ Lead: 'LEAD',
20
+ Claim: 'CLAIM'
21
+ };
@@ -44,7 +44,7 @@ export interface CreateActionRequestDto {
44
44
  * @type {boolean}
45
45
  * @memberof CreateActionRequestDto
46
46
  */
47
- 'isEnabled'?: boolean;
47
+ 'isActive'?: boolean;
48
48
  /**
49
49
  * Whether the action is available in the UI
50
50
  * @type {boolean}
@@ -0,0 +1,25 @@
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 { ActionVersionClass } from './action-version-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetActionVersionResponseClass
17
+ */
18
+ export interface GetActionVersionResponseClass {
19
+ /**
20
+ * The action version
21
+ * @type {ActionVersionClass}
22
+ * @memberof GetActionVersionResponseClass
23
+ */
24
+ 'actionVersion': ActionVersionClass;
25
+ }
@@ -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 });
@@ -1,15 +1,18 @@
1
1
  export * from './action-class';
2
2
  export * from './action-execution-class';
3
+ export * from './action-version-class';
3
4
  export * from './create-action-request-dto';
4
5
  export * from './create-action-response-class';
5
6
  export * from './export-actions-as-yaml-response-class';
6
7
  export * from './get-action-execution-status-response-class';
7
8
  export * from './get-action-response-class';
9
+ export * from './get-action-version-response-class';
8
10
  export * from './import-actions-from-yaml-request-dto';
9
11
  export * from './import-actions-from-yaml-response-class';
10
12
  export * from './inline-response200';
11
13
  export * from './inline-response503';
12
14
  export * from './list-action-executions-response-class';
15
+ export * from './list-action-versions-response-class';
13
16
  export * from './list-actions-response-class';
14
17
  export * from './trigger-action-request-dto';
15
18
  export * from './trigger-action-response-class';
@@ -16,16 +16,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./action-class"), exports);
18
18
  __exportStar(require("./action-execution-class"), exports);
19
+ __exportStar(require("./action-version-class"), exports);
19
20
  __exportStar(require("./create-action-request-dto"), exports);
20
21
  __exportStar(require("./create-action-response-class"), exports);
21
22
  __exportStar(require("./export-actions-as-yaml-response-class"), exports);
22
23
  __exportStar(require("./get-action-execution-status-response-class"), exports);
23
24
  __exportStar(require("./get-action-response-class"), exports);
25
+ __exportStar(require("./get-action-version-response-class"), exports);
24
26
  __exportStar(require("./import-actions-from-yaml-request-dto"), exports);
25
27
  __exportStar(require("./import-actions-from-yaml-response-class"), exports);
26
28
  __exportStar(require("./inline-response200"), exports);
27
29
  __exportStar(require("./inline-response503"), exports);
28
30
  __exportStar(require("./list-action-executions-response-class"), exports);
31
+ __exportStar(require("./list-action-versions-response-class"), exports);
29
32
  __exportStar(require("./list-actions-response-class"), exports);
30
33
  __exportStar(require("./trigger-action-request-dto"), exports);
31
34
  __exportStar(require("./trigger-action-response-class"), exports);
@@ -0,0 +1,43 @@
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 { ActionVersionClass } from './action-version-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListActionVersionsResponseClass
17
+ */
18
+ export interface ListActionVersionsResponseClass {
19
+ /**
20
+ * List of action versions
21
+ * @type {Array<ActionVersionClass>}
22
+ * @memberof ListActionVersionsResponseClass
23
+ */
24
+ 'items': Array<ActionVersionClass>;
25
+ /**
26
+ * Token for next page
27
+ * @type {string}
28
+ * @memberof ListActionVersionsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ /**
32
+ * Number of items per page
33
+ * @type {number}
34
+ * @memberof ListActionVersionsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total number of versions
39
+ * @type {number}
40
+ * @memberof ListActionVersionsResponseClass
41
+ */
42
+ 'totalItems': number;
43
+ }
@@ -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 });
@@ -36,17 +36,17 @@ export interface TriggerActionRequestDto {
36
36
  */
37
37
  'dryRun'?: boolean;
38
38
  /**
39
- * If true, allow triggering a draft (disabled) action and run its workflow
40
- * @type {boolean}
39
+ * Correlation ID for tracing/idempotency
40
+ * @type {string}
41
41
  * @memberof TriggerActionRequestDto
42
42
  */
43
- 'force'?: boolean;
43
+ 'correlationId'?: string;
44
44
  /**
45
- * Optional correlation ID for tracing/idempotency
46
- * @type {string}
45
+ * If true, allow triggering a draft (disabled) action and run its workflow
46
+ * @type {boolean}
47
47
  * @memberof TriggerActionRequestDto
48
48
  */
49
- 'correlationId'?: string;
49
+ 'force'?: boolean;
50
50
  /**
51
51
  * For entity actions: code of the entity the action is run on (e.g. policy code, lead code)
52
52
  * @type {string}
@@ -40,11 +40,11 @@ export interface UpdateActionRequestDto {
40
40
  */
41
41
  'workflowCode'?: string;
42
42
  /**
43
- * Whether the action is enabled and can be triggered
43
+ * Whether the action is published and can be triggered
44
44
  * @type {boolean}
45
45
  * @memberof UpdateActionRequestDto
46
46
  */
47
- 'isEnabled'?: boolean;
47
+ 'isActive'?: boolean;
48
48
  /**
49
49
  * Whether the action is available in the UI
50
50
  * @type {boolean}