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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/actions-api.ts +150 -792
  4. package/api/executions-api.ts +119 -12
  5. package/dist/api/actions-api.d.ts +102 -466
  6. package/dist/api/actions-api.js +89 -609
  7. package/dist/api/executions-api.d.ts +69 -12
  8. package/dist/api/executions-api.js +102 -9
  9. package/dist/models/action-class.d.ts +38 -2
  10. package/dist/models/action-execution-class.d.ts +30 -0
  11. package/dist/models/create-action-request-dto.d.ts +31 -1
  12. package/dist/models/create-action-request-dto.js +6 -0
  13. package/dist/models/export-actions-as-yaml-response-class.d.ts +24 -0
  14. package/dist/models/export-actions-as-yaml-response-class.js +15 -0
  15. package/dist/models/import-actions-from-yaml-request-dto.d.ts +36 -0
  16. package/dist/models/import-actions-from-yaml-request-dto.js +15 -0
  17. package/dist/models/import-actions-from-yaml-response-class.d.ts +37 -0
  18. package/dist/models/import-actions-from-yaml-response-class.js +15 -0
  19. package/dist/models/index.d.ts +5 -0
  20. package/dist/models/index.js +5 -0
  21. package/dist/models/trigger-action-request-dto.d.ts +62 -0
  22. package/dist/models/trigger-action-request-dto.js +15 -0
  23. package/dist/models/trigger-action-response-class.d.ts +25 -0
  24. package/dist/models/trigger-action-response-class.js +15 -0
  25. package/dist/models/update-action-request-dto.d.ts +30 -0
  26. package/dist/models/update-action-request-dto.js +6 -0
  27. package/models/action-class.ts +38 -2
  28. package/models/action-execution-class.ts +30 -0
  29. package/models/create-action-request-dto.ts +34 -1
  30. package/models/export-actions-as-yaml-response-class.ts +30 -0
  31. package/models/import-actions-from-yaml-request-dto.ts +42 -0
  32. package/models/import-actions-from-yaml-response-class.ts +43 -0
  33. package/models/index.ts +5 -0
  34. package/models/trigger-action-request-dto.ts +66 -0
  35. package/models/trigger-action-response-class.ts +31 -0
  36. package/models/update-action-request-dto.ts +33 -0
  37. package/package.json +1 -1
@@ -14,9 +14,10 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateActionRequestDto } from '../models';
16
16
  import { CreateActionResponseClass } from '../models';
17
- import { GetActionExecutionStatusResponseClass } from '../models';
17
+ import { ExportActionsAsYamlResponseClass } from '../models';
18
18
  import { GetActionResponseClass } from '../models';
19
- import { ListActionExecutionsResponseClass } from '../models';
19
+ import { ImportActionsFromYamlRequestDto } from '../models';
20
+ import { ImportActionsFromYamlResponseClass } from '../models';
20
21
  import { ListActionsResponseClass } from '../models';
21
22
  import { UpdateActionRequestDto } from '../models';
22
23
  import { UpdateActionResponseClass } from '../models';
@@ -34,15 +35,6 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
34
35
  * @throws {RequiredError}
35
36
  */
