@emilgroup/action-sdk 1.1.1-beta.1 → 1.1.1-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -0
- package/README.md +2 -2
- package/api/actions-api.ts +184 -219
- package/api/executions-api.ts +471 -0
- package/api.ts +2 -0
- package/dist/api/actions-api.d.ts +140 -166
- package/dist/api/actions-api.js +126 -141
- package/dist/api/executions-api.d.ts +272 -0
- package/dist/api/executions-api.js +452 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/action-class.d.ts +38 -2
- package/dist/models/action-execution-class.d.ts +30 -0
- package/dist/models/create-action-request-dto.d.ts +31 -1
- package/dist/models/create-action-request-dto.js +6 -0
- package/dist/models/export-actions-as-yaml-response-class.d.ts +24 -0
- package/dist/models/export-actions-as-yaml-response-class.js +15 -0
- package/dist/models/import-actions-from-yaml-request-dto.d.ts +36 -0
- package/dist/models/import-actions-from-yaml-request-dto.js +15 -0
- package/dist/models/import-actions-from-yaml-response-class.d.ts +37 -0
- package/dist/models/import-actions-from-yaml-response-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/trigger-action-request-dto.d.ts +62 -0
- package/dist/models/trigger-action-request-dto.js +15 -0
- package/dist/models/trigger-action-response-class.d.ts +25 -0
- package/dist/models/trigger-action-response-class.js +15 -0
- package/dist/models/update-action-request-dto.d.ts +30 -0
- package/dist/models/update-action-request-dto.js +6 -0
- package/models/action-class.ts +38 -2
- package/models/action-execution-class.ts +30 -0
- package/models/create-action-request-dto.ts +34 -1
- package/models/export-actions-as-yaml-response-class.ts +30 -0
- package/models/import-actions-from-yaml-request-dto.ts +42 -0
- package/models/import-actions-from-yaml-response-class.ts +43 -0
- package/models/index.ts +5 -0
- package/models/trigger-action-request-dto.ts +66 -0
- package/models/trigger-action-response-class.ts +31 -0
- package/models/update-action-request-dto.ts +33 -0
- package/package.json +1 -1
|
@@ -14,9 +14,10 @@ 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 {
|
|
17
|
+
import { ExportActionsAsYamlResponseClass } from '../models';
|
|
18
18
|
import { GetActionResponseClass } from '../models';
|
|
19
|
-
import {
|
|
19
|
+
import { ImportActionsFromYamlRequestDto } from '../models';
|
|
20
|
+
import { ImportActionsFromYamlResponseClass } from '../models';
|
|
20
21
|
import { ListActionsResponseClass } from '../models';
|
|
21
22
|
import { UpdateActionRequestDto } from '../models';
|
|
22
23
|
import { UpdateActionResponseClass } from '../models';
|
|
@@ -26,7 +27,7 @@ import { UpdateActionResponseClass } from '../models';
|
|
|
26
27
|
*/
|
|
27
28
|
export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
29
|
/**
|
|
29
|
-
* Creates a new action configuration
|
|
30
|
+
* Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
|
|
30
31
|
* @summary Create the action
|
|
31
32
|
* @param {CreateActionRequestDto} createActionRequestDto
|
|
32
33
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -35,7 +36,7 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35
36
|
*/
|
|
36
37
|
createAction: (createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
38
|
/**
|
|
38
|
-
* Deletes an action configuration by its code
|
|
39
|
+
* Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
|
|
39
40
|
* @summary Delete the action
|
|
40
41
|
* @param {string} code Action code
|
|
41
42
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -44,56 +45,53 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
44
45
|
*/
|
|
45
46
|
deleteAction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
47
|
/**
|
|
47
|
-
*
|
|
48
|
-
* @summary Retrieve the
|
|
49
|
-
* @param {string}
|
|
48
|
+
* Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
|
|
49
|
+
* @summary Retrieve the entity-actions-yaml
|
|
50
|
+
* @param {string} productSlug Product slug
|
|
51
|
+
* @param {number} productVersionId Product version ID
|
|
50
52
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
53
|
+
* @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
|
|
54
|
+
* @param {boolean} [includeDisabled] Include draft (disabled) actions
|
|
51
55
|
* @param {*} [options] Override http request option.
|
|
52
56
|
* @throws {RequiredError}
|
|
53
57
|
*/
|
|
54
|
-
|
|
58
|
+
exportActionsAsYaml: (productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
59
|
/**
|
|
56
|
-
* Retrieves
|
|
57
|
-
* @summary Retrieve the
|
|
60
|
+
* Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
|
|
61
|
+
* @summary Retrieve the action
|
|
62
|
+
* @param {string} code Action code
|
|
58
63
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
59
|
-
* @param {string} [
|
|
60
|
-
* @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
64
|
+
* @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
|
|
61
65
|
* @param {*} [options] Override http request option.
|
|
62
66
|
* @throws {RequiredError}
|
|
63
67
|
*/
|
|
64
|
-
|
|
68
|
+
getAction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
69
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @summary
|
|
70
|
+
* 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
|
+
* @summary Update the entity-actions-yaml
|
|
72
|
+
* @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
|
|
68
73
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
69
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
70
|
-
* @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.
|
|
71
|
-
* @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, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
72
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
73
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt</i>
|
|
74
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
75
|
-
* @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, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
76
74
|
* @param {*} [options] Override http request option.
|
|
77
75
|
* @throws {RequiredError}
|
|
78
76
|
*/
|
|
79
|
-
|
|
77
|
+
importActionsFromYaml: (importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
78
|
/**
|
|
81
|
-
* Lists all action configurations with optional filters
|
|
79
|
+
* Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
|
|
82
80
|
* @summary List actions
|
|
83
81
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
84
82
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
85
83
|
* @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.
|
|
86
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
87
85
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
88
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
89
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
90
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
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, name, slug, isEnabled, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt</i>
|
|
87
|
+
* @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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
91
89
|
* @param {*} [options] Override http request option.
|
|
92
90
|
* @throws {RequiredError}
|
|
93
91
|
*/
|
|
94
92
|
listActions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
95
93
|
/**
|
|
96
|
-
* Updates an existing action configuration (patch semantics)
|
|
94
|
+
* Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
|
|
97
95
|
* @summary Update the action
|
|
98
96
|
* @param {string} code Action code
|
|
99
97
|
* @param {UpdateActionRequestDto} updateActionRequestDto
|
|
@@ -109,7 +107,7 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
109
107
|
*/
|
|
110
108
|
export declare const ActionsApiFp: (configuration?: Configuration) => {
|
|
111
109
|
/**
|
|
112
|
-
* Creates a new action configuration
|
|
110
|
+
* Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
|
|
113
111
|
* @summary Create the action
|
|
114
112
|
* @param {CreateActionRequestDto} createActionRequestDto
|
|
115
113
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -118,7 +116,7 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
|
|
|
118
116
|
*/
|
|
119
117
|
createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateActionResponseClass>>;
|
|
120
118
|
/**
|
|
121
|
-
* Deletes an action configuration by its code
|
|
119
|
+
* Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
|
|
122
120
|
* @summary Delete the action
|
|
123
121
|
* @param {string} code Action code
|
|
124
122
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -127,56 +125,53 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
|
|
|
127
125
|
*/
|
|
128
126
|
deleteAction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
129
127
|
/**
|
|
130
|
-
*
|
|
131
|
-
* @summary Retrieve the
|
|
132
|
-
* @param {string}
|
|
128
|
+
* Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
|
|
129
|
+
* @summary Retrieve the entity-actions-yaml
|
|
130
|
+
* @param {string} productSlug Product slug
|
|
131
|
+
* @param {number} productVersionId Product version ID
|
|
133
132
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
133
|
+
* @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
|
|
134
|
+
* @param {boolean} [includeDisabled] Include draft (disabled) actions
|
|
134
135
|
* @param {*} [options] Override http request option.
|
|
135
136
|
* @throws {RequiredError}
|
|
136
137
|
*/
|
|
137
|
-
|
|
138
|
+
exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportActionsAsYamlResponseClass>>;
|
|
138
139
|
/**
|
|
139
|
-
* Retrieves
|
|
140
|
-
* @summary Retrieve the
|
|
140
|
+
* Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
|
|
141
|
+
* @summary Retrieve the action
|
|
142
|
+
* @param {string} code Action code
|
|
141
143
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
142
|
-
* @param {string} [
|
|
143
|
-
* @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
144
|
+
* @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
|
|
144
145
|
* @param {*} [options] Override http request option.
|
|
145
146
|
* @throws {RequiredError}
|
|
146
147
|
*/
|
|
147
|
-
|
|
148
|
+
getAction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>>;
|
|
148
149
|
/**
|
|
149
|
-
*
|
|
150
|
-
* @summary
|
|
150
|
+
* 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\"
|
|
151
|
+
* @summary Update the entity-actions-yaml
|
|
152
|
+
* @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
|
|
151
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
153
|
-
* @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.
|
|
154
|
-
* @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, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
155
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
156
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt</i>
|
|
157
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
158
|
-
* @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, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
159
154
|
* @param {*} [options] Override http request option.
|
|
160
155
|
* @throws {RequiredError}
|
|
161
156
|
*/
|
|
162
|
-
|
|
157
|
+
importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportActionsFromYamlResponseClass>>;
|
|
163
158
|
/**
|
|
164
|
-
* Lists all action configurations with optional filters
|
|
159
|
+
* Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
|
|
165
160
|
* @summary List actions
|
|
166
161
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
167
162
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
168
163
|
* @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.
|
|
169
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
164
|
+
* @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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
170
165
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
171
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
172
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
173
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
166
|
+
* @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, name, slug, isEnabled, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt</i>
|
|
167
|
+
* @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>
|
|
168
|
+
* @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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
174
169
|
* @param {*} [options] Override http request option.
|
|
175
170
|
* @throws {RequiredError}
|
|
176
171
|
*/
|
|
177
172
|
listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionsResponseClass>>;
|
|
178
173
|
/**
|
|
179
|
-
* Updates an existing action configuration (patch semantics)
|
|
174
|
+
* Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
|
|
180
175
|
* @summary Update the action
|
|
181
176
|
* @param {string} code Action code
|
|
182
177
|
* @param {UpdateActionRequestDto} updateActionRequestDto
|
|
@@ -192,7 +187,7 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
|
|
|
192
187
|
*/
|
|
193
188
|
export declare const ActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
194
189
|
/**
|
|
195
|
-
* Creates a new action configuration
|
|
190
|
+
* Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
|
|
196
191
|
* @summary Create the action
|
|
197
192
|
* @param {CreateActionRequestDto} createActionRequestDto
|
|
198
193
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -201,7 +196,7 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
|
|
|
201
196
|
*/
|
|
202
197
|
createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass>;
|
|
203
198
|
/**
|
|
204
|
-
* Deletes an action configuration by its code
|
|
199
|
+
* Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
|
|
205
200
|
* @summary Delete the action
|
|
206
201
|
* @param {string} code Action code
|
|
207
202
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -210,56 +205,53 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
|
|
|
210
205
|
*/
|
|
211
206
|
deleteAction(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
212
207
|
/**
|
|
213
|
-
*
|
|
214
|
-
* @summary Retrieve the
|
|
215
|
-
* @param {string}
|
|
208
|
+
* Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
|
|
209
|
+
* @summary Retrieve the entity-actions-yaml
|
|
210
|
+
* @param {string} productSlug Product slug
|
|
211
|
+
* @param {number} productVersionId Product version ID
|
|
216
212
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
213
|
+
* @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
|
|
214
|
+
* @param {boolean} [includeDisabled] Include draft (disabled) actions
|
|
217
215
|
* @param {*} [options] Override http request option.
|
|
218
216
|
* @throws {RequiredError}
|
|
219
217
|
*/
|
|
220
|
-
|
|
218
|
+
exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: any): AxiosPromise<ExportActionsAsYamlResponseClass>;
|
|
221
219
|
/**
|
|
222
|
-
* Retrieves
|
|
223
|
-
* @summary Retrieve the
|
|
220
|
+
* Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
|
|
221
|
+
* @summary Retrieve the action
|
|
222
|
+
* @param {string} code Action code
|
|
224
223
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
225
|
-
* @param {string} [
|
|
226
|
-
* @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
224
|
+
* @param {string} [expand] Expand to fetch additional information (e.g. inputValidationSchema)
|
|
227
225
|
* @param {*} [options] Override http request option.
|
|
228
226
|
* @throws {RequiredError}
|
|
229
227
|
*/
|
|
230
|
-
|
|
228
|
+
getAction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionResponseClass>;
|
|
231
229
|
/**
|
|
232
|
-
*
|
|
233
|
-
* @summary
|
|
230
|
+
* 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\"
|
|
231
|
+
* @summary Update the entity-actions-yaml
|
|
232
|
+
* @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
|
|
234
233
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
235
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
236
|
-
* @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.
|
|
237
|
-
* @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, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
238
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
239
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt</i>
|
|
240
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
241
|
-
* @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, executionCode, actionCode, actionSlug, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
242
234
|
* @param {*} [options] Override http request option.
|
|
243
235
|
* @throws {RequiredError}
|
|
244
236
|
*/
|
|
245
|
-
|
|
237
|
+
importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: any): AxiosPromise<ImportActionsFromYamlResponseClass>;
|
|
246
238
|
/**
|
|
247
|
-
* Lists all action configurations with optional filters
|
|
239
|
+
* Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
|
|
248
240
|
* @summary List actions
|
|
249
241
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
242
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
243
|
* @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.
|
|
252
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
244
|
+
* @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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
253
245
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
254
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
255
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
256
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
246
|
+
* @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, name, slug, isEnabled, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt</i>
|
|
247
|
+
* @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>
|
|
248
|
+
* @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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
257
249
|
* @param {*} [options] Override http request option.
|
|
258
250
|
* @throws {RequiredError}
|
|
259
251
|
*/
|
|
260
252
|
listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass>;
|
|
261
253
|
/**
|
|
262
|
-
* Updates an existing action configuration (patch semantics)
|
|
254
|
+
* Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
|
|
263
255
|
* @summary Update the action
|
|
264
256
|
* @param {string} code Action code
|
|
265
257
|
* @param {UpdateActionRequestDto} updateActionRequestDto
|
|
@@ -308,103 +300,85 @@ export interface ActionsApiDeleteActionRequest {
|
|
|
308
300
|
readonly authorization?: string;
|
|
309
301
|
}
|
|
310
302
|
/**
|
|
311
|
-
* Request parameters for
|
|
303
|
+
* Request parameters for exportActionsAsYaml operation in ActionsApi.
|
|
312
304
|
* @export
|
|
313
|
-
* @interface
|
|
305
|
+
* @interface ActionsApiExportActionsAsYamlRequest
|
|
314
306
|
*/
|
|
315
|
-
export interface
|
|
307
|
+
export interface ActionsApiExportActionsAsYamlRequest {
|
|
316
308
|
/**
|
|
317
|
-
*
|
|
309
|
+
* Product slug
|
|
318
310
|
* @type {string}
|
|
319
|
-
* @memberof
|
|
311
|
+
* @memberof ActionsApiExportActionsAsYaml
|
|
320
312
|
*/
|
|
321
|
-
readonly
|
|
313
|
+
readonly productSlug: string;
|
|
322
314
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @type {
|
|
325
|
-
* @memberof
|
|
315
|
+
* Product version ID
|
|
316
|
+
* @type {number}
|
|
317
|
+
* @memberof ActionsApiExportActionsAsYaml
|
|
326
318
|
*/
|
|
327
|
-
readonly
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* Request parameters for getActionExecutionStatus operation in ActionsApi.
|
|
331
|
-
* @export
|
|
332
|
-
* @interface ActionsApiGetActionExecutionStatusRequest
|
|
333
|
-
*/
|
|
334
|
-
export interface ActionsApiGetActionExecutionStatusRequest {
|
|
319
|
+
readonly productVersionId: number;
|
|
335
320
|
/**
|
|
336
321
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
337
322
|
* @type {string}
|
|
338
|
-
* @memberof
|
|
323
|
+
* @memberof ActionsApiExportActionsAsYaml
|
|
339
324
|
*/
|
|
340
325
|
readonly authorization?: string;
|
|
341
326
|
/**
|
|
342
|
-
*
|
|
343
|
-
* @type {string}
|
|
344
|
-
* @memberof
|
|
327
|
+
* Optional list of action slugs to export; if omitted, all actions for the product version are exported
|
|
328
|
+
* @type {Array<string>}
|
|
329
|
+
* @memberof ActionsApiExportActionsAsYaml
|
|
345
330
|
*/
|
|
346
|
-
readonly
|
|
331
|
+
readonly actionSlugs?: Array<string>;
|
|
347
332
|
/**
|
|
348
|
-
*
|
|
349
|
-
* @type {
|
|
350
|
-
* @memberof
|
|
333
|
+
* Include draft (disabled) actions
|
|
334
|
+
* @type {boolean}
|
|
335
|
+
* @memberof ActionsApiExportActionsAsYaml
|
|
351
336
|
*/
|
|
352
|
-
readonly
|
|
337
|
+
readonly includeDisabled?: boolean;
|
|
353
338
|
}
|
|
354
339
|
/**
|
|
355
|
-
* Request parameters for
|
|
340
|
+
* Request parameters for getAction operation in ActionsApi.
|
|
356
341
|
* @export
|
|
357
|
-
* @interface
|
|
342
|
+
* @interface ActionsApiGetActionRequest
|
|
358
343
|
*/
|
|
359
|
-
export interface
|
|
360
|
-
/**
|
|
361
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
362
|
-
* @type {string}
|
|
363
|
-
* @memberof ActionsApiListActionExecutions
|
|
364
|
-
*/
|
|
365
|
-
readonly authorization?: string;
|
|
366
|
-
/**
|
|
367
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
368
|
-
* @type {number}
|
|
369
|
-
* @memberof ActionsApiListActionExecutions
|
|
370
|
-
*/
|
|
371
|
-
readonly pageSize?: number;
|
|
372
|
-
/**
|
|
373
|
-
* 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.
|
|
374
|
-
* @type {string}
|
|
375
|
-
* @memberof ActionsApiListActionExecutions
|
|
376
|
-
*/
|
|
377
|
-
readonly pageToken?: string;
|
|
344
|
+
export interface ActionsApiGetActionRequest {
|
|
378
345
|
/**
|
|
379
|
-
*
|
|
346
|
+
* Action code
|
|
380
347
|
* @type {string}
|
|
381
|
-
* @memberof
|
|
348
|
+
* @memberof ActionsApiGetAction
|
|
382
349
|
*/
|
|
383
|
-
readonly
|
|
350
|
+
readonly code: string;
|
|
384
351
|
/**
|
|
385
|
-
*
|
|
352
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
386
353
|
* @type {string}
|
|
387
|
-
* @memberof
|
|
354
|
+
* @memberof ActionsApiGetAction
|
|
388
355
|
*/
|
|
389
|
-
readonly
|
|
356
|
+
readonly authorization?: string;
|
|
390
357
|
/**
|
|
391
|
-
*
|
|
358
|
+
* Expand to fetch additional information (e.g. inputValidationSchema)
|
|
392
359
|
* @type {string}
|
|
393
|
-
* @memberof
|
|
360
|
+
* @memberof ActionsApiGetAction
|
|
394
361
|
*/
|
|
395
|
-
readonly
|
|
362
|
+
readonly expand?: string;
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Request parameters for importActionsFromYaml operation in ActionsApi.
|
|
366
|
+
* @export
|
|
367
|
+
* @interface ActionsApiImportActionsFromYamlRequest
|
|
368
|
+
*/
|
|
369
|
+
export interface ActionsApiImportActionsFromYamlRequest {
|
|
396
370
|
/**
|
|
397
|
-
*
|
|
398
|
-
* @type {
|
|
399
|
-
* @memberof
|
|
371
|
+
*
|
|
372
|
+
* @type {ImportActionsFromYamlRequestDto}
|
|
373
|
+
* @memberof ActionsApiImportActionsFromYaml
|
|
400
374
|
*/
|
|
401
|
-
readonly
|
|
375
|
+
readonly importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto;
|
|
402
376
|
/**
|
|
403
|
-
*
|
|
377
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
404
378
|
* @type {string}
|
|
405
|
-
* @memberof
|
|
379
|
+
* @memberof ActionsApiImportActionsFromYaml
|
|
406
380
|
*/
|
|
407
|
-
readonly
|
|
381
|
+
readonly authorization?: string;
|
|
408
382
|
}
|
|
409
383
|
/**
|
|
410
384
|
* Request parameters for listActions operation in ActionsApi.
|
|
@@ -431,7 +405,7 @@ export interface ActionsApiListActionsRequest {
|
|
|
431
405
|
*/
|
|
432
406
|
readonly pageToken?: string;
|
|
433
407
|
/**
|
|
434
|
-
* Filter the response by one or multiple fields.
|
|
408
|
+
* 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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
435
409
|
* @type {string}
|
|
436
410
|
* @memberof ActionsApiListActions
|
|
437
411
|
*/
|
|
@@ -443,19 +417,19 @@ export interface ActionsApiListActionsRequest {
|
|
|
443
417
|
*/
|
|
444
418
|
readonly search?: string;
|
|
445
419
|
/**
|
|
446
|
-
* 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, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
420
|
+
* 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, name, slug, isEnabled, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, configVersion, createdAt, updatedAt</i>
|
|
447
421
|
* @type {string}
|
|
448
422
|
* @memberof ActionsApiListActions
|
|
449
423
|
*/
|
|
450
424
|
readonly order?: string;
|
|
451
425
|
/**
|
|
452
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
426
|
+
* 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>
|
|
453
427
|
* @type {string}
|
|
454
428
|
* @memberof ActionsApiListActions
|
|
455
429
|
*/
|
|
456
430
|
readonly expand?: string;
|
|
457
431
|
/**
|
|
458
|
-
* Filters the response by one or multiple fields.
|
|
432
|
+
* 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, code, name, slug, isEnabled, configVersion, isAvailableInUi, workflowCode, entityType, productVersionId, productSlug, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
459
433
|
* @type {string}
|
|
460
434
|
* @memberof ActionsApiListActions
|
|
461
435
|
*/
|
|
@@ -494,7 +468,7 @@ export interface ActionsApiUpdateActionRequest {
|
|
|
494
468
|
*/
|
|
495
469
|
export declare class ActionsApi extends BaseAPI {
|
|
496
470
|
/**
|
|
497
|
-
* Creates a new action configuration
|
|
471
|
+
* Creates a new action configuration **Required Permissions** \"action-management.actions.create\"
|
|
498
472
|
* @summary Create the action
|
|
499
473
|
* @param {ActionsApiCreateActionRequest} requestParameters Request parameters.
|
|
500
474
|
* @param {*} [options] Override http request option.
|
|
@@ -503,7 +477,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
503
477
|
*/
|
|
504
478
|
createAction(requestParameters: ActionsApiCreateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateActionResponseClass, any, {}>>;
|
|
505
479
|
/**
|
|
506
|
-
* Deletes an action configuration by its code
|
|
480
|
+
* Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
|
|
507
481
|
* @summary Delete the action
|
|
508
482
|
* @param {ActionsApiDeleteActionRequest} requestParameters Request parameters.
|
|
509
483
|
* @param {*} [options] Override http request option.
|
|
@@ -512,34 +486,34 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
512
486
|
*/
|
|
513
487
|
deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
514
488
|
/**
|
|
515
|
-
*
|
|
516
|
-
* @summary Retrieve the
|
|
517
|
-
* @param {
|
|
489
|
+
* Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
|
|
490
|
+
* @summary Retrieve the entity-actions-yaml
|
|
491
|
+
* @param {ActionsApiExportActionsAsYamlRequest} requestParameters Request parameters.
|
|
518
492
|
* @param {*} [options] Override http request option.
|
|
519
493
|
* @throws {RequiredError}
|
|
520
494
|
* @memberof ActionsApi
|
|
521
495
|
*/
|
|
522
|
-
|
|
496
|
+
exportActionsAsYaml(requestParameters: ActionsApiExportActionsAsYamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportActionsAsYamlResponseClass, any, {}>>;
|
|
523
497
|
/**
|
|
524
|
-
* Retrieves
|
|
525
|
-
* @summary Retrieve the
|
|
526
|
-
* @param {
|
|
498
|
+
* Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
|
|
499
|
+
* @summary Retrieve the action
|
|
500
|
+
* @param {ActionsApiGetActionRequest} requestParameters Request parameters.
|
|
527
501
|
* @param {*} [options] Override http request option.
|
|
528
502
|
* @throws {RequiredError}
|
|
529
503
|
* @memberof ActionsApi
|
|
530
504
|
*/
|
|
531
|
-
|
|
505
|
+
getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}>>;
|
|
532
506
|
/**
|
|
533
|
-
*
|
|
534
|
-
* @summary
|
|
535
|
-
* @param {
|
|
507
|
+
* 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\"
|
|
508
|
+
* @summary Update the entity-actions-yaml
|
|
509
|
+
* @param {ActionsApiImportActionsFromYamlRequest} requestParameters Request parameters.
|
|
536
510
|
* @param {*} [options] Override http request option.
|
|
537
511
|
* @throws {RequiredError}
|
|
538
512
|
* @memberof ActionsApi
|
|
539
513
|
*/
|
|
540
|
-
|
|
514
|
+
importActionsFromYaml(requestParameters: ActionsApiImportActionsFromYamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportActionsFromYamlResponseClass, any, {}>>;
|
|
541
515
|
/**
|
|
542
|
-
* Lists all action configurations with optional filters
|
|
516
|
+
* Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
|
|
543
517
|
* @summary List actions
|
|
544
518
|
* @param {ActionsApiListActionsRequest} requestParameters Request parameters.
|
|
545
519
|
* @param {*} [options] Override http request option.
|
|
@@ -548,7 +522,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
548
522
|
*/
|
|
549
523
|
listActions(requestParameters?: ActionsApiListActionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}>>;
|
|
550
524
|
/**
|
|
551
|
-
* Updates an existing action configuration (patch semantics)
|
|
525
|
+
* Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
|
|
552
526
|
* @summary Update the action
|
|
553
527
|
* @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
|
|
554
528
|
* @param {*} [options] Override http request option.
|