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