@emilgroup/action-sdk-node 1.0.1-beta.31 → 1.0.1-beta.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/actions-api.ts +184 -219
  4. package/api/executions-api.ts +475 -0
  5. package/api.ts +2 -0
  6. package/dist/api/actions-api.d.ts +140 -166
  7. package/dist/api/actions-api.js +126 -141
  8. package/dist/api/executions-api.d.ts +272 -0
  9. package/dist/api/executions-api.js +456 -0
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/action-class.d.ts +38 -2
  13. package/dist/models/action-execution-class.d.ts +30 -0
  14. package/dist/models/create-action-request-dto.d.ts +31 -1
  15. package/dist/models/create-action-request-dto.js +6 -0
  16. package/dist/models/export-actions-as-yaml-response-class.d.ts +24 -0
  17. package/dist/models/export-actions-as-yaml-response-class.js +15 -0
  18. package/dist/models/import-actions-from-yaml-request-dto.d.ts +36 -0
  19. package/dist/models/import-actions-from-yaml-request-dto.js +15 -0
  20. package/dist/models/import-actions-from-yaml-response-class.d.ts +37 -0
  21. package/dist/models/import-actions-from-yaml-response-class.js +15 -0
  22. package/dist/models/index.d.ts +5 -0
  23. package/dist/models/index.js +5 -0
  24. package/dist/models/trigger-action-request-dto.d.ts +62 -0
  25. package/dist/models/trigger-action-request-dto.js +15 -0
  26. package/dist/models/trigger-action-response-class.d.ts +25 -0
  27. package/dist/models/trigger-action-response-class.js +15 -0
  28. package/dist/models/update-action-request-dto.d.ts +30 -0
  29. package/dist/models/update-action-request-dto.js +6 -0
  30. package/models/action-class.ts +38 -2
  31. package/models/action-execution-class.ts +30 -0
  32. package/models/create-action-request-dto.ts +34 -1
  33. package/models/export-actions-as-yaml-response-class.ts +30 -0
  34. package/models/import-actions-from-yaml-request-dto.ts +42 -0
  35. package/models/import-actions-from-yaml-response-class.ts +43 -0
  36. package/models/index.ts +5 -0
  37. package/models/trigger-action-request-dto.ts +66 -0
  38. package/models/trigger-action-response-class.ts +31 -0
  39. package/models/update-action-request-dto.ts +33 -0
  40. 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';
@@ -26,7 +27,7 @@ import { UpdateActionResponseClass } from '../models';
26
27
  */