36
37
  createAction: (createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
- /**
38
- * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
39
- * @summary Create the action
40
- * @param {CreateActionRequestDto} createActionRequestDto
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
- createAction_1: (createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
38
  /**
47
39
  * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
48
40
  * @summary Delete the action
@@ -53,87 +45,51 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
53
45
  */
54
46
  deleteAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
47
  /**
56
- * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
57
- * @summary Delete the action
58
- * @param {string} code Action code
59
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
60
- * @param {*} [options] Override http request option.
61
- * @throws {RequiredError}
62
- */
63
- deleteAction_2: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
- /**
65
- * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
66
- * @summary Retrieve the action
67
- * @param {string} code Action code
68
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
- * @param {*} [options] Override http request option.
70
- * @throws {RequiredError}
71
- */
72
- getAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
73
- /**
74
- * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
75
- * @summary Retrieve the actionExecution
48
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
49
+ * @summary Retrieve the entity-actions-yaml
50
+ * @param {string} productSlug Product slug
51
+ * @param {number} productVersionId Product version ID
76
52
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
77
- * @param {string} [executionCode] Action execution code
78
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
53
+ * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
54
+ * @param {boolean} [includeDisabled] Include draft (disabled) actions
79
55
  * @param {*} [options] Override http request option.
80
56
  * @throws {RequiredError}
81
57
  */
82
- getActionExecutionStatus: (authorization?: string, executionCode?: string, correlationId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
+ exportActionsAsYaml: (productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
83
59
  /**
84
60
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
85
61
  * @summary Retrieve the action
86
62
  * @param {string} code Action code
87
63
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
64
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
88
65
  * @param {*} [options] Override http request option.
89
66
  * @throws {RequiredError}
90
67
  */
91
- getAction_3: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ getAction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
92
69
  /**
93
- * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
94
- * @summary List actionExecutions
70
+ * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
71
+ * @summary Update the entity-actions-yaml
72
+ * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
95
73
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
96
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
97
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
98
- * @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;
99
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
100
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&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;
101
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
102
- * @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;
103
74
  * @param {*} [options] Override http request option.
104
75
  * @throws {RequiredError}
105
76
  */
106
- listActionExecutions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
+ importActionsFromYaml: (importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
107
78
  /**
108
79
  * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
109
80
  * @summary List actions
110
81
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
111
82
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
112
83
  * @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.
113
- * @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;
84
+ * @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, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
114
85
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
115
- * @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;
116
- * @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;
117
- * @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;
86
+ * @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, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
87
+ * @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; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
88
+ * @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, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
118
89
  * @param {*} [options] Override http request option.
119
90
  * @throws {RequiredError}
120
91
  */
121
92
  listActions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
122
- /**
123
- * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
124
- * @summary List actions
125
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
126
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
127
- * @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.
128
- * @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;
129
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
130
- * @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;
131
- * @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;
132
- * @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;
133
- * @param {*} [options] Override http request option.
134
- * @throws {RequiredError}
135
- */
136
- listActions_4: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
137
93
  /**
138
94
  * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
139
95
  * @summary Update the action
@@ -144,16 +100,6 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
144
100
  * @throws {RequiredError}
145
101
  */
146
102
  updateAction: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
147
- /**
148
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
149
- * @summary Update the action
150
- * @param {string} code Action code
151
- * @param {UpdateActionRequestDto} updateActionRequestDto
152
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
- * @param {*} [options] Override http request option.
154
- * @throws {RequiredError}
155
- */
156
- updateAction_5: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
157
103
  };
158
104
  /**
159
105
  * ActionsApi - functional programming interface
@@ -169,15 +115,6 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
169
115
  * @throws {RequiredError}
170
116
  */
171
117
  createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateActionResponseClass>>;
172
- /**
173
- * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
174
- * @summary Create the action
175
- * @param {CreateActionRequestDto} createActionRequestDto
176
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
177
- * @param {*} [options] Override http request option.
178
- * @throws {RequiredError}
179
- */
180
- createAction_1(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateActionResponseClass>>;
181
118
  /**
182
119
  * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
183
120
  * @summary Delete the action
@@ -188,87 +125,51 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
188
125
  */
189
126
  deleteAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
190
127
  /**
191
- * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
192
- * @summary Delete the action
193
- * @param {string} code Action code
128
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
129
+ * @summary Retrieve the entity-actions-yaml
130
+ * @param {string} productSlug Product slug
131
+ * @param {number} productVersionId Product version ID
194
132
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
133
+ * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
134
+ * @param {boolean} [includeDisabled] Include draft (disabled) actions
195
135
  * @param {*} [options] Override http request option.
196
136
  * @throws {RequiredError}
197
137
  */
198
- deleteAction_2(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
138
+ exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportActionsAsYamlResponseClass>>;
199
139
  /**
200
140
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
201
141
  * @summary Retrieve the action
202
142
  * @param {string} code Action code
203
143
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
144
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
204
145
  * @param {*} [options] Override http request option.
205
146
  * @throws {RequiredError}
206
147
  */
207
- getAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
148
+ getAction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
208
149
  /**
209
- * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
210
- * @summary Retrieve the actionExecution
150
+ * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
151
+ * @summary Update the entity-actions-yaml
152
+ * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
211
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
212
- * @param {string} [executionCode] Action execution code
213
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
214
154
  * @param {*} [options] Override http request option.
215
155
  * @throws {RequiredError}
216
156
  */
217
- getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionExecutionStatusResponseClass>>;
218
- /**
219
- * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
220
- * @summary Retrieve the action
221
- * @param {string} code Action code
222
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
223
- * @param {*} [options] Override http request option.
224
- * @throws {RequiredError}
225
- */
226
- getAction_3(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
227
- /**
228
- * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
229
- * @summary List actionExecutions
230
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
231
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
232
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
233
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
234
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
235
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
236
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
237
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
238
- * @param {*} [options] Override http request option.
239
- * @throws {RequiredError}
240
- */
241
- 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>>;
157
+ importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportActionsFromYamlResponseClass>>;
242
158
  /**
243
159
  * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
244
160
  * @summary List actions
245
161
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
246
162
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
247
163
  * @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.
248
- * @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;
164
+ * @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, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
249
165
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
250
- * @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;
251
- * @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;
252
- * @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;
166
+ * @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, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
167
+ * @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; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
168
+ * @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, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
253
169
  * @param {*} [options] Override http request option.
254
170
  * @throws {RequiredError}
255
171
  */
256
172
  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>>;
257
- /**
258
- * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
259
- * @summary List actions
260
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
261
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
262
- * @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.
263
- * @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;
264
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
265
- * @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;
266
- * @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;
267
- * @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;
268
- * @param {*} [options] Override http request option.
269
- * @throws {RequiredError}
270
- */
271
- listActions_4(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionsResponseClass>>;
272
173
  /**
273
174
  * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
274
175
  * @summary Update the action
@@ -279,16 +180,6 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
279
180
  * @throws {RequiredError}
280
181
  */
281
182
  updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
282
- /**
283
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
284
- * @summary Update the action
285
- * @param {string} code Action code
286
- * @param {UpdateActionRequestDto} updateActionRequestDto
287
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
288
- * @param {*} [options] Override http request option.
289
- * @throws {RequiredError}
290
- */
291
- updateAction_5(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
292
183
  };
293
184
  /**
294
185
  * ActionsApi - factory interface
@@ -304,15 +195,6 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
304
195
  * @throws {RequiredError}
305
196
  */
306
197
  createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass>;
307
- /**
308
- * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
309
- * @summary Create the action
310
- * @param {CreateActionRequestDto} createActionRequestDto
311
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
312
- * @param {*} [options] Override http request option.
313
- * @throws {RequiredError}
314
- */
315
- createAction_1(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass>;
316
198
  /**
317
199
  * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
318
200
  * @summary Delete the action
@@ -323,87 +205,51 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
323
205
  */
324
206
  deleteAction(code: string, authorization?: string, options?: any): AxiosPromise<void>;
325
207
  /**
326
- * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
327
- * @summary Delete the action
328
- * @param {string} code Action code
208
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
209
+ * @summary Retrieve the entity-actions-yaml
210
+ * @param {string} productSlug Product slug
211
+ * @param {number} productVersionId Product version ID
329
212
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
213
+ * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
214
+ * @param {boolean} [includeDisabled] Include draft (disabled) actions
330
215
  * @param {*} [options] Override http request option.
331
216
  * @throws {RequiredError}
332
217
  */
333
- deleteAction_2(code: string, authorization?: string, options?: any): AxiosPromise<void>;
218
+ exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: any): AxiosPromise<ExportActionsAsYamlResponseClass>;
334
219
  /**
335
220
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
336
221
  * @summary Retrieve the action
337
222
  * @param {string} code Action code
338
223
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
224
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
339
225
  * @param {*} [options] Override http request option.
340
226
  * @throws {RequiredError}
341
227
  */
342
- getAction(code: string, authorization?: string, options?: any): AxiosPromise<GetActionResponseClass>;
228
+ getAction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionResponseClass>;
343
229
  /**
344
- * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
345
- * @summary Retrieve the actionExecution
230
+ * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
231
+ * @summary Update the entity-actions-yaml
232
+ * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
346
233
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
347
- * @param {string} [executionCode] Action execution code
348
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
349
- * @param {*} [options] Override http request option.
350
- * @throws {RequiredError}
351
- */
352
- getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: any): AxiosPromise<GetActionExecutionStatusResponseClass>;
353
- /**
354
- * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
355
- * @summary Retrieve the action
356
- * @param {string} code Action code
357
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
358
- * @param {*} [options] Override http request option.
359
- * @throws {RequiredError}
360
- */
361
- getAction_3(code: string, authorization?: string, options?: any): AxiosPromise<GetActionResponseClass>;
362
- /**
363
- * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
364
- * @summary List actionExecutions
365
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
366
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
367
- * @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.
368
- * @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;
369
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
370
- * @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;
371
- * @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;
372
- * @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;
373
234
  * @param {*} [options] Override http request option.
374
235
  * @throws {RequiredError}
375
236
  */
376
- listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionExecutionsResponseClass>;
237
+ importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: any): AxiosPromise<ImportActionsFromYamlResponseClass>;
377
238
  /**
378
239
  * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
379
240
  * @summary List actions
380
241
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
381
242
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
382
243
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
383
- * @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;
244
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
384
245
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
385
- * @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;
386
- * @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;
387
- * @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;
246
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
247
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
248
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
388
249
  * @param {*} [options] Override http request option.
389
250
  * @throws {RequiredError}
390
251
  */
391
252
  listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass>;
392
- /**
393
- * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
394
- * @summary List actions
395
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
396
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
397
- * @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.
398
- * @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;
399
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
400
- * @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;
401
- * @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;
402
- * @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;
403
- * @param {*} [options] Override http request option.
404
- * @throws {RequiredError}
405
- */
406
- listActions_4(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass>;
407
253
  /**
408
254
  * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
409
255
  * @summary Update the action
@@ -414,16 +260,6 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
414
260
  * @throws {RequiredError}
415
261
  */
416
262
  updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
417
- /**
418
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
419
- * @summary Update the action
420
- * @param {string} code Action code
421
- * @param {UpdateActionRequestDto} updateActionRequestDto
422
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
423
- * @param {*} [options] Override http request option.
424
- * @throws {RequiredError}
425
- */
426
- updateAction_5(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
427
263
  };
428
264
  /**
429
265
  * Request parameters for createAction operation in ActionsApi.
@@ -444,25 +280,6 @@ export interface ActionsApiCreateActionRequest {
444
280
  */
445
281
  readonly authorization?: string;
446
282
  }
447
- /**
448
- * Request parameters for createAction_1 operation in ActionsApi.
449
- * @export
450
- * @interface ActionsApiCreateAction0Request
451
- */
452
- export interface ActionsApiCreateAction0Request {
453
- /**
454
- *
455
- * @type {CreateActionRequestDto}
456
- * @memberof ActionsApiCreateAction0
457
- */
458
- readonly createActionRequestDto: CreateActionRequestDto;
459
- /**
460
- * Bearer Token: provided by the login endpoint under the name accessToken.
461
- * @type {string}
462
- * @memberof ActionsApiCreateAction0
463
- */
464
- readonly authorization?: string;
465
- }
466
283
  /**
467
284
  * Request parameters for deleteAction operation in ActionsApi.
468
285
  * @export
@@ -483,23 +300,41 @@ export interface ActionsApiDeleteActionRequest {
483
300
  readonly authorization?: string;
484
301
  }
485
302
  /**
486
- * Request parameters for deleteAction_2 operation in ActionsApi.
303
+ * Request parameters for exportActionsAsYaml operation in ActionsApi.
487
304
  * @export
488
- * @interface ActionsApiDeleteAction0Request
305
+ * @interface ActionsApiExportActionsAsYamlRequest
489
306
  */
490
- export interface ActionsApiDeleteAction0Request {
307
+ export interface ActionsApiExportActionsAsYamlRequest {
491
308
  /**
492
- * Action code
309
+ * Product slug
493
310
  * @type {string}
494
- * @memberof ActionsApiDeleteAction0
311
+ * @memberof ActionsApiExportActionsAsYaml
495
312
  */
496
- readonly code: string;
313
+ readonly productSlug: string;
314
+ /**
315
+ * Product version ID
316
+ * @type {number}
317
+ * @memberof ActionsApiExportActionsAsYaml
318
+ */
319
+ readonly productVersionId: number;
497
320
  /**
498
321
  * Bearer Token: provided by the login endpoint under the name accessToken.
499
322
  * @type {string}
500
- * @memberof ActionsApiDeleteAction0
323
+ * @memberof ActionsApiExportActionsAsYaml
501
324
  */
502
325
  readonly authorization?: string;
326
+ /**
327
+ * Optional list of action slugs to export; if omitted, all actions for the product version are exported
328
+ * @type {Array<string>}
329
+ * @memberof ActionsApiExportActionsAsYaml
330
+ */
331
+ readonly actionSlugs?: Array<string>;
332
+ /**
333
+ * Include draft (disabled) actions
334
+ * @type {boolean}
335
+ * @memberof ActionsApiExportActionsAsYaml
336
+ */
337
+ readonly includeDisabled?: boolean;
503
338
  }
504
339
  /**
505
340
  * Request parameters for getAction operation in ActionsApi.
@@ -519,106 +354,32 @@ export interface ActionsApiGetActionRequest {
519
354
  * @memberof ActionsApiGetAction
520
355
  */
521
356
  readonly authorization?: string;
522
- }
523
- /**
524
- * Request parameters for getActionExecutionStatus operation in ActionsApi.
525
- * @export
526
- * @interface ActionsApiGetActionExecutionStatusRequest
527
- */
528
- export interface ActionsApiGetActionExecutionStatusRequest {
529
- /**
530
- * Bearer Token: provided by the login endpoint under the name accessToken.
531
- * @type {string}
532
- * @memberof ActionsApiGetActionExecutionStatus
533
- */
534
- readonly authorization?: string;
535
- /**
536
- * Action execution code
537
- * @type {string}
538
- * @memberof ActionsApiGetActionExecutionStatus
539
- */
540
- readonly executionCode?: string;
541
357
  /**
542
- * Correlation ID (e.g. webhook execution code that triggered this action execution)
358
+ * Expand to fetch additional information (e.g. inputValidationSchema)
543
359
  * @type {string}
544
- * @memberof ActionsApiGetActionExecutionStatus
360
+ * @memberof ActionsApiGetAction
545
361
  */
546
- readonly correlationId?: string;
362
+ readonly expand?: string;
547
363
  }
548
364
  /**
549
- * Request parameters for getAction_3 operation in ActionsApi.
365
+ * Request parameters for importActionsFromYaml operation in ActionsApi.
550
366
  * @export
551
- * @interface ActionsApiGetAction0Request
367
+ * @interface ActionsApiImportActionsFromYamlRequest
552
368
  */
553
- export interface ActionsApiGetAction0Request {
369
+ export interface ActionsApiImportActionsFromYamlRequest {
554
370
  /**
555
- * Action code
556
- * @type {string}
557
- * @memberof ActionsApiGetAction0
371
+ *
372
+ * @type {ImportActionsFromYamlRequestDto}
373
+ * @memberof ActionsApiImportActionsFromYaml
558
374
  */
559
- readonly code: string;
375
+ readonly importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto;
560
376
  /**
561
377
  * Bearer Token: provided by the login endpoint under the name accessToken.
562
378
  * @type {string}
563
- * @memberof ActionsApiGetAction0
379
+ * @memberof ActionsApiImportActionsFromYaml
564
380
  */
565
381
  readonly authorization?: string;
566
382
  }
567
- /**
568
- * Request parameters for listActionExecutions operation in ActionsApi.
569
- * @export
570
- * @interface ActionsApiListActionExecutionsRequest
571
- */
572
- export interface ActionsApiListActionExecutionsRequest {
573
- /**
574
- * Bearer Token: provided by the login endpoint under the name accessToken.
575
- * @type {string}
576
- * @memberof ActionsApiListActionExecutions
577
- */
578
- readonly authorization?: string;
579
- /**
580
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
581
- * @type {number}
582
- * @memberof ActionsApiListActionExecutions
583
- */
584
- readonly pageSize?: number;
585
- /**
586
- * 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.
587
- * @type {string}
588
- * @memberof ActionsApiListActionExecutions
589
- */
590
- readonly pageToken?: string;
591
- /**
592
- * 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;
593
- * @type {string}
594
- * @memberof ActionsApiListActionExecutions
595
- */
596
- readonly filter?: string;
597
- /**
598
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
599
- * @type {string}
600
- * @memberof ActionsApiListActionExecutions
601
- */
602
- readonly search?: string;
603
- /**
604
- * 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;
605
- * @type {string}
606
- * @memberof ActionsApiListActionExecutions
607
- */
608
- readonly order?: string;
609
- /**
610
- * 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;
611
- * @type {string}
612
- * @memberof ActionsApiListActionExecutions
613
- */
614
- readonly expand?: string;
615
- /**
616
- * 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;
617
- * @type {string}
618
- * @memberof ActionsApiListActionExecutions
619
- */
620
- readonly filters?: string;
621
- }
622
383
  /**
623
384
  * Request parameters for listActions operation in ActionsApi.
624
385
  * @export
@@ -644,7 +405,7 @@ export interface ActionsApiListActionsRequest {
644
405
  */
645
406
  readonly pageToken?: string;
646
407
  /**
647
- * 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;
408
+ * 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, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
648
409
  * @type {string}
649
410
  * @memberof ActionsApiListActions
650
411
  */
@@ -656,79 +417,24 @@ export interface ActionsApiListActionsRequest {
656
417
  */
657
418
  readonly search?: string;
658
419
  /**
659
- * 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;
420
+ * 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, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
660
421
  * @type {string}
661
422
  * @memberof ActionsApiListActions
662
423
  */
663
424
  readonly order?: string;
664
425
  /**
665
- * 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;
426
+ * 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; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
666
427
  * @type {string}
667
428
  * @memberof ActionsApiListActions
668
429
  */
669
430
  readonly expand?: string;
670
431
  /**
671
- * 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;
432
+ * 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, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
672
433
  * @type {string}
673
434
  * @memberof ActionsApiListActions
674
435
  */
675
436
  readonly filters?: string;
676
437
  }
677
- /**
678
- * Request parameters for listActions_4 operation in ActionsApi.
679
- * @export
680
- * @interface ActionsApiListActions0Request
681
- */
682
- export interface ActionsApiListActions0Request {
683
- /**
684
- * Bearer Token: provided by the login endpoint under the name accessToken.
685
- * @type {string}
686
- * @memberof ActionsApiListActions0
687
- */
688
- readonly authorization?: string;
689
- /**
690
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
691
- * @type {number}
692
- * @memberof ActionsApiListActions0
693
- */
694
- readonly pageSize?: number;
695
- /**
696
- * 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.
697
- * @type {string}
698
- * @memberof ActionsApiListActions0
699
- */
700
- readonly pageToken?: string;
701
- /**
702
- * 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;
703
- * @type {string}
704
- * @memberof ActionsApiListActions0
705
- */
706
- readonly filter?: string;
707
- /**
708
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
709
- * @type {string}
710
- * @memberof ActionsApiListActions0
711
- */
712
- readonly search?: string;
713
- /**
714
- * 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;
715
- * @type {string}
716
- * @memberof ActionsApiListActions0
717
- */
718
- readonly order?: string;
719
- /**
720
- * 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;
721
- * @type {string}
722
- * @memberof ActionsApiListActions0
723
- */
724
- readonly expand?: string;
725
- /**
726
- * 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;
727
- * @type {string}
728
- * @memberof ActionsApiListActions0
729
- */
730
- readonly filters?: string;
731
- }
732
438
  /**
733
439
  * Request parameters for updateAction operation in ActionsApi.
734
440
  * @export
@@ -754,31 +460,6 @@ export interface ActionsApiUpdateActionRequest {
754
460
  */
755
461
  readonly authorization?: string;
756
462
  }
757
- /**
758
- * Request parameters for updateAction_5 operation in ActionsApi.
759
- * @export
760
- * @interface ActionsApiUpdateAction0Request
761
- */
762
- export interface ActionsApiUpdateAction0Request {
763
- /**
764
- * Action code
765
- * @type {string}
766
- * @memberof ActionsApiUpdateAction0
767
- */
768
- readonly code: string;
769
- /**
770
- *
771
- * @type {UpdateActionRequestDto}
772
- * @memberof ActionsApiUpdateAction0
773
- */
774
- readonly updateActionRequestDto: UpdateActionRequestDto;
775
- /**
776
- * Bearer Token: provided by the login endpoint under the name accessToken.
777
- * @type {string}
778
- * @memberof ActionsApiUpdateAction0
779
- */
780
- readonly authorization?: string;
781
- }
782
463
  /**
783
464
  * ActionsApi - object-oriented interface
784
465
  * @export
@@ -795,15 +476,6 @@ export declare class ActionsApi extends BaseAPI {
795
476
  * @memberof ActionsApi
796
477
  */
797
478
  createAction(requestParameters: ActionsApiCreateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateActionResponseClass, any, {}>>;
798
- /**
799
- * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
800
- * @summary Create the action
801
- * @param {ActionsApiCreateAction0Request} requestParameters Request parameters.
802
- * @param {*} [options] Override http request option.
803
- * @throws {RequiredError}
804
- * @memberof ActionsApi
805
- */
806
- createAction_1(requestParameters: ActionsApiCreateAction0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateActionResponseClass, any, {}>>;
807
479
  /**
808
480
  * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
809
481
  * @summary Delete the action
@@ -814,14 +486,14 @@ export declare class ActionsApi extends BaseAPI {
814
486
  */
815
487
  deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
816
488
  /**
817
- * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
818
- * @summary Delete the action
819
- * @param {ActionsApiDeleteAction0Request} requestParameters Request parameters.
489
+ * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
490
+ * @summary Retrieve the entity-actions-yaml
491
+ * @param {ActionsApiExportActionsAsYamlRequest} requestParameters Request parameters.
820
492
  * @param {*} [options] Override http request option.
821
493
  * @throws {RequiredError}
822
494
  * @memberof ActionsApi
823
495
  */
824
- deleteAction_2(requestParameters: ActionsApiDeleteAction0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
496
+ exportActionsAsYaml(requestParameters: ActionsApiExportActionsAsYamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportActionsAsYamlResponseClass, any, {}>>;
825
497
  /**
826
498
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
827
499
  * @summary Retrieve the action
@@ -832,32 +504,14 @@ export declare class ActionsApi extends BaseAPI {
832
504
  */
833
505
  getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}>>;
834
506
  /**
835
- * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
836
- * @summary Retrieve the actionExecution
837
- * @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
838
- * @param {*} [options] Override http request option.
839
- * @throws {RequiredError}
840
- * @memberof ActionsApi
841
- */
842
- getActionExecutionStatus(requestParameters?: ActionsApiGetActionExecutionStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionExecutionStatusResponseClass, any, {}>>;
843
- /**
844
- * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
845
- * @summary Retrieve the action
846
- * @param {ActionsApiGetAction0Request} requestParameters Request parameters.
507
+ * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
508
+ * @summary Update the entity-actions-yaml
509
+ * @param {ActionsApiImportActionsFromYamlRequest} requestParameters Request parameters.
847
510
  * @param {*} [options] Override http request option.
848
511
  * @throws {RequiredError}
849
512
  * @memberof ActionsApi
850
513
  */
851
- getAction_3(requestParameters: ActionsApiGetAction0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}>>;
852
- /**
853
- * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
854
- * @summary List actionExecutions
855
- * @param {ActionsApiListActionExecutionsRequest} requestParameters Request parameters.
856
- * @param {*} [options] Override http request option.
857
- * @throws {RequiredError}
858
- * @memberof ActionsApi
859
- */
860
- listActionExecutions(requestParameters?: ActionsApiListActionExecutionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionExecutionsResponseClass, any, {}>>;
514
+ importActionsFromYaml(requestParameters: ActionsApiImportActionsFromYamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportActionsFromYamlResponseClass, any, {}>>;
861
515
  /**
862
516
  * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
863
517
  * @summary List actions
@@ -867,15 +521,6 @@ export declare class ActionsApi extends BaseAPI {
867
521
  * @memberof ActionsApi
868
522
  */
869
523
  listActions(requestParameters?: ActionsApiListActionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}>>;
870
- /**
871
- * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
872
- * @summary List actions
873
- * @param {ActionsApiListActions0Request} requestParameters Request parameters.
874
- * @param {*} [options] Override http request option.
875
- * @throws {RequiredError}
876
- * @memberof ActionsApi
877
- */
878
- listActions_4(requestParameters?: ActionsApiListActions0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}>>;
879
524
  /**
880
525
  * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
881
526
  * @summary Update the action
@@ -885,13 +530,4 @@ export declare class ActionsApi extends BaseAPI {
885
530
  * @memberof ActionsApi
886
531
  */
887
532
  updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
888
- /**
889
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
890
- * @summary Update the action
891
- * @param {ActionsApiUpdateAction0Request} requestParameters Request parameters.
892
- * @param {*} [options] Override http request option.
893
- * @throws {RequiredError}
894
- * @memberof ActionsApi
895
- */
896
- updateAction_5(requestParameters: ActionsApiUpdateAction0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
897
533
  }