@emilgroup/action-sdk 1.1.1-beta.6 → 1.2.0

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 (43) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/actions-api.ts +559 -130
  4. package/api/executions-api.ts +471 -0
  5. package/api.ts +2 -0
  6. package/dist/api/actions-api.d.ts +358 -112
  7. package/dist/api/actions-api.js +427 -97
  8. package/dist/api/executions-api.d.ts +272 -0
  9. package/dist/api/executions-api.js +452 -0
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/action-class.d.ts +9 -20
  13. package/dist/models/action-execution-class.d.ts +36 -0
  14. package/dist/models/action-ref-class.d.ts +36 -0
  15. package/dist/models/action-ref-class.js +15 -0
  16. package/dist/models/action-version-class.d.ts +127 -0
  17. package/dist/models/action-version-class.js +21 -0
  18. package/dist/models/create-action-request-dto.d.ts +47 -5
  19. package/dist/models/create-action-request-dto.js +6 -0
  20. package/dist/models/get-action-version-response-class.d.ts +25 -0
  21. package/dist/models/get-action-version-response-class.js +15 -0
  22. package/dist/models/index.d.ts +6 -0
  23. package/dist/models/index.js +6 -0
  24. package/dist/models/list-action-versions-response-class.d.ts +43 -0
  25. package/dist/models/list-action-versions-response-class.js +15 -0
  26. package/dist/models/trigger-action-request-dto.d.ts +62 -0
  27. package/dist/models/trigger-action-request-dto.js +15 -0
  28. package/dist/models/trigger-action-response-class.d.ts +25 -0
  29. package/dist/models/trigger-action-response-class.js +15 -0
  30. package/dist/models/update-action-request-dto.d.ts +41 -5
  31. package/dist/models/update-action-request-dto.js +6 -0
  32. package/models/action-class.ts +9 -20
  33. package/models/action-execution-class.ts +36 -0
  34. package/models/action-ref-class.ts +42 -0
  35. package/models/action-version-class.ts +136 -0
  36. package/models/create-action-request-dto.ts +50 -5
  37. package/models/get-action-version-response-class.ts +31 -0
  38. package/models/index.ts +6 -0
  39. package/models/list-action-versions-response-class.ts +49 -0
  40. package/models/trigger-action-request-dto.ts +66 -0
  41. package/models/trigger-action-response-class.ts +31 -0
  42. package/models/update-action-request-dto.ts +44 -5
  43. package/package.json +1 -1
@@ -14,9 +14,9 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateActionRequestDto } from '../models';
16
16
  import { CreateActionResponseClass } from '../models';
17
- import { GetActionExecutionStatusResponseClass } from '../models';
18
17
  import { GetActionResponseClass } from '../models';
19
- import { ListActionExecutionsResponseClass } from '../models';
18
+ import { GetActionVersionResponseClass } from '../models';
19
+ import { ListActionVersionsResponseClass } from '../models';
20
20
  import { ListActionsResponseClass } from '../models';
21
21
  import { UpdateActionRequestDto } from '../models';
22
22
  import { UpdateActionResponseClass } from '../models';
@@ -26,7 +26,7 @@ import { UpdateActionResponseClass } from '../models';
26
26
  */
