@emilgroup/action-sdk-node 1.0.1-beta.40 → 1.0.1-beta.46

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.
@@ -16,8 +16,10 @@ import { CreateActionRequestDto } from '../models';
16
16
  import { CreateActionResponseClass } from '../models';
17
17
  import { ExportActionsAsYamlResponseClass } from '../models';
18
18
  import { GetActionResponseClass } from '../models';
19
+ import { GetActionVersionResponseClass } from '../models';
19
20
  import { ImportActionsFromYamlRequestDto } from '../models';
20
21
  import { ImportActionsFromYamlResponseClass } from '../models';
22
+ import { ListActionVersionsResponseClass } from '../models';
21
23
  import { ListActionsResponseClass } from '../models';
22
24
  import { UpdateActionRequestDto } from '../models';
23
25
  import { UpdateActionResponseClass } from '../models';
@@ -44,6 +46,15 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
44
46
  * @throws {RequiredError}
45
47
  */
46
48
  deleteAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
49
+ /**
50
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
51
+ * @summary Delete the action version
52
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
53
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ deleteActionVersion: (versionCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
58
  /**
48
59
  * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
49
60
  * @summary Retrieve the entity-actions-yaml
@@ -66,6 +77,16 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
66
77
  * @throws {RequiredError}
67
78
  */
68
79
  getAction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
+ /**
81
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
82
+ * @summary Retrieve the action version
83
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
84
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
85
+ * @param {string} [expand]
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ getActionVersion: (versionCode: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
90
  /**
70
91
  * 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
92
  * @summary Update the entity-actions-yaml
@@ -75,35 +96,49 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
75
96
  * @throws {RequiredError}
76
97
  */
