@emilgroup/action-sdk 1.1.1-beta.7 → 1.2.1-beta.10

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 (56) hide show
  1. package/.openapi-generator/FILES +8 -1
  2. package/README.md +2 -2
  3. package/api/action-client-api.ts +1709 -0
  4. package/api/actions-api.ts +201 -495
  5. package/api/executions-api.ts +119 -12
  6. package/api/{default-api.ts → health-api.ts} +13 -13
  7. package/api.ts +4 -2
  8. package/base.ts +1 -0
  9. package/dist/api/action-client-api.d.ts +973 -0
  10. package/dist/api/action-client-api.js +1416 -0
  11. package/dist/api/actions-api.d.ts +165 -321
  12. package/dist/api/actions-api.js +136 -410
  13. package/dist/api/executions-api.d.ts +69 -12
  14. package/dist/api/executions-api.js +102 -9
  15. package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
  16. package/dist/api/{default-api.js → health-api.js} +22 -22
  17. package/dist/api.d.ts +2 -1
  18. package/dist/api.js +2 -1
  19. package/dist/base.d.ts +2 -1
  20. package/dist/base.js +1 -0
  21. package/dist/models/action-class.d.ts +9 -20
  22. package/dist/models/action-execution-class.d.ts +36 -0
  23. package/dist/models/action-ref-class.d.ts +36 -0
  24. package/dist/models/action-ref-class.js +15 -0
  25. package/dist/models/action-version-class.d.ts +127 -0
  26. package/dist/models/action-version-class.js +21 -0
  27. package/dist/models/create-action-request-dto.d.ts +47 -5
  28. package/dist/models/create-action-request-dto.js +6 -0
  29. package/dist/models/get-action-version-response-class.d.ts +25 -0
  30. package/dist/models/get-action-version-response-class.js +15 -0
  31. package/dist/models/index.d.ts +6 -0
  32. package/dist/models/index.js +6 -0
  33. package/dist/models/list-action-executions-response-class.d.ts +10 -10
  34. package/dist/models/list-action-versions-response-class.d.ts +43 -0
  35. package/dist/models/list-action-versions-response-class.js +15 -0
  36. package/dist/models/list-actions-response-class.d.ts +10 -10
  37. package/dist/models/trigger-action-request-dto.d.ts +62 -0
  38. package/dist/models/trigger-action-request-dto.js +15 -0
  39. package/dist/models/trigger-action-response-class.d.ts +25 -0
  40. package/dist/models/trigger-action-response-class.js +15 -0
  41. package/dist/models/update-action-request-dto.d.ts +41 -5
  42. package/dist/models/update-action-request-dto.js +6 -0
  43. package/models/action-class.ts +9 -20
  44. package/models/action-execution-class.ts +36 -0
  45. package/models/action-ref-class.ts +42 -0
  46. package/models/action-version-class.ts +136 -0
  47. package/models/create-action-request-dto.ts +50 -5
  48. package/models/get-action-version-response-class.ts +31 -0
  49. package/models/index.ts +6 -0
  50. package/models/list-action-executions-response-class.ts +10 -10
  51. package/models/list-action-versions-response-class.ts +49 -0
  52. package/models/list-actions-response-class.ts +10 -10
  53. package/models/trigger-action-request-dto.ts +66 -0
  54. package/models/trigger-action-response-class.ts +31 -0
  55. package/models/update-action-request-dto.ts +44 -5
  56. package/package.json +2 -2
@@ -25,11 +25,11 @@ import { CreateActionRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { CreateActionResponseClass } from '../models';
27
27
  // @ts-ignore
28
- import { GetActionExecutionStatusResponseClass } from '../models';
29
- // @ts-ignore
30
28
  import { GetActionResponseClass } from '../models';
31
29
  // @ts-ignore
32
- import { ListActionExecutionsResponseClass } from '../models';
30
+ import { GetActionVersionResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { ListActionVersionsResponseClass } from '../models';
33
33
  // @ts-ignore
34
34
  import { ListActionsResponseClass } from '../models';
35
35
  // @ts-ignore
@@ -77,53 +77,6 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
77
77
 
78
78
 
79
79
 
80
- localVarHeaderParameter['Content-Type'] = 'application/json';
81
-
82
- setSearchParams(localVarUrlObj, localVarQueryParameter);
83
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
- localVarRequestOptions.data = serializeDataIfNeeded(createActionRequestDto, localVarRequestOptions, configuration)
86
-
87
- return {
88
- url: toPathString(localVarUrlObj),
89
- options: localVarRequestOptions,
90
- };
91
- },
92
- /**
93
- * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
94
- * @summary Create the action
95
- * @param {CreateActionRequestDto} createActionRequestDto
96
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
- * @param {*} [options] Override http request option.
98
- * @throws {RequiredError}
99
- */
100
- createAction_1: async (createActionRequestDto: CreateActionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
- // verify required parameter 'createActionRequestDto' is not null or undefined
102
- assertParamExists('createAction_1', 'createActionRequestDto', createActionRequestDto)
103
- const localVarPath = `/actionservice/v1/actions`;
104
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
105
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
106
- let baseOptions;
107
- let baseAccessToken;
108
- if (configuration) {
109
- baseOptions = configuration.baseOptions;
110
- baseAccessToken = configuration.accessToken;
111
- }
112
-
113
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
114
- const localVarHeaderParameter = {} as any;
115
- const localVarQueryParameter = {} as any;
116
-
117
- // authentication bearer required
118
- // http bearer authentication required
119
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
120
-
121
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
122
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
123
- }
124
-
125
-
126
-
127
80
  localVarHeaderParameter['Content-Type'] = 'application/json';
128
81
 
129
82
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -182,18 +135,18 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
182
135
  };
183
136
  },
184
137
  /**
185
- * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
186
- * @summary Delete the action
187
- * @param {string} code Action code
138
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
139
+ * @summary Delete the action version
140
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
188
141
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
142
  * @param {*} [options] Override http request option.
190
143
  * @throws {RequiredError}
191
144
  */