27
28
  export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration) => {
28
29
  /**
29
- * Creates a new action configuration
30
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
30
31
  * @summary Create the action
31
32
  * @param {CreateActionRequestDto} createActionRequestDto
32
33
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -35,7 +36,7 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
35
36
  */
36
37
  createAction: (createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
38
  /**
38
- * Deletes an action configuration by its code
39
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
39
40
  * @summary Delete the action
40
41
  * @param {string} code Action code
41
42
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -44,56 +45,53 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
44
45
  */
45
46
  deleteAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
47
  /**
47
- * Retrieves an action configuration by its code
48
- * @summary Retrieve the action
49
- * @param {string} code Action code
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
50
52
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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
51
55
  * @param {*} [options] Override http request option.
52
56
  * @throws {RequiredError}
53
57
  */
54
- getAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
+ exportActionsAsYaml: (productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
59
  /**
56
- * Retrieves the latest action execution status by executionCode or correlationId
57
- * @summary Retrieve the actionExecution
60
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
61
+ * @summary Retrieve the action
62
+ * @param {string} code Action code
58
63
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
- * @param {string} [executionCode] Action execution code
60
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
64
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
61
65
  * @param {*} [options] Override http request option.
62
66
  * @throws {RequiredError}
63
67
  */
64
- getActionExecutionStatus: (authorization?: string, executionCode?: string, correlationId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ getAction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
69
  /**
66
- * Lists action executions (latest status per execution only) with optional filters
67
- * @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
68
73
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
70
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
71
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
72
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
73
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
74
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
75
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
76
74
  * @param {*} [options] Override http request option.
77
75
  * @throws {RequiredError}
78
76
  */
79
- 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>;
80
78
  /**
81
- * Lists all action configurations with optional filters
79
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
82
80
  * @summary List actions
83
81
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
84
82
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
85
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.
86
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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;
87
85
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
88
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
89
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
90
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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;
91
89
  * @param {*} [options] Override http request option.
92
90
  * @throws {RequiredError}
93
91
  */
94
92
  listActions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
95
93
  /**
96
- * Updates an existing action configuration (patch semantics)
94
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
97
95
  * @summary Update the action
98
96
  * @param {string} code Action code
99
97
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -109,7 +107,7 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
109
107
  */
110
108
  export declare const ActionsApiFp: (configuration?: Configuration) => {
111
109
  /**
112
- * Creates a new action configuration
110
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
113
111
  * @summary Create the action
114
112
  * @param {CreateActionRequestDto} createActionRequestDto
115
113
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -118,7 +116,7 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
118
116
  */
119
117
  createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateActionResponseClass>>;
120
118
  /**
121
- * Deletes an action configuration by its code
119
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
122
120
  * @summary Delete the action
123
121
  * @param {string} code Action code
124
122
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -127,56 +125,53 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
127
125
  */
128
126
  deleteAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
129
127
  /**
130
- * Retrieves an action configuration by its code
131
- * @summary Retrieve the action
132
- * @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
133
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
134
135
  * @param {*} [options] Override http request option.
135
136
  * @throws {RequiredError}
136
137
  */
137
- getAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
138
+ exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportActionsAsYamlResponseClass>>;
138
139
  /**
139
- * Retrieves the latest action execution status by executionCode or correlationId
140
- * @summary Retrieve the actionExecution
140
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
141
+ * @summary Retrieve the action
142
+ * @param {string} code Action code
141
143
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
142
- * @param {string} [executionCode] Action execution code
143
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
144
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
144
145
  * @param {*} [options] Override http request option.
145
146
  * @throws {RequiredError}
146
147
  */
147
- getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionExecutionStatusResponseClass>>;
148
+ getAction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
148
149
  /**
149
- * Lists action executions (latest status per execution only) with optional filters
150
- * @summary List actionExecutions
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
151
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
153
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
154
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
155
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
156
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
157
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
158
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
159
154
  * @param {*} [options] Override http request option.
160
155
  * @throws {RequiredError}
161
156
  */
162
- listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionExecutionsResponseClass>>;
157
+ importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportActionsFromYamlResponseClass>>;
163
158
  /**
164
- * Lists all action configurations with optional filters
159
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
165
160
  * @summary List actions
166
161
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
167
162
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
168
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.
169
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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;
170
165
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
171
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
172
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
173
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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;
174
169
  * @param {*} [options] Override http request option.
175
170
  * @throws {RequiredError}
176
171
  */
177
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>>;
178
173
  /**
179
- * Updates an existing action configuration (patch semantics)
174
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
180
175
  * @summary Update the action
181
176
  * @param {string} code Action code
182
177
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -192,7 +187,7 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
192
187
  */
193
188
  export declare const ActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
194
189
  /**
195
- * Creates a new action configuration
190
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
196
191
  * @summary Create the action
197
192
  * @param {CreateActionRequestDto} createActionRequestDto
198
193
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -201,7 +196,7 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
201
196
  */
202
197
  createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass>;
203
198
  /**
204
- * Deletes an action configuration by its code
199
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
205
200
  * @summary Delete the action
206
201
  * @param {string} code Action code
207
202
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -210,56 +205,53 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
210
205
  */
211
206
  deleteAction(code: string, authorization?: string, options?: any): AxiosPromise<void>;
212
207
  /**
213
- * Retrieves an action configuration by its code
214
- * @summary Retrieve the action
215
- * @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
216
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
217
215
  * @param {*} [options] Override http request option.
218
216
  * @throws {RequiredError}
219
217
  */
220
- getAction(code: string, authorization?: string, options?: any): AxiosPromise<GetActionResponseClass>;
218
+ exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: any): AxiosPromise<ExportActionsAsYamlResponseClass>;
221
219
  /**
222
- * Retrieves the latest action execution status by executionCode or correlationId
223
- * @summary Retrieve the actionExecution
220
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
221
+ * @summary Retrieve the action
222
+ * @param {string} code Action code
224
223
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
225
- * @param {string} [executionCode] Action execution code
226
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
224
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
227
225
  * @param {*} [options] Override http request option.
228
226
  * @throws {RequiredError}
229
227
  */
230
- getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: any): AxiosPromise<GetActionExecutionStatusResponseClass>;
228
+ getAction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionResponseClass>;
231
229
  /**
232
- * Lists action executions (latest status per execution only) with optional filters
233
- * @summary List actionExecutions
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
234
233
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
235
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
236
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
237
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
238
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
239
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
240
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
241
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
242
234
  * @param {*} [options] Override http request option.
243
235
  * @throws {RequiredError}
244
236
  */
245
- 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>;
246
238
  /**
247
- * Lists all action configurations with optional filters
239
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
248
240
  * @summary List actions
249
241
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
242
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
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.
252
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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;
253
245
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
254
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
255
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
256
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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;
257
249
  * @param {*} [options] Override http request option.
258
250
  * @throws {RequiredError}
259
251
  */
260
252
  listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass>;
261
253
  /**
262
- * Updates an existing action configuration (patch semantics)
254
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
263
255
  * @summary Update the action
264
256
  * @param {string} code Action code
265
257
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -308,103 +300,85 @@ export interface ActionsApiDeleteActionRequest {
308
300
  readonly authorization?: string;
309
301
  }
310
302
  /**
311
- * Request parameters for getAction operation in ActionsApi.
303
+ * Request parameters for exportActionsAsYaml operation in ActionsApi.
312
304
  * @export
313
- * @interface ActionsApiGetActionRequest
305
+ * @interface ActionsApiExportActionsAsYamlRequest
314
306
  */
315
- export interface ActionsApiGetActionRequest {
307
+ export interface ActionsApiExportActionsAsYamlRequest {
316
308
  /**
317
- * Action code
309
+ * Product slug
318
310
  * @type {string}
319
- * @memberof ActionsApiGetAction
311
+ * @memberof ActionsApiExportActionsAsYaml
320
312
  */
321
- readonly code: string;
313
+ readonly productSlug: string;
322
314
  /**
323
- * Bearer Token: provided by the login endpoint under the name accessToken.
324
- * @type {string}
325
- * @memberof ActionsApiGetAction
315
+ * Product version ID
316
+ * @type {number}
317
+ * @memberof ActionsApiExportActionsAsYaml
326
318
  */
327
- readonly authorization?: string;
328
- }
329
- /**
330
- * Request parameters for getActionExecutionStatus operation in ActionsApi.
331
- * @export
332
- * @interface ActionsApiGetActionExecutionStatusRequest
333
- */
334
- export interface ActionsApiGetActionExecutionStatusRequest {
319
+ readonly productVersionId: number;
335
320
  /**
336
321
  * Bearer Token: provided by the login endpoint under the name accessToken.
337
322
  * @type {string}
338
- * @memberof ActionsApiGetActionExecutionStatus
323
+ * @memberof ActionsApiExportActionsAsYaml
339
324
  */
340
325
  readonly authorization?: string;
341
326
  /**
342
- * Action execution code
343
- * @type {string}
344
- * @memberof ActionsApiGetActionExecutionStatus
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
345
330
  */
346
- readonly executionCode?: string;
331
+ readonly actionSlugs?: Array<string>;
347
332
  /**
348
- * Correlation ID (e.g. webhook execution code that triggered this action execution)
349
- * @type {string}
350
- * @memberof ActionsApiGetActionExecutionStatus
333
+ * Include draft (disabled) actions
334
+ * @type {boolean}
335
+ * @memberof ActionsApiExportActionsAsYaml
351
336
  */
352
- readonly correlationId?: string;
337
+ readonly includeDisabled?: boolean;
353
338
  }
354
339
  /**
355
- * Request parameters for listActionExecutions operation in ActionsApi.
340
+ * Request parameters for getAction operation in ActionsApi.
356
341
  * @export
357
- * @interface ActionsApiListActionExecutionsRequest
342
+ * @interface ActionsApiGetActionRequest
358
343
  */
359
- export interface ActionsApiListActionExecutionsRequest {
360
- /**
361
- * Bearer Token: provided by the login endpoint under the name accessToken.
362
- * @type {string}
363
- * @memberof ActionsApiListActionExecutions
364
- */
365
- readonly authorization?: string;
366
- /**
367
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
- * @type {number}
369
- * @memberof ActionsApiListActionExecutions
370
- */
371
- readonly pageSize?: number;
372
- /**
373
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
374
- * @type {string}
375
- * @memberof ActionsApiListActionExecutions
376
- */
377
- readonly pageToken?: string;
344
+ export interface ActionsApiGetActionRequest {
378
345
  /**
379
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
346
+ * Action code
380
347
  * @type {string}
381
- * @memberof ActionsApiListActionExecutions
348
+ * @memberof ActionsApiGetAction
382
349
  */
383
- readonly filter?: string;
350
+ readonly code: string;
384
351
  /**
385
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
352
+ * Bearer Token: provided by the login endpoint under the name accessToken.
386
353
  * @type {string}
387
- * @memberof ActionsApiListActionExecutions
354
+ * @memberof ActionsApiGetAction
388
355
  */
389
- readonly search?: string;
356
+ readonly authorization?: string;
390
357
  /**
391
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
358
+ * Expand to fetch additional information (e.g. inputValidationSchema)
392
359
  * @type {string}
393
- * @memberof ActionsApiListActionExecutions
360
+ * @memberof ActionsApiGetAction
394
361
  */
395
- readonly order?: string;
362
+ readonly expand?: string;
363
+ }
364
+ /**
365
+ * Request parameters for importActionsFromYaml operation in ActionsApi.
366
+ * @export
367
+ * @interface ActionsApiImportActionsFromYamlRequest
368
+ */
369
+ export interface ActionsApiImportActionsFromYamlRequest {
396
370
  /**
397
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
398
- * @type {string}
399
- * @memberof ActionsApiListActionExecutions
371
+ *
372
+ * @type {ImportActionsFromYamlRequestDto}
373
+ * @memberof ActionsApiImportActionsFromYaml
400
374
  */
401
- readonly expand?: string;
375
+ readonly importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto;
402
376
  /**
403
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
377
+ * Bearer Token: provided by the login endpoint under the name accessToken.
404
378
  * @type {string}
405
- * @memberof ActionsApiListActionExecutions
379
+ * @memberof ActionsApiImportActionsFromYaml
406
380
  */
407
- readonly filters?: string;
381
+ readonly authorization?: string;
408
382
  }
409
383
  /**
410
384
  * Request parameters for listActions operation in ActionsApi.
@@ -431,7 +405,7 @@ export interface ActionsApiListActionsRequest {
431
405
  */
432
406
  readonly pageToken?: string;
433
407
  /**
434
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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;
435
409
  * @type {string}
436
410
  * @memberof ActionsApiListActions
437
411
  */
@@ -443,19 +417,19 @@ export interface ActionsApiListActionsRequest {
443
417
  */
444
418
  readonly search?: string;
445
419
  /**
446
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
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;
447
421
  * @type {string}
448
422
  * @memberof ActionsApiListActions
449
423
  */
450
424
  readonly order?: string;
451
425
  /**
452
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
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;
453
427
  * @type {string}
454
428
  * @memberof ActionsApiListActions
455
429
  */
456
430
  readonly expand?: string;
457
431
  /**
458
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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;
459
433
  * @type {string}
460
434
  * @memberof ActionsApiListActions
461
435
  */
@@ -494,7 +468,7 @@ export interface ActionsApiUpdateActionRequest {
494
468
  */
495
469
  export declare class ActionsApi extends BaseAPI {
496
470
  /**
497
- * Creates a new action configuration
471
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
498
472
  * @summary Create the action
499
473
  * @param {ActionsApiCreateActionRequest} requestParameters Request parameters.
500
474
  * @param {*} [options] Override http request option.
@@ -503,7 +477,7 @@ export declare class ActionsApi extends BaseAPI {
503
477
  */
504
478
  createAction(requestParameters: ActionsApiCreateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateActionResponseClass, any, {}>>;
505
479
  /**
506
- * Deletes an action configuration by its code
480
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
507
481
  * @summary Delete the action
508
482
  * @param {ActionsApiDeleteActionRequest} requestParameters Request parameters.
509
483
  * @param {*} [options] Override http request option.
@@ -512,34 +486,34 @@ export declare class ActionsApi extends BaseAPI {
512
486
  */
513
487
  deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
514
488
  /**
515
- * Retrieves an action configuration by its code
516
- * @summary Retrieve the action
517
- * @param {ActionsApiGetActionRequest} 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.
518
492
  * @param {*} [options] Override http request option.
519
493
  * @throws {RequiredError}
520
494
  * @memberof ActionsApi
521
495
  */
522
- getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}>>;
496
+ exportActionsAsYaml(requestParameters: ActionsApiExportActionsAsYamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportActionsAsYamlResponseClass, any, {}>>;
523
497
  /**
524
- * Retrieves the latest action execution status by executionCode or correlationId
525
- * @summary Retrieve the actionExecution
526
- * @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
498
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
499
+ * @summary Retrieve the action
500
+ * @param {ActionsApiGetActionRequest} requestParameters Request parameters.
527
501
  * @param {*} [options] Override http request option.
528
502
  * @throws {RequiredError}
529
503
  * @memberof ActionsApi
530
504
  */
531
- getActionExecutionStatus(requestParameters?: ActionsApiGetActionExecutionStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionExecutionStatusResponseClass, any, {}>>;
505
+ getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}>>;
532
506
  /**
533
- * Lists action executions (latest status per execution only) with optional filters
534
- * @summary List actionExecutions
535
- * @param {ActionsApiListActionExecutionsRequest} 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.
536
510
  * @param {*} [options] Override http request option.
537
511
  * @throws {RequiredError}
538
512
  * @memberof ActionsApi
539
513
  */
540
- listActionExecutions(requestParameters?: ActionsApiListActionExecutionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionExecutionsResponseClass, any, {}>>;
514
+ importActionsFromYaml(requestParameters: ActionsApiImportActionsFromYamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportActionsFromYamlResponseClass, any, {}>>;
541
515
  /**
542
- * Lists all action configurations with optional filters
516
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
543
517
  * @summary List actions
544
518
  * @param {ActionsApiListActionsRequest} requestParameters Request parameters.
545
519
  * @param {*} [options] Override http request option.
@@ -548,7 +522,7 @@ export declare class ActionsApi extends BaseAPI {
548
522
  */
549
523
  listActions(requestParameters?: ActionsApiListActionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}>>;
550
524
  /**
551
- * Updates an existing action configuration (patch semantics)
525
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
552
526
  * @summary Update the action
553
527
  * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
554
528
  * @param {*} [options] Override http request option.