77
98
  importActionsFromYaml: (importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
99
+ /**
100
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
101
+ * @summary List action versions
102
+ * @param {string} code Action code
103
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
104
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
105
+ * @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.
106
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
107
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
108
+ * @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, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
109
+ * @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;
110
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ listActionVersions: (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
115
  /**
79
116
  * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
80
117
  * @summary List actions
81
118
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
82
119
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
83
120
  * @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.
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, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
121
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
85
122
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
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, workflowSlug, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
123
+ * @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, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
87
124
  * @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, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
125
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
89
126
  * @param {*} [options] Override http request option.
90
127
  * @throws {RequiredError}
91
128
  */
92
129
  listActions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
93
130
  /**
94
- * Lists actions available for a given entity. Fetches entity snapshot by type and code, then returns actions configured for that entity type, product version, and tenant. **Required Permissions** \"action-management.actions.view\"
95
- * @summary Retrieve the actionsByEntity
96
- * @param {string} entityCode Code of the entity (e.g. policy code, lead code)
97
- * @param {'POLICY' | 'LEAD' | 'CLAIM'} entityType Entity type: Policy, Lead, Claim
131
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
132
+ * @summary Update the action
133
+ * @param {string} code Action code
134
+ * @param {UpdateActionRequestDto} updateActionRequestDto
98
135
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
- * @param {boolean} [includeDisabled] Include disabled (draft) actions
100
- * @param {boolean} [includeNotAvailableInUi] Include actions that are not available in UI
101
136
  * @param {*} [options] Override http request option.
102
137
  * @throws {RequiredError}
103
138
  */
104
- listActionsByEntity: (entityCode: string, entityType: 'POLICY' | 'LEAD' | 'CLAIM', authorization?: string, includeDisabled?: boolean, includeNotAvailableInUi?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
139
+ updateAction: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
105
140
  /**
106
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
141
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
107
142
  * @summary Update the action
108
143
  * @param {string} code Action code
109
144
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -111,7 +146,7 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
111
146
  * @param {*} [options] Override http request option.
112
147
  * @throws {RequiredError}
113
148
  */
114
- updateAction: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
149
+ updateAction_1: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
115
150
  };
116
151
  /**
117
152
  * ActionsApi - functional programming interface
@@ -136,6 +171,15 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
136
171
  * @throws {RequiredError}
137
172
  */
138
173
  deleteAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
174
+ /**
175
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
176
+ * @summary Delete the action version
177
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
178
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ deleteActionVersion(versionCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
139
183
  /**
140
184
  * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
141
185
  * @summary Retrieve the entity-actions-yaml
@@ -158,6 +202,16 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
158
202
  * @throws {RequiredError}
159
203
  */
160
204
  getAction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
205
+ /**
206
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
207
+ * @summary Retrieve the action version
208
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
209
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
210
+ * @param {string} [expand]
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ */
214
+ getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionVersionResponseClass>>;
161
215
  /**
162
216
  * 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\"
163
217
  * @summary Update the entity-actions-yaml
@@ -167,35 +221,49 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
167
221
  * @throws {RequiredError}
168
222
  */
169
223
  importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportActionsFromYamlResponseClass>>;
224
+ /**
225
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
226
+ * @summary List action versions
227
+ * @param {string} code Action code
228
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
229
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
230
+ * @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.
231
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
232
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
233
+ * @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, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
234
+ * @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;
235
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ */
239
+ listActionVersions(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionVersionsResponseClass>>;
170
240
  /**
171
241
  * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
172
242
  * @summary List actions
173
243
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
174
244
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
175
245
  * @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.
176
- * @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, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
246
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
177
247
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
178
- * @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, workflowSlug, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
248
+ * @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, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
179
249
  * @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;
180
- * @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, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
250
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
181
251
  * @param {*} [options] Override http request option.
182
252
  * @throws {RequiredError}
183
253
  */
184
254
  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>>;
185
255
  /**
186
- * Lists actions available for a given entity. Fetches entity snapshot by type and code, then returns actions configured for that entity type, product version, and tenant. **Required Permissions** \"action-management.actions.view\"
187
- * @summary Retrieve the actionsByEntity
188
- * @param {string} entityCode Code of the entity (e.g. policy code, lead code)
189
- * @param {'POLICY' | 'LEAD' | 'CLAIM'} entityType Entity type: Policy, Lead, Claim
256
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
257
+ * @summary Update the action
258
+ * @param {string} code Action code
259
+ * @param {UpdateActionRequestDto} updateActionRequestDto
190
260
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
191
- * @param {boolean} [includeDisabled] Include disabled (draft) actions
192
- * @param {boolean} [includeNotAvailableInUi] Include actions that are not available in UI
193
261
  * @param {*} [options] Override http request option.
194
262
  * @throws {RequiredError}
195
263
  */
196
- listActionsByEntity(entityCode: string, entityType: 'POLICY' | 'LEAD' | 'CLAIM', authorization?: string, includeDisabled?: boolean, includeNotAvailableInUi?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionsResponseClass>>;
264
+ updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
197
265
  /**
198
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
266
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
199
267
  * @summary Update the action
200
268
  * @param {string} code Action code
201
269
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -203,7 +271,7 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
203
271
  * @param {*} [options] Override http request option.
204
272
  * @throws {RequiredError}
205
273
  */
206
- updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
274
+ updateAction_1(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
207
275
  };
208
276
  /**
209
277
  * ActionsApi - factory interface
@@ -228,6 +296,15 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
228
296
  * @throws {RequiredError}
229
297
  */
230
298
  deleteAction(code: string, authorization?: string, options?: any): AxiosPromise<void>;
299
+ /**
300
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
301
+ * @summary Delete the action version
302
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
303
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ */
307
+ deleteActionVersion(versionCode: string, authorization?: string, options?: any): AxiosPromise<void>;
231
308
  /**
232
309
  * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
233
310
  * @summary Retrieve the entity-actions-yaml
@@ -250,6 +327,16 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
250
327
  * @throws {RequiredError}
251
328
  */
252
329
  getAction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionResponseClass>;
330
+ /**
331
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
332
+ * @summary Retrieve the action version
333
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
334
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
335
+ * @param {string} [expand]
336
+ * @param {*} [options] Override http request option.
337
+ * @throws {RequiredError}
338
+ */
339
+ getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionVersionResponseClass>;
253
340
  /**
254
341
  * 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\"
255
342
  * @summary Update the entity-actions-yaml
@@ -259,35 +346,49 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
259
346
  * @throws {RequiredError}
260
347
  */
261
348
  importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: any): AxiosPromise<ImportActionsFromYamlResponseClass>;
349
+ /**
350
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
351
+ * @summary List action versions
352
+ * @param {string} code Action code
353
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
354
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
355
+ * @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.
356
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
357
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
358
+ * @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, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
359
+ * @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;
360
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ listActionVersions(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionVersionsResponseClass>;
262
365
  /**
263
366
  * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
264
367
  * @summary List actions
265
368
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
266
369
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
267
370
  * @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.
268
- * @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, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
371
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
269
372
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
270
- * @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, workflowSlug, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
373
+ * @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, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
271
374
  * @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;
272
- * @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, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
375
+ * @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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
273
376
  * @param {*} [options] Override http request option.
274
377
  * @throws {RequiredError}
275
378
  */
276
379
  listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass>;
277
380
  /**
278
- * Lists actions available for a given entity. Fetches entity snapshot by type and code, then returns actions configured for that entity type, product version, and tenant. **Required Permissions** \"action-management.actions.view\"
279
- * @summary Retrieve the actionsByEntity
280
- * @param {string} entityCode Code of the entity (e.g. policy code, lead code)
281
- * @param {'POLICY' | 'LEAD' | 'CLAIM'} entityType Entity type: Policy, Lead, Claim
381
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
382
+ * @summary Update the action
383
+ * @param {string} code Action code
384
+ * @param {UpdateActionRequestDto} updateActionRequestDto
282
385
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
283
- * @param {boolean} [includeDisabled] Include disabled (draft) actions
284
- * @param {boolean} [includeNotAvailableInUi] Include actions that are not available in UI
285
386
  * @param {*} [options] Override http request option.
286
387
  * @throws {RequiredError}
287
388
  */
288
- listActionsByEntity(entityCode: string, entityType: 'POLICY' | 'LEAD' | 'CLAIM', authorization?: string, includeDisabled?: boolean, includeNotAvailableInUi?: boolean, options?: any): AxiosPromise<ListActionsResponseClass>;
389
+ updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
289
390
  /**
290
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
391
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
291
392
  * @summary Update the action
292
393
  * @param {string} code Action code
293
394
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -295,7 +396,7 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
295
396
  * @param {*} [options] Override http request option.
296
397
  * @throws {RequiredError}
297
398
  */
298
- updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
399
+ updateAction_1(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
299
400
  };
300
401
  /**
301
402
  * Request parameters for createAction operation in ActionsApi.
@@ -335,6 +436,25 @@ export interface ActionsApiDeleteActionRequest {
335
436
  */
336
437
  readonly authorization?: string;
337
438
  }
439
+ /**
440
+ * Request parameters for deleteActionVersion operation in ActionsApi.
441
+ * @export
442
+ * @interface ActionsApiDeleteActionVersionRequest
443
+ */
444
+ export interface ActionsApiDeleteActionVersionRequest {
445
+ /**
446
+ * Version code (e.g. acv_&lt;nanoid&gt;)
447
+ * @type {string}
448
+ * @memberof ActionsApiDeleteActionVersion
449
+ */
450
+ readonly versionCode: string;
451
+ /**
452
+ * Bearer Token: provided by the login endpoint under the name accessToken.
453
+ * @type {string}
454
+ * @memberof ActionsApiDeleteActionVersion
455
+ */
456
+ readonly authorization?: string;
457
+ }
338
458
  /**
339
459
  * Request parameters for exportActionsAsYaml operation in ActionsApi.
340
460
  * @export
@@ -397,6 +517,31 @@ export interface ActionsApiGetActionRequest {
397
517
  */
398
518
  readonly expand?: string;
399
519
  }