192
- deleteAction_2: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
- // verify required parameter 'code' is not null or undefined
194
- assertParamExists('deleteAction_2', 'code', code)
195
- const localVarPath = `/actionservice/v1/actions/{code}`
196
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
145
+ deleteActionVersion: async (versionCode: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
+ // verify required parameter 'versionCode' is not null or undefined
147
+ assertParamExists('deleteActionVersion', 'versionCode', versionCode)
148
+ const localVarPath = `/actionservice/v1/actions/versions/{versionCode}`
149
+ .replace(`{${"versionCode"}}`, encodeURIComponent(String(versionCode)));
197
150
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
198
151
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
199
152
  let baseOptions;
@@ -231,10 +184,11 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
231
184
  * @summary Retrieve the action
232
185
  * @param {string} code Action code
233
186
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
187
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
234
188
  * @param {*} [options] Override http request option.
235
189
  * @throws {RequiredError}
236
190
  */
237
- getAction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
191
+ getAction: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
238
192
  // verify required parameter 'code' is not null or undefined
239
193
  assertParamExists('getAction', 'code', code)
240
194
  const localVarPath = `/actionservice/v1/actions/{code}`
@@ -256,6 +210,10 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
256
210
  // http bearer authentication required
257
211
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
258
212
 
213
+ if (expand !== undefined) {
214
+ localVarQueryParameter['expand'] = expand;
215
+ }
216
+
259
217
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
260
218
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
261
219
  }
@@ -272,16 +230,19 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
272
230
  };
273
231
  },
274
232
  /**
275
- * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
276
- * @summary Retrieve the actionExecution
233
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
234
+ * @summary Retrieve the action version
235
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
277
236
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
278
- * @param {string} [executionCode] Action execution code
279
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
237
+ * @param {string} [expand]
280
238
  * @param {*} [options] Override http request option.
281
239
  * @throws {RequiredError}
282
240
  */
283
- getActionExecutionStatus: async (authorization?: string, executionCode?: string, correlationId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
284
- const localVarPath = `/actionservice/v1/actions/executions/status`;
241
+ getActionVersion: async (versionCode: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
242
+ // verify required parameter 'versionCode' is not null or undefined
243
+ assertParamExists('getActionVersion', 'versionCode', versionCode)
244
+ const localVarPath = `/actionservice/v1/actions/versions/{versionCode}`
245
+ .replace(`{${"versionCode"}}`, encodeURIComponent(String(versionCode)));
285
246
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
286
247
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
287
248
  let baseOptions;
@@ -299,12 +260,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
299
260
  // http bearer authentication required
300
261
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
301
262
 
302
- if (executionCode !== undefined) {
303
- localVarQueryParameter['executionCode'] = executionCode;
304
- }
305
-
306
- if (correlationId !== undefined) {
307
- localVarQueryParameter['correlationId'] = correlationId;
263
+ if (expand !== undefined) {
264
+ localVarQueryParameter['expand'] = expand;
308
265
  }
309
266
 
310
267
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
@@ -323,66 +280,25 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
323
280
  };
324
281
  },
325
282
  /**
326
- * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
327
- * @summary Retrieve the action
283
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
284
+ * @summary List action versions
328
285
  * @param {string} code Action code
329
286
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
330
- * @param {*} [options] Override http request option.
331
- * @throws {RequiredError}
332
- */
333
- getAction_3: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
334
- // verify required parameter 'code' is not null or undefined
335
- assertParamExists('getAction_3', 'code', code)
336
- const localVarPath = `/actionservice/v1/actions/{code}`
337
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
338
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
339
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
340
- let baseOptions;
341
- let baseAccessToken;
342
- if (configuration) {
343
- baseOptions = configuration.baseOptions;
344
- baseAccessToken = configuration.accessToken;
345
- }
346
-
347
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
348
- const localVarHeaderParameter = {} as any;
349
- const localVarQueryParameter = {} as any;
350
-
351
- // authentication bearer required
352
- // http bearer authentication required
353
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
354
-
355
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
356
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
357
- }
358
-
359
-
360
-
361
- setSearchParams(localVarUrlObj, localVarQueryParameter);
362
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
363
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
364
-
365
- return {
366
- url: toPathString(localVarUrlObj),
367
- options: localVarRequestOptions,
368
- };
369
- },
370
- /**
371
- * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
372
- * @summary List actionExecutions
373
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
374
287
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
375
288
  * @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.
376
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
289
+ * @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, name, slug&lt;/i&gt;
377
290
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
378
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
379
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
380
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
291
+ * @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;
292
+ * @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;
293
+ * @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, name, slug&lt;/i&gt;
381
294
  * @param {*} [options] Override http request option.
382
295
  * @throws {RequiredError}
383
296
  */
384
- listActionExecutions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
385
- const localVarPath = `/actionservice/v1/actions/executions`;
297
+ listActionVersions: async (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
298
+ // verify required parameter 'code' is not null or undefined
299
+ assertParamExists('listActionVersions', 'code', code)
300
+ const localVarPath = `/actionservice/v1/actions/{code}/versions`
301
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
386
302
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
387
303
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
388
304
  let baseOptions;
@@ -449,11 +365,11 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
449
365
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
450
366
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
451
367
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
452
- * @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;
368
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy, name, slug&lt;/i&gt;
453
369
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
454
- * @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;
455
- * @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;
456
- * @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;
370
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
371
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
372
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy, name, slug&lt;/i&gt;
457
373
  * @param {*} [options] Override http request option.
458
374
  * @throws {RequiredError}
459
375
  */
@@ -520,21 +436,21 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
520
436
  };
521
437
  },