27
27
  export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration) => {
28
28
  /**
29
- * Creates a new action configuration
29
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
30
30
  * @summary Create the action
31
31
  * @param {CreateActionRequestDto} createActionRequestDto
32
32
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -35,7 +35,7 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
35
35
  */
36
36
  createAction: (createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
37
  /**
38
- * Deletes an action configuration by its code
38
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
39
39
  * @summary Delete the action
40
40
  * @param {string} code Action code
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -44,56 +44,82 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
44
44
  */
45
45
  deleteAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
46
  /**
47
- * Retrieves an action configuration by its code
47
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
48
+ * @summary Delete the action version
49
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
50
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ deleteActionVersion: (versionCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
48
57
  * @summary Retrieve the action
49
58
  * @param {string} code Action code
50
59
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
60
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
51
61
  * @param {*} [options] Override http request option.
52
62
  * @throws {RequiredError}
53
63
  */
54
- getAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
+ getAction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
65
  /**
56
- * Retrieves the latest action execution status by executionCode or correlationId
57
- * @summary Retrieve the actionExecution
66
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
67
+ * @summary Retrieve the action version
68
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
58
69
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
- * @param {string} [executionCode] Action execution code
60
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
70
+ * @param {string} [expand]
61
71
  * @param {*} [options] Override http request option.
62
72
  * @throws {RequiredError}
63
73
  */
64
- getActionExecutionStatus: (authorization?: string, executionCode?: string, correlationId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ getActionVersion: (versionCode: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
75
  /**
66
- * Lists action executions (latest status per execution only) with optional filters
67
- * @summary List actionExecutions
76
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
77
+ * @summary List action versions
78
+ * @param {string} code Action code
68
79
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
80
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
70
81
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
71
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
82
+ * @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;
72
83
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
73
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
74
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
75
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
84
+ * @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;
85
+ * @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;
86
+ * @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;
76
87
  * @param {*} [options] Override http request option.
77
88
  * @throws {RequiredError}
78
89
  */
79
- listActionExecutions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
90
+ listActionVersions: (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
91
  /**
81
- * Lists all action configurations with optional filters
92
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
82
93
  * @summary List actions
83
94
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
84
95
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
85
96
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
86
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
97
+ * @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;
87
98
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
88
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
89
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
90
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
99
+ * @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;
100
+ * @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;
101
+ * @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;
91
102
  * @param {*} [options] Override http request option.
92
103
  * @throws {RequiredError}
93
104
  */
94
105
  listActions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
95
106
  /**
96
- * Updates an existing action configuration (patch semantics)
107
+ * 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\"
108
+ * @summary List action versions
109
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
110
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
111
+ * @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.
112
+ * @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;
113
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
114
+ * @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;
115
+ * @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;
116
+ * @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;
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ listAllActionVersions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
121
+ /**
122
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
97
123
  * @summary Update the action
98
124
  * @param {string} code Action code
99
125
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -102,6 +128,16 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
102
128
  * @throws {RequiredError}
103
129
  */
104
130
  updateAction: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
131
+ /**
132
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
133
+ * @summary Update the action
134
+ * @param {string} code Action code
135
+ * @param {UpdateActionRequestDto} updateActionRequestDto
136
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ updateAction_1: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
105
141
  };
106
142
  /**
107
143
  * ActionsApi - functional programming interface
@@ -109,7 +145,7 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
109
145
  */
110
146
  export declare const ActionsApiFp: (configuration?: Configuration) => {
111
147
  /**
112
- * Creates a new action configuration
148
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
113
149
  * @summary Create the action
114
150
  * @param {CreateActionRequestDto} createActionRequestDto
115
151
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -118,7 +154,7 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
118
154
  */
119
155
  createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateActionResponseClass>>;
120
156
  /**
121
- * Deletes an action configuration by its code
157
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
122
158
  * @summary Delete the action
123
159
  * @param {string} code Action code
124
160
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -127,56 +163,82 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
127
163
  */
128
164
  deleteAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
129
165
  /**
130
- * Retrieves an action configuration by its code
166
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
167
+ * @summary Delete the action version
168
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
169
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ */
173
+ deleteActionVersion(versionCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
174
+ /**
175
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
131
176
  * @summary Retrieve the action
132
177
  * @param {string} code Action code
133
178
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
179
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
134
180
  * @param {*} [options] Override http request option.
135
181
  * @throws {RequiredError}
136
182
  */
137
- getAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
183
+ getAction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
138
184
  /**
139
- * Retrieves the latest action execution status by executionCode or correlationId
140
- * @summary Retrieve the actionExecution
185
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
186
+ * @summary Retrieve the action version
187
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
141
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
142
- * @param {string} [executionCode] Action execution code
143
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
189
+ * @param {string} [expand]
144
190
  * @param {*} [options] Override http request option.
145
191
  * @throws {RequiredError}
146
192
  */
147
- getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionExecutionStatusResponseClass>>;
193
+ getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionVersionResponseClass>>;
148
194
  /**
149
- * Lists action executions (latest status per execution only) with optional filters
150
- * @summary List actionExecutions
195
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
196
+ * @summary List action versions
197
+ * @param {string} code Action code
151
198
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
199
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
153
200
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
154
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
201
+ * @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;
155
202
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
156
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
157
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
158
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
203
+ * @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;
204
+ * @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;
205
+ * @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;
159
206
  * @param {*} [options] Override http request option.
160
207
  * @throws {RequiredError}
161
208
  */
162
- listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionExecutionsResponseClass>>;
209
+ 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>>;
163
210
  /**
164
- * Lists all action configurations with optional filters
211
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
165
212
  * @summary List actions
166
213
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
167
214
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
168
215
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
169
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
216
+ * @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;
170
217
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
171
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
172
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
173
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
218
+ * @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;
219
+ * @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;
220
+ * @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;
174
221
  * @param {*} [options] Override http request option.
175
222
  * @throws {RequiredError}
176
223
  */
177
224
  listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionsResponseClass>>;
178
225
  /**
179
- * Updates an existing action configuration (patch semantics)
226
+ * 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\"
227
+ * @summary List action versions
228
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
229
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
230
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
231
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy, name, slug&lt;/i&gt;
232
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
233
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy, owner&lt;/i&gt;
234
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
235
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, actionConfigId, code, versionNumber, isActive, isAvailableInUi, workflowCode, workflowSlug, entityType, productVersionId, productSlug, owner, createdAt, updatedAt, createdBy, updatedBy, name, slug&lt;/i&gt;
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ */
239
+ 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>>;
240
+ /**
241
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
180
242
  * @summary Update the action
181
243
  * @param {string} code Action code
182
244
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -185,6 +247,16 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
185
247
  * @throws {RequiredError}
186
248
  */
187
249
  updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
250
+ /**
251
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
252
+ * @summary Update the action
253
+ * @param {string} code Action code
254
+ * @param {UpdateActionRequestDto} updateActionRequestDto
255
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ updateAction_1(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
188
260
  };
189
261
  /**
190
262
  * ActionsApi - factory interface
@@ -192,7 +264,7 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
192
264
  */
193
265
  export declare const ActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
194
266
  /**
195
- * Creates a new action configuration
267
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
196
268
  * @summary Create the action
197
269
  * @param {CreateActionRequestDto} createActionRequestDto
198
270
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -201,7 +273,7 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
201
273
  */
202
274
  createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass>;
203
275
  /**
204
- * Deletes an action configuration by its code
276
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
205
277
  * @summary Delete the action
206
278
  * @param {string} code Action code
207
279
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -210,56 +282,82 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
210
282
  */
211
283
  deleteAction(code: string, authorization?: string, options?: any): AxiosPromise<void>;
212
284
  /**
213
- * Retrieves an action configuration by its code
285
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
286
+ * @summary Delete the action version
287
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
288
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ deleteActionVersion(versionCode: string, authorization?: string, options?: any): AxiosPromise<void>;
293
+ /**
294
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
214
295
  * @summary Retrieve the action
215
296
  * @param {string} code Action code
216
297
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
298
+ * @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
217
299
  * @param {*} [options] Override http request option.
218
300
  * @throws {RequiredError}
219
301
  */
220
- getAction(code: string, authorization?: string, options?: any): AxiosPromise<GetActionResponseClass>;
302
+ getAction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionResponseClass>;
221
303
  /**
222
- * Retrieves the latest action execution status by executionCode or correlationId
223
- * @summary Retrieve the actionExecution
304
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
305
+ * @summary Retrieve the action version
306
+ * @param {string} versionCode Version code (e.g. acv_&lt;nanoid&gt;)
224
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
225
- * @param {string} [executionCode] Action execution code
226
- * @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
308
+ * @param {string} [expand]
227
309
  * @param {*} [options] Override http request option.
228
310
  * @throws {RequiredError}
229
311
  */
230
- getActionExecutionStatus(authorization?: string, executionCode?: string, correlationId?: string, options?: any): AxiosPromise<GetActionExecutionStatusResponseClass>;
312
+ getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionVersionResponseClass>;
231
313
  /**
232
- * Lists action executions (latest status per execution only) with optional filters
233
- * @summary List actionExecutions
314
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
315
+ * @summary List action versions
316
+ * @param {string} code Action code
234
317
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
235
318
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
236
319
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
237
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
320
+ * @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;
238
321
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
239
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
240
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
241
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
322
+ * @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;
323
+ * @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;
324
+ * @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;
242
325
  * @param {*} [options] Override http request option.
243
326
  * @throws {RequiredError}
244
327
  */
245
- listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionExecutionsResponseClass>;
328
+ listActionVersions(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionVersionsResponseClass>;
246
329
  /**
247
- * Lists all action configurations with optional filters
330
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
248
331
  * @summary List actions
249
332
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
333
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
334
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
252
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
335
+ * @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;
253
336
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
254
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
255
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
256
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
337
+ * @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;
338
+ * @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;
339
+ * @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;
257
340
  * @param {*} [options] Override http request option.
258
341
  * @throws {RequiredError}
259
342
  */
260
343
  listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass>;
261
344
  /**
262
- * Updates an existing action configuration (patch semantics)
345
+ * 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\"
346
+ * @summary List action versions
347
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
349
+ * @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.
350
+ * @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;
351
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
352
+ * @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;
353
+ * @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;
354
+ * @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;
355
+ * @param {*} [options] Override http request option.
356
+ * @throws {RequiredError}
357
+ */
358
+ listAllActionVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionVersionsResponseClass>;
359
+ /**
360
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
263
361
  * @summary Update the action
264
362
  * @param {string} code Action code
265
363
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -268,6 +366,16 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
268
366
  * @throws {RequiredError}
269
367
  */
270
368
  updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
369
+ /**
370
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
371
+ * @summary Update the action
372
+ * @param {string} code Action code
373
+ * @param {UpdateActionRequestDto} updateActionRequestDto
374
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ */
378
+ updateAction_1(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
271
379
  };
272
380
  /**
273
381
  * Request parameters for createAction operation in ActionsApi.
@@ -307,6 +415,25 @@ export interface ActionsApiDeleteActionRequest {
307
415
  */
308
416
  readonly authorization?: string;
309
417
  }
418
+ /**
419
+ * Request parameters for deleteActionVersion operation in ActionsApi.
420
+ * @export
421
+ * @interface ActionsApiDeleteActionVersionRequest
422
+ */
423
+ export interface ActionsApiDeleteActionVersionRequest {
424
+ /**
425
+ * Version code (e.g. acv_&lt;nanoid&gt;)
426
+ * @type {string}
427
+ * @memberof ActionsApiDeleteActionVersion
428
+ */
429
+ readonly versionCode: string;
430
+ /**
431
+ * Bearer Token: provided by the login endpoint under the name accessToken.
432
+ * @type {string}
433
+ * @memberof ActionsApiDeleteActionVersion
434
+ */
435
+ readonly authorization?: string;
436
+ }
310
437
  /**
311
438
  * Request parameters for getAction operation in ActionsApi.
312
439
  * @export
@@ -325,84 +452,96 @@ export interface ActionsApiGetActionRequest {
325
452
  * @memberof ActionsApiGetAction
326
453
  */
327
454
  readonly authorization?: string;
455
+ /**
456
+ * Expand to fetch additional information (e.g. inputValidationSchema)
457
+ * @type {string}
458
+ * @memberof ActionsApiGetAction
459
+ */
460
+ readonly expand?: string;
328
461
  }
329
462
  /**
330
- * Request parameters for getActionExecutionStatus operation in ActionsApi.
463
+ * Request parameters for getActionVersion operation in ActionsApi.
331
464
  * @export
332
- * @interface ActionsApiGetActionExecutionStatusRequest
465
+ * @interface ActionsApiGetActionVersionRequest
333
466
  */
334
- export interface ActionsApiGetActionExecutionStatusRequest {
467
+ export interface ActionsApiGetActionVersionRequest {
335
468
  /**
336
- * Bearer Token: provided by the login endpoint under the name accessToken.
469
+ * Version code (e.g. acv_&lt;nanoid&gt;)
337
470
  * @type {string}
338
- * @memberof ActionsApiGetActionExecutionStatus
471
+ * @memberof ActionsApiGetActionVersion
339
472
  */
340
- readonly authorization?: string;
473
+ readonly versionCode: string;
341
474
  /**
342
- * Action execution code
475
+ * Bearer Token: provided by the login endpoint under the name accessToken.
343
476
  * @type {string}
344
- * @memberof ActionsApiGetActionExecutionStatus
477
+ * @memberof ActionsApiGetActionVersion
345
478
  */
346
- readonly executionCode?: string;
479
+ readonly authorization?: string;
347
480
  /**
348
- * Correlation ID (e.g. webhook execution code that triggered this action execution)
481
+ *
349
482
  * @type {string}
350
- * @memberof ActionsApiGetActionExecutionStatus
483
+ * @memberof ActionsApiGetActionVersion
351
484
  */
352
- readonly correlationId?: string;
485
+ readonly expand?: string;
353
486
  }
354
487
  /**
355
- * Request parameters for listActionExecutions operation in ActionsApi.
488
+ * Request parameters for listActionVersions operation in ActionsApi.
356
489
  * @export
357
- * @interface ActionsApiListActionExecutionsRequest
490
+ * @interface ActionsApiListActionVersionsRequest
358
491
  */
359
- export interface ActionsApiListActionExecutionsRequest {
492
+ export interface ActionsApiListActionVersionsRequest {
493
+ /**
494
+ * Action code
495
+ * @type {string}
496
+ * @memberof ActionsApiListActionVersions
497
+ */
498
+ readonly code: string;
360
499
  /**
361
500
  * Bearer Token: provided by the login endpoint under the name accessToken.
362
501
  * @type {string}
363
- * @memberof ActionsApiListActionExecutions
502
+ * @memberof ActionsApiListActionVersions
364
503
  */
365
504
  readonly authorization?: string;
366
505
  /**
367
506
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
507
  * @type {number}
369
- * @memberof ActionsApiListActionExecutions
508
+ * @memberof ActionsApiListActionVersions
370
509
  */
371
510
  readonly pageSize?: number;
372
511
  /**
373
512
  * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
374
513
  * @type {string}
375
- * @memberof ActionsApiListActionExecutions
514
+ * @memberof ActionsApiListActionVersions
376
515
  */
377
516
  readonly pageToken?: string;
378
517
  /**
379
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
518
+ * 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;
380
519
  * @type {string}
381
- * @memberof ActionsApiListActionExecutions
520
+ * @memberof ActionsApiListActionVersions
382
521
  */
383
522
  readonly filter?: string;
384
523
  /**
385
524
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
386
525
  * @type {string}
387
- * @memberof ActionsApiListActionExecutions
526
+ * @memberof ActionsApiListActionVersions
388
527
  */
389
528
  readonly search?: string;
390
529
  /**
391
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt&lt;/i&gt;
530
+ * 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;
392
531
  * @type {string}
393
- * @memberof ActionsApiListActionExecutions
532
+ * @memberof ActionsApiListActionVersions
394
533
  */
395
534
  readonly order?: string;
396
535
  /**
397
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
536
+ * 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;
398
537
  * @type {string}
399
- * @memberof ActionsApiListActionExecutions
538
+ * @memberof ActionsApiListActionVersions
400
539
  */
401
540
  readonly expand?: string;
402
541
  /**
403
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
542
+ * 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;
404
543
  * @type {string}
405
- * @memberof ActionsApiListActionExecutions
544
+ * @memberof ActionsApiListActionVersions
406
545
  */
407
546
  readonly filters?: string;
408
547
  }
@@ -431,7 +570,7 @@ export interface ActionsApiListActionsRequest {
431
570
  */
432
571
  readonly pageToken?: string;
433
572
  /**
434
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
573
+ * 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;
435
574
  * @type {string}
436
575
  * @memberof ActionsApiListActions
437
576
  */
@@ -443,24 +582,79 @@ export interface ActionsApiListActionsRequest {
443
582
  */
444
583
  readonly search?: string;
445
584
  /**
446
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt&lt;/i&gt;
585
+ * 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
586
  * @type {string}
448
587
  * @memberof ActionsApiListActions
449
588
  */
450
589
  readonly order?: string;
451
590
  /**
452
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
591
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: inputValidationSchema&lt;i&gt;
453
592
  * @type {string}
454
593
  * @memberof ActionsApiListActions
455
594
  */
456
595
  readonly expand?: string;
457
596
  /**
458
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
597
+ * 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;
459
598
  * @type {string}
460
599
  * @memberof ActionsApiListActions
461
600
  */
462
601
  readonly filters?: string;
463
602
  }
603
+ /**
604
+ * Request parameters for listAllActionVersions operation in ActionsApi.
605
+ * @export
606
+ * @interface ActionsApiListAllActionVersionsRequest
607
+ */
608
+ export interface ActionsApiListAllActionVersionsRequest {
609
+ /**
610
+ * Bearer Token: provided by the login endpoint under the name accessToken.
611
+ * @type {string}
612
+ * @memberof ActionsApiListAllActionVersions
613
+ */
614
+ readonly authorization?: string;
615
+ /**
616
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
617
+ * @type {number}
618
+ * @memberof ActionsApiListAllActionVersions
619
+ */
620
+ readonly pageSize?: number;
621
+ /**
622
+ * 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.
623
+ * @type {string}
624
+ * @memberof ActionsApiListAllActionVersions
625
+ */
626
+ readonly pageToken?: string;
627
+ /**
628
+ * 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;
629
+ * @type {string}
630
+ * @memberof ActionsApiListAllActionVersions
631
+ */
632
+ readonly filter?: string;
633
+ /**
634
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
635
+ * @type {string}
636
+ * @memberof ActionsApiListAllActionVersions
637
+ */
638
+ readonly search?: string;
639
+ /**
640
+ * 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;
641
+ * @type {string}
642
+ * @memberof ActionsApiListAllActionVersions
643
+ */
644
+ readonly order?: string;
645
+ /**
646
+ * 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;
647
+ * @type {string}
648
+ * @memberof ActionsApiListAllActionVersions
649
+ */
650
+ readonly expand?: string;
651
+ /**
652
+ * 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;
653
+ * @type {string}
654
+ * @memberof ActionsApiListAllActionVersions
655
+ */
656
+ readonly filters?: string;
657
+ }
464
658
  /**
465
659
  * Request parameters for updateAction operation in ActionsApi.
466
660
  * @export
@@ -486,6 +680,31 @@ export interface ActionsApiUpdateActionRequest {
486
680
  */
487
681
  readonly authorization?: string;
488
682
  }
683
+ /**
684
+ * Request parameters for updateAction_1 operation in ActionsApi.
685
+ * @export
686
+ * @interface ActionsApiUpdateAction0Request
687
+ */
688
+ export interface ActionsApiUpdateAction0Request {
689
+ /**
690
+ * Action code
691
+ * @type {string}
692
+ * @memberof ActionsApiUpdateAction0
693
+ */
694
+ readonly code: string;
695
+ /**
696
+ *
697
+ * @type {UpdateActionRequestDto}
698
+ * @memberof ActionsApiUpdateAction0
699
+ */
700
+ readonly updateActionRequestDto: UpdateActionRequestDto;
701
+ /**
702
+ * Bearer Token: provided by the login endpoint under the name accessToken.
703
+ * @type {string}
704
+ * @memberof ActionsApiUpdateAction0
705
+ */
706
+ readonly authorization?: string;
707
+ }
489
708
  /**
490
709
  * ActionsApi - object-oriented interface
491
710
  * @export
@@ -494,7 +713,7 @@ export interface ActionsApiUpdateActionRequest {
494
713
  */
495
714
  export declare class ActionsApi extends BaseAPI {
496
715
  /**
497
- * Creates a new action configuration
716
+ * Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
498
717
  * @summary Create the action
499
718
  * @param {ActionsApiCreateActionRequest} requestParameters Request parameters.
500
719
  * @param {*} [options] Override http request option.
@@ -503,7 +722,7 @@ export declare class ActionsApi extends BaseAPI {
503
722
  */
504
723
  createAction(requestParameters: ActionsApiCreateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateActionResponseClass, any, {}>>;
505
724
  /**
506
- * Deletes an action configuration by its code
725
+ * Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
507
726
  * @summary Delete the action
508
727
  * @param {ActionsApiDeleteActionRequest} requestParameters Request parameters.
509
728
  * @param {*} [options] Override http request option.
@@ -512,7 +731,16 @@ export declare class ActionsApi extends BaseAPI {
512
731
  */
513
732
  deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
514
733
  /**
515
- * Retrieves an action configuration by its code
734
+ * Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
735
+ * @summary Delete the action version
736
+ * @param {ActionsApiDeleteActionVersionRequest} requestParameters Request parameters.
737
+ * @param {*} [options] Override http request option.
738
+ * @throws {RequiredError}
739
+ * @memberof ActionsApi
740
+ */
741
+ deleteActionVersion(requestParameters: ActionsApiDeleteActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
742
+ /**
743
+ * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
516
744
  * @summary Retrieve the action
517
745
  * @param {ActionsApiGetActionRequest} requestParameters Request parameters.
518
746
  * @param {*} [options] Override http request option.
@@ -521,25 +749,25 @@ export declare class ActionsApi extends BaseAPI {
521
749
  */
522
750
  getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}>>;
523
751
  /**
524
- * Retrieves the latest action execution status by executionCode or correlationId
525
- * @summary Retrieve the actionExecution
526
- * @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
752
+ * Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
753
+ * @summary Retrieve the action version
754
+ * @param {ActionsApiGetActionVersionRequest} requestParameters Request parameters.
527
755
  * @param {*} [options] Override http request option.
528
756
  * @throws {RequiredError}
529
757
  * @memberof ActionsApi
530
758
  */
531
- getActionExecutionStatus(requestParameters?: ActionsApiGetActionExecutionStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionExecutionStatusResponseClass, any, {}>>;
759
+ getActionVersion(requestParameters: ActionsApiGetActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionVersionResponseClass, any, {}>>;
532
760
  /**
533
- * Lists action executions (latest status per execution only) with optional filters
534
- * @summary List actionExecutions
535
- * @param {ActionsApiListActionExecutionsRequest} requestParameters Request parameters.
761
+ * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
762
+ * @summary List action versions
763
+ * @param {ActionsApiListActionVersionsRequest} requestParameters Request parameters.
536
764
  * @param {*} [options] Override http request option.
537
765
  * @throws {RequiredError}
538
766
  * @memberof ActionsApi
539
767
  */
540
- listActionExecutions(requestParameters?: ActionsApiListActionExecutionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionExecutionsResponseClass, any, {}>>;
768
+ listActionVersions(requestParameters: ActionsApiListActionVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionVersionsResponseClass, any, {}>>;
541
769
  /**
542
- * Lists all action configurations with optional filters
770
+ * Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
543
771
  * @summary List actions
544
772
  * @param {ActionsApiListActionsRequest} requestParameters Request parameters.
545
773
  * @param {*} [options] Override http request option.
@@ -548,7 +776,16 @@ export declare class ActionsApi extends BaseAPI {
548
776
  */
549
777
  listActions(requestParameters?: ActionsApiListActionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}>>;
550
778
  /**
551
- * Updates an existing action configuration (patch semantics)
779
+ * 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\"
780
+ * @summary List action versions
781
+ * @param {ActionsApiListAllActionVersionsRequest} requestParameters Request parameters.
782
+ * @param {*} [options] Override http request option.
783
+ * @throws {RequiredError}
784
+ * @memberof ActionsApi
785
+ */
786
+ listAllActionVersions(requestParameters?: ActionsApiListAllActionVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionVersionsResponseClass, any, {}>>;
787
+ /**
788
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
552
789
  * @summary Update the action
553
790
  * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
554
791
  * @param {*} [options] Override http request option.
@@ -556,4 +793,13 @@ export declare class ActionsApi extends BaseAPI {
556
793
  * @memberof ActionsApi
557
794
  */
558
795
  updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
796
+ /**
797
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
798
+ * @summary Update the action
799
+ * @param {ActionsApiUpdateAction0Request} requestParameters Request parameters.
800
+ * @param {*} [options] Override http request option.
801
+ * @throws {RequiredError}
802
+ * @memberof ActionsApi
803
+ */
804
+ updateAction_1(requestParameters: ActionsApiUpdateAction0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
559
805
  }