@emilgroup/action-sdk 1.1.1-beta.27 → 1.1.1-beta.7

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