522
438
  /**
523
- * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
524
- * @summary List actions
439
+ * Lists all action versions. Use filters e.g. isActive==true, entityType==LEAD, name, slug. No parent action code required. **Required Permissions** \"action-management.actions.view\"
440
+ * @summary List action versions
525
441
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
526
442
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
527
443
  * @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.
528
- * @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;
444
+ * @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, name, slug&lt;/i&gt;
529
445
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
530
- * @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;
531
- * @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;
532
- * @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;
446
+ * @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;
447
+ * @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;
448
+ * @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, name, slug&lt;/i&gt;
533
449
  * @param {*} [options] Override http request option.
534
450
  * @throws {RequiredError}
535
451
  */
536
- listActions_4: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
537
- const localVarPath = `/actionservice/v1/actions`;
452
+ listAllActionVersions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
453
+ const localVarPath = `/actionservice/v1/actions/versions`;
538
454
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
539
455
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
540
456
  let baseOptions;
@@ -634,57 +550,6 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
634
550
 
635
551
 
636
552
 
637
- localVarHeaderParameter['Content-Type'] = 'application/json';
638
-
639
- setSearchParams(localVarUrlObj, localVarQueryParameter);
640
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
641
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
642
- localVarRequestOptions.data = serializeDataIfNeeded(updateActionRequestDto, localVarRequestOptions, configuration)
643
-
644
- return {
645
- url: toPathString(localVarUrlObj),
646
- options: localVarRequestOptions,
647
- };
648
- },
649
- /**
650
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
651
- * @summary Update the action
652
- * @param {string} code Action code
653
- * @param {UpdateActionRequestDto} updateActionRequestDto
654
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
655
- * @param {*} [options] Override http request option.
656
- * @throws {RequiredError}
657
- */
658
- updateAction_5: async (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
659
- // verify required parameter 'code' is not null or undefined
660
- assertParamExists('updateAction_5', 'code', code)
661
- // verify required parameter 'updateActionRequestDto' is not null or undefined
662
- assertParamExists('updateAction_5', 'updateActionRequestDto', updateActionRequestDto)
663
- const localVarPath = `/actionservice/v1/actions/{code}`
664
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
665
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
666
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
667
- let baseOptions;
668
- let baseAccessToken;
669
- if (configuration) {
670
- baseOptions = configuration.baseOptions;
671
- baseAccessToken = configuration.accessToken;
672
- }
673
-
674
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
675
- const localVarHeaderParameter = {} as any;
676
- const localVarQueryParameter = {} as any;
677
-
678
- // authentication bearer required
679
- // http bearer authentication required
680
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
681
-
682
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
683
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
684
- }
685
-
686
-
687
-
688
553
  localVarHeaderParameter['Content-Type'] = 'application/json';
689
554
 
690
555
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -719,18 +584,6 @@ export const ActionsApiFp = function(configuration?: Configuration) {
719
584
  const localVarAxiosArgs = await localVarAxiosParamCreator.createAction(createActionRequestDto, authorization, options);
720
585
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
721
586
  },