520
+ /**
521
+ * Request parameters for getActionVersion operation in ActionsApi.
522
+ * @export
523
+ * @interface ActionsApiGetActionVersionRequest
524
+ */
525
+ export interface ActionsApiGetActionVersionRequest {
526
+ /**
527
+ * Version code (e.g. acv_&lt;nanoid&gt;)
528
+ * @type {string}
529
+ * @memberof ActionsApiGetActionVersion
530
+ */
531
+ readonly versionCode: string;
532
+ /**
533
+ * Bearer Token: provided by the login endpoint under the name accessToken.
534
+ * @type {string}
535
+ * @memberof ActionsApiGetActionVersion
536
+ */
537
+ readonly authorization?: string;
538
+ /**
539
+ *
540
+ * @type {string}
541
+ * @memberof ActionsApiGetActionVersion
542
+ */
543
+ readonly expand?: string;
544
+ }
400
545
  /**
401
546
  * Request parameters for importActionsFromYaml operation in ActionsApi.
402
547
  * @export
@@ -416,6 +561,67 @@ export interface ActionsApiImportActionsFromYamlRequest {
416
561
  */
417
562
  readonly authorization?: string;
418
563
  }
564
+ /**
565
+ * Request parameters for listActionVersions operation in ActionsApi.
566
+ * @export
567
+ * @interface ActionsApiListActionVersionsRequest
568
+ */
569
+ export interface ActionsApiListActionVersionsRequest {
570
+ /**
571
+ * Action code
572
+ * @type {string}
573
+ * @memberof ActionsApiListActionVersions
574
+ */
575
+ readonly code: string;
576
+ /**
577
+ * Bearer Token: provided by the login endpoint under the name accessToken.
578
+ * @type {string}
579
+ * @memberof ActionsApiListActionVersions
580
+ */
581
+ readonly authorization?: string;
582
+ /**
583
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
584
+ * @type {number}
585
+ * @memberof ActionsApiListActionVersions
586
+ */
587
+ readonly pageSize?: number;
588
+ /**
589
+ * 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.
590
+ * @type {string}
591
+ * @memberof ActionsApiListActionVersions
592
+ */
593
+ readonly pageToken?: string;
594
+ /**
595
+ * 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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
596
+ * @type {string}
597
+ * @memberof ActionsApiListActionVersions
598
+ */
599
+ readonly filter?: string;
600
+ /**
601
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
602
+ * @type {string}
603
+ * @memberof ActionsApiListActionVersions
604
+ */
605
+ readonly search?: string;
606
+ /**
607
+ * 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, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
608
+ * @type {string}
609
+ * @memberof ActionsApiListActionVersions
610
+ */
611
+ readonly order?: string;
612
+ /**
613
+ * 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;
614
+ * @type {string}
615
+ * @memberof ActionsApiListActionVersions
616
+ */
617
+ readonly expand?: string;
618
+ /**
619
+ * 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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
620
+ * @type {string}
621
+ * @memberof ActionsApiListActionVersions
622
+ */
623
+ readonly filters?: string;
624
+ }
419
625
  /**
420
626
  * Request parameters for listActions operation in ActionsApi.
421
627
  * @export
@@ -441,7 +647,7 @@ export interface ActionsApiListActionsRequest {
441
647
  */