722
- /**
723
- * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
724
- * @summary Create the action
725
- * @param {CreateActionRequestDto} createActionRequestDto
726
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
727
- * @param {*} [options] Override http request option.
728
- * @throws {RequiredError}
729
- */
730
- async createAction_1(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateActionResponseClass>> {
731
- const localVarAxiosArgs = await localVarAxiosParamCreator.createAction_1(createActionRequestDto, authorization, options);
732
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
733
- },
734
587
  /**
735
588
  * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
736
589
  * @summary Delete the action
@@ -744,15 +597,15 @@ export const ActionsApiFp = function(configuration?: Configuration) {
744
597
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
745
598
  },
746
599
  /**
747
- * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
748
- * @summary Delete the action
749
- * @param {string} code Action code
600
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
601
+ * @summary Delete the action version
602
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
750
603
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
751
604
  * @param {*} [options] Override http request option.
752
605
  * @throws {RequiredError}
753
606
  */
754
- async deleteAction_2(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
755
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAction_2(code, authorization, options);
607
+ async deleteActionVersion(versionCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
608
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteActionVersion(versionCode, authorization, options);
756
609
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
757
610
  },
758
611
  /**
@@ -760,54 +613,44 @@ export const ActionsApiFp = function(configuration?: Configuration) {
760
613
  * @summary Retrieve the action
761
614
  * @param {string} code Action code
762
615
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
616
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
763
617
  * @param {*} [options] Override http request option.
764
618
  * @throws {RequiredError}
765
619
  */
766
- async getAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>> {
767
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAction(code, authorization, options);
620
+ async getAction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>> {
621
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAction(code, authorization, expand, options);
768
622
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
769
623
  },
770
624
  /**
771
- * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
772
- * @summary Retrieve the actionExecution
625
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
626
+ * @summary Retrieve the action version
627
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
773
628
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
774
- * @param {string} [executionCode] Action execution code
775
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
629
+ * @param {string} [expand]
776
630
  * @param {*} [options] Override http request option.
777
631
  * @throws {RequiredError}
778
632
  */
779
- async getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionExecutionStatusResponseClass>> {
780
- const localVarAxiosArgs = await localVarAxiosParamCreator.getActionExecutionStatus(authorization, executionCode, correlationId, options);
633
+ async getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionVersionResponseClass>> {
634
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getActionVersion(versionCode, authorization, expand, options);
781
635
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
782
636
  },
783
637
  /**
784
- * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
785
- * @summary Retrieve the action
638
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
639
+ * @summary List action versions
786
640
  * @param {string} code Action code
787
641
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
788
- * @param {*} [options] Override http request option.
789
- * @throws {RequiredError}
790
- */
791
- async getAction_3(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>> {
792
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAction_3(code, authorization, options);
793
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
794
- },
795
- /**
796
- * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
797
- * @summary List actionExecutions
798
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
799
642
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
800
643
  * @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.
801
- * @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;
644
+ * @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, name, slug&lt;/i&gt;
802
645
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
803
- * @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;
804
- * @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;
805
- * @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;
646
+ * @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;
647
+ * @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;
648
+ * @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, name, slug&lt;/i&gt;
806
649
  * @param {*} [options] Override http request option.
807
650
  * @throws {RequiredError}
808
651
  */
809
- async 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>> {
810
- const localVarAxiosArgs = await localVarAxiosParamCreator.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
652
+ async 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>> {
653
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listActionVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
811
654
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
812
655
  },
813
656
  /**
@@ -816,11 +659,11 @@ export const ActionsApiFp = function(configuration?: Configuration) {
816
659
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
817
660
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
818
661
  * @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.
819
- * @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;
662
+ * @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, name, slug&lt;/i&gt;
820
663
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
821
- * @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;
822
- * @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;
823
- * @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;
664
+ * @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;
665
+ * @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;
666
+ * @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, name, slug&lt;/i&gt;
824
667
  * @param {*} [options] Override http request option.
825
668
  * @throws {RequiredError}
826
669
  */
@@ -829,21 +672,21 @@ export const ActionsApiFp = function(configuration?: Configuration) {
829
672
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
830
673
  },
831
674
  /**
832
- * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
833
- * @summary List actions
675
+ * Lists all action versions. Use filters e.g. isActive==true, entityType==LEAD, name, slug. No parent action code required. **Required Permissions** \"action-management.actions.view\"
676
+ * @summary List action versions
834
677
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
835
678
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
836
679
  * @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.
837
- * @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;
680
+ * @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, name, slug&lt;/i&gt;
838
681
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
839
- * @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;
840
- * @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;
841
- * @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;
682
+ * @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;
683
+ * @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;
684
+ * @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, name, slug&lt;/i&gt;
842
685
  * @param {*} [options] Override http request option.
843
686
  * @throws {RequiredError}
844
687
  */
845
- async listActions_4(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionsResponseClass>> {
846
- const localVarAxiosArgs = await localVarAxiosParamCreator.listActions_4(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
688
+ async listAllActionVersions(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>> {
689
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAllActionVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
847
690
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
848
691
  },
849
692
  /**
@@ -859,19 +702,6 @@ export const ActionsApiFp = function(configuration?: Configuration) {
859
702
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateAction(code, updateActionRequestDto, authorization, options);
860
703
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
861
704
  },
862
- /**
863
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
864
- * @summary Update the action
865
- * @param {string} code Action code
866
- * @param {UpdateActionRequestDto} updateActionRequestDto
867
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
868
- * @param {*} [options] Override http request option.
869
- * @throws {RequiredError}
870
- */
871
- async updateAction_5(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>> {
872
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateAction_5(code, updateActionRequestDto, authorization, options);
873
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
874
- },
875
705
  }
876
706
  };
877
707
 
@@ -893,17 +723,6 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
893
723
  createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass> {
894
724
  return localVarFp.createAction(createActionRequestDto, authorization, options).then((request) => request(axios, basePath));
895
725
  },
896
- /**
897
- * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
898
- * @summary Create the action
899
- * @param {CreateActionRequestDto} createActionRequestDto
900
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
901
- * @param {*} [options] Override http request option.
902
- * @throws {RequiredError}
903
- */
904
- createAction_1(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass> {
905
- return localVarFp.createAction_1(createActionRequestDto, authorization, options).then((request) => request(axios, basePath));
906
- },
907
726
  /**
908
727
  * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
909
728
  * @summary Delete the action
@@ -916,66 +735,57 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
916
735
  return localVarFp.deleteAction(code, authorization, options).then((request) => request(axios, basePath));
917
736
  },
918
737
  /**
919
- * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
920
- * @summary Delete the action
921
- * @param {string} code Action code
738
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
739
+ * @summary Delete the action version
740
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
922
741
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
923
742
  * @param {*} [options] Override http request option.
924
743
  * @throws {RequiredError}
925
744
  */
926
- deleteAction_2(code: string, authorization?: string, options?: any): AxiosPromise<void> {
927
- return localVarFp.deleteAction_2(code, authorization, options).then((request) => request(axios, basePath));
745
+ deleteActionVersion(versionCode: string, authorization?: string, options?: any): AxiosPromise<void> {
746
+ return localVarFp.deleteActionVersion(versionCode, authorization, options).then((request) => request(axios, basePath));
928
747
  },
929
748
  /**
930
749
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
931
750
  * @summary Retrieve the action
932
751
  * @param {string} code Action code
933
752
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
753
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
934
754
  * @param {*} [options] Override http request option.
935
755
  * @throws {RequiredError}
936
756
  */
937
- getAction(code: string, authorization?: string, options?: any): AxiosPromise<GetActionResponseClass> {
938
- return localVarFp.getAction(code, authorization, options).then((request) => request(axios, basePath));
757
+ getAction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionResponseClass> {
758
+ return localVarFp.getAction(code, authorization, expand, options).then((request) => request(axios, basePath));
939
759
  },
940
760
  /**
941
- * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
942
- * @summary Retrieve the actionExecution
761
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
762
+ * @summary Retrieve the action version
763
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
943
764
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
944
- * @param {string} [executionCode] Action execution code
945
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
765
+ * @param {string} [expand]
946
766
  * @param {*} [options] Override http request option.
947
767
  * @throws {RequiredError}
948
768
  */
949
- getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: any): AxiosPromise<GetActionExecutionStatusResponseClass> {
950
- return localVarFp.getActionExecutionStatus(authorization, executionCode, correlationId, options).then((request) => request(axios, basePath));
769
+ getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionVersionResponseClass> {
770
+ return localVarFp.getActionVersion(versionCode, authorization, expand, options).then((request) => request(axios, basePath));
951
771
  },
952
772
  /**
953
- * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
954
- * @summary Retrieve the action
773
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
774
+ * @summary List action versions
955
775
  * @param {string} code Action code
956
776
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
957
- * @param {*} [options] Override http request option.
958
- * @throws {RequiredError}
959
- */
960
- getAction_3(code: string, authorization?: string, options?: any): AxiosPromise<GetActionResponseClass> {
961
- return localVarFp.getAction_3(code, authorization, options).then((request) => request(axios, basePath));
962
- },
963
- /**
964
- * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
965
- * @summary List actionExecutions
966
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
967
777
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
968
778
  * @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.
969
- * @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;
779
+ * @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, name, slug&lt;/i&gt;
970
780
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
971
- * @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;
972
- * @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;
973
- * @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;
781
+ * @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;
782
+ * @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;
783
+ * @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, name, slug&lt;/i&gt;
974
784
  * @param {*} [options] Override http request option.
975
785
  * @throws {RequiredError}
976
786
  */
977
- listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionExecutionsResponseClass> {
978
- return localVarFp.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
787
+ listActionVersions(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionVersionsResponseClass> {
788
+ return localVarFp.listActionVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
979
789
  },
980
790
  /**
981
791
  * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
@@ -983,11 +793,11 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
983
793
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
984
794
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
985
795
  * @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.
986
- * @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;
796
+ * @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, name, slug&lt;/i&gt;
987
797
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
988
- * @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;
989
- * @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;
990
- * @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;
798
+ * @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;
799
+ * @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;
800
+ * @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, name, slug&lt;/i&gt;
991
801
  * @param {*} [options] Override http request option.
992
802
  * @throws {RequiredError}
993
803
  */
@@ -995,21 +805,21 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
995
805
  return localVarFp.listActions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
996
806
  },
997
807
  /**
998
- * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
999
- * @summary List actions
808
+ * Lists all action versions. Use filters e.g. isActive==true, entityType==LEAD, name, slug. No parent action code required. **Required Permissions** \"action-management.actions.view\"
809
+ * @summary List action versions
1000
810
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1001
811
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1002
812
  * @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.
1003
- * @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;
813
+ * @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, name, slug&lt;/i&gt;
1004
814
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
1005
- * @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;
1006
- * @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;
1007
- * @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;
815
+ * @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;
816
+ * @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;
817
+ * @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, name, slug&lt;/i&gt;
1008
818
  * @param {*} [options] Override http request option.
1009
819
  * @throws {RequiredError}
1010
820
  */
1011
- listActions_4(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass> {
1012
- return localVarFp.listActions_4(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
821
+ listAllActionVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionVersionsResponseClass> {
822
+ return localVarFp.listAllActionVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
1013
823
  },
1014
824
  /**
1015
825
  * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
@@ -1023,18 +833,6 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
1023
833
  updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass> {
1024
834
  return localVarFp.updateAction(code, updateActionRequestDto, authorization, options).then((request) => request(axios, basePath));
1025
835
  },
1026
- /**
1027
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
1028
- * @summary Update the action
1029
- * @param {string} code Action code
1030
- * @param {UpdateActionRequestDto} updateActionRequestDto
1031
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1032
- * @param {*} [options] Override http request option.
1033
- * @throws {RequiredError}
1034
- */
1035
- updateAction_5(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass> {
1036
- return localVarFp.updateAction_5(code, updateActionRequestDto, authorization, options).then((request) => request(axios, basePath));
1037
- },
1038
836
  };
1039
837
  };
1040
838
 
@@ -1059,27 +857,6 @@ export interface ActionsApiCreateActionRequest {
1059
857
  readonly authorization?: string
1060
858
  }
1061
859
 
1062
- /**
1063
- * Request parameters for createAction_1 operation in ActionsApi.
1064
- * @export
1065
- * @interface ActionsApiCreateAction0Request
1066
- */
1067
- export interface ActionsApiCreateAction0Request {
1068
- /**
1069
- *
1070
- * @type {CreateActionRequestDto}
1071
- * @memberof ActionsApiCreateAction0
1072
- */
1073
- readonly createActionRequestDto: CreateActionRequestDto
1074
-
1075
- /**
1076
- * Bearer Token: provided by the login endpoint under the name accessToken.
1077
- * @type {string}
1078
- * @memberof ActionsApiCreateAction0
1079
- */
1080
- readonly authorization?: string
1081
- }
1082
-
1083
860
  /**
1084
861
  * Request parameters for deleteAction operation in ActionsApi.
1085
862
  * @export
@@ -1102,22 +879,22 @@ export interface ActionsApiDeleteActionRequest {
1102
879
  }
1103
880
 
1104
881
  /**
1105
- * Request parameters for deleteAction_2 operation in ActionsApi.
882
+ * Request parameters for deleteActionVersion operation in ActionsApi.
1106
883
  * @export
1107
- * @interface ActionsApiDeleteAction0Request
884
+ * @interface ActionsApiDeleteActionVersionRequest
1108
885
  */
1109
- export interface ActionsApiDeleteAction0Request {
886
+ export interface ActionsApiDeleteActionVersionRequest {
1110
887
  /**
1111
- * Action code
888
+ * Version code (e.g. acv_&lt;nanoid&gt;)
1112
889
  * @type {string}
1113
- * @memberof ActionsApiDeleteAction0
890
+ * @memberof ActionsApiDeleteActionVersion
1114
891
  */
1115
- readonly code: string
892
+ readonly versionCode: string
1116
893
 
1117
894
  /**
1118
895
  * Bearer Token: provided by the login endpoint under the name accessToken.
1119
896
  * @type {string}
1120
- * @memberof ActionsApiDeleteAction0
897
+ * @memberof ActionsApiDeleteActionVersion
1121
898
  */
1122
899
  readonly authorization?: string
1123
900
  }
@@ -1141,116 +918,109 @@ export interface ActionsApiGetActionRequest {
1141
918
  * @memberof ActionsApiGetAction
1142
919
  */
1143
920
  readonly authorization?: string
921
+
922
+ /**
923
+ * Expand to fetch additional information (e.g. inputValidationSchema)
924
+ * @type {string}
925
+ * @memberof ActionsApiGetAction
926
+ */
927
+ readonly expand?: string
1144
928
  }
1145
929
 
1146
930
  /**
1147
- * Request parameters for getActionExecutionStatus operation in ActionsApi.
931
+ * Request parameters for getActionVersion operation in ActionsApi.
1148
932
  * @export
1149
- * @interface ActionsApiGetActionExecutionStatusRequest
933
+ * @interface ActionsApiGetActionVersionRequest
1150
934
  */
1151
- export interface ActionsApiGetActionExecutionStatusRequest {
935
+ export interface ActionsApiGetActionVersionRequest {
1152
936
  /**
1153
- * Bearer Token: provided by the login endpoint under the name accessToken.
937
+ * Version code (e.g. acv_&lt;nanoid&gt;)
1154
938
  * @type {string}
1155
- * @memberof ActionsApiGetActionExecutionStatus
939
+ * @memberof ActionsApiGetActionVersion
1156
940
  */
1157
- readonly authorization?: string
941
+ readonly versionCode: string
1158
942
 
1159
943
  /**
1160
- * Action execution code
944
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1161
945
  * @type {string}
1162
- * @memberof ActionsApiGetActionExecutionStatus
946
+ * @memberof ActionsApiGetActionVersion
1163
947
  */
1164
- readonly executionCode?: string
948
+ readonly authorization?: string
1165
949
 
1166
950
  /**
1167
- * Correlation ID (e.g. webhook execution code that triggered this action execution)
951
+ *
1168
952
  * @type {string}
1169
- * @memberof ActionsApiGetActionExecutionStatus
953
+ * @memberof ActionsApiGetActionVersion
1170
954
  */
1171
- readonly correlationId?: string
955
+ readonly expand?: string
1172
956
  }
1173
957
 
1174
958
  /**
1175
- * Request parameters for getAction_3 operation in ActionsApi.
959
+ * Request parameters for listActionVersions operation in ActionsApi.
1176
960
  * @export
1177
- * @interface ActionsApiGetAction0Request
961
+ * @interface ActionsApiListActionVersionsRequest
1178
962
  */
1179
- export interface ActionsApiGetAction0Request {
963
+ export interface ActionsApiListActionVersionsRequest {
1180
964
  /**
1181
965
  * Action code
1182
966
  * @type {string}
1183
- * @memberof ActionsApiGetAction0
967
+ * @memberof ActionsApiListActionVersions
1184
968
  */
1185
969
  readonly code: string
1186
970
 
1187
971
  /**
1188
972
  * Bearer Token: provided by the login endpoint under the name accessToken.
1189
973
  * @type {string}
1190
- * @memberof ActionsApiGetAction0
1191
- */
1192
- readonly authorization?: string
1193
- }
1194
-
1195
- /**
1196
- * Request parameters for listActionExecutions operation in ActionsApi.
1197
- * @export
1198
- * @interface ActionsApiListActionExecutionsRequest
1199
- */
1200
- export interface ActionsApiListActionExecutionsRequest {
1201
- /**
1202
- * Bearer Token: provided by the login endpoint under the name accessToken.
1203
- * @type {string}
1204
- * @memberof ActionsApiListActionExecutions
974
+ * @memberof ActionsApiListActionVersions
1205
975
  */
1206
976
  readonly authorization?: string
1207
977
 
1208
978
  /**
1209
979
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1210
980
  * @type {number}
1211
- * @memberof ActionsApiListActionExecutions
981
+ * @memberof ActionsApiListActionVersions
1212
982
  */
1213
983
  readonly pageSize?: number
1214
984
 
1215
985
  /**
1216
986
  * 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.
1217
987
  * @type {string}
1218
- * @memberof ActionsApiListActionExecutions
988
+ * @memberof ActionsApiListActionVersions
1219
989
  */
1220
990
  readonly pageToken?: string
1221
991
 
1222
992
  /**
1223
- * 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;
993
+ * 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, name, slug&lt;/i&gt;
1224
994
  * @type {string}
1225
- * @memberof ActionsApiListActionExecutions
995
+ * @memberof ActionsApiListActionVersions
1226
996
  */
1227
997
  readonly filter?: string
1228
998
 
1229
999
  /**
1230
1000
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1231
1001
  * @type {string}
1232
- * @memberof ActionsApiListActionExecutions
1002
+ * @memberof ActionsApiListActionVersions
1233
1003
  */
1234
1004
  readonly search?: string
1235
1005
 
1236
1006
  /**
1237
- * 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;
1007
+ * 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;
1238
1008
  * @type {string}
1239
- * @memberof ActionsApiListActionExecutions
1009
+ * @memberof ActionsApiListActionVersions
1240
1010
  */
1241
1011
  readonly order?: string
1242
1012
 
1243
1013
  /**
1244
- * 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;
1014
+ * 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;
1245
1015
  * @type {string}
1246
- * @memberof ActionsApiListActionExecutions
1016
+ * @memberof ActionsApiListActionVersions
1247
1017
  */
1248
1018
  readonly expand?: string
1249
1019
 
1250
1020
  /**
1251
- * 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;
1021
+ * 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, name, slug&lt;/i&gt;
1252
1022
  * @type {string}
1253
- * @memberof ActionsApiListActionExecutions
1023
+ * @memberof ActionsApiListActionVersions
1254
1024
  */
1255
1025
  readonly filters?: string
1256
1026
  }
@@ -1283,7 +1053,7 @@ export interface ActionsApiListActionsRequest {
1283
1053
  readonly pageToken?: string
1284
1054
 
1285
1055
  /**
1286
- * 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;
1056
+ * 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, name, slug&lt;/i&gt;
1287
1057
  * @type {string}
1288
1058
  * @memberof ActionsApiListActions
1289
1059
  */
@@ -1297,21 +1067,21 @@ export interface ActionsApiListActionsRequest {
1297
1067
  readonly search?: string
1298
1068
 
1299
1069
  /**
1300
- * 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;
1070
+ * 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;
1301
1071
  * @type {string}
1302
1072
  * @memberof ActionsApiListActions
1303
1073
  */
1304
1074
  readonly order?: string
1305
1075
 
1306
1076
  /**
1307
- * 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;
1077
+ * 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;
1308
1078
  * @type {string}
1309
1079
  * @memberof ActionsApiListActions
1310
1080
  */
1311
1081
  readonly expand?: string
1312
1082
 
1313
1083
  /**
1314
- * 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;
1084
+ * 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, name, slug&lt;/i&gt;
1315
1085
  * @type {string}
1316
1086
  * @memberof ActionsApiListActions
1317
1087
  */
@@ -1319,64 +1089,64 @@ export interface ActionsApiListActionsRequest {
1319
1089
  }
1320
1090
 
1321
1091
  /**
1322
- * Request parameters for listActions_4 operation in ActionsApi.
1092
+ * Request parameters for listAllActionVersions operation in ActionsApi.
1323
1093
  * @export
1324
- * @interface ActionsApiListActions0Request
1094
+ * @interface ActionsApiListAllActionVersionsRequest
1325
1095
  */
1326
- export interface ActionsApiListActions0Request {
1096
+ export interface ActionsApiListAllActionVersionsRequest {
1327
1097
  /**
1328
1098
  * Bearer Token: provided by the login endpoint under the name accessToken.
1329
1099
  * @type {string}
1330
- * @memberof ActionsApiListActions0
1100
+ * @memberof ActionsApiListAllActionVersions
1331
1101
  */
1332
1102
  readonly authorization?: string
1333
1103
 
1334
1104
  /**
1335
1105
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1336
1106
  * @type {number}
1337
- * @memberof ActionsApiListActions0
1107
+ * @memberof ActionsApiListAllActionVersions
1338
1108
  */
1339
1109
  readonly pageSize?: number
1340
1110
 
1341
1111
  /**
1342
1112
  * 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.
1343
1113
  * @type {string}
1344
- * @memberof ActionsApiListActions0
1114
+ * @memberof ActionsApiListAllActionVersions
1345
1115
  */
1346
1116
  readonly pageToken?: string
1347
1117
 
1348
1118
  /**
1349
- * 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;
1119
+ * 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, name, slug&lt;/i&gt;
1350
1120
  * @type {string}
1351
- * @memberof ActionsApiListActions0
1121
+ * @memberof ActionsApiListAllActionVersions
1352
1122
  */
1353
1123
  readonly filter?: string
1354
1124
 
1355
1125
  /**
1356
1126
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1357
1127
  * @type {string}
1358
- * @memberof ActionsApiListActions0
1128
+ * @memberof ActionsApiListAllActionVersions
1359
1129
  */
1360
1130
  readonly search?: string
1361
1131
 
1362
1132
  /**
1363
- * 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;
1133
+ * 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;
1364
1134
  * @type {string}
1365
- * @memberof ActionsApiListActions0
1135
+ * @memberof ActionsApiListAllActionVersions
1366
1136
  */
1367
1137
  readonly order?: string
1368
1138
 
1369
1139
  /**
1370
- * 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;
1140
+ * 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;
1371
1141
  * @type {string}
1372
- * @memberof ActionsApiListActions0
1142
+ * @memberof ActionsApiListAllActionVersions
1373
1143
  */
1374
1144
  readonly expand?: string
1375
1145
 
1376
1146
  /**
1377
- * 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;
1147
+ * 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, name, slug&lt;/i&gt;
1378
1148
  * @type {string}
1379
- * @memberof ActionsApiListActions0
1149
+ * @memberof ActionsApiListAllActionVersions
1380
1150
  */
1381
1151
  readonly filters?: string
1382
1152
  }
@@ -1409,34 +1179,6 @@ export interface ActionsApiUpdateActionRequest {
1409
1179
  readonly authorization?: string
1410
1180
  }
1411
1181
 
1412
- /**
1413
- * Request parameters for updateAction_5 operation in ActionsApi.
1414
- * @export
1415
- * @interface ActionsApiUpdateAction0Request
1416
- */
1417
- export interface ActionsApiUpdateAction0Request {
1418
- /**
1419
- * Action code
1420
- * @type {string}
1421
- * @memberof ActionsApiUpdateAction0
1422
- */
1423
- readonly code: string
1424
-
1425
- /**
1426
- *
1427
- * @type {UpdateActionRequestDto}
1428
- * @memberof ActionsApiUpdateAction0
1429
- */
1430
- readonly updateActionRequestDto: UpdateActionRequestDto
1431
-
1432
- /**
1433
- * Bearer Token: provided by the login endpoint under the name accessToken.
1434
- * @type {string}
1435
- * @memberof ActionsApiUpdateAction0
1436
- */
1437
- readonly authorization?: string
1438
- }
1439
-
1440
1182
  /**
1441
1183
  * ActionsApi - object-oriented interface
1442
1184
  * @export
@@ -1456,18 +1198,6 @@ export class ActionsApi extends BaseAPI {
1456
1198
  return ActionsApiFp(this.configuration).createAction(requestParameters.createActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1457
1199
  }
1458
1200
 
1459
- /**
1460
- * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
1461
- * @summary Create the action
1462
- * @param {ActionsApiCreateAction0Request} requestParameters Request parameters.
1463
- * @param {*} [options] Override http request option.
1464
- * @throws {RequiredError}
1465
- * @memberof ActionsApi
1466
- */
1467
- public createAction_1(requestParameters: ActionsApiCreateAction0Request, options?: AxiosRequestConfig) {
1468
- return ActionsApiFp(this.configuration).createAction_1(requestParameters.createActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1469
- }
1470
-
1471
1201
  /**
1472
1202
  * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
1473
1203
  * @summary Delete the action
@@ -1481,15 +1211,15 @@ export class ActionsApi extends BaseAPI {
1481
1211
  }
1482
1212
 
1483
1213
  /**
1484
- * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
1485
- * @summary Delete the action
1486
- * @param {ActionsApiDeleteAction0Request} requestParameters Request parameters.
1214
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
1215
+ * @summary Delete the action version
1216
+ * @param {ActionsApiDeleteActionVersionRequest} requestParameters Request parameters.
1487
1217
  * @param {*} [options] Override http request option.
1488
1218
  * @throws {RequiredError}
1489
1219
  * @memberof ActionsApi
1490
1220
  */
1491
- public deleteAction_2(requestParameters: ActionsApiDeleteAction0Request, options?: AxiosRequestConfig) {
1492
- return ActionsApiFp(this.configuration).deleteAction_2(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1221
+ public deleteActionVersion(requestParameters: ActionsApiDeleteActionVersionRequest, options?: AxiosRequestConfig) {
1222
+ return ActionsApiFp(this.configuration).deleteActionVersion(requestParameters.versionCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1493
1223
  }
1494
1224
 
1495
1225
  /**
@@ -1501,43 +1231,31 @@ export class ActionsApi extends BaseAPI {
1501
1231
  * @memberof ActionsApi
1502
1232
  */
1503
1233
  public getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig) {
1504
- return ActionsApiFp(this.configuration).getAction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1234
+ return ActionsApiFp(this.configuration).getAction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1505
1235
  }
1506
1236
 
1507
1237
  /**
1508
- * Retrieves the latest action execution status by executionCode or correlationId **Required Permissions** \"action-management.actions.view\"
1509
- * @summary Retrieve the actionExecution
1510
- * @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
1238
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
1239
+ * @summary Retrieve the action version
1240
+ * @param {ActionsApiGetActionVersionRequest} requestParameters Request parameters.
1511
1241
  * @param {*} [options] Override http request option.
1512
1242
  * @throws {RequiredError}
1513
1243
  * @memberof ActionsApi
1514
1244
  */
1515
- public getActionExecutionStatus(requestParameters: ActionsApiGetActionExecutionStatusRequest = {}, options?: AxiosRequestConfig) {
1516
- return ActionsApiFp(this.configuration).getActionExecutionStatus(requestParameters.authorization, requestParameters.executionCode, requestParameters.correlationId, options).then((request) => request(this.axios, this.basePath));
1245
+ public getActionVersion(requestParameters: ActionsApiGetActionVersionRequest, options?: AxiosRequestConfig) {
1246
+ return ActionsApiFp(this.configuration).getActionVersion(requestParameters.versionCode, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1517
1247
  }
1518
1248
 
1519
1249
  /**
1520
- * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
1521
- * @summary Retrieve the action
1522
- * @param {ActionsApiGetAction0Request} requestParameters Request parameters.
1523
- * @param {*} [options] Override http request option.
1524
- * @throws {RequiredError}
1525
- * @memberof ActionsApi
1526
- */
1527
- public getAction_3(requestParameters: ActionsApiGetAction0Request, options?: AxiosRequestConfig) {
1528
- return ActionsApiFp(this.configuration).getAction_3(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1529
- }
1530
-
1531
- /**
1532
- * Lists action executions (latest status per execution only) with optional filters **Required Permissions** \"action-management.actions.view\"
1533
- * @summary List actionExecutions
1534
- * @param {ActionsApiListActionExecutionsRequest} requestParameters Request parameters.
1250
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
1251
+ * @summary List action versions
1252
+ * @param {ActionsApiListActionVersionsRequest} requestParameters Request parameters.
1535
1253
  * @param {*} [options] Override http request option.
1536
1254
  * @throws {RequiredError}
1537
1255
  * @memberof ActionsApi
1538
1256
  */
1539
- public listActionExecutions(requestParameters: ActionsApiListActionExecutionsRequest = {}, options?: AxiosRequestConfig) {
1540
- return ActionsApiFp(this.configuration).listActionExecutions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1257
+ public listActionVersions(requestParameters: ActionsApiListActionVersionsRequest, options?: AxiosRequestConfig) {
1258
+ return ActionsApiFp(this.configuration).listActionVersions(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1541
1259
  }
1542
1260
 
1543
1261
  /**
@@ -1553,15 +1271,15 @@ export class ActionsApi extends BaseAPI {
1553
1271
  }
1554
1272
 
1555
1273
  /**
1556
- * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
1557
- * @summary List actions
1558
- * @param {ActionsApiListActions0Request} requestParameters Request parameters.
1274
+ * Lists all action versions. Use filters e.g. isActive==true, entityType==LEAD, name, slug. No parent action code required. **Required Permissions** \"action-management.actions.view\"
1275
+ * @summary List action versions
1276
+ * @param {ActionsApiListAllActionVersionsRequest} requestParameters Request parameters.
1559
1277
  * @param {*} [options] Override http request option.
1560
1278
  * @throws {RequiredError}
1561
1279
  * @memberof ActionsApi
1562
1280
  */
1563
- public listActions_4(requestParameters: ActionsApiListActions0Request = {}, options?: AxiosRequestConfig) {
1564
- return ActionsApiFp(this.configuration).listActions_4(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1281
+ public listAllActionVersions(requestParameters: ActionsApiListAllActionVersionsRequest = {}, options?: AxiosRequestConfig) {
1282
+ return ActionsApiFp(this.configuration).listAllActionVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1565
1283
  }
1566
1284
 
1567
1285
  /**
@@ -1575,16 +1293,4 @@ export class ActionsApi extends BaseAPI {
1575
1293
  public updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig) {
1576
1294
  return ActionsApiFp(this.configuration).updateAction(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1577
1295
  }
1578
-
1579
- /**
1580
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
1581
- * @summary Update the action
1582
- * @param {ActionsApiUpdateAction0Request} requestParameters Request parameters.
1583
- * @param {*} [options] Override http request option.
1584
- * @throws {RequiredError}
1585
- * @memberof ActionsApi
1586
- */
1587
- public updateAction_5(requestParameters: ActionsApiUpdateAction0Request, options?: AxiosRequestConfig) {
1588
- return ActionsApiFp(this.configuration).updateAction_5(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1589
- }
1590
1296
  }