442
648
  readonly pageToken?: string;
443
649
  /**
444
- * 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, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
650
+ * 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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
445
651
  * @type {string}
446
652
  * @memberof ActionsApiListActions
447
653
  */
@@ -453,7 +659,7 @@ export interface ActionsApiListActionsRequest {
453
659
  */
454
660
  readonly search?: string;
455
661
  /**
456
- * 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, workflowSlug, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt&lt;/i&gt;
662
+ * 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, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
457
663
  * @type {string}
458
664
  * @memberof ActionsApiListActions
459
665
  */
@@ -465,71 +671,59 @@ export interface ActionsApiListActionsRequest {
465
671
  */
466
672
  readonly expand?: string;
467
673
  /**
468
- * 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, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
674
+ * 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, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
469
675
  * @type {string}
470
676
  * @memberof ActionsApiListActions
471
677
  */
472
678
  readonly filters?: string;
473
679
  }
474
680
  /**
475
- * Request parameters for listActionsByEntity operation in ActionsApi.
681
+ * Request parameters for updateAction operation in ActionsApi.
476
682
  * @export
477
- * @interface ActionsApiListActionsByEntityRequest
683
+ * @interface ActionsApiUpdateActionRequest
478
684
  */
479
- export interface ActionsApiListActionsByEntityRequest {
685
+ export interface ActionsApiUpdateActionRequest {
480
686
  /**
481
- * Code of the entity (e.g. policy code, lead code)
687
+ * Action code
482
688
  * @type {string}
483
- * @memberof ActionsApiListActionsByEntity
689
+ * @memberof ActionsApiUpdateAction
484
690
  */
485
- readonly entityCode: string;
691
+ readonly code: string;
486
692
  /**
487
- * Entity type: Policy, Lead, Claim
488
- * @type {'POLICY' | 'LEAD' | 'CLAIM'}
489
- * @memberof ActionsApiListActionsByEntity
693
+ *
694
+ * @type {UpdateActionRequestDto}
695
+ * @memberof ActionsApiUpdateAction
490
696
  */
491
- readonly entityType: 'POLICY' | 'LEAD' | 'CLAIM';
697
+ readonly updateActionRequestDto: UpdateActionRequestDto;
492
698
  /**
493
699
  * Bearer Token: provided by the login endpoint under the name accessToken.
494
700
  * @type {string}
495
- * @memberof ActionsApiListActionsByEntity
701
+ * @memberof ActionsApiUpdateAction
496
702
  */
497
703
  readonly authorization?: string;
498
- /**
499
- * Include disabled (draft) actions
500
- * @type {boolean}
501
- * @memberof ActionsApiListActionsByEntity
502
- */
503
- readonly includeDisabled?: boolean;
504
- /**
505
- * Include actions that are not available in UI
506
- * @type {boolean}
507
- * @memberof ActionsApiListActionsByEntity
508
- */
509
- readonly includeNotAvailableInUi?: boolean;
510
704
  }
511
705
  /**
512
- * Request parameters for updateAction operation in ActionsApi.
706
+ * Request parameters for updateAction_1 operation in ActionsApi.
513
707
  * @export
514
- * @interface ActionsApiUpdateActionRequest
708
+ * @interface ActionsApiUpdateAction0Request
515
709
  */
516
- export interface ActionsApiUpdateActionRequest {
710
+ export interface ActionsApiUpdateAction0Request {
517
711
  /**
518
712
  * Action code
519
713
  * @type {string}
520
- * @memberof ActionsApiUpdateAction
714
+ * @memberof ActionsApiUpdateAction0
521
715
  */
522
716
  readonly code: string;
523
717
  /**
524
718
  *
525
719
  * @type {UpdateActionRequestDto}
526
- * @memberof ActionsApiUpdateAction
720
+ * @memberof ActionsApiUpdateAction0
527
721
  */
528
722
  readonly updateActionRequestDto: UpdateActionRequestDto;
529
723
  /**
530
724
  * Bearer Token: provided by the login endpoint under the name accessToken.
531
725
  * @type {string}
532
- * @memberof ActionsApiUpdateAction
726
+ * @memberof ActionsApiUpdateAction0
533
727
  */
534
728
  readonly authorization?: string;
535
729
  }
@@ -558,6 +752,15 @@ export declare class ActionsApi extends BaseAPI {
558
752
  * @memberof ActionsApi
559
753
  */
560
754
  deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
755
+ /**
756
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
757
+ * @summary Delete the action version
758
+ * @param {ActionsApiDeleteActionVersionRequest} requestParameters Request parameters.
759
+ * @param {*} [options] Override http request option.
760
+ * @throws {RequiredError}
761
+ * @memberof ActionsApi
762
+ */
763
+ deleteActionVersion(requestParameters: ActionsApiDeleteActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
561
764
  /**
562
765
  * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
563
766
  * @summary Retrieve the entity-actions-yaml
@@ -576,6 +779,15 @@ export declare class ActionsApi extends BaseAPI {
576
779
  * @memberof ActionsApi
577
780
  */
578
781
  getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}>>;
782
+ /**
783
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
784
+ * @summary Retrieve the action version
785
+ * @param {ActionsApiGetActionVersionRequest} requestParameters Request parameters.
786
+ * @param {*} [options] Override http request option.
787
+ * @throws {RequiredError}
788
+ * @memberof ActionsApi
789
+ */
790
+ getActionVersion(requestParameters: ActionsApiGetActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionVersionResponseClass, any, {}>>;
579
791
  /**
580
792
  * 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\"
581
793
  * @summary Update the entity-actions-yaml
@@ -585,6 +797,15 @@ export declare class ActionsApi extends BaseAPI {
585
797
  * @memberof ActionsApi
586
798
  */
587
799
  importActionsFromYaml(requestParameters: ActionsApiImportActionsFromYamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportActionsFromYamlResponseClass, any, {}>>;
800
+ /**
801
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
802
+ * @summary List action versions
803
+ * @param {ActionsApiListActionVersionsRequest} requestParameters Request parameters.
804
+ * @param {*} [options] Override http request option.
805
+ * @throws {RequiredError}
806
+ * @memberof ActionsApi
807
+ */
808
+ listActionVersions(requestParameters: ActionsApiListActionVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionVersionsResponseClass, any, {}>>;
588
809
  /**
589
810
  * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
590
811
  * @summary List actions
@@ -595,21 +816,21 @@ export declare class ActionsApi extends BaseAPI {
595
816
  */
596
817
  listActions(requestParameters?: ActionsApiListActionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}>>;
597
818
  /**
598
- * Lists actions available for a given entity. Fetches entity snapshot by type and code, then returns actions configured for that entity type, product version, and tenant. **Required Permissions** \"action-management.actions.view\"
599
- * @summary Retrieve the actionsByEntity
600
- * @param {ActionsApiListActionsByEntityRequest} requestParameters Request parameters.
819
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
820
+ * @summary Update the action
821
+ * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
601
822
  * @param {*} [options] Override http request option.
602
823
  * @throws {RequiredError}
603
824
  * @memberof ActionsApi
604
825
  */
605
- listActionsByEntity(requestParameters: ActionsApiListActionsByEntityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}>>;
826
+ updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
606
827
  /**
607
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
828
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
608
829
  * @summary Update the action
609
- * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
830
+ * @param {ActionsApiUpdateAction0Request} requestParameters Request parameters.
610
831
  * @param {*} [options] Override http request option.
611
832
  * @throws {RequiredError}
612
833
  * @memberof ActionsApi
613
834
  */
614
- updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
835
+ updateAction_1(requestParameters: ActionsApiUpdateAction0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
615
836